From e0f4808faf5cec72502550cc5616578102fae0c1 Mon Sep 17 00:00:00 2001 From: ianchen0119 Date: Wed, 27 Mar 2024 07:51:00 +0000 Subject: [PATCH 01/67] upgrade to release 17 --- Namf_Communication/.gitignore | 15 - Namf_Communication/.openapi-generator/VERSION | 1 - Namf_Communication/CHANGELOG.md | 9 - Namf_Communication/api/openapi.yaml | 7165 ---------- .../api_individual_subscription_document.go | 282 - .../api_individual_ue_context_document.go | 787 -- ...ext_n2_message_notify_callback_document.go | 144 - ..._n1_n2_individual_subscription_document.go | 157 - .../api_n1_n2_message_collection_document.go | 231 - ...age_n1_message_notify_callback_document.go | 143 - ...age_n2_message_notify_callback_document.go | 143 - ...r_status_notification_callback_document.go | 153 - ...ion_for_individual_ue_contexts_document.go | 165 - ...cation_individual_subscription_document.go | 126 - ...i_non_uen2_messages_collection_document.go | 182 - ...sages_subscriptions_collection_document.go | 171 - .../api_subscriptions_collection_document.go | 171 - ..._status_change_notify_callback_document.go | 142 - Namf_Communication/client.go | 65 - Namf_Communication/configuration.go | 75 - Namf_EventExposure/.gitignore | 15 - Namf_EventExposure/CHANGELOG.md | 9 - Namf_EventExposure/api/openapi.yaml | 3231 ----- .../api_individual_subscription_document.go | 326 - .../api_subscriptions_collection_document.go | 175 - Namf_EventExposure/client.go | 42 - Namf_EventExposure/configuration.go | 75 - Namf_Location/.gitignore | 15 - Namf_Location/CHANGELOG.md | 9 - .../api_individual_ue_context_document.go | 341 - Namf_Location/client.go | 40 - Namf_Location/configuration.go | 75 - Namf_MT/.gitignore | 15 - Namf_MT/CHANGELOG.md | 9 - Namf_MT/api_ue_context_document.go | 189 - Namf_MT/api_ue_reach_ind_document.go | 203 - Namf_MT/client.go | 42 - Namf_MT/configuration.go | 75 - Nausf_SoRProtection/.gitignore | 15 - Nausf_SoRProtection/CHANGELOG.md | 9 - Nausf_SoRProtection/api_default.go | 113 - Nausf_SoRProtection/client.go | 40 - Nausf_SoRProtection/configuration.go | 75 - Nausf_UEAuthentication/.gitignore | 15 - Nausf_UEAuthentication/CHANGELOG.md | 9 - Nausf_UEAuthentication/api_default.go | 339 - Nausf_UEAuthentication/client.go | 40 - Nausf_UEAuthentication/configuration.go | 75 - Nausf_UPUProtection/.gitignore | 15 - Nausf_UPUProtection/CHANGELOG.md | 9 - Nausf_UPUProtection/api_default.go | 113 - Nausf_UPUProtection/client.go | 40 - Nausf_UPUProtection/configuration.go | 75 - .../api_individual_pcf_binding_document.go | 322 - .../api_pcf_bindings_collection.go | 389 - Nbsf_Management/client.go | 39 - Nbsf_Management/configuration.go | 75 - Nchf_ConvergedCharging/api_default.go | 471 - .../api_default_callback.go | 91 - Nchf_ConvergedCharging/client.go | 39 - Nchf_ConvergedCharging/configuration.go | 75 - .../api_individual_application_pfd.go | 186 - .../api_individual_pfd_subscription.go | 157 - Nnef_PFDmanagement/api_notification.go | 182 - Nnef_PFDmanagement/api_pfd_of_applications.go | 188 - Nnef_PFDmanagement/api_pfd_subscriptions.go | 191 - Nnef_PFDmanagement/client.go | 45 - Nnef_PFDmanagement/configuration.go | 75 - ...dividual_traffic_influence_subscription.go | 679 - .../api_traffic_influence_subscription.go | 365 - Nnef_TrafficInfluence/client.go | 50 - Nnef_TrafficInfluence/configuration.go | 81 - Nnrf_AccessToken/.gitignore | 15 - Nnrf_AccessToken/CHANGELOG.md | 9 - Nnrf_AccessToken/api/openapi.yaml | 205 - Nnrf_AccessToken/api_access_token_request.go | 144 - Nnrf_AccessToken/client.go | 40 - Nnrf_AccessToken/configuration.go | 75 - Nnrf_NFDiscovery/.gitignore | 15 - Nnrf_NFDiscovery/CHANGELOG.md | 9 - Nnrf_NFDiscovery/api/openapi.yaml | 2822 ---- Nnrf_NFDiscovery/api_nf_instances_store.go | 357 - Nnrf_NFDiscovery/client.go | 40 - Nnrf_NFDiscovery/configuration.go | 75 - Nnrf_NFManagement/.gitignore | 15 - Nnrf_NFManagement/CHANGELOG.md | 9 - Nnrf_NFManagement/api/openapi.yaml | 3393 ----- .../api_nf_instance_id_document.go | 573 - Nnrf_NFManagement/api_nf_instances_store.go | 195 - Nnrf_NFManagement/api_notification.go | 181 - .../api_subscription_id_document.go | 333 - .../api_subscriptions_collection.go | 182 - Nnrf_NFManagement/client.go | 47 - Nnrf_NFManagement/configuration.go | 79 - Nnssf_NSSAIAvailability/.gitignore | 15 - Nnssf_NSSAIAvailability/CHANGELOG.md | 9 - Nnssf_NSSAIAvailability/api/openapi.yaml | 415 - .../api_nf_instance_id_document.go | 478 - Nnssf_NSSAIAvailability/api_notification.go | 185 - .../api_subscription_id_document.go | 148 - .../api_subscriptions_collection.go | 191 - Nnssf_NSSAIAvailability/client.go | 43 - Nnssf_NSSAIAvailability/configuration.go | 79 - Nnssf_NSSelection/.gitignore | 15 - Nnssf_NSSelection/CHANGELOG.md | 9 - Nnssf_NSSelection/api/openapi.yaml | 276 - .../api_network_slice_information_document.go | 207 - Nnssf_NSSelection/client.go | 37 - Nnssf_NSSelection/configuration.go | 75 - Npcf_AMPolicy/.gitignore | 15 - Npcf_AMPolicy/CHANGELOG.md | 9 - Npcf_AMPolicy/api_default.go | 621 - Npcf_AMPolicy/api_default_callback.go | 334 - Npcf_AMPolicy/client.go | 39 - Npcf_AMPolicy/configuration.go | 75 - Npcf_BDTPolicyControl/.gitignore | 15 - Npcf_BDTPolicyControl/CHANGELOG.md | 9 - .../api_bdt_policies_collection.go | 193 - .../api_individual_bdt_policy_document.go | 332 - Npcf_BDTPolicyControl/client.go | 39 - Npcf_BDTPolicyControl/configuration.go | 75 - Npcf_PolicyAuthorization/.gitignore | 15 - Npcf_PolicyAuthorization/CHANGELOG.md | 9 - .../api_application_sessions_collection.go | 193 - .../api_eventNotification_callback.go | 172 - .../api_events_subscription_document.go | 330 - ...al_application_session_context_document.go | 512 - .../api_terminationRequest_callback.go | 172 - Npcf_PolicyAuthorization/client.go | 44 - Npcf_PolicyAuthorization/configuration.go | 75 - Npcf_SMPolicyControl/.gitignore | 15 - Npcf_SMPolicyControl/CHANGELOG.md | 9 - .../api_dafult_notify_callback.go | 312 - Npcf_SMPolicyControl/api_default.go | 645 - Npcf_SMPolicyControl/client.go | 39 - Npcf_SMPolicyControl/configuration.go | 75 - Npcf_UEPolicy/.gitignore | 15 - Npcf_UEPolicy/CHANGELOG.md | 9 - Npcf_UEPolicy/api_default.go | 699 - Npcf_UEPolicy/client.go | 474 - Npcf_UEPolicy/configuration.go | 112 - Nsmf_EventExposure/.gitignore | 15 - Nsmf_EventExposure/api_default.go | 782 -- Nsmf_EventExposure/client.go | 39 - Nsmf_EventExposure/configuration.go | 75 - Nsmf_PDUSession/.gitignore | 15 - Nsmf_PDUSession/CHANGELOG.md | 9 - Nsmf_PDUSession/api/openapi.yaml | 5244 ------- .../api_individual_pdu_session_hsmf.go | 348 - Nsmf_PDUSession/api_individual_sm_context.go | 511 - .../api_individual_sm_context_callback.go | 172 - .../api_pdu_sessions_collection.go | 183 - Nsmf_PDUSession/api_sm_contexts_collection.go | 192 - Nsmf_PDUSession/client.go | 48 - Nsmf_PDUSession/configuration.go | 75 - Nsmf_PDUSession/errors.go | 67 - Nudm_EventExposure/.gitignore | 15 - Nudm_EventExposure/CHANGELOG.md | 9 - Nudm_EventExposure/api/openapi.yaml | 5244 ------- .../api_create_ee_subscription.go | 158 - .../api_delete_ee_subscription.go | 132 - .../api_update_ee_subscription.go | 118 - Nudm_EventExposure/client.go | 41 - Nudm_EventExposure/configuration.go | 75 - Nudm_ParameterProvision/.gitignore | 15 - Nudm_ParameterProvision/CHANGELOG.md | 9 - Nudm_ParameterProvision/api/openapi.yaml | 5244 ------- .../api_subscription_data_update.go | 143 - Nudm_ParameterProvision/client.go | 37 - Nudm_ParameterProvision/configuration.go | 75 - Nudm_SubscriberDataManagement/.gitignore | 15 - Nudm_SubscriberDataManagement/CHANGELOG.md | 9 - .../api/openapi.yaml | 5244 ------- ...nd_mobility_subscription_data_retrieval.go | 164 - .../api_gpsi_to_supi_translation.go | 159 - ..._acknowledgement_of_steering_of_roaming.go | 138 - ...acknowledgement_of_ue_parameters_update.go | 138 - .../api_retrieval_of_multiple_data_sets.go | 169 - .../api_retrieval_of_shared_data.go | 158 - ..._management_subscription_data_retrieval.go | 174 - ...e_selection_subscription_data_retrieval.go | 164 - ...f_selection_subscription_data_retrieval.go | 164 - ..._management_subscription_data_retrieval.go | 164 - .../api_sms_subscription_data_retrieval.go | 164 - ...on_data_change_notify_callback_document.go | 150 - .../api_subscription_creation.go | 149 - ...i_subscription_creation_for_shared_data.go | 119 - .../api_subscription_deletion.go | 123 - ...i_subscription_deletion_for_shared_data.go | 121 - .../api_subscription_modification.go | 253 - .../api_trace_configuration_data_retrieval.go | 164 - .../api_ue_context_in_smf_data_retrieval.go | 148 - .../api_ue_context_in_smsf_data_retrieval.go | 148 - Nudm_SubscriberDataManagement/client.go | 75 - .../configuration.go | 75 - Nudm_UEAuthentication/.gitignore | 15 - Nudm_UEAuthentication/CHANGELOG.md | 9 - Nudm_UEAuthentication/api/openapi.yaml | 5244 ------- Nudm_UEAuthentication/api_confirm_auth.go | 140 - .../api_generate_auth_data.go | 158 - Nudm_UEAuthentication/client.go | 39 - Nudm_UEAuthentication/configuration.go | 75 - Nudm_UEContextManagement/.gitignore | 15 - Nudm_UEContextManagement/CHANGELOG.md | 9 - Nudm_UEContextManagement/api/openapi.yaml | 5244 ------- ..._gpp_access_registration_info_retrieval.go | 157 - ..._gpp_access_registration_info_retrieval.go | 157 - .../api_amf_registration_for3_gpp_access.go | 157 - ...pi_amf_registration_for_non3_gpp_access.go | 157 - .../api_deregistrationNotification.go | 98 - ...in_the_amf_registration_for3_gpp_access.go | 152 - ...he_amf_registration_for_non3_gpp_access.go | 143 - .../api_smf_deregistration.go | 147 - .../api_smf_registration.go | 165 - ..._gpp_access_registration_info_retrieval.go | 157 - ...api_smsf_deregistration_for3_gpp_access.go | 139 - ...smsf_deregistration_for_non3_gpp_access.go | 139 - ..._gpp_access_registration_info_retrieval.go | 157 - .../api_smsf_registration_for3_gpp_access.go | 157 - ...i_smsf_registration_for_non3_gpp_access.go | 157 - Nudm_UEContextManagement/client.go | 65 - Nudm_UEContextManagement/configuration.go | 75 - Nudr_DataRepository/.gitignore | 15 - Nudr_DataRepository/CHANGELOG.md | 9 - Nudr_DataRepository/api/openapi.yaml | 11477 ---------------- .../api_access_and_mobility_data.go | 484 - ...and_mobility_subscription_data_document.go | 137 - ...i_amf3_gpp_access_registration_document.go | 296 - ...f_non3_gpp_access_registration_document.go | 296 - .../api_amf_subscription_info_document.go | 116 - .../api_auth_event_document.go | 124 - .../api_authentication_data_document.go | 204 - .../api_authentication_so_r_document.go | 212 - .../api_authentication_status_document.go | 118 - ...i_create_amf_subscription_info_document.go | 107 - Nudr_DataRepository/api_default.go | 4312 ------ ...pi_event_amf_subscription_info_document.go | 96 - .../api_event_exposure_data_document.go | 124 - ...exposure_group_subscriptions_collection.go | 201 - ...pi_event_exposure_subscription_document.go | 345 - ...event_exposure_subscriptions_collection.go | 201 - .../api_individual_influence_data_document.go | 506 - ...al_influence_data_subscription_document.go | 469 - Nudr_DataRepository/api_influence_data.go | 203 - ...influence_data_subscriptions_collection.go | 361 - ...erator_specific_data_container_document.go | 220 - .../api_parameter_provision_document.go | 139 - .../api_pdu_session_management_data.go | 510 - .../api_provisioned_data_document.go | 121 - ...api_provisioned_parameter_data_document.go | 114 - ...pi_query_amf_subscription_info_document.go | 109 - ..._identity_data_by_supi_or_gpsi_document.go | 124 - ...query_odb_data_by_supi_or_gpsi_document.go | 107 - .../api_retrieval_of_shared_data.go | 147 - .../api_sdm_subscription_document.go | 188 - .../api_sdm_subscriptions_collection.go | 201 - ...pi_session_management_subscription_data.go | 147 - .../api_smf_registration_document.go | 289 - .../api_smf_registrations_collection.go | 119 - ...mf_selection_subscription_data_document.go | 137 - ...s_management_subscription_data_document.go | 132 - .../api_sms_subscription_data_document.go | 132 - .../api_smsf3_gpp_registration_document.go | 283 - ...api_smsf_non3_gpp_registration_document.go | 283 - .../api_subs_to_notify_collection.go | 108 - ...fy_data_change_notify_callback_document.go | 150 - .../api_subs_to_notify_document.go | 96 - ...ce_data_update_notify_callback_document.go | 150 - ...cy_data_change_notify_callback_document.go | 150 - .../api_trace_data_document.go | 119 - Nudr_DataRepository/client.go | 127 - Nudr_DataRepository/configuration.go | 75 - PfdManagement/api_default.go | 1414 -- PfdManagement/client.go | 37 - PfdManagement/configuration.go | 75 - .../api_individual_subscription_document.go | 540 + .../api_individual_ue_context_document.go | 1564 +++ ..._n1_n2_individual_subscription_document.go | 202 + ...api_n1_n2_message_collection_collection.go | 413 + ...n_for_individual_ue_contexts_collection.go | 545 + ...cation_individual_subscription_document.go | 180 + ...non_uen2_messages_collection_collection.go | 220 + ...ges_subscriptions_collection_collection.go | 376 + ...api_subscriptions_collection_collection.go | 384 + amf/Communication/client.go | 56 + amf/Communication/configuration.go | 82 + .../api_individual_subscription_document.go | 399 + ...api_subscriptions_collection_collection.go | 557 + amf/EventExposure/client.go | 42 + amf/EventExposure/configuration.go | 82 + .../api_individual_ue_context_document.go | 799 ++ amf/Location/client.go | 40 + amf/Location/configuration.go | 82 + ..._session_contexts_collection_collection.go | 413 + ..._broadcast_mbs_session_context_document.go | 417 + amf/MBSBroadcast/client.go | 42 + amf/MBSBroadcast/configuration.go | 82 + ...pi_n2_messages_handler_custom_operation.go | 219 + amf/MBSCommunication/client.go | 40 + amf/MBSCommunication/configuration.go | 82 + amf/MT/api_ue_context_document.go | 234 + amf/MT/api_ue_contexts_collection.go | 403 + amf/MT/api_ue_reach_ind_document.go | 242 + amf/MT/client.go | 44 + amf/MT/configuration.go | 82 + ausf/SoRProtection/api_default.go | 161 + ausf/SoRProtection/client.go | 40 + ausf/SoRProtection/configuration.go | 82 + .../api_authentication_result_deletion.go | 456 + ausf/UEAuthentication/api_default.go | 1036 ++ ausf/UEAuthentication/client.go | 42 + ausf/UEAuthentication/configuration.go | 82 + ausf/UPUProtection/api_default.go | 161 + ausf/UPUProtection/client.go | 40 + ausf/UPUProtection/configuration.go | 82 + chf/ConvergedCharging/api_default.go | 734 + chf/ConvergedCharging/client.go | 40 + chf/ConvergedCharging/configuration.go | 82 + chf/OfflineOnlyCharging/api_default.go | 519 + chf/OfflineOnlyCharging/client.go | 40 + chf/OfflineOnlyCharging/configuration.go | 82 + chf/SpendingLimitControl/api_default.go | 943 ++ chf/SpendingLimitControl/client.go | 40 + chf/SpendingLimitControl/configuration.go | 82 + client.go | 125 +- client_test.go | 62 + convert_test.go | 1 + error.go | 9 +- .../api_request_ciphering_key_data.go | 435 + lmf/Broadcast/client.go | 40 + lmf/Broadcast/configuration.go | 82 + lmf/Location/api_cancel_location.go | 230 + lmf/Location/api_determine_location.go | 432 + lmf/Location/api_location_context_transfer.go | 230 + lmf/Location/client.go | 44 + lmf/Location/configuration.go | 82 + models/model_3_g_aka_av.go | 22 + models/model_3_gppps_data_off_status.go | 9 +- models/model_5_g_ddnmf_info.go | 18 + models/model_5_g_srvcc_info.go | 22 + models/model_5_g_vn_group_configuration.go | 24 + models/model_5_g_vn_group_data.go | 27 + models/model_5_glan_type_service.go | 18 + models/model_5_gs_user_state.go | 23 + models/model_5_gs_user_state_info.go | 19 + models/model_5_mbs_authorization_info.go | 17 + models/model_aanf_info.go | 18 + models/model_abnormal_behaviour.go | 27 + models/model_acc_net_ch_id.go | 19 +- models/model_acc_net_charging_address.go | 14 +- models/model_acceptable_mbs_serv_info.go | 20 + models/model_acceptable_service_info.go | 23 + models/model_access_and_mobility_data.go | 61 +- ...l_access_and_mobility_subscription_data.go | 91 +- .../model_access_net_charging_identifier.go | 22 + models/model_access_network_id.go | 23 + models/model_access_network_info_change.go | 24 + models/model_access_right_status.go | 22 + models/model_access_state_transition_type.go | 27 + models/model_access_tech.go | 9 +- models/model_access_token_claims.go | 23 +- models/model_access_token_err.go | 15 +- models/model_access_token_req.go | 41 +- models/model_access_token_req_1.go | 34 + models/model_access_token_rsp.go | 16 +- models/model_access_transfer_information.go | 31 + models/model_access_transfer_type.go | 23 + models/model_access_type.go | 9 +- models/model_access_type_1.go | 24 + models/model_access_type_rm.go | 12 +- models/model_accu_usage_report.go | 30 +- models/model_accumulated_usage.go | 18 +- models/model_accuracy_fulfilment_indicator.go | 9 +- models/model_ack_of_notify.go | 23 + models/model_acknowledge_info.go | 22 +- models/model_acs_info.go | 22 + models/model_acs_info_rm.go | 16 + models/model_activation_state.go | 21 + ...el_addition_info_analytics_info_request.go | 19 + ...el_addition_info_enable_ue_reachability.go | 19 + models/model_additional_access_info.go | 19 + models/model_additional_ee_subs_info.go | 19 + models/model_additional_measurement.go | 27 + models/model_additional_qos_flow_info.go | 15 +- models/model_additional_snssai_data.go | 19 + models/model_addr_fqdn.go | 20 + models/model_address_list.go | 19 + models/model_administrative_state.go | 21 + models/model_adrf_data_type.go | 21 + models/model_aerial_ue_indication.go | 21 + models/model_aerial_ue_subscription_info.go | 20 + models/model_af_ack_info.go | 21 + models/model_af_coordination_info.go | 23 + models/model_af_event.go | 15 +- models/model_af_event_exposure_af_event.go | 32 + ...af_event_exposure_af_event_notification.go | 37 + models/model_af_event_exposure_data.go | 20 + ...af_event_exposure_dispersion_collection.go | 30 + .../model_af_event_exposure_event_filter.go | 25 + models/model_af_event_exposure_notif.go | 19 + models/model_af_event_exposure_subsc.go | 26 + models/model_af_event_notification.go | 11 +- models/model_af_event_subscription.go | 17 +- models/model_af_external.go | 20 + models/model_af_location_area.go | 28 + models/model_af_location_area5_g.go | 21 + models/model_af_notif_method.go | 8 +- models/model_af_requested_data.go | 20 + models/model_af_result_info.go | 23 + models/model_af_result_status.go | 23 + models/model_af_routing_requirement.go | 30 +- models/model_af_routing_requirement_rm.go | 30 +- models/model_af_sig_protocol.go | 9 +- models/model_affinity_anti_affinity.go | 18 + models/model_aggregation_level.go | 21 + models/model_alert_limit.go | 21 + models/model_allowed_mbs_info.go | 17 + models/model_allowed_mtc_provider_info.go | 19 + models/model_allowed_nssai.go | 14 +- models/model_allowed_snssai.go | 16 +- models/model_alternative_qos_profile.go | 26 + ...l_alternative_service_requirements_data.go | 25 + models/model_am_event.go | 21 + models/model_am_event_data.go | 30 + models/model_am_event_notification.go | 20 + models/model_am_events_notification.go | 20 + models/model_am_events_subsc_data.go | 20 + models/model_am_events_subsc_data_rm.go | 20 + models/model_am_events_subsc_resp_data.go | 23 + models/model_am_influ_data.go | 46 + models/model_am_influ_event.go | 20 + models/model_am_policy_association.go | 26 + ...del_am_policy_association_release_cause.go | 22 + models/model_am_policy_association_request.go | 49 + ...el_am_policy_association_update_request.go | 43 + models/model_am_policy_data.go | 11 +- models/model_am_policy_req_trigger.go | 20 - models/model_am_policy_request_trigger.go | 27 + ...odel_am_policy_termination_notification.go | 18 + models/model_am_policy_update.go | 26 + models/model_am_requested_value_rep.go | 26 + models/model_am_termination_cause.go | 22 + models/model_am_termination_info.go | 20 + models/model_ambr.go | 16 +- models/model_ambr_rm.go | 11 +- models/model_amf3_gpp_access_registration.go | 71 +- ...cess_registration_eps_interworking_info.go | 15 - ...f3_gpp_access_registration_modification.go | 21 +- ...tion_modification_eps_interworking_info.go | 15 - ...mf_communication_ec_restriction_data_wb.go | 19 + .../model_amf_communication_ngap_ie_type.go | 37 + .../model_amf_communication_release_cause.go | 22 + ...del_amf_communication_subscription_data.go | 20 + models/model_amf_cond.go | 16 +- models/model_amf_create_event_subscription.go | 14 +- .../model_amf_created_event_subscription.go | 18 +- models/model_amf_dereg_info.go | 17 + models/model_amf_event.go | 44 +- models/model_amf_event_area.go | 17 +- ...l_amf_event_exposure_traffic_descriptor.go | 21 + models/model_amf_event_mode.go | 23 +- models/model_amf_event_notification.go | 17 +- models/model_amf_event_report.go | 66 +- models/model_amf_event_state.go | 17 +- models/model_amf_event_subs_sync_info.go | 18 + models/model_amf_event_subscription.go | 46 +- .../model_amf_event_subscription_add_info.go | 23 + models/model_amf_event_subscription_info.go | 23 + models/model_amf_event_trigger.go | 10 +- models/model_amf_event_type.go | 41 +- models/model_amf_info.go | 24 +- models/model_amf_location_data.go | 26 + models/model_amf_location_location_event.go | 25 + models/model_amf_location_location_type.go | 23 + ...f_mbs_broadcast_context_update_req_data.go | 27 + ...f_mbs_broadcast_context_update_rsp_data.go | 19 + .../model_amf_mbs_broadcast_n2_mbs_sm_info.go | 20 + .../model_amf_mbs_broadcast_ngap_ie_type.go | 23 + ...el_amf_mbs_communication_n2_mbs_sm_info.go | 19 + models/model_amf_mt_ue_info.go | 20 + .../model_amf_non3_gpp_access_registration.go | 63 +- ...n3_gpp_access_registration_modification.go | 18 +- .../model_amf_status_change_notification.go | 10 +- models/model_amf_status_info.go | 18 +- models/model_amf_subscription_info.go | 18 +- models/model_amf_update_event_option_item.go | 16 +- ...odel_amf_update_event_subscription_item.go | 25 + ...mf_update_event_subscription_item_inner.go | 16 - .../model_amf_updated_event_subscription.go | 11 +- models/model_an_gw_address.go | 16 +- models/model_an_node_type.go | 21 + models/model_analytics_context_identifier.go | 23 + models/model_analytics_metadata.go | 24 + models/model_analytics_metadata_indication.go | 21 + models/model_analytics_metadata_info.go | 23 + models/model_analytics_subscription.go | 22 + .../model_analytics_subscriptions_transfer.go | 18 + models/model_analytics_subset.go | 59 + models/model_anchor_smf_features.go | 18 + models/model_announcement_information.go | 29 + .../model_announcement_privacy_indicator.go | 21 + models/model_api_direction.go | 7 +- models/model_apn_rate_status.go | 31 + models/model_app_am_context_data.go | 33 + models/model_app_am_context_resp_data.go | 36 + models/model_app_am_context_update_data.go | 27 + models/model_app_descriptor.go | 21 + models/model_app_detection_info.go | 16 +- models/model_app_detection_notif_type.go | 21 + models/model_app_detection_report.go | 20 + models/model_app_list_for_ue_comm.go | 30 + models/model_app_port_id.go | 20 + models/model_app_session_context.go | 13 +- models/model_app_session_context_req_data.go | 76 +- models/model_app_session_context_resp_data.go | 13 +- .../model_app_session_context_update_data.go | 46 +- ...l_app_session_context_update_data_patch.go | 18 + models/model_application_data_change_notif.go | 24 + models/model_application_data_subs.go | 33 + models/model_application_for_pfd_request.go | 25 + models/model_application_server.go | 20 + models/model_application_volume.go | 21 + models/model_applied_smcc_type.go | 21 + models/model_area.go | 13 +- models/model_area_event_info.go | 28 + models/model_area_of_interest_event_state.go | 19 + models/model_area_of_validity.go | 10 +- models/model_area_scope.go | 22 + models/model_arp.go | 18 +- ...model_as_session_with_qo_s_subscription.go | 59 + ...as_session_with_qo_s_subscription_patch.go | 42 + models/model_assign_ebi_data.go | 17 +- models/model_assign_ebi_error.go | 12 +- models/model_assign_ebi_failed.go | 13 +- models/model_assigned_ebi_data.go | 18 +- models/model_association_type.go | 21 + models/model_atom.go | 21 +- models/model_atsss_capability.go | 19 +- models/model_ausf_info.go | 18 +- models/model_ausf_so_r_protection_sor_info.go | 26 + ...ausf_so_r_protection_steering_container.go | 17 + ...odel_ausf_so_r_protection_steering_info.go | 19 + ...odel_ausf_ue_authentication_auth_result.go | 22 + .../model_ausf_ue_authentication_auth_type.go | 23 + ...odel_ausf_ue_authentication_rg_auth_ctx.go | 21 + models/model_ausf_upu_protection_upu_data.go | 22 + models/model_ausf_upu_protection_upu_info.go | 26 + models/model_auth_event.go | 28 +- models/model_auth_method.go | 10 +- models/model_auth_notification.go | 24 + models/model_auth_result.go | 7 +- models/model_auth_status.go | 22 + models/model_auth_type.go | 9 +- models/model_auth_update_info.go | 20 + models/model_auth_update_notification.go | 25 + models/model_authentication_info.go | 29 +- models/model_authentication_info_request.go | 19 +- models/model_authentication_info_result.go | 17 +- models/model_authentication_subscription.go | 35 +- models/model_authentication_vector.go | 25 +- models/model_authorization_data.go | 27 + models/model_authorization_info.go | 34 + models/model_authorization_request.go | 24 + models/model_authorization_response.go | 22 + models/model_authorization_result.go | 24 + models/model_authorization_type.go | 24 + models/model_authorization_ue_id.go | 21 + models/model_authorized_default_qos.go | 39 +- models/model_authorized_network_slice_info.go | 46 +- ...odel_authorized_nssai_availability_data.go | 19 +- ...odel_authorized_nssai_availability_info.go | 14 +- models/model_av5_g_he_aka.go | 19 +- models/model_av5g_aka.go | 15 +- models/model_av_eap_aka_prime.go | 21 +- models/model_av_eps_aka.go | 21 + models/model_av_ims_gba_eap_aka.go | 22 + models/model_av_type.go | 9 +- models/model_backup_amf_info.go | 16 +- models/model_base_record.go | 23 + models/model_battery_indication.go | 23 + models/model_battery_indication_rm.go | 16 + models/model_bdt_data.go | 28 +- models/model_bdt_data_patch.go | 19 + models/model_bdt_policy.go | 11 +- models/model_bdt_policy_bdt_policy_data.go | 24 + .../model_bdt_policy_bdt_policy_data_patch.go | 19 + models/model_bdt_policy_bdt_req_data_patch.go | 19 + models/model_bdt_policy_data.go | 30 +- models/model_bdt_policy_data_patch.go | 15 +- models/model_bdt_policy_patch_bdt_policy.go | 19 + models/model_bdt_policy_status.go | 21 + models/model_bdt_req_data.go | 31 +- models/model_bdt_req_data_patch.go | 19 + models/model_binding_level.go | 18 - models/model_block.go | 17 + models/model_bootstrapping_info.go | 28 + models/model_bridge_management_container.go | 19 + models/model_bsf_info.go | 16 +- models/model_bw_requirement.go | 27 + models/model_cache_status.go | 22 + models/model_cag_ack_data.go | 24 + models/model_cag_data.go | 24 + models/model_cag_info.go | 18 + models/model_call_reference_info.go | 21 + models/model_called_identity_change.go | 23 + models/model_cancel_pos_info.go | 27 + ...odel_cancel_relocate_ue_context_request.go | 18 + models/model_candidate_for_replacement.go | 19 + models/model_cause.go | 45 +- models/model_ce_mode_b_ind.go | 18 + models/model_cell_global_id.go | 16 +- models/model_change_item.go | 22 +- ...l_change_of_supi_pei_association_report.go | 12 +- models/model_change_type.go | 9 +- ...charging_characteristics_selection_mode.go | 9 +- models/model_charging_data.go | 41 +- models/model_charging_data_request.go | 41 - models/model_charging_data_response.go | 27 - models/model_charging_info.go | 25 + models/model_charging_information.go | 24 +- models/model_charging_notify_request.go | 11 +- models/model_charging_notify_response.go | 9 +- ...onverged_charging_charging_data_request.go | 62 + ...nverged_charging_charging_data_response.go | 33 + ...nverged_charging_multiple_qf_icontainer.go | 33 + ..._converged_charging_multiple_unit_usage.go | 23 + ...hf_converged_charging_nf_identification.go | 24 + ...f_converged_charging_node_functionality.go | 39 + ...hf_converged_charging_notification_type.go | 21 + ...odel_chf_converged_charging_pdu_address.go | 24 + ...rged_charging_pdu_container_information.go | 44 + ...arging_pdu_session_charging_information.go | 40 + ...verged_charging_pdu_session_information.go | 56 + ...rged_charging_qfi_container_information.go | 41 + ...onverged_charging_qos_monitoring_report.go | 20 + ...onverged_charging_redirect_address_type.go | 23 + ...odel_chf_converged_charging_result_code.go | 27 + ...erged_charging_roaming_charging_profile.go | 18 + ...verged_charging_roaming_qbc_information.go | 20 + ...ed_charging_serving_network_function_id.go | 19 + .../model_chf_converged_charging_trigger.go | 34 + ...del_chf_converged_charging_trigger_type.go | 63 + ..._converged_charging_used_unit_container.go | 41 + ...chf_converged_charging_user_information.go | 22 + models/model_chf_info.go | 22 +- ...ine_only_charging_charging_data_request.go | 33 + ...ne_only_charging_charging_data_response.go | 29 + ...ne_only_charging_multiple_qf_icontainer.go | 31 + ...fline_only_charging_multiple_unit_usage.go | 22 + ...offline_only_charging_nf_identification.go | 24 + ...ffline_only_charging_node_functionality.go | 22 + ...l_chf_offline_only_charging_pdu_address.go | 22 + ...only_charging_pdu_container_information.go | 39 + ...arging_pdu_session_charging_information.go | 35 + ...e_only_charging_pdu_session_information.go | 48 + ...only_charging_qfi_container_information.go | 35 + ...l_chf_offline_only_charging_result_code.go | 21 + ..._only_charging_roaming_charging_profile.go | 18 + ...e_only_charging_roaming_qbc_information.go | 20 + ...ly_charging_serving_network_function_id.go | 19 + ...model_chf_offline_only_charging_trigger.go | 28 + ..._chf_offline_only_charging_trigger_type.go | 49 + ...fline_only_charging_used_unit_container.go | 38 + ..._offline_only_charging_user_information.go | 22 + models/model_chf_service_info.go | 15 - ...pending_limit_control_termination_cause.go | 20 + models/model_cipher_request_data.go | 21 + models/model_cipher_response_data.go | 18 + models/model_ciphering_algorithm.go | 7 +- models/model_ciphering_data_set.go | 37 + models/model_ciphering_key_info.go | 20 + models/model_ciphering_key_response.go | 18 + models/model_ciphering_set_report.go | 20 + models/model_circumstance_description.go | 28 + models/model_civic_address.go | 74 +- models/model_class_criterion.go | 21 + models/model_class_identifier.go | 7 +- models/model_client_id.go | 21 + models/model_cm_info.go | 14 +- models/model_cm_info_report.go | 18 + models/model_cm_state.go | 9 +- models/model_cn_assisted_ran_para.go | 26 + models/model_cn_type.go | 22 + models/model_cn_type_change_report.go | 18 + models/model_cnf.go | 15 +- models/model_cnf_unit.go | 15 +- models/model_code_word_ind.go | 21 + models/model_collection_period_rmm_lte_mdt.go | 26 + models/model_collection_period_rmm_nr_mdt.go | 24 + models/model_collective_behaviour_filter.go | 22 + .../model_collective_behaviour_filter_type.go | 21 + models/model_collective_behaviour_info.go | 23 + models/model_collocated_nf_instance.go | 20 + models/model_collocated_nf_type.go | 23 + models/model_communication_characteristics.go | 18 +- .../model_communication_characteristics_af.go | 21 + models/model_communication_collection.go | 29 + models/model_communication_failure.go | 14 +- models/model_comparison_operator.go | 25 + models/model_complex_query.go | 17 +- models/model_condition_data.go | 20 +- models/model_condition_event_type.go | 21 + models/model_condition_operator.go | 22 + models/model_configured_snssai.go | 14 +- models/model_confirmation_data.go | 13 +- models/model_confirmation_data_response.go | 17 +- models/model_congestion_info.go | 24 + models/model_connection_capabilities.go | 23 + models/model_constants.go | 18 - models/model_consumer_nf_information.go | 22 + models/model_context_create_req_data.go | 29 + models/model_context_create_request.go | 18 + models/model_context_create_response_201.go | 27 + models/model_context_create_rsp_data.go | 20 + models/model_context_data.go | 19 + models/model_context_data_set_name.go | 30 + models/model_context_data_sets.go | 29 + models/model_context_element.go | 40 + models/model_context_id_list.go | 18 + models/model_context_info.go | 18 + models/model_context_status_notification.go | 24 + models/model_context_type.go | 25 + models/model_context_update_request.go | 18 + models/model_context_update_response_200.go | 27 + ...odel_core_network_service_authorization.go | 18 + models/model_core_network_type.go | 9 +- models/model_coverage_info.go | 24 + models/model_create_ue_context_request.go | 44 +- models/model_create_ue_context_response.go | 30 - .../model_create_ue_context_response_201.go | 33 + .../model_create_ue_context_response_403.go | 18 + models/model_created_ee_subscription.go | 14 +- ...el_created_ue_reachability_subscription.go | 23 + models/model_credit_management_status.go | 13 +- models/model_cs_location.go | 26 + models/model_cs_user_state.go | 18 + models/model_csg_information.go | 20 + models/model_csrn.go | 19 + models/model_data_availability.go | 21 + models/model_data_change_notify.go | 18 +- models/model_data_collection_purpose.go | 21 + models/model_data_filter.go | 30 + models/model_data_ind.go | 24 + models/model_data_notification.go | 37 + models/model_data_set_id.go | 22 +- models/model_data_set_name.go | 34 +- models/model_data_subscription.go | 24 + .../model_datalink_reporting_configuration.go | 21 + models/model_dataset_statistical_property.go | 21 + models/model_dccf_cond.go | 22 + ..._dccf_data_management_reporting_options.go | 28 + models/model_dccf_event.go | 25 + models/model_dccf_info.go | 21 + models/model_ddd_traffic_descriptor.go | 24 + models/model_ddn_failure_sub_info.go | 19 + models/model_ddn_failure_subs.go | 19 + models/model_deconceal_req_data.go | 19 + models/model_deconceal_rsp_data.go | 19 + models/model_def_sub_service_info.go | 20 + ...model_default_notification_subscription.go | 28 +- models/model_default_unrelated_class.go | 21 + models/model_deliver_add_info.go | 19 + models/model_deliver_error.go | 36 + models/model_deliver_request.go | 18 + models/model_delivery_report_requested.go | 7 +- models/model_deregistration_data.go | 13 +- models/model_deregistration_info.go | 21 + models/model_deregistration_reason.go | 8 +- models/model_deregistration_reason_code.go | 26 + models/model_detecting_node.go | 22 + models/model_determine_location_request.go | 18 + models/model_digest_authentication.go | 22 + models/model_direct_discovery_model.go | 21 + models/model_dispersion_area.go | 21 + models/model_dispersion_class.go | 17 + models/model_dispersion_info.go | 27 + models/model_dispersion_ordering_criterion.go | 24 + models/model_dispersion_requirement.go | 22 + models/model_dispersion_type.go | 17 + models/model_dl_data_delivery_status.go | 22 + models/model_dn_perf.go | 24 + models/model_dn_perf_info.go | 25 + models/model_dn_perf_ordering_criterion.go | 24 + models/model_dn_performance_req.go | 20 + models/model_dnai_change_type.go | 7 +- models/model_dnai_information.go | 21 + models/model_dnf.go | 15 +- models/model_dnf_unit.go | 15 +- models/model_dnn_configuration.go | 52 +- models/model_dnn_easdf_info_item.go | 19 + models/model_dnn_info.go | 21 +- models/model_dnn_info_item.go | 18 + models/model_dnn_mb_smf_info_item.go | 18 + .../model_dnn_route_selection_descriptor.go | 23 + models/model_dnn_selection_mode.go | 11 +- models/model_dnn_smf_info_item.go | 13 +- models/model_dnn_snssai_information.go | 20 + models/model_dnn_tsctsf_info_item.go | 18 + models/model_dnn_upf_info_item.go | 23 +- models/model_dns_server_identifier.go | 20 + models/model_domain_name_protocol.go | 23 + ...odel_downlink_data_notification_control.go | 19 + ...l_downlink_data_notification_control_rm.go | 19 + models/model_dr_bdt_data.go | 30 + models/model_dr_bdt_policy_data.go | 23 + models/model_dr_bdt_policy_data_patch.go | 18 + models/model_dr_data_set_name.go | 29 + models/model_dsai_tag_information.go | 18 + models/model_dsai_tag_status.go | 19 + models/model_dynamic5_qi.go | 33 +- models/model_dynamic_policy.go | 28 + models/model_eap_auth_method_response_200.go | 13 +- models/model_eap_session.go | 26 +- models/model_early_media_description.go | 19 + models/model_eas_dep_notification.go | 19 + models/model_eas_deploy_info_data.go | 26 + models/model_eas_deploy_info_notif.go | 19 + models/model_eas_deploy_sub_data.go | 30 + ...del_eas_deployment_charging_information.go | 26 + models/model_eas_event.go | 20 + models/model_eas_ip_replacement_info.go | 19 + models/model_eas_requirements.go | 21 + models/model_eas_server_address.go | 20 + models/model_easdf_info.go | 20 + models/model_ebi_arp_mapping.go | 13 +- models/model_ec_restriction.go | 21 + models/model_ec_restriction_data_wb.go | 18 + models/model_ecgi.go | 18 +- models/model_ecs_addr_config_info.go | 18 + models/model_ecs_server_addr.go | 21 + ...frastructure_usage_charging_information.go | 34 + models/model_edrx_parameters.go | 18 + models/model_ee_group_profile_data.go | 25 + models/model_ee_monitoring_revoked.go | 21 + models/model_ee_profile_data.go | 19 +- models/model_ee_subscription.go | 14 +- models/model_ee_subscription_ext.go | 43 + models/model_ellipsoid_arc.go | 29 +- models/model_emergency_info.go | 19 +- ...odel_enable_group_reachability_req_data.go | 27 + ...odel_enable_group_reachability_rsp_data.go | 20 + .../model_enable_ue_reachability_req_data.go | 15 +- .../model_enable_ue_reachability_rsp_data.go | 13 +- models/model_endpoint_address.go | 22 + ...odel_enhanced_coverage_restriction_data.go | 17 + models/model_enhanced_diagnostics5_g.go | 12 +- models/model_eps_bearer_info.go | 17 +- models/model_eps_interworking_indication.go | 14 +- models/model_eps_interworking_info.go | 18 + models/model_eps_iwk_pgw.go | 16 +- models/model_eps_nas_ciphering_algorithm.go | 23 + models/model_eps_nas_integrity_algorithm.go | 23 + models/model_eps_nas_security_mode.go | 19 + models/model_eps_pdn_cnx_info.go | 16 +- models/model_error_report.go | 20 +- models/model_eth_flow_description.go | 27 +- models/model_eth_flow_info.go | 21 + models/model_ethernet_flow_info.go | 19 + models/model_eutra_location.go | 35 +- models/model_event.go | 21 + models/model_event_class.go | 20 + models/model_event_for_mdt.go | 21 + models/model_event_id.go | 34 + models/model_event_notification.go | 57 +- models/model_event_param_report.go | 35 + models/model_event_report_message.go | 19 + models/model_event_report_mode.go | 21 + models/model_event_reporting_requirement.go | 41 + models/model_event_reporting_status.go | 21 + models/model_event_subscription.go | 14 +- models/model_event_type.go | 15 +- models/model_events_notification.go | 46 +- models/model_events_subs.go | 19 + models/model_events_subsc_put_data.go | 62 + models/model_events_subsc_req_data.go | 18 +- models/model_events_subsc_req_data_rm.go | 18 +- models/model_exception.go | 20 + models/model_exception_id.go | 28 + models/model_exception_info.go | 20 + models/model_exception_trend.go | 23 + models/model_exemption_ind.go | 20 + models/model_expected_analytics_type.go | 22 + models/model_expected_ue_behavior.go | 13 +- models/model_expected_ue_behaviour.go | 37 + models/model_expected_ue_behaviour_data.go | 33 + ...model_exposure_data_change_notification.go | 16 +- models/model_exposure_data_subscription.go | 24 +- models/model_ext_amf_event_subscription.go | 47 + models/model_ext_problem_details.go | 44 +- models/model_ext_snssai.go | 25 + models/model_extended_problem_details.go | 29 + models/model_extended_sm_subs_data.go | 19 + models/model_external_client_type.go | 9 +- models/model_external_unrelated_class.go | 19 + models/model_failure.go | 17 + models/model_failure_cause.go | 16 +- models/model_failure_code.go | 16 +- models/model_failure_event_info.go | 19 + .../model_failure_event_info_for_ml_model.go | 19 + models/model_failure_handling.go | 9 +- models/model_fetch_instruction.go | 27 + models/model_final_unit_action.go | 9 +- models/model_final_unit_indication.go | 17 +- models/model_fix_type.go | 21 + models/model_flow_direction.go | 7 +- models/model_flow_direction_2.go | 20 - models/model_flow_direction_rm.go | 20 +- models/model_flow_info.go | 16 +- models/model_flow_information.go | 28 +- models/model_flow_status.go | 9 +- models/model_flow_usage.go | 12 +- models/model_flows.go | 15 +- models/model_formatting_instruction.go | 20 + models/model_fqdn_pattern_matching_rule.go | 19 + models/model_frame_route_info.go | 19 + models/model_g_nb_id.go | 16 +- models/model_gad_shape.go | 12 +- models/model_gba_auth_type.go | 20 + .../model_gba_authentication_info_request.go | 20 + .../model_gba_authentication_info_result.go | 19 + models/model_gbr_qos_flow_information.go | 22 +- models/model_geo_loc.go | 18 + models/model_geo_service_area.go | 19 + models/model_geographic_area.go | 43 +- models/model_geographical_area.go | 19 + models/model_geographical_coordinates.go | 13 +- models/model_gera_location.go | 39 +- models/model_global_ran_node_id.go | 33 +- models/model_gmlc_info.go | 19 + models/model_gnss_id.go | 11 +- ...model_gnss_positioning_method_and_usage.go | 16 +- models/model_gpsi_type.go | 22 + models/model_granted_unit.go | 25 +- models/model_group_identifiers.go | 22 + models/model_guami.go | 15 +- models/model_guami_list_cond.go | 12 +- models/model_header_sip_request.go | 19 + models/model_hfc_node_id.go | 13 +- models/model_high_accuracy_gnss_metrics.go | 22 + models/model_historical_data.go | 29 + models/model_ho_state.go | 7 +- models/model_horizontal_velocity.go | 16 +- ...el_horizontal_velocity_with_uncertainty.go | 19 +- ...model_horizontal_with_vertical_velocity.go | 21 +- ..._with_vertical_velocity_and_uncertainty.go | 27 +- models/model_hsmf_update_data.go | 107 +- models/model_hsmf_update_error.go | 23 +- models/model_hsmf_updated_data.go | 32 +- models/model_hss_auth_type.go | 25 + models/model_hss_auth_type_in_uri.go | 24 + .../model_hss_authentication_info_request.go | 24 + .../model_hss_authentication_info_result.go | 19 + models/model_hss_authentication_vectors.go | 16 + models/model_hss_av_type.go | 24 + models/model_hss_info.go | 25 + models/model_hss_subscription_info.go | 18 + models/model_hss_subscription_item.go | 22 + models/model_hssims_sdm_access_type.go | 21 + models/model_hssims_sdm_data_set_name.go | 23 + models/model_hssims_sdm_shared_data.go | 20 + ...el_hssims_uecm_extended_problem_details.go | 35 + models/model_id_translation_result.go | 18 +- models/model_identity_data.go | 15 +- models/model_identity_range.go | 16 +- models/model_identity_type.go | 23 + models/model_idle_status_indication.go | 29 + models/model_ifc.go | 20 + models/model_ifcs.go | 19 + models/model_imei_sv_information.go | 21 + models/model_immediate_mdt_conf.go | 36 + models/model_immediate_report.go | 32 + models/model_ims_address.go | 20 + models/model_ims_associated_identities.go | 19 + models/model_ims_charging_information.go | 80 + models/model_ims_location_data.go | 18 + models/model_ims_node_functionality.go | 42 + models/model_ims_profile_data.go | 25 + models/model_ims_registration_state.go | 23 + models/model_ims_registration_status.go | 18 + models/model_ims_registration_type.go | 27 + models/model_ims_sdm_subscription.go | 28 + models/model_ims_service_profile.go | 20 + models/model_ims_session_priority.go | 24 + models/model_ims_vo_ps.go | 9 +- ...model_ims_voice_over_ps_session_support.go | 22 + models/model_imsi_range.go | 20 + ...el_indirect_data_forwarding_tunnel_info.go | 26 + models/model_integrity_algorithm.go | 7 +- models/model_integrity_requirements.go | 22 + models/model_inter_freq_target_info.go | 21 + models/model_inter_operator_identifier.go | 18 + models/model_interface_type.go | 7 +- models/model_interface_upf_info_item.go | 21 +- models/model_internal_group_id_range.go | 22 + models/model_invalid_cause.go | 23 + models/model_invalid_param.go | 12 +- models/model_invalid_param_1.go | 20 + models/model_invalid_param_2.go | 15 - models/model_invocation_result.go | 13 +- models/model_ip_addr.go | 22 + models/model_ip_address.go | 15 +- models/model_ip_end_point.go | 19 +- models/model_ip_eth_flow_description.go | 20 + models/model_ip_flow_info.go | 19 + models/model_ip_multicast_address_info.go | 23 + models/model_ip_packet_filter_set.go | 25 + models/model_ip_reachability.go | 22 + models/model_ip_sm_gw_address.go | 24 + models/model_ip_sm_gw_guidance.go | 19 + models/model_ip_sm_gw_info.go | 19 + models/model_ip_sm_gw_registration.go | 28 + models/model_iptv_config_data.go | 32 + models/model_iptv_config_data_patch.go | 19 + models/model_ipv4_address_range.go | 12 +- models/model_ipv6_prefix_range.go | 12 +- models/model_isup_cause.go | 21 + models/model_iwmsc_info.go | 21 + models/model_job_type.go | 26 + models/model_key_amf.go | 12 +- models/model_key_amf_type.go | 7 +- models/model_key_type.go | 24 + models/model_ladn_info.go | 14 +- ...del_lcs_broadcast_assistance_types_data.go | 18 + models/model_lcs_client_class.go | 24 + models/model_lcs_client_external.go | 19 + models/model_lcs_client_group_external.go | 20 + models/model_lcs_mo_data.go | 18 + models/model_lcs_mo_service_class.go | 22 + models/model_lcs_priority.go | 9 +- models/model_lcs_privacy.go | 21 + models/model_lcs_privacy_data.go | 19 + models/model_lcs_qos_class.go | 22 + models/model_lcs_service_auth.go | 25 + models/model_ldr_type.go | 25 + models/model_limit_id_to_monitoring_key.go | 11 +- models/model_line_type.go | 9 +- models/model_link.go | 11 +- models/model_links_value_schema.go | 14 - models/model_lmf_info.go | 26 + models/model_lmf_location_cancel_loc_data.go | 23 + .../model_lmf_location_event_notify_data.go | 49 + ...l_lmf_location_geographical_coordinates.go | 19 + models/model_lmf_location_input_data.go | 71 + models/model_lmf_location_location_data.go | 48 + .../model_lmf_location_termination_cause.go | 22 + models/model_loc_context_data.go | 50 + ...model_local2d_point_uncertainty_ellipse.go | 23 + ...del_local3d_point_uncertainty_ellipsoid.go | 23 + models/model_local_area.go | 24 + models/model_local_origin.go | 19 + models/model_location_accuracy.go | 16 +- models/model_location_area.go | 21 + models/model_location_area5_g.go | 22 + models/model_location_area_id.go | 15 +- models/model_location_event.go | 16 +- models/model_location_filter.go | 13 +- models/model_location_info.go | 16 + models/model_location_info_request.go | 24 + models/model_location_info_result.go | 34 + models/model_location_privacy_ind.go | 21 + models/model_location_privacy_ver_result.go | 22 + models/model_location_qo_s.go | 22 +- models/model_location_report.go | 17 + ...location_reporting_charging_information.go | 22 +- .../model_location_reporting_configuration.go | 16 +- models/model_location_type.go | 10 +- models/model_logging_duration_mdt.go | 25 + models/model_logging_duration_nr_mdt.go | 25 + models/model_logging_interval_mdt.go | 27 + models/model_logging_interval_nr_mdt.go | 30 + models/model_loose_route_indication.go | 21 + models/model_loss_connectivity_cfg.go | 18 + models/model_loss_connectivity_report.go | 17 + models/model_loss_of_connectivity_reason.go | 22 + models/model_lpi.go | 18 + models/model_lte_m_ind.go | 18 + models/model_lte_v2x_auth.go | 19 + models/model_m5_qo_s_specification.go | 30 + models/model_ma_pdu_indication.go | 9 +- models/model_ma_release_indication.go | 21 + models/model_management_operation.go | 19 +- models/model_management_operation_status.go | 7 +- models/model_mapdu_session_information.go | 13 +- models/model_mapping_of_snssai.go | 13 +- models/model_matching_direction.go | 22 + models/model_matching_operator.go | 27 + ...model_max_integrity_protected_data_rate.go | 7 +- models/model_mb_smf_info.go | 25 + models/model_mb_upf_info.go | 24 + models/model_mbs_app_session_ctxt.go | 28 + models/model_mbs_app_session_ctxt_patch.go | 18 + models/model_mbs_error_report.go | 18 + models/model_mbs_failure_code.go | 26 + models/model_mbs_media_comp.go | 23 + models/model_mbs_media_comp_rm.go | 16 + models/model_mbs_media_info.go | 23 + .../model_mbs_n2_message_transfer_req_data.go | 23 + .../model_mbs_n2_message_transfer_rsp_data.go | 20 + models/model_mbs_ngap_ie_type.go | 22 + models/model_mbs_pcc_rule.go | 22 + models/model_mbs_pcc_rule_status.go | 21 + models/model_mbs_pcrt.go | 20 + models/model_mbs_policy_ctxt_data.go | 26 + models/model_mbs_policy_ctxt_data_update.go | 20 + models/model_mbs_policy_data.go | 21 + models/model_mbs_policy_decision.go | 26 + models/model_mbs_qo_s_req.go | 26 + models/model_mbs_qos_char.go | 30 + models/model_mbs_qos_dec.go | 31 + models/model_mbs_report.go | 20 + models/model_mbs_service_area.go | 21 + models/model_mbs_service_area_info.go | 20 + models/model_mbs_service_info.go | 23 + models/model_mbs_session_id.go | 21 + models/model_mbs_subscription_data.go | 19 + models/model_mbsfn_area.go | 21 + models/model_mdt_configuration.go | 48 + models/model_mdt_user_consent.go | 21 + models/model_measurement_lte_for_mdt.go | 32 + models/model_measurement_nr_for_mdt.go | 32 + models/model_measurement_period_lte_mdt.go | 26 + models/model_media_component.go | 76 +- .../model_media_component_resources_status.go | 7 +- models/model_media_component_rm.go | 78 +- models/model_media_initiator_flag.go | 22 + models/model_media_streaming_access_record.go | 31 + models/model_media_sub_component.go | 28 +- models/model_media_sub_component_rm.go | 30 +- models/model_media_type.go | 9 +- models/model_message_body.go | 21 + models/model_message_class.go | 11 +- models/model_message_waiting_data.go | 18 + models/model_meta_schema.go | 20 + models/model_metering_method.go | 9 +- models/model_mfaf_info.go | 21 + models/model_mico_mode_indication.go | 7 +- models/model_milenage.go | 16 - models/model_minor_location_qo_s.go | 21 + models/model_ml_analytics_info.go | 20 + models/model_ml_event_notif.go | 22 + models/model_ml_event_subscription.go | 27 + models/model_ml_model_addr.go | 21 + models/model_ml_model_info.go | 22 + models/model_mm_context.go | 47 +- models/model_mm_tel_charging_information.go | 17 + ...del_mm_transaction_location_report_item.go | 28 + .../model_mm_transaction_slice_report_item.go | 25 + models/model_mme_capabilities.go | 12 +- models/model_mme_location_data.go | 25 + models/model_mnpf_info.go | 18 + models/model_mo_exp_data_counter.go | 25 + models/model_model_info.go | 19 + models/model_modification_notification.go | 11 +- models/model_modify_pdu_session_request.go | 22 + .../model_modify_pdu_session_response_200.go | 23 + .../model_modify_pdu_session_response_400.go | 23 + models/model_modify_response_200.go | 47 + ...el_modify_shared_data_subs_response_200.go | 47 + models/model_modify_subscription_request.go | 9 +- ...cription_data_subscription_response_200.go | 37 + models/model_monitoring_configuration.go | 25 +- models/model_monitoring_event.go | 18 + models/model_monitoring_report.go | 18 +- models/model_motion_event_info.go | 29 + models/model_mps_action.go | 22 + models/model_ms_access_activity_collection.go | 18 + models/model_ms_consumption_collection.go | 18 + ...del_ms_dyn_policy_invocation_collection.go | 18 + .../model_ms_net_ass_invocation_collection.go | 18 + models/model_ms_qoe_metrics_collection.go | 18 + models/model_msisdn_list.go | 20 + models/model_mtc_provider.go | 20 + models/model_multicast_access_control.go | 24 + models/model_multicast_mbs_group_memb.go | 20 + models/model_multiple_qf_icontainer.go | 25 - models/model_multiple_unit_information.go | 35 +- models/model_multiple_unit_usage.go | 18 - models/model_n1_message_class.go | 10 +- models/model_n1_message_container.go | 16 +- models/model_n1_message_notification.go | 23 +- models/model_n1_message_notify.go | 15 - models/model_n1_message_notify_request.go | 18 + models/model_n1_n2_message_transfer_cause.go | 27 +- models/model_n1_n2_message_transfer_error.go | 12 +- .../model_n1_n2_message_transfer_req_data.go | 47 +- .../model_n1_n2_message_transfer_request.go | 14 +- .../model_n1_n2_message_transfer_rsp_data.go | 13 +- models/model_n1_n2_msg_txfr_err_detail.go | 15 +- ...del_n1_n2_msg_txfr_failure_notification.go | 13 +- ...odel_n2_connection_charging_information.go | 38 +- models/model_n2_info_container.go | 20 +- models/model_n2_info_content.go | 17 +- models/model_n2_info_notification_rsp_data.go | 18 + ...o_notify_handover_complete_response_200.go | 33 + models/model_n2_info_notify_reason.go | 7 +- models/model_n2_info_notify_request.go | 15 +- models/model_n2_info_notify_response.go | 15 - models/model_n2_info_notify_rsp_data.go | 14 - models/model_n2_information_class.go | 13 +- models/model_n2_information_notification.go | 28 +- models/model_n2_information_transfer_error.go | 12 +- .../model_n2_information_transfer_req_data.go | 21 +- .../model_n2_information_transfer_result.go | 9 +- .../model_n2_information_transfer_rsp_data.go | 15 +- models/model_n2_interface_amf_info.go | 17 +- models/model_n2_message_transfer_request.go | 18 + models/model_n2_ran_information.go | 10 +- models/model_n2_sm_info_type.go | 12 +- models/model_n2_sm_information.go | 19 +- models/model_n3ga_location.go | 39 +- models/model_n4_information.go | 25 + models/model_n4_message_type.go | 27 + models/model_nas_security_mode.go | 12 +- models/model_ncgi.go | 18 +- models/model_ncgi_tai.go | 20 + ...model_nef_authentication_auth_container.go | 21 + .../model_nef_authentication_auth_result.go | 21 + .../model_nef_authentication_uav_auth_info.go | 33 + ...el_nef_authentication_uav_auth_response.go | 24 + models/model_nef_charging_information.go | 31 +- models/model_nef_cond.go | 24 + models/model_nef_event.go | 32 + models/model_nef_event_exposure_notif.go | 19 + ..._event_exposure_service_experience_info.go | 21 + models/model_nef_event_exposure_subsc.go | 26 + ...event_exposure_target_ue_identification.go | 20 + models/model_nef_event_filter.go | 21 + models/model_nef_event_notification.go | 37 + models/model_nef_event_subs.go | 19 + models/model_nef_info.go | 29 + .../model_nef_sm_context_deliver_req_data.go | 18 + .../model_nef_sm_context_nidd_information.go | 23 + models/model_nef_sm_context_release_cause.go | 20 + ...l_nef_sm_context_sm_context_create_data.go | 36 + ..._nef_sm_context_sm_context_created_data.go | 33 + ..._nef_sm_context_sm_context_release_data.go | 18 + ..._context_sm_context_status_notification.go | 23 + ...l_nef_sm_context_sm_context_update_data.go | 22 + models/model_nef_traffic_influ_sub.go | 79 + models/model_nef_traffic_influ_sub_patch.go | 46 + models/model_net_loc_access_support.go | 22 + models/model_network_area_info.go | 17 +- models/model_network_assistance_session.go | 29 + models/model_network_id.go | 15 - models/model_network_node_diameter_address.go | 15 +- models/model_network_perf_info.go | 25 + models/model_network_perf_requirement.go | 22 + models/model_network_perf_type.go | 26 + models/model_network_slice_cond.go | 14 +- models/model_network_slicing_info.go | 11 +- models/model_nf_group_cond.go | 15 +- models/model_nf_group_list_cond.go | 20 + models/model_nf_identification.go | 19 - models/model_nf_identifier.go | 19 + models/model_nf_info.go | 18 + models/model_nf_instance_id_cond.go | 13 +- models/model_nf_instance_id_list_cond.go | 18 + models/model_nf_instance_info.go | 22 + models/model_nf_load_level_information.go | 32 + .../model_nf_management_subscription_data.go | 40 + models/model_nf_profile.go | 114 +- models/model_nf_profile_notification_data.go | 113 +- models/model_nf_service.go | 61 +- models/model_nf_service_instance.go | 22 + models/model_nf_service_set_cond.go | 21 + models/model_nf_service_status.go | 9 +- models/model_nf_service_version.go | 17 +- models/model_nf_set_cond.go | 19 + models/model_nf_status.go | 7 +- models/model_nf_type.go | 9 +- models/model_nf_type_cond.go | 12 +- models/model_ng_ap_cause.go | 16 +- models/model_ng_ksi.go | 12 +- models/model_ng_ran_target_id.go | 12 +- models/model_ngap_ie_type.go | 38 +- models/model_ngran_failure_event.go | 19 + models/model_ngran_failure_indication.go | 23 + models/model_nidd_auth_update_info.go | 23 + models/model_nidd_auth_update_notification.go | 18 + models/model_nidd_authorization_info.go | 18 + models/model_nidd_cause.go | 21 + models/model_nidd_information.go | 19 + models/model_nni_information.go | 20 + models/model_nni_relationship_mode.go | 21 + models/model_nni_session_direction.go | 21 + models/model_nni_type.go | 22 + models/model_nnwdaf_data_management_notif.go | 31 + models/model_nnwdaf_data_management_subsc.go | 37 + models/model_nnwdaf_events_subscription.go | 30 + ...nnwdaf_events_subscription_notification.go | 27 + models/model_no_profile_match_info.go | 19 + models/model_no_profile_match_reason.go | 24 + models/model_node_functionality.go | 27 - models/model_node_type.go | 27 + models/model_non_dynamic5_qi.go | 23 +- models/model_non_ue_n2_info_notify_request.go | 18 + ...non_ue_n2_info_subscription_create_data.go | 23 +- ...on_ue_n2_info_subscription_created_data.go | 14 +- ...odel_non_ue_n2_message_transfer_request.go | 11 +- models/model_notif_condition.go | 14 +- models/model_notif_summary_report.go | 22 + models/model_notif_type.go | 22 + models/model_notification.go | 17 +- models/model_notification_cause.go | 7 +- models/model_notification_control.go | 7 +- .../model_notification_control_indication.go | 21 + models/model_notification_data.go | 17 +- models/model_notification_description.go | 21 + models/model_notification_event_type.go | 9 +- models/model_notification_flag.go | 22 + models/model_notification_item.go | 20 + models/model_notification_method.go | 7 +- models/model_notification_push.go | 21 + models/model_notification_subscription.go | 33 + models/model_notification_type.go | 24 +- models/model_notified_pos_info.go | 67 +- models/model_notify_item.go | 15 +- models/model_npn_access_info.go | 18 + models/model_nr_location.go | 29 +- models/model_nr_v2x_auth.go | 19 + ...el_nrf_access_token_access_token_claims.go | 36 + ...model_nrf_access_token_access_token_req.go | 43 + ...model_nrf_access_token_access_token_rsp.go | 22 + models/model_nrf_info.go | 98 +- models/model_nrf_nf_discovery_nf_profile.go | 126 + models/model_nrf_nf_discovery_nf_service.go | 54 + models/model_nrf_nf_management_amf_info.go | 29 + models/model_nrf_nf_management_bsf_info.go | 29 + ...el_nrf_nf_management_ipv4_address_range.go | 21 + ...del_nrf_nf_management_ipv6_prefix_range.go | 19 + models/model_nrf_nf_management_mbs_session.go | 20 + models/model_nrf_nf_management_nf_profile.go | 136 + models/model_nrf_nf_management_nf_service.go | 60 + models/model_nrf_nf_management_nf_status.go | 22 + models/model_nrf_nf_management_nf_type.go | 75 + ...del_nrf_nf_management_notification_data.go | 24 + ...del_nrf_nf_management_notification_type.go | 32 + models/model_nrf_nf_management_pfd_data.go | 19 + ...del_nrf_nf_management_pro_se_capability.go | 23 + ...del_nrf_nf_management_subscription_data.go | 51 + ...el_nrf_nf_management_transport_protocol.go | 20 + models/model_nrfsubscription_data.go | 26 - models/model_nrppa_information.go | 14 +- models/model_nsacf_capability.go | 21 + models/model_nsacf_info.go | 21 + models/model_nsag_info.go | 21 + models/model_nsi_id_info.go | 19 + models/model_nsi_information.go | 22 +- models/model_nsi_load_level_info.go | 30 +- models/model_nsm_charging_information.go | 17 +- models/model_nsmf_event_exposure.go | 79 +- .../model_nsmf_event_exposure_notification.go | 16 +- models/model_nspa_charging_information.go | 9 +- models/model_nspa_container_information.go | 27 +- models/model_nssaa_status.go | 19 + models/model_nssaaf_info.go | 19 + models/model_nssai.go | 25 +- models/model_nssai_ack_data.go | 24 + models/model_nssai_availability_info.go | 15 +- models/model_nssai_map.go | 11 +- models/model_nssai_mapping.go | 12 +- models/model_nssf_event_notification.go | 13 +- ...del_nssf_event_subscription_create_data.go | 27 +- ...el_nssf_event_subscription_created_data.go | 19 +- models/model_nssf_event_type.go | 7 +- models/model_null_request.go | 27 + models/model_null_response_200.go | 23 + models/model_null_value.go | 17 - models/model_nulldataset.go | 20 - models/model_nullinfoclass.go | 17 - models/model_nullnftype.go | 37 - models/model_nullrequesternftype.go | 37 - models/model_nulltargetnftype.go | 37 - models/model_number_average.go | 23 + ...del_nwdaf_analytics_info_analytics_data.go | 46 + ...model_nwdaf_analytics_info_event_filter.go | 50 + models/model_nwdaf_capability.go | 19 + models/model_nwdaf_cond.go | 25 + models/model_nwdaf_data.go | 20 + models/model_nwdaf_event.go | 34 + ...odel_nwdaf_events_subscription_accuracy.go | 21 + ...daf_events_subscription_congestion_type.go | 22 + ...ents_subscription_dispersion_collection.go | 33 + ..._events_subscription_event_notification.go | 47 + ..._events_subscription_event_subscription.go | 67 + ...nwdaf_events_subscription_location_info.go | 22 + ...del_nwdaf_events_subscription_nf_status.go | 23 + ...events_subscription_notification_method.go | 21 + ...ts_subscription_service_experience_info.go | 40 + models/model_nwdaf_failure_code.go | 23 + models/model_nwdaf_info.go | 27 + models/model_nwdaf_ml_model_prov_notif.go | 21 + models/model_nwdaf_ml_model_prov_subsc.go | 27 + ...l_nwdaf_ml_model_provision_failure_code.go | 20 + models/model_nwdaf_registration.go | 32 + models/model_nwdaf_registration_info.go | 18 + .../model_nwdaf_registration_modification.go | 24 + models/model_nwdaf_subscription.go | 20 + models/model_observed_redundant_trans_exp.go | 33 + models/model_occurrence_info.go | 21 + models/model_odb_data.go | 11 +- models/model_odb_packet_services.go | 17 +- models/model_one_time_event_type.go | 7 +- models/model_op.go | 16 - models/model_op_event_type.go | 21 + models/model_opc.go | 16 - models/model_operation_event.go | 21 + models/model_operation_mode.go | 24 + models/model_operation_status.go | 23 + models/model_operational_state.go | 21 + .../model_operator_determined_barring_data.go | 15 - .../model_operator_specific_data_container.go | 18 +- models/model_options_response.go | 19 + models/model_originator_info.go | 23 +- models/model_originator_party_type.go | 21 + models/model_out_of_credit_information.go | 19 + models/model_output_strategy.go | 21 + models/model_packet_filter_info.go | 24 +- models/model_packet_filter_operation.go | 19 - models/model_parameter_combination.go | 18 - .../model_parameter_processing_instruction.go | 28 + models/model_partial_record_method.go | 9 +- models/model_partial_success_report.go | 22 +- models/model_participant_action_type.go | 23 + models/model_partitioning_criteria.go | 24 + models/model_patch_bdt_policy.go | 19 + models/model_patch_item.go | 20 +- models/model_patch_operation.go | 9 +- models/model_patch_result.go | 19 + models/model_pc5_capability.go | 22 + models/model_pc5_container_information.go | 27 + models/model_pc5_data_container.go | 31 + models/model_pc5_flow_bit_rates.go | 21 + models/model_pc5_qo_s_para.go | 20 + models/model_pc5_qos_flow_item.go | 22 + models/model_pc_event.go | 25 + models/model_pc_event_exposure_notif.go | 19 + models/model_pc_event_exposure_subsc.go | 31 + models/model_pc_event_notification.go | 39 + models/model_pcc_rule.go | 67 +- models/model_pcf_addressing_info.go | 23 + ...licy_control_as_time_distribution_param.go | 20 + ...cf_am_policy_control_policy_association.go | 37 + ...licy_control_policy_association_request.go | 61 + ...ntrol_policy_association_update_request.go | 51 + ...del_pcf_am_policy_control_policy_update.go | 36 + ...l_pcf_am_policy_control_request_trigger.go | 30 + ...policy_control_termination_notification.go | 20 + ..._pcf_bdt_policy_control_bdt_policy_data.go | 25 + ...dt_policy_control_bdt_policy_data_patch.go | 19 + ...del_pcf_bdt_policy_control_notification.go | 23 + ..._pcf_bdt_policy_control_transfer_policy.go | 26 + models/model_pcf_binding.go | 70 - models/model_pcf_binding_patch.go | 38 - ..._event_exposure_pdu_session_information.go | 26 + models/model_pcf_info.go | 27 +- ...y_authorization_mbs_ext_problem_details.go | 37 + ...model_pcf_policy_authorization_af_event.go | 39 + ...icy_authorization_af_event_notification.go | 19 + ...olicy_authorization_events_notification.go | 52 + ...icy_authorization_events_subsc_req_data.go | 27 + ..._authorization_events_subsc_req_data_rm.go | 26 + ..._authorization_extended_problem_details.go | 35 + ...policy_authorization_pdu_session_status.go | 21 + ...uthorization_qos_monitoring_information.go | 20 + ...orization_qos_monitoring_information_rm.go | 20 + ...icy_authorization_qos_monitoring_report.go | 23 + ...orization_qos_notification_control_info.go | 20 + ..._policy_authorization_termination_cause.go | 25 + models/model_pcf_selection_assistance_info.go | 19 + ..._pcf_sm_policy_control_atsss_capability.go | 24 + ...del_pcf_sm_policy_control_failure_cause.go | 24 + ...odel_pcf_sm_policy_control_failure_code.go | 49 + ...policy_control_multicast_access_control.go | 21 + ...sm_policy_control_qos_monitoring_report.go | 24 + ...y_control_qos_notification_control_info.go | 23 + ...sm_policy_control_redirect_address_type.go | 23 + ...policy_control_termination_notification.go | 20 + models/model_pcf_ue_callback_info.go | 20 + ...cf_ue_policy_control_policy_association.go | 28 + ...licy_control_policy_association_request.go | 50 + ...ntrol_policy_association_update_request.go | 42 + ...del_pcf_ue_policy_control_policy_update.go | 27 + ...pcf_ue_policy_control_pro_se_capability.go | 25 + ...l_pcf_ue_policy_control_request_trigger.go | 26 + ...policy_control_termination_notification.go | 20 + models/model_pcscf_address.go | 21 + models/model_pcscf_info.go | 29 + .../model_pcscf_restoration_notification.go | 11 +- .../model_pcscf_restoration_request_data.go | 26 + models/model_pcscf_subscription_info.go | 22 + models/model_pdn_connectivity_stat_report.go | 26 + models/model_pdn_connectivity_status.go | 21 + models/model_pdu_address.go | 19 - models/model_pdu_container_information.go | 34 - models/model_pdu_session.go | 18 +- .../model_pdu_session_charging_information.go | 23 - models/model_pdu_session_context.go | 74 +- models/model_pdu_session_context_type.go | 20 + models/model_pdu_session_continuity_ind.go | 22 + models/model_pdu_session_create_data.go | 140 +- models/model_pdu_session_create_error.go | 20 +- models/model_pdu_session_created_data.go | 80 +- .../model_pdu_session_event_notification.go | 32 + models/model_pdu_session_info.go | 20 + models/model_pdu_session_information.go | 42 - models/model_pdu_session_management_data.go | 42 +- models/model_pdu_session_notify_item.go | 10 +- models/model_pdu_session_rel_cause.go | 21 + models/model_pdu_session_status.go | 7 +- models/model_pdu_session_status_cfg.go | 17 + models/model_pdu_session_tsn_bridge.go | 29 + models/model_pdu_session_type.go | 9 +- models/model_pdu_session_types.go | 13 +- models/model_pduid_information.go | 25 + models/model_pei_update_info.go | 18 + models/model_pending_policy_counter_status.go | 25 + models/model_per_ue_attribute.go | 27 + models/model_perf_data.go | 27 + models/model_performance_data.go | 25 + models/model_performance_data_collection.go | 31 + models/model_performance_data_info.go | 31 + .../model_periodic_communication_indicator.go | 21 + models/model_periodic_event_info.go | 24 + models/model_periodicity.go | 7 +- models/model_permanent_key.go | 16 - models/model_pfd.go | 18 +- models/model_pfd_change_notification.go | 21 +- models/model_pfd_change_report.go | 14 +- models/model_pfd_content.go | 19 +- models/model_pfd_data.go | 22 +- models/model_pfd_data_for_app.go | 26 +- models/model_pfd_data_for_app_ext.go | 31 + models/model_pfd_management.go | 22 +- models/model_pfd_operation.go | 23 + models/model_pfd_pfd_data.go | 26 + models/model_pfd_report.go | 14 +- models/model_pfd_subscription.go | 18 +- models/model_pfi_container_information.go | 33 + models/model_pgw_info.go | 27 +- models/model_play_to_party.go | 21 + models/model_plmn_ec_info.go | 19 + models/model_plmn_id.go | 16 +- models/model_plmn_id_nid.go | 19 +- models/model_plmn_oauth2.go | 19 + models/model_plmn_operator_class.go | 18 + models/model_plmn_range.go | 16 +- models/model_plmn_restriction.go | 22 + .../model_plmn_route_selection_descriptor.go | 19 + models/model_plmn_snssai.go | 16 +- models/model_point.go | 14 +- models/model_point_altitude.go | 17 +- models/model_point_altitude_uncertainty.go | 25 +- models/model_point_uncertainty_circle.go | 17 +- models/model_point_uncertainty_ellipse.go | 19 +- models/model_policy_association.go | 20 - .../model_policy_association_release_cause.go | 9 +- models/model_policy_association_request.go | 34 - ...model_policy_association_update_request.go | 26 - ...licy_auth_qos_notification_control_info.go | 20 + .../model_policy_control_request_trigger.go | 84 +- models/model_policy_counter_info.go | 23 + .../model_policy_data_change_notification.go | 39 +- models/model_policy_data_for_individual_ue.go | 24 + models/model_policy_data_subscription.go | 26 +- models/model_policy_data_subset.go | 24 + models/model_policy_decision_failure_code.go | 26 + models/model_policy_req_trigger.go | 27 + models/model_policy_update.go | 20 - models/model_polygon.go | 15 +- models/model_port_management_container.go | 21 + models/model_positioning_method.go | 17 +- models/model_positioning_method_and_usage.go | 17 +- models/model_positioning_method_mdt.go | 21 + models/model_positioning_mode.go | 9 +- .../model_post_charging_data_response_400.go | 48 + .../model_post_charging_data_response_403.go | 48 + .../model_post_charging_data_response_404.go | 48 + ...post_charging_notification_response_400.go | 34 + .../model_post_pdu_sessions_error_response.go | 15 - models/model_post_pdu_sessions_request.go | 13 +- models/model_post_pdu_sessions_response.go | 15 - .../model_post_pdu_sessions_response_201.go | 18 + .../model_post_pdu_sessions_response_400.go | 18 + models/model_post_sm_contexts_error.go | 19 + .../model_post_sm_contexts_error_response.go | 15 - models/model_post_sm_contexts_request.go | 13 +- models/model_post_sm_contexts_response.go | 15 - models/model_post_sm_contexts_response_201.go | 18 + models/model_post_sm_contexts_response_400.go | 19 + models/model_pp5g_mbs_group_profile_data.go | 20 + models/model_pp5g_vn_group_profile_data.go | 20 + models/model_pp_active_time.go | 24 +- models/model_pp_data.go | 22 +- models/model_pp_data_entry.go | 31 + models/model_pp_data_entry_list.go | 20 + models/model_pp_data_type.go | 27 + models/model_pp_dl_packet_count_ext.go | 29 + models/model_pp_maximum_latency.go | 28 + models/model_pp_maximum_response_time.go | 28 + models/model_pp_profile_data.go | 20 + models/model_pp_subs_reg_timer.go | 24 +- models/model_preemption_capability.go | 9 +- models/model_preemption_capability_rm.go | 16 + .../model_preemption_control_information.go | 22 + ...model_preemption_control_information_rm.go | 16 + models/model_preemption_vulnerability.go | 9 +- models/model_preemption_vulnerability_rm.go | 16 + models/model_preferred_search.go | 27 + models/model_presence_info.go | 33 +- models/model_presence_info_rm.go | 31 +- models/model_presence_state.go | 9 +- models/model_prev_sub_info.go | 25 + models/model_priority_levels.go | 19 + models/model_priority_sharing_indicator.go | 21 + models/model_privacy_check_related_action.go | 24 + models/model_private_identities.go | 18 + models/model_private_identity.go | 20 + models/model_private_identity_type.go | 21 + models/model_pro_se_allowed_plmn.go | 19 + models/model_pro_se_auth_data.go | 16 + models/model_pro_se_authentication_ctx.go | 23 + models/model_pro_se_authentication_info.go | 28 + ...odel_pro_se_authentication_info_request.go | 22 + ...model_pro_se_authentication_info_result.go | 22 + models/model_pro_se_authentication_result.go | 23 + models/model_pro_se_authentication_vectors.go | 16 + models/model_pro_se_eap_session.go | 30 + models/model_pro_se_information.go | 18 + models/model_problem_details.go | 43 +- models/model_problem_details_1.go | 30 + models/model_problem_details_2.go | 21 - models/model_problem_details_add_info.go | 18 + ..._problem_details_analytics_info_request.go | 36 + ..._problem_details_enable_ue_reachability.go | 36 + models/model_processing_instruction.go | 22 + models/model_prose_auth_response_200.go | 20 + models/model_prose_charging_information.go | 57 + models/model_prose_context.go | 25 + models/model_prose_direct_allowed.go | 30 + models/model_prose_event_type.go | 22 + models/model_prose_functionality.go | 21 + models/model_prose_service_auth.go | 23 + models/model_prose_subscription_data.go | 21 + models/model_protection_result.go | 21 + models/model_provide_loc_info.go | 27 +- models/model_provide_pos_info.go | 57 +- models/model_provisioned_data_sets.go | 30 +- models/model_ps_cell_information.go | 11 +- models/model_ps_location.go | 21 + models/model_ps_user_state.go | 20 + models/model_psa_indication.go | 23 + models/model_psa_information.go | 22 + models/model_psi_activation_state.go | 18 + models/model_ptw_parameters.go | 19 + models/model_public_identifier.go | 23 + models/model_public_identities.go | 18 + models/model_public_identity.go | 22 + models/model_pws_error_data.go | 10 +- models/model_pws_information.go | 24 +- models/model_pws_response_data.go | 18 +- models/model_qfi_container_information.go | 32 - models/model_qos_characteristics.go | 33 +- models/model_qos_data.go | 63 +- models/model_qos_flow_access_type.go | 22 + .../model_qos_flow_add_modify_request_item.go | 18 +- models/model_qos_flow_item.go | 16 +- models/model_qos_flow_notify_item.go | 15 +- models/model_qos_flow_profile.go | 23 +- models/model_qos_flow_release_request_item.go | 17 +- models/model_qos_flow_setup_item.go | 24 +- models/model_qos_flow_tunnel.go | 19 + models/model_qos_flow_usage.go | 9 +- models/model_qos_flow_usage_report.go | 23 +- models/model_qos_flows_usage_report.go | 24 +- models/model_qos_monitoring_data.go | 37 + models/model_qos_monitoring_info.go | 18 + models/model_qos_monitoring_information.go | 29 + models/model_qos_monitoring_information_rm.go | 29 + models/model_qos_monitoring_report.go | 22 + models/model_qos_monitoring_req.go | 23 + models/model_qos_notif_type.go | 9 +- models/model_qos_notification_control_info.go | 18 - models/model_qos_requirement.go | 28 + models/model_qos_resource_type.go | 9 +- models/model_qos_sustainability_info.go | 32 + models/model_query_param_combination.go | 18 + models/model_query_parameter.go | 19 + models/model_quota_consumption_indicator.go | 21 + models/model_quota_management_indicator.go | 7 +- models/model_radio_parameter_set_info.go | 23 + models/model_radio_resources_id.go | 21 + models/model_ran_nas_rel_cause.go | 20 +- .../model_ran_secondary_rat_usage_report.go | 13 +- models/model_range_class.go | 26 + models/model_ranking_criterion.go | 21 + models/model_rat_freq_information.go | 26 + models/model_rat_selector.go | 7 +- models/model_rat_type.go | 56 +- models/model_reachability_filter.go | 21 + ...del_reachability_for_data_report_config.go | 21 + ...odel_reachability_for_sms_configuration.go | 21 + models/model_reachability_for_sms_report.go | 22 + .../model_reachability_notification_data.go | 19 + models/model_reachability_report.go | 27 + models/model_reachable_ue_info.go | 19 + models/model_reauthorization_details.go | 15 +- models/model_recipient_address.go | 11 +- models/model_recipient_info.go | 23 +- models/model_record.go | 20 + models/model_record_id_list.go | 18 + models/model_record_meta.go | 27 + models/model_record_notification.go | 21 + models/model_record_operation.go | 22 + models/model_record_search_result.go | 24 + .../model_red_trans_exp_ordering_criterion.go | 21 + models/model_redirect_address_type.go | 16 +- models/model_redirect_information.go | 20 +- models/model_redirect_response.go | 22 + models/model_redirect_server.go | 11 +- ...model_redundant_pdu_session_information.go | 19 + .../model_redundant_transmission_exp_info.go | 21 + ...model_redundant_transmission_exp_per_ts.go | 32 + .../model_redundant_transmission_exp_req.go | 19 + models/model_redundant_transmission_type.go | 23 + models/model_ref_to_binary_data.go | 13 +- .../model_reference_location_information.go | 20 + models/model_reflective_qo_s_attribute.go | 7 +- ...model_registration_charging_information.go | 45 +- .../model_registration_context_container.go | 48 +- models/model_registration_data_set_name.go | 26 + models/model_registration_data_sets.go | 23 + models/model_registration_location_info.go | 22 + models/model_registration_message_type.go | 7 +- models/model_registration_reason.go | 20 + models/model_registration_type.go | 22 + models/model_relative_cartesian_location.go | 23 + ...odel_release_charging_data_response_404.go | 48 + models/model_release_data.go | 28 +- models/model_release_pdu_session_request.go | 20 + .../model_release_pdu_session_response_200.go | 20 + models/model_release_session_info.go | 19 + models/model_release_sm_context_request.go | 11 +- models/model_released_data.go | 22 + models/model_relocate_ue_context_request.go | 35 + models/model_reply_path_requested.go | 7 +- models/model_report.go | 26 +- models/model_report_amount_mdt.go | 27 + models/model_report_interval_mdt.go | 32 + models/model_report_interval_nr_mdt.go | 34 + models/model_report_item.go | 21 + models/model_report_type_mdt.go | 21 + models/model_reported_event_type.go | 26 + models/model_reporting_access_type.go | 26 + models/model_reporting_area.go | 21 + models/model_reporting_area_type.go | 23 + models/model_reporting_frequency.go | 21 + models/model_reporting_information.go | 36 + models/model_reporting_level.go | 9 +- models/model_reporting_options.go | 17 +- models/model_reporting_trigger.go | 23 + models/model_repository_data.go | 20 + models/model_repository_data_list.go | 19 + models/model_request_direction.go | 24 + models/model_request_indication.go | 22 +- models/model_request_loc_info.go | 19 +- models/model_request_pos_info.go | 61 +- models/model_request_trigger.go | 20 - models/model_request_type.go | 7 +- models/model_requested_context.go | 19 + models/model_requested_node.go | 23 + models/model_requested_qos.go | 19 +- ...odel_requested_qos_monitoring_parameter.go | 22 + models/model_requested_rule_data.go | 14 +- models/model_requested_rule_data_type.go | 10 +- models/model_requested_unit.go | 22 +- models/model_requested_usage_data.go | 16 +- models/model_required_access_info.go | 21 + models/model_reserv_priority.go | 9 +- models/model_resource_item.go | 20 + models/model_resource_status.go | 13 +- models/model_resource_usage.go | 23 + models/model_resources_allocation_info.go | 14 +- models/model_response_time.go | 10 +- models/model_restoration_info.go | 27 + models/model_restricted_snssai.go | 15 +- models/model_restriction_type.go | 9 +- models/model_result_code.go | 24 - models/model_resynchronization_info.go | 13 +- models/model_retainability_threshold.go | 22 + models/model_retrieve_data.go | 19 + models/model_retrieve_records.go | 21 + models/model_retrieved_data.go | 19 + models/model_revoked_cause.go | 22 + models/model_rg_auth_ctx.go | 19 + models/model_rg_authentication_info.go | 22 + models/model_rm_info.go | 14 +- models/model_rm_state.go | 9 +- models/model_roamer_in_out.go | 9 +- models/model_roaming_charging_profile.go | 11 +- models/model_roaming_indication.go | 7 +- models/model_roaming_info_update.go | 19 + models/model_roaming_odb.go | 7 +- models/model_roaming_qbc_information.go | 16 - models/model_roaming_restrictions.go | 18 + models/model_roaming_status_report.go | 14 +- models/model_role_of_ims_node.go | 22 + models/model_role_of_ue.go | 23 + models/model_rotations.go | 18 - models/model_route_information.go | 17 +- models/model_route_selection_parameter_set.go | 26 + models/model_route_to_location.go | 16 +- models/model_routing_area_id.go | 18 +- models/model_routing_info_sm_request.go | 20 + models/model_routing_info_sm_response.go | 23 + models/model_rsn.go | 22 + models/model_rule_operation.go | 13 +- models/model_rule_report.go | 23 +- models/model_rule_status.go | 9 +- models/model_sac_event.go | 24 + models/model_sac_event_report.go | 19 + models/model_sac_event_report_item.go | 27 + models/model_sac_event_state.go | 21 + models/model_sac_event_status.go | 19 + models/model_sac_event_subscription.go | 32 + models/model_sac_event_trigger.go | 21 + models/model_sac_event_type.go | 21 + models/model_sac_info.go | 21 + models/model_satellite_backhaul_category.go | 24 + models/model_sbi_binding_level.go | 23 + models/model_sc_type.go | 7 +- models/model_scheduled_communication_time.go | 23 + .../model_scheduled_communication_time_rm.go | 16 + models/model_scheduled_communication_type.go | 22 + .../model_scheduled_communication_type_rm.go | 16 + models/model_scp_capability.go | 20 + models/model_scp_domain_cond.go | 19 + models/model_scp_domain_connectivity.go | 18 + models/model_scp_domain_info.go | 23 + ...el_scp_domain_routing_info_notification.go | 19 + ...el_scp_domain_routing_info_subscription.go | 28 + .../model_scp_domain_routing_information.go | 19 + models/model_scp_info.go | 32 + models/model_scscf_capability_list.go | 21 + models/model_scscf_registration.go | 38 + models/model_scscf_restoration_info.go | 26 + .../model_scscf_restoration_info_request.go | 20 + .../model_scscf_restoration_info_response.go | 20 + ..._scscf_selection_assistance_information.go | 19 + models/model_sd_range.go | 21 + models/model_sdm_data_set_name.go | 31 + models/model_sdm_subs_modification.go | 11 +- models/model_sdm_subscription.go | 45 +- models/model_sdp_description.go | 19 + models/model_sdp_media_component.go | 26 + models/model_sdp_time_stamps.go | 24 + models/model_sdp_type.go | 21 + models/model_seaf_data.go | 20 +- models/model_search_comparison.go | 20 + models/model_search_condition.go | 21 + models/model_search_expression.go | 25 + models/model_search_result.go | 23 +- models/model_secondary_rat_usage_info.go | 20 + models/model_secondary_rat_usage_report.go | 12 +- models/model_security_result.go | 19 + models/model_send_mo_data_req_data.go | 20 + models/model_send_mo_data_request.go | 18 + models/model_send_sms_request.go | 18 + models/model_send_sms_response_200.go | 18 + models/model_sensor_measurement.go | 22 + models/model_sepp_info.go | 22 + models/model_sequence_number.go | 22 + models/model_serv_auth_info.go | 14 +- models/model_server_addressing_info.go | 20 + models/model_server_capabilities.go | 19 + models/model_service_area_coverage_info.go | 20 + models/model_service_area_id.go | 18 +- models/model_service_area_restriction.go | 20 +- models/model_service_data_flow_description.go | 18 + models/model_service_experience_info.go | 23 - .../model_service_experience_info_per_app.go | 23 + .../model_service_experience_info_per_flow.go | 23 + models/model_service_experience_type.go | 22 + models/model_service_identification.go | 21 + models/model_service_info_status.go | 21 + models/model_service_information.go | 21 + .../model_service_level_trace_information.go | 18 + models/model_service_name.go | 192 +- models/model_service_name_cond.go | 12 +- models/model_service_name_list_cond.go | 19 + models/model_service_parameter_data.go | 59 + models/model_service_parameter_data_patch.go | 39 + ...el_service_profile_charging_information.go | 41 +- ...del_service_specific_authorization_data.go | 23 + ...del_service_specific_authorization_info.go | 18 + ...vice_specific_authorization_remove_data.go | 18 + models/model_service_type.go | 20 + models/model_service_type_unrelated_class.go | 23 + models/model_serving_location.go | 18 + models/model_serving_network_function_id.go | 15 - models/model_serving_nf_identity.go | 18 +- models/model_serving_node_address.go | 19 + models/model_sess_inact_timer_for_ue_comm.go | 21 + models/model_session_failover.go | 9 +- ...el_session_management_subscription_data.go | 31 +- models/model_session_rule.go | 26 +- models/model_session_rule_failure_code.go | 23 +- models/model_session_rule_report.go | 18 +- models/model_sgsn_address.go | 20 + models/model_sgsn_location_data.go | 24 + ...odel_shared_authentication_subscription.go | 17 - models/model_shared_data.go | 24 +- models/model_shared_data_id_range.go | 18 + ...model_shared_data_treatment_instruction.go | 23 + models/model_sharing_level.go | 21 + models/model_sign.go | 21 + .../model_sip_authentication_info_request.go | 22 + .../model_sip_authentication_info_result.go | 23 + models/model_sip_authentication_scheme.go | 27 + models/model_sip_digest_algorithm.go | 24 + models/model_sip_digest_qop.go | 24 + models/model_sip_event_type.go | 20 + models/model_sip_forking_indication.go | 21 + models/model_slice_info_for_pdu_session.go | 16 +- models/model_slice_info_for_registration.go | 34 +- ..._slice_info_for_ue_configuration_update.go | 27 + models/model_slice_load_level_information.go | 21 + models/model_slice_mbr.go | 21 + models/model_slice_mbr_rm.go | 16 + models/model_slice_policy_data.go | 28 + models/model_sm_address_domain.go | 11 +- models/model_sm_address_info.go | 13 +- models/model_sm_address_type.go | 7 +- models/model_sm_addressee_type.go | 7 +- models/model_sm_context.go | 99 + models/model_sm_context_configuration.go | 21 + models/model_sm_context_create_data.go | 121 +- models/model_sm_context_create_error.go | 17 +- models/model_sm_context_created_data.go | 33 +- models/model_sm_context_release_data.go | 26 +- models/model_sm_context_released_data.go | 19 + models/model_sm_context_retrieve_data.go | 14 +- models/model_sm_context_retrieved_data.go | 16 +- models/model_sm_context_status.go | 20 + .../model_sm_context_status_notification.go | 19 +- models/model_sm_context_type.go | 22 + models/model_sm_context_update_data.go | 90 +- models/model_sm_context_update_error.go | 21 +- models/model_sm_context_updated_data.go | 45 +- models/model_sm_delivery_status.go | 20 + models/model_sm_interface.go | 15 +- models/model_sm_message_type.go | 7 +- models/model_sm_nas_from_smf.go | 27 + models/model_sm_nas_from_ue.go | 24 + ...del_sm_policy_association_release_cause.go | 24 + models/model_sm_policy_context_data.go | 104 +- models/model_sm_policy_control.go | 14 +- models/model_sm_policy_data.go | 19 +- models/model_sm_policy_data_patch.go | 21 + models/model_sm_policy_decision.go | 89 +- models/model_sm_policy_delete_data.go | 25 +- models/model_sm_policy_dnn_data.go | 52 +- models/model_sm_policy_dnn_data_patch.go | 21 + models/model_sm_policy_notification.go | 15 +- ...sm_policy_qos_notification_control_info.go | 22 + models/model_sm_policy_snssai_data.go | 13 +- models/model_sm_policy_snssai_data_patch.go | 20 + ...odel_sm_policy_termination_notification.go | 18 + models/model_sm_policy_update_context_data.go | 111 +- ...policy_update_notification_response_200.go | 25 + models/model_sm_priority.go | 7 +- models/model_sm_service_type.go | 7 +- models/model_sm_subs_data.go | 18 + models/model_small_data_rate_control.go | 22 + ...model_small_data_rate_control_time_unit.go | 24 + models/model_small_data_rate_status.go | 31 + models/model_small_data_rate_status_info.go | 21 + models/model_smcce_info.go | 21 + models/model_smcce_ue_list.go | 20 + models/model_smf_change_indication.go | 21 + models/model_smf_change_info.go | 19 + models/model_smf_event.go | 31 +- ...l_smf_event_exposure_event_notification.go | 100 + ...l_smf_event_exposure_event_subscription.go | 28 + ..._smf_event_exposure_notification_method.go | 22 + ...del_smf_event_exposure_pdu_session_info.go | 22 + ..._event_exposure_pdu_session_information.go | 20 + ...l_smf_event_exposure_pdu_session_status.go | 21 + models/model_smf_info.go | 28 +- models/model_smf_nidd_deliver_req_data.go | 18 + models/model_smf_pdu_session_cause.go | 52 + .../model_smf_pdu_session_dnai_information.go | 21 + ...del_smf_pdu_session_ext_problem_details.go | 35 + ...mf_pdu_session_gbr_qos_flow_information.go | 31 + models/model_smf_pdu_session_ip_address.go | 21 + ...model_smf_pdu_session_notification_info.go | 21 + ...ession_qos_flow_add_modify_request_item.go | 27 + .../model_smf_pdu_session_qos_flow_profile.go | 28 + ..._smf_pdu_session_sm_context_create_data.go | 148 + ...smf_pdu_session_sm_context_created_data.go | 47 + ...smf_pdu_session_sm_context_release_data.go | 29 + ..._session_sm_context_status_notification.go | 41 + ..._smf_pdu_session_sm_context_update_data.go | 82 + models/model_smf_registration.go | 55 +- models/model_smf_registration_info.go | 17 + models/model_smf_registration_modification.go | 23 + models/model_smf_selection_data.go | 24 + .../model_smf_selection_subscription_data.go | 19 +- models/model_smf_selection_type.go | 21 + models/model_smf_subscription_info.go | 18 + models/model_smf_subscription_item.go | 22 + models/model_sms_charging_information.go | 63 +- models/model_sms_data.go | 18 + models/model_sms_delivery_data.go | 18 + models/model_sms_indication.go | 7 +- .../model_sms_management_subscription_data.go | 27 +- models/model_sms_registration_info.go | 21 + models/model_sms_router_info.go | 26 + models/model_sms_subscription_data.go | 15 +- models/model_sms_support.go | 9 +- models/model_smsc_data.go | 19 + models/model_smsf_info.go | 16 +- models/model_smsf_registration.go | 38 +- models/model_snssai.go | 16 +- models/model_snssai_dnn_combination.go | 19 + models/model_snssai_easdf_info_item.go | 19 + models/model_snssai_extension.go | 21 + models/model_snssai_info.go | 11 +- models/model_snssai_info_item.go | 19 + models/model_snssai_mb_smf_info_item.go | 19 + ...model_snssai_route_selection_descriptor.go | 19 + models/model_snssai_smf_info_item.go | 14 +- models/model_snssai_tai_mapping.go | 20 + models/model_snssai_tsctsf_info_item.go | 19 + models/model_snssai_upf_info_item.go | 15 +- models/model_software_image_info.go | 21 + models/model_sor_data.go | 21 +- models/model_sor_info.go | 19 +- models/model_sor_security_info.go | 17 +- models/model_sor_update_indicator.go | 21 + models/model_sor_update_info.go | 19 + models/model_spatial_validity.go | 12 +- models/model_spatial_validity_cond.go | 20 + models/model_spatial_validity_rm.go | 12 +- .../model_specific_analytics_subscription.go | 23 + models/model_specific_data_subscription.go | 23 + models/model_spending_limit_context.go | 34 + models/model_spending_limit_status.go | 30 + models/model_sponsor_connectivity_data.go | 9 +- models/model_sponsor_information.go | 21 + models/model_sponsoring_status.go | 7 +- models/model_spt.go | 25 + models/model_sqn_scheme.go | 22 + models/model_srvcc_capability.go | 21 + models/model_srvcc_data.go | 20 + models/model_ssc_mode.go | 9 +- models/model_ssc_modes.go | 13 +- models/model_ssm.go | 19 + models/model_stationary_indication.go | 21 + models/model_stationary_indication_rm.go | 16 + models/model_status.go | 21 + models/model_status_change.go | 7 +- models/model_status_info.go | 14 +- models/model_status_notification.go | 22 +- models/model_steer_mode_indicator.go | 21 + models/model_steer_mode_value.go | 9 +- models/model_steering_container.go | 12 +- models/model_steering_functionality.go | 9 +- models/model_steering_info.go | 13 +- models/model_steering_mode.go | 23 +- models/model_storage_outcome.go | 21 + models/model_stored_search_result.go | 18 + models/model_string_matching_condition.go | 19 + models/model_string_matching_rule.go | 18 + models/model_subscr_cond.go | 52 + models/model_subscribed_data.go | 15 - models/model_subscribed_data_filter.go | 18 - models/model_subscribed_default_qos.go | 18 +- models/model_subscribed_event.go | 7 +- models/model_subscribed_snssai.go | 14 +- models/model_subscription_context.go | 19 + models/model_subscription_data.go | 15 - models/model_subscription_data_sets.go | 30 +- .../model_subscription_data_subscriptions.go | 31 +- models/model_subscription_filter.go | 21 + models/model_subscription_termination_info.go | 21 + models/model_subscription_transfer_info.go | 25 + models/model_suci_info.go | 19 + models/model_suggested_packet_num_dl.go | 23 + models/model_summarization_attribute.go | 25 + models/model_supi_info.go | 18 + models/model_supi_range.go | 16 +- models/model_supplementary_service.go | 32 + models/model_supplementary_service_mode.go | 30 + models/model_supplementary_service_type.go | 38 + models/model_supported_gad_shapes.go | 25 +- ...model_supported_nssai_availability_data.go | 16 +- models/model_supported_snssai.go | 19 + models/model_svc_experience.go | 17 +- models/model_tac_info.go | 18 + models/model_tac_range.go | 16 +- models/model_tad_identifier.go | 21 + models/model_tads_information.go | 26 + models/model_tag_type.go | 21 + models/model_tai.go | 18 +- models/model_tai_range.go | 16 +- models/model_target_area.go | 20 + models/model_target_dnai_info.go | 20 + models/model_target_ue_information.go | 21 + models/model_temporal_validity.go | 15 +- models/model_termination_cause.go | 8 +- models/model_termination_info.go | 15 +- models/model_termination_notification.go | 15 - models/model_threshold_level.go | 34 + models/model_threshold_value.go | 21 + models/model_throughput.go | 13 +- models/model_time_period.go | 12 +- models/model_time_unit.go | 22 + models/model_time_window.go | 22 +- models/model_timer.go | 31 + models/model_timer_id_list.go | 18 + models/model_tmgi.go | 20 + models/model_tmgi_range.go | 22 + models/model_tnap_id.go | 19 +- models/model_tngf_info.go | 21 + models/model_top.go | 16 - models/model_top_application.go | 22 + models/model_topc.go | 16 - models/model_topological_service_area.go | 19 + models/model_trace_data.go | 29 +- models/model_trace_data_response.go | 11 +- models/model_trace_depth.go | 9 +- models/model_traffic_characterization.go | 31 + models/model_traffic_control_data.go | 40 +- models/model_traffic_descriptor.go | 19 + models/model_traffic_descriptor_components.go | 29 + models/model_traffic_forwarding_way.go | 22 + models/model_traffic_influ_data.go | 71 +- models/model_traffic_influ_data_notif.go | 16 +- models/model_traffic_influ_data_patch.go | 52 +- .../model_traffic_influ_event_notification.go | 27 - models/model_traffic_influ_sub.go | 32 +- models/model_traffic_influ_sub_patch.go | 30 + models/model_traffic_information.go | 27 + models/model_traffic_profile.go | 24 + models/model_traffic_profile_rm.go | 16 + models/model_transaction_info.go | 22 + models/model_transaction_metric.go | 23 + models/model_transfer_mo_data_req_data.go | 20 + models/model_transfer_mo_data_request.go | 18 + models/model_transfer_mt_data_add_info.go | 19 + models/model_transfer_mt_data_error.go | 37 + models/model_transfer_mt_data_req_data.go | 18 + models/model_transfer_mt_data_request.go | 18 + models/model_transfer_mt_dataismf_request.go | 18 + models/model_transfer_policy.go | 19 +- models/model_transfer_reason.go | 7 +- models/model_transfer_request_type.go | 21 + models/model_transmitter_info.go | 18 + models/model_transport_protocol.go | 9 +- models/model_trigger.go | 25 +- models/model_trigger_category.go | 9 +- models/model_trigger_point.go | 19 + models/model_trigger_request.go | 19 + models/model_trigger_type.go | 9 +- models/model_trunk_group_id.go | 18 + models/model_trust_af_info.go | 22 + models/model_tsc_qos_requirement.go | 35 + models/model_tsc_qos_requirement_rm.go | 35 + models/model_tscai_input_container.go | 29 + models/model_tsctsf_info.go | 23 + models/model_tsn_bridge_info.go | 25 + models/model_tsn_qos_container.go | 23 + models/model_tsn_qos_container_rm.go | 23 + models/model_tuak.go | 15 - models/model_tunnel_info.go | 17 +- models/model_twan_location_data.go | 25 + models/model_twap_id.go | 19 +- models/model_twif_info.go | 21 + models/model_type_of_condition.go | 21 + models/model_uav_auth_failure.go | 19 + models/model_uc_purpose.go | 23 + models/model_uc_subscription_data.go | 19 + models/model_udm_ee_association_type.go | 21 + .../model_udm_ee_created_ee_subscription.go | 26 + models/model_udm_ee_ee_subscription.go | 40 + models/model_udm_ee_event_type.go | 39 + models/model_udm_ee_failed_cause.go | 25 + ..._udm_ee_failed_monitoring_configuration.go | 19 + models/model_udm_ee_location_accuracy.go | 25 + ...udm_ee_location_reporting_configuration.go | 20 + .../model_udm_ee_monitoring_configuration.go | 37 + models/model_udm_ee_monitoring_report.go | 29 + models/model_udm_ee_pdu_session_status_cfg.go | 18 + ..._ee_reachability_for_data_configuration.go | 19 + ...odel_udm_ee_reachability_for_sms_report.go | 23 + models/model_udm_ee_report.go | 37 + models/model_udm_ee_reporting_options.go | 31 + models/model_udm_info.go | 23 +- models/model_udm_mt_ue_info.go | 20 + models/model_udm_niddau_authorization_data.go | 24 + models/model_udm_pp_location_area.go | 22 + models/model_udm_sdm_amf_info.go | 20 + models/model_udm_sdm_app_descriptor.go | 19 + models/model_udm_sdm_data_set_name.go | 35 + .../model_udm_sdm_ec_restriction_data_wb.go | 18 + models/model_udm_sdm_group_identifiers.go | 20 + models/model_udm_sdm_ip_address.go | 20 + models/model_udm_sdm_ip_index.go | 17 + models/model_udm_sdm_nidd_information.go | 21 + models/model_udm_sdm_shared_data.go | 31 + models/model_udm_sdm_sor_info.go | 35 + models/model_udm_sdm_steering_container.go | 16 + .../model_udm_sdm_subscription_data_sets.go | 32 + models/model_udm_sdm_ue_id.go | 19 + models/model_udm_sdm_upu_info.go | 32 + ...sau_service_specific_authorization_info.go | 27 + models/model_udm_ueau_auth_type.go | 24 + ...el_udm_ueau_authentication_info_request.go | 26 + ...del_udm_ueau_authentication_info_result.go | 26 + models/model_udm_ueau_rg_auth_ctx.go | 21 + ..._udm_uecm_data_restoration_notification.go | 33 + models/model_udm_uecm_deregistration_data.go | 22 + .../model_udm_uecm_deregistration_reason.go | 28 + models/model_udm_uecm_location_info.go | 23 + ...el_udr_dr_data_restoration_notification.go | 24 + models/model_udr_info.go | 22 +- models/model_udr_traffic_influ_sub.go | 24 - ..._udsf_data_repository_notification_info.go | 17 + models/model_udsf_info.go | 22 + .../model_ue_access_behavior_report_item.go | 22 + .../model_ue_analytics_context_descriptor.go | 21 + models/model_ue_area_indication.go | 21 + models/model_ue_auth.go | 21 + models/model_ue_authentication_ctx.go | 17 +- models/model_ue_camping_rep.go | 25 +- models/model_ue_communication.go | 42 + models/model_ue_communication_collection.go | 27 + models/model_ue_communication_info.go | 24 + models/model_ue_connectivity_state.go | 19 + models/model_ue_context.go | 151 +- .../model_ue_context_cancel_relocate_data.go | 20 + models/model_ue_context_create_data.go | 28 +- models/model_ue_context_create_error.go | 13 +- models/model_ue_context_created_data.go | 23 +- models/model_ue_context_in_amf_data.go | 19 + models/model_ue_context_in_smf_data.go | 15 +- ...model_ue_context_in_smf_data_sub_filter.go | 20 + models/model_ue_context_in_smsf_data.go | 13 +- models/model_ue_context_info.go | 22 +- models/model_ue_context_info_class.go | 7 +- models/model_ue_context_release.go | 15 +- models/model_ue_context_relocate_data.go | 26 + models/model_ue_context_relocated_data.go | 18 + models/model_ue_context_transfer_req_data.go | 19 +- models/model_ue_context_transfer_request.go | 11 +- models/model_ue_context_transfer_response.go | 15 - .../model_ue_context_transfer_response_200.go | 20 + models/model_ue_context_transfer_rsp_data.go | 17 +- models/model_ue_context_transfer_status.go | 7 +- models/model_ue_differentiation_info.go | 30 + models/model_ue_id.go | 18 + models/model_ue_id_ext.go | 21 + models/model_ue_identity_info.go | 23 + models/model_ue_in_area_filter.go | 19 + models/model_ue_initiated_resource_request.go | 20 +- models/model_ue_lcs_capability.go | 19 + models/model_ue_location_info.go | 31 + models/model_ue_location_service_ind.go | 21 + .../model_ue_location_trends_report_item.go | 31 + models/model_ue_mobility.go | 29 + models/model_ue_mobility_collection.go | 24 + models/model_ue_mobility_info.go | 22 + ..._ue_n1_n2_info_subscription_create_data.go | 25 +- ...ue_n1_n2_info_subscription_created_data.go | 13 +- models/model_ue_policy_association.go | 23 + ...del_ue_policy_association_release_cause.go | 22 + models/model_ue_policy_association_request.go | 39 + ...el_ue_policy_association_update_request.go | 36 + models/model_ue_policy_request_trigger.go | 25 + models/model_ue_policy_section.go | 12 +- models/model_ue_policy_set.go | 25 +- models/model_ue_policy_set_patch.go | 24 + ...odel_ue_policy_termination_notification.go | 18 + ...ue_policy_transfer_failure_notification.go | 19 + models/model_ue_policy_update.go | 23 + models/model_ue_privacy_requirements.go | 19 + models/model_ue_reachability.go | 9 +- models/model_ue_reachability_notification.go | 20 + models/model_ue_reachability_subscription.go | 25 + models/model_ue_reachable_ind.go | 22 + models/model_ue_reg_status_update_req_data.go | 17 +- models/model_ue_reg_status_update_rsp_data.go | 10 +- models/model_ue_requested_value_rep.go | 22 + models/model_ue_slice_mbr.go | 21 + models/model_ue_subscription_info.go | 23 + models/model_ue_trajectory_collection.go | 24 + models/model_ue_trajectory_info.go | 24 + models/model_ue_transfer_type.go | 21 + models/model_ue_type.go | 20 + models/model_ue_update_status.go | 24 + models/model_ulcl_bp_information.go | 19 + models/model_umt_time.go | 20 + models/model_un_trust_af_info.go | 20 + models/model_unavailable_access_indication.go | 21 + models/model_uncertainty_ellipse.go | 19 +- models/model_uncertainty_ellipsoid.go | 25 + models/model_unrelated_class.go | 19 + models/model_up_cnx_state.go | 8 +- models/model_up_confidentiality.go | 9 +- models/model_up_integrity.go | 9 +- models/model_up_interface_type.go | 20 +- models/model_up_path_chg_event.go | 16 +- models/model_up_security.go | 14 +- models/model_up_security_info.go | 21 + ...model_update_charging_data_response_400.go | 48 + ...model_update_charging_data_response_403.go | 48 + ...model_update_charging_data_response_404.go | 48 + models/model_update_events_subsc_response.go | 16 - .../model_update_events_subsc_response_200.go | 27 - .../model_update_events_subsc_response_201.go | 27 - ..._update_nwdaf_registration_response_200.go | 33 + ...model_update_pdu_session_error_response.go | 15 - models/model_update_pdu_session_request.go | 16 +- models/model_update_pdu_session_response.go | 15 - .../model_update_pdu_session_response_200.go | 21 + .../model_update_pdu_session_response_400.go | 18 + models/model_update_sm_context_error.go | 19 + .../model_update_sm_context_error_response.go | 16 - models/model_update_sm_context_request.go | 14 +- models/model_update_sm_context_response.go | 16 - .../model_update_sm_context_response_200.go | 19 + .../model_update_sm_context_response_400.go | 19 + models/model_updated_item.go | 20 + ...el_updated_ue_reachability_subscription.go | 22 + models/model_updp_subscription_data.go | 23 + models/model_upf_cond.go | 20 + models/model_upf_info.go | 32 +- models/model_upf_information.go | 19 + models/model_upu_data.go | 23 +- models/model_upu_data_1.go | 19 + models/model_upu_info.go | 21 +- models/model_upu_security_info.go | 17 +- models/model_uri_list.go | 20 + models/model_uri_scheme.go | 9 +- models/model_ursp_rule_request.go | 22 + models/model_usage.go | 9 +- models/model_usage_mon_data.go | 26 +- models/model_usage_mon_data_limit.go | 24 +- models/model_usage_mon_data_scope.go | 11 +- models/model_usage_mon_level.go | 7 +- models/model_usage_monitoring_data.go | 38 +- models/model_usage_threshold.go | 18 +- models/model_usage_threshold_rm.go | 18 +- models/model_used_unit_container.go | 30 - models/model_user_consent.go | 21 + .../model_user_data_congestion_collection.go | 29 + models/model_user_data_congestion_info.go | 20 + models/model_user_identifier.go | 27 + models/model_user_information.go | 17 - models/model_user_location.go | 20 +- models/model_user_plane_event.go | 31 + models/model_user_plane_event_report.go | 27 + models/model_user_plane_location_area.go | 20 + models/model_user_plane_notification_data.go | 21 + models/model_user_state_cs.go | 23 + models/model_user_state_ps.go | 26 + models/model_utra_location.go | 30 +- models/model_uuaa_mm_status.go | 22 + models/model_v2x_capability.go | 19 + models/model_v2x_context.go | 24 + models/model_v2x_information.go | 18 + models/model_v2x_subscription_data.go | 22 + models/model_valid_time_period.go | 24 + models/model_var_snssai.go | 16 + models/model_variable_part.go | 20 + models/model_variable_part_type.go | 24 + models/model_vector_algorithm.go | 18 - models/model_velocity_estimate.go | 27 +- models/model_velocity_requested.go | 9 +- models/model_vendor_specific_feature.go | 19 + models/model_vertical_direction.go | 9 +- models/model_vgmlc_address.go | 21 + models/model_virtual_resource.go | 19 + models/model_vn_group_data.go | 21 + models/model_volume_timed_report.go | 29 + models/model_vplmn_qos.go | 29 + models/model_vsmf_update_data.go | 60 +- models/model_vsmf_update_error.go | 33 +- models/model_vsmf_updated_data.go | 41 +- models/model_w_agf_info.go | 21 + models/model_websock_notif_config.go | 12 +- models/model_wireline_area.go | 23 + ...model_wireline_service_area_restriction.go | 19 + models/model_wlan_ordering_criterion.go | 24 + .../model_wlan_per_ss_id_performance_info.go | 19 + models/model_wlan_per_ts_performance_info.go | 33 + models/model_wlan_performance_info.go | 19 + models/model_wlan_performance_req.go | 21 + models/models/model_3_g_aka_av.go | 22 + .../models/model_3_gppps_data_off_status.go | 21 + models/models/model_5_g_ddnmf_info.go | 18 + models/models/model_5_g_srvcc_info.go | 22 + .../model_5_g_vn_group_configuration.go | 24 + models/models/model_5_g_vn_group_data.go | 27 + models/models/model_5_glan_type_service.go | 18 + models/models/model_5_gs_user_state.go | 23 + models/models/model_5_gs_user_state_info.go | 19 + .../models/model_5_mbs_authorization_info.go | 17 + models/models/model_aanf_info.go | 18 + models/models/model_abnormal_behaviour.go | 27 + models/models/model_acc_net_ch_id.go | 25 + .../models/model_acc_net_charging_address.go | 20 + .../models/model_acceptable_mbs_serv_info.go | 20 + .../models/model_acceptable_service_info.go | 23 + .../models/model_access_and_mobility_data.go | 54 + ...l_access_and_mobility_subscription_data.go | 80 + .../model_access_net_charging_identifier.go | 22 + models/models/model_access_network_id.go | 23 + .../model_access_network_info_change.go | 24 + models/models/model_access_right_status.go | 22 + .../model_access_state_transition_type.go | 27 + models/models/model_access_tech.go | 30 + models/models/model_access_token_err.go | 20 + .../model_access_transfer_information.go | 31 + models/models/model_access_transfer_type.go | 23 + models/models/model_access_type.go | 21 + models/models/model_access_type_rm.go | 16 + models/models/model_accu_usage_report.go | 35 + models/models/model_accumulated_usage.go | 25 + .../model_accuracy_fulfilment_indicator.go | 21 + models/models/model_ack_of_notify.go | 23 + models/models/model_acknowledge_info.go | 31 + models/models/model_acs_info.go | 22 + models/models/model_acs_info_rm.go | 16 + models/models/model_activation_state.go | 21 + ...el_addition_info_analytics_info_request.go | 19 + ...el_addition_info_enable_ue_reachability.go | 19 + models/models/model_additional_access_info.go | 19 + .../models/model_additional_ee_subs_info.go | 19 + models/models/model_additional_measurement.go | 27 + .../models/model_additional_qos_flow_info.go | 16 + models/models/model_additional_snssai_data.go | 19 + models/models/model_addr_fqdn.go | 20 + models/models/model_address_list.go | 19 + models/models/model_administrative_state.go | 21 + models/models/model_adrf_data_type.go | 21 + models/models/model_aerial_ue_indication.go | 21 + .../model_aerial_ue_subscription_info.go | 20 + models/models/model_af_ack_info.go | 21 + models/models/model_af_coordination_info.go | 23 + .../model_af_event_exposure_af_event.go | 32 + ...af_event_exposure_af_event_notification.go | 37 + models/models/model_af_event_exposure_data.go | 20 + ...af_event_exposure_dispersion_collection.go | 30 + .../model_af_event_exposure_event_filter.go | 25 + .../models/model_af_event_exposure_notif.go | 19 + .../models/model_af_event_exposure_subsc.go | 26 + models/models/model_af_event_subscription.go | 23 + models/models/model_af_external.go | 20 + models/models/model_af_notif_method.go | 22 + models/models/model_af_requested_data.go | 20 + models/models/model_af_result_info.go | 23 + models/models/model_af_result_status.go | 23 + models/models/model_af_routing_requirement.go | 33 + .../models/model_af_routing_requirement_rm.go | 33 + models/models/model_af_sig_protocol.go | 21 + models/models/model_affinity_anti_affinity.go | 18 + models/models/model_aggregation_level.go | 21 + models/models/model_alert_limit.go | 21 + models/models/model_allowed_mbs_info.go | 17 + .../models/model_allowed_mtc_provider_info.go | 19 + models/models/model_allowed_nssai.go | 19 + models/models/model_allowed_snssai.go | 20 + .../models/model_alternative_qos_profile.go | 26 + ...l_alternative_service_requirements_data.go | 25 + models/models/model_am_event.go | 21 + models/models/model_am_event_data.go | 30 + models/models/model_am_event_notification.go | 20 + models/models/model_am_events_notification.go | 20 + models/models/model_am_events_subsc_data.go | 20 + .../models/model_am_events_subsc_data_rm.go | 20 + .../models/model_am_events_subsc_resp_data.go | 23 + models/models/model_am_influ_data.go | 46 + models/models/model_am_influ_event.go | 20 + models/models/model_am_policy_data.go | 20 + models/models/model_am_requested_value_rep.go | 26 + models/models/model_am_termination_cause.go | 22 + models/models/model_am_termination_info.go | 20 + models/models/model_ambr.go | 21 + models/models/model_ambr_rm.go | 16 + .../model_amf3_gpp_access_registration.go | 64 + ...f3_gpp_access_registration_modification.go | 25 + ...mf_communication_ec_restriction_data_wb.go | 19 + .../model_amf_communication_ngap_ie_type.go | 37 + .../model_amf_communication_release_cause.go | 22 + ...del_amf_communication_subscription_data.go | 20 + models/models/model_amf_cond.go | 21 + .../model_amf_create_event_subscription.go | 21 + .../model_amf_created_event_subscription.go | 23 + models/models/model_amf_dereg_info.go | 17 + models/models/model_amf_event.go | 46 + models/models/model_amf_event_area.go | 22 + ...l_amf_event_exposure_traffic_descriptor.go | 21 + models/models/model_amf_event_mode.go | 31 + models/models/model_amf_event_notification.go | 21 + models/models/model_amf_event_report.go | 59 + models/models/model_amf_event_state.go | 21 + .../models/model_amf_event_subs_sync_info.go | 18 + models/models/model_amf_event_subscription.go | 41 + .../model_amf_event_subscription_add_info.go | 23 + .../model_amf_event_subscription_info.go | 23 + models/models/model_amf_event_trigger.go | 22 + models/models/model_amf_event_type.go | 39 + models/models/model_amf_location_data.go | 26 + .../model_amf_location_location_event.go | 25 + .../model_amf_location_location_type.go | 23 + ...f_mbs_broadcast_context_update_req_data.go | 27 + ...f_mbs_broadcast_context_update_rsp_data.go | 19 + .../model_amf_mbs_broadcast_n2_mbs_sm_info.go | 20 + .../model_amf_mbs_broadcast_ngap_ie_type.go | 23 + ...el_amf_mbs_communication_n2_mbs_sm_info.go | 19 + models/models/model_amf_mt_ue_info.go | 20 + .../model_amf_non3_gpp_access_registration.go | 57 + ...n3_gpp_access_registration_modification.go | 22 + .../model_amf_status_change_notification.go | 18 + models/models/model_amf_status_info.go | 23 + models/models/model_amf_subscription_info.go | 23 + .../model_amf_update_event_option_item.go | 26 + ...odel_amf_update_event_subscription_item.go | 25 + .../model_amf_updated_event_subscription.go | 19 + models/models/model_an_gw_address.go | 20 + models/models/model_an_node_type.go | 21 + .../model_analytics_context_identifier.go | 23 + models/models/model_analytics_metadata.go | 24 + .../model_analytics_metadata_indication.go | 21 + .../models/model_analytics_metadata_info.go | 23 + models/models/model_analytics_subscription.go | 22 + .../model_analytics_subscriptions_transfer.go | 18 + models/models/model_analytics_subset.go | 59 + models/models/model_anchor_smf_features.go | 18 + .../models/model_announcement_information.go | 29 + .../model_announcement_privacy_indicator.go | 21 + models/models/model_api_direction.go | 21 + models/models/model_apn_rate_status.go | 31 + models/models/model_app_am_context_data.go | 33 + .../models/model_app_am_context_resp_data.go | 36 + .../model_app_am_context_update_data.go | 27 + models/models/model_app_descriptor.go | 21 + models/models/model_app_detection_info.go | 23 + .../models/model_app_detection_notif_type.go | 21 + models/models/model_app_detection_report.go | 20 + models/models/model_app_list_for_ue_comm.go | 30 + models/models/model_app_port_id.go | 20 + models/models/model_app_session_context.go | 20 + .../model_app_session_context_req_data.go | 67 + .../model_app_session_context_resp_data.go | 21 + .../model_app_session_context_update_data.go | 46 + ...l_app_session_context_update_data_patch.go | 18 + .../model_application_data_change_notif.go | 24 + models/models/model_application_data_subs.go | 33 + .../model_application_for_pfd_request.go | 25 + models/models/model_application_server.go | 20 + models/models/model_application_volume.go | 21 + models/models/model_applied_smcc_type.go | 21 + models/models/model_area.go | 20 + models/models/model_area_event_info.go | 28 + .../model_area_of_interest_event_state.go | 19 + models/models/model_area_of_validity.go | 18 + models/models/model_area_scope.go | 22 + models/models/model_arp.go | 21 + ...model_as_session_with_qo_s_subscription.go | 59 + ...as_session_with_qo_s_subscription_patch.go | 42 + models/models/model_assign_ebi_data.go | 23 + models/models/model_assign_ebi_error.go | 19 + models/models/model_assign_ebi_failed.go | 20 + models/models/model_assigned_ebi_data.go | 23 + models/models/model_atom.go | 22 + models/models/model_atsss_capability.go | 23 + models/models/model_ausf_info.go | 22 + .../model_ausf_so_r_protection_sor_info.go | 26 + ...ausf_so_r_protection_steering_container.go | 17 + ...odel_ausf_so_r_protection_steering_info.go | 19 + ...odel_ausf_ue_authentication_auth_result.go | 22 + .../model_ausf_ue_authentication_auth_type.go | 23 + ...odel_ausf_ue_authentication_rg_auth_ctx.go | 21 + .../model_ausf_upu_protection_upu_data.go | 22 + .../model_ausf_upu_protection_upu_info.go | 26 + models/models/model_auth_event.go | 34 + models/models/model_auth_method.go | 24 + models/models/model_auth_notification.go | 24 + models/models/model_auth_status.go | 22 + models/models/model_auth_update_info.go | 20 + .../models/model_auth_update_notification.go | 25 + models/models/model_authentication_info.go | 34 + .../model_authentication_subscription.go | 34 + models/models/model_authentication_vector.go | 24 + models/models/model_authorization_data.go | 27 + models/models/model_authorization_info.go | 34 + models/models/model_authorization_ue_id.go | 21 + models/models/model_authorized_default_qos.go | 36 + .../model_authorized_network_slice_info.go | 38 + ...odel_authorized_nssai_availability_data.go | 23 + ...odel_authorized_nssai_availability_info.go | 20 + models/models/model_av5_g_he_aka.go | 21 + models/models/model_av5g_aka.go | 21 + models/models/model_av_eap_aka_prime.go | 22 + models/models/model_av_eps_aka.go | 21 + models/models/model_av_ims_gba_eap_aka.go | 22 + models/models/model_av_type.go | 21 + models/models/model_backup_amf_info.go | 21 + models/models/model_base_record.go | 23 + models/models/model_battery_indication.go | 23 + models/models/model_battery_indication_rm.go | 16 + models/models/model_bdt_data.go | 34 + models/models/model_bdt_data_patch.go | 19 + models/models/model_bdt_policy.go | 19 + models/models/model_bdt_policy_data.go | 29 + models/models/model_bdt_policy_data_patch.go | 19 + models/models/model_bdt_policy_status.go | 21 + models/models/model_bdt_req_data.go | 37 + models/models/model_bdt_req_data_patch.go | 19 + models/models/model_block.go | 17 + models/models/model_bootstrapping_info.go | 28 + .../model_bridge_management_container.go | 19 + models/models/model_bw_requirement.go | 27 + models/models/model_cache_status.go | 22 + models/models/model_cag_ack_data.go | 24 + models/models/model_cag_data.go | 24 + models/models/model_cag_info.go | 18 + models/models/model_call_reference_info.go | 21 + models/models/model_called_identity_change.go | 23 + models/models/model_cancel_pos_info.go | 27 + ...odel_cancel_relocate_ue_context_request.go | 18 + .../models/model_candidate_for_replacement.go | 19 + models/models/model_ce_mode_b_ind.go | 18 + models/models/model_cell_global_id.go | 20 + models/models/model_change_item.go | 24 + ...l_change_of_supi_pei_association_report.go | 18 + models/models/model_change_type.go | 23 + ...charging_characteristics_selection_mode.go | 22 + models/models/model_charging_data.go | 39 + models/models/model_charging_info.go | 25 + models/models/model_charging_information.go | 29 + .../models/model_charging_notify_request.go | 18 + .../models/model_charging_notify_response.go | 17 + ...onverged_charging_charging_data_request.go | 62 + ...nverged_charging_charging_data_response.go | 33 + ...nverged_charging_multiple_qf_icontainer.go | 33 + ..._converged_charging_multiple_unit_usage.go | 23 + ...hf_converged_charging_nf_identification.go | 24 + ...f_converged_charging_node_functionality.go | 39 + ...hf_converged_charging_notification_type.go | 21 + ...odel_chf_converged_charging_pdu_address.go | 24 + ...rged_charging_pdu_container_information.go | 44 + ...arging_pdu_session_charging_information.go | 40 + ...verged_charging_pdu_session_information.go | 56 + ...rged_charging_qfi_container_information.go | 41 + ...onverged_charging_qos_monitoring_report.go | 20 + ...onverged_charging_redirect_address_type.go | 23 + ...odel_chf_converged_charging_result_code.go | 27 + ...erged_charging_roaming_charging_profile.go | 18 + ...verged_charging_roaming_qbc_information.go | 20 + ...ed_charging_serving_network_function_id.go | 19 + .../model_chf_converged_charging_trigger.go | 34 + ...del_chf_converged_charging_trigger_type.go | 63 + ..._converged_charging_used_unit_container.go | 41 + ...chf_converged_charging_user_information.go | 22 + models/models/model_chf_info.go | 26 + ...ine_only_charging_charging_data_request.go | 33 + ...ne_only_charging_charging_data_response.go | 29 + ...ne_only_charging_multiple_qf_icontainer.go | 31 + ...fline_only_charging_multiple_unit_usage.go | 22 + ...offline_only_charging_nf_identification.go | 24 + ...ffline_only_charging_node_functionality.go | 22 + ...l_chf_offline_only_charging_pdu_address.go | 22 + ...only_charging_pdu_container_information.go | 39 + ...arging_pdu_session_charging_information.go | 35 + ...e_only_charging_pdu_session_information.go | 48 + ...only_charging_qfi_container_information.go | 35 + ...l_chf_offline_only_charging_result_code.go | 21 + ..._only_charging_roaming_charging_profile.go | 18 + ...e_only_charging_roaming_qbc_information.go | 20 + ...ly_charging_serving_network_function_id.go | 19 + ...model_chf_offline_only_charging_trigger.go | 28 + ..._chf_offline_only_charging_trigger_type.go | 49 + ...fline_only_charging_used_unit_container.go | 38 + ..._offline_only_charging_user_information.go | 22 + ...pending_limit_control_termination_cause.go | 20 + models/models/model_cipher_request_data.go | 21 + models/models/model_cipher_response_data.go | 18 + models/models/model_ciphering_algorithm.go | 23 + models/models/model_ciphering_data_set.go | 37 + models/models/model_ciphering_key_info.go | 20 + models/models/model_ciphering_key_response.go | 18 + models/models/model_ciphering_set_report.go | 20 + .../models/model_circumstance_description.go | 28 + models/models/model_civic_address.go | 51 + models/models/model_class_criterion.go | 21 + models/models/model_class_identifier.go | 23 + models/models/model_client_id.go | 21 + models/models/model_cm_info.go | 19 + models/models/model_cm_info_report.go | 18 + models/models/model_cm_state.go | 21 + models/models/model_cn_assisted_ran_para.go | 26 + models/models/model_cn_type.go | 22 + models/models/model_cn_type_change_report.go | 18 + models/models/model_cnf.go | 18 + models/models/model_cnf_unit.go | 18 + models/models/model_code_word_ind.go | 21 + .../model_collection_period_rmm_lte_mdt.go | 26 + .../model_collection_period_rmm_nr_mdt.go | 24 + .../model_collective_behaviour_filter.go | 22 + .../model_collective_behaviour_filter_type.go | 21 + .../models/model_collective_behaviour_info.go | 23 + models/models/model_collocated_nf_instance.go | 20 + models/models/model_collocated_nf_type.go | 23 + .../model_communication_characteristics.go | 22 + .../model_communication_characteristics_af.go | 21 + .../models/model_communication_collection.go | 29 + models/models/model_communication_failure.go | 19 + models/models/model_comparison_operator.go | 25 + models/models/model_complex_query.go | 19 + models/models/model_condition_data.go | 29 + models/models/model_condition_event_type.go | 21 + models/models/model_condition_operator.go | 22 + models/models/model_configured_snssai.go | 19 + models/models/model_confirmation_data.go | 21 + .../model_confirmation_data_response.go | 23 + models/models/model_congestion_info.go | 24 + .../models/model_connection_capabilities.go | 23 + .../models/model_consumer_nf_information.go | 22 + .../models/model_context_create_req_data.go | 29 + models/models/model_context_create_request.go | 18 + .../model_context_create_response_201.go | 27 + .../models/model_context_create_rsp_data.go | 20 + models/models/model_context_data.go | 19 + models/models/model_context_data_set_name.go | 30 + models/models/model_context_data_sets.go | 29 + models/models/model_context_element.go | 40 + models/models/model_context_id_list.go | 18 + models/models/model_context_info.go | 18 + .../model_context_status_notification.go | 24 + models/models/model_context_type.go | 25 + models/models/model_context_update_request.go | 18 + .../model_context_update_response_200.go | 27 + ...odel_core_network_service_authorization.go | 18 + models/models/model_core_network_type.go | 21 + models/models/model_coverage_info.go | 24 + .../models/model_create_ue_context_request.go | 35 + .../model_create_ue_context_response_201.go | 33 + .../model_create_ue_context_response_403.go | 18 + ...el_created_ue_reachability_subscription.go | 23 + .../models/model_credit_management_status.go | 24 + models/models/model_cs_location.go | 26 + models/models/model_cs_user_state.go | 18 + models/models/model_csg_information.go | 20 + models/models/model_csrn.go | 19 + models/models/model_data_availability.go | 21 + models/models/model_data_change_notify.go | 24 + .../models/model_data_collection_purpose.go | 21 + models/models/model_data_filter.go | 30 + models/models/model_data_ind.go | 24 + models/models/model_data_notification.go | 37 + models/models/model_data_set_id.go | 36 + models/models/model_data_set_name.go | 36 + models/models/model_data_subscription.go | 24 + .../model_datalink_reporting_configuration.go | 21 + .../model_dataset_statistical_property.go | 21 + models/models/model_dccf_cond.go | 22 + ..._dccf_data_management_reporting_options.go | 28 + models/models/model_dccf_event.go | 25 + models/models/model_dccf_info.go | 21 + models/models/model_ddd_traffic_descriptor.go | 24 + models/models/model_ddn_failure_sub_info.go | 19 + models/models/model_ddn_failure_subs.go | 19 + models/models/model_deconceal_req_data.go | 19 + models/models/model_deconceal_rsp_data.go | 19 + models/models/model_def_sub_service_info.go | 20 + ...model_default_notification_subscription.go | 31 + .../models/model_default_unrelated_class.go | 21 + models/models/model_deliver_add_info.go | 19 + models/models/model_deliver_error.go | 36 + models/models/model_deliver_request.go | 18 + .../models/model_delivery_report_requested.go | 21 + models/models/model_deregistration_info.go | 21 + models/models/model_detecting_node.go | 22 + .../model_determine_location_request.go | 18 + models/models/model_direct_discovery_model.go | 21 + models/models/model_dispersion_area.go | 21 + models/models/model_dispersion_class.go | 17 + models/models/model_dispersion_info.go | 27 + .../model_dispersion_ordering_criterion.go | 24 + models/models/model_dispersion_requirement.go | 22 + models/models/model_dispersion_type.go | 17 + .../models/model_dl_data_delivery_status.go | 22 + models/models/model_dn_perf.go | 24 + models/models/model_dn_perf_info.go | 25 + .../model_dn_perf_ordering_criterion.go | 24 + models/models/model_dn_performance_req.go | 20 + models/models/model_dnai_change_type.go | 22 + models/models/model_dnai_information.go | 21 + models/models/model_dnf.go | 18 + models/models/model_dnf_unit.go | 18 + models/models/model_dnn_configuration.go | 51 + models/models/model_dnn_easdf_info_item.go | 19 + models/models/model_dnn_info.go | 24 + models/models/model_dnn_info_item.go | 18 + models/models/model_dnn_mb_smf_info_item.go | 18 + .../model_dnn_route_selection_descriptor.go | 23 + models/models/model_dnn_selection_mode.go | 22 + models/models/model_dnn_smf_info_item.go | 19 + models/models/model_dnn_snssai_information.go | 20 + models/models/model_dnn_tsctsf_info_item.go | 18 + models/models/model_dnn_upf_info_item.go | 27 + models/models/model_dns_server_identifier.go | 20 + models/models/model_domain_name_protocol.go | 23 + ...odel_downlink_data_notification_control.go | 19 + ...l_downlink_data_notification_control_rm.go | 19 + models/models/model_dsai_tag_information.go | 18 + models/models/model_dsai_tag_status.go | 19 + models/models/model_dynamic5_qi.go | 36 + models/models/model_dynamic_policy.go | 28 + .../model_eap_auth_method_response_200.go | 20 + models/models/model_eap_session.go | 31 + .../models/model_early_media_description.go | 19 + models/models/model_eas_dep_notification.go | 19 + models/models/model_eas_deploy_info_data.go | 26 + models/models/model_eas_deploy_info_notif.go | 19 + models/models/model_eas_deploy_sub_data.go | 30 + ...del_eas_deployment_charging_information.go | 26 + models/models/model_eas_event.go | 20 + .../models/model_eas_ip_replacement_info.go | 19 + models/models/model_eas_requirements.go | 21 + models/models/model_eas_server_address.go | 20 + models/models/model_easdf_info.go | 20 + models/models/model_ebi_arp_mapping.go | 20 + models/models/model_ec_restriction.go | 21 + models/models/model_ecgi.go | 22 + models/models/model_ecs_addr_config_info.go | 18 + models/models/model_ecs_server_addr.go | 21 + ...frastructure_usage_charging_information.go | 34 + models/models/model_edrx_parameters.go | 18 + models/models/model_ee_group_profile_data.go | 25 + models/models/model_ee_monitoring_revoked.go | 21 + models/models/model_ee_profile_data.go | 26 + models/models/model_ee_subscription.go | 16 + models/models/model_ee_subscription_ext.go | 43 + models/models/model_ellipsoid_arc.go | 29 + models/models/model_emergency_info.go | 23 + ...odel_enable_group_reachability_req_data.go | 27 + ...odel_enable_group_reachability_rsp_data.go | 20 + .../model_enable_ue_reachability_req_data.go | 22 + .../model_enable_ue_reachability_rsp_data.go | 20 + models/models/model_endpoint_address.go | 22 + ...odel_enhanced_coverage_restriction_data.go | 17 + .../models/model_enhanced_diagnostics5_g.go | 16 + models/models/model_eps_bearer_info.go | 23 + .../model_eps_interworking_indication.go | 23 + models/models/model_eps_interworking_info.go | 18 + models/models/model_eps_iwk_pgw.go | 21 + .../model_eps_nas_ciphering_algorithm.go | 23 + .../model_eps_nas_integrity_algorithm.go | 23 + models/models/model_eps_nas_security_mode.go | 19 + models/models/model_eps_pdn_cnx_info.go | 23 + models/models/model_error_report.go | 26 + models/models/model_eth_flow_description.go | 30 + models/models/model_eth_flow_info.go | 21 + models/models/model_ethernet_flow_info.go | 19 + models/models/model_eutra_location.go | 36 + models/models/model_event.go | 21 + models/models/model_event_class.go | 20 + models/models/model_event_for_mdt.go | 21 + models/models/model_event_id.go | 34 + models/models/model_event_notification.go | 39 + models/models/model_event_param_report.go | 35 + models/models/model_event_report_message.go | 19 + models/models/model_event_report_mode.go | 21 + .../model_event_reporting_requirement.go | 41 + models/models/model_event_reporting_status.go | 21 + models/models/model_events_subs.go | 19 + models/models/model_events_subsc_put_data.go | 62 + models/models/model_exception.go | 20 + models/models/model_exception_id.go | 28 + models/models/model_exception_info.go | 20 + models/models/model_exception_trend.go | 23 + models/models/model_exemption_ind.go | 20 + .../models/model_expected_analytics_type.go | 22 + models/models/model_expected_ue_behavior.go | 24 + models/models/model_expected_ue_behaviour.go | 37 + .../model_expected_ue_behaviour_data.go | 33 + ...model_exposure_data_change_notification.go | 22 + .../model_exposure_data_subscription.go | 29 + .../model_ext_amf_event_subscription.go | 47 + models/models/model_ext_snssai.go | 25 + models/models/model_extended_sm_subs_data.go | 19 + models/models/model_external_client_type.go | 27 + .../models/model_external_unrelated_class.go | 19 + models/models/model_failure.go | 17 + models/models/model_failure_event_info.go | 19 + .../model_failure_event_info_for_ml_model.go | 19 + models/models/model_failure_handling.go | 22 + models/models/model_fetch_instruction.go | 27 + models/models/model_final_unit_action.go | 22 + models/models/model_final_unit_indication.go | 22 + models/models/model_fix_type.go | 21 + models/models/model_flow_direction.go | 23 + models/models/model_flow_direction_rm.go | 16 + models/models/model_flow_info.go | 21 + models/models/model_flow_information.go | 31 + models/models/model_flow_status.go | 24 + models/models/model_flow_usage.go | 22 + models/models/model_flows.go | 20 + models/models/model_formatting_instruction.go | 20 + .../model_fqdn_pattern_matching_rule.go | 19 + models/models/model_frame_route_info.go | 19 + models/models/model_g_nb_id.go | 21 + models/models/model_gad_shape.go | 18 + models/models/model_gba_auth_type.go | 20 + .../model_gba_authentication_info_request.go | 20 + .../model_gba_authentication_info_result.go | 19 + models/models/model_geo_loc.go | 18 + models/models/model_geo_service_area.go | 19 + models/models/model_geographic_area.go | 38 + models/models/model_geographical_area.go | 19 + .../models/model_geographical_coordinates.go | 18 + models/models/model_gera_location.go | 39 + models/models/model_global_ran_node_id.go | 31 + models/models/model_gmlc_info.go | 19 + models/models/model_gnss_id.go | 27 + ...model_gnss_positioning_method_and_usage.go | 20 + models/models/model_gpsi_type.go | 22 + models/models/model_granted_unit.go | 32 + models/models/model_group_identifiers.go | 22 + models/models/model_guami.go | 20 + models/models/model_guami_list_cond.go | 18 + models/models/model_header_sip_request.go | 19 + models/models/model_hfc_node_id.go | 19 + .../model_high_accuracy_gnss_metrics.go | 22 + models/models/model_historical_data.go | 29 + models/models/model_ho_state.go | 24 + models/models/model_horizontal_velocity.go | 21 + ...el_horizontal_velocity_with_uncertainty.go | 23 + ...model_horizontal_with_vertical_velocity.go | 24 + ..._with_vertical_velocity_and_uncertainty.go | 28 + models/models/model_hsmf_update_data.go | 91 + models/models/model_hsmf_update_error.go | 30 + models/models/model_hsmf_updated_data.go | 40 + models/models/model_hss_auth_type.go | 25 + models/models/model_hss_auth_type_in_uri.go | 24 + .../model_hss_authentication_info_request.go | 24 + .../model_hss_authentication_info_result.go | 19 + .../model_hss_authentication_vectors.go | 16 + models/models/model_hss_av_type.go | 24 + models/models/model_hss_info.go | 25 + models/models/model_hss_subscription_info.go | 18 + models/models/model_hss_subscription_item.go | 22 + models/models/model_hssims_sdm_access_type.go | 21 + .../models/model_hssims_sdm_data_set_name.go | 23 + models/models/model_hssims_sdm_shared_data.go | 20 + ...el_hssims_uecm_extended_problem_details.go | 35 + models/models/model_id_translation_result.go | 24 + models/models/model_identity_data.go | 22 + models/models/model_identity_range.go | 20 + models/models/model_identity_type.go | 23 + models/models/model_idle_status_indication.go | 29 + models/models/model_ifc.go | 20 + models/models/model_ifcs.go | 19 + models/models/model_imei_sv_information.go | 21 + models/models/model_immediate_mdt_conf.go | 36 + models/models/model_immediate_report.go | 32 + models/models/model_ims_address.go | 20 + .../models/model_ims_associated_identities.go | 19 + .../models/model_ims_charging_information.go | 80 + models/models/model_ims_location_data.go | 18 + models/models/model_ims_node_functionality.go | 42 + models/models/model_ims_profile_data.go | 25 + models/models/model_ims_registration_state.go | 23 + .../models/model_ims_registration_status.go | 18 + models/models/model_ims_registration_type.go | 27 + models/models/model_ims_sdm_subscription.go | 28 + models/models/model_ims_service_profile.go | 20 + models/models/model_ims_session_priority.go | 24 + models/models/model_ims_vo_ps.go | 22 + ...model_ims_voice_over_ps_session_support.go | 22 + models/models/model_imsi_range.go | 20 + ...el_indirect_data_forwarding_tunnel_info.go | 26 + models/models/model_integrity_algorithm.go | 23 + models/models/model_integrity_requirements.go | 22 + models/models/model_inter_freq_target_info.go | 21 + .../models/model_inter_operator_identifier.go | 18 + models/models/model_interface_type.go | 24 + .../models/model_interface_upf_info_item.go | 23 + .../models/model_internal_group_id_range.go | 22 + models/models/model_invalid_cause.go | 23 + models/models/model_invalid_param.go | 21 + models/models/model_invocation_result.go | 18 + models/models/model_ip_addr.go | 22 + models/models/model_ip_end_point.go | 22 + .../models/model_ip_eth_flow_description.go | 20 + models/models/model_ip_flow_info.go | 19 + .../models/model_ip_multicast_address_info.go | 23 + models/models/model_ip_packet_filter_set.go | 25 + models/models/model_ip_reachability.go | 22 + models/models/model_ip_sm_gw_address.go | 24 + models/models/model_ip_sm_gw_guidance.go | 19 + models/models/model_ip_sm_gw_info.go | 19 + models/models/model_ip_sm_gw_registration.go | 28 + models/models/model_iptv_config_data.go | 32 + models/models/model_iptv_config_data_patch.go | 19 + models/models/model_isup_cause.go | 21 + models/models/model_iwmsc_info.go | 21 + models/models/model_job_type.go | 26 + models/models/model_key_amf.go | 19 + models/models/model_key_amf_type.go | 21 + models/models/model_key_type.go | 24 + models/models/model_ladn_info.go | 19 + ...del_lcs_broadcast_assistance_types_data.go | 18 + models/models/model_lcs_client_class.go | 24 + models/models/model_lcs_client_external.go | 19 + .../models/model_lcs_client_group_external.go | 20 + models/models/model_lcs_mo_data.go | 18 + models/models/model_lcs_mo_service_class.go | 22 + models/models/model_lcs_priority.go | 21 + models/models/model_lcs_privacy.go | 21 + models/models/model_lcs_privacy_data.go | 19 + models/models/model_lcs_qos_class.go | 22 + models/models/model_lcs_service_auth.go | 25 + models/models/model_ldr_type.go | 25 + .../model_limit_id_to_monitoring_key.go | 19 + models/models/model_line_type.go | 21 + models/models/model_link.go | 19 + models/models/model_lmf_info.go | 26 + .../model_lmf_location_cancel_loc_data.go | 23 + .../model_lmf_location_event_notify_data.go | 49 + ...l_lmf_location_geographical_coordinates.go | 19 + .../models/model_lmf_location_input_data.go | 71 + .../model_lmf_location_location_data.go | 48 + .../model_lmf_location_termination_cause.go | 22 + models/models/model_loc_context_data.go | 50 + ...model_local2d_point_uncertainty_ellipse.go | 23 + ...del_local3d_point_uncertainty_ellipsoid.go | 23 + models/models/model_local_area.go | 24 + models/models/model_local_origin.go | 19 + models/models/model_location_area5_g.go | 22 + models/models/model_location_area_id.go | 20 + models/models/model_location_filter.go | 28 + models/models/model_location_info.go | 16 + models/models/model_location_info_request.go | 24 + models/models/model_location_info_result.go | 34 + models/models/model_location_privacy_ind.go | 21 + .../model_location_privacy_ver_result.go | 22 + models/models/model_location_qo_s.go | 25 + models/models/model_location_report.go | 17 + ...location_reporting_charging_information.go | 24 + models/models/model_logging_duration_mdt.go | 25 + .../models/model_logging_duration_nr_mdt.go | 25 + models/models/model_logging_interval_mdt.go | 27 + .../models/model_logging_interval_nr_mdt.go | 30 + models/models/model_loose_route_indication.go | 21 + models/models/model_loss_connectivity_cfg.go | 18 + .../models/model_loss_connectivity_report.go | 17 + .../model_loss_of_connectivity_reason.go | 22 + models/models/model_lpi.go | 18 + models/models/model_lte_m_ind.go | 18 + models/models/model_lte_v2x_auth.go | 19 + models/models/model_m5_qo_s_specification.go | 30 + models/models/model_ma_pdu_indication.go | 21 + models/models/model_ma_release_indication.go | 21 + models/models/model_management_operation.go | 28 + .../model_management_operation_status.go | 21 + .../models/model_mapdu_session_information.go | 18 + models/models/model_mapping_of_snssai.go | 19 + models/models/model_matching_direction.go | 22 + models/models/model_matching_operator.go | 27 + ...model_max_integrity_protected_data_rate.go | 21 + models/models/model_mb_smf_info.go | 25 + models/models/model_mb_upf_info.go | 24 + models/models/model_mbs_app_session_ctxt.go | 28 + .../model_mbs_app_session_ctxt_patch.go | 18 + models/models/model_mbs_error_report.go | 18 + models/models/model_mbs_failure_code.go | 26 + models/models/model_mbs_media_comp.go | 23 + models/models/model_mbs_media_comp_rm.go | 16 + models/models/model_mbs_media_info.go | 23 + .../model_mbs_n2_message_transfer_req_data.go | 23 + .../model_mbs_n2_message_transfer_rsp_data.go | 20 + models/models/model_mbs_ngap_ie_type.go | 22 + models/models/model_mbs_pcc_rule.go | 22 + models/models/model_mbs_pcc_rule_status.go | 21 + models/models/model_mbs_pcrt.go | 20 + models/models/model_mbs_policy_ctxt_data.go | 26 + .../model_mbs_policy_ctxt_data_update.go | 20 + models/models/model_mbs_policy_data.go | 21 + models/models/model_mbs_policy_decision.go | 26 + models/models/model_mbs_qo_s_req.go | 26 + models/models/model_mbs_qos_char.go | 30 + models/models/model_mbs_qos_dec.go | 31 + models/models/model_mbs_report.go | 20 + models/models/model_mbs_service_area.go | 21 + models/models/model_mbs_service_area_info.go | 20 + models/models/model_mbs_service_info.go | 23 + models/models/model_mbs_session_id.go | 21 + models/models/model_mbs_subscription_data.go | 19 + models/models/model_mbsfn_area.go | 21 + models/models/model_mdt_configuration.go | 48 + models/models/model_mdt_user_consent.go | 21 + .../models/model_measurement_lte_for_mdt.go | 32 + models/models/model_measurement_nr_for_mdt.go | 32 + .../model_measurement_period_lte_mdt.go | 26 + models/models/model_media_component.go | 75 + .../model_media_component_resources_status.go | 21 + models/models/model_media_component_rm.go | 75 + models/models/model_media_initiator_flag.go | 22 + .../model_media_streaming_access_record.go | 31 + models/models/model_media_sub_component.go | 29 + models/models/model_media_sub_component_rm.go | 29 + models/models/model_media_type.go | 27 + models/models/model_message_body.go | 21 + models/models/model_message_class.go | 18 + models/models/model_message_waiting_data.go | 18 + models/models/model_meta_schema.go | 20 + models/models/model_metering_method.go | 23 + models/models/model_mfaf_info.go | 21 + models/models/model_mico_mode_indication.go | 21 + models/models/model_minor_location_qo_s.go | 21 + models/models/model_ml_analytics_info.go | 20 + models/models/model_ml_event_notif.go | 22 + models/models/model_ml_event_subscription.go | 27 + models/models/model_ml_model_addr.go | 21 + models/models/model_ml_model_info.go | 22 + models/models/model_mm_context.go | 46 + .../model_mm_tel_charging_information.go | 17 + ...del_mm_transaction_location_report_item.go | 28 + .../model_mm_transaction_slice_report_item.go | 25 + models/models/model_mme_capabilities.go | 20 + models/models/model_mme_location_data.go | 25 + models/models/model_mnpf_info.go | 18 + models/models/model_mo_exp_data_counter.go | 25 + models/models/model_model_info.go | 19 + .../models/model_modification_notification.go | 17 + .../model_modify_pdu_session_request.go | 22 + .../model_modify_pdu_session_response_200.go | 23 + .../model_modify_pdu_session_response_400.go | 23 + models/models/model_modify_response_200.go | 47 + ...el_modify_shared_data_subs_response_200.go | 47 + .../model_modify_subscription_request.go | 16 + ...cription_data_subscription_response_200.go | 37 + models/models/model_monitoring_event.go | 18 + models/models/model_motion_event_info.go | 29 + models/models/model_mps_action.go | 22 + .../model_ms_access_activity_collection.go | 18 + .../models/model_ms_consumption_collection.go | 18 + ...del_ms_dyn_policy_invocation_collection.go | 18 + .../model_ms_net_ass_invocation_collection.go | 18 + .../models/model_ms_qoe_metrics_collection.go | 18 + models/models/model_msisdn_list.go | 20 + models/models/model_mtc_provider.go | 20 + .../models/model_multicast_access_control.go | 24 + .../models/model_multicast_mbs_group_memb.go | 20 + .../models/model_multiple_unit_information.go | 33 + models/models/model_n1_message_class.go | 25 + models/models/model_n1_message_container.go | 22 + .../models/model_n1_message_notification.go | 28 + .../models/model_n1_message_notify_request.go | 18 + .../model_n1_n2_message_transfer_cause.go | 31 + .../model_n1_n2_message_transfer_error.go | 19 + .../model_n1_n2_message_transfer_req_data.go | 43 + .../model_n1_n2_message_transfer_request.go | 20 + .../model_n1_n2_message_transfer_rsp_data.go | 20 + .../models/model_n1_n2_msg_txfr_err_detail.go | 22 + ...del_n1_n2_msg_txfr_failure_notification.go | 20 + ...odel_n2_connection_charging_information.go | 32 + models/models/model_n2_info_container.go | 24 + models/models/model_n2_info_content.go | 21 + .../model_n2_info_notification_rsp_data.go | 18 + ...o_notify_handover_complete_response_200.go | 33 + models/models/model_n2_info_notify_reason.go | 20 + models/models/model_n2_info_notify_request.go | 19 + models/models/model_n2_information_class.go | 27 + .../model_n2_information_notification.go | 32 + .../model_n2_information_transfer_error.go | 19 + .../model_n2_information_transfer_req_data.go | 23 + .../model_n2_information_transfer_result.go | 20 + .../model_n2_information_transfer_rsp_data.go | 21 + models/models/model_n2_interface_amf_info.go | 21 + .../model_n2_message_transfer_request.go | 18 + models/models/model_n2_ran_information.go | 18 + models/models/model_n2_sm_info_type.go | 45 + models/models/model_n2_sm_information.go | 24 + models/models/model_n3ga_location.go | 34 + models/models/model_n4_information.go | 25 + models/models/model_n4_message_type.go | 27 + models/models/model_nas_security_mode.go | 19 + models/models/model_ncgi.go | 22 + models/models/model_ncgi_tai.go | 20 + ...model_nef_authentication_auth_container.go | 21 + .../model_nef_authentication_auth_result.go | 21 + .../model_nef_authentication_uav_auth_info.go | 33 + ...el_nef_authentication_uav_auth_response.go | 24 + .../models/model_nef_charging_information.go | 31 + models/models/model_nef_cond.go | 24 + models/models/model_nef_event.go | 32 + .../models/model_nef_event_exposure_notif.go | 19 + ..._event_exposure_service_experience_info.go | 21 + .../models/model_nef_event_exposure_subsc.go | 26 + ...event_exposure_target_ue_identification.go | 20 + models/models/model_nef_event_filter.go | 21 + models/models/model_nef_event_notification.go | 37 + models/models/model_nef_event_subs.go | 19 + models/models/model_nef_info.go | 29 + .../model_nef_sm_context_deliver_req_data.go | 18 + .../model_nef_sm_context_nidd_information.go | 23 + .../model_nef_sm_context_release_cause.go | 20 + ...l_nef_sm_context_sm_context_create_data.go | 36 + ..._nef_sm_context_sm_context_created_data.go | 33 + ..._nef_sm_context_sm_context_release_data.go | 18 + ..._context_sm_context_status_notification.go | 23 + ...l_nef_sm_context_sm_context_update_data.go | 22 + models/models/model_nef_traffic_influ_sub.go | 79 + .../model_nef_traffic_influ_sub_patch.go | 46 + models/models/model_net_loc_access_support.go | 22 + models/models/model_network_area_info.go | 25 + .../model_network_assistance_session.go | 29 + .../model_network_node_diameter_address.go | 20 + models/models/model_network_perf_info.go | 25 + .../models/model_network_perf_requirement.go | 22 + models/models/model_network_perf_type.go | 26 + models/models/model_network_slice_cond.go | 19 + models/models/model_network_slicing_info.go | 17 + models/models/model_nf_group_cond.go | 20 + models/models/model_nf_group_list_cond.go | 20 + models/models/model_nf_identifier.go | 19 + models/models/model_nf_info.go | 18 + models/models/model_nf_instance_id_cond.go | 19 + .../models/model_nf_instance_id_list_cond.go | 18 + models/models/model_nf_instance_info.go | 22 + .../models/model_nf_load_level_information.go | 32 + models/models/model_nf_service_instance.go | 22 + models/models/model_nf_service_set_cond.go | 21 + models/models/model_nf_service_status.go | 22 + models/models/model_nf_service_version.go | 25 + models/models/model_nf_set_cond.go | 19 + models/models/model_nf_type_cond.go | 18 + models/models/model_ng_ap_cause.go | 21 + models/models/model_ng_ksi.go | 19 + models/models/model_ng_ran_target_id.go | 19 + models/models/model_ngran_failure_event.go | 19 + .../models/model_ngran_failure_indication.go | 23 + models/models/model_nidd_auth_update_info.go | 23 + .../model_nidd_auth_update_notification.go | 18 + .../models/model_nidd_authorization_info.go | 18 + models/models/model_nidd_cause.go | 21 + models/models/model_nni_information.go | 20 + models/models/model_nni_relationship_mode.go | 21 + models/models/model_nni_session_direction.go | 21 + models/models/model_nni_type.go | 22 + .../model_nnwdaf_data_management_notif.go | 31 + .../model_nnwdaf_data_management_subsc.go | 37 + .../model_nnwdaf_events_subscription.go | 30 + ...nnwdaf_events_subscription_notification.go | 27 + models/models/model_no_profile_match_info.go | 19 + .../models/model_no_profile_match_reason.go | 24 + models/models/model_node_type.go | 27 + models/models/model_non_dynamic5_qi.go | 29 + .../model_non_ue_n2_info_notify_request.go | 18 + ...non_ue_n2_info_subscription_create_data.go | 26 + ...on_ue_n2_info_subscription_created_data.go | 21 + ...odel_non_ue_n2_message_transfer_request.go | 18 + models/models/model_notif_condition.go | 19 + models/models/model_notif_summary_report.go | 22 + models/models/model_notif_type.go | 22 + models/models/model_notification_cause.go | 23 + models/models/model_notification_control.go | 21 + .../model_notification_control_indication.go | 21 + .../models/model_notification_description.go | 21 + .../models/model_notification_event_type.go | 22 + models/models/model_notification_flag.go | 22 + models/models/model_notification_item.go | 20 + models/models/model_notification_push.go | 21 + .../models/model_notification_subscription.go | 33 + models/models/model_notified_pos_info.go | 61 + models/models/model_notify_item.go | 20 + models/models/model_npn_access_info.go | 18 + models/models/model_nr_location.go | 33 + models/models/model_nr_v2x_auth.go | 19 + ...el_nrf_access_token_access_token_claims.go | 36 + ...model_nrf_access_token_access_token_req.go | 43 + ...model_nrf_access_token_access_token_rsp.go | 22 + models/models/model_nrf_info.go | 96 + .../model_nrf_nf_discovery_nf_profile.go | 126 + .../model_nrf_nf_discovery_nf_service.go | 54 + .../model_nrf_nf_management_amf_info.go | 29 + .../model_nrf_nf_management_bsf_info.go | 29 + ...el_nrf_nf_management_ipv4_address_range.go | 21 + ...del_nrf_nf_management_ipv6_prefix_range.go | 19 + .../model_nrf_nf_management_mbs_session.go | 20 + .../model_nrf_nf_management_nf_profile.go | 136 + .../model_nrf_nf_management_nf_service.go | 60 + .../model_nrf_nf_management_nf_status.go | 22 + .../models/model_nrf_nf_management_nf_type.go | 75 + ...del_nrf_nf_management_notification_data.go | 24 + ...del_nrf_nf_management_notification_type.go | 32 + .../model_nrf_nf_management_pfd_data.go | 19 + ...del_nrf_nf_management_pro_se_capability.go | 23 + ...del_nrf_nf_management_subscription_data.go | 51 + ...el_nrf_nf_management_transport_protocol.go | 20 + models/models/model_nrppa_information.go | 21 + models/models/model_nsacf_capability.go | 21 + models/models/model_nsacf_info.go | 21 + models/models/model_nsag_info.go | 21 + models/models/model_nsi_id_info.go | 19 + models/models/model_nsi_information.go | 27 + models/models/model_nsi_load_level_info.go | 34 + .../models/model_nsm_charging_information.go | 22 + models/models/model_nsmf_event_exposure.go | 68 + .../model_nsmf_event_exposure_notification.go | 23 + .../models/model_nspa_charging_information.go | 17 + .../model_nspa_container_information.go | 29 + models/models/model_nssaa_status.go | 19 + models/models/model_nssaaf_info.go | 19 + models/models/model_nssai.go | 29 + models/models/model_nssai_ack_data.go | 24 + .../models/model_nssai_availability_info.go | 21 + models/models/model_nssai_map.go | 18 + models/models/model_nssai_mapping.go | 19 + .../models/model_nssf_event_notification.go | 19 + ...del_nssf_event_subscription_create_data.go | 33 + ...el_nssf_event_subscription_created_data.go | 27 + models/models/model_nssf_event_type.go | 20 + models/models/model_null_request.go | 27 + models/models/model_number_average.go | 23 + ...del_nwdaf_analytics_info_analytics_data.go | 46 + ...model_nwdaf_analytics_info_event_filter.go | 50 + models/models/model_nwdaf_capability.go | 19 + models/models/model_nwdaf_cond.go | 25 + models/models/model_nwdaf_data.go | 20 + models/models/model_nwdaf_event.go | 34 + ...odel_nwdaf_events_subscription_accuracy.go | 21 + ...daf_events_subscription_congestion_type.go | 22 + ...ents_subscription_dispersion_collection.go | 33 + ..._events_subscription_event_notification.go | 47 + ..._events_subscription_event_subscription.go | 67 + ...nwdaf_events_subscription_location_info.go | 22 + ...del_nwdaf_events_subscription_nf_status.go | 23 + ...events_subscription_notification_method.go | 21 + ...ts_subscription_service_experience_info.go | 40 + models/models/model_nwdaf_failure_code.go | 23 + models/models/model_nwdaf_info.go | 27 + .../models/model_nwdaf_ml_model_prov_notif.go | 21 + .../models/model_nwdaf_ml_model_prov_subsc.go | 27 + ...l_nwdaf_ml_model_provision_failure_code.go | 20 + models/models/model_nwdaf_registration.go | 32 + .../models/model_nwdaf_registration_info.go | 18 + .../model_nwdaf_registration_modification.go | 24 + models/models/model_nwdaf_subscription.go | 20 + .../model_observed_redundant_trans_exp.go | 33 + models/models/model_occurrence_info.go | 21 + models/models/model_odb_data.go | 18 + models/models/model_odb_packet_services.go | 16 + models/models/model_one_time_event_type.go | 21 + models/models/model_op_event_type.go | 21 + models/models/model_operation_event.go | 21 + models/models/model_operation_mode.go | 24 + models/models/model_operation_status.go | 23 + models/models/model_operational_state.go | 21 + .../model_operator_specific_data_container.go | 23 + models/models/model_options_response.go | 19 + models/models/model_originator_info.go | 25 + models/models/model_originator_party_type.go | 21 + .../models/model_out_of_credit_information.go | 19 + models/models/model_output_strategy.go | 21 + models/models/model_packet_filter_info.go | 28 + .../model_parameter_processing_instruction.go | 28 + models/models/model_partial_record_method.go | 21 + models/models/model_partial_success_report.go | 27 + .../models/model_participant_action_type.go | 23 + models/models/model_partitioning_criteria.go | 24 + models/models/model_patch_bdt_policy.go | 19 + models/models/model_patch_item.go | 23 + models/models/model_patch_operation.go | 25 + models/models/model_patch_result.go | 19 + models/models/model_pc5_capability.go | 22 + .../models/model_pc5_container_information.go | 27 + models/models/model_pc5_data_container.go | 31 + models/models/model_pc5_flow_bit_rates.go | 21 + models/models/model_pc5_qo_s_para.go | 20 + models/models/model_pc5_qos_flow_item.go | 22 + models/models/model_pc_event.go | 25 + .../models/model_pc_event_exposure_notif.go | 19 + .../models/model_pc_event_exposure_subsc.go | 31 + models/models/model_pc_event_notification.go | 39 + models/models/model_pcc_rule.go | 62 + models/models/model_pcf_addressing_info.go | 23 + ...licy_control_as_time_distribution_param.go | 20 + ...cf_am_policy_control_policy_association.go | 37 + ...licy_control_policy_association_request.go | 61 + ...ntrol_policy_association_update_request.go | 51 + ...del_pcf_am_policy_control_policy_update.go | 36 + ...l_pcf_am_policy_control_request_trigger.go | 30 + ...policy_control_termination_notification.go | 20 + ..._pcf_bdt_policy_control_bdt_policy_data.go | 25 + ...dt_policy_control_bdt_policy_data_patch.go | 19 + ...del_pcf_bdt_policy_control_notification.go | 23 + ..._pcf_bdt_policy_control_transfer_policy.go | 26 + ..._event_exposure_pdu_session_information.go | 26 + models/models/model_pcf_info.go | 30 + ...y_authorization_mbs_ext_problem_details.go | 37 + ...model_pcf_policy_authorization_af_event.go | 39 + ...icy_authorization_af_event_notification.go | 19 + ...olicy_authorization_events_notification.go | 52 + ...icy_authorization_events_subsc_req_data.go | 27 + ..._authorization_events_subsc_req_data_rm.go | 26 + ..._authorization_extended_problem_details.go | 35 + ...policy_authorization_pdu_session_status.go | 21 + ...uthorization_qos_monitoring_information.go | 20 + ...orization_qos_monitoring_information_rm.go | 20 + ...icy_authorization_qos_monitoring_report.go | 23 + ...orization_qos_notification_control_info.go | 20 + ..._policy_authorization_termination_cause.go | 25 + .../model_pcf_selection_assistance_info.go | 19 + ..._pcf_sm_policy_control_atsss_capability.go | 24 + ...del_pcf_sm_policy_control_failure_cause.go | 24 + ...odel_pcf_sm_policy_control_failure_code.go | 49 + ...policy_control_multicast_access_control.go | 21 + ...sm_policy_control_qos_monitoring_report.go | 24 + ...y_control_qos_notification_control_info.go | 23 + ...sm_policy_control_redirect_address_type.go | 23 + ...policy_control_termination_notification.go | 20 + models/models/model_pcf_ue_callback_info.go | 20 + ...cf_ue_policy_control_policy_association.go | 28 + ...licy_control_policy_association_request.go | 50 + ...ntrol_policy_association_update_request.go | 42 + ...del_pcf_ue_policy_control_policy_update.go | 27 + ...pcf_ue_policy_control_pro_se_capability.go | 25 + ...l_pcf_ue_policy_control_request_trigger.go | 26 + ...policy_control_termination_notification.go | 20 + models/models/model_pcscf_address.go | 21 + models/models/model_pcscf_info.go | 29 + .../model_pcscf_restoration_notification.go | 19 + .../model_pcscf_restoration_request_data.go | 26 + .../model_pdn_connectivity_stat_report.go | 26 + .../models/model_pdn_connectivity_status.go | 21 + models/models/model_pdu_session.go | 22 + models/models/model_pdu_session_context.go | 74 + .../models/model_pdu_session_context_type.go | 20 + .../model_pdu_session_continuity_ind.go | 22 + .../models/model_pdu_session_create_data.go | 119 + .../models/model_pdu_session_create_error.go | 28 + .../models/model_pdu_session_created_data.go | 72 + .../model_pdu_session_event_notification.go | 32 + models/models/model_pdu_session_info.go | 20 + .../model_pdu_session_management_data.go | 46 + .../models/model_pdu_session_notify_item.go | 18 + models/models/model_pdu_session_rel_cause.go | 21 + models/models/model_pdu_session_status.go | 21 + models/models/model_pdu_session_tsn_bridge.go | 29 + models/models/model_pdu_session_type.go | 24 + models/models/model_pdu_session_types.go | 18 + models/models/model_pduid_information.go | 25 + models/models/model_pei_update_info.go | 18 + .../model_pending_policy_counter_status.go | 25 + models/models/model_per_ue_attribute.go | 27 + models/models/model_perf_data.go | 27 + models/models/model_performance_data.go | 25 + .../model_performance_data_collection.go | 31 + models/models/model_performance_data_info.go | 31 + .../model_periodic_communication_indicator.go | 21 + models/models/model_periodic_event_info.go | 24 + models/models/model_periodicity.go | 24 + .../models/model_pfd_change_notification.go | 24 + models/models/model_pfd_change_report.go | 19 + models/models/model_pfd_content.go | 26 + models/models/model_pfd_data_for_app.go | 34 + models/models/model_pfd_data_for_app_ext.go | 31 + models/models/model_pfd_operation.go | 23 + models/models/model_pfd_subscription.go | 22 + .../models/model_pfi_container_information.go | 33 + models/models/model_pgw_info.go | 31 + models/models/model_play_to_party.go | 21 + models/models/model_plmn_ec_info.go | 19 + models/models/model_plmn_id.go | 21 + models/models/model_plmn_id_nid.go | 23 + models/models/model_plmn_oauth2.go | 19 + models/models/model_plmn_operator_class.go | 18 + models/models/model_plmn_range.go | 20 + models/models/model_plmn_restriction.go | 22 + .../model_plmn_route_selection_descriptor.go | 19 + models/models/model_plmn_snssai.go | 21 + models/models/model_point.go | 19 + models/models/model_point_altitude.go | 21 + .../model_point_altitude_uncertainty.go | 26 + .../models/model_point_uncertainty_circle.go | 21 + .../models/model_point_uncertainty_ellipse.go | 22 + .../model_policy_association_release_cause.go | 22 + .../model_policy_control_request_trigger.go | 67 + models/models/model_policy_counter_info.go | 23 + .../model_policy_data_change_notification.go | 39 + .../model_policy_data_for_individual_ue.go | 24 + .../models/model_policy_data_subscription.go | 32 + models/models/model_policy_data_subset.go | 24 + .../model_policy_decision_failure_code.go | 26 + models/models/model_policy_req_trigger.go | 27 + models/models/model_polygon.go | 20 + .../models/model_port_management_container.go | 21 + models/models/model_positioning_method.go | 34 + .../model_positioning_method_and_usage.go | 21 + models/models/model_positioning_method_mdt.go | 21 + models/models/model_positioning_mode.go | 22 + .../model_post_charging_data_response_400.go | 48 + .../model_post_charging_data_response_403.go | 48 + .../model_post_charging_data_response_404.go | 48 + ...post_charging_notification_response_400.go | 34 + .../models/model_post_pdu_sessions_request.go | 19 + .../model_post_pdu_sessions_response_201.go | 18 + .../model_post_pdu_sessions_response_400.go | 18 + .../models/model_post_sm_contexts_request.go | 20 + .../model_post_sm_contexts_response_201.go | 18 + .../model_post_sm_contexts_response_400.go | 19 + .../model_pp5g_mbs_group_profile_data.go | 20 + .../model_pp5g_vn_group_profile_data.go | 20 + models/models/model_pp_active_time.go | 28 + models/models/model_pp_data.go | 27 + models/models/model_pp_data_entry.go | 31 + models/models/model_pp_data_entry_list.go | 20 + models/models/model_pp_dl_packet_count_ext.go | 29 + models/models/model_pp_maximum_latency.go | 28 + .../models/model_pp_maximum_response_time.go | 28 + models/models/model_pp_profile_data.go | 20 + models/models/model_pp_subs_reg_timer.go | 28 + models/models/model_preemption_capability.go | 21 + .../models/model_preemption_capability_rm.go | 16 + .../model_preemption_control_information.go | 22 + ...model_preemption_control_information_rm.go | 16 + .../models/model_preemption_vulnerability.go | 21 + .../model_preemption_vulnerability_rm.go | 16 + models/models/model_preferred_search.go | 27 + models/models/model_presence_info.go | 32 + models/models/model_presence_info_rm.go | 32 + models/models/model_presence_state.go | 23 + models/models/model_prev_sub_info.go | 25 + models/models/model_priority_levels.go | 19 + .../model_priority_sharing_indicator.go | 21 + .../model_privacy_check_related_action.go | 24 + models/models/model_private_identities.go | 18 + models/models/model_private_identity.go | 20 + models/models/model_private_identity_type.go | 21 + models/models/model_pro_se_allowed_plmn.go | 19 + models/models/model_pro_se_auth_data.go | 16 + .../models/model_pro_se_authentication_ctx.go | 23 + .../model_pro_se_authentication_info.go | 28 + ...odel_pro_se_authentication_info_request.go | 22 + ...model_pro_se_authentication_info_result.go | 22 + .../model_pro_se_authentication_result.go | 23 + .../model_pro_se_authentication_vectors.go | 16 + models/models/model_pro_se_eap_session.go | 30 + models/models/model_pro_se_information.go | 18 + models/models/model_problem_details.go | 34 + .../models/model_problem_details_add_info.go | 18 + ..._problem_details_analytics_info_request.go | 36 + ..._problem_details_enable_ue_reachability.go | 36 + models/models/model_processing_instruction.go | 22 + .../models/model_prose_auth_response_200.go | 20 + .../model_prose_charging_information.go | 57 + models/models/model_prose_context.go | 25 + models/models/model_prose_direct_allowed.go | 30 + models/models/model_prose_event_type.go | 22 + models/models/model_prose_functionality.go | 21 + models/models/model_prose_service_auth.go | 23 + .../models/model_prose_subscription_data.go | 21 + models/models/model_protection_result.go | 21 + models/models/model_provide_loc_info.go | 29 + models/models/model_provide_pos_info.go | 53 + models/models/model_provisioned_data_sets.go | 33 + models/models/model_ps_cell_information.go | 18 + models/models/model_ps_location.go | 21 + models/models/model_ps_user_state.go | 20 + models/models/model_psa_indication.go | 23 + models/models/model_psa_information.go | 22 + models/models/model_psi_activation_state.go | 18 + models/models/model_ptw_parameters.go | 19 + models/models/model_public_identifier.go | 23 + models/models/model_public_identities.go | 18 + models/models/model_public_identity.go | 22 + models/models/model_pws_error_data.go | 18 + models/models/model_pws_information.go | 28 + models/models/model_pws_response_data.go | 23 + models/models/model_qos_characteristics.go | 32 + models/models/model_qos_data.go | 56 + models/models/model_qos_flow_access_type.go | 22 + models/models/model_qos_flow_item.go | 23 + models/models/model_qos_flow_notify_item.go | 22 + .../model_qos_flow_release_request_item.go | 23 + models/models/model_qos_flow_setup_item.go | 28 + models/models/model_qos_flow_tunnel.go | 19 + models/models/model_qos_flow_usage.go | 21 + models/models/model_qos_flow_usage_report.go | 31 + models/models/model_qos_flows_usage_report.go | 30 + models/models/model_qos_monitoring_data.go | 37 + models/models/model_qos_monitoring_info.go | 18 + .../model_qos_monitoring_information.go | 29 + .../model_qos_monitoring_information_rm.go | 29 + models/models/model_qos_monitoring_report.go | 22 + models/models/model_qos_monitoring_req.go | 23 + models/models/model_qos_notif_type.go | 21 + models/models/model_qos_requirement.go | 28 + models/models/model_qos_resource_type.go | 22 + .../models/model_qos_sustainability_info.go | 32 + .../models/model_query_param_combination.go | 18 + models/models/model_query_parameter.go | 19 + .../model_quota_consumption_indicator.go | 21 + .../model_quota_management_indicator.go | 22 + .../models/model_radio_parameter_set_info.go | 23 + models/models/model_radio_resources_id.go | 21 + models/models/model_ran_nas_rel_cause.go | 24 + .../model_ran_secondary_rat_usage_report.go | 18 + models/models/model_range_class.go | 26 + models/models/model_ranking_criterion.go | 21 + models/models/model_rat_freq_information.go | 26 + models/models/model_rat_selector.go | 21 + models/models/model_rat_type.go | 51 + models/models/model_reachability_filter.go | 21 + ...del_reachability_for_data_report_config.go | 21 + ...odel_reachability_for_sms_configuration.go | 21 + .../model_reachability_notification_data.go | 19 + models/models/model_reachability_report.go | 27 + models/models/model_reachable_ue_info.go | 19 + .../models/model_reauthorization_details.go | 21 + models/models/model_recipient_address.go | 18 + models/models/model_recipient_info.go | 25 + models/models/model_record.go | 20 + models/models/model_record_id_list.go | 18 + models/models/model_record_meta.go | 27 + models/models/model_record_notification.go | 21 + models/models/model_record_operation.go | 22 + models/models/model_record_search_result.go | 24 + .../model_red_trans_exp_ordering_criterion.go | 21 + models/models/model_redirect_information.go | 22 + models/models/model_redirect_response.go | 22 + models/models/model_redirect_server.go | 18 + ...model_redundant_pdu_session_information.go | 19 + .../model_redundant_transmission_exp_info.go | 21 + ...model_redundant_transmission_exp_per_ts.go | 32 + .../model_redundant_transmission_exp_req.go | 19 + .../model_redundant_transmission_type.go | 23 + models/models/model_ref_to_binary_data.go | 19 + .../model_reference_location_information.go | 20 + .../models/model_reflective_qo_s_attribute.go | 21 + ...model_registration_charging_information.go | 36 + .../model_registration_context_container.go | 42 + .../model_registration_data_set_name.go | 26 + models/models/model_registration_data_sets.go | 23 + .../model_registration_location_info.go | 22 + .../models/model_registration_message_type.go | 24 + models/models/model_registration_reason.go | 20 + models/models/model_registration_type.go | 22 + .../model_relative_cartesian_location.go | 23 + ...odel_release_charging_data_response_404.go | 48 + models/models/model_release_data.go | 30 + .../model_release_pdu_session_request.go | 20 + .../model_release_pdu_session_response_200.go | 20 + models/models/model_release_session_info.go | 19 + .../model_release_sm_context_request.go | 18 + models/models/model_released_data.go | 22 + .../model_relocate_ue_context_request.go | 35 + models/models/model_reply_path_requested.go | 21 + models/models/model_report_amount_mdt.go | 27 + models/models/model_report_interval_mdt.go | 32 + models/models/model_report_interval_nr_mdt.go | 34 + models/models/model_report_item.go | 21 + models/models/model_report_type_mdt.go | 21 + models/models/model_reported_event_type.go | 26 + models/models/model_reporting_access_type.go | 26 + models/models/model_reporting_area.go | 21 + models/models/model_reporting_area_type.go | 23 + models/models/model_reporting_frequency.go | 21 + models/models/model_reporting_information.go | 36 + models/models/model_reporting_level.go | 22 + models/models/model_reporting_trigger.go | 23 + models/models/model_repository_data.go | 20 + models/models/model_repository_data_list.go | 19 + models/models/model_request_direction.go | 24 + models/models/model_request_indication.go | 27 + models/models/model_request_loc_info.go | 23 + models/models/model_request_pos_info.go | 60 + models/models/model_request_type.go | 23 + models/models/model_requested_context.go | 19 + models/models/model_requested_node.go | 23 + models/models/model_requested_qos.go | 23 + ...odel_requested_qos_monitoring_parameter.go | 22 + models/models/model_requested_rule_data.go | 21 + .../models/model_requested_rule_data_type.go | 25 + models/models/model_requested_unit.go | 26 + models/models/model_requested_usage_data.go | 21 + models/models/model_required_access_info.go | 21 + models/models/model_reserv_priority.go | 35 + models/models/model_resource_item.go | 20 + models/models/model_resource_status.go | 24 + models/models/model_resource_usage.go | 23 + .../models/model_resources_allocation_info.go | 20 + models/models/model_response_time.go | 22 + models/models/model_restricted_snssai.go | 21 + models/models/model_restriction_type.go | 21 + models/models/model_resynchronization_info.go | 18 + .../models/model_retainability_threshold.go | 22 + models/models/model_retrieve_data.go | 19 + models/models/model_retrieve_records.go | 21 + models/models/model_retrieved_data.go | 19 + models/models/model_revoked_cause.go | 22 + models/models/model_rg_authentication_info.go | 22 + models/models/model_rm_info.go | 19 + models/models/model_rm_state.go | 21 + models/models/model_roamer_in_out.go | 21 + models/models/model_roaming_indication.go | 22 + models/models/model_roaming_info_update.go | 19 + models/models/model_roaming_odb.go | 21 + models/models/model_roaming_restrictions.go | 18 + models/models/model_roaming_status_report.go | 19 + models/models/model_role_of_ims_node.go | 22 + models/models/model_role_of_ue.go | 23 + models/models/model_route_information.go | 23 + .../model_route_selection_parameter_set.go | 26 + models/models/model_route_to_location.go | 22 + models/models/model_routing_area_id.go | 22 + .../models/model_routing_info_sm_request.go | 20 + .../models/model_routing_info_sm_response.go | 23 + models/models/model_rsn.go | 22 + models/models/model_rule_operation.go | 25 + models/models/model_rule_report.go | 27 + models/models/model_rule_status.go | 21 + models/models/model_sac_event.go | 24 + models/models/model_sac_event_report.go | 19 + models/models/model_sac_event_report_item.go | 27 + models/models/model_sac_event_state.go | 21 + models/models/model_sac_event_status.go | 19 + models/models/model_sac_event_subscription.go | 32 + models/models/model_sac_event_trigger.go | 21 + models/models/model_sac_event_type.go | 21 + models/models/model_sac_info.go | 21 + .../model_satellite_backhaul_category.go | 24 + models/models/model_sbi_binding_level.go | 23 + models/models/model_sc_type.go | 21 + .../model_scheduled_communication_time.go | 23 + .../model_scheduled_communication_time_rm.go | 16 + .../model_scheduled_communication_type.go | 22 + .../model_scheduled_communication_type_rm.go | 16 + models/models/model_scp_capability.go | 20 + models/models/model_scp_domain_cond.go | 19 + .../models/model_scp_domain_connectivity.go | 18 + models/models/model_scp_domain_info.go | 23 + ...el_scp_domain_routing_info_notification.go | 19 + ...el_scp_domain_routing_info_subscription.go | 28 + .../model_scp_domain_routing_information.go | 19 + models/models/model_scp_info.go | 32 + models/models/model_scscf_capability_list.go | 21 + models/models/model_scscf_registration.go | 38 + ..._scscf_selection_assistance_information.go | 19 + models/models/model_sd_range.go | 21 + models/models/model_sdm_subs_modification.go | 23 + models/models/model_sdm_subscription.go | 46 + models/models/model_sdp_description.go | 19 + models/models/model_sdp_media_component.go | 26 + models/models/model_sdp_time_stamps.go | 24 + models/models/model_sdp_type.go | 21 + models/models/model_seaf_data.go | 23 + models/models/model_search_comparison.go | 20 + models/models/model_search_condition.go | 21 + models/models/model_search_expression.go | 25 + models/models/model_search_result.go | 29 + .../models/model_secondary_rat_usage_info.go | 20 + .../model_secondary_rat_usage_report.go | 19 + models/models/model_security_result.go | 19 + models/models/model_send_mo_data_req_data.go | 20 + models/models/model_send_mo_data_request.go | 18 + models/models/model_send_sms_request.go | 18 + models/models/model_send_sms_response_200.go | 18 + models/models/model_sensor_measurement.go | 22 + models/models/model_sepp_info.go | 22 + models/models/model_sequence_number.go | 22 + models/models/model_serv_auth_info.go | 23 + models/models/model_server_addressing_info.go | 20 + models/models/model_server_capabilities.go | 19 + .../model_service_area_coverage_info.go | 20 + models/models/model_service_area_id.go | 22 + .../models/model_service_area_restriction.go | 23 + .../model_service_data_flow_description.go | 18 + .../model_service_experience_info_per_app.go | 23 + .../model_service_experience_info_per_flow.go | 23 + .../models/model_service_experience_type.go | 22 + models/models/model_service_identification.go | 21 + models/models/model_service_info_status.go | 21 + models/models/model_service_information.go | 21 + .../model_service_level_trace_information.go | 18 + models/models/model_service_name.go | 165 + models/models/model_service_name_cond.go | 18 + models/models/model_service_name_list_cond.go | 19 + models/models/model_service_parameter_data.go | 59 + .../model_service_parameter_data_patch.go | 39 + ...el_service_profile_charging_information.go | 34 + ...del_service_specific_authorization_data.go | 23 + ...del_service_specific_authorization_info.go | 18 + ...vice_specific_authorization_remove_data.go | 18 + models/models/model_service_type.go | 20 + .../model_service_type_unrelated_class.go | 23 + models/models/model_serving_location.go | 18 + models/models/model_serving_nf_identity.go | 22 + models/models/model_serving_node_address.go | 19 + .../model_sess_inact_timer_for_ue_comm.go | 21 + models/models/model_session_failover.go | 21 + ...el_session_management_subscription_data.go | 33 + models/models/model_session_rule.go | 27 + .../models/model_session_rule_failure_code.go | 29 + models/models/model_session_rule_report.go | 23 + models/models/model_sgsn_address.go | 20 + models/models/model_sgsn_location_data.go | 24 + models/models/model_shared_data_id_range.go | 18 + ...model_shared_data_treatment_instruction.go | 23 + models/models/model_sharing_level.go | 21 + models/models/model_sign.go | 21 + models/models/model_sip_event_type.go | 20 + models/models/model_sip_forking_indication.go | 21 + .../model_slice_info_for_pdu_session.go | 20 + .../model_slice_info_for_registration.go | 28 + ..._slice_info_for_ue_configuration_update.go | 27 + .../model_slice_load_level_information.go | 21 + models/models/model_slice_mbr.go | 21 + models/models/model_slice_mbr_rm.go | 16 + models/models/model_slice_policy_data.go | 28 + models/models/model_sm_address_domain.go | 18 + models/models/model_sm_address_info.go | 19 + models/models/model_sm_address_type.go | 27 + models/models/model_sm_addressee_type.go | 22 + models/models/model_sm_context.go | 99 + .../models/model_sm_context_configuration.go | 21 + .../models/model_sm_context_create_error.go | 27 + .../models/model_sm_context_released_data.go | 19 + .../models/model_sm_context_retrieve_data.go | 22 + .../models/model_sm_context_retrieved_data.go | 24 + models/models/model_sm_context_status.go | 20 + models/models/model_sm_context_type.go | 22 + .../models/model_sm_context_update_error.go | 28 + .../models/model_sm_context_updated_data.go | 44 + models/models/model_sm_delivery_status.go | 20 + models/models/model_sm_interface.go | 20 + models/models/model_sm_message_type.go | 23 + models/models/model_sm_nas_from_smf.go | 27 + models/models/model_sm_nas_from_ue.go | 24 + ...del_sm_policy_association_release_cause.go | 24 + models/models/model_sm_policy_context_data.go | 88 + models/models/model_sm_policy_control.go | 19 + models/models/model_sm_policy_data.go | 26 + models/models/model_sm_policy_data_patch.go | 21 + models/models/model_sm_policy_decision.go | 72 + models/models/model_sm_policy_delete_data.go | 32 + models/models/model_sm_policy_dnn_data.go | 46 + .../models/model_sm_policy_dnn_data_patch.go | 21 + models/models/model_sm_policy_notification.go | 20 + models/models/model_sm_policy_snssai_data.go | 21 + .../model_sm_policy_snssai_data_patch.go | 20 + .../model_sm_policy_update_context_data.go | 101 + ...policy_update_notification_response_200.go | 25 + models/models/model_sm_priority.go | 22 + models/models/model_sm_service_type.go | 30 + models/models/model_sm_subs_data.go | 18 + .../models/model_small_data_rate_control.go | 22 + ...model_small_data_rate_control_time_unit.go | 24 + models/models/model_small_data_rate_status.go | 31 + .../model_small_data_rate_status_info.go | 21 + models/models/model_smcce_info.go | 21 + models/models/model_smcce_ue_list.go | 20 + models/models/model_smf_change_indication.go | 21 + models/models/model_smf_change_info.go | 19 + models/models/model_smf_event.go | 36 + ...l_smf_event_exposure_event_notification.go | 100 + ...l_smf_event_exposure_event_subscription.go | 28 + ..._smf_event_exposure_notification_method.go | 22 + ...del_smf_event_exposure_pdu_session_info.go | 22 + ..._event_exposure_pdu_session_information.go | 20 + ...l_smf_event_exposure_pdu_session_status.go | 21 + models/models/model_smf_info.go | 30 + .../models/model_smf_nidd_deliver_req_data.go | 18 + models/models/model_smf_pdu_session_cause.go | 52 + .../model_smf_pdu_session_dnai_information.go | 21 + ...del_smf_pdu_session_ext_problem_details.go | 35 + ...mf_pdu_session_gbr_qos_flow_information.go | 31 + .../model_smf_pdu_session_ip_address.go | 21 + ...model_smf_pdu_session_notification_info.go | 21 + ...ession_qos_flow_add_modify_request_item.go | 27 + .../model_smf_pdu_session_qos_flow_profile.go | 28 + ..._smf_pdu_session_sm_context_create_data.go | 148 + ...smf_pdu_session_sm_context_created_data.go | 47 + ...smf_pdu_session_sm_context_release_data.go | 29 + ..._session_sm_context_status_notification.go | 41 + ..._smf_pdu_session_sm_context_update_data.go | 82 + models/models/model_smf_registration.go | 53 + models/models/model_smf_registration_info.go | 17 + .../model_smf_registration_modification.go | 23 + models/models/model_smf_selection_data.go | 24 + .../model_smf_selection_subscription_data.go | 23 + models/models/model_smf_selection_type.go | 21 + models/models/model_smf_subscription_info.go | 18 + models/models/model_smf_subscription_item.go | 22 + .../models/model_sms_charging_information.go | 52 + models/models/model_sms_data.go | 18 + models/models/model_sms_delivery_data.go | 18 + models/models/model_sms_indication.go | 21 + .../model_sms_management_subscription_data.go | 26 + models/models/model_sms_registration_info.go | 21 + models/models/model_sms_router_info.go | 26 + models/models/model_sms_subscription_data.go | 20 + models/models/model_sms_support.go | 23 + models/models/model_smsc_data.go | 19 + models/models/model_smsf_info.go | 21 + models/models/model_smsf_registration.go | 40 + models/models/model_snssai.go | 21 + models/models/model_snssai_dnn_combination.go | 19 + models/models/model_snssai_easdf_info_item.go | 19 + models/models/model_snssai_extension.go | 21 + models/models/model_snssai_info.go | 17 + models/models/model_snssai_info_item.go | 19 + .../models/model_snssai_mb_smf_info_item.go | 19 + ...model_snssai_route_selection_descriptor.go | 19 + models/models/model_snssai_smf_info_item.go | 19 + models/models/model_snssai_tai_mapping.go | 20 + .../models/model_snssai_tsctsf_info_item.go | 19 + models/models/model_snssai_upf_info_item.go | 20 + models/models/model_software_image_info.go | 21 + models/models/model_sor_data.go | 29 + models/models/model_sor_security_info.go | 23 + models/models/model_sor_update_indicator.go | 21 + models/models/model_sor_update_info.go | 19 + models/models/model_spatial_validity.go | 19 + models/models/model_spatial_validity_cond.go | 20 + models/models/model_spatial_validity_rm.go | 19 + .../model_specific_analytics_subscription.go | 23 + .../model_specific_data_subscription.go | 23 + models/models/model_spending_limit_context.go | 34 + models/models/model_spending_limit_status.go | 30 + .../models/model_sponsor_connectivity_data.go | 18 + models/models/model_sponsor_information.go | 21 + models/models/model_sponsoring_status.go | 21 + models/models/model_spt.go | 25 + models/models/model_sqn_scheme.go | 22 + models/models/model_srvcc_capability.go | 21 + models/models/model_srvcc_data.go | 20 + models/models/model_ssc_mode.go | 22 + models/models/model_ssc_modes.go | 18 + models/models/model_ssm.go | 19 + models/models/model_stationary_indication.go | 21 + .../models/model_stationary_indication_rm.go | 16 + models/models/model_status.go | 21 + models/models/model_status_change.go | 21 + models/models/model_status_info.go | 21 + models/models/model_status_notification.go | 30 + models/models/model_steer_mode_indicator.go | 21 + models/models/model_steer_mode_value.go | 23 + models/models/model_steering_functionality.go | 21 + models/models/model_steering_mode.go | 25 + models/models/model_storage_outcome.go | 21 + models/models/model_stored_search_result.go | 18 + .../models/model_string_matching_condition.go | 19 + models/models/model_string_matching_rule.go | 18 + models/models/model_subscr_cond.go | 52 + models/models/model_subscribed_default_qos.go | 22 + models/models/model_subscribed_event.go | 20 + models/models/model_subscribed_snssai.go | 20 + models/models/model_subscription_context.go | 19 + .../model_subscription_data_subscriptions.go | 36 + models/models/model_subscription_filter.go | 21 + .../model_subscription_termination_info.go | 21 + .../model_subscription_transfer_info.go | 25 + models/models/model_suci_info.go | 19 + .../models/model_suggested_packet_num_dl.go | 23 + .../models/model_summarization_attribute.go | 25 + models/models/model_supi_info.go | 18 + models/models/model_supi_range.go | 20 + models/models/model_supplementary_service.go | 32 + .../model_supplementary_service_mode.go | 30 + .../model_supplementary_service_type.go | 38 + models/models/model_supported_gad_shapes.go | 28 + ...model_supported_nssai_availability_data.go | 22 + models/models/model_supported_snssai.go | 19 + models/models/model_svc_experience.go | 23 + models/models/model_tac_info.go | 18 + models/models/model_tac_range.go | 20 + models/models/model_tad_identifier.go | 21 + models/models/model_tads_information.go | 26 + models/models/model_tag_type.go | 21 + models/models/model_tai.go | 22 + models/models/model_tai_range.go | 21 + models/models/model_target_area.go | 20 + models/models/model_target_dnai_info.go | 20 + models/models/model_target_ue_information.go | 21 + models/models/model_temporal_validity.go | 25 + models/models/model_termination_info.go | 20 + models/models/model_threshold_level.go | 34 + models/models/model_threshold_value.go | 21 + models/models/model_throughput.go | 20 + models/models/model_time_period.go | 20 + models/models/model_time_unit.go | 22 + models/models/model_time_window.go | 25 + models/models/model_timer.go | 31 + models/models/model_timer_id_list.go | 18 + models/models/model_tmgi.go | 20 + models/models/model_tmgi_range.go | 22 + models/models/model_tnap_id.go | 23 + models/models/model_tngf_info.go | 21 + models/models/model_top_application.go | 22 + .../models/model_topological_service_area.go | 19 + models/models/model_trace_data.go | 29 + models/models/model_trace_data_response.go | 18 + models/models/model_trace_depth.go | 25 + .../models/model_traffic_characterization.go | 31 + models/models/model_traffic_control_data.go | 44 + .../model_traffic_descriptor_components.go | 29 + models/models/model_traffic_forwarding_way.go | 22 + models/models/model_traffic_influ_data.go | 67 + .../models/model_traffic_influ_data_notif.go | 20 + .../models/model_traffic_influ_data_patch.go | 51 + models/models/model_traffic_influ_sub.go | 36 + models/models/model_traffic_information.go | 27 + models/models/model_traffic_profile.go | 24 + models/models/model_traffic_profile_rm.go | 16 + models/models/model_transaction_info.go | 22 + models/models/model_transaction_metric.go | 23 + .../models/model_transfer_mo_data_req_data.go | 20 + .../models/model_transfer_mo_data_request.go | 18 + .../models/model_transfer_mt_data_add_info.go | 19 + models/models/model_transfer_mt_data_error.go | 37 + .../models/model_transfer_mt_data_req_data.go | 18 + .../models/model_transfer_mt_data_request.go | 18 + .../model_transfer_mt_dataismf_request.go | 18 + models/models/model_transfer_reason.go | 22 + models/models/model_transfer_request_type.go | 21 + models/models/model_transmitter_info.go | 18 + models/models/model_transport_protocol.go | 21 + models/models/model_trigger_category.go | 21 + models/models/model_trigger_point.go | 19 + models/models/model_trigger_request.go | 19 + models/models/model_trunk_group_id.go | 18 + models/models/model_trust_af_info.go | 22 + models/models/model_tsc_qos_requirement.go | 35 + models/models/model_tsc_qos_requirement_rm.go | 35 + models/models/model_tscai_input_container.go | 29 + models/models/model_tsctsf_info.go | 23 + models/models/model_tsn_bridge_info.go | 25 + models/models/model_tsn_qos_container.go | 23 + models/models/model_tsn_qos_container_rm.go | 23 + models/models/model_tunnel_info.go | 23 + models/models/model_twan_location_data.go | 25 + models/models/model_twap_id.go | 23 + models/models/model_twif_info.go | 21 + models/models/model_type_of_condition.go | 21 + models/models/model_uav_auth_failure.go | 19 + models/models/model_uc_purpose.go | 23 + models/models/model_uc_subscription_data.go | 19 + .../models/model_udm_ee_association_type.go | 21 + .../model_udm_ee_created_ee_subscription.go | 26 + models/models/model_udm_ee_ee_subscription.go | 40 + models/models/model_udm_ee_event_type.go | 39 + models/models/model_udm_ee_failed_cause.go | 25 + ..._udm_ee_failed_monitoring_configuration.go | 19 + .../models/model_udm_ee_location_accuracy.go | 25 + ...udm_ee_location_reporting_configuration.go | 20 + .../model_udm_ee_monitoring_configuration.go | 37 + .../models/model_udm_ee_monitoring_report.go | 29 + .../model_udm_ee_pdu_session_status_cfg.go | 18 + ..._ee_reachability_for_data_configuration.go | 19 + ...odel_udm_ee_reachability_for_sms_report.go | 23 + models/models/model_udm_ee_report.go | 37 + .../models/model_udm_ee_reporting_options.go | 31 + models/models/model_udm_info.go | 25 + models/models/model_udm_mt_ue_info.go | 20 + .../model_udm_niddau_authorization_data.go | 24 + models/models/model_udm_pp_location_area.go | 22 + models/models/model_udm_sdm_amf_info.go | 20 + models/models/model_udm_sdm_app_descriptor.go | 19 + models/models/model_udm_sdm_data_set_name.go | 35 + .../model_udm_sdm_ec_restriction_data_wb.go | 18 + .../models/model_udm_sdm_group_identifiers.go | 20 + models/models/model_udm_sdm_ip_address.go | 20 + models/models/model_udm_sdm_ip_index.go | 17 + .../models/model_udm_sdm_nidd_information.go | 21 + models/models/model_udm_sdm_shared_data.go | 31 + models/models/model_udm_sdm_sor_info.go | 35 + .../model_udm_sdm_steering_container.go | 16 + .../model_udm_sdm_subscription_data_sets.go | 32 + models/models/model_udm_sdm_ue_id.go | 19 + models/models/model_udm_sdm_upu_info.go | 32 + ...sau_service_specific_authorization_info.go | 27 + models/models/model_udm_ueau_auth_type.go | 24 + ...el_udm_ueau_authentication_info_request.go | 26 + ...del_udm_ueau_authentication_info_result.go | 26 + models/models/model_udm_ueau_rg_auth_ctx.go | 21 + ..._udm_uecm_data_restoration_notification.go | 33 + .../model_udm_uecm_deregistration_data.go | 22 + .../model_udm_uecm_deregistration_reason.go | 28 + models/models/model_udm_uecm_location_info.go | 23 + ...el_udr_dr_data_restoration_notification.go | 24 + models/models/model_udr_info.go | 24 + ..._udsf_data_repository_notification_info.go | 17 + models/models/model_udsf_info.go | 22 + .../model_ue_access_behavior_report_item.go | 22 + .../model_ue_analytics_context_descriptor.go | 21 + models/models/model_ue_area_indication.go | 21 + models/models/model_ue_auth.go | 21 + models/models/model_ue_authentication_ctx.go | 22 + models/models/model_ue_camping_rep.go | 26 + models/models/model_ue_communication.go | 42 + .../model_ue_communication_collection.go | 27 + models/models/model_ue_communication_info.go | 24 + models/models/model_ue_connectivity_state.go | 19 + models/models/model_ue_context.go | 132 + .../model_ue_context_cancel_relocate_data.go | 20 + models/models/model_ue_context_create_data.go | 29 + .../models/model_ue_context_create_error.go | 20 + .../models/model_ue_context_created_data.go | 25 + models/models/model_ue_context_in_amf_data.go | 19 + models/models/model_ue_context_in_smf_data.go | 20 + ...model_ue_context_in_smf_data_sub_filter.go | 20 + .../models/model_ue_context_in_smsf_data.go | 18 + models/models/model_ue_context_info.go | 29 + models/models/model_ue_context_info_class.go | 20 + models/models/model_ue_context_release.go | 21 + .../models/model_ue_context_relocate_data.go | 26 + .../models/model_ue_context_relocated_data.go | 18 + .../model_ue_context_transfer_req_data.go | 23 + .../model_ue_context_transfer_request.go | 18 + .../model_ue_context_transfer_response_200.go | 20 + .../model_ue_context_transfer_rsp_data.go | 23 + .../model_ue_context_transfer_status.go | 21 + .../models/model_ue_differentiation_info.go | 30 + models/models/model_ue_id_ext.go | 21 + models/models/model_ue_identity_info.go | 23 + models/models/model_ue_in_area_filter.go | 19 + .../model_ue_initiated_resource_request.go | 22 + models/models/model_ue_lcs_capability.go | 19 + models/models/model_ue_location_info.go | 31 + .../models/model_ue_location_service_ind.go | 21 + .../model_ue_location_trends_report_item.go | 31 + models/models/model_ue_mobility.go | 29 + models/models/model_ue_mobility_collection.go | 24 + models/models/model_ue_mobility_info.go | 22 + ..._ue_n1_n2_info_subscription_create_data.go | 28 + ...ue_n1_n2_info_subscription_created_data.go | 20 + models/models/model_ue_policy_section.go | 20 + models/models/model_ue_policy_set.go | 32 + models/models/model_ue_policy_set_patch.go | 24 + ...ue_policy_transfer_failure_notification.go | 19 + .../models/model_ue_privacy_requirements.go | 19 + models/models/model_ue_reachability.go | 22 + .../model_ue_reachability_notification.go | 20 + .../model_ue_reachability_subscription.go | 25 + models/models/model_ue_reachable_ind.go | 22 + .../model_ue_reg_status_update_req_data.go | 23 + .../model_ue_reg_status_update_rsp_data.go | 18 + models/models/model_ue_requested_value_rep.go | 22 + models/models/model_ue_slice_mbr.go | 21 + .../models/model_ue_trajectory_collection.go | 24 + models/models/model_ue_trajectory_info.go | 24 + models/models/model_ue_transfer_type.go | 21 + models/models/model_ue_type.go | 20 + models/models/model_ue_update_status.go | 24 + models/models/model_ulcl_bp_information.go | 19 + models/models/model_umt_time.go | 20 + models/models/model_un_trust_af_info.go | 20 + .../model_unavailable_access_indication.go | 21 + models/models/model_uncertainty_ellipse.go | 23 + models/models/model_uncertainty_ellipsoid.go | 25 + models/models/model_unrelated_class.go | 19 + models/models/model_up_cnx_state.go | 23 + models/models/model_up_confidentiality.go | 22 + models/models/model_up_integrity.go | 22 + models/models/model_up_interface_type.go | 27 + models/models/model_up_path_chg_event.go | 23 + models/models/model_up_security.go | 19 + models/models/model_up_security_info.go | 21 + ...model_update_charging_data_response_400.go | 48 + ...model_update_charging_data_response_403.go | 48 + ...model_update_charging_data_response_404.go | 48 + ..._update_nwdaf_registration_response_200.go | 33 + .../model_update_pdu_session_request.go | 22 + .../model_update_pdu_session_response_200.go | 21 + .../model_update_pdu_session_response_400.go | 18 + .../models/model_update_sm_context_request.go | 20 + .../model_update_sm_context_response_200.go | 19 + .../model_update_sm_context_response_400.go | 19 + models/models/model_updated_item.go | 20 + models/models/model_updp_subscription_data.go | 23 + models/models/model_upf_cond.go | 20 + models/models/model_upf_info.go | 34 + models/models/model_upf_information.go | 19 + models/models/model_upu_data.go | 28 + models/models/model_upu_security_info.go | 23 + models/models/model_uri_list.go | 20 + models/models/model_uri_scheme.go | 21 + models/models/model_ursp_rule_request.go | 22 + models/models/model_usage.go | 24 + models/models/model_usage_mon_data.go | 31 + models/models/model_usage_mon_data_limit.go | 31 + models/models/model_usage_mon_data_scope.go | 19 + models/models/model_usage_mon_level.go | 21 + models/models/model_usage_monitoring_data.go | 45 + models/models/model_usage_threshold.go | 25 + models/models/model_usage_threshold_rm.go | 25 + models/models/model_user_consent.go | 21 + .../model_user_data_congestion_collection.go | 29 + .../models/model_user_data_congestion_info.go | 20 + models/models/model_user_identifier.go | 27 + models/models/model_user_location.go | 22 + models/models/model_user_plane_event.go | 31 + .../models/model_user_plane_event_report.go | 27 + .../model_user_plane_notification_data.go | 21 + models/models/model_user_state_cs.go | 23 + models/models/model_user_state_ps.go | 26 + models/models/model_utra_location.go | 33 + models/models/model_uuaa_mm_status.go | 22 + models/models/model_v2x_capability.go | 19 + models/models/model_v2x_context.go | 24 + models/models/model_v2x_information.go | 18 + models/models/model_v2x_subscription_data.go | 22 + models/models/model_valid_time_period.go | 24 + models/models/model_var_snssai.go | 16 + models/models/model_variable_part.go | 20 + models/models/model_variable_part_type.go | 24 + models/models/model_velocity_estimate.go | 28 + models/models/model_velocity_requested.go | 21 + .../models/model_vendor_specific_feature.go | 19 + models/models/model_vertical_direction.go | 21 + models/models/model_vgmlc_address.go | 21 + models/models/model_virtual_resource.go | 19 + models/models/model_vn_group_data.go | 21 + models/models/model_volume_timed_report.go | 29 + models/models/model_vplmn_qos.go | 29 + models/models/model_vsmf_update_data.go | 55 + models/models/model_vsmf_update_error.go | 37 + models/models/model_vsmf_updated_data.go | 37 + models/models/model_w_agf_info.go | 21 + models/models/model_websock_notif_config.go | 21 + models/models/model_wireline_area.go | 23 + ...model_wireline_service_area_restriction.go | 19 + .../models/model_wlan_ordering_criterion.go | 24 + .../model_wlan_per_ss_id_performance_info.go | 19 + .../model_wlan_per_ts_performance_info.go | 33 + models/models/model_wlan_performance_info.go | 19 + models/models/model_wlan_performance_req.go | 21 + models/pfd_failure_code.go | 25 + models_nef/model_af_ack_info.go | 18 - models_nef/model_af_result_info.go | 20 - models_nef/model_af_result_status.go | 20 - models_nef/model_domain_name_protocol.go | 20 - models_nef/model_ellipsoid_arc_all_of.go | 28 - models_nef/model_event_notification.go | 48 - models_nef/model_failure_code.go | 22 - models_nef/model_ipv6_addr_2.go | 12 - models_nef/model_ipv6_prefix.go | 12 - models_nef/model_location_area.go | 34 - models_nef/model_location_area5_g.go | 24 - models_nef/model_point_all_of.go | 18 - models_nef/model_point_altitude_all_of.go | 20 - ...model_point_altitude_uncertainty_all_of.go | 26 - .../model_point_uncertainty_circle_all_of.go | 20 - .../model_point_uncertainty_ellipse_all_of.go | 22 - models_nef/model_polygon_all_of.go | 18 - models_nef/model_traffic_influ_sub.go | 86 - models_nef/model_traffic_influ_sub_patch.go | 39 - models_nef/model_user_plane_location_area.go | 19 - multipart_related.go | 12 +- ...ession_with_required_qo_s_subscriptions.go | 570 + ...session_with_required_qo_s_subscription.go | 744 + nef/AsSessionWithQoS/client.go | 42 + nef/AsSessionWithQoS/configuration.go | 82 + nef/Authentication/api_uav_authentication.go | 284 + nef/Authentication/client.go | 40 + nef/Authentication/configuration.go | 82 + .../api_individual_subscription_document.go | 369 + .../api_subscriptions_collection.go | 390 + nef/EASDeployment/client.go | 42 + nef/EASDeployment/configuration.go | 82 + .../api_individual_subscription_document.go | 583 + .../api_subscriptions_collection.go | 390 + nef/EventExposure/client.go | 42 + nef/EventExposure/configuration.go | 82 + .../api_individual_application_pfd.go | 220 + .../api_individual_pfd_subscription.go | 399 + nef/PFDmanagement/api_pfd_of_applications.go | 204 + ...i_pfd_of_applications_by_partial_update.go | 206 + nef/PFDmanagement/api_pfd_subscriptions.go | 581 + nef/PFDmanagement/client.go | 48 + nef/PFDmanagement/configuration.go | 82 + .../api_individual_sm_context_document.go | 517 + .../api_sm_contexts_collection_collection.go | 373 + nef/SMContext/client.go | 42 + nef/SMContext/configuration.go | 82 + ...d_mosms_message_and_the_delivery_report.go | 154 + nef/SMService/client.go | 40 + nef/SMService/configuration.go | 82 + ...dividual_traffic_influence_subscription.go | 737 + .../api_traffic_influence_subscription.go | 539 + nef/TrafficInfluence/client.go | 42 + nef/TrafficInfluence/configuration.go | 82 + nrf/AccessToken/api_access_token_request.go | 420 + nrf/AccessToken/client.go | 40 + nrf/AccessToken/configuration.go | 82 + .../api_bootstrapping_request.go | 165 + nrf/Bootstrapping/client.go | 40 + nrf/Bootstrapping/configuration.go | 82 + .../api_complete_stored_search_document.go | 156 + ...uting_information_subscription_document.go | 205 + nrf/NFDiscovery/api_nf_instances_store.go | 1414 ++ ...scp_domain_routing_information_document.go | 229 + ...ng_information_subscriptions_collection.go | 417 + nrf/NFDiscovery/api_stored_search_document.go | 156 + nrf/NFDiscovery/client.go | 50 + nrf/NFDiscovery/configuration.go | 82 + .../api_nf_instance_id_document.go | 916 ++ nrf/NFManagement/api_nf_instances_store.go | 436 + .../api_subscription_id_document.go | 449 + .../api_subscriptions_collection.go | 457 + nrf/NFManagement/client.go | 46 + nrf/NFManagement/configuration.go | 82 + nrf/service.go | 296 + nrf/service_test.go | 27 + .../api_nf_instance_id_document.go | 642 + .../api_nssai_availability_store.go | 200 + .../api_subscription_id_document.go | 402 + .../api_subscriptions_collection.go | 417 + nssf/NSSAIAvailability/client.go | 46 + nssf/NSSAIAvailability/configuration.go | 82 + .../api_network_slice_information_document.go | 274 + nssf/NSSelection/client.go | 40 + nssf/NSSelection/configuration.go | 82 + .../api_nwdaf_analytics_document.go | 228 + .../api_nwdaf_context_document.go | 203 + nwdaf/AnalyticsInfo/client.go | 42 + nwdaf/AnalyticsInfo/configuration.go | 82 + ...f_data_management_subscription_document.go | 401 + .../api_subscriptions_collection.go | 390 + nwdaf/DataManagement/client.go | 42 + nwdaf/DataManagement/configuration.go | 82 + ...af_event_subscription_transfer_document.go | 410 + ...dual_nwdaf_events_subscription_document.go | 417 + ...event_subscription_transfers_collection.go | 202 + ...i_nwdaf_events_subscriptions_collection.go | 390 + nwdaf/EventsSubscription/client.go | 46 + nwdaf/EventsSubscription/configuration.go | 82 + ...l_model_provision_subscription_document.go | 401 + .../api_subscriptions_collection.go | 390 + nwdaf/MLModelProvision/client.go | 42 + nwdaf/MLModelProvision/configuration.go | 82 + oauth/get_token_context.go | 45 +- ..._am_policy_events_subscription_document.go | 593 + .../api_application_am_contexts_collection.go | 574 + ...ividual_application_am_context_document.go | 758 + pcf/AMPolicyAuthorization/client.go | 44 + pcf/AMPolicyAuthorization/configuration.go | 82 + .../api_am_policy_associations_collection.go | 581 + ...dividual_am_policy_association_document.go | 572 + pcf/AMPolicyControl/client.go | 42 + pcf/AMPolicyControl/configuration.go | 82 + .../api_bdt_policies_collection.go | 393 + .../api_individual_bdt_policy_document.go | 408 + pcf/BDTPolicyControl/client.go | 42 + pcf/BDTPolicyControl/configuration.go | 82 + ...cy_control_events_subscription_document.go | 574 + ..._control_events_subscription_collection.go | 390 + pcf/EventExposure/client.go | 42 + pcf/EventExposure/configuration.go | 82 + ...bs_application_session_context_document.go | 555 + ...application_session_contexts_collection.go | 207 + pcf/MBSPolicyAuthorization/client.go | 42 + pcf/MBSPolicyAuthorization/configuration.go | 82 + .../api_individual_mbs_policy_document.go | 575 + .../api_mbs_policies_collection.go | 220 + pcf/MBSPolicyControl/client.go | 42 + pcf/MBSPolicyControl/configuration.go | 82 + .../api_application_sessions_collection.go | 948 ++ .../api_events_subscription_document.go | 593 + ...al_application_session_context_document.go | 803 ++ .../api_pcscf_restoration_indication.go | 222 + pcf/PolicyAuthorization/client.go | 46 + pcf/PolicyAuthorization/configuration.go | 82 + .../api_individual_sm_policy_document.go | 604 + .../api_sm_policies_collection.go | 587 + pcf/SMPolicyControl/client.go | 42 + pcf/SMPolicyControl/configuration.go | 82 + ...dividual_ue_policy_association_document.go | 572 + .../api_ue_policy_associations_collection.go | 581 + pcf/UEPolicyControl/client.go | 42 + pcf/UEPolicyControl/configuration.go | 82 + problem_details.go | 17 + .../api_individual_subscription_document.go | 574 + .../api_subscriptions_collection.go | 390 + smf/EventExposure/client.go | 42 + smf/EventExposure/configuration.go | 82 + smf/NIDD/api_individual_pdu_session.go | 237 + smf/NIDD/client.go | 40 + smf/NIDD/configuration.go | 82 + .../api_individual_pdu_session_hsmf_or_smf.go | 829 ++ smf/PDUSession/api_individual_sm_context.go | 833 ++ smf/PDUSession/api_pdu_sessions_collection.go | 1360 ++ smf/PDUSession/api_sm_contexts_collection.go | 407 + smf/PDUSession/client.go | 46 + smf/PDUSession/configuration.go | 82 + supported_feature_test.go | 42 +- .../api_create_ee_subscription.go | 606 + .../api_delete_ee_subscription.go | 155 + .../api_update_ee_subscription.go | 162 + udm/EventExposure/client.go | 44 + udm/EventExposure/configuration.go | 82 + udm/MT/api_provide_ue_location.go | 170 + udm/MT/api_query_ue_info.go | 184 + udm/MT/client.go | 42 + udm/MT/configuration.go | 82 + ...uthorize_the_nidd_configuration_request.go | 258 + udm/NIDDAuthentication/client.go | 40 + udm/NIDDAuthentication/configuration.go | 82 + .../api_class5_gmbs_group_creation.go | 213 + .../api_class5_gmbs_group_deletion.go | 181 + .../api_class5_gmbs_group_modification.go | 386 + .../api_class5_gvn_group_creation.go | 165 + .../api_class5_gvn_group_deletion.go | 174 + .../api_class5_gvn_group_modification.go | 312 + ...ameter_provisioning_data_entry_document.go | 458 + .../api_subscription_data_update.go | 180 + udm/ParameterProvision/client.go | 54 + udm/ParameterProvision/configuration.go | 82 + .../api_report_sm_delivery_status.go | 157 + udm/ReportSMDeliveryStatus/client.go | 40 + udm/ReportSMDeliveryStatus/configuration.go | 82 + ...i_service_specific_authorization_remove.go | 227 + ..._service_specific_authorization_request.go | 264 + udm/ServiceSpecificAuthorization/client.go | 42 + .../configuration.go | 82 + ...nd_mobility_subscription_data_retrieval.go | 214 + ..._class5_mbs_subscription_data_retrieval.go | 187 + ...ced_coverage_restriction_data_retrieval.go | 187 + ...translation_or_supi_to_gpsi_translation.go | 235 + .../api_group_identifiers.go | 221 + ...oadcast_assistance_data_types_retrieval.go | 195 + ...pi_lcs_mobile_originated_data_retrieval.go | 187 + .../api_lcs_privacy_data_retrieval.go | 187 + .../api_multiple_identifiers.go | 210 + .../api_prose_subscription_data_retrieval.go | 187 + ...providing_acknowledgement_of_cag_update.go | 152 + ...ding_acknowledgement_of_snssa_is_update.go | 152 + ..._acknowledgement_of_steering_of_roaming.go | 152 + ...acknowledgement_of_ue_parameters_update.go | 152 + .../api_retrieval_of_multiple_data_sets.go | 216 + .../api_retrieval_of_shared_data.go | 202 + ...retrieval_of_the_individual_shared_data.go | 187 + ..._management_subscription_data_retrieval.go | 211 + ...e_selection_subscription_data_retrieval.go | 203 + ...f_selection_subscription_data_retrieval.go | 203 + ..._management_subscription_data_retrieval.go | 195 + .../api_sms_subscription_data_retrieval.go | 195 + ...on_data_change_notify_callback_document.go | 168 + .../api_subscription_creation.go | 452 + ...i_subscription_creation_for_shared_data.go | 278 + .../api_subscription_deletion.go | 155 + ...i_subscription_deletion_for_shared_data.go | 149 + .../api_subscription_modification.go | 332 + .../api_trace_configuration_data_retrieval.go | 195 + .../api_trigger_sor_info_update.go | 165 + .../api_ue_context_in_amf_data_retrieval.go | 163 + .../api_ue_context_in_smf_data_retrieval.go | 163 + .../api_ue_context_in_smsf_data_retrieval.go | 163 + ...ser_consent_subscription_data_retrieval.go | 195 + .../api_v2_x_subscription_data_retrieval.go | 187 + udm/SubscriberDataManagement/client.go | 106 + udm/SubscriberDataManagement/configuration.go | 82 + udm/UEAuthentication/api_confirm_auth.go | 308 + udm/UEAuthentication/api_delete_auth.go | 163 + .../api_generate_auth_data.go | 178 + ...api_generate_gba_authentication_vectors.go | 178 + ...api_generate_hss_authentication_vectors.go | 184 + ..._generate_pro_se_authentication_vectors.go | 178 + .../api_get_auth_data_for_fnrg.go | 207 + udm/UEAuthentication/client.go | 52 + udm/UEAuthentication/configuration.go | 82 + ..._gpp_access_registration_info_retrieval.go | 171 + ..._gpp_access_registration_info_retrieval.go | 171 + .../api_amf_registration_for3_gpp_access.go | 604 + ...pi_amf_registration_for_non3_gpp_access.go | 596 + .../api_ipsmgw_deregistration.go | 149 + .../api_ipsmgw_registration.go | 180 + .../api_ipsmgw_registration_info_retrieval.go | 162 + .../api_nwdaf_deregistration.go | 155 + .../api_nwdaf_registration.go | 184 + .../api_nwdaf_registration_info_retrieval.go | 179 + ...in_the_amf_registration_for3_gpp_access.go | 188 + ...he_amf_registration_for_non3_gpp_access.go | 188 + ...ameter_update_in_the_nwdaf_registration.go | 194 + ...arameter_update_in_the_smf_registration.go | 186 + udm/UEContextManagement/api_pei_update.go | 165 + .../api_retrieve_smf_registration.go | 168 + .../api_roaming_information_update.go | 174 + ...i_send_routing_info_sm_custom_operation.go | 170 + .../api_smf_deregistration.go | 180 + .../api_smf_smf_registration.go | 759 + ..._gpp_access_registration_info_retrieval.go | 171 + ...api_smsf_deregistration_for3_gpp_access.go | 175 + ...smsf_deregistration_for_non3_gpp_access.go | 175 + ..._gpp_access_registration_info_retrieval.go | 171 + .../api_smsf_registration_for3_gpp_access.go | 327 + ...i_smsf_registration_for_non3_gpp_access.go | 327 + ...gger_amf_for3_gpp_access_deregistration.go | 165 + .../api_trigger_pcscf_restoration.go | 167 + .../api_ue_location_information_retrieval.go | 171 + .../api_uecm_registration_info_retrieval.go | 200 + udm/UEContextManagement/client.go | 98 + udm/UEContextManagement/configuration.go | 82 + udm/UEID/api_deconceal.go | 172 + udm/UEID/client.go | 40 + udm/UEID/configuration.go | 82 + .../api_access_and_mobility_data.go | 705 + ...ccess_and_mobility_policy_data_document.go | 180 + ...and_mobility_subscription_data_document.go | 171 + ...i_amf3_gpp_access_registration_document.go | 362 + ...pi_amf_group_subscription_info_document.go | 137 + ...f_non3_gpp_access_registration_document.go | 362 + .../api_amf_subscription_info_document.go | 278 + ...plication_data_subscriptions_collection.go | 528 + udr/DataRepository/api_auth_event_document.go | 227 + .../api_authentication_data_document.go | 130 + .../api_authentication_so_r_document.go | 350 + .../api_authentication_status_document.go | 124 + ...pi_authentication_subscription_document.go | 148 + .../api_authentication_upu_document.go | 232 + udr/DataRepository/api_bdt_data_store.go | 194 + .../api_bdt_policy_data_store.go | 216 + .../api_cag_update_ack_document.go | 132 + udr/DataRepository/api_cagack_document.go | 130 + ...lass5_g_vn_group_configuration_document.go | 138 + .../api_class5_gmbs_group_store.go | 191 + ...pi_class5_gmbs_groups_internal_document.go | 193 + ...api_class5_gvn_groups_internal_document.go | 126 + .../api_class5_gvn_groups_store.go | 124 + ...i_class5_mbs_subscription_data_document.go | 154 + .../api_context_data_document.go | 135 + udr/DataRepository/api_delete5_g_vn_group.go | 115 + udr/DataRepository/api_delete5_gmbs_group.go | 181 + .../api_enhanced_coverage_restriction_data.go | 154 + ...pi_event_amf_subscription_info_document.go | 213 + .../api_event_exposure_data_document.go | 138 + ...vent_exposure_data_for_a_group_document.go | 130 + ...nt_exposure_group_subscription_document.go | 460 + ...exposure_group_subscriptions_collection.go | 231 + ...pi_event_exposure_subscription_document.go | 460 + ...event_exposure_subscriptions_collection.go | 253 + ..._exposure_data_subscriptions_collection.go | 367 + udr/DataRepository/api_group_identifiers.go | 157 + ..._event_group_subscription_info_document.go | 137 + ...pi_hss_event_subscription_info_document.go | 763 + .../api_hsssdm_subscription_info_document.go | 443 + ..._application_data_subscription_document.go | 513 + ...vidual_applied_bdt_policy_data_document.go | 545 + .../api_individual_auth_event_document.go | 239 + ...dividual_authentication_status_document.go | 130 + .../api_individual_bdt_data_document.go | 704 + ...ual_exposure_data_subscription_document.go | 355 + .../api_individual_influence_data_document.go | 553 + ...al_influence_data_subscription_document.go | 513 + ...vidual_iptv_configuration_data_document.go | 561 + .../api_individual_pfd_data_document.go | 530 + ...idual_policy_data_subscription_document.go | 355 + ...ividual_service_parameter_data_document.go | 553 + .../api_influence_data_store.go | 246 + ...influence_data_subscriptions_collection.go | 544 + .../api_ipsmgw_registration_document.go | 432 + .../api_iptv_configuration_data_store.go | 238 + ..._broadcast_assistance_subscription_data.go | 161 + ...lcs_mobile_originated_subscription_data.go | 165 + .../api_lcs_privacy_subscription_data.go | 165 + .../api_message_waiting_data_document.go | 441 + udr/DataRepository/api_modify5_g_vn_group.go | 148 + udr/DataRepository/api_modify5_gmbs_group.go | 228 + .../api_multicast_mbs_group_memb_document.go | 218 + .../api_nidd_authorization_info_document.go | 426 + .../api_nssai_update_ack_document.go | 132 + udr/DataRepository/api_nssaiack_document.go | 130 + ...erator_specific_data_container_document.go | 498 + .../api_operator_specific_data_document.go | 723 + .../api_parameter_provision_document.go | 163 + ...rameter_provision_profile_data_document.go | 130 + ...n_profile_data_for5_gmbs_group_document.go | 202 + ...on_profile_data_for5_gvn_group_document.go | 135 + .../api_pdu_session_management_data.go | 583 + udr/DataRepository/api_pfd_data_store.go | 202 + .../api_plmn_ue_policy_set_document.go | 188 + ..._policy_data_for_individual_ue_document.go | 200 + ...pi_policy_data_subscriptions_collection.go | 367 + .../api_pro_se_service_subscription_data.go | 154 + .../api_provisioned_data_document.go | 139 + ...api_provisioned_parameter_data_document.go | 148 + ...ioned_parameter_data_entries_collection.go | 171 + ...uery5_g_vn_group_configuration_document.go | 121 + ...pi_query_amf_subscription_info_document.go | 224 + ..._identity_data_by_supi_or_gpsi_document.go | 163 + ...query_multicast_mbs_group_memb_document.go | 188 + ...i_or_external_group_identifier_document.go | 201 + ...query_odb_data_by_supi_or_gpsi_document.go | 121 + ...ce_specific_authorization_data_document.go | 205 + ...api_retrieval_of_individual_shared_data.go | 178 + .../api_retrieval_of_shared_data.go | 170 + ...ormation_of_the5_gcepc_domains_document.go | 121 + ..._information_of_the_epc_domain_document.go | 121 + .../api_sdm_subscription_document.go | 469 + .../api_sdm_subscriptions_collection.go | 231 + .../api_service_parameter_data_store.go | 287 + ...ce_specific_authorization_info_document.go | 450 + ...session_management_policy_data_document.go | 406 + ...pi_session_management_subscription_data.go | 187 + ..._event_group_subscription_info_document.go | 137 + ...pi_smf_event_subscription_info_document.go | 763 + .../api_smf_registration_document.go | 472 + .../api_smf_registrations_collection.go | 130 + ...mf_selection_subscription_data_document.go | 171 + ...s_management_subscription_data_document.go | 160 + .../api_sms_subscription_data_document.go | 160 + .../api_smsf3_gpp_registration_document.go | 336 + ...api_smsf_non3_gpp_registration_document.go | 336 + .../api_sponsor_connectivity_data_document.go | 182 + .../api_subs_to_notify_collection.go | 424 + .../api_subs_to_notify_document.go | 333 + .../api_subscriptions_collection.go | 225 + udr/DataRepository/api_trace_data_document.go | 151 + .../api_u_es_location_information_document.go | 130 + .../api_ue_policy_set_document.go | 554 + ...ormation_of_the5_gcepc_domains_document.go | 133 + ..._information_of_the_epc_domain_document.go | 133 + ...i_usage_monitoring_information_document.go | 550 + udr/DataRepository/api_user_consent_data.go | 162 + .../api_v2_x_subscription_data.go | 154 + udr/DataRepository/client.go | 278 + udr/DataRepository/configuration.go | 82 + udr/GroupIDmap/api_nf_group_i_ds_document.go | 148 + udr/GroupIDmap/client.go | 40 + udr/GroupIDmap/configuration.go | 82 + .../api_charging_info_retrieval.go | 166 + .../api_ims_profile_data_retrieval.go | 193 + ...al_of_associated_ims_private_identities.go | 179 + ...val_of_associated_ims_public_identities.go | 180 + ...i_scscf_registration_and_deregistration.go | 179 + udr/ImsDataRepository/client.go | 64 + udr/ImsDataRepository/configuration.go | 78 + udsf/DataRepository/api_block_crud.go | 864 ++ udsf/DataRepository/api_meta_schema_crud.go | 693 + .../api_notification_subscription_crud.go | 1135 ++ .../api_notification_subscriptions_crud.go | 208 + udsf/DataRepository/api_record_crud.go | 1621 +++ udsf/DataRepository/client.go | 48 + udsf/DataRepository/configuration.go | 82 + udsf/Timer/api_timer_get.go | 192 + udsf/Timer/api_timer_search.go | 212 + udsf/Timer/api_timer_start.go | 317 + udsf/Timer/api_timer_stop.go | 186 + udsf/Timer/api_timer_update.go | 201 + udsf/Timer/api_timers_delete.go | 211 + udsf/Timer/client.go | 50 + udsf/Timer/configuration.go | 82 + util.go | 447 + util_test.go | 180 +- 4663 files changed, 204909 insertions(+), 110639 deletions(-) delete mode 100644 Namf_Communication/.gitignore delete mode 100644 Namf_Communication/.openapi-generator/VERSION delete mode 100644 Namf_Communication/CHANGELOG.md delete mode 100644 Namf_Communication/api/openapi.yaml delete mode 100644 Namf_Communication/api_individual_subscription_document.go delete mode 100644 Namf_Communication/api_individual_ue_context_document.go delete mode 100644 Namf_Communication/api_individual_ue_context_n2_message_notify_callback_document.go delete mode 100644 Namf_Communication/api_n1_n2_individual_subscription_document.go delete mode 100644 Namf_Communication/api_n1_n2_message_collection_document.go delete mode 100644 Namf_Communication/api_n1_n2_message_n1_message_notify_callback_document.go delete mode 100644 Namf_Communication/api_n1_n2_message_n2_message_notify_callback_document.go delete mode 100644 Namf_Communication/api_n1_n2_message_transfer_status_notification_callback_document.go delete mode 100644 Namf_Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_document.go delete mode 100644 Namf_Communication/api_non_uen2_message_notification_individual_subscription_document.go delete mode 100644 Namf_Communication/api_non_uen2_messages_collection_document.go delete mode 100644 Namf_Communication/api_non_uen2_messages_subscriptions_collection_document.go delete mode 100644 Namf_Communication/api_subscriptions_collection_document.go delete mode 100644 Namf_Communication/api_subscriptions_collection_document_amf_status_change_notify_callback_document.go delete mode 100644 Namf_Communication/client.go delete mode 100644 Namf_Communication/configuration.go delete mode 100644 Namf_EventExposure/.gitignore delete mode 100644 Namf_EventExposure/CHANGELOG.md delete mode 100644 Namf_EventExposure/api/openapi.yaml delete mode 100644 Namf_EventExposure/api_individual_subscription_document.go delete mode 100644 Namf_EventExposure/api_subscriptions_collection_document.go delete mode 100644 Namf_EventExposure/client.go delete mode 100644 Namf_EventExposure/configuration.go delete mode 100644 Namf_Location/.gitignore delete mode 100644 Namf_Location/CHANGELOG.md delete mode 100644 Namf_Location/api_individual_ue_context_document.go delete mode 100644 Namf_Location/client.go delete mode 100644 Namf_Location/configuration.go delete mode 100644 Namf_MT/.gitignore delete mode 100644 Namf_MT/CHANGELOG.md delete mode 100644 Namf_MT/api_ue_context_document.go delete mode 100644 Namf_MT/api_ue_reach_ind_document.go delete mode 100644 Namf_MT/client.go delete mode 100644 Namf_MT/configuration.go delete mode 100644 Nausf_SoRProtection/.gitignore delete mode 100644 Nausf_SoRProtection/CHANGELOG.md delete mode 100644 Nausf_SoRProtection/api_default.go delete mode 100644 Nausf_SoRProtection/client.go delete mode 100644 Nausf_SoRProtection/configuration.go delete mode 100644 Nausf_UEAuthentication/.gitignore delete mode 100644 Nausf_UEAuthentication/CHANGELOG.md delete mode 100644 Nausf_UEAuthentication/api_default.go delete mode 100644 Nausf_UEAuthentication/client.go delete mode 100644 Nausf_UEAuthentication/configuration.go delete mode 100644 Nausf_UPUProtection/.gitignore delete mode 100644 Nausf_UPUProtection/CHANGELOG.md delete mode 100644 Nausf_UPUProtection/api_default.go delete mode 100644 Nausf_UPUProtection/client.go delete mode 100644 Nausf_UPUProtection/configuration.go delete mode 100644 Nbsf_Management/api_individual_pcf_binding_document.go delete mode 100644 Nbsf_Management/api_pcf_bindings_collection.go delete mode 100644 Nbsf_Management/client.go delete mode 100644 Nbsf_Management/configuration.go delete mode 100644 Nchf_ConvergedCharging/api_default.go delete mode 100644 Nchf_ConvergedCharging/api_default_callback.go delete mode 100644 Nchf_ConvergedCharging/client.go delete mode 100644 Nchf_ConvergedCharging/configuration.go delete mode 100644 Nnef_PFDmanagement/api_individual_application_pfd.go delete mode 100644 Nnef_PFDmanagement/api_individual_pfd_subscription.go delete mode 100644 Nnef_PFDmanagement/api_notification.go delete mode 100644 Nnef_PFDmanagement/api_pfd_of_applications.go delete mode 100644 Nnef_PFDmanagement/api_pfd_subscriptions.go delete mode 100644 Nnef_PFDmanagement/client.go delete mode 100644 Nnef_PFDmanagement/configuration.go delete mode 100644 Nnef_TrafficInfluence/api_individual_traffic_influence_subscription.go delete mode 100644 Nnef_TrafficInfluence/api_traffic_influence_subscription.go delete mode 100644 Nnef_TrafficInfluence/client.go delete mode 100644 Nnef_TrafficInfluence/configuration.go delete mode 100644 Nnrf_AccessToken/.gitignore delete mode 100644 Nnrf_AccessToken/CHANGELOG.md delete mode 100644 Nnrf_AccessToken/api/openapi.yaml delete mode 100644 Nnrf_AccessToken/api_access_token_request.go delete mode 100644 Nnrf_AccessToken/client.go delete mode 100644 Nnrf_AccessToken/configuration.go delete mode 100644 Nnrf_NFDiscovery/.gitignore delete mode 100644 Nnrf_NFDiscovery/CHANGELOG.md delete mode 100644 Nnrf_NFDiscovery/api/openapi.yaml delete mode 100644 Nnrf_NFDiscovery/api_nf_instances_store.go delete mode 100644 Nnrf_NFDiscovery/client.go delete mode 100644 Nnrf_NFDiscovery/configuration.go delete mode 100644 Nnrf_NFManagement/.gitignore delete mode 100644 Nnrf_NFManagement/CHANGELOG.md delete mode 100644 Nnrf_NFManagement/api/openapi.yaml delete mode 100644 Nnrf_NFManagement/api_nf_instance_id_document.go delete mode 100644 Nnrf_NFManagement/api_nf_instances_store.go delete mode 100644 Nnrf_NFManagement/api_notification.go delete mode 100644 Nnrf_NFManagement/api_subscription_id_document.go delete mode 100644 Nnrf_NFManagement/api_subscriptions_collection.go delete mode 100644 Nnrf_NFManagement/client.go delete mode 100644 Nnrf_NFManagement/configuration.go delete mode 100644 Nnssf_NSSAIAvailability/.gitignore delete mode 100644 Nnssf_NSSAIAvailability/CHANGELOG.md delete mode 100644 Nnssf_NSSAIAvailability/api/openapi.yaml delete mode 100644 Nnssf_NSSAIAvailability/api_nf_instance_id_document.go delete mode 100644 Nnssf_NSSAIAvailability/api_notification.go delete mode 100644 Nnssf_NSSAIAvailability/api_subscription_id_document.go delete mode 100644 Nnssf_NSSAIAvailability/api_subscriptions_collection.go delete mode 100644 Nnssf_NSSAIAvailability/client.go delete mode 100644 Nnssf_NSSAIAvailability/configuration.go delete mode 100644 Nnssf_NSSelection/.gitignore delete mode 100644 Nnssf_NSSelection/CHANGELOG.md delete mode 100644 Nnssf_NSSelection/api/openapi.yaml delete mode 100644 Nnssf_NSSelection/api_network_slice_information_document.go delete mode 100644 Nnssf_NSSelection/client.go delete mode 100644 Nnssf_NSSelection/configuration.go delete mode 100644 Npcf_AMPolicy/.gitignore delete mode 100644 Npcf_AMPolicy/CHANGELOG.md delete mode 100644 Npcf_AMPolicy/api_default.go delete mode 100644 Npcf_AMPolicy/api_default_callback.go delete mode 100644 Npcf_AMPolicy/client.go delete mode 100644 Npcf_AMPolicy/configuration.go delete mode 100644 Npcf_BDTPolicyControl/.gitignore delete mode 100644 Npcf_BDTPolicyControl/CHANGELOG.md delete mode 100644 Npcf_BDTPolicyControl/api_bdt_policies_collection.go delete mode 100644 Npcf_BDTPolicyControl/api_individual_bdt_policy_document.go delete mode 100644 Npcf_BDTPolicyControl/client.go delete mode 100644 Npcf_BDTPolicyControl/configuration.go delete mode 100644 Npcf_PolicyAuthorization/.gitignore delete mode 100644 Npcf_PolicyAuthorization/CHANGELOG.md delete mode 100644 Npcf_PolicyAuthorization/api_application_sessions_collection.go delete mode 100644 Npcf_PolicyAuthorization/api_eventNotification_callback.go delete mode 100644 Npcf_PolicyAuthorization/api_events_subscription_document.go delete mode 100644 Npcf_PolicyAuthorization/api_individual_application_session_context_document.go delete mode 100644 Npcf_PolicyAuthorization/api_terminationRequest_callback.go delete mode 100644 Npcf_PolicyAuthorization/client.go delete mode 100644 Npcf_PolicyAuthorization/configuration.go delete mode 100644 Npcf_SMPolicyControl/.gitignore delete mode 100644 Npcf_SMPolicyControl/CHANGELOG.md delete mode 100644 Npcf_SMPolicyControl/api_dafult_notify_callback.go delete mode 100644 Npcf_SMPolicyControl/api_default.go delete mode 100644 Npcf_SMPolicyControl/client.go delete mode 100644 Npcf_SMPolicyControl/configuration.go delete mode 100644 Npcf_UEPolicy/.gitignore delete mode 100644 Npcf_UEPolicy/CHANGELOG.md delete mode 100644 Npcf_UEPolicy/api_default.go delete mode 100644 Npcf_UEPolicy/client.go delete mode 100644 Npcf_UEPolicy/configuration.go delete mode 100644 Nsmf_EventExposure/.gitignore delete mode 100644 Nsmf_EventExposure/api_default.go delete mode 100644 Nsmf_EventExposure/client.go delete mode 100644 Nsmf_EventExposure/configuration.go delete mode 100644 Nsmf_PDUSession/.gitignore delete mode 100644 Nsmf_PDUSession/CHANGELOG.md delete mode 100644 Nsmf_PDUSession/api/openapi.yaml delete mode 100644 Nsmf_PDUSession/api_individual_pdu_session_hsmf.go delete mode 100644 Nsmf_PDUSession/api_individual_sm_context.go delete mode 100644 Nsmf_PDUSession/api_individual_sm_context_callback.go delete mode 100644 Nsmf_PDUSession/api_pdu_sessions_collection.go delete mode 100644 Nsmf_PDUSession/api_sm_contexts_collection.go delete mode 100644 Nsmf_PDUSession/client.go delete mode 100644 Nsmf_PDUSession/configuration.go delete mode 100644 Nsmf_PDUSession/errors.go delete mode 100644 Nudm_EventExposure/.gitignore delete mode 100644 Nudm_EventExposure/CHANGELOG.md delete mode 100644 Nudm_EventExposure/api/openapi.yaml delete mode 100644 Nudm_EventExposure/api_create_ee_subscription.go delete mode 100644 Nudm_EventExposure/api_delete_ee_subscription.go delete mode 100644 Nudm_EventExposure/api_update_ee_subscription.go delete mode 100644 Nudm_EventExposure/client.go delete mode 100644 Nudm_EventExposure/configuration.go delete mode 100644 Nudm_ParameterProvision/.gitignore delete mode 100644 Nudm_ParameterProvision/CHANGELOG.md delete mode 100644 Nudm_ParameterProvision/api/openapi.yaml delete mode 100644 Nudm_ParameterProvision/api_subscription_data_update.go delete mode 100644 Nudm_ParameterProvision/client.go delete mode 100644 Nudm_ParameterProvision/configuration.go delete mode 100644 Nudm_SubscriberDataManagement/.gitignore delete mode 100644 Nudm_SubscriberDataManagement/CHANGELOG.md delete mode 100644 Nudm_SubscriberDataManagement/api/openapi.yaml delete mode 100644 Nudm_SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_gpsi_to_supi_translation.go delete mode 100644 Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go delete mode 100644 Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go delete mode 100644 Nudm_SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go delete mode 100644 Nudm_SubscriberDataManagement/api_retrieval_of_shared_data.go delete mode 100644 Nudm_SubscriberDataManagement/api_session_management_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_sms_subscription_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go delete mode 100644 Nudm_SubscriberDataManagement/api_subscription_creation.go delete mode 100644 Nudm_SubscriberDataManagement/api_subscription_creation_for_shared_data.go delete mode 100644 Nudm_SubscriberDataManagement/api_subscription_deletion.go delete mode 100644 Nudm_SubscriberDataManagement/api_subscription_deletion_for_shared_data.go delete mode 100644 Nudm_SubscriberDataManagement/api_subscription_modification.go delete mode 100644 Nudm_SubscriberDataManagement/api_trace_configuration_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go delete mode 100644 Nudm_SubscriberDataManagement/client.go delete mode 100644 Nudm_SubscriberDataManagement/configuration.go delete mode 100644 Nudm_UEAuthentication/.gitignore delete mode 100644 Nudm_UEAuthentication/CHANGELOG.md delete mode 100644 Nudm_UEAuthentication/api/openapi.yaml delete mode 100644 Nudm_UEAuthentication/api_confirm_auth.go delete mode 100644 Nudm_UEAuthentication/api_generate_auth_data.go delete mode 100644 Nudm_UEAuthentication/client.go delete mode 100644 Nudm_UEAuthentication/configuration.go delete mode 100644 Nudm_UEContextManagement/.gitignore delete mode 100644 Nudm_UEContextManagement/CHANGELOG.md delete mode 100644 Nudm_UEContextManagement/api/openapi.yaml delete mode 100644 Nudm_UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go delete mode 100644 Nudm_UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go delete mode 100644 Nudm_UEContextManagement/api_amf_registration_for3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_amf_registration_for_non3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_deregistrationNotification.go delete mode 100644 Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_smf_deregistration.go delete mode 100644 Nudm_UEContextManagement/api_smf_registration.go delete mode 100644 Nudm_UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go delete mode 100644 Nudm_UEContextManagement/api_smsf_deregistration_for3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go delete mode 100644 Nudm_UEContextManagement/api_smsf_registration_for3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/api_smsf_registration_for_non3_gpp_access.go delete mode 100644 Nudm_UEContextManagement/client.go delete mode 100644 Nudm_UEContextManagement/configuration.go delete mode 100644 Nudr_DataRepository/.gitignore delete mode 100644 Nudr_DataRepository/CHANGELOG.md delete mode 100644 Nudr_DataRepository/api/openapi.yaml delete mode 100644 Nudr_DataRepository/api_access_and_mobility_data.go delete mode 100644 Nudr_DataRepository/api_access_and_mobility_subscription_data_document.go delete mode 100644 Nudr_DataRepository/api_amf3_gpp_access_registration_document.go delete mode 100644 Nudr_DataRepository/api_amf_non3_gpp_access_registration_document.go delete mode 100644 Nudr_DataRepository/api_amf_subscription_info_document.go delete mode 100644 Nudr_DataRepository/api_auth_event_document.go delete mode 100644 Nudr_DataRepository/api_authentication_data_document.go delete mode 100644 Nudr_DataRepository/api_authentication_so_r_document.go delete mode 100644 Nudr_DataRepository/api_authentication_status_document.go delete mode 100644 Nudr_DataRepository/api_create_amf_subscription_info_document.go delete mode 100644 Nudr_DataRepository/api_default.go delete mode 100644 Nudr_DataRepository/api_event_amf_subscription_info_document.go delete mode 100644 Nudr_DataRepository/api_event_exposure_data_document.go delete mode 100644 Nudr_DataRepository/api_event_exposure_group_subscriptions_collection.go delete mode 100644 Nudr_DataRepository/api_event_exposure_subscription_document.go delete mode 100644 Nudr_DataRepository/api_event_exposure_subscriptions_collection.go delete mode 100644 Nudr_DataRepository/api_individual_influence_data_document.go delete mode 100644 Nudr_DataRepository/api_individual_influence_data_subscription_document.go delete mode 100644 Nudr_DataRepository/api_influence_data.go delete mode 100644 Nudr_DataRepository/api_influence_data_subscriptions_collection.go delete mode 100644 Nudr_DataRepository/api_operator_specific_data_container_document.go delete mode 100644 Nudr_DataRepository/api_parameter_provision_document.go delete mode 100644 Nudr_DataRepository/api_pdu_session_management_data.go delete mode 100644 Nudr_DataRepository/api_provisioned_data_document.go delete mode 100644 Nudr_DataRepository/api_provisioned_parameter_data_document.go delete mode 100644 Nudr_DataRepository/api_query_amf_subscription_info_document.go delete mode 100644 Nudr_DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go delete mode 100644 Nudr_DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go delete mode 100644 Nudr_DataRepository/api_retrieval_of_shared_data.go delete mode 100644 Nudr_DataRepository/api_sdm_subscription_document.go delete mode 100644 Nudr_DataRepository/api_sdm_subscriptions_collection.go delete mode 100644 Nudr_DataRepository/api_session_management_subscription_data.go delete mode 100644 Nudr_DataRepository/api_smf_registration_document.go delete mode 100644 Nudr_DataRepository/api_smf_registrations_collection.go delete mode 100644 Nudr_DataRepository/api_smf_selection_subscription_data_document.go delete mode 100644 Nudr_DataRepository/api_sms_management_subscription_data_document.go delete mode 100644 Nudr_DataRepository/api_sms_subscription_data_document.go delete mode 100644 Nudr_DataRepository/api_smsf3_gpp_registration_document.go delete mode 100644 Nudr_DataRepository/api_smsf_non3_gpp_registration_document.go delete mode 100644 Nudr_DataRepository/api_subs_to_notify_collection.go delete mode 100644 Nudr_DataRepository/api_subs_to_notify_data_change_notify_callback_document.go delete mode 100644 Nudr_DataRepository/api_subs_to_notify_document.go delete mode 100644 Nudr_DataRepository/api_subs_to_notify_influence_data_update_notify_callback_document.go delete mode 100644 Nudr_DataRepository/api_subs_to_notify_policy_data_change_notify_callback_document.go delete mode 100644 Nudr_DataRepository/api_trace_data_document.go delete mode 100644 Nudr_DataRepository/client.go delete mode 100644 Nudr_DataRepository/configuration.go delete mode 100644 PfdManagement/api_default.go delete mode 100644 PfdManagement/client.go delete mode 100644 PfdManagement/configuration.go create mode 100644 amf/Communication/api_individual_subscription_document.go create mode 100644 amf/Communication/api_individual_ue_context_document.go create mode 100644 amf/Communication/api_n1_n2_individual_subscription_document.go create mode 100644 amf/Communication/api_n1_n2_message_collection_collection.go create mode 100644 amf/Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_collection.go create mode 100644 amf/Communication/api_non_uen2_message_notification_individual_subscription_document.go create mode 100644 amf/Communication/api_non_uen2_messages_collection_collection.go create mode 100644 amf/Communication/api_non_uen2_messages_subscriptions_collection_collection.go create mode 100644 amf/Communication/api_subscriptions_collection_collection.go create mode 100644 amf/Communication/client.go create mode 100644 amf/Communication/configuration.go create mode 100644 amf/EventExposure/api_individual_subscription_document.go create mode 100644 amf/EventExposure/api_subscriptions_collection_collection.go create mode 100644 amf/EventExposure/client.go create mode 100644 amf/EventExposure/configuration.go create mode 100644 amf/Location/api_individual_ue_context_document.go create mode 100644 amf/Location/client.go create mode 100644 amf/Location/configuration.go create mode 100644 amf/MBSBroadcast/api_broadcast_mbs_session_contexts_collection_collection.go create mode 100644 amf/MBSBroadcast/api_individual_broadcast_mbs_session_context_document.go create mode 100644 amf/MBSBroadcast/client.go create mode 100644 amf/MBSBroadcast/configuration.go create mode 100644 amf/MBSCommunication/api_n2_messages_handler_custom_operation.go create mode 100644 amf/MBSCommunication/client.go create mode 100644 amf/MBSCommunication/configuration.go create mode 100644 amf/MT/api_ue_context_document.go create mode 100644 amf/MT/api_ue_contexts_collection.go create mode 100644 amf/MT/api_ue_reach_ind_document.go create mode 100644 amf/MT/client.go create mode 100644 amf/MT/configuration.go create mode 100644 ausf/SoRProtection/api_default.go create mode 100644 ausf/SoRProtection/client.go create mode 100644 ausf/SoRProtection/configuration.go create mode 100644 ausf/UEAuthentication/api_authentication_result_deletion.go create mode 100644 ausf/UEAuthentication/api_default.go create mode 100644 ausf/UEAuthentication/client.go create mode 100644 ausf/UEAuthentication/configuration.go create mode 100644 ausf/UPUProtection/api_default.go create mode 100644 ausf/UPUProtection/client.go create mode 100644 ausf/UPUProtection/configuration.go create mode 100644 chf/ConvergedCharging/api_default.go create mode 100644 chf/ConvergedCharging/client.go create mode 100644 chf/ConvergedCharging/configuration.go create mode 100644 chf/OfflineOnlyCharging/api_default.go create mode 100644 chf/OfflineOnlyCharging/client.go create mode 100644 chf/OfflineOnlyCharging/configuration.go create mode 100644 chf/SpendingLimitControl/api_default.go create mode 100644 chf/SpendingLimitControl/client.go create mode 100644 chf/SpendingLimitControl/configuration.go create mode 100644 client_test.go create mode 100644 lmf/Broadcast/api_request_ciphering_key_data.go create mode 100644 lmf/Broadcast/client.go create mode 100644 lmf/Broadcast/configuration.go create mode 100644 lmf/Location/api_cancel_location.go create mode 100644 lmf/Location/api_determine_location.go create mode 100644 lmf/Location/api_location_context_transfer.go create mode 100644 lmf/Location/client.go create mode 100644 lmf/Location/configuration.go create mode 100644 models/model_3_g_aka_av.go create mode 100644 models/model_5_g_ddnmf_info.go create mode 100644 models/model_5_g_srvcc_info.go create mode 100644 models/model_5_g_vn_group_configuration.go create mode 100644 models/model_5_g_vn_group_data.go create mode 100644 models/model_5_glan_type_service.go create mode 100644 models/model_5_gs_user_state.go create mode 100644 models/model_5_gs_user_state_info.go create mode 100644 models/model_5_mbs_authorization_info.go create mode 100644 models/model_aanf_info.go create mode 100644 models/model_abnormal_behaviour.go create mode 100644 models/model_acceptable_mbs_serv_info.go create mode 100644 models/model_acceptable_service_info.go create mode 100644 models/model_access_net_charging_identifier.go create mode 100644 models/model_access_network_id.go create mode 100644 models/model_access_network_info_change.go create mode 100644 models/model_access_right_status.go create mode 100644 models/model_access_state_transition_type.go create mode 100644 models/model_access_token_req_1.go create mode 100644 models/model_access_transfer_information.go create mode 100644 models/model_access_transfer_type.go create mode 100644 models/model_access_type_1.go create mode 100644 models/model_ack_of_notify.go create mode 100644 models/model_acs_info.go create mode 100644 models/model_acs_info_rm.go create mode 100644 models/model_activation_state.go create mode 100644 models/model_addition_info_analytics_info_request.go create mode 100644 models/model_addition_info_enable_ue_reachability.go create mode 100644 models/model_additional_access_info.go create mode 100644 models/model_additional_ee_subs_info.go create mode 100644 models/model_additional_measurement.go create mode 100644 models/model_additional_snssai_data.go create mode 100644 models/model_addr_fqdn.go create mode 100644 models/model_address_list.go create mode 100644 models/model_administrative_state.go create mode 100644 models/model_adrf_data_type.go create mode 100644 models/model_aerial_ue_indication.go create mode 100644 models/model_aerial_ue_subscription_info.go create mode 100644 models/model_af_ack_info.go create mode 100644 models/model_af_coordination_info.go create mode 100644 models/model_af_event_exposure_af_event.go create mode 100644 models/model_af_event_exposure_af_event_notification.go create mode 100644 models/model_af_event_exposure_data.go create mode 100644 models/model_af_event_exposure_dispersion_collection.go create mode 100644 models/model_af_event_exposure_event_filter.go create mode 100644 models/model_af_event_exposure_notif.go create mode 100644 models/model_af_event_exposure_subsc.go create mode 100644 models/model_af_external.go create mode 100644 models/model_af_location_area.go create mode 100644 models/model_af_location_area5_g.go create mode 100644 models/model_af_requested_data.go create mode 100644 models/model_af_result_info.go create mode 100644 models/model_af_result_status.go create mode 100644 models/model_affinity_anti_affinity.go create mode 100644 models/model_aggregation_level.go create mode 100644 models/model_alert_limit.go create mode 100644 models/model_allowed_mbs_info.go create mode 100644 models/model_allowed_mtc_provider_info.go create mode 100644 models/model_alternative_qos_profile.go create mode 100644 models/model_alternative_service_requirements_data.go create mode 100644 models/model_am_event.go create mode 100644 models/model_am_event_data.go create mode 100644 models/model_am_event_notification.go create mode 100644 models/model_am_events_notification.go create mode 100644 models/model_am_events_subsc_data.go create mode 100644 models/model_am_events_subsc_data_rm.go create mode 100644 models/model_am_events_subsc_resp_data.go create mode 100644 models/model_am_influ_data.go create mode 100644 models/model_am_influ_event.go create mode 100644 models/model_am_policy_association.go create mode 100644 models/model_am_policy_association_release_cause.go create mode 100644 models/model_am_policy_association_request.go create mode 100644 models/model_am_policy_association_update_request.go delete mode 100644 models/model_am_policy_req_trigger.go create mode 100644 models/model_am_policy_request_trigger.go create mode 100644 models/model_am_policy_termination_notification.go create mode 100644 models/model_am_policy_update.go create mode 100644 models/model_am_requested_value_rep.go create mode 100644 models/model_am_termination_cause.go create mode 100644 models/model_am_termination_info.go delete mode 100644 models/model_amf3_gpp_access_registration_eps_interworking_info.go delete mode 100644 models/model_amf3_gpp_access_registration_modification_eps_interworking_info.go create mode 100644 models/model_amf_communication_ec_restriction_data_wb.go create mode 100644 models/model_amf_communication_ngap_ie_type.go create mode 100644 models/model_amf_communication_release_cause.go create mode 100644 models/model_amf_communication_subscription_data.go create mode 100644 models/model_amf_dereg_info.go create mode 100644 models/model_amf_event_exposure_traffic_descriptor.go create mode 100644 models/model_amf_event_subs_sync_info.go create mode 100644 models/model_amf_event_subscription_add_info.go create mode 100644 models/model_amf_event_subscription_info.go create mode 100644 models/model_amf_location_data.go create mode 100644 models/model_amf_location_location_event.go create mode 100644 models/model_amf_location_location_type.go create mode 100644 models/model_amf_mbs_broadcast_context_update_req_data.go create mode 100644 models/model_amf_mbs_broadcast_context_update_rsp_data.go create mode 100644 models/model_amf_mbs_broadcast_n2_mbs_sm_info.go create mode 100644 models/model_amf_mbs_broadcast_ngap_ie_type.go create mode 100644 models/model_amf_mbs_communication_n2_mbs_sm_info.go create mode 100644 models/model_amf_mt_ue_info.go create mode 100644 models/model_amf_update_event_subscription_item.go delete mode 100644 models/model_amf_update_event_subscription_item_inner.go create mode 100644 models/model_an_node_type.go create mode 100644 models/model_analytics_context_identifier.go create mode 100644 models/model_analytics_metadata.go create mode 100644 models/model_analytics_metadata_indication.go create mode 100644 models/model_analytics_metadata_info.go create mode 100644 models/model_analytics_subscription.go create mode 100644 models/model_analytics_subscriptions_transfer.go create mode 100644 models/model_analytics_subset.go create mode 100644 models/model_anchor_smf_features.go create mode 100644 models/model_announcement_information.go create mode 100644 models/model_announcement_privacy_indicator.go create mode 100644 models/model_apn_rate_status.go create mode 100644 models/model_app_am_context_data.go create mode 100644 models/model_app_am_context_resp_data.go create mode 100644 models/model_app_am_context_update_data.go create mode 100644 models/model_app_descriptor.go create mode 100644 models/model_app_detection_notif_type.go create mode 100644 models/model_app_detection_report.go create mode 100644 models/model_app_list_for_ue_comm.go create mode 100644 models/model_app_port_id.go create mode 100644 models/model_app_session_context_update_data_patch.go create mode 100644 models/model_application_data_change_notif.go create mode 100644 models/model_application_data_subs.go create mode 100644 models/model_application_for_pfd_request.go create mode 100644 models/model_application_server.go create mode 100644 models/model_application_volume.go create mode 100644 models/model_applied_smcc_type.go create mode 100644 models/model_area_event_info.go create mode 100644 models/model_area_of_interest_event_state.go create mode 100644 models/model_area_scope.go create mode 100644 models/model_as_session_with_qo_s_subscription.go create mode 100644 models/model_as_session_with_qo_s_subscription_patch.go create mode 100644 models/model_association_type.go create mode 100644 models/model_ausf_so_r_protection_sor_info.go create mode 100644 models/model_ausf_so_r_protection_steering_container.go create mode 100644 models/model_ausf_so_r_protection_steering_info.go create mode 100644 models/model_ausf_ue_authentication_auth_result.go create mode 100644 models/model_ausf_ue_authentication_auth_type.go create mode 100644 models/model_ausf_ue_authentication_rg_auth_ctx.go create mode 100644 models/model_ausf_upu_protection_upu_data.go create mode 100644 models/model_ausf_upu_protection_upu_info.go create mode 100644 models/model_auth_notification.go create mode 100644 models/model_auth_status.go create mode 100644 models/model_auth_update_info.go create mode 100644 models/model_auth_update_notification.go create mode 100644 models/model_authorization_data.go create mode 100644 models/model_authorization_info.go create mode 100644 models/model_authorization_request.go create mode 100644 models/model_authorization_response.go create mode 100644 models/model_authorization_result.go create mode 100644 models/model_authorization_type.go create mode 100644 models/model_authorization_ue_id.go create mode 100644 models/model_av_eps_aka.go create mode 100644 models/model_av_ims_gba_eap_aka.go create mode 100644 models/model_base_record.go create mode 100644 models/model_battery_indication.go create mode 100644 models/model_battery_indication_rm.go create mode 100644 models/model_bdt_data_patch.go create mode 100644 models/model_bdt_policy_bdt_policy_data.go create mode 100644 models/model_bdt_policy_bdt_policy_data_patch.go create mode 100644 models/model_bdt_policy_bdt_req_data_patch.go create mode 100644 models/model_bdt_policy_patch_bdt_policy.go create mode 100644 models/model_bdt_policy_status.go create mode 100644 models/model_bdt_req_data_patch.go delete mode 100644 models/model_binding_level.go create mode 100644 models/model_block.go create mode 100644 models/model_bootstrapping_info.go create mode 100644 models/model_bridge_management_container.go create mode 100644 models/model_bw_requirement.go create mode 100644 models/model_cache_status.go create mode 100644 models/model_cag_ack_data.go create mode 100644 models/model_cag_data.go create mode 100644 models/model_cag_info.go create mode 100644 models/model_call_reference_info.go create mode 100644 models/model_called_identity_change.go create mode 100644 models/model_cancel_pos_info.go create mode 100644 models/model_cancel_relocate_ue_context_request.go create mode 100644 models/model_candidate_for_replacement.go create mode 100644 models/model_ce_mode_b_ind.go delete mode 100644 models/model_charging_data_request.go delete mode 100644 models/model_charging_data_response.go create mode 100644 models/model_charging_info.go create mode 100644 models/model_chf_converged_charging_charging_data_request.go create mode 100644 models/model_chf_converged_charging_charging_data_response.go create mode 100644 models/model_chf_converged_charging_multiple_qf_icontainer.go create mode 100644 models/model_chf_converged_charging_multiple_unit_usage.go create mode 100644 models/model_chf_converged_charging_nf_identification.go create mode 100644 models/model_chf_converged_charging_node_functionality.go create mode 100644 models/model_chf_converged_charging_notification_type.go create mode 100644 models/model_chf_converged_charging_pdu_address.go create mode 100644 models/model_chf_converged_charging_pdu_container_information.go create mode 100644 models/model_chf_converged_charging_pdu_session_charging_information.go create mode 100644 models/model_chf_converged_charging_pdu_session_information.go create mode 100644 models/model_chf_converged_charging_qfi_container_information.go create mode 100644 models/model_chf_converged_charging_qos_monitoring_report.go create mode 100644 models/model_chf_converged_charging_redirect_address_type.go create mode 100644 models/model_chf_converged_charging_result_code.go create mode 100644 models/model_chf_converged_charging_roaming_charging_profile.go create mode 100644 models/model_chf_converged_charging_roaming_qbc_information.go create mode 100644 models/model_chf_converged_charging_serving_network_function_id.go create mode 100644 models/model_chf_converged_charging_trigger.go create mode 100644 models/model_chf_converged_charging_trigger_type.go create mode 100644 models/model_chf_converged_charging_used_unit_container.go create mode 100644 models/model_chf_converged_charging_user_information.go create mode 100644 models/model_chf_offline_only_charging_charging_data_request.go create mode 100644 models/model_chf_offline_only_charging_charging_data_response.go create mode 100644 models/model_chf_offline_only_charging_multiple_qf_icontainer.go create mode 100644 models/model_chf_offline_only_charging_multiple_unit_usage.go create mode 100644 models/model_chf_offline_only_charging_nf_identification.go create mode 100644 models/model_chf_offline_only_charging_node_functionality.go create mode 100644 models/model_chf_offline_only_charging_pdu_address.go create mode 100644 models/model_chf_offline_only_charging_pdu_container_information.go create mode 100644 models/model_chf_offline_only_charging_pdu_session_charging_information.go create mode 100644 models/model_chf_offline_only_charging_pdu_session_information.go create mode 100644 models/model_chf_offline_only_charging_qfi_container_information.go create mode 100644 models/model_chf_offline_only_charging_result_code.go create mode 100644 models/model_chf_offline_only_charging_roaming_charging_profile.go create mode 100644 models/model_chf_offline_only_charging_roaming_qbc_information.go create mode 100644 models/model_chf_offline_only_charging_serving_network_function_id.go create mode 100644 models/model_chf_offline_only_charging_trigger.go create mode 100644 models/model_chf_offline_only_charging_trigger_type.go create mode 100644 models/model_chf_offline_only_charging_used_unit_container.go create mode 100644 models/model_chf_offline_only_charging_user_information.go delete mode 100644 models/model_chf_service_info.go create mode 100644 models/model_chf_spending_limit_control_termination_cause.go create mode 100644 models/model_cipher_request_data.go create mode 100644 models/model_cipher_response_data.go create mode 100644 models/model_ciphering_data_set.go create mode 100644 models/model_ciphering_key_info.go create mode 100644 models/model_ciphering_key_response.go create mode 100644 models/model_ciphering_set_report.go create mode 100644 models/model_circumstance_description.go create mode 100644 models/model_class_criterion.go create mode 100644 models/model_client_id.go create mode 100644 models/model_cm_info_report.go create mode 100644 models/model_cn_assisted_ran_para.go create mode 100644 models/model_cn_type.go create mode 100644 models/model_cn_type_change_report.go create mode 100644 models/model_code_word_ind.go create mode 100644 models/model_collection_period_rmm_lte_mdt.go create mode 100644 models/model_collection_period_rmm_nr_mdt.go create mode 100644 models/model_collective_behaviour_filter.go create mode 100644 models/model_collective_behaviour_filter_type.go create mode 100644 models/model_collective_behaviour_info.go create mode 100644 models/model_collocated_nf_instance.go create mode 100644 models/model_collocated_nf_type.go create mode 100644 models/model_communication_characteristics_af.go create mode 100644 models/model_communication_collection.go create mode 100644 models/model_comparison_operator.go create mode 100644 models/model_condition_event_type.go create mode 100644 models/model_condition_operator.go create mode 100644 models/model_congestion_info.go create mode 100644 models/model_connection_capabilities.go delete mode 100644 models/model_constants.go create mode 100644 models/model_consumer_nf_information.go create mode 100644 models/model_context_create_req_data.go create mode 100644 models/model_context_create_request.go create mode 100644 models/model_context_create_response_201.go create mode 100644 models/model_context_create_rsp_data.go create mode 100644 models/model_context_data.go create mode 100644 models/model_context_data_set_name.go create mode 100644 models/model_context_data_sets.go create mode 100644 models/model_context_element.go create mode 100644 models/model_context_id_list.go create mode 100644 models/model_context_info.go create mode 100644 models/model_context_status_notification.go create mode 100644 models/model_context_type.go create mode 100644 models/model_context_update_request.go create mode 100644 models/model_context_update_response_200.go create mode 100644 models/model_core_network_service_authorization.go create mode 100644 models/model_coverage_info.go delete mode 100644 models/model_create_ue_context_response.go create mode 100644 models/model_create_ue_context_response_201.go create mode 100644 models/model_create_ue_context_response_403.go create mode 100644 models/model_created_ue_reachability_subscription.go create mode 100644 models/model_cs_location.go create mode 100644 models/model_cs_user_state.go create mode 100644 models/model_csg_information.go create mode 100644 models/model_csrn.go create mode 100644 models/model_data_availability.go create mode 100644 models/model_data_collection_purpose.go create mode 100644 models/model_data_filter.go create mode 100644 models/model_data_ind.go create mode 100644 models/model_data_notification.go create mode 100644 models/model_data_subscription.go create mode 100644 models/model_datalink_reporting_configuration.go create mode 100644 models/model_dataset_statistical_property.go create mode 100644 models/model_dccf_cond.go create mode 100644 models/model_dccf_data_management_reporting_options.go create mode 100644 models/model_dccf_event.go create mode 100644 models/model_dccf_info.go create mode 100644 models/model_ddd_traffic_descriptor.go create mode 100644 models/model_ddn_failure_sub_info.go create mode 100644 models/model_ddn_failure_subs.go create mode 100644 models/model_deconceal_req_data.go create mode 100644 models/model_deconceal_rsp_data.go create mode 100644 models/model_def_sub_service_info.go create mode 100644 models/model_default_unrelated_class.go create mode 100644 models/model_deliver_add_info.go create mode 100644 models/model_deliver_error.go create mode 100644 models/model_deliver_request.go create mode 100644 models/model_deregistration_info.go create mode 100644 models/model_deregistration_reason_code.go create mode 100644 models/model_detecting_node.go create mode 100644 models/model_determine_location_request.go create mode 100644 models/model_digest_authentication.go create mode 100644 models/model_direct_discovery_model.go create mode 100644 models/model_dispersion_area.go create mode 100644 models/model_dispersion_class.go create mode 100644 models/model_dispersion_info.go create mode 100644 models/model_dispersion_ordering_criterion.go create mode 100644 models/model_dispersion_requirement.go create mode 100644 models/model_dispersion_type.go create mode 100644 models/model_dl_data_delivery_status.go create mode 100644 models/model_dn_perf.go create mode 100644 models/model_dn_perf_info.go create mode 100644 models/model_dn_perf_ordering_criterion.go create mode 100644 models/model_dn_performance_req.go create mode 100644 models/model_dnai_information.go create mode 100644 models/model_dnn_easdf_info_item.go create mode 100644 models/model_dnn_info_item.go create mode 100644 models/model_dnn_mb_smf_info_item.go create mode 100644 models/model_dnn_route_selection_descriptor.go create mode 100644 models/model_dnn_snssai_information.go create mode 100644 models/model_dnn_tsctsf_info_item.go create mode 100644 models/model_dns_server_identifier.go create mode 100644 models/model_domain_name_protocol.go create mode 100644 models/model_downlink_data_notification_control.go create mode 100644 models/model_downlink_data_notification_control_rm.go create mode 100644 models/model_dr_bdt_data.go create mode 100644 models/model_dr_bdt_policy_data.go create mode 100644 models/model_dr_bdt_policy_data_patch.go create mode 100644 models/model_dr_data_set_name.go create mode 100644 models/model_dsai_tag_information.go create mode 100644 models/model_dsai_tag_status.go create mode 100644 models/model_dynamic_policy.go create mode 100644 models/model_early_media_description.go create mode 100644 models/model_eas_dep_notification.go create mode 100644 models/model_eas_deploy_info_data.go create mode 100644 models/model_eas_deploy_info_notif.go create mode 100644 models/model_eas_deploy_sub_data.go create mode 100644 models/model_eas_deployment_charging_information.go create mode 100644 models/model_eas_event.go create mode 100644 models/model_eas_ip_replacement_info.go create mode 100644 models/model_eas_requirements.go create mode 100644 models/model_eas_server_address.go create mode 100644 models/model_easdf_info.go create mode 100644 models/model_ec_restriction.go create mode 100644 models/model_ec_restriction_data_wb.go create mode 100644 models/model_ecs_addr_config_info.go create mode 100644 models/model_ecs_server_addr.go create mode 100644 models/model_edge_infrastructure_usage_charging_information.go create mode 100644 models/model_edrx_parameters.go create mode 100644 models/model_ee_group_profile_data.go create mode 100644 models/model_ee_monitoring_revoked.go create mode 100644 models/model_ee_subscription_ext.go create mode 100644 models/model_enable_group_reachability_req_data.go create mode 100644 models/model_enable_group_reachability_rsp_data.go create mode 100644 models/model_endpoint_address.go create mode 100644 models/model_enhanced_coverage_restriction_data.go create mode 100644 models/model_eps_interworking_info.go create mode 100644 models/model_eps_nas_ciphering_algorithm.go create mode 100644 models/model_eps_nas_integrity_algorithm.go create mode 100644 models/model_eps_nas_security_mode.go create mode 100644 models/model_eth_flow_info.go create mode 100644 models/model_ethernet_flow_info.go create mode 100644 models/model_event.go create mode 100644 models/model_event_class.go create mode 100644 models/model_event_for_mdt.go create mode 100644 models/model_event_id.go create mode 100644 models/model_event_param_report.go create mode 100644 models/model_event_report_message.go create mode 100644 models/model_event_report_mode.go create mode 100644 models/model_event_reporting_requirement.go create mode 100644 models/model_event_reporting_status.go create mode 100644 models/model_events_subs.go create mode 100644 models/model_events_subsc_put_data.go create mode 100644 models/model_exception.go create mode 100644 models/model_exception_id.go create mode 100644 models/model_exception_info.go create mode 100644 models/model_exception_trend.go create mode 100644 models/model_exemption_ind.go create mode 100644 models/model_expected_analytics_type.go create mode 100644 models/model_expected_ue_behaviour.go create mode 100644 models/model_expected_ue_behaviour_data.go create mode 100644 models/model_ext_amf_event_subscription.go create mode 100644 models/model_ext_snssai.go create mode 100644 models/model_extended_problem_details.go create mode 100644 models/model_extended_sm_subs_data.go create mode 100644 models/model_external_unrelated_class.go create mode 100644 models/model_failure.go create mode 100644 models/model_failure_event_info.go create mode 100644 models/model_failure_event_info_for_ml_model.go create mode 100644 models/model_fetch_instruction.go create mode 100644 models/model_fix_type.go delete mode 100644 models/model_flow_direction_2.go create mode 100644 models/model_formatting_instruction.go create mode 100644 models/model_fqdn_pattern_matching_rule.go create mode 100644 models/model_frame_route_info.go create mode 100644 models/model_gba_auth_type.go create mode 100644 models/model_gba_authentication_info_request.go create mode 100644 models/model_gba_authentication_info_result.go create mode 100644 models/model_geo_loc.go create mode 100644 models/model_geo_service_area.go create mode 100644 models/model_geographical_area.go create mode 100644 models/model_gmlc_info.go create mode 100644 models/model_gpsi_type.go create mode 100644 models/model_group_identifiers.go create mode 100644 models/model_header_sip_request.go create mode 100644 models/model_high_accuracy_gnss_metrics.go create mode 100644 models/model_historical_data.go create mode 100644 models/model_hss_auth_type.go create mode 100644 models/model_hss_auth_type_in_uri.go create mode 100644 models/model_hss_authentication_info_request.go create mode 100644 models/model_hss_authentication_info_result.go create mode 100644 models/model_hss_authentication_vectors.go create mode 100644 models/model_hss_av_type.go create mode 100644 models/model_hss_info.go create mode 100644 models/model_hss_subscription_info.go create mode 100644 models/model_hss_subscription_item.go create mode 100644 models/model_hssims_sdm_access_type.go create mode 100644 models/model_hssims_sdm_data_set_name.go create mode 100644 models/model_hssims_sdm_shared_data.go create mode 100644 models/model_hssims_uecm_extended_problem_details.go create mode 100644 models/model_identity_type.go create mode 100644 models/model_idle_status_indication.go create mode 100644 models/model_ifc.go create mode 100644 models/model_ifcs.go create mode 100644 models/model_imei_sv_information.go create mode 100644 models/model_immediate_mdt_conf.go create mode 100644 models/model_immediate_report.go create mode 100644 models/model_ims_address.go create mode 100644 models/model_ims_associated_identities.go create mode 100644 models/model_ims_charging_information.go create mode 100644 models/model_ims_location_data.go create mode 100644 models/model_ims_node_functionality.go create mode 100644 models/model_ims_profile_data.go create mode 100644 models/model_ims_registration_state.go create mode 100644 models/model_ims_registration_status.go create mode 100644 models/model_ims_registration_type.go create mode 100644 models/model_ims_sdm_subscription.go create mode 100644 models/model_ims_service_profile.go create mode 100644 models/model_ims_session_priority.go create mode 100644 models/model_ims_voice_over_ps_session_support.go create mode 100644 models/model_imsi_range.go create mode 100644 models/model_indirect_data_forwarding_tunnel_info.go create mode 100644 models/model_integrity_requirements.go create mode 100644 models/model_inter_freq_target_info.go create mode 100644 models/model_inter_operator_identifier.go create mode 100644 models/model_internal_group_id_range.go create mode 100644 models/model_invalid_cause.go create mode 100644 models/model_invalid_param_1.go delete mode 100644 models/model_invalid_param_2.go create mode 100644 models/model_ip_addr.go create mode 100644 models/model_ip_eth_flow_description.go create mode 100644 models/model_ip_flow_info.go create mode 100644 models/model_ip_multicast_address_info.go create mode 100644 models/model_ip_packet_filter_set.go create mode 100644 models/model_ip_reachability.go create mode 100644 models/model_ip_sm_gw_address.go create mode 100644 models/model_ip_sm_gw_guidance.go create mode 100644 models/model_ip_sm_gw_info.go create mode 100644 models/model_ip_sm_gw_registration.go create mode 100644 models/model_iptv_config_data.go create mode 100644 models/model_iptv_config_data_patch.go create mode 100644 models/model_isup_cause.go create mode 100644 models/model_iwmsc_info.go create mode 100644 models/model_job_type.go create mode 100644 models/model_key_type.go create mode 100644 models/model_lcs_broadcast_assistance_types_data.go create mode 100644 models/model_lcs_client_class.go create mode 100644 models/model_lcs_client_external.go create mode 100644 models/model_lcs_client_group_external.go create mode 100644 models/model_lcs_mo_data.go create mode 100644 models/model_lcs_mo_service_class.go create mode 100644 models/model_lcs_privacy.go create mode 100644 models/model_lcs_privacy_data.go create mode 100644 models/model_lcs_qos_class.go create mode 100644 models/model_lcs_service_auth.go create mode 100644 models/model_ldr_type.go delete mode 100644 models/model_links_value_schema.go create mode 100644 models/model_lmf_info.go create mode 100644 models/model_lmf_location_cancel_loc_data.go create mode 100644 models/model_lmf_location_event_notify_data.go create mode 100644 models/model_lmf_location_geographical_coordinates.go create mode 100644 models/model_lmf_location_input_data.go create mode 100644 models/model_lmf_location_location_data.go create mode 100644 models/model_lmf_location_termination_cause.go create mode 100644 models/model_loc_context_data.go create mode 100644 models/model_local2d_point_uncertainty_ellipse.go create mode 100644 models/model_local3d_point_uncertainty_ellipsoid.go create mode 100644 models/model_local_area.go create mode 100644 models/model_local_origin.go create mode 100644 models/model_location_area.go create mode 100644 models/model_location_area5_g.go create mode 100644 models/model_location_info.go create mode 100644 models/model_location_info_request.go create mode 100644 models/model_location_info_result.go create mode 100644 models/model_location_privacy_ind.go create mode 100644 models/model_location_privacy_ver_result.go create mode 100644 models/model_location_report.go create mode 100644 models/model_logging_duration_mdt.go create mode 100644 models/model_logging_duration_nr_mdt.go create mode 100644 models/model_logging_interval_mdt.go create mode 100644 models/model_logging_interval_nr_mdt.go create mode 100644 models/model_loose_route_indication.go create mode 100644 models/model_loss_connectivity_cfg.go create mode 100644 models/model_loss_connectivity_report.go create mode 100644 models/model_loss_of_connectivity_reason.go create mode 100644 models/model_lpi.go create mode 100644 models/model_lte_m_ind.go create mode 100644 models/model_lte_v2x_auth.go create mode 100644 models/model_m5_qo_s_specification.go create mode 100644 models/model_ma_release_indication.go create mode 100644 models/model_matching_direction.go create mode 100644 models/model_matching_operator.go create mode 100644 models/model_mb_smf_info.go create mode 100644 models/model_mb_upf_info.go create mode 100644 models/model_mbs_app_session_ctxt.go create mode 100644 models/model_mbs_app_session_ctxt_patch.go create mode 100644 models/model_mbs_error_report.go create mode 100644 models/model_mbs_failure_code.go create mode 100644 models/model_mbs_media_comp.go create mode 100644 models/model_mbs_media_comp_rm.go create mode 100644 models/model_mbs_media_info.go create mode 100644 models/model_mbs_n2_message_transfer_req_data.go create mode 100644 models/model_mbs_n2_message_transfer_rsp_data.go create mode 100644 models/model_mbs_ngap_ie_type.go create mode 100644 models/model_mbs_pcc_rule.go create mode 100644 models/model_mbs_pcc_rule_status.go create mode 100644 models/model_mbs_pcrt.go create mode 100644 models/model_mbs_policy_ctxt_data.go create mode 100644 models/model_mbs_policy_ctxt_data_update.go create mode 100644 models/model_mbs_policy_data.go create mode 100644 models/model_mbs_policy_decision.go create mode 100644 models/model_mbs_qo_s_req.go create mode 100644 models/model_mbs_qos_char.go create mode 100644 models/model_mbs_qos_dec.go create mode 100644 models/model_mbs_report.go create mode 100644 models/model_mbs_service_area.go create mode 100644 models/model_mbs_service_area_info.go create mode 100644 models/model_mbs_service_info.go create mode 100644 models/model_mbs_session_id.go create mode 100644 models/model_mbs_subscription_data.go create mode 100644 models/model_mbsfn_area.go create mode 100644 models/model_mdt_configuration.go create mode 100644 models/model_mdt_user_consent.go create mode 100644 models/model_measurement_lte_for_mdt.go create mode 100644 models/model_measurement_nr_for_mdt.go create mode 100644 models/model_measurement_period_lte_mdt.go create mode 100644 models/model_media_initiator_flag.go create mode 100644 models/model_media_streaming_access_record.go create mode 100644 models/model_message_body.go create mode 100644 models/model_message_waiting_data.go create mode 100644 models/model_meta_schema.go create mode 100644 models/model_mfaf_info.go delete mode 100644 models/model_milenage.go create mode 100644 models/model_minor_location_qo_s.go create mode 100644 models/model_ml_analytics_info.go create mode 100644 models/model_ml_event_notif.go create mode 100644 models/model_ml_event_subscription.go create mode 100644 models/model_ml_model_addr.go create mode 100644 models/model_ml_model_info.go create mode 100644 models/model_mm_tel_charging_information.go create mode 100644 models/model_mm_transaction_location_report_item.go create mode 100644 models/model_mm_transaction_slice_report_item.go create mode 100644 models/model_mme_location_data.go create mode 100644 models/model_mnpf_info.go create mode 100644 models/model_mo_exp_data_counter.go create mode 100644 models/model_model_info.go create mode 100644 models/model_modify_pdu_session_request.go create mode 100644 models/model_modify_pdu_session_response_200.go create mode 100644 models/model_modify_pdu_session_response_400.go create mode 100644 models/model_modify_response_200.go create mode 100644 models/model_modify_shared_data_subs_response_200.go create mode 100644 models/model_modifysubscription_data_subscription_response_200.go create mode 100644 models/model_monitoring_event.go create mode 100644 models/model_motion_event_info.go create mode 100644 models/model_mps_action.go create mode 100644 models/model_ms_access_activity_collection.go create mode 100644 models/model_ms_consumption_collection.go create mode 100644 models/model_ms_dyn_policy_invocation_collection.go create mode 100644 models/model_ms_net_ass_invocation_collection.go create mode 100644 models/model_ms_qoe_metrics_collection.go create mode 100644 models/model_msisdn_list.go create mode 100644 models/model_mtc_provider.go create mode 100644 models/model_multicast_access_control.go create mode 100644 models/model_multicast_mbs_group_memb.go delete mode 100644 models/model_multiple_qf_icontainer.go delete mode 100644 models/model_multiple_unit_usage.go delete mode 100644 models/model_n1_message_notify.go create mode 100644 models/model_n1_message_notify_request.go create mode 100644 models/model_n2_info_notification_rsp_data.go create mode 100644 models/model_n2_info_notify_handover_complete_response_200.go delete mode 100644 models/model_n2_info_notify_response.go delete mode 100644 models/model_n2_info_notify_rsp_data.go create mode 100644 models/model_n2_message_transfer_request.go create mode 100644 models/model_n4_information.go create mode 100644 models/model_n4_message_type.go create mode 100644 models/model_ncgi_tai.go create mode 100644 models/model_nef_authentication_auth_container.go create mode 100644 models/model_nef_authentication_auth_result.go create mode 100644 models/model_nef_authentication_uav_auth_info.go create mode 100644 models/model_nef_authentication_uav_auth_response.go create mode 100644 models/model_nef_cond.go create mode 100644 models/model_nef_event.go create mode 100644 models/model_nef_event_exposure_notif.go create mode 100644 models/model_nef_event_exposure_service_experience_info.go create mode 100644 models/model_nef_event_exposure_subsc.go create mode 100644 models/model_nef_event_exposure_target_ue_identification.go create mode 100644 models/model_nef_event_filter.go create mode 100644 models/model_nef_event_notification.go create mode 100644 models/model_nef_event_subs.go create mode 100644 models/model_nef_info.go create mode 100644 models/model_nef_sm_context_deliver_req_data.go create mode 100644 models/model_nef_sm_context_nidd_information.go create mode 100644 models/model_nef_sm_context_release_cause.go create mode 100644 models/model_nef_sm_context_sm_context_create_data.go create mode 100644 models/model_nef_sm_context_sm_context_created_data.go create mode 100644 models/model_nef_sm_context_sm_context_release_data.go create mode 100644 models/model_nef_sm_context_sm_context_status_notification.go create mode 100644 models/model_nef_sm_context_sm_context_update_data.go create mode 100644 models/model_nef_traffic_influ_sub.go create mode 100644 models/model_nef_traffic_influ_sub_patch.go create mode 100644 models/model_net_loc_access_support.go create mode 100644 models/model_network_assistance_session.go delete mode 100644 models/model_network_id.go create mode 100644 models/model_network_perf_info.go create mode 100644 models/model_network_perf_requirement.go create mode 100644 models/model_network_perf_type.go create mode 100644 models/model_nf_group_list_cond.go delete mode 100644 models/model_nf_identification.go create mode 100644 models/model_nf_identifier.go create mode 100644 models/model_nf_info.go create mode 100644 models/model_nf_instance_id_list_cond.go create mode 100644 models/model_nf_instance_info.go create mode 100644 models/model_nf_load_level_information.go create mode 100644 models/model_nf_management_subscription_data.go create mode 100644 models/model_nf_service_instance.go create mode 100644 models/model_nf_service_set_cond.go create mode 100644 models/model_nf_set_cond.go create mode 100644 models/model_ngran_failure_event.go create mode 100644 models/model_ngran_failure_indication.go create mode 100644 models/model_nidd_auth_update_info.go create mode 100644 models/model_nidd_auth_update_notification.go create mode 100644 models/model_nidd_authorization_info.go create mode 100644 models/model_nidd_cause.go create mode 100644 models/model_nidd_information.go create mode 100644 models/model_nni_information.go create mode 100644 models/model_nni_relationship_mode.go create mode 100644 models/model_nni_session_direction.go create mode 100644 models/model_nni_type.go create mode 100644 models/model_nnwdaf_data_management_notif.go create mode 100644 models/model_nnwdaf_data_management_subsc.go create mode 100644 models/model_nnwdaf_events_subscription.go create mode 100644 models/model_nnwdaf_events_subscription_notification.go create mode 100644 models/model_no_profile_match_info.go create mode 100644 models/model_no_profile_match_reason.go delete mode 100644 models/model_node_functionality.go create mode 100644 models/model_node_type.go create mode 100644 models/model_non_ue_n2_info_notify_request.go create mode 100644 models/model_notif_summary_report.go create mode 100644 models/model_notif_type.go create mode 100644 models/model_notification_control_indication.go create mode 100644 models/model_notification_description.go create mode 100644 models/model_notification_flag.go create mode 100644 models/model_notification_item.go create mode 100644 models/model_notification_push.go create mode 100644 models/model_notification_subscription.go create mode 100644 models/model_npn_access_info.go create mode 100644 models/model_nr_v2x_auth.go create mode 100644 models/model_nrf_access_token_access_token_claims.go create mode 100644 models/model_nrf_access_token_access_token_req.go create mode 100644 models/model_nrf_access_token_access_token_rsp.go create mode 100644 models/model_nrf_nf_discovery_nf_profile.go create mode 100644 models/model_nrf_nf_discovery_nf_service.go create mode 100644 models/model_nrf_nf_management_amf_info.go create mode 100644 models/model_nrf_nf_management_bsf_info.go create mode 100644 models/model_nrf_nf_management_ipv4_address_range.go create mode 100644 models/model_nrf_nf_management_ipv6_prefix_range.go create mode 100644 models/model_nrf_nf_management_mbs_session.go create mode 100644 models/model_nrf_nf_management_nf_profile.go create mode 100644 models/model_nrf_nf_management_nf_service.go create mode 100644 models/model_nrf_nf_management_nf_status.go create mode 100644 models/model_nrf_nf_management_nf_type.go create mode 100644 models/model_nrf_nf_management_notification_data.go create mode 100644 models/model_nrf_nf_management_notification_type.go create mode 100644 models/model_nrf_nf_management_pfd_data.go create mode 100644 models/model_nrf_nf_management_pro_se_capability.go create mode 100644 models/model_nrf_nf_management_subscription_data.go create mode 100644 models/model_nrf_nf_management_transport_protocol.go delete mode 100644 models/model_nrfsubscription_data.go create mode 100644 models/model_nsacf_capability.go create mode 100644 models/model_nsacf_info.go create mode 100644 models/model_nsag_info.go create mode 100644 models/model_nsi_id_info.go create mode 100644 models/model_nssaa_status.go create mode 100644 models/model_nssaaf_info.go create mode 100644 models/model_nssai_ack_data.go create mode 100644 models/model_null_request.go create mode 100644 models/model_null_response_200.go delete mode 100644 models/model_null_value.go delete mode 100644 models/model_nulldataset.go delete mode 100644 models/model_nullinfoclass.go delete mode 100644 models/model_nullnftype.go delete mode 100644 models/model_nullrequesternftype.go delete mode 100644 models/model_nulltargetnftype.go create mode 100644 models/model_number_average.go create mode 100644 models/model_nwdaf_analytics_info_analytics_data.go create mode 100644 models/model_nwdaf_analytics_info_event_filter.go create mode 100644 models/model_nwdaf_capability.go create mode 100644 models/model_nwdaf_cond.go create mode 100644 models/model_nwdaf_data.go create mode 100644 models/model_nwdaf_event.go create mode 100644 models/model_nwdaf_events_subscription_accuracy.go create mode 100644 models/model_nwdaf_events_subscription_congestion_type.go create mode 100644 models/model_nwdaf_events_subscription_dispersion_collection.go create mode 100644 models/model_nwdaf_events_subscription_event_notification.go create mode 100644 models/model_nwdaf_events_subscription_event_subscription.go create mode 100644 models/model_nwdaf_events_subscription_location_info.go create mode 100644 models/model_nwdaf_events_subscription_nf_status.go create mode 100644 models/model_nwdaf_events_subscription_notification_method.go create mode 100644 models/model_nwdaf_events_subscription_service_experience_info.go create mode 100644 models/model_nwdaf_failure_code.go create mode 100644 models/model_nwdaf_info.go create mode 100644 models/model_nwdaf_ml_model_prov_notif.go create mode 100644 models/model_nwdaf_ml_model_prov_subsc.go create mode 100644 models/model_nwdaf_ml_model_provision_failure_code.go create mode 100644 models/model_nwdaf_registration.go create mode 100644 models/model_nwdaf_registration_info.go create mode 100644 models/model_nwdaf_registration_modification.go create mode 100644 models/model_nwdaf_subscription.go create mode 100644 models/model_observed_redundant_trans_exp.go create mode 100644 models/model_occurrence_info.go delete mode 100644 models/model_op.go create mode 100644 models/model_op_event_type.go delete mode 100644 models/model_opc.go create mode 100644 models/model_operation_event.go create mode 100644 models/model_operation_mode.go create mode 100644 models/model_operation_status.go create mode 100644 models/model_operational_state.go delete mode 100644 models/model_operator_determined_barring_data.go create mode 100644 models/model_options_response.go create mode 100644 models/model_originator_party_type.go create mode 100644 models/model_out_of_credit_information.go create mode 100644 models/model_output_strategy.go delete mode 100644 models/model_packet_filter_operation.go delete mode 100644 models/model_parameter_combination.go create mode 100644 models/model_parameter_processing_instruction.go create mode 100644 models/model_participant_action_type.go create mode 100644 models/model_partitioning_criteria.go create mode 100644 models/model_patch_bdt_policy.go create mode 100644 models/model_patch_result.go create mode 100644 models/model_pc5_capability.go create mode 100644 models/model_pc5_container_information.go create mode 100644 models/model_pc5_data_container.go create mode 100644 models/model_pc5_flow_bit_rates.go create mode 100644 models/model_pc5_qo_s_para.go create mode 100644 models/model_pc5_qos_flow_item.go create mode 100644 models/model_pc_event.go create mode 100644 models/model_pc_event_exposure_notif.go create mode 100644 models/model_pc_event_exposure_subsc.go create mode 100644 models/model_pc_event_notification.go create mode 100644 models/model_pcf_addressing_info.go create mode 100644 models/model_pcf_am_policy_control_as_time_distribution_param.go create mode 100644 models/model_pcf_am_policy_control_policy_association.go create mode 100644 models/model_pcf_am_policy_control_policy_association_request.go create mode 100644 models/model_pcf_am_policy_control_policy_association_update_request.go create mode 100644 models/model_pcf_am_policy_control_policy_update.go create mode 100644 models/model_pcf_am_policy_control_request_trigger.go create mode 100644 models/model_pcf_am_policy_control_termination_notification.go create mode 100644 models/model_pcf_bdt_policy_control_bdt_policy_data.go create mode 100644 models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go create mode 100644 models/model_pcf_bdt_policy_control_notification.go create mode 100644 models/model_pcf_bdt_policy_control_transfer_policy.go delete mode 100644 models/model_pcf_binding.go delete mode 100644 models/model_pcf_binding_patch.go create mode 100644 models/model_pcf_event_exposure_pdu_session_information.go create mode 100644 models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go create mode 100644 models/model_pcf_policy_authorization_af_event.go create mode 100644 models/model_pcf_policy_authorization_af_event_notification.go create mode 100644 models/model_pcf_policy_authorization_events_notification.go create mode 100644 models/model_pcf_policy_authorization_events_subsc_req_data.go create mode 100644 models/model_pcf_policy_authorization_events_subsc_req_data_rm.go create mode 100644 models/model_pcf_policy_authorization_extended_problem_details.go create mode 100644 models/model_pcf_policy_authorization_pdu_session_status.go create mode 100644 models/model_pcf_policy_authorization_qos_monitoring_information.go create mode 100644 models/model_pcf_policy_authorization_qos_monitoring_information_rm.go create mode 100644 models/model_pcf_policy_authorization_qos_monitoring_report.go create mode 100644 models/model_pcf_policy_authorization_qos_notification_control_info.go create mode 100644 models/model_pcf_policy_authorization_termination_cause.go create mode 100644 models/model_pcf_selection_assistance_info.go create mode 100644 models/model_pcf_sm_policy_control_atsss_capability.go create mode 100644 models/model_pcf_sm_policy_control_failure_cause.go create mode 100644 models/model_pcf_sm_policy_control_failure_code.go create mode 100644 models/model_pcf_sm_policy_control_multicast_access_control.go create mode 100644 models/model_pcf_sm_policy_control_qos_monitoring_report.go create mode 100644 models/model_pcf_sm_policy_control_qos_notification_control_info.go create mode 100644 models/model_pcf_sm_policy_control_redirect_address_type.go create mode 100644 models/model_pcf_sm_policy_control_termination_notification.go create mode 100644 models/model_pcf_ue_callback_info.go create mode 100644 models/model_pcf_ue_policy_control_policy_association.go create mode 100644 models/model_pcf_ue_policy_control_policy_association_request.go create mode 100644 models/model_pcf_ue_policy_control_policy_association_update_request.go create mode 100644 models/model_pcf_ue_policy_control_policy_update.go create mode 100644 models/model_pcf_ue_policy_control_pro_se_capability.go create mode 100644 models/model_pcf_ue_policy_control_request_trigger.go create mode 100644 models/model_pcf_ue_policy_control_termination_notification.go create mode 100644 models/model_pcscf_address.go create mode 100644 models/model_pcscf_info.go create mode 100644 models/model_pcscf_restoration_request_data.go create mode 100644 models/model_pcscf_subscription_info.go create mode 100644 models/model_pdn_connectivity_stat_report.go create mode 100644 models/model_pdn_connectivity_status.go delete mode 100644 models/model_pdu_address.go delete mode 100644 models/model_pdu_container_information.go delete mode 100644 models/model_pdu_session_charging_information.go create mode 100644 models/model_pdu_session_context_type.go create mode 100644 models/model_pdu_session_continuity_ind.go create mode 100644 models/model_pdu_session_event_notification.go create mode 100644 models/model_pdu_session_info.go delete mode 100644 models/model_pdu_session_information.go create mode 100644 models/model_pdu_session_rel_cause.go create mode 100644 models/model_pdu_session_status_cfg.go create mode 100644 models/model_pdu_session_tsn_bridge.go create mode 100644 models/model_pduid_information.go create mode 100644 models/model_pei_update_info.go create mode 100644 models/model_pending_policy_counter_status.go create mode 100644 models/model_per_ue_attribute.go create mode 100644 models/model_perf_data.go create mode 100644 models/model_performance_data.go create mode 100644 models/model_performance_data_collection.go create mode 100644 models/model_performance_data_info.go create mode 100644 models/model_periodic_communication_indicator.go create mode 100644 models/model_periodic_event_info.go delete mode 100644 models/model_permanent_key.go create mode 100644 models/model_pfd_data_for_app_ext.go create mode 100644 models/model_pfd_operation.go create mode 100644 models/model_pfd_pfd_data.go create mode 100644 models/model_pfi_container_information.go create mode 100644 models/model_play_to_party.go create mode 100644 models/model_plmn_ec_info.go create mode 100644 models/model_plmn_oauth2.go create mode 100644 models/model_plmn_operator_class.go create mode 100644 models/model_plmn_restriction.go create mode 100644 models/model_plmn_route_selection_descriptor.go delete mode 100644 models/model_policy_association.go delete mode 100644 models/model_policy_association_request.go delete mode 100644 models/model_policy_association_update_request.go create mode 100644 models/model_policy_auth_qos_notification_control_info.go create mode 100644 models/model_policy_counter_info.go create mode 100644 models/model_policy_data_for_individual_ue.go create mode 100644 models/model_policy_data_subset.go create mode 100644 models/model_policy_decision_failure_code.go create mode 100644 models/model_policy_req_trigger.go delete mode 100644 models/model_policy_update.go create mode 100644 models/model_port_management_container.go create mode 100644 models/model_positioning_method_mdt.go create mode 100644 models/model_post_charging_data_response_400.go create mode 100644 models/model_post_charging_data_response_403.go create mode 100644 models/model_post_charging_data_response_404.go create mode 100644 models/model_post_charging_notification_response_400.go delete mode 100644 models/model_post_pdu_sessions_error_response.go delete mode 100644 models/model_post_pdu_sessions_response.go create mode 100644 models/model_post_pdu_sessions_response_201.go create mode 100644 models/model_post_pdu_sessions_response_400.go create mode 100644 models/model_post_sm_contexts_error.go delete mode 100644 models/model_post_sm_contexts_error_response.go delete mode 100644 models/model_post_sm_contexts_response.go create mode 100644 models/model_post_sm_contexts_response_201.go create mode 100644 models/model_post_sm_contexts_response_400.go create mode 100644 models/model_pp5g_mbs_group_profile_data.go create mode 100644 models/model_pp5g_vn_group_profile_data.go create mode 100644 models/model_pp_data_entry.go create mode 100644 models/model_pp_data_entry_list.go create mode 100644 models/model_pp_data_type.go create mode 100644 models/model_pp_dl_packet_count_ext.go create mode 100644 models/model_pp_maximum_latency.go create mode 100644 models/model_pp_maximum_response_time.go create mode 100644 models/model_pp_profile_data.go create mode 100644 models/model_preemption_capability_rm.go create mode 100644 models/model_preemption_control_information.go create mode 100644 models/model_preemption_control_information_rm.go create mode 100644 models/model_preemption_vulnerability_rm.go create mode 100644 models/model_preferred_search.go create mode 100644 models/model_prev_sub_info.go create mode 100644 models/model_priority_levels.go create mode 100644 models/model_priority_sharing_indicator.go create mode 100644 models/model_privacy_check_related_action.go create mode 100644 models/model_private_identities.go create mode 100644 models/model_private_identity.go create mode 100644 models/model_private_identity_type.go create mode 100644 models/model_pro_se_allowed_plmn.go create mode 100644 models/model_pro_se_auth_data.go create mode 100644 models/model_pro_se_authentication_ctx.go create mode 100644 models/model_pro_se_authentication_info.go create mode 100644 models/model_pro_se_authentication_info_request.go create mode 100644 models/model_pro_se_authentication_info_result.go create mode 100644 models/model_pro_se_authentication_result.go create mode 100644 models/model_pro_se_authentication_vectors.go create mode 100644 models/model_pro_se_eap_session.go create mode 100644 models/model_pro_se_information.go create mode 100644 models/model_problem_details_1.go delete mode 100644 models/model_problem_details_2.go create mode 100644 models/model_problem_details_add_info.go create mode 100644 models/model_problem_details_analytics_info_request.go create mode 100644 models/model_problem_details_enable_ue_reachability.go create mode 100644 models/model_processing_instruction.go create mode 100644 models/model_prose_auth_response_200.go create mode 100644 models/model_prose_charging_information.go create mode 100644 models/model_prose_context.go create mode 100644 models/model_prose_direct_allowed.go create mode 100644 models/model_prose_event_type.go create mode 100644 models/model_prose_functionality.go create mode 100644 models/model_prose_service_auth.go create mode 100644 models/model_prose_subscription_data.go create mode 100644 models/model_protection_result.go create mode 100644 models/model_ps_location.go create mode 100644 models/model_ps_user_state.go create mode 100644 models/model_psa_indication.go create mode 100644 models/model_psa_information.go create mode 100644 models/model_psi_activation_state.go create mode 100644 models/model_ptw_parameters.go create mode 100644 models/model_public_identifier.go create mode 100644 models/model_public_identities.go create mode 100644 models/model_public_identity.go delete mode 100644 models/model_qfi_container_information.go create mode 100644 models/model_qos_flow_access_type.go create mode 100644 models/model_qos_flow_tunnel.go create mode 100644 models/model_qos_monitoring_data.go create mode 100644 models/model_qos_monitoring_info.go create mode 100644 models/model_qos_monitoring_information.go create mode 100644 models/model_qos_monitoring_information_rm.go create mode 100644 models/model_qos_monitoring_report.go create mode 100644 models/model_qos_monitoring_req.go delete mode 100644 models/model_qos_notification_control_info.go create mode 100644 models/model_qos_requirement.go create mode 100644 models/model_qos_sustainability_info.go create mode 100644 models/model_query_param_combination.go create mode 100644 models/model_query_parameter.go create mode 100644 models/model_quota_consumption_indicator.go create mode 100644 models/model_radio_parameter_set_info.go create mode 100644 models/model_radio_resources_id.go create mode 100644 models/model_range_class.go create mode 100644 models/model_ranking_criterion.go create mode 100644 models/model_rat_freq_information.go create mode 100644 models/model_reachability_filter.go create mode 100644 models/model_reachability_for_data_report_config.go create mode 100644 models/model_reachability_for_sms_configuration.go create mode 100644 models/model_reachability_for_sms_report.go create mode 100644 models/model_reachability_notification_data.go create mode 100644 models/model_reachability_report.go create mode 100644 models/model_reachable_ue_info.go create mode 100644 models/model_record.go create mode 100644 models/model_record_id_list.go create mode 100644 models/model_record_meta.go create mode 100644 models/model_record_notification.go create mode 100644 models/model_record_operation.go create mode 100644 models/model_record_search_result.go create mode 100644 models/model_red_trans_exp_ordering_criterion.go create mode 100644 models/model_redirect_response.go create mode 100644 models/model_redundant_pdu_session_information.go create mode 100644 models/model_redundant_transmission_exp_info.go create mode 100644 models/model_redundant_transmission_exp_per_ts.go create mode 100644 models/model_redundant_transmission_exp_req.go create mode 100644 models/model_redundant_transmission_type.go create mode 100644 models/model_reference_location_information.go create mode 100644 models/model_registration_data_set_name.go create mode 100644 models/model_registration_data_sets.go create mode 100644 models/model_registration_location_info.go create mode 100644 models/model_registration_reason.go create mode 100644 models/model_registration_type.go create mode 100644 models/model_relative_cartesian_location.go create mode 100644 models/model_release_charging_data_response_404.go create mode 100644 models/model_release_pdu_session_request.go create mode 100644 models/model_release_pdu_session_response_200.go create mode 100644 models/model_release_session_info.go create mode 100644 models/model_released_data.go create mode 100644 models/model_relocate_ue_context_request.go create mode 100644 models/model_report_amount_mdt.go create mode 100644 models/model_report_interval_mdt.go create mode 100644 models/model_report_interval_nr_mdt.go create mode 100644 models/model_report_item.go create mode 100644 models/model_report_type_mdt.go create mode 100644 models/model_reported_event_type.go create mode 100644 models/model_reporting_access_type.go create mode 100644 models/model_reporting_area.go create mode 100644 models/model_reporting_area_type.go create mode 100644 models/model_reporting_frequency.go create mode 100644 models/model_reporting_information.go create mode 100644 models/model_reporting_trigger.go create mode 100644 models/model_repository_data.go create mode 100644 models/model_repository_data_list.go create mode 100644 models/model_request_direction.go delete mode 100644 models/model_request_trigger.go create mode 100644 models/model_requested_context.go create mode 100644 models/model_requested_node.go create mode 100644 models/model_requested_qos_monitoring_parameter.go create mode 100644 models/model_required_access_info.go create mode 100644 models/model_resource_item.go create mode 100644 models/model_resource_usage.go create mode 100644 models/model_restoration_info.go delete mode 100644 models/model_result_code.go create mode 100644 models/model_retainability_threshold.go create mode 100644 models/model_retrieve_data.go create mode 100644 models/model_retrieve_records.go create mode 100644 models/model_retrieved_data.go create mode 100644 models/model_revoked_cause.go create mode 100644 models/model_rg_auth_ctx.go create mode 100644 models/model_rg_authentication_info.go create mode 100644 models/model_roaming_info_update.go delete mode 100644 models/model_roaming_qbc_information.go create mode 100644 models/model_roaming_restrictions.go create mode 100644 models/model_role_of_ims_node.go create mode 100644 models/model_role_of_ue.go delete mode 100644 models/model_rotations.go create mode 100644 models/model_route_selection_parameter_set.go create mode 100644 models/model_routing_info_sm_request.go create mode 100644 models/model_routing_info_sm_response.go create mode 100644 models/model_rsn.go create mode 100644 models/model_sac_event.go create mode 100644 models/model_sac_event_report.go create mode 100644 models/model_sac_event_report_item.go create mode 100644 models/model_sac_event_state.go create mode 100644 models/model_sac_event_status.go create mode 100644 models/model_sac_event_subscription.go create mode 100644 models/model_sac_event_trigger.go create mode 100644 models/model_sac_event_type.go create mode 100644 models/model_sac_info.go create mode 100644 models/model_satellite_backhaul_category.go create mode 100644 models/model_sbi_binding_level.go create mode 100644 models/model_scheduled_communication_time.go create mode 100644 models/model_scheduled_communication_time_rm.go create mode 100644 models/model_scheduled_communication_type.go create mode 100644 models/model_scheduled_communication_type_rm.go create mode 100644 models/model_scp_capability.go create mode 100644 models/model_scp_domain_cond.go create mode 100644 models/model_scp_domain_connectivity.go create mode 100644 models/model_scp_domain_info.go create mode 100644 models/model_scp_domain_routing_info_notification.go create mode 100644 models/model_scp_domain_routing_info_subscription.go create mode 100644 models/model_scp_domain_routing_information.go create mode 100644 models/model_scp_info.go create mode 100644 models/model_scscf_capability_list.go create mode 100644 models/model_scscf_registration.go create mode 100644 models/model_scscf_restoration_info.go create mode 100644 models/model_scscf_restoration_info_request.go create mode 100644 models/model_scscf_restoration_info_response.go create mode 100644 models/model_scscf_selection_assistance_information.go create mode 100644 models/model_sd_range.go create mode 100644 models/model_sdm_data_set_name.go create mode 100644 models/model_sdp_description.go create mode 100644 models/model_sdp_media_component.go create mode 100644 models/model_sdp_time_stamps.go create mode 100644 models/model_sdp_type.go create mode 100644 models/model_search_comparison.go create mode 100644 models/model_search_condition.go create mode 100644 models/model_search_expression.go create mode 100644 models/model_secondary_rat_usage_info.go create mode 100644 models/model_security_result.go create mode 100644 models/model_send_mo_data_req_data.go create mode 100644 models/model_send_mo_data_request.go create mode 100644 models/model_send_sms_request.go create mode 100644 models/model_send_sms_response_200.go create mode 100644 models/model_sensor_measurement.go create mode 100644 models/model_sepp_info.go create mode 100644 models/model_sequence_number.go create mode 100644 models/model_server_addressing_info.go create mode 100644 models/model_server_capabilities.go create mode 100644 models/model_service_area_coverage_info.go create mode 100644 models/model_service_data_flow_description.go delete mode 100644 models/model_service_experience_info.go create mode 100644 models/model_service_experience_info_per_app.go create mode 100644 models/model_service_experience_info_per_flow.go create mode 100644 models/model_service_experience_type.go create mode 100644 models/model_service_identification.go create mode 100644 models/model_service_info_status.go create mode 100644 models/model_service_information.go create mode 100644 models/model_service_level_trace_information.go create mode 100644 models/model_service_name_list_cond.go create mode 100644 models/model_service_parameter_data.go create mode 100644 models/model_service_parameter_data_patch.go create mode 100644 models/model_service_specific_authorization_data.go create mode 100644 models/model_service_specific_authorization_info.go create mode 100644 models/model_service_specific_authorization_remove_data.go create mode 100644 models/model_service_type.go create mode 100644 models/model_service_type_unrelated_class.go create mode 100644 models/model_serving_location.go delete mode 100644 models/model_serving_network_function_id.go create mode 100644 models/model_serving_node_address.go create mode 100644 models/model_sess_inact_timer_for_ue_comm.go create mode 100644 models/model_sgsn_address.go create mode 100644 models/model_sgsn_location_data.go delete mode 100644 models/model_shared_authentication_subscription.go create mode 100644 models/model_shared_data_id_range.go create mode 100644 models/model_shared_data_treatment_instruction.go create mode 100644 models/model_sharing_level.go create mode 100644 models/model_sign.go create mode 100644 models/model_sip_authentication_info_request.go create mode 100644 models/model_sip_authentication_info_result.go create mode 100644 models/model_sip_authentication_scheme.go create mode 100644 models/model_sip_digest_algorithm.go create mode 100644 models/model_sip_digest_qop.go create mode 100644 models/model_sip_event_type.go create mode 100644 models/model_sip_forking_indication.go create mode 100644 models/model_slice_info_for_ue_configuration_update.go create mode 100644 models/model_slice_load_level_information.go create mode 100644 models/model_slice_mbr.go create mode 100644 models/model_slice_mbr_rm.go create mode 100644 models/model_slice_policy_data.go create mode 100644 models/model_sm_context.go create mode 100644 models/model_sm_context_configuration.go create mode 100644 models/model_sm_context_released_data.go create mode 100644 models/model_sm_context_status.go create mode 100644 models/model_sm_context_type.go create mode 100644 models/model_sm_delivery_status.go create mode 100644 models/model_sm_nas_from_smf.go create mode 100644 models/model_sm_nas_from_ue.go create mode 100644 models/model_sm_policy_association_release_cause.go create mode 100644 models/model_sm_policy_data_patch.go create mode 100644 models/model_sm_policy_dnn_data_patch.go create mode 100644 models/model_sm_policy_qos_notification_control_info.go create mode 100644 models/model_sm_policy_snssai_data_patch.go create mode 100644 models/model_sm_policy_termination_notification.go create mode 100644 models/model_sm_policy_update_notification_response_200.go create mode 100644 models/model_sm_subs_data.go create mode 100644 models/model_small_data_rate_control.go create mode 100644 models/model_small_data_rate_control_time_unit.go create mode 100644 models/model_small_data_rate_status.go create mode 100644 models/model_small_data_rate_status_info.go create mode 100644 models/model_smcce_info.go create mode 100644 models/model_smcce_ue_list.go create mode 100644 models/model_smf_change_indication.go create mode 100644 models/model_smf_change_info.go create mode 100644 models/model_smf_event_exposure_event_notification.go create mode 100644 models/model_smf_event_exposure_event_subscription.go create mode 100644 models/model_smf_event_exposure_notification_method.go create mode 100644 models/model_smf_event_exposure_pdu_session_info.go create mode 100644 models/model_smf_event_exposure_pdu_session_information.go create mode 100644 models/model_smf_event_exposure_pdu_session_status.go create mode 100644 models/model_smf_nidd_deliver_req_data.go create mode 100644 models/model_smf_pdu_session_cause.go create mode 100644 models/model_smf_pdu_session_dnai_information.go create mode 100644 models/model_smf_pdu_session_ext_problem_details.go create mode 100644 models/model_smf_pdu_session_gbr_qos_flow_information.go create mode 100644 models/model_smf_pdu_session_ip_address.go create mode 100644 models/model_smf_pdu_session_notification_info.go create mode 100644 models/model_smf_pdu_session_qos_flow_add_modify_request_item.go create mode 100644 models/model_smf_pdu_session_qos_flow_profile.go create mode 100644 models/model_smf_pdu_session_sm_context_create_data.go create mode 100644 models/model_smf_pdu_session_sm_context_created_data.go create mode 100644 models/model_smf_pdu_session_sm_context_release_data.go create mode 100644 models/model_smf_pdu_session_sm_context_status_notification.go create mode 100644 models/model_smf_pdu_session_sm_context_update_data.go create mode 100644 models/model_smf_registration_info.go create mode 100644 models/model_smf_registration_modification.go create mode 100644 models/model_smf_selection_data.go create mode 100644 models/model_smf_selection_type.go create mode 100644 models/model_smf_subscription_info.go create mode 100644 models/model_smf_subscription_item.go create mode 100644 models/model_sms_data.go create mode 100644 models/model_sms_delivery_data.go create mode 100644 models/model_sms_registration_info.go create mode 100644 models/model_sms_router_info.go create mode 100644 models/model_smsc_data.go create mode 100644 models/model_snssai_dnn_combination.go create mode 100644 models/model_snssai_easdf_info_item.go create mode 100644 models/model_snssai_extension.go create mode 100644 models/model_snssai_info_item.go create mode 100644 models/model_snssai_mb_smf_info_item.go create mode 100644 models/model_snssai_route_selection_descriptor.go create mode 100644 models/model_snssai_tai_mapping.go create mode 100644 models/model_snssai_tsctsf_info_item.go create mode 100644 models/model_software_image_info.go create mode 100644 models/model_sor_update_indicator.go create mode 100644 models/model_sor_update_info.go create mode 100644 models/model_spatial_validity_cond.go create mode 100644 models/model_specific_analytics_subscription.go create mode 100644 models/model_specific_data_subscription.go create mode 100644 models/model_spending_limit_context.go create mode 100644 models/model_spending_limit_status.go create mode 100644 models/model_sponsor_information.go create mode 100644 models/model_spt.go create mode 100644 models/model_sqn_scheme.go create mode 100644 models/model_srvcc_capability.go create mode 100644 models/model_srvcc_data.go create mode 100644 models/model_ssm.go create mode 100644 models/model_stationary_indication.go create mode 100644 models/model_stationary_indication_rm.go create mode 100644 models/model_status.go create mode 100644 models/model_steer_mode_indicator.go create mode 100644 models/model_storage_outcome.go create mode 100644 models/model_stored_search_result.go create mode 100644 models/model_string_matching_condition.go create mode 100644 models/model_string_matching_rule.go create mode 100644 models/model_subscr_cond.go delete mode 100644 models/model_subscribed_data.go delete mode 100644 models/model_subscribed_data_filter.go create mode 100644 models/model_subscription_context.go delete mode 100644 models/model_subscription_data.go create mode 100644 models/model_subscription_filter.go create mode 100644 models/model_subscription_termination_info.go create mode 100644 models/model_subscription_transfer_info.go create mode 100644 models/model_suci_info.go create mode 100644 models/model_suggested_packet_num_dl.go create mode 100644 models/model_summarization_attribute.go create mode 100644 models/model_supi_info.go create mode 100644 models/model_supplementary_service.go create mode 100644 models/model_supplementary_service_mode.go create mode 100644 models/model_supplementary_service_type.go create mode 100644 models/model_supported_snssai.go create mode 100644 models/model_tac_info.go create mode 100644 models/model_tad_identifier.go create mode 100644 models/model_tads_information.go create mode 100644 models/model_tag_type.go create mode 100644 models/model_target_area.go create mode 100644 models/model_target_dnai_info.go create mode 100644 models/model_target_ue_information.go delete mode 100644 models/model_termination_notification.go create mode 100644 models/model_threshold_level.go create mode 100644 models/model_threshold_value.go create mode 100644 models/model_time_unit.go create mode 100644 models/model_timer.go create mode 100644 models/model_timer_id_list.go create mode 100644 models/model_tmgi.go create mode 100644 models/model_tmgi_range.go create mode 100644 models/model_tngf_info.go delete mode 100644 models/model_top.go create mode 100644 models/model_top_application.go delete mode 100644 models/model_topc.go create mode 100644 models/model_topological_service_area.go create mode 100644 models/model_traffic_characterization.go create mode 100644 models/model_traffic_descriptor.go create mode 100644 models/model_traffic_descriptor_components.go create mode 100644 models/model_traffic_forwarding_way.go delete mode 100644 models/model_traffic_influ_event_notification.go create mode 100644 models/model_traffic_influ_sub_patch.go create mode 100644 models/model_traffic_information.go create mode 100644 models/model_traffic_profile.go create mode 100644 models/model_traffic_profile_rm.go create mode 100644 models/model_transaction_info.go create mode 100644 models/model_transaction_metric.go create mode 100644 models/model_transfer_mo_data_req_data.go create mode 100644 models/model_transfer_mo_data_request.go create mode 100644 models/model_transfer_mt_data_add_info.go create mode 100644 models/model_transfer_mt_data_error.go create mode 100644 models/model_transfer_mt_data_req_data.go create mode 100644 models/model_transfer_mt_data_request.go create mode 100644 models/model_transfer_mt_dataismf_request.go create mode 100644 models/model_transfer_request_type.go create mode 100644 models/model_transmitter_info.go create mode 100644 models/model_trigger_point.go create mode 100644 models/model_trigger_request.go create mode 100644 models/model_trunk_group_id.go create mode 100644 models/model_trust_af_info.go create mode 100644 models/model_tsc_qos_requirement.go create mode 100644 models/model_tsc_qos_requirement_rm.go create mode 100644 models/model_tscai_input_container.go create mode 100644 models/model_tsctsf_info.go create mode 100644 models/model_tsn_bridge_info.go create mode 100644 models/model_tsn_qos_container.go create mode 100644 models/model_tsn_qos_container_rm.go delete mode 100644 models/model_tuak.go create mode 100644 models/model_twan_location_data.go create mode 100644 models/model_twif_info.go create mode 100644 models/model_type_of_condition.go create mode 100644 models/model_uav_auth_failure.go create mode 100644 models/model_uc_purpose.go create mode 100644 models/model_uc_subscription_data.go create mode 100644 models/model_udm_ee_association_type.go create mode 100644 models/model_udm_ee_created_ee_subscription.go create mode 100644 models/model_udm_ee_ee_subscription.go create mode 100644 models/model_udm_ee_event_type.go create mode 100644 models/model_udm_ee_failed_cause.go create mode 100644 models/model_udm_ee_failed_monitoring_configuration.go create mode 100644 models/model_udm_ee_location_accuracy.go create mode 100644 models/model_udm_ee_location_reporting_configuration.go create mode 100644 models/model_udm_ee_monitoring_configuration.go create mode 100644 models/model_udm_ee_monitoring_report.go create mode 100644 models/model_udm_ee_pdu_session_status_cfg.go create mode 100644 models/model_udm_ee_reachability_for_data_configuration.go create mode 100644 models/model_udm_ee_reachability_for_sms_report.go create mode 100644 models/model_udm_ee_report.go create mode 100644 models/model_udm_ee_reporting_options.go create mode 100644 models/model_udm_mt_ue_info.go create mode 100644 models/model_udm_niddau_authorization_data.go create mode 100644 models/model_udm_pp_location_area.go create mode 100644 models/model_udm_sdm_amf_info.go create mode 100644 models/model_udm_sdm_app_descriptor.go create mode 100644 models/model_udm_sdm_data_set_name.go create mode 100644 models/model_udm_sdm_ec_restriction_data_wb.go create mode 100644 models/model_udm_sdm_group_identifiers.go create mode 100644 models/model_udm_sdm_ip_address.go create mode 100644 models/model_udm_sdm_ip_index.go create mode 100644 models/model_udm_sdm_nidd_information.go create mode 100644 models/model_udm_sdm_shared_data.go create mode 100644 models/model_udm_sdm_sor_info.go create mode 100644 models/model_udm_sdm_steering_container.go create mode 100644 models/model_udm_sdm_subscription_data_sets.go create mode 100644 models/model_udm_sdm_ue_id.go create mode 100644 models/model_udm_sdm_upu_info.go create mode 100644 models/model_udm_ssau_service_specific_authorization_info.go create mode 100644 models/model_udm_ueau_auth_type.go create mode 100644 models/model_udm_ueau_authentication_info_request.go create mode 100644 models/model_udm_ueau_authentication_info_result.go create mode 100644 models/model_udm_ueau_rg_auth_ctx.go create mode 100644 models/model_udm_uecm_data_restoration_notification.go create mode 100644 models/model_udm_uecm_deregistration_data.go create mode 100644 models/model_udm_uecm_deregistration_reason.go create mode 100644 models/model_udm_uecm_location_info.go create mode 100644 models/model_udr_dr_data_restoration_notification.go delete mode 100644 models/model_udr_traffic_influ_sub.go create mode 100644 models/model_udsf_data_repository_notification_info.go create mode 100644 models/model_udsf_info.go create mode 100644 models/model_ue_access_behavior_report_item.go create mode 100644 models/model_ue_analytics_context_descriptor.go create mode 100644 models/model_ue_area_indication.go create mode 100644 models/model_ue_auth.go create mode 100644 models/model_ue_communication.go create mode 100644 models/model_ue_communication_collection.go create mode 100644 models/model_ue_communication_info.go create mode 100644 models/model_ue_connectivity_state.go create mode 100644 models/model_ue_context_cancel_relocate_data.go create mode 100644 models/model_ue_context_in_amf_data.go create mode 100644 models/model_ue_context_in_smf_data_sub_filter.go create mode 100644 models/model_ue_context_relocate_data.go create mode 100644 models/model_ue_context_relocated_data.go delete mode 100644 models/model_ue_context_transfer_response.go create mode 100644 models/model_ue_context_transfer_response_200.go create mode 100644 models/model_ue_differentiation_info.go create mode 100644 models/model_ue_id.go create mode 100644 models/model_ue_id_ext.go create mode 100644 models/model_ue_identity_info.go create mode 100644 models/model_ue_in_area_filter.go create mode 100644 models/model_ue_lcs_capability.go create mode 100644 models/model_ue_location_info.go create mode 100644 models/model_ue_location_service_ind.go create mode 100644 models/model_ue_location_trends_report_item.go create mode 100644 models/model_ue_mobility.go create mode 100644 models/model_ue_mobility_collection.go create mode 100644 models/model_ue_mobility_info.go create mode 100644 models/model_ue_policy_association.go create mode 100644 models/model_ue_policy_association_release_cause.go create mode 100644 models/model_ue_policy_association_request.go create mode 100644 models/model_ue_policy_association_update_request.go create mode 100644 models/model_ue_policy_request_trigger.go create mode 100644 models/model_ue_policy_set_patch.go create mode 100644 models/model_ue_policy_termination_notification.go create mode 100644 models/model_ue_policy_transfer_failure_notification.go create mode 100644 models/model_ue_policy_update.go create mode 100644 models/model_ue_privacy_requirements.go create mode 100644 models/model_ue_reachability_notification.go create mode 100644 models/model_ue_reachability_subscription.go create mode 100644 models/model_ue_reachable_ind.go create mode 100644 models/model_ue_requested_value_rep.go create mode 100644 models/model_ue_slice_mbr.go create mode 100644 models/model_ue_subscription_info.go create mode 100644 models/model_ue_trajectory_collection.go create mode 100644 models/model_ue_trajectory_info.go create mode 100644 models/model_ue_transfer_type.go create mode 100644 models/model_ue_type.go create mode 100644 models/model_ue_update_status.go create mode 100644 models/model_ulcl_bp_information.go create mode 100644 models/model_umt_time.go create mode 100644 models/model_un_trust_af_info.go create mode 100644 models/model_unavailable_access_indication.go create mode 100644 models/model_uncertainty_ellipsoid.go create mode 100644 models/model_unrelated_class.go create mode 100644 models/model_up_security_info.go create mode 100644 models/model_update_charging_data_response_400.go create mode 100644 models/model_update_charging_data_response_403.go create mode 100644 models/model_update_charging_data_response_404.go delete mode 100644 models/model_update_events_subsc_response.go delete mode 100644 models/model_update_events_subsc_response_200.go delete mode 100644 models/model_update_events_subsc_response_201.go create mode 100644 models/model_update_nwdaf_registration_response_200.go delete mode 100644 models/model_update_pdu_session_error_response.go delete mode 100644 models/model_update_pdu_session_response.go create mode 100644 models/model_update_pdu_session_response_200.go create mode 100644 models/model_update_pdu_session_response_400.go create mode 100644 models/model_update_sm_context_error.go delete mode 100644 models/model_update_sm_context_error_response.go delete mode 100644 models/model_update_sm_context_response.go create mode 100644 models/model_update_sm_context_response_200.go create mode 100644 models/model_update_sm_context_response_400.go create mode 100644 models/model_updated_item.go create mode 100644 models/model_updated_ue_reachability_subscription.go create mode 100644 models/model_updp_subscription_data.go create mode 100644 models/model_upf_cond.go create mode 100644 models/model_upf_information.go create mode 100644 models/model_upu_data_1.go create mode 100644 models/model_uri_list.go create mode 100644 models/model_ursp_rule_request.go delete mode 100644 models/model_used_unit_container.go create mode 100644 models/model_user_consent.go create mode 100644 models/model_user_data_congestion_collection.go create mode 100644 models/model_user_data_congestion_info.go create mode 100644 models/model_user_identifier.go delete mode 100644 models/model_user_information.go create mode 100644 models/model_user_plane_event.go create mode 100644 models/model_user_plane_event_report.go create mode 100644 models/model_user_plane_location_area.go create mode 100644 models/model_user_plane_notification_data.go create mode 100644 models/model_user_state_cs.go create mode 100644 models/model_user_state_ps.go create mode 100644 models/model_uuaa_mm_status.go create mode 100644 models/model_v2x_capability.go create mode 100644 models/model_v2x_context.go create mode 100644 models/model_v2x_information.go create mode 100644 models/model_v2x_subscription_data.go create mode 100644 models/model_valid_time_period.go create mode 100644 models/model_var_snssai.go create mode 100644 models/model_variable_part.go create mode 100644 models/model_variable_part_type.go delete mode 100644 models/model_vector_algorithm.go create mode 100644 models/model_vendor_specific_feature.go create mode 100644 models/model_vgmlc_address.go create mode 100644 models/model_virtual_resource.go create mode 100644 models/model_vn_group_data.go create mode 100644 models/model_volume_timed_report.go create mode 100644 models/model_vplmn_qos.go create mode 100644 models/model_w_agf_info.go create mode 100644 models/model_wireline_area.go create mode 100644 models/model_wireline_service_area_restriction.go create mode 100644 models/model_wlan_ordering_criterion.go create mode 100644 models/model_wlan_per_ss_id_performance_info.go create mode 100644 models/model_wlan_per_ts_performance_info.go create mode 100644 models/model_wlan_performance_info.go create mode 100644 models/model_wlan_performance_req.go create mode 100644 models/models/model_3_g_aka_av.go create mode 100644 models/models/model_3_gppps_data_off_status.go create mode 100644 models/models/model_5_g_ddnmf_info.go create mode 100644 models/models/model_5_g_srvcc_info.go create mode 100644 models/models/model_5_g_vn_group_configuration.go create mode 100644 models/models/model_5_g_vn_group_data.go create mode 100644 models/models/model_5_glan_type_service.go create mode 100644 models/models/model_5_gs_user_state.go create mode 100644 models/models/model_5_gs_user_state_info.go create mode 100644 models/models/model_5_mbs_authorization_info.go create mode 100644 models/models/model_aanf_info.go create mode 100644 models/models/model_abnormal_behaviour.go create mode 100644 models/models/model_acc_net_ch_id.go create mode 100644 models/models/model_acc_net_charging_address.go create mode 100644 models/models/model_acceptable_mbs_serv_info.go create mode 100644 models/models/model_acceptable_service_info.go create mode 100644 models/models/model_access_and_mobility_data.go create mode 100644 models/models/model_access_and_mobility_subscription_data.go create mode 100644 models/models/model_access_net_charging_identifier.go create mode 100644 models/models/model_access_network_id.go create mode 100644 models/models/model_access_network_info_change.go create mode 100644 models/models/model_access_right_status.go create mode 100644 models/models/model_access_state_transition_type.go create mode 100644 models/models/model_access_tech.go create mode 100644 models/models/model_access_token_err.go create mode 100644 models/models/model_access_transfer_information.go create mode 100644 models/models/model_access_transfer_type.go create mode 100644 models/models/model_access_type.go create mode 100644 models/models/model_access_type_rm.go create mode 100644 models/models/model_accu_usage_report.go create mode 100644 models/models/model_accumulated_usage.go create mode 100644 models/models/model_accuracy_fulfilment_indicator.go create mode 100644 models/models/model_ack_of_notify.go create mode 100644 models/models/model_acknowledge_info.go create mode 100644 models/models/model_acs_info.go create mode 100644 models/models/model_acs_info_rm.go create mode 100644 models/models/model_activation_state.go create mode 100644 models/models/model_addition_info_analytics_info_request.go create mode 100644 models/models/model_addition_info_enable_ue_reachability.go create mode 100644 models/models/model_additional_access_info.go create mode 100644 models/models/model_additional_ee_subs_info.go create mode 100644 models/models/model_additional_measurement.go create mode 100644 models/models/model_additional_qos_flow_info.go create mode 100644 models/models/model_additional_snssai_data.go create mode 100644 models/models/model_addr_fqdn.go create mode 100644 models/models/model_address_list.go create mode 100644 models/models/model_administrative_state.go create mode 100644 models/models/model_adrf_data_type.go create mode 100644 models/models/model_aerial_ue_indication.go create mode 100644 models/models/model_aerial_ue_subscription_info.go create mode 100644 models/models/model_af_ack_info.go create mode 100644 models/models/model_af_coordination_info.go create mode 100644 models/models/model_af_event_exposure_af_event.go create mode 100644 models/models/model_af_event_exposure_af_event_notification.go create mode 100644 models/models/model_af_event_exposure_data.go create mode 100644 models/models/model_af_event_exposure_dispersion_collection.go create mode 100644 models/models/model_af_event_exposure_event_filter.go create mode 100644 models/models/model_af_event_exposure_notif.go create mode 100644 models/models/model_af_event_exposure_subsc.go create mode 100644 models/models/model_af_event_subscription.go create mode 100644 models/models/model_af_external.go create mode 100644 models/models/model_af_notif_method.go create mode 100644 models/models/model_af_requested_data.go create mode 100644 models/models/model_af_result_info.go create mode 100644 models/models/model_af_result_status.go create mode 100644 models/models/model_af_routing_requirement.go create mode 100644 models/models/model_af_routing_requirement_rm.go create mode 100644 models/models/model_af_sig_protocol.go create mode 100644 models/models/model_affinity_anti_affinity.go create mode 100644 models/models/model_aggregation_level.go create mode 100644 models/models/model_alert_limit.go create mode 100644 models/models/model_allowed_mbs_info.go create mode 100644 models/models/model_allowed_mtc_provider_info.go create mode 100644 models/models/model_allowed_nssai.go create mode 100644 models/models/model_allowed_snssai.go create mode 100644 models/models/model_alternative_qos_profile.go create mode 100644 models/models/model_alternative_service_requirements_data.go create mode 100644 models/models/model_am_event.go create mode 100644 models/models/model_am_event_data.go create mode 100644 models/models/model_am_event_notification.go create mode 100644 models/models/model_am_events_notification.go create mode 100644 models/models/model_am_events_subsc_data.go create mode 100644 models/models/model_am_events_subsc_data_rm.go create mode 100644 models/models/model_am_events_subsc_resp_data.go create mode 100644 models/models/model_am_influ_data.go create mode 100644 models/models/model_am_influ_event.go create mode 100644 models/models/model_am_policy_data.go create mode 100644 models/models/model_am_requested_value_rep.go create mode 100644 models/models/model_am_termination_cause.go create mode 100644 models/models/model_am_termination_info.go create mode 100644 models/models/model_ambr.go create mode 100644 models/models/model_ambr_rm.go create mode 100644 models/models/model_amf3_gpp_access_registration.go create mode 100644 models/models/model_amf3_gpp_access_registration_modification.go create mode 100644 models/models/model_amf_communication_ec_restriction_data_wb.go create mode 100644 models/models/model_amf_communication_ngap_ie_type.go create mode 100644 models/models/model_amf_communication_release_cause.go create mode 100644 models/models/model_amf_communication_subscription_data.go create mode 100644 models/models/model_amf_cond.go create mode 100644 models/models/model_amf_create_event_subscription.go create mode 100644 models/models/model_amf_created_event_subscription.go create mode 100644 models/models/model_amf_dereg_info.go create mode 100644 models/models/model_amf_event.go create mode 100644 models/models/model_amf_event_area.go create mode 100644 models/models/model_amf_event_exposure_traffic_descriptor.go create mode 100644 models/models/model_amf_event_mode.go create mode 100644 models/models/model_amf_event_notification.go create mode 100644 models/models/model_amf_event_report.go create mode 100644 models/models/model_amf_event_state.go create mode 100644 models/models/model_amf_event_subs_sync_info.go create mode 100644 models/models/model_amf_event_subscription.go create mode 100644 models/models/model_amf_event_subscription_add_info.go create mode 100644 models/models/model_amf_event_subscription_info.go create mode 100644 models/models/model_amf_event_trigger.go create mode 100644 models/models/model_amf_event_type.go create mode 100644 models/models/model_amf_location_data.go create mode 100644 models/models/model_amf_location_location_event.go create mode 100644 models/models/model_amf_location_location_type.go create mode 100644 models/models/model_amf_mbs_broadcast_context_update_req_data.go create mode 100644 models/models/model_amf_mbs_broadcast_context_update_rsp_data.go create mode 100644 models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go create mode 100644 models/models/model_amf_mbs_broadcast_ngap_ie_type.go create mode 100644 models/models/model_amf_mbs_communication_n2_mbs_sm_info.go create mode 100644 models/models/model_amf_mt_ue_info.go create mode 100644 models/models/model_amf_non3_gpp_access_registration.go create mode 100644 models/models/model_amf_non3_gpp_access_registration_modification.go create mode 100644 models/models/model_amf_status_change_notification.go create mode 100644 models/models/model_amf_status_info.go create mode 100644 models/models/model_amf_subscription_info.go create mode 100644 models/models/model_amf_update_event_option_item.go create mode 100644 models/models/model_amf_update_event_subscription_item.go create mode 100644 models/models/model_amf_updated_event_subscription.go create mode 100644 models/models/model_an_gw_address.go create mode 100644 models/models/model_an_node_type.go create mode 100644 models/models/model_analytics_context_identifier.go create mode 100644 models/models/model_analytics_metadata.go create mode 100644 models/models/model_analytics_metadata_indication.go create mode 100644 models/models/model_analytics_metadata_info.go create mode 100644 models/models/model_analytics_subscription.go create mode 100644 models/models/model_analytics_subscriptions_transfer.go create mode 100644 models/models/model_analytics_subset.go create mode 100644 models/models/model_anchor_smf_features.go create mode 100644 models/models/model_announcement_information.go create mode 100644 models/models/model_announcement_privacy_indicator.go create mode 100644 models/models/model_api_direction.go create mode 100644 models/models/model_apn_rate_status.go create mode 100644 models/models/model_app_am_context_data.go create mode 100644 models/models/model_app_am_context_resp_data.go create mode 100644 models/models/model_app_am_context_update_data.go create mode 100644 models/models/model_app_descriptor.go create mode 100644 models/models/model_app_detection_info.go create mode 100644 models/models/model_app_detection_notif_type.go create mode 100644 models/models/model_app_detection_report.go create mode 100644 models/models/model_app_list_for_ue_comm.go create mode 100644 models/models/model_app_port_id.go create mode 100644 models/models/model_app_session_context.go create mode 100644 models/models/model_app_session_context_req_data.go create mode 100644 models/models/model_app_session_context_resp_data.go create mode 100644 models/models/model_app_session_context_update_data.go create mode 100644 models/models/model_app_session_context_update_data_patch.go create mode 100644 models/models/model_application_data_change_notif.go create mode 100644 models/models/model_application_data_subs.go create mode 100644 models/models/model_application_for_pfd_request.go create mode 100644 models/models/model_application_server.go create mode 100644 models/models/model_application_volume.go create mode 100644 models/models/model_applied_smcc_type.go create mode 100644 models/models/model_area.go create mode 100644 models/models/model_area_event_info.go create mode 100644 models/models/model_area_of_interest_event_state.go create mode 100644 models/models/model_area_of_validity.go create mode 100644 models/models/model_area_scope.go create mode 100644 models/models/model_arp.go create mode 100644 models/models/model_as_session_with_qo_s_subscription.go create mode 100644 models/models/model_as_session_with_qo_s_subscription_patch.go create mode 100644 models/models/model_assign_ebi_data.go create mode 100644 models/models/model_assign_ebi_error.go create mode 100644 models/models/model_assign_ebi_failed.go create mode 100644 models/models/model_assigned_ebi_data.go create mode 100644 models/models/model_atom.go create mode 100644 models/models/model_atsss_capability.go create mode 100644 models/models/model_ausf_info.go create mode 100644 models/models/model_ausf_so_r_protection_sor_info.go create mode 100644 models/models/model_ausf_so_r_protection_steering_container.go create mode 100644 models/models/model_ausf_so_r_protection_steering_info.go create mode 100644 models/models/model_ausf_ue_authentication_auth_result.go create mode 100644 models/models/model_ausf_ue_authentication_auth_type.go create mode 100644 models/models/model_ausf_ue_authentication_rg_auth_ctx.go create mode 100644 models/models/model_ausf_upu_protection_upu_data.go create mode 100644 models/models/model_ausf_upu_protection_upu_info.go create mode 100644 models/models/model_auth_event.go create mode 100644 models/models/model_auth_method.go create mode 100644 models/models/model_auth_notification.go create mode 100644 models/models/model_auth_status.go create mode 100644 models/models/model_auth_update_info.go create mode 100644 models/models/model_auth_update_notification.go create mode 100644 models/models/model_authentication_info.go create mode 100644 models/models/model_authentication_subscription.go create mode 100644 models/models/model_authentication_vector.go create mode 100644 models/models/model_authorization_data.go create mode 100644 models/models/model_authorization_info.go create mode 100644 models/models/model_authorization_ue_id.go create mode 100644 models/models/model_authorized_default_qos.go create mode 100644 models/models/model_authorized_network_slice_info.go create mode 100644 models/models/model_authorized_nssai_availability_data.go create mode 100644 models/models/model_authorized_nssai_availability_info.go create mode 100644 models/models/model_av5_g_he_aka.go create mode 100644 models/models/model_av5g_aka.go create mode 100644 models/models/model_av_eap_aka_prime.go create mode 100644 models/models/model_av_eps_aka.go create mode 100644 models/models/model_av_ims_gba_eap_aka.go create mode 100644 models/models/model_av_type.go create mode 100644 models/models/model_backup_amf_info.go create mode 100644 models/models/model_base_record.go create mode 100644 models/models/model_battery_indication.go create mode 100644 models/models/model_battery_indication_rm.go create mode 100644 models/models/model_bdt_data.go create mode 100644 models/models/model_bdt_data_patch.go create mode 100644 models/models/model_bdt_policy.go create mode 100644 models/models/model_bdt_policy_data.go create mode 100644 models/models/model_bdt_policy_data_patch.go create mode 100644 models/models/model_bdt_policy_status.go create mode 100644 models/models/model_bdt_req_data.go create mode 100644 models/models/model_bdt_req_data_patch.go create mode 100644 models/models/model_block.go create mode 100644 models/models/model_bootstrapping_info.go create mode 100644 models/models/model_bridge_management_container.go create mode 100644 models/models/model_bw_requirement.go create mode 100644 models/models/model_cache_status.go create mode 100644 models/models/model_cag_ack_data.go create mode 100644 models/models/model_cag_data.go create mode 100644 models/models/model_cag_info.go create mode 100644 models/models/model_call_reference_info.go create mode 100644 models/models/model_called_identity_change.go create mode 100644 models/models/model_cancel_pos_info.go create mode 100644 models/models/model_cancel_relocate_ue_context_request.go create mode 100644 models/models/model_candidate_for_replacement.go create mode 100644 models/models/model_ce_mode_b_ind.go create mode 100644 models/models/model_cell_global_id.go create mode 100644 models/models/model_change_item.go create mode 100644 models/models/model_change_of_supi_pei_association_report.go create mode 100644 models/models/model_change_type.go create mode 100644 models/models/model_charging_characteristics_selection_mode.go create mode 100644 models/models/model_charging_data.go create mode 100644 models/models/model_charging_info.go create mode 100644 models/models/model_charging_information.go create mode 100644 models/models/model_charging_notify_request.go create mode 100644 models/models/model_charging_notify_response.go create mode 100644 models/models/model_chf_converged_charging_charging_data_request.go create mode 100644 models/models/model_chf_converged_charging_charging_data_response.go create mode 100644 models/models/model_chf_converged_charging_multiple_qf_icontainer.go create mode 100644 models/models/model_chf_converged_charging_multiple_unit_usage.go create mode 100644 models/models/model_chf_converged_charging_nf_identification.go create mode 100644 models/models/model_chf_converged_charging_node_functionality.go create mode 100644 models/models/model_chf_converged_charging_notification_type.go create mode 100644 models/models/model_chf_converged_charging_pdu_address.go create mode 100644 models/models/model_chf_converged_charging_pdu_container_information.go create mode 100644 models/models/model_chf_converged_charging_pdu_session_charging_information.go create mode 100644 models/models/model_chf_converged_charging_pdu_session_information.go create mode 100644 models/models/model_chf_converged_charging_qfi_container_information.go create mode 100644 models/models/model_chf_converged_charging_qos_monitoring_report.go create mode 100644 models/models/model_chf_converged_charging_redirect_address_type.go create mode 100644 models/models/model_chf_converged_charging_result_code.go create mode 100644 models/models/model_chf_converged_charging_roaming_charging_profile.go create mode 100644 models/models/model_chf_converged_charging_roaming_qbc_information.go create mode 100644 models/models/model_chf_converged_charging_serving_network_function_id.go create mode 100644 models/models/model_chf_converged_charging_trigger.go create mode 100644 models/models/model_chf_converged_charging_trigger_type.go create mode 100644 models/models/model_chf_converged_charging_used_unit_container.go create mode 100644 models/models/model_chf_converged_charging_user_information.go create mode 100644 models/models/model_chf_info.go create mode 100644 models/models/model_chf_offline_only_charging_charging_data_request.go create mode 100644 models/models/model_chf_offline_only_charging_charging_data_response.go create mode 100644 models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go create mode 100644 models/models/model_chf_offline_only_charging_multiple_unit_usage.go create mode 100644 models/models/model_chf_offline_only_charging_nf_identification.go create mode 100644 models/models/model_chf_offline_only_charging_node_functionality.go create mode 100644 models/models/model_chf_offline_only_charging_pdu_address.go create mode 100644 models/models/model_chf_offline_only_charging_pdu_container_information.go create mode 100644 models/models/model_chf_offline_only_charging_pdu_session_charging_information.go create mode 100644 models/models/model_chf_offline_only_charging_pdu_session_information.go create mode 100644 models/models/model_chf_offline_only_charging_qfi_container_information.go create mode 100644 models/models/model_chf_offline_only_charging_result_code.go create mode 100644 models/models/model_chf_offline_only_charging_roaming_charging_profile.go create mode 100644 models/models/model_chf_offline_only_charging_roaming_qbc_information.go create mode 100644 models/models/model_chf_offline_only_charging_serving_network_function_id.go create mode 100644 models/models/model_chf_offline_only_charging_trigger.go create mode 100644 models/models/model_chf_offline_only_charging_trigger_type.go create mode 100644 models/models/model_chf_offline_only_charging_used_unit_container.go create mode 100644 models/models/model_chf_offline_only_charging_user_information.go create mode 100644 models/models/model_chf_spending_limit_control_termination_cause.go create mode 100644 models/models/model_cipher_request_data.go create mode 100644 models/models/model_cipher_response_data.go create mode 100644 models/models/model_ciphering_algorithm.go create mode 100644 models/models/model_ciphering_data_set.go create mode 100644 models/models/model_ciphering_key_info.go create mode 100644 models/models/model_ciphering_key_response.go create mode 100644 models/models/model_ciphering_set_report.go create mode 100644 models/models/model_circumstance_description.go create mode 100644 models/models/model_civic_address.go create mode 100644 models/models/model_class_criterion.go create mode 100644 models/models/model_class_identifier.go create mode 100644 models/models/model_client_id.go create mode 100644 models/models/model_cm_info.go create mode 100644 models/models/model_cm_info_report.go create mode 100644 models/models/model_cm_state.go create mode 100644 models/models/model_cn_assisted_ran_para.go create mode 100644 models/models/model_cn_type.go create mode 100644 models/models/model_cn_type_change_report.go create mode 100644 models/models/model_cnf.go create mode 100644 models/models/model_cnf_unit.go create mode 100644 models/models/model_code_word_ind.go create mode 100644 models/models/model_collection_period_rmm_lte_mdt.go create mode 100644 models/models/model_collection_period_rmm_nr_mdt.go create mode 100644 models/models/model_collective_behaviour_filter.go create mode 100644 models/models/model_collective_behaviour_filter_type.go create mode 100644 models/models/model_collective_behaviour_info.go create mode 100644 models/models/model_collocated_nf_instance.go create mode 100644 models/models/model_collocated_nf_type.go create mode 100644 models/models/model_communication_characteristics.go create mode 100644 models/models/model_communication_characteristics_af.go create mode 100644 models/models/model_communication_collection.go create mode 100644 models/models/model_communication_failure.go create mode 100644 models/models/model_comparison_operator.go create mode 100644 models/models/model_complex_query.go create mode 100644 models/models/model_condition_data.go create mode 100644 models/models/model_condition_event_type.go create mode 100644 models/models/model_condition_operator.go create mode 100644 models/models/model_configured_snssai.go create mode 100644 models/models/model_confirmation_data.go create mode 100644 models/models/model_confirmation_data_response.go create mode 100644 models/models/model_congestion_info.go create mode 100644 models/models/model_connection_capabilities.go create mode 100644 models/models/model_consumer_nf_information.go create mode 100644 models/models/model_context_create_req_data.go create mode 100644 models/models/model_context_create_request.go create mode 100644 models/models/model_context_create_response_201.go create mode 100644 models/models/model_context_create_rsp_data.go create mode 100644 models/models/model_context_data.go create mode 100644 models/models/model_context_data_set_name.go create mode 100644 models/models/model_context_data_sets.go create mode 100644 models/models/model_context_element.go create mode 100644 models/models/model_context_id_list.go create mode 100644 models/models/model_context_info.go create mode 100644 models/models/model_context_status_notification.go create mode 100644 models/models/model_context_type.go create mode 100644 models/models/model_context_update_request.go create mode 100644 models/models/model_context_update_response_200.go create mode 100644 models/models/model_core_network_service_authorization.go create mode 100644 models/models/model_core_network_type.go create mode 100644 models/models/model_coverage_info.go create mode 100644 models/models/model_create_ue_context_request.go create mode 100644 models/models/model_create_ue_context_response_201.go create mode 100644 models/models/model_create_ue_context_response_403.go create mode 100644 models/models/model_created_ue_reachability_subscription.go create mode 100644 models/models/model_credit_management_status.go create mode 100644 models/models/model_cs_location.go create mode 100644 models/models/model_cs_user_state.go create mode 100644 models/models/model_csg_information.go create mode 100644 models/models/model_csrn.go create mode 100644 models/models/model_data_availability.go create mode 100644 models/models/model_data_change_notify.go create mode 100644 models/models/model_data_collection_purpose.go create mode 100644 models/models/model_data_filter.go create mode 100644 models/models/model_data_ind.go create mode 100644 models/models/model_data_notification.go create mode 100644 models/models/model_data_set_id.go create mode 100644 models/models/model_data_set_name.go create mode 100644 models/models/model_data_subscription.go create mode 100644 models/models/model_datalink_reporting_configuration.go create mode 100644 models/models/model_dataset_statistical_property.go create mode 100644 models/models/model_dccf_cond.go create mode 100644 models/models/model_dccf_data_management_reporting_options.go create mode 100644 models/models/model_dccf_event.go create mode 100644 models/models/model_dccf_info.go create mode 100644 models/models/model_ddd_traffic_descriptor.go create mode 100644 models/models/model_ddn_failure_sub_info.go create mode 100644 models/models/model_ddn_failure_subs.go create mode 100644 models/models/model_deconceal_req_data.go create mode 100644 models/models/model_deconceal_rsp_data.go create mode 100644 models/models/model_def_sub_service_info.go create mode 100644 models/models/model_default_notification_subscription.go create mode 100644 models/models/model_default_unrelated_class.go create mode 100644 models/models/model_deliver_add_info.go create mode 100644 models/models/model_deliver_error.go create mode 100644 models/models/model_deliver_request.go create mode 100644 models/models/model_delivery_report_requested.go create mode 100644 models/models/model_deregistration_info.go create mode 100644 models/models/model_detecting_node.go create mode 100644 models/models/model_determine_location_request.go create mode 100644 models/models/model_direct_discovery_model.go create mode 100644 models/models/model_dispersion_area.go create mode 100644 models/models/model_dispersion_class.go create mode 100644 models/models/model_dispersion_info.go create mode 100644 models/models/model_dispersion_ordering_criterion.go create mode 100644 models/models/model_dispersion_requirement.go create mode 100644 models/models/model_dispersion_type.go create mode 100644 models/models/model_dl_data_delivery_status.go create mode 100644 models/models/model_dn_perf.go create mode 100644 models/models/model_dn_perf_info.go create mode 100644 models/models/model_dn_perf_ordering_criterion.go create mode 100644 models/models/model_dn_performance_req.go create mode 100644 models/models/model_dnai_change_type.go create mode 100644 models/models/model_dnai_information.go create mode 100644 models/models/model_dnf.go create mode 100644 models/models/model_dnf_unit.go create mode 100644 models/models/model_dnn_configuration.go create mode 100644 models/models/model_dnn_easdf_info_item.go create mode 100644 models/models/model_dnn_info.go create mode 100644 models/models/model_dnn_info_item.go create mode 100644 models/models/model_dnn_mb_smf_info_item.go create mode 100644 models/models/model_dnn_route_selection_descriptor.go create mode 100644 models/models/model_dnn_selection_mode.go create mode 100644 models/models/model_dnn_smf_info_item.go create mode 100644 models/models/model_dnn_snssai_information.go create mode 100644 models/models/model_dnn_tsctsf_info_item.go create mode 100644 models/models/model_dnn_upf_info_item.go create mode 100644 models/models/model_dns_server_identifier.go create mode 100644 models/models/model_domain_name_protocol.go create mode 100644 models/models/model_downlink_data_notification_control.go create mode 100644 models/models/model_downlink_data_notification_control_rm.go create mode 100644 models/models/model_dsai_tag_information.go create mode 100644 models/models/model_dsai_tag_status.go create mode 100644 models/models/model_dynamic5_qi.go create mode 100644 models/models/model_dynamic_policy.go create mode 100644 models/models/model_eap_auth_method_response_200.go create mode 100644 models/models/model_eap_session.go create mode 100644 models/models/model_early_media_description.go create mode 100644 models/models/model_eas_dep_notification.go create mode 100644 models/models/model_eas_deploy_info_data.go create mode 100644 models/models/model_eas_deploy_info_notif.go create mode 100644 models/models/model_eas_deploy_sub_data.go create mode 100644 models/models/model_eas_deployment_charging_information.go create mode 100644 models/models/model_eas_event.go create mode 100644 models/models/model_eas_ip_replacement_info.go create mode 100644 models/models/model_eas_requirements.go create mode 100644 models/models/model_eas_server_address.go create mode 100644 models/models/model_easdf_info.go create mode 100644 models/models/model_ebi_arp_mapping.go create mode 100644 models/models/model_ec_restriction.go create mode 100644 models/models/model_ecgi.go create mode 100644 models/models/model_ecs_addr_config_info.go create mode 100644 models/models/model_ecs_server_addr.go create mode 100644 models/models/model_edge_infrastructure_usage_charging_information.go create mode 100644 models/models/model_edrx_parameters.go create mode 100644 models/models/model_ee_group_profile_data.go create mode 100644 models/models/model_ee_monitoring_revoked.go create mode 100644 models/models/model_ee_profile_data.go create mode 100644 models/models/model_ee_subscription.go create mode 100644 models/models/model_ee_subscription_ext.go create mode 100644 models/models/model_ellipsoid_arc.go create mode 100644 models/models/model_emergency_info.go create mode 100644 models/models/model_enable_group_reachability_req_data.go create mode 100644 models/models/model_enable_group_reachability_rsp_data.go create mode 100644 models/models/model_enable_ue_reachability_req_data.go create mode 100644 models/models/model_enable_ue_reachability_rsp_data.go create mode 100644 models/models/model_endpoint_address.go create mode 100644 models/models/model_enhanced_coverage_restriction_data.go create mode 100644 models/models/model_enhanced_diagnostics5_g.go create mode 100644 models/models/model_eps_bearer_info.go create mode 100644 models/models/model_eps_interworking_indication.go create mode 100644 models/models/model_eps_interworking_info.go create mode 100644 models/models/model_eps_iwk_pgw.go create mode 100644 models/models/model_eps_nas_ciphering_algorithm.go create mode 100644 models/models/model_eps_nas_integrity_algorithm.go create mode 100644 models/models/model_eps_nas_security_mode.go create mode 100644 models/models/model_eps_pdn_cnx_info.go create mode 100644 models/models/model_error_report.go create mode 100644 models/models/model_eth_flow_description.go create mode 100644 models/models/model_eth_flow_info.go create mode 100644 models/models/model_ethernet_flow_info.go create mode 100644 models/models/model_eutra_location.go create mode 100644 models/models/model_event.go create mode 100644 models/models/model_event_class.go create mode 100644 models/models/model_event_for_mdt.go create mode 100644 models/models/model_event_id.go create mode 100644 models/models/model_event_notification.go create mode 100644 models/models/model_event_param_report.go create mode 100644 models/models/model_event_report_message.go create mode 100644 models/models/model_event_report_mode.go create mode 100644 models/models/model_event_reporting_requirement.go create mode 100644 models/models/model_event_reporting_status.go create mode 100644 models/models/model_events_subs.go create mode 100644 models/models/model_events_subsc_put_data.go create mode 100644 models/models/model_exception.go create mode 100644 models/models/model_exception_id.go create mode 100644 models/models/model_exception_info.go create mode 100644 models/models/model_exception_trend.go create mode 100644 models/models/model_exemption_ind.go create mode 100644 models/models/model_expected_analytics_type.go create mode 100644 models/models/model_expected_ue_behavior.go create mode 100644 models/models/model_expected_ue_behaviour.go create mode 100644 models/models/model_expected_ue_behaviour_data.go create mode 100644 models/models/model_exposure_data_change_notification.go create mode 100644 models/models/model_exposure_data_subscription.go create mode 100644 models/models/model_ext_amf_event_subscription.go create mode 100644 models/models/model_ext_snssai.go create mode 100644 models/models/model_extended_sm_subs_data.go create mode 100644 models/models/model_external_client_type.go create mode 100644 models/models/model_external_unrelated_class.go create mode 100644 models/models/model_failure.go create mode 100644 models/models/model_failure_event_info.go create mode 100644 models/models/model_failure_event_info_for_ml_model.go create mode 100644 models/models/model_failure_handling.go create mode 100644 models/models/model_fetch_instruction.go create mode 100644 models/models/model_final_unit_action.go create mode 100644 models/models/model_final_unit_indication.go create mode 100644 models/models/model_fix_type.go create mode 100644 models/models/model_flow_direction.go create mode 100644 models/models/model_flow_direction_rm.go create mode 100644 models/models/model_flow_info.go create mode 100644 models/models/model_flow_information.go create mode 100644 models/models/model_flow_status.go create mode 100644 models/models/model_flow_usage.go create mode 100644 models/models/model_flows.go create mode 100644 models/models/model_formatting_instruction.go create mode 100644 models/models/model_fqdn_pattern_matching_rule.go create mode 100644 models/models/model_frame_route_info.go create mode 100644 models/models/model_g_nb_id.go create mode 100644 models/models/model_gad_shape.go create mode 100644 models/models/model_gba_auth_type.go create mode 100644 models/models/model_gba_authentication_info_request.go create mode 100644 models/models/model_gba_authentication_info_result.go create mode 100644 models/models/model_geo_loc.go create mode 100644 models/models/model_geo_service_area.go create mode 100644 models/models/model_geographic_area.go create mode 100644 models/models/model_geographical_area.go create mode 100644 models/models/model_geographical_coordinates.go create mode 100644 models/models/model_gera_location.go create mode 100644 models/models/model_global_ran_node_id.go create mode 100644 models/models/model_gmlc_info.go create mode 100644 models/models/model_gnss_id.go create mode 100644 models/models/model_gnss_positioning_method_and_usage.go create mode 100644 models/models/model_gpsi_type.go create mode 100644 models/models/model_granted_unit.go create mode 100644 models/models/model_group_identifiers.go create mode 100644 models/models/model_guami.go create mode 100644 models/models/model_guami_list_cond.go create mode 100644 models/models/model_header_sip_request.go create mode 100644 models/models/model_hfc_node_id.go create mode 100644 models/models/model_high_accuracy_gnss_metrics.go create mode 100644 models/models/model_historical_data.go create mode 100644 models/models/model_ho_state.go create mode 100644 models/models/model_horizontal_velocity.go create mode 100644 models/models/model_horizontal_velocity_with_uncertainty.go create mode 100644 models/models/model_horizontal_with_vertical_velocity.go create mode 100644 models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go create mode 100644 models/models/model_hsmf_update_data.go create mode 100644 models/models/model_hsmf_update_error.go create mode 100644 models/models/model_hsmf_updated_data.go create mode 100644 models/models/model_hss_auth_type.go create mode 100644 models/models/model_hss_auth_type_in_uri.go create mode 100644 models/models/model_hss_authentication_info_request.go create mode 100644 models/models/model_hss_authentication_info_result.go create mode 100644 models/models/model_hss_authentication_vectors.go create mode 100644 models/models/model_hss_av_type.go create mode 100644 models/models/model_hss_info.go create mode 100644 models/models/model_hss_subscription_info.go create mode 100644 models/models/model_hss_subscription_item.go create mode 100644 models/models/model_hssims_sdm_access_type.go create mode 100644 models/models/model_hssims_sdm_data_set_name.go create mode 100644 models/models/model_hssims_sdm_shared_data.go create mode 100644 models/models/model_hssims_uecm_extended_problem_details.go create mode 100644 models/models/model_id_translation_result.go create mode 100644 models/models/model_identity_data.go create mode 100644 models/models/model_identity_range.go create mode 100644 models/models/model_identity_type.go create mode 100644 models/models/model_idle_status_indication.go create mode 100644 models/models/model_ifc.go create mode 100644 models/models/model_ifcs.go create mode 100644 models/models/model_imei_sv_information.go create mode 100644 models/models/model_immediate_mdt_conf.go create mode 100644 models/models/model_immediate_report.go create mode 100644 models/models/model_ims_address.go create mode 100644 models/models/model_ims_associated_identities.go create mode 100644 models/models/model_ims_charging_information.go create mode 100644 models/models/model_ims_location_data.go create mode 100644 models/models/model_ims_node_functionality.go create mode 100644 models/models/model_ims_profile_data.go create mode 100644 models/models/model_ims_registration_state.go create mode 100644 models/models/model_ims_registration_status.go create mode 100644 models/models/model_ims_registration_type.go create mode 100644 models/models/model_ims_sdm_subscription.go create mode 100644 models/models/model_ims_service_profile.go create mode 100644 models/models/model_ims_session_priority.go create mode 100644 models/models/model_ims_vo_ps.go create mode 100644 models/models/model_ims_voice_over_ps_session_support.go create mode 100644 models/models/model_imsi_range.go create mode 100644 models/models/model_indirect_data_forwarding_tunnel_info.go create mode 100644 models/models/model_integrity_algorithm.go create mode 100644 models/models/model_integrity_requirements.go create mode 100644 models/models/model_inter_freq_target_info.go create mode 100644 models/models/model_inter_operator_identifier.go create mode 100644 models/models/model_interface_type.go create mode 100644 models/models/model_interface_upf_info_item.go create mode 100644 models/models/model_internal_group_id_range.go create mode 100644 models/models/model_invalid_cause.go create mode 100644 models/models/model_invalid_param.go create mode 100644 models/models/model_invocation_result.go create mode 100644 models/models/model_ip_addr.go create mode 100644 models/models/model_ip_end_point.go create mode 100644 models/models/model_ip_eth_flow_description.go create mode 100644 models/models/model_ip_flow_info.go create mode 100644 models/models/model_ip_multicast_address_info.go create mode 100644 models/models/model_ip_packet_filter_set.go create mode 100644 models/models/model_ip_reachability.go create mode 100644 models/models/model_ip_sm_gw_address.go create mode 100644 models/models/model_ip_sm_gw_guidance.go create mode 100644 models/models/model_ip_sm_gw_info.go create mode 100644 models/models/model_ip_sm_gw_registration.go create mode 100644 models/models/model_iptv_config_data.go create mode 100644 models/models/model_iptv_config_data_patch.go create mode 100644 models/models/model_isup_cause.go create mode 100644 models/models/model_iwmsc_info.go create mode 100644 models/models/model_job_type.go create mode 100644 models/models/model_key_amf.go create mode 100644 models/models/model_key_amf_type.go create mode 100644 models/models/model_key_type.go create mode 100644 models/models/model_ladn_info.go create mode 100644 models/models/model_lcs_broadcast_assistance_types_data.go create mode 100644 models/models/model_lcs_client_class.go create mode 100644 models/models/model_lcs_client_external.go create mode 100644 models/models/model_lcs_client_group_external.go create mode 100644 models/models/model_lcs_mo_data.go create mode 100644 models/models/model_lcs_mo_service_class.go create mode 100644 models/models/model_lcs_priority.go create mode 100644 models/models/model_lcs_privacy.go create mode 100644 models/models/model_lcs_privacy_data.go create mode 100644 models/models/model_lcs_qos_class.go create mode 100644 models/models/model_lcs_service_auth.go create mode 100644 models/models/model_ldr_type.go create mode 100644 models/models/model_limit_id_to_monitoring_key.go create mode 100644 models/models/model_line_type.go create mode 100644 models/models/model_link.go create mode 100644 models/models/model_lmf_info.go create mode 100644 models/models/model_lmf_location_cancel_loc_data.go create mode 100644 models/models/model_lmf_location_event_notify_data.go create mode 100644 models/models/model_lmf_location_geographical_coordinates.go create mode 100644 models/models/model_lmf_location_input_data.go create mode 100644 models/models/model_lmf_location_location_data.go create mode 100644 models/models/model_lmf_location_termination_cause.go create mode 100644 models/models/model_loc_context_data.go create mode 100644 models/models/model_local2d_point_uncertainty_ellipse.go create mode 100644 models/models/model_local3d_point_uncertainty_ellipsoid.go create mode 100644 models/models/model_local_area.go create mode 100644 models/models/model_local_origin.go create mode 100644 models/models/model_location_area5_g.go create mode 100644 models/models/model_location_area_id.go create mode 100644 models/models/model_location_filter.go create mode 100644 models/models/model_location_info.go create mode 100644 models/models/model_location_info_request.go create mode 100644 models/models/model_location_info_result.go create mode 100644 models/models/model_location_privacy_ind.go create mode 100644 models/models/model_location_privacy_ver_result.go create mode 100644 models/models/model_location_qo_s.go create mode 100644 models/models/model_location_report.go create mode 100644 models/models/model_location_reporting_charging_information.go create mode 100644 models/models/model_logging_duration_mdt.go create mode 100644 models/models/model_logging_duration_nr_mdt.go create mode 100644 models/models/model_logging_interval_mdt.go create mode 100644 models/models/model_logging_interval_nr_mdt.go create mode 100644 models/models/model_loose_route_indication.go create mode 100644 models/models/model_loss_connectivity_cfg.go create mode 100644 models/models/model_loss_connectivity_report.go create mode 100644 models/models/model_loss_of_connectivity_reason.go create mode 100644 models/models/model_lpi.go create mode 100644 models/models/model_lte_m_ind.go create mode 100644 models/models/model_lte_v2x_auth.go create mode 100644 models/models/model_m5_qo_s_specification.go create mode 100644 models/models/model_ma_pdu_indication.go create mode 100644 models/models/model_ma_release_indication.go create mode 100644 models/models/model_management_operation.go create mode 100644 models/models/model_management_operation_status.go create mode 100644 models/models/model_mapdu_session_information.go create mode 100644 models/models/model_mapping_of_snssai.go create mode 100644 models/models/model_matching_direction.go create mode 100644 models/models/model_matching_operator.go create mode 100644 models/models/model_max_integrity_protected_data_rate.go create mode 100644 models/models/model_mb_smf_info.go create mode 100644 models/models/model_mb_upf_info.go create mode 100644 models/models/model_mbs_app_session_ctxt.go create mode 100644 models/models/model_mbs_app_session_ctxt_patch.go create mode 100644 models/models/model_mbs_error_report.go create mode 100644 models/models/model_mbs_failure_code.go create mode 100644 models/models/model_mbs_media_comp.go create mode 100644 models/models/model_mbs_media_comp_rm.go create mode 100644 models/models/model_mbs_media_info.go create mode 100644 models/models/model_mbs_n2_message_transfer_req_data.go create mode 100644 models/models/model_mbs_n2_message_transfer_rsp_data.go create mode 100644 models/models/model_mbs_ngap_ie_type.go create mode 100644 models/models/model_mbs_pcc_rule.go create mode 100644 models/models/model_mbs_pcc_rule_status.go create mode 100644 models/models/model_mbs_pcrt.go create mode 100644 models/models/model_mbs_policy_ctxt_data.go create mode 100644 models/models/model_mbs_policy_ctxt_data_update.go create mode 100644 models/models/model_mbs_policy_data.go create mode 100644 models/models/model_mbs_policy_decision.go create mode 100644 models/models/model_mbs_qo_s_req.go create mode 100644 models/models/model_mbs_qos_char.go create mode 100644 models/models/model_mbs_qos_dec.go create mode 100644 models/models/model_mbs_report.go create mode 100644 models/models/model_mbs_service_area.go create mode 100644 models/models/model_mbs_service_area_info.go create mode 100644 models/models/model_mbs_service_info.go create mode 100644 models/models/model_mbs_session_id.go create mode 100644 models/models/model_mbs_subscription_data.go create mode 100644 models/models/model_mbsfn_area.go create mode 100644 models/models/model_mdt_configuration.go create mode 100644 models/models/model_mdt_user_consent.go create mode 100644 models/models/model_measurement_lte_for_mdt.go create mode 100644 models/models/model_measurement_nr_for_mdt.go create mode 100644 models/models/model_measurement_period_lte_mdt.go create mode 100644 models/models/model_media_component.go create mode 100644 models/models/model_media_component_resources_status.go create mode 100644 models/models/model_media_component_rm.go create mode 100644 models/models/model_media_initiator_flag.go create mode 100644 models/models/model_media_streaming_access_record.go create mode 100644 models/models/model_media_sub_component.go create mode 100644 models/models/model_media_sub_component_rm.go create mode 100644 models/models/model_media_type.go create mode 100644 models/models/model_message_body.go create mode 100644 models/models/model_message_class.go create mode 100644 models/models/model_message_waiting_data.go create mode 100644 models/models/model_meta_schema.go create mode 100644 models/models/model_metering_method.go create mode 100644 models/models/model_mfaf_info.go create mode 100644 models/models/model_mico_mode_indication.go create mode 100644 models/models/model_minor_location_qo_s.go create mode 100644 models/models/model_ml_analytics_info.go create mode 100644 models/models/model_ml_event_notif.go create mode 100644 models/models/model_ml_event_subscription.go create mode 100644 models/models/model_ml_model_addr.go create mode 100644 models/models/model_ml_model_info.go create mode 100644 models/models/model_mm_context.go create mode 100644 models/models/model_mm_tel_charging_information.go create mode 100644 models/models/model_mm_transaction_location_report_item.go create mode 100644 models/models/model_mm_transaction_slice_report_item.go create mode 100644 models/models/model_mme_capabilities.go create mode 100644 models/models/model_mme_location_data.go create mode 100644 models/models/model_mnpf_info.go create mode 100644 models/models/model_mo_exp_data_counter.go create mode 100644 models/models/model_model_info.go create mode 100644 models/models/model_modification_notification.go create mode 100644 models/models/model_modify_pdu_session_request.go create mode 100644 models/models/model_modify_pdu_session_response_200.go create mode 100644 models/models/model_modify_pdu_session_response_400.go create mode 100644 models/models/model_modify_response_200.go create mode 100644 models/models/model_modify_shared_data_subs_response_200.go create mode 100644 models/models/model_modify_subscription_request.go create mode 100644 models/models/model_modifysubscription_data_subscription_response_200.go create mode 100644 models/models/model_monitoring_event.go create mode 100644 models/models/model_motion_event_info.go create mode 100644 models/models/model_mps_action.go create mode 100644 models/models/model_ms_access_activity_collection.go create mode 100644 models/models/model_ms_consumption_collection.go create mode 100644 models/models/model_ms_dyn_policy_invocation_collection.go create mode 100644 models/models/model_ms_net_ass_invocation_collection.go create mode 100644 models/models/model_ms_qoe_metrics_collection.go create mode 100644 models/models/model_msisdn_list.go create mode 100644 models/models/model_mtc_provider.go create mode 100644 models/models/model_multicast_access_control.go create mode 100644 models/models/model_multicast_mbs_group_memb.go create mode 100644 models/models/model_multiple_unit_information.go create mode 100644 models/models/model_n1_message_class.go create mode 100644 models/models/model_n1_message_container.go create mode 100644 models/models/model_n1_message_notification.go create mode 100644 models/models/model_n1_message_notify_request.go create mode 100644 models/models/model_n1_n2_message_transfer_cause.go create mode 100644 models/models/model_n1_n2_message_transfer_error.go create mode 100644 models/models/model_n1_n2_message_transfer_req_data.go create mode 100644 models/models/model_n1_n2_message_transfer_request.go create mode 100644 models/models/model_n1_n2_message_transfer_rsp_data.go create mode 100644 models/models/model_n1_n2_msg_txfr_err_detail.go create mode 100644 models/models/model_n1_n2_msg_txfr_failure_notification.go create mode 100644 models/models/model_n2_connection_charging_information.go create mode 100644 models/models/model_n2_info_container.go create mode 100644 models/models/model_n2_info_content.go create mode 100644 models/models/model_n2_info_notification_rsp_data.go create mode 100644 models/models/model_n2_info_notify_handover_complete_response_200.go create mode 100644 models/models/model_n2_info_notify_reason.go create mode 100644 models/models/model_n2_info_notify_request.go create mode 100644 models/models/model_n2_information_class.go create mode 100644 models/models/model_n2_information_notification.go create mode 100644 models/models/model_n2_information_transfer_error.go create mode 100644 models/models/model_n2_information_transfer_req_data.go create mode 100644 models/models/model_n2_information_transfer_result.go create mode 100644 models/models/model_n2_information_transfer_rsp_data.go create mode 100644 models/models/model_n2_interface_amf_info.go create mode 100644 models/models/model_n2_message_transfer_request.go create mode 100644 models/models/model_n2_ran_information.go create mode 100644 models/models/model_n2_sm_info_type.go create mode 100644 models/models/model_n2_sm_information.go create mode 100644 models/models/model_n3ga_location.go create mode 100644 models/models/model_n4_information.go create mode 100644 models/models/model_n4_message_type.go create mode 100644 models/models/model_nas_security_mode.go create mode 100644 models/models/model_ncgi.go create mode 100644 models/models/model_ncgi_tai.go create mode 100644 models/models/model_nef_authentication_auth_container.go create mode 100644 models/models/model_nef_authentication_auth_result.go create mode 100644 models/models/model_nef_authentication_uav_auth_info.go create mode 100644 models/models/model_nef_authentication_uav_auth_response.go create mode 100644 models/models/model_nef_charging_information.go create mode 100644 models/models/model_nef_cond.go create mode 100644 models/models/model_nef_event.go create mode 100644 models/models/model_nef_event_exposure_notif.go create mode 100644 models/models/model_nef_event_exposure_service_experience_info.go create mode 100644 models/models/model_nef_event_exposure_subsc.go create mode 100644 models/models/model_nef_event_exposure_target_ue_identification.go create mode 100644 models/models/model_nef_event_filter.go create mode 100644 models/models/model_nef_event_notification.go create mode 100644 models/models/model_nef_event_subs.go create mode 100644 models/models/model_nef_info.go create mode 100644 models/models/model_nef_sm_context_deliver_req_data.go create mode 100644 models/models/model_nef_sm_context_nidd_information.go create mode 100644 models/models/model_nef_sm_context_release_cause.go create mode 100644 models/models/model_nef_sm_context_sm_context_create_data.go create mode 100644 models/models/model_nef_sm_context_sm_context_created_data.go create mode 100644 models/models/model_nef_sm_context_sm_context_release_data.go create mode 100644 models/models/model_nef_sm_context_sm_context_status_notification.go create mode 100644 models/models/model_nef_sm_context_sm_context_update_data.go create mode 100644 models/models/model_nef_traffic_influ_sub.go create mode 100644 models/models/model_nef_traffic_influ_sub_patch.go create mode 100644 models/models/model_net_loc_access_support.go create mode 100644 models/models/model_network_area_info.go create mode 100644 models/models/model_network_assistance_session.go create mode 100644 models/models/model_network_node_diameter_address.go create mode 100644 models/models/model_network_perf_info.go create mode 100644 models/models/model_network_perf_requirement.go create mode 100644 models/models/model_network_perf_type.go create mode 100644 models/models/model_network_slice_cond.go create mode 100644 models/models/model_network_slicing_info.go create mode 100644 models/models/model_nf_group_cond.go create mode 100644 models/models/model_nf_group_list_cond.go create mode 100644 models/models/model_nf_identifier.go create mode 100644 models/models/model_nf_info.go create mode 100644 models/models/model_nf_instance_id_cond.go create mode 100644 models/models/model_nf_instance_id_list_cond.go create mode 100644 models/models/model_nf_instance_info.go create mode 100644 models/models/model_nf_load_level_information.go create mode 100644 models/models/model_nf_service_instance.go create mode 100644 models/models/model_nf_service_set_cond.go create mode 100644 models/models/model_nf_service_status.go create mode 100644 models/models/model_nf_service_version.go create mode 100644 models/models/model_nf_set_cond.go create mode 100644 models/models/model_nf_type_cond.go create mode 100644 models/models/model_ng_ap_cause.go create mode 100644 models/models/model_ng_ksi.go create mode 100644 models/models/model_ng_ran_target_id.go create mode 100644 models/models/model_ngran_failure_event.go create mode 100644 models/models/model_ngran_failure_indication.go create mode 100644 models/models/model_nidd_auth_update_info.go create mode 100644 models/models/model_nidd_auth_update_notification.go create mode 100644 models/models/model_nidd_authorization_info.go create mode 100644 models/models/model_nidd_cause.go create mode 100644 models/models/model_nni_information.go create mode 100644 models/models/model_nni_relationship_mode.go create mode 100644 models/models/model_nni_session_direction.go create mode 100644 models/models/model_nni_type.go create mode 100644 models/models/model_nnwdaf_data_management_notif.go create mode 100644 models/models/model_nnwdaf_data_management_subsc.go create mode 100644 models/models/model_nnwdaf_events_subscription.go create mode 100644 models/models/model_nnwdaf_events_subscription_notification.go create mode 100644 models/models/model_no_profile_match_info.go create mode 100644 models/models/model_no_profile_match_reason.go create mode 100644 models/models/model_node_type.go create mode 100644 models/models/model_non_dynamic5_qi.go create mode 100644 models/models/model_non_ue_n2_info_notify_request.go create mode 100644 models/models/model_non_ue_n2_info_subscription_create_data.go create mode 100644 models/models/model_non_ue_n2_info_subscription_created_data.go create mode 100644 models/models/model_non_ue_n2_message_transfer_request.go create mode 100644 models/models/model_notif_condition.go create mode 100644 models/models/model_notif_summary_report.go create mode 100644 models/models/model_notif_type.go create mode 100644 models/models/model_notification_cause.go create mode 100644 models/models/model_notification_control.go create mode 100644 models/models/model_notification_control_indication.go create mode 100644 models/models/model_notification_description.go create mode 100644 models/models/model_notification_event_type.go create mode 100644 models/models/model_notification_flag.go create mode 100644 models/models/model_notification_item.go create mode 100644 models/models/model_notification_push.go create mode 100644 models/models/model_notification_subscription.go create mode 100644 models/models/model_notified_pos_info.go create mode 100644 models/models/model_notify_item.go create mode 100644 models/models/model_npn_access_info.go create mode 100644 models/models/model_nr_location.go create mode 100644 models/models/model_nr_v2x_auth.go create mode 100644 models/models/model_nrf_access_token_access_token_claims.go create mode 100644 models/models/model_nrf_access_token_access_token_req.go create mode 100644 models/models/model_nrf_access_token_access_token_rsp.go create mode 100644 models/models/model_nrf_info.go create mode 100644 models/models/model_nrf_nf_discovery_nf_profile.go create mode 100644 models/models/model_nrf_nf_discovery_nf_service.go create mode 100644 models/models/model_nrf_nf_management_amf_info.go create mode 100644 models/models/model_nrf_nf_management_bsf_info.go create mode 100644 models/models/model_nrf_nf_management_ipv4_address_range.go create mode 100644 models/models/model_nrf_nf_management_ipv6_prefix_range.go create mode 100644 models/models/model_nrf_nf_management_mbs_session.go create mode 100644 models/models/model_nrf_nf_management_nf_profile.go create mode 100644 models/models/model_nrf_nf_management_nf_service.go create mode 100644 models/models/model_nrf_nf_management_nf_status.go create mode 100644 models/models/model_nrf_nf_management_nf_type.go create mode 100644 models/models/model_nrf_nf_management_notification_data.go create mode 100644 models/models/model_nrf_nf_management_notification_type.go create mode 100644 models/models/model_nrf_nf_management_pfd_data.go create mode 100644 models/models/model_nrf_nf_management_pro_se_capability.go create mode 100644 models/models/model_nrf_nf_management_subscription_data.go create mode 100644 models/models/model_nrf_nf_management_transport_protocol.go create mode 100644 models/models/model_nrppa_information.go create mode 100644 models/models/model_nsacf_capability.go create mode 100644 models/models/model_nsacf_info.go create mode 100644 models/models/model_nsag_info.go create mode 100644 models/models/model_nsi_id_info.go create mode 100644 models/models/model_nsi_information.go create mode 100644 models/models/model_nsi_load_level_info.go create mode 100644 models/models/model_nsm_charging_information.go create mode 100644 models/models/model_nsmf_event_exposure.go create mode 100644 models/models/model_nsmf_event_exposure_notification.go create mode 100644 models/models/model_nspa_charging_information.go create mode 100644 models/models/model_nspa_container_information.go create mode 100644 models/models/model_nssaa_status.go create mode 100644 models/models/model_nssaaf_info.go create mode 100644 models/models/model_nssai.go create mode 100644 models/models/model_nssai_ack_data.go create mode 100644 models/models/model_nssai_availability_info.go create mode 100644 models/models/model_nssai_map.go create mode 100644 models/models/model_nssai_mapping.go create mode 100644 models/models/model_nssf_event_notification.go create mode 100644 models/models/model_nssf_event_subscription_create_data.go create mode 100644 models/models/model_nssf_event_subscription_created_data.go create mode 100644 models/models/model_nssf_event_type.go create mode 100644 models/models/model_null_request.go create mode 100644 models/models/model_number_average.go create mode 100644 models/models/model_nwdaf_analytics_info_analytics_data.go create mode 100644 models/models/model_nwdaf_analytics_info_event_filter.go create mode 100644 models/models/model_nwdaf_capability.go create mode 100644 models/models/model_nwdaf_cond.go create mode 100644 models/models/model_nwdaf_data.go create mode 100644 models/models/model_nwdaf_event.go create mode 100644 models/models/model_nwdaf_events_subscription_accuracy.go create mode 100644 models/models/model_nwdaf_events_subscription_congestion_type.go create mode 100644 models/models/model_nwdaf_events_subscription_dispersion_collection.go create mode 100644 models/models/model_nwdaf_events_subscription_event_notification.go create mode 100644 models/models/model_nwdaf_events_subscription_event_subscription.go create mode 100644 models/models/model_nwdaf_events_subscription_location_info.go create mode 100644 models/models/model_nwdaf_events_subscription_nf_status.go create mode 100644 models/models/model_nwdaf_events_subscription_notification_method.go create mode 100644 models/models/model_nwdaf_events_subscription_service_experience_info.go create mode 100644 models/models/model_nwdaf_failure_code.go create mode 100644 models/models/model_nwdaf_info.go create mode 100644 models/models/model_nwdaf_ml_model_prov_notif.go create mode 100644 models/models/model_nwdaf_ml_model_prov_subsc.go create mode 100644 models/models/model_nwdaf_ml_model_provision_failure_code.go create mode 100644 models/models/model_nwdaf_registration.go create mode 100644 models/models/model_nwdaf_registration_info.go create mode 100644 models/models/model_nwdaf_registration_modification.go create mode 100644 models/models/model_nwdaf_subscription.go create mode 100644 models/models/model_observed_redundant_trans_exp.go create mode 100644 models/models/model_occurrence_info.go create mode 100644 models/models/model_odb_data.go create mode 100644 models/models/model_odb_packet_services.go create mode 100644 models/models/model_one_time_event_type.go create mode 100644 models/models/model_op_event_type.go create mode 100644 models/models/model_operation_event.go create mode 100644 models/models/model_operation_mode.go create mode 100644 models/models/model_operation_status.go create mode 100644 models/models/model_operational_state.go create mode 100644 models/models/model_operator_specific_data_container.go create mode 100644 models/models/model_options_response.go create mode 100644 models/models/model_originator_info.go create mode 100644 models/models/model_originator_party_type.go create mode 100644 models/models/model_out_of_credit_information.go create mode 100644 models/models/model_output_strategy.go create mode 100644 models/models/model_packet_filter_info.go create mode 100644 models/models/model_parameter_processing_instruction.go create mode 100644 models/models/model_partial_record_method.go create mode 100644 models/models/model_partial_success_report.go create mode 100644 models/models/model_participant_action_type.go create mode 100644 models/models/model_partitioning_criteria.go create mode 100644 models/models/model_patch_bdt_policy.go create mode 100644 models/models/model_patch_item.go create mode 100644 models/models/model_patch_operation.go create mode 100644 models/models/model_patch_result.go create mode 100644 models/models/model_pc5_capability.go create mode 100644 models/models/model_pc5_container_information.go create mode 100644 models/models/model_pc5_data_container.go create mode 100644 models/models/model_pc5_flow_bit_rates.go create mode 100644 models/models/model_pc5_qo_s_para.go create mode 100644 models/models/model_pc5_qos_flow_item.go create mode 100644 models/models/model_pc_event.go create mode 100644 models/models/model_pc_event_exposure_notif.go create mode 100644 models/models/model_pc_event_exposure_subsc.go create mode 100644 models/models/model_pc_event_notification.go create mode 100644 models/models/model_pcc_rule.go create mode 100644 models/models/model_pcf_addressing_info.go create mode 100644 models/models/model_pcf_am_policy_control_as_time_distribution_param.go create mode 100644 models/models/model_pcf_am_policy_control_policy_association.go create mode 100644 models/models/model_pcf_am_policy_control_policy_association_request.go create mode 100644 models/models/model_pcf_am_policy_control_policy_association_update_request.go create mode 100644 models/models/model_pcf_am_policy_control_policy_update.go create mode 100644 models/models/model_pcf_am_policy_control_request_trigger.go create mode 100644 models/models/model_pcf_am_policy_control_termination_notification.go create mode 100644 models/models/model_pcf_bdt_policy_control_bdt_policy_data.go create mode 100644 models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go create mode 100644 models/models/model_pcf_bdt_policy_control_notification.go create mode 100644 models/models/model_pcf_bdt_policy_control_transfer_policy.go create mode 100644 models/models/model_pcf_event_exposure_pdu_session_information.go create mode 100644 models/models/model_pcf_info.go create mode 100644 models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go create mode 100644 models/models/model_pcf_policy_authorization_af_event.go create mode 100644 models/models/model_pcf_policy_authorization_af_event_notification.go create mode 100644 models/models/model_pcf_policy_authorization_events_notification.go create mode 100644 models/models/model_pcf_policy_authorization_events_subsc_req_data.go create mode 100644 models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go create mode 100644 models/models/model_pcf_policy_authorization_extended_problem_details.go create mode 100644 models/models/model_pcf_policy_authorization_pdu_session_status.go create mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_information.go create mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go create mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_report.go create mode 100644 models/models/model_pcf_policy_authorization_qos_notification_control_info.go create mode 100644 models/models/model_pcf_policy_authorization_termination_cause.go create mode 100644 models/models/model_pcf_selection_assistance_info.go create mode 100644 models/models/model_pcf_sm_policy_control_atsss_capability.go create mode 100644 models/models/model_pcf_sm_policy_control_failure_cause.go create mode 100644 models/models/model_pcf_sm_policy_control_failure_code.go create mode 100644 models/models/model_pcf_sm_policy_control_multicast_access_control.go create mode 100644 models/models/model_pcf_sm_policy_control_qos_monitoring_report.go create mode 100644 models/models/model_pcf_sm_policy_control_qos_notification_control_info.go create mode 100644 models/models/model_pcf_sm_policy_control_redirect_address_type.go create mode 100644 models/models/model_pcf_sm_policy_control_termination_notification.go create mode 100644 models/models/model_pcf_ue_callback_info.go create mode 100644 models/models/model_pcf_ue_policy_control_policy_association.go create mode 100644 models/models/model_pcf_ue_policy_control_policy_association_request.go create mode 100644 models/models/model_pcf_ue_policy_control_policy_association_update_request.go create mode 100644 models/models/model_pcf_ue_policy_control_policy_update.go create mode 100644 models/models/model_pcf_ue_policy_control_pro_se_capability.go create mode 100644 models/models/model_pcf_ue_policy_control_request_trigger.go create mode 100644 models/models/model_pcf_ue_policy_control_termination_notification.go create mode 100644 models/models/model_pcscf_address.go create mode 100644 models/models/model_pcscf_info.go create mode 100644 models/models/model_pcscf_restoration_notification.go create mode 100644 models/models/model_pcscf_restoration_request_data.go create mode 100644 models/models/model_pdn_connectivity_stat_report.go create mode 100644 models/models/model_pdn_connectivity_status.go create mode 100644 models/models/model_pdu_session.go create mode 100644 models/models/model_pdu_session_context.go create mode 100644 models/models/model_pdu_session_context_type.go create mode 100644 models/models/model_pdu_session_continuity_ind.go create mode 100644 models/models/model_pdu_session_create_data.go create mode 100644 models/models/model_pdu_session_create_error.go create mode 100644 models/models/model_pdu_session_created_data.go create mode 100644 models/models/model_pdu_session_event_notification.go create mode 100644 models/models/model_pdu_session_info.go create mode 100644 models/models/model_pdu_session_management_data.go create mode 100644 models/models/model_pdu_session_notify_item.go create mode 100644 models/models/model_pdu_session_rel_cause.go create mode 100644 models/models/model_pdu_session_status.go create mode 100644 models/models/model_pdu_session_tsn_bridge.go create mode 100644 models/models/model_pdu_session_type.go create mode 100644 models/models/model_pdu_session_types.go create mode 100644 models/models/model_pduid_information.go create mode 100644 models/models/model_pei_update_info.go create mode 100644 models/models/model_pending_policy_counter_status.go create mode 100644 models/models/model_per_ue_attribute.go create mode 100644 models/models/model_perf_data.go create mode 100644 models/models/model_performance_data.go create mode 100644 models/models/model_performance_data_collection.go create mode 100644 models/models/model_performance_data_info.go create mode 100644 models/models/model_periodic_communication_indicator.go create mode 100644 models/models/model_periodic_event_info.go create mode 100644 models/models/model_periodicity.go create mode 100644 models/models/model_pfd_change_notification.go create mode 100644 models/models/model_pfd_change_report.go create mode 100644 models/models/model_pfd_content.go create mode 100644 models/models/model_pfd_data_for_app.go create mode 100644 models/models/model_pfd_data_for_app_ext.go create mode 100644 models/models/model_pfd_operation.go create mode 100644 models/models/model_pfd_subscription.go create mode 100644 models/models/model_pfi_container_information.go create mode 100644 models/models/model_pgw_info.go create mode 100644 models/models/model_play_to_party.go create mode 100644 models/models/model_plmn_ec_info.go create mode 100644 models/models/model_plmn_id.go create mode 100644 models/models/model_plmn_id_nid.go create mode 100644 models/models/model_plmn_oauth2.go create mode 100644 models/models/model_plmn_operator_class.go create mode 100644 models/models/model_plmn_range.go create mode 100644 models/models/model_plmn_restriction.go create mode 100644 models/models/model_plmn_route_selection_descriptor.go create mode 100644 models/models/model_plmn_snssai.go create mode 100644 models/models/model_point.go create mode 100644 models/models/model_point_altitude.go create mode 100644 models/models/model_point_altitude_uncertainty.go create mode 100644 models/models/model_point_uncertainty_circle.go create mode 100644 models/models/model_point_uncertainty_ellipse.go create mode 100644 models/models/model_policy_association_release_cause.go create mode 100644 models/models/model_policy_control_request_trigger.go create mode 100644 models/models/model_policy_counter_info.go create mode 100644 models/models/model_policy_data_change_notification.go create mode 100644 models/models/model_policy_data_for_individual_ue.go create mode 100644 models/models/model_policy_data_subscription.go create mode 100644 models/models/model_policy_data_subset.go create mode 100644 models/models/model_policy_decision_failure_code.go create mode 100644 models/models/model_policy_req_trigger.go create mode 100644 models/models/model_polygon.go create mode 100644 models/models/model_port_management_container.go create mode 100644 models/models/model_positioning_method.go create mode 100644 models/models/model_positioning_method_and_usage.go create mode 100644 models/models/model_positioning_method_mdt.go create mode 100644 models/models/model_positioning_mode.go create mode 100644 models/models/model_post_charging_data_response_400.go create mode 100644 models/models/model_post_charging_data_response_403.go create mode 100644 models/models/model_post_charging_data_response_404.go create mode 100644 models/models/model_post_charging_notification_response_400.go create mode 100644 models/models/model_post_pdu_sessions_request.go create mode 100644 models/models/model_post_pdu_sessions_response_201.go create mode 100644 models/models/model_post_pdu_sessions_response_400.go create mode 100644 models/models/model_post_sm_contexts_request.go create mode 100644 models/models/model_post_sm_contexts_response_201.go create mode 100644 models/models/model_post_sm_contexts_response_400.go create mode 100644 models/models/model_pp5g_mbs_group_profile_data.go create mode 100644 models/models/model_pp5g_vn_group_profile_data.go create mode 100644 models/models/model_pp_active_time.go create mode 100644 models/models/model_pp_data.go create mode 100644 models/models/model_pp_data_entry.go create mode 100644 models/models/model_pp_data_entry_list.go create mode 100644 models/models/model_pp_dl_packet_count_ext.go create mode 100644 models/models/model_pp_maximum_latency.go create mode 100644 models/models/model_pp_maximum_response_time.go create mode 100644 models/models/model_pp_profile_data.go create mode 100644 models/models/model_pp_subs_reg_timer.go create mode 100644 models/models/model_preemption_capability.go create mode 100644 models/models/model_preemption_capability_rm.go create mode 100644 models/models/model_preemption_control_information.go create mode 100644 models/models/model_preemption_control_information_rm.go create mode 100644 models/models/model_preemption_vulnerability.go create mode 100644 models/models/model_preemption_vulnerability_rm.go create mode 100644 models/models/model_preferred_search.go create mode 100644 models/models/model_presence_info.go create mode 100644 models/models/model_presence_info_rm.go create mode 100644 models/models/model_presence_state.go create mode 100644 models/models/model_prev_sub_info.go create mode 100644 models/models/model_priority_levels.go create mode 100644 models/models/model_priority_sharing_indicator.go create mode 100644 models/models/model_privacy_check_related_action.go create mode 100644 models/models/model_private_identities.go create mode 100644 models/models/model_private_identity.go create mode 100644 models/models/model_private_identity_type.go create mode 100644 models/models/model_pro_se_allowed_plmn.go create mode 100644 models/models/model_pro_se_auth_data.go create mode 100644 models/models/model_pro_se_authentication_ctx.go create mode 100644 models/models/model_pro_se_authentication_info.go create mode 100644 models/models/model_pro_se_authentication_info_request.go create mode 100644 models/models/model_pro_se_authentication_info_result.go create mode 100644 models/models/model_pro_se_authentication_result.go create mode 100644 models/models/model_pro_se_authentication_vectors.go create mode 100644 models/models/model_pro_se_eap_session.go create mode 100644 models/models/model_pro_se_information.go create mode 100644 models/models/model_problem_details.go create mode 100644 models/models/model_problem_details_add_info.go create mode 100644 models/models/model_problem_details_analytics_info_request.go create mode 100644 models/models/model_problem_details_enable_ue_reachability.go create mode 100644 models/models/model_processing_instruction.go create mode 100644 models/models/model_prose_auth_response_200.go create mode 100644 models/models/model_prose_charging_information.go create mode 100644 models/models/model_prose_context.go create mode 100644 models/models/model_prose_direct_allowed.go create mode 100644 models/models/model_prose_event_type.go create mode 100644 models/models/model_prose_functionality.go create mode 100644 models/models/model_prose_service_auth.go create mode 100644 models/models/model_prose_subscription_data.go create mode 100644 models/models/model_protection_result.go create mode 100644 models/models/model_provide_loc_info.go create mode 100644 models/models/model_provide_pos_info.go create mode 100644 models/models/model_provisioned_data_sets.go create mode 100644 models/models/model_ps_cell_information.go create mode 100644 models/models/model_ps_location.go create mode 100644 models/models/model_ps_user_state.go create mode 100644 models/models/model_psa_indication.go create mode 100644 models/models/model_psa_information.go create mode 100644 models/models/model_psi_activation_state.go create mode 100644 models/models/model_ptw_parameters.go create mode 100644 models/models/model_public_identifier.go create mode 100644 models/models/model_public_identities.go create mode 100644 models/models/model_public_identity.go create mode 100644 models/models/model_pws_error_data.go create mode 100644 models/models/model_pws_information.go create mode 100644 models/models/model_pws_response_data.go create mode 100644 models/models/model_qos_characteristics.go create mode 100644 models/models/model_qos_data.go create mode 100644 models/models/model_qos_flow_access_type.go create mode 100644 models/models/model_qos_flow_item.go create mode 100644 models/models/model_qos_flow_notify_item.go create mode 100644 models/models/model_qos_flow_release_request_item.go create mode 100644 models/models/model_qos_flow_setup_item.go create mode 100644 models/models/model_qos_flow_tunnel.go create mode 100644 models/models/model_qos_flow_usage.go create mode 100644 models/models/model_qos_flow_usage_report.go create mode 100644 models/models/model_qos_flows_usage_report.go create mode 100644 models/models/model_qos_monitoring_data.go create mode 100644 models/models/model_qos_monitoring_info.go create mode 100644 models/models/model_qos_monitoring_information.go create mode 100644 models/models/model_qos_monitoring_information_rm.go create mode 100644 models/models/model_qos_monitoring_report.go create mode 100644 models/models/model_qos_monitoring_req.go create mode 100644 models/models/model_qos_notif_type.go create mode 100644 models/models/model_qos_requirement.go create mode 100644 models/models/model_qos_resource_type.go create mode 100644 models/models/model_qos_sustainability_info.go create mode 100644 models/models/model_query_param_combination.go create mode 100644 models/models/model_query_parameter.go create mode 100644 models/models/model_quota_consumption_indicator.go create mode 100644 models/models/model_quota_management_indicator.go create mode 100644 models/models/model_radio_parameter_set_info.go create mode 100644 models/models/model_radio_resources_id.go create mode 100644 models/models/model_ran_nas_rel_cause.go create mode 100644 models/models/model_ran_secondary_rat_usage_report.go create mode 100644 models/models/model_range_class.go create mode 100644 models/models/model_ranking_criterion.go create mode 100644 models/models/model_rat_freq_information.go create mode 100644 models/models/model_rat_selector.go create mode 100644 models/models/model_rat_type.go create mode 100644 models/models/model_reachability_filter.go create mode 100644 models/models/model_reachability_for_data_report_config.go create mode 100644 models/models/model_reachability_for_sms_configuration.go create mode 100644 models/models/model_reachability_notification_data.go create mode 100644 models/models/model_reachability_report.go create mode 100644 models/models/model_reachable_ue_info.go create mode 100644 models/models/model_reauthorization_details.go create mode 100644 models/models/model_recipient_address.go create mode 100644 models/models/model_recipient_info.go create mode 100644 models/models/model_record.go create mode 100644 models/models/model_record_id_list.go create mode 100644 models/models/model_record_meta.go create mode 100644 models/models/model_record_notification.go create mode 100644 models/models/model_record_operation.go create mode 100644 models/models/model_record_search_result.go create mode 100644 models/models/model_red_trans_exp_ordering_criterion.go create mode 100644 models/models/model_redirect_information.go create mode 100644 models/models/model_redirect_response.go create mode 100644 models/models/model_redirect_server.go create mode 100644 models/models/model_redundant_pdu_session_information.go create mode 100644 models/models/model_redundant_transmission_exp_info.go create mode 100644 models/models/model_redundant_transmission_exp_per_ts.go create mode 100644 models/models/model_redundant_transmission_exp_req.go create mode 100644 models/models/model_redundant_transmission_type.go create mode 100644 models/models/model_ref_to_binary_data.go create mode 100644 models/models/model_reference_location_information.go create mode 100644 models/models/model_reflective_qo_s_attribute.go create mode 100644 models/models/model_registration_charging_information.go create mode 100644 models/models/model_registration_context_container.go create mode 100644 models/models/model_registration_data_set_name.go create mode 100644 models/models/model_registration_data_sets.go create mode 100644 models/models/model_registration_location_info.go create mode 100644 models/models/model_registration_message_type.go create mode 100644 models/models/model_registration_reason.go create mode 100644 models/models/model_registration_type.go create mode 100644 models/models/model_relative_cartesian_location.go create mode 100644 models/models/model_release_charging_data_response_404.go create mode 100644 models/models/model_release_data.go create mode 100644 models/models/model_release_pdu_session_request.go create mode 100644 models/models/model_release_pdu_session_response_200.go create mode 100644 models/models/model_release_session_info.go create mode 100644 models/models/model_release_sm_context_request.go create mode 100644 models/models/model_released_data.go create mode 100644 models/models/model_relocate_ue_context_request.go create mode 100644 models/models/model_reply_path_requested.go create mode 100644 models/models/model_report_amount_mdt.go create mode 100644 models/models/model_report_interval_mdt.go create mode 100644 models/models/model_report_interval_nr_mdt.go create mode 100644 models/models/model_report_item.go create mode 100644 models/models/model_report_type_mdt.go create mode 100644 models/models/model_reported_event_type.go create mode 100644 models/models/model_reporting_access_type.go create mode 100644 models/models/model_reporting_area.go create mode 100644 models/models/model_reporting_area_type.go create mode 100644 models/models/model_reporting_frequency.go create mode 100644 models/models/model_reporting_information.go create mode 100644 models/models/model_reporting_level.go create mode 100644 models/models/model_reporting_trigger.go create mode 100644 models/models/model_repository_data.go create mode 100644 models/models/model_repository_data_list.go create mode 100644 models/models/model_request_direction.go create mode 100644 models/models/model_request_indication.go create mode 100644 models/models/model_request_loc_info.go create mode 100644 models/models/model_request_pos_info.go create mode 100644 models/models/model_request_type.go create mode 100644 models/models/model_requested_context.go create mode 100644 models/models/model_requested_node.go create mode 100644 models/models/model_requested_qos.go create mode 100644 models/models/model_requested_qos_monitoring_parameter.go create mode 100644 models/models/model_requested_rule_data.go create mode 100644 models/models/model_requested_rule_data_type.go create mode 100644 models/models/model_requested_unit.go create mode 100644 models/models/model_requested_usage_data.go create mode 100644 models/models/model_required_access_info.go create mode 100644 models/models/model_reserv_priority.go create mode 100644 models/models/model_resource_item.go create mode 100644 models/models/model_resource_status.go create mode 100644 models/models/model_resource_usage.go create mode 100644 models/models/model_resources_allocation_info.go create mode 100644 models/models/model_response_time.go create mode 100644 models/models/model_restricted_snssai.go create mode 100644 models/models/model_restriction_type.go create mode 100644 models/models/model_resynchronization_info.go create mode 100644 models/models/model_retainability_threshold.go create mode 100644 models/models/model_retrieve_data.go create mode 100644 models/models/model_retrieve_records.go create mode 100644 models/models/model_retrieved_data.go create mode 100644 models/models/model_revoked_cause.go create mode 100644 models/models/model_rg_authentication_info.go create mode 100644 models/models/model_rm_info.go create mode 100644 models/models/model_rm_state.go create mode 100644 models/models/model_roamer_in_out.go create mode 100644 models/models/model_roaming_indication.go create mode 100644 models/models/model_roaming_info_update.go create mode 100644 models/models/model_roaming_odb.go create mode 100644 models/models/model_roaming_restrictions.go create mode 100644 models/models/model_roaming_status_report.go create mode 100644 models/models/model_role_of_ims_node.go create mode 100644 models/models/model_role_of_ue.go create mode 100644 models/models/model_route_information.go create mode 100644 models/models/model_route_selection_parameter_set.go create mode 100644 models/models/model_route_to_location.go create mode 100644 models/models/model_routing_area_id.go create mode 100644 models/models/model_routing_info_sm_request.go create mode 100644 models/models/model_routing_info_sm_response.go create mode 100644 models/models/model_rsn.go create mode 100644 models/models/model_rule_operation.go create mode 100644 models/models/model_rule_report.go create mode 100644 models/models/model_rule_status.go create mode 100644 models/models/model_sac_event.go create mode 100644 models/models/model_sac_event_report.go create mode 100644 models/models/model_sac_event_report_item.go create mode 100644 models/models/model_sac_event_state.go create mode 100644 models/models/model_sac_event_status.go create mode 100644 models/models/model_sac_event_subscription.go create mode 100644 models/models/model_sac_event_trigger.go create mode 100644 models/models/model_sac_event_type.go create mode 100644 models/models/model_sac_info.go create mode 100644 models/models/model_satellite_backhaul_category.go create mode 100644 models/models/model_sbi_binding_level.go create mode 100644 models/models/model_sc_type.go create mode 100644 models/models/model_scheduled_communication_time.go create mode 100644 models/models/model_scheduled_communication_time_rm.go create mode 100644 models/models/model_scheduled_communication_type.go create mode 100644 models/models/model_scheduled_communication_type_rm.go create mode 100644 models/models/model_scp_capability.go create mode 100644 models/models/model_scp_domain_cond.go create mode 100644 models/models/model_scp_domain_connectivity.go create mode 100644 models/models/model_scp_domain_info.go create mode 100644 models/models/model_scp_domain_routing_info_notification.go create mode 100644 models/models/model_scp_domain_routing_info_subscription.go create mode 100644 models/models/model_scp_domain_routing_information.go create mode 100644 models/models/model_scp_info.go create mode 100644 models/models/model_scscf_capability_list.go create mode 100644 models/models/model_scscf_registration.go create mode 100644 models/models/model_scscf_selection_assistance_information.go create mode 100644 models/models/model_sd_range.go create mode 100644 models/models/model_sdm_subs_modification.go create mode 100644 models/models/model_sdm_subscription.go create mode 100644 models/models/model_sdp_description.go create mode 100644 models/models/model_sdp_media_component.go create mode 100644 models/models/model_sdp_time_stamps.go create mode 100644 models/models/model_sdp_type.go create mode 100644 models/models/model_seaf_data.go create mode 100644 models/models/model_search_comparison.go create mode 100644 models/models/model_search_condition.go create mode 100644 models/models/model_search_expression.go create mode 100644 models/models/model_search_result.go create mode 100644 models/models/model_secondary_rat_usage_info.go create mode 100644 models/models/model_secondary_rat_usage_report.go create mode 100644 models/models/model_security_result.go create mode 100644 models/models/model_send_mo_data_req_data.go create mode 100644 models/models/model_send_mo_data_request.go create mode 100644 models/models/model_send_sms_request.go create mode 100644 models/models/model_send_sms_response_200.go create mode 100644 models/models/model_sensor_measurement.go create mode 100644 models/models/model_sepp_info.go create mode 100644 models/models/model_sequence_number.go create mode 100644 models/models/model_serv_auth_info.go create mode 100644 models/models/model_server_addressing_info.go create mode 100644 models/models/model_server_capabilities.go create mode 100644 models/models/model_service_area_coverage_info.go create mode 100644 models/models/model_service_area_id.go create mode 100644 models/models/model_service_area_restriction.go create mode 100644 models/models/model_service_data_flow_description.go create mode 100644 models/models/model_service_experience_info_per_app.go create mode 100644 models/models/model_service_experience_info_per_flow.go create mode 100644 models/models/model_service_experience_type.go create mode 100644 models/models/model_service_identification.go create mode 100644 models/models/model_service_info_status.go create mode 100644 models/models/model_service_information.go create mode 100644 models/models/model_service_level_trace_information.go create mode 100644 models/models/model_service_name.go create mode 100644 models/models/model_service_name_cond.go create mode 100644 models/models/model_service_name_list_cond.go create mode 100644 models/models/model_service_parameter_data.go create mode 100644 models/models/model_service_parameter_data_patch.go create mode 100644 models/models/model_service_profile_charging_information.go create mode 100644 models/models/model_service_specific_authorization_data.go create mode 100644 models/models/model_service_specific_authorization_info.go create mode 100644 models/models/model_service_specific_authorization_remove_data.go create mode 100644 models/models/model_service_type.go create mode 100644 models/models/model_service_type_unrelated_class.go create mode 100644 models/models/model_serving_location.go create mode 100644 models/models/model_serving_nf_identity.go create mode 100644 models/models/model_serving_node_address.go create mode 100644 models/models/model_sess_inact_timer_for_ue_comm.go create mode 100644 models/models/model_session_failover.go create mode 100644 models/models/model_session_management_subscription_data.go create mode 100644 models/models/model_session_rule.go create mode 100644 models/models/model_session_rule_failure_code.go create mode 100644 models/models/model_session_rule_report.go create mode 100644 models/models/model_sgsn_address.go create mode 100644 models/models/model_sgsn_location_data.go create mode 100644 models/models/model_shared_data_id_range.go create mode 100644 models/models/model_shared_data_treatment_instruction.go create mode 100644 models/models/model_sharing_level.go create mode 100644 models/models/model_sign.go create mode 100644 models/models/model_sip_event_type.go create mode 100644 models/models/model_sip_forking_indication.go create mode 100644 models/models/model_slice_info_for_pdu_session.go create mode 100644 models/models/model_slice_info_for_registration.go create mode 100644 models/models/model_slice_info_for_ue_configuration_update.go create mode 100644 models/models/model_slice_load_level_information.go create mode 100644 models/models/model_slice_mbr.go create mode 100644 models/models/model_slice_mbr_rm.go create mode 100644 models/models/model_slice_policy_data.go create mode 100644 models/models/model_sm_address_domain.go create mode 100644 models/models/model_sm_address_info.go create mode 100644 models/models/model_sm_address_type.go create mode 100644 models/models/model_sm_addressee_type.go create mode 100644 models/models/model_sm_context.go create mode 100644 models/models/model_sm_context_configuration.go create mode 100644 models/models/model_sm_context_create_error.go create mode 100644 models/models/model_sm_context_released_data.go create mode 100644 models/models/model_sm_context_retrieve_data.go create mode 100644 models/models/model_sm_context_retrieved_data.go create mode 100644 models/models/model_sm_context_status.go create mode 100644 models/models/model_sm_context_type.go create mode 100644 models/models/model_sm_context_update_error.go create mode 100644 models/models/model_sm_context_updated_data.go create mode 100644 models/models/model_sm_delivery_status.go create mode 100644 models/models/model_sm_interface.go create mode 100644 models/models/model_sm_message_type.go create mode 100644 models/models/model_sm_nas_from_smf.go create mode 100644 models/models/model_sm_nas_from_ue.go create mode 100644 models/models/model_sm_policy_association_release_cause.go create mode 100644 models/models/model_sm_policy_context_data.go create mode 100644 models/models/model_sm_policy_control.go create mode 100644 models/models/model_sm_policy_data.go create mode 100644 models/models/model_sm_policy_data_patch.go create mode 100644 models/models/model_sm_policy_decision.go create mode 100644 models/models/model_sm_policy_delete_data.go create mode 100644 models/models/model_sm_policy_dnn_data.go create mode 100644 models/models/model_sm_policy_dnn_data_patch.go create mode 100644 models/models/model_sm_policy_notification.go create mode 100644 models/models/model_sm_policy_snssai_data.go create mode 100644 models/models/model_sm_policy_snssai_data_patch.go create mode 100644 models/models/model_sm_policy_update_context_data.go create mode 100644 models/models/model_sm_policy_update_notification_response_200.go create mode 100644 models/models/model_sm_priority.go create mode 100644 models/models/model_sm_service_type.go create mode 100644 models/models/model_sm_subs_data.go create mode 100644 models/models/model_small_data_rate_control.go create mode 100644 models/models/model_small_data_rate_control_time_unit.go create mode 100644 models/models/model_small_data_rate_status.go create mode 100644 models/models/model_small_data_rate_status_info.go create mode 100644 models/models/model_smcce_info.go create mode 100644 models/models/model_smcce_ue_list.go create mode 100644 models/models/model_smf_change_indication.go create mode 100644 models/models/model_smf_change_info.go create mode 100644 models/models/model_smf_event.go create mode 100644 models/models/model_smf_event_exposure_event_notification.go create mode 100644 models/models/model_smf_event_exposure_event_subscription.go create mode 100644 models/models/model_smf_event_exposure_notification_method.go create mode 100644 models/models/model_smf_event_exposure_pdu_session_info.go create mode 100644 models/models/model_smf_event_exposure_pdu_session_information.go create mode 100644 models/models/model_smf_event_exposure_pdu_session_status.go create mode 100644 models/models/model_smf_info.go create mode 100644 models/models/model_smf_nidd_deliver_req_data.go create mode 100644 models/models/model_smf_pdu_session_cause.go create mode 100644 models/models/model_smf_pdu_session_dnai_information.go create mode 100644 models/models/model_smf_pdu_session_ext_problem_details.go create mode 100644 models/models/model_smf_pdu_session_gbr_qos_flow_information.go create mode 100644 models/models/model_smf_pdu_session_ip_address.go create mode 100644 models/models/model_smf_pdu_session_notification_info.go create mode 100644 models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go create mode 100644 models/models/model_smf_pdu_session_qos_flow_profile.go create mode 100644 models/models/model_smf_pdu_session_sm_context_create_data.go create mode 100644 models/models/model_smf_pdu_session_sm_context_created_data.go create mode 100644 models/models/model_smf_pdu_session_sm_context_release_data.go create mode 100644 models/models/model_smf_pdu_session_sm_context_status_notification.go create mode 100644 models/models/model_smf_pdu_session_sm_context_update_data.go create mode 100644 models/models/model_smf_registration.go create mode 100644 models/models/model_smf_registration_info.go create mode 100644 models/models/model_smf_registration_modification.go create mode 100644 models/models/model_smf_selection_data.go create mode 100644 models/models/model_smf_selection_subscription_data.go create mode 100644 models/models/model_smf_selection_type.go create mode 100644 models/models/model_smf_subscription_info.go create mode 100644 models/models/model_smf_subscription_item.go create mode 100644 models/models/model_sms_charging_information.go create mode 100644 models/models/model_sms_data.go create mode 100644 models/models/model_sms_delivery_data.go create mode 100644 models/models/model_sms_indication.go create mode 100644 models/models/model_sms_management_subscription_data.go create mode 100644 models/models/model_sms_registration_info.go create mode 100644 models/models/model_sms_router_info.go create mode 100644 models/models/model_sms_subscription_data.go create mode 100644 models/models/model_sms_support.go create mode 100644 models/models/model_smsc_data.go create mode 100644 models/models/model_smsf_info.go create mode 100644 models/models/model_smsf_registration.go create mode 100644 models/models/model_snssai.go create mode 100644 models/models/model_snssai_dnn_combination.go create mode 100644 models/models/model_snssai_easdf_info_item.go create mode 100644 models/models/model_snssai_extension.go create mode 100644 models/models/model_snssai_info.go create mode 100644 models/models/model_snssai_info_item.go create mode 100644 models/models/model_snssai_mb_smf_info_item.go create mode 100644 models/models/model_snssai_route_selection_descriptor.go create mode 100644 models/models/model_snssai_smf_info_item.go create mode 100644 models/models/model_snssai_tai_mapping.go create mode 100644 models/models/model_snssai_tsctsf_info_item.go create mode 100644 models/models/model_snssai_upf_info_item.go create mode 100644 models/models/model_software_image_info.go create mode 100644 models/models/model_sor_data.go create mode 100644 models/models/model_sor_security_info.go create mode 100644 models/models/model_sor_update_indicator.go create mode 100644 models/models/model_sor_update_info.go create mode 100644 models/models/model_spatial_validity.go create mode 100644 models/models/model_spatial_validity_cond.go create mode 100644 models/models/model_spatial_validity_rm.go create mode 100644 models/models/model_specific_analytics_subscription.go create mode 100644 models/models/model_specific_data_subscription.go create mode 100644 models/models/model_spending_limit_context.go create mode 100644 models/models/model_spending_limit_status.go create mode 100644 models/models/model_sponsor_connectivity_data.go create mode 100644 models/models/model_sponsor_information.go create mode 100644 models/models/model_sponsoring_status.go create mode 100644 models/models/model_spt.go create mode 100644 models/models/model_sqn_scheme.go create mode 100644 models/models/model_srvcc_capability.go create mode 100644 models/models/model_srvcc_data.go create mode 100644 models/models/model_ssc_mode.go create mode 100644 models/models/model_ssc_modes.go create mode 100644 models/models/model_ssm.go create mode 100644 models/models/model_stationary_indication.go create mode 100644 models/models/model_stationary_indication_rm.go create mode 100644 models/models/model_status.go create mode 100644 models/models/model_status_change.go create mode 100644 models/models/model_status_info.go create mode 100644 models/models/model_status_notification.go create mode 100644 models/models/model_steer_mode_indicator.go create mode 100644 models/models/model_steer_mode_value.go create mode 100644 models/models/model_steering_functionality.go create mode 100644 models/models/model_steering_mode.go create mode 100644 models/models/model_storage_outcome.go create mode 100644 models/models/model_stored_search_result.go create mode 100644 models/models/model_string_matching_condition.go create mode 100644 models/models/model_string_matching_rule.go create mode 100644 models/models/model_subscr_cond.go create mode 100644 models/models/model_subscribed_default_qos.go create mode 100644 models/models/model_subscribed_event.go create mode 100644 models/models/model_subscribed_snssai.go create mode 100644 models/models/model_subscription_context.go create mode 100644 models/models/model_subscription_data_subscriptions.go create mode 100644 models/models/model_subscription_filter.go create mode 100644 models/models/model_subscription_termination_info.go create mode 100644 models/models/model_subscription_transfer_info.go create mode 100644 models/models/model_suci_info.go create mode 100644 models/models/model_suggested_packet_num_dl.go create mode 100644 models/models/model_summarization_attribute.go create mode 100644 models/models/model_supi_info.go create mode 100644 models/models/model_supi_range.go create mode 100644 models/models/model_supplementary_service.go create mode 100644 models/models/model_supplementary_service_mode.go create mode 100644 models/models/model_supplementary_service_type.go create mode 100644 models/models/model_supported_gad_shapes.go create mode 100644 models/models/model_supported_nssai_availability_data.go create mode 100644 models/models/model_supported_snssai.go create mode 100644 models/models/model_svc_experience.go create mode 100644 models/models/model_tac_info.go create mode 100644 models/models/model_tac_range.go create mode 100644 models/models/model_tad_identifier.go create mode 100644 models/models/model_tads_information.go create mode 100644 models/models/model_tag_type.go create mode 100644 models/models/model_tai.go create mode 100644 models/models/model_tai_range.go create mode 100644 models/models/model_target_area.go create mode 100644 models/models/model_target_dnai_info.go create mode 100644 models/models/model_target_ue_information.go create mode 100644 models/models/model_temporal_validity.go create mode 100644 models/models/model_termination_info.go create mode 100644 models/models/model_threshold_level.go create mode 100644 models/models/model_threshold_value.go create mode 100644 models/models/model_throughput.go create mode 100644 models/models/model_time_period.go create mode 100644 models/models/model_time_unit.go create mode 100644 models/models/model_time_window.go create mode 100644 models/models/model_timer.go create mode 100644 models/models/model_timer_id_list.go create mode 100644 models/models/model_tmgi.go create mode 100644 models/models/model_tmgi_range.go create mode 100644 models/models/model_tnap_id.go create mode 100644 models/models/model_tngf_info.go create mode 100644 models/models/model_top_application.go create mode 100644 models/models/model_topological_service_area.go create mode 100644 models/models/model_trace_data.go create mode 100644 models/models/model_trace_data_response.go create mode 100644 models/models/model_trace_depth.go create mode 100644 models/models/model_traffic_characterization.go create mode 100644 models/models/model_traffic_control_data.go create mode 100644 models/models/model_traffic_descriptor_components.go create mode 100644 models/models/model_traffic_forwarding_way.go create mode 100644 models/models/model_traffic_influ_data.go create mode 100644 models/models/model_traffic_influ_data_notif.go create mode 100644 models/models/model_traffic_influ_data_patch.go create mode 100644 models/models/model_traffic_influ_sub.go create mode 100644 models/models/model_traffic_information.go create mode 100644 models/models/model_traffic_profile.go create mode 100644 models/models/model_traffic_profile_rm.go create mode 100644 models/models/model_transaction_info.go create mode 100644 models/models/model_transaction_metric.go create mode 100644 models/models/model_transfer_mo_data_req_data.go create mode 100644 models/models/model_transfer_mo_data_request.go create mode 100644 models/models/model_transfer_mt_data_add_info.go create mode 100644 models/models/model_transfer_mt_data_error.go create mode 100644 models/models/model_transfer_mt_data_req_data.go create mode 100644 models/models/model_transfer_mt_data_request.go create mode 100644 models/models/model_transfer_mt_dataismf_request.go create mode 100644 models/models/model_transfer_reason.go create mode 100644 models/models/model_transfer_request_type.go create mode 100644 models/models/model_transmitter_info.go create mode 100644 models/models/model_transport_protocol.go create mode 100644 models/models/model_trigger_category.go create mode 100644 models/models/model_trigger_point.go create mode 100644 models/models/model_trigger_request.go create mode 100644 models/models/model_trunk_group_id.go create mode 100644 models/models/model_trust_af_info.go create mode 100644 models/models/model_tsc_qos_requirement.go create mode 100644 models/models/model_tsc_qos_requirement_rm.go create mode 100644 models/models/model_tscai_input_container.go create mode 100644 models/models/model_tsctsf_info.go create mode 100644 models/models/model_tsn_bridge_info.go create mode 100644 models/models/model_tsn_qos_container.go create mode 100644 models/models/model_tsn_qos_container_rm.go create mode 100644 models/models/model_tunnel_info.go create mode 100644 models/models/model_twan_location_data.go create mode 100644 models/models/model_twap_id.go create mode 100644 models/models/model_twif_info.go create mode 100644 models/models/model_type_of_condition.go create mode 100644 models/models/model_uav_auth_failure.go create mode 100644 models/models/model_uc_purpose.go create mode 100644 models/models/model_uc_subscription_data.go create mode 100644 models/models/model_udm_ee_association_type.go create mode 100644 models/models/model_udm_ee_created_ee_subscription.go create mode 100644 models/models/model_udm_ee_ee_subscription.go create mode 100644 models/models/model_udm_ee_event_type.go create mode 100644 models/models/model_udm_ee_failed_cause.go create mode 100644 models/models/model_udm_ee_failed_monitoring_configuration.go create mode 100644 models/models/model_udm_ee_location_accuracy.go create mode 100644 models/models/model_udm_ee_location_reporting_configuration.go create mode 100644 models/models/model_udm_ee_monitoring_configuration.go create mode 100644 models/models/model_udm_ee_monitoring_report.go create mode 100644 models/models/model_udm_ee_pdu_session_status_cfg.go create mode 100644 models/models/model_udm_ee_reachability_for_data_configuration.go create mode 100644 models/models/model_udm_ee_reachability_for_sms_report.go create mode 100644 models/models/model_udm_ee_report.go create mode 100644 models/models/model_udm_ee_reporting_options.go create mode 100644 models/models/model_udm_info.go create mode 100644 models/models/model_udm_mt_ue_info.go create mode 100644 models/models/model_udm_niddau_authorization_data.go create mode 100644 models/models/model_udm_pp_location_area.go create mode 100644 models/models/model_udm_sdm_amf_info.go create mode 100644 models/models/model_udm_sdm_app_descriptor.go create mode 100644 models/models/model_udm_sdm_data_set_name.go create mode 100644 models/models/model_udm_sdm_ec_restriction_data_wb.go create mode 100644 models/models/model_udm_sdm_group_identifiers.go create mode 100644 models/models/model_udm_sdm_ip_address.go create mode 100644 models/models/model_udm_sdm_ip_index.go create mode 100644 models/models/model_udm_sdm_nidd_information.go create mode 100644 models/models/model_udm_sdm_shared_data.go create mode 100644 models/models/model_udm_sdm_sor_info.go create mode 100644 models/models/model_udm_sdm_steering_container.go create mode 100644 models/models/model_udm_sdm_subscription_data_sets.go create mode 100644 models/models/model_udm_sdm_ue_id.go create mode 100644 models/models/model_udm_sdm_upu_info.go create mode 100644 models/models/model_udm_ssau_service_specific_authorization_info.go create mode 100644 models/models/model_udm_ueau_auth_type.go create mode 100644 models/models/model_udm_ueau_authentication_info_request.go create mode 100644 models/models/model_udm_ueau_authentication_info_result.go create mode 100644 models/models/model_udm_ueau_rg_auth_ctx.go create mode 100644 models/models/model_udm_uecm_data_restoration_notification.go create mode 100644 models/models/model_udm_uecm_deregistration_data.go create mode 100644 models/models/model_udm_uecm_deregistration_reason.go create mode 100644 models/models/model_udm_uecm_location_info.go create mode 100644 models/models/model_udr_dr_data_restoration_notification.go create mode 100644 models/models/model_udr_info.go create mode 100644 models/models/model_udsf_data_repository_notification_info.go create mode 100644 models/models/model_udsf_info.go create mode 100644 models/models/model_ue_access_behavior_report_item.go create mode 100644 models/models/model_ue_analytics_context_descriptor.go create mode 100644 models/models/model_ue_area_indication.go create mode 100644 models/models/model_ue_auth.go create mode 100644 models/models/model_ue_authentication_ctx.go create mode 100644 models/models/model_ue_camping_rep.go create mode 100644 models/models/model_ue_communication.go create mode 100644 models/models/model_ue_communication_collection.go create mode 100644 models/models/model_ue_communication_info.go create mode 100644 models/models/model_ue_connectivity_state.go create mode 100644 models/models/model_ue_context.go create mode 100644 models/models/model_ue_context_cancel_relocate_data.go create mode 100644 models/models/model_ue_context_create_data.go create mode 100644 models/models/model_ue_context_create_error.go create mode 100644 models/models/model_ue_context_created_data.go create mode 100644 models/models/model_ue_context_in_amf_data.go create mode 100644 models/models/model_ue_context_in_smf_data.go create mode 100644 models/models/model_ue_context_in_smf_data_sub_filter.go create mode 100644 models/models/model_ue_context_in_smsf_data.go create mode 100644 models/models/model_ue_context_info.go create mode 100644 models/models/model_ue_context_info_class.go create mode 100644 models/models/model_ue_context_release.go create mode 100644 models/models/model_ue_context_relocate_data.go create mode 100644 models/models/model_ue_context_relocated_data.go create mode 100644 models/models/model_ue_context_transfer_req_data.go create mode 100644 models/models/model_ue_context_transfer_request.go create mode 100644 models/models/model_ue_context_transfer_response_200.go create mode 100644 models/models/model_ue_context_transfer_rsp_data.go create mode 100644 models/models/model_ue_context_transfer_status.go create mode 100644 models/models/model_ue_differentiation_info.go create mode 100644 models/models/model_ue_id_ext.go create mode 100644 models/models/model_ue_identity_info.go create mode 100644 models/models/model_ue_in_area_filter.go create mode 100644 models/models/model_ue_initiated_resource_request.go create mode 100644 models/models/model_ue_lcs_capability.go create mode 100644 models/models/model_ue_location_info.go create mode 100644 models/models/model_ue_location_service_ind.go create mode 100644 models/models/model_ue_location_trends_report_item.go create mode 100644 models/models/model_ue_mobility.go create mode 100644 models/models/model_ue_mobility_collection.go create mode 100644 models/models/model_ue_mobility_info.go create mode 100644 models/models/model_ue_n1_n2_info_subscription_create_data.go create mode 100644 models/models/model_ue_n1_n2_info_subscription_created_data.go create mode 100644 models/models/model_ue_policy_section.go create mode 100644 models/models/model_ue_policy_set.go create mode 100644 models/models/model_ue_policy_set_patch.go create mode 100644 models/models/model_ue_policy_transfer_failure_notification.go create mode 100644 models/models/model_ue_privacy_requirements.go create mode 100644 models/models/model_ue_reachability.go create mode 100644 models/models/model_ue_reachability_notification.go create mode 100644 models/models/model_ue_reachability_subscription.go create mode 100644 models/models/model_ue_reachable_ind.go create mode 100644 models/models/model_ue_reg_status_update_req_data.go create mode 100644 models/models/model_ue_reg_status_update_rsp_data.go create mode 100644 models/models/model_ue_requested_value_rep.go create mode 100644 models/models/model_ue_slice_mbr.go create mode 100644 models/models/model_ue_trajectory_collection.go create mode 100644 models/models/model_ue_trajectory_info.go create mode 100644 models/models/model_ue_transfer_type.go create mode 100644 models/models/model_ue_type.go create mode 100644 models/models/model_ue_update_status.go create mode 100644 models/models/model_ulcl_bp_information.go create mode 100644 models/models/model_umt_time.go create mode 100644 models/models/model_un_trust_af_info.go create mode 100644 models/models/model_unavailable_access_indication.go create mode 100644 models/models/model_uncertainty_ellipse.go create mode 100644 models/models/model_uncertainty_ellipsoid.go create mode 100644 models/models/model_unrelated_class.go create mode 100644 models/models/model_up_cnx_state.go create mode 100644 models/models/model_up_confidentiality.go create mode 100644 models/models/model_up_integrity.go create mode 100644 models/models/model_up_interface_type.go create mode 100644 models/models/model_up_path_chg_event.go create mode 100644 models/models/model_up_security.go create mode 100644 models/models/model_up_security_info.go create mode 100644 models/models/model_update_charging_data_response_400.go create mode 100644 models/models/model_update_charging_data_response_403.go create mode 100644 models/models/model_update_charging_data_response_404.go create mode 100644 models/models/model_update_nwdaf_registration_response_200.go create mode 100644 models/models/model_update_pdu_session_request.go create mode 100644 models/models/model_update_pdu_session_response_200.go create mode 100644 models/models/model_update_pdu_session_response_400.go create mode 100644 models/models/model_update_sm_context_request.go create mode 100644 models/models/model_update_sm_context_response_200.go create mode 100644 models/models/model_update_sm_context_response_400.go create mode 100644 models/models/model_updated_item.go create mode 100644 models/models/model_updp_subscription_data.go create mode 100644 models/models/model_upf_cond.go create mode 100644 models/models/model_upf_info.go create mode 100644 models/models/model_upf_information.go create mode 100644 models/models/model_upu_data.go create mode 100644 models/models/model_upu_security_info.go create mode 100644 models/models/model_uri_list.go create mode 100644 models/models/model_uri_scheme.go create mode 100644 models/models/model_ursp_rule_request.go create mode 100644 models/models/model_usage.go create mode 100644 models/models/model_usage_mon_data.go create mode 100644 models/models/model_usage_mon_data_limit.go create mode 100644 models/models/model_usage_mon_data_scope.go create mode 100644 models/models/model_usage_mon_level.go create mode 100644 models/models/model_usage_monitoring_data.go create mode 100644 models/models/model_usage_threshold.go create mode 100644 models/models/model_usage_threshold_rm.go create mode 100644 models/models/model_user_consent.go create mode 100644 models/models/model_user_data_congestion_collection.go create mode 100644 models/models/model_user_data_congestion_info.go create mode 100644 models/models/model_user_identifier.go create mode 100644 models/models/model_user_location.go create mode 100644 models/models/model_user_plane_event.go create mode 100644 models/models/model_user_plane_event_report.go create mode 100644 models/models/model_user_plane_notification_data.go create mode 100644 models/models/model_user_state_cs.go create mode 100644 models/models/model_user_state_ps.go create mode 100644 models/models/model_utra_location.go create mode 100644 models/models/model_uuaa_mm_status.go create mode 100644 models/models/model_v2x_capability.go create mode 100644 models/models/model_v2x_context.go create mode 100644 models/models/model_v2x_information.go create mode 100644 models/models/model_v2x_subscription_data.go create mode 100644 models/models/model_valid_time_period.go create mode 100644 models/models/model_var_snssai.go create mode 100644 models/models/model_variable_part.go create mode 100644 models/models/model_variable_part_type.go create mode 100644 models/models/model_velocity_estimate.go create mode 100644 models/models/model_velocity_requested.go create mode 100644 models/models/model_vendor_specific_feature.go create mode 100644 models/models/model_vertical_direction.go create mode 100644 models/models/model_vgmlc_address.go create mode 100644 models/models/model_virtual_resource.go create mode 100644 models/models/model_vn_group_data.go create mode 100644 models/models/model_volume_timed_report.go create mode 100644 models/models/model_vplmn_qos.go create mode 100644 models/models/model_vsmf_update_data.go create mode 100644 models/models/model_vsmf_update_error.go create mode 100644 models/models/model_vsmf_updated_data.go create mode 100644 models/models/model_w_agf_info.go create mode 100644 models/models/model_websock_notif_config.go create mode 100644 models/models/model_wireline_area.go create mode 100644 models/models/model_wireline_service_area_restriction.go create mode 100644 models/models/model_wlan_ordering_criterion.go create mode 100644 models/models/model_wlan_per_ss_id_performance_info.go create mode 100644 models/models/model_wlan_per_ts_performance_info.go create mode 100644 models/models/model_wlan_performance_info.go create mode 100644 models/models/model_wlan_performance_req.go create mode 100644 models/pfd_failure_code.go delete mode 100644 models_nef/model_af_ack_info.go delete mode 100644 models_nef/model_af_result_info.go delete mode 100644 models_nef/model_af_result_status.go delete mode 100644 models_nef/model_domain_name_protocol.go delete mode 100644 models_nef/model_ellipsoid_arc_all_of.go delete mode 100644 models_nef/model_event_notification.go delete mode 100644 models_nef/model_failure_code.go delete mode 100644 models_nef/model_ipv6_addr_2.go delete mode 100644 models_nef/model_ipv6_prefix.go delete mode 100644 models_nef/model_location_area.go delete mode 100644 models_nef/model_location_area5_g.go delete mode 100644 models_nef/model_point_all_of.go delete mode 100644 models_nef/model_point_altitude_all_of.go delete mode 100644 models_nef/model_point_altitude_uncertainty_all_of.go delete mode 100644 models_nef/model_point_uncertainty_circle_all_of.go delete mode 100644 models_nef/model_point_uncertainty_ellipse_all_of.go delete mode 100644 models_nef/model_polygon_all_of.go delete mode 100644 models_nef/model_traffic_influ_sub.go delete mode 100644 models_nef/model_traffic_influ_sub_patch.go delete mode 100644 models_nef/model_user_plane_location_area.go create mode 100644 nef/AsSessionWithQoS/api_as_session_with_required_qo_s_subscriptions.go create mode 100644 nef/AsSessionWithQoS/api_individual_as_session_with_required_qo_s_subscription.go create mode 100644 nef/AsSessionWithQoS/client.go create mode 100644 nef/AsSessionWithQoS/configuration.go create mode 100644 nef/Authentication/api_uav_authentication.go create mode 100644 nef/Authentication/client.go create mode 100644 nef/Authentication/configuration.go create mode 100644 nef/EASDeployment/api_individual_subscription_document.go create mode 100644 nef/EASDeployment/api_subscriptions_collection.go create mode 100644 nef/EASDeployment/client.go create mode 100644 nef/EASDeployment/configuration.go create mode 100644 nef/EventExposure/api_individual_subscription_document.go create mode 100644 nef/EventExposure/api_subscriptions_collection.go create mode 100644 nef/EventExposure/client.go create mode 100644 nef/EventExposure/configuration.go create mode 100644 nef/PFDmanagement/api_individual_application_pfd.go create mode 100644 nef/PFDmanagement/api_individual_pfd_subscription.go create mode 100644 nef/PFDmanagement/api_pfd_of_applications.go create mode 100644 nef/PFDmanagement/api_pfd_of_applications_by_partial_update.go create mode 100644 nef/PFDmanagement/api_pfd_subscriptions.go create mode 100644 nef/PFDmanagement/client.go create mode 100644 nef/PFDmanagement/configuration.go create mode 100644 nef/SMContext/api_individual_sm_context_document.go create mode 100644 nef/SMContext/api_sm_contexts_collection_collection.go create mode 100644 nef/SMContext/client.go create mode 100644 nef/SMContext/configuration.go create mode 100644 nef/SMService/api_send_mosms_message_and_the_delivery_report.go create mode 100644 nef/SMService/client.go create mode 100644 nef/SMService/configuration.go create mode 100644 nef/TrafficInfluence/api_individual_traffic_influence_subscription.go create mode 100644 nef/TrafficInfluence/api_traffic_influence_subscription.go create mode 100644 nef/TrafficInfluence/client.go create mode 100644 nef/TrafficInfluence/configuration.go create mode 100644 nrf/AccessToken/api_access_token_request.go create mode 100644 nrf/AccessToken/client.go create mode 100644 nrf/AccessToken/configuration.go create mode 100644 nrf/Bootstrapping/api_bootstrapping_request.go create mode 100644 nrf/Bootstrapping/client.go create mode 100644 nrf/Bootstrapping/configuration.go create mode 100644 nrf/NFDiscovery/api_complete_stored_search_document.go create mode 100644 nrf/NFDiscovery/api_individual_scp_domain_routing_information_subscription_document.go create mode 100644 nrf/NFDiscovery/api_nf_instances_store.go create mode 100644 nrf/NFDiscovery/api_scp_domain_routing_information_document.go create mode 100644 nrf/NFDiscovery/api_scp_domain_routing_information_subscriptions_collection.go create mode 100644 nrf/NFDiscovery/api_stored_search_document.go create mode 100644 nrf/NFDiscovery/client.go create mode 100644 nrf/NFDiscovery/configuration.go create mode 100644 nrf/NFManagement/api_nf_instance_id_document.go create mode 100644 nrf/NFManagement/api_nf_instances_store.go create mode 100644 nrf/NFManagement/api_subscription_id_document.go create mode 100644 nrf/NFManagement/api_subscriptions_collection.go create mode 100644 nrf/NFManagement/client.go create mode 100644 nrf/NFManagement/configuration.go create mode 100644 nrf/service.go create mode 100644 nrf/service_test.go create mode 100644 nssf/NSSAIAvailability/api_nf_instance_id_document.go create mode 100644 nssf/NSSAIAvailability/api_nssai_availability_store.go create mode 100644 nssf/NSSAIAvailability/api_subscription_id_document.go create mode 100644 nssf/NSSAIAvailability/api_subscriptions_collection.go create mode 100644 nssf/NSSAIAvailability/client.go create mode 100644 nssf/NSSAIAvailability/configuration.go create mode 100644 nssf/NSSelection/api_network_slice_information_document.go create mode 100644 nssf/NSSelection/client.go create mode 100644 nssf/NSSelection/configuration.go create mode 100644 nwdaf/AnalyticsInfo/api_nwdaf_analytics_document.go create mode 100644 nwdaf/AnalyticsInfo/api_nwdaf_context_document.go create mode 100644 nwdaf/AnalyticsInfo/client.go create mode 100644 nwdaf/AnalyticsInfo/configuration.go create mode 100644 nwdaf/DataManagement/api_individual_nwdaf_data_management_subscription_document.go create mode 100644 nwdaf/DataManagement/api_subscriptions_collection.go create mode 100644 nwdaf/DataManagement/client.go create mode 100644 nwdaf/DataManagement/configuration.go create mode 100644 nwdaf/EventsSubscription/api_individual_nwdaf_event_subscription_transfer_document.go create mode 100644 nwdaf/EventsSubscription/api_individual_nwdaf_events_subscription_document.go create mode 100644 nwdaf/EventsSubscription/api_nwdaf_event_subscription_transfers_collection.go create mode 100644 nwdaf/EventsSubscription/api_nwdaf_events_subscriptions_collection.go create mode 100644 nwdaf/EventsSubscription/client.go create mode 100644 nwdaf/EventsSubscription/configuration.go create mode 100644 nwdaf/MLModelProvision/api_individual_nwdafml_model_provision_subscription_document.go create mode 100644 nwdaf/MLModelProvision/api_subscriptions_collection.go create mode 100644 nwdaf/MLModelProvision/client.go create mode 100644 nwdaf/MLModelProvision/configuration.go create mode 100644 pcf/AMPolicyAuthorization/api_am_policy_events_subscription_document.go create mode 100644 pcf/AMPolicyAuthorization/api_application_am_contexts_collection.go create mode 100644 pcf/AMPolicyAuthorization/api_individual_application_am_context_document.go create mode 100644 pcf/AMPolicyAuthorization/client.go create mode 100644 pcf/AMPolicyAuthorization/configuration.go create mode 100644 pcf/AMPolicyControl/api_am_policy_associations_collection.go create mode 100644 pcf/AMPolicyControl/api_individual_am_policy_association_document.go create mode 100644 pcf/AMPolicyControl/client.go create mode 100644 pcf/AMPolicyControl/configuration.go create mode 100644 pcf/BDTPolicyControl/api_bdt_policies_collection.go create mode 100644 pcf/BDTPolicyControl/api_individual_bdt_policy_document.go create mode 100644 pcf/BDTPolicyControl/client.go create mode 100644 pcf/BDTPolicyControl/configuration.go create mode 100644 pcf/EventExposure/api_individual_policy_control_events_subscription_document.go create mode 100644 pcf/EventExposure/api_policy_control_events_subscription_collection.go create mode 100644 pcf/EventExposure/client.go create mode 100644 pcf/EventExposure/configuration.go create mode 100644 pcf/MBSPolicyAuthorization/api_individual_mbs_application_session_context_document.go create mode 100644 pcf/MBSPolicyAuthorization/api_mbs_application_session_contexts_collection.go create mode 100644 pcf/MBSPolicyAuthorization/client.go create mode 100644 pcf/MBSPolicyAuthorization/configuration.go create mode 100644 pcf/MBSPolicyControl/api_individual_mbs_policy_document.go create mode 100644 pcf/MBSPolicyControl/api_mbs_policies_collection.go create mode 100644 pcf/MBSPolicyControl/client.go create mode 100644 pcf/MBSPolicyControl/configuration.go create mode 100644 pcf/PolicyAuthorization/api_application_sessions_collection.go create mode 100644 pcf/PolicyAuthorization/api_events_subscription_document.go create mode 100644 pcf/PolicyAuthorization/api_individual_application_session_context_document.go create mode 100644 pcf/PolicyAuthorization/api_pcscf_restoration_indication.go create mode 100644 pcf/PolicyAuthorization/client.go create mode 100644 pcf/PolicyAuthorization/configuration.go create mode 100644 pcf/SMPolicyControl/api_individual_sm_policy_document.go create mode 100644 pcf/SMPolicyControl/api_sm_policies_collection.go create mode 100644 pcf/SMPolicyControl/client.go create mode 100644 pcf/SMPolicyControl/configuration.go create mode 100644 pcf/UEPolicyControl/api_individual_ue_policy_association_document.go create mode 100644 pcf/UEPolicyControl/api_ue_policy_associations_collection.go create mode 100644 pcf/UEPolicyControl/client.go create mode 100644 pcf/UEPolicyControl/configuration.go create mode 100644 smf/EventExposure/api_individual_subscription_document.go create mode 100644 smf/EventExposure/api_subscriptions_collection.go create mode 100644 smf/EventExposure/client.go create mode 100644 smf/EventExposure/configuration.go create mode 100644 smf/NIDD/api_individual_pdu_session.go create mode 100644 smf/NIDD/client.go create mode 100644 smf/NIDD/configuration.go create mode 100644 smf/PDUSession/api_individual_pdu_session_hsmf_or_smf.go create mode 100644 smf/PDUSession/api_individual_sm_context.go create mode 100644 smf/PDUSession/api_pdu_sessions_collection.go create mode 100644 smf/PDUSession/api_sm_contexts_collection.go create mode 100644 smf/PDUSession/client.go create mode 100644 smf/PDUSession/configuration.go create mode 100644 udm/EventExposure/api_create_ee_subscription.go create mode 100644 udm/EventExposure/api_delete_ee_subscription.go create mode 100644 udm/EventExposure/api_update_ee_subscription.go create mode 100644 udm/EventExposure/client.go create mode 100644 udm/EventExposure/configuration.go create mode 100644 udm/MT/api_provide_ue_location.go create mode 100644 udm/MT/api_query_ue_info.go create mode 100644 udm/MT/client.go create mode 100644 udm/MT/configuration.go create mode 100644 udm/NIDDAuthentication/api_authorize_the_nidd_configuration_request.go create mode 100644 udm/NIDDAuthentication/client.go create mode 100644 udm/NIDDAuthentication/configuration.go create mode 100644 udm/ParameterProvision/api_class5_gmbs_group_creation.go create mode 100644 udm/ParameterProvision/api_class5_gmbs_group_deletion.go create mode 100644 udm/ParameterProvision/api_class5_gmbs_group_modification.go create mode 100644 udm/ParameterProvision/api_class5_gvn_group_creation.go create mode 100644 udm/ParameterProvision/api_class5_gvn_group_deletion.go create mode 100644 udm/ParameterProvision/api_class5_gvn_group_modification.go create mode 100644 udm/ParameterProvision/api_parameter_provisioning_data_entry_document.go create mode 100644 udm/ParameterProvision/api_subscription_data_update.go create mode 100644 udm/ParameterProvision/client.go create mode 100644 udm/ParameterProvision/configuration.go create mode 100644 udm/ReportSMDeliveryStatus/api_report_sm_delivery_status.go create mode 100644 udm/ReportSMDeliveryStatus/client.go create mode 100644 udm/ReportSMDeliveryStatus/configuration.go create mode 100644 udm/ServiceSpecificAuthorization/api_service_specific_authorization_remove.go create mode 100644 udm/ServiceSpecificAuthorization/api_service_specific_authorization_request.go create mode 100644 udm/ServiceSpecificAuthorization/client.go create mode 100644 udm/ServiceSpecificAuthorization/configuration.go create mode 100644 udm/SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_class5_mbs_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_enhanced_coverage_restriction_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_gpsi_to_supi_translation_or_supi_to_gpsi_translation.go create mode 100644 udm/SubscriberDataManagement/api_group_identifiers.go create mode 100644 udm/SubscriberDataManagement/api_lcs_broadcast_assistance_data_types_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_lcs_mobile_originated_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_lcs_privacy_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_multiple_identifiers.go create mode 100644 udm/SubscriberDataManagement/api_prose_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_providing_acknowledgement_of_cag_update.go create mode 100644 udm/SubscriberDataManagement/api_providing_acknowledgement_of_snssa_is_update.go create mode 100644 udm/SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go create mode 100644 udm/SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go create mode 100644 udm/SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go create mode 100644 udm/SubscriberDataManagement/api_retrieval_of_shared_data.go create mode 100644 udm/SubscriberDataManagement/api_retrieval_of_the_individual_shared_data.go create mode 100644 udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_sms_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go create mode 100644 udm/SubscriberDataManagement/api_subscription_creation.go create mode 100644 udm/SubscriberDataManagement/api_subscription_creation_for_shared_data.go create mode 100644 udm/SubscriberDataManagement/api_subscription_deletion.go create mode 100644 udm/SubscriberDataManagement/api_subscription_deletion_for_shared_data.go create mode 100644 udm/SubscriberDataManagement/api_subscription_modification.go create mode 100644 udm/SubscriberDataManagement/api_trace_configuration_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_trigger_sor_info_update.go create mode 100644 udm/SubscriberDataManagement/api_ue_context_in_amf_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_user_consent_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/api_v2_x_subscription_data_retrieval.go create mode 100644 udm/SubscriberDataManagement/client.go create mode 100644 udm/SubscriberDataManagement/configuration.go create mode 100644 udm/UEAuthentication/api_confirm_auth.go create mode 100644 udm/UEAuthentication/api_delete_auth.go create mode 100644 udm/UEAuthentication/api_generate_auth_data.go create mode 100644 udm/UEAuthentication/api_generate_gba_authentication_vectors.go create mode 100644 udm/UEAuthentication/api_generate_hss_authentication_vectors.go create mode 100644 udm/UEAuthentication/api_generate_pro_se_authentication_vectors.go create mode 100644 udm/UEAuthentication/api_get_auth_data_for_fnrg.go create mode 100644 udm/UEAuthentication/client.go create mode 100644 udm/UEAuthentication/configuration.go create mode 100644 udm/UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_amf_registration_for3_gpp_access.go create mode 100644 udm/UEContextManagement/api_amf_registration_for_non3_gpp_access.go create mode 100644 udm/UEContextManagement/api_ipsmgw_deregistration.go create mode 100644 udm/UEContextManagement/api_ipsmgw_registration.go create mode 100644 udm/UEContextManagement/api_ipsmgw_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_nwdaf_deregistration.go create mode 100644 udm/UEContextManagement/api_nwdaf_registration.go create mode 100644 udm/UEContextManagement/api_nwdaf_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go create mode 100644 udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go create mode 100644 udm/UEContextManagement/api_parameter_update_in_the_nwdaf_registration.go create mode 100644 udm/UEContextManagement/api_parameter_update_in_the_smf_registration.go create mode 100644 udm/UEContextManagement/api_pei_update.go create mode 100644 udm/UEContextManagement/api_retrieve_smf_registration.go create mode 100644 udm/UEContextManagement/api_roaming_information_update.go create mode 100644 udm/UEContextManagement/api_send_routing_info_sm_custom_operation.go create mode 100644 udm/UEContextManagement/api_smf_deregistration.go create mode 100644 udm/UEContextManagement/api_smf_smf_registration.go create mode 100644 udm/UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_smsf_deregistration_for3_gpp_access.go create mode 100644 udm/UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go create mode 100644 udm/UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/api_smsf_registration_for3_gpp_access.go create mode 100644 udm/UEContextManagement/api_smsf_registration_for_non3_gpp_access.go create mode 100644 udm/UEContextManagement/api_trigger_amf_for3_gpp_access_deregistration.go create mode 100644 udm/UEContextManagement/api_trigger_pcscf_restoration.go create mode 100644 udm/UEContextManagement/api_ue_location_information_retrieval.go create mode 100644 udm/UEContextManagement/api_uecm_registration_info_retrieval.go create mode 100644 udm/UEContextManagement/client.go create mode 100644 udm/UEContextManagement/configuration.go create mode 100644 udm/UEID/api_deconceal.go create mode 100644 udm/UEID/client.go create mode 100644 udm/UEID/configuration.go create mode 100644 udr/DataRepository/api_access_and_mobility_data.go create mode 100644 udr/DataRepository/api_access_and_mobility_policy_data_document.go create mode 100644 udr/DataRepository/api_access_and_mobility_subscription_data_document.go create mode 100644 udr/DataRepository/api_amf3_gpp_access_registration_document.go create mode 100644 udr/DataRepository/api_amf_group_subscription_info_document.go create mode 100644 udr/DataRepository/api_amf_non3_gpp_access_registration_document.go create mode 100644 udr/DataRepository/api_amf_subscription_info_document.go create mode 100644 udr/DataRepository/api_application_data_subscriptions_collection.go create mode 100644 udr/DataRepository/api_auth_event_document.go create mode 100644 udr/DataRepository/api_authentication_data_document.go create mode 100644 udr/DataRepository/api_authentication_so_r_document.go create mode 100644 udr/DataRepository/api_authentication_status_document.go create mode 100644 udr/DataRepository/api_authentication_subscription_document.go create mode 100644 udr/DataRepository/api_authentication_upu_document.go create mode 100644 udr/DataRepository/api_bdt_data_store.go create mode 100644 udr/DataRepository/api_bdt_policy_data_store.go create mode 100644 udr/DataRepository/api_cag_update_ack_document.go create mode 100644 udr/DataRepository/api_cagack_document.go create mode 100644 udr/DataRepository/api_class5_g_vn_group_configuration_document.go create mode 100644 udr/DataRepository/api_class5_gmbs_group_store.go create mode 100644 udr/DataRepository/api_class5_gmbs_groups_internal_document.go create mode 100644 udr/DataRepository/api_class5_gvn_groups_internal_document.go create mode 100644 udr/DataRepository/api_class5_gvn_groups_store.go create mode 100644 udr/DataRepository/api_class5_mbs_subscription_data_document.go create mode 100644 udr/DataRepository/api_context_data_document.go create mode 100644 udr/DataRepository/api_delete5_g_vn_group.go create mode 100644 udr/DataRepository/api_delete5_gmbs_group.go create mode 100644 udr/DataRepository/api_enhanced_coverage_restriction_data.go create mode 100644 udr/DataRepository/api_event_amf_subscription_info_document.go create mode 100644 udr/DataRepository/api_event_exposure_data_document.go create mode 100644 udr/DataRepository/api_event_exposure_data_for_a_group_document.go create mode 100644 udr/DataRepository/api_event_exposure_group_subscription_document.go create mode 100644 udr/DataRepository/api_event_exposure_group_subscriptions_collection.go create mode 100644 udr/DataRepository/api_event_exposure_subscription_document.go create mode 100644 udr/DataRepository/api_event_exposure_subscriptions_collection.go create mode 100644 udr/DataRepository/api_exposure_data_subscriptions_collection.go create mode 100644 udr/DataRepository/api_group_identifiers.go create mode 100644 udr/DataRepository/api_hss_event_group_subscription_info_document.go create mode 100644 udr/DataRepository/api_hss_event_subscription_info_document.go create mode 100644 udr/DataRepository/api_hsssdm_subscription_info_document.go create mode 100644 udr/DataRepository/api_individual_application_data_subscription_document.go create mode 100644 udr/DataRepository/api_individual_applied_bdt_policy_data_document.go create mode 100644 udr/DataRepository/api_individual_auth_event_document.go create mode 100644 udr/DataRepository/api_individual_authentication_status_document.go create mode 100644 udr/DataRepository/api_individual_bdt_data_document.go create mode 100644 udr/DataRepository/api_individual_exposure_data_subscription_document.go create mode 100644 udr/DataRepository/api_individual_influence_data_document.go create mode 100644 udr/DataRepository/api_individual_influence_data_subscription_document.go create mode 100644 udr/DataRepository/api_individual_iptv_configuration_data_document.go create mode 100644 udr/DataRepository/api_individual_pfd_data_document.go create mode 100644 udr/DataRepository/api_individual_policy_data_subscription_document.go create mode 100644 udr/DataRepository/api_individual_service_parameter_data_document.go create mode 100644 udr/DataRepository/api_influence_data_store.go create mode 100644 udr/DataRepository/api_influence_data_subscriptions_collection.go create mode 100644 udr/DataRepository/api_ipsmgw_registration_document.go create mode 100644 udr/DataRepository/api_iptv_configuration_data_store.go create mode 100644 udr/DataRepository/api_lcs_broadcast_assistance_subscription_data.go create mode 100644 udr/DataRepository/api_lcs_mobile_originated_subscription_data.go create mode 100644 udr/DataRepository/api_lcs_privacy_subscription_data.go create mode 100644 udr/DataRepository/api_message_waiting_data_document.go create mode 100644 udr/DataRepository/api_modify5_g_vn_group.go create mode 100644 udr/DataRepository/api_modify5_gmbs_group.go create mode 100644 udr/DataRepository/api_multicast_mbs_group_memb_document.go create mode 100644 udr/DataRepository/api_nidd_authorization_info_document.go create mode 100644 udr/DataRepository/api_nssai_update_ack_document.go create mode 100644 udr/DataRepository/api_nssaiack_document.go create mode 100644 udr/DataRepository/api_operator_specific_data_container_document.go create mode 100644 udr/DataRepository/api_operator_specific_data_document.go create mode 100644 udr/DataRepository/api_parameter_provision_document.go create mode 100644 udr/DataRepository/api_parameter_provision_profile_data_document.go create mode 100644 udr/DataRepository/api_parameter_provision_profile_data_for5_gmbs_group_document.go create mode 100644 udr/DataRepository/api_parameter_provision_profile_data_for5_gvn_group_document.go create mode 100644 udr/DataRepository/api_pdu_session_management_data.go create mode 100644 udr/DataRepository/api_pfd_data_store.go create mode 100644 udr/DataRepository/api_plmn_ue_policy_set_document.go create mode 100644 udr/DataRepository/api_policy_data_for_individual_ue_document.go create mode 100644 udr/DataRepository/api_policy_data_subscriptions_collection.go create mode 100644 udr/DataRepository/api_pro_se_service_subscription_data.go create mode 100644 udr/DataRepository/api_provisioned_data_document.go create mode 100644 udr/DataRepository/api_provisioned_parameter_data_document.go create mode 100644 udr/DataRepository/api_provisioned_parameter_data_entries_collection.go create mode 100644 udr/DataRepository/api_query5_g_vn_group_configuration_document.go create mode 100644 udr/DataRepository/api_query_amf_subscription_info_document.go create mode 100644 udr/DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go create mode 100644 udr/DataRepository/api_query_multicast_mbs_group_memb_document.go create mode 100644 udr/DataRepository/api_query_nidd_authorization_data_gpsi_or_external_group_identifier_document.go create mode 100644 udr/DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go create mode 100644 udr/DataRepository/api_query_service_specific_authorization_data_document.go create mode 100644 udr/DataRepository/api_retrieval_of_individual_shared_data.go create mode 100644 udr/DataRepository/api_retrieval_of_shared_data.go create mode 100644 udr/DataRepository/api_retrieve_the_roaming_information_of_the5_gcepc_domains_document.go create mode 100644 udr/DataRepository/api_retrieve_the_roaming_information_of_the_epc_domain_document.go create mode 100644 udr/DataRepository/api_sdm_subscription_document.go create mode 100644 udr/DataRepository/api_sdm_subscriptions_collection.go create mode 100644 udr/DataRepository/api_service_parameter_data_store.go create mode 100644 udr/DataRepository/api_service_specific_authorization_info_document.go create mode 100644 udr/DataRepository/api_session_management_policy_data_document.go create mode 100644 udr/DataRepository/api_session_management_subscription_data.go create mode 100644 udr/DataRepository/api_smf_event_group_subscription_info_document.go create mode 100644 udr/DataRepository/api_smf_event_subscription_info_document.go create mode 100644 udr/DataRepository/api_smf_registration_document.go create mode 100644 udr/DataRepository/api_smf_registrations_collection.go create mode 100644 udr/DataRepository/api_smf_selection_subscription_data_document.go create mode 100644 udr/DataRepository/api_sms_management_subscription_data_document.go create mode 100644 udr/DataRepository/api_sms_subscription_data_document.go create mode 100644 udr/DataRepository/api_smsf3_gpp_registration_document.go create mode 100644 udr/DataRepository/api_smsf_non3_gpp_registration_document.go create mode 100644 udr/DataRepository/api_sponsor_connectivity_data_document.go create mode 100644 udr/DataRepository/api_subs_to_notify_collection.go create mode 100644 udr/DataRepository/api_subs_to_notify_document.go create mode 100644 udr/DataRepository/api_subscriptions_collection.go create mode 100644 udr/DataRepository/api_trace_data_document.go create mode 100644 udr/DataRepository/api_u_es_location_information_document.go create mode 100644 udr/DataRepository/api_ue_policy_set_document.go create mode 100644 udr/DataRepository/api_update_the_pei_information_of_the5_gcepc_domains_document.go create mode 100644 udr/DataRepository/api_update_the_roaming_information_of_the_epc_domain_document.go create mode 100644 udr/DataRepository/api_usage_monitoring_information_document.go create mode 100644 udr/DataRepository/api_user_consent_data.go create mode 100644 udr/DataRepository/api_v2_x_subscription_data.go create mode 100644 udr/DataRepository/client.go create mode 100644 udr/DataRepository/configuration.go create mode 100644 udr/GroupIDmap/api_nf_group_i_ds_document.go create mode 100644 udr/GroupIDmap/client.go create mode 100644 udr/GroupIDmap/configuration.go create mode 100644 udr/ImsDataRepository/api_charging_info_retrieval.go create mode 100644 udr/ImsDataRepository/api_ims_profile_data_retrieval.go create mode 100644 udr/ImsDataRepository/api_retrieval_of_associated_ims_private_identities.go create mode 100644 udr/ImsDataRepository/api_retrieval_of_associated_ims_public_identities.go create mode 100644 udr/ImsDataRepository/api_scscf_registration_and_deregistration.go create mode 100644 udr/ImsDataRepository/client.go create mode 100644 udr/ImsDataRepository/configuration.go create mode 100644 udsf/DataRepository/api_block_crud.go create mode 100644 udsf/DataRepository/api_meta_schema_crud.go create mode 100644 udsf/DataRepository/api_notification_subscription_crud.go create mode 100644 udsf/DataRepository/api_notification_subscriptions_crud.go create mode 100644 udsf/DataRepository/api_record_crud.go create mode 100644 udsf/DataRepository/client.go create mode 100644 udsf/DataRepository/configuration.go create mode 100644 udsf/Timer/api_timer_get.go create mode 100644 udsf/Timer/api_timer_search.go create mode 100644 udsf/Timer/api_timer_start.go create mode 100644 udsf/Timer/api_timer_stop.go create mode 100644 udsf/Timer/api_timer_update.go create mode 100644 udsf/Timer/api_timers_delete.go create mode 100644 udsf/Timer/client.go create mode 100644 udsf/Timer/configuration.go diff --git a/Namf_Communication/.gitignore b/Namf_Communication/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Namf_Communication/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Namf_Communication/.openapi-generator/VERSION b/Namf_Communication/.openapi-generator/VERSION deleted file mode 100644 index afa63656..00000000 --- a/Namf_Communication/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -4.0.0-SNAPSHOT \ No newline at end of file diff --git a/Namf_Communication/CHANGELOG.md b/Namf_Communication/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Namf_Communication/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Namf_Communication/api/openapi.yaml b/Namf_Communication/api/openapi.yaml deleted file mode 100644 index 4d8636e2..00000000 --- a/Namf_Communication/api/openapi.yaml +++ /dev/null @@ -1,7165 +0,0 @@ -openapi: 3.0.0 -info: - description: AMF Communication Service - title: Namf_Communication - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.518 V15.2.0; 5G System; Access and Mobility Management Services - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ -servers: -- url: '{apiRoot}/namf-comm/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause subclause 4.4 of 3GPP TS 29.501 -security: -- {} -- oAuth2Clientcredentials: - - namf-comm -paths: - /ue-contexts/{ueContextId}: - put: - operationId: CreateUEContext - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2InformationExt1: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/CreateUEContext_requestBody' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/CreateUEContext_response_201' - description: UE context successfully created. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/namf-comm/v1/ue-contexts/{ueContextId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextCreateError' - description: Bad Request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextCreateError' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextCreateError' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication CreateUEContext service Operation - tags: - - Individual ueContext (Document) - /ue-contexts/{ueContextId}/release: - post: - operationId: ReleaseUEContext - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UEContextRelease' - required: true - responses: - 204: - description: UE Context successfully released - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication ReleaseUEContext service Operation - tags: - - Individual ueContext (Document) - /ue-contexts/{ueContextId}/assign-ebi: - post: - operationId: EBIAssignment - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AssignEbiData' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AssignedEbiData' - description: EBI Assignment successfully performed. - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/AssignEbiError' - description: Bad Request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/AssignEbiError' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/AssignEbiError' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication EBI Assignment service Operation - tags: - - Individual ueContext (Document) - /ue-contexts/{ueContextId}/transfer: - post: - operationId: UEContextTransfer - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextTransferReqData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UEContextTransfer_requestBody' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/UeContextTransferRspData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UEContextTransfer_response_200' - description: UE context transfer successfully initiated. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication UEContextTransfer service Operation - tags: - - Individual ueContext (Document) - /ue-contexts/{ueContextId}/transfer-update: - post: - operationId: RegistrationStatusUpdate - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UeRegStatusUpdateReqData' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/UeRegStatusUpdateRspData' - description: UE context transfer status successfully updated. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Namf_Communication RegistrationStatusUpdate service Operation - tags: - - Individual ueContext (Document) - /ue-contexts/{ueContextId}/n1-n2-messages: - post: - callbacks: - onN1N2TransferFailure: - '{$request.body#/n1n2FailureTxfNotifURI}': - post: - operationId: N1N2TransferFailureNotification - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MsgTxfrFailureNotification' - description: N1N2Transfer Failure Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication N1N2Transfer Failure Notification service Operation - tags: - - N1N2 Transfer Failure Notification - x-callback-request: true - operationId: N1N2MessageTransfer - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|cid-.{1,255}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MessageTransferReqData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/N1N2MessageTransfer_requestBody' - required: true - responses: - 202: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MessageTransferRspData' - description: N1N2 Message Transfer accepted. - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MessageTransferRspData' - description: N1N2 Message Transfer successfully initiated. - 307: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Temporary Redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 409: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MessageTransferError' - description: Conflicts - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/N1N2MessageTransferError' - description: Gateway Timeout - default: - description: Unexpected error - summary: Namf_Communication N1N2 Message Transfer (UE Specific) service Operation - tags: - - n1N2Message collection (Document) - /ue-contexts/{ueContextId}/n1-n2-messages/subscriptions: - post: - callbacks: - onN1N2MessageNotify: - '{$request.body#/n1NotifyCallbackUri}': - post: - operationId: N1MessageNotify - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/N1MessageNotification' - binaryDataN1Message: - format: binary - type: string - type: object - description: N1 Message Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication N1 Message Notify service Operation - tags: - - N1 Message Notify - x-callback-request: true - '{$request.body#/n2NotifyCallbackUri}': - post: - operationId: N2InfoNotify - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1Message: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/N2InformationNotification' - binaryDataN1Message: - format: binary - type: string - binaryDataN2Information: - format: binary - type: string - type: object - description: UE Specific N2 Informaiton Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication N2 Info Notify (UE Specific) service Operation - tags: - - N2 Info Notify - x-callback-request: true - operationId: N1N2MessageSubscribe - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UeN1N2InfoSubscriptionCreateData' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/UeN1N2InfoSubscriptionCreatedData' - description: N1N2 Message Subscription successfully created. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/namf-comm/v1/{ueContextId}/n1-n2-messages/subscriptions/{subscriptionId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication N1N2 Message Subscribe (UE Specific) service Operation - tags: - - N1N2 Subscriptions Collection for Individual UE Contexts (Document) - /ue-contexts/{ueContextId}/n1-n2-messages/subscriptions/{subscriptionId}: - delete: - operationId: N1N2MessageUnSubscribe - parameters: - - description: UE Context Identifier - explode: false - in: path - name: ueContextId - required: true - schema: - pattern: ^(5g-guti-[0-9]{5,6}[0-9a-fA-F]{14}|imsi-[0-9]{5,15}|nai-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - style: simple - - description: Subscription Identifier - explode: false - in: path - name: subscriptionId - required: true - schema: - type: string - style: simple - responses: - 204: - description: N1N2 Message Subscription successfully removed. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication N1N2 Message UnSubscribe (UE Specific) service Operation - tags: - - N1N2 Individual Subscription (Document) - /non-ue-n2-messages/transfer: - post: - operationId: NonUeN2MessageTransfer - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferReqData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/NonUeN2MessageTransfer_requestBody' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferRspData' - description: Non UE N2 Message Transfer successfully initiated. - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferError' - description: Bad Request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferError' - description: Forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferError' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferError' - description: Internal Server Error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationTransferError' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication Non UE N2 Message Transfer service Operation - tags: - - Non UE N2Messages collection (Document) - /non-ue-n2-messages/subscriptions: - post: - callbacks: - onN2InfoNotify: - '{$request.body#/n2NotifyCallbackUri}': - post: - operationId: NonUeN2InfoNotify - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/N2InformationNotification' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2Information: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/N2InformationNotification' - binaryDataN2Information: - format: binary - type: string - type: object - description: Non UE N2 Informaiton Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication Non UE N2 Info Notify service Operation - tags: - - Non UE N2 Info Notify - x-callback-request: true - operationId: NonUeN2InfoSubscribe - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NonUeN2InfoSubscriptionCreateData' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/NonUeN2InfoSubscriptionCreatedData' - description: Non UE N2 Info Subscription successfully created. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/namf-comm/v1/non-ue-n2-messages/subscriptions/{n2NotifySubscriptionId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication Non UE N2 Info Subscribe service Operation - tags: - - Non UE N2Messages Subscriptions collection (Document) - /non-ue-n2-messages/subscriptions/{n2NotifySubscriptionId}: - delete: - operationId: NonUeN2InfoUnSubscribe - parameters: - - description: N2 info Subscription Identifier - explode: false - in: path - name: n2NotifySubscriptionId - required: true - schema: - type: string - style: simple - responses: - 204: - description: Non UE N2 INfo Subscription successfully removed. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Namf_Communication Non UE N2 Info UnSubscribe service Operation - tags: - - Non UE N2 Message Notification Individual Subscription (Document) - /subscriptions: - post: - callbacks: - onAmfStatusChange: - '{$request.body#/amfStatusUri}': - post: - operationId: AmfStatusChangeNotify - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfStatusChangeNotification' - description: Amf Status Change Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Amf Status Change Notify service Operation - tags: - - Amf Status Change Notify - x-callback-request: true - operationId: AMFStatusChangeSubscribe - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - description: N1N2 Message Subscription successfully created. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/namf-comm/v1/subscriptions/{subscriptionId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication AMF Status Change Subscribe service Operation - tags: - - subscriptions collection (Document) - /subscriptions/{subscriptionId}: - delete: - operationId: AMFStatusChangeUnSubscribe - parameters: - - description: AMF Status Change Subscription Identifier - explode: false - in: path - name: subscriptionId - required: true - schema: - type: string - style: simple - responses: - 204: - description: N1N2 Message Subscription successfully removed. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication AMF Status Change UnSubscribe service Operation - tags: - - individual subscription (Document) - put: - callbacks: - OnAmfStatusChange: - '{$request.body#/amfStatusUri}': - post: - operationId: AmfStatusChangeNOtify - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfStatusChangeNotification' - description: Amf Status Change Notification - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - summary: Amf Status Change Notify service Operation - tags: - - Amf Status Change Notify - x-callback-request: true - operationId: AMFStatusChangeSubscribeModfy - parameters: - - description: AMF Status Change Subscription Identifier - explode: false - in: path - name: subscriptionId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - required: true - responses: - 202: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - description: N1N2 Message Subscription successfully updated. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_Communication AMF Status Change Subscribe Modify service Operation - tags: - - individual subscription (Document) -components: - schemas: - SubscriptionData: - example: - amfStatusUri: amfStatusUri - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - amfStatusUri: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - amfStatusUri - type: object - AmfStatusChangeNotification: - example: - amfStatusInfoList: - - targetAmfFailure: targetAmfFailure - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - targetAmfRemoval: targetAmfRemoval - - targetAmfFailure: targetAmfFailure - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - targetAmfRemoval: targetAmfRemoval - properties: - amfStatusInfoList: - items: - $ref: '#/components/schemas/AmfStatusInfo' - minItems: 1 - type: array - required: - - amfStatusInfo - type: object - AmfStatusInfo: - example: - targetAmfFailure: targetAmfFailure - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - targetAmfRemoval: targetAmfRemoval - properties: - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - statusChange: - $ref: '#/components/schemas/StatusChange' - targetAmfRemoval: - type: string - targetAmfFailure: - type: string - required: - - guamis - - statusChange - type: object - AssignEbiData: - example: - pduSessionId: 20 - arpList: - - priorityLevel: 10 - - priorityLevel: 10 - releasedEbiList: - - null - - null - properties: - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - arpList: - items: - $ref: '#/components/schemas/Arp' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - required: - - pduSessionId - type: object - AssignedEbiData: - example: - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - pduSessionId: 20 - failedArpList: - - priorityLevel: 10 - - priorityLevel: 10 - releasedEbiList: - - null - - null - properties: - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 0 - type: array - failedArpList: - items: - $ref: '#/components/schemas/Arp' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - required: - - assignedEbis - - pduSessionId - type: object - AssignEbiFailed: - properties: - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - failedArpList: - items: - $ref: '#/components/schemas/Arp' - minItems: 1 - type: array - required: - - pduSessionId - type: object - UEContextRelease: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - ngapCause: - $ref: '#/components/schemas/NgApCause' - required: - - ngapCause - type: object - N2InformationTransferReqData: - properties: - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - ratSelector: - $ref: '#/components/schemas/RatSelector' - ecgiList: - items: - $ref: '#/components/schemas/Ecgi' - minItems: 1 - type: array - ncgiList: - items: - $ref: '#/components/schemas/Ncgi' - minItems: 1 - type: array - globalRanNodeList: - items: - $ref: '#/components/schemas/GlobalRanNodeId' - minItems: 1 - type: array - n2Information: - $ref: '#/components/schemas/N2InfoContainer' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - n2Information - type: object - NonUeN2InfoSubscriptionCreateData: - example: - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedFeatures: supportedFeatures - n2NotifyCallbackUri: n2NotifyCallbackUri - anTypeList: - - null - - null - globalRanNodeList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - properties: - globalRanNodeList: - items: - $ref: '#/components/schemas/GlobalRanNodeId' - minItems: 1 - type: array - anTypeList: - items: - $ref: '#/components/schemas/AccessType' - minItems: 1 - type: array - n2InformationClass: - $ref: '#/components/schemas/N2InformationClass' - n2NotifyCallbackUri: - type: string - nfId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - n2InformationClass - - n2NotifyCallbackUri - type: object - NonUeN2InfoSubscriptionCreatedData: - example: - supportedFeatures: supportedFeatures - n2NotifySubscriptionId: n2NotifySubscriptionId - properties: - n2NotifySubscriptionId: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - n2NotifySubscriptionId - type: object - UeN1N2InfoSubscriptionCreateData: - example: - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedFeatures: supportedFeatures - n2NotifyCallbackUri: n2NotifyCallbackUri - n1NotifyCallbackUri: n1NotifyCallbackUri - properties: - n2InformationClass: - $ref: '#/components/schemas/N2InformationClass' - n2NotifyCallbackUri: - type: string - n1MessageClass: - $ref: '#/components/schemas/N1MessageClass' - n1NotifyCallbackUri: - type: string - nfId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - UeN1N2InfoSubscriptionCreatedData: - example: - supportedFeatures: supportedFeatures - n1n2NotifySubscriptionId: n1n2NotifySubscriptionId - properties: - n1n2NotifySubscriptionId: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - n1n2NotifySubscriptionId - type: object - N2InformationNotification: - properties: - n2NotifySubscriptionId: - type: string - n2InfoContainer: - $ref: '#/components/schemas/N2InfoContainer' - toReleaseSessionList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - lcsCorrelationId: - maxLength: 255 - minLength: 1 - type: string - notifyReason: - $ref: '#/components/schemas/N2InfoNotifyReason' - required: - - n2NotifySubscriptionId - type: object - N2InfoContainer: - properties: - n2InformationClass: - $ref: '#/components/schemas/N2InformationClass' - smInfo: - $ref: '#/components/schemas/N2SmInformation' - ranInfo: - $ref: '#/components/schemas/N2RanInformation' - nrppaInfo: - $ref: '#/components/schemas/NrppaInformation' - pwsInfo: - $ref: '#/components/schemas/PwsInformation' - required: - - n2InformationClass - type: object - N1MessageNotification: - properties: - n1NotifySubscriptionId: - type: string - n1MessageContainer: - $ref: '#/components/schemas/N1MessageContainer' - lcsCorrelationId: - maxLength: 255 - minLength: 1 - type: string - registrationCtxtContainer: - $ref: '#/components/schemas/RegistrationContextContainer' - required: - - n1MessageContainer - type: object - N1MessageContainer: - properties: - n1MessageClass: - $ref: '#/components/schemas/N1MessageClass' - n1MessageContent: - $ref: '#/components/schemas/RefToBinaryData' - nfId: - format: uuid - type: string - required: - - n1MessageClass - - n1MessageContent - type: object - N1N2MessageTransferReqData: - properties: - n1MessageContainer: - $ref: '#/components/schemas/N1MessageContainer' - n2InfoContainer: - $ref: '#/components/schemas/N2InfoContainer' - skipInd: - default: false - type: boolean - lastMsgIndication: - type: boolean - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - lcsCorrelationId: - maxLength: 255 - minLength: 1 - type: string - ppi: - format: int32 - maximum: 7 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1n2FailureTxfNotifURI: - type: string - smfReallocationInd: - default: false - type: boolean - areaOfValidity: - $ref: '#/components/schemas/AreaOfValidity' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - N1N2MessageTransferRspData: - example: - supportedFeatures: supportedFeatures - properties: - cause: - $ref: '#/components/schemas/N1N2MessageTransferCause' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - cause - type: object - RegistrationContextContainer: - properties: - ueContext: - $ref: '#/components/schemas/UeContext' - localTimeZone: - type: string - anType: - $ref: '#/components/schemas/AccessType' - anN2ApId: - format: int32 - type: integer - ranNodeId: - $ref: '#/components/schemas/GlobalRanNodeId' - initialAmfName: - type: string - userLocation: - $ref: '#/components/schemas/UserLocation' - rrcEstCause: - pattern: ^[0-9a-fA-F]+$ - type: string - ueContextRequest: - default: false - type: boolean - anN2IPv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - anN2IPv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - allowedNssai: - $ref: '#/components/schemas/AllowedNssai' - configuredNssai: - items: - $ref: '#/components/schemas/ConfiguredSnssai' - minItems: 1 - type: array - rejectedNssaiInPlmn: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - rejectedNssaiInTa: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - required: - - anN2ApId - - anType - - initialAmfName - - ranNodeId - - ueContext - - userLocation - type: object - AreaOfValidity: - properties: - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 0 - type: array - required: - - taList - type: object - UeContextTransferReqData: - properties: - reason: - $ref: '#/components/schemas/TransferReason' - accessType: - $ref: '#/components/schemas/AccessType' - plmnId: - $ref: '#/components/schemas/PlmnId' - regRequest: - $ref: '#/components/schemas/N1MessageContainer' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - accessType - - reason - type: object - UeContextTransferRspData: - example: - ueContext: - gpsiList: - - null - - null - seafData: - keyAmfChangeInd: true - ngKsi: - ksi: 0 - keyAmf: - keyVal: keyVal - keyAmfHDerivationInd: true - nh: nh - ncc: 4 - eventSubscriptionList: - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - drxParameter: drxParameter - 5gMmCapability: 5gMmCapability - subUeAmbr: - uplink: uplink - downlink: downlink - forbiddenAreaList: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - pei: pei - pcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ausfGroupId: ausfGroupId - smsfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - amPolicyReqTriggerList: - - null - - null - mmContextList: - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - supiUnauthInd: true - routingIndicator: routingIndicator - groupList: - - null - - null - pcfAmPolicyUri: pcfAmPolicyUri - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - supi: supi - subRfsp: 21 - sessionContextList: - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - hpcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - restrictedRatList: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - usedRfsp: 154 - restrictedCoreNwTypeList: - - null - - null - udmGroupId: udmGroupId - ueRadioCapability: - ngapData: - contentId: contentId - ngapMessageType: 0 - supportedFeatures: supportedFeatures - properties: - ueContext: - $ref: '#/components/schemas/UeContext' - ueRadioCapability: - $ref: '#/components/schemas/N2InfoContent' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - ueContext - type: object - UeContext: - example: - gpsiList: - - null - - null - seafData: - keyAmfChangeInd: true - ngKsi: - ksi: 0 - keyAmf: - keyVal: keyVal - keyAmfHDerivationInd: true - nh: nh - ncc: 4 - eventSubscriptionList: - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - drxParameter: drxParameter - 5gMmCapability: 5gMmCapability - subUeAmbr: - uplink: uplink - downlink: downlink - forbiddenAreaList: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - pei: pei - pcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ausfGroupId: ausfGroupId - smsfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - amPolicyReqTriggerList: - - null - - null - mmContextList: - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - supiUnauthInd: true - routingIndicator: routingIndicator - groupList: - - null - - null - pcfAmPolicyUri: pcfAmPolicyUri - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - supi: supi - subRfsp: 21 - sessionContextList: - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - hpcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - restrictedRatList: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - usedRfsp: 154 - restrictedCoreNwTypeList: - - null - - null - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - supiUnauthInd: - type: boolean - gpsiList: - items: - $ref: '#/components/schemas/Gpsi' - minItems: 1 - type: array - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - udmGroupId: - type: string - ausfGroupId: - type: string - routingIndicator: - type: string - groupList: - items: - $ref: '#/components/schemas/GroupId' - minItems: 1 - type: array - drxParameter: - format: byte - type: string - subRfsp: - format: int32 - maximum: 256 - minimum: 1 - type: integer - usedRfsp: - format: int32 - maximum: 256 - minimum: 1 - type: integer - subUeAmbr: - $ref: '#/components/schemas/Ambr' - smsSupport: - $ref: '#/components/schemas/SmsSupport' - smsfId: - format: uuid - type: string - seafData: - $ref: '#/components/schemas/SeafData' - 5gMmCapability: - format: byte - type: string - pcfId: - format: uuid - type: string - pcfAmPolicyUri: - type: string - amPolicyReqTriggerList: - items: - $ref: '#/components/schemas/AMPolicyReqTrigger' - minItems: 1 - type: array - hpcfId: - format: uuid - type: string - restrictedRatList: - items: - $ref: '#/components/schemas/RatType' - minItems: 1 - type: array - forbiddenAreaList: - items: - $ref: '#/components/schemas/Area' - minItems: 1 - type: array - serviceAreaRestriction: - $ref: '#/components/schemas/ServiceAreaRestriction' - restrictedCoreNwTypeList: - items: - $ref: '#/components/schemas/CoreNetworkType' - minItems: 1 - type: array - eventSubscriptionList: - items: - $ref: '#/components/schemas/AmfEventSubscription' - minItems: 1 - type: array - mmContextList: - items: - $ref: '#/components/schemas/MmContext' - maxItems: 2 - minItems: 1 - type: array - sessionContextList: - items: - $ref: '#/components/schemas/PduSessionContext' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - type: object - N2SmInformation: - example: - subjectToHo: true - pduSessionId: 29 - n2InfoContent: - ngapData: - contentId: contentId - ngapMessageType: 0 - sNssai: - sd: sd - sst: 51 - properties: - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n2InfoContent: - $ref: '#/components/schemas/N2InfoContent' - sNssai: - $ref: '#/components/schemas/Snssai' - subjectToHo: - type: boolean - required: - - pduSessionId - type: object - N2InfoContent: - example: - ngapData: - contentId: contentId - ngapMessageType: 0 - properties: - ngapMessageType: - format: int32 - minimum: 0 - type: integer - ngapIeType: - $ref: '#/components/schemas/NgapIeType' - ngapData: - $ref: '#/components/schemas/RefToBinaryData' - required: - - ngapData - - ngapIeType - type: object - NrppaInformation: - properties: - nfId: - format: uuid - type: string - nrppaPdu: - $ref: '#/components/schemas/N2InfoContent' - required: - - nfId - - nrppaPdu - type: object - PwsInformation: - properties: - messageIdentifier: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - serialNumber: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - pwsContainer: - $ref: '#/components/schemas/N2InfoContent' - sendRanResponse: - default: false - type: boolean - omcId: - type: string - required: - - messageIdentifier - - pwsContainer - - serialNumber - type: object - N1N2MsgTxfrFailureNotification: - example: - n1n2MsgDataUri: n1n2MsgDataUri - properties: - cause: - $ref: '#/components/schemas/N1N2MessageTransferCause' - n1n2MsgDataUri: - type: string - required: - - cause - - n1n2MsgDataUri - type: object - N1N2MessageTransferError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - errInfo: - $ref: '#/components/schemas/N1N2MsgTxfrErrDetail' - required: - - error - type: object - N1N2MsgTxfrErrDetail: - properties: - retryAfter: - format: int32 - minimum: 0 - type: integer - highestPrioArp: - $ref: '#/components/schemas/Arp' - type: object - N2InformationTransferRspData: - example: - pwsRspData: - serialNumber: 39500 - unknownTaiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - messageIdentifier: 1 - ngapMessageType: 0 - supportedFeatures: supportedFeatures - properties: - result: - $ref: '#/components/schemas/N2InformationTransferResult' - pwsRspData: - $ref: '#/components/schemas/PWSResponseData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - result - type: object - MmContext: - example: - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - properties: - accessType: - $ref: '#/components/schemas/AccessType' - nasSecurityMode: - $ref: '#/components/schemas/NasSecurityMode' - nasDownlinkCount: - format: int32 - minimum: 0 - type: integer - nasUplinkCount: - format: int32 - minimum: 0 - type: integer - ueSecurityCapability: - format: byte - type: string - s1UeNetworkCapability: - format: byte - type: string - allowedNssai: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - nssaiMappingList: - items: - $ref: '#/components/schemas/NssaiMapping' - minItems: 1 - type: array - nsInstanceList: - items: - $ref: '#/components/schemas/NsiId' - minItems: 1 - type: array - expectedUEbehavior: - $ref: '#/components/schemas/ExpectedUeBehavior' - required: - - accessType - type: object - SeafData: - example: - keyAmfChangeInd: true - ngKsi: - ksi: 0 - keyAmf: - keyVal: keyVal - keyAmfHDerivationInd: true - nh: nh - ncc: 4 - properties: - ngKsi: - $ref: '#/components/schemas/NgKsi' - keyAmf: - $ref: '#/components/schemas/KeyAmf' - nh: - pattern: ^[A-Fa-f0-9]+$ - type: string - ncc: - format: int32 - maximum: 7 - minimum: 0 - type: integer - keyAmfChangeInd: - type: boolean - keyAmfHDerivationInd: - type: boolean - required: - - keyAmf - - ngKsi - type: object - NasSecurityMode: - example: {} - properties: - integrityAlgorithm: - $ref: '#/components/schemas/IntegrityAlgorithm' - cipheringAlgorithm: - $ref: '#/components/schemas/CipheringAlgorithm' - required: - - cipheringAlgorithm - - integrityAlgorithm - type: object - PduSessionContext: - example: - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - properties: - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - smContextRef: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - dnn: - type: string - accessType: - $ref: '#/components/schemas/AccessType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hsmfId: - format: uuid - type: string - vsmfId: - format: uuid - type: string - nsInstance: - type: string - required: - - accessType - - allocatedEbiList - - dnn - - pduSessionId - - sNssai - - smContextRef - type: object - NssaiMapping: - example: - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - properties: - mappedSnssai: - $ref: '#/components/schemas/Snssai' - hSnssai: - $ref: '#/components/schemas/Snssai' - required: - - hSnssai - - mappedSnssai - type: object - UeRegStatusUpdateReqData: - example: - toReleaseSessionList: - - null - - null - pcfReselectedInd: true - properties: - transferStatus: - $ref: '#/components/schemas/UeContextTransferStatus' - toReleaseSessionList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - pcfReselectedInd: - type: boolean - required: - - transferStatus - type: object - UeRegStatusUpdateRspData: - example: - regStatusTransferComplete: true - properties: - regStatusTransferComplete: - type: boolean - required: - - regStatusTransferComplete - type: object - AssignEbiError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - failureDetails: - $ref: '#/components/schemas/AssignEbiFailed' - required: - - error - - failureDetails - type: object - UeContextCreateData: - properties: - ueContext: - $ref: '#/components/schemas/UeContext' - targetId: - $ref: '#/components/schemas/NgRanTargetId' - sourceToTargetData: - $ref: '#/components/schemas/N2InfoContent' - pduSessionList: - items: - $ref: '#/components/schemas/N2SmInformation' - minItems: 1 - type: array - n2NotifyUri: - type: string - ueRadioCapability: - $ref: '#/components/schemas/N2InfoContent' - ngapCause: - $ref: '#/components/schemas/NgApCause' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - pduSessions - - sourceToTargetData - - targetId - - ueContext - type: object - UeContextCreatedData: - example: - ueContext: - gpsiList: - - null - - null - seafData: - keyAmfChangeInd: true - ngKsi: - ksi: 0 - keyAmf: - keyVal: keyVal - keyAmfHDerivationInd: true - nh: nh - ncc: 4 - eventSubscriptionList: - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - drxParameter: drxParameter - 5gMmCapability: 5gMmCapability - subUeAmbr: - uplink: uplink - downlink: downlink - forbiddenAreaList: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - pei: pei - pcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ausfGroupId: ausfGroupId - smsfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - amPolicyReqTriggerList: - - null - - null - mmContextList: - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - - nssaiMappingList: - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - - hSnssai: - sd: sd - sst: 51 - mappedSnssai: - sd: sd - sst: 51 - nsInstanceList: - - null - - null - nasSecurityMode: {} - nasDownlinkCount: 0 - allowedNssai: - - sd: sd - sst: 51 - - sd: sd - sst: 51 - nasUplinkCount: 0 - expectedUEbehavior: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - s1UeNetworkCapability: s1UeNetworkCapability - ueSecurityCapability: ueSecurityCapability - supiUnauthInd: true - routingIndicator: routingIndicator - groupList: - - null - - null - pcfAmPolicyUri: pcfAmPolicyUri - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - supi: supi - subRfsp: 21 - sessionContextList: - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - - hsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 10 - - epsBearerId: 2 - arp: - priorityLevel: 10 - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - dnn: dnn - nsInstance: nsInstance - pduSessionId: 26 - sNssai: - sd: sd - sst: 51 - smContextRef: smContextRef - hpcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - restrictedRatList: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - usedRfsp: 154 - restrictedCoreNwTypeList: - - null - - null - udmGroupId: udmGroupId - pcfReselectedInd: true - targetToSourceData: - ngapData: - contentId: contentId - ngapMessageType: 0 - supportedFeatures: supportedFeatures - pduSessionList: - - subjectToHo: true - pduSessionId: 29 - n2InfoContent: - ngapData: - contentId: contentId - ngapMessageType: 0 - sNssai: - sd: sd - sst: 51 - - subjectToHo: true - pduSessionId: 29 - n2InfoContent: - ngapData: - contentId: contentId - ngapMessageType: 0 - sNssai: - sd: sd - sst: 51 - ngapCause: - value: 0 - group: 0 - failedSessionList: - - subjectToHo: true - pduSessionId: 29 - n2InfoContent: - ngapData: - contentId: contentId - ngapMessageType: 0 - sNssai: - sd: sd - sst: 51 - - subjectToHo: true - pduSessionId: 29 - n2InfoContent: - ngapData: - contentId: contentId - ngapMessageType: 0 - sNssai: - sd: sd - sst: 51 - properties: - ueContext: - $ref: '#/components/schemas/UeContext' - targetToSourceData: - $ref: '#/components/schemas/N2InfoContent' - pduSessionList: - items: - $ref: '#/components/schemas/N2SmInformation' - minItems: 1 - type: array - ngapCause: - $ref: '#/components/schemas/NgApCause' - failedSessionList: - items: - $ref: '#/components/schemas/N2SmInformation' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - pcfReselectedInd: - type: boolean - required: - - pduSessions - - targetToSourceData - - ueContext - type: object - UeContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - ngapCause: - $ref: '#/components/schemas/NgApCause' - required: - - error - type: object - NgRanTargetId: - properties: - ranNodeId: - $ref: '#/components/schemas/GlobalRanNodeId' - tai: - $ref: '#/components/schemas/Tai' - required: - - ranNodeId - - tai - type: object - PWSResponseData: - example: - serialNumber: 39500 - unknownTaiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - messageIdentifier: 1 - ngapMessageType: 0 - properties: - ngapMessageType: - format: int32 - minimum: 0 - type: integer - serialNumber: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - messageIdentifier: - format: int32 - type: integer - unknownTaiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - required: - - messageIdentifier - - ngapMessageType - - serialNumber - type: object - PWSErrorData: - properties: - namfCause: - format: int32 - type: integer - required: - - namfCause - type: object - N2InformationTransferError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pwdErrorInfo: - $ref: '#/components/schemas/PWSErrorData' - required: - - error - type: object - NgKsi: - example: - ksi: 0 - properties: - tsc: - $ref: '#/components/schemas/ScType' - ksi: - format: int32 - maximum: 6 - minimum: 0 - type: integer - required: - - ksi - - tsc - type: object - KeyAmf: - example: - keyVal: keyVal - properties: - keyType: - $ref: '#/components/schemas/KeyAmfType' - keyVal: - type: string - required: - - keyType - - keyVal - type: object - ExpectedUeBehavior: - example: - validityTime: 2000-01-23T04:56:07.000+00:00 - expMoveTrajectory: - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - expMoveTrajectory: - items: - $ref: '#/components/schemas/UserLocation' - minItems: 1 - type: array - validityTime: - format: date-time - type: string - required: - - expMoveTrajectory - - validityTime - type: object - N2RanInformation: - properties: - n2InfoContent: - $ref: '#/components/schemas/N2InfoContent' - required: - - n2InfoContent - type: object - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - Ppi: - format: int32 - maximum: 7 - minimum: 0 - type: integer - NasCount: - format: int32 - minimum: 0 - type: integer - 5GMmCapability: - format: byte - type: string - UeSecurityCapability: - format: byte - type: string - S1UeNetworkCapability: - format: byte - type: string - DrxParameter: - format: byte - type: string - OmcIdentifier: - type: string - StatusChange: - enum: - - AMF_UNAVAILABLE - - AMF_AVAILABLE - type: string - N2InformationClass: - enum: - - SM - - NRPPa - - PWS - - PWS-BCAL - - PWS-RF - - RAN - type: string - N1MessageClass: - enum: - - 5GMM - - SM - - LPP - - SMS - - UPDP - type: string - N1N2MessageTransferCause: - enum: - - ATTEMPTING_TO_REACH_UE - - N1_N2_TRANSFER_INITIATED - - WAITING_FOR_ASYNCHRONOUS_TRANSFER - - UE_NOT_RESPONDING - - N1_MSG_NOT_TRANSFERRED - - UE_NOT_REACHABLE_FOR_SESSION - type: string - UeContextTransferStatus: - enum: - - TRANSFERRED - - NOT_TRANSFERRED - type: string - N2InformationTransferResult: - enum: - - N2_INFO_TRANSFER_INITIATED - type: string - CipheringAlgorithm: - enum: - - NEA0 - - NEA1 - - NEA2 - - NEA3 - type: string - IntegrityAlgorithm: - enum: - - NIA0 - - NIA1 - - NIA2 - - NIA3 - type: string - SmsSupport: - enum: - - 3GPP - - NON_3GPP - - BOTH - - NONE - type: string - ScType: - enum: - - NATIVE - - MAPPED - type: string - KeyAmfType: - enum: - - KAMF - - KPRIMEAMF - type: string - TransferReason: - enum: - - INIT_REG - - MOBI_REG - - MOBI_REG_UE_VALIDATED - type: string - AMPolicyReqTrigger: - enum: - - LOCATION_CHANGE - - PRA_CHANGE - - SARI_CHANGE - - RFSP_INDEX_CHANGE - type: string - RatSelector: - enum: - - E-UTRA - - NR - type: string - NgapIeType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_REL_CMD - - PDU_RES_MOD_REQ - - HANDOVER_CMD - - HANDOVER_REQUIRED - - HANDOVER_PREP_FAIL - - SRC_TO_TAR_CONTAINER - - TAR_TO_SRC_CONTAINER - - RAN_STATUS_TRANS_CONTAINER - - SON_CONFIG_TRANSFER - - NRPPA_PDU - - UE_RADIO_CAPABILITY - type: string - N2InfoNotifyReason: - enum: - - HANDOVER_COMPLETED - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - AmfName: - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Arp: - example: - priorityLevel: 10 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 10 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - EpsBearerId_2: - format: int32 - maximum: 15 - minimum: 0 - type: integer - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - Uinteger: - format: int32 - minimum: 0 - type: integer - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 24 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - NfInstanceId: - format: uuid - type: string - CorrelationID: - maxLength: 255 - minLength: 1 - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - TimeZone: - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 13583 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - DateTime: - format: date-time - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 24202 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - AllowedNssai: - properties: - allowedSnssaiList: - items: - $ref: '#/components/schemas/AllowedSnssai' - minItems: 1 - type: array - accessType: - $ref: '#/components/schemas/AccessType' - required: - - accessType - - allowedSnssaiList - type: object - AllowedSnssai: - properties: - allowedSnssai: - $ref: '#/components/schemas/Snssai' - nsiInformationList: - items: - $ref: '#/components/schemas/NsiInformation' - minItems: 1 - type: array - mappedHomeSnssai: - $ref: '#/components/schemas/Snssai' - required: - - allowedSnssai - type: object - NsiInformation: - properties: - nrfId: - type: string - nsiId: - type: string - required: - - nrfId - type: object - NsiId: - type: string - ConfiguredSnssai: - properties: - configuredSnssai: - $ref: '#/components/schemas/Snssai' - mappedHomeSnssai: - $ref: '#/components/schemas/Snssai' - required: - - configuredSnssai - type: object - Snssai: - example: - sd: sd - sst: 51 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - NfGroupId: - type: string - GroupId: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - RfspIndex: - format: int32 - maximum: 256 - minimum: 1 - type: integer - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - Area: - example: - areaCodes: areaCodes - tacs: - - null - - null - oneOf: - - required: - - tacs - - required: - - areaCode - properties: - tacs: - items: - $ref: '#/components/schemas/Tac' - minItems: 1 - type: array - areaCodes: - type: string - type: object - AreaCode: - type: string - ServiceAreaRestriction: - allOf: - - oneOf: - - not: - required: - - restrictionType - - required: - - areas - - anyOf: - - not: - properties: - restrictionType: - enum: - - NOT_ALLOWED_AREAS - type: string - required: - - restrictionType - - not: - required: - - maxNumOfTAs - example: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - properties: - restrictionType: - $ref: '#/components/schemas/RestrictionType' - areas: - items: - $ref: '#/components/schemas/Area' - type: array - maxNumOfTAs: - format: int32 - minimum: 0 - type: integer - type: object - RestrictionType: - enum: - - ALLOWED_AREAS - - NOT_ALLOWED_AREAS - type: string - CoreNetworkType: - enum: - - 5GC - - EPC - type: string - AmfEventSubscription: - example: - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - properties: - eventList: - items: - $ref: '#/components/schemas/AmfEvent' - minItems: 1 - type: array - eventNotifyUri: - type: string - notifyCorrelationId: - type: string - nfId: - format: uuid - type: string - subsChangeNotifyUri: - type: string - subsChangeNotifyCorrelationId: - type: string - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - groupId: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - anyUE: - type: boolean - options: - $ref: '#/components/schemas/AmfEventMode' - required: - - eventNotifyUri - - events - - nfId - - notifyCorrelationId - type: object - AmfEvent: - example: - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - properties: - type: - $ref: '#/components/schemas/AmfEventType' - immediateFlag: - type: boolean - areaList: - items: - $ref: '#/components/schemas/AmfEventArea' - minItems: 1 - type: array - locationFilterList: - items: - $ref: '#/components/schemas/LocationFilter' - minItems: 1 - type: array - subscribedDataFilterList: - items: - $ref: '#/components/schemas/SubscribedDataFilter' - minItems: 1 - type: array - required: - - type - type: object - AmfEventType: - enum: - - LOCATION_REPORT - - PRESENCE_IN_AOI_REPORT - - TIMEZONE_REPORT - - ACCESS_TYPE_REPORT - - REGISTRATION_STATE_REPORT - - CONNECTIVITY_STATE_REPORT - - REACHABILITY_REPORT - - SUBSCRIBED_DATA_REPORT - - COMMUNICATION_FAILURE_REPORT - - UES_IN_AREA_REPORT - - SUBSCRIPTION_ID_CHANGE - - SUBSCRIPTION_ID_ADDITION - type: string - AmfEventArea: - example: - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - properties: - presenceInfo: - $ref: '#/components/schemas/PresenceInfo' - ladnInfo: - $ref: '#/components/schemas/LadnInfo' - type: object - LadnInfo: - example: - ladn: ladn - properties: - ladn: - type: string - presence: - $ref: '#/components/schemas/PresenceState' - required: - - ladn - type: object - LocationFilter: - enum: - - TAI - - CELL_ID - - N3IWF - - UE_IP - - UDP_PORT - type: string - SubscribedDataFilter: - enum: - - SARI - - RFSP_INDEX - type: string - AmfEventMode: - example: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 7 - properties: - trigger: - $ref: '#/components/schemas/AmfEventTrigger' - maxReports: - format: int32 - type: integer - expiry: - format: date-time - type: string - required: - - trigger - type: object - AmfEventTrigger: - enum: - - ONE_TIME - - CONTINUOUS - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - Uint16: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - Dnn: - type: string - Bytes: - format: byte - type: string - PresenceInfo: - example: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 24 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - praId: - type: string - presenceState: - $ref: '#/components/schemas/PresenceState' - trackingAreaList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - ecgiList: - items: - $ref: '#/components/schemas/Ecgi' - minItems: 1 - type: array - ncgiList: - items: - $ref: '#/components/schemas/Ncgi' - minItems: 1 - type: array - globalRanNodeIdList: - items: - $ref: '#/components/schemas/GlobalRanNodeId' - minItems: 1 - type: array - type: object - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - CreateUEContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/UeContextCreateData' - binaryDataN1Message: - format: binary - type: string - binaryDataN2Information: - format: binary - type: string - binaryDataN2InformationExt1: - format: binary - type: string - type: object - CreateUEContext_response_201: - properties: - jsonData: - $ref: '#/components/schemas/UeContextCreatedData' - binaryDataN1Message: - format: binary - type: string - binaryDataN2Information: - format: binary - type: string - type: object - UEContextTransfer_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/UeContextTransferReqData' - binaryDataN1Message: - format: binary - type: string - type: object - UEContextTransfer_response_200: - properties: - jsonData: - $ref: '#/components/schemas/UeContextTransferRspData' - binaryDataN2Information: - format: binary - type: string - type: object - N1N2MessageTransfer_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/N1N2MessageTransferReqData' - binaryDataN1Message: - format: binary - type: string - binaryDataN2Information: - format: binary - type: string - type: object - NonUeN2MessageTransfer_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/N2InformationTransferReqData' - binaryDataN2Information: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - namf-comm: Access to the Namf_Communication API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Namf_Communication/api_individual_subscription_document.go b/Namf_Communication/api_individual_subscription_document.go deleted file mode 100644 index 83c64254..00000000 --- a/Namf_Communication/api_individual_subscription_document.go +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualSubscriptionDocumentApiService service - -/* -IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change Subscribe Modify service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId AMF Status Change Subscription Identifier - * @param subscriptionData -@return SubscriptionData -*/ - -func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy(ctx context.Context, subscriptionId string, subscriptionData models.SubscriptionData) (models.SubscriptionData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &subscriptionData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 202: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in AMFStatusChangeSubscribeModfy", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change UnSubscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId AMF Status Change Subscription Identifier -*/ - -func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeUnSubscribe(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application / json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in AMFStatusChangeUnSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_individual_ue_context_document.go b/Namf_Communication/api_individual_ue_context_document.go deleted file mode 100644 index 8de9a97c..00000000 --- a/Namf_Communication/api_individual_ue_context_document.go +++ /dev/null @@ -1,787 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualUeContextDocumentApiService service - -/* -IndividualUeContextDocumentApiService Namf_Communication CreateUEContext service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier -@return UeContextCreatedData -*/ - -func (a *IndividualUeContextDocumentApiService) CreateUEContext(ctx context.Context, ueContextId string, createUeContextRequest models.CreateUeContextRequest) (models.CreateUeContextResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.CreateUeContextResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if createUeContextRequest.BinaryDataN2Information != nil || - createUeContextRequest.BinaryDataN2InformationExt1 != nil || - createUeContextRequest.BinaryDataN2InformationExt2 != nil || - createUeContextRequest.BinaryDataN2InformationExt3 != nil || - createUeContextRequest.BinaryDataN2InformationExt4 != nil || - createUeContextRequest.BinaryDataN2InformationExt5 != nil || - createUeContextRequest.BinaryDataN2InformationExt6 != nil || - createUeContextRequest.BinaryDataN2InformationExt7 != nil || - createUeContextRequest.BinaryDataN2InformationExt8 != nil || - createUeContextRequest.BinaryDataN2InformationExt9 != nil || - createUeContextRequest.BinaryDataN2InformationExt10 != nil || - createUeContextRequest.BinaryDataN2InformationExt11 != nil || - createUeContextRequest.BinaryDataN2InformationExt12 != nil || - createUeContextRequest.BinaryDataN2InformationExt13 != nil || - createUeContextRequest.BinaryDataN2InformationExt14 != nil || - createUeContextRequest.BinaryDataN2InformationExt15 != nil || - createUeContextRequest.BinaryDataN2InformationExt16 != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &createUeContextRequest - - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = createUeContextRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.UeContextCreateError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.UeContextCreateError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.UeContextCreateError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in CreateUEContext", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualUeContextDocumentApiService Namf_Communication EBI Assignment service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param assignEbiData -@return AssignedEbiData -*/ - -func (a *IndividualUeContextDocumentApiService) EBIAssignment(ctx context.Context, ueContextId string, assignEbiData models.AssignEbiData) (models.AssignedEbiData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AssignedEbiData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/assign-ebi" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &assignEbiData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.AssignEbiError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.AssignEbiError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.AssignEbiError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in EBIAssignment", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualUeContextDocumentApiService Namf_Communication RegistrationStatusUpdate service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param ueRegStatusUpdateReqData -@return UeRegStatusUpdateRspData -*/ - -func (a *IndividualUeContextDocumentApiService) RegistrationStatusUpdate(ctx context.Context, ueContextId string, ueRegStatusUpdateReqData models.UeRegStatusUpdateReqData) (models.UeRegStatusUpdateRspData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeRegStatusUpdateRspData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/transfer-update" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &ueRegStatusUpdateReqData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in RegistrationStatusUpdate", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualUeContextDocumentApiService Namf_Communication ReleaseUEContext service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param ueContextRelease -*/ - -func (a *IndividualUeContextDocumentApiService) ReleaseUEContext(ctx context.Context, ueContextId string, ueContextRelease models.UeContextRelease) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/release" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &ueContextRelease - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in ReleaseUEContext", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualUeContextDocumentApiService Namf_Communication UEContextTransfer service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param ueContextTransferRequest -@return UeContextTransferRspData -*/ - -func (a *IndividualUeContextDocumentApiService) UEContextTransfer(ctx context.Context, ueContextId string, ueContextTransferRequest models.UeContextTransferRequest) (models.UeContextTransferResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeContextTransferResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/transfer" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine is multipart request - if ueContextTransferRequest.BinaryDataN1Message != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &ueContextTransferRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = ueContextTransferRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in UEContextTransfer", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_individual_ue_context_n2_message_notify_callback_document.go b/Namf_Communication/api_individual_ue_context_n2_message_notify_callback_document.go deleted file mode 100644 index f08ca74f..00000000 --- a/Namf_Communication/api_individual_ue_context_n2_message_notify_callback_document.go +++ /dev/null @@ -1,144 +0,0 @@ -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N2MessageNotifyCallbackDocumentApiService service - -func (a *N2MessageNotifyCallbackDocumentApiService) N2InfoNotify(ctx context.Context, n2InfoNotifyUrl string, request models.N2InformationNotification) (models.N2InfoNotifyResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.N2InfoNotifyResponse - ) - - // create path and map variables - localVarPath := n2InfoNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application / json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 204: - return localVarReturnValue, localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2MessageSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_individual_subscription_document.go b/Namf_Communication/api_n1_n2_individual_subscription_document.go deleted file mode 100644 index 3bedb6e5..00000000 --- a/Namf_Communication/api_n1_n2_individual_subscription_document.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N1N2IndividualSubscriptionDocumentApiService service - -/* -N1N2IndividualSubscriptionDocumentApiService Namf_Communication N1N2 Message UnSubscribe (UE Specific) service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param subscriptionId Subscription Identifier -*/ - -func (a *N1N2IndividualSubscriptionDocumentApiService) N1N2MessageUnSubscribe(ctx context.Context, ueContextId string, subscriptionId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application / json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2MessageUnSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_message_collection_document.go b/Namf_Communication/api_n1_n2_message_collection_document.go deleted file mode 100644 index 1af1b9c5..00000000 --- a/Namf_Communication/api_n1_n2_message_collection_document.go +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N1N2MessageCollectionDocumentApiService service - -/* -N1N2MessageCollectionDocumentApiService Namf_Communication N1N2 Message Transfer (UE Specific) service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param n1MessageContainer - * @param n2InfoContainer - * @param skipInd - * @param lastMsgIndication - * @param pduSessionId - * @param lcsCorrelationId - * @param ppi - * @param arp - * @param var5qi - * @param n1n2FailureTxfNotifURI - * @param smfReallocationInd - * @param areaOfValidity - * @param supportedFeatures -@return N1N2MessageTransferRspData -*/ - -func (a *N1N2MessageCollectionDocumentApiService) N1N2MessageTransfer(ctx context.Context, ueContextId string, request models.N1N2MessageTransferRequest) (models.N1N2MessageTransferRspData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.N1N2MessageTransferRspData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine is multipart request - if request.BinaryDataN1Message != nil || request.BinaryDataN2Information != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &request - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = request.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 202: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, err - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, err - case 307: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 409: - var v models.N1N2MessageTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 504: - var v models.N1N2MessageTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2MessageTransfer", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_message_n1_message_notify_callback_document.go b/Namf_Communication/api_n1_n2_message_n1_message_notify_callback_document.go deleted file mode 100644 index 11068791..00000000 --- a/Namf_Communication/api_n1_n2_message_n1_message_notify_callback_document.go +++ /dev/null @@ -1,143 +0,0 @@ -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N1MessageNotifyCallbackDocumentApiService service - -func (a *N1MessageNotifyCallbackDocumentApiService) N1MessageNotify(ctx context.Context, n1MessageNotificationUrl string, request models.N1MessageNotify) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := n1MessageNotificationUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine is multipart request - if request.BinaryDataN1Message != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &request - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = request.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1MessageNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_message_n2_message_notify_callback_document.go b/Namf_Communication/api_n1_n2_message_n2_message_notify_callback_document.go deleted file mode 100644 index c65ca8de..00000000 --- a/Namf_Communication/api_n1_n2_message_n2_message_notify_callback_document.go +++ /dev/null @@ -1,143 +0,0 @@ -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N2InfoNotifyCallbackDocumentApiService service - -func (a *N2InfoNotifyCallbackDocumentApiService) N2InfoNotify(ctx context.Context, n2InfoNotifyUrl string, request models.N2InfoNotifyRequest) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := n2InfoNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine is multipart request - if request.BinaryDataN1Message != nil || request.BinaryDataN2Information != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &request - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = request.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1MessageNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_message_transfer_status_notification_callback_document.go b/Namf_Communication/api_n1_n2_message_transfer_status_notification_callback_document.go deleted file mode 100644 index c55a19a0..00000000 --- a/Namf_Communication/api_n1_n2_message_transfer_status_notification_callback_document.go +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N1N2MessageTransferStatusNotificationCallbackDocumentApiService service - -/* -N1N2MessageTransferStatusNotificationCallbackDocumentApiService Namf_Communication N1N2Transfer Failure Notification service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param subscriptionId Subscription Identifier -*/ -func (a *N1N2MessageTransferStatusNotificationCallbackDocumentApiService) N1N2TransferFailureNotification(ctx context.Context, n1N2MessageTransferNotificationUrl string, request models.N1N2MsgTxfrFailureNotification) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := n1N2MessageTransferNotificationUrl - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2TransferFailureNotification", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_document.go b/Namf_Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_document.go deleted file mode 100644 index ffd5b02c..00000000 --- a/Namf_Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_document.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApiService service - -/* -N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApiService Namf_Communication N1N2 Message Subscribe (UE Specific) service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param ueN1N2InfoSubscriptionCreateData -@return UeN1N2InfoSubscriptionCreatedData -*/ - -func (a *N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApiService) N1N2MessageSubscribe(ctx context.Context, ueContextId string, ueN1N2InfoSubscriptionCreateData models.UeN1N2InfoSubscriptionCreateData) (models.UeN1N2InfoSubscriptionCreatedData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeN1N2InfoSubscriptionCreatedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages/subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &ueN1N2InfoSubscriptionCreateData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2MessageSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_non_uen2_message_notification_individual_subscription_document.go b/Namf_Communication/api_non_uen2_message_notification_individual_subscription_document.go deleted file mode 100644 index cf58a993..00000000 --- a/Namf_Communication/api_non_uen2_message_notification_individual_subscription_document.go +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService service - -/* -NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService Namf_Communication Non UE N2 Info UnSubscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param n2NotifySubscriptionId N2 info Subscription Identifier -*/ - -func (a *NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService) NonUeN2InfoUnSubscribe(ctx context.Context, n2NotifySubscriptionId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/subscriptions/{n2NotifySubscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"n2NotifySubscriptionId"+"}", fmt.Sprintf("%v", n2NotifySubscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in NonUeN2InfoUnSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_non_uen2_messages_collection_document.go b/Namf_Communication/api_non_uen2_messages_collection_document.go deleted file mode 100644 index 16c510ba..00000000 --- a/Namf_Communication/api_non_uen2_messages_collection_document.go +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NonUEN2MessagesCollectionDocumentApiService service - -/* -NonUEN2MessagesCollectionDocumentApiService Namf_Communication Non UE N2 Message Transfer service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). -@return N2InformationTransferRspData -*/ - -func (a *NonUEN2MessagesCollectionDocumentApiService) NonUeN2MessageTransfer(ctx context.Context, request models.NonUeN2MessageTransferRequest) (models.N2InformationTransferRspData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.N2InformationTransferRspData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/transfer" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine is multipart request - if request.BinaryDataN2Information != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &request - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = request.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.N2InformationTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.N2InformationTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.N2InformationTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.N2InformationTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.N2InformationTransferError - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in NonUeN2MessageTransfer", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_non_uen2_messages_subscriptions_collection_document.go b/Namf_Communication/api_non_uen2_messages_subscriptions_collection_document.go deleted file mode 100644 index fb27a331..00000000 --- a/Namf_Communication/api_non_uen2_messages_subscriptions_collection_document.go +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NonUEN2MessagesSubscriptionsCollectionDocumentApiService service - -/* -NonUEN2MessagesSubscriptionsCollectionDocumentApiService Namf_Communication Non UE N2 Info Subscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nonUeN2InfoSubscriptionCreateData -@return NonUeN2InfoSubscriptionCreatedData -*/ - -func (a *NonUEN2MessagesSubscriptionsCollectionDocumentApiService) NonUeN2InfoSubscribe(ctx context.Context, nonUeN2InfoSubscriptionCreateData models.NonUeN2InfoSubscriptionCreateData) (models.NonUeN2InfoSubscriptionCreatedData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NonUeN2InfoSubscriptionCreatedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &nonUeN2InfoSubscriptionCreateData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in NonUeN2InfoSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_subscriptions_collection_document.go b/Namf_Communication/api_subscriptions_collection_document.go deleted file mode 100644 index d089d976..00000000 --- a/Namf_Communication/api_subscriptions_collection_document.go +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionsCollectionDocumentApiService service - -/* -SubscriptionsCollectionDocumentApiService Namf_Communication AMF Status Change Subscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionData -@return SubscriptionData -*/ - -func (a *SubscriptionsCollectionDocumentApiService) AMFStatusChangeSubscribe(ctx context.Context, subscriptionData models.SubscriptionData) (models.SubscriptionData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &subscriptionData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in AMFStatusChangeSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/api_subscriptions_collection_document_amf_status_change_notify_callback_document.go b/Namf_Communication/api_subscriptions_collection_document_amf_status_change_notify_callback_document.go deleted file mode 100644 index da87774e..00000000 --- a/Namf_Communication/api_subscriptions_collection_document_amf_status_change_notify_callback_document.go +++ /dev/null @@ -1,142 +0,0 @@ -package Namf_Communication - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -type AmfStatusChangeCallbackDocumentApiService service - -func (a *AmfStatusChangeCallbackDocumentApiService) AmfStatusChangeNotify(ctx context.Context, amfStatusChangeNotifyUrl string, request models.AmfStatusChangeNotification) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := amfStatusChangeNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - localVarPostBody = &request - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in N1N2MessageSubscribe", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_Communication/client.go b/Namf_Communication/client.go deleted file mode 100644 index 9713166b..00000000 --- a/Namf_Communication/client.go +++ /dev/null @@ -1,65 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -// APIClient manages communication with the Namf_Communication API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService - IndividualUeContextDocumentApi *IndividualUeContextDocumentApiService - N1N2IndividualSubscriptionDocumentApi *N1N2IndividualSubscriptionDocumentApiService - N1N2MessageCollectionDocumentApi *N1N2MessageCollectionDocumentApiService - N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApi *N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApiService - N1N2MessageTransferStatusNotificationCallbackDocumentApi *N1N2MessageTransferStatusNotificationCallbackDocumentApiService - NonUEN2MessageNotificationIndividualSubscriptionDocumentApi *NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService - NonUEN2MessagesCollectionDocumentApi *NonUEN2MessagesCollectionDocumentApiService - NonUEN2MessagesSubscriptionsCollectionDocumentApi *NonUEN2MessagesSubscriptionsCollectionDocumentApiService - SubscriptionsCollectionDocumentApi *SubscriptionsCollectionDocumentApiService - N1MessageNotifyCallbackDocumentApiServiceCallbackDocumentApi *N1MessageNotifyCallbackDocumentApiService - N2InfoNotifyCallbackDocumentApiServiceCallbackDocumentApi *N2InfoNotifyCallbackDocumentApiService - N2MessageNotifyCallbackDocumentApiServiceCallbackDocumentApi *N2MessageNotifyCallbackDocumentApiService - AmfStatusChangeCallbackDocumentApiServiceCallbackDocumentApi *AmfStatusChangeCallbackDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) - c.IndividualUeContextDocumentApi = (*IndividualUeContextDocumentApiService)(&c.common) - c.N1N2IndividualSubscriptionDocumentApi = (*N1N2IndividualSubscriptionDocumentApiService)(&c.common) - c.N1N2MessageCollectionDocumentApi = (*N1N2MessageCollectionDocumentApiService)(&c.common) - c.N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApi = (*N1N2SubscriptionsCollectionForIndividualUEContextsDocumentApiService)(&c.common) - c.N1N2MessageTransferStatusNotificationCallbackDocumentApi = (*N1N2MessageTransferStatusNotificationCallbackDocumentApiService)(&c.common) - c.NonUEN2MessageNotificationIndividualSubscriptionDocumentApi = (*NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService)(&c.common) - c.NonUEN2MessagesCollectionDocumentApi = (*NonUEN2MessagesCollectionDocumentApiService)(&c.common) - c.NonUEN2MessagesSubscriptionsCollectionDocumentApi = (*NonUEN2MessagesSubscriptionsCollectionDocumentApiService)(&c.common) - c.SubscriptionsCollectionDocumentApi = (*SubscriptionsCollectionDocumentApiService)(&c.common) - c.N1MessageNotifyCallbackDocumentApiServiceCallbackDocumentApi = (*N1MessageNotifyCallbackDocumentApiService)(&c.common) - c.N2InfoNotifyCallbackDocumentApiServiceCallbackDocumentApi = (*N2InfoNotifyCallbackDocumentApiService)(&c.common) - c.N2MessageNotifyCallbackDocumentApiServiceCallbackDocumentApi = (*N2MessageNotifyCallbackDocumentApiService)(&c.common) - c.AmfStatusChangeCallbackDocumentApiServiceCallbackDocumentApi = (*AmfStatusChangeCallbackDocumentApiService)(&c.common) - return c -} diff --git a/Namf_Communication/configuration.go b/Namf_Communication/configuration.go deleted file mode 100644 index e9b82e39..00000000 --- a/Namf_Communication/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_Communication - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/namf-comm/v1", - url: "{apiRoot}/namf-comm/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Namf_EventExposure/.gitignore b/Namf_EventExposure/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Namf_EventExposure/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Namf_EventExposure/CHANGELOG.md b/Namf_EventExposure/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Namf_EventExposure/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Namf_EventExposure/api/openapi.yaml b/Namf_EventExposure/api/openapi.yaml deleted file mode 100644 index 8b503606..00000000 --- a/Namf_EventExposure/api/openapi.yaml +++ /dev/null @@ -1,3231 +0,0 @@ -openapi: 3.0.0 -info: - description: AMF Event Exposure Service - title: Namf_EventExposure - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.518 V15.2.0; 5G System; Access and Mobility Management Services - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ -servers: -- url: '{apiRoot}/namf-evts/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause subclause 4.4 of 3GPP TS 29.501 -security: -- {} -- oAuth2Clientcredentials: - - namf-evts -paths: - /subscriptions: - post: - callbacks: - onEventReport: - '{$request.body#/subscription/eventNotifyUri}': - post: - operationId: onEventReport_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfEventNotification' - required: true - responses: - 204: - description: Successful acknowledgement - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Event Notificaiton Delivery - x-callback-request: true - onSubscriptionIdChangeEvtReport: - '{$request.body#/subscription/subsChangeNotifyUri}': - post: - operationId: onSubscriptionIdChangeEvtReport_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfEventNotification' - required: true - responses: - 204: - description: Successful acknowledgement - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Event Notificaiton Delivery For Subscription Id Change - x-callback-request: true - operationId: CreateSubscription - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfCreateEventSubscription' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfCreatedEventSubscription' - description: Subsription Created - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/namf-evts/v1/subscriptions/{subscriptionId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_EventExposure Subscribe service Operation - tags: - - Subscriptions collection (Document) - /subscriptions/{subscriptionId}: - delete: - operationId: DeleteSubscription - parameters: - - description: Unique ID of the subscription to be deleted - explode: false - in: path - name: subscriptionId - required: true - schema: - type: string - style: simple - responses: - 200: - description: Subsription deleted successfully - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_EventExposure Unsubscribe service Operation - tags: - - Individual subscription (Document) - patch: - operationId: ModifySubscription - parameters: - - description: Unique ID of the subscription to be modified - explode: false - in: path - name: subscriptionId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json-patch+json: - schema: - $ref: '#/components/schemas/ModifySubscription_request' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfUpdatedEventSubscription' - description: Subsription modified successfully - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: Namf_EventExposure Subscribe Modify service Operation - tags: - - Individual subscription (Document) -components: - schemas: - AmfEventSubscription: - example: - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 6 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - properties: - eventList: - items: - $ref: '#/components/schemas/AmfEvent' - minItems: 1 - type: array - eventNotifyUri: - type: string - notifyCorrelationId: - type: string - nfId: - format: uuid - type: string - subsChangeNotifyUri: - type: string - subsChangeNotifyCorrelationId: - type: string - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - groupId: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - anyUE: - type: boolean - options: - $ref: '#/components/schemas/AmfEventMode' - required: - - eventNotifyUri - - events - - nfId - - notifyCorrelationId - type: object - AmfEvent: - example: - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - properties: - type: - $ref: '#/components/schemas/AmfEventType' - immediateFlag: - type: boolean - areaList: - items: - $ref: '#/components/schemas/AmfEventArea' - minItems: 1 - type: array - locationFilterList: - items: - $ref: '#/components/schemas/LocationFilter' - minItems: 1 - type: array - subscribedDataFilterList: - items: - $ref: '#/components/schemas/SubscribedDataFilter' - minItems: 1 - type: array - required: - - type - type: object - AmfEventNotification: - example: - reportList: - - timezone: timezone - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - supi: supi - cmInfoList: - - {} - - {} - rmInfoList: - - {} - - {} - gpsi: gpsi - timeStamp: 2000-01-23T04:56:07.000+00:00 - numberOfUes: 4 - pei: pei - anyUe: true - accessTypeList: - - null - - null - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - state: - remainDuration: 5 - active: true - remainReports: 1 - subscriptionId: subscriptionId - subscribedData: - sari: sari - rfspIndex: 9 - commFailure: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - - timezone: timezone - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - supi: supi - cmInfoList: - - {} - - {} - rmInfoList: - - {} - - {} - gpsi: gpsi - timeStamp: 2000-01-23T04:56:07.000+00:00 - numberOfUes: 4 - pei: pei - anyUe: true - accessTypeList: - - null - - null - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - state: - remainDuration: 5 - active: true - remainReports: 1 - subscriptionId: subscriptionId - subscribedData: - sari: sari - rfspIndex: 9 - commFailure: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - properties: - notifyCorrelationId: - type: string - subsChangeNotifyCorrelationId: - type: string - reportList: - items: - $ref: '#/components/schemas/AmfEventReport' - minItems: 1 - type: array - type: object - AmfEventReport: - example: - timezone: timezone - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - supi: supi - cmInfoList: - - {} - - {} - rmInfoList: - - {} - - {} - gpsi: gpsi - timeStamp: 2000-01-23T04:56:07.000+00:00 - numberOfUes: 4 - pei: pei - anyUe: true - accessTypeList: - - null - - null - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - state: - remainDuration: 5 - active: true - remainReports: 1 - subscriptionId: subscriptionId - subscribedData: - sari: sari - rfspIndex: 9 - commFailure: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - properties: - type: - $ref: '#/components/schemas/AmfEventType' - state: - $ref: '#/components/schemas/AmfEventState' - timeStamp: - format: date-time - type: string - subscriptionId: - type: string - anyUe: - type: boolean - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - areaList: - items: - $ref: '#/components/schemas/AmfEventArea' - minItems: 1 - type: array - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - location: - $ref: '#/components/schemas/UserLocation' - timezone: - type: string - accessTypeList: - items: - $ref: '#/components/schemas/AccessType' - minItems: 1 - type: array - rmInfoList: - items: - $ref: '#/components/schemas/RmInfo' - minItems: 1 - type: array - cmInfoList: - items: - $ref: '#/components/schemas/CmInfo' - minItems: 1 - type: array - reachability: - $ref: '#/components/schemas/UeReachability' - subscribedData: - $ref: '#/components/schemas/SubscribedData' - commFailure: - $ref: '#/components/schemas/CommunicationFailure' - numberOfUes: - format: int32 - type: integer - required: - - state - - timeStamp - - type - type: object - AmfEventMode: - example: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 6 - properties: - trigger: - $ref: '#/components/schemas/AmfEventTrigger' - maxReports: - format: int32 - type: integer - expiry: - format: date-time - type: string - required: - - trigger - type: object - AmfEventState: - example: - remainDuration: 5 - active: true - remainReports: 1 - properties: - active: - type: boolean - remainReports: - format: int32 - type: integer - remainDuration: - format: int32 - type: integer - required: - - active - type: object - RmInfo: - example: {} - properties: - rmState: - $ref: '#/components/schemas/RmState' - accessType: - $ref: '#/components/schemas/AccessType' - required: - - accessType - - rmState - type: object - CmInfo: - example: {} - properties: - cmState: - $ref: '#/components/schemas/CmState' - accessType: - $ref: '#/components/schemas/AccessType' - required: - - accessType - - cmState - type: object - SubscribedData: - example: - sari: sari - rfspIndex: 9 - properties: - sari: - format: byte - type: string - rfspIndex: - format: int32 - type: integer - type: object - CommunicationFailure: - example: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - properties: - nasReleaseCode: - type: string - ranReleaseCode: - $ref: '#/components/schemas/NgApCause' - type: object - AmfCreateEventSubscription: - example: - supportedFeatures: supportedFeatures - subscription: - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 6 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - properties: - subscription: - $ref: '#/components/schemas/AmfEventSubscription' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - subscription - type: object - AmfCreatedEventSubscription: - example: - supportedFeatures: supportedFeatures - reportList: - - timezone: timezone - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - supi: supi - cmInfoList: - - {} - - {} - rmInfoList: - - {} - - {} - gpsi: gpsi - timeStamp: 2000-01-23T04:56:07.000+00:00 - numberOfUes: 4 - pei: pei - anyUe: true - accessTypeList: - - null - - null - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - state: - remainDuration: 5 - active: true - remainReports: 1 - subscriptionId: subscriptionId - subscribedData: - sari: sari - rfspIndex: 9 - commFailure: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - - timezone: timezone - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - supi: supi - cmInfoList: - - {} - - {} - rmInfoList: - - {} - - {} - gpsi: gpsi - timeStamp: 2000-01-23T04:56:07.000+00:00 - numberOfUes: 4 - pei: pei - anyUe: true - accessTypeList: - - null - - null - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - state: - remainDuration: 5 - active: true - remainReports: 1 - subscriptionId: subscriptionId - subscribedData: - sari: sari - rfspIndex: 9 - commFailure: - ranReleaseCode: - value: 0 - group: 0 - nasReleaseCode: nasReleaseCode - subscription: - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 6 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - subscriptionId: subscriptionId - properties: - subscription: - $ref: '#/components/schemas/AmfEventSubscription' - subscriptionId: - type: string - reportList: - items: - $ref: '#/components/schemas/AmfEventReport' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - subscription - - subscriptionId - type: object - AmfUpdateEventSubscriptionItem: - items: - $ref: '#/components/schemas/AmfUpdateEventSubscriptionItem_inner' - minItems: 1 - type: array - AmfUpdateEventOptionItem: - properties: - op: - enum: - - replace - type: string - path: - pattern: \/options\/expiry$ - type: string - value: - format: date-time - type: string - required: - - op - - path - - value - type: object - AmfUpdatedEventSubscription: - example: - subscription: - eventNotifyUri: eventNotifyUri - nfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - eventList: - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - - subscribedDataFilterList: - - null - - null - areaList: - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - locationFilterList: - - null - - null - immediateFlag: true - subsChangeNotifyUri: subsChangeNotifyUri - pei: pei - anyUE: true - groupId: groupId - options: - expiry: 2000-01-23T04:56:07.000+00:00 - maxReports: 6 - supi: supi - notifyCorrelationId: notifyCorrelationId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - gpsi: gpsi - properties: - subscription: - $ref: '#/components/schemas/AmfEventSubscription' - required: - - subscription - type: object - AmfEventArea: - example: - presenceInfo: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - ladnInfo: - ladn: ladn - properties: - presenceInfo: - $ref: '#/components/schemas/PresenceInfo' - ladnInfo: - $ref: '#/components/schemas/LadnInfo' - type: object - LadnInfo: - example: - ladn: ladn - properties: - ladn: - type: string - presence: - $ref: '#/components/schemas/PresenceState' - required: - - ladn - type: object - 5gGuti: - type: string - Sari: - format: byte - type: string - RfspIndex: - format: int32 - type: integer - AmfEventType: - enum: - - LOCATION_REPORT - - PRESENCE_IN_AOI_REPORT - - TIMEZONE_REPORT - - ACCESS_TYPE_REPORT - - REGISTRATION_STATE_REPORT - - CONNECTIVITY_STATE_REPORT - - REACHABILITY_REPORT - - SUBSCRIBED_DATA_REPORT - - COMMUNICATION_FAILURE_REPORT - - UES_IN_AREA_REPORT - - SUBSCRIPTION_ID_CHANGE - - SUBSCRIPTION_ID_ADDITION - type: string - AmfEventTrigger: - enum: - - ONE_TIME - - CONTINUOUS - type: string - LocationFilter: - enum: - - TAI - - CELL_ID - - N3IWF - - UE_IP - - UDP_PORT - type: string - SubscribedDataFilter: - enum: - - SARI - - RFSP_INDEX - type: string - UeReachability: - enum: - - UNREACHABLE - - REACHABLE - - REGULATORY_ONLY - type: string - RmState: - enum: - - REGISTERED - - DEREGISTERED - type: string - CmState: - enum: - - IDLE - - CONNECTED - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - NfInstanceId: - format: uuid - type: string - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - GroupId: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - DateTime: - format: date-time - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 18471 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 22 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 7543 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - DurationSec: - format: int32 - type: integer - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - PresenceInfo: - example: - ecgiList: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - globalRanNodeIdList: - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 22 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - praId: praId - trackingAreaList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ncgiList: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - praId: - type: string - presenceState: - $ref: '#/components/schemas/PresenceState' - trackingAreaList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - ecgiList: - items: - $ref: '#/components/schemas/Ecgi' - minItems: 1 - type: array - ncgiList: - items: - $ref: '#/components/schemas/Ncgi' - minItems: 1 - type: array - globalRanNodeIdList: - items: - $ref: '#/components/schemas/GlobalRanNodeId' - minItems: 1 - type: array - type: object - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - Bytes: - format: byte - type: string - ModifySubscription_request: - oneOf: - - $ref: '#/components/schemas/AmfUpdateEventSubscriptionItem' - - $ref: '#/components/schemas/AmfUpdateEventOptionItem' - AmfUpdateEventSubscriptionItem_inner: - properties: - op: - enum: - - add - - remove - - replace - type: string - path: - pattern: \/eventList\/[0-]$|\/eventList\/[1-9][0-9]*$ - type: string - value: - $ref: '#/components/schemas/AmfEvent' - required: - - op - - path - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - namf-evts: Access to the Namf_EventExposure API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Namf_EventExposure/api_individual_subscription_document.go b/Namf_EventExposure/api_individual_subscription_document.go deleted file mode 100644 index cd9ed4d9..00000000 --- a/Namf_EventExposure/api_individual_subscription_document.go +++ /dev/null @@ -1,326 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_EventExposure - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualSubscriptionDocumentApiService service - -/* -IndividualSubscriptionDocumentApiService Namf_EventExposure Unsubscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Unique ID of the subscription to be deleted -*/ - -func (a *IndividualSubscriptionDocumentApiService) DeleteSubscription(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{} - - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - - switch localVarHttpResponse.StatusCode { - case 200: - return localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 0: - return localVarHttpResponse, nil - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in DeleteSubscription", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualSubscriptionDocumentApiService Namf_EventExposure Subscribe Modify service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Unique ID of the subscription to be modified - * @param modifySubscriptionRequest -@return AmfUpdatedEventSubscription -*/ - -func (a *IndividualSubscriptionDocumentApiService) ModifySubscription(ctx context.Context, subscriptionId string, modifySubscriptionRequest interface{}) (models.AmfUpdatedEventSubscription, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmfUpdatedEventSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &modifySubscriptionRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 0: - return localVarReturnValue, localVarHttpResponse, nil - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in ModifySubscription", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_EventExposure/api_subscriptions_collection_document.go b/Namf_EventExposure/api_subscriptions_collection_document.go deleted file mode 100644 index 2fc2bd47..00000000 --- a/Namf_EventExposure/api_subscriptions_collection_document.go +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_EventExposure - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionsCollectionDocumentApiService service - -/* -SubscriptionsCollectionDocumentApiService Namf_EventExposure Subscribe service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param amfCreateEventSubscription -@return AmfCreatedEventSubscription -*/ - -func (a *SubscriptionsCollectionDocumentApiService) CreateSubscription(ctx context.Context, amfCreateEventSubscription models.AmfCreateEventSubscription) (models.AmfCreatedEventSubscription, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmfCreatedEventSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &amfCreateEventSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 0: - return localVarReturnValue, localVarHttpResponse, nil - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in CreateSubscription", localVarHttpResponse.StatusCode) - } -} diff --git a/Namf_EventExposure/client.go b/Namf_EventExposure/client.go deleted file mode 100644 index c1637d19..00000000 --- a/Namf_EventExposure/client.go +++ /dev/null @@ -1,42 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_EventExposure - -// APIClient manages communication with the Namf_EventExposure API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService - SubscriptionsCollectionDocumentApi *SubscriptionsCollectionDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) - c.SubscriptionsCollectionDocumentApi = (*SubscriptionsCollectionDocumentApiService)(&c.common) - - return c -} diff --git a/Namf_EventExposure/configuration.go b/Namf_EventExposure/configuration.go deleted file mode 100644 index b6d06fc7..00000000 --- a/Namf_EventExposure/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_EventExposure - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/namf-evts/v1", - url: "{apiRoot}/namf-evts/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Namf_Location/.gitignore b/Namf_Location/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Namf_Location/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Namf_Location/CHANGELOG.md b/Namf_Location/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Namf_Location/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Namf_Location/api_individual_ue_context_document.go b/Namf_Location/api_individual_ue_context_document.go deleted file mode 100644 index 3e246e07..00000000 --- a/Namf_Location/api_individual_ue_context_document.go +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package _Namf_Location - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualUEContextDocumentApiService service - -/* -IndividualUEContextDocumentApiService Namf_Location ProvideLocationInfo service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param requestLocInfo -@return models.ProvideLocInfo -*/ - -func (a *IndividualUEContextDocumentApiService) ProvideLocationInfo(ctx context.Context, ueContextId string, requestLocInfo models.RequestLocInfo) (models.ProvideLocInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ProvideLocInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueContextId}/provide-loc-info" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &requestLocInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -IndividualUEContextDocumentApiService Namf_Location ProvidePositioningInfo service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param requestPosInfo -@return models.ProvidePosInfo -*/ - -func (a *IndividualUEContextDocumentApiService) ProvidePositioningInfo(ctx context.Context, ueContextId string, requestPosInfo models.RequestPosInfo) (models.ProvidePosInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ProvidePosInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueContextId}/provide-pos-info" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &requestPosInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 504: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Namf_Location/client.go b/Namf_Location/client.go deleted file mode 100644 index 945fe1ad..00000000 --- a/Namf_Location/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Namf_Location - * - * AMF Location Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package _Namf_Location - -// APIClient manages communication with the Namf_Location API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualUEContextDocumentApi *IndividualUEContextDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualUEContextDocumentApi = (*IndividualUEContextDocumentApiService)(&c.common) - - return c -} diff --git a/Namf_Location/configuration.go b/Namf_Location/configuration.go deleted file mode 100644 index 797c24bb..00000000 --- a/Namf_Location/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package _Namf_Location - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/namf-loc/v1", - url: "{apiRoot}/namf-loc/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Namf_MT/.gitignore b/Namf_MT/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Namf_MT/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Namf_MT/CHANGELOG.md b/Namf_MT/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Namf_MT/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Namf_MT/api_ue_context_document.go b/Namf_MT/api_ue_context_document.go deleted file mode 100644 index 07d1f967..00000000 --- a/Namf_MT/api_ue_context_document.go +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Termination Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_MT - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type UeContextDocumentApiService service - -/* -UeContextDocumentApiService Namf_MT Provide Domain Selection Info service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param optional nil or *ProvideDomainSelectionInfoParamOpts - Optional Parameters: - * @param "InfoClass" (optional.Interface of models.UeContextInfoClass) - UE Context Information Class - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.UeContextInfo -*/ - -type ProvideDomainSelectionInfoParamOpts struct { - InfoClass optional.Interface - SupportedFeatures optional.String -} - -func (a *UeContextDocumentApiService) ProvideDomainSelectionInfo(ctx context.Context, ueContextId string, localVarOptionals *ProvideDomainSelectionInfoParamOpts) (models.UeContextInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeContextInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.InfoClass.IsSet() { - localVarQueryParams.Add("info-class", openapi.ParameterToString(localVarOptionals.InfoClass.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 307: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Namf_MT/api_ue_reach_ind_document.go b/Namf_MT/api_ue_reach_ind_document.go deleted file mode 100644 index e29cdb05..00000000 --- a/Namf_MT/api_ue_reach_ind_document.go +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Termination Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_MT - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type UeReachIndDocumentApiService service - -/* -UeReachIndDocumentApiService Namf_MT EnableUEReachability service Operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueContextId UE Context Identifier - * @param enableUeReachabilityReqData -@return models.EnableUeReachabilityRspData -*/ - -func (a *UeReachIndDocumentApiService) EnableUeReachability(ctx context.Context, ueContextId string, enableUeReachabilityReqData models.EnableUeReachabilityReqData) (models.EnableUeReachabilityRspData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.EnableUeReachabilityRspData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/ue-reachind" - localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", fmt.Sprintf("%v", ueContextId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &enableUeReachabilityReqData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 307: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 504: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Namf_MT/client.go b/Namf_MT/client.go deleted file mode 100644 index 1fba8eb6..00000000 --- a/Namf_MT/client.go +++ /dev/null @@ -1,42 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Namf_MT - * - * AMF Mobile Termination Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_MT - -// APIClient manages communication with the Namf_MT API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - UeContextDocumentApi *UeContextDocumentApiService - UeReachIndDocumentApi *UeReachIndDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.UeContextDocumentApi = (*UeContextDocumentApiService)(&c.common) - c.UeReachIndDocumentApi = (*UeReachIndDocumentApiService)(&c.common) - - return c -} diff --git a/Namf_MT/configuration.go b/Namf_MT/configuration.go deleted file mode 100644 index c3c28e40..00000000 --- a/Namf_MT/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Termination Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Namf_MT - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/namf-mt/v1", - url: "{apiRoot}/namf-mt/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nausf_SoRProtection/.gitignore b/Nausf_SoRProtection/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nausf_SoRProtection/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nausf_SoRProtection/CHANGELOG.md b/Nausf_SoRProtection/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nausf_SoRProtection/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nausf_SoRProtection/api_default.go b/Nausf_SoRProtection/api_default.go deleted file mode 100644 index 7c83ab43..00000000 --- a/Nausf_SoRProtection/api_default.go +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_SoRProtection - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param sorInfo -@return models.SorSecurityInfo -*/ - -func (a *DefaultApiService) SupiUeSorPost(ctx context.Context, supi string, sorInfo models.SorInfo) (models.SorSecurityInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SorSecurityInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-sor" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sorInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in SupiUeSorPost", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nausf_SoRProtection/client.go b/Nausf_SoRProtection/client.go deleted file mode 100644 index a26a629b..00000000 --- a/Nausf_SoRProtection/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_SoRProtection - -// APIClient manages communication with the Nausf_SoRProtection Service API v1.0.1 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - - return c -} diff --git a/Nausf_SoRProtection/configuration.go b/Nausf_SoRProtection/configuration.go deleted file mode 100644 index 3637efbb..00000000 --- a/Nausf_SoRProtection/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_SoRProtection - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nausf-sorprotection/v1", - url: "{apiRoot}/nausf-sorprotection/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nausf_UEAuthentication/.gitignore b/Nausf_UEAuthentication/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nausf_UEAuthentication/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nausf_UEAuthentication/CHANGELOG.md b/Nausf_UEAuthentication/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nausf_UEAuthentication/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nausf_UEAuthentication/api_default.go b/Nausf_UEAuthentication/api_default.go deleted file mode 100644 index 7a3977a8..00000000 --- a/Nausf_UEAuthentication/api_default.go +++ /dev/null @@ -1,339 +0,0 @@ -/* - * AUSF API - * - * OpenAPI specification for AUSF - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UEAuthentication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param authCtxId - * @param optional nil or *EapAuthMethodParamOpts - Optional Parameters: - * @param "EapSession" (optional.Interface of models.EapSession) - -@return models.EapSession -*/ - -type EapAuthMethodParamOpts struct { - EapSession optional.Interface -} - -func (a *DefaultApiService) EapAuthMethod(ctx context.Context, authCtxId string, localVarOptionals *EapAuthMethodParamOpts) (models.EapSession, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.EapSession - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/eap-session" - localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", fmt.Sprintf("%v", authCtxId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/3gppHal+json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.EapSession.IsSet() { - localVarOptionalEapSession, localVarOptionalEapSessionok := localVarOptionals.EapSession.Value().(models.EapSession) - if !localVarOptionalEapSessionok { - return localVarReturnValue, nil, openapi.ReportError("eapSession should be models.EapSession") - } - localVarPostBody = &localVarOptionalEapSession - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in EapAuthMethod", localVarHTTPResponse.StatusCode) - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param authCtxId - * @param optional nil or *UeAuthenticationsAuthCtxId5gAkaConfirmationPutParamOpts - Optional Parameters: - * @param "ConfirmationData" (optional.Interface of models.ConfirmationData) - -@return models.ConfirmationDataResponse -*/ - -type UeAuthenticationsAuthCtxId5gAkaConfirmationPutParamOpts struct { - ConfirmationData optional.Interface -} - -func (a *DefaultApiService) UeAuthenticationsAuthCtxId5gAkaConfirmationPut(ctx context.Context, authCtxId string, localVarOptionals *UeAuthenticationsAuthCtxId5gAkaConfirmationPutParamOpts) (models.ConfirmationDataResponse, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ConfirmationDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/5g-aka-confirmation" - localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", fmt.Sprintf("%v", authCtxId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.ConfirmationData.IsSet() { - localVarOptionalConfirmationData, localVarOptionalConfirmationDataok := localVarOptionals.ConfirmationData.Value().(models.ConfirmationData) - if !localVarOptionalConfirmationDataok { - return localVarReturnValue, nil, openapi.ReportError("confirmationData should be models.ConfirmationData") - } - localVarPostBody = &localVarOptionalConfirmationData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in UeAuthenticationsAuthCtxId5gAkaConfirmationPut", localVarHTTPResponse.StatusCode) - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param authenticationInfo -@return models.UeAuthenticationCtx -*/ - -func (a *DefaultApiService) UeAuthenticationsPost(ctx context.Context, authenticationInfo models.AuthenticationInfo) (models.UeAuthenticationCtx, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeAuthenticationCtx - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/ue-authentications" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/3gppHal+json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &authenticationInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in UeAuthenticationsPost", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nausf_UEAuthentication/client.go b/Nausf_UEAuthentication/client.go deleted file mode 100644 index fe19a68d..00000000 --- a/Nausf_UEAuthentication/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * AUSF API - * - * OpenAPI specification for AUSF - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UEAuthentication - -// APIClient manages communication with the AUSF API API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - - return c -} diff --git a/Nausf_UEAuthentication/configuration.go b/Nausf_UEAuthentication/configuration.go deleted file mode 100644 index cc418384..00000000 --- a/Nausf_UEAuthentication/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * AUSF API - * - * OpenAPI specification for AUSF - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UEAuthentication - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nausf-auth/v1", - url: "{apiRoot}/nausf-auth/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nausf_UPUProtection/.gitignore b/Nausf_UPUProtection/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nausf_UPUProtection/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nausf_UPUProtection/CHANGELOG.md b/Nausf_UPUProtection/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nausf_UPUProtection/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nausf_UPUProtection/api_default.go b/Nausf_UPUProtection/api_default.go deleted file mode 100644 index 985ab407..00000000 --- a/Nausf_UPUProtection/api_default.go +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UPUProtection - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param upuInfo -@return models.UpuSecurityInfo -*/ - -func (a *DefaultApiService) SupiUeUpuPost(ctx context.Context, supi string, upuInfo models.UpuInfo) (models.UpuSecurityInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UpuSecurityInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-upu" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &upuInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in SupiUeUpuPost", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nausf_UPUProtection/client.go b/Nausf_UPUProtection/client.go deleted file mode 100644 index a85a9e0f..00000000 --- a/Nausf_UPUProtection/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UPUProtection - -// APIClient manages communication with the Nausf_UPUProtection Service API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - - return c -} diff --git a/Nausf_UPUProtection/configuration.go b/Nausf_UPUProtection/configuration.go deleted file mode 100644 index 04758631..00000000 --- a/Nausf_UPUProtection/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nausf_UPUProtection - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nausf-upuprotection/v1", - url: "{apiRoot}/nausf-upuprotection/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nbsf_Management/api_individual_pcf_binding_document.go b/Nbsf_Management/api_individual_pcf_binding_document.go deleted file mode 100644 index 7373dc75..00000000 --- a/Nbsf_Management/api_individual_pcf_binding_document.go +++ /dev/null @@ -1,322 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nbsf_Management - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualPCFBindingDocumentApiService service - -/* -IndividualPCFBindingDocumentApiService Delete an existing Individual PCF Binding information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bindingId Represents the individual PCF Session Binding. -*/ - -func (a *IndividualPCFBindingDocumentApiService) DeleteIndPCFBinding(ctx context.Context, bindingId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pcfBindings/{bindingId}" - localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", fmt.Sprintf("%v", bindingId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -IndividualPCFBindingDocumentApiService Update an existing Individual PCF Binding information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bindingId Represents the individual PCF Session Binding. - * @param pcfBindingPatch Parameters to update the existing session binding -@return PcfBinding -*/ - -func (a *IndividualPCFBindingDocumentApiService) UpdateIndPCFBinding(ctx context.Context, bindingId string, pcfBindingPatch models.PcfBindingPatch) (models.PcfBinding, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PcfBinding - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pcfBindings/{bindingId}" - localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", fmt.Sprintf("%v", bindingId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pcfBindingPatch - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nbsf_Management/api_pcf_bindings_collection.go b/Nbsf_Management/api_pcf_bindings_collection.go deleted file mode 100644 index ff9d3e1c..00000000 --- a/Nbsf_Management/api_pcf_bindings_collection.go +++ /dev/null @@ -1,389 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nbsf_Management - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PCFBindingsCollectionApiService service - -/* -PCFBindingsCollectionApiService Create a new Individual PCF binding information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param pcfBinding -@return models.PcfBinding -*/ - -func (a *PCFBindingsCollectionApiService) CreatePCFBinding(ctx context.Context, pcfBinding models.PcfBinding) (models.PcfBinding, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PcfBinding - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pcfBindings" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pcfBinding - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ExtProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -PCFBindingsCollectionApiService Read PCF Bindings information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *GetPCFBindingsParamOpts - Optional Parameters: - * @param "Ipv4Addr" (optional.String) - The IPv4 Address of the served UE. - * @param "Ipv6Prefix" (optional.Interface of string) - The IPv6 Address of the served UE. The NF service consumer shall append '/128' to the IPv6 address in the attribute value. E.g. '2001:db8:85a3::8a2e:370:7334/128'. - * @param "MacAddr48" (optional.String) - The MAC Address of the served UE. - * @param "Dnn" (optional.String) - DNN. - * @param "Supi" (optional.String) - Subscription Permanent Identifier. - * @param "Gpsi" (optional.String) - Generic Public Subscription Identifier - * @param "Snssai" (optional.Interface of Snssai) - The identification of slice. - * @param "IpDomain" (optional.String) - The IPv4 address domain identifier. - * @param "SuppFeat" (optional.String) - To filter irrelevant responses related to unsupported features -@return models.PcfBinding -*/ - -type GetPCFBindingsParamOpts struct { - Ipv4Addr optional.String - // Ipv6Prefix optional.Interface - Ipv6Prefix optional.String - MacAddr48 optional.String - Dnn optional.String - Supi optional.String - Gpsi optional.String - Snssai optional.Interface - IpDomain optional.String - SuppFeat optional.String -} - -func (a *PCFBindingsCollectionApiService) GetPCFBindings(ctx context.Context, localVarOptionals *GetPCFBindingsParamOpts) (models.PcfBinding, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PcfBinding - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pcfBindings" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Ipv4Addr.IsSet() && localVarOptionals.Ipv4Addr.Value() != "" { - localVarQueryParams.Add("ipv4Addr", openapi.ParameterToString(localVarOptionals.Ipv4Addr.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Ipv6Prefix.IsSet() && localVarOptionals.Ipv6Prefix.Value() != "" { - localVarQueryParams.Add("ipv6Prefix", openapi.ParameterToString(localVarOptionals.Ipv6Prefix.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.MacAddr48.IsSet() && localVarOptionals.MacAddr48.Value() != "" { - localVarQueryParams.Add("macAddr48", openapi.ParameterToString(localVarOptionals.MacAddr48.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Supi.IsSet() && localVarOptionals.Supi.Value() != "" { - localVarQueryParams.Add("supi", openapi.ParameterToString(localVarOptionals.Supi.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Gpsi.IsSet() && localVarOptionals.Gpsi.Value() != "" { - localVarQueryParams.Add("gpsi", openapi.ParameterToString(localVarOptionals.Gpsi.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Snssai.IsSet() && localVarOptionals.Snssai.Value() != "" { - localVarQueryParams.Add("snssai", openapi.ParameterToString(localVarOptionals.Snssai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IpDomain.IsSet() && localVarOptionals.IpDomain.Value() != "" { - localVarQueryParams.Add("ipDomain", openapi.ParameterToString(localVarOptionals.IpDomain.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SuppFeat.IsSet() && localVarOptionals.SuppFeat.Value() != "" { - localVarQueryParams.Add("supp-feat", openapi.ParameterToString(localVarOptionals.SuppFeat.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nbsf_Management/client.go b/Nbsf_Management/client.go deleted file mode 100644 index a37b1cc3..00000000 --- a/Nbsf_Management/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nbsf_Management - -// APIClient manages communication with the Nbsf_Management API v1.1.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualPCFBindingDocumentApi *IndividualPCFBindingDocumentApiService - PCFBindingsCollectionApi *PCFBindingsCollectionApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualPCFBindingDocumentApi = (*IndividualPCFBindingDocumentApiService)(&c.common) - c.PCFBindingsCollectionApi = (*PCFBindingsCollectionApiService)(&c.common) - - return c -} diff --git a/Nbsf_Management/configuration.go b/Nbsf_Management/configuration.go deleted file mode 100644 index bce2fa7f..00000000 --- a/Nbsf_Management/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nbsf_Management - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nbsf-management/v1", - url: "{apiRoot}/nbsf-management/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nchf_ConvergedCharging/api_default.go b/Nchf_ConvergedCharging/api_default.go deleted file mode 100644 index 2f804d9f..00000000 --- a/Nchf_ConvergedCharging/api_default.go +++ /dev/null @@ -1,471 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nchf_ConvergedCharging - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param chargingDataRef a unique identifier for a charging data resource in a PLMN - * @param chargingDataRequest -*/ - -func (a *DefaultApiService) ChargingdataChargingDataRefReleasePost(ctx context.Context, chargingDataRef string, chargingDataRequest models.ChargingDataRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/chargingdata/{ChargingDataRef}/release" - localVarPath = strings.Replace(localVarPath, "{"+"ChargingDataRef"+"}", fmt.Sprintf("%v", chargingDataRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &chargingDataRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 410: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param chargingDataRef a unique identifier for a charging data resource in a PLMN - * @param chargingDataRequest -@return models.ChargingDataResponse -*/ - -func (a *DefaultApiService) ChargingdataChargingDataRefUpdatePost(ctx context.Context, chargingDataRef string, chargingDataRequest models.ChargingDataRequest) (models.ChargingDataResponse, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ChargingDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/chargingdata/{ChargingDataRef}/update" - localVarPath = strings.Replace(localVarPath, "{"+"ChargingDataRef"+"}", fmt.Sprintf("%v", chargingDataRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &chargingDataRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 410: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param chargingDataRequest -@return models.ChargingDataResponse -*/ - -func (a *DefaultApiService) ChargingdataPost(ctx context.Context, chargingDataRequest models.ChargingDataRequest) (models.ChargingDataResponse, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ChargingDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/chargingdata" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &chargingDataRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 410: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nchf_ConvergedCharging/api_default_callback.go b/Nchf_ConvergedCharging/api_default_callback.go deleted file mode 100644 index aa48b4e0..00000000 --- a/Nchf_ConvergedCharging/api_default_callback.go +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Nchf_ConvergedCharging - */ - -package Nchf_ConvergedCharging - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultCallbackApiService service - -func (a *DefaultCallbackApiService) ChargingNotification(ctx context.Context, notifyUrl string, request models.ChargingNotifyRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := notifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nchf_ConvergedCharging/client.go b/Nchf_ConvergedCharging/client.go deleted file mode 100644 index d99297a1..00000000 --- a/Nchf_ConvergedCharging/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nchf_ConvergedCharging - -// APIClient manages communication with the Nchf_ConvergedCharging API v3.0.3 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService - DefaultCallbackApi *DefaultCallbackApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - c.DefaultCallbackApi = (*DefaultCallbackApiService)(&c.common) - return c -} diff --git a/Nchf_ConvergedCharging/configuration.go b/Nchf_ConvergedCharging/configuration.go deleted file mode 100644 index dda57314..00000000 --- a/Nchf_ConvergedCharging/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nchf_ConvergedCharging - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nchf-convergedcharging/v3", - url: "{apiRoot}/nchf-convergedcharging/v3", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { -return c.httpClient -} \ No newline at end of file diff --git a/Nnef_PFDmanagement/api_individual_application_pfd.go b/Nnef_PFDmanagement/api_individual_application_pfd.go deleted file mode 100644 index 852989a6..00000000 --- a/Nnef_PFDmanagement/api_individual_application_pfd.go +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualApplicationPFDApiService service - -/* -IndividualApplicationPFDApiService Retrieve the PFD for an application. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appId The required application identifier(s) for the returned PFDs. - * @param optional nil or *NnefPFDmanagementFetchParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - To filter irrelevant responses related to unsupported features -@return models.PfdDataForApp -*/ - -type NnefPFDmanagementFetchParamOpts struct { - SupportedFeatures optional.String -} - -func (a *IndividualApplicationPFDApiService) NnefPFDmanagementFetch(ctx context.Context, appId string, localVarOptionals *NnefPFDmanagementFetchParamOpts) (models.PfdDataForApp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdDataForApp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/applications/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in NnefPFDmanagementFetch", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nnef_PFDmanagement/api_individual_pfd_subscription.go b/Nnef_PFDmanagement/api_individual_pfd_subscription.go deleted file mode 100644 index 6b1baf85..00000000 --- a/Nnef_PFDmanagement/api_individual_pfd_subscription.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualPFDSubscriptionApiService service - -/* -IndividualPFDSubscriptionApiService Delete a subscription of PFD change notification. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Identify the subscription. -*/ - -func (a *IndividualPFDSubscriptionApiService) NnefPFDmanagementUnsubscribe(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in NnefPFDmanagementUnsubscribe", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nnef_PFDmanagement/api_notification.go b/Nnef_PFDmanagement/api_notification.go deleted file mode 100644 index 09ab3c7a..00000000 --- a/Nnef_PFDmanagement/api_notification.go +++ /dev/null @@ -1,182 +0,0 @@ -package Nnef_PFDmanagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NotificationApiService service - -/* -NotificationApiService Notifies about update to PFD change - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param notifyUri string - Notification URI provided in subscription - * @param pfdChangeNotifications []PfdChangeNotification - Notifications about updates to PFDs -*/ - -func (a *NotificationApiService) NotificationPost(ctx context.Context, notifyUri string, pfdChangeNotifications []PfdChangeNotification) ([]PfdChangeReport, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []PfdChangeReport - ) - - // create path and map variables - localVarPath := notifyUri + "/notify" - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdChangeNotifications - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, nil - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, nil - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnef_PFDmanagement/api_pfd_of_applications.go b/Nnef_PFDmanagement/api_pfd_of_applications.go deleted file mode 100644 index 545919d9..00000000 --- a/Nnef_PFDmanagement/api_pfd_of_applications.go +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PFDOfApplicationsApiService service - -/* -PFDOfApplicationsApiService Retrieve PFDs for all applications or for one or multiple applications with query parameter. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param applicationIds The required application identifier(s) for the returned PFDs. - * @param optional nil or *NnefPFDmanagementFetchAllParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - To filter irrelevant responses related to unsupported features -@return []models.PfdDataForApp -*/ - -type NnefPFDmanagementFetchAllParamOpts struct { - SupportedFeatures optional.String -} - -func (a *PFDOfApplicationsApiService) NnefPFDmanagementFetchAll(ctx context.Context, applicationIds []string, localVarOptionals *NnefPFDmanagementFetchAllParamOpts) ([]models.PfdDataForApp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.PfdDataForApp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/applications" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if len(applicationIds) < 1 { - return localVarReturnValue, nil, openapi.ReportError("applicationIds must have at least 1 elements") - } - - localVarQueryParams.Add("application-ids", openapi.ParameterToString(applicationIds, "multi")) - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in NnefPFDmanagementFetchAll", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nnef_PFDmanagement/api_pfd_subscriptions.go b/Nnef_PFDmanagement/api_pfd_subscriptions.go deleted file mode 100644 index a0124a4c..00000000 --- a/Nnef_PFDmanagement/api_pfd_subscriptions.go +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PFDSubscriptionsApiService service - -/* -PFDSubscriptionsApiService Subscribe the notification of PFD changes. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param pfdSubscription a PfdSubscription resource to be created. -@return models.PfdSubscription -*/ - -func (a *PFDSubscriptionsApiService) NnefPFDmanagementSubscribe(ctx context.Context, pfdSubscription models.PfdSubscription) (models.PfdSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in NnefPFDmanagementSubscribe", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nnef_PFDmanagement/client.go b/Nnef_PFDmanagement/client.go deleted file mode 100644 index 4f9d0ce5..00000000 --- a/Nnef_PFDmanagement/client.go +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -// APIClient manages communication with the Nnef_PFDmanagement Sevice API API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualApplicationPFDApi *IndividualApplicationPFDApiService - IndividualPFDSubscriptionApi *IndividualPFDSubscriptionApiService - PFDOfApplicationsApi *PFDOfApplicationsApiService - PFDSubscriptionsApi *PFDSubscriptionsApiService - NotificationApi *NotificationApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualApplicationPFDApi = (*IndividualApplicationPFDApiService)(&c.common) - c.IndividualPFDSubscriptionApi = (*IndividualPFDSubscriptionApiService)(&c.common) - c.PFDOfApplicationsApi = (*PFDOfApplicationsApiService)(&c.common) - c.PFDSubscriptionsApi = (*PFDSubscriptionsApiService)(&c.common) - c.NotificationApi = (*NotificationApiService)(&c.common) - - return c -} diff --git a/Nnef_PFDmanagement/configuration.go b/Nnef_PFDmanagement/configuration.go deleted file mode 100644 index 6f278b96..00000000 --- a/Nnef_PFDmanagement/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nnef_PFDmanagement Sevice API - * - * Packet Flow Description Management Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_PFDmanagement - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nnef-pfdmanagement/v1", - url: "{apiRoot}/nnef-pfdmanagement/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnef_TrafficInfluence/api_individual_traffic_influence_subscription.go b/Nnef_TrafficInfluence/api_individual_traffic_influence_subscription.go deleted file mode 100644 index 39d8dcc5..00000000 --- a/Nnef_TrafficInfluence/api_individual_traffic_influence_subscription.go +++ /dev/null @@ -1,679 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_TrafficInfluence - -import ( - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - "github.com/free5gc/openapi/models_nef" -) - -// Linger please -var ( - _ _context.Context -) - -// IndividualTrafficInfluenceSubscriptionApiService IndividualTrafficInfluenceSubscriptionApi service -type IndividualTrafficInfluenceSubscriptionApiService service - -/* -AfIdSubscriptionsSubscriptionIdDelete Deletes an already existing subscription - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF - * @param subscriptionId Identifier of the subscription resource -*/ -func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdDelete(ctx _context.Context, afId string, subscriptionId string) (*_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodDelete - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", _neturl.QueryEscape(openapi.ParameterToString(subscriptionId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // set Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarHTTPResponse, newErr - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -/* -AfIdSubscriptionsSubscriptionIdGet read an active subscriptions for the SCS/AS and the subscription Id - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF - * @param subscriptionId Identifier of the subscription resource -@return TrafficInfluSub -*/ -func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdGet(ctx _context.Context, afId string, subscriptionId string) (models_nef.TrafficInfluSub, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodGet - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models_nef.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", _neturl.QueryEscape(openapi.ParameterToString(subscriptionId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // set Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 406 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -/* -AfIdSubscriptionsSubscriptionIdPatch Updates/replaces an existing subscription resource - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF - * @param subscriptionId Identifier of the subscription resource - * @param trafficInfluSubPatch -@return TrafficInfluSub -*/ -func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPatch(ctx _context.Context, afId string, subscriptionId string, trafficInfluSubPatch models_nef.TrafficInfluSubPatch) (models_nef.TrafficInfluSub, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodPatch - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models_nef.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", _neturl.QueryEscape(openapi.ParameterToString(subscriptionId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - // set Content-Type header - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = &trafficInfluSubPatch - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 411 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 413 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 415 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -/* -AfIdSubscriptionsSubscriptionIdPut Updates/replaces an existing subscription resource - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF - * @param subscriptionId Identifier of the subscription resource - * @param trafficInfluSub Parameters to update/replace the existing subscription -@return TrafficInfluSub -*/ -func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPut(ctx _context.Context, afId string, subscriptionId string, trafficInfluSub models_nef.TrafficInfluSub) (models_nef.TrafficInfluSub, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodPut - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models_nef.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", _neturl.QueryEscape(openapi.ParameterToString(subscriptionId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = &trafficInfluSub - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 411 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 413 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 415 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/Nnef_TrafficInfluence/api_traffic_influence_subscription.go b/Nnef_TrafficInfluence/api_traffic_influence_subscription.go deleted file mode 100644 index a824f772..00000000 --- a/Nnef_TrafficInfluence/api_traffic_influence_subscription.go +++ /dev/null @@ -1,365 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_TrafficInfluence - -import ( - _context "context" - "fmt" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - "github.com/free5gc/openapi/models_nef" -) - -// Linger please -var ( - _ _context.Context -) - -// TrafficInfluenceSubscriptionApiService TrafficInfluenceSubscriptionApi service -type TrafficInfluenceSubscriptionApiService service - -/* -AfIdSubscriptionsGet read all of the active subscriptions for the AF - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF -@return []TrafficInfluSub -*/ -func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsGet(ctx _context.Context, afId string) ([]models_nef.TrafficInfluSub, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodGet - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models_nef.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 406 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -/* -AfIdSubscriptionsPost Creates a new subscription resource - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param afId Identifier of the AF - * @param trafficInfluSub Request to create a new subscription resource -@return TrafficInfluSub -*/ -func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsPost(ctx _context.Context, afId string, trafficInfluSub models_nef.TrafficInfluSub) (models_nef.TrafficInfluSub, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodPost - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models_nef.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", _neturl.QueryEscape(openapi.ParameterToString(afId, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = &trafficInfluSub - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - fmt.Printf(" PrepareRequest error \n") - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - fmt.Printf(" CallAPI error \n") - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - fmt.Printf(" ReadAll error \n") - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 411 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 413 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 415 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 503 { - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/Nnef_TrafficInfluence/client.go b/Nnef_TrafficInfluence/client.go deleted file mode 100644 index db1c6242..00000000 --- a/Nnef_TrafficInfluence/client.go +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_TrafficInfluence - -import ( - "regexp" -) - -var ( - jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) - xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) -) - -// APIClient manages communication with the 3gpp-traffic-influence API v1.1.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - IndividualTrafficInfluenceSubscriptionApi *IndividualTrafficInfluenceSubscriptionApiService - - TrafficInfluenceSubscriptionApi *TrafficInfluenceSubscriptionApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualTrafficInfluenceSubscriptionApi = (*IndividualTrafficInfluenceSubscriptionApiService)(&c.common) - c.TrafficInfluenceSubscriptionApi = (*TrafficInfluenceSubscriptionApiService)(&c.common) - - return c -} diff --git a/Nnef_TrafficInfluence/configuration.go b/Nnef_TrafficInfluence/configuration.go deleted file mode 100644 index 10925b45..00000000 --- a/Nnef_TrafficInfluence/configuration.go +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnef_TrafficInfluence - -import ( - "net/http" - "strings" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -// Configuration stores the configuration of the API client -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -// NewConfiguration returns a new Configuration object -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/3gpp-traffic-influence/v1", - url: "{apiRoot}/3gpp-traffic-influence/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnrf_AccessToken/.gitignore b/Nnrf_AccessToken/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nnrf_AccessToken/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nnrf_AccessToken/CHANGELOG.md b/Nnrf_AccessToken/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nnrf_AccessToken/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nnrf_AccessToken/api/openapi.yaml b/Nnrf_AccessToken/api/openapi.yaml deleted file mode 100644 index a3c65639..00000000 --- a/Nnrf_AccessToken/api/openapi.yaml +++ /dev/null @@ -1,205 +0,0 @@ -openapi: 3.0.0 -info: - description: NRF OAuth2 Authorization - title: NRF OAuth2 - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.510 V15.2.0; 5G System; Network Function Repository Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ -servers: -- url: / -paths: - /oauth2/token: - post: - operationId: AccessTokenRequest - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/AccessTokenReq' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AccessTokenRsp' - description: Successful Access Token Request - headers: - Cache-Control: - $ref: '#/components/headers/cache-control' - Pragma: - $ref: '#/components/headers/pragma' - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/AccessTokenErr' - description: Error in the Access Token Request - headers: - Cache-Control: - $ref: '#/components/headers/cache-control' - Pragma: - $ref: '#/components/headers/pragma' - summary: Access Token Request - tags: - - Access Token Request -components: - headers: - cache-control: - explode: false - required: true - schema: - enum: - - no-store - type: string - style: simple - pragma: - explode: false - required: true - schema: - enum: - - no-cache - type: string - style: simple - schemas: - AccessTokenReq: - properties: - grant_type: - enum: - - client_credentials - type: string - nfInstanceId: - format: uuid - type: string - nfType: - $ref: '#/components/schemas/NFType' - targetNfType: - $ref: '#/components/schemas/NFType' - scope: - pattern: ^([a-zA-Z0-9_-]+)( [a-zA-Z0-9_-]+)*$ - type: string - targetNfInstanceId: - format: uuid - type: string - requesterPlmn: - $ref: '#/components/schemas/PlmnId' - targetPlmn: - $ref: '#/components/schemas/PlmnId' - required: - - grant_type - - nfInstanceId - - scope - type: object - AccessTokenRsp: - example: - access_token: access_token - scope: scope - token_type: token_type - expires_in: 0 - properties: - access_token: - description: JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) - type: string - token_type: - type: string - expires_in: - format: int32 - type: integer - scope: - pattern: ^([a-zA-Z0-9_-]+)( [a-zA-Z0-9_-]+)*$ - type: string - required: - - access_token - - token_type - type: object - AccessTokenClaims: - properties: - issuer: - format: uuid - type: string - subject: - type: string - audience: - anyOf: - - $ref: '#/components/schemas/NFType' - - items: - $ref: '#/components/schemas/NfInstanceId' - minItems: 1 - type: array - scope: - pattern: ^([a-zA-Z0-9_-]+)( [a-zA-Z0-9_-]+)*$ - type: string - expiration: - format: int32 - type: integer - required: - - audience - - expiration - - issuer - - scope - - subject - type: object - AccessTokenErr: - properties: - error: - enum: - - invalid_request - - invalid_client - - invalid_grant - - unauthorized_client - - unsupported_grant_type - - invalid_scope - type: string - error_description: - type: string - error_uri: - type: string - required: - - error - type: object - NfInstanceId: - format: uuid - type: string - NFType: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - PlmnId: - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string diff --git a/Nnrf_AccessToken/api_access_token_request.go b/Nnrf_AccessToken/api_access_token_request.go deleted file mode 100644 index 6db77d7b..00000000 --- a/Nnrf_AccessToken/api_access_token_request.go +++ /dev/null @@ -1,144 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_AccessToken - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AccessTokenRequestApiService service - -/* -AccessTokenRequestApiService Access Token Request - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param grantType - * @param nfInstanceId - * @param scope - * @param optional nil or *AccessTokenRequestParamOpts - Optional Parameters: - * @param "NfType" (optional.Interface of models.NfType) - - * @param "TargetNfType" (optional.Interface of models.NfType) - - * @param "TargetNfInstanceId" (optional.Interface of string) - - * @param "RequesterPlmn" (optional.Interface of models.PlmnId) - - * @param "TargetPlmn" (optional.Interface of models.PlmnId) - -@return models.AccessTokenRsp -*/ - -type AccessTokenRequestParamOpts struct { - NfType optional.Interface - TargetNfType optional.Interface - TargetNfInstanceId optional.Interface - RequesterPlmn optional.Interface - TargetPlmn optional.Interface -} - -func (a *AccessTokenRequestApiService) AccessTokenRequest(ctx context.Context, grantType string, nfInstanceId string, scope string, localVarOptionals *AccessTokenRequestParamOpts) (models.AccessTokenRsp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AccessTokenRsp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/oauth2/token" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/x-www-form-urlencoded"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - localVarFormParams.Add("grant_type", openapi.ParameterToString(grantType, "")) - localVarFormParams.Add("nfInstanceId", openapi.ParameterToString(nfInstanceId, "")) - if localVarOptionals != nil && localVarOptionals.NfType.IsSet() { - localVarFormParams.Add("nfType", openapi.ParameterToString(localVarOptionals.NfType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TargetNfType.IsSet() { - localVarFormParams.Add("targetNfType", openapi.ParameterToString(localVarOptionals.TargetNfType.Value(), "")) - } - localVarFormParams.Add("scope", openapi.ParameterToString(scope, "")) - if localVarOptionals != nil && localVarOptionals.TargetNfInstanceId.IsSet() { - localVarFormParams.Add("targetNfInstanceId", openapi.ParameterToString(localVarOptionals.TargetNfInstanceId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RequesterPlmn.IsSet() { - localVarFormParams.Add("requesterPlmn", openapi.ParameterToString(localVarOptionals.RequesterPlmn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TargetPlmn.IsSet() { - localVarFormParams.Add("targetPlmn", openapi.ParameterToString(localVarOptionals.TargetPlmn.Value(), "")) - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.AccessTokenErr - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in AccessTokenRequest", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nnrf_AccessToken/client.go b/Nnrf_AccessToken/client.go deleted file mode 100644 index 65c67bb8..00000000 --- a/Nnrf_AccessToken/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_AccessToken - -// APIClient manages communication with the NRF OAuth2 API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - AccessTokenRequestApi *AccessTokenRequestApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AccessTokenRequestApi = (*AccessTokenRequestApiService)(&c.common) - - return c -} diff --git a/Nnrf_AccessToken/configuration.go b/Nnrf_AccessToken/configuration.go deleted file mode 100644 index d1903571..00000000 --- a/Nnrf_AccessToken/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_AccessToken - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://127.0.0.1", - url: "{nrfApiRoot}", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"nrfApiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnrf_NFDiscovery/.gitignore b/Nnrf_NFDiscovery/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nnrf_NFDiscovery/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nnrf_NFDiscovery/CHANGELOG.md b/Nnrf_NFDiscovery/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nnrf_NFDiscovery/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nnrf_NFDiscovery/api/openapi.yaml b/Nnrf_NFDiscovery/api/openapi.yaml deleted file mode 100644 index 4f7ba4ad..00000000 --- a/Nnrf_NFDiscovery/api/openapi.yaml +++ /dev/null @@ -1,2822 +0,0 @@ -openapi: 3.0.0 -info: - description: NRF NFDiscovery Service - title: NRF NFDiscovery Service - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.510 V15.2.0; 5G System; Network Function Repository Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ -servers: -- url: '{apiRoot}/nnrf-disc/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause subclause 4.4 of 3GPP TS 29.501 -security: -- {} -- oAuth2ClientCredentials: - - nnrf-disc -paths: - /nf-instances: - get: - operationId: SearchNFInstances - parameters: - - description: Type of the target NF - explode: true - in: query - name: target-nf-type - required: true - schema: - $ref: '#/components/schemas/NFType' - style: form - - description: Type of the requester NF - explode: true - in: query - name: requester-nf-type - required: true - schema: - $ref: '#/components/schemas/NFType' - style: form - - description: Name of the service offered by the NF - explode: false - in: query - name: service-names - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: FQDN of the requester NF - explode: true - in: query - name: requester-nf-instance-fqdn - required: false - schema: - $ref: '#/components/schemas/Fqdn' - style: form - - description: Id of the PLMN where the target NF is located - explode: true - in: query - name: target-plmn-list - required: false - schema: - items: - $ref: ./TS29571_CommonData.yaml#/components/schemas/PlmnId - minItems: 1 - type: array - style: form - - description: Id of the PLMN where the NF issuing the Discovery request is located - explode: true - in: query - name: requester-plmn-list - required: false - schema: - items: - $ref: ./TS29571_CommonData.yaml#/components/schemas/PlmnId - minItems: 1 - type: array - style: form - - description: Identity of the NF instance being discovered - explode: true - in: query - name: target-nf-instance-id - required: false - schema: - $ref: '#/components/schemas/NfInstanceId' - style: form - - description: FQDN of the NF instance being discovered - explode: true - in: query - name: target-nf-fqdn - required: false - schema: - $ref: '#/components/schemas/Fqdn' - style: form - - description: Uri of the home NRF - explode: true - in: query - name: hnrf-uri - required: false - schema: - $ref: '#/components/schemas/Uri' - style: form - - description: Slice info of the target NF - explode: true - in: query - name: snssais - required: false - schema: - items: - $ref: ./TS29571_CommonData.yaml#/components/schemas/Snssai - minItems: 1 - type: array - style: form - - description: Dnn supported by the BSF, SMF or UPF - explode: true - in: query - name: dnn - required: false - schema: - $ref: '#/components/schemas/Dnn' - style: form - - description: NSI IDs that are served by the services being discovered - explode: false - in: query - name: nsi-list - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - explode: true - in: query - name: smf-serving-area - required: false - schema: - type: string - style: form - - description: Tracking Area Identity - explode: true - in: query - name: tai - required: false - schema: - $ref: ./TS29571_CommonData.yaml#/components/schemas/Tai - style: form - - description: AMF Region Identity - explode: true - in: query - name: amf-region-id - required: false - schema: - type: string - style: form - - description: AMF Set Identity - explode: true - in: query - name: amf-set-id - required: false - schema: - type: string - style: form - - description: Guami used to search for an appropriate AMF - explode: true - in: query - name: guami - required: false - schema: - $ref: '#/components/schemas/Guami' - style: form - - description: SUPI of the user - explode: true - in: query - name: supi - required: false - schema: - $ref: '#/components/schemas/Supi' - style: form - - description: IPv4 address of the UE - explode: true - in: query - name: ue-ipv4-address - required: false - schema: - $ref: '#/components/schemas/Ipv4Addr' - style: form - - description: IP domain of the UE, which supported by BSF - explode: true - in: query - name: ip-domain - required: false - schema: - type: string - style: form - - description: IPv6 prefix of the UE - explode: true - in: query - name: ue-ipv6-prefix - required: false - schema: - $ref: '#/components/schemas/Ipv6Prefix' - style: form - - description: Combined PGW-C and SMF or a standalone SMF - explode: true - in: query - name: pgw-ind - required: false - schema: - type: boolean - style: form - - description: PGW FQDN of a combined PGW-C and SMF - explode: true - in: query - name: pgw - required: false - schema: - $ref: '#/components/schemas/Fqdn' - style: form - - description: GPSI of the user - explode: true - in: query - name: gpsi - required: false - schema: - $ref: '#/components/schemas/Gpsi' - style: form - - description: external group identifier of the user - explode: true - in: query - name: external-group-identity - required: false - schema: - type: string - style: form - - description: data set supported by the NF - explode: true - in: query - name: data-set - required: false - schema: - $ref: '#/components/schemas/DataSetId' - style: form - - description: routing indicator in SUCI - explode: true - in: query - name: routing-indicator - required: false - schema: - pattern: ^[0-9]{1,4}$ - type: string - style: form - - description: Group IDs of the NFs being discovered - explode: false - in: query - name: group-id-list - required: false - schema: - items: - $ref: '#/components/schemas/NfGroupId' - minItems: 1 - type: array - style: form - - description: Data network access identifiers of the NFs being discovered - explode: false - in: query - name: dnai-list - required: false - schema: - items: - $ref: '#/components/schemas/Dnai' - minItems: 1 - type: array - style: form - - description: Features required to be supported by the target NF - explode: true - in: query - name: supported-features - required: false - schema: - $ref: '#/components/schemas/SupportedFeatures' - style: form - - description: UPF supporting interworking with EPS or not - explode: true - in: query - name: upf-iwk-eps-ind - required: false - schema: - type: boolean - style: form - - description: PLMN ID supported by a CHF - explode: true - in: query - name: chf-supported-plmn - required: false - schema: - $ref: ./TS29571_CommonData.yaml#/components/schemas/PlmnId - style: form - - description: preferred target NF location - explode: true - in: query - name: preferred-locality - required: false - schema: - type: string - style: form - - description: AccessType supported by the target NF - explode: true - in: query - name: access-type - required: false - schema: - $ref: '#/components/schemas/AccessType' - style: form - - description: Validator for conditional requests, as described in IETF RFC 7232, 3.2 - explode: false - in: header - name: If-None-Match - required: false - schema: - type: string - style: simple - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SearchResult' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, described in IETF RFC 7234, 5.2 - explode: false - schema: - type: string - style: simple - ETag: - description: Entity Tag containing a strong validator, described in IETF RFC 7232, 2.3 - explode: false - schema: - type: string - style: simple - 307: - description: Temporary Redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Search a collection of NF Instances - tags: - - NF Instances (Store) -components: - schemas: - SearchResult: - example: - validityPeriod: 0 - nfInstances: - - sNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - pcfInfo: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ipv6Addresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - customInfo: '{}' - plmnList: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - udmInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - capacity: 9606 - nsiList: - - nsiList - - nsiList - load: 59 - nfServices: - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - udrInfo: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ausfInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - nfServicePersistence: false - ipv4Addresses: - - 198.51.100.1 - - 198.51.100.1 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - upfInfo: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - bsfInfo: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - fqdn: fqdn - locality: locality - priority: 36944 - chfInfo: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - amfInfo: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - smfInfo: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - - sNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - pcfInfo: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ipv6Addresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - customInfo: '{}' - plmnList: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - udmInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - capacity: 9606 - nsiList: - - nsiList - - nsiList - load: 59 - nfServices: - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - udrInfo: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ausfInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - nfServicePersistence: false - ipv4Addresses: - - 198.51.100.1 - - 198.51.100.1 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - upfInfo: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - bsfInfo: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - fqdn: fqdn - locality: locality - priority: 36944 - chfInfo: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - amfInfo: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - smfInfo: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - properties: - validityPeriod: - format: int32 - type: integer - nfInstances: - items: - $ref: '#/components/schemas/NFProfile' - type: array - required: - - nfInstances - type: object - NFProfile: - example: - sNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - pcfInfo: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ipv6Addresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - customInfo: '{}' - plmnList: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - udmInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - capacity: 9606 - nsiList: - - nsiList - - nsiList - load: 59 - nfServices: - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - udrInfo: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - ausfInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - nfServicePersistence: false - ipv4Addresses: - - 198.51.100.1 - - 198.51.100.1 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - upfInfo: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - bsfInfo: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - fqdn: fqdn - locality: locality - priority: 36944 - chfInfo: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - amfInfo: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - smfInfo: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - properties: - nfInstanceId: - format: uuid - type: string - nfType: - $ref: '#/components/schemas/NFType' - nfStatus: - $ref: '#/components/schemas/NFStatus' - plmnList: - items: - $ref: '#/components/schemas/PlmnId' - minItems: 1 - type: array - sNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - nsiList: - items: - type: string - minItems: 1 - type: array - fqdn: - type: string - ipv4Addresses: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6Addresses: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - capacity: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - load: - format: int32 - maximum: 100 - minimum: 0 - type: integer - locality: - type: string - priority: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - udrInfo: - $ref: '#/components/schemas/UdrInfo' - udmInfo: - $ref: '#/components/schemas/UdmInfo' - ausfInfo: - $ref: '#/components/schemas/AusfInfo' - amfInfo: - $ref: '#/components/schemas/AmfInfo' - smfInfo: - $ref: '#/components/schemas/SmfInfo' - upfInfo: - $ref: '#/components/schemas/UpfInfo' - pcfInfo: - $ref: '#/components/schemas/PcfInfo' - bsfInfo: - $ref: '#/components/schemas/BsfInfo' - chfInfo: - $ref: '#/components/schemas/ChfInfo' - customInfo: - type: object - recoveryTime: - format: date-time - type: string - nfServicePersistence: - default: false - type: boolean - nfServices: - items: - $ref: '#/components/schemas/NFService' - minItems: 1 - type: array - required: - - nfInstanceId - - nfStatus - - nfType - type: object - NFService: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - supportedFeatures: supportedFeatures - fqdn: fqdn - serviceInstanceId: serviceInstanceId - priority: 23697 - capacity: 46276 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 93 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - properties: - serviceInstanceId: - type: string - serviceName: - $ref: '#/components/schemas/ServiceName' - versions: - items: - $ref: '#/components/schemas/NFServiceVersion' - minItems: 1 - type: array - scheme: - $ref: '#/components/schemas/UriScheme' - nfServiceStatus: - $ref: '#/components/schemas/NFServiceStatus' - fqdn: - type: string - ipEndPoints: - items: - $ref: '#/components/schemas/IpEndPoint' - minItems: 1 - type: array - apiPrefix: - type: string - defaultNotificationSubscriptions: - items: - $ref: '#/components/schemas/DefaultNotificationSubscription' - minItems: 1 - type: array - capacity: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - load: - format: int32 - maximum: 100 - minimum: 0 - type: integer - priority: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - chfServiceInfo: - $ref: '#/components/schemas/ChfServiceInfo' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - nfServiceStatus - - scheme - - serviceInstanceId - - serviceName - - versions - type: object - NFType: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - Fqdn: - type: string - NfInstanceId: - format: uuid - type: string - Uri: - type: string - Dnn: - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - DataSetId: - enum: - - SUBSCRIPTION - - POLICY - - EXPOSURE - - APPLICATION - type: string - NfGroupId: - type: string - Dnai: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - NFStatus: - enum: - - REGISTERED - - SUSPENDED - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - UdrInfo: - example: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - externalGroupIdentifiersRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - supportedDataSets: - items: - $ref: '#/components/schemas/DataSetId' - minItems: 1 - type: array - type: object - SupiRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]+$ - type: string - end: - pattern: ^[0-9]+$ - type: string - pattern: - type: string - type: object - IdentityRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]+$ - type: string - end: - pattern: ^[0-9]+$ - type: string - pattern: - type: string - type: object - UdmInfo: - example: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - externalGroupIdentifiersRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - routingIndicators: - items: - pattern: ^[0-9]{1,4}$ - type: string - minItems: 1 - type: array - type: object - AusfInfo: - example: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - routingIndicators: - items: - pattern: ^[0-9]{1,4}$ - type: string - minItems: 1 - type: array - type: object - AmfInfo: - example: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - amfSetId: - type: string - amfRegionId: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - taiRangeList: - items: - $ref: '#/components/schemas/TaiRange' - minItems: 1 - type: array - backupInfoAmfFailure: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - backupInfoAmfRemoval: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - n2InterfaceAmfInfo: - $ref: '#/components/schemas/N2InterfaceAmfInfo' - required: - - amfRegionId - - amfSetId - - guamiList - type: object - TaiRange: - example: - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tacRangeList: - items: - $ref: '#/components/schemas/TacRange' - minItems: 1 - type: array - required: - - plmnId - - tacRangeList - type: object - TacRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^([A-Fa-f0-9]{4}|[A-Fa-f0-9]{6})$ - type: string - end: - pattern: ^([A-Fa-f0-9]{4}|[A-Fa-f0-9]{6})$ - type: string - pattern: - type: string - type: object - N2InterfaceAmfInfo: - example: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - properties: - ipv4EndpointAddress: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6EndpointAddress: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - amfName: - type: string - type: object - SmfInfo: - example: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - properties: - sNssaiSmfInfoList: - items: - $ref: '#/components/schemas/SnssaiSmfInfoItem' - minItems: 1 - type: array - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - taiRangeList: - items: - $ref: '#/components/schemas/TaiRange' - minItems: 1 - type: array - pgwFqdn: - type: string - accessType: - items: - $ref: '#/components/schemas/AccessType' - minItems: 1 - type: array - required: - - sNssaiSmfInfoList - type: object - SnssaiSmfInfoItem: - example: - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssai: - $ref: '#/components/schemas/Snssai' - dnnSmfInfoList: - items: - $ref: '#/components/schemas/DnnSmfInfoItem' - minItems: 1 - type: array - required: - - dnnSmfInfoList - - sNssai - type: object - DnnSmfInfoItem: - example: - dnn: dnn - properties: - dnn: - type: string - required: - - dnn - type: object - UpfInfo: - example: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssaiUpfInfoList: - items: - $ref: '#/components/schemas/SnssaiUpfInfoItem' - minItems: 1 - type: array - smfServingArea: - items: - type: string - minItems: 1 - type: array - interfaceUpfInfoList: - items: - $ref: '#/components/schemas/InterfaceUpfInfoItem' - minItems: 1 - type: array - iwkEpsInd: - default: false - type: boolean - required: - - sNssaiUpfInfoList - type: object - SnssaiUpfInfoItem: - example: - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssai: - $ref: '#/components/schemas/Snssai' - dnnUpfInfoList: - items: - $ref: '#/components/schemas/DnnUpfInfoItem' - minItems: 1 - type: array - required: - - dnnUpfInfoList - - sNssai - type: object - DnnUpfInfoItem: - example: - dnaiList: - - null - - null - dnn: dnn - properties: - dnn: - type: string - dnaiList: - items: - $ref: '#/components/schemas/Dnai' - minItems: 1 - type: array - required: - - dnn - type: object - InterfaceUpfInfoItem: - example: - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - properties: - interfaceType: - $ref: '#/components/schemas/UPInterfaceType' - ipv4EndpointAddresses: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6EndpointAddresses: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - endpointFqdn: - type: string - networkInstance: - type: string - required: - - interfaceType - type: object - UPInterfaceType: - enum: - - N3 - - N6 - - N9 - type: string - PcfInfo: - example: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - dnnList: - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - rxDiamHost: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - rxDiamRealm: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - type: object - BsfInfo: - example: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - properties: - dnnList: - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - ipDomainList: - items: - type: string - minItems: 1 - type: array - ipv4AddressRanges: - items: - $ref: '#/components/schemas/Ipv4AddressRange' - minItems: 1 - type: array - ipv6PrefixRanges: - items: - $ref: '#/components/schemas/Ipv6PrefixRange' - minItems: 1 - type: array - type: object - Ipv4AddressRange: - example: - start: 198.51.100.1 - end: 198.51.100.1 - properties: - start: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - end: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - type: object - Ipv6PrefixRange: - example: - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - properties: - start: - $ref: '#/components/schemas/Ipv6Prefix' - end: - $ref: '#/components/schemas/Ipv6Prefix' - type: object - ChfInfo: - example: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - supiRangeList: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRangeList: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - plmnRangeList: - items: - $ref: '#/components/schemas/PlmnRange' - minItems: 1 - type: array - type: object - PlmnRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]{3}[0-9]{2,3}$ - type: string - end: - pattern: ^[0-9]{3}[0-9]{2,3}$ - type: string - pattern: - type: string - type: object - DateTime: - format: date-time - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - NFServiceVersion: - example: - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - properties: - apiVersionInUri: - type: string - apiFullVersion: - type: string - expiry: - format: date-time - type: string - required: - - apiFullVersion - - apiVersionInUri - type: object - UriScheme: - enum: - - http - - https - type: string - NFServiceStatus: - enum: - - REGISTERED - - SUSPENDED - type: string - IpEndPoint: - example: - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - properties: - ipv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Address: - $ref: '#/components/schemas/Ipv6Addr' - transport: - $ref: '#/components/schemas/TransportProtocol' - port: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - type: object - TransportProtocol: - enum: - - TCP - type: string - DefaultNotificationSubscription: - example: - callbackUri: callbackUri - properties: - notificationType: - $ref: '#/components/schemas/NotificationType' - callbackUri: - type: string - n1MessageClass: - $ref: '#/components/schemas/N1MessageClass' - n2InformationClass: - $ref: '#/components/schemas/N2InformationClass' - required: - - callbackUri - - notificationType - type: object - NotificationType: - enum: - - N1_MESSAGES - - N2_INFORMATION - - LOCATION_NOTIFICATION - - DATA_REMOVAL_NOTIFICATION - - DATA_CHANGE_NOTIFICATION - type: string - ChfServiceInfo: - example: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - not: - required: - - primaryChfServiceInstance - - secondaryChfServiceInstance - properties: - primaryChfServiceInstance: - type: string - secondaryChfServiceInstance: - type: string - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - AmfName: - type: string - DiameterIdentity: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - N1MessageClass: - enum: - - 5GMM - - SM - - LPP - - SMS - - UPDP - type: string - N2InformationClass: - enum: - - SM - - NRPPa - - PWS - - PWS-BCAL - - PWS-RF - - RAN - type: string - nulltargetnftype: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - nullrequesternftype: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - nulldataset: - enum: - - SUBSCRIPTION - - POLICY - - EXPOSURE - - APPLICATION - type: string - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nnrf-disc: Access to the Nnrf_NFDiscovery API - tokenUrl: /oauth2/token - type: oauth2 diff --git a/Nnrf_NFDiscovery/api_nf_instances_store.go b/Nnrf_NFDiscovery/api_nf_instances_store.go deleted file mode 100644 index 758f1a34..00000000 --- a/Nnrf_NFDiscovery/api_nf_instances_store.go +++ /dev/null @@ -1,357 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFDiscovery - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NFInstancesStoreApiService service - -/* -NFInstancesStoreApiService Search a collection of NF Instances - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param targetNfType Type of the target NF - * @param requesterNfType Type of the requester NF - * @param optional nil or *SearchNFInstancesParamOpts - Optional Parameters: - * @param "ServiceNames" (optional.Interface of []string) - Name of the service offered by the NF - * @param "RequesterNfInstanceFqdn" (optional.String) - FQDN of the requester NF - * @param "TargetPlmnList" (optional.Interface of []models.PlmnId) - Id of the PLMN where the target NF is located - * @param "RequesterPlmnList" (optional.Interface of []models.PlmnId) - Id of the PLMN where the NF issuing the Discovery request is located - * @param "TargetNfInstanceId" (optional.Interface of string) - Identity of the NF instance being discovered - * @param "TargetNfFqdn" (optional.String) - FQDN of the NF instance being discovered - * @param "HnrfUri" (optional.String) - Uri of the home NRF - * @param "Snssais" (optional.Interface of []models.Snssai) - Slice info of the target NF - * @param "Dnn" (optional.String) - Dnn supported by the BSF, SMF or UPF - * @param "NsiList" (optional.Interface of []string) - NSI IDs that are served by the services being discovered - * @param "SmfServingArea" (optional.String) - - * @param "Tai" (optional.Interface of models.Tai) - Tracking Area Identity - * @param "AmfRegionId" (optional.String) - AMF Region Identity - * @param "AmfSetId" (optional.String) - AMF Set Identity - * @param "Guami" (optional.Interface of models.Guami) - Guami used to search for an appropriate AMF - * @param "Supi" (optional.String) - SUPI of the user - * @param "UeIpv4Address" (optional.String) - IPv4 address of the UE - * @param "IpDomain" (optional.String) - IP domain of the UE, which supported by BSF - * @param "UeIpv6Prefix" (optional.Interface of string) - IPv6 prefix of the UE - * @param "PgwInd" (optional.Bool) - Combined PGW-C and SMF or a standalone SMF - * @param "Pgw" (optional.String) - PGW FQDN of a combined PGW-C and SMF - * @param "Gpsi" (optional.String) - GPSI of the user - * @param "ExternalGroupIdentity" (optional.String) - external group identifier of the user - * @param "DataSet" (optional.Interface of models.DataSetId) - data set supported by the NF - * @param "RoutingIndicator" (optional.String) - routing indicator in SUCI - * @param "GroupIdList" (optional.Interface of []string) - Group IDs of the NFs being discovered - * @param "DnaiList" (optional.Interface of []string) - Data network access identifiers of the NFs being discovered - * @param "SupportedFeatures" (optional.String) - Features required to be supported by the target NF - * @param "UpfIwkEpsInd" (optional.Bool) - UPF supporting interworking with EPS or not - * @param "ChfSupportedPlmn" (optional.Interface of models.PlmnId) - PLMN ID supported by a CHF - * @param "PreferredLocality" (optional.String) - preferred target NF location - * @param "AccessType" (optional.Interface of models.AccessType) - AccessType supported by the target NF - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in IETF RFC 7232, 3.2 -@return models.SearchResult -*/ - -type SearchNFInstancesParamOpts struct { - ServiceNames optional.Interface - RequesterNfInstanceFqdn optional.String - TargetPlmnList optional.Interface - RequesterPlmnList optional.Interface - TargetNfInstanceId optional.Interface - TargetNfFqdn optional.String - HnrfUri optional.String - Snssais optional.Interface - Dnn optional.String - NsiList optional.Interface - SmfServingArea optional.String - Tai optional.Interface - AmfRegionId optional.String - AmfSetId optional.String - Guami optional.Interface - Supi optional.String - UeIpv4Address optional.String - IpDomain optional.String - UeIpv6Prefix optional.Interface - PgwInd optional.Bool - Pgw optional.String - Gpsi optional.String - ExternalGroupIdentity optional.String - DataSet optional.Interface - RoutingIndicator optional.String - GroupIdList optional.Interface - DnaiList optional.Interface - SupportedFeatures optional.String - UpfIwkEpsInd optional.Bool - ChfSupportedPlmn optional.Interface - PreferredLocality optional.String - AccessType optional.Interface - IfNoneMatch optional.String -} - -func (a *NFInstancesStoreApiService) SearchNFInstances(ctx context.Context, targetNfType models.NfType, requesterNfType models.NfType, localVarOptionals *SearchNFInstancesParamOpts) (models.SearchResult, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SearchResult - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("target-nf-type", openapi.ParameterToString(targetNfType, "")) - localVarQueryParams.Add("requester-nf-type", openapi.ParameterToString(requesterNfType, "")) - if localVarOptionals != nil && localVarOptionals.ServiceNames.IsSet() { - localVarQueryParams.Add("service-names", openapi.ParameterToString(localVarOptionals.ServiceNames.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.RequesterNfInstanceFqdn.IsSet() && localVarOptionals.RequesterNfInstanceFqdn.Value() != "" { - localVarQueryParams.Add("requester-nf-instance-fqdn", openapi.ParameterToString(localVarOptionals.RequesterNfInstanceFqdn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TargetPlmnList.IsSet() { - localVarQueryParams.Add("target-plmn-list", openapi.ParameterToString(localVarOptionals.TargetPlmnList.Value(), "multi")) - } - if localVarOptionals != nil && localVarOptionals.RequesterPlmnList.IsSet() { - localVarQueryParams.Add("requester-plmn-list", openapi.ParameterToString(localVarOptionals.RequesterPlmnList.Value(), "multi")) - } - if localVarOptionals != nil && localVarOptionals.TargetNfInstanceId.IsSet() { - localVarQueryParams.Add("target-nf-instance-id", openapi.ParameterToString(localVarOptionals.TargetNfInstanceId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TargetNfFqdn.IsSet() && localVarOptionals.TargetNfFqdn.Value() != "" { - localVarQueryParams.Add("target-nf-fqdn", openapi.ParameterToString(localVarOptionals.TargetNfFqdn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.HnrfUri.IsSet() && localVarOptionals.HnrfUri.Value() != "" { - localVarQueryParams.Add("hnrf-uri", openapi.ParameterToString(localVarOptionals.HnrfUri.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Snssais.IsSet() { - localVarQueryParams.Add("snssais", openapi.ParameterToString(localVarOptionals.Snssais.Value(), "multi")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.NsiList.IsSet() { - localVarQueryParams.Add("nsi-list", openapi.ParameterToString(localVarOptionals.NsiList.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SmfServingArea.IsSet() && localVarOptionals.SmfServingArea.Value() != "" { - localVarQueryParams.Add("smf-serving-area", openapi.ParameterToString(localVarOptionals.SmfServingArea.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Tai.IsSet() { - localVarQueryParams.Add("tai", openapi.ParameterToString(localVarOptionals.Tai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.AmfRegionId.IsSet() && localVarOptionals.AmfRegionId.Value() != "" { - localVarQueryParams.Add("amf-region-id", openapi.ParameterToString(localVarOptionals.AmfRegionId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.AmfSetId.IsSet() && localVarOptionals.AmfSetId.Value() != "" { - localVarQueryParams.Add("amf-set-id", openapi.ParameterToString(localVarOptionals.AmfSetId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Guami.IsSet() { - localVarQueryParams.Add("guami", openapi.ParameterToString(localVarOptionals.Guami.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Supi.IsSet() && localVarOptionals.Supi.Value() != "" { - localVarQueryParams.Add("supi", openapi.ParameterToString(localVarOptionals.Supi.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UeIpv4Address.IsSet() && localVarOptionals.UeIpv4Address.Value() != "" { - localVarQueryParams.Add("ue-ipv4-address", openapi.ParameterToString(localVarOptionals.UeIpv4Address.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IpDomain.IsSet() && localVarOptionals.IpDomain.Value() != "" { - localVarQueryParams.Add("ip-domain", openapi.ParameterToString(localVarOptionals.IpDomain.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UeIpv6Prefix.IsSet() { - localVarQueryParams.Add("ue-ipv6-prefix", openapi.ParameterToString(localVarOptionals.UeIpv6Prefix.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PgwInd.IsSet() { - localVarQueryParams.Add("pgw-ind", openapi.ParameterToString(localVarOptionals.PgwInd.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Pgw.IsSet() && localVarOptionals.Pgw.Value() != "" { - localVarQueryParams.Add("pgw", openapi.ParameterToString(localVarOptionals.Pgw.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Gpsi.IsSet() && localVarOptionals.Gpsi.Value() != "" { - localVarQueryParams.Add("gpsi", openapi.ParameterToString(localVarOptionals.Gpsi.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.ExternalGroupIdentity.IsSet() && localVarOptionals.ExternalGroupIdentity.Value() != "" { - localVarQueryParams.Add("external-group-identity", openapi.ParameterToString(localVarOptionals.ExternalGroupIdentity.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.DataSet.IsSet() { - localVarQueryParams.Add("data-set", openapi.ParameterToString(localVarOptionals.DataSet.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RoutingIndicator.IsSet() && localVarOptionals.RoutingIndicator.Value() != "" { - localVarQueryParams.Add("routing-indicator", openapi.ParameterToString(localVarOptionals.RoutingIndicator.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.GroupIdList.IsSet() { - localVarQueryParams.Add("group-id-list", openapi.ParameterToString(localVarOptionals.GroupIdList.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.DnaiList.IsSet() { - localVarQueryParams.Add("dnai-list", openapi.ParameterToString(localVarOptionals.DnaiList.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UpfIwkEpsInd.IsSet() { - localVarQueryParams.Add("upf-iwk-eps-ind", openapi.ParameterToString(localVarOptionals.UpfIwkEpsInd.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.ChfSupportedPlmn.IsSet() { - localVarQueryParams.Add("chf-supported-plmn", openapi.ParameterToString(localVarOptionals.ChfSupportedPlmn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PreferredLocality.IsSet() && localVarOptionals.PreferredLocality.Value() != "" { - localVarQueryParams.Add("preferred-locality", openapi.ParameterToString(localVarOptionals.PreferredLocality.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.AccessType.IsSet() { - localVarQueryParams.Add("access-type", openapi.ParameterToString(localVarOptionals.AccessType.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 307: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFDiscovery/client.go b/Nnrf_NFDiscovery/client.go deleted file mode 100644 index b87db5e2..00000000 --- a/Nnrf_NFDiscovery/client.go +++ /dev/null @@ -1,40 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFDiscovery - -// APIClient manages communication with the NRF NFDiscovery Service API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - NFInstancesStoreApi *NFInstancesStoreApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.NFInstancesStoreApi = (*NFInstancesStoreApiService)(&c.common) - - return c -} diff --git a/Nnrf_NFDiscovery/configuration.go b/Nnrf_NFDiscovery/configuration.go deleted file mode 100644 index fc2988f0..00000000 --- a/Nnrf_NFDiscovery/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFDiscovery - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nnrf-disc/v1", - url: "{apiRoot}/nnrf-disc/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnrf_NFManagement/.gitignore b/Nnrf_NFManagement/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nnrf_NFManagement/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nnrf_NFManagement/CHANGELOG.md b/Nnrf_NFManagement/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nnrf_NFManagement/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nnrf_NFManagement/api/openapi.yaml b/Nnrf_NFManagement/api/openapi.yaml deleted file mode 100644 index dba39ea9..00000000 --- a/Nnrf_NFManagement/api/openapi.yaml +++ /dev/null @@ -1,3393 +0,0 @@ -openapi: 3.0.0 -info: - description: NRF NFManagement Service - title: NRF NFManagement Service - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.510 V15.2.0; 5G System; Network Function Repository Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ -servers: -- url: '{apiRoot}/nnrf-nfm/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause subclause 4.4 of 3GPP TS 29.501 -security: -- {} -- oAuth2ClientCredentials: - - nnrf-nfm -paths: - /nf-instances: - get: - operationId: GetNFInstances - parameters: - - description: Type of NF - explode: true - in: query - name: nf-type - required: false - schema: - $ref: '#/components/schemas/NFType' - style: form - - description: How many items to return at one time - explode: true - in: query - name: limit - required: false - schema: - format: int32 - type: integer - style: form - responses: - 200: - content: - application/3gppHal+json: - schema: - minProperties: 1 - properties: - _links: - additionalProperties: - $ref: '#/components/schemas/LinksValueSchema' - description: List of the URI of NF instances. It has two members whose names are item and self. The item one contains an array of URIs. - type: object - type: object - description: Expected response to a valid request - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieves a collection of NF Instances - tags: - - NF Instances (Store) - /nf-instances/{nfInstanceID}: - delete: - operationId: DeregisterNFInstance - parameters: - - description: Unique ID of the NF Instance to deregister - explode: false - in: path - name: nfInstanceID - required: true - schema: - $ref: '#/components/schemas/NfInstanceId' - style: simple - responses: - 204: - description: Expected response to a successful deregistration - summary: Deregisters a given NF Instance - tags: - - NF Instance ID (Document) - get: - operationId: GetNFInstance - parameters: - - description: Unique ID of the NF Instance - explode: false - in: path - name: nfInstanceID - required: true - schema: - $ref: '#/components/schemas/NfInstanceId' - style: simple - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/NFProfile' - description: Expected response to a valid request - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Read the profile of a given NF Instance - tags: - - NF Instance ID (Document) - patch: - operationId: UpdateNFInstance - parameters: - - description: Unique ID of the NF Instance to update - explode: false - in: path - name: nfInstanceID - required: true - schema: - $ref: '#/components/schemas/NfInstanceId' - style: simple - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - minItems: 1 - type: array - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/NFProfile' - description: Expected response to a valid request - 204: - description: Expected response with empty body - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Update NF Instance profile - tags: - - NF Instance ID (Document) - put: - operationId: RegisterNFInstance - parameters: - - description: Unique ID of the NF Instance to register - explode: false - in: path - name: nfInstanceID - required: true - schema: - $ref: '#/components/schemas/NfInstanceId' - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NFProfile' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/NFProfile' - description: OK (Profile Replacement) - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/NFProfile' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nnrf-nfm/v1/nf-instances/{nfInstanceId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Register a new NF Instance - tags: - - NF Instance ID (Document) - /subscriptions: - post: - callbacks: - onNFStatusEvent: - '{$request.body#/nfStatusNotificationUri}': - post: - operationId: onNFStatusEvent_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationData' - description: Notification Payload - responses: - 204: - description: Expected response to a successful callback processing - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - x-callback-request: true - operationId: CreateSubscription - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nnrf-nfm/v1/subscriptions/{subscriptionId}' - explode: false - required: true - schema: - type: string - style: simple - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Create a new subscription - tags: - - Subscriptions (Collection) - /subscriptions/{subscriptionID}: - delete: - operationId: RemoveSubscription - parameters: - - description: Unique ID of the subscription to remove - explode: false - in: path - name: subscriptionID - required: true - schema: - pattern: ^([0-9]{5,6}-)?[^-]+$ - type: string - style: simple - responses: - 204: - description: Expected response to a successful subscription removal - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Deletes a subscription - tags: - - Subscription ID (Document) - patch: - operationId: UpdateSubscription - parameters: - - description: Unique ID of the subscription to update - explode: false - in: path - name: subscriptionID - required: true - schema: - pattern: ^([0-9]{5,6}-)?[^-]+$ - type: string - style: simple - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionData' - description: Expected response to a valid request - 204: - description: No Content - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 501: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Implemented - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Updates a subscription - tags: - - Subscription ID (Document) -components: - schemas: - NFProfile: - anyOf: - - required: - - fqdn - - required: - - ipv4Addresses - - required: - - ipv6Addresses - example: - sNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - nrfInfo: - servedUdrInfo: - key: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedUdmInfo: - key: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedPcfInfo: - key: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedChfInfo: - key: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedAusfInfo: - key: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedSmfInfo: - key: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - servedBsfInfo: - key: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - servedAmfInfo: - key: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - servedUpfInfo: - key: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - allowedNfTypes: - - null - - null - pcfInfo: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - allowedNfDomains: - - allowedNfDomains - - allowedNfDomains - ipv6Addresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - customInfo: '{}' - plmnList: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - udmInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - capacity: 39072 - nsiList: - - nsiList - - nsiList - load: 56 - nfServices: - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - allowedNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - supportedFeatures: supportedFeatures - fqdn: fqdn - allowedNfTypes: - - null - - null - serviceInstanceId: serviceInstanceId - allowedNfDomains: - - allowedNfDomains - - allowedNfDomains - priority: 46276 - capacity: 60957 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 36 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - interPlmnFqdn: interPlmnFqdn - allowedPlmns: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - - recoveryTime: 2000-01-23T04:56:07.000+00:00 - allowedNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - supportedFeatures: supportedFeatures - fqdn: fqdn - allowedNfTypes: - - null - - null - serviceInstanceId: serviceInstanceId - allowedNfDomains: - - allowedNfDomains - - allowedNfDomains - priority: 46276 - capacity: 60957 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 36 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - interPlmnFqdn: interPlmnFqdn - allowedPlmns: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - udrInfo: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - interPlmnFqdn: interPlmnFqdn - allowedPlmns: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - ausfInfo: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - nfServicePersistence: false - ipv4Addresses: - - 198.51.100.1 - - 198.51.100.1 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - allowedNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - upfInfo: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - bsfInfo: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - fqdn: fqdn - locality: locality - priority: 9606 - chfInfo: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - amfInfo: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - smfInfo: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - heartBeatTimer: 0 - properties: - nfInstanceId: - format: uuid - type: string - nfType: - $ref: '#/components/schemas/NFType' - nfStatus: - $ref: '#/components/schemas/NFStatus' - heartBeatTimer: - format: int32 - type: integer - plmnList: - items: - $ref: '#/components/schemas/PlmnId' - minItems: 1 - type: array - sNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - nsiList: - items: - type: string - minItems: 1 - type: array - fqdn: - type: string - interPlmnFqdn: - type: string - ipv4Addresses: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6Addresses: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - allowedPlmns: - items: - $ref: '#/components/schemas/PlmnId' - minItems: 1 - type: array - allowedNfTypes: - items: - $ref: '#/components/schemas/NFType' - minItems: 1 - type: array - allowedNfDomains: - items: - type: string - minItems: 1 - type: array - allowedNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - priority: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - capacity: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - load: - format: int32 - maximum: 100 - minimum: 0 - type: integer - locality: - type: string - udrInfo: - $ref: '#/components/schemas/UdrInfo' - udmInfo: - $ref: '#/components/schemas/UdmInfo' - ausfInfo: - $ref: '#/components/schemas/AusfInfo' - amfInfo: - $ref: '#/components/schemas/AmfInfo' - smfInfo: - $ref: '#/components/schemas/SmfInfo' - upfInfo: - $ref: '#/components/schemas/UpfInfo' - pcfInfo: - $ref: '#/components/schemas/PcfInfo' - bsfInfo: - $ref: '#/components/schemas/BsfInfo' - chfInfo: - $ref: '#/components/schemas/ChfInfo' - nrfInfo: - $ref: '#/components/schemas/NrfInfo' - customInfo: - type: object - recoveryTime: - format: date-time - type: string - nfServicePersistence: - default: false - type: boolean - nfServices: - items: - $ref: '#/components/schemas/NFService' - minItems: 1 - type: array - required: - - nfInstanceId - - nfStatus - - nfType - type: object - NFService: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - allowedNssais: - - sd: sd - sst: 153 - - sd: sd - sst: 153 - supportedFeatures: supportedFeatures - fqdn: fqdn - allowedNfTypes: - - null - - null - serviceInstanceId: serviceInstanceId - allowedNfDomains: - - allowedNfDomains - - allowedNfDomains - priority: 46276 - capacity: 60957 - defaultNotificationSubscriptions: - - callbackUri: callbackUri - - callbackUri: callbackUri - load: 36 - versions: - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - ipEndPoints: - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - apiPrefix: apiPrefix - chfServiceInfo: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - interPlmnFqdn: interPlmnFqdn - allowedPlmns: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - properties: - serviceInstanceId: - type: string - serviceName: - $ref: '#/components/schemas/ServiceName' - versions: - items: - $ref: '#/components/schemas/NFServiceVersion' - minItems: 1 - type: array - scheme: - $ref: '#/components/schemas/UriScheme' - nfServiceStatus: - $ref: '#/components/schemas/NFServiceStatus' - fqdn: - type: string - interPlmnFqdn: - type: string - ipEndPoints: - items: - $ref: '#/components/schemas/IpEndPoint' - minItems: 1 - type: array - apiPrefix: - type: string - defaultNotificationSubscriptions: - items: - $ref: '#/components/schemas/DefaultNotificationSubscription' - minItems: 1 - type: array - allowedPlmns: - items: - $ref: '#/components/schemas/PlmnId' - minItems: 1 - type: array - allowedNfTypes: - items: - $ref: '#/components/schemas/NFType' - minItems: 1 - type: array - allowedNfDomains: - items: - type: string - minItems: 1 - type: array - allowedNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - priority: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - capacity: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - load: - format: int32 - maximum: 100 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - chfServiceInfo: - $ref: '#/components/schemas/ChfServiceInfo' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - nfServiceStatus - - scheme - - serviceInstanceId - - serviceName - - versions - type: object - NFType: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - Fqdn: - type: string - IpEndPoint: - example: - ipv6Address: 2001:db8:85a3::8a2e:370:7334 - port: 15087 - ipv4Address: 198.51.100.1 - properties: - ipv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Address: - $ref: '#/components/schemas/Ipv6Addr' - transport: - $ref: '#/components/schemas/TransportProtocol' - port: - format: int32 - maximum: 65535 - minimum: 0 - type: integer - type: object - SubscriptionData: - example: - reqNotifEvents: - - null - - null - validityTime: 2000-01-23T04:56:07.000+00:00 - reqNfFqdn: reqNfFqdn - nfStatusNotificationUri: nfStatusNotificationUri - plmnId: - mnc: mnc - mcc: mcc - subscriptionId: subscriptionId - notifCondition: - monitoredAttributes: - - monitoredAttributes - - monitoredAttributes - unmonitoredAttributes: - - unmonitoredAttributes - - unmonitoredAttributes - subscrCond: "" - properties: - nfStatusNotificationUri: - type: string - subscrCond: - oneOf: - - $ref: '#/components/schemas/NfInstanceIdCond' - - $ref: '#/components/schemas/NfTypeCond' - - $ref: '#/components/schemas/ServiceNameCond' - - $ref: '#/components/schemas/AmfCond' - - $ref: '#/components/schemas/GuamiListCond' - - $ref: '#/components/schemas/NetworkSliceCond' - - $ref: '#/components/schemas/NfGroupCond' - subscriptionId: - pattern: ^([0-9]{5,6}-)?[^-]+$ - readOnly: true - type: string - validityTime: - format: date-time - type: string - reqNotifEvents: - items: - $ref: '#/components/schemas/NotificationEventType' - minItems: 1 - type: array - plmnId: - $ref: '#/components/schemas/PlmnId' - notifCondition: - $ref: '#/components/schemas/NotifCondition' - reqNfType: - $ref: '#/components/schemas/NFType' - reqNfFqdn: - type: string - required: - - nfStatusNotificationUri - - subscriptionId - type: object - NfInstanceIdCond: - properties: - nfInstanceId: - format: uuid - type: string - required: - - nfInstanceId - type: object - NfTypeCond: - properties: - nfType: - $ref: '#/components/schemas/NFType' - required: - - nfType - type: object - ServiceNameCond: - properties: - serviceName: - $ref: '#/components/schemas/ServiceName' - required: - - serviceName - type: object - AmfCond: - anyOf: - - required: - - amfSetId - - required: - - amfRegionId - properties: - amfSetId: - type: string - amfRegionId: - type: string - type: object - GuamiListCond: - properties: - guamiList: - items: - $ref: '#/components/schemas/Guami' - type: array - required: - - guamiList - type: object - NetworkSliceCond: - properties: - snssaiList: - items: - $ref: '#/components/schemas/Snssai' - type: array - nsiList: - items: - type: string - type: array - required: - - snssaiList - type: object - NfGroupCond: - properties: - nfType: - enum: - - UDM - - AUSF - - UDR - type: string - nfGroupId: - type: string - required: - - nfGroupId - - nfType - type: object - NotifCondition: - example: - monitoredAttributes: - - monitoredAttributes - - monitoredAttributes - unmonitoredAttributes: - - unmonitoredAttributes - - unmonitoredAttributes - not: - required: - - monitoredAttributes - - unmonitoredAttributes - properties: - monitoredAttributes: - items: - type: string - minItems: 1 - type: array - unmonitoredAttributes: - items: - type: string - minItems: 1 - type: array - type: object - UdrInfo: - example: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - externalGroupIdentifiersRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - supportedDataSets: - items: - $ref: '#/components/schemas/DataSetId' - minItems: 1 - type: array - type: object - SupiRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]+$ - type: string - end: - pattern: ^[0-9]+$ - type: string - pattern: - type: string - type: object - IdentityRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]+$ - type: string - end: - pattern: ^[0-9]+$ - type: string - pattern: - type: string - type: object - DataSetId: - enum: - - SUBSCRIPTION - - POLICY - - EXPOSURE - - APPLICATION - type: string - UdmInfo: - example: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - externalGroupIdentifiersRanges: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - routingIndicators: - items: - pattern: ^[0-9]{1,4}$ - type: string - minItems: 1 - type: array - type: object - AusfInfo: - example: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - groupId: - type: string - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - routingIndicators: - items: - pattern: ^[0-9]{1,4}$ - type: string - minItems: 1 - type: array - type: object - AmfInfo: - example: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - amfSetId: - type: string - amfRegionId: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - taiRangeList: - items: - $ref: '#/components/schemas/TaiRange' - minItems: 1 - type: array - backupInfoAmfFailure: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - backupInfoAmfRemoval: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - n2InterfaceAmfInfo: - $ref: '#/components/schemas/N2InterfaceAmfInfo' - required: - - amfRegionId - - amfSetId - - guamiList - type: object - SmfInfo: - example: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - properties: - sNssaiSmfInfoList: - items: - $ref: '#/components/schemas/SnssaiSmfInfoItem' - minItems: 1 - type: array - taiList: - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - taiRangeList: - items: - $ref: '#/components/schemas/TaiRange' - minItems: 1 - type: array - pgwFqdn: - type: string - accessType: - items: - $ref: '#/components/schemas/AccessType' - minItems: 1 - type: array - required: - - sNssaiSmfInfoList - type: object - SnssaiSmfInfoItem: - example: - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssai: - $ref: '#/components/schemas/Snssai' - dnnSmfInfoList: - items: - $ref: '#/components/schemas/DnnSmfInfoItem' - minItems: 1 - type: array - required: - - dnnSmfInfoList - - sNssai - type: object - DnnSmfInfoItem: - example: - dnn: dnn - properties: - dnn: - type: string - required: - - dnn - type: object - UpfInfo: - example: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssaiUpfInfoList: - items: - $ref: '#/components/schemas/SnssaiUpfInfoItem' - minItems: 1 - type: array - smfServingArea: - items: - type: string - minItems: 1 - type: array - interfaceUpfInfoList: - items: - $ref: '#/components/schemas/InterfaceUpfInfoItem' - minItems: 1 - type: array - iwkEpsInd: - default: false - type: boolean - required: - - sNssaiUpfInfoList - type: object - SnssaiUpfInfoItem: - example: - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - sNssai: - $ref: '#/components/schemas/Snssai' - dnnUpfInfoList: - items: - $ref: '#/components/schemas/DnnUpfInfoItem' - minItems: 1 - type: array - required: - - dnnUpfInfoList - - sNssai - type: object - DnnUpfInfoItem: - example: - dnaiList: - - null - - null - dnn: dnn - properties: - dnn: - type: string - dnaiList: - items: - $ref: '#/components/schemas/Dnai' - minItems: 1 - type: array - required: - - dnn - type: object - InterfaceUpfInfoItem: - example: - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - properties: - interfaceType: - $ref: '#/components/schemas/UPInterfaceType' - ipv4EndpointAddresses: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6EndpointAddresses: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - endpointFqdn: - type: string - networkInstance: - type: string - required: - - interfaceType - type: object - UPInterfaceType: - enum: - - N3 - - N6 - - N9 - type: string - PcfInfo: - example: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - dnnList: - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - supiRanges: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - rxDiamHost: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - rxDiamRealm: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - type: object - BsfInfo: - example: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - properties: - dnnList: - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - ipDomainList: - items: - type: string - minItems: 1 - type: array - ipv4AddressRanges: - items: - $ref: '#/components/schemas/Ipv4AddressRange' - minItems: 1 - type: array - ipv6PrefixRanges: - items: - $ref: '#/components/schemas/Ipv6PrefixRange' - minItems: 1 - type: array - type: object - ChfInfo: - example: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - properties: - supiRangeList: - items: - $ref: '#/components/schemas/SupiRange' - minItems: 1 - type: array - gpsiRangeList: - items: - $ref: '#/components/schemas/IdentityRange' - minItems: 1 - type: array - plmnRangeList: - items: - $ref: '#/components/schemas/PlmnRange' - minItems: 1 - type: array - type: object - Ipv4AddressRange: - example: - start: 198.51.100.1 - end: 198.51.100.1 - properties: - start: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - end: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - type: object - Ipv6PrefixRange: - example: - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - properties: - start: - $ref: '#/components/schemas/Ipv6Prefix' - end: - $ref: '#/components/schemas/Ipv6Prefix' - type: object - DefaultNotificationSubscription: - example: - callbackUri: callbackUri - properties: - notificationType: - $ref: '#/components/schemas/NotificationType' - callbackUri: - type: string - n1MessageClass: - $ref: '#/components/schemas/N1MessageClass' - n2InformationClass: - $ref: '#/components/schemas/N2InformationClass' - required: - - callbackUri - - notificationType - type: object - NotificationType: - enum: - - N1_MESSAGES - - N2_INFORMATION - - LOCATION_NOTIFICATION - - DATA_REMOVAL_NOTIFICATION - - DATA_CHANGE_NOTIFICATION - type: string - TransportProtocol: - enum: - - TCP - type: string - NotificationEventType: - enum: - - NF_REGISTERED - - NF_DEREGISTERED - - NF_PROFILE_CHANGED - type: string - NotificationData: - allOf: - - anyOf: - - not: - properties: - event: - enum: - - NF_PROFILE_CHANGED - type: string - - oneOf: - - required: - - nfProfile - - required: - - profileChanges - - anyOf: - - not: - properties: - event: - enum: - - NF_REGISTERED - type: string - - required: - - nfProfile - example: - profileChanges: - - path: path - newValue: "" - from: from - origValue: "" - - path: path - newValue: "" - from: from - origValue: "" - nfProfile: "" - nfInstanceUri: nfInstanceUri - properties: - event: - $ref: '#/components/schemas/NotificationEventType' - nfInstanceUri: - type: string - nfProfile: - allOf: - - $ref: '#/components/schemas/NFProfile' - - not: - required: - - interPlmnFqdn - - properties: - nfServices: - items: - allOf: - - $ref: '#/components/schemas/NFService' - - not: - required: - - interPlmnFqdn - - not: - required: - - allowedPlmns - - not: - required: - - allowedNfTypes - - not: - required: - - allowedNfDomains - - not: - required: - - allowedNssais - type: array - profileChanges: - items: - $ref: '#/components/schemas/ChangeItem' - minItems: 1 - type: array - required: - - event - - nfInstanceUri - type: object - NFStatus: - enum: - - REGISTERED - - SUSPENDED - type: string - NFServiceVersion: - example: - apiFullVersion: apiFullVersion - apiVersionInUri: apiVersionInUri - expiry: 2000-01-23T04:56:07.000+00:00 - properties: - apiVersionInUri: - type: string - apiFullVersion: - type: string - expiry: - format: date-time - type: string - required: - - apiFullVersion - - apiVersionInUri - type: object - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - N2InterfaceAmfInfo: - example: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - properties: - ipv4EndpointAddress: - items: - $ref: '#/components/schemas/Ipv4Addr' - minItems: 1 - type: array - ipv6EndpointAddress: - items: - $ref: '#/components/schemas/Ipv6Addr' - minItems: 1 - type: array - amfName: - type: string - type: object - NFServiceStatus: - enum: - - REGISTERED - - SUSPENDED - type: string - TaiRange: - example: - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tacRangeList: - items: - $ref: '#/components/schemas/TacRange' - minItems: 1 - type: array - required: - - plmnId - - tacRangeList - type: object - TacRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^([A-Fa-f0-9]{4}|[A-Fa-f0-9]{6})$ - type: string - end: - pattern: ^([A-Fa-f0-9]{4}|[A-Fa-f0-9]{6})$ - type: string - pattern: - type: string - type: object - ChfServiceInfo: - example: - primaryChfServiceInstance: primaryChfServiceInstance - secondaryChfServiceInstance: secondaryChfServiceInstance - not: - required: - - primaryChfServiceInstance - - secondaryChfServiceInstance - properties: - primaryChfServiceInstance: - type: string - secondaryChfServiceInstance: - type: string - type: object - PlmnRange: - example: - start: start - pattern: pattern - end: end - properties: - start: - pattern: ^[0-9]{3}[0-9]{2,3}$ - type: string - end: - pattern: ^[0-9]{3}[0-9]{2,3}$ - type: string - pattern: - type: string - type: object - NrfInfo: - example: - servedUdrInfo: - key: - supportedDataSets: - - null - - null - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedUdmInfo: - key: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - externalGroupIdentifiersRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - gpsiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedPcfInfo: - key: - rxDiamHost: rxDiamHost - dnnList: - - null - - null - rxDiamRealm: rxDiamRealm - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedChfInfo: - key: - gpsiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - supiRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedAusfInfo: - key: - routingIndicators: - - routingIndicators - - routingIndicators - groupId: groupId - supiRanges: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - servedSmfInfo: - key: - accessType: - - null - - null - sNssaiSmfInfoList: - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnSmfInfoList: - - dnn: dnn - - dnn: dnn - sNssai: - sd: sd - sst: 153 - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - servedBsfInfo: - key: - dnnList: - - null - - null - ipv6PrefixRanges: - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - - start: 2001:db8:abcd:12::0/64 - end: 2001:db8:abcd:12::0/64 - ipDomainList: - - ipDomainList - - ipDomainList - ipv4AddressRanges: - - start: 198.51.100.1 - end: 198.51.100.1 - - start: 198.51.100.1 - end: 198.51.100.1 - servedAmfInfo: - key: - backupInfoAmfRemoval: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - taiRangeList: - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - - tacRangeList: - - start: start - pattern: pattern - end: end - - start: start - pattern: pattern - end: end - plmnId: - mnc: mnc - mcc: mcc - backupInfoAmfFailure: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - amfSetId: amfSetId - amfRegionId: amfRegionId - n2InterfaceAmfInfo: - ipv4EndpointAddress: - - 198.51.100.1 - - 198.51.100.1 - amfName: amfName - ipv6EndpointAddress: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - taiList: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - servedUpfInfo: - key: - iwkEpsInd: false - interfaceUpfInfoList: - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - - networkInstance: networkInstance - ipv4EndpointAddresses: - - 198.51.100.1 - - 198.51.100.1 - ipv6EndpointAddresses: - - 2001:db8:85a3::8a2e:370:7334 - - 2001:db8:85a3::8a2e:370:7334 - endpointFqdn: endpointFqdn - smfServingArea: - - smfServingArea - - smfServingArea - sNssaiUpfInfoList: - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - - dnnUpfInfoList: - - dnaiList: - - null - - null - dnn: dnn - - dnaiList: - - null - - null - dnn: dnn - sNssai: - sd: sd - sst: 153 - properties: - servedUdrInfo: - additionalProperties: - $ref: '#/components/schemas/UdrInfo' - minProperties: 1 - type: object - servedUdmInfo: - additionalProperties: - $ref: '#/components/schemas/UdmInfo' - minProperties: 1 - type: object - servedAusfInfo: - additionalProperties: - $ref: '#/components/schemas/AusfInfo' - minProperties: 1 - type: object - servedAmfInfo: - additionalProperties: - $ref: '#/components/schemas/AmfInfo' - minProperties: 1 - type: object - servedSmfInfo: - additionalProperties: - $ref: '#/components/schemas/SmfInfo' - minProperties: 1 - type: object - servedUpfInfo: - additionalProperties: - $ref: '#/components/schemas/UpfInfo' - minProperties: 1 - type: object - servedPcfInfo: - additionalProperties: - $ref: '#/components/schemas/PcfInfo' - minProperties: 1 - type: object - servedBsfInfo: - additionalProperties: - $ref: '#/components/schemas/BsfInfo' - minProperties: 1 - type: object - servedChfInfo: - additionalProperties: - $ref: '#/components/schemas/ChfInfo' - minProperties: 1 - type: object - type: object - LinksValueSchema: - oneOf: - - items: - $ref: '#/components/schemas/Link' - minItems: 1 - type: array - - $ref: '#/components/schemas/Link' - Link: - properties: - href: - type: string - type: object - Uri: - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - NfInstanceId: - format: uuid - type: string - PatchItem: - properties: - op: - $ref: '#/components/schemas/PatchOperation' - path: - type: string - from: - type: string - value: - nullable: true - required: - - op - - path - type: object - PatchOperation: - enum: - - add - - copy - - move - - remove - - replace - - test - type: string - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - DateTime: - format: date-time - type: string - UriScheme: - enum: - - http - - https - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - NfGroupId: - type: string - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - Dnn: - type: string - Dnai: - type: string - DiameterIdentity: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - N1MessageClass: - enum: - - 5GMM - - SM - - LPP - - SMS - - UPDP - type: string - N2InformationClass: - enum: - - SM - - NRPPa - - PWS - - PWS-BCAL - - PWS-RF - - RAN - type: string - ChangeItem: - example: - path: path - newValue: "" - from: from - origValue: "" - properties: - op: - $ref: '#/components/schemas/ChangeType' - path: - type: string - from: - type: string - origValue: {} - newValue: {} - required: - - op - - path - type: object - ChangeType: - enum: - - ADD - - MOVE - - REMOVE - - REPLACE - type: string - AmfName: - type: string - nullnftype: - enum: - - NRF - - UDM - - AMF - - SMF - - AUSF - - NEF - - PCF - - SMSF - - NSSF - - UDR - - LMF - - GMLC - - 5G_EIR - - SEPP - - UPF - - N3IWF - - AF - - UDSF - - BSF - - CHF - - NWDAF - type: string - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nnrf-nfm: Access to the Nnrf_NFManagement API - tokenUrl: /oauth2/token - type: oauth2 diff --git a/Nnrf_NFManagement/api_nf_instance_id_document.go b/Nnrf_NFManagement/api_nf_instance_id_document.go deleted file mode 100644 index 80bed28f..00000000 --- a/Nnrf_NFManagement/api_nf_instance_id_document.go +++ /dev/null @@ -1,573 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NFInstanceIDDocumentApiService service - -/* -NFInstanceIDDocumentApiService Deregisters a given NF Instance - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfInstanceID Unique ID of the NF Instance to deregister -*/ - -func (a *NFInstanceIDDocumentApiService) DeregisterNFInstance(ctx context.Context, nfInstanceID string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" - localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", fmt.Sprintf("%v", nfInstanceID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - if err != nil { - apiError.ErrorStatus = err.Error() - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in DeregisterNFInstance", localVarHTTPResponse.StatusCode) - } -} - -/* -NFInstanceIDDocumentApiService Read the profile of a given NF Instance - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfInstanceID Unique ID of the NF Instance -@return models.NfProfile -*/ - -func (a *NFInstanceIDDocumentApiService) GetNFInstance(ctx context.Context, nfInstanceID string) (models.NfProfile, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NfProfile - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" - localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", fmt.Sprintf("%v", nfInstanceID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -NFInstanceIDDocumentApiService Register a new NF Instance - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfInstanceID Unique ID of the NF Instance to register - * @param nfProfile -@return models.NfProfile -*/ - -func (a *NFInstanceIDDocumentApiService) RegisterNFInstance(ctx context.Context, nfInstanceID string, nfProfile models.NfProfile) (models.NfProfile, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NfProfile - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" - localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", fmt.Sprintf("%v", nfInstanceID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // [Warning] Each NF should setup own location header for itself - localVarHeaderParams["Location"] = "128.0.0.1:5487" - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nfProfile - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -NFInstanceIDDocumentApiService Update NF Instance profile - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfInstanceID Unique ID of the NF Instance to update - * @param patchItem -@return models.NfProfile -*/ - -func (a *NFInstanceIDDocumentApiService) UpdateNFInstance(ctx context.Context, nfInstanceID string, patchItem []models.PatchItem) (models.NfProfile, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NfProfile - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" - localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", fmt.Sprintf("%v", nfInstanceID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFManagement/api_nf_instances_store.go b/Nnrf_NFManagement/api_nf_instances_store.go deleted file mode 100644 index 1004fc21..00000000 --- a/Nnrf_NFManagement/api_nf_instances_store.go +++ /dev/null @@ -1,195 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NFInstancesStoreApiService service - -/* -NFInstancesStoreApiService Retrieves a collection of NF Instances - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *GetNFInstancesParamOpts - Optional Parameters: - * @param "NfType" (optional.Interface of models.NfType) - Type of NF - * @param "Limit" (optional.Int32) - How many items to return at one time -@return map[string]interface{} -*/ - -type GetNFInstancesParamOpts struct { - NfType optional.Interface - Limit optional.Int32 -} - -func (a *NFInstancesStoreApiService) GetNFInstances(ctx context.Context, localVarOptionals *GetNFInstancesParamOpts) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue map[string]interface{} - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nf-instances" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.NfType.IsSet() { - localVarQueryParams.Add("nf-type", openapi.ParameterToString(localVarOptionals.NfType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", openapi.ParameterToString(localVarOptionals.Limit.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/3gppHal+json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFManagement/api_notification.go b/Nnrf_NFManagement/api_notification.go deleted file mode 100644 index 721fe129..00000000 --- a/Nnrf_NFManagement/api_notification.go +++ /dev/null @@ -1,181 +0,0 @@ -/* - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NotificationApiService service - -/* -NotificationApiService Notifies about updates to NSSAI availability information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nrfNotificationData Notification about updates to NSSAI availability information -*/ - -func (a *NotificationApiService) NotificationPost(ctx context.Context, nrfNotificationData NotificationData) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nrfNotificationData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFManagement/api_subscription_id_document.go b/Nnrf_NFManagement/api_subscription_id_document.go deleted file mode 100644 index 2fb6ba35..00000000 --- a/Nnrf_NFManagement/api_subscription_id_document.go +++ /dev/null @@ -1,333 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionIDDocumentApiService service - -/* -SubscriptionIDDocumentApiService Deletes a subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionID Unique ID of the subscription to remove -*/ - -func (a *SubscriptionIDDocumentApiService) RemoveSubscription(ctx context.Context, subscriptionID string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionID}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionID"+"}", fmt.Sprintf("%v", subscriptionID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -SubscriptionIDDocumentApiService Updates a subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionID Unique ID of the subscription to update - * @param patchItem -@return models.SubscriptionData -*/ - -func (a *SubscriptionIDDocumentApiService) UpdateSubscription(ctx context.Context, subscriptionID string, patchItem []models.PatchItem) (models.NrfSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NrfSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionID}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionID"+"}", fmt.Sprintf("%v", subscriptionID), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFManagement/api_subscriptions_collection.go b/Nnrf_NFManagement/api_subscriptions_collection.go deleted file mode 100644 index ffdc2483..00000000 --- a/Nnrf_NFManagement/api_subscriptions_collection.go +++ /dev/null @@ -1,182 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionsCollectionApiService service - -/* -SubscriptionsCollectionApiService Create a new subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionData -@return models.SubscriptionData -*/ - -func (a *SubscriptionsCollectionApiService) CreateSubscription(ctx context.Context, subscriptionData models.NrfSubscriptionData) (models.NrfSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NrfSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &subscriptionData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnrf_NFManagement/client.go b/Nnrf_NFManagement/client.go deleted file mode 100644 index 5245a0b5..00000000 --- a/Nnrf_NFManagement/client.go +++ /dev/null @@ -1,47 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -// APIClient manages communication with the NRF NFManagement Service API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - NFInstanceIDDocumentApi *NFInstanceIDDocumentApiService - NFInstancesStoreApi *NFInstancesStoreApiService - SubscriptionIDDocumentApi *SubscriptionIDDocumentApiService - SubscriptionsCollectionApi *SubscriptionsCollectionApiService - NotificationApi *NotificationApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.NFInstanceIDDocumentApi = (*NFInstanceIDDocumentApiService)(&c.common) - c.NFInstancesStoreApi = (*NFInstancesStoreApiService)(&c.common) - c.SubscriptionIDDocumentApi = (*SubscriptionIDDocumentApiService)(&c.common) - c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) - c.NotificationApi = (*NotificationApiService)(&c.common) - return c -} diff --git a/Nnrf_NFManagement/configuration.go b/Nnrf_NFManagement/configuration.go deleted file mode 100644 index 4d79b6f2..00000000 --- a/Nnrf_NFManagement/configuration.go +++ /dev/null @@ -1,79 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnrf_NFManagement - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nnrf-nfm/v1", - url: "{apiRoot}/nnrf-nfm/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) SetBasePathNoGroup(basePath string) { - c.basePath = basePath -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnssf_NSSAIAvailability/.gitignore b/Nnssf_NSSAIAvailability/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nnssf_NSSAIAvailability/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nnssf_NSSAIAvailability/CHANGELOG.md b/Nnssf_NSSAIAvailability/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nnssf_NSSAIAvailability/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nnssf_NSSAIAvailability/api/openapi.yaml b/Nnssf_NSSAIAvailability/api/openapi.yaml deleted file mode 100644 index 01096511..00000000 --- a/Nnssf_NSSAIAvailability/api/openapi.yaml +++ /dev/null @@ -1,415 +0,0 @@ -openapi: 3.0.0 - -info: - version: '1.0.0' - title: 'NSSF NSSAI Availability' - description: 'NSSF NSSAI Availability Service' -security: - - {} - - oAuth2Clientcredentials: - - nnssf-nssaiavailability -servers: - - url: '{apiRoot}/nnssf-nssaiavailability/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501 -externalDocs: - description: 3GPP TS 29.531 V15.2.0; 5G System; Network Slice Selection Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ -paths: - /nssai-availability/{nfId}: - put: - summary: Updates/replaces the NSSF with the S-NSSAIs the NF service consumer (e.g AMF)supports per TA - tags: - - NF Instance ID (Document) - operationId: NSSAIAvailabilityPut - parameters: - - name: nfId - in: path - description: Identifier of the NF service consumer instance - required: true - schema: - $ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId' - requestBody: - description: Parameters to update/replace at the NSSF, the S-NSSAIs supported per TA - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/NssaiAvailabilityInfo' - responses: - '200': - description: OK (Successful update of SNSSAI information per TA) - content: - application/json: - schema: - $ref: '#/components/schemas/AuthorizedNssaiAvailabilityInfo' - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '403': - $ref: 'TS29571_CommonData.yaml#/components/responses/403' - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - - '411': - $ref: 'TS29571_CommonData.yaml#/components/responses/411' - '413': - $ref: 'TS29571_CommonData.yaml#/components/responses/413' - '415': - $ref: 'TS29571_CommonData.yaml#/components/responses/415' - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - default: - description: Unexpected error - - patch: - summary: Updates an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) - tags: - - NF Instance ID (Document) - operationId: NSSAIAvailabilityPatch - parameters: - - name: nfId - in: path - description: Identifier of the NF service consumer instance - required: true - schema: - type: string - requestBody: - description: JSON Patch instructions to update at the NSSF, the S-NSSAIs supported per TA - required: true - content: - application/json-patch+json:: - schema: - $ref: '#/components/schemas/PatchDocument' - - responses: - '200': - description: OK (Successful update of SNSSAI information per TA) - content: - application/json: - schema: - $ref: '#/components/schemas/AuthorizedNssaiAvailabilityInfo' - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '403': - $ref: 'TS29571_CommonData.yaml#/components/responses/403' - - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - - '411': - $ref: 'TS29571_CommonData.yaml#/components/responses/411' - '413': - $ref: 'TS29571_CommonData.yaml#/components/responses/413' - '415': - $ref: 'TS29571_CommonData.yaml#/components/responses/415' - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - default: - description: Unexpected error - - - delete: - summary: Deletes an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) - tags: - - NF Instance ID (Document) - operationId: NSSAIAvailabilityDelete - parameters: - - name: nfId - in: path - description: Identifier of the NF service consumer instance - required: true - schema: - type: string - - responses: - '204': - description: No Content (Successful deletion of SNSSAI information per TA) - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - - default: - description: Unexpected error - - - /nssai-availability/subscriptions: - post: - summary: Creates subscriptions for notification about updates to NSSAI availability information - tags: - - Subscriptions (Collection) - operationId: NSSAIAvailabilityPost - requestBody: - description: Subscription for notification about updates to NSSAI availability information - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/NssfEventSubscriptionCreateData' - callbacks: - nssaiAvailabilityNotification: - '{request.body#/nfNssaiAvailabilityUri}': - post: - requestBody: # contents of the callback message - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/NssfEventNotification' - responses: - '204': - description: No Content (successful notification) - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '411': - $ref: 'TS29571_CommonData.yaml#/components/responses/411' - '413': - $ref: 'TS29571_CommonData.yaml#/components/responses/413' - '415': - $ref: 'TS29571_CommonData.yaml#/components/responses/415' - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - default: - description: Unexpected error - - - responses: - '201': - description: Created (Successful creation of subscription for notification) - content: - application/json: - schema: - $ref: '#/components/schemas/NssfEventSubscriptionCreatedData' - headers: - Location: - description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nnssf-nssaiavailability/v1/nssai-availability/subscriptions/{subscriptionId}' - required: true - schema: - type: string - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '403': - $ref: 'TS29571_CommonData.yaml#/components/responses/403' - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - - '411': - $ref: 'TS29571_CommonData.yaml#/components/responses/411' - '413': - $ref: 'TS29571_CommonData.yaml#/components/responses/413' - '415': - $ref: 'TS29571_CommonData.yaml#/components/responses/415' - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - default: - description: Unexpected error - - /nssai-availability/subscriptions/{subscriptionId}: - delete: - summary: Deletes an already existing NSSAI availability notification subscription - tags: - - Subscription ID (Document) - operationId: NSSAIAvailabilityUnsubscribe - parameters: - - name: subscriptionId - in: path - description: Identifier of the subscription for notification - required: true - schema: - type: string - - responses: - '204': - description: No Content (Successful deletion of subscription for NSSAI Availability notification) - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - - default: - description: Unexpected error - -components: - securitySchemes: - oAuth2ClientCredentials: - type: oauth2 - flows: - clientCredentials: - tokenUrl: '{nrfApiRoot}/oauth2/token' - scopes: - nnssf-nssaiavailability: Access to the Nnssf_NSSAIAvailability API - - schemas: - NssaiAvailabilityInfo: - type: object - required: - - supportedNssaiAvailabilityData - properties: - supportedNssaiAvailabilityData: - type: array - items: - $ref: '#/components/schemas/SupportedNssaiAvailabilityData' - minItems: 1 - supportedFeatures: - $ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures' - - SupportedNssaiAvailabilityData: - type: object - required: - - tai - - supportedSnssaiList - properties: - tai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Tai' - supportedSnssaiList: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - - AuthorizedNssaiAvailabilityData: - type: object - required: - - tai - - supportedSnssaiList - properties: - tai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Tai' - supportedSnssaiList: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - restrictedSnssaiList: - type: array - items: - $ref: '#/components/schemas/RestrictedSnssai' - minItems: 1 - - RestrictedSnssai: - type: object - required: - - homePlmnId - - sNssaiList - properties: - homePlmnId: - $ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId' - sNssaiList: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - - AuthorizedNssaiAvailabilityInfo: - type: object - required: - - authorizedNssaiAvailabilityData - properties: - authorizedNssaiAvailabilityData: - type: array - items: - $ref: '#/components/schemas/AuthorizedNssaiAvailabilityData' - minItems: 1 - supportedFeatures: - $ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures' - - NssfEventSubscriptionCreateData: - type: object - required: - - nfNssaiAvailabilityUri - - taiList - - event - properties: - nfNssaiAvailabilityUri: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri' - taiList: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Tai' - minItems: 1 - event: - $ref: '#/components/schemas/NssfEventType' - expiry: - $ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime' - - NssfEventSubscriptionCreatedData: - type: object - required: - - subscriptionId - properties: - subscriptionId: - type: string - expiry: - $ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime' - authorizedNssaiAvailabilityData: - type: array - items: - $ref: '#/components/schemas/AuthorizedNssaiAvailabilityData' - minItems: 1 - - NssfEventNotification: - type: object - required: - - subscriptionId - - authorizedNssaiAvailabilityData - properties: - subscriptionId: - type: string - authorizedNssaiAvailabilityData: - type: array - items: - $ref: '#/components/schemas/AuthorizedNssaiAvailabilityData' - minItems: 1 - NssfEventType: - anyOf: - - type: string - enum: - - SNSSAI_STATUS_CHANGE_REPORT - - type: string - PatchDocument: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/PatchItem' - minItems: 1 diff --git a/Nnssf_NSSAIAvailability/api_nf_instance_id_document.go b/Nnssf_NSSAIAvailability/api_nf_instance_id_document.go deleted file mode 100644 index 9c29df78..00000000 --- a/Nnssf_NSSAIAvailability/api_nf_instance_id_document.go +++ /dev/null @@ -1,478 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NFInstanceIDDocumentApiService service - -/* -NFInstanceIDDocumentApiService Deletes an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfId Identifier of the NF service consumer instance -*/ - -func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityDelete(ctx context.Context, nfId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" - localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", fmt.Sprintf("%v", nfId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -NFInstanceIDDocumentApiService Updates an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfId Identifier of the NF service consumer instance - * @param patchItem JSON Patch instructions to update at the NSSF, the S-NSSAIs supported per TA -@return AuthorizedNssaiAvailabilityInfo -*/ - -func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityPatch(ctx context.Context, nfId string, patchItem []PatchItem) (AuthorizedNssaiAvailabilityInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AuthorizedNssaiAvailabilityInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" - localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", fmt.Sprintf("%v", nfId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json:"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -NFInstanceIDDocumentApiService Updates/replaces the NSSF with the S-NSSAIs the NF service consumer (e.g AMF)supports per TA - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfId Identifier of the NF service consumer instance - * @param nssaiAvailabilityInfo Parameters to update/replace at the NSSF, the S-NSSAIs supported per TA -@return AuthorizedNssaiAvailabilityInfo -*/ - -func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityPut(ctx context.Context, nfId string, nssaiAvailabilityInfo NssaiAvailabilityInfo) (AuthorizedNssaiAvailabilityInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AuthorizedNssaiAvailabilityInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" - localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", fmt.Sprintf("%v", nfId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nssaiAvailabilityInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnssf_NSSAIAvailability/api_notification.go b/Nnssf_NSSAIAvailability/api_notification.go deleted file mode 100644 index 8a12dcec..00000000 --- a/Nnssf_NSSAIAvailability/api_notification.go +++ /dev/null @@ -1,185 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NotificationApiService service - -/* -NotificationApiService Notifies about updates to NSSAI availability information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param data Notification data structures -*/ - -func (a *NotificationApiService) NotificationPost(ctx context.Context, data interface{}) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = data - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nnssf_NSSAIAvailability/api_subscription_id_document.go b/Nnssf_NSSAIAvailability/api_subscription_id_document.go deleted file mode 100644 index 4d4acd61..00000000 --- a/Nnssf_NSSAIAvailability/api_subscription_id_document.go +++ /dev/null @@ -1,148 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionIDDocumentApiService service - -/* -SubscriptionIDDocumentApiService Deletes an already existing NSSAI availability notification subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Identifier of the subscription for notification -*/ - -func (a *SubscriptionIDDocumentApiService) NSSAIAvailabilityUnsubscribe(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nssai-availability/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nnssf_NSSAIAvailability/api_subscriptions_collection.go b/Nnssf_NSSAIAvailability/api_subscriptions_collection.go deleted file mode 100644 index 6fab306c..00000000 --- a/Nnssf_NSSAIAvailability/api_subscriptions_collection.go +++ /dev/null @@ -1,191 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionsCollectionApiService service - -/* -SubscriptionsCollectionApiService Creates subscriptions for notification about updates to NSSAI availability information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nssfEventSubscriptionCreateData Subscription for notification about updates to NSSAI availability information -@return NssfEventSubscriptionCreatedData -*/ - -func (a *SubscriptionsCollectionApiService) NSSAIAvailabilityPost(ctx context.Context, nssfEventSubscriptionCreateData NssfEventSubscriptionCreateData) (NssfEventSubscriptionCreatedData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue NssfEventSubscriptionCreatedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/nssai-availability/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nssfEventSubscriptionCreateData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnssf_NSSAIAvailability/client.go b/Nnssf_NSSAIAvailability/client.go deleted file mode 100644 index f0cd568a..00000000 --- a/Nnssf_NSSAIAvailability/client.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -// APIClient manages communication with the NSSF NSSAI Availability API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - NFInstanceIDDocumentApi *NFInstanceIDDocumentApiService - SubscriptionIDDocumentApi *SubscriptionIDDocumentApiService - SubscriptionsCollectionApi *SubscriptionsCollectionApiService - NotificationApi *NotificationApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.NFInstanceIDDocumentApi = (*NFInstanceIDDocumentApiService)(&c.common) - c.SubscriptionIDDocumentApi = (*SubscriptionIDDocumentApiService)(&c.common) - c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) - c.NotificationApi = (*NotificationApiService)(&c.common) - - return c -} diff --git a/Nnssf_NSSAIAvailability/configuration.go b/Nnssf_NSSAIAvailability/configuration.go deleted file mode 100644 index 5148963a..00000000 --- a/Nnssf_NSSAIAvailability/configuration.go +++ /dev/null @@ -1,79 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSAIAvailability - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nnssf-nssaiavailability/v1", - url: "{apiRoot}/nnssf-nssaiavailability/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) SetBasePathNoGroup(basePath string) { - c.basePath = basePath -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nnssf_NSSelection/.gitignore b/Nnssf_NSSelection/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nnssf_NSSelection/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nnssf_NSSelection/CHANGELOG.md b/Nnssf_NSSelection/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nnssf_NSSelection/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nnssf_NSSelection/api/openapi.yaml b/Nnssf_NSSelection/api/openapi.yaml deleted file mode 100644 index 8b323f65..00000000 --- a/Nnssf_NSSelection/api/openapi.yaml +++ /dev/null @@ -1,276 +0,0 @@ -openapi: 3.0.0 - -info: - version: '1.0.0' - title: 'NSSF NS Selection' - description: 'NSSF Network Slice Selection Service' -security: - - {} - - oAuth2Clientcredentials: - - nnssf-nsselection -servers: - - url: '{apiRoot}/nnssf-nsselection/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501 -externalDocs: - description: 3GPP TS 29.531 V15.2.0; 5G System; Network Slice Selection Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ -paths: - /network-slice-information: - get: - summary: Retrieve the Network Slice Selection Information - tags: - - Network Slice Information (Document) - operationId: NSSelectionGet - parameters: - - name: nf-type - in: query - description: NF type of the NF service consumer - required: true - schema: - $ref: 'TS29510_Nnrf_NFManagement.yaml#/components/schemas/NFType' - - name: nf-id - in: query - description: NF Instance ID of the NF service consumer - required: true - schema: - $ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId' - - name: slice-info-request-for-registration - in: query - description: Requested network slice information during Registration procedure - content: - application/json: - schema: - $ref: '#/components/schemas/SliceInfoForRegistration' - - name: slice-info-request-for-pdu-session - in: query - description: Requested network slice information during PDU session establishment procedure - content: - application/json: - schema: - $ref: '#/components/schemas/SliceInfoForPDUSession' - - name: home-plmn-id - in: query - description: PLMN ID of the HPLMN - content: - application/json: - schema: - $ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId' - - name: tai - in: query - description: TAI of the UE - content: - application/json: - schema: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Tai' - - name: supported-features - in: query - description: Features required to be supported by the NFs in the target slice instance - schema: - $ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures' - - responses: - '200': - description: OK (Successful Network Slice Selection) - content: - application/json: - schema: - $ref: '#/components/schemas/AuthorizedNetworkSliceInfo' - '400': - $ref: 'TS29571_CommonData.yaml#/components/responses/400' - '401': - $ref: 'TS29571_CommonData.yaml#/components/responses/401' - '403': - $ref: 'TS29571_CommonData.yaml#/components/responses/403' - '404': - $ref: 'TS29571_CommonData.yaml#/components/responses/404' - '406': - $ref: 'TS29571_CommonData.yaml#/components/responses/406' - '414': - $ref: 'TS29571_CommonData.yaml#/components/responses/414' - '429': - $ref: 'TS29571_CommonData.yaml#/components/responses/429' - '500': - $ref: 'TS29571_CommonData.yaml#/components/responses/500' - '503': - $ref: 'TS29571_CommonData.yaml#/components/responses/503' - default: - description: Unexpected error - -components: - securitySchemes: - oAuth2ClientCredentials: - type: oauth2 - flows: - clientCredentials: - tokenUrl: '{nrfApiRoot}/oauth2/token' - scopes: - nnssf-nsselection: Access to the Nnssf_NSSelection API - schemas: - AuthorizedNetworkSliceInfo: - type: object - properties: - allowedNssaiList: - type: array - items: - $ref: '#/components/schemas/AllowedNssai' - minItems: 1 - configuredNssai: - type: array - items: - $ref: '#/components/schemas/ConfiguredSnssai' - minItems: 1 - targetAmfSet: - type: string - candidateAmfList: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId' - minItems: 1 - rejectedNssaiInPlmn: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - rejectedNssaiInTa: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - nsiInformation: - $ref: '#/components/schemas/NsiInformation' - supportedFeatures: - $ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures' - nrfAmfSet: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri' - - SubscribedSnssai: - type: object - required: - - subscribedSnssai - properties: - subscribedSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - defaultIndication: - type: boolean - - - AllowedSnssai: - type: object - required: - - allowedSnssai - properties: - allowedSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - nsiInformationList: - type: array - items: - $ref: '#/components/schemas/NsiInformation' - minItems: 1 - mappedHomeSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - - AllowedNssai: - type: object - required: - - allowedSnssaiList - - accessType - properties: - allowedSnssaiList: - type: array - items: - $ref: '#/components/schemas/AllowedSnssai' - minItems: 1 - accessType: - $ref: 'TS29571_CommonData.yaml#/components/schemas/AccessType' - - NsiInformation: - type: object - required: - - nrfId - properties: - nrfId: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri' - nsiId: - $ref: '#/components/schemas/NsiId' - - MappingOfSnssai: - type: object - required: - - servingSnssai - - homeSnssai - properties: - servingSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - homeSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - - - SliceInfoForRegistration: - type: object - properties: - subscribedNssai: - type: array - items: - $ref: '#/components/schemas/SubscribedSnssai' - minItems: 1 - allowedNssaiCurrentAccess: - $ref: '#/components/schemas/AllowedNssai' - allowedNssaiOtherAccess: - $ref: '#/components/schemas/AllowedNssai' - sNssaiForMapping: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - requestedNssai: - type: array - items: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - minItems: 1 - defaultConfiguredSnssaiInd: - type: boolean - mappingOfNssai: - type: array - items: - $ref: '#/components/schemas/MappingOfSnssai' - minItems: 1 - requestMapping: - type: boolean - - SliceInfoForPDUSession: - type: object - required: - - sNssai - - roamingIndication - properties: - sNssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - roamingIndication: - $ref: '#/components/schemas/RoamingIndication' - homeSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - - ConfiguredSnssai: - type: object - required: - - configuredSnssai - properties: - configuredSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - mappedHomeSnssai: - $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai' - - - RoamingIndication: - anyOf: - - type: string - enum: - - NON_ROAMING - - LOCAL_BREAKOUT - - HOME_ROUTED_ROAMING - - type: string - NsiId: - type: string diff --git a/Nnssf_NSSelection/api_network_slice_information_document.go b/Nnssf_NSSelection/api_network_slice_information_document.go deleted file mode 100644 index 29367185..00000000 --- a/Nnssf_NSSelection/api_network_slice_information_document.go +++ /dev/null @@ -1,207 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSelection - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - . "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type NetworkSliceInformationDocumentApiService service - -/* -NetworkSliceInformationDocumentApiService Retrieve the Network Slice Selection Information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nfType NF type of the NF service consumer - * @param nfId NF Instance ID of the NF service consumer - * @param optional nil or *NSSelectionGetParamOpts - Optional Parameters: - * @param "SliceInfoRequestForRegistration" (optional.Interface of SliceInfoForRegistration) - Requested network slice information during Registration procedure - * @param "SliceInfoRequestForPduSession" (optional.Interface of SliceInfoForPduSession) - Requested network slice information during PDU session establishment procedure - * @param "HomePlmnId" (optional.Interface of PlmnId) - PLMN ID of the HPLMN - * @param "Tai" (optional.Interface of Tai) - TAI of the UE - * @param "SupportedFeatures" (optional.String) - Features required to be supported by the NFs in the target slice instance -@return AuthorizedNetworkSliceInfo -*/ - -type NSSelectionGetParamOpts struct { - SliceInfoRequestForRegistration optional.Interface - SliceInfoRequestForPduSession optional.Interface - HomePlmnId optional.Interface - Tai optional.Interface - SupportedFeatures optional.String -} - -func (a *NetworkSliceInformationDocumentApiService) NSSelectionGet(ctx context.Context, nfType NfType, nfId string, localVarOptionals *NSSelectionGetParamOpts) (AuthorizedNetworkSliceInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AuthorizedNetworkSliceInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/network-slice-information" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("nf-type", openapi.ParameterToString(nfType, "")) - localVarQueryParams.Add("nf-id", openapi.ParameterToString(nfId, "")) - if localVarOptionals != nil && localVarOptionals.SliceInfoRequestForRegistration.IsSet() { - localVarQueryParams.Add("slice-info-request-for-registration", openapi.ParameterToString(localVarOptionals.SliceInfoRequestForRegistration.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SliceInfoRequestForPduSession.IsSet() { - localVarQueryParams.Add("slice-info-request-for-pdu-session", openapi.ParameterToString(localVarOptionals.SliceInfoRequestForPduSession.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.HomePlmnId.IsSet() { - localVarQueryParams.Add("home-plmn-id", openapi.ParameterToString(localVarOptionals.HomePlmnId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Tai.IsSet() { - localVarQueryParams.Add("tai", openapi.ParameterToString(localVarOptionals.Tai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nnssf_NSSelection/client.go b/Nnssf_NSSelection/client.go deleted file mode 100644 index 7b935c05..00000000 --- a/Nnssf_NSSelection/client.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSelection - -// APIClient manages communication with the NSSF NS Selection API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - NetworkSliceInformationDocumentApi *NetworkSliceInformationDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.NetworkSliceInformationDocumentApi = (*NetworkSliceInformationDocumentApiService)(&c.common) - - return c -} diff --git a/Nnssf_NSSelection/configuration.go b/Nnssf_NSSelection/configuration.go deleted file mode 100644 index f42560c9..00000000 --- a/Nnssf_NSSelection/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nnssf_NSSelection - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nnssf-nsselection/v1", - url: "{apiRoot}/nnssf-nsselection/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Npcf_AMPolicy/.gitignore b/Npcf_AMPolicy/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Npcf_AMPolicy/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Npcf_AMPolicy/CHANGELOG.md b/Npcf_AMPolicy/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Npcf_AMPolicy/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Npcf_AMPolicy/api_default.go b/Npcf_AMPolicy/api_default.go deleted file mode 100644 index 5afc8396..00000000 --- a/Npcf_AMPolicy/api_default.go +++ /dev/null @@ -1,621 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_AMPolicy - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association -*/ - -func (a *DefaultApiService) PoliciesPolAssoIdDelete(ctx context.Context, polAssoId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association -@return models.PolicyAssociation -*/ - -func (a *DefaultApiService) PoliciesPolAssoIdGet(ctx context.Context, polAssoId string) (models.PolicyAssociation, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyAssociation - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association - * @param policyAssociationUpdateRequest -@return models.PolicyUpdate -*/ - -func (a *DefaultApiService) PoliciesPolAssoIdUpdatePost(ctx context.Context, polAssoId string, policyAssociationUpdateRequest models.PolicyAssociationUpdateRequest) (models.PolicyUpdate, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyUpdate - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}/update" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &policyAssociationUpdateRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param policyAssociationRequest -@return models.PolicyAssociation -*/ - -func (a *DefaultApiService) PoliciesPost(ctx context.Context, policyAssociationRequest models.PolicyAssociationRequest) (models.PolicyAssociation, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyAssociation - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policies" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &policyAssociationRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_AMPolicy/api_default_callback.go b/Npcf_AMPolicy/api_default_callback.go deleted file mode 100644 index d20fd1a6..00000000 --- a/Npcf_AMPolicy/api_default_callback.go +++ /dev/null @@ -1,334 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_AMPolicy - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultCallbackApiService service - -func (a *DefaultCallbackApiService) PolicyUpdateNotification(ctx context.Context, notifyUrl string, request models.PolicyUpdate) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := notifyUrl + "/update" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 307: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -func (a *DefaultCallbackApiService) PolicyAssocitionTerminationRequestNotification(ctx context.Context, notifyUrl string, request models.TerminationNotification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := notifyUrl + "/terminate" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 307: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Npcf_AMPolicy/client.go b/Npcf_AMPolicy/client.go deleted file mode 100644 index d46d8c7d..00000000 --- a/Npcf_AMPolicy/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_AMPolicy - -// APIClient manages communication with the Npcf_AMPolicyControl API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService - DefaultCallbackApi *DefaultCallbackApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - c.DefaultCallbackApi = (*DefaultCallbackApiService)(&c.common) - - return c -} diff --git a/Npcf_AMPolicy/configuration.go b/Npcf_AMPolicy/configuration.go deleted file mode 100644 index 64b6eca4..00000000 --- a/Npcf_AMPolicy/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_AMPolicy - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/npcf-am-policy-control/v1", - url: "{apiRoot}/npcf-am-policy-control/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Npcf_BDTPolicyControl/.gitignore b/Npcf_BDTPolicyControl/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Npcf_BDTPolicyControl/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Npcf_BDTPolicyControl/CHANGELOG.md b/Npcf_BDTPolicyControl/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Npcf_BDTPolicyControl/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Npcf_BDTPolicyControl/api_bdt_policies_collection.go b/Npcf_BDTPolicyControl/api_bdt_policies_collection.go deleted file mode 100644 index f8ba96da..00000000 --- a/Npcf_BDTPolicyControl/api_bdt_policies_collection.go +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_BDTPolicyControl - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type BDTPoliciesCollectionApiService service - -/* - BDTPoliciesCollectionApiService Create a new Individual BDT policy - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtReqData Contains information for the creation of a new Individual BDT policy resource. - @return models.BdtPolicy -*/ - -func (a *BDTPoliciesCollectionApiService) CreateBDTPolicy(ctx context.Context, bdtReqData models.BdtReqData) (models.BdtPolicy, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.BdtPolicy - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/bdtpolicies" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &bdtReqData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 303: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_BDTPolicyControl/api_individual_bdt_policy_document.go b/Npcf_BDTPolicyControl/api_individual_bdt_policy_document.go deleted file mode 100644 index 587c2140..00000000 --- a/Npcf_BDTPolicyControl/api_individual_bdt_policy_document.go +++ /dev/null @@ -1,332 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_BDTPolicyControl - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualBDTPolicyDocumentApiService service - -/* - IndividualBDTPolicyDocumentApiService Read an Individual BDT policy - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtPolicyId String identifying the individual BDT policy resource in the PCF. - @return models.BdtPolicy -*/ - -func (a *IndividualBDTPolicyDocumentApiService) GetBDTPolicy(ctx context.Context, bdtPolicyId string) (models.BdtPolicy, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.BdtPolicy - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/bdtpolicies/{bdtPolicyId}" - localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", fmt.Sprintf("%v", bdtPolicyId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* - IndividualBDTPolicyDocumentApiService Update an Individual BDT policy - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtPolicyId String identifying the individual BDT policy resource in the PCF. - * @param bdtPolicyDataPatch Contains modification instruction to be performed on the BdtPolicy data structure to select a transfer policy. - @return models.BdtPolicy -*/ - -func (a *IndividualBDTPolicyDocumentApiService) UpdateBDTPolicy(ctx context.Context, bdtPolicyId string, bdtPolicyDataPatch models.BdtPolicyDataPatch) (models.BdtPolicy, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.BdtPolicy - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/bdtpolicies/{bdtPolicyId}" - localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", fmt.Sprintf("%v", bdtPolicyId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &bdtPolicyDataPatch - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_BDTPolicyControl/client.go b/Npcf_BDTPolicyControl/client.go deleted file mode 100644 index a40f33f4..00000000 --- a/Npcf_BDTPolicyControl/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_BDTPolicyControl - -// APIClient manages communication with the Npcf_BDTPolicyControl Service API API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - BDTPoliciesCollectionApi *BDTPoliciesCollectionApiService - IndividualBDTPolicyDocumentApi *IndividualBDTPolicyDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.BDTPoliciesCollectionApi = (*BDTPoliciesCollectionApiService)(&c.common) - c.IndividualBDTPolicyDocumentApi = (*IndividualBDTPolicyDocumentApiService)(&c.common) - - return c -} diff --git a/Npcf_BDTPolicyControl/configuration.go b/Npcf_BDTPolicyControl/configuration.go deleted file mode 100644 index 7aa34fb2..00000000 --- a/Npcf_BDTPolicyControl/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_BDTPolicyControl - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/npcf-bdtpolicycontrol/v1", - url: "{apiRoot}/npcf-bdtpolicycontrol/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Npcf_PolicyAuthorization/.gitignore b/Npcf_PolicyAuthorization/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Npcf_PolicyAuthorization/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Npcf_PolicyAuthorization/CHANGELOG.md b/Npcf_PolicyAuthorization/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Npcf_PolicyAuthorization/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Npcf_PolicyAuthorization/api_application_sessions_collection.go b/Npcf_PolicyAuthorization/api_application_sessions_collection.go deleted file mode 100644 index 433ab0f0..00000000 --- a/Npcf_PolicyAuthorization/api_application_sessions_collection.go +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ApplicationSessionsCollectionApiService service - -/* - ApplicationSessionsCollectionApiService Creates a new Individual Application Session Context resource - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionContext Contains the information for the creation the resource - @return models.AppSessionContext -*/ - -func (a *ApplicationSessionsCollectionApiService) PostAppSessions(ctx context.Context, appSessionContext models.AppSessionContext) (models.AppSessionContext, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AppSessionContext - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &appSessionContext - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 303: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_PolicyAuthorization/api_eventNotification_callback.go b/Npcf_PolicyAuthorization/api_eventNotification_callback.go deleted file mode 100644 index f8b1ccc4..00000000 --- a/Npcf_PolicyAuthorization/api_eventNotification_callback.go +++ /dev/null @@ -1,172 +0,0 @@ -/* -* Npcf_PolicyAuthorization Service API -* -* This is the Policy Authorization Service -* -* API version: 1.0.0 -* Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -type PolicyAuthorizationEventNotificationApiService service - -func (a *PolicyAuthorizationEventNotificationApiService) PolicyAuthorizationEventNotification(ctx context.Context, afNotifyUri string, request models.EventsNotification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := afNotifyUri + "/notify" - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Npcf_PolicyAuthorization/api_events_subscription_document.go b/Npcf_PolicyAuthorization/api_events_subscription_document.go deleted file mode 100644 index 7fca86b0..00000000 --- a/Npcf_PolicyAuthorization/api_events_subscription_document.go +++ /dev/null @@ -1,330 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type EventsSubscriptionDocumentApiService service - -/* - EventsSubscriptionDocumentApiService deletes the Events Subscription subresource - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionId string identifying the Individual Application Session Context resource -*/ - -func (a *EventsSubscriptionDocumentApiService) DeleteEventsSubsc(ctx context.Context, appSessionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/events-subscription" - localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", fmt.Sprintf("%v", appSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* - EventsSubscriptionDocumentApiService creates or modifies an Events Subscription subresource - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionId string identifying the Events Subscription resource - * @param eventsSubscReqData Creation or modification of an Events Subscription resource. - @return models.UpdateEventsSubscResponse -*/ - -func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, appSessionId string, eventsSubscReqData models.EventsSubscReqData) (models.UpdateEventsSubscResponse, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UpdateEventsSubscResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/events-subscription" - localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", fmt.Sprintf("%v", appSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &eventsSubscReqData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_PolicyAuthorization/api_individual_application_session_context_document.go b/Npcf_PolicyAuthorization/api_individual_application_session_context_document.go deleted file mode 100644 index 041f26f3..00000000 --- a/Npcf_PolicyAuthorization/api_individual_application_session_context_document.go +++ /dev/null @@ -1,512 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualApplicationSessionContextDocumentApiService service - -/* - IndividualApplicationSessionContextDocumentApiService Deletes an existing Individual Application Session Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionId string identifying the Individual Application Session Context resource - * @param optional nil or *DeleteAppSessionParamOpts - Optional Parameters: - * @param "EventsSubscReqData" (optional.Interface of models.EventsSubscReqData) - deletion of the Individual Application Session Context resource, req notification - @return models.AppSessionContext -*/ - -type DeleteAppSessionParamOpts struct { - EventsSubscReqData optional.Interface -} - -func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, appSessionId string, localVarOptionals *DeleteAppSessionParamOpts) (models.AppSessionContext, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AppSessionContext - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/delete" - localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", fmt.Sprintf("%v", appSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.EventsSubscReqData.IsSet() { - localVarOptionalEventsSubscReqData, localVarOptionalEventsSubscReqDataok := localVarOptionals.EventsSubscReqData.Value().(models.EventsSubscReqData) - if !localVarOptionalEventsSubscReqDataok { - return localVarReturnValue, nil, openapi.ReportError("eventsSubscReqData should be models.EventsSubscReqData") - } - localVarPostBody = &localVarOptionalEventsSubscReqData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* - IndividualApplicationSessionContextDocumentApiService Reads an existing Individual Application Session Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionId string identifying the resource - @return models.AppSessionContext -*/ - -func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, appSessionId string) (models.AppSessionContext, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AppSessionContext - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", fmt.Sprintf("%v", appSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* - IndividualApplicationSessionContextDocumentApiService Modifies an existing Individual Application Session Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appSessionId string identifying the resource - * @param appSessionContextUpdateData modification of the resource. - @return models.AppSessionContext -*/ - -func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, appSessionId string, appSessionContextUpdateData models.AppSessionContextUpdateData) (models.AppSessionContext, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AppSessionContext - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", fmt.Sprintf("%v", appSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &appSessionContextUpdateData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_PolicyAuthorization/api_terminationRequest_callback.go b/Npcf_PolicyAuthorization/api_terminationRequest_callback.go deleted file mode 100644 index 8437d1cb..00000000 --- a/Npcf_PolicyAuthorization/api_terminationRequest_callback.go +++ /dev/null @@ -1,172 +0,0 @@ -/* -* Npcf_PolicyAuthorization Service API -* -* This is the Policy Authorization Service -* -* API version: 1.0.0 -* Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -type PolicyAuthorizationTerminateRequestApiService service - -func (a *PolicyAuthorizationTerminateRequestApiService) PolicyAuthorizationTerminateRequest(ctx context.Context, afNotifyUri string, request models.TerminationInfo) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := afNotifyUri + "/terminate" - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Npcf_PolicyAuthorization/client.go b/Npcf_PolicyAuthorization/client.go deleted file mode 100644 index cc94bbef..00000000 --- a/Npcf_PolicyAuthorization/client.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -// APIClient manages communication with the Npcf_PolicyAuthorization Service API API v1.0.1 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - ApplicationSessionsCollectionApi *ApplicationSessionsCollectionApiService - EventsSubscriptionDocumentApi *EventsSubscriptionDocumentApiService - IndividualApplicationSessionContextDocumentApi *IndividualApplicationSessionContextDocumentApiService - PolicyAuthorizationEventNotificationApi *PolicyAuthorizationEventNotificationApiService - PolicyAuthorizationTerminateRequestApi *PolicyAuthorizationTerminateRequestApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.ApplicationSessionsCollectionApi = (*ApplicationSessionsCollectionApiService)(&c.common) - c.EventsSubscriptionDocumentApi = (*EventsSubscriptionDocumentApiService)(&c.common) - c.IndividualApplicationSessionContextDocumentApi = (*IndividualApplicationSessionContextDocumentApiService)(&c.common) - c.PolicyAuthorizationEventNotificationApi = (*PolicyAuthorizationEventNotificationApiService)(&c.common) - c.PolicyAuthorizationTerminateRequestApi = (*PolicyAuthorizationTerminateRequestApiService)(&c.common) - return c -} diff --git a/Npcf_PolicyAuthorization/configuration.go b/Npcf_PolicyAuthorization/configuration.go deleted file mode 100644 index 2df31c7e..00000000 --- a/Npcf_PolicyAuthorization/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_PolicyAuthorization - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/npcf-policyauthorization/v1", - url: "{apiRoot}/npcf-policyauthorization/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Npcf_SMPolicyControl/.gitignore b/Npcf_SMPolicyControl/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Npcf_SMPolicyControl/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Npcf_SMPolicyControl/CHANGELOG.md b/Npcf_SMPolicyControl/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Npcf_SMPolicyControl/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Npcf_SMPolicyControl/api_dafult_notify_callback.go b/Npcf_SMPolicyControl/api_dafult_notify_callback.go deleted file mode 100644 index 3c90a52c..00000000 --- a/Npcf_SMPolicyControl/api_dafult_notify_callback.go +++ /dev/null @@ -1,312 +0,0 @@ -package Npcf_SMPolicyControl - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -type DefaultCallbackApi service - -/* -SMNotification - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smPolicyContextData -@return SmPolicyDecision -*/ - -func (a *DefaultCallbackApi) SmPolicyUpdateNotification(ctx context.Context, notificationUri string, request models.SmPolicyNotification) (interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue interface{} // PartialSuccessReport or UeCampingRep - ) - - // create path and map variables - localVarPath := notificationUri + "/update" - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ErrorReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - return localVarReturnValue, localVarHTTPResponse, nil - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -func (a *DefaultCallbackApi) SmPolicyControlTerminationRequestNotification(ctx context.Context, notificationUri string, request models.TerminationNotification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := notificationUri + "/terminate" - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - return localVarHTTPResponse, nil - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Npcf_SMPolicyControl/api_default.go b/Npcf_SMPolicyControl/api_default.go deleted file mode 100644 index 7efff705..00000000 --- a/Npcf_SMPolicyControl/api_default.go +++ /dev/null @@ -1,645 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_SMPolicyControl - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* - DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smPolicyContextData - @return models.SmPolicyDecision -*/ - -func (a *DefaultApiService) SmPoliciesPost(ctx context.Context, smPolicyContextData models.SmPolicyContextData) (models.SmPolicyDecision, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmPolicyDecision - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-policies" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smPolicyContextData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - return localVarReturnValue, localVarHTTPResponse, nil - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* - DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smPolicyId Identifier of a policy association - * @param smPolicyDeleteData -*/ - -func (a *DefaultApiService) SmPoliciesSmPolicyIdDeletePost(ctx context.Context, smPolicyId string, smPolicyDeleteData models.SmPolicyDeleteData) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}/delete" - localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", fmt.Sprintf("%v", smPolicyId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smPolicyDeleteData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* - DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smPolicyId Identifier of a policy association - @return models.SmPolicyControl -*/ - -func (a *DefaultApiService) SmPoliciesSmPolicyIdGet(ctx context.Context, smPolicyId string) (models.SmPolicyControl, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmPolicyControl - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}" - localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", fmt.Sprintf("%v", smPolicyId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* - DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smPolicyId Identifier of a policy association - * @param smPolicyUpdateContextData - @return models.SmPolicyDecision -*/ - -func (a *DefaultApiService) SmPoliciesSmPolicyIdUpdatePost(ctx context.Context, smPolicyId string, smPolicyUpdateContextData models.SmPolicyUpdateContextData) (models.SmPolicyDecision, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmPolicyDecision - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}/update" - localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", fmt.Sprintf("%v", smPolicyId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smPolicyUpdateContextData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Npcf_SMPolicyControl/client.go b/Npcf_SMPolicyControl/client.go deleted file mode 100644 index 9d3f52b5..00000000 --- a/Npcf_SMPolicyControl/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_SMPolicyControl - -// APIClient manages communication with the Npcf_SMPolicyControl API v1.0.1 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService - DefaultCallbackApi *DefaultCallbackApi -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - c.DefaultCallbackApi = (*DefaultCallbackApi)(&c.common) - - return c -} diff --git a/Npcf_SMPolicyControl/configuration.go b/Npcf_SMPolicyControl/configuration.go deleted file mode 100644 index 981c813f..00000000 --- a/Npcf_SMPolicyControl/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_SMPolicyControl - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/npcf-smpolicycontrol/v1", - url: "{apiRoot}/npcf-smpolicycontrol/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Npcf_UEPolicy/.gitignore b/Npcf_UEPolicy/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Npcf_UEPolicy/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Npcf_UEPolicy/CHANGELOG.md b/Npcf_UEPolicy/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Npcf_UEPolicy/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Npcf_UEPolicy/api_default.go b/Npcf_UEPolicy/api_default.go deleted file mode 100644 index 9c77054f..00000000 --- a/Npcf_UEPolicy/api_default.go +++ /dev/null @@ -1,699 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_UEPolicy - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association -*/ -func (a *DefaultApiService) PoliciesPolAssoIdDelete(ctx context.Context, polAssoId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.basePath + "/policies/{polAssoId}" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 400 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 503 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - return localVarHttpResponse, newErr - } - - return localVarHttpResponse, nil -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association -@return PolicyAssociation -*/ -func (a *DefaultApiService) PoliciesPolAssoIdGet(ctx context.Context, polAssoId string) (models.PolicyAssociation, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyAssociation - ) - - // create path and map variables - localVarPath := a.client.cfg.basePath + "/policies/{polAssoId}" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v models.PolicyAssociation - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 503 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param polAssoId Identifier of a policy association - * @param policyAssociationUpdateRequest -@return PolicyUpdate -*/ -func (a *DefaultApiService) PoliciesPolAssoIdUpdatePost(ctx context.Context, polAssoId string, policyAssociationUpdateRequest models.PolicyAssociationUpdateRequest) (models.PolicyUpdate, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyUpdate - ) - - // create path and map variables - localVarPath := a.client.cfg.basePath + "/policies/{polAssoId}/update" - localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", fmt.Sprintf("%v", polAssoId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &policyAssociationUpdateRequest - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v models.PolicyUpdate - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 411 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 413 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 415 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 503 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param policyAssociationRequest -@return PolicyAssociation -*/ -func (a *DefaultApiService) PoliciesPost(ctx context.Context, policyAssociationRequest models.PolicyAssociationRequest) (models.PolicyAssociation, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyAssociation - ) - - // create path and map variables - localVarPath := a.client.cfg.basePath + "/policies" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &policyAssociationRequest - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 201 { - var v models.PolicyAssociation - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 411 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 413 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 415 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 503 { - var v models.ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} diff --git a/Npcf_UEPolicy/client.go b/Npcf_UEPolicy/client.go deleted file mode 100644 index 94fb949b..00000000 --- a/Npcf_UEPolicy/client.go +++ /dev/null @@ -1,474 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_UEPolicy - -import ( - "bytes" - "context" - "encoding/json" - "encoding/xml" - "errors" - "fmt" - "io" - "mime/multipart" - "net/http" - "net/url" - "os" - "path/filepath" - "reflect" - "regexp" - "strconv" - "strings" - "time" - "unicode/utf8" - - "golang.org/x/oauth2" -) - -var ( - jsonCheck = regexp.MustCompile("(?i:[application|text]/json)") - xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") -) - -// APIClient manages communication with the Npcf_UEPolicyControl API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - DefaultApi *DefaultApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - - return c -} - -func atoi(in string) (int, error) { - return strconv.Atoi(in) -} - -// selectHeaderContentType select a content type from the available list. -func selectHeaderContentType(contentTypes []string) string { - if len(contentTypes) == 0 { - return "" - } - if contains(contentTypes, "application/json") { - return "application/json" - } - return contentTypes[0] // use the first content type specified in 'consumes' -} - -// selectHeaderAccept join all accept types and return -func selectHeaderAccept(accepts []string) string { - if len(accepts) == 0 { - return "" - } - - if contains(accepts, "application/json") { - return "application/json" - } - - return strings.Join(accepts, ",") -} - -// contains is a case insenstive match, finding needle in a haystack -func contains(haystack []string, needle string) bool { - for _, a := range haystack { - if strings.EqualFold(a, needle) { - return true - } - } - return false -} - -// Verify optional parameters are of the correct type. -func typeCheckParameter(obj interface{}, expected string, name string) error { - // Make sure there is an object. - if obj == nil { - return nil - } - - // Check the type is as expected. - if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) - } - return nil -} - -// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. -func parameterToString(obj interface{}, collectionFormat string) string { - var delimiter string - - switch collectionFormat { - case "pipes": - delimiter = "|" - case "ssv": - delimiter = " " - case "tsv": - delimiter = "\t" - case "csv": - delimiter = "," - } - - if reflect.TypeOf(obj).Kind() == reflect.Slice { - return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") - } else if t, ok := obj.(time.Time); ok { - return t.Format(time.RFC3339) - } - - return fmt.Sprintf("%v", obj) -} - -// callAPI do the request. -func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { - return c.cfg.httpClient.Do(request) -} - -// Change base path to allow switching to mocks -func (c *APIClient) ChangeBasePath(path string) { - c.cfg.basePath = path -} - -// prepareRequest build the request -func (c *APIClient) prepareRequest( - ctx context.Context, - path string, method string, - postBody interface{}, - headerParams map[string]string, - queryParams url.Values, - formParams url.Values, - formFileName string, - fileName string, - fileBytes []byte, -) (localVarRequest *http.Request, err error) { - var body *bytes.Buffer - - // Detect postBody type and post. - if postBody != nil { - contentType := headerParams["Content-Type"] - if contentType == "" { - contentType = detectContentType(postBody) - headerParams["Content-Type"] = contentType - } - - body, err = setBody(postBody, contentType) - if err != nil { - return nil, err - } - } - - // add form parameters and file if available. - if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { - if body != nil { - return nil, errors.New("Cannot specify postBody and multipart form at the same time.") - } - body = &bytes.Buffer{} - w := multipart.NewWriter(body) - - for k, v := range formParams { - for _, iv := range v { - if strings.HasPrefix(k, "@") { // file - err = addFile(w, k[1:], iv) - if err != nil { - return nil, err - } - } else { // form value - w.WriteField(k, iv) - } - } - } - if len(fileBytes) > 0 && fileName != "" { - w.Boundary() - //_, fileNm := filepath.Split(fileName) - part, err := w.CreateFormFile(formFileName, filepath.Base(fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(fileBytes) - if err != nil { - return nil, err - } - // Set the Boundary in the Content-Type - headerParams["Content-Type"] = w.FormDataContentType() - } - - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() - } - - if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { - if body != nil { - return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") - } - body = &bytes.Buffer{} - body.WriteString(formParams.Encode()) - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - } - - // Setup path and query parameters - url, err := url.Parse(path) - if err != nil { - return nil, err - } - - // Adding Query Param - query := url.Query() - for k, v := range queryParams { - for _, iv := range v { - query.Add(k, iv) - } - } - - // Encode the parameters. - url.RawQuery = query.Encode() - - // Generate a new request - if body != nil { - localVarRequest, err = http.NewRequest(method, url.String(), body) - } else { - localVarRequest, err = http.NewRequest(method, url.String(), nil) - } - if err != nil { - return nil, err - } - - // add header parameters, if any - if len(headerParams) > 0 { - headers := http.Header{} - for h, v := range headerParams { - headers.Set(h, v) - } - localVarRequest.Header = headers - } - - // Override request host, if applicable - if c.cfg.host != "" { - localVarRequest.Host = c.cfg.host - } - - // Add the user agent to the request. - localVarRequest.Header.Add("User-Agent", c.cfg.userAgent) - - if ctx != nil { - // add context to the request - localVarRequest = localVarRequest.WithContext(ctx) - - // Walk through any authentication. - - // OAuth2 authentication - if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { - // We were able to grab an oauth2 token from the context - var latestToken *oauth2.Token - if latestToken, err = tok.Token(); err != nil { - return nil, err - } - - latestToken.SetAuthHeader(localVarRequest) - } - - // Basic HTTP Authentication - if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { - localVarRequest.SetBasicAuth(auth.UserName, auth.Password) - } - - // AccessToken Authentication - if auth, ok := ctx.Value(ContextAccessToken).(string); ok { - localVarRequest.Header.Add("Authorization", "Bearer "+auth) - } - } - - for header, value := range c.cfg.defaultHeader { - localVarRequest.Header.Add(header, value) - } - - return localVarRequest, nil -} - -func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err - } - return nil - } - return errors.New("undefined response type") -} - -// Add a file to the multipart request -func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(path) - if err != nil { - return err - } - defer file.Close() - - part, err := w.CreateFormFile(fieldName, filepath.Base(path)) - if err != nil { - return err - } - _, err = io.Copy(part, file) - - return err -} - -// Prevent trying to import "fmt" -func reportError(format string, a ...interface{}) error { - return fmt.Errorf(format, a...) -} - -// Set request body from an interface{} -func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { - if bodyBuf == nil { - bodyBuf = &bytes.Buffer{} - } - - if reader, ok := body.(io.Reader); ok { - _, err = bodyBuf.ReadFrom(reader) - } else if b, ok := body.([]byte); ok { - _, err = bodyBuf.Write(b) - } else if s, ok := body.(string); ok { - _, err = bodyBuf.WriteString(s) - } else if s, ok := body.(*string); ok { - _, err = bodyBuf.WriteString(*s) - } else if jsonCheck.MatchString(contentType) { - err = json.NewEncoder(bodyBuf).Encode(body) - } else if xmlCheck.MatchString(contentType) { - xml.NewEncoder(bodyBuf).Encode(body) - } - - if err != nil { - return nil, err - } - - if bodyBuf.Len() == 0 { - err = fmt.Errorf("Invalid body type %s\n", contentType) - return nil, err - } - return bodyBuf, nil -} - -// detectContentType method is used to figure out `Request.Body` content type for request header -func detectContentType(body interface{}) string { - contentType := "text/plain; charset=utf-8" - kind := reflect.TypeOf(body).Kind() - - switch kind { - case reflect.Struct, reflect.Map, reflect.Ptr: - contentType = "application/json; charset=utf-8" - case reflect.String: - contentType = "text/plain; charset=utf-8" - default: - if b, ok := body.([]byte); ok { - contentType = http.DetectContentType(b) - } else if kind == reflect.Slice { - contentType = "application/json; charset=utf-8" - } - } - - return contentType -} - -// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// CacheExpires helper function to determine remaining time before repeating a request. -func CacheExpires(r *http.Response) time.Time { - // Figure out when the cache expires. - var expires time.Time - now, err := time.Parse(time.RFC1123, r.Header.Get("date")) - if err != nil { - return time.Now() - } - respCacheControl := parseCacheControl(r.Header) - - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") - if err != nil { - expires = now - } else { - expires = now.Add(lifetime) - } - } else { - expiresHeader := r.Header.Get("Expires") - if expiresHeader != "" { - expires, err = time.Parse(time.RFC1123, expiresHeader) - if err != nil { - expires = now - } - } - } - return expires -} - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - -// GenericOpenAPIError Provides access to the body, error and model on returned errors. -type GenericOpenAPIError struct { - body []byte - error string - model interface{} -} - -// Error returns non-empty string if there was an error. -func (e GenericOpenAPIError) Error() string { - return e.error -} - -// Body returns the raw bytes of the response -func (e GenericOpenAPIError) Body() []byte { - return e.body -} - -// Model returns the unpacked model of the error -func (e GenericOpenAPIError) Model() interface{} { - return e.model -} diff --git a/Npcf_UEPolicy/configuration.go b/Npcf_UEPolicy/configuration.go deleted file mode 100644 index 8bb41837..00000000 --- a/Npcf_UEPolicy/configuration.go +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Npcf_UEPolicy - -import ( - "net/http" - "strings" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -type contextKey string - -func (c contextKey) String() string { - return "auth " + string(c) -} - -var ( - // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. - ContextOAuth2 = contextKey("token") - - // ContextBasicAuth takes BasicAuth as authentication for the request. - ContextBasicAuth = contextKey("basic") - - // ContextAccessToken takes a string oauth2 access token as authentication for the request. - ContextAccessToken = contextKey("accesstoken") - - // ContextAPIKey takes an APIKey as authentication for the request - ContextAPIKey = contextKey("apikey") -) - -// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth -type BasicAuth struct { - UserName string `json:"userName,omitempty"` - Password string `json:"password,omitempty"` -} - -// APIKey provides API key based authentication to a request passed via context using ContextAPIKey -type APIKey struct { - Key string - Prefix string -} - -type Configuration struct { - Scheme string `json:"scheme,omitempty"` - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/", - url: "{apiRoot}", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nsmf_EventExposure/.gitignore b/Nsmf_EventExposure/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nsmf_EventExposure/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nsmf_EventExposure/api_default.go b/Nsmf_EventExposure/api_default.go deleted file mode 100644 index 042fb1cd..00000000 --- a/Nsmf_EventExposure/api_default.go +++ /dev/null @@ -1,782 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_EventExposure - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ( - DefaultCallbackApi service - DefaultApiService service -) - -/* -EventExposureNotification - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param notificationUri - * @param request -@return -*/ -func (a *DefaultCallbackApi) SmfEventExposureNotification(ctx context.Context, notificationUri string, request models.NsmfEventExposureNotification) (interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue interface{} // PartialSuccessReport or UeCampingRep - ) - - // create path and map variables - localVarPath := notificationUri - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ErrorReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - return localVarReturnValue, localVarHTTPResponse, nil - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nsmfEventExposure -@return models.NsmfEventExposure -*/ - -func (a *DefaultApiService) SubscriptionsPost(ctx context.Context, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NsmfEventExposure - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nsmfEventExposure - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subId Event Subscription ID -*/ - -func (a *DefaultApiService) SubscriptionsSubIdDelete(ctx context.Context, subId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" - localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", fmt.Sprintf("%v", subId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subId Event Subscription ID -@return models.NsmfEventExposure -*/ - -func (a *DefaultApiService) SubscriptionsSubIdGet(ctx context.Context, subId string) (models.NsmfEventExposure, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NsmfEventExposure - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" - localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", fmt.Sprintf("%v", subId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subId Event Subscription ID - * @param nsmfEventExposure -@return models.NsmfEventExposure -*/ - -func (a *DefaultApiService) SubscriptionsSubIdPut(ctx context.Context, subId string, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.NsmfEventExposure - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" - localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", fmt.Sprintf("%v", subId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &nsmfEventExposure - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nsmf_EventExposure/client.go b/Nsmf_EventExposure/client.go deleted file mode 100644 index e3f3152f..00000000 --- a/Nsmf_EventExposure/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_EventExposure - -// APIClient manages communication with the Nsmf_EventExposure API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService - DefaultCallbackApi *DefaultCallbackApi -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - c.DefaultCallbackApi = (*DefaultCallbackApi)(&c.common) - - return c -} diff --git a/Nsmf_EventExposure/configuration.go b/Nsmf_EventExposure/configuration.go deleted file mode 100644 index 065ac969..00000000 --- a/Nsmf_EventExposure/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_EventExposure - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nsmf_event-exposure/v1", - url: "{apiRoot}/nsmf_event-exposure/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nsmf_PDUSession/.gitignore b/Nsmf_PDUSession/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nsmf_PDUSession/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nsmf_PDUSession/CHANGELOG.md b/Nsmf_PDUSession/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nsmf_PDUSession/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nsmf_PDUSession/api/openapi.yaml b/Nsmf_PDUSession/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nsmf_PDUSession/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nsmf_PDUSession/api_individual_pdu_session_hsmf.go b/Nsmf_PDUSession/api_individual_pdu_session_hsmf.go deleted file mode 100644 index f090e3be..00000000 --- a/Nsmf_PDUSession/api_individual_pdu_session_hsmf.go +++ /dev/null @@ -1,348 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualPDUSessionHSMFApiService service - -/* -IndividualPDUSessionHSMFApiService Release - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param pduSessionRef PDU session reference - * @param optional nil or *ReleasePduSessionParamOpts - Optional Parameters: - * @param "ReleaseData" (optional.Interface of ReleaseData) - representation of the data to be sent to H-SMF when releasing the PDU session -*/ - -type ReleasePduSessionParamOpts struct { - ReleaseData optional.Interface -} - -func (a *IndividualPDUSessionHSMFApiService) ReleasePduSession(ctx context.Context, pduSessionRef string, localVarOptionals *ReleasePduSessionParamOpts) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/release" - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", fmt.Sprintf("%v", pduSessionRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.ReleaseData.IsSet() { - localVarOptionalReleaseData, localVarOptionalReleaseDataok := localVarOptionals.ReleaseData.Value().(models.ReleaseData) - if !localVarOptionalReleaseDataok { - return nil, openapi.ReportError("releaseData should be ReleaseData") - } - localVarPostBody = &localVarOptionalReleaseData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in ReleasePduSession", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualPDUSessionHSMFApiService Update (initiated by V-SMF) - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param pduSessionRef PDU session reference - * @param hsmfUpdateData representation of the updates to apply to the PDU session -@return HsmfUpdatedData -*/ - -func (a *IndividualPDUSessionHSMFApiService) UpdatePduSession(ctx context.Context, pduSessionRef string, updatePduSessionRequest models.UpdatePduSessionRequest) (models.UpdatePduSessionResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UpdatePduSessionResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/modify" - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", fmt.Sprintf("%v", pduSessionRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the request Content-Type header - if updatePduSessionRequest.BinaryDataN1SmInfoFromUe != nil || updatePduSessionRequest.BinaryDataUnknownN1SmInfo != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &updatePduSessionRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = updatePduSessionRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.UpdatePduSessionErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.UpdatePduSessionErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.UpdatePduSessionErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.UpdatePduSessionErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.UpdatePduSessionErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in UpdatePduSession", localVarHttpResponse.StatusCode) - } -} diff --git a/Nsmf_PDUSession/api_individual_sm_context.go b/Nsmf_PDUSession/api_individual_sm_context.go deleted file mode 100644 index 44e661e9..00000000 --- a/Nsmf_PDUSession/api_individual_sm_context.go +++ /dev/null @@ -1,511 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualSMContextApiService service - -/* -IndividualSMContextApiService Release SM Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smContextRef SM context reference - * @param optional nil or *ReleaseSmContextParamOpts - Optional Parameters: - * @param "SmContextReleaseData" (optional.Interface of SmContextReleaseData) - representation of the data to be sent to the SMF when releasing the SM context -*/ - -type ReleaseSmContextParamOpts struct { - SmContextReleaseData optional.Interface -} - -func (a *IndividualSMContextApiService) ReleaseSmContext(ctx context.Context, smContextRef string, releaseSmContextRequest models.ReleaseSmContextRequest) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/release" - localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", fmt.Sprintf("%v", smContextRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if releaseSmContextRequest.BinaryDataN2SmInformation != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &releaseSmContextRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = releaseSmContextRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 204: - return localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in ReleaseSmContext", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualSMContextApiService Retrieve SM Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smContextRef SM context reference - * @param optional nil or *RetrieveSmContextParamOpts - Optional Parameters: - * @param "SmContextRetrieveData" (optional.Interface of SmContextRetrieveData) - parameters used to retrieve the SM context -@return SmContextRetrievedData -*/ - -type RetrieveSmContextParamOpts struct { - SmContextRetrieveData optional.Interface -} - -func (a *IndividualSMContextApiService) RetrieveSmContext(ctx context.Context, smContextRef string, localVarOptionals *RetrieveSmContextParamOpts) (models.SmContextRetrievedData, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmContextRetrievedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/retrieve" - localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", fmt.Sprintf("%v", smContextRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SmContextRetrieveData.IsSet() { - localVarOptionalSmContextRetrieveData, localVarOptionalSmContextRetrieveDataok := localVarOptionals.SmContextRetrieveData.Value().(models.SmContextRetrieveData) - if !localVarOptionalSmContextRetrieveDataok { - return localVarReturnValue, nil, openapi.ReportError("smContextRetrieveData should be SmContextRetrieveData") - } - localVarPostBody = &localVarOptionalSmContextRetrieveData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in RetrieveSmContext", localVarHttpResponse.StatusCode) - } -} - -/* -IndividualSMContextApiService Update SM Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param smContextRef SM context reference - * @param smContextUpdateData representation of the updates to apply to the SM context -@return SmContextUpdatedData -*/ - -func (a *IndividualSMContextApiService) UpdateSmContext(ctx context.Context, smContextRef string, updateSmContextRequest models.UpdateSmContextRequest) (models.UpdateSmContextResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UpdateSmContextResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/modify" - localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", fmt.Sprintf("%v", smContextRef), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the request Content-Type header - if updateSmContextRequest.BinaryDataN1SmMessage != nil || updateSmContextRequest.BinaryDataN2SmInformation != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &updateSmContextRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = updateSmContextRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 204: - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.UpdateSmContextErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.UpdateSmContextErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.UpdateSmContextErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.UpdateSmContextErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.UpdateSmContextErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in UpdateSmContext", localVarHttpResponse.StatusCode) - } -} diff --git a/Nsmf_PDUSession/api_individual_sm_context_callback.go b/Nsmf_PDUSession/api_individual_sm_context_callback.go deleted file mode 100644 index 42f8f8a0..00000000 --- a/Nsmf_PDUSession/api_individual_sm_context_callback.go +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -type IndividualSMContextNotificationApiService service - -func (a *IndividualSMContextNotificationApiService) SMContextNotification(ctx context.Context, notifyUri string, request models.SmContextStatusNotification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := notifyUri - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nsmf_PDUSession/api_pdu_sessions_collection.go b/Nsmf_PDUSession/api_pdu_sessions_collection.go deleted file mode 100644 index 293412e8..00000000 --- a/Nsmf_PDUSession/api_pdu_sessions_collection.go +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PDUSessionsCollectionApiService service - -/* -PDUSessionsCollectionApiService Create - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param pduSessionCreateData representation of the PDU session to be created in the H-SMF -@return PduSessionCreatedData -*/ - -func (a *PDUSessionsCollectionApiService) PostPduSessions(ctx context.Context, postPduSessionsRequest models.PostPduSessionsRequest) (models.PostPduSessionsResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PostPduSessionsResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/pdu-sessions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the request Content-Type header - if postPduSessionsRequest.BinaryDataN1SmInfoFromUe != nil || postPduSessionsRequest.BinaryDataUnknownN1SmInfo != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &postPduSessionsRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = postPduSessionsRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.PostPduSessionsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.PostPduSessionsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.PostPduSessionsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.PostPduSessionsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.PostPduSessionsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in PostPduSessions", localVarHttpResponse.StatusCode) - } -} diff --git a/Nsmf_PDUSession/api_sm_contexts_collection.go b/Nsmf_PDUSession/api_sm_contexts_collection.go deleted file mode 100644 index f442e1c6..00000000 --- a/Nsmf_PDUSession/api_sm_contexts_collection.go +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMContextsCollectionApiService service - -/* -SMContextsCollectionApiService Create SM Context - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param postSmContextsRequestBody representation of the SM context to be created in the SMF -@return SmContextCreatedData -*/ - -func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, postSmContextsRequest models.PostSmContextsRequest) (models.PostSmContextsResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PostSmContextsResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/sm-contexts" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if postSmContextsRequest.BinaryDataN1SmMessage != nil { - localVarHeaderParams["Content-Type"] = "multipart/related" - localVarPostBody = &postSmContextsRequest - } else { - localVarHeaderParams["Content-Type"] = "application/json" - localVarPostBody = postSmContextsRequest.JsonData - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - - switch localVarHttpResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHttpResponse, nil - case 400: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 403: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 404: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 500: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 503: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - case 504: - var v models.PostSmContextsErrorResponse - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHttpResponse, apiError - default: - return localVarReturnValue, localVarHttpResponse, openapi.ReportError("%d is not a valid status code in PostSmContexts", localVarHttpResponse.StatusCode) - } -} diff --git a/Nsmf_PDUSession/client.go b/Nsmf_PDUSession/client.go deleted file mode 100644 index 2f1e83b1..00000000 --- a/Nsmf_PDUSession/client.go +++ /dev/null @@ -1,48 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -// APIClient manages communication with the Nsmf_PDUSession API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - IndividualPDUSessionHSMFApi *IndividualPDUSessionHSMFApiService - IndividualSMContextApi *IndividualSMContextApiService - IndividualSMContextNotificationApi *IndividualSMContextNotificationApiService - PDUSessionsCollectionApi *PDUSessionsCollectionApiService - SMContextsCollectionApi *SMContextsCollectionApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.IndividualPDUSessionHSMFApi = (*IndividualPDUSessionHSMFApiService)(&c.common) - c.IndividualSMContextNotificationApi = (*IndividualSMContextNotificationApiService)(&c.common) - c.IndividualSMContextApi = (*IndividualSMContextApiService)(&c.common) - c.PDUSessionsCollectionApi = (*PDUSessionsCollectionApiService)(&c.common) - c.SMContextsCollectionApi = (*SMContextsCollectionApiService)(&c.common) - - return c -} diff --git a/Nsmf_PDUSession/configuration.go b/Nsmf_PDUSession/configuration.go deleted file mode 100644 index 55e6dd53..00000000 --- a/Nsmf_PDUSession/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nsmf_PDUSession - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nsmf-pdusession/v1", - url: "{apiRoot}/nsmf-pdusession/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nsmf_PDUSession/errors.go b/Nsmf_PDUSession/errors.go deleted file mode 100644 index 6b5def64..00000000 --- a/Nsmf_PDUSession/errors.go +++ /dev/null @@ -1,67 +0,0 @@ -package Nsmf_PDUSession - -import ( - "net/http" - - "github.com/free5gc/openapi/models" -) - -var ( - N1SmError = models.ProblemDetails{ - Title: "Invalid N1 Message", - Status: http.StatusForbidden, - Detail: "N1 Message Error", - Cause: "N1_SM_ERROR", - } - N2SmError = models.ProblemDetails{ - Title: "Invalid N2 Message", - Status: http.StatusForbidden, - Detail: "N2 Message Error", - Cause: "N2_SM_ERROR", - } - DnnDeniedError = models.ProblemDetails{ - Title: "DNN Denied", - Status: http.StatusForbidden, - Detail: "The subscriber does not have the necessary subscription to access the DNN", - Cause: "DNN_DENIED", - InvalidParams: nil, - } - DnnNotSupported = models.ProblemDetails{ - Title: "DNN Not Supported", - Status: http.StatusForbidden, - Detail: "The DNN is not supported by the SMF.", - Cause: "DNN_NOT_SUPPORTED", - InvalidParams: nil, - } - InsufficientResourceSliceDnn = models.ProblemDetails{ - Title: "DNN Resource insufficient", - Status: http.StatusInternalServerError, - Detail: "The request cannot be provided due to insufficient resources for the specific slice and DNN.", - Cause: "INSUFFICIENT_RESOURCES_SLICE_DNN", - InvalidParams: nil, - } - SubscriptionDenied = models.ProblemDetails{ - Title: "Subscription Denied", - Status: http.StatusForbidden, - Detail: "This indicates an error, other than those listed in this table, due to lack of necessary subscription to serve the UE request.", - Cause: "SUBSCRIPTION_DENIED", - InvalidParams: nil, - } - NetworkFailure = models.ProblemDetails{ - Title: "Network failure", - Status: http.StatusGatewayTimeout, - Detail: "The request is rejected due to a network problem.", - Cause: "NETWORK_FAILURE", - InvalidParams: nil, - } - SmContextStateMismatchActive = models.ProblemDetails{ - Title: "SMContext state mismatch", - Status: http.StatusForbidden, - Detail: "The SMContext State should be Active State.", - } - SmContextStateMismatchInActive = models.ProblemDetails{ - Title: "SMContext state mismatch", - Status: http.StatusForbidden, - Detail: "The SMContext State should be InActive State.", - } -) diff --git a/Nudm_EventExposure/.gitignore b/Nudm_EventExposure/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudm_EventExposure/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudm_EventExposure/CHANGELOG.md b/Nudm_EventExposure/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudm_EventExposure/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudm_EventExposure/api/openapi.yaml b/Nudm_EventExposure/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nudm_EventExposure/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudm_EventExposure/api_create_ee_subscription.go b/Nudm_EventExposure/api_create_ee_subscription.go deleted file mode 100644 index aaedb49c..00000000 --- a/Nudm_EventExposure/api_create_ee_subscription.go +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_EventExposure - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type CreateEESubscriptionApiService service - -/* -CreateEESubscriptionApiService Subscribe - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueIdentity Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. - * @param eeSubscription -@return models.CreatedEeSubscription -*/ - -func (a *CreateEESubscriptionApiService) CreateEeSubscription(ctx context.Context, ueIdentity string, eeSubscription models.EeSubscription) (models.CreatedEeSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.CreatedEeSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", fmt.Sprintf("%v", ueIdentity), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &eeSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_EventExposure/api_delete_ee_subscription.go b/Nudm_EventExposure/api_delete_ee_subscription.go deleted file mode 100644 index 4277c56d..00000000 --- a/Nudm_EventExposure/api_delete_ee_subscription.go +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_EventExposure - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DeleteEESubscriptionApiService service - -/* -DeleteEESubscriptionApiService Unsubscribe - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueIdentity Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. - * @param subscriptionId Id of the EE Subscription -*/ - -func (a *DeleteEESubscriptionApiService) DeleteEeSubscription(ctx context.Context, ueIdentity string, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", fmt.Sprintf("%v", ueIdentity), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_EventExposure/api_update_ee_subscription.go b/Nudm_EventExposure/api_update_ee_subscription.go deleted file mode 100644 index 4113bf0d..00000000 --- a/Nudm_EventExposure/api_update_ee_subscription.go +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_EventExposure - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type UpdateEESubscriptionApiService service - -/* -UpdateEESubscriptionApiService Patch - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueIdentity Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. - * @param subscriptionId Id of the EE Subscription - * @param patchItem -*/ - -func (a *UpdateEESubscriptionApiService) UpdateEeSubscription(ctx context.Context, ueIdentity string, subscriptionId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", fmt.Sprintf("%v", ueIdentity), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_EventExposure/client.go b/Nudm_EventExposure/client.go deleted file mode 100644 index 7855c09c..00000000 --- a/Nudm_EventExposure/client.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_EventExposure - -// APIClient manages communication with the Nudm_EE API v1.0.1 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - CreateEESubscriptionApi *CreateEESubscriptionApiService - DeleteEESubscriptionApi *DeleteEESubscriptionApiService - UpdateEESubscriptionApi *UpdateEESubscriptionApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.CreateEESubscriptionApi = (*CreateEESubscriptionApiService)(&c.common) - c.DeleteEESubscriptionApi = (*DeleteEESubscriptionApiService)(&c.common) - c.UpdateEESubscriptionApi = (*UpdateEESubscriptionApiService)(&c.common) - - return c -} diff --git a/Nudm_EventExposure/configuration.go b/Nudm_EventExposure/configuration.go deleted file mode 100644 index 79d57f4d..00000000 --- a/Nudm_EventExposure/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_EventExposure - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudm-ee/v1", - url: "{apiRoot}/nudm-ee/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nudm_ParameterProvision/.gitignore b/Nudm_ParameterProvision/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudm_ParameterProvision/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudm_ParameterProvision/CHANGELOG.md b/Nudm_ParameterProvision/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudm_ParameterProvision/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudm_ParameterProvision/api/openapi.yaml b/Nudm_ParameterProvision/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nudm_ParameterProvision/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudm_ParameterProvision/api_subscription_data_update.go b/Nudm_ParameterProvision/api_subscription_data_update.go deleted file mode 100644 index 896560c0..00000000 --- a/Nudm_ParameterProvision/api_subscription_data_update.go +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Nudm_PP - * - * Nudm Parameter Provision Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_ParameterProvision - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionDataUpdateApiService service - -/* -SubscriptionDataUpdateApiService provision parameters - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param gpsi Identifier of the UE - * @param ppData -*/ - -func (a *SubscriptionDataUpdateApiService) Update(ctx context.Context, gpsi string, ppData models.PpData) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{gpsi}/pp-data" - localVarPath = strings.Replace(localVarPath, "{"+"gpsi"+"}", fmt.Sprintf("%v", gpsi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &ppData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_ParameterProvision/client.go b/Nudm_ParameterProvision/client.go deleted file mode 100644 index 77384cc7..00000000 --- a/Nudm_ParameterProvision/client.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nudm_PP - * - * Nudm Parameter Provision Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_ParameterProvision - -// APIClient manages communication with the Nudm_PP API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - SubscriptionDataUpdateApi *SubscriptionDataUpdateApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.SubscriptionDataUpdateApi = (*SubscriptionDataUpdateApiService)(&c.common) - - return c -} diff --git a/Nudm_ParameterProvision/configuration.go b/Nudm_ParameterProvision/configuration.go deleted file mode 100644 index ceb7982f..00000000 --- a/Nudm_ParameterProvision/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudm_PP - * - * Nudm Parameter Provision Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_ParameterProvision - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudm-pp/v1", - url: "{apiRoot}/nudm-pp/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nudm_SubscriberDataManagement/.gitignore b/Nudm_SubscriberDataManagement/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudm_SubscriberDataManagement/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudm_SubscriberDataManagement/CHANGELOG.md b/Nudm_SubscriberDataManagement/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudm_SubscriberDataManagement/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudm_SubscriberDataManagement/api/openapi.yaml b/Nudm_SubscriberDataManagement/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nudm_SubscriberDataManagement/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudm_SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go deleted file mode 100644 index a4a485d5..00000000 --- a/Nudm_SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AccessAndMobilitySubscriptionDataRetrievalApiService service - -/* -AccessAndMobilitySubscriptionDataRetrievalApiService retrieve a UE's Access and Mobility Subscription Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetAmDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - serving PLMN ID - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.AccessAndMobilitySubscriptionData -*/ - -type GetAmDataParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *AccessAndMobilitySubscriptionDataRetrievalApiService) GetAmData(ctx context.Context, supi string, localVarOptionals *GetAmDataParamOpts) (models.AccessAndMobilitySubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AccessAndMobilitySubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_gpsi_to_supi_translation.go b/Nudm_SubscriberDataManagement/api_gpsi_to_supi_translation.go deleted file mode 100644 index f3d52580..00000000 --- a/Nudm_SubscriberDataManagement/api_gpsi_to_supi_translation.go +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type GPSIToSUPITranslationApiService service - -/* -GPSIToSUPITranslationApiService retrieve a UE's SUPI - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param gpsi Identifier of the UE - * @param optional nil or *GetIdTranslationResultParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.IdTranslationResult -*/ - -type GetIdTranslationResultParamOpts struct { - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *GPSIToSUPITranslationApiService) GetIdTranslationResult(ctx context.Context, gpsi string, localVarOptionals *GetIdTranslationResultParamOpts) (models.IdTranslationResult, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.IdTranslationResult - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{gpsi}/id-translation-result" - localVarPath = strings.Replace(localVarPath, "{"+"gpsi"+"}", fmt.Sprintf("%v", gpsi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go b/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go deleted file mode 100644 index 21b2631c..00000000 --- a/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ProvidingAcknowledgementOfSteeringOfRoamingApiService service - -/* -ProvidingAcknowledgementOfSteeringOfRoamingApiService Nudm_Sdm Info service operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *InfoParamOpts - Optional Parameters: - * @param "AcknowledgeInfo" (optional.Interface of models.AcknowledgeInfo) - -*/ - -type InfoParamOpts struct { - AcknowledgeInfo optional.Interface -} - -func (a *ProvidingAcknowledgementOfSteeringOfRoamingApiService) Info(ctx context.Context, supi string, localVarOptionals *InfoParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/sor-ack" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.AcknowledgeInfo.IsSet() { - localVarOptionalAcknowledgeInfo, localVarOptionalAcknowledgeInfook := localVarOptionals.AcknowledgeInfo.Value().(models.AcknowledgeInfo) - if !localVarOptionalAcknowledgeInfook { - return nil, openapi.ReportError("acknowledgeInfo should be models.AcknowledgeInfo") - } - localVarPostBody = &localVarOptionalAcknowledgeInfo - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go b/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go deleted file mode 100644 index cda565bb..00000000 --- a/Nudm_SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ProvidingAcknowledgementOfUEParametersUpdateApiService service - -/* -ProvidingAcknowledgementOfUEParametersUpdateApiService Nudm_Sdm Info for UPU service operation - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *PutUpuAckParamOpts - Optional Parameters: - * @param "AcknowledgeInfo" (optional.Interface of models.AcknowledgeInfo) - -*/ - -type PutUpuAckParamOpts struct { - AcknowledgeInfo optional.Interface -} - -func (a *ProvidingAcknowledgementOfUEParametersUpdateApiService) PutUpuAck(ctx context.Context, supi string, localVarOptionals *PutUpuAckParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/upu-ack" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.AcknowledgeInfo.IsSet() { - localVarOptionalAcknowledgeInfo, localVarOptionalAcknowledgeInfook := localVarOptionals.AcknowledgeInfo.Value().(models.AcknowledgeInfo) - if !localVarOptionalAcknowledgeInfook { - return nil, openapi.ReportError("acknowledgeInfo should be models.AcknowledgeInfo") - } - localVarPostBody = &localVarOptionalAcknowledgeInfo - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go b/Nudm_SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go deleted file mode 100644 index 5ee28872..00000000 --- a/Nudm_SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type RetrievalOfMultipleDataSetsApiService service - -/* -RetrievalOfMultipleDataSetsApiService retrieve multiple data sets - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param datasetNames List of dataset names - * @param optional nil or *GetParamOpts - Optional Parameters: - * @param "PlmnId" (optional.Interface of models.PlmnId) - serving PLMN ID - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SubscriptionDataSets -*/ - -type GetParamOpts struct { - PlmnId optional.Interface - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *RetrievalOfMultipleDataSetsApiService) Get(ctx context.Context, supi string, datasetNames []models.DataSetName, localVarOptionals *GetParamOpts) (models.SubscriptionDataSets, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SubscriptionDataSets - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if len(datasetNames) < 2 { - return localVarReturnValue, nil, openapi.ReportError("datasetNames must have at least 2 elements") - } - - localVarQueryParams.Add("dataset-names", openapi.ParameterToString(datasetNames, "csv")) - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_retrieval_of_shared_data.go b/Nudm_SubscriberDataManagement/api_retrieval_of_shared_data.go deleted file mode 100644 index 1967ea27..00000000 --- a/Nudm_SubscriberDataManagement/api_retrieval_of_shared_data.go +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type RetrievalOfSharedDataApiService service - -/* -RetrievalOfSharedDataApiService retrieve shared data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sharedDataIds List of shared data ids - * @param optional nil or *GetSharedDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return []models.SharedData -*/ - -type GetSharedDataParamOpts struct { - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *RetrievalOfSharedDataApiService) GetSharedData(ctx context.Context, sharedDataIds []string, localVarOptionals *GetSharedDataParamOpts) ([]models.SharedData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SharedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/shared-data" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("shared-data-ids", openapi.ParameterToString(sharedDataIds, "csv")) - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supportedFeatures", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_session_management_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_session_management_subscription_data_retrieval.go deleted file mode 100644 index 4a6b24c6..00000000 --- a/Nudm_SubscriberDataManagement/api_session_management_subscription_data_retrieval.go +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SessionManagementSubscriptionDataRetrievalApiService service - -/* -SessionManagementSubscriptionDataRetrievalApiService retrieve a UE's Session Management Subscription Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetSmDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "SingleNssai" (optional.Interface of models.Snssai) - - * @param "Dnn" (optional.String) - - * @param "PlmnId" (optional.Interface of models.PlmnId) - - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return []models.SessionManagementSubscriptionData -*/ - -type GetSmDataParamOpts struct { - SupportedFeatures optional.String - SingleNssai optional.Interface - Dnn optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SessionManagementSubscriptionDataRetrievalApiService) GetSmData(ctx context.Context, supi string, localVarOptionals *GetSmDataParamOpts) ([]models.SessionManagementSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SessionManagementSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sm-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SingleNssai.IsSet() { - localVarQueryParams.Add("single-nssai", openapi.ParameterToString(localVarOptionals.SingleNssai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go deleted file mode 100644 index 7f18e7d8..00000000 --- a/Nudm_SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SliceSelectionSubscriptionDataRetrievalApiService service - -/* -SliceSelectionSubscriptionDataRetrievalApiService retrieve a UE's subscribed NSSAI - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetNssaiParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - serving PLMN ID - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.Nssai -*/ - -type GetNssaiParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SliceSelectionSubscriptionDataRetrievalApiService) GetNssai(ctx context.Context, supi string, localVarOptionals *GetNssaiParamOpts) (models.Nssai, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.Nssai - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/nssai" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go deleted file mode 100644 index e372a2a5..00000000 --- a/Nudm_SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFSelectionSubscriptionDataRetrievalApiService service - -/* -SMFSelectionSubscriptionDataRetrievalApiService retrieve a UE's SMF Selection Subscription Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetSmfSelectDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - serving PLMN ID - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmfSelectionSubscriptionData -*/ - -type GetSmfSelectDataParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMFSelectionSubscriptionDataRetrievalApiService) GetSmfSelectData(ctx context.Context, supi string, localVarOptionals *GetSmfSelectDataParamOpts) (models.SmfSelectionSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmfSelectionSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/smf-select-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go deleted file mode 100644 index 43250add..00000000 --- a/Nudm_SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSManagementSubscriptionDataRetrievalApiService service - -/* -SMSManagementSubscriptionDataRetrievalApiService retrieve a UE's SMS Management Subscription Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetSmsMngDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmsManagementSubscriptionData -*/ - -type GetSmsMngDataParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMSManagementSubscriptionDataRetrievalApiService) GetSmsMngData(ctx context.Context, supi string, localVarOptionals *GetSmsMngDataParamOpts) (models.SmsManagementSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsManagementSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sms-mng-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_sms_subscription_data_retrieval.go b/Nudm_SubscriberDataManagement/api_sms_subscription_data_retrieval.go deleted file mode 100644 index 528b0f93..00000000 --- a/Nudm_SubscriberDataManagement/api_sms_subscription_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSSubscriptionDataRetrievalApiService service - -/* -SMSSubscriptionDataRetrievalApiService retrieve a UE's SMS Subscription Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetSmsDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmsSubscriptionData -*/ - -type GetSmsDataParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMSSubscriptionDataRetrievalApiService) GetSmsData(ctx context.Context, supi string, localVarOptionals *GetSmsDataParamOpts) (models.SmsSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sms-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go b/Nudm_SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go deleted file mode 100644 index 2abb200a..00000000 --- a/Nudm_SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go +++ /dev/null @@ -1,150 +0,0 @@ -package Nudm_SubscriberDataManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DataChangeNotificationCallbackDocumentApiService service - -func (a *DataChangeNotificationCallbackDocumentApiService) OnDataChangeNotification(ctx context.Context, onDataChangeNotificationUrl string, request models.ModificationNotification) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := onDataChangeNotificationUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in OnDataChangeNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Nudm_SubscriberDataManagement/api_subscription_creation.go b/Nudm_SubscriberDataManagement/api_subscription_creation.go deleted file mode 100644 index dfe6850f..00000000 --- a/Nudm_SubscriberDataManagement/api_subscription_creation.go +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionCreationApiService service - -/* -SubscriptionCreationApiService subscribe to notifications - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi SUPI of the user - * @param sdmSubscription -@return models.SdmSubscription -*/ - -func (a *SubscriptionCreationApiService) Subscribe(ctx context.Context, supi string, sdmSubscription models.SdmSubscription) (models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sdm-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sdmSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_subscription_creation_for_shared_data.go b/Nudm_SubscriberDataManagement/api_subscription_creation_for_shared_data.go deleted file mode 100644 index ef56846f..00000000 --- a/Nudm_SubscriberDataManagement/api_subscription_creation_for_shared_data.go +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionCreationForSharedDataApiService service - -/* -SubscriptionCreationForSharedDataApiService subscribe to notifications for shared data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sdmSubscription -@return models.SdmSubscription -*/ - -func (a *SubscriptionCreationForSharedDataApiService) SubscribeToSharedData(ctx context.Context, sdmSubscription models.SdmSubscription) (models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sdmSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_subscription_deletion.go b/Nudm_SubscriberDataManagement/api_subscription_deletion.go deleted file mode 100644 index a9fd15c6..00000000 --- a/Nudm_SubscriberDataManagement/api_subscription_deletion.go +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionDeletionApiService service - -/* -SubscriptionDeletionApiService unsubscribe from notifications - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi SUPI of the user - * @param subscriptionId Id of the SDM Subscription -*/ - -func (a *SubscriptionDeletionApiService) Unsubscribe(ctx context.Context, supi string, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sdm-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_subscription_deletion_for_shared_data.go b/Nudm_SubscriberDataManagement/api_subscription_deletion_for_shared_data.go deleted file mode 100644 index 0658c6b3..00000000 --- a/Nudm_SubscriberDataManagement/api_subscription_deletion_for_shared_data.go +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionDeletionForSharedDataApiService service - -/* -SubscriptionDeletionForSharedDataApiService unsubscribe from notifications for shared data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Id of the Shared data Subscription -*/ - -func (a *SubscriptionDeletionForSharedDataApiService) UnsubscribeForSharedData(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_subscription_modification.go b/Nudm_SubscriberDataManagement/api_subscription_modification.go deleted file mode 100644 index 80b1f38b..00000000 --- a/Nudm_SubscriberDataManagement/api_subscription_modification.go +++ /dev/null @@ -1,253 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubscriptionModificationApiService service - -/* -SubscriptionModificationApiService modify the subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi SUPI of the user - * @param subscriptionId Id of the SDM Subscription - * @param sdmSubsModification -@return models.SdmSubscription -*/ - -func (a *SubscriptionModificationApiService) Modify(ctx context.Context, supi string, subscriptionId string, sdmSubsModification models.SdmSubsModification) (models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/sdm-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sdmSubsModification - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -SubscriptionModificationApiService modify the subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Id of the SDM Subscription - * @param sdmSubsModification -@return models.SdmSubscription -*/ - -func (a *SubscriptionModificationApiService) ModifyForSharedData(ctx context.Context, subscriptionId string, sdmSubsModification models.SdmSubsModification) (models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sdmSubsModification - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_trace_configuration_data_retrieval.go b/Nudm_SubscriberDataManagement/api_trace_configuration_data_retrieval.go deleted file mode 100644 index c1cc8a47..00000000 --- a/Nudm_SubscriberDataManagement/api_trace_configuration_data_retrieval.go +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type TraceConfigurationDataRetrievalApiService service - -/* -TraceConfigurationDataRetrievalApiService retrieve a UE's Trace Configuration Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetTraceDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "PlmnId" (optional.Interface of models.PlmnId) - serving PLMN ID - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.TraceDataResponse -*/ - -type GetTraceDataParamOpts struct { - SupportedFeatures optional.String - PlmnId optional.Interface - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *TraceConfigurationDataRetrievalApiService) GetTraceData(ctx context.Context, supi string, localVarOptionals *GetTraceDataParamOpts) (models.TraceDataResponse, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TraceDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/trace-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.PlmnId.IsSet() { - localVarQueryParams.Add("plmn-id", openapi.ParameterToString(localVarOptionals.PlmnId.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go b/Nudm_SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go deleted file mode 100644 index a92c35f9..00000000 --- a/Nudm_SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type UEContextInSMFDataRetrievalApiService service - -/* -UEContextInSMFDataRetrievalApiService retrieve a UE's UE Context In SMF Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetUeContextInSmfDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.UeContextInSmfData -*/ - -type GetUeContextInSmfDataParamOpts struct { - SupportedFeatures optional.String -} - -func (a *UEContextInSMFDataRetrievalApiService) GetUeContextInSmfData(ctx context.Context, supi string, localVarOptionals *GetUeContextInSmfDataParamOpts) (models.UeContextInSmfData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeContextInSmfData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-context-in-smf-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go b/Nudm_SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go deleted file mode 100644 index 046a8856..00000000 --- a/Nudm_SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type UEContextInSMSFDataRetrievalApiService service - -/* -UEContextInSMSFDataRetrievalApiService retrieve a UE's UE Context In SMSF Data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi Identifier of the UE - * @param optional nil or *GetUeContextInSmsfDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.UeContextInSmsfData -*/ - -type GetUeContextInSmsfDataParamOpts struct { - SupportedFeatures optional.String -} - -func (a *UEContextInSMSFDataRetrievalApiService) GetUeContextInSmsfData(ctx context.Context, supi string, localVarOptionals *GetUeContextInSmsfDataParamOpts) (models.UeContextInSmsfData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UeContextInSmsfData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-context-in-smsf-data" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_SubscriberDataManagement/client.go b/Nudm_SubscriberDataManagement/client.go deleted file mode 100644 index 42957665..00000000 --- a/Nudm_SubscriberDataManagement/client.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -// APIClient manages communication with the Nudm_SDM API v2.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - AccessAndMobilitySubscriptionDataRetrievalApi *AccessAndMobilitySubscriptionDataRetrievalApiService - GPSIToSUPITranslationApi *GPSIToSUPITranslationApiService - ProvidingAcknowledgementOfSteeringOfRoamingApi *ProvidingAcknowledgementOfSteeringOfRoamingApiService - ProvidingAcknowledgementOfUEParametersUpdateApi *ProvidingAcknowledgementOfUEParametersUpdateApiService - RetrievalOfMultipleDataSetsApi *RetrievalOfMultipleDataSetsApiService - RetrievalOfSharedDataApi *RetrievalOfSharedDataApiService - SMFSelectionSubscriptionDataRetrievalApi *SMFSelectionSubscriptionDataRetrievalApiService - SMSManagementSubscriptionDataRetrievalApi *SMSManagementSubscriptionDataRetrievalApiService - SMSSubscriptionDataRetrievalApi *SMSSubscriptionDataRetrievalApiService - SessionManagementSubscriptionDataRetrievalApi *SessionManagementSubscriptionDataRetrievalApiService - SliceSelectionSubscriptionDataRetrievalApi *SliceSelectionSubscriptionDataRetrievalApiService - SubscriptionCreationApi *SubscriptionCreationApiService - SubscriptionCreationForSharedDataApi *SubscriptionCreationForSharedDataApiService - SubscriptionDeletionApi *SubscriptionDeletionApiService - SubscriptionDeletionForSharedDataApi *SubscriptionDeletionForSharedDataApiService - SubscriptionModificationApi *SubscriptionModificationApiService - TraceConfigurationDataRetrievalApi *TraceConfigurationDataRetrievalApiService - UEContextInSMFDataRetrievalApi *UEContextInSMFDataRetrievalApiService - UEContextInSMSFDataRetrievalApi *UEContextInSMSFDataRetrievalApiService - DataChangeNotificationCallbackDocumentApi *DataChangeNotificationCallbackDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AccessAndMobilitySubscriptionDataRetrievalApi = (*AccessAndMobilitySubscriptionDataRetrievalApiService)(&c.common) - c.GPSIToSUPITranslationApi = (*GPSIToSUPITranslationApiService)(&c.common) - c.ProvidingAcknowledgementOfSteeringOfRoamingApi = (*ProvidingAcknowledgementOfSteeringOfRoamingApiService)(&c.common) - c.ProvidingAcknowledgementOfUEParametersUpdateApi = (*ProvidingAcknowledgementOfUEParametersUpdateApiService)(&c.common) - c.RetrievalOfMultipleDataSetsApi = (*RetrievalOfMultipleDataSetsApiService)(&c.common) - c.RetrievalOfSharedDataApi = (*RetrievalOfSharedDataApiService)(&c.common) - c.SMFSelectionSubscriptionDataRetrievalApi = (*SMFSelectionSubscriptionDataRetrievalApiService)(&c.common) - c.SMSManagementSubscriptionDataRetrievalApi = (*SMSManagementSubscriptionDataRetrievalApiService)(&c.common) - c.SMSSubscriptionDataRetrievalApi = (*SMSSubscriptionDataRetrievalApiService)(&c.common) - c.SessionManagementSubscriptionDataRetrievalApi = (*SessionManagementSubscriptionDataRetrievalApiService)(&c.common) - c.SliceSelectionSubscriptionDataRetrievalApi = (*SliceSelectionSubscriptionDataRetrievalApiService)(&c.common) - c.SubscriptionCreationApi = (*SubscriptionCreationApiService)(&c.common) - c.SubscriptionCreationForSharedDataApi = (*SubscriptionCreationForSharedDataApiService)(&c.common) - c.SubscriptionDeletionApi = (*SubscriptionDeletionApiService)(&c.common) - c.SubscriptionDeletionForSharedDataApi = (*SubscriptionDeletionForSharedDataApiService)(&c.common) - c.SubscriptionModificationApi = (*SubscriptionModificationApiService)(&c.common) - c.TraceConfigurationDataRetrievalApi = (*TraceConfigurationDataRetrievalApiService)(&c.common) - c.UEContextInSMFDataRetrievalApi = (*UEContextInSMFDataRetrievalApiService)(&c.common) - c.UEContextInSMSFDataRetrievalApi = (*UEContextInSMSFDataRetrievalApiService)(&c.common) - c.DataChangeNotificationCallbackDocumentApi = (*DataChangeNotificationCallbackDocumentApiService)(&c.common) - - return c -} diff --git a/Nudm_SubscriberDataManagement/configuration.go b/Nudm_SubscriberDataManagement/configuration.go deleted file mode 100644 index c67e5588..00000000 --- a/Nudm_SubscriberDataManagement/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service - * - * API version: 2.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_SubscriberDataManagement - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudm-sdm/v1", // Temporarily change to v1, originally it is v2 - url: "{apiRoot}/nudm-sdm/v1", // Temporarily change to v1, originally it is v2 - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nudm_UEAuthentication/.gitignore b/Nudm_UEAuthentication/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudm_UEAuthentication/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudm_UEAuthentication/CHANGELOG.md b/Nudm_UEAuthentication/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudm_UEAuthentication/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudm_UEAuthentication/api/openapi.yaml b/Nudm_UEAuthentication/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nudm_UEAuthentication/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudm_UEAuthentication/api_confirm_auth.go b/Nudm_UEAuthentication/api_confirm_auth.go deleted file mode 100644 index afa56acc..00000000 --- a/Nudm_UEAuthentication/api_confirm_auth.go +++ /dev/null @@ -1,140 +0,0 @@ -/* - * NudmUEAU - * - * UDM UE Authentication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEAuthentication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ConfirmAuthApiService service - -/* -ConfirmAuthApiService Create a new confirmation event - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supi SUPI of the user - * @param authEvent -@return models.AuthEvent -*/ - -func (a *ConfirmAuthApiService) ConfirmAuth(ctx context.Context, supi string, authEvent models.AuthEvent) (models.AuthEvent, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AuthEvent - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supi}/auth-events" - localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", fmt.Sprintf("%v", supi), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &authEvent - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEAuthentication/api_generate_auth_data.go b/Nudm_UEAuthentication/api_generate_auth_data.go deleted file mode 100644 index ec5f17dd..00000000 --- a/Nudm_UEAuthentication/api_generate_auth_data.go +++ /dev/null @@ -1,158 +0,0 @@ -/* - * NudmUEAU - * - * UDM UE Authentication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEAuthentication - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type GenerateAuthDataApiService service - -/* -GenerateAuthDataApiService Generate authentication data for the UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param supiOrSuci SUPI or SUCI of the user - * @param authenticationInfoRequest -@return models.AuthenticationInfoResult -*/ - -func (a *GenerateAuthDataApiService) GenerateAuthData(ctx context.Context, supiOrSuci string, authenticationInfoRequest models.AuthenticationInfoRequest) (models.AuthenticationInfoResult, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AuthenticationInfoResult - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{supiOrSuci}/security-information/generate-auth-data" - localVarPath = strings.Replace(localVarPath, "{"+"supiOrSuci"+"}", fmt.Sprintf("%v", supiOrSuci), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &authenticationInfoRequest - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 501: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEAuthentication/client.go b/Nudm_UEAuthentication/client.go deleted file mode 100644 index 12993c20..00000000 --- a/Nudm_UEAuthentication/client.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * NudmUEAU - * - * UDM UE Authentication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEAuthentication - -// APIClient manages communication with the NudmUEAU API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - ConfirmAuthApi *ConfirmAuthApiService - GenerateAuthDataApi *GenerateAuthDataApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.ConfirmAuthApi = (*ConfirmAuthApiService)(&c.common) - c.GenerateAuthDataApi = (*GenerateAuthDataApiService)(&c.common) - - return c -} diff --git a/Nudm_UEAuthentication/configuration.go b/Nudm_UEAuthentication/configuration.go deleted file mode 100644 index adc74f9b..00000000 --- a/Nudm_UEAuthentication/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * NudmUEAU - * - * UDM UE Authentication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEAuthentication - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudm-ueau/v1", - url: "{apiRoot}/nudm-ueau/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nudm_UEContextManagement/.gitignore b/Nudm_UEContextManagement/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudm_UEContextManagement/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudm_UEContextManagement/CHANGELOG.md b/Nudm_UEContextManagement/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudm_UEContextManagement/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudm_UEContextManagement/api/openapi.yaml b/Nudm_UEContextManagement/api/openapi.yaml deleted file mode 100644 index 28fab052..00000000 --- a/Nudm_UEContextManagement/api/openapi.yaml +++ /dev/null @@ -1,5244 +0,0 @@ -openapi: 3.0.0 -info: - description: SMF PDU Session Service - title: Nsmf_PDUSession - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.502 V15.2.1; 5G System; Session Management Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ -servers: -- url: '{apiRoot}/nsmf-pdusession/v1' - variables: - apiRoot: - default: https://example.com - description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501. The sm-contexts and pdu-sessions resources can be distributed on different processing instances or hosts. Thus the authority and/or deployment-specific string of the apiRoot of the created individual sm context and pdu-session resources' URIs may differ from the authority and/or deployment-specific string of the apiRoot of the sm-contexts and pdu-sessions collections' URIs. -security: -- {} -- oAuth2Clientcredentials: - - nsmf-pdusession -paths: - /sm-contexts: - post: - callbacks: - smContextStatusNotification: - '{$request.body#/smContextStatusUri}': - post: - operationId: smContextStatusNotification_Post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextStatusNotification' - required: true - responses: - 204: - description: successful notification - 307: - description: temporary redirect - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - x-callback-request: true - operationId: PostSmContexts - requestBody: - content: - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_requestBody' - description: representation of the SM context to be created in the SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_201' - description: successful creation of an SM context - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_400' - description: unsuccessful creation of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_403' - description: unsuccessful creation of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_404' - description: unsuccessful creation of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_500' - description: unsuccessful creation of an SM context - internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_503' - description: unsuccessful creation of an SM context - service unavailable - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostSmContexts_response_504' - description: unsuccessful creation of an SM context - gateway timeout - default: - description: Generic Error - summary: Create SM Context - tags: - - SM contexts collection - /sm-contexts/{smContextRef}/retrieve: - post: - operationId: RetrieveSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrieveData' - description: parameters used to retrieve the SM context - required: false - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextRetrievedData' - description: successful retrieval of an SM context - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieve SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/modify: - post: - operationId: UpdateSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_requestBody' - description: representation of the updates to apply to the SM context - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_200' - description: successful update of an SM context with content in the response - 204: - description: successful update of an SM context without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_400' - description: unsuccessful update of an SM context - bad request - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_403' - description: unsuccessful update of an SM context - forbidden - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_404' - description: unsuccessful update of an SM context - not found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_500' - description: unsuccessful update of an SM context - Internal server error - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmMessage: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdateSmContext_response_503' - description: unsuccessful update of an SM context - Service Unavailable - default: - description: Generic Error - summary: Update SM Context - tags: - - Individual SM context - /sm-contexts/{smContextRef}/release: - post: - operationId: ReleaseSmContext - parameters: - - description: SM context reference - explode: false - in: path - name: smContextRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmContextReleaseData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN2SmInformation: - contentType: application/vnd.3gpp.ngap - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/ReleaseSmContext_requestBody' - description: representation of the data to be sent to the SMF when releasing the SM context - required: false - responses: - 204: - description: successful release of an SM context without content in the response - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release SM Context - tags: - - Individual SM context - /pdu-sessions: - post: - callbacks: - statusNotification: - '{$request.body#/vsmfPduSessionUri}': - post: - operationId: NotifyStatus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatusNotification' - description: representation of the status notification - required: true - responses: - 204: - description: successful notificationof the status change - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Notify Status - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - update: - '{$request.body#/vsmfPduSessionUri}/modify': - post: - operationId: ModifyPduSession - requestBody: - content: - application/+json: - schema: - $ref: '#/components/schemas/VsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - description: representation of updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdatedData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - 504: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by H-SMF) - tags: - - Individual PDU session (V-SMF) - x-callback-request: true - operationId: PostPduSessions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_requestBody' - description: representation of the PDU session to be created in the H-SMF - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_201' - description: successful creation of a PDU session - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/pdu-sessions/{pduSessionRef}' - explode: false - required: true - schema: - type: string - style: simple - 307: - description: temporary redirect - 308: - description: permanent redirect - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - default: - description: Generic Error - summary: Create - tags: - - PDU sessions collection - /pdu-sessions/{pduSessionRef}/modify: - post: - operationId: UpdatePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_requestBody' - description: representation of the updates to apply to the PDU session - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdatedData' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_200' - description: successful update of a PDU session with content in the response - 204: - description: successful update of a PDU session without content in the response - 400: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 403: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 404: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - 503: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - default: - description: Generic Error - summary: Update (initiated by V-SMF) - tags: - - Individual PDU session (H-SMF) - /pdu-sessions/{pduSessionRef}/release: - post: - operationId: ReleasePduSession - parameters: - - description: PDU session reference - explode: false - in: path - name: pduSessionRef - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ReleaseData' - description: representation of the data to be sent to H-SMF when releasing the PDU session - required: false - responses: - 204: - description: successful release of a PDU session - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Release - tags: - - Individual PDU session (H-SMF) -components: - responses: - PduSessionCreateError: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionCreateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/PostPduSessions_response_400' - description: unsuccessful creation of a PDU session - HsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/HsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoToUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - $ref: '#/components/schemas/UpdatePduSession_response_400' - description: unsuccessful update of a PDU session - VsmfUpdateError: - content: - application/json: - schema: - $ref: '#/components/schemas/VsmfUpdateError' - multipart/related: - encoding: - jsonData: - contentType: application/json - style: form - binaryDataN1SmInfoFromUe: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - binaryDataUnknownN1SmInfo: - contentType: application/vnd.3gpp.5gnas - headers: - Content-Id: - explode: false - schema: - type: string - style: simple - style: form - schema: - properties: - jsonData: - $ref: '#/components/schemas/VsmfUpdateError' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - description: unsuccessful update of a PDU session - schemas: - SmContextCreateData: - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - hplmnSnssai: - $ref: '#/components/schemas/Snssai' - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - serviceName: - $ref: '#/components/schemas/ServiceName' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - smContextStatusUri: - type: string - hSmfUri: - type: string - additionalHsmfUri: - items: - $ref: '#/components/schemas/Uri' - minItems: 1 - type: array - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - pduSessionsActivateList: - items: - $ref: '#/components/schemas/PduSessionId' - minItems: 1 - type: array - ueEpsPdnConnection: - type: string - hoState: - $ref: '#/components/schemas/HoState' - pcfId: - format: uuid - type: string - nrfUri: - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - traceData: - $ref: '#/components/schemas/TraceData' - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - indirectForwardingFlag: - type: boolean - required: - - anType - - servingNetwork - - servingNfId - - smContextStatusUri - type: object - SmContextCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - hSmfUri: hSmfUri - n2SmInfo: - contentId: contentId - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - supportedFeatures: supportedFeatures - smfServiceInstanceId: smfServiceInstanceId - pduSessionId: 20 - sNssai: - sd: sd - sst: 153 - properties: - hSmfUri: - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - hoState: - $ref: '#/components/schemas/HoState' - smfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SmContextUpdateData: - example: - release: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - n1SmMsg: - contentId: contentId - 5gMmCauseValue: 0 - toBeSwitched: false - gpsi: gpsi - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - smContextStatusUri: smContextStatusUri - revokeEbiList: - - null - - null - pei: pei - failedToBeSwitched: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - anTypeCanBeChanged: false - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - dataForwarding: false - n2SmInfo: - contentId: contentId - servingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ngApCause: - value: 0 - group: 0 - epsBearerSetup: - - null - - null - targetServingNfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - sNssai: - sd: sd - sst: 153 - properties: - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - servingNfId: - format: uuid - type: string - guami: - $ref: '#/components/schemas/Guami' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - nullable: true - type: array - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - presenceInLadn: - $ref: '#/components/schemas/PresenceState' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - toBeSwitched: - default: false - type: boolean - failedToBeSwitched: - type: boolean - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - targetServingNfId: - format: uuid - type: string - smContextStatusUri: - type: string - dataForwarding: - default: false - type: boolean - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 0 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - release: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - traceData: - $ref: '#/components/schemas/TraceData' - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - anTypeCanBeChanged: - default: false - type: boolean - type: object - SmContextUpdatedData: - example: - dataForwarding: true - allocatedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n2SmInfo: - contentId: contentId - epsBearerSetup: - - null - - null - modifiedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - n1SmMsg: - contentId: contentId - releaseEbiList: - - null - - null - properties: - upCnxState: - $ref: '#/components/schemas/UpCnxState' - hoState: - $ref: '#/components/schemas/HoState' - releaseEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - allocatedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - epsBearerSetup: - items: - $ref: '#/components/schemas/EpsBearerContainer' - minItems: 1 - type: array - dataForwarding: - type: boolean - type: object - SmContextReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - vsmfReleaseOnly: false - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - vsmfReleaseOnly: - default: false - type: boolean - type: object - SmContextStatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - PduSessionCreateData: - example: - supportedFeatures: supportedFeatures - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - hPcfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - gpsi: gpsi - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - pei: pei - alwaysOnRequested: false - pduSessionId: 20 - epsBearerId: - - null - - null - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - recoveryTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - unknownN1SmInfo: - contentId: contentId - chargingId: chargingId - routingIndicator: routingIndicator - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - supi: supi - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - oldPduSessionId: 153 - unauthenticatedSupi: false - vsmfId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - vsmfPduSessionUri: vsmfPduSessionUri - vSmfServiceInstanceId: vSmfServiceInstanceId - sNssai: - sd: sd - sst: 153 - pgwS8cFteid: pgwS8cFteid - udmGroupId: udmGroupId - properties: - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - unauthenticatedSupi: - default: false - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - dnn: - type: string - sNssai: - $ref: '#/components/schemas/Snssai' - vsmfId: - format: uuid - type: string - servingNetwork: - $ref: '#/components/schemas/PlmnId' - requestType: - $ref: '#/components/schemas/RequestType' - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - pgwS8cFteid: - format: byte - type: string - vsmfPduSessionUri: - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - hPcfId: - format: uuid - type: string - hoPreparationIndication: - type: boolean - selMode: - $ref: '#/components/schemas/DnnSelectionMode' - alwaysOnRequested: - default: false - type: boolean - udmGroupId: - type: string - routingIndicator: - type: string - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - vSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - chargingId: - type: string - oldPduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - required: - - anType - - dnn - - servingNetwork - - vcnTunnelInfo - - vsmfId - - vsmfPduSessionUri - type: object - PduSessionCreatedData: - example: - recoveryTime: 2000-01-23T04:56:07.000+00:00 - enablePauseCharging: false - alwaysOnGranted: false - epsPdnCnxInfo: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - supportedFeatures: supportedFeatures - hcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - sscMode: sscMode - epsBearerInfo: - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - ueIpv6Prefix: 2001:db8:abcd:12::0/64 - roamingChargingProfile: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - sessionAmbr: - uplink: uplink - downlink: downlink - qosFlowsSetupList: - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - n1SmInfoToUe: - contentId: contentId - upSecurity: {} - ueIpv4Address: 198.51.100.1 - hSmfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - hSmfServiceInstanceId: hSmfServiceInstanceId - pduSessionId: 31 - sNssai: - sd: sd - sst: 153 - properties: - pduSessionType: - $ref: '#/components/schemas/PduSessionType' - sscMode: - pattern: ^[0-7]$ - type: string - hcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsSetupList: - items: - $ref: '#/components/schemas/QosFlowSetupItem' - minItems: 1 - type: array - hSmfInstanceId: - format: uuid - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sNssai: - $ref: '#/components/schemas/Snssai' - enablePauseCharging: - default: false - type: boolean - ueIpv4Address: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - epsPdnCnxInfo: - $ref: '#/components/schemas/EpsPdnCnxInfo' - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - maxIntegrityProtectedDataRate: - $ref: '#/components/schemas/MaxIntegrityProtectedDataRate' - alwaysOnGranted: - default: false - type: boolean - upSecurity: - $ref: '#/components/schemas/UpSecurity' - roamingChargingProfile: - $ref: '#/components/schemas/RoamingChargingProfile' - hSmfServiceInstanceId: - type: string - recoveryTime: - format: date-time - type: string - required: - - hSmfInstanceId - - hcnTunnelInfo - - pduSessionType - - qosFlowsSetupList - - sessionAmbr - - sscMode - type: object - HsmfUpdateData: - example: - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - hoPreparationIndication: true - servingNetwork: - mnc: mnc - mcc: mcc - ueTimeZone: ueTimeZone - revokeEbiList: - - null - - null - pei: pei - alwaysOnRequested: false - epsBearerId: - - null - - null - pauseCharging: true - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - pti: 20 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - unknownN1SmInfo: - contentId: contentId - vcnTunnelInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - n1SmInfoFromUe: - contentId: contentId - ngApCause: - value: 0 - group: 0 - qosFlowsNotifyList: - - qfi: 37 - - qfi: 37 - NotifyList: - - {} - - {} - qosFlowsRelNotifyList: - - qfi: 5 - - qfi: 5 - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - vcnTunnelInfo: - $ref: '#/components/schemas/TunnelInfo' - servingNetwork: - $ref: '#/components/schemas/PlmnId' - anType: - $ref: '#/components/schemas/AccessType' - ratType: - $ref: '#/components/schemas/RatType' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - pauseCharging: - type: boolean - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - qosFlowsRelNotifyList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsNotifyList: - items: - $ref: '#/components/schemas/QosFlowNotifyItem' - minItems: 1 - type: array - NotifyList: - items: - $ref: '#/components/schemas/PduSessionNotifyItem' - minItems: 1 - type: array - epsBearerId: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 0 - type: array - hoPreparationIndication: - type: boolean - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - alwaysOnRequested: - default: false - type: boolean - epsInterworkingInd: - $ref: '#/components/schemas/EpsInterworkingIndication' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - required: - - requestIndication - type: object - HsmfUpdatedData: - example: - n1SmInfoToUe: - contentId: contentId - properties: - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - type: object - ReleaseData: - example: - ueTimeZone: ueTimeZone - ngApCause: - value: 0 - group: 0 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - 5gMmCauseValue: 0 - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - cause: - $ref: '#/components/schemas/Cause' - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - ReleasedData: - type: object - VsmfUpdateData: - properties: - requestIndication: - $ref: '#/components/schemas/RequestIndication' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - qosFlowsAddModRequestList: - items: - $ref: '#/components/schemas/QosFlowAddModifyRequestItem' - minItems: 1 - type: array - qosFlowsRelRequestList: - items: - $ref: '#/components/schemas/QosFlowReleaseRequestItem' - minItems: 1 - type: array - epsBearerInfo: - items: - $ref: '#/components/schemas/EpsBearerInfo' - minItems: 1 - type: array - assignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - revokeEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - modifiedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - alwaysOnGranted: - default: false - type: boolean - cause: - $ref: '#/components/schemas/Cause' - n1smCause: - type: string - backOffTimer: - format: int32 - type: integer - required: - - requestIndication - type: object - VsmfUpdatedData: - example: - qosFlowsFailedtoAddModList: - - qfi: 5 - - qfi: 5 - qosFlowsFailedtoRelList: - - qfi: 5 - - qfi: 5 - secondaryRatUsageReport: - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - failedToAssignEbiList: - - null - - null - unknownN1SmInfo: - contentId: contentId - assignedEbiList: - - epsBearerId: 2 - arp: - priorityLevel: 9 - - epsBearerId: 2 - arp: - priorityLevel: 9 - qosFlowsAddModList: - - qfi: 5 - - qfi: 5 - addUeLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - qosFlowsRelList: - - qfi: 5 - - qfi: 5 - n1SmInfoFromUe: - contentId: contentId - releasedEbiList: - - null - - null - ueTimeZone: ueTimeZone - ueLocation: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - qosFlowsAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoAddModList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - qosFlowsFailedtoRelList: - items: - $ref: '#/components/schemas/QosFlowItem' - minItems: 1 - type: array - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - ueLocation: - $ref: '#/components/schemas/UserLocation' - ueTimeZone: - type: string - addUeLocation: - $ref: '#/components/schemas/UserLocation' - assignedEbiList: - items: - $ref: '#/components/schemas/EbiArpMapping' - minItems: 1 - type: array - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - releasedEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - secondaryRatUsageReport: - items: - $ref: '#/components/schemas/SecondaryRatUsageReport' - minItems: 1 - type: array - type: object - StatusNotification: - example: - statusInfo: {} - properties: - statusInfo: - $ref: '#/components/schemas/StatusInfo' - required: - - statusInfo - type: object - QosFlowItem: - example: - qfi: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - cause: - $ref: '#/components/schemas/Cause' - required: - - qfi - type: object - QosFlowSetupItem: - example: - qosFlowProfile: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - qosRules: qosRules - qfi: 5 - qosFlowDescription: qosFlowDescription - ebi: 9 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - - qosRules - type: object - QosFlowAddModifyRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - qosFlowProfile: - $ref: '#/components/schemas/QosFlowProfile' - required: - - qfi - type: object - QosFlowReleaseRequestItem: - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - qosRules: - format: byte - type: string - qosFlowDescription: - format: byte - type: string - required: - - qfi - type: object - QosFlowProfile: - example: - dynamic5Qi: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - gbrQosFlowInfo: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - 5qi: 37 - nonDynamic5Qi: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - arp: - priorityLevel: 9 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - nonDynamic5Qi: - $ref: '#/components/schemas/NonDynamic5Qi' - dynamic5Qi: - $ref: '#/components/schemas/Dynamic5Qi' - arp: - $ref: '#/components/schemas/Arp' - gbrQosFlowInfo: - $ref: '#/components/schemas/GbrQosFlowInformation' - rqa: - $ref: '#/components/schemas/ReflectiveQoSAttribute' - additionalQosFlowInfo: - $ref: '#/components/schemas/AdditionalQosFlowInfo' - required: - - 5qi - type: object - GbrQosFlowInformation: - example: - maxFbrDl: maxFbrDl - maxFbrUl: maxFbrUl - maxPacketLossRateUl: 738 - maxPacketLossRateDl: 414 - guaFbrUl: guaFbrUl - guaFbrDl: guaFbrDl - properties: - maxFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - guaFbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - notifControl: - $ref: '#/components/schemas/NotificationControl' - maxPacketLossRateDl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - maxPacketLossRateUl: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - required: - - guaFbrDl - - guaFbrUl - - maxFbrDl - - maxFbrUl - type: object - QosFlowNotifyItem: - example: - qfi: 37 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - - qfi - type: object - SmContextRetrieveData: - example: - targetMmeCap: - nonIpSupported: false - properties: - targetMmeCap: - $ref: '#/components/schemas/MmeCapabilities' - type: object - SmContextRetrievedData: - example: - ueEpsPdnConnection: ueEpsPdnConnection - properties: - ueEpsPdnConnection: - type: string - required: - - ueEpsPdnConnection - type: object - MmeCapabilities: - example: - nonIpSupported: false - properties: - nonIpSupported: - default: false - type: boolean - type: object - TunnelInfo: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - gtpTeid: gtpTeid - ipv4Addr: 198.51.100.1 - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - gtpTeid: - pattern: ^[A-F0-9]{8}$ - type: string - required: - - gtpTeid - type: object - StatusInfo: - example: {} - properties: - resourceStatus: - $ref: '#/components/schemas/ResourceStatus' - cause: - $ref: '#/components/schemas/Cause' - required: - - resourceStatus - type: object - EpsPdnCnxInfo: - example: - pgwS8cFteid: pgwS8cFteid - pgwNodeName: pgwNodeName - properties: - pgwS8cFteid: - format: byte - type: string - pgwNodeName: - format: byte - type: string - required: - - pgwS8cFteid - type: object - EpsBearerInfo: - example: - pgwS8uFteid: pgwS8uFteid - ebi: 1 - bearerLevelQoS: bearerLevelQoS - properties: - ebi: - format: int32 - maximum: 15 - minimum: 0 - type: integer - pgwS8uFteid: - format: byte - type: string - bearerLevelQoS: - format: byte - type: string - required: - - bearerLevelQoS - - ebi - - pgwS8uFteid - type: object - PduSessionNotifyItem: - example: {} - properties: - notificationCause: - $ref: '#/components/schemas/NotificationCause' - required: - - notificationCause - type: object - EbiArpMapping: - example: - epsBearerId: 2 - arp: - priorityLevel: 9 - properties: - epsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - required: - - arp - - epsBearerId - type: object - SmContextCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - SmContextUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1SmMsg: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - n2SmInfoType: - $ref: '#/components/schemas/N2SmInfoType' - upCnxState: - $ref: '#/components/schemas/UpCnxState' - recoveryTime: - format: date-time - type: string - required: - - error - type: object - PduSessionCreateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - HsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoToUe: - $ref: '#/components/schemas/RefToBinaryData' - backOffTimer: - format: int32 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - VsmfUpdateError: - properties: - error: - $ref: '#/components/schemas/ProblemDetails' - pti: - format: int32 - maximum: 255 - minimum: 0 - type: integer - n1smCause: - pattern: ^[A-F0-9]{2}$ - type: string - n1SmInfoFromUe: - $ref: '#/components/schemas/RefToBinaryData' - unknownN1SmInfo: - $ref: '#/components/schemas/RefToBinaryData' - failedToAssignEbiList: - items: - $ref: '#/components/schemas/EpsBearerId' - minItems: 1 - type: array - ngApCause: - $ref: '#/components/schemas/NgApCause' - 5gMmCauseValue: - format: int32 - minimum: 0 - type: integer - recoveryTime: - format: date-time - type: string - required: - - error - type: object - ProcedureTransactionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - EpsBearerId: - format: int32 - maximum: 15 - minimum: 0 - type: integer - EpsPdnCnxContainer: - type: string - EpsBearerContainer: - type: string - Teid: - pattern: ^[A-F0-9]{8}$ - type: string - UpCnxState: - enum: - - ACTIVATED - - DEACTIVATED - - ACTIVATING - type: string - HoState: - enum: - - NONE - - PREPARING - - PREPARED - - COMPLETED - - CANCELLED - type: string - RequestType: - enum: - - INITIAL_REQUEST - - EXISTING_PDU_SESSION - - INITIAL_EMERGENCY_REQUEST - - EXISTING_EMERGENCY_PDU_SESSION - type: string - RequestIndication: - enum: - - UE_REQ_PDU_SES_MOD - - UE_REQ_PDU_SES_REL - - PDU_SES_MOB - - NW_REQ_PDU_SES_AUTH - - NW_REQ_PDU_SES_MOD - - NW_REQ_PDU_SES_REL - - EBI_ASSIGNMENT_REQ - type: string - NotificationCause: - enum: - - QOS_FULFILLED - - QOS_NOT_FULFILLED - - UP_SEC_FULFILLED - - UP_SEC_NOT_FULFILLED - type: string - Cause: - enum: - - REL_DUE_TO_HO - - EPS_FALLBACK - - REL_DUE_TO_UP_SEC - - DNN_CONGESTION - - S-NSSAI_CONGESTION - - REL_DUE_TO_REACTIVATION - - 5G_AN_NOT_RESPONDING - - REL_DUE_TO_SLICE_NOT_AVAILABLE - - REL_DUE_TO_DUPLICATE_SESSION_ID - - PDU_SESSION_STATUS_MISMATCH - - HO_FAILURE - type: string - ResourceStatus: - enum: - - RELEASED - type: string - DnnSelectionMode: - enum: - - VERIFIED - - UE_DNN_NOT_VERIFIED - - NW_DNN_NOT_VERIFIED - type: string - EpsInterworkingIndication: - enum: - - NONE - - WITH_N26 - - WITHOUT_N26 - type: string - N2SmInfoType: - enum: - - PDU_RES_SETUP_REQ - - PDU_RES_SETUP_RSP - - PDU_RES_SETUP_FAIL - - PDU_RES_REL_CMD - - PDU_RES_REL_RSP - - PDU_RES_MOD_REQ - - PDU_RES_MOD_RSP - - PDU_RES_MOD_FAIL - - PDU_RES_NTY - - PDU_RES_NTY_REL - - PDU_RES_MOD_IND - - PDU_RES_MOD_CFM - - PATH_SWITCH_REQ - - PATH_SWITCH_SETUP_FAIL - - PATH_SWITCH_REQ_ACK - - PATH_SWITCH_REQ_FAIL - - HANDOVER_REQUIRED - - HANDOVER_CMD - - HANDOVER_PREP_FAIL - - HANDOVER_REQ_ACK - - HANDOVER_RES_ALLOC_FAIL - type: string - MaxIntegrityProtectedDataRate: - enum: - - 64_KBPS - - MAX_UE_RATE - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Dnn: - type: string - Snssai: - example: - sd: sd - sst: 153 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - NfInstanceId: - format: uuid - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - RefToBinaryData: - example: - contentId: contentId - properties: - contentId: - type: string - required: - - contentId - type: object - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - PresenceState: - enum: - - IN_AREA - - OUT_OF_AREA - - UNKNOWN - - INACTIVE - type: string - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - DateTime: - format: date-time - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 28 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 28 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 4803 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - TimeZone: - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - NfGroupId: - type: string - NgApCause: - example: - value: 0 - group: 0 - properties: - group: - format: int32 - minimum: 0 - type: integer - value: - format: int32 - minimum: 0 - type: integer - required: - - group - - value - type: object - 5GMmCause: - $ref: '#/components/schemas/Uinteger' - Bytes: - format: byte - type: string - RoamingChargingProfile: - example: - triggers: - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggers: - items: - $ref: '#/components/schemas/Trigger' - minItems: 0 - type: array - partialRecordMethod: - $ref: '#/components/schemas/PartialRecordMethod' - type: object - Trigger: - example: - timeLimit: 1 - maxNumberOfccc: 0 - volumeLimit: 0 - properties: - triggerType: - $ref: '#/components/schemas/TriggerType' - triggerCategory: - $ref: '#/components/schemas/TriggerCategory' - timeLimit: - format: int32 - type: integer - volumeLimit: - format: int32 - minimum: 0 - type: integer - maxNumberOfccc: - format: int32 - minimum: 0 - type: integer - required: - - triggerCategory - - triggerType - type: object - TriggerType: - enum: - - QUOTA_THRESHOLD - - QHT - - FINAL - - QUOTA_EXHAUSTED - - VALIDITY_TIME - - OTHER_QUOTA_TYPE - - FORCED_REAUTHORISATION - - UNUSED_QUOTA_TIMER - - ABNORMAL_RELEASE - - QOS_CHANGE - - VOLUME_LIMIT - - TIME_LIMIT - - PLMN_CHANGE - - USER_LOCATION_CHANGE - - RAT_CHANGE - - UE_TIMEZONE_CHANGE - - TARIFF_TIME_CHANGE - - MAX_NUMBER_OF_CHANGES_IN CHARGING_CONDITIONS - - MANAGEMENT_INTERVENTION - - CHANGE_OF_UE_PRESENCE_IN PRESENCE_REPORTING_AREA - - CHANGE_OF_3GPP_PS_DATA_OFF_STATUS - - SERVING_NODE_CHANGE - - REMOVAL_OF_UPF - - ADDITION_OF_UPF - type: string - TriggerCategory: - enum: - - IMMEDIATE_REPORT - - DEFERRED_REPORT - type: string - PartialRecordMethod: - enum: - - DEFAULT - - INDIVIDUAL - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - SecondaryRatUsageReport: - example: - qosFlowsUsageData: - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - secondaryRatType: - $ref: '#/components/schemas/RatType' - qosFlowsUsageData: - items: - $ref: '#/components/schemas/QosFlowUsageReport' - minItems: 1 - type: array - required: - - qosFlowsUsageData - - secondaryRatType - type: object - QosFlowUsageReport: - example: - downlinkVolume: 1 - startTimeStamp: 2000-01-23T04:56:07.000+00:00 - qfi: 37 - endTimeStamp: 2000-01-23T04:56:07.000+00:00 - uplinkVolume: 5 - properties: - qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - startTimeStamp: - format: date-time - type: string - endTimeStamp: - format: date-time - type: string - downlinkVolume: - format: int64 - type: integer - uplinkVolume: - format: int64 - type: integer - required: - - downlinkVolume - - endTimeStamp - - qfi - - startTimeStamp - - uplinkVolume - type: object - Qfi: - format: int32 - maximum: 63 - minimum: 0 - type: integer - Int64: - format: int64 - type: integer - DurationSec: - format: int32 - type: integer - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - NonDynamic5Qi: - example: - priorityLevel: 76 - maxDataBurstVol: 943 - averWindow: 2308 - minProperties: 0 - properties: - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - type: object - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - AverWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - MaxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - Dynamic5Qi: - example: - priorityLevel: 89 - maxDataBurstVol: 830 - packetErrRate: packetErrRate - averWindow: 1481 - packetDelayBudget: 1 - properties: - resourceType: - $ref: '#/components/schemas/QosResourceType' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - packetDelayBudget: - format: int32 - minimum: 1 - type: integer - packetErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - averWindow: - default: 2000 - format: int32 - maximum: 4095 - minimum: 1 - type: integer - maxDataBurstVol: - format: int32 - maximum: 4095 - minimum: 1 - type: integer - required: - - packetDelayBudget - - packetErrRate - - priorityLevel - - resourceType - type: object - QosResourceType: - enum: - - NON_GBR - - NON_CRITICAL_GBR - - CRITICAL_GBR - type: string - PacketDelBudget: - format: int32 - minimum: 1 - type: integer - PacketErrRate: - pattern: ^([0-9]E-[0-9])$ - type: string - Arp: - example: - priorityLevel: 9 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - ReflectiveQoSAttribute: - enum: - - RQOS - - NO_RQOS - type: string - AdditionalQosFlowInfo: - enum: - - MORE_LIKELY - type: string - NotificationControl: - enum: - - REQUESTED - - NOT_REQUESTED - type: string - PacketLossRate: - format: int32 - maximum: 1000 - minimum: 0 - type: integer - Uint32: - format: int32 - minimum: 0 - type: integer - PostSmContexts_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateData' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_201: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreatedData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostSmContexts_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - PostSmContexts_response_504: - properties: - jsonData: - $ref: '#/components/schemas/SmContextCreateError' - binaryDataN1SmMessage: - format: binary - type: string - type: object - UpdateSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_200: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdatedData' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_400: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_403: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_404: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_500: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - UpdateSmContext_response_503: - properties: - jsonData: - $ref: '#/components/schemas/SmContextUpdateError' - binaryDataN1SmMessage: - format: binary - type: string - binaryDataN2SmInformation: - format: binary - type: string - type: object - ReleaseSmContext_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/SmContextReleaseData' - binaryDataN2SmInformation: - format: binary - type: string - type: object - PostPduSessions_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - PostPduSessions_response_201: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - PostPduSessions_response_400: - properties: - jsonData: - $ref: '#/components/schemas/PduSessionCreateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_requestBody: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateData' - binaryDataN1SmInfoFromUe: - format: binary - type: string - binaryDataUnknownN1SmInfo: - format: binary - type: string - type: object - UpdatePduSession_response_200: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdatedData' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - UpdatePduSession_response_400: - properties: - jsonData: - $ref: '#/components/schemas/HsmfUpdateError' - binaryDataN1SmInfoToUe: - format: binary - type: string - type: object - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nsmf-pdusession: Access to the nsmf-pdusession API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudm_UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go b/Nudm_UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go deleted file mode 100644 index f11b5852..00000000 --- a/Nudm_UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMF3GppAccessRegistrationInfoRetrievalApiService service - -/* -AMF3GppAccessRegistrationInfoRetrievalApiService retrieve the AMF registration for 3GPP access information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param optional nil or *GetParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - -@return models.Amf3GppAccessRegistration -*/ - -type GetParamOpts struct { - SupportedFeatures optional.String -} - -func (a *AMF3GppAccessRegistrationInfoRetrievalApiService) Get(ctx context.Context, ueId string, localVarOptionals *GetParamOpts) (models.Amf3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.Amf3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go b/Nudm_UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go deleted file mode 100644 index 91e13ac0..00000000 --- a/Nudm_UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMFNon3GPPAccessRegistrationInfoRetrievalApiService service - -/* -AMFNon3GPPAccessRegistrationInfoRetrievalApiService retrieve the AMF registration for non-3GPP access information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param optional nil or *GetAmfNon3gppAccessParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - -@return models.AmfNon3GppAccessRegistration -*/ - -type GetAmfNon3gppAccessParamOpts struct { - SupportedFeatures optional.String -} - -func (a *AMFNon3GPPAccessRegistrationInfoRetrievalApiService) GetAmfNon3gppAccess(ctx context.Context, ueId string, localVarOptionals *GetAmfNon3gppAccessParamOpts) (models.AmfNon3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmfNon3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_amf_registration_for3_gpp_access.go b/Nudm_UEContextManagement/api_amf_registration_for3_gpp_access.go deleted file mode 100644 index 7f252e92..00000000 --- a/Nudm_UEContextManagement/api_amf_registration_for3_gpp_access.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMFRegistrationFor3GPPAccessApiService service - -/* -AMFRegistrationFor3GPPAccessApiService register as AMF for 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param amf3GppAccessRegistration -@return models.Amf3GppAccessRegistration -*/ - -func (a *AMFRegistrationFor3GPPAccessApiService) Registration(ctx context.Context, ueId string, amf3GppAccessRegistration models.Amf3GppAccessRegistration) (models.Amf3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.Amf3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &amf3GppAccessRegistration - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_amf_registration_for_non3_gpp_access.go b/Nudm_UEContextManagement/api_amf_registration_for_non3_gpp_access.go deleted file mode 100644 index dde5098c..00000000 --- a/Nudm_UEContextManagement/api_amf_registration_for_non3_gpp_access.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMFRegistrationForNon3GPPAccessApiService service - -/* -AMFRegistrationForNon3GPPAccessApiService register as AMF for non-3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param amfNon3GppAccessRegistration -@return models.AmfNon3GppAccessRegistration -*/ - -func (a *AMFRegistrationForNon3GPPAccessApiService) Register(ctx context.Context, ueId string, amfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration) (models.AmfNon3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmfNon3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &amfNon3GppAccessRegistration - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_deregistrationNotification.go b/Nudm_UEContextManagement/api_deregistrationNotification.go deleted file mode 100644 index 76d3e5a4..00000000 --- a/Nudm_UEContextManagement/api_deregistrationNotification.go +++ /dev/null @@ -1,98 +0,0 @@ -package Nudm_UEContextManagement - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DeregistrationNotificationCallbackApiService service - -func (a *DeregistrationNotificationCallbackApiService) DeregistrationNotify(ctx context.Context, onDeregistrationNotifyUrl string, request models.DeregistrationData) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := onDeregistrationNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in onDeregistrationNotification", localVarHttpResponse.StatusCode) - } -} diff --git a/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go b/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go deleted file mode 100644 index ebe9b640..00000000 --- a/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService service - -/* -ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService Update a parameter in the AMF registration for 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param amf3GppAccessRegistrationModification -*/ - -func (a *ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService) Update(ctx context.Context, ueId string, amf3GppAccessRegistrationModification models.Amf3GppAccessRegistrationModification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &amf3GppAccessRegistrationModification - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 422: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go b/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go deleted file mode 100644 index a4706c05..00000000 --- a/Nudm_UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService service - -/* -ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService update a parameter in the AMF registration for non-3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param amfNon3GppAccessRegistrationModification -*/ - -func (a *ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService) UpdateAmfNon3gppAccess(ctx context.Context, ueId string, amfNon3GppAccessRegistrationModification models.AmfNon3GppAccessRegistrationModification) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &amfNon3GppAccessRegistrationModification - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 422: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smf_deregistration.go b/Nudm_UEContextManagement/api_smf_deregistration.go deleted file mode 100644 index 06604791..00000000 --- a/Nudm_UEContextManagement/api_smf_deregistration.go +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFDeregistrationApiService service - -/* -SMFDeregistrationApiService delete an SMF registration - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param pduSessionId Identifier of the PDU session -*/ - -func (a *SMFDeregistrationApiService) Deregistration(ctx context.Context, ueId string, pduSessionId int32) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if pduSessionId < 0 { - return nil, openapi.ReportError("pduSessionId must be greater than 0") - } - if pduSessionId > 255 { - return nil, openapi.ReportError("pduSessionId must be less than 255") - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 422: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smf_registration.go b/Nudm_UEContextManagement/api_smf_registration.go deleted file mode 100644 index 7be5b16a..00000000 --- a/Nudm_UEContextManagement/api_smf_registration.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFRegistrationApiService service - -/* -SMFRegistrationApiService register as SMF - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param pduSessionId Identifier of the PDU session - * @param smfRegistration -@return models.SmfRegistration -*/ - -func (a *SMFRegistrationApiService) SmfRegistrationsPduSessionId(ctx context.Context, ueId string, pduSessionId int32, smfRegistration models.SmfRegistration) (models.SmfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if pduSessionId < 0 { - return localVarReturnValue, nil, openapi.ReportError("pduSessionId must be greater than 0") - } - if pduSessionId > 255 { - return localVarReturnValue, nil, openapi.ReportError("pduSessionId must be less than 255") - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smfRegistration - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go b/Nudm_UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go deleted file mode 100644 index 7a307c59..00000000 --- a/Nudm_UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSF3GPPAccessRegistrationInfoRetrievalApiService service - -/* -SMSF3GPPAccessRegistrationInfoRetrievalApiService retrieve the SMSF registration for 3GPP access information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param optional nil or *GetSmsf3gppAccessParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - -@return models.SmsfRegistration -*/ - -type GetSmsf3gppAccessParamOpts struct { - SupportedFeatures optional.String -} - -func (a *SMSF3GPPAccessRegistrationInfoRetrievalApiService) GetSmsf3gppAccess(ctx context.Context, ueId string, localVarOptionals *GetSmsf3gppAccessParamOpts) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf_deregistration_for3_gpp_access.go b/Nudm_UEContextManagement/api_smsf_deregistration_for3_gpp_access.go deleted file mode 100644 index 07180de4..00000000 --- a/Nudm_UEContextManagement/api_smsf_deregistration_for3_gpp_access.go +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFDeregistrationFor3GPPAccessApiService service - -/* -SMSFDeregistrationFor3GPPAccessApiService delete the SMSF registration for 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE -*/ - -func (a *SMSFDeregistrationFor3GPPAccessApiService) DeregistrationSmsf3gppAccess(ctx context.Context, ueId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 422: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go b/Nudm_UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go deleted file mode 100644 index 6ea6a635..00000000 --- a/Nudm_UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFDeregistrationForNon3GPPAccessApiService service - -/* -SMSFDeregistrationForNon3GPPAccessApiService delete SMSF registration for non 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE -*/ - -func (a *SMSFDeregistrationForNon3GPPAccessApiService) DeregistrationSmsfNon3gppAccess(ctx context.Context, ueId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 422: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go b/Nudm_UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go deleted file mode 100644 index 837de8af..00000000 --- a/Nudm_UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFNon3GPPAccessRegistrationInfoRetrievalApiService service - -/* -SMSFNon3GPPAccessRegistrationInfoRetrievalApiService retrieve the SMSF registration for non-3GPP access information - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param optional nil or *GetSmsfNon3gppAccessParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - -@return models.SmsfRegistration -*/ - -type GetSmsfNon3gppAccessParamOpts struct { - SupportedFeatures optional.String -} - -func (a *SMSFNon3GPPAccessRegistrationInfoRetrievalApiService) GetSmsfNon3gppAccess(ctx context.Context, ueId string, localVarOptionals *GetSmsfNon3gppAccessParamOpts) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf_registration_for3_gpp_access.go b/Nudm_UEContextManagement/api_smsf_registration_for3_gpp_access.go deleted file mode 100644 index 52811295..00000000 --- a/Nudm_UEContextManagement/api_smsf_registration_for3_gpp_access.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFRegistrationFor3GPPAccessApiService service - -/* -SMSFRegistrationFor3GPPAccessApiService register as SMSF for 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param smsfRegistration -@return models.SmsfRegistration -*/ - -func (a *SMSFRegistrationFor3GPPAccessApiService) UpdateSMSFReg3GPP(ctx context.Context, ueId string, smsfRegistration models.SmsfRegistration) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smsfRegistration - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/api_smsf_registration_for_non3_gpp_access.go b/Nudm_UEContextManagement/api_smsf_registration_for_non3_gpp_access.go deleted file mode 100644 index 016b8352..00000000 --- a/Nudm_UEContextManagement/api_smsf_registration_for_non3_gpp_access.go +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFRegistrationForNon3GPPAccessApiService service - -/* -SMSFRegistrationForNon3GPPAccessApiService register as SMSF for non-3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId Identifier of the UE - * @param smsfRegistration -@return models.SmsfRegistration -*/ - -func (a *SMSFRegistrationForNon3GPPAccessApiService) RegistrationSmsfNon3gppAccess(ctx context.Context, ueId string, smsfRegistration models.SmsfRegistration) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &smsfRegistration - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudm_UEContextManagement/client.go b/Nudm_UEContextManagement/client.go deleted file mode 100644 index eb7cc791..00000000 --- a/Nudm_UEContextManagement/client.go +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -// APIClient manages communication with the Nudm_UECM API v1.0.1 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - AMF3GppAccessRegistrationInfoRetrievalApi *AMF3GppAccessRegistrationInfoRetrievalApiService - AMFNon3GPPAccessRegistrationInfoRetrievalApi *AMFNon3GPPAccessRegistrationInfoRetrievalApiService - AMFRegistrationFor3GPPAccessApi *AMFRegistrationFor3GPPAccessApiService - AMFRegistrationForNon3GPPAccessApi *AMFRegistrationForNon3GPPAccessApiService - ParameterUpdateInTheAMFRegistrationFor3GPPAccessApi *ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService - ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApi *ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService - SMFDeregistrationApi *SMFDeregistrationApiService - SMFRegistrationApi *SMFRegistrationApiService - SMSF3GPPAccessRegistrationInfoRetrievalApi *SMSF3GPPAccessRegistrationInfoRetrievalApiService - SMSFDeregistrationFor3GPPAccessApi *SMSFDeregistrationFor3GPPAccessApiService - SMSFDeregistrationForNon3GPPAccessApi *SMSFDeregistrationForNon3GPPAccessApiService - SMSFNon3GPPAccessRegistrationInfoRetrievalApi *SMSFNon3GPPAccessRegistrationInfoRetrievalApiService - SMSFRegistrationFor3GPPAccessApi *SMSFRegistrationFor3GPPAccessApiService - SMSFRegistrationForNon3GPPAccessApi *SMSFRegistrationForNon3GPPAccessApiService - DeregistrationNotificationCallbackApi *DeregistrationNotificationCallbackApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AMF3GppAccessRegistrationInfoRetrievalApi = (*AMF3GppAccessRegistrationInfoRetrievalApiService)(&c.common) - c.AMFNon3GPPAccessRegistrationInfoRetrievalApi = (*AMFNon3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) - c.AMFRegistrationFor3GPPAccessApi = (*AMFRegistrationFor3GPPAccessApiService)(&c.common) - c.AMFRegistrationForNon3GPPAccessApi = (*AMFRegistrationForNon3GPPAccessApiService)(&c.common) - c.ParameterUpdateInTheAMFRegistrationFor3GPPAccessApi = (*ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService)(&c.common) - c.ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApi = (*ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService)(&c.common) - c.SMFDeregistrationApi = (*SMFDeregistrationApiService)(&c.common) - c.SMFRegistrationApi = (*SMFRegistrationApiService)(&c.common) - c.SMSF3GPPAccessRegistrationInfoRetrievalApi = (*SMSF3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) - c.SMSFDeregistrationFor3GPPAccessApi = (*SMSFDeregistrationFor3GPPAccessApiService)(&c.common) - c.SMSFDeregistrationForNon3GPPAccessApi = (*SMSFDeregistrationForNon3GPPAccessApiService)(&c.common) - c.SMSFNon3GPPAccessRegistrationInfoRetrievalApi = (*SMSFNon3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) - c.SMSFRegistrationFor3GPPAccessApi = (*SMSFRegistrationFor3GPPAccessApiService)(&c.common) - c.SMSFRegistrationForNon3GPPAccessApi = (*SMSFRegistrationForNon3GPPAccessApiService)(&c.common) - c.DeregistrationNotificationCallbackApi = (*DeregistrationNotificationCallbackApiService)(&c.common) - - return c -} diff --git a/Nudm_UEContextManagement/configuration.go b/Nudm_UEContextManagement/configuration.go deleted file mode 100644 index 7ecd01fd..00000000 --- a/Nudm_UEContextManagement/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudm_UEContextManagement - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudm-uecm/v1", - url: "{apiRoot}/nudm-uecm/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/Nudr_DataRepository/.gitignore b/Nudr_DataRepository/.gitignore deleted file mode 100644 index 05fa7d76..00000000 --- a/Nudr_DataRepository/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Toolchain -# Goland project folder -.idea/ -# Visual Studio Code -.vscode/ -# emacs/vim -GPATH -GRTAGS -GTAGS -TAGS -tags -cscope.* -# mac -.DS_Store - diff --git a/Nudr_DataRepository/CHANGELOG.md b/Nudr_DataRepository/CHANGELOG.md deleted file mode 100644 index f465a209..00000000 --- a/Nudr_DataRepository/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log ---- -2020-03-xx-xx ---- -- Implemented enchacements: - -- Fixed bugs: - -- Closed issues: diff --git a/Nudr_DataRepository/api/openapi.yaml b/Nudr_DataRepository/api/openapi.yaml deleted file mode 100644 index b13698b8..00000000 --- a/Nudr_DataRepository/api/openapi.yaml +++ /dev/null @@ -1,11477 +0,0 @@ -openapi: 3.0.0 -info: - description: Unified Data Repository Service - title: Nudr_DataRepository API OpenAPI file - version: 1.0.0 -externalDocs: - description: 3GPP TS 29.504 V15.2.0; 5G System; Unified Data Repository Services; Stage 3 - url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ -servers: -- description: API root - url: '{apiRoot}/nudr-dr/v1' - variables: - apiRoot: - default: https://example.com -security: -- {} -- oAuth2ClientCredentials: - - nudr-dr -paths: - /subscription-data/{ueId}/authentication-data/authentication-subscription: - get: - operationId: QueryAuthSubsData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationSubscription' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the authentication subscription data of a UE - tags: - - Authentication Data (Document) - patch: - operationId: ModifyAuthentication - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: modify the authentication subscription data of a UE - tags: - - Authentication Data (Document) - /subscription-data/{ueId}/authentication-data/authentication-status: - get: - operationId: QueryAuthenticationStatus - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AuthEvent' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the Authentication Status of a UE - tags: - - AuthEvent (Document) - put: - operationId: CreateAuthenticationStatus - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AuthEvent' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To store the Authentication Status data of a UE - tags: - - Authentication Status (Document) - /subscription-data/{ueId}/ue-update-confirmation-data/sor-data: - get: - operationId: QueryAuthSoR - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supportedFeatures - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SorData' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SoR acknowledgement information of a UE - tags: - - Authentication SoR (Document) - put: - operationId: CreateAuthenticationSoR - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SorData' - responses: - 204: - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To store the SoR acknowledgement information of a UE - tags: - - Authentication SoR (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data: - get: - operationId: QueryProvisionedData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: List of dataset names - in: query - name: dataset-names - schema: - $ref: '#/components/schemas/DatasetNames' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/ProvisionedDataSets' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieve multiple provisioned data sets of a UE - tags: - - Provisioned Data (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/am-data: - get: - operationId: QueryAmData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AccessAndMobilitySubscriptionData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the access and mobility subscription data of a UE - tags: - - Access And Mobility Subscription Data (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/smf-selection-subscription-data: - get: - operationId: QuerySmfSelectData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmfSelectionSubscriptionData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMF selection subscription data of a UE - tags: - - SMF Selection Subscription Data (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sm-data: - get: - operationId: QuerySmData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: single NSSAI - in: query - name: single-nssai - required: false - schema: - $ref: ./TS29505_Subscription_Data.yaml#/components/schemas/VarSnssai - - description: DNN - in: query - name: dnn - required: false - schema: - $ref: '#/components/schemas/Dnn' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/SessionManagementSubscriptionData' - minItems: 1 - type: array - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the Session Management subscription data of a UE - tags: - - Session Management Subscription Data - /subscription-data/{ueId}/context-data/amf-3gpp-access: - get: - operationId: QueryAmfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/Amf3GppAccessRegistration' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the AMF context data of a UE using 3gpp access - tags: - - AMF 3GPP Access Registration (Document) - patch: - operationId: AmfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To modify the AMF context data of a UE using 3gpp access in the UDR - tags: - - AMF 3GPP Access Registration (Document) - put: - operationId: CreateAmfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Amf3GppAccessRegistration' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To store the AMF context data of a UE using 3gpp access in the UDR - tags: - - AMF 3GPP Access Registration (Document) - /subscription-data/{ueId}/context-data/amf-non-3gpp-access: - get: - operationId: QueryAmfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfNon3GppAccessRegistration' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the AMF context data of a UE using non-3gpp access - tags: - - AMF Non-3GPP Access Registration (Document) - patch: - operationId: AmfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To modify the AMF context data of a UE using non 3gpp access in the UDR - tags: - - AMF Non-3GPP Access Registration (Document) - put: - operationId: CreateAmfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AmfNon3GppAccessRegistration' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To store the AMF context data of a UE using non-3gpp access in the UDR - tags: - - AMF Non-3GPP Access Registration (Document) - /subscription-data/{ueId}/context-data/smf-registrations: - get: - operationId: QuerySmfRegList - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmfRegList' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMF registration list of a UE - tags: - - SMF Registrations (Collection) - /subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}: - delete: - operationId: DeleteSmfContext - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: string - responses: - 204: - description: Upon success, an empty response body shall be returned. - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To remove an individual SMF context data of a UE the UDR - tags: - - SMF Registration (Document) - get: - operationId: QuerySmfRegistration - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: string - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmfRegistration' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the individual SMF registration of a UE - tags: - - SMF Registration (Document) - put: - operationId: CreateSmfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: integer - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmfRegistration' - responses: - 201: - description: Upon success, a response body containing a representation of the created Individual SmfRegistration resource shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}' - required: true - schema: - type: string - summary: To create an individual SMF context data of a UE in the UDR - tags: - - SMF Registration (Document) - /subscription-data/{ueId}/operator-specific-data: - get: - operationId: QueryOperSpecData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/OperatorSpecificDataContainer' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the operator specific data of a UE - tags: - - Operator-Specific Data Container (Document) - patch: - operationId: AmfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To modify operator specific data of a UE - tags: - - Operator-Specific Data Container (Document) - /subscription-data/{ueId}/context-data/smsf-3gpp-access: - delete: - operationId: DeleteSmsfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To remove the SMSF context data of a UE via 3GPP access - tags: - - SMSF 3GPP Registration (Document) - get: - operationId: QuerySmsfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsfRegistration' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMSF context data of a UE using 3gpp access - tags: - - SMSF 3GPP Registration (Document) - put: - operationId: CreateSmsfContext3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsfRegistration' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create the SMSF context data of a UE via 3GPP access - tags: - - SMSF 3GPP Registration (Document) - /subscription-data/{ueId}/context-data/smsf-non-3gpp-access: - delete: - operationId: DeleteSmsfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: To remove the SMSF context data of a UE via non-3GPP access - tags: - - SMSF Non-3GPP Registration (Document) - get: - operationId: QuerySmsfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - minItems: 1 - type: array - style: form - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsfRegistration' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMSF context data of a UE using non-3gpp access - tags: - - SMSF Non-3GPP Registration (Document) - put: - operationId: CreateSmsfContextNon3gpp - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsfRegistration' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create the SMSF context data of a UE via non-3GPP access - tags: - - SMSF Non-3GPP Registration (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-mng-data: - get: - operationId: QuerySmsMngData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsManagementSubscriptionData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMS management subscription data of a UE - tags: - - SMS Management Subscription Data (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-data: - get: - operationId: QuerySmsData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmsSubscriptionData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the SMS subscription data of a UE - tags: - - SMS Subscription Data (Document) - /subscription-data/{ueId}/pp-data: - get: - operationId: GetppData - parameters: - - description: pp data for a UE - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/PpData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Read the profile of a given UE - tags: - - Parameter Provision (Document) - patch: - operationId: ModifyPpData - parameters: - - description: pp data for a UE - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: modify the provisioned parameter data - tags: - - ProvisionedParameterData (Document) - /subscription-data/{ueId}/context-data/ee-subscriptions: - get: - operationId: Queryeesubscriptions - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/EeSubscription' - type: array - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the ee subscriptions of a UE - tags: - - Event Exposure Subscriptions (Collection) - post: - operationId: CreateEeSubscriptions - parameters: - - description: UE ID - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}' - required: true - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create individual EE subscription - tags: - - Event Exposure Subscriptions (Collection) - /subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}: - delete: - operationId: RemoveeeSubscriptions - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Unique ID of the subscription to remove - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Expected response to a successful subscription removal - summary: Deletes a eeSubscription - tags: - - Event Exposure Subscription (Document) - put: - operationId: UpdateEesubscriptions - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Stores an individual ee subscriptions of a UE - tags: - - Event Exposure Subscription (Document) - /subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions: - delete: - operationId: RemoveAmfSubscriptionsInfo - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Expected response to a successful subscription removal - summary: Deletes AMF Subscription Info for an eeSubscription - tags: - - Event AMF Subscription Info (Document) - get: - operationId: GetAmfSubscriptionInfo - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/AmfSubscriptionInfo' - minItems: 1 - type: array - description: OK - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieve AMF subscription Info - tags: - - Query AMF Subscription Info (Document) - patch: - operationId: ModifyAmfSubscriptionInfo - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 204: - description: Expected response to a valid request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: modification is rejected - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: modify the AMF Subscription Info - tags: - - AmfSubscriptionInfo (Document) - put: - operationId: Create AMF Subscriptions - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/AmfSubscriptionInfo' - minItems: 1 - type: array - required: true - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create AmfSubscriptions for an individual ee subscriptions of a UE - tags: - - AMF Subscription Info (Document) - /subscription-data/group-data/{ueGroupId}/ee-subscriptions: - get: - operationId: QueryEeGroupSubscriptions - parameters: - - description: Group of UEs or any UE - in: path - name: ueGroupId - required: true - schema: - $ref: '#/components/schemas/VarUeGroupId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/EeSubscription' - type: array - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the ee subscriptions of a group of UEs or any UE - tags: - - Event Exposure Group Subscriptions (Collection) - post: - operationId: CreateEeGroupSubscriptions - parameters: - - description: Group of UEs or any UE - in: path - name: ueGroupId - required: true - schema: - $ref: '#/components/schemas/VarUeGroupId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nudr-dr/v1/subscription-data/group-data/{ueGroupId}/ee-subscriptions ' - required: true - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create individual EE subscription for a group of UEs or any UE - tags: - - Event Exposure Group Subscriptions (Collection) - /subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}: - delete: - operationId: RemoveEeGroupSubscriptions - parameters: - - in: path - name: ueGroupId - required: true - schema: - $ref: '#/components/schemas/VarUeGroupId' - - description: Unique ID of the subscription to remove - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Expected response to a successful subscription removal - summary: Deletes a eeSubscription for a group of UEs or any UE - tags: - - Event Exposure Subscription (Document) - put: - operationId: UpdateEeGroupSubscriptions - parameters: - - in: path - name: ueGroupId - required: true - schema: - $ref: '#/components/schemas/VarUeGroupId' - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/EeSubscription' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Stores an individual ee subscription of a group of UEs or any UE - tags: - - Event Exposure Subscription (Document) - /subscription-data/{ueId}/ee-profile-data: - get: - operationId: QueryEEData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - explode: false - in: query - name: fields - required: false - schema: - items: - type: string - type: array - style: form - - description: Supported Features - in: query - name: supportedFeatures - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/EeProfileData' - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the ee profile data of a UE - tags: - - Event Exposure Data (Document) - /subscription-data/{ueId}/context-data/sdm-subscriptions: - get: - operationId: Querysdmsubscriptions - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supported-features - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/SdmSubscription' - type: array - description: Expected response to a valid request - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieves the sdm subscriptions of a UE - tags: - - SDM Subscriptions (Collection) - post: - operationId: CreateSdmSubscriptions - parameters: - - description: UE ID - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SdmSubscription' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SdmSubscription' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}' - required: true - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Create individual sdm subscription - tags: - - SDM Subscriptions (Collection) - /subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}: - delete: - operationId: RemovesdmSubscriptions - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Unique ID of the subscription to remove - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Expected response to a successful subscription removal - summary: Deletes a sdmsubscriptions - tags: - - SDM Subscription (Document) - put: - operationId: Updatesdmsubscriptions - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SdmSubscription' - responses: - 204: - description: Upon success, an empty response body shall be returned - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Stores an individual sdm subscriptions of a UE - tags: - - SDM Subscription (Document) - /subscription-data/shared-data: - get: - operationId: GetSharedData - parameters: - - description: List of shared data ids - explode: false - in: query - name: shared-data-ids - required: true - schema: - $ref: '#/components/schemas/SharedDataIds_2' - style: form - - description: Supported Features - in: query - name: supportedFeatures - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/SharedData' - minItems: 1 - type: array - description: Expected response to a valid request - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Unexpected error - summary: retrieve shared data - tags: - - Retrieval of shared data - /subscription-data/subs-to-notify: - post: - callbacks: - onDataChange: - '{request.body#/callbackReference}': - post: - operationId: onDataChange_request_bodyCallbackReferencePost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DataChangeNotify' - required: true - responses: - 204: - description: Expected response to a valid request - x-callback-request: true - operationId: SubscriptionDataSubscriptions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionDataSubscriptions' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionDataSubscriptions' - description: Expected response to a valid request - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/subscription-data/subs-to-notify/{subsId}' - required: true - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Subscription data subscriptions - tags: - - Subs To Nofify (Collection) - /subscription-data/subs-to-notify/{subsId}: - delete: - operationId: RemovesubscriptionDataSubscriptions - parameters: - - description: Unique ID of the subscription to remove - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Expected response to a successful subscription removal - summary: Deletes a subscriptionDataSubscriptions - tags: - - Subs To Notify (Document) - /subscription-data/{ueId}/{servingPlmnId}/provisioned-data/trace-data: - get: - operationId: QueryTraceData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PLMN ID - in: path - name: servingPlmnId - required: true - schema: - $ref: '#/components/schemas/VarPlmnId' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/TraceData' - description: Expected response to a valid request - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - description: Generic Error - summary: Retrieves the trace configuration data of a UE - tags: - - Trace Data (Document) - /subscription-data/{ueId}/identity-data: - get: - operationId: GetIdentityData - parameters: - - description: UE ID - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Validator for conditional requests, as described in RFC 7232, 3.2 - in: header - name: If-None-Match - schema: - type: string - - description: Validator for conditional requests, as described in RFC 7232, 3.3 - in: header - name: If-Modified-Since - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/IdentityData' - description: OK - headers: - Cache-Control: - description: Cache-Control containing max-age, as described in RFC 7234, 5.2 - schema: - type: string - ETag: - description: Entity Tag, containing a strong validator, as described in RFC 7232, 2.3 - schema: - type: string - Last-Modified: - description: Timestamp for last modification of the resource, as described in RFC 7232, 2.2 - schema: - type: string - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieve identity data by SUPI or GPSI - tags: - - Query Identity Data by SUPI or GPSI (Document) - /subscription-data/{ueId}/operator-determined-barring-data: - get: - operationId: GetOdbData - parameters: - - description: UE ID - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/OperatorDeterminedBarringData' - description: OK - default: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unexpected error - summary: Retrieve ODB Data data by SUPI or GPSI - tags: - - Query ODB Data by SUPI or GPSI (Document) - /policy-data/ues/{ueId}/am-data: - get: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AmPolicyData' - description: Upon success, a response body containing access and mobility policies shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - /policy-data/ues/{ueId}/ue-policy-set: - get: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/UePolicySet' - description: Upon success, a response body containing UE policies shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - patch: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/merge-patch+json: - schema: - $ref: '#/components/schemas/UePolicySet' - responses: - 204: - description: Successful case. The resource has been successfully updated and no additional content is to be sent in the response message. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UePolicySet' - responses: - 201: - description: Successful case. The resource has been successfully created and a response body containing a representation of the created UEPolicySet resource shall be returned. - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 204: - description: Successful case. The resource has been successfully updated and no additional content is to be sent in the response message. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/ues/{ueId}/sm-data: - get: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: query - name: snssai - required: false - schema: - $ref: '#/components/schemas/Snssai' - - in: query - name: dnn - required: false - schema: - $ref: '#/components/schemas/Dnn_2' - - description: attributes to be retrieved - in: query - name: fields - required: false - schema: - items: - type: string - type: array - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SmPolicyData' - description: Upon success, a response body containing SmPolicyData shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - patch: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/merge-patch+json: - schema: - additionalProperties: - $ref: '#/components/schemas/UsageMonData' - type: object - responses: - 204: - description: Successful case. The resource has been successfully uupdated and no additional content is to be sent in the response message. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/ues/{ueId}/sm-data/{usageMonId}: - delete: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: usageMonId - required: true - schema: - type: string - responses: - 204: - description: Successful case. The resource has been successfully deleted. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - get: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: usageMonId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/UsageMonData' - description: Successful case. The usage monitoring data is returned. - 204: - description: The resource was found but no usage monitoring data is available. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - in: path - name: usageMonId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UsageMonData' - responses: - 201: - description: Successful case. The resource has been successfully created and a response body is returned containing a representation of the resource. - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/sponsor-connectivity-data/{sponsorId}: - get: - parameters: - - in: path - name: sponsorId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/SponsorConnectivityData' - description: Upon success, a response body containing Sponsor Connectivity Data shall be returned. - 204: - description: The resource was found but no Sponsor Connectivity Data is available. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: sponsorId - required: true - schema: - type: string - /policy-data/bdt-data: - get: - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/BdtData' - type: array - description: Upon success, a response body containing the BDT data shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/bdt-data/{bdtReferenceId}: - delete: - parameters: - - in: path - name: bdtReferenceId - required: true - schema: - type: string - responses: - 204: - description: Successful case. The resource has been successfully deleted. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - get: - parameters: - - in: path - name: bdtReferenceId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/BdtData' - description: Upon success, a response body containing the BDT data shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: bdtReferenceId - required: true - schema: - type: string - put: - parameters: - - in: path - name: bdtReferenceId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BdtData' - responses: - 201: - description: Successful case. The resource has been successfully created. - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/subs-to-notify: - post: - callbacks: - policyDataChangeNotification: - '{$request.body#/notificationUri}': - post: - operationId: policyDataChangeNotification_Post - requestBody: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/PolicyDataChangeNotification' - minItems: 1 - type: array - required: true - responses: - 204: - description: No Content, Notification was succesfull - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - x-callback-request: true - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyDataSubscription' - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyDataSubscription' - description: Upon success, a response body containing a representation of each Individual subscription resource shall be returned. - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/subs-to-notify/{subsId}: - delete: - parameters: - - in: path - name: subsId - required: true - schema: - type: string - responses: - 204: - description: Upon success, an empty response body shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: subsId - required: true - schema: - type: string - put: - parameters: - - in: path - name: subsId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyDataSubscription' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyDataSubscription' - description: The individual subscription resource was updated successfully. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/ues/{ueId}/operator-specific-data: - get: - parameters: - - description: UE Id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: attributes to be retrieved - in: query - name: fields - required: false - schema: - items: - type: string - type: array - responses: - 200: - content: - application/json: - schema: - additionalProperties: - $ref: '#/components/schemas/OperatorSpecificDataContainer_2' - type: object - description: Expected response to a valid request - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - patch: - parameters: - - description: UE Id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json-patch+json: - schema: - items: - $ref: '#/components/schemas/PatchItem' - type: array - required: true - responses: - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - description: UE Id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - additionalProperties: - $ref: '#/components/schemas/OperatorSpecificDataContainer_2' - type: object - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/OperatorSpecificDataContainer_2' - description: OK - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /application-data/pfds: - get: - parameters: - - description: Contains the information of the application identifier(s) for the querying PFD Data resource.If none appId is included in the URI, it applies to all application identifier(s) for the querying PFD Data resource. - in: query - name: appId - required: false - schema: - items: - $ref: '#/components/schemas/ApplicationId' - type: array - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/PfdDataForApp' - type: array - description: A representation of PFDs for request applications is returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /application-data/pfds/{appId}: - delete: - parameters: - - description: Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. - in: path - name: appId - required: true - schema: - type: string - responses: - 204: - description: Successful case.The Individual PFD Data resource related to the application identifier was deleted. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - get: - parameters: - - description: Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. - in: path - name: appId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/PfdDataForApp' - description: A representation of PFDs for the request application identified by the application identifier is returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - description: Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. - in: path - name: appId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PfdDataForApp' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/PfdDataForApp' - description: The creation of an Individual PFD Data resource related to the application-identifier is confirmed and a representation of that resource is returned. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nudr-dr/v1/application-data/pfds/{application-identifier}' - required: true - schema: - type: string - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/PfdDataForApp' - description: Successful case.The upgrade of an Individual PFD Data resource related to the application identifier is confirmed and a representation of that resource is returned. - 204: - description: No content - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /application-data/influenceData: - get: - parameters: - - description: Each element identifies a service. - in: query - name: influence-Ids - required: false - schema: - items: - type: string - type: array - - description: Each element identifies a DNN. - in: query - name: dnns - required: false - schema: - items: - $ref: '#/components/schemas/Dnn_2' - type: array - - description: Each element identifies a slice. - in: query - name: snssais - required: false - schema: - items: - $ref: '#/components/schemas/Snssai' - type: array - - description: Each element identifies a group of users. - in: query - name: internal-Group-Ids - required: false - schema: - items: - type: string - type: array - - description: Each element identifies the user. - in: query - name: supis - required: false - schema: - items: - $ref: '#/components/schemas/Supi' - type: array - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/TrafficInfluData' - type: array - description: The Traffic Influence Data stored in the UDR are returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /application-data/influenceData/{influenceId}: - delete: - parameters: - - description: The Identifier of an Individual Influence Data to be updated.It shall apply the format of Data type string. - in: path - name: influenceId - required: true - schema: - type: string - responses: - 204: - description: The Individual Influence Data was deleted successfully. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - patch: - parameters: - - description: The Identifier of an Individual Influence Data to be updated.It shall apply the format of Data type string. - in: path - name: influenceId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluDataPatch' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluData' - description: The update of an Individual Traffic Influence Data resource is confirmed and a response body containing Traffic Influence Data shall be returned. - 204: - description: No content - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - description: The Identifier of an Individual Influence Data to be created or updated.It shall apply the format of Data type string. - in: path - name: influenceId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluData' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluData' - description: The creation of an Individual Traffic Influence Data resource is confirmed and a representation of that resource is returned. - headers: - Location: - description: 'Contains the URI of the newly created resource, according - to the structure: {apiRoot}/nudr-dr/v1/application-data/influenceData/{influenceId}' - required: true - schema: - type: string - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluData' - description: The update of an Individual Traffic Influence Data resource is confirmed and a response body containing Traffic Influence Data shall be returned. - 204: - description: No content - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /policy-data/plmns/{plmnId}/ue-policy-set: - get: - parameters: - - in: path - name: plmnId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/UePolicySet' - description: Upon success, a response body containing UE policies shall be returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 412: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Precondition Failed - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - parameters: - - in: path - name: plmnId - required: true - schema: - type: string - /application-data/influenceData/subs-to-notify: - get: - parameters: - - description: Identifies a DNN. - in: query - name: dnn - required: false - schema: - $ref: '#/components/schemas/Dnn_2' - - description: Identifies a slice. - in: query - name: snssai - required: false - schema: - $ref: '#/components/schemas/Snssai' - - description: Identifies a group of users. - in: query - name: internal-Group-Id - required: false - schema: - $ref: '#/components/schemas/ExternalGroupId' - - description: Identifies a user. - in: query - name: supi - required: false - schema: - $ref: '#/components/schemas/Supi' - responses: - 200: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/TrafficInfluSub' - minItems: 0 - type: array - description: The subscription information as request in the request URI query parameter(s) are returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - post: - callbacks: - trafficInfluenceDataChangeNotification: - '{$request.body#/notificationUri}': - post: - operationId: trafficInfluenceDataChangeNotification_Post - requestBody: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/TrafficInfluData' - minItems: 1 - type: array - required: true - responses: - 204: - description: No Content, Notification was succesfull - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - x-callback-request: true - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluSub' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluSub' - description: The subscription was created successfully. - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /application-data/influenceData/subs-to-notify/{subscriptionId}: - delete: - parameters: - - description: String identifying a subscription to the Individual Influence Data Subscription - in: path - name: subscriptionId - required: true - schema: - type: string - responses: - 204: - description: The subscription was terminated successfully. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - get: - parameters: - - description: String identifying a subscription to the Individual Influence Data Subscription - in: path - name: subscriptionId - required: true - schema: - type: string - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluSub' - description: The subscription information is returned. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - put: - parameters: - - description: String identifying a subscription to the Individual Influence Data Subscription - in: path - name: subscriptionId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluSub' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficInfluSub' - description: The subscription was updated successfully. - 204: - description: No content - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /exposure-data/{ueId}/access-and-mobility-data: - delete: - operationId: DeleteAccessAndMobilityData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - responses: - 204: - description: Upon success, an empty response body shall be returned - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Deletes the access and mobility exposure data for a UE - tags: - - AccessAndMobilityData - get: - operationId: QueryAccessAndMobilityData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: Supported Features - in: query - name: supp-feat - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/AccessAndMobilityData' - description: The response body contains the access and mobility data - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieves the access and mobility exposure data for a UE - tags: - - AccessAndMobilityData - put: - operationId: CreateAccessAndMobilityData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AccessAndMobilityData' - responses: - 201: - description: Upon success, a response body is returned containing a representation of the access and mobility data - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Creates and updates the access and mobility exposure data for a UE - tags: - - AccessAndMobilityData - /exposure-data/{ueId}/session-management-data/{pduSessionId}: - delete: - operationId: DeleteSessionManagementData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: integer - responses: - 204: - description: Upon success, an empty response body shall be returned - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Deletes the session management data for a UE and for an individual PDU session - tags: - - PduSessionManagementData - get: - operationId: QuerySessionManagementData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: integer - - description: IPv4 Address of the UE - in: query - name: ipv4-addr - schema: - $ref: '#/components/schemas/Ipv4Addr' - - description: IPv6 Address Prefix of the UE - in: query - name: ipv6-prefix - schema: - $ref: '#/components/schemas/Ipv6Prefix' - - description: DNN of the UE - in: query - name: dnn - schema: - $ref: '#/components/schemas/Dnn_2' - - description: attributes to be retrieved - in: query - name: fields - required: false - schema: - items: - type: string - type: array - - description: Supported Features - in: query - name: supp-feat - schema: - $ref: '#/components/schemas/SupportedFeatures' - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionManagementData' - description: The response body contains the session management data - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 406: - description: 406 Not Acceptable - 414: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: URI Too Long - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Retrieves the session management data for a UE and for an individual PDU session - tags: - - PduSessionManagementData - put: - operationId: CreateSessionManagementData - parameters: - - description: UE id - in: path - name: ueId - required: true - schema: - $ref: '#/components/schemas/VarUeId' - - description: PDU session id - in: path - name: pduSessionId - required: true - schema: - type: integer - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PduSessionManagementData' - responses: - 201: - description: Upon success, a response body is returned containing a representation of the session management data - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Creates and updates the session management data for a UE and for an individual PDU session - tags: - - PduSessionManagementData - /exposure-data/subs-to-notify: - post: - callbacks: - exposureDataChangeNotification: - '{$request.body#/notificationUri}': - post: - operationId: exposureDataChangeNotification_Post - requestBody: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/ExposureDataChangeNotification' - minItems: 1 - type: array - required: true - responses: - 204: - description: No Content, Notification was succesfull - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - x-callback-request: true - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExposureDataSubscription' - required: true - responses: - 201: - content: - application/json: - schema: - $ref: '#/components/schemas/ExposureDataSubscription' - description: Created - headers: - Location: - description: Contains the URI of the newly created resource - required: true - schema: - type: string - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - /exposure-data/subs-to-notify/{subId}: - delete: - parameters: - - description: Subscription id - in: path - name: subId - required: true - schema: - type: string - responses: - 204: - description: Resource was succesfully deleted. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: Deletes a subcription for notifications - put: - parameters: - - description: Subscription id - in: path - name: subId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExposureDataSubscription' - required: true - responses: - 200: - content: - application/json: - schema: - $ref: '#/components/schemas/ExposureDataSubscription' - description: Resource was succesfully modified. - 400: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Bad request - 401: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unauthorized - 403: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Forbidden - 404: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Not Found - 411: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Length Required - 413: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Payload Too Large - 415: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Unsupported Media Type - 429: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Too Many Requests - 500: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Internal Server Error - 503: - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - description: Service Unavailable - default: - description: Generic Error - summary: updates a subcription for notifications -components: - schemas: - VarUeId: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - SupportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - AuthenticationSubscription: - example: - authenticationManagementField: authenticationManagementField - sequenceNumber: sequenceNumber - opc: - opcValue: opcValue - encryptionKey: 9 - encryptionAlgorithm: 3 - permanentKey: - permanentKeyValue: permanentKeyValue - encryptionKey: 0 - encryptionAlgorithm: 6 - topc: - topcValue: topcValue - encryptionKey: 2 - encryptionAlgorithm: 4 - milenage: - op: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 180 - top: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - sharedAuthenticationSubscriptionId: - sharedSmsSubsData: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - sharedDnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedAuthenticationSubscription: - authenticationManagementField: authenticationManagementField - milenage: - op: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 180 - top: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - sharedSnssaiInfos: - key: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - sharedDataId: sharedDataId - sharedTraceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - sharedSmsMngSubsData: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - sharedAmData: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 7 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - singleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 27 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 1 - ueUsageType: 6 - internalGroupIds: - - null - - null - micoAllowed: true - properties: - authenticationMethod: - $ref: '#/components/schemas/AuthMethod' - permanentKey: - $ref: '#/components/schemas/PermanentKey' - sequenceNumber: - pattern: ^[A-Fa-f0-9]{12}$ - type: string - authenticationManagementField: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - vectorAlgorithm: - $ref: '#/components/schemas/VectorAlgorithm' - milenage: - $ref: '#/components/schemas/Milenage' - tuak: - $ref: '#/components/schemas/Tuak' - opc: - $ref: '#/components/schemas/Opc' - topc: - $ref: '#/components/schemas/Topc' - sharedAuthenticationSubscriptionId: - $ref: '#/components/schemas/SharedData_2' - required: - - authenticationMethod - - permanentKey - - sequenceNumber - type: object - AuthMethod: - enum: - - 5G_AKA - - EAP_AKA_PRIME - type: string - PermanentKey: - example: - permanentKeyValue: permanentKeyValue - encryptionKey: 0 - encryptionAlgorithm: 6 - properties: - permanentKeyValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - permanentKeyValue - type: object - PermanentKeyValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - EncryptionKey: - format: int32 - type: integer - EncryptionAlgorithm: - format: int32 - type: integer - SequenceNumber: - pattern: ^[A-Fa-f0-9]{12}$ - type: string - AuthenticationManagementField: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - VectorAlgorithm: - enum: - - MILENAGE - - TUAK - type: string - Milenage: - example: - op: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - properties: - op: - $ref: '#/components/schemas/Op' - rotations: - $ref: '#/components/schemas/Rotations' - constants: - $ref: '#/components/schemas/Constants' - type: object - Op: - example: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - properties: - opValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - opValue - type: object - OpValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - Rotations: - example: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - properties: - r1: - pattern: ^[A-Fa-f0-9]+$ - type: string - r2: - pattern: ^[A-Fa-f0-9]+$ - type: string - r3: - pattern: ^[A-Fa-f0-9]+$ - type: string - r4: - pattern: ^[A-Fa-f0-9]+$ - type: string - r5: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - r1 - - r2 - - r3 - - r4 - - r5 - type: object - RValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - Constants: - example: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - properties: - c1: - pattern: ^[A-Fa-f0-9]+$ - type: string - c2: - pattern: ^[A-Fa-f0-9]+$ - type: string - c3: - pattern: ^[A-Fa-f0-9]+$ - type: string - c4: - pattern: ^[A-Fa-f0-9]+$ - type: string - c5: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - c1 - - c2 - - c3 - - c4 - - c5 - type: object - CValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - Tuak: - example: - keccakIterations: 180 - top: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - properties: - top: - $ref: '#/components/schemas/Top' - keccakIterations: - format: int32 - maximum: 255 - minimum: 1 - type: integer - type: object - Top: - example: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - properties: - topValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - topValue - type: object - TopValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - Opc: - example: - opcValue: opcValue - encryptionKey: 9 - encryptionAlgorithm: 3 - properties: - opcValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - opcValue - type: object - OpcValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - Topc: - example: - topcValue: topcValue - encryptionKey: 2 - encryptionAlgorithm: 4 - properties: - topcValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - topcValue - type: object - TopcValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - ProblemDetails: - properties: - type: - type: string - title: - type: string - status: - format: int32 - type: integer - detail: - type: string - instance: - type: string - cause: - type: string - invalidParams: - items: - $ref: '#/components/schemas/InvalidParam' - minItems: 1 - type: array - type: object - Uri: - type: string - InvalidParam: - properties: - param: - type: string - reason: - type: string - required: - - param - type: object - PatchItem: - properties: - op: - $ref: '#/components/schemas/PatchOperation' - path: - type: string - from: - type: string - value: - nullable: true - required: - - op - - path - type: object - PatchOperation: - enum: - - add - - copy - - move - - remove - - replace - - test - type: string - AuthEvent: - example: - timeStamp: 2000-01-23T04:56:07.000+00:00 - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - servingNetworkName: servingNetworkName - success: true - properties: - nfInstanceId: - format: uuid - type: string - success: - type: boolean - timeStamp: - format: date-time - type: string - authType: - $ref: '#/components/schemas/AuthType' - servingNetworkName: - pattern: ^5G:mnc[0-9]{3}[.]mcc[0-9]{3}[.]3gppnetwork[.]org$ - type: string - required: - - authType - - nfInstanceId - - servingNetworkName - - success - - timeStamp - type: object - Success: - type: boolean - AuthType: - enum: - - 5G_AKA - - EAP_AKA_PRIME - - EAP_TLS - type: string - ServingNetworkName: - pattern: ^5G:mnc[0-9]{3}[.]mcc[0-9]{3}[.]3gppnetwork[.]org$ - type: string - SorData: - example: - sorXmacIue: sorXmacIue - properties: - sorXmacIue: - pattern: ^[A-Fa-f0-9]{32}$ - type: string - required: - - sorXmacIue - type: object - VarPlmnId: - pattern: ^[0-9]{5,6}$ - type: string - DatasetNames: - items: - $ref: '#/components/schemas/DataSetName' - minItems: 1 - type: array - uniqueItems: true - DataSetName: - enum: - - AM - - SMF_SEL - - SMS_SUB - - SM - - TRACE - - SMS_MNG - type: string - ProvisionedDataSets: - example: - amData: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 7 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - singleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 27 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 1 - ueUsageType: 6 - internalGroupIds: - - null - - null - micoAllowed: true - smfSelData: - supportedFeatures: supportedFeatures - subscribedSnssaiInfos: - key: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - sharedSnssaiInfosId: sharedSnssaiInfosId - smData: - - dnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedDnnConfigurationsIds: sharedDnnConfigurationsIds - singleNssai: - sd: sd - sst: 188 - internalGroupIds: - - null - - null - - dnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedDnnConfigurationsIds: sharedDnnConfigurationsIds - singleNssai: - sd: sd - sst: 188 - internalGroupIds: - - null - - null - traceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - smsSubsData: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - smsMngData: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - properties: - amData: - $ref: '#/components/schemas/AccessAndMobilitySubscriptionData' - smfSelData: - $ref: '#/components/schemas/SmfSelectionSubscriptionData' - smsSubsData: - $ref: '#/components/schemas/SmsSubscriptionData' - smData: - items: - $ref: '#/components/schemas/SessionManagementSubscriptionData' - type: array - traceData: - $ref: '#/components/schemas/TraceData_2' - smsMngData: - $ref: '#/components/schemas/SmsManagementSubscriptionData' - type: object - AccessAndMobilitySubscriptionData: - example: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 7 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - singleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 27 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 1 - ueUsageType: 6 - internalGroupIds: - - null - - null - micoAllowed: true - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - gpsis: - items: - $ref: '#/components/schemas/Gpsi' - type: array - internalGroupIds: - items: - $ref: '#/components/schemas/GroupId' - minItems: 1 - type: array - subscribedUeAmbr: - $ref: '#/components/schemas/AmbrRm' - nssai: - $ref: '#/components/schemas/Nssai' - ratRestrictions: - items: - $ref: '#/components/schemas/RatType' - type: array - forbiddenAreas: - items: - $ref: '#/components/schemas/Area' - type: array - serviceAreaRestriction: - $ref: '#/components/schemas/ServiceAreaRestriction' - coreNetworkTypeRestrictions: - items: - $ref: '#/components/schemas/CoreNetworkType' - type: array - rfspIndex: - format: int32 - maximum: 256 - minimum: 1 - nullable: true - type: integer - subsRegTimer: - format: int32 - nullable: true - type: integer - ueUsageType: - format: int32 - type: integer - mpsPriority: - type: boolean - mcsPriority: - type: boolean - activeTime: - format: int32 - nullable: true - type: integer - dlPacketCount: - format: int32 - minimum: -1 - type: integer - sorInfo: - $ref: '#/components/schemas/SorInfo' - micoAllowed: - type: boolean - sharedAmDataIds: - items: - $ref: '#/components/schemas/SharedDataId' - minItems: 1 - type: array - odbPacketServices: - $ref: '#/components/schemas/OdbPacketServices' - type: object - Nssai: - example: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - singleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - nullable: true - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - defaultSingleNssais: - items: - $ref: '#/components/schemas/Snssai_2' - minItems: 1 - type: array - singleNssais: - items: - $ref: '#/components/schemas/Snssai_2' - minItems: 1 - type: array - required: - - defaultSingleNssais - type: object - UeUsageType: - format: int32 - type: integer - MpsPriorityIndicator: - type: boolean - McsPriorityIndicator: - type: boolean - DlPacketCount: - format: int32 - minimum: -1 - type: integer - SorInfo: - example: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - properties: - steeringContainer: - $ref: '#/components/schemas/SteeringContainer' - ackInd: - type: boolean - sorMacIausf: - pattern: ^[A-Fa-f0-9]{32}$ - type: string - countersor: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - required: - - ackInd - - countersor - - sorMacIausf - type: object - SteeringContainer: - oneOf: - - items: - $ref: '#/components/schemas/SteeringInfo' - minItems: 1 - type: array - - $ref: '#/components/schemas/SecuredPacket' - SecuredPacket: - format: base64 - type: string - MicoAllowed: - type: boolean - SharedDataId: - pattern: ^[0-9]{5,6}-.+$ - type: string - SmfSelectionSubscriptionData: - example: - supportedFeatures: supportedFeatures - subscribedSnssaiInfos: - key: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - sharedSnssaiInfosId: sharedSnssaiInfosId - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - subscribedSnssaiInfos: - additionalProperties: - $ref: '#/components/schemas/SnssaiInfo' - type: object - sharedSnssaiInfosId: - pattern: ^[0-9]{5,6}-.+$ - type: string - type: object - SnssaiInfo: - example: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - properties: - dnnInfos: - items: - $ref: '#/components/schemas/DnnInfo' - minItems: 1 - type: array - required: - - dnnInfos - type: object - DnnInfo: - example: - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - properties: - dnn: - type: string - defaultDnnIndicator: - type: boolean - lboRoamingAllowed: - type: boolean - iwkEpsInd: - type: boolean - ladnIndicator: - type: boolean - required: - - dnn - type: object - DnnIndicator: - type: boolean - LboRoamingAllowed: - type: boolean - IwkEpsInd: - type: boolean - LadnIndicator: - type: boolean - SmsSubscriptionData: - example: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - properties: - smsSubscribed: - type: boolean - sharedSmsSubsDataId: - items: - $ref: '#/components/schemas/SharedDataId' - type: array - type: object - SmsSubscribed: - type: boolean - SharedDataIds: - items: - $ref: '#/components/schemas/SharedDataId' - type: array - SessionManagementSubscriptionData: - example: - dnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedDnnConfigurationsIds: sharedDnnConfigurationsIds - singleNssai: - sd: sd - sst: 188 - internalGroupIds: - - null - - null - properties: - singleNssai: - $ref: '#/components/schemas/Snssai_2' - dnnConfigurations: - additionalProperties: - $ref: '#/components/schemas/DnnConfiguration' - description: A map (list of key-value pairs where Dnn serves as key) of DnnConfigurations - type: object - internalGroupIds: - items: - $ref: '#/components/schemas/GroupId' - minItems: 1 - type: array - sharedDnnConfigurationsIds: - pattern: ^[0-9]{5,6}-.+$ - type: string - required: - - singleNssai - type: object - DnnConfiguration: - example: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - properties: - pduSessionTypes: - $ref: '#/components/schemas/PduSessionTypes' - sscModes: - $ref: '#/components/schemas/SscModes' - iwkEpsInd: - type: boolean - ladnIndicator: - type: boolean - 5gQosProfile: - $ref: '#/components/schemas/SubscribedDefaultQos' - sessionAmbr: - $ref: '#/components/schemas/Ambr' - 3gppChargingCharacteristics: - type: string - staticIpAddress: - items: - $ref: '#/components/schemas/IpAddress' - maxItems: 2 - minItems: 1 - type: array - upSecurity: - $ref: '#/components/schemas/UpSecurity' - required: - - pduSessionTypes - - sscModes - type: object - PduSessionTypes: - example: - allowedSessionTypes: - - null - - null - properties: - defaultSessionType: - $ref: '#/components/schemas/PduSessionType' - allowedSessionTypes: - items: - $ref: '#/components/schemas/PduSessionType' - minItems: 1 - type: array - required: - - defaultSessionType - type: object - SscModes: - example: - allowedSscModes: - - null - - null - properties: - defaultSscMode: - $ref: '#/components/schemas/SscMode' - allowedSscModes: - items: - $ref: '#/components/schemas/SscMode' - maxItems: 2 - minItems: 1 - type: array - required: - - defaultSscMode - type: object - 3GppChargingCharacteristics: - type: string - IpAddress: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - oneOf: - - required: - - ipv4Address - - required: - - ipv6Address - - required: - - ipv6Prefix - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr_2' - ipv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix_2' - type: object - SmsManagementSubscriptionData: - example: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - mtSmsSubscribed: - type: boolean - mtSmsBarringAll: - type: boolean - mtSmsBarringRoaming: - type: boolean - moSmsSubscribed: - type: boolean - moSmsBarringAll: - type: boolean - moSmsBarringRoaming: - type: boolean - sharedSmsMngDataIds: - items: - $ref: '#/components/schemas/SharedDataId' - minItems: 1 - type: array - type: object - Dnn: - type: string - Amf3GppAccessRegistration: - example: - deregCallbackUri: deregCallbackUri - supportedFeatures: supportedFeatures - purgeFlag: true - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - pei: pei - drFlag: true - amfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - pcscfRestorationCallbackUri: pcscfRestorationCallbackUri - initialRegistrationInd: true - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - amfInstanceId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - purgeFlag: - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - imsVoPs: - $ref: '#/components/schemas/ImsVoPs' - deregCallbackUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - amfServiceNameDereg: - $ref: '#/components/schemas/ServiceName' - pcscfRestorationCallbackUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - amfServiceNamePcscfRest: - $ref: '#/components/schemas/ServiceName' - initialRegistrationInd: - type: boolean - guami: - $ref: '#/components/schemas/Guami' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - drFlag: - type: boolean - ratType: - $ref: '#/components/schemas/RatType' - required: - - amfInstanceId - - deregCallbackUri - - guami - - ratType - type: object - PurgeFlag: - type: boolean - ImsVoPs: - enum: - - HOMOGENEOUS_SUPPORT - - HOMOGENEOUS_NON_SUPPORT - - NON_HOMOGENEOUS_OR_UNKNOWN - type: string - DualRegistrationFlag: - type: boolean - AmfNon3GppAccessRegistration: - example: - deregCallbackUri: deregCallbackUri - supportedFeatures: supportedFeatures - purgeFlag: true - pei: pei - amfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - pcscfRestorationCallbackUri: pcscfRestorationCallbackUri - guami: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - backupAmfInfo: - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - amfInstanceId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - purgeFlag: - type: boolean - pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - imsVoPs: - $ref: '#/components/schemas/ImsVoPs' - deregCallbackUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - amfServiceNameDereg: - $ref: '#/components/schemas/ServiceName' - pcscfRestorationCallbackUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - amfServiceNamePcscfRest: - $ref: '#/components/schemas/ServiceName' - guami: - $ref: '#/components/schemas/Guami' - backupAmfInfo: - items: - $ref: '#/components/schemas/BackupAmfInfo' - minItems: 1 - type: array - ratType: - $ref: '#/components/schemas/RatType' - required: - - amfInstanceId - - deregCallbackUri - - guami - - imsVoPs - - ratType - type: object - SmfRegList: - items: - $ref: '#/components/schemas/SmfRegistration' - type: array - SmfRegistration: - example: - supportedFeatures: supportedFeatures - dnn: dnn - singleNssai: - sd: sd - sst: 188 - smfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - pcscfRestorationCallbackUri: pcscfRestorationCallbackUri - pduSessionId: 20 - plmnId: - mnc: mnc - mcc: mcc - pgwFqdn: pgwFqdn - properties: - smfInstanceId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - pduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - singleNssai: - $ref: '#/components/schemas/Snssai_2' - dnn: - type: string - pcscfRestorationCallbackUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - plmnId: - $ref: '#/components/schemas/PlmnId' - pgwFqdn: - type: string - required: - - dnn - - pduSessionId - - plmnId - - singleNssai - - smfInstanceId - type: object - OperatorSpecificDataContainer: - example: - NumberTypeElements: - key: 6.027456183070403 - IntegerTypeElements: - key: 0 - StringTypeElements: - key: StringTypeElements - BooleanTypeElements: - key: true - properties: - StringTypeElements: - additionalProperties: - type: string - type: object - IntegerTypeElements: - additionalProperties: - format: int32 - type: integer - type: object - NumberTypeElements: - additionalProperties: - type: number - type: object - BooleanTypeElements: - additionalProperties: - type: boolean - type: object - type: object - SmsfRegistration: - example: - smsfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedFeatures: supportedFeatures - smsfMAPAddress: smsfMAPAddress - plmnId: - mnc: mnc - mcc: mcc - smsfDiameterAddress: - name: name - realm: realm - properties: - smsfInstanceId: - format: uuid - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - plmnId: - $ref: '#/components/schemas/PlmnId' - smsfMAPAddress: - pattern: ^[0-9]{1,15}$ - type: string - smsfDiameterAddress: - $ref: '#/components/schemas/NetworkNodeDiameterAddress' - required: - - plmnId - - smsfInstanceId - type: object - E164Number: - pattern: ^[0-9]{1,15}$ - type: string - NetworkNodeDiameterAddress: - example: - name: name - realm: realm - properties: - name: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - realm: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - required: - - name - - realm - type: object - PpData: - example: - supportedFeatures: supportedFeatures - communicationCharacteristics: - ppSubsRegTimer: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - subsRegTimer: 0 - referenceId: 6 - ppDlPacketCount: 5 - ppActiveTime: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - activeTime: 1 - referenceId: 5 - properties: - communicationCharacteristics: - $ref: '#/components/schemas/CommunicationCharacteristics' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - CommunicationCharacteristics: - example: - ppSubsRegTimer: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - subsRegTimer: 0 - referenceId: 6 - ppDlPacketCount: 5 - ppActiveTime: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - activeTime: 1 - referenceId: 5 - properties: - ppSubsRegTimer: - $ref: '#/components/schemas/PpSubsRegTimer' - ppActiveTime: - $ref: '#/components/schemas/PpActiveTime' - ppDlPacketCount: - format: int32 - nullable: true - type: integer - type: object - PpSubsRegTimer: - example: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - subsRegTimer: 0 - referenceId: 6 - nullable: true - properties: - subsRegTimer: - format: int32 - type: integer - afInstanceId: - format: uuid - type: string - referenceId: - format: int32 - type: integer - required: - - afInstanceId - - referenceId - - subsRegTimer - type: object - ReferenceId: - format: int32 - type: integer - PpActiveTime: - example: - afInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - activeTime: 1 - referenceId: 5 - nullable: true - properties: - activeTime: - format: int32 - type: integer - afInstanceId: - format: uuid - type: string - referenceId: - format: int32 - type: integer - required: - - activeTime - - afInstanceId - - referenceId - type: object - PpDlPacketCount: - format: int32 - nullable: true - type: integer - EeSubscription: - example: - supportedFeatures: supportedFeatures - callbackReference: callbackReference - monitoringConfigurations: - key: - locationReportingConfiguration: - oneTime: true - currentLocation: true - immediateFlag: true - reportingOptions: - expiry: 2000-01-23T04:56:07.000+00:00 - maxNumOfReports: 0 - properties: - callbackReference: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - monitoringConfigurations: - additionalProperties: - $ref: '#/components/schemas/MonitoringConfiguration' - description: A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations - minProperties: 1 - type: object - reportingOptions: - $ref: '#/components/schemas/ReportingOptions' - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - callbackReference - - monitoringConfigurations - type: object - MonitoringConfiguration: - example: - locationReportingConfiguration: - oneTime: true - currentLocation: true - immediateFlag: true - properties: - eventType: - $ref: '#/components/schemas/EventType' - immediateFlag: - type: boolean - locationReportingConfiguration: - $ref: '#/components/schemas/LocationReportingConfiguration' - required: - - eventType - type: object - EventType: - enum: - - LOSS_OF_CONNECTIVITY - - UE_REACHABILITY_FOR_DATA - - UE_REACHABILITY_FOR_SMS - - LOCATION_REPORTING - - CHANGE_OF_SUPI_PEI_ASSOCIATION - - ROAMING_STATUS - - COMMUNICATION_FAILURE - - AVAILABILITY_AFTER_DNN_FAILURE - type: string - LocationReportingConfiguration: - example: - oneTime: true - currentLocation: true - properties: - currentLocation: - type: boolean - oneTime: - type: boolean - accuracy: - $ref: '#/components/schemas/LocationAccuracy' - required: - - currentLocation - type: object - LocationAccuracy: - enum: - - CELL_LEVEL - - TA_LEVEL - type: string - ReportingOptions: - example: - expiry: 2000-01-23T04:56:07.000+00:00 - maxNumOfReports: 0 - properties: - maxNumOfReports: - format: int32 - type: integer - expiry: - format: date-time - type: string - type: object - MaxNumOfReports: - format: int32 - type: integer - AmfSubscriptionInfo: - example: - amfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - subscriptionId: subscriptionId - subsChangeNotifyCorrelationId: subsChangeNotifyCorrelationId - properties: - amfInstanceId: - format: uuid - type: string - subscriptionId: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - subsChangeNotifyCorrelationId: - type: string - required: - - amfInstanceId - - subscriptionId - type: object - VarUeGroupId: - pattern: ^(extgroupid-[^@]+@[^@]+|anyUE)$ - type: string - EeProfileData: - example: - supportedFeatures: supportedFeatures - restrictedEventTypes: - - null - - null - properties: - restrictedEventTypes: - items: - $ref: '#/components/schemas/EventType' - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - type: object - SdmSubscription: - example: - nfInstanceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - expires: 2000-01-23T04:56:07.000+00:00 - implicitUnsubscribe: true - dnn: dnn - callbackReference: callbackReference - singleNssai: - sd: sd - sst: 188 - monitoredResourceUris: - - null - - null - properties: - nfInstanceId: - format: uuid - type: string - implicitUnsubscribe: - type: boolean - expires: - format: date-time - type: string - callbackReference: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - amfServiceName: - $ref: '#/components/schemas/ServiceName' - monitoredResourceUris: - items: - $ref: '#/components/schemas/Uri_2' - minItems: 1 - type: array - singleNssai: - $ref: '#/components/schemas/Snssai_2' - dnn: - type: string - required: - - callbackUri - - monitoredResourceUri - - nfInstanceId - type: object - SharedDataIds_2: - items: - $ref: '#/components/schemas/SharedDataId_2' - type: array - SharedDataId_2: - pattern: ^[0-9]{5,6}-.+$ - type: string - SharedData: - example: - sharedSmsSubsData: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - sharedDnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 26 - 5qi: 237 - arp: - priorityLevel: 6 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedAuthenticationSubscription: - authenticationManagementField: authenticationManagementField - milenage: - op: - encryptionKey: 4 - opValue: opValue - encryptionAlgorithm: 7 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 38 - top: - topValue: topValue - encryptionKey: 1 - encryptionAlgorithm: 1 - sharedSnssaiInfos: - key: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - sharedDataId: sharedDataId - sharedTraceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - sharedSmsMngSubsData: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - sharedAmData: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 2 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - singleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 38 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 5 - ueUsageType: 5 - internalGroupIds: - - null - - null - micoAllowed: true - properties: - sharedDataId: - pattern: ^[0-9]{5,6}-.+$ - type: string - sharedAmData: - $ref: '#/components/schemas/AccessAndMobilitySubscriptionData_2' - sharedSmsSubsData: - $ref: '#/components/schemas/SmsSubscriptionData_2' - sharedSmsMngSubsData: - $ref: '#/components/schemas/SmsManagementSubscriptionData_2' - sharedDnnConfigurations: - additionalProperties: - $ref: '#/components/schemas/DnnConfiguration_2' - type: object - sharedTraceData: - $ref: '#/components/schemas/TraceData' - sharedSnssaiInfos: - additionalProperties: - $ref: '#/components/schemas/SnssaiInfo_2' - type: object - sharedAuthenticationSubscription: - $ref: '#/components/schemas/SharedAuthenticationSubscription' - required: - - sharedDataId - type: object - AccessAndMobilitySubscriptionData_2: - example: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 2 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - singleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 38 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 5 - ueUsageType: 5 - internalGroupIds: - - null - - null - micoAllowed: true - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - gpsis: - items: - $ref: '#/components/schemas/Gpsi_2' - type: array - internalGroupIds: - items: - $ref: '#/components/schemas/GroupId_2' - minItems: 1 - type: array - subscribedUeAmbr: - $ref: '#/components/schemas/AmbrRm_2' - nssai: - $ref: '#/components/schemas/Nssai_2' - ratRestrictions: - items: - $ref: '#/components/schemas/RatType_2' - type: array - forbiddenAreas: - items: - $ref: '#/components/schemas/Area_2' - type: array - serviceAreaRestriction: - $ref: '#/components/schemas/ServiceAreaRestriction_2' - coreNetworkTypeRestrictions: - items: - $ref: '#/components/schemas/CoreNetworkType_2' - type: array - rfspIndex: - format: int32 - maximum: 256 - minimum: 1 - nullable: true - type: integer - subsRegTimer: - format: int32 - nullable: true - type: integer - ueUsageType: - format: int32 - type: integer - mpsPriority: - type: boolean - mcsPriority: - type: boolean - activeTime: - format: int32 - nullable: true - type: integer - dlPacketCount: - format: int32 - minimum: -1 - type: integer - sorInfo: - $ref: '#/components/schemas/SorInfo_2' - micoAllowed: - type: boolean - sharedAmDataIds: - items: - $ref: '#/components/schemas/SharedDataId_2' - minItems: 1 - type: array - odbPacketServices: - $ref: '#/components/schemas/OdbPacketServices_2' - type: object - Nssai_2: - example: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - singleNssais: - - sd: sd - sst: 20 - - sd: sd - sst: 20 - nullable: true - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - defaultSingleNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - singleNssais: - items: - $ref: '#/components/schemas/Snssai' - minItems: 1 - type: array - required: - - defaultSingleNssais - type: object - UeUsageType_2: - format: int32 - type: integer - MpsPriorityIndicator_2: - type: boolean - McsPriorityIndicator_2: - type: boolean - DlPacketCount_2: - format: int32 - minimum: -1 - type: integer - SorInfo_2: - example: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - properties: - steeringContainer: - $ref: '#/components/schemas/SteeringContainer_2' - ackInd: - type: boolean - sorMacIausf: - pattern: ^[A-Fa-f0-9]{32}$ - type: string - countersor: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - required: - - ackInd - - countersor - - sorMacIausf - type: object - SteeringContainer_2: - oneOf: - - items: - $ref: '#/components/schemas/SteeringInfo' - minItems: 1 - type: array - - $ref: '#/components/schemas/SecuredPacket_2' - SecuredPacket_2: - format: base64 - type: string - MicoAllowed_2: - type: boolean - SmsSubscriptionData_2: - example: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - properties: - smsSubscribed: - type: boolean - sharedSmsSubsDataId: - items: - $ref: '#/components/schemas/SharedDataId_2' - type: array - type: object - SmsSubscribed_2: - type: boolean - SmsManagementSubscriptionData_2: - example: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - properties: - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - mtSmsSubscribed: - type: boolean - mtSmsBarringAll: - type: boolean - mtSmsBarringRoaming: - type: boolean - moSmsSubscribed: - type: boolean - moSmsBarringAll: - type: boolean - moSmsBarringRoaming: - type: boolean - sharedSmsMngDataIds: - items: - $ref: '#/components/schemas/SharedDataId_2' - minItems: 1 - type: array - type: object - DnnConfiguration_2: - example: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 26 - 5qi: 237 - arp: - priorityLevel: 6 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - properties: - pduSessionTypes: - $ref: '#/components/schemas/PduSessionTypes_2' - sscModes: - $ref: '#/components/schemas/SscModes_2' - iwkEpsInd: - type: boolean - ladnIndicator: - type: boolean - 5gQosProfile: - $ref: '#/components/schemas/SubscribedDefaultQos_2' - sessionAmbr: - $ref: '#/components/schemas/Ambr_2' - 3gppChargingCharacteristics: - type: string - staticIpAddress: - items: - $ref: '#/components/schemas/IpAddress_2' - maxItems: 2 - minItems: 1 - type: array - upSecurity: - $ref: '#/components/schemas/UpSecurity_2' - required: - - pduSessionTypes - - sscModes - type: object - PduSessionTypes_2: - example: - allowedSessionTypes: - - null - - null - properties: - defaultSessionType: - $ref: '#/components/schemas/PduSessionType_2' - allowedSessionTypes: - items: - $ref: '#/components/schemas/PduSessionType_2' - minItems: 1 - type: array - required: - - defaultSessionType - type: object - SscModes_2: - example: - allowedSscModes: - - null - - null - properties: - defaultSscMode: - $ref: '#/components/schemas/SscMode_2' - allowedSscModes: - items: - $ref: '#/components/schemas/SscMode_2' - maxItems: 2 - minItems: 1 - type: array - required: - - defaultSscMode - type: object - IwkEpsInd_2: - type: boolean - LadnIndicator_2: - type: boolean - 3GppChargingCharacteristics_2: - type: string - IpAddress_2: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - oneOf: - - required: - - ipv4Address - - required: - - ipv6Address - - required: - - ipv6Prefix - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - ipv6Prefix: - $ref: '#/components/schemas/Ipv6Prefix' - type: object - SnssaiInfo_2: - example: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - properties: - dnnInfos: - items: - $ref: '#/components/schemas/DnnInfo_2' - minItems: 1 - type: array - required: - - dnnInfos - type: object - DnnInfo_2: - example: - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - properties: - dnn: - type: string - defaultDnnIndicator: - type: boolean - lboRoamingAllowed: - type: boolean - iwkEpsInd: - type: boolean - ladnIndicator: - type: boolean - required: - - dnn - type: object - DnnIndicator_2: - type: boolean - LboRoamingAllowed_2: - type: boolean - SubscriptionDataSubscriptions: - example: - callbackReference: callbackReference - supported-features: supported-features - originalCallbackReference: originalCallbackReference - expiry: 2000-01-23T04:56:07.000+00:00 - ueId: ueId - monitoredResourceUri: - - null - - null - properties: - ueId: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - callbackReference: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - originalCallbackReference: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - monitoredResourceUri: - items: - $ref: '#/components/schemas/Uri_2' - type: array - expiry: - format: date-time - type: string - supported-features: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - callbackReference - - originalCallbackReference - - supported-features - - ueId - type: object - DataChangeNotify: - example: - originalCallbackReference: - - null - - null - notifyItems: - - resourceId: resourceId - changes: - - path: path - newValue: "" - from: from - origValue: "" - - path: path - newValue: "" - from: from - origValue: "" - - resourceId: resourceId - changes: - - path: path - newValue: "" - from: from - origValue: "" - - path: path - newValue: "" - from: from - origValue: "" - ueId: ueId - properties: - originalCallbackReference: - items: - $ref: '#/components/schemas/Uri_2' - minItems: 1 - type: array - ueId: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - notifyItems: - items: - $ref: '#/components/schemas/NotifyItem' - minItems: 1 - type: array - type: object - TraceData: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - Ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - IdentityData: - example: - gpsiList: - - null - - null - supiList: - - null - - null - properties: - supiList: - items: - $ref: '#/components/schemas/Supi_2' - maxItems: 2 - minItems: 1 - type: array - gpsiList: - items: - $ref: '#/components/schemas/Gpsi' - minItems: 1 - type: array - type: object - OperatorDeterminedBarringData: - $ref: '#/components/schemas/OdbData' - OdbData: - example: {} - properties: - roamingOdb: - $ref: '#/components/schemas/RoamingOdb' - odbPacketServices: - $ref: '#/components/schemas/OdbPacketServices' - type: object - RoamingOdb: - enum: - - OUTSIDE_HOME_PLMN - - OUTSIDE_HOME_PLMN_COUNTRY - type: string - OdbPacketServices: - enum: - - ALL_PACKET_SERVICES - - ROAMER_ACCESS_HPLMN_AP - - ROAMER_ACCESS_VPLMN_AP - type: string - AmPolicyData: - description: Contains the AM policy data for a given subscriber. - example: - subscCats: - - subscCats - - subscCats - properties: - subscCats: - items: - type: string - minItems: 1 - type: array - type: object - UePolicySet: - description: Contains the UE policy data for a given subscriber. - example: - uePolicySections: - key: - uePolicySectionInfo: uePolicySectionInfo - upsi: upsi - subscCats: - - subscCats - - subscCats - upsis: - - upsis - - upsis - properties: - subscCats: - items: - type: string - minItems: 1 - type: array - uePolicySections: - additionalProperties: - $ref: '#/components/schemas/UePolicySection' - minProperties: 1 - type: object - upsis: - items: - type: string - minItems: 1 - type: array - type: object - UePolicySection: - description: Contains the UE policy section. - example: - uePolicySectionInfo: uePolicySectionInfo - upsi: upsi - properties: - uePolicySectionInfo: - format: byte - type: string - upsi: - type: string - required: - - uePolicySectionInfo - - upsi - type: object - Snssai: - example: - sd: sd - sst: 20 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - Dnn_2: - type: string - SmPolicyData: - description: Contains the SM policy data for a given subscriber. - example: - umData: - key: - allowedUsage: - duration: 0 - totalVolume: 0 - downlinkVolume: 0 - uplinkVolume: 0 - limitId: limitId - scopes: - key: - snssai: - sd: sd - sst: 188 - dnn: - - null - - null - resetTime: - maxNumPeriod: 0 - umDataLimits: - key: - resetPeriod: 2000-01-23T04:56:07.000+00:00 - endDate: 2000-01-23T04:56:07.000+00:00 - usageLimit: - duration: 0 - totalVolume: 0 - downlinkVolume: 0 - uplinkVolume: 0 - limitId: limitId - scopes: - key: - snssai: - sd: sd - sst: 188 - dnn: - - null - - null - startDate: 2000-01-23T04:56:07.000+00:00 - smPolicySnssaiData: - key: - smPolicyDnnData: - key: - adcSupport: true - dnn: dnn - ipv4Index: 0 - gbrDl: gbrDl - subscSpendingLimits: true - chfInfo: - secondaryChfAddress: secondaryChfAddress - primaryChfAddress: primaryChfAddress - refUmDataLimitIds: - key: - monkey: - - monkey - - monkey - limitId: limitId - offline: true - allowedServices: - - allowedServices - - allowedServices - mpsPriority: true - imsSignallingPrio: true - subscCats: - - subscCats - - subscCats - gbrUl: gbrUl - ipv6Index: 6 - online: true - mpsPriorityLevel: 1 - snssai: - sd: sd - sst: 188 - properties: - smPolicySnssaiData: - additionalProperties: - $ref: '#/components/schemas/SmPolicySnssaiData' - minProperties: 1 - type: object - umDataLimits: - additionalProperties: - $ref: '#/components/schemas/UsageMonDataLimit' - minProperties: 1 - type: object - umData: - additionalProperties: - $ref: '#/components/schemas/UsageMonData' - minProperties: 1 - type: object - required: - - smPolicySnssaiData - type: object - SmPolicySnssaiData: - description: Contains the SM policy data for a given subscriber and S-NSSAI. - example: - smPolicyDnnData: - key: - adcSupport: true - dnn: dnn - ipv4Index: 0 - gbrDl: gbrDl - subscSpendingLimits: true - chfInfo: - secondaryChfAddress: secondaryChfAddress - primaryChfAddress: primaryChfAddress - refUmDataLimitIds: - key: - monkey: - - monkey - - monkey - limitId: limitId - offline: true - allowedServices: - - allowedServices - - allowedServices - mpsPriority: true - imsSignallingPrio: true - subscCats: - - subscCats - - subscCats - gbrUl: gbrUl - ipv6Index: 6 - online: true - mpsPriorityLevel: 1 - snssai: - sd: sd - sst: 188 - properties: - snssai: - $ref: '#/components/schemas/Snssai_2' - smPolicyDnnData: - additionalProperties: - $ref: '#/components/schemas/SmPolicyDnnData' - minProperties: 1 - type: object - required: - - snssai - type: object - SmPolicyDnnData: - description: Contains the SM policy data for a given DNN (and S-NSSAI). - example: - adcSupport: true - dnn: dnn - ipv4Index: 0 - gbrDl: gbrDl - subscSpendingLimits: true - chfInfo: - secondaryChfAddress: secondaryChfAddress - primaryChfAddress: primaryChfAddress - refUmDataLimitIds: - key: - monkey: - - monkey - - monkey - limitId: limitId - offline: true - allowedServices: - - allowedServices - - allowedServices - mpsPriority: true - imsSignallingPrio: true - subscCats: - - subscCats - - subscCats - gbrUl: gbrUl - ipv6Index: 6 - online: true - mpsPriorityLevel: 1 - properties: - dnn: - type: string - allowedServices: - items: - type: string - minItems: 1 - type: array - subscCats: - items: - type: string - minItems: 1 - type: array - gbrUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - gbrDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - adcSupport: - type: boolean - subscSpendingLimits: - type: boolean - ipv4Index: - format: int32 - type: integer - ipv6Index: - format: int32 - type: integer - offline: - type: boolean - online: - type: boolean - chfInfo: - $ref: '#/components/schemas/ChargingInformation' - refUmDataLimitIds: - additionalProperties: - $ref: '#/components/schemas/LimitIdToMonitoringKey' - minProperties: 1 - type: object - mpsPriority: - type: boolean - imsSignallingPrio: - type: boolean - mpsPriorityLevel: - format: int32 - type: integer - required: - - dnn - type: object - IpIndex: - format: int32 - type: integer - LimitIdToMonitoringKey: - description: Contains the limit identifier and the corresponding monitoring key for a given S-NSSAI and DNN. - example: - monkey: - - monkey - - monkey - limitId: limitId - properties: - limitId: - type: string - monkey: - items: - type: string - minItems: 1 - type: array - required: - - limitId - type: object - UsageMonDataLimit: - description: Contains usage monitoring control data for a subscriber. - example: - resetPeriod: 2000-01-23T04:56:07.000+00:00 - endDate: 2000-01-23T04:56:07.000+00:00 - usageLimit: - duration: 0 - totalVolume: 0 - downlinkVolume: 0 - uplinkVolume: 0 - limitId: limitId - scopes: - key: - snssai: - sd: sd - sst: 188 - dnn: - - null - - null - startDate: 2000-01-23T04:56:07.000+00:00 - properties: - limitId: - type: string - scopes: - additionalProperties: - $ref: '#/components/schemas/UsageMonDataScope' - minProperties: 1 - type: object - umLevel: - $ref: '#/components/schemas/UsageMonLevel' - startDate: - format: date-time - type: string - endDate: - format: date-time - type: string - usageLimit: - $ref: '#/components/schemas/UsageThreshold' - resetPeriod: - format: date-time - type: string - required: - - limitId - type: object - UsageMonDataScope: - description: Contains a SNSSAI and DNN combinations to which the UsageMonData instance belongs to. - example: - snssai: - sd: sd - sst: 188 - dnn: - - null - - null - properties: - snssai: - $ref: '#/components/schemas/Snssai_2' - dnn: - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - required: - - snssai - type: object - UsageMonLevel: - enum: - - SESSION_LEVEL - - SERVICE_LEVEL - type: string - UsageMonData: - description: Contains remain allowed usage data for a subscriber. - example: - allowedUsage: - duration: 0 - totalVolume: 0 - downlinkVolume: 0 - uplinkVolume: 0 - limitId: limitId - scopes: - key: - snssai: - sd: sd - sst: 188 - dnn: - - null - - null - resetTime: - maxNumPeriod: 0 - properties: - limitId: - type: string - scopes: - additionalProperties: - $ref: '#/components/schemas/UsageMonDataScope' - minProperties: 1 - type: object - umLevel: - $ref: '#/components/schemas/UsageMonLevel' - allowedUsage: - $ref: '#/components/schemas/UsageThreshold' - resetTime: - $ref: '#/components/schemas/TimePeriod' - required: - - limitId - type: object - TimePeriod: - description: Contains the periodicity for the defined usage monitoring data limits. - example: - maxNumPeriod: 0 - properties: - period: - $ref: '#/components/schemas/Periodicity' - maxNumPeriod: - format: int32 - minimum: 0 - type: integer - required: - - period - type: object - Periodicity: - enum: - - YEARLY - - MONTHLY - - WEEKLY - - DAILY - - HOURLY - type: string - SponsorConnectivityData: - description: Contains the sponsored data connectivity related information for a sponsor identifier. - example: - aspIds: - - aspIds - - aspIds - properties: - aspIds: - items: - type: string - type: array - required: - - aspIds - type: object - BdtData: - description: Contains the background data transfer data. - example: - nwAreaInfo: - ncgis: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tais: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - gRanNodeIds: - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ecgis: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - aspId: aspId - transPolicy: - maxBitRateDl: maxBitRateDl - maxBitRateUl: maxBitRateUl - ratingGroup: 0 - transPolicyId: 6 - recTimeInt: - startTime: 2000-01-23T04:56:07.000+00:00 - stopTime: 2000-01-23T04:56:07.000+00:00 - bdtRefId: bdtRefId - properties: - aspId: - type: string - transPolicy: - $ref: '#/components/schemas/TransferPolicy' - bdtRefId: - type: string - nwAreaInfo: - $ref: '#/components/schemas/NetworkAreaInfo' - required: - - aspIds - - transPolicy - type: object - PolicyDataSubscription: - description: Identifies a subscription to policy data change notification. - example: - supportedFeatures: supportedFeatures - notificationUri: notificationUri - monitoredResourceUris: - - null - - null - properties: - notificationUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - monitoredResourceUris: - items: - $ref: '#/components/schemas/Uri_2' - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - monitoredResourceUris - - notificationUri - type: object - PolicyDataChangeNotification: - description: Contains changed policy data for which notification was requested. - properties: - amPolicyData: - $ref: '#/components/schemas/AmPolicyData' - uePolicySet: - $ref: '#/components/schemas/UePolicySet' - smPolicyData: - $ref: '#/components/schemas/SmPolicyData' - usageMonData: - $ref: '#/components/schemas/UsageMonData' - SponsorConnectivityData: - $ref: '#/components/schemas/SponsorConnectivityData' - bdtData: - $ref: '#/components/schemas/BdtData' - type: object - OperatorSpecificDataContainer_2: - example: - NumberTypeElements: - key: 6.027456183070403 - IntegerTypeElements: - key: 0 - StringTypeElements: - key: StringTypeElements - BooleanTypeElements: - key: true - properties: - StringTypeElements: - additionalProperties: - type: string - type: object - IntegerTypeElements: - additionalProperties: - format: int32 - type: integer - type: object - NumberTypeElements: - additionalProperties: - type: number - type: object - BooleanTypeElements: - additionalProperties: - type: boolean - type: object - type: object - ApplicationId: - type: string - PfdDataForApp: - example: - cachingTime: 2000-01-23T04:56:07.000+00:00 - pfds: - - flowDescriptions: - - flowDescriptions - - flowDescriptions - urls: - - urls - - urls - pfdId: pfdId - domainNames: - - domainNames - - domainNames - - flowDescriptions: - - flowDescriptions - - flowDescriptions - urls: - - urls - - urls - pfdId: pfdId - domainNames: - - domainNames - - domainNames - applicationId: applicationId - properties: - applicationId: - type: string - pfds: - items: - $ref: '#/components/schemas/PfdContent' - minItems: 1 - type: array - cachingTime: - format: date-time - type: string - required: - - applicationId - - pfds - type: object - PfdContent: - example: - flowDescriptions: - - flowDescriptions - - flowDescriptions - urls: - - urls - - urls - pfdId: pfdId - domainNames: - - domainNames - - domainNames - properties: - pfdId: - description: Identifies a PDF of an application identifier. - type: string - flowDescriptions: - description: Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. - items: - type: string - minItems: 1 - type: array - urls: - description: Indicates a URL or a regular expression which is used to match the significant parts of the URL. - items: - type: string - minItems: 1 - type: array - domainNames: - description: Indicates an FQDN or a regular expression as a domain name matching criteria. - items: - type: string - minItems: 1 - type: array - type: object - Supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - TrafficInfluData: - allOf: - - oneOf: - - required: - - afAppId - - required: - - trafficFilters - - required: - - ethTrafficFilters - - oneOf: - - required: - - supi - - required: - - interGroupId - example: - nwAreaInfo: - ncgis: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tais: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - gRanNodeIds: - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ecgis: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - snssai: - sd: sd - sst: 188 - afAppId: afAppId - validStartTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - trafficFilters: - - flowDescriptions: - - flowDescriptions - - flowDescriptions - flowId: 0 - - flowDescriptions: - - flowDescriptions - - flowDescriptions - flowId: 0 - trafficRoutes: - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - appReloInd: true - supi: supi - upPathChgNotifCorreId: upPathChgNotifCorreId - validEndTime: 2000-01-23T04:56:07.000+00:00 - upPathChgNotifUri: upPathChgNotifUri - ethTrafficFilters: - - destMacAddr: destMacAddr - sourceMacAddr: sourceMacAddr - ethType: ethType - fDesc: fDesc - vlanTags: - - vlanTags - - vlanTags - - destMacAddr: destMacAddr - sourceMacAddr: sourceMacAddr - ethType: ethType - fDesc: fDesc - vlanTags: - - vlanTags - - vlanTags - interGroupId: interGroupId - properties: - upPathChgNotifCorreId: - description: Contains the Notification Correlation Id allocated by the NEF for the UP path change notification. - type: string - appReloInd: - description: Identifies whether an application can be relocated once a location of the application has been selected. - type: boolean - afAppId: - description: Identifies an application. - type: string - dnn: - type: string - ethTrafficFilters: - description: Identifies Ethernet packet filters.Either "trafficFilters" or "ethTrafficFilters" shall be included if applicable. - items: - $ref: '#/components/schemas/EthFlowDescription' - minItems: 1 - type: array - snssai: - $ref: '#/components/schemas/Snssai_2' - interGroupId: - description: Identifies a group of users. - type: string - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - trafficFilters: - description: Identifies IP packet filters.Either "trafficFilters" or "ethTrafficFilters" shall be included if applicable. - items: - $ref: '#/components/schemas/FlowInfo' - minItems: 1 - type: array - trafficRoutes: - description: Identifies the N6 traffic routing requirement. - items: - $ref: '#/components/schemas/RouteToLocation' - minItems: 1 - type: array - validStartTime: - format: date-time - type: string - validEndTime: - format: date-time - type: string - nwAreaInfo: - $ref: '#/components/schemas/NetworkAreaInfo' - upPathChgNotifUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - required: - - trafficRoutes - type: object - TrafficInfluDataPatch: - example: - nwAreaInfo: - ncgis: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tais: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - gRanNodeIds: - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ecgis: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - snssai: - sd: sd - sst: 188 - validStartTime: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - trafficFilters: - - flowDescriptions: - - flowDescriptions - - flowDescriptions - flowId: 0 - - flowDescriptions: - - flowDescriptions - - flowDescriptions - flowId: 0 - trafficRoutes: - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - appReloInd: true - supi: supi - upPathChgNotifCorreId: upPathChgNotifCorreId - internalGroupId: internalGroupId - validEndTime: 2000-01-23T04:56:07.000+00:00 - upPathChgNotifUri: upPathChgNotifUri - ethTrafficFilters: - - destMacAddr: destMacAddr - sourceMacAddr: sourceMacAddr - ethType: ethType - fDesc: fDesc - vlanTags: - - vlanTags - - vlanTags - - destMacAddr: destMacAddr - sourceMacAddr: sourceMacAddr - ethType: ethType - fDesc: fDesc - vlanTags: - - vlanTags - - vlanTags - properties: - upPathChgNotifCorreId: - description: Contains the Notification Correlation Id allocated by the NEF for the UP path change notification. - type: string - appReloInd: - description: Identifies whether an application can be relocated once a location of the application has been selected. - type: boolean - dnn: - type: string - ethTrafficFilters: - description: Identifies Ethernet packet filters.Either "trafficFilters" or "ethTrafficFilters" shall be included if applicable. - items: - $ref: '#/components/schemas/EthFlowDescription' - minItems: 1 - type: array - snssai: - $ref: '#/components/schemas/Snssai_2' - internalGroupId: - description: Identifies a group of users. - type: string - supi: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - trafficFilters: - description: Identifies IP packet filters.Either "trafficFilters" or "ethTrafficFilters" shall be included if applicable. - items: - $ref: '#/components/schemas/FlowInfo' - minItems: 1 - type: array - trafficRoutes: - description: Identifies the N6 traffic routing requirement. - items: - $ref: '#/components/schemas/RouteToLocation' - minItems: 1 - type: array - validStartTime: - format: date-time - type: string - validEndTime: - format: date-time - type: string - nwAreaInfo: - $ref: '#/components/schemas/NetworkAreaInfo' - upPathChgNotifUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - type: object - ExternalGroupId: - description: string containing a local identifier followed by "@" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any "@" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information. - type: string - TrafficInfluSub: - example: - dnns: - - null - - null - supis: - - null - - null - supportedFeatures: supportedFeatures - notificationUri: notificationUri - snssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - internalGroupIds: - - internalGroupIds - - internalGroupIds - oneOf: - - required: - - dnns - - required: - - snssais - - required: - - internalGroupIds - - required: - - supis - properties: - dnns: - description: Each element identifies a DNN. - items: - $ref: '#/components/schemas/Dnn' - minItems: 1 - type: array - snssais: - description: Each element identifies a slice. - items: - $ref: '#/components/schemas/Snssai_2' - minItems: 1 - type: array - internalGroupIds: - description: Each element identifies a group of users. - items: - type: string - minItems: 1 - type: array - supis: - description: Each element identifies the user. - items: - $ref: '#/components/schemas/Supi_2' - minItems: 1 - type: array - notificationUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - notificationUri - type: object - ProblemDetails_2: - properties: - type: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - title: - description: A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem. - type: string - status: - description: The HTTP status code for this occurrence of the problem. - format: int32 - type: integer - detail: - description: A human-readable explanation specific to this occurrence of the problem. - type: string - instance: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - cause: - description: A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - type: string - invalidParams: - description: Description of invalid parameters, for a request rejected due to invalid parameters. - items: - $ref: '#/components/schemas/InvalidParam_2' - minItems: 1 - type: array - type: object - Uri_2: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - InvalidParam_2: - properties: - param: - description: Attribute's name encoded as a JSON Pointer, or header's name. - type: string - reason: - description: A human-readable reason, e.g. "must be a positive integer". - type: string - required: - - param - type: object - AccessAndMobilityData: - example: - currentPlmn: - mnc: mnc - mcc: mcc - ratType: - - null - - null - timeZone: timeZone - timeZoneTs: 2000-01-23T04:56:07.000+00:00 - roamingStatusTs: 2000-01-23T04:56:07.000+00:00 - smsOverNasStatusTs: 2000-01-23T04:56:07.000+00:00 - currentPlmnTs: 2000-01-23T04:56:07.000+00:00 - locationTs: 2000-01-23T04:56:07.000+00:00 - regStates: - - {} - - {} - connStatesTs: 2000-01-23T04:56:07.000+00:00 - regStatesTs: 2000-01-23T04:56:07.000+00:00 - reachabilityStatusTs: 2000-01-23T04:56:07.000+00:00 - roamingStatus: true - ratTypesTs: 2000-01-23T04:56:07.000+00:00 - location: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 19750 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - connStates: - - {} - - {} - properties: - location: - $ref: '#/components/schemas/UserLocation' - locationTs: - format: date-time - type: string - timeZone: - type: string - timeZoneTs: - format: date-time - type: string - accessType: - $ref: '#/components/schemas/AccessType' - regStates: - items: - $ref: '#/components/schemas/RmInfo' - type: array - regStatesTs: - format: date-time - type: string - connStates: - items: - $ref: '#/components/schemas/CmInfo' - type: array - connStatesTs: - format: date-time - type: string - reachabilityStatus: - $ref: '#/components/schemas/UeReachability' - reachabilityStatusTs: - format: date-time - type: string - smsOverNasStatus: - $ref: '#/components/schemas/SmsSupport' - smsOverNasStatusTs: - format: date-time - type: string - roamingStatus: - description: True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE. - type: boolean - roamingStatusTs: - format: date-time - type: string - currentPlmn: - $ref: '#/components/schemas/PlmnId' - currentPlmnTs: - format: date-time - type: string - ratType: - items: - $ref: '#/components/schemas/RatType' - type: array - ratTypesTs: - format: date-time - type: string - type: object - Ipv6Prefix: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - PduSessionManagementData: - example: - pduSessionStatusTs: 2000-01-23T04:56:07.000+00:00 - dnaiTs: 2000-01-23T04:56:07.000+00:00 - n6TrafficRoutingInfoTs: 2000-01-23T04:56:07.000+00:00 - dnn: dnn - n6TrafficRoutingInfo: - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - ipAddrTs: 2000-01-23T04:56:07.000+00:00 - ipv4Addr: 198.51.100.1 - dnai: dnai - ipv6Prefix: - - 2001:db8:abcd:12::0/64 - - 2001:db8:abcd:12::0/64 - properties: - pduSessionStatus: - $ref: '#/components/schemas/PduSessionStatus' - pduSessionStatusTs: - format: date-time - type: string - dnai: - type: string - dnaiTs: - format: date-time - type: string - n6TrafficRoutingInfo: - items: - $ref: '#/components/schemas/RouteToLocation' - type: array - n6TrafficRoutingInfoTs: - format: date-time - type: string - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Prefix: - description: UE IPv6 prefix. - items: - $ref: '#/components/schemas/Ipv6Prefix_2' - minItems: 1 - type: array - ipAddrTs: - format: date-time - type: string - dnn: - type: string - type: object - PduSessionStatus: - enum: - - ACTIVE - - RELEASED - type: string - ExposureDataSubscription: - example: - supportedFeatures: supportedFeatures - notificationUri: notificationUri - monitoredResourceUris: - - null - - null - properties: - notificationUri: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - monitoredResourceUris: - items: - $ref: '#/components/schemas/Uri_2' - minItems: 1 - type: array - supportedFeatures: - pattern: ^[A-Fa-f0-9]*$ - type: string - required: - - monitoredResourceUris - - notificationUri - type: object - ExposureDataChangeNotification: - properties: - ueId: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - accessAndMobilityData: - $ref: '#/components/schemas/AccessAndMobilityData' - pduSessionManagementData: - items: - $ref: '#/components/schemas/PduSessionManagementData' - minItems: 1 - type: array - type: object - SharedData_2: - example: - sharedSmsSubsData: - sharedSmsSubsDataId: - - null - - null - smsSubscribed: true - sharedDnnConfigurations: - key: - iwkEpsInd: true - sessionAmbr: - uplink: uplink - downlink: downlink - 5gQosProfile: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - upSecurity: {} - sscModes: - allowedSscModes: - - null - - null - 3gppChargingCharacteristics: 3gppChargingCharacteristics - pduSessionTypes: - allowedSessionTypes: - - null - - null - ladnIndicator: true - staticIpAddress: - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - ipv6Prefix: 2001:db8:abcd:12::0/64 - sharedAuthenticationSubscription: - authenticationManagementField: authenticationManagementField - milenage: - op: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 180 - top: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - sharedSnssaiInfos: - key: - dnnInfos: - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - - defaultDnnIndicator: true - iwkEpsInd: true - dnn: dnn - lboRoamingAllowed: true - ladnIndicator: true - sharedDataId: sharedDataId - sharedTraceData: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - sharedSmsMngSubsData: - moSmsBarringAll: true - supportedFeatures: supportedFeatures - mtSmsBarringRoaming: true - mtSmsSubscribed: true - moSmsBarringRoaming: true - mtSmsBarringAll: true - moSmsSubscribed: true - sharedSmsMngDataIds: - - null - - null - sharedAmData: - supportedFeatures: supportedFeatures - mcsPriority: true - activeTime: 7 - subscribedUeAmbr: - uplink: uplink - downlink: downlink - coreNetworkTypeRestrictions: - - null - - null - sharedAmDataIds: - - null - - null - nssai: - supportedFeatures: supportedFeatures - defaultSingleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - singleNssais: - - sd: sd - sst: 188 - - sd: sd - sst: 188 - dlPacketCount: 0 - gpsis: - - null - - null - rfspIndex: 27 - mpsPriority: true - forbiddenAreas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - serviceAreaRestriction: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - ratRestrictions: - - null - - null - sorInfo: - sorMacIausf: sorMacIausf - countersor: countersor - ackInd: true - subsRegTimer: 1 - ueUsageType: 6 - internalGroupIds: - - null - - null - micoAllowed: true - properties: - sharedDataId: - pattern: ^[0-9]{5,6}-.+$ - type: string - sharedAmData: - $ref: '#/components/schemas/AccessAndMobilitySubscriptionData' - sharedSmsSubsData: - $ref: '#/components/schemas/SmsSubscriptionData' - sharedSmsMngSubsData: - $ref: '#/components/schemas/SmsManagementSubscriptionData' - sharedDnnConfigurations: - additionalProperties: - $ref: '#/components/schemas/DnnConfiguration' - type: object - sharedTraceData: - $ref: '#/components/schemas/TraceData_2' - sharedSnssaiInfos: - additionalProperties: - $ref: '#/components/schemas/SnssaiInfo' - type: object - sharedAuthenticationSubscription: - $ref: '#/components/schemas/SharedAuthenticationSubscription_2' - required: - - sharedDataId - type: object - NfInstanceId: - format: uuid - type: string - DateTime: - format: date-time - type: string - SorMac: - pattern: ^[A-Fa-f0-9]{32}$ - type: string - TraceData_2: - example: - eventList: eventList - collectionEntityIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - collectionEntityIpv4Addr: 198.51.100.1 - traceRef: traceRef - interfaceList: interfaceList - neTypeList: neTypeList - nullable: true - properties: - traceRef: - pattern: ^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$ - type: string - traceDepth: - $ref: '#/components/schemas/TraceDepth_2' - neTypeList: - pattern: ^[A-Fa-f0-9]+$ - type: string - eventList: - pattern: ^[A-Fa-f0-9]+$ - type: string - collectionEntityIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - collectionEntityIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr_2' - interfaceList: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - eventList - - neTypeList - - traceDepth - - traceRef - type: object - TraceDepth_2: - enum: - - MINIMUM - - MEDIUM - - MAXIMUM - - MINIMUM_WO_VENDOR_EXTENSION - - MEDIUM_WO_VENDOR_EXTENSION - - MAXIMUM_WO_VENDOR_EXTENSION - type: string - Ipv4Addr_2: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - Ipv6Addr_2: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$ - example: 2001:db8:85a3::8a2e:370:7334 - type: string - SupportedFeatures_2: - pattern: ^[A-Fa-f0-9]*$ - type: string - Gpsi: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - GroupId: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - AmbrRm: - example: - uplink: uplink - downlink: downlink - nullable: true - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - RatType: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - Area: - example: - areaCodes: areaCodes - tacs: - - null - - null - oneOf: - - required: - - tacs - - required: - - areaCode - properties: - tacs: - items: - $ref: '#/components/schemas/Tac' - minItems: 1 - type: array - areaCodes: - type: string - type: object - Tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - AreaCode: - type: string - ServiceAreaRestriction: - allOf: - - oneOf: - - not: - required: - - restrictionType - - required: - - areas - - anyOf: - - not: - properties: - restrictionType: - enum: - - NOT_ALLOWED_AREAS - type: string - required: - - restrictionType - - not: - required: - - maxNumOfTAs - example: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - properties: - restrictionType: - $ref: '#/components/schemas/RestrictionType' - areas: - items: - $ref: '#/components/schemas/Area' - type: array - maxNumOfTAs: - format: int32 - minimum: 0 - type: integer - type: object - RestrictionType: - enum: - - ALLOWED_AREAS - - NOT_ALLOWED_AREAS - type: string - Uinteger: - format: int32 - minimum: 0 - type: integer - CoreNetworkType: - enum: - - 5GC - - EPC - type: string - RfspIndexRm: - format: int32 - maximum: 256 - minimum: 1 - nullable: true - type: integer - DurationSecRm: - format: int32 - nullable: true - type: integer - Snssai_2: - example: - sd: sd - sst: 188 - properties: - sst: - format: int32 - maximum: 255 - minimum: 0 - type: integer - sd: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - sst - type: object - AckInd: - type: boolean - CounterSor: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - SteeringInfo: - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - accessTechList: - items: - $ref: '#/components/schemas/AccessTech' - minItems: 1 - type: array - required: - - plmnId - type: object - AccessTech: - enum: - - NR - - EUTRAN_IN_WBS1_MODE_AND_NBS1_MODE - - EUTRAN_IN_NBS1_MODE_ONLY - - EUTRAN_IN_WBS1_MODE_ONLY - - UTRAN - - GSM_AND_ECGSM_IoT - - GSM_WITHOUT_ECGSM_IoT - - ECGSM_IoT_ONLY - - CDMA_1xRTT - - CDMA_HRPD - - GSM_COMPACT - type: string - SubscribedDefaultQos: - example: - priorityLevel: 126 - 5qi: 126 - arp: - priorityLevel: 8 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - required: - - 5qi - - arp - type: object - 5Qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Arp: - example: - priorityLevel: 8 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - 5QiPriorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - Ambr: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - UpSecurity: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity' - upConfid: - $ref: '#/components/schemas/UpConfidentiality' - required: - - upConfid - - upIntegr - type: object - UpIntegrity: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - PduSessionType: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - SscMode: - enum: - - SSC_MODE_1 - - SSC_MODE_2 - - SSC_MODE_3 - type: string - Ipv6Prefix_2: - allOf: - - pattern: ^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$ - - pattern: ^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$ - example: 2001:db8:abcd:12::0/64 - type: string - NfInstanceId_2: - format: uuid - type: string - Pei: - pattern: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$ - type: string - ServiceName: - enum: - - nnrf-nfm - - nnrf-disc - - nudm-sdm - - nudm-uecm - - nudm-ueau - - nudm-ee - - nudm-pp - - namf-comm - - namf-evts - - namf-mt - - namf-loc - - nsmf-pdusession - - nsmf-event-exposure - - nausf-auth - - nausf-sorprotection - - nnef-pfdmanagement - - npcf-am-policy-control - - npcf-smpolicycontrol - - npcf-policyauthorization - - npcf-bdtpolicycontrol - - npcf-eventexposure - - npcf-ue-policy-control - - nsmsf-sms - - nnssf-nsselection - - nnssf-nssaiavailability - - nudr-dr - - nlmf-loc - - n5g-eir-eic - - nbsf-management - - nchf-spendinglimitcontrol - - nchf-convergedcharging - - nnwdaf-eventssubscription - - nnwdaf-analyticsinfo - type: string - Guami: - example: - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - amfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - required: - - amfId - - plmnId - type: object - PlmnId: - example: - mnc: mnc - mcc: mcc - properties: - mcc: - pattern: ^\d{3}$ - type: string - mnc: - pattern: ^\d{2,3}$ - type: string - required: - - mcc - - mnc - type: object - Mcc: - pattern: ^\d{3}$ - type: string - Mnc: - pattern: ^\d{2,3}$ - type: string - AmfId: - pattern: ^[A-Fa-f0-9]{6}$ - type: string - BackupAmfInfo: - example: - backupAmf: backupAmf - guamiList: - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - - plmnId: - mnc: mnc - mcc: mcc - amfId: amfId - properties: - backupAmf: - type: string - guamiList: - items: - $ref: '#/components/schemas/Guami' - minItems: 1 - type: array - required: - - backupAmf - type: object - AmfName: - type: string - PduSessionId: - format: int32 - maximum: 255 - minimum: 0 - type: integer - DiameterIdentity: - pattern: ^([A-Za-z0-9]+(-[A-Za-z0-9]+).)+[a-z]{2,}$ - type: string - DurationSec: - format: int32 - type: integer - DateTime_2: - format: date-time - type: string - SharedAuthenticationSubscription: - example: - authenticationManagementField: authenticationManagementField - milenage: - op: - encryptionKey: 4 - opValue: opValue - encryptionAlgorithm: 7 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 38 - top: - topValue: topValue - encryptionKey: 1 - encryptionAlgorithm: 1 - properties: - authenticationManagementField: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - vectorAlgorithm: - $ref: '#/components/schemas/VectorAlgorithm_2' - milenage: - $ref: '#/components/schemas/Milenage_2' - tuak: - $ref: '#/components/schemas/Tuak_2' - required: - - authenticationMethod - - vectorAlgorithm - type: object - AuthenticationManagementField_2: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - VectorAlgorithm_2: - enum: - - MILENAGE - - TUAK - type: string - Milenage_2: - example: - op: - encryptionKey: 4 - opValue: opValue - encryptionAlgorithm: 7 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - properties: - op: - $ref: '#/components/schemas/Op_2' - rotations: - $ref: '#/components/schemas/Rotations_2' - constants: - $ref: '#/components/schemas/Constants_2' - type: object - Op_2: - example: - encryptionKey: 4 - opValue: opValue - encryptionAlgorithm: 7 - properties: - opValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - opValue - type: object - OpValue_2: - pattern: ^[A-Fa-f0-9]+$ - type: string - EncryptionKey_2: - format: int32 - type: integer - EncryptionAlgorithm_2: - format: int32 - type: integer - Rotations_2: - example: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - properties: - r1: - pattern: ^[A-Fa-f0-9]+$ - type: string - r2: - pattern: ^[A-Fa-f0-9]+$ - type: string - r3: - pattern: ^[A-Fa-f0-9]+$ - type: string - r4: - pattern: ^[A-Fa-f0-9]+$ - type: string - r5: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - r1 - - r2 - - r3 - - r4 - - r5 - type: object - RValue_2: - pattern: ^[A-Fa-f0-9]+$ - type: string - Constants_2: - example: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - properties: - c1: - pattern: ^[A-Fa-f0-9]+$ - type: string - c2: - pattern: ^[A-Fa-f0-9]+$ - type: string - c3: - pattern: ^[A-Fa-f0-9]+$ - type: string - c4: - pattern: ^[A-Fa-f0-9]+$ - type: string - c5: - pattern: ^[A-Fa-f0-9]+$ - type: string - required: - - c1 - - c2 - - c3 - - c4 - - c5 - type: object - CValue_2: - pattern: ^[A-Fa-f0-9]+$ - type: string - Tuak_2: - example: - keccakIterations: 38 - top: - topValue: topValue - encryptionKey: 1 - encryptionAlgorithm: 1 - properties: - top: - $ref: '#/components/schemas/Top_2' - keccakIterations: - format: int32 - maximum: 255 - minimum: 1 - type: integer - type: object - Top_2: - example: - topValue: topValue - encryptionKey: 1 - encryptionAlgorithm: 1 - properties: - topValue: - pattern: ^[A-Fa-f0-9]+$ - type: string - encryptionKey: - format: int32 - type: integer - encryptionAlgorithm: - format: int32 - type: integer - required: - - encryptionAlgorithm - - encryptionKey - - topValue - type: object - TopValue_2: - pattern: ^[A-Fa-f0-9]+$ - type: string - Gpsi_2: - pattern: ^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - GroupId_2: - pattern: ^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$ - type: string - AmbrRm_2: - example: - uplink: uplink - downlink: downlink - nullable: true - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - BitRate_2: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - RatType_2: - enum: - - NR - - EUTRA - - WLAN - - VIRTUAL - type: string - Area_2: - example: - areaCodes: areaCodes - tacs: - - null - - null - oneOf: - - required: - - tacs - - required: - - areaCode - properties: - tacs: - items: - $ref: '#/components/schemas/Tac_2' - minItems: 1 - type: array - areaCodes: - type: string - type: object - Tac_2: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - AreaCode_2: - type: string - ServiceAreaRestriction_2: - allOf: - - oneOf: - - not: - required: - - restrictionType - - required: - - areas - - anyOf: - - not: - properties: - restrictionType: - enum: - - NOT_ALLOWED_AREAS - type: string - required: - - restrictionType - - not: - required: - - maxNumOfTAs - example: - maxNumOfTAs: 0 - areas: - - areaCodes: areaCodes - tacs: - - null - - null - - areaCodes: areaCodes - tacs: - - null - - null - properties: - restrictionType: - $ref: '#/components/schemas/RestrictionType_2' - areas: - items: - $ref: '#/components/schemas/Area_2' - type: array - maxNumOfTAs: - format: int32 - minimum: 0 - type: integer - type: object - RestrictionType_2: - enum: - - ALLOWED_AREAS - - NOT_ALLOWED_AREAS - type: string - Uinteger_2: - format: int32 - minimum: 0 - type: integer - CoreNetworkType_2: - enum: - - 5GC - - EPC - type: string - RfspIndexRm_2: - format: int32 - maximum: 256 - minimum: 1 - nullable: true - type: integer - DurationSecRm_2: - format: int32 - nullable: true - type: integer - OdbPacketServices_2: - enum: - - ALL_PACKET_SERVICES - - ROAMER_ACCESS_HPLMN_AP - - ROAMER_ACCESS_VPLMN_AP - type: string - AckInd_2: - type: boolean - SorMac_2: - pattern: ^[A-Fa-f0-9]{32}$ - type: string - CounterSor_2: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - SubscribedDefaultQos_2: - example: - priorityLevel: 26 - 5qi: 237 - arp: - priorityLevel: 6 - properties: - 5qi: - format: int32 - maximum: 255 - minimum: 0 - type: integer - arp: - $ref: '#/components/schemas/Arp_2' - priorityLevel: - format: int32 - maximum: 127 - minimum: 1 - type: integer - required: - - 5qi - - arp - type: object - 5Qi_2: - format: int32 - maximum: 255 - minimum: 0 - type: integer - Arp_2: - example: - priorityLevel: 6 - properties: - priorityLevel: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - preemptCap: - $ref: '#/components/schemas/PreemptionCapability_2' - preemptVuln: - $ref: '#/components/schemas/PreemptionVulnerability_2' - required: - - preemptCap - - preemptVuln - - priorityLevel - type: object - ArpPriorityLevel_2: - format: int32 - maximum: 15 - minimum: 1 - nullable: true - type: integer - PreemptionCapability_2: - enum: - - NOT_PREEMPT - - MAY_PREEMPT - type: string - PreemptionVulnerability_2: - enum: - - NOT_PREEMPTABLE - - PREEMPTABLE - type: string - 5QiPriorityLevel_2: - format: int32 - maximum: 127 - minimum: 1 - type: integer - Ambr_2: - example: - uplink: uplink - downlink: downlink - properties: - uplink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - downlink: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - required: - - downlink - - uplink - type: object - UpSecurity_2: - example: {} - properties: - upIntegr: - $ref: '#/components/schemas/UpIntegrity_2' - upConfid: - $ref: '#/components/schemas/UpConfidentiality_2' - required: - - upConfid - - upIntegr - type: object - UpIntegrity_2: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - UpConfidentiality_2: - enum: - - REQUIRED - - PREFERRED - - NOT_NEEDED - type: string - PduSessionType_2: - enum: - - IPV4 - - IPV6 - - IPV4V6 - - UNSTRUCTURED - - ETHERNET - type: string - SscMode_2: - enum: - - SSC_MODE_1 - - SSC_MODE_2 - - SSC_MODE_3 - type: string - VarUeId_2: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$ - type: string - NotifyItem: - example: - resourceId: resourceId - changes: - - path: path - newValue: "" - from: from - origValue: "" - - path: path - newValue: "" - from: from - origValue: "" - properties: - resourceId: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - changes: - items: - $ref: '#/components/schemas/ChangeItem' - minItems: 1 - type: array - type: object - ChangeItem: - example: - path: path - newValue: "" - from: from - origValue: "" - properties: - op: - $ref: '#/components/schemas/ChangeType' - path: - type: string - from: - type: string - origValue: {} - newValue: {} - required: - - op - - path - type: object - ChangeType: - enum: - - ADD - - MOVE - - REMOVE - - REPLACE - type: string - Supi_2: - pattern: ^(imsi-[0-9]{5,15}|nai-.+|.+)$ - type: string - Bytes: - format: byte - type: string - ChargingInformation: - example: - secondaryChfAddress: secondaryChfAddress - primaryChfAddress: primaryChfAddress - properties: - primaryChfAddress: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - secondaryChfAddress: - description: string providing an URI formatted according to IETF RFC 3986. - type: string - required: - - primaryChfAddress - - secondaryChfAddress - type: object - UsageThreshold: - example: - duration: 0 - totalVolume: 0 - downlinkVolume: 0 - uplinkVolume: 0 - properties: - duration: - description: Unsigned integer identifying a period of time in units of seconds. - format: int32 - minimum: 0 - type: integer - totalVolume: - description: Unsigned integer identifying a volume in units of bytes. - format: int64 - minimum: 0 - type: integer - downlinkVolume: - description: Unsigned integer identifying a volume in units of bytes. - format: int64 - minimum: 0 - type: integer - uplinkVolume: - description: Unsigned integer identifying a volume in units of bytes. - format: int64 - minimum: 0 - type: integer - type: object - DurationSec_2: - description: Unsigned integer identifying a period of time in units of seconds. - format: int32 - minimum: 0 - type: integer - Volume: - description: Unsigned integer identifying a volume in units of bytes. - format: int64 - minimum: 0 - type: integer - TransferPolicy: - description: Describes a transfer policy. - example: - maxBitRateDl: maxBitRateDl - maxBitRateUl: maxBitRateUl - ratingGroup: 0 - transPolicyId: 6 - recTimeInt: - startTime: 2000-01-23T04:56:07.000+00:00 - stopTime: 2000-01-23T04:56:07.000+00:00 - properties: - maxBitRateDl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - maxBitRateUl: - pattern: ^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$ - type: string - ratingGroup: - description: Indicates a rating group for the recommended time window. - format: int32 - type: integer - recTimeInt: - $ref: '#/components/schemas/TimeWindow' - transPolicyId: - description: Contains an identity of a transfer policy. - format: int32 - type: integer - required: - - ratingGroup - - recTimeInt - - transPolicyId - type: object - NetworkAreaInfo: - description: Describes a network area information in which the NF service consumer requests the number of UEs. - example: - ncgis: - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tais: - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - - tac: tac - plmnId: - mnc: mnc - mcc: mcc - gRanNodeIds: - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ecgis: - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - ecgis: - description: Contains a list of E-UTRA cell identities. - items: - $ref: '#/components/schemas/Ecgi' - minItems: 1 - type: array - ncgis: - description: Contains a list of NR cell identities. - items: - $ref: '#/components/schemas/Ncgi' - minItems: 1 - type: array - gRanNodeIds: - description: Contains a list of NG RAN nodes. - items: - $ref: '#/components/schemas/GlobalRanNodeId' - minItems: 1 - type: array - tais: - description: Contains a list of tracking area identities. - items: - $ref: '#/components/schemas/Tai' - minItems: 1 - type: array - type: object - EthFlowDescription: - description: Identifies an Ethernet flow - example: - destMacAddr: destMacAddr - sourceMacAddr: sourceMacAddr - ethType: ethType - fDesc: fDesc - vlanTags: - - vlanTags - - vlanTags - properties: - destMacAddr: - pattern: ^([0-9a-fA-F]{2})((-[0-9a-fA-F]{2}){5})$ - type: string - ethType: - type: string - fDesc: - description: Defines a packet filter of an IP flow. - type: string - fDir: - $ref: '#/components/schemas/FlowDirection' - sourceMacAddr: - pattern: ^([0-9a-fA-F]{2})((-[0-9a-fA-F]{2}){5})$ - type: string - vlanTags: - items: - type: string - maxItems: 2 - minItems: 1 - type: array - required: - - ethType - type: object - FlowDescription: - description: Defines a packet filter of an IP flow. - type: string - FlowInfo: - example: - flowDescriptions: - - flowDescriptions - - flowDescriptions - flowId: 0 - properties: - flowId: - description: Indicates the IP flow. - format: int32 - type: integer - flowDescriptions: - description: Indicates the packet filters of the IP flow. Refer to subclause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description. - items: - type: string - maxItems: 2 - minItems: 1 - type: array - required: - - flowId - type: object - RouteToLocation: - example: - dnai: dnai - routeInfo: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - routeProfId: routeProfId - nullable: true - properties: - dnai: - type: string - routeInfo: - $ref: '#/components/schemas/RouteInformation' - routeProfId: - nullable: true - type: string - required: - - dnai - type: object - Dnai: - type: string - RouteInformation: - example: - ipv6Addr: 2001:db8:85a3::8a2e:370:7334 - ipv4Addr: 198.51.100.1 - portNumber: 0 - nullable: true - properties: - ipv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ipv6Addr: - $ref: '#/components/schemas/Ipv6Addr_2' - portNumber: - format: int32 - minimum: 0 - type: integer - required: - - portNumber - type: object - UserLocation: - example: - eutraLocation: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - nrLocation: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 19750 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - n3gaLocation: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - eutraLocation: - $ref: '#/components/schemas/EutraLocation' - nrLocation: - $ref: '#/components/schemas/NrLocation' - n3gaLocation: - $ref: '#/components/schemas/N3gaLocation' - type: object - EutraLocation: - example: - geographicalInformation: geographicalInformation - globalNgenbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 2624 - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - ecgi: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - tai: - $ref: '#/components/schemas/Tai' - ecgi: - $ref: '#/components/schemas/Ecgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalNgenbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ecgi - - tai - type: object - Tai: - example: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - tac: - pattern: (^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$) - type: string - required: - - plmnId - - tac - type: object - Ecgi: - example: - eutraCellId: eutraCellId - plmnId: - mnc: mnc - mcc: mcc - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - eutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - required: - - eutraCellId - - plmnId - type: object - EutraCellId: - pattern: ^[A-Fa-f0-9]{7}$ - type: string - GlobalRanNodeId: - example: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - oneOf: - - required: - - n3IwfId - - required: - - gNbId - - required: - - ngeNbId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - n3IwfId: - type: string - gNbId: - $ref: '#/components/schemas/GNbId' - ngeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - required: - - plmnId - type: object - N3IwfId: - type: string - GNbId: - example: - bitLength: 23 - gNBValue: gNBValue - properties: - bitLength: - format: int32 - maximum: 32 - minimum: 22 - type: integer - gNBValue: - pattern: ^[A-Fa-f0-9]{6,8}$ - type: string - required: - - bitLength - - gNBValue - type: object - NgeNbId: - pattern: ^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$ - type: string - NrLocation: - example: - geographicalInformation: geographicalInformation - globalGnbId: - gNbId: - bitLength: 23 - gNBValue: gNBValue - plmnId: - mnc: mnc - mcc: mcc - n3IwfId: n3IwfId - ngeNbId: ngeNbId - ageOfLocationInformation: 19750 - ncgi: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - tai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueLocationTimestamp: 2000-01-23T04:56:07.000+00:00 - geodeticInformation: geodeticInformation - properties: - tai: - $ref: '#/components/schemas/Tai' - ncgi: - $ref: '#/components/schemas/Ncgi' - ageOfLocationInformation: - format: int32 - maximum: 32767 - minimum: 0 - type: integer - ueLocationTimestamp: - format: date-time - type: string - geographicalInformation: - pattern: ^[0-9A-F]{16}$ - type: string - geodeticInformation: - pattern: ^[0-9A-F]{20}$ - type: string - globalGnbId: - $ref: '#/components/schemas/GlobalRanNodeId' - required: - - ncgi - - tai - type: object - Ncgi: - example: - plmnId: - mnc: mnc - mcc: mcc - nrCellId: nrCellId - properties: - plmnId: - $ref: '#/components/schemas/PlmnId' - nrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - required: - - nrCellId - - plmnId - type: object - NrCellId: - pattern: ^[A-Fa-f0-9]{9}$ - type: string - N3gaLocation: - example: - ueIpv4Addr: 198.51.100.1 - n3gppTai: - tac: tac - plmnId: - mnc: mnc - mcc: mcc - ueIpv6Addr: 2001:db8:85a3::8a2e:370:7334 - n3IwfId: n3IwfId - portNumber: 0 - properties: - n3gppTai: - $ref: '#/components/schemas/Tai' - n3IwfId: - pattern: ^[A-Fa-f0-9]+$ - type: string - ueIpv4Addr: - example: 198.51.100.1 - pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ - type: string - ueIpv6Addr: - $ref: '#/components/schemas/Ipv6Addr_2' - portNumber: - format: int32 - minimum: 0 - type: integer - type: object - TimeZone: - type: string - AccessType: - enum: - - 3GPP_ACCESS - - NON_3GPP_ACCESS - type: string - RmInfo: - example: {} - properties: - rmState: - $ref: '#/components/schemas/RmState' - accessType: - $ref: '#/components/schemas/AccessType' - required: - - accessType - - rmState - type: object - RmState: - enum: - - REGISTERED - - DEREGISTERED - type: string - CmInfo: - example: {} - properties: - cmState: - $ref: '#/components/schemas/CmState' - accessType: - $ref: '#/components/schemas/AccessType' - required: - - accessType - - cmState - type: object - CmState: - enum: - - IDLE - - CONNECTED - type: string - UeReachability: - enum: - - UNREACHABLE - - REACHABLE - - REGULATORY_ONLY - type: string - SmsSupport: - enum: - - 3GPP - - NON_3GPP - - BOTH - - NONE - type: string - SharedAuthenticationSubscription_2: - example: - authenticationManagementField: authenticationManagementField - milenage: - op: - encryptionKey: 1 - opValue: opValue - encryptionAlgorithm: 5 - constants: - c3: c3 - c4: c4 - c5: c5 - c1: c1 - c2: c2 - rotations: - r2: r2 - r3: r3 - r4: r4 - r5: r5 - r1: r1 - tuak: - keccakIterations: 180 - top: - topValue: topValue - encryptionKey: 5 - encryptionAlgorithm: 2 - properties: - authenticationManagementField: - pattern: ^[A-Fa-f0-9]{4}$ - type: string - vectorAlgorithm: - $ref: '#/components/schemas/VectorAlgorithm' - milenage: - $ref: '#/components/schemas/Milenage' - tuak: - $ref: '#/components/schemas/Tuak' - required: - - authenticationMethod - - vectorAlgorithm - type: object - TimeWindow: - example: - startTime: 2000-01-23T04:56:07.000+00:00 - stopTime: 2000-01-23T04:56:07.000+00:00 - properties: - startTime: - format: date-time - type: string - stopTime: - format: date-time - type: string - required: - - startTime - - stopTime - type: object - MacAddr48: - pattern: ^([0-9a-fA-F]{2})((-[0-9a-fA-F]{2}){5})$ - type: string - FlowDirection: - enum: - - DOWNLINK - - UPLINK - - BIDIRECTIONAL - - UNSPECIFIED - type: string - securitySchemes: - oAuth2ClientCredentials: - flows: - clientCredentials: - scopes: - nudr-dr: Access to the Nudr_DataRepository API - tokenUrl: '{nrfApiRoot}/oauth2/token' - type: oauth2 diff --git a/Nudr_DataRepository/api_access_and_mobility_data.go b/Nudr_DataRepository/api_access_and_mobility_data.go deleted file mode 100644 index ec6d20eb..00000000 --- a/Nudr_DataRepository/api_access_and_mobility_data.go +++ /dev/null @@ -1,484 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AccessAndMobilityDataApiService service - -/* -AccessAndMobilityDataApiService Creates and updates the access and mobility exposure data for a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateAccessAndMobilityDataParamOpts - Optional Parameters: - * @param "AccessAndMobilityData" (optional.Interface of AccessAndMobilityData) - -*/ - -type CreateAccessAndMobilityDataParamOpts struct { - AccessAndMobilityData optional.Interface -} - -func (a *AccessAndMobilityDataApiService) CreateAccessAndMobilityData(ctx context.Context, ueId string, localVarOptionals *CreateAccessAndMobilityDataParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.AccessAndMobilityData.IsSet() { - localVarOptionalAccessAndMobilityData, localVarOptionalAccessAndMobilityDataok := localVarOptionals.AccessAndMobilityData.Value().(models.AccessAndMobilityData) - if !localVarOptionalAccessAndMobilityDataok { - return nil, openapi.ReportError("accessAndMobilityData should be AccessAndMobilityData") - } - localVarPostBody = &localVarOptionalAccessAndMobilityData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -AccessAndMobilityDataApiService Deletes the access and mobility exposure data for a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id -*/ - -func (a *AccessAndMobilityDataApiService) DeleteAccessAndMobilityData(ctx context.Context, ueId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -AccessAndMobilityDataApiService Retrieves the access and mobility exposure data for a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAccessAndMobilityDataParamOpts - Optional Parameters: - * @param "SuppFeat" (optional.String) - Supported Features -@return models.AccessAndMobilityData -*/ - -type QueryAccessAndMobilityDataParamOpts struct { - SuppFeat optional.String -} - -func (a *AccessAndMobilityDataApiService) QueryAccessAndMobilityData(ctx context.Context, ueId string, localVarOptionals *QueryAccessAndMobilityDataParamOpts) (models.AccessAndMobilityData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AccessAndMobilityData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SuppFeat.IsSet() && localVarOptionals.SuppFeat.Value() != "" { - localVarQueryParams.Add("supp-feat", openapi.ParameterToString(localVarOptionals.SuppFeat.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_access_and_mobility_subscription_data_document.go b/Nudr_DataRepository/api_access_and_mobility_subscription_data_document.go deleted file mode 100644 index eac3332c..00000000 --- a/Nudr_DataRepository/api_access_and_mobility_subscription_data_document.go +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AccessAndMobilitySubscriptionDataDocumentApiService service - -/* -AccessAndMobilitySubscriptionDataDocumentApiService Retrieves the access and mobility subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QueryAmDataParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.AccessAndMobilitySubscriptionData -*/ - -type QueryAmDataParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *AccessAndMobilitySubscriptionDataDocumentApiService) QueryAmData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QueryAmDataParamOpts) (models.AccessAndMobilitySubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AccessAndMobilitySubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/am-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_amf3_gpp_access_registration_document.go b/Nudr_DataRepository/api_amf3_gpp_access_registration_document.go deleted file mode 100644 index b1d4d85b..00000000 --- a/Nudr_DataRepository/api_amf3_gpp_access_registration_document.go +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMF3GPPAccessRegistrationDocumentApiService service - -/* -AMF3GPPAccessRegistrationDocumentApiService To modify the AMF context data of a UE using 3gpp access in the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param patchItem -*/ - -func (a *AMF3GPPAccessRegistrationDocumentApiService) AmfContext3gpp(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AMF3GPPAccessRegistrationDocumentApiService To store the AMF context data of a UE using 3gpp access in the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateAmfContext3gppParamOpts - Optional Parameters: - * @param "Amf3GppAccessRegistration" (optional.Interface of Amf3GppAccessRegistration) - -*/ - -type CreateAmfContext3gppParamOpts struct { - Amf3GppAccessRegistration optional.Interface -} - -func (a *AMF3GPPAccessRegistrationDocumentApiService) CreateAmfContext3gpp(ctx context.Context, ueId string, localVarOptionals *CreateAmfContext3gppParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.Amf3GppAccessRegistration.IsSet() { - localVarOptionalAmf3GppAccessRegistration, localVarOptionalAmf3GppAccessRegistrationok := localVarOptionals.Amf3GppAccessRegistration.Value().(models.Amf3GppAccessRegistration) - if !localVarOptionalAmf3GppAccessRegistrationok { - return nil, openapi.ReportError("amf3GppAccessRegistration should be Amf3GppAccessRegistration") - } - localVarPostBody = &localVarOptionalAmf3GppAccessRegistration - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AMF3GPPAccessRegistrationDocumentApiService Retrieves the AMF context data of a UE using 3gpp access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAmfContext3gppParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.Amf3GppAccessRegistration -*/ - -type QueryAmfContext3gppParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *AMF3GPPAccessRegistrationDocumentApiService) QueryAmfContext3gpp(ctx context.Context, ueId string, localVarOptionals *QueryAmfContext3gppParamOpts) (models.Amf3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.Amf3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_amf_non3_gpp_access_registration_document.go b/Nudr_DataRepository/api_amf_non3_gpp_access_registration_document.go deleted file mode 100644 index bb7451d3..00000000 --- a/Nudr_DataRepository/api_amf_non3_gpp_access_registration_document.go +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AMFNon3GPPAccessRegistrationDocumentApiService service - -/* -AMFNon3GPPAccessRegistrationDocumentApiService To modify the AMF context data of a UE using non 3gpp access in the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param patchItem -*/ - -func (a *AMFNon3GPPAccessRegistrationDocumentApiService) AmfContextNon3gpp(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AMFNon3GPPAccessRegistrationDocumentApiService To store the AMF context data of a UE using non-3gpp access in the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateAmfContextNon3gppParamOpts - Optional Parameters: - * @param "AmfNon3GppAccessRegistration" (optional.Interface of AmfNon3GppAccessRegistration) - -*/ - -type CreateAmfContextNon3gppParamOpts struct { - AmfNon3GppAccessRegistration optional.Interface -} - -func (a *AMFNon3GPPAccessRegistrationDocumentApiService) CreateAmfContextNon3gpp(ctx context.Context, ueId string, localVarOptionals *CreateAmfContextNon3gppParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.AmfNon3GppAccessRegistration.IsSet() { - localVarOptionalAmfNon3GppAccessRegistration, localVarOptionalAmfNon3GppAccessRegistrationok := localVarOptionals.AmfNon3GppAccessRegistration.Value().(models.AmfNon3GppAccessRegistration) - if !localVarOptionalAmfNon3GppAccessRegistrationok { - return nil, openapi.ReportError("amfNon3GppAccessRegistration should be AmfNon3GppAccessRegistration") - } - localVarPostBody = &localVarOptionalAmfNon3GppAccessRegistration - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AMFNon3GPPAccessRegistrationDocumentApiService Retrieves the AMF context data of a UE using non-3gpp access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAmfContextNon3gppParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.AmfNon3GppAccessRegistration -*/ - -type QueryAmfContextNon3gppParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *AMFNon3GPPAccessRegistrationDocumentApiService) QueryAmfContextNon3gpp(ctx context.Context, ueId string, localVarOptionals *QueryAmfContextNon3gppParamOpts) (models.AmfNon3GppAccessRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmfNon3GppAccessRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_amf_subscription_info_document.go b/Nudr_DataRepository/api_amf_subscription_info_document.go deleted file mode 100644 index b6281c76..00000000 --- a/Nudr_DataRepository/api_amf_subscription_info_document.go +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AmfSubscriptionInfoDocumentApiService service - -/* -AmfSubscriptionInfoDocumentApiService modify the AMF Subscription Info - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId - * @param patchItem -*/ - -func (a *AmfSubscriptionInfoDocumentApiService) ModifyAmfSubscriptionInfo(ctx context.Context, ueId string, subsId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_auth_event_document.go b/Nudr_DataRepository/api_auth_event_document.go deleted file mode 100644 index be06b8bb..00000000 --- a/Nudr_DataRepository/api_auth_event_document.go +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AuthEventDocumentApiService service - -/* -AuthEventDocumentApiService Retrieves the Authentication Status of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAuthenticationStatusParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.AuthEvent -*/ - -type QueryAuthenticationStatusParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *AuthEventDocumentApiService) QueryAuthenticationStatus(ctx context.Context, ueId string, localVarOptionals *QueryAuthenticationStatusParamOpts) (models.AuthEvent, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AuthEvent - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_authentication_data_document.go b/Nudr_DataRepository/api_authentication_data_document.go deleted file mode 100644 index c8fb19b4..00000000 --- a/Nudr_DataRepository/api_authentication_data_document.go +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AuthenticationDataDocumentApiService service - -/* -AuthenticationDataDocumentApiService modify the authentication subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param patchItem -*/ - -func (a *AuthenticationDataDocumentApiService) ModifyAuthentication(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-subscription" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AuthenticationDataDocumentApiService Retrieves the authentication subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAuthSubsDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.AuthenticationSubscription -*/ - -type QueryAuthSubsDataParamOpts struct { - SupportedFeatures optional.String -} - -func (a *AuthenticationDataDocumentApiService) QueryAuthSubsData(ctx context.Context, ueId string, localVarOptionals *QueryAuthSubsDataParamOpts) (models.AuthenticationSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AuthenticationSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-subscription" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_authentication_so_r_document.go b/Nudr_DataRepository/api_authentication_so_r_document.go deleted file mode 100644 index 8a4243e5..00000000 --- a/Nudr_DataRepository/api_authentication_so_r_document.go +++ /dev/null @@ -1,212 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AuthenticationSoRDocumentApiService service - -/* -AuthenticationSoRDocumentApiService To store the SoR acknowledgement information of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateAuthenticationSoRParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "SorData" (optional.Interface of SorData) - -*/ - -type CreateAuthenticationSoRParamOpts struct { - SupportedFeatures optional.String - SorData optional.Interface -} - -func (a *AuthenticationSoRDocumentApiService) CreateAuthenticationSoR(ctx context.Context, ueId string, localVarOptionals *CreateAuthenticationSoRParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/sor-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SorData.IsSet() { - localVarOptionalSorData, localVarOptionalSorDataok := localVarOptionals.SorData.Value().(models.SorData) - if !localVarOptionalSorDataok { - return nil, openapi.ReportError("sorData should be SorData") - } - localVarPostBody = &localVarOptionalSorData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -AuthenticationSoRDocumentApiService Retrieves the SoR acknowledgement information of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryAuthSoRParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.SorData -*/ - -type QueryAuthSoRParamOpts struct { - SupportedFeatures optional.String -} - -func (a *AuthenticationSoRDocumentApiService) QueryAuthSoR(ctx context.Context, ueId string, localVarOptionals *QueryAuthSoRParamOpts) (models.SorData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SorData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/sor-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() { - localVarQueryParams.Add("supportedFeatures", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_authentication_status_document.go b/Nudr_DataRepository/api_authentication_status_document.go deleted file mode 100644 index 6c096fb9..00000000 --- a/Nudr_DataRepository/api_authentication_status_document.go +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type AuthenticationStatusDocumentApiService service - -/* -AuthenticationStatusDocumentApiService To store the Authentication Status data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateAuthenticationStatusParamOpts - Optional Parameters: - * @param "AuthEvent" (optional.Interface of AuthEvent) - -*/ - -type CreateAuthenticationStatusParamOpts struct { - AuthEvent optional.Interface -} - -func (a *AuthenticationStatusDocumentApiService) CreateAuthenticationStatus(ctx context.Context, ueId string, localVarOptionals *CreateAuthenticationStatusParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.AuthEvent.IsSet() { - localVarOptionalAuthEvent, localVarOptionalAuthEventok := localVarOptionals.AuthEvent.Value().(models.AuthEvent) - if !localVarOptionalAuthEventok { - return nil, openapi.ReportError("authEvent should be AuthEvent") - } - localVarPostBody = &localVarOptionalAuthEvent - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_create_amf_subscription_info_document.go b/Nudr_DataRepository/api_create_amf_subscription_info_document.go deleted file mode 100644 index 3f388400..00000000 --- a/Nudr_DataRepository/api_create_amf_subscription_info_document.go +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type CreateAMFSubscriptionInfoDocumentApiService service - -/* -CreateAMFSubscriptionInfoDocumentApiService Create AmfSubscriptions for an individual ee subscriptions of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId - * @param amfSubscriptionInfo -*/ - -func (a *CreateAMFSubscriptionInfoDocumentApiService) CreateAMFSubscriptions(ctx context.Context, ueId string, subsId string, amfSubscriptionInfo []models.AmfSubscriptionInfo) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &amfSubscriptionInfo - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_default.go b/Nudr_DataRepository/api_default.go deleted file mode 100644 index 52183635..00000000 --- a/Nudr_DataRepository/api_default.go +++ /dev/null @@ -1,4312 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appId Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. -*/ - -func (a *DefaultApiService) ApplicationDataPfdsAppIdDelete(ctx context.Context, appId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appId Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. -@return models.PfdDataForApp -*/ - -func (a *DefaultApiService) ApplicationDataPfdsAppIdGet(ctx context.Context, appId string) (models.PfdDataForApp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdDataForApp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param appId Indicate the application identifier for the request pfd(s).It shall apply the format of Data type ApplicationId. - * @param pfdDataForApp -@return models.PfdDataForApp -*/ - -func (a *DefaultApiService) ApplicationDataPfdsAppIdPut(ctx context.Context, appId string, pfdDataForApp models.PfdDataForApp) (models.PfdDataForApp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdDataForApp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdDataForApp - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ApplicationDataPfdsGetParamOpts - Optional Parameters: - * @param "AppId" (optional.Interface of []string) - Contains the information of the application identifier(s) for the querying PFD Data resource.If none appId is included in the URI, it applies to all application identifier(s) for the querying PFD Data resource. -@return []models.PfdDataForApp -*/ - -type ApplicationDataPfdsGetParamOpts struct { - AppId optional.Interface -} - -func (a *DefaultApiService) ApplicationDataPfdsGet(ctx context.Context, localVarOptionals *ApplicationDataPfdsGetParamOpts) ([]models.PfdDataForApp, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.PfdDataForApp - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/pfds" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.AppId.IsSet() { - for _, appID := range localVarOptionals.AppId.Value().([]string) { - localVarQueryParams.Add("appId", appID) - } - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param exposureDataSubscription -@return models.ExposureDataSubscription -*/ - -func (a *DefaultApiService) ExposureDataSubsToNotifyPost(ctx context.Context, exposureDataSubscription models.ExposureDataSubscription) (models.ExposureDataSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ExposureDataSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &exposureDataSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService Deletes a subcription for notifications - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subId Subscription id -*/ - -func (a *DefaultApiService) ExposureDataSubsToNotifySubIdDelete(ctx context.Context, subId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify/{subId}" - localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", fmt.Sprintf("%v", subId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService updates a subcription for notifications - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subId Subscription id - * @param exposureDataSubscription -@return models.ExposureDataSubscription -*/ - -func (a *DefaultApiService) ExposureDataSubsToNotifySubIdPut(ctx context.Context, subId string, exposureDataSubscription models.ExposureDataSubscription) (models.ExposureDataSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ExposureDataSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify/{subId}" - localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", fmt.Sprintf("%v", subId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &exposureDataSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtReferenceId -*/ - -func (a *DefaultApiService) PolicyDataBdtDataBdtReferenceIdDelete(ctx context.Context, bdtReferenceId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", fmt.Sprintf("%v", bdtReferenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtReferenceId -@return models.BdtData -*/ - -func (a *DefaultApiService) PolicyDataBdtDataBdtReferenceIdGet(ctx context.Context, bdtReferenceId string) (models.BdtData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.BdtData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", fmt.Sprintf("%v", bdtReferenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param bdtReferenceId - * @param optional nil or *PolicyDataBdtDataBdtReferenceIdPutParamOpts - Optional Parameters: - * @param "BdtData" (optional.Interface of BdtData) - -*/ - -type PolicyDataBdtDataBdtReferenceIdPutParamOpts struct { - BdtData optional.Interface -} - -func (a *DefaultApiService) PolicyDataBdtDataBdtReferenceIdPut(ctx context.Context, bdtReferenceId string, localVarOptionals *PolicyDataBdtDataBdtReferenceIdPutParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", fmt.Sprintf("%v", bdtReferenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.BdtData.IsSet() { - localVarOptionalBdtData, localVarOptionalBdtDataok := localVarOptionals.BdtData.Value().(models.BdtData) - if !localVarOptionalBdtDataok { - return nil, openapi.ReportError("bdtData should be BdtData") - } - localVarPostBody = &localVarOptionalBdtData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). -@return []models.BdtData -*/ - -func (a *DefaultApiService) PolicyDataBdtDataGet(ctx context.Context) ([]models.BdtData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.BdtData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param plmnId -@return models.UePolicySet -*/ - -func (a *DefaultApiService) PolicyDataPlmnsPlmnIdUePolicySetGet(ctx context.Context, plmnId string) (models.UePolicySet, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UePolicySet - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/plmns/{plmnId}/ue-policy-set" - localVarPath = strings.Replace(localVarPath, "{"+"plmnId"+"}", fmt.Sprintf("%v", plmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 412: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sponsorId -@return models.SponsorConnectivityData -*/ - -func (a *DefaultApiService) PolicyDataSponsorConnectivityDataSponsorIdGet(ctx context.Context, sponsorId string) (models.SponsorConnectivityData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SponsorConnectivityData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/sponsor-connectivity-data/{sponsorId}" - localVarPath = strings.Replace(localVarPath, "{"+"sponsorId"+"}", fmt.Sprintf("%v", sponsorId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *PolicyDataSubsToNotifyPostParamOpts - Optional Parameters: - * @param "PolicyDataSubscription" (optional.Interface of PolicyDataSubscription) - -@return models.PolicyDataSubscription -*/ - -type PolicyDataSubsToNotifyPostParamOpts struct { - PolicyDataSubscription optional.Interface -} - -func (a *DefaultApiService) PolicyDataSubsToNotifyPost(ctx context.Context, localVarOptionals *PolicyDataSubsToNotifyPostParamOpts) (models.PolicyDataSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyDataSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.PolicyDataSubscription.IsSet() { - localVarOptionalPolicyDataSubscription, localVarOptionalPolicyDataSubscriptionok := localVarOptionals.PolicyDataSubscription.Value().(models.PolicyDataSubscription) - if !localVarOptionalPolicyDataSubscriptionok { - return localVarReturnValue, nil, openapi.ReportError("policyDataSubscription should be PolicyDataSubscription") - } - localVarPostBody = &localVarOptionalPolicyDataSubscription - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subsId -*/ - -func (a *DefaultApiService) PolicyDataSubsToNotifySubsIdDelete(ctx context.Context, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subsId - * @param optional nil or *PolicyDataSubsToNotifySubsIdPutParamOpts - Optional Parameters: - * @param "PolicyDataSubscription" (optional.Interface of PolicyDataSubscription) - -@return models.PolicyDataSubscription -*/ - -type PolicyDataSubsToNotifySubsIdPutParamOpts struct { - PolicyDataSubscription optional.Interface -} - -func (a *DefaultApiService) PolicyDataSubsToNotifySubsIdPut(ctx context.Context, subsId string, localVarOptionals *PolicyDataSubsToNotifySubsIdPutParamOpts) (models.PolicyDataSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PolicyDataSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.PolicyDataSubscription.IsSet() { - localVarOptionalPolicyDataSubscription, localVarOptionalPolicyDataSubscriptionok := localVarOptionals.PolicyDataSubscription.Value().(models.PolicyDataSubscription) - if !localVarOptionalPolicyDataSubscriptionok { - return localVarReturnValue, nil, openapi.ReportError("policyDataSubscription should be PolicyDataSubscription") - } - localVarPostBody = &localVarOptionalPolicyDataSubscription - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId -@return models.AmPolicyData -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdAmDataGet(ctx context.Context, ueId string) (models.AmPolicyData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.AmPolicyData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/am-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE Id - * @param optional nil or *PolicyDataUesUeIdOperatorSpecificDataGetParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved -@return map[string]models.OperatorSpecificDataContainer2 -*/ - -type PolicyDataUesUeIdOperatorSpecificDataGetParamOpts struct { - Fields optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdOperatorSpecificDataGet(ctx context.Context, ueId string, localVarOptionals *PolicyDataUesUeIdOperatorSpecificDataGetParamOpts) (map[string]models.OperatorSpecificDataContainer, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue map[string]models.OperatorSpecificDataContainer - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() && localVarOptionals.Fields.Value() != "" { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE Id - * @param patchItem -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdOperatorSpecificDataPatch(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE Id - * @param requestBody -@return models.OperatorSpecificDataContainer2 -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdOperatorSpecificDataPut(ctx context.Context, ueId string, requestBody map[string]models.OperatorSpecificDataContainer) (models.OperatorSpecificDataContainer, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.OperatorSpecificDataContainer - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &requestBody - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param optional nil or *PolicyDataUesUeIdSmDataGetParamOpts - Optional Parameters: - * @param "Snssai" (optional.Interface of models.Snssai) - - * @param "Dnn" (optional.String) - - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved -@return models.SmPolicyData -*/ - -type PolicyDataUesUeIdSmDataGetParamOpts struct { - Snssai optional.Interface - Dnn optional.String - Fields optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdSmDataGet(ctx context.Context, ueId string, localVarOptionals *PolicyDataUesUeIdSmDataGetParamOpts) (models.SmPolicyData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmPolicyData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Snssai.IsSet() && localVarOptionals.Snssai.Value() != "" { - localVarQueryParams.Add("snssai", openapi.ParameterToString(localVarOptionals.Snssai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() && localVarOptionals.Fields.Value() != "" { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param optional nil or *PolicyDataUesUeIdSmDataPatchParamOpts - Optional Parameters: - * @param "RequestBody" (optional.Interface of map[string]models.UsageMonData) - -*/ - -type PolicyDataUesUeIdSmDataPatchParamOpts struct { - RequestBody optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdSmDataPatch(ctx context.Context, ueId string, localVarOptionals *PolicyDataUesUeIdSmDataPatchParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.RequestBody.IsSet() { - localVarOptionalRequestBody, localVarOptionalRequestBodyok := localVarOptionals.RequestBody.Value().(map[string]models.UsageMonData) - if !localVarOptionalRequestBodyok { - return nil, openapi.ReportError("requestBody should be map[string]models.UsageMonData") - } - localVarPostBody = &localVarOptionalRequestBody - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param usageMonId -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdSmDataUsageMonIdDelete(ctx context.Context, ueId string, usageMonId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", fmt.Sprintf("%v", usageMonId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param usageMonId -@return models.UsageMonData -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdSmDataUsageMonIdGet(ctx context.Context, ueId string, usageMonId string) (models.UsageMonData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UsageMonData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", fmt.Sprintf("%v", usageMonId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param usageMonId - * @param optional nil or *PolicyDataUesUeIdSmDataUsageMonIdPutParamOpts - Optional Parameters: - * @param "UsageMonData" (optional.Interface of UsageMonData) - -*/ - -type PolicyDataUesUeIdSmDataUsageMonIdPutParamOpts struct { - UsageMonData optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdSmDataUsageMonIdPut(ctx context.Context, ueId string, usageMonId string, localVarOptionals *PolicyDataUesUeIdSmDataUsageMonIdPutParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", fmt.Sprintf("%v", usageMonId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.UsageMonData.IsSet() { - localVarOptionalUsageMonData, localVarOptionalUsageMonDataok := localVarOptionals.UsageMonData.Value().(models.UsageMonData) - if !localVarOptionalUsageMonDataok { - return nil, openapi.ReportError("usageMonData should be UsageMonData") - } - localVarPostBody = &localVarOptionalUsageMonData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId -@return models.UePolicySet -*/ - -func (a *DefaultApiService) PolicyDataUesUeIdUePolicySetGet(ctx context.Context, ueId string) (models.UePolicySet, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.UePolicySet - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param optional nil or *PolicyDataUesUeIdUePolicySetPatchParamOpts - Optional Parameters: - * @param "UePolicySet" (optional.Interface of UePolicySet) - -*/ - -type PolicyDataUesUeIdUePolicySetPatchParamOpts struct { - UePolicySet optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdUePolicySetPatch(ctx context.Context, ueId string, localVarOptionals *PolicyDataUesUeIdUePolicySetPatchParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.UePolicySet.IsSet() { - localVarOptionalUePolicySet, localVarOptionalUePolicySetok := localVarOptionals.UePolicySet.Value().(models.UePolicySet) - if !localVarOptionalUePolicySetok { - return nil, openapi.ReportError("uePolicySet should be UePolicySet") - } - localVarPostBody = &localVarOptionalUePolicySet - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param optional nil or *PolicyDataUesUeIdUePolicySetPutParamOpts - Optional Parameters: - * @param "UePolicySet" (optional.Interface of UePolicySet) - -*/ - -type PolicyDataUesUeIdUePolicySetPutParamOpts struct { - UePolicySet optional.Interface -} - -func (a *DefaultApiService) PolicyDataUesUeIdUePolicySetPut(ctx context.Context, ueId string, localVarOptionals *PolicyDataUesUeIdUePolicySetPutParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.UePolicySet.IsSet() { - localVarOptionalUePolicySet, localVarOptionalUePolicySetok := localVarOptionals.UePolicySet.Value().(models.UePolicySet) - if !localVarOptionalUePolicySetok { - return nil, openapi.ReportError("uePolicySet should be UePolicySet") - } - localVarPostBody = &localVarOptionalUePolicySet - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_event_amf_subscription_info_document.go b/Nudr_DataRepository/api_event_amf_subscription_info_document.go deleted file mode 100644 index 678faa2a..00000000 --- a/Nudr_DataRepository/api_event_amf_subscription_info_document.go +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" -) - -// Linger please -var ( - _ context.Context -) - -type EventAMFSubscriptionInfoDocumentApiService service - -/* -EventAMFSubscriptionInfoDocumentApiService Deletes AMF Subscription Info for an eeSubscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId -*/ - -func (a *EventAMFSubscriptionInfoDocumentApiService) RemoveAmfSubscriptionsInfo(ctx context.Context, ueId string, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - _ = apiError - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in RemoveAmfSubscriptionsInfo", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nudr_DataRepository/api_event_exposure_data_document.go b/Nudr_DataRepository/api_event_exposure_data_document.go deleted file mode 100644 index 74d9c691..00000000 --- a/Nudr_DataRepository/api_event_exposure_data_document.go +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type EventExposureDataDocumentApiService service - -/* -EventExposureDataDocumentApiService Retrieves the ee profile data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryEEDataParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.EeProfileData -*/ - -type QueryEEDataParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *EventExposureDataDocumentApiService) QueryEEData(ctx context.Context, ueId string, localVarOptionals *QueryEEDataParamOpts) (models.EeProfileData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.EeProfileData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ee-profile-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supportedFeatures", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_event_exposure_group_subscriptions_collection.go b/Nudr_DataRepository/api_event_exposure_group_subscriptions_collection.go deleted file mode 100644 index 9d9055dd..00000000 --- a/Nudr_DataRepository/api_event_exposure_group_subscriptions_collection.go +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type EventExposureGroupSubscriptionsCollectionApiService service - -/* -EventExposureGroupSubscriptionsCollectionApiService Create individual EE subscription for a group of UEs or any UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueGroupId Group of UEs or any UE - * @param eeSubscription -@return models.EeSubscription -*/ - -func (a *EventExposureGroupSubscriptionsCollectionApiService) CreateEeGroupSubscriptions(ctx context.Context, ueGroupId string, eeSubscription models.EeSubscription) (models.EeSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.EeSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", fmt.Sprintf("%v", ueGroupId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &eeSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} - -/* -EventExposureGroupSubscriptionsCollectionApiService Retrieves the ee subscriptions of a group of UEs or any UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueGroupId Group of UEs or any UE - * @param optional nil or *QueryEeGroupSubscriptionsParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return []models.EeSubscription -*/ - -type QueryEeGroupSubscriptionsParamOpts struct { - SupportedFeatures optional.String -} - -func (a *EventExposureGroupSubscriptionsCollectionApiService) QueryEeGroupSubscriptions(ctx context.Context, ueGroupId string, localVarOptionals *QueryEeGroupSubscriptionsParamOpts) ([]models.EeSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.EeSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", fmt.Sprintf("%v", ueGroupId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_event_exposure_subscription_document.go b/Nudr_DataRepository/api_event_exposure_subscription_document.go deleted file mode 100644 index 1095eb47..00000000 --- a/Nudr_DataRepository/api_event_exposure_subscription_document.go +++ /dev/null @@ -1,345 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type EventExposureSubscriptionDocumentApiService service - -/* -EventExposureSubscriptionDocumentApiService Deletes a eeSubscription for a group of UEs or any UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueGroupId - * @param subsId Unique ID of the subscription to remove -*/ - -func (a *EventExposureSubscriptionDocumentApiService) RemoveEeGroupSubscriptions(ctx context.Context, ueGroupId string, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", fmt.Sprintf("%v", ueGroupId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - _ = apiError - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in RemoveEeGroupSubscriptions", localVarHTTPResponse.StatusCode) - } -} - -/* -EventExposureSubscriptionDocumentApiService Deletes a eeSubscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId Unique ID of the subscription to remove -*/ - -func (a *EventExposureSubscriptionDocumentApiService) RemoveeeSubscriptions(ctx context.Context, ueId string, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - _ = apiError - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in RemoveeeSubscriptions", localVarHTTPResponse.StatusCode) - } -} - -/* -EventExposureSubscriptionDocumentApiService Stores an individual ee subscription of a group of UEs or any UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueGroupId - * @param subsId - * @param optional nil or *UpdateEeGroupSubscriptionsParamOpts - Optional Parameters: - * @param "EeSubscription" (optional.Interface of EeSubscription) - -*/ - -type UpdateEeGroupSubscriptionsParamOpts struct { - EeSubscription optional.Interface -} - -func (a *EventExposureSubscriptionDocumentApiService) UpdateEeGroupSubscriptions(ctx context.Context, ueGroupId string, subsId string, localVarOptionals *UpdateEeGroupSubscriptionsParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", fmt.Sprintf("%v", ueGroupId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.EeSubscription.IsSet() { - localVarOptionalEeSubscription, localVarOptionalEeSubscriptionok := localVarOptionals.EeSubscription.Value().(models.EeSubscription) - if !localVarOptionalEeSubscriptionok { - return nil, openapi.ReportError("eeSubscription should be EeSubscription") - } - localVarPostBody = &localVarOptionalEeSubscription - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -EventExposureSubscriptionDocumentApiService Stores an individual ee subscriptions of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId - * @param optional nil or *UpdateEesubscriptionsParamOpts - Optional Parameters: - * @param "EeSubscription" (optional.Interface of EeSubscription) - -*/ - -type UpdateEesubscriptionsParamOpts struct { - EeSubscription optional.Interface -} - -func (a *EventExposureSubscriptionDocumentApiService) UpdateEesubscriptions(ctx context.Context, ueId string, subsId string, localVarOptionals *UpdateEesubscriptionsParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.EeSubscription.IsSet() { - localVarOptionalEeSubscription, localVarOptionalEeSubscriptionok := localVarOptionals.EeSubscription.Value().(models.EeSubscription) - if !localVarOptionalEeSubscriptionok { - return nil, openapi.ReportError("eeSubscription should be EeSubscription") - } - localVarPostBody = &localVarOptionalEeSubscription - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_event_exposure_subscriptions_collection.go b/Nudr_DataRepository/api_event_exposure_subscriptions_collection.go deleted file mode 100644 index 19ac8b46..00000000 --- a/Nudr_DataRepository/api_event_exposure_subscriptions_collection.go +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type EventExposureSubscriptionsCollectionApiService service - -/* -EventExposureSubscriptionsCollectionApiService Create individual EE subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE ID - * @param eeSubscription -@return models.EeSubscription -*/ - -func (a *EventExposureSubscriptionsCollectionApiService) CreateEeSubscriptions(ctx context.Context, ueId string, eeSubscription models.EeSubscription) (models.EeSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.EeSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &eeSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} - -/* -EventExposureSubscriptionsCollectionApiService Retrieves the ee subscriptions of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryeesubscriptionsParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return []models.EeSubscription -*/ - -type QueryeesubscriptionsParamOpts struct { - SupportedFeatures optional.String -} - -func (a *EventExposureSubscriptionsCollectionApiService) Queryeesubscriptions(ctx context.Context, ueId string, localVarOptionals *QueryeesubscriptionsParamOpts) ([]models.EeSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.EeSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_individual_influence_data_document.go b/Nudr_DataRepository/api_individual_influence_data_document.go deleted file mode 100644 index 28865428..00000000 --- a/Nudr_DataRepository/api_individual_influence_data_document.go +++ /dev/null @@ -1,506 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualInfluenceDataDocumentApiService service - -/* -IndividualInfluenceDataDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param influenceId The Identifier of an Individual Influence Data to be updated.It shall apply the format of Data type string. -*/ - -func (a *IndividualInfluenceDataDocumentApiService) ApplicationDataInfluenceDataInfluenceIdDelete(ctx context.Context, influenceId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", fmt.Sprintf("%v", influenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -IndividualInfluenceDataDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param influenceId The Identifier of an Individual Influence Data to be updated.It shall apply the format of Data type string. - * @param trafficInfluDataPatch -@return models.TrafficInfluData -*/ - -func (a *IndividualInfluenceDataDocumentApiService) ApplicationDataInfluenceDataInfluenceIdPatch(ctx context.Context, influenceId string, trafficInfluDataPatch models.TrafficInfluDataPatch) (models.TrafficInfluData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TrafficInfluData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", fmt.Sprintf("%v", influenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &trafficInfluDataPatch - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -IndividualInfluenceDataDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param influenceId The Identifier of an Individual Influence Data to be created or updated.It shall apply the format of Data type string. - * @param trafficInfluData -@return models.TrafficInfluData -*/ - -func (a *IndividualInfluenceDataDocumentApiService) ApplicationDataInfluenceDataInfluenceIdPut(ctx context.Context, influenceId string, trafficInfluData models.TrafficInfluData) (models.TrafficInfluData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TrafficInfluData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", fmt.Sprintf("%v", influenceId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &trafficInfluData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_individual_influence_data_subscription_document.go b/Nudr_DataRepository/api_individual_influence_data_subscription_document.go deleted file mode 100644 index 90c3f0b9..00000000 --- a/Nudr_DataRepository/api_individual_influence_data_subscription_document.go +++ /dev/null @@ -1,469 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" -) - -// Linger please -var ( - _ context.Context -) - -type IndividualInfluenceDataSubscriptionDocumentApiService service - -/* -IndividualInfluenceDataSubscriptionDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId String identifying a subscription to the Individual Influence Data Subscription -*/ - -func (a *IndividualInfluenceDataSubscriptionDocumentApiService) ApplicationDataInfluenceDataSubsToNotifySubscriptionIdDelete(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -IndividualInfluenceDataSubscriptionDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId String identifying a subscription to the Individual Influence Data Subscription -@return models.TrafficInfluSub -*/ - -func (a *IndividualInfluenceDataSubscriptionDocumentApiService) ApplicationDataInfluenceDataSubsToNotifySubscriptionIdGet(ctx context.Context, subscriptionId string) (models.TrafficInfluSub, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -IndividualInfluenceDataSubscriptionDocumentApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId String identifying a subscription to the Individual Influence Data Subscription - * @param trafficInfluSub -@return models.TrafficInfluSub -*/ - -func (a *IndividualInfluenceDataSubscriptionDocumentApiService) ApplicationDataInfluenceDataSubsToNotifySubscriptionIdPut(ctx context.Context, subscriptionId string, trafficInfluSub models.TrafficInfluSub) (models.TrafficInfluSub, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &trafficInfluSub - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 204: - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_influence_data.go b/Nudr_DataRepository/api_influence_data.go deleted file mode 100644 index 5b198740..00000000 --- a/Nudr_DataRepository/api_influence_data.go +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" -) - -// Linger please -var ( - _ context.Context -) - -type InfluenceDataApiService service - -/* -InfluenceDataApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ApplicationDataInfluenceDataGetParamOpts - Optional Parameters: - * @param "InfluenceIds" (optional.Interface of []string) - Each element identifies a service. - * @param "Dnns" (optional.Interface of []string) - Each element identifies a DNN. - * @param "Snssais" (optional.Interface of []models.Snssai) - Each element identifies a slice. - * @param "InternalGroupIds" (optional.Interface of []string) - Each element identifies a group of users. - * @param "Supis" (optional.Interface of []string) - Each element identifies the user. -@return []models.TrafficInfluData -*/ - -type ApplicationDataInfluenceDataGetParamOpts struct { - InfluenceIds optional.Interface - Dnns optional.Interface - Snssais optional.Interface - InternalGroupIds optional.Interface - Supis optional.Interface -} - -func (a *InfluenceDataApiService) ApplicationDataInfluenceDataGet(ctx context.Context, localVarOptionals *ApplicationDataInfluenceDataGetParamOpts) ([]models.TrafficInfluData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.TrafficInfluData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.InfluenceIds.IsSet() && localVarOptionals.InfluenceIds.Value() != "" { - localVarQueryParams.Add("influence-Ids", openapi.ParameterToString(localVarOptionals.InfluenceIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Dnns.IsSet() && localVarOptionals.Dnns.Value() != "" { - localVarQueryParams.Add("dnns", openapi.ParameterToString(localVarOptionals.Dnns.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Snssais.IsSet() && localVarOptionals.Snssais.Value() != "" { - localVarQueryParams.Add("snssais", openapi.ParameterToString(localVarOptionals.Snssais.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.InternalGroupIds.IsSet() && localVarOptionals.InternalGroupIds.Value() != "" { - localVarQueryParams.Add("internal-Group-Ids", openapi.ParameterToString(localVarOptionals.InternalGroupIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Supis.IsSet() && localVarOptionals.Supis.Value() != "" { - localVarQueryParams.Add("supis", openapi.ParameterToString(localVarOptionals.Supis.Value(), "csv")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_influence_data_subscriptions_collection.go b/Nudr_DataRepository/api_influence_data_subscriptions_collection.go deleted file mode 100644 index 24515891..00000000 --- a/Nudr_DataRepository/api_influence_data_subscriptions_collection.go +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" - - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" -) - -// Linger please -var ( - _ context.Context -) - -type InfluenceDataSubscriptionsCollectionApiService service - -/* -InfluenceDataSubscriptionsCollectionApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ApplicationDataInfluenceDataSubsToNotifyGetParamOpts - Optional Parameters: - * @param "Dnn" (optional.String) - Identifies a DNN. - * @param "Snssai" (optional.Interface of models.Snssai) - Identifies a slice. - * @param "InternalGroupId" (optional.String) - Identifies a group of users. - * @param "Supi" (optional.String) - Identifies a user. -@return []models.TrafficInfluSub -*/ - -type ApplicationDataInfluenceDataSubsToNotifyGetParamOpts struct { - Dnn optional.String - Snssai optional.Interface - InternalGroupId optional.String - Supi optional.String -} - -func (a *InfluenceDataSubscriptionsCollectionApiService) ApplicationDataInfluenceDataSubsToNotifyGet(ctx context.Context, localVarOptionals *ApplicationDataInfluenceDataSubsToNotifyGetParamOpts) ([]models.TrafficInfluSub, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Snssai.IsSet() && localVarOptionals.Snssai.Value() != "" { - localVarQueryParams.Add("snssai", openapi.ParameterToString(localVarOptionals.Snssai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.InternalGroupId.IsSet() && localVarOptionals.InternalGroupId.Value() != "" { - localVarQueryParams.Add("internal-Group-Id", openapi.ParameterToString(localVarOptionals.InternalGroupId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Supi.IsSet() && localVarOptionals.Supi.Value() != "" { - localVarQueryParams.Add("supi", openapi.ParameterToString(localVarOptionals.Supi.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -InfluenceDataSubscriptionsCollectionApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param trafficInfluSub -@return models.TrafficInfluSub -*/ - -func (a *InfluenceDataSubscriptionsCollectionApiService) ApplicationDataInfluenceDataSubsToNotifyPost(ctx context.Context, trafficInfluSub models.TrafficInfluSub) (models.TrafficInfluSub, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TrafficInfluSub - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &trafficInfluSub - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_operator_specific_data_container_document.go b/Nudr_DataRepository/api_operator_specific_data_container_document.go deleted file mode 100644 index 5b395fd5..00000000 --- a/Nudr_DataRepository/api_operator_specific_data_container_document.go +++ /dev/null @@ -1,220 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type OperatorSpecificDataContainerDocumentApiService service - -/* -OperatorSpecificDataContainerDocumentApiService To modify operator specific data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param patchItem -*/ - -func (a *OperatorSpecificDataContainerDocumentApiService) PatchOperSpecData(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -OperatorSpecificDataContainerDocumentApiService Retrieves the operator specific data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QueryOperSpecDataParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.OperatorSpecificDataContainer -*/ - -type QueryOperSpecDataParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *OperatorSpecificDataContainerDocumentApiService) QueryOperSpecData(ctx context.Context, ueId string, localVarOptionals *QueryOperSpecDataParamOpts) (models.OperatorSpecificDataContainer, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.OperatorSpecificDataContainer - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_parameter_provision_document.go b/Nudr_DataRepository/api_parameter_provision_document.go deleted file mode 100644 index 28de5f63..00000000 --- a/Nudr_DataRepository/api_parameter_provision_document.go +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ParameterProvisionDocumentApiService service - -/* -ParameterProvisionDocumentApiService Read the profile of a given UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId pp data for a UE - * @param optional nil or *GetppDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.PpData -*/ - -type GetppDataParamOpts struct { - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *ParameterProvisionDocumentApiService) GetppData(ctx context.Context, ueId string, localVarOptionals *GetppDataParamOpts) (models.PpData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PpData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_pdu_session_management_data.go b/Nudr_DataRepository/api_pdu_session_management_data.go deleted file mode 100644 index 97600d58..00000000 --- a/Nudr_DataRepository/api_pdu_session_management_data.go +++ /dev/null @@ -1,510 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PduSessionManagementDataApiService service - -/* -PduSessionManagementDataApiService Creates and updates the session management data for a UE and for an individual PDU session - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id - * @param optional nil or *CreateSessionManagementDataParamOpts - Optional Parameters: - * @param "PduSessionManagementData" (optional.Interface of PduSessionManagementData) - -*/ - -type CreateSessionManagementDataParamOpts struct { - PduSessionManagementData optional.Interface -} - -func (a *PduSessionManagementDataApiService) CreateSessionManagementData(ctx context.Context, ueId string, pduSessionId int32, localVarOptionals *CreateSessionManagementDataParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.PduSessionManagementData.IsSet() { - localVarOptionalPduSessionManagementData, localVarOptionalPduSessionManagementDataok := localVarOptionals.PduSessionManagementData.Value().(models.PduSessionManagementData) - if !localVarOptionalPduSessionManagementDataok { - return nil, openapi.ReportError("pduSessionManagementData should be PduSessionManagementData") - } - localVarPostBody = &localVarOptionalPduSessionManagementData - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -PduSessionManagementDataApiService Deletes the session management data for a UE and for an individual PDU session - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id -*/ - -func (a *PduSessionManagementDataApiService) DeleteSessionManagementData(ctx context.Context, ueId string, pduSessionId int32) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -PduSessionManagementDataApiService Retrieves the session management data for a UE and for an individual PDU session - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id - * @param optional nil or *QuerySessionManagementDataParamOpts - Optional Parameters: - * @param "Ipv4Addr" (optional.String) - IPv4 Address of the UE - * @param "Ipv6Prefix" (optional.Interface of string) - IPv6 Address Prefix of the UE - * @param "Dnn" (optional.String) - DNN of the UE - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SuppFeat" (optional.String) - Supported Features -@return models.PduSessionManagementData -*/ - -type QuerySessionManagementDataParamOpts struct { - Ipv4Addr optional.String - Ipv6Prefix optional.Interface - Dnn optional.String - Fields optional.Interface - SuppFeat optional.String -} - -func (a *PduSessionManagementDataApiService) QuerySessionManagementData(ctx context.Context, ueId string, pduSessionId int32, localVarOptionals *QuerySessionManagementDataParamOpts) (models.PduSessionManagementData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PduSessionManagementData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Ipv4Addr.IsSet() && localVarOptionals.Ipv4Addr.Value() != "" { - localVarQueryParams.Add("ipv4-addr", openapi.ParameterToString(localVarOptionals.Ipv4Addr.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Ipv6Prefix.IsSet() { - localVarQueryParams.Add("ipv6-prefix", openapi.ParameterToString(localVarOptionals.Ipv6Prefix.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SuppFeat.IsSet() && localVarOptionals.SuppFeat.Value() != "" { - localVarQueryParams.Add("supp-feat", openapi.ParameterToString(localVarOptionals.SuppFeat.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - return localVarReturnValue, localVarHTTPResponse, nil - case 414: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_provisioned_data_document.go b/Nudr_DataRepository/api_provisioned_data_document.go deleted file mode 100644 index 2e33340f..00000000 --- a/Nudr_DataRepository/api_provisioned_data_document.go +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ProvisionedDataDocumentApiService service - -/* -ProvisionedDataDocumentApiService Retrieve multiple provisioned data sets of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QueryProvisionedDataParamOpts - Optional Parameters: - * @param "DatasetNames" (optional.Interface of []models.DataSetName) - List of dataset names -@return models.ProvisionedDataSets -*/ - -type QueryProvisionedDataParamOpts struct { - DatasetNames optional.Interface -} - -func (a *ProvisionedDataDocumentApiService) QueryProvisionedData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QueryProvisionedDataParamOpts) (models.ProvisionedDataSets, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.ProvisionedDataSets - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.DatasetNames.IsSet() { - localVarQueryParams.Add("dataset-names", openapi.ParameterToString(localVarOptionals.DatasetNames.Value(), "csv")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_provisioned_parameter_data_document.go b/Nudr_DataRepository/api_provisioned_parameter_data_document.go deleted file mode 100644 index 55d7fdf0..00000000 --- a/Nudr_DataRepository/api_provisioned_parameter_data_document.go +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type ProvisionedParameterDataDocumentApiService service - -/* -ProvisionedParameterDataDocumentApiService modify the provisioned parameter data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId pp data for a UE - * @param patchItem -*/ - -func (a *ProvisionedParameterDataDocumentApiService) ModifyPpData(ctx context.Context, ueId string, patchItem []models.PatchItem) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &patchItem - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_query_amf_subscription_info_document.go b/Nudr_DataRepository/api_query_amf_subscription_info_document.go deleted file mode 100644 index abdbfdbb..00000000 --- a/Nudr_DataRepository/api_query_amf_subscription_info_document.go +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type QueryAMFSubscriptionInfoDocumentApiService service - -/* -QueryAMFSubscriptionInfoDocumentApiService Retrieve AMF subscription Info - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId -@return []models.AmfSubscriptionInfo -*/ - -func (a *QueryAMFSubscriptionInfoDocumentApiService) GetAmfSubscriptionInfo(ctx context.Context, ueId string, subsId string) ([]models.AmfSubscriptionInfo, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.AmfSubscriptionInfo - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go b/Nudr_DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go deleted file mode 100644 index d4bf5b4a..00000000 --- a/Nudr_DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type QueryIdentityDataBySUPIOrGPSIDocumentApiService service - -/* -QueryIdentityDataBySUPIOrGPSIDocumentApiService Retrieve identity data by SUPI or GPSI - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE ID - * @param optional nil or *GetIdentityDataParamOpts - Optional Parameters: - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.IdentityData -*/ - -type GetIdentityDataParamOpts struct { - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *QueryIdentityDataBySUPIOrGPSIDocumentApiService) GetIdentityData(ctx context.Context, ueId string, localVarOptionals *GetIdentityDataParamOpts) (models.IdentityData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.IdentityData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/identity-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go b/Nudr_DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go deleted file mode 100644 index 2aae5806..00000000 --- a/Nudr_DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type QueryODBDataBySUPIOrGPSIDocumentApiService service - -/* -QueryODBDataBySUPIOrGPSIDocumentApiService Retrieve ODB Data data by SUPI or GPSI - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE ID -@return models.OdbData -*/ - -func (a *QueryODBDataBySUPIOrGPSIDocumentApiService) GetOdbData(ctx context.Context, ueId string) (models.OperatorDeterminedBarringData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.OperatorDeterminedBarringData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-determined-barring-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_retrieval_of_shared_data.go b/Nudr_DataRepository/api_retrieval_of_shared_data.go deleted file mode 100644 index c34bb3bb..00000000 --- a/Nudr_DataRepository/api_retrieval_of_shared_data.go +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type RetrievalOfSharedDataApiService service - -/* -RetrievalOfSharedDataApiService retrieve shared data - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sharedDataIds List of shared data ids - * @param optional nil or *GetSharedDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return []models.SharedData -*/ - -type GetSharedDataParamOpts struct { - SupportedFeatures optional.String -} - -func (a *RetrievalOfSharedDataApiService) GetSharedData(ctx context.Context, sharedDataIds []string, localVarOptionals *GetSharedDataParamOpts) ([]models.SharedData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SharedData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/shared-data" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("shared-data-ids", openapi.ParameterToString(sharedDataIds, "csv")) - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supportedFeatures", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/api_sdm_subscription_document.go b/Nudr_DataRepository/api_sdm_subscription_document.go deleted file mode 100644 index 451e4dd1..00000000 --- a/Nudr_DataRepository/api_sdm_subscription_document.go +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SDMSubscriptionDocumentApiService service - -/* -SDMSubscriptionDocumentApiService Deletes a sdmsubscriptions - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId Unique ID of the subscription to remove -*/ - -func (a *SDMSubscriptionDocumentApiService) RemovesdmSubscriptions(ctx context.Context, ueId string, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - _ = apiError - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in RemovesdmSubscriptions", localVarHTTPResponse.StatusCode) - } -} - -/* -SDMSubscriptionDocumentApiService Stores an individual sdm subscriptions of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId - * @param subsId - * @param optional nil or *UpdatesdmsubscriptionsParamOpts - Optional Parameters: - * @param "SdmSubscription" (optional.Interface of SdmSubscription) - -*/ - -type UpdatesdmsubscriptionsParamOpts struct { - SdmSubscription optional.Interface -} - -func (a *SDMSubscriptionDocumentApiService) Updatesdmsubscriptions(ctx context.Context, ueId string, subsId string, localVarOptionals *UpdatesdmsubscriptionsParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SdmSubscription.IsSet() { - localVarOptionalSdmSubscription, localVarOptionalSdmSubscriptionok := localVarOptionals.SdmSubscription.Value().(models.SdmSubscription) - if !localVarOptionalSdmSubscriptionok { - return nil, openapi.ReportError("sdmSubscription should be SdmSubscription") - } - localVarPostBody = &localVarOptionalSdmSubscription - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_sdm_subscriptions_collection.go b/Nudr_DataRepository/api_sdm_subscriptions_collection.go deleted file mode 100644 index d64f3d1b..00000000 --- a/Nudr_DataRepository/api_sdm_subscriptions_collection.go +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SDMSubscriptionsCollectionApiService service - -/* -SDMSubscriptionsCollectionApiService Create individual sdm subscription - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE ID - * @param sdmSubscription -@return models.SdmSubscription -*/ - -func (a *SDMSubscriptionsCollectionApiService) CreateSdmSubscriptions(ctx context.Context, ueId string, sdmSubscription models.SdmSubscription) (models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &sdmSubscription - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} - -/* -SDMSubscriptionsCollectionApiService Retrieves the sdm subscriptions of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QuerysdmsubscriptionsParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return []models.SdmSubscription -*/ - -type QuerysdmsubscriptionsParamOpts struct { - SupportedFeatures optional.String -} - -func (a *SDMSubscriptionsCollectionApiService) Querysdmsubscriptions(ctx context.Context, ueId string, localVarOptionals *QuerysdmsubscriptionsParamOpts) ([]models.SdmSubscription, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SdmSubscription - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_session_management_subscription_data.go b/Nudr_DataRepository/api_session_management_subscription_data.go deleted file mode 100644 index c31f34eb..00000000 --- a/Nudr_DataRepository/api_session_management_subscription_data.go +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SessionManagementSubscriptionDataApiService service - -/* -SessionManagementSubscriptionDataApiService Retrieves the Session Management subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QuerySmDataParamOpts - Optional Parameters: - * @param "SingleNssai" (optional.Interface of models.VarSnssai) - single NSSAI - * @param "Dnn" (optional.String) - DNN - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return []models.SessionManagementSubscriptionData -*/ - -type QuerySmDataParamOpts struct { - SingleNssai optional.Interface - Dnn optional.String - Fields optional.Interface - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SessionManagementSubscriptionDataApiService) QuerySmData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QuerySmDataParamOpts) ([]models.SessionManagementSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SessionManagementSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sm-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SingleNssai.IsSet() { - localVarQueryParams.Add("single-nssai", openapi.ParameterToString(localVarOptionals.SingleNssai.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Dnn.IsSet() && localVarOptionals.Dnn.Value() != "" { - localVarQueryParams.Add("dnn", openapi.ParameterToString(localVarOptionals.Dnn.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_smf_registration_document.go b/Nudr_DataRepository/api_smf_registration_document.go deleted file mode 100644 index a0113148..00000000 --- a/Nudr_DataRepository/api_smf_registration_document.go +++ /dev/null @@ -1,289 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFRegistrationDocumentApiService service - -/* -SMFRegistrationDocumentApiService To create an individual SMF context data of a UE in the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id - * @param optional nil or *CreateSmfContextNon3gppParamOpts - Optional Parameters: - * @param "SmfRegistration" (optional.Interface of SmfRegistration) - -*/ - -type CreateSmfContextNon3gppParamOpts struct { - SmfRegistration optional.Interface -} - -func (a *SMFRegistrationDocumentApiService) CreateSmfContextNon3gpp(ctx context.Context, ueId string, pduSessionId int32, localVarOptionals *CreateSmfContextNon3gppParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SmfRegistration.IsSet() { - localVarOptionalSmfRegistration, localVarOptionalSmfRegistrationok := localVarOptionals.SmfRegistration.Value().(models.SmfRegistration) - if !localVarOptionalSmfRegistrationok { - return nil, openapi.ReportError("smfRegistration should be SmfRegistration") - } - localVarPostBody = &localVarOptionalSmfRegistration - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMFRegistrationDocumentApiService To remove an individual SMF context data of a UE the UDR - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id -*/ - -func (a *SMFRegistrationDocumentApiService) DeleteSmfContext(ctx context.Context, ueId string, pduSessionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMFRegistrationDocumentApiService Retrieves the individual SMF registration of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param pduSessionId PDU session id - * @param optional nil or *QuerySmfRegistrationParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.SmfRegistration -*/ - -type QuerySmfRegistrationParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *SMFRegistrationDocumentApiService) QuerySmfRegistration(ctx context.Context, ueId string, pduSessionId string, localVarOptionals *QuerySmfRegistrationParamOpts) (models.SmfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", fmt.Sprintf("%v", pduSessionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_smf_registrations_collection.go b/Nudr_DataRepository/api_smf_registrations_collection.go deleted file mode 100644 index 031efde0..00000000 --- a/Nudr_DataRepository/api_smf_registrations_collection.go +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFRegistrationsCollectionApiService service - -/* -SMFRegistrationsCollectionApiService Retrieves the SMF registration list of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QuerySmfRegListParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features -@return []models.SmfRegistration -*/ - -type QuerySmfRegListParamOpts struct { - SupportedFeatures optional.String -} - -func (a *SMFRegistrationsCollectionApiService) QuerySmfRegList(ctx context.Context, ueId string, localVarOptionals *QuerySmfRegListParamOpts) ([]models.SmfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.SmfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_smf_selection_subscription_data_document.go b/Nudr_DataRepository/api_smf_selection_subscription_data_document.go deleted file mode 100644 index 7ac0f56f..00000000 --- a/Nudr_DataRepository/api_smf_selection_subscription_data_document.go +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMFSelectionSubscriptionDataDocumentApiService service - -/* -SMFSelectionSubscriptionDataDocumentApiService Retrieves the SMF selection subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QuerySmfSelectDataParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmfSelectionSubscriptionData -*/ - -type QuerySmfSelectDataParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMFSelectionSubscriptionDataDocumentApiService) QuerySmfSelectData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QuerySmfSelectDataParamOpts) (models.SmfSelectionSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmfSelectionSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/smf-selection-subscription-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_sms_management_subscription_data_document.go b/Nudr_DataRepository/api_sms_management_subscription_data_document.go deleted file mode 100644 index ac43511c..00000000 --- a/Nudr_DataRepository/api_sms_management_subscription_data_document.go +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSManagementSubscriptionDataDocumentApiService service - -/* -SMSManagementSubscriptionDataDocumentApiService Retrieves the SMS management subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QuerySmsMngDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmsManagementSubscriptionData -*/ - -type QuerySmsMngDataParamOpts struct { - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMSManagementSubscriptionDataDocumentApiService) QuerySmsMngData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QuerySmsMngDataParamOpts) (models.SmsManagementSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsManagementSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-mng-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_sms_subscription_data_document.go b/Nudr_DataRepository/api_sms_subscription_data_document.go deleted file mode 100644 index 484f1a8a..00000000 --- a/Nudr_DataRepository/api_sms_subscription_data_document.go +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSSubscriptionDataDocumentApiService service - -/* -SMSSubscriptionDataDocumentApiService Retrieves the SMS subscription data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QuerySmsDataParamOpts - Optional Parameters: - * @param "SupportedFeatures" (optional.String) - Supported Features - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.SmsSubscriptionData -*/ - -type QuerySmsDataParamOpts struct { - SupportedFeatures optional.String - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *SMSSubscriptionDataDocumentApiService) QuerySmsData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QuerySmsDataParamOpts) (models.SmsSubscriptionData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsSubscriptionData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_smsf3_gpp_registration_document.go b/Nudr_DataRepository/api_smsf3_gpp_registration_document.go deleted file mode 100644 index e71dbb68..00000000 --- a/Nudr_DataRepository/api_smsf3_gpp_registration_document.go +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSF3GPPRegistrationDocumentApiService service - -/* -SMSF3GPPRegistrationDocumentApiService Create the SMSF context data of a UE via 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateSmsfContext3gppParamOpts - Optional Parameters: - * @param "SmsfRegistration" (optional.Interface of SmsfRegistration) - -*/ - -type CreateSmsfContext3gppParamOpts struct { - SmsfRegistration optional.Interface -} - -func (a *SMSF3GPPRegistrationDocumentApiService) CreateSmsfContext3gpp(ctx context.Context, ueId string, localVarOptionals *CreateSmsfContext3gppParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SmsfRegistration.IsSet() { - localVarOptionalSmsfRegistration, localVarOptionalSmsfRegistrationok := localVarOptionals.SmsfRegistration.Value().(models.SmsfRegistration) - if !localVarOptionalSmsfRegistrationok { - return nil, openapi.ReportError("smsfRegistration should be SmsfRegistration") - } - localVarPostBody = &localVarOptionalSmsfRegistration - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMSF3GPPRegistrationDocumentApiService To remove the SMSF context data of a UE via 3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id -*/ - -func (a *SMSF3GPPRegistrationDocumentApiService) DeleteSmsfContext3gpp(ctx context.Context, ueId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMSF3GPPRegistrationDocumentApiService Retrieves the SMSF context data of a UE using 3gpp access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QuerySmsfContext3gppParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.SmsfRegistration -*/ - -type QuerySmsfContext3gppParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *SMSF3GPPRegistrationDocumentApiService) QuerySmsfContext3gpp(ctx context.Context, ueId string, localVarOptionals *QuerySmsfContext3gppParamOpts) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_smsf_non3_gpp_registration_document.go b/Nudr_DataRepository/api_smsf_non3_gpp_registration_document.go deleted file mode 100644 index fac9df16..00000000 --- a/Nudr_DataRepository/api_smsf_non3_gpp_registration_document.go +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SMSFNon3GPPRegistrationDocumentApiService service - -/* -SMSFNon3GPPRegistrationDocumentApiService Create the SMSF context data of a UE via non-3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *CreateSmsfContextNon3gppParamOpts - Optional Parameters: - * @param "SmsfRegistration" (optional.Interface of SmsfRegistration) - -*/ - -type CreateSmsfContextNon3gppParamOpts struct { - SmsfRegistration optional.Interface -} - -func (a *SMSFNon3GPPRegistrationDocumentApiService) CreateSmsfContextNon3gpp(ctx context.Context, ueId string, localVarOptionals *CreateSmsfContextNon3gppParamOpts) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - if localVarOptionals != nil && localVarOptionals.SmsfRegistration.IsSet() { - localVarOptionalSmsfRegistration, localVarOptionalSmsfRegistrationok := localVarOptionals.SmsfRegistration.Value().(models.SmsfRegistration) - if !localVarOptionalSmsfRegistrationok { - return nil, openapi.ReportError("smsfRegistration should be SmsfRegistration") - } - localVarPostBody = &localVarOptionalSmsfRegistration - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMSFNon3GPPRegistrationDocumentApiService To remove the SMSF context data of a UE via non-3GPP access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id -*/ - -func (a *SMSFNon3GPPRegistrationDocumentApiService) DeleteSmsfContextNon3gpp(ctx context.Context, ueId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - } -} - -/* -SMSFNon3GPPRegistrationDocumentApiService Retrieves the SMSF context data of a UE using non-3gpp access - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param optional nil or *QuerySmsfContextNon3gppParamOpts - Optional Parameters: - * @param "Fields" (optional.Interface of []string) - attributes to be retrieved - * @param "SupportedFeatures" (optional.String) - Supported Features -@return models.SmsfRegistration -*/ - -type QuerySmsfContextNon3gppParamOpts struct { - Fields optional.Interface - SupportedFeatures optional.String -} - -func (a *SMSFNon3GPPRegistrationDocumentApiService) QuerySmsfContextNon3gpp(ctx context.Context, ueId string, localVarOptionals *QuerySmsfContextNon3gppParamOpts) (models.SmsfRegistration, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SmsfRegistration - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Fields.IsSet() { - localVarQueryParams.Add("fields", openapi.ParameterToString(localVarOptionals.Fields.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.SupportedFeatures.IsSet() && localVarOptionals.SupportedFeatures.Value() != "" { - localVarQueryParams.Add("supported-features", openapi.ParameterToString(localVarOptionals.SupportedFeatures.Value(), "")) - } - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_subs_to_notify_collection.go b/Nudr_DataRepository/api_subs_to_notify_collection.go deleted file mode 100644 index 44ae868d..00000000 --- a/Nudr_DataRepository/api_subs_to_notify_collection.go +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type SubsToNofifyCollectionApiService service - -/* -SubsToNofifyCollectionApiService Subscription data subscriptions - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionDataSubscriptions -@return models.SubscriptionDataSubscriptions -*/ - -func (a *SubsToNofifyCollectionApiService) PostSubscriptionDataSubscriptions(ctx context.Context, subscriptionDataSubscriptions models.SubscriptionDataSubscriptions) (models.SubscriptionDataSubscriptions, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.SubscriptionDataSubscriptions - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &subscriptionDataSubscriptions - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - } -} diff --git a/Nudr_DataRepository/api_subs_to_notify_data_change_notify_callback_document.go b/Nudr_DataRepository/api_subs_to_notify_data_change_notify_callback_document.go deleted file mode 100644 index 82ac5529..00000000 --- a/Nudr_DataRepository/api_subs_to_notify_data_change_notify_callback_document.go +++ /dev/null @@ -1,150 +0,0 @@ -package Nudr_DataRepository - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DataChangeNotifyCallbackDocumentApiService service - -func (a *DataChangeNotifyCallbackDocumentApiService) OnDataChangeNotify(ctx context.Context, onDataChangeNotifyUrl string, request models.DataChangeNotify) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := onDataChangeNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in OnDataChangeNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Nudr_DataRepository/api_subs_to_notify_document.go b/Nudr_DataRepository/api_subs_to_notify_document.go deleted file mode 100644 index 137fe295..00000000 --- a/Nudr_DataRepository/api_subs_to_notify_document.go +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - - // "github.com/free5gc/openapi/models" - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" -) - -// Linger please -var ( - _ context.Context -) - -type SubsToNotifyDocumentApiService service - -/* -SubsToNotifyDocumentApiService Deletes a subscriptionDataSubscriptions - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subsId Unique ID of the subscription to remove -*/ - -func (a *SubsToNotifyDocumentApiService) RemovesubscriptionDataSubscriptions(ctx context.Context, subsId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify/{subsId}" - localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", fmt.Sprintf("%v", subsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - _ = apiError - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - default: - return localVarHTTPResponse, openapi.ReportError("%d is not a valid status code in RemovesubscriptionDataSubscriptions", localVarHTTPResponse.StatusCode) - } -} diff --git a/Nudr_DataRepository/api_subs_to_notify_influence_data_update_notify_callback_document.go b/Nudr_DataRepository/api_subs_to_notify_influence_data_update_notify_callback_document.go deleted file mode 100644 index 3a1fe8c2..00000000 --- a/Nudr_DataRepository/api_subs_to_notify_influence_data_update_notify_callback_document.go +++ /dev/null @@ -1,150 +0,0 @@ -package Nudr_DataRepository - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type InfluenceDataUpdateNotifyCallbackDocumentApiService service - -func (a *InfluenceDataUpdateNotifyCallbackDocumentApiService) InfluenceDataChangeNotify(ctx context.Context, influenceDataChangeNotifyUrl string, request []models.TrafficInfluDataNotif) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := influenceDataChangeNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in InfluenceDataChangeNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Nudr_DataRepository/api_subs_to_notify_policy_data_change_notify_callback_document.go b/Nudr_DataRepository/api_subs_to_notify_policy_data_change_notify_callback_document.go deleted file mode 100644 index 27c69e48..00000000 --- a/Nudr_DataRepository/api_subs_to_notify_policy_data_change_notify_callback_document.go +++ /dev/null @@ -1,150 +0,0 @@ -package Nudr_DataRepository - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type PolicyDataChangeNotifyCallbackDocumentApiService service - -func (a *PolicyDataChangeNotifyCallbackDocumentApiService) PolicyDataChangeNotify(ctx context.Context, policyDataChangeNotifyUrl string, request models.PolicyDataChangeNotification) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := policyDataChangeNotifyUrl - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHttpContentTypes := []string{"application/json"} - localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - - // body params - localVarPostBody = &request - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHttpResponse.Status, - } - switch localVarHttpResponse.StatusCode { - - case 204: - return localVarHttpResponse, err - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHttpResponse, apiError - } - apiError.ErrorModel = v - return localVarHttpResponse, apiError - default: - return localVarHttpResponse, openapi.ReportError("%d is not a valid status code in PolicyDataChangeNotify", localVarHttpResponse.StatusCode) - } -} diff --git a/Nudr_DataRepository/api_trace_data_document.go b/Nudr_DataRepository/api_trace_data_document.go deleted file mode 100644 index a1ceb2ab..00000000 --- a/Nudr_DataRepository/api_trace_data_document.go +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/antihax/optional" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type TraceDataDocumentApiService service - -/* -TraceDataDocumentApiService Retrieves the trace configuration data of a UE - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ueId UE id - * @param servingPlmnId PLMN ID - * @param optional nil or *QueryTraceDataParamOpts - Optional Parameters: - * @param "IfNoneMatch" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.2 - * @param "IfModifiedSince" (optional.String) - Validator for conditional requests, as described in RFC 7232, 3.3 -@return models.TraceData -*/ - -type QueryTraceDataParamOpts struct { - IfNoneMatch optional.String - IfModifiedSince optional.String -} - -func (a *TraceDataDocumentApiService) QueryTraceData(ctx context.Context, ueId string, servingPlmnId string, localVarOptionals *QueryTraceDataParamOpts) (models.TraceData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.TraceData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/trace-data" - localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", fmt.Sprintf("%v", ueId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", fmt.Sprintf("%v", servingPlmnId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - if localVarOptionals != nil && localVarOptionals.IfNoneMatch.IsSet() && localVarOptionals.IfNoneMatch.Value() != "" { - localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(localVarOptionals.IfNoneMatch.Value(), "") - } - if localVarOptionals != nil && localVarOptionals.IfModifiedSince.IsSet() && localVarOptionals.IfModifiedSince.Value() != "" { - localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(localVarOptionals.IfModifiedSince.Value(), "") - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/Nudr_DataRepository/client.go b/Nudr_DataRepository/client.go deleted file mode 100644 index 55e28f82..00000000 --- a/Nudr_DataRepository/client.go +++ /dev/null @@ -1,127 +0,0 @@ -//go:build !debug -// +build !debug - -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -// APIClient manages communication with the Nudr_DataRepository API OpenAPI file API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - AMF3GPPAccessRegistrationDocumentApi *AMF3GPPAccessRegistrationDocumentApiService - AMFNon3GPPAccessRegistrationDocumentApi *AMFNon3GPPAccessRegistrationDocumentApiService - AccessAndMobilityDataApi *AccessAndMobilityDataApiService - AccessAndMobilitySubscriptionDataDocumentApi *AccessAndMobilitySubscriptionDataDocumentApiService - AmfSubscriptionInfoDocumentApi *AmfSubscriptionInfoDocumentApiService - AuthEventDocumentApi *AuthEventDocumentApiService - AuthenticationDataDocumentApi *AuthenticationDataDocumentApiService - AuthenticationSoRDocumentApi *AuthenticationSoRDocumentApiService - AuthenticationStatusDocumentApi *AuthenticationStatusDocumentApiService - CreateAMFSubscriptionInfoDocumentApi *CreateAMFSubscriptionInfoDocumentApiService - DefaultApi *DefaultApiService - EventAMFSubscriptionInfoDocumentApi *EventAMFSubscriptionInfoDocumentApiService - EventExposureDataDocumentApi *EventExposureDataDocumentApiService - EventExposureGroupSubscriptionsCollectionApi *EventExposureGroupSubscriptionsCollectionApiService - EventExposureSubscriptionDocumentApi *EventExposureSubscriptionDocumentApiService - EventExposureSubscriptionsCollectionApi *EventExposureSubscriptionsCollectionApiService - OperatorSpecificDataContainerDocumentApi *OperatorSpecificDataContainerDocumentApiService - ParameterProvisionDocumentApi *ParameterProvisionDocumentApiService - PduSessionManagementDataApi *PduSessionManagementDataApiService - ProvisionedDataDocumentApi *ProvisionedDataDocumentApiService - ProvisionedParameterDataDocumentApi *ProvisionedParameterDataDocumentApiService - QueryAMFSubscriptionInfoDocumentApi *QueryAMFSubscriptionInfoDocumentApiService - QueryIdentityDataBySUPIOrGPSIDocumentApi *QueryIdentityDataBySUPIOrGPSIDocumentApiService - QueryODBDataBySUPIOrGPSIDocumentApi *QueryODBDataBySUPIOrGPSIDocumentApiService - RetrievalOfSharedDataApi *RetrievalOfSharedDataApiService - SDMSubscriptionDocumentApi *SDMSubscriptionDocumentApiService - SDMSubscriptionsCollectionApi *SDMSubscriptionsCollectionApiService - SMFRegistrationDocumentApi *SMFRegistrationDocumentApiService - SMFRegistrationsCollectionApi *SMFRegistrationsCollectionApiService - SMFSelectionSubscriptionDataDocumentApi *SMFSelectionSubscriptionDataDocumentApiService - SMSF3GPPRegistrationDocumentApi *SMSF3GPPRegistrationDocumentApiService - SMSFNon3GPPRegistrationDocumentApi *SMSFNon3GPPRegistrationDocumentApiService - SMSManagementSubscriptionDataDocumentApi *SMSManagementSubscriptionDataDocumentApiService - SMSSubscriptionDataDocumentApi *SMSSubscriptionDataDocumentApiService - SessionManagementSubscriptionDataApi *SessionManagementSubscriptionDataApiService - SubsToNofifyCollectionApi *SubsToNofifyCollectionApiService - SubsToNotifyDocumentApi *SubsToNotifyDocumentApiService - TraceDataDocumentApi *TraceDataDocumentApiService - DataChangeNotifyCallbackDocumentApi *DataChangeNotifyCallbackDocumentApiService - PolicyDataChangeNotifyCallbackDocumentApi *PolicyDataChangeNotifyCallbackDocumentApiService - InfluenceDataUpdateNotifyCallbackDocumentApi *InfluenceDataUpdateNotifyCallbackDocumentApiService - InfluenceDataApi *InfluenceDataApiService - IndividualInfluenceDataDocumentApi *IndividualInfluenceDataDocumentApiService - InfluenceDataSubscriptionsCollectionApi *InfluenceDataSubscriptionsCollectionApiService - IndividualInfluenceDataSubscriptionDocumentApi *IndividualInfluenceDataSubscriptionDocumentApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AMF3GPPAccessRegistrationDocumentApi = (*AMF3GPPAccessRegistrationDocumentApiService)(&c.common) - c.AMFNon3GPPAccessRegistrationDocumentApi = (*AMFNon3GPPAccessRegistrationDocumentApiService)(&c.common) - c.AccessAndMobilityDataApi = (*AccessAndMobilityDataApiService)(&c.common) - c.AccessAndMobilitySubscriptionDataDocumentApi = (*AccessAndMobilitySubscriptionDataDocumentApiService)(&c.common) - c.AmfSubscriptionInfoDocumentApi = (*AmfSubscriptionInfoDocumentApiService)(&c.common) - c.AuthEventDocumentApi = (*AuthEventDocumentApiService)(&c.common) - c.AuthenticationDataDocumentApi = (*AuthenticationDataDocumentApiService)(&c.common) - c.AuthenticationSoRDocumentApi = (*AuthenticationSoRDocumentApiService)(&c.common) - c.AuthenticationStatusDocumentApi = (*AuthenticationStatusDocumentApiService)(&c.common) - c.CreateAMFSubscriptionInfoDocumentApi = (*CreateAMFSubscriptionInfoDocumentApiService)(&c.common) - c.DefaultApi = (*DefaultApiService)(&c.common) - c.EventAMFSubscriptionInfoDocumentApi = (*EventAMFSubscriptionInfoDocumentApiService)(&c.common) - c.EventExposureDataDocumentApi = (*EventExposureDataDocumentApiService)(&c.common) - c.EventExposureGroupSubscriptionsCollectionApi = (*EventExposureGroupSubscriptionsCollectionApiService)(&c.common) - c.EventExposureSubscriptionDocumentApi = (*EventExposureSubscriptionDocumentApiService)(&c.common) - c.EventExposureSubscriptionsCollectionApi = (*EventExposureSubscriptionsCollectionApiService)(&c.common) - c.OperatorSpecificDataContainerDocumentApi = (*OperatorSpecificDataContainerDocumentApiService)(&c.common) - c.ParameterProvisionDocumentApi = (*ParameterProvisionDocumentApiService)(&c.common) - c.PduSessionManagementDataApi = (*PduSessionManagementDataApiService)(&c.common) - c.ProvisionedDataDocumentApi = (*ProvisionedDataDocumentApiService)(&c.common) - c.ProvisionedParameterDataDocumentApi = (*ProvisionedParameterDataDocumentApiService)(&c.common) - c.QueryAMFSubscriptionInfoDocumentApi = (*QueryAMFSubscriptionInfoDocumentApiService)(&c.common) - c.QueryIdentityDataBySUPIOrGPSIDocumentApi = (*QueryIdentityDataBySUPIOrGPSIDocumentApiService)(&c.common) - c.QueryODBDataBySUPIOrGPSIDocumentApi = (*QueryODBDataBySUPIOrGPSIDocumentApiService)(&c.common) - c.RetrievalOfSharedDataApi = (*RetrievalOfSharedDataApiService)(&c.common) - c.SDMSubscriptionDocumentApi = (*SDMSubscriptionDocumentApiService)(&c.common) - c.SDMSubscriptionsCollectionApi = (*SDMSubscriptionsCollectionApiService)(&c.common) - c.SMFRegistrationDocumentApi = (*SMFRegistrationDocumentApiService)(&c.common) - c.SMFRegistrationsCollectionApi = (*SMFRegistrationsCollectionApiService)(&c.common) - c.SMFSelectionSubscriptionDataDocumentApi = (*SMFSelectionSubscriptionDataDocumentApiService)(&c.common) - c.SMSF3GPPRegistrationDocumentApi = (*SMSF3GPPRegistrationDocumentApiService)(&c.common) - c.SMSFNon3GPPRegistrationDocumentApi = (*SMSFNon3GPPRegistrationDocumentApiService)(&c.common) - c.SMSManagementSubscriptionDataDocumentApi = (*SMSManagementSubscriptionDataDocumentApiService)(&c.common) - c.SMSSubscriptionDataDocumentApi = (*SMSSubscriptionDataDocumentApiService)(&c.common) - c.SessionManagementSubscriptionDataApi = (*SessionManagementSubscriptionDataApiService)(&c.common) - c.SubsToNofifyCollectionApi = (*SubsToNofifyCollectionApiService)(&c.common) - c.SubsToNotifyDocumentApi = (*SubsToNotifyDocumentApiService)(&c.common) - c.TraceDataDocumentApi = (*TraceDataDocumentApiService)(&c.common) - c.DataChangeNotifyCallbackDocumentApi = (*DataChangeNotifyCallbackDocumentApiService)(&c.common) - c.PolicyDataChangeNotifyCallbackDocumentApi = (*PolicyDataChangeNotifyCallbackDocumentApiService)(&c.common) - c.InfluenceDataUpdateNotifyCallbackDocumentApi = (*InfluenceDataUpdateNotifyCallbackDocumentApiService)(&c.common) - c.InfluenceDataApi = (*InfluenceDataApiService)(&c.common) - c.IndividualInfluenceDataDocumentApi = (*IndividualInfluenceDataDocumentApiService)(&c.common) - c.InfluenceDataSubscriptionsCollectionApi = (*InfluenceDataSubscriptionsCollectionApiService)(&c.common) - c.IndividualInfluenceDataSubscriptionDocumentApi = (*IndividualInfluenceDataSubscriptionDocumentApiService)(&c.common) - return c -} diff --git a/Nudr_DataRepository/configuration.go b/Nudr_DataRepository/configuration.go deleted file mode 100644 index 7713179c..00000000 --- a/Nudr_DataRepository/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package Nudr_DataRepository - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/nudr-dr/v1", - url: "{apiRoot}/nudr-dr/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/PfdManagement/api_default.go b/PfdManagement/api_default.go deleted file mode 100644 index 552e98a2..00000000 --- a/PfdManagement/api_default.go +++ /dev/null @@ -1,1414 +0,0 @@ -/* - * 3gpp-pfd-management - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package PfdManagement - -import ( - "context" - "fmt" - "io/ioutil" - "net/http" - "net/url" - "strings" - - "github.com/free5gc/openapi" - "github.com/free5gc/openapi/models" -) - -// Linger please -var ( - _ context.Context -) - -type DefaultApiService service - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. -@return []models.PfdManagement -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsGet(ctx context.Context, scsAsId string) ([]models.PfdManagement, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []models.PfdManagement - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param pfdManagement Create a new transaction for PFD management. -@return models.PfdManagement -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsPost(ctx context.Context, scsAsId string, pfdManagement models.PfdManagement) (models.PfdManagement, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdManagement - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdManagement - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 201: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v []models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID - * @param appId Identifier of the application -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdApplicationsAppIdDelete(ctx context.Context, scsAsId string, transactionId string, appId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}/applications/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID - * @param appId Identifier of the application -@return models.PfdData -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdApplicationsAppIdGet(ctx context.Context, scsAsId string, transactionId string, appId string) (models.PfdData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}/applications/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID - * @param appId Identifier of the application - * @param pfdData Change information in PFD management transaction. -@return models.PfdData -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdApplicationsAppIdPatch(ctx context.Context, scsAsId string, transactionId string, appId string, pfdData models.PfdData) (models.PfdData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Patch") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}/applications/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/merge-patch+json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 409: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID - * @param appId Identifier of the application - * @param pfdData Change information in application. -@return models.PfdData -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdApplicationsAppIdPut(ctx context.Context, scsAsId string, transactionId string, appId string, pfdData models.PfdData) (models.PfdData, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdData - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}/applications/{appId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", fmt.Sprintf("%v", appId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdData - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 409: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdDelete(ctx context.Context, scsAsId string, transactionId string) (*http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarHTTPResponse, apiError - default: - return localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID -@return models.PfdManagement -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdGet(ctx context.Context, scsAsId string, transactionId string) (models.PfdManagement, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdManagement - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 406: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} - -/* -DefaultApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param scsAsId Identifier of the SCS/AS as defined in subclause subclause 5.2.4 of 3GPP TS 29.122. - * @param transactionId Transaction ID - * @param pfdManagement Change information in PFD management transaction. -@return models.PfdManagement -*/ - -func (a *DefaultApiService) ScsAsIdTransactionsTransactionIdPut(ctx context.Context, scsAsId string, transactionId string, pfdManagement models.PfdManagement) (models.PfdManagement, *http.Response, error) { - var ( - localVarHTTPMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue models.PfdManagement - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", fmt.Sprintf("%v", scsAsId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", fmt.Sprintf("%v", transactionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := openapi.SelectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - localVarPostBody = &pfdManagement - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.Status, - } - - switch localVarHTTPResponse.StatusCode { - case 200: - err = openapi.Deserialize(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - } - return localVarReturnValue, localVarHTTPResponse, nil - case 400: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 401: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 403: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 404: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 411: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 413: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 415: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 429: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 500: - var v []models.PfdReport - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - case 503: - var v models.ProblemDetails - err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - apiError.ErrorStatus = err.Error() - return localVarReturnValue, localVarHTTPResponse, apiError - } - apiError.ErrorModel = v - return localVarReturnValue, localVarHTTPResponse, apiError - default: - return localVarReturnValue, localVarHTTPResponse, nil - } -} diff --git a/PfdManagement/client.go b/PfdManagement/client.go deleted file mode 100644 index 80004e95..00000000 --- a/PfdManagement/client.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 3gpp-pfd-management - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package PfdManagement - -// APIClient manages communication with the 3gpp-pfd-management API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - DefaultApi *DefaultApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.DefaultApi = (*DefaultApiService)(&c.common) - - return c -} diff --git a/PfdManagement/configuration.go b/PfdManagement/configuration.go deleted file mode 100644 index f845d7be..00000000 --- a/PfdManagement/configuration.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 3gpp-pfd-management - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package PfdManagement - -import ( - "net/http" - "strings" -) - -type Configuration struct { - url string - basePath string - host string - defaultHeader map[string]string - userAgent string - httpClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - basePath: "https://example.com/3gpp-pfd-management/v1", - url: "{apiRoot}/3gpp-pfd-management/v1", - defaultHeader: make(map[string]string), - userAgent: "OpenAPI-Generator/1.0.0/go", - } - return cfg -} - -func (c *Configuration) SetBasePath(apiRoot string) { - url := c.url - - // Replace apiRoot - url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) - - c.basePath = url -} - -func (c *Configuration) BasePath() string { - return c.basePath -} - -func (c *Configuration) Host() string { - return c.host -} - -func (c *Configuration) SetHost(host string) { - c.host = host -} - -func (c *Configuration) UserAgent() string { - return c.userAgent -} - -func (c *Configuration) SetUserAgent(userAgent string) { - c.userAgent = userAgent -} - -func (c *Configuration) DefaultHeader() map[string]string { - return c.defaultHeader -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.defaultHeader[key] = value -} - -func (c *Configuration) HTTPClient() *http.Client { - return c.httpClient -} diff --git a/amf/Communication/api_individual_subscription_document.go b/amf/Communication/api_individual_subscription_document.go new file mode 100644 index 00000000..ecfff551 --- /dev/null +++ b/amf/Communication/api_individual_subscription_document.go @@ -0,0 +1,540 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change Subscribe Modify service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - AMF Status Change Subscription Identifier + * @param AmfCommunicationSubscriptionData - + +@return AMFStatusChangeSubscribeModfyResponse +*/ + +// AMFStatusChangeSubscribeModfyRequest +type AMFStatusChangeSubscribeModfyRequest struct { + SubscriptionId *string + AmfCommunicationSubscriptionData *models.AmfCommunicationSubscriptionData +} + +func (r *AMFStatusChangeSubscribeModfyRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *AMFStatusChangeSubscribeModfyRequest) SetAmfCommunicationSubscriptionData(AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData) { + r.AmfCommunicationSubscriptionData = &AmfCommunicationSubscriptionData +} + +type AMFStatusChangeSubscribeModfyResponse struct { + AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData +} + +type AMFStatusChangeSubscribeModfyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy(ctx context.Context, request *AMFStatusChangeSubscribeModfyRequest) (*AMFStatusChangeSubscribeModfyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AMFStatusChangeSubscribeModfyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfCommunicationSubscriptionData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfCommunicationSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AMFStatusChangeSubscribeModfyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// AmfStatusChangeNOtifyRequest +type AmfStatusChangeNOtifyRequest struct { + AmfStatusChangeNotification *models.AmfStatusChangeNotification +} + +func (r *AmfStatusChangeNOtifyRequest) SetAmfStatusChangeNotification(AmfStatusChangeNotification models.AmfStatusChangeNotification) { + r.AmfStatusChangeNotification = &AmfStatusChangeNotification +} + +type AmfStatusChangeNOtifyResponse struct { +} + +type AmfStatusChangeNOtifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx context.Context, uri string, request *AmfStatusChangeNOtifyRequest) (*AmfStatusChangeNOtifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AmfStatusChangeNOtifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AmfStatusChangeNotification != nil { + localVarPostBody = request.AmfStatusChangeNotification + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AmfStatusChangeNOtifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in AmfStatusChangeNOtify", localVarHTTPResponse.StatusCode) + } +} + +/* +IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change UnSubscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - AMF Status Change Subscription Identifier + +@return AMFStatusChangeUnSubscribeResponse +*/ + +// AMFStatusChangeUnSubscribeRequest +type AMFStatusChangeUnSubscribeRequest struct { + SubscriptionId *string +} + +func (r *AMFStatusChangeUnSubscribeRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type AMFStatusChangeUnSubscribeResponse struct { +} + +type AMFStatusChangeUnSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeUnSubscribe(ctx context.Context, request *AMFStatusChangeUnSubscribeRequest) (*AMFStatusChangeUnSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AMFStatusChangeUnSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AMFStatusChangeUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/Communication/api_individual_ue_context_document.go b/amf/Communication/api_individual_ue_context_document.go new file mode 100644 index 00000000..33685b86 --- /dev/null +++ b/amf/Communication/api_individual_ue_context_document.go @@ -0,0 +1,1564 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualUeContextDocumentApiService service + +/* +IndividualUeContextDocumentApiService Namf_Communication CancelRelocateUEContext service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param CancelRelocateUeContextRequest - + +@return CancelRelocateUEContextResponse +*/ + +// CancelRelocateUEContextRequest +type CancelRelocateUEContextRequest struct { + UeContextId *string + CancelRelocateUeContextRequest *models.CancelRelocateUeContextRequest +} + +func (r *CancelRelocateUEContextRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *CancelRelocateUEContextRequest) SetCancelRelocateUeContextRequest(CancelRelocateUeContextRequest models.CancelRelocateUeContextRequest) { + r.CancelRelocateUeContextRequest = &CancelRelocateUeContextRequest +} + +type CancelRelocateUEContextResponse struct { +} + +type CancelRelocateUEContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) CancelRelocateUEContext(ctx context.Context, request *CancelRelocateUEContextRequest) (*CancelRelocateUEContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CancelRelocateUEContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/cancel-relocate" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.CancelRelocateUeContextRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CancelRelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication CreateUEContext service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param CreateUeContextRequest - + +@return CreateUEContextResponse +*/ + +// CreateUEContextRequest +type CreateUEContextRequest struct { + UeContextId *string + CreateUeContextRequest *models.CreateUeContextRequest +} + +func (r *CreateUEContextRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *CreateUEContextRequest) SetCreateUeContextRequest(CreateUeContextRequest models.CreateUeContextRequest) { + r.CreateUeContextRequest = &CreateUeContextRequest +} + +type CreateUEContextResponse struct { + Location string + Var3gppSbiProducerId string + CreateUeContextResponse201 models.CreateUeContextResponse201 +} + +type CreateUEContextError struct { + Location string + Var3gppSbiTargetNfId string + CreateUeContextResponse403 models.CreateUeContextResponse403 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + UeContextCreateError models.UeContextCreateError +} + +func (a *IndividualUeContextDocumentApiService) CreateUEContext(ctx context.Context, request *CreateUEContextRequest) (*CreateUEContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateUEContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.CreateUeContextRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.CreateUeContextResponse201, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.Var3gppSbiProducerId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Producer-Id") + return &localVarReturnValue, nil + case 307: + var v CreateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateUEContextError + err = openapi.Deserialize(&v.UeContextCreateError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateUEContextError + err = openapi.Deserialize(&v.CreateUeContextResponse403, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateUEContextError + err = openapi.Deserialize(&v.UeContextCreateError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// N2InfoNotifyHandoverCompleteRequest +type N2InfoNotifyHandoverCompleteRequest struct { + N2InformationNotification *models.N2InformationNotification +} + +func (r *N2InfoNotifyHandoverCompleteRequest) SetN2InformationNotification(N2InformationNotification models.N2InformationNotification) { + r.N2InformationNotification = &N2InformationNotification +} + +type N2InfoNotifyHandoverCompleteResponse struct { + N2InfoNotifyHandoverCompleteResponse200 models.N2InfoNotifyHandoverCompleteResponse200 +} + +type N2InfoNotifyHandoverCompleteError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) N2InfoNotifyHandoverComplete(ctx context.Context, uri string, request *N2InfoNotifyHandoverCompleteRequest) (*N2InfoNotifyHandoverCompleteResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N2InfoNotifyHandoverCompleteResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.N2InformationNotification != nil { + localVarPostBody = request.N2InformationNotification + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.N2InfoNotifyHandoverCompleteResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N2InfoNotifyHandoverCompleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in N2InfoNotifyHandoverComplete", localVarHTTPResponse.StatusCode) + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication EBI Assignment service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param AssignEbiData - + +@return EBIAssignmentResponse +*/ + +// EBIAssignmentRequest +type EBIAssignmentRequest struct { + UeContextId *string + AssignEbiData *models.AssignEbiData +} + +func (r *EBIAssignmentRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *EBIAssignmentRequest) SetAssignEbiData(AssignEbiData models.AssignEbiData) { + r.AssignEbiData = &AssignEbiData +} + +type EBIAssignmentResponse struct { + AssignedEbiData models.AssignedEbiData +} + +type EBIAssignmentError struct { + Location string + Var3gppSbiTargetNfId string + AssignEbiError models.AssignEbiError + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) EBIAssignment(ctx context.Context, request *EBIAssignmentRequest) (*EBIAssignmentResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue EBIAssignmentResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/assign-ebi" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AssignEbiData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AssignedEbiData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v EBIAssignmentError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v EBIAssignmentError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v EBIAssignmentError + err = openapi.Deserialize(&v.AssignEbiError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v EBIAssignmentError + err = openapi.Deserialize(&v.AssignEbiError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v EBIAssignmentError + err = openapi.Deserialize(&v.AssignEbiError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v EBIAssignmentError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v EBIAssignmentError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v EBIAssignmentError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v EBIAssignmentError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v EBIAssignmentError + err = openapi.Deserialize(&v.AssignEbiError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v EBIAssignmentError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication RegistrationStatusUpdate service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param UeRegStatusUpdateReqData - + +@return RegistrationStatusUpdateResponse +*/ + +// RegistrationStatusUpdateRequest +type RegistrationStatusUpdateRequest struct { + UeContextId *string + UeRegStatusUpdateReqData *models.UeRegStatusUpdateReqData +} + +func (r *RegistrationStatusUpdateRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *RegistrationStatusUpdateRequest) SetUeRegStatusUpdateReqData(UeRegStatusUpdateReqData models.UeRegStatusUpdateReqData) { + r.UeRegStatusUpdateReqData = &UeRegStatusUpdateReqData +} + +type RegistrationStatusUpdateResponse struct { + UeRegStatusUpdateRspData models.UeRegStatusUpdateRspData +} + +type RegistrationStatusUpdateError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) RegistrationStatusUpdate(ctx context.Context, request *RegistrationStatusUpdateRequest) (*RegistrationStatusUpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegistrationStatusUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/transfer-update" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UeRegStatusUpdateReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeRegStatusUpdateRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegistrationStatusUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication ReleaseUEContext service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param UeContextRelease - + +@return ReleaseUEContextResponse +*/ + +// ReleaseUEContextRequest +type ReleaseUEContextRequest struct { + UeContextId *string + UeContextRelease *models.UeContextRelease +} + +func (r *ReleaseUEContextRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *ReleaseUEContextRequest) SetUeContextRelease(UeContextRelease models.UeContextRelease) { + r.UeContextRelease = &UeContextRelease +} + +type ReleaseUEContextResponse struct { +} + +type ReleaseUEContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) ReleaseUEContext(ctx context.Context, request *ReleaseUEContextRequest) (*ReleaseUEContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReleaseUEContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/release" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UeContextRelease + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReleaseUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication RelocateUEContext service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param RelocateUeContextRequest - + +@return RelocateUEContextResponse +*/ + +// RelocateUEContextRequest +type RelocateUEContextRequest struct { + UeContextId *string + RelocateUeContextRequest *models.RelocateUeContextRequest +} + +func (r *RelocateUEContextRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *RelocateUEContextRequest) SetRelocateUeContextRequest(RelocateUeContextRequest models.RelocateUeContextRequest) { + r.RelocateUeContextRequest = &RelocateUeContextRequest +} + +type RelocateUEContextResponse struct { + Location string + UeContextRelocatedData models.UeContextRelocatedData +} + +type RelocateUEContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) RelocateUEContext(ctx context.Context, request *RelocateUEContextRequest) (*RelocateUEContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RelocateUEContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/relocate" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RelocateUeContextRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UeContextRelocatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v RelocateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RelocateUEContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RelocateUEContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUeContextDocumentApiService Namf_Communication UEContextTransfer service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param UeContextTransferRequest - + +@return UEContextTransferResponse +*/ + +// UEContextTransferRequest +type UEContextTransferRequest struct { + UeContextId *string + UeContextTransferRequest *models.UeContextTransferRequest +} + +func (r *UEContextTransferRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *UEContextTransferRequest) SetUeContextTransferRequest(UeContextTransferRequest models.UeContextTransferRequest) { + r.UeContextTransferRequest = &UeContextTransferRequest +} + +type UEContextTransferResponse struct { + UeContextTransferResponse200 models.UeContextTransferResponse200 +} + +type UEContextTransferError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUeContextDocumentApiService) UEContextTransfer(ctx context.Context, request *UEContextTransferRequest) (*UEContextTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UEContextTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/transfer" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UeContextTransferRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeContextTransferResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UEContextTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UEContextTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UEContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/Communication/api_n1_n2_individual_subscription_document.go b/amf/Communication/api_n1_n2_individual_subscription_document.go new file mode 100644 index 00000000..ed5b7ea0 --- /dev/null +++ b/amf/Communication/api_n1_n2_individual_subscription_document.go @@ -0,0 +1,202 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type N1N2IndividualSubscriptionDocumentApiService service + +/* +N1N2IndividualSubscriptionDocumentApiService Namf_Communication N1N2 Message UnSubscribe (UE Specific) service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param SubscriptionId - Subscription Identifier + +@return N1N2MessageUnSubscribeResponse +*/ + +// N1N2MessageUnSubscribeRequest +type N1N2MessageUnSubscribeRequest struct { + UeContextId *string + SubscriptionId *string +} + +func (r *N1N2MessageUnSubscribeRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *N1N2MessageUnSubscribeRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type N1N2MessageUnSubscribeResponse struct { +} + +type N1N2MessageUnSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2IndividualSubscriptionDocumentApiService) N1N2MessageUnSubscribe(ctx context.Context, request *N1N2MessageUnSubscribeRequest) (*N1N2MessageUnSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N1N2MessageUnSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N1N2MessageUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in N1N2MessageUnSubscribe", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/api_n1_n2_message_collection_collection.go b/amf/Communication/api_n1_n2_message_collection_collection.go new file mode 100644 index 00000000..a3434921 --- /dev/null +++ b/amf/Communication/api_n1_n2_message_collection_collection.go @@ -0,0 +1,413 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type N1N2MessageCollectionCollectionApiService service + +/* +N1N2MessageCollectionCollectionApiService Namf_Communication N1N2 Message Transfer (UE Specific) service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param N1N2MessageTransferRequest - + +@return N1N2MessageTransferResponse +*/ + +// N1N2MessageTransferRequest +type N1N2MessageTransferRequest struct { + UeContextId *string + N1N2MessageTransferRequest *models.N1N2MessageTransferRequest +} + +func (r *N1N2MessageTransferRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *N1N2MessageTransferRequest) SetN1N2MessageTransferRequest(N1N2MessageTransferRequest models.N1N2MessageTransferRequest) { + r.N1N2MessageTransferRequest = &N1N2MessageTransferRequest +} + +type N1N2MessageTransferResponse struct { + Location string + N1N2MessageTransferRspData models.N1N2MessageTransferRspData +} + +type N1N2MessageTransferError struct { + Location string + Var3gppSbiTargetNfId string + N1N2MessageTransferError models.N1N2MessageTransferError + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2MessageCollectionCollectionApiService) N1N2MessageTransfer(ctx context.Context, request *N1N2MessageTransferRequest) (*N1N2MessageTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N1N2MessageTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related", "application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.N1N2MessageTransferRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 202: + err = openapi.Deserialize(&localVarReturnValue.N1N2MessageTransferRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.N1N2MessageTransferRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.N1N2MessageTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v N1N2MessageTransferError + err = openapi.Deserialize(&v.N1N2MessageTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// N1N2TransferFailureNotificationRequest +type N1N2TransferFailureNotificationRequest struct { + N1N2MsgTxfrFailureNotification *models.N1N2MsgTxfrFailureNotification +} + +func (r *N1N2TransferFailureNotificationRequest) SetN1N2MsgTxfrFailureNotification(N1N2MsgTxfrFailureNotification models.N1N2MsgTxfrFailureNotification) { + r.N1N2MsgTxfrFailureNotification = &N1N2MsgTxfrFailureNotification +} + +type N1N2TransferFailureNotificationResponse struct { +} + +type N1N2TransferFailureNotificationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2MessageCollectionCollectionApiService) N1N2TransferFailureNotification(ctx context.Context, uri string, request *N1N2TransferFailureNotificationRequest) (*N1N2TransferFailureNotificationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N1N2TransferFailureNotificationResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.N1N2MsgTxfrFailureNotification != nil { + localVarPostBody = request.N1N2MsgTxfrFailureNotification + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N1N2TransferFailureNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in N1N2TransferFailureNotification", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_collection.go b/amf/Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_collection.go new file mode 100644 index 00000000..06cec8be --- /dev/null +++ b/amf/Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_collection.go @@ -0,0 +1,545 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService service + +/* +N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService Namf_Communication N1N2 Message Subscribe (UE Specific) service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param UeN1N2InfoSubscriptionCreateData - + +@return N1N2MessageSubscribeResponse +*/ + +// N1N2MessageSubscribeRequest +type N1N2MessageSubscribeRequest struct { + UeContextId *string + UeN1N2InfoSubscriptionCreateData *models.UeN1N2InfoSubscriptionCreateData +} + +func (r *N1N2MessageSubscribeRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *N1N2MessageSubscribeRequest) SetUeN1N2InfoSubscriptionCreateData(UeN1N2InfoSubscriptionCreateData models.UeN1N2InfoSubscriptionCreateData) { + r.UeN1N2InfoSubscriptionCreateData = &UeN1N2InfoSubscriptionCreateData +} + +type N1N2MessageSubscribeResponse struct { + Location string + UeN1N2InfoSubscriptionCreatedData models.UeN1N2InfoSubscriptionCreatedData +} + +type N1N2MessageSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService) N1N2MessageSubscribe(ctx context.Context, request *N1N2MessageSubscribeRequest) (*N1N2MessageSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N1N2MessageSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/n1-n2-messages/subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UeN1N2InfoSubscriptionCreateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UeN1N2InfoSubscriptionCreatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N1N2MessageSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// N1MessageNotifyRequest +type N1MessageNotifyRequest struct { + N1MessageNotifyRequest *models.N1MessageNotifyRequest +} + +func (r *N1MessageNotifyRequest) SetN1MessageNotifyRequest(N1MessageNotifyRequest models.N1MessageNotifyRequest) { + r.N1MessageNotifyRequest = &N1MessageNotifyRequest +} + +type N1MessageNotifyResponse struct { +} + +type N1MessageNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService) N1MessageNotify(ctx context.Context, uri string, request *N1MessageNotifyRequest) (*N1MessageNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N1MessageNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.N1MessageNotifyRequest != nil { + localVarPostBody = request.N1MessageNotifyRequest + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N1MessageNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in N1MessageNotify", localVarHTTPResponse.StatusCode) + } +} + +// N2InfoNotifyRequest +type N2InfoNotifyRequest struct { + N2InfoNotifyRequest *models.N2InfoNotifyRequest +} + +func (r *N2InfoNotifyRequest) SetN2InfoNotifyRequest(N2InfoNotifyRequest models.N2InfoNotifyRequest) { + r.N2InfoNotifyRequest = &N2InfoNotifyRequest +} + +type N2InfoNotifyResponse struct { +} + +type N2InfoNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService) N2InfoNotify(ctx context.Context, uri string, request *N2InfoNotifyRequest) (*N2InfoNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N2InfoNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.N2InfoNotifyRequest != nil { + localVarPostBody = request.N2InfoNotifyRequest + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in N2InfoNotify", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/api_non_uen2_message_notification_individual_subscription_document.go b/amf/Communication/api_non_uen2_message_notification_individual_subscription_document.go new file mode 100644 index 00000000..0f073bfa --- /dev/null +++ b/amf/Communication/api_non_uen2_message_notification_individual_subscription_document.go @@ -0,0 +1,180 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService service + +/* +NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService Namf_Communication Non UE N2 Info UnSubscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param N2NotifySubscriptionId - N2 info Subscription Identifier + +@return NonUeN2InfoUnSubscribeResponse +*/ + +// NonUeN2InfoUnSubscribeRequest +type NonUeN2InfoUnSubscribeRequest struct { + N2NotifySubscriptionId *string +} + +func (r *NonUeN2InfoUnSubscribeRequest) SetN2NotifySubscriptionId(N2NotifySubscriptionId string) { + r.N2NotifySubscriptionId = &N2NotifySubscriptionId +} + +type NonUeN2InfoUnSubscribeResponse struct { +} + +type NonUeN2InfoUnSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService) NonUeN2InfoUnSubscribe(ctx context.Context, request *NonUeN2InfoUnSubscribeRequest) (*NonUeN2InfoUnSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NonUeN2InfoUnSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/subscriptions/{n2NotifySubscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"n2NotifySubscriptionId"+"}", openapi.StringOfValue(*request.N2NotifySubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NonUeN2InfoUnSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in NonUeN2InfoUnSubscribe", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/api_non_uen2_messages_collection_collection.go b/amf/Communication/api_non_uen2_messages_collection_collection.go new file mode 100644 index 00000000..9d41c6c1 --- /dev/null +++ b/amf/Communication/api_non_uen2_messages_collection_collection.go @@ -0,0 +1,220 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NonUEN2MessagesCollectionCollectionApiService service + +/* +NonUEN2MessagesCollectionCollectionApiService Namf_Communication Non UE N2 Message Transfer service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NonUeN2MessageTransferRequest - + +@return NonUeN2MessageTransferResponse +*/ + +// NonUeN2MessageTransferRequest +type NonUeN2MessageTransferRequest struct { + NonUeN2MessageTransferRequest *models.NonUeN2MessageTransferRequest +} + +func (r *NonUeN2MessageTransferRequest) SetNonUeN2MessageTransferRequest(NonUeN2MessageTransferRequest models.NonUeN2MessageTransferRequest) { + r.NonUeN2MessageTransferRequest = &NonUeN2MessageTransferRequest +} + +type NonUeN2MessageTransferResponse struct { + N2InformationTransferRspData models.N2InformationTransferRspData +} + +type NonUeN2MessageTransferError struct { + Location string + Var3gppSbiTargetNfId string + N2InformationTransferError models.N2InformationTransferError + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NonUEN2MessagesCollectionCollectionApiService) NonUeN2MessageTransfer(ctx context.Context, request *NonUeN2MessageTransferRequest) (*NonUeN2MessageTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NonUeN2MessageTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/transfer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NonUeN2MessageTransferRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.N2InformationTransferRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.N2InformationTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.N2InformationTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.N2InformationTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.N2InformationTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NonUeN2MessageTransferError + err = openapi.Deserialize(&v.N2InformationTransferError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/Communication/api_non_uen2_messages_subscriptions_collection_collection.go b/amf/Communication/api_non_uen2_messages_subscriptions_collection_collection.go new file mode 100644 index 00000000..abaf59d3 --- /dev/null +++ b/amf/Communication/api_non_uen2_messages_subscriptions_collection_collection.go @@ -0,0 +1,376 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NonUEN2MessagesSubscriptionsCollectionCollectionApiService service + +/* +NonUEN2MessagesSubscriptionsCollectionCollectionApiService Namf_Communication Non UE N2 Info Subscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NonUeN2InfoSubscriptionCreateData - + +@return NonUeN2InfoSubscribeResponse +*/ + +// NonUeN2InfoSubscribeRequest +type NonUeN2InfoSubscribeRequest struct { + NonUeN2InfoSubscriptionCreateData *models.NonUeN2InfoSubscriptionCreateData +} + +func (r *NonUeN2InfoSubscribeRequest) SetNonUeN2InfoSubscriptionCreateData(NonUeN2InfoSubscriptionCreateData models.NonUeN2InfoSubscriptionCreateData) { + r.NonUeN2InfoSubscriptionCreateData = &NonUeN2InfoSubscriptionCreateData +} + +type NonUeN2InfoSubscribeResponse struct { + Location string + NonUeN2InfoSubscriptionCreatedData models.NonUeN2InfoSubscriptionCreatedData +} + +type NonUeN2InfoSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NonUEN2MessagesSubscriptionsCollectionCollectionApiService) NonUeN2InfoSubscribe(ctx context.Context, request *NonUeN2InfoSubscribeRequest) (*NonUeN2InfoSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NonUeN2InfoSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/non-ue-n2-messages/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NonUeN2InfoSubscriptionCreateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NonUeN2InfoSubscriptionCreatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NonUeN2InfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NonUeN2InfoNotifyRequest +type NonUeN2InfoNotifyRequest struct { + NonUeN2InfoNotifyRequest *models.NonUeN2InfoNotifyRequest +} + +func (r *NonUeN2InfoNotifyRequest) SetNonUeN2InfoNotifyRequest(NonUeN2InfoNotifyRequest models.NonUeN2InfoNotifyRequest) { + r.NonUeN2InfoNotifyRequest = &NonUeN2InfoNotifyRequest +} + +type NonUeN2InfoNotifyResponse struct { +} + +type NonUeN2InfoNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NonUEN2MessagesSubscriptionsCollectionCollectionApiService) NonUeN2InfoNotify(ctx context.Context, uri string, request *NonUeN2InfoNotifyRequest) (*NonUeN2InfoNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NonUeN2InfoNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.NonUeN2InfoNotifyRequest != nil { + localVarPostBody = request.NonUeN2InfoNotifyRequest + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NonUeN2InfoNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in NonUeN2InfoNotify", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/api_subscriptions_collection_collection.go b/amf/Communication/api_subscriptions_collection_collection.go new file mode 100644 index 00000000..455382cb --- /dev/null +++ b/amf/Communication/api_subscriptions_collection_collection.go @@ -0,0 +1,384 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionCollectionApiService service + +/* +SubscriptionsCollectionCollectionApiService Namf_Communication AMF Status Change Subscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AmfCommunicationSubscriptionData - + +@return AMFStatusChangeSubscribeResponse +*/ + +// AMFStatusChangeSubscribeRequest +type AMFStatusChangeSubscribeRequest struct { + AmfCommunicationSubscriptionData *models.AmfCommunicationSubscriptionData +} + +func (r *AMFStatusChangeSubscribeRequest) SetAmfCommunicationSubscriptionData(AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData) { + r.AmfCommunicationSubscriptionData = &AmfCommunicationSubscriptionData +} + +type AMFStatusChangeSubscribeResponse struct { + Location string + AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData +} + +type AMFStatusChangeSubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionCollectionApiService) AMFStatusChangeSubscribe(ctx context.Context, request *AMFStatusChangeSubscribeRequest) (*AMFStatusChangeSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AMFStatusChangeSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfCommunicationSubscriptionData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AmfCommunicationSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AMFStatusChangeSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// AmfStatusChangeNotifyRequest +type AmfStatusChangeNotifyRequest struct { + AmfStatusChangeNotification *models.AmfStatusChangeNotification +} + +func (r *AmfStatusChangeNotifyRequest) SetAmfStatusChangeNotification(AmfStatusChangeNotification models.AmfStatusChangeNotification) { + r.AmfStatusChangeNotification = &AmfStatusChangeNotification +} + +type AmfStatusChangeNotifyResponse struct { +} + +type AmfStatusChangeNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionCollectionApiService) AmfStatusChangeNotify(ctx context.Context, uri string, request *AmfStatusChangeNotifyRequest) (*AmfStatusChangeNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AmfStatusChangeNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AmfStatusChangeNotification != nil { + localVarPostBody = request.AmfStatusChangeNotification + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AmfStatusChangeNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in AmfStatusChangeNotify", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Communication/client.go b/amf/Communication/client.go new file mode 100644 index 00000000..029e642c --- /dev/null +++ b/amf/Communication/client.go @@ -0,0 +1,56 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +// APIClient manages communication with the Namf_Communication API v1.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + IndividualUeContextDocumentApi *IndividualUeContextDocumentApiService + N1N2IndividualSubscriptionDocumentApi *N1N2IndividualSubscriptionDocumentApiService + N1N2MessageCollectionCollectionApi *N1N2MessageCollectionCollectionApiService + N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApi *N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService + NonUEN2MessageNotificationIndividualSubscriptionDocumentApi *NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService + NonUEN2MessagesCollectionCollectionApi *NonUEN2MessagesCollectionCollectionApiService + NonUEN2MessagesSubscriptionsCollectionCollectionApi *NonUEN2MessagesSubscriptionsCollectionCollectionApiService + SubscriptionsCollectionCollectionApi *SubscriptionsCollectionCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.IndividualUeContextDocumentApi = (*IndividualUeContextDocumentApiService)(&c.common) + c.N1N2IndividualSubscriptionDocumentApi = (*N1N2IndividualSubscriptionDocumentApiService)(&c.common) + c.N1N2MessageCollectionCollectionApi = (*N1N2MessageCollectionCollectionApiService)(&c.common) + c.N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApi = (*N1N2SubscriptionsCollectionForIndividualUEContextsCollectionApiService)(&c.common) + c.NonUEN2MessageNotificationIndividualSubscriptionDocumentApi = (*NonUEN2MessageNotificationIndividualSubscriptionDocumentApiService)(&c.common) + c.NonUEN2MessagesCollectionCollectionApi = (*NonUEN2MessagesCollectionCollectionApiService)(&c.common) + c.NonUEN2MessagesSubscriptionsCollectionCollectionApi = (*NonUEN2MessagesSubscriptionsCollectionCollectionApiService)(&c.common) + c.SubscriptionsCollectionCollectionApi = (*SubscriptionsCollectionCollectionApiService)(&c.common) + + return c +} diff --git a/amf/Communication/configuration.go b/amf/Communication/configuration.go new file mode 100644 index 00000000..41e8422c --- /dev/null +++ b/amf/Communication/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Communication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-comm/v1", + url: "{apiRoot}/namf-comm/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/amf/EventExposure/api_individual_subscription_document.go b/amf/EventExposure/api_individual_subscription_document.go new file mode 100644 index 00000000..a0779fa7 --- /dev/null +++ b/amf/EventExposure/api_individual_subscription_document.go @@ -0,0 +1,399 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService Namf_EventExposure Unsubscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Unique ID of the subscription to be deleted + +@return DeleteSubscriptionResponse +*/ + +// DeleteSubscriptionRequest +type DeleteSubscriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteSubscriptionResponse struct { +} + +type DeleteSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) DeleteSubscription(ctx context.Context, request *DeleteSubscriptionRequest) (*DeleteSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService Namf_EventExposure Subscribe Modify service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Unique ID of the subscription to be modified + * @param ModifySubscriptionRequest - + +@return ModifySubscriptionResponse +*/ + +// ModifySubscriptionRequest +type ModifySubscriptionRequest struct { + SubscriptionId *string + ModifySubscriptionRequest *models.ModifySubscriptionRequest +} + +func (r *ModifySubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ModifySubscriptionRequest) SetModifySubscriptionRequest(ModifySubscriptionRequest models.ModifySubscriptionRequest) { + r.ModifySubscriptionRequest = &ModifySubscriptionRequest +} + +type ModifySubscriptionResponse struct { + AmfUpdatedEventSubscription models.AmfUpdatedEventSubscription +} + +type ModifySubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) ModifySubscription(ctx context.Context, request *ModifySubscriptionRequest) (*ModifySubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifySubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ModifySubscriptionRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfUpdatedEventSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifySubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/EventExposure/api_subscriptions_collection_collection.go b/amf/EventExposure/api_subscriptions_collection_collection.go new file mode 100644 index 00000000..03fb67e6 --- /dev/null +++ b/amf/EventExposure/api_subscriptions_collection_collection.go @@ -0,0 +1,557 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionCollectionApiService service + +/* +SubscriptionsCollectionCollectionApiService Namf_EventExposure Subscribe service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AmfCreateEventSubscription - + +@return CreateSubscriptionResponse +*/ + +// CreateSubscriptionRequest +type CreateSubscriptionRequest struct { + AmfCreateEventSubscription *models.AmfCreateEventSubscription +} + +func (r *CreateSubscriptionRequest) SetAmfCreateEventSubscription(AmfCreateEventSubscription models.AmfCreateEventSubscription) { + r.AmfCreateEventSubscription = &AmfCreateEventSubscription +} + +type CreateSubscriptionResponse struct { + Location string + AmfCreatedEventSubscription models.AmfCreatedEventSubscription +} + +type CreateSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionCollectionApiService) CreateSubscription(ctx context.Context, request *CreateSubscriptionRequest) (*CreateSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfCreateEventSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AmfCreatedEventSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateSubscriptionOnEventReportPostRequest +type CreateSubscriptionOnEventReportPostRequest struct { + AmfEventNotification *models.AmfEventNotification +} + +func (r *CreateSubscriptionOnEventReportPostRequest) SetAmfEventNotification(AmfEventNotification models.AmfEventNotification) { + r.AmfEventNotification = &AmfEventNotification +} + +type CreateSubscriptionOnEventReportPostResponse struct { +} + +type CreateSubscriptionOnEventReportPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionCollectionApiService) CreateSubscriptionOnEventReportPost(ctx context.Context, uri string, request *CreateSubscriptionOnEventReportPostRequest) (*CreateSubscriptionOnEventReportPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSubscriptionOnEventReportPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfEventNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSubscriptionOnEventReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateSubscriptionOnSubscriptionIdChangeEvtReportPostRequest +type CreateSubscriptionOnSubscriptionIdChangeEvtReportPostRequest struct { + AmfEventNotification *models.AmfEventNotification +} + +func (r *CreateSubscriptionOnSubscriptionIdChangeEvtReportPostRequest) SetAmfEventNotification(AmfEventNotification models.AmfEventNotification) { + r.AmfEventNotification = &AmfEventNotification +} + +type CreateSubscriptionOnSubscriptionIdChangeEvtReportPostResponse struct { +} + +type CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionCollectionApiService) CreateSubscriptionOnSubscriptionIdChangeEvtReportPost(ctx context.Context, uri string, request *CreateSubscriptionOnSubscriptionIdChangeEvtReportPostRequest) (*CreateSubscriptionOnSubscriptionIdChangeEvtReportPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSubscriptionOnSubscriptionIdChangeEvtReportPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfEventNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSubscriptionOnSubscriptionIdChangeEvtReportPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/amf/EventExposure/client.go b/amf/EventExposure/client.go new file mode 100644 index 00000000..1623a2d6 --- /dev/null +++ b/amf/EventExposure/client.go @@ -0,0 +1,42 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +// APIClient manages communication with the Namf_EventExposure API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + SubscriptionsCollectionCollectionApi *SubscriptionsCollectionCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionCollectionApi = (*SubscriptionsCollectionCollectionApiService)(&c.common) + + return c +} diff --git a/amf/EventExposure/configuration.go b/amf/EventExposure/configuration.go new file mode 100644 index 00000000..e54935b1 --- /dev/null +++ b/amf/EventExposure/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-evts/v1", + url: "{apiRoot}/namf-evts/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/amf/Location/api_individual_ue_context_document.go b/amf/Location/api_individual_ue_context_document.go new file mode 100644 index 00000000..23ca77e3 --- /dev/null +++ b/amf/Location/api_individual_ue_context_document.go @@ -0,0 +1,799 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualUEContextDocumentApiService service + +/* +IndividualUEContextDocumentApiService Namf_Location CancelLocation service operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param CancelPosInfo - + +@return CancelLocationResponse +*/ + +// CancelLocationRequest +type CancelLocationRequest struct { + UeContextId *string + CancelPosInfo *models.CancelPosInfo +} + +func (r *CancelLocationRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *CancelLocationRequest) SetCancelPosInfo(CancelPosInfo models.CancelPosInfo) { + r.CancelPosInfo = &CancelPosInfo +} + +type CancelLocationResponse struct { +} + +type CancelLocationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEContextDocumentApiService) CancelLocation(ctx context.Context, request *CancelLocationRequest) (*CancelLocationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CancelLocationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueContextId}/cancel-pos-info" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.CancelPosInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CancelLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CancelLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUEContextDocumentApiService Namf_Location ProvideLocationInfo service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param RequestLocInfo - + +@return ProvideLocationInfoResponse +*/ + +// ProvideLocationInfoRequest +type ProvideLocationInfoRequest struct { + UeContextId *string + RequestLocInfo *models.RequestLocInfo +} + +func (r *ProvideLocationInfoRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *ProvideLocationInfoRequest) SetRequestLocInfo(RequestLocInfo models.RequestLocInfo) { + r.RequestLocInfo = &RequestLocInfo +} + +type ProvideLocationInfoResponse struct { + ProvideLocInfo models.ProvideLocInfo +} + +type ProvideLocationInfoError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEContextDocumentApiService) ProvideLocationInfo(ctx context.Context, request *ProvideLocationInfoRequest) (*ProvideLocationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProvideLocationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueContextId}/provide-loc-info" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RequestLocInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProvideLocInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUEContextDocumentApiService Namf_Location ProvidePositioningInfo service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param RequestPosInfo - + +@return ProvidePositioningInfoResponse +*/ + +// ProvidePositioningInfoRequest +type ProvidePositioningInfoRequest struct { + UeContextId *string + RequestPosInfo *models.RequestPosInfo +} + +func (r *ProvidePositioningInfoRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *ProvidePositioningInfoRequest) SetRequestPosInfo(RequestPosInfo models.RequestPosInfo) { + r.RequestPosInfo = &RequestPosInfo +} + +type ProvidePositioningInfoResponse struct { + ProvidePosInfo models.ProvidePosInfo +} + +type ProvidePositioningInfoError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEContextDocumentApiService) ProvidePositioningInfo(ctx context.Context, request *ProvidePositioningInfoRequest) (*ProvidePositioningInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProvidePositioningInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueContextId}/provide-pos-info" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RequestPosInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProvidePosInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v ProvidePositioningInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ProvidePositioningInfoOnUELocationNotificationPostRequest +type ProvidePositioningInfoOnUELocationNotificationPostRequest struct { + NotifiedPosInfo *models.NotifiedPosInfo +} + +func (r *ProvidePositioningInfoOnUELocationNotificationPostRequest) SetNotifiedPosInfo(NotifiedPosInfo models.NotifiedPosInfo) { + r.NotifiedPosInfo = &NotifiedPosInfo +} + +type ProvidePositioningInfoOnUELocationNotificationPostResponse struct { +} + +type ProvidePositioningInfoOnUELocationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEContextDocumentApiService) ProvidePositioningInfoOnUELocationNotificationPost(ctx context.Context, uri string, request *ProvidePositioningInfoOnUELocationNotificationPostRequest) (*ProvidePositioningInfoOnUELocationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProvidePositioningInfoOnUELocationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.NotifiedPosInfo != nil { + localVarPostBody = request.NotifiedPosInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ProvidePositioningInfoOnUELocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in ProvidePositioningInfoOnUELocationNotificationPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/Location/client.go b/amf/Location/client.go new file mode 100644 index 00000000..d8d81bd6 --- /dev/null +++ b/amf/Location/client.go @@ -0,0 +1,40 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +// APIClient manages communication with the Namf_Location API v1.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualUEContextDocumentApi *IndividualUEContextDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualUEContextDocumentApi = (*IndividualUEContextDocumentApiService)(&c.common) + + return c +} diff --git a/amf/Location/configuration.go b/amf/Location/configuration.go new file mode 100644 index 00000000..37510d2b --- /dev/null +++ b/amf/Location/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-loc/v1", + url: "{apiRoot}/namf-loc/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/amf/MBSBroadcast/api_broadcast_mbs_session_contexts_collection_collection.go b/amf/MBSBroadcast/api_broadcast_mbs_session_contexts_collection_collection.go new file mode 100644 index 00000000..817589ad --- /dev/null +++ b/amf/MBSBroadcast/api_broadcast_mbs_session_contexts_collection_collection.go @@ -0,0 +1,413 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSBroadcast + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BroadcastMBSSessionContextsCollectionCollectionApiService service + +/* +BroadcastMBSSessionContextsCollectionCollectionApiService Namf_MBSBroadcast ContextCreate service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ContextCreateRequest - + +@return ContextCreateResponse +*/ + +// ContextCreateRequest +type ContextCreateRequest struct { + ContextCreateRequest *models.ContextCreateRequest +} + +func (r *ContextCreateRequest) SetContextCreateRequest(ContextCreateRequest models.ContextCreateRequest) { + r.ContextCreateRequest = &ContextCreateRequest +} + +type ContextCreateResponse struct { + Location string + ContextCreateResponse201 models.ContextCreateResponse201 +} + +type ContextCreateError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *BroadcastMBSSessionContextsCollectionCollectionApiService) ContextCreate(ctx context.Context, request *ContextCreateRequest) (*ContextCreateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ContextCreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-contexts" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ContextCreateRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ContextCreateResponse201, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v ContextCreateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ContextCreateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ContextCreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ContextCreateContextStatusNotificationPostRequest +type ContextCreateContextStatusNotificationPostRequest struct { + NullRequest *models.NullRequest +} + +func (r *ContextCreateContextStatusNotificationPostRequest) SetNullRequest(NullRequest models.NullRequest) { + r.NullRequest = &NullRequest +} + +type ContextCreateContextStatusNotificationPostResponse struct { +} + +type ContextCreateContextStatusNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *BroadcastMBSSessionContextsCollectionCollectionApiService) ContextCreateContextStatusNotificationPost(ctx context.Context, uri string, request *ContextCreateContextStatusNotificationPostRequest) (*ContextCreateContextStatusNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ContextCreateContextStatusNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NullRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ContextCreateContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in ContextCreateContextStatusNotificationPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/amf/MBSBroadcast/api_individual_broadcast_mbs_session_context_document.go b/amf/MBSBroadcast/api_individual_broadcast_mbs_session_context_document.go new file mode 100644 index 00000000..1f65e98c --- /dev/null +++ b/amf/MBSBroadcast/api_individual_broadcast_mbs_session_context_document.go @@ -0,0 +1,417 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSBroadcast + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualBroadcastMBSSessionContextDocumentApiService service + +/* +IndividualBroadcastMBSSessionContextDocumentApiService Namf_MBSBroadcast ContextDelete service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsContextRef - Unique ID of the broadcast MSB session context to be deleted + +@return ContextDeleteResponse +*/ + +// ContextDeleteRequest +type ContextDeleteRequest struct { + MbsContextRef *string +} + +func (r *ContextDeleteRequest) SetMbsContextRef(MbsContextRef string) { + r.MbsContextRef = &MbsContextRef +} + +type ContextDeleteResponse struct { +} + +type ContextDeleteError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualBroadcastMBSSessionContextDocumentApiService) ContextDelete(ctx context.Context, request *ContextDeleteRequest) (*ContextDeleteResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ContextDeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-contexts/{mbsContextRef}" + localVarPath = strings.Replace(localVarPath, "{"+"mbsContextRef"+"}", openapi.StringOfValue(*request.MbsContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ContextDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ContextDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ContextDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualBroadcastMBSSessionContextDocumentApiService Namf_MBSBroadcast ContextUpdate service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsContextRef - Unique ID of the broadcast MSB session context to be updated + * @param ContextUpdateRequest - + +@return ContextUpdateResponse +*/ + +// ContextUpdateRequest +type ContextUpdateRequest struct { + MbsContextRef *string + ContextUpdateRequest *models.ContextUpdateRequest +} + +func (r *ContextUpdateRequest) SetMbsContextRef(MbsContextRef string) { + r.MbsContextRef = &MbsContextRef +} +func (r *ContextUpdateRequest) SetContextUpdateRequest(ContextUpdateRequest models.ContextUpdateRequest) { + r.ContextUpdateRequest = &ContextUpdateRequest +} + +type ContextUpdateResponse struct { + ContextUpdateResponse200 models.ContextUpdateResponse200 +} + +type ContextUpdateError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualBroadcastMBSSessionContextDocumentApiService) ContextUpdate(ctx context.Context, request *ContextUpdateRequest) (*ContextUpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ContextUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-contexts/{mbsContextRef}/update" + localVarPath = strings.Replace(localVarPath, "{"+"mbsContextRef"+"}", openapi.StringOfValue(*request.MbsContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ContextUpdateRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ContextUpdateResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ContextUpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ContextUpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ContextUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/MBSBroadcast/client.go b/amf/MBSBroadcast/client.go new file mode 100644 index 00000000..0d700e2e --- /dev/null +++ b/amf/MBSBroadcast/client.go @@ -0,0 +1,42 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSBroadcast + +// APIClient manages communication with the Namf_MBSBroadcast API v1.0.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + BroadcastMBSSessionContextsCollectionCollectionApi *BroadcastMBSSessionContextsCollectionCollectionApiService + IndividualBroadcastMBSSessionContextDocumentApi *IndividualBroadcastMBSSessionContextDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.BroadcastMBSSessionContextsCollectionCollectionApi = (*BroadcastMBSSessionContextsCollectionCollectionApiService)(&c.common) + c.IndividualBroadcastMBSSessionContextDocumentApi = (*IndividualBroadcastMBSSessionContextDocumentApiService)(&c.common) + + return c +} diff --git a/amf/MBSBroadcast/configuration.go b/amf/MBSBroadcast/configuration.go new file mode 100644 index 00000000..bb6ba237 --- /dev/null +++ b/amf/MBSBroadcast/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSBroadcast + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-mbs-bc/v1", + url: "{apiRoot}/namf-mbs-bc/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/amf/MBSCommunication/api_n2_messages_handler_custom_operation.go b/amf/MBSCommunication/api_n2_messages_handler_custom_operation.go new file mode 100644 index 00000000..40202904 --- /dev/null +++ b/amf/MBSCommunication/api_n2_messages_handler_custom_operation.go @@ -0,0 +1,219 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSCommunication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type N2MessagesHandlerCustomOperationApiService service + +/* +N2MessagesHandlerCustomOperationApiService Namf_MBSCommunication N2 Message Transfer service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param N2MessageTransferRequest - + +@return N2MessageTransferResponse +*/ + +// N2MessageTransferRequest +type N2MessageTransferRequest struct { + N2MessageTransferRequest *models.N2MessageTransferRequest +} + +func (r *N2MessageTransferRequest) SetN2MessageTransferRequest(N2MessageTransferRequest models.N2MessageTransferRequest) { + r.N2MessageTransferRequest = &N2MessageTransferRequest +} + +type N2MessageTransferResponse struct { + MbsN2MessageTransferRspData models.MbsN2MessageTransferRspData +} + +type N2MessageTransferError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *N2MessagesHandlerCustomOperationApiService) N2MessageTransfer(ctx context.Context, request *N2MessageTransferRequest) (*N2MessageTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue N2MessageTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/n2-messages/transfer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.N2MessageTransferRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsN2MessageTransferRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v N2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v N2MessageTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v N2MessageTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/MBSCommunication/client.go b/amf/MBSCommunication/client.go new file mode 100644 index 00000000..53f1ce00 --- /dev/null +++ b/amf/MBSCommunication/client.go @@ -0,0 +1,40 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSCommunication + +// APIClient manages communication with the Namf_MBSCommunication API v1.0.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + N2MessagesHandlerCustomOperationApi *N2MessagesHandlerCustomOperationApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.N2MessagesHandlerCustomOperationApi = (*N2MessagesHandlerCustomOperationApiService)(&c.common) + + return c +} diff --git a/amf/MBSCommunication/configuration.go b/amf/MBSCommunication/configuration.go new file mode 100644 index 00000000..17123704 --- /dev/null +++ b/amf/MBSCommunication/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSCommunication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-mbs-comm/v1", + url: "{apiRoot}/namf-mbs-comm/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/amf/MT/api_ue_context_document.go b/amf/MT/api_ue_context_document.go new file mode 100644 index 00000000..b5ca479d --- /dev/null +++ b/amf/MT/api_ue_context_document.go @@ -0,0 +1,234 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UeContextDocumentApiService service + +/* +UeContextDocumentApiService Namf_MT Provide Domain Selection Info service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param InfoClass - UE Context Information Class + * @param SupportedFeatures - Supported Features + * @param OldGuami - Old GUAMI + +@return ProvideDomainSelectionInfoResponse +*/ + +// ProvideDomainSelectionInfoRequest +type ProvideDomainSelectionInfoRequest struct { + UeContextId *string + InfoClass *models.UeContextInfoClass + SupportedFeatures *string + OldGuami *models.Guami +} + +func (r *ProvideDomainSelectionInfoRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *ProvideDomainSelectionInfoRequest) SetInfoClass(InfoClass models.UeContextInfoClass) { + r.InfoClass = &InfoClass +} +func (r *ProvideDomainSelectionInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *ProvideDomainSelectionInfoRequest) SetOldGuami(OldGuami models.Guami) { + r.OldGuami = &OldGuami +} + +type ProvideDomainSelectionInfoResponse struct { + UeContextInfo models.UeContextInfo +} + +type ProvideDomainSelectionInfoError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UeContextDocumentApiService) ProvideDomainSelectionInfo(ctx context.Context, request *ProvideDomainSelectionInfoRequest) (*ProvideDomainSelectionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProvideDomainSelectionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.InfoClass != nil { + localVarQueryParams.Add("info-class", openapi.ParameterToString(request.InfoClass, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.OldGuami != nil { + localVarQueryParams.Add("old-guami", openapi.ParameterToString(request.OldGuami, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeContextInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ProvideDomainSelectionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/MT/api_ue_contexts_collection.go b/amf/MT/api_ue_contexts_collection.go new file mode 100644 index 00000000..6ff6fc43 --- /dev/null +++ b/amf/MT/api_ue_contexts_collection.go @@ -0,0 +1,403 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UeContextsCollectionApiService service + +/* +UeContextsCollectionApiService Namf_MT EnableGroupReachability service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param EnableGroupReachabilityReqData - list of UEs requested to be made reachable for the related TMGI + +@return EnableGroupReachabilityResponse +*/ + +// EnableGroupReachabilityRequest +type EnableGroupReachabilityRequest struct { + EnableGroupReachabilityReqData *models.EnableGroupReachabilityReqData +} + +func (r *EnableGroupReachabilityRequest) SetEnableGroupReachabilityReqData(EnableGroupReachabilityReqData models.EnableGroupReachabilityReqData) { + r.EnableGroupReachabilityReqData = &EnableGroupReachabilityReqData +} + +type EnableGroupReachabilityResponse struct { + EnableGroupReachabilityRspData models.EnableGroupReachabilityRspData +} + +type EnableGroupReachabilityError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UeContextsCollectionApiService) EnableGroupReachability(ctx context.Context, request *EnableGroupReachabilityRequest) (*EnableGroupReachabilityResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue EnableGroupReachabilityResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/enable-group-reachability" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EnableGroupReachabilityReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EnableGroupReachabilityRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v EnableGroupReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// EnableGroupReachabilityReachabilityNotificationPostRequest +type EnableGroupReachabilityReachabilityNotificationPostRequest struct { + ReachabilityNotificationData *models.ReachabilityNotificationData +} + +func (r *EnableGroupReachabilityReachabilityNotificationPostRequest) SetReachabilityNotificationData(ReachabilityNotificationData models.ReachabilityNotificationData) { + r.ReachabilityNotificationData = &ReachabilityNotificationData +} + +type EnableGroupReachabilityReachabilityNotificationPostResponse struct { +} + +type EnableGroupReachabilityReachabilityNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UeContextsCollectionApiService) EnableGroupReachabilityReachabilityNotificationPost(ctx context.Context, uri string, request *EnableGroupReachabilityReachabilityNotificationPostRequest) (*EnableGroupReachabilityReachabilityNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue EnableGroupReachabilityReachabilityNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ReachabilityNotificationData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v EnableGroupReachabilityReachabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/amf/MT/api_ue_reach_ind_document.go b/amf/MT/api_ue_reach_ind_document.go new file mode 100644 index 00000000..3eb5ec1f --- /dev/null +++ b/amf/MT/api_ue_reach_ind_document.go @@ -0,0 +1,242 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UeReachIndDocumentApiService service + +/* +UeReachIndDocumentApiService Namf_MT EnableUEReachability service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeContextId - UE Context Identifier + * @param EnableUeReachabilityReqData - + +@return EnableUeReachabilityResponse +*/ + +// EnableUeReachabilityRequest +type EnableUeReachabilityRequest struct { + UeContextId *string + EnableUeReachabilityReqData *models.EnableUeReachabilityReqData +} + +func (r *EnableUeReachabilityRequest) SetUeContextId(UeContextId string) { + r.UeContextId = &UeContextId +} +func (r *EnableUeReachabilityRequest) SetEnableUeReachabilityReqData(EnableUeReachabilityReqData models.EnableUeReachabilityReqData) { + r.EnableUeReachabilityReqData = &EnableUeReachabilityReqData +} + +type EnableUeReachabilityResponse struct { + EnableUeReachabilityRspData models.EnableUeReachabilityRspData +} + +type EnableUeReachabilityError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + ProblemDetailsEnableUeReachability models.ProblemDetailsEnableUeReachability + RedirectResponse models.RedirectResponse +} + +func (a *UeReachIndDocumentApiService) EnableUeReachability(ctx context.Context, request *EnableUeReachabilityRequest) (*EnableUeReachabilityResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue EnableUeReachabilityResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-contexts/{ueContextId}/ue-reachind" + localVarPath = strings.Replace(localVarPath, "{"+"ueContextId"+"}", openapi.StringOfValue(*request.UeContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EnableUeReachabilityReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EnableUeReachabilityRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetailsEnableUeReachability, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v EnableUeReachabilityError + err = openapi.Deserialize(&v.ProblemDetailsEnableUeReachability, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/amf/MT/client.go b/amf/MT/client.go new file mode 100644 index 00000000..d8cc12d3 --- /dev/null +++ b/amf/MT/client.go @@ -0,0 +1,44 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +// APIClient manages communication with the Namf_MT API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + UeContextDocumentApi *UeContextDocumentApiService + UeContextsCollectionApi *UeContextsCollectionApiService + UeReachIndDocumentApi *UeReachIndDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.UeContextDocumentApi = (*UeContextDocumentApiService)(&c.common) + c.UeContextsCollectionApi = (*UeContextsCollectionApiService)(&c.common) + c.UeReachIndDocumentApi = (*UeReachIndDocumentApiService)(&c.common) + + return c +} diff --git a/amf/MT/configuration.go b/amf/MT/configuration.go new file mode 100644 index 00000000..482cfbdd --- /dev/null +++ b/amf/MT/configuration.go @@ -0,0 +1,82 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/namf-mt/v1", + url: "{apiRoot}/namf-mt/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/ausf/SoRProtection/api_default.go b/ausf/SoRProtection/api_default.go new file mode 100644 index 00000000..679f32a8 --- /dev/null +++ b/ausf/SoRProtection/api_default.go @@ -0,0 +1,161 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SoRProtection + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AusfSoRProtectionSorInfo - + +@return SupiUeSorPostResponse +*/ + +// SupiUeSorPostRequest +type SupiUeSorPostRequest struct { + Supi *string + AusfSoRProtectionSorInfo *models.AusfSoRProtectionSorInfo +} + +func (r *SupiUeSorPostRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SupiUeSorPostRequest) SetAusfSoRProtectionSorInfo(AusfSoRProtectionSorInfo models.AusfSoRProtectionSorInfo) { + r.AusfSoRProtectionSorInfo = &AusfSoRProtectionSorInfo +} + +type SupiUeSorPostResponse struct { + SorSecurityInfo models.SorSecurityInfo +} + +type SupiUeSorPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) SupiUeSorPost(ctx context.Context, request *SupiUeSorPostRequest) (*SupiUeSorPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SupiUeSorPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-sor" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AusfSoRProtectionSorInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SorSecurityInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v SupiUeSorPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SupiUeSorPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SupiUeSorPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in SupiUeSorPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/ausf/SoRProtection/client.go b/ausf/SoRProtection/client.go new file mode 100644 index 00000000..09644fd5 --- /dev/null +++ b/ausf/SoRProtection/client.go @@ -0,0 +1,40 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SoRProtection + +// APIClient manages communication with the Nausf_SoRProtection Service API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/ausf/SoRProtection/configuration.go b/ausf/SoRProtection/configuration.go new file mode 100644 index 00000000..c9da4bc5 --- /dev/null +++ b/ausf/SoRProtection/configuration.go @@ -0,0 +1,82 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SoRProtection + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nausf-sorprotection/v1", + url: "{apiRoot}/nausf-sorprotection/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/ausf/UEAuthentication/api_authentication_result_deletion.go b/ausf/UEAuthentication/api_authentication_result_deletion.go new file mode 100644 index 00000000..7b835581 --- /dev/null +++ b/ausf/UEAuthentication/api_authentication_result_deletion.go @@ -0,0 +1,456 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationResultDeletionApiService service + +/* +AuthenticationResultDeletionApiService Deletes the authentication result in the UDM + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + +@return Delete5gAkaAuthenticationResultResponse +*/ + +// Delete5gAkaAuthenticationResultRequest +type Delete5gAkaAuthenticationResultRequest struct { + AuthCtxId *string +} + +func (r *Delete5gAkaAuthenticationResultRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} + +type Delete5gAkaAuthenticationResultResponse struct { +} + +type Delete5gAkaAuthenticationResultError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AuthenticationResultDeletionApiService) Delete5gAkaAuthenticationResult(ctx context.Context, request *Delete5gAkaAuthenticationResultRequest) (*Delete5gAkaAuthenticationResultResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Delete5gAkaAuthenticationResultResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/5g-aka-confirmation" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Delete5gAkaAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AuthenticationResultDeletionApiService Deletes the authentication result in the UDM + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + +@return DeleteEapAuthenticationResultResponse +*/ + +// DeleteEapAuthenticationResultRequest +type DeleteEapAuthenticationResultRequest struct { + AuthCtxId *string +} + +func (r *DeleteEapAuthenticationResultRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} + +type DeleteEapAuthenticationResultResponse struct { +} + +type DeleteEapAuthenticationResultError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AuthenticationResultDeletionApiService) DeleteEapAuthenticationResult(ctx context.Context, request *DeleteEapAuthenticationResultRequest) (*DeleteEapAuthenticationResultResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteEapAuthenticationResultResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/eap-session" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteEapAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AuthenticationResultDeletionApiService Deletes the authentication result in the UDM + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + +@return DeleteProSeAuthenticationResultResponse +*/ + +// DeleteProSeAuthenticationResultRequest +type DeleteProSeAuthenticationResultRequest struct { + AuthCtxId *string +} + +func (r *DeleteProSeAuthenticationResultRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} + +type DeleteProSeAuthenticationResultResponse struct { +} + +type DeleteProSeAuthenticationResultError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AuthenticationResultDeletionApiService) DeleteProSeAuthenticationResult(ctx context.Context, request *DeleteProSeAuthenticationResultRequest) (*DeleteProSeAuthenticationResultResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteProSeAuthenticationResultResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/prose-authentications/{authCtxId}/prose-auth" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteProSeAuthenticationResultError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/ausf/UEAuthentication/api_default.go b/ausf/UEAuthentication/api_default.go new file mode 100644 index 00000000..d26f23ca --- /dev/null +++ b/ausf/UEAuthentication/api_default.go @@ -0,0 +1,1036 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + * @param EapSession - + +@return EapAuthMethodResponse +*/ + +// EapAuthMethodRequest +type EapAuthMethodRequest struct { + AuthCtxId *string + EapSession *models.EapSession +} + +func (r *EapAuthMethodRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} +func (r *EapAuthMethodRequest) SetEapSession(EapSession models.EapSession) { + r.EapSession = &EapSession +} + +type EapAuthMethodResponse struct { + EapSession models.EapSession +} + +type EapAuthMethodError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) EapAuthMethod(ctx context.Context, request *EapAuthMethodRequest) (*EapAuthMethodResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue EapAuthMethodResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/eap-session" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/3gppHal+json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.EapSession != nil { + localVarPostBody = request.EapSession + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EapSession, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v EapAuthMethodError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v EapAuthMethodError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v EapAuthMethodError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v EapAuthMethodError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in EapAuthMethod", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + * @param ProSeEapSession - + +@return ProseAuthResponse +*/ + +// ProseAuthRequest +type ProseAuthRequest struct { + AuthCtxId *string + ProSeEapSession *models.ProSeEapSession +} + +func (r *ProseAuthRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} +func (r *ProseAuthRequest) SetProSeEapSession(ProSeEapSession models.ProSeEapSession) { + r.ProSeEapSession = &ProSeEapSession +} + +type ProseAuthResponse struct { + ProSeEapSession models.ProSeEapSession +} + +type ProseAuthError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) ProseAuth(ctx context.Context, request *ProseAuthRequest) (*ProseAuthResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProseAuthResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/prose-authentications/{authCtxId}/prose-auth" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/3gppHal+json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.ProSeEapSession != nil { + localVarPostBody = request.ProSeEapSession + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProSeEapSession, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ProseAuthError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProseAuthError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProseAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProseAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in ProseAuth", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ProSeAuthenticationInfo - + +@return ProseAuthenticationsPostResponse +*/ + +// ProseAuthenticationsPostRequest +type ProseAuthenticationsPostRequest struct { + ProSeAuthenticationInfo *models.ProSeAuthenticationInfo +} + +func (r *ProseAuthenticationsPostRequest) SetProSeAuthenticationInfo(ProSeAuthenticationInfo models.ProSeAuthenticationInfo) { + r.ProSeAuthenticationInfo = &ProSeAuthenticationInfo +} + +type ProseAuthenticationsPostResponse struct { + Location string + ProSeAuthenticationCtx models.ProSeAuthenticationCtx + ProSeAuthenticationResult models.ProSeAuthenticationResult +} + +type ProseAuthenticationsPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) ProseAuthenticationsPost(ctx context.Context, request *ProseAuthenticationsPostRequest) (*ProseAuthenticationsPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProseAuthenticationsPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/prose-authentications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/3gppHal+json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ProSeAuthenticationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProSeAuthenticationResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.ProSeAuthenticationCtx, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProseAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in ProseAuthenticationsPost", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RgAuthenticationInfo - + +@return RgAuthenticationsPostResponse +*/ + +// RgAuthenticationsPostRequest +type RgAuthenticationsPostRequest struct { + RgAuthenticationInfo *models.RgAuthenticationInfo +} + +func (r *RgAuthenticationsPostRequest) SetRgAuthenticationInfo(RgAuthenticationInfo models.RgAuthenticationInfo) { + r.RgAuthenticationInfo = &RgAuthenticationInfo +} + +type RgAuthenticationsPostResponse struct { + Location string + AusfUeAuthenticationRgAuthCtx models.AusfUeAuthenticationRgAuthCtx +} + +type RgAuthenticationsPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) RgAuthenticationsPost(ctx context.Context, request *RgAuthenticationsPostRequest) (*RgAuthenticationsPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RgAuthenticationsPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/rg-authentications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RgAuthenticationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AusfUeAuthenticationRgAuthCtx, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v RgAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RgAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RgAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RgAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RgAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in RgAuthenticationsPost", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthCtxId - + * @param ConfirmationData - + +@return UeAuthenticationsAuthCtxId5gAkaConfirmationPutResponse +*/ + +// UeAuthenticationsAuthCtxId5gAkaConfirmationPutRequest +type UeAuthenticationsAuthCtxId5gAkaConfirmationPutRequest struct { + AuthCtxId *string + ConfirmationData *models.ConfirmationData +} + +func (r *UeAuthenticationsAuthCtxId5gAkaConfirmationPutRequest) SetAuthCtxId(AuthCtxId string) { + r.AuthCtxId = &AuthCtxId +} +func (r *UeAuthenticationsAuthCtxId5gAkaConfirmationPutRequest) SetConfirmationData(ConfirmationData models.ConfirmationData) { + r.ConfirmationData = &ConfirmationData +} + +type UeAuthenticationsAuthCtxId5gAkaConfirmationPutResponse struct { + ConfirmationDataResponse models.ConfirmationDataResponse +} + +type UeAuthenticationsAuthCtxId5gAkaConfirmationPutError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) UeAuthenticationsAuthCtxId5gAkaConfirmationPut(ctx context.Context, request *UeAuthenticationsAuthCtxId5gAkaConfirmationPutRequest) (*UeAuthenticationsAuthCtxId5gAkaConfirmationPutResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UeAuthenticationsAuthCtxId5gAkaConfirmationPutResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications/{authCtxId}/5g-aka-confirmation" + localVarPath = strings.Replace(localVarPath, "{"+"authCtxId"+"}", openapi.StringOfValue(*request.AuthCtxId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.ConfirmationData != nil { + localVarPostBody = request.ConfirmationData + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ConfirmationDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UeAuthenticationsAuthCtxId5gAkaConfirmationPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UeAuthenticationsAuthCtxId5gAkaConfirmationPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UeAuthenticationsAuthCtxId5gAkaConfirmationPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UeAuthenticationsAuthCtxId5gAkaConfirmationPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in UeAuthenticationsAuthCtxId5gAkaConfirmationPut", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param DeregistrationInfo - + +@return UeAuthenticationsDeregisterPostResponse +*/ + +// UeAuthenticationsDeregisterPostRequest +type UeAuthenticationsDeregisterPostRequest struct { + DeregistrationInfo *models.DeregistrationInfo +} + +func (r *UeAuthenticationsDeregisterPostRequest) SetDeregistrationInfo(DeregistrationInfo models.DeregistrationInfo) { + r.DeregistrationInfo = &DeregistrationInfo +} + +type UeAuthenticationsDeregisterPostResponse struct { +} + +type UeAuthenticationsDeregisterPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) UeAuthenticationsDeregisterPost(ctx context.Context, request *UeAuthenticationsDeregisterPostRequest) (*UeAuthenticationsDeregisterPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UeAuthenticationsDeregisterPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications/deregister" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DeregistrationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v UeAuthenticationsDeregisterPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UeAuthenticationsDeregisterPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UeAuthenticationsDeregisterPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in UeAuthenticationsDeregisterPost", localVarHTTPResponse.StatusCode) + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AuthenticationInfo - + +@return UeAuthenticationsPostResponse +*/ + +// UeAuthenticationsPostRequest +type UeAuthenticationsPostRequest struct { + AuthenticationInfo *models.AuthenticationInfo +} + +func (r *UeAuthenticationsPostRequest) SetAuthenticationInfo(AuthenticationInfo models.AuthenticationInfo) { + r.AuthenticationInfo = &AuthenticationInfo +} + +type UeAuthenticationsPostResponse struct { + Location string + UeAuthenticationCtx models.UeAuthenticationCtx +} + +type UeAuthenticationsPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) UeAuthenticationsPost(ctx context.Context, request *UeAuthenticationsPostRequest) (*UeAuthenticationsPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UeAuthenticationsPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/ue-authentications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/3gppHal+json", "application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthenticationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UeAuthenticationCtx, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v UeAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in UeAuthenticationsPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/ausf/UEAuthentication/client.go b/ausf/UEAuthentication/client.go new file mode 100644 index 00000000..bfce505b --- /dev/null +++ b/ausf/UEAuthentication/client.go @@ -0,0 +1,42 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +// APIClient manages communication with the AUSF API API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AuthenticationResultDeletionApi *AuthenticationResultDeletionApiService + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AuthenticationResultDeletionApi = (*AuthenticationResultDeletionApiService)(&c.common) + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/ausf/UEAuthentication/configuration.go b/ausf/UEAuthentication/configuration.go new file mode 100644 index 00000000..746a5624 --- /dev/null +++ b/ausf/UEAuthentication/configuration.go @@ -0,0 +1,82 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nausf-auth/v1", + url: "{apiRoot}/nausf-auth/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/ausf/UPUProtection/api_default.go b/ausf/UPUProtection/api_default.go new file mode 100644 index 00000000..2ccef8dc --- /dev/null +++ b/ausf/UPUProtection/api_default.go @@ -0,0 +1,161 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UPUProtection + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AusfUpuProtectionUpuInfo - + +@return SupiUeUpuPostResponse +*/ + +// SupiUeUpuPostRequest +type SupiUeUpuPostRequest struct { + Supi *string + AusfUpuProtectionUpuInfo *models.AusfUpuProtectionUpuInfo +} + +func (r *SupiUeUpuPostRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SupiUeUpuPostRequest) SetAusfUpuProtectionUpuInfo(AusfUpuProtectionUpuInfo models.AusfUpuProtectionUpuInfo) { + r.AusfUpuProtectionUpuInfo = &AusfUpuProtectionUpuInfo +} + +type SupiUeUpuPostResponse struct { + UpuSecurityInfo models.UpuSecurityInfo +} + +type SupiUeUpuPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) SupiUeUpuPost(ctx context.Context, request *SupiUeUpuPostRequest) (*SupiUeUpuPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SupiUeUpuPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-upu" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AusfUpuProtectionUpuInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UpuSecurityInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 503: + var v SupiUeUpuPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 307: + var v SupiUeUpuPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SupiUeUpuPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in SupiUeUpuPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/ausf/UPUProtection/client.go b/ausf/UPUProtection/client.go new file mode 100644 index 00000000..2ebe85a2 --- /dev/null +++ b/ausf/UPUProtection/client.go @@ -0,0 +1,40 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UPUProtection + +// APIClient manages communication with the Nausf_UPUProtection Service API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/ausf/UPUProtection/configuration.go b/ausf/UPUProtection/configuration.go new file mode 100644 index 00000000..3fbab138 --- /dev/null +++ b/ausf/UPUProtection/configuration.go @@ -0,0 +1,82 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UPUProtection + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nausf-upuprotection/v1", + url: "{apiRoot}/nausf-upuprotection/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/chf/ConvergedCharging/api_default.go b/chf/ConvergedCharging/api_default.go new file mode 100644 index 00000000..35868495 --- /dev/null +++ b/chf/ConvergedCharging/api_default.go @@ -0,0 +1,734 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ConvergedCharging + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ChfConvergedChargingChargingDataRequest - + +@return PostChargingDataResponse +*/ + +// PostChargingDataRequest +type PostChargingDataRequest struct { + ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest +} + +func (r *PostChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest) { + r.ChfConvergedChargingChargingDataRequest = &ChfConvergedChargingChargingDataRequest +} + +type PostChargingDataResponse struct { + ChfConvergedChargingChargingDataResponse models.ChfConvergedChargingChargingDataResponse +} + +type PostChargingDataError struct { + Location string + Var3gppSbiTargetNfId string + PostChargingDataResponse400 models.PostChargingDataResponse400 + PostChargingDataResponse403 models.PostChargingDataResponse403 + PostChargingDataResponse404 models.PostChargingDataResponse404 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) PostChargingData(ctx context.Context, request *PostChargingDataRequest) (*PostChargingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostChargingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/chargingdata" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfConvergedChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ChfConvergedChargingChargingDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v PostChargingDataError + err = openapi.Deserialize(&v.PostChargingDataResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 307: + var v PostChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostChargingDataError + err = openapi.Deserialize(&v.PostChargingDataResponse403, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostChargingDataError + err = openapi.Deserialize(&v.PostChargingDataResponse404, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, nil + case 408: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// PostChargingNotificationRequest +type PostChargingNotificationRequest struct { + ChargingNotifyRequest *models.ChargingNotifyRequest +} + +func (r *PostChargingNotificationRequest) SetChargingNotifyRequest(ChargingNotifyRequest models.ChargingNotifyRequest) { + r.ChargingNotifyRequest = &ChargingNotifyRequest +} + +type PostChargingNotificationResponse struct { + ChargingNotifyResponse models.ChargingNotifyResponse +} + +type PostChargingNotificationError struct { + Location string + Var3gppSbiTargetNfId string + PostChargingNotificationResponse400 models.PostChargingNotificationResponse400 + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) PostChargingNotification(ctx context.Context, uri string, request *PostChargingNotificationRequest) (*PostChargingNotificationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostChargingNotificationResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/ json", "application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChargingNotifyRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ChargingNotifyResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v PostChargingNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostChargingNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostChargingNotificationError + err = openapi.Deserialize(&v.PostChargingNotificationResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ChargingDataRef - a unique identifier for a charging data resource in a PLMN + * @param ChfConvergedChargingChargingDataRequest - + +@return ReleaseChargingDataResponse +*/ + +// ReleaseChargingDataRequest +type ReleaseChargingDataRequest struct { + ChargingDataRef *string + ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest +} + +func (r *ReleaseChargingDataRequest) SetChargingDataRef(ChargingDataRef string) { + r.ChargingDataRef = &ChargingDataRef +} +func (r *ReleaseChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest) { + r.ChfConvergedChargingChargingDataRequest = &ChfConvergedChargingChargingDataRequest +} + +type ReleaseChargingDataResponse struct { +} + +type ReleaseChargingDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + ReleaseChargingDataResponse404 models.ReleaseChargingDataResponse404 +} + +func (a *DefaultApiService) ReleaseChargingData(ctx context.Context, request *ReleaseChargingDataRequest) (*ReleaseChargingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReleaseChargingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/chargingdata/{ChargingDataRef}/release" + localVarPath = strings.Replace(localVarPath, "{"+"ChargingDataRef"+"}", openapi.StringOfValue(*request.ChargingDataRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfConvergedChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ReleaseChargingDataResponse404, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReleaseChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ChargingDataRef - a unique identifier for a charging data resource in a PLMN + * @param ChfConvergedChargingChargingDataRequest - + +@return UpdateChargingDataResponse +*/ + +// UpdateChargingDataRequest +type UpdateChargingDataRequest struct { + ChargingDataRef *string + ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest +} + +func (r *UpdateChargingDataRequest) SetChargingDataRef(ChargingDataRef string) { + r.ChargingDataRef = &ChargingDataRef +} +func (r *UpdateChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest) { + r.ChfConvergedChargingChargingDataRequest = &ChfConvergedChargingChargingDataRequest +} + +type UpdateChargingDataResponse struct { + ChfConvergedChargingChargingDataResponse models.ChfConvergedChargingChargingDataResponse +} + +type UpdateChargingDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + UpdateChargingDataResponse400 models.UpdateChargingDataResponse400 + UpdateChargingDataResponse403 models.UpdateChargingDataResponse403 + UpdateChargingDataResponse404 models.UpdateChargingDataResponse404 +} + +func (a *DefaultApiService) UpdateChargingData(ctx context.Context, request *UpdateChargingDataRequest) (*UpdateChargingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateChargingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/chargingdata/{ChargingDataRef}/update" + localVarPath = strings.Replace(localVarPath, "{"+"ChargingDataRef"+"}", openapi.StringOfValue(*request.ChargingDataRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfConvergedChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ChfConvergedChargingChargingDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.UpdateChargingDataResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.UpdateChargingDataResponse403, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.UpdateChargingDataResponse404, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, nil + case 408: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateChargingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/chf/ConvergedCharging/client.go b/chf/ConvergedCharging/client.go new file mode 100644 index 00000000..82e010e4 --- /dev/null +++ b/chf/ConvergedCharging/client.go @@ -0,0 +1,40 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ConvergedCharging + +// APIClient manages communication with the Nchf_ConvergedCharging API v3.1.6 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/chf/ConvergedCharging/configuration.go b/chf/ConvergedCharging/configuration.go new file mode 100644 index 00000000..e84e10dc --- /dev/null +++ b/chf/ConvergedCharging/configuration.go @@ -0,0 +1,82 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ConvergedCharging + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nchf-convergedcharging/v3", + url: "{apiRoot}/nchf-convergedcharging/v3", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/chf/OfflineOnlyCharging/api_default.go b/chf/OfflineOnlyCharging/api_default.go new file mode 100644 index 00000000..4f587936 --- /dev/null +++ b/chf/OfflineOnlyCharging/api_default.go @@ -0,0 +1,519 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package OfflineOnlyCharging + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param OfflineChargingDataRef - a unique identifier for a charging data resource in a PLMN + * @param ChfOfflineOnlyChargingChargingDataRequest - + +@return OfflinechargingdataOfflineChargingDataRefReleasePostResponse +*/ + +// OfflinechargingdataOfflineChargingDataRefReleasePostRequest +type OfflinechargingdataOfflineChargingDataRefReleasePostRequest struct { + OfflineChargingDataRef *string + ChfOfflineOnlyChargingChargingDataRequest *models.ChfOfflineOnlyChargingChargingDataRequest +} + +func (r *OfflinechargingdataOfflineChargingDataRefReleasePostRequest) SetOfflineChargingDataRef(OfflineChargingDataRef string) { + r.OfflineChargingDataRef = &OfflineChargingDataRef +} +func (r *OfflinechargingdataOfflineChargingDataRefReleasePostRequest) SetChfOfflineOnlyChargingChargingDataRequest(ChfOfflineOnlyChargingChargingDataRequest models.ChfOfflineOnlyChargingChargingDataRequest) { + r.ChfOfflineOnlyChargingChargingDataRequest = &ChfOfflineOnlyChargingChargingDataRequest +} + +type OfflinechargingdataOfflineChargingDataRefReleasePostResponse struct { +} + +type OfflinechargingdataOfflineChargingDataRefReleasePostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DefaultApiService) OfflinechargingdataOfflineChargingDataRefReleasePost(ctx context.Context, request *OfflinechargingdataOfflineChargingDataRefReleasePostRequest) (*OfflinechargingdataOfflineChargingDataRefReleasePostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue OfflinechargingdataOfflineChargingDataRefReleasePostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/offlinechargingdata/{OfflineChargingDataRef}/release" + localVarPath = strings.Replace(localVarPath, "{"+"OfflineChargingDataRef"+"}", openapi.StringOfValue(*request.OfflineChargingDataRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfOfflineOnlyChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 404: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v OfflinechargingdataOfflineChargingDataRefReleasePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param OfflineChargingDataRef - a unique identifier for a charging data resource in a PLMN + * @param ChfOfflineOnlyChargingChargingDataRequest - + +@return OfflinechargingdataOfflineChargingDataRefUpdatePostResponse +*/ + +// OfflinechargingdataOfflineChargingDataRefUpdatePostRequest +type OfflinechargingdataOfflineChargingDataRefUpdatePostRequest struct { + OfflineChargingDataRef *string + ChfOfflineOnlyChargingChargingDataRequest *models.ChfOfflineOnlyChargingChargingDataRequest +} + +func (r *OfflinechargingdataOfflineChargingDataRefUpdatePostRequest) SetOfflineChargingDataRef(OfflineChargingDataRef string) { + r.OfflineChargingDataRef = &OfflineChargingDataRef +} +func (r *OfflinechargingdataOfflineChargingDataRefUpdatePostRequest) SetChfOfflineOnlyChargingChargingDataRequest(ChfOfflineOnlyChargingChargingDataRequest models.ChfOfflineOnlyChargingChargingDataRequest) { + r.ChfOfflineOnlyChargingChargingDataRequest = &ChfOfflineOnlyChargingChargingDataRequest +} + +type OfflinechargingdataOfflineChargingDataRefUpdatePostResponse struct { + ChfOfflineOnlyChargingChargingDataResponse models.ChfOfflineOnlyChargingChargingDataResponse +} + +type OfflinechargingdataOfflineChargingDataRefUpdatePostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DefaultApiService) OfflinechargingdataOfflineChargingDataRefUpdatePost(ctx context.Context, request *OfflinechargingdataOfflineChargingDataRefUpdatePostRequest) (*OfflinechargingdataOfflineChargingDataRefUpdatePostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue OfflinechargingdataOfflineChargingDataRefUpdatePostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/offlinechargingdata/{OfflineChargingDataRef}/update" + localVarPath = strings.Replace(localVarPath, "{"+"OfflineChargingDataRef"+"}", openapi.StringOfValue(*request.OfflineChargingDataRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfOfflineOnlyChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ChfOfflineOnlyChargingChargingDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v OfflinechargingdataOfflineChargingDataRefUpdatePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ChfOfflineOnlyChargingChargingDataRequest - + +@return OfflinechargingdataPostResponse +*/ + +// OfflinechargingdataPostRequest +type OfflinechargingdataPostRequest struct { + ChfOfflineOnlyChargingChargingDataRequest *models.ChfOfflineOnlyChargingChargingDataRequest +} + +func (r *OfflinechargingdataPostRequest) SetChfOfflineOnlyChargingChargingDataRequest(ChfOfflineOnlyChargingChargingDataRequest models.ChfOfflineOnlyChargingChargingDataRequest) { + r.ChfOfflineOnlyChargingChargingDataRequest = &ChfOfflineOnlyChargingChargingDataRequest +} + +type OfflinechargingdataPostResponse struct { + ChfOfflineOnlyChargingChargingDataResponse models.ChfOfflineOnlyChargingChargingDataResponse +} + +type OfflinechargingdataPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DefaultApiService) OfflinechargingdataPost(ctx context.Context, request *OfflinechargingdataPostRequest) (*OfflinechargingdataPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue OfflinechargingdataPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/offlinechargingdata" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ChfOfflineOnlyChargingChargingDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ChfOfflineOnlyChargingChargingDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 410: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v OfflinechargingdataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/chf/OfflineOnlyCharging/client.go b/chf/OfflineOnlyCharging/client.go new file mode 100644 index 00000000..e4c94656 --- /dev/null +++ b/chf/OfflineOnlyCharging/client.go @@ -0,0 +1,40 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package OfflineOnlyCharging + +// APIClient manages communication with the Nchf_OfflineOnlyCharging API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/chf/OfflineOnlyCharging/configuration.go b/chf/OfflineOnlyCharging/configuration.go new file mode 100644 index 00000000..7fc2b64e --- /dev/null +++ b/chf/OfflineOnlyCharging/configuration.go @@ -0,0 +1,82 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package OfflineOnlyCharging + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nchf-offlineonlycharging/v1", + url: "{apiRoot}/nchf-offlineonlycharging/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/chf/SpendingLimitControl/api_default.go b/chf/SpendingLimitControl/api_default.go new file mode 100644 index 00000000..484a3e3e --- /dev/null +++ b/chf/SpendingLimitControl/api_default.go @@ -0,0 +1,943 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SpendingLimitControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DefaultApiService service + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SpendingLimitContext - + +@return SubscriptionsPostResponse +*/ + +// SubscriptionsPostRequest +type SubscriptionsPostRequest struct { + SpendingLimitContext *models.SpendingLimitContext +} + +func (r *SubscriptionsPostRequest) SetSpendingLimitContext(SpendingLimitContext models.SpendingLimitContext) { + r.SpendingLimitContext = &SpendingLimitContext +} + +type SubscriptionsPostResponse struct { + Location string + SpendingLimitStatus models.SpendingLimitStatus +} + +type SubscriptionsPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DefaultApiService) SubscriptionsPost(ctx context.Context, request *SubscriptionsPostRequest) (*SubscriptionsPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SpendingLimitContext + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SpendingLimitStatus, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscriptionsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NullStatusNotificationPostRequest +type NullStatusNotificationPostRequest struct { + SpendingLimitStatus *models.SpendingLimitStatus +} + +func (r *NullStatusNotificationPostRequest) SetSpendingLimitStatus(SpendingLimitStatus models.SpendingLimitStatus) { + r.SpendingLimitStatus = &SpendingLimitStatus +} + +type NullStatusNotificationPostResponse struct { +} + +type NullStatusNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) NullStatusNotificationPost(ctx context.Context, uri string, request *NullStatusNotificationPostRequest) (*NullStatusNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NullStatusNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SpendingLimitStatus + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NullStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// NullSubscriptionTerminationPostRequest +type NullSubscriptionTerminationPostRequest struct { + SubscriptionTerminationInfo *models.SubscriptionTerminationInfo +} + +func (r *NullSubscriptionTerminationPostRequest) SetSubscriptionTerminationInfo(SubscriptionTerminationInfo models.SubscriptionTerminationInfo) { + r.SubscriptionTerminationInfo = &SubscriptionTerminationInfo +} + +type NullSubscriptionTerminationPostResponse struct { +} + +type NullSubscriptionTerminationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) NullSubscriptionTerminationPost(ctx context.Context, uri string, request *NullSubscriptionTerminationPostRequest) (*NullSubscriptionTerminationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NullSubscriptionTerminationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SubscriptionTerminationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NullSubscriptionTerminationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identifies an individual spending limit retrieval subscription. + +@return SubscriptionsSubscriptionIdDeleteResponse +*/ + +// SubscriptionsSubscriptionIdDeleteRequest +type SubscriptionsSubscriptionIdDeleteRequest struct { + SubscriptionId *string +} + +func (r *SubscriptionsSubscriptionIdDeleteRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type SubscriptionsSubscriptionIdDeleteResponse struct { +} + +type SubscriptionsSubscriptionIdDeleteError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) SubscriptionsSubscriptionIdDelete(ctx context.Context, request *SubscriptionsSubscriptionIdDeleteRequest) (*SubscriptionsSubscriptionIdDeleteResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsSubscriptionIdDeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscriptionsSubscriptionIdDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +DefaultApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identifies an individual spending limit retrieval subscription. + * @param SpendingLimitContext - + +@return SubscriptionsSubscriptionIdPutResponse +*/ + +// SubscriptionsSubscriptionIdPutRequest +type SubscriptionsSubscriptionIdPutRequest struct { + SubscriptionId *string + SpendingLimitContext *models.SpendingLimitContext +} + +func (r *SubscriptionsSubscriptionIdPutRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *SubscriptionsSubscriptionIdPutRequest) SetSpendingLimitContext(SpendingLimitContext models.SpendingLimitContext) { + r.SpendingLimitContext = &SpendingLimitContext +} + +type SubscriptionsSubscriptionIdPutResponse struct { + SpendingLimitStatus models.SpendingLimitStatus +} + +type SubscriptionsSubscriptionIdPutError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DefaultApiService) SubscriptionsSubscriptionIdPut(ctx context.Context, request *SubscriptionsSubscriptionIdPutRequest) (*SubscriptionsSubscriptionIdPutResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsSubscriptionIdPutResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SpendingLimitContext + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SpendingLimitStatus, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscriptionsSubscriptionIdPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/chf/SpendingLimitControl/client.go b/chf/SpendingLimitControl/client.go new file mode 100644 index 00000000..19e4fbea --- /dev/null +++ b/chf/SpendingLimitControl/client.go @@ -0,0 +1,40 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SpendingLimitControl + +// APIClient manages communication with the Nchf_SpendingLimitControl API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} diff --git a/chf/SpendingLimitControl/configuration.go b/chf/SpendingLimitControl/configuration.go new file mode 100644 index 00000000..b6f31239 --- /dev/null +++ b/chf/SpendingLimitControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SpendingLimitControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nchf-spendinglimitcontrol/v1", + url: "{apiRoot}/nchf-spendinglimitcontrol/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/client.go b/client.go index 9c6924c9..574b588f 100644 --- a/client.go +++ b/client.go @@ -15,12 +15,12 @@ import ( "crypto/tls" "encoding/json" "encoding/xml" - "errors" "fmt" "io" "mime/multipart" "net" "net/http" + "net/http/httptrace" "net/textproto" "net/url" "os" @@ -29,39 +29,47 @@ import ( "strconv" "strings" "time" - "unicode/utf8" + "github.com/pkg/errors" + "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace" + "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "golang.org/x/net/http2" "golang.org/x/oauth2" "gopkg.in/h2non/gock.v1" ) +const ( + TimeoutPeriod = 10 * time.Second + ReadIdleTimeoutPeriod = 1 * time.Second + PingTimeoutPeriod = 1 * time.Second +) + var ( innerHTTP2Client = &http.Client{ - Transport: &http2.Transport{ + Transport: otelhttp.NewTransport(&http2.Transport{ TLSClientConfig: &tls.Config{ - InsecureSkipVerify: true, + InsecureSkipVerify: true, // nolint:gosec }, - }, + ReadIdleTimeout: ReadIdleTimeoutPeriod, + PingTimeout: PingTimeoutPeriod, + }), + Timeout: TimeoutPeriod, } innerHTTP2CleartextClient = &http.Client{ - Transport: &http2.Transport{ + Transport: otelhttp.NewTransport(&http2.Transport{ AllowHTTP: true, - DialTLS: func(network, addr string, cfg *tls.Config) (net.Conn, error) { - return net.Dial(network, addr) + DialTLSContext: func(ctx context.Context, network, addr string, cfg *tls.Config) (net.Conn, error) { + dialer := &net.Dialer{} + return dialer.DialContext(ctx, network, addr) }, - }, + ReadIdleTimeout: ReadIdleTimeoutPeriod, + PingTimeout: PingTimeoutPeriod, + }), + Timeout: TimeoutPeriod, } ) -func GetHttpsClient() *http.Client { - return innerHTTP2Client -} -func GetHttpClient() *http.Client { - return innerHTTP2CleartextClient -} - type Configuration interface { BasePath() string Host() string @@ -102,16 +110,21 @@ func TypeCheckParameter(obj interface{}, expected string, name string) error { // Check the type is as expected. if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) + return fmt.Errorf( + "Expected %s to be of type %s but received %s.", + name, + expected, + reflect.TypeOf(obj).String(), + ) } return nil } // ParameterToString convert interface{} parameters to string, using a delimiter if format is provided. -func ParameterToString(obj interface{}, collectionFormat string) string { +func ParameterToString(obj interface{}, format string) string { var delimiter string - switch collectionFormat { + switch format { case "pipes": delimiter = "|" case "ssv": @@ -122,6 +135,18 @@ func ParameterToString(obj interface{}, collectionFormat string) string { delimiter = "," } + if value := reflect.ValueOf(obj); value.Kind() == reflect.Ptr { + obj = value.Elem().Interface() + } + + if jsonRegex.MatchString(format) { + b, err := json.Marshal(obj) + if err != nil { + return "" + } + return string(b) + } + if reflect.TypeOf(obj).Kind() == reflect.Slice { return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") } else if t, ok := obj.(time.Time); ok { @@ -168,7 +193,7 @@ func getContentID(v reflect.Value, ref string, class string) (contentID string, recursiveVal := v if ref[0] == '{' { contentID = ref[1 : len(ref)-1] - return + return contentID, err } if class != "" { var lastVal reflect.Value @@ -176,7 +201,11 @@ func getContentID(v reflect.Value, ref string, class string) (contentID string, lastVal = recursiveVal recursiveVal = recursiveVal.FieldByName(part) if !recursiveVal.IsValid() { - return "", fmt.Errorf("Do not have reference field %s in %s for multipart", part, lastVal.Type().String()) + return "", fmt.Errorf( + "Do not have reference field %s in %s for multipart", + part, + lastVal.Type().String(), + ) } if recursiveVal.Kind() == reflect.Ptr { if recursiveVal.IsNil() { @@ -245,7 +274,7 @@ func getContentID(v reflect.Value, ref string, class string) (contentID string, } } contentID = recursiveVal.String() - return + return contentID, err } func MultipartEncode(v interface{}, body io.Writer) (string, error) { @@ -259,6 +288,9 @@ func MultipartEncode(v interface{}, body io.Writer) (string, error) { continue } contentType, ref, class := parseMultipartFieldParameters(structType.Field(i).Tag.Get("multipart")) + if contentType == "" && ref == "" && class == "" { + return "", errors.Errorf("type: %s no contains multipart tags", reflect.TypeOf(v).Name()) + } h := make(textproto.MIMEHeader) if ref != "" { @@ -293,6 +325,10 @@ func MultipartEncode(v interface{}, body io.Writer) (string, error) { return contentType, nil } +func StringOfValue(v interface{}) string { + return fmt.Sprintf("%v", v) +} + func MultipartSerialize(v interface{}) ([]byte, string, error) { buffer := new(bytes.Buffer) val := reflect.Indirect(reflect.ValueOf(v)) @@ -354,9 +390,10 @@ func PrepareRequest( ) (localVarRequest *http.Request, err error) { var body *bytes.Buffer + ctx = httptrace.WithClientTrace(ctx, otelhttptrace.NewClientTrace(ctx)) + // Detect postBody type and post. if postBody != nil { - contentType := headerParams["Content-Type"] if contentType == "" { contentType = detectContentType(postBody) @@ -364,14 +401,12 @@ func PrepareRequest( } if strings.HasPrefix(headerParams["Content-Type"], "multipart/related") { - body = &bytes.Buffer{} contentType, err = MultipartEncode(postBody, body) if err != nil { return nil, err } headerParams["Content-Type"] = contentType - } else { body, err = setBody(postBody, contentType) if err != nil { @@ -381,7 +416,8 @@ func PrepareRequest( } // add form parameters and file if available. - if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { + if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || + (len(fileBytes) > 0 && fileName != "") { if body != nil { return nil, errors.New("Cannot specify postBody and multipart form at the same time.") } @@ -396,14 +432,18 @@ func PrepareRequest( return nil, err } } else { // form value - w.WriteField(k, iv) + err = w.WriteField(k, iv) + if err != nil { + return nil, err + } } } } if len(fileBytes) > 0 && fileName != "" { w.Boundary() //_, fileNm := filepath.Split(fileName) - part, err := w.CreateFormFile(formFileName, filepath.Base(fileName)) + var part io.Writer + part, err = w.CreateFormFile(formFileName, filepath.Base(fileName)) if err != nil { return nil, err } @@ -417,7 +457,10 @@ func PrepareRequest( // Set Content-Length headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() + err = w.Close() + if err != nil { + return nil, err + } } if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { @@ -517,11 +560,11 @@ func MultipartDeserialize(b []byte, v interface{}, boundary string) (err error) contentIDIndex := make(map[string]int) for { - var part *multipart.Part + var part, nextPart *multipart.Part multipartBody := make([]byte, 1000) // if no remian part, break this loop - if nextPart, err := r.NextPart(); err == io.EOF { + if nextPart, err = r.NextPart(); err == io.EOF { break } else { part = nextPart @@ -531,7 +574,7 @@ func MultipartDeserialize(b []byte, v interface{}, boundary string) (err error) var n int n, err = part.Read(multipartBody) if err == nil { - return + return err } multipartBody = multipartBody[:n] @@ -612,17 +655,24 @@ func Deserialize(v interface{}, b []byte, contentType string) (err error) { // add a file to the multipart request func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(path) + file, err := os.Open(filepath.Clean(path)) if err != nil { return err } - defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { return err } _, err = io.Copy(part, file) + if err != nil { + return err + } + + err = file.Close() + if err != nil { + return err + } return err } @@ -718,7 +768,8 @@ func CacheExpires(r *http.Response) time.Time { respCacheControl := parseCacheControl(r.Header) if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") + var lifetime time.Duration + lifetime, err = time.ParseDuration(maxAge + "s") if err != nil { expires = now } else { @@ -736,10 +787,6 @@ func CacheExpires(r *http.Response) time.Time { return expires } -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - func InterceptH2CClient() { gock.InterceptClient(innerHTTP2CleartextClient) } diff --git a/client_test.go b/client_test.go new file mode 100644 index 00000000..eb7070f8 --- /dev/null +++ b/client_test.go @@ -0,0 +1,62 @@ +package openapi + +import ( + "testing" + + "github.com/stretchr/testify/require" +) + +func TestParameterToString(t *testing.T) { + var testCases = []struct { + name string + obj interface{} + format string + para string + }{ + { + name: "strings csv", + obj: []string{"red", "blue", "yellow"}, + format: "csv", + para: "red,blue,yellow", + }, + { + name: "strings pipes", + obj: []string{"red", "blue", "yellow"}, + format: "pipes", + para: "red|blue|yellow", + }, + { + name: "strings ssv", + obj: []string{"red", "blue", "yellow"}, + format: "ssv", + para: "red blue yellow", + }, + { + name: "strings json", + obj: []string{"red", "blue", "yellow"}, + format: "application/json", + para: "[\"red\",\"blue\",\"yellow\"]", + }, + { + name: "obj json", + obj: struct { + Name string `json:"name"` + Age int `json:"age"` + Active bool `json:"active"` + }{ + Name: "free5GC", + Age: 3, + Active: true, + }, + format: "application/json", + para: "{\"name\":\"free5GC\",\"age\":3,\"active\":true}", + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + para := ParameterToString(tc.obj, tc.format) + require.Equal(t, tc.para, para) + }) + } +} diff --git a/convert_test.go b/convert_test.go index eae9de89..0d5f9d16 100644 --- a/convert_test.go +++ b/convert_test.go @@ -43,5 +43,6 @@ func TestConvert(t *testing.T) { 3: "three", }, to.M) expectTime, err := time.Parse(time.RFC3339, "2020-05-01T12:04:05+08:00") + assert.Nil(t, err) assert.Equal(t, expectTime, *to.DT) } diff --git a/error.go b/error.go index c3132fdb..21978f25 100644 --- a/error.go +++ b/error.go @@ -9,16 +9,21 @@ package openapi +import ( + "fmt" + "net/http" +) + // GenericOpenAPIError Provides access to the body, error and model on returned errors. type GenericOpenAPIError struct { RawBody []byte - ErrorStatus string + ErrorStatus int ErrorModel interface{} } // Error returns non-empty string if there was an error. func (e GenericOpenAPIError) Error() string { - return e.ErrorStatus + return fmt.Sprintf("%d, %s", e.ErrorStatus, http.StatusText(e.ErrorStatus)) } // Body returns the raw bytes of the response diff --git a/lmf/Broadcast/api_request_ciphering_key_data.go b/lmf/Broadcast/api_request_ciphering_key_data.go new file mode 100644 index 00000000..bbb28547 --- /dev/null +++ b/lmf/Broadcast/api_request_ciphering_key_data.go @@ -0,0 +1,435 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Broadcast + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RequestCipheringKeyDataApiService service + +/* +RequestCipheringKeyDataApiService Request ciphering key data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param CipherRequestData - + +@return CipheringKeyDataResponse +*/ + +// CipheringKeyDataRequest +type CipheringKeyDataRequest struct { + CipherRequestData *models.CipherRequestData +} + +func (r *CipheringKeyDataRequest) SetCipherRequestData(CipherRequestData models.CipherRequestData) { + r.CipherRequestData = &CipherRequestData +} + +type CipheringKeyDataResponse struct { + CipherResponseData models.CipherResponseData +} + +type CipheringKeyDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *RequestCipheringKeyDataApiService) CipheringKeyData(ctx context.Context, request *CipheringKeyDataRequest) (*CipheringKeyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CipheringKeyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/cipher-key-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.CipherRequestData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.CipherResponseData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v CipheringKeyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CipheringKeyDataCipheringKeyDataPostRequest +type CipheringKeyDataCipheringKeyDataPostRequest struct { + CipheringKeyInfo *models.CipheringKeyInfo +} + +func (r *CipheringKeyDataCipheringKeyDataPostRequest) SetCipheringKeyInfo(CipheringKeyInfo models.CipheringKeyInfo) { + r.CipheringKeyInfo = &CipheringKeyInfo +} + +type CipheringKeyDataCipheringKeyDataPostResponse struct { + CipheringKeyResponse models.CipheringKeyResponse +} + +type CipheringKeyDataCipheringKeyDataPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *RequestCipheringKeyDataApiService) CipheringKeyDataCipheringKeyDataPost(ctx context.Context, uri string, request *CipheringKeyDataCipheringKeyDataPostRequest) (*CipheringKeyDataCipheringKeyDataPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CipheringKeyDataCipheringKeyDataPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.CipheringKeyInfo != nil { + localVarPostBody = request.CipheringKeyInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.CipheringKeyResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v CipheringKeyDataCipheringKeyDataPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/lmf/Broadcast/client.go b/lmf/Broadcast/client.go new file mode 100644 index 00000000..ccdce8e4 --- /dev/null +++ b/lmf/Broadcast/client.go @@ -0,0 +1,40 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Broadcast + +// APIClient manages communication with the LMF Broadcast API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + RequestCipheringKeyDataApi *RequestCipheringKeyDataApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.RequestCipheringKeyDataApi = (*RequestCipheringKeyDataApiService)(&c.common) + + return c +} diff --git a/lmf/Broadcast/configuration.go b/lmf/Broadcast/configuration.go new file mode 100644 index 00000000..e07a0fc3 --- /dev/null +++ b/lmf/Broadcast/configuration.go @@ -0,0 +1,82 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Broadcast + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nlmf-broadcast/v1", + url: "{apiRoot}/nlmf-broadcast/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/lmf/Location/api_cancel_location.go b/lmf/Location/api_cancel_location.go new file mode 100644 index 00000000..6a03044e --- /dev/null +++ b/lmf/Location/api_cancel_location.go @@ -0,0 +1,230 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type CancelLocationApiService service + +/* +CancelLocationApiService request cancellation of periodic or triggered location + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param LmfLocationCancelLocData - + +@return CancelLocationResponse +*/ + +// CancelLocationRequest +type CancelLocationRequest struct { + LmfLocationCancelLocData *models.LmfLocationCancelLocData +} + +func (r *CancelLocationRequest) SetLmfLocationCancelLocData(LmfLocationCancelLocData models.LmfLocationCancelLocData) { + r.LmfLocationCancelLocData = &LmfLocationCancelLocData +} + +type CancelLocationResponse struct { +} + +type CancelLocationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *CancelLocationApiService) CancelLocation(ctx context.Context, request *CancelLocationRequest) (*CancelLocationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CancelLocationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/cancel-location" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.LmfLocationCancelLocData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CancelLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CancelLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v CancelLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/lmf/Location/api_determine_location.go b/lmf/Location/api_determine_location.go new file mode 100644 index 00000000..0e34f691 --- /dev/null +++ b/lmf/Location/api_determine_location.go @@ -0,0 +1,432 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DetermineLocationApiService service + +/* +DetermineLocationApiService Determine Location of an UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param DetermineLocationRequest - + +@return DetermineLocationResponse +*/ + +// DetermineLocationRequest +type DetermineLocationRequest struct { + DetermineLocationRequest *models.DetermineLocationRequest +} + +func (r *DetermineLocationRequest) SetDetermineLocationRequest(DetermineLocationRequest models.DetermineLocationRequest) { + r.DetermineLocationRequest = &DetermineLocationRequest +} + +type DetermineLocationResponse struct { + LmfLocationLocationData models.LmfLocationLocationData +} + +type DetermineLocationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DetermineLocationApiService) DetermineLocation(ctx context.Context, request *DetermineLocationRequest) (*DetermineLocationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DetermineLocationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/determine-location" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DetermineLocationRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LmfLocationLocationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v DetermineLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DetermineLocationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v DetermineLocationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// DetermineLocationEventNotifyPostRequest +type DetermineLocationEventNotifyPostRequest struct { + LmfLocationEventNotifyData *models.LmfLocationEventNotifyData +} + +func (r *DetermineLocationEventNotifyPostRequest) SetLmfLocationEventNotifyData(LmfLocationEventNotifyData models.LmfLocationEventNotifyData) { + r.LmfLocationEventNotifyData = &LmfLocationEventNotifyData +} + +type DetermineLocationEventNotifyPostResponse struct { +} + +type DetermineLocationEventNotifyPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *DetermineLocationApiService) DetermineLocationEventNotifyPost(ctx context.Context, uri string, request *DetermineLocationEventNotifyPostRequest) (*DetermineLocationEventNotifyPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DetermineLocationEventNotifyPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.LmfLocationEventNotifyData != nil { + localVarPostBody = request.LmfLocationEventNotifyData + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v DetermineLocationEventNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/lmf/Location/api_location_context_transfer.go b/lmf/Location/api_location_context_transfer.go new file mode 100644 index 00000000..f60cc4d8 --- /dev/null +++ b/lmf/Location/api_location_context_transfer.go @@ -0,0 +1,230 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LocationContextTransferApiService service + +/* +LocationContextTransferApiService transfer context information for periodic or triggered location + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param LocContextData - + +@return LocationContextTransferResponse +*/ + +// LocationContextTransferRequest +type LocationContextTransferRequest struct { + LocContextData *models.LocContextData +} + +func (r *LocationContextTransferRequest) SetLocContextData(LocContextData models.LocContextData) { + r.LocContextData = &LocContextData +} + +type LocationContextTransferResponse struct { +} + +type LocationContextTransferError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *LocationContextTransferApiService) LocationContextTransfer(ctx context.Context, request *LocationContextTransferRequest) (*LocationContextTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue LocationContextTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/location-context-transfer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.LocContextData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v LocationContextTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v LocationContextTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v LocationContextTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/lmf/Location/client.go b/lmf/Location/client.go new file mode 100644 index 00000000..dfe6fc45 --- /dev/null +++ b/lmf/Location/client.go @@ -0,0 +1,44 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +// APIClient manages communication with the LMF Location API v1.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + CancelLocationApi *CancelLocationApiService + DetermineLocationApi *DetermineLocationApiService + LocationContextTransferApi *LocationContextTransferApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.CancelLocationApi = (*CancelLocationApiService)(&c.common) + c.DetermineLocationApi = (*DetermineLocationApiService)(&c.common) + c.LocationContextTransferApi = (*LocationContextTransferApiService)(&c.common) + + return c +} diff --git a/lmf/Location/configuration.go b/lmf/Location/configuration.go new file mode 100644 index 00000000..863e08d3 --- /dev/null +++ b/lmf/Location/configuration.go @@ -0,0 +1,82 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Location + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nlmf-loc/v1", + url: "{apiRoot}/nlmf-loc/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/models/model_3_g_aka_av.go b/models/model_3_g_aka_av.go new file mode 100644 index 00000000..4f950f0a --- /dev/null +++ b/models/model_3_g_aka_av.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains RAND, XRES, AUTN, CK, and IK +type Model3GAkaAv struct { + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` + Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` +} diff --git a/models/model_3_gppps_data_off_status.go b/models/model_3_gppps_data_off_status.go index ebc8c19b..25fb05d6 100644 --- a/models/model_3_gppps_data_off_status.go +++ b/models/model_3_gppps_data_off_status.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_5_g_ddnmf_info.go b/models/model_5_g_ddnmf_info.go new file mode 100644 index 00000000..899c642e --- /dev/null +++ b/models/model_5_g_ddnmf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an 5G DDNMF NF Instance +type Model5GDdnmfInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/model_5_g_srvcc_info.go b/models/model_5_g_srvcc_info.go new file mode 100644 index 00000000..4a629b4a --- /dev/null +++ b/models/model_5_g_srvcc_info.go @@ -0,0 +1,22 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5G SRVCC information for a UE. +type Model5GSrvccInfo struct { + Ue5GSrvccCapability bool `json:"ue5GSrvccCapability" yaml:"ue5GSrvccCapability" bson:"ue5GSrvccCapability,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` +} diff --git a/models/model_5_g_vn_group_configuration.go b/models/model_5_g_vn_group_configuration.go new file mode 100644 index 00000000..a8862be8 --- /dev/null +++ b/models/model_5_g_vn_group_configuration.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GVnGroupConfiguration struct { + Var5gVnGroupData *Model5GVnGroupData `json:"5gVnGroupData,omitempty" yaml:"5gVnGroupData" bson:"5gVnGroupData,omitempty"` + Members []string `json:"members,omitempty" yaml:"members" bson:"members,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_5_g_vn_group_data.go b/models/model_5_g_vn_group_data.go new file mode 100644 index 00000000..582a323a --- /dev/null +++ b/models/model_5_g_vn_group_data.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GVnGroupData struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` + SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` + DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` + DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` + // Fully Qualified Domain Name + DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` +} diff --git a/models/model_5_glan_type_service.go b/models/model_5_glan_type_service.go new file mode 100644 index 00000000..d67004a7 --- /dev/null +++ b/models/model_5_glan_type_service.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GlanTypeService struct { + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` +} diff --git a/models/model_5_gs_user_state.go b/models/model_5_gs_user_state.go new file mode 100644 index 00000000..79a17986 --- /dev/null +++ b/models/model_5_gs_user_state.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GsUserState string + +// List of 5GsUserState +const ( + Model5GsUserState_DEREGISTERED Model5GsUserState = "DEREGISTERED" + Model5GsUserState_CONNECTED_NOT_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_NOT_REACHABLE_FOR_PAGING" + Model5GsUserState_CONNECTED_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_REACHABLE_FOR_PAGING" + Model5GsUserState_NOT_PROVIDED_FROM_AMF Model5GsUserState = "NOT_PROVIDED_FROM_AMF" +) diff --git a/models/model_5_gs_user_state_info.go b/models/model_5_gs_user_state_info.go new file mode 100644 index 00000000..ee139c26 --- /dev/null +++ b/models/model_5_gs_user_state_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the 5GS User state of the UE for an access type +type Model5GsUserStateInfo struct { + Var5gsUserState Model5GsUserState `json:"5gsUserState" yaml:"5gsUserState" bson:"5gsUserState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/model_5_mbs_authorization_info.go b/models/model_5_mbs_authorization_info.go new file mode 100644 index 00000000..dc9c9092 --- /dev/null +++ b/models/model_5_mbs_authorization_info.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5MbsAuthorizationInfo struct { + Var5mbsSessionIds []MbsSessionId `json:"5mbsSessionIds,omitempty" yaml:"5mbsSessionIds" bson:"5mbsSessionIds,omitempty"` +} diff --git a/models/model_aanf_info.go b/models/model_aanf_info.go new file mode 100644 index 00000000..9526daf5 --- /dev/null +++ b/models/model_aanf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the information relative to an AAnF NF Instance. +type AanfInfo struct { + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` +} diff --git a/models/model_abnormal_behaviour.go b/models/model_abnormal_behaviour.go new file mode 100644 index 00000000..b8e74442 --- /dev/null +++ b/models/model_abnormal_behaviour.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the abnormal behaviour information. +type AbnormalBehaviour struct { + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Excep *Exception `json:"excep" yaml:"excep" bson:"excep,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + AddtMeasInfo *AdditionalMeasurement `json:"addtMeasInfo,omitempty" yaml:"addtMeasInfo" bson:"addtMeasInfo,omitempty"` +} diff --git a/models/model_acc_net_ch_id.go b/models/model_acc_net_ch_id.go index f01c5a10..c90d8c5c 100644 --- a/models/model_acc_net_ch_id.go +++ b/models/model_acc_net_ch_id.go @@ -1,18 +1,25 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the access network charging identifier for the PCC rule(s) or for the whole PDU session. type AccNetChId struct { - AccNetChaIdValue int32 `json:"accNetChaIdValue" yaml:"accNetChaIdValue" bson:"accNetChaIdValue" mapstructure:"AccNetChaIdValue"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` + // A character string containing the access network charging id. + AccNetChargId string `json:"accNetChargId,omitempty" yaml:"accNetChargId" bson:"accNetChargId,omitempty"` // Contains the identifier of the PCC rule(s) associated to the provided Access Network Charging Identifier. - RefPccRuleIds []string `json:"refPccRuleIds,omitempty" yaml:"refPccRuleIds" bson:"refPccRuleIds" mapstructure:"RefPccRuleIds"` + RefPccRuleIds []string `json:"refPccRuleIds,omitempty" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` // When it is included and set to true, indicates the Access Network Charging Identifier applies to the whole PDU Session - SessionChScope bool `json:"sessionChScope,omitempty" yaml:"sessionChScope" bson:"sessionChScope" mapstructure:"SessionChScope"` + SessionChScope bool `json:"sessionChScope,omitempty" yaml:"sessionChScope" bson:"sessionChScope,omitempty"` } diff --git a/models/model_acc_net_charging_address.go b/models/model_acc_net_charging_address.go index d4162052..79c98256 100644 --- a/models/model_acc_net_charging_address.go +++ b/models/model_acc_net_charging_address.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_PolicyAuthorization Service API * - * Session Management Policy Control Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,7 @@ package models // Describes the network entity within the access network performing charging type AccNetChargingAddress struct { - AnChargIpv4Addr string `json:"anChargIpv4Addr,omitempty" yaml:"anChargIpv4Addr" bson:"anChargIpv4Addr" mapstructure:"AnChargIpv4Addr"` - AnChargIpv6Addr string `json:"anChargIpv6Addr,omitempty" yaml:"anChargIpv6Addr" bson:"anChargIpv6Addr" mapstructure:"AnChargIpv6Addr"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnChargIpv4Addr string `json:"anChargIpv4Addr,omitempty" yaml:"anChargIpv4Addr" bson:"anChargIpv4Addr,omitempty"` + AnChargIpv6Addr string `json:"anChargIpv6Addr,omitempty" yaml:"anChargIpv6Addr" bson:"anChargIpv6Addr,omitempty"` } diff --git a/models/model_acceptable_mbs_serv_info.go b/models/model_acceptable_mbs_serv_info.go new file mode 100644 index 00000000..7db4ae9a --- /dev/null +++ b/models/model_acceptable_mbs_serv_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the MBS Service Information that can be accepted by the PCF. +type AcceptableMbsServInfo struct { + AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` +} diff --git a/models/model_acceptable_service_info.go b/models/model_acceptable_service_info.go new file mode 100644 index 00000000..2ece2ec9 --- /dev/null +++ b/models/model_acceptable_service_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the maximum bandwidth that shall be authorized by the PCF. +type AcceptableServiceInfo struct { + // Indicates the maximum bandwidth that shall be authorized by the PCF for each media component of the map. The key of the map is the media component number. + AccBwMedComps map[string]MediaComponent `json:"accBwMedComps,omitempty" yaml:"accBwMedComps" bson:"accBwMedComps,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` +} diff --git a/models/model_access_and_mobility_data.go b/models/model_access_and_mobility_data.go index 0b07e223..8fd9c471 100644 --- a/models/model_access_and_mobility_data.go +++ b/models/model_access_and_mobility_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,25 +16,39 @@ import ( "time" ) +// Represents Access and Mobility data for a UE. type AccessAndMobilityData struct { - Location *UserLocation `json:"location,omitempty" bson:"location"` - LocationTs *time.Time `json:"locationTs,omitempty" bson:"locationTs"` - TimeZone string `json:"timeZone,omitempty" bson:"timeZone"` - TimeZoneTs *time.Time `json:"timeZoneTs,omitempty" bson:"timeZoneTs"` - AccessType AccessType `json:"accessType,omitempty" bson:"accessType"` - RegStates []RmInfo `json:"regStates,omitempty" bson:"regStates"` - RegStatesTs *time.Time `json:"regStatesTs,omitempty" bson:"regStatesTs"` - ConnStates []CmInfo `json:"connStates,omitempty" bson:"connStates"` - ConnStatesTs *time.Time `json:"connStatesTs,omitempty" bson:"connStatesTs"` - ReachabilityStatus UeReachability `json:"reachabilityStatus,omitempty" bson:"reachabilityStatus"` - ReachabilityStatusTs *time.Time `json:"reachabilityStatusTs,omitempty" bson:"reachabilityStatusTs"` - SmsOverNasStatus SmsSupport `json:"smsOverNasStatus,omitempty" bson:"smsOverNasStatus"` - SmsOverNasStatusTs *time.Time `json:"smsOverNasStatusTs,omitempty" bson:"smsOverNasStatusTs"` - // True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE. - RoamingStatus bool `json:"roamingStatus,omitempty" bson:"roamingStatus"` - RoamingStatusTs *time.Time `json:"roamingStatusTs,omitempty" bson:"roamingStatusTs"` - CurrentPlmn *PlmnId `json:"currentPlmn,omitempty" bson:"currentPlmn"` - CurrentPlmnTs *time.Time `json:"currentPlmnTs,omitempty" bson:"currentPlmnTs"` - RatType []RatType `json:"ratType,omitempty" bson:"ratType"` - RatTypesTs *time.Time `json:"ratTypesTs,omitempty" bson:"ratTypesTs"` + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LocationTs *time.Time `json:"locationTs,omitempty" yaml:"locationTs" bson:"locationTs,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeZoneTs *time.Time `json:"timeZoneTs,omitempty" yaml:"timeZoneTs" bson:"timeZoneTs,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RegStates []RmInfo `json:"regStates,omitempty" yaml:"regStates" bson:"regStates,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegStatesTs *time.Time `json:"regStatesTs,omitempty" yaml:"regStatesTs" bson:"regStatesTs,omitempty"` + ConnStates []CmInfo `json:"connStates,omitempty" yaml:"connStates" bson:"connStates,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ConnStatesTs *time.Time `json:"connStatesTs,omitempty" yaml:"connStatesTs" bson:"connStatesTs,omitempty"` + ReachabilityStatus UeReachability `json:"reachabilityStatus,omitempty" yaml:"reachabilityStatus" bson:"reachabilityStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReachabilityStatusTs *time.Time `json:"reachabilityStatusTs,omitempty" yaml:"reachabilityStatusTs" bson:"reachabilityStatusTs,omitempty"` + SmsOverNasStatus SmsSupport `json:"smsOverNasStatus,omitempty" yaml:"smsOverNasStatus" bson:"smsOverNasStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SmsOverNasStatusTs *time.Time `json:"smsOverNasStatusTs,omitempty" yaml:"smsOverNasStatusTs" bson:"smsOverNasStatusTs,omitempty"` + // True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE. + RoamingStatus bool `json:"roamingStatus,omitempty" yaml:"roamingStatus" bson:"roamingStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RoamingStatusTs *time.Time `json:"roamingStatusTs,omitempty" yaml:"roamingStatusTs" bson:"roamingStatusTs,omitempty"` + CurrentPlmn *PlmnId `json:"currentPlmn,omitempty" yaml:"currentPlmn" bson:"currentPlmn,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CurrentPlmnTs *time.Time `json:"currentPlmnTs,omitempty" yaml:"currentPlmnTs" bson:"currentPlmnTs,omitempty"` + RatType []RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RatTypesTs *time.Time `json:"ratTypesTs,omitempty" yaml:"ratTypesTs" bson:"ratTypesTs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_access_and_mobility_subscription_data.go b/models/model_access_and_mobility_subscription_data.go index a6b8a065..c7ab0ee8 100644 --- a/models/model_access_and_mobility_subscription_data.go +++ b/models/model_access_and_mobility_subscription_data.go @@ -1,33 +1,80 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AccessAndMobilitySubscriptionData struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` - Gpsis []string `json:"gpsis,omitempty" bson:"gpsis"` - InternalGroupIds []string `json:"internalGroupIds,omitempty" bson:"internalGroupIds"` - SubscribedUeAmbr *AmbrRm `json:"subscribedUeAmbr,omitempty" bson:"subscribedUeAmbr"` - Nssai *Nssai `json:"nssai,omitempty" bson:"nssai"` - RatRestrictions []RatType `json:"ratRestrictions,omitempty" bson:"ratRestrictions"` - ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" bson:"forbiddenAreas"` - ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" bson:"serviceAreaRestriction"` - CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" bson:"coreNetworkTypeRestrictions"` - RfspIndex int32 `json:"rfspIndex,omitempty" bson:"rfspIndex"` - SubsRegTimer int32 `json:"subsRegTimer,omitempty" bson:"subsRegTimer"` - UeUsageType int32 `json:"ueUsageType,omitempty" bson:"ueUsageType"` - MpsPriority bool `json:"mpsPriority,omitempty" bson:"mpsPriority"` - McsPriority bool `json:"mcsPriority,omitempty" bson:"mcsPriority"` - ActiveTime int32 `json:"activeTime,omitempty" bson:"activeTime"` - DlPacketCount int32 `json:"dlPacketCount,omitempty" bson:"dlPacketCount"` - SorInfo *SorInfo `json:"sorInfo,omitempty" bson:"sorInfo"` - MicoAllowed bool `json:"micoAllowed,omitempty" bson:"micoAllowed"` - SharedAmDataIds []string `json:"sharedAmDataIds,omitempty" bson:"sharedAmDataIds"` - OdbPacketServices OdbPacketServices `json:"odbPacketServices,omitempty" bson:"odbPacketServices"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of SharedDataId + SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` + SubscribedUeAmbr *Ambr `json:"subscribedUeAmbr,omitempty" yaml:"subscribedUeAmbr" bson:"subscribedUeAmbr,omitempty"` + Nssai *Nssai `json:"nssai,omitempty" yaml:"nssai" bson:"nssai,omitempty"` + RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` + ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` + // Unsigned integer representing the 'Subscriber Profile ID for RAT/Frequency Priority' as specified in 3GPP TS 36.413 with the OpenAPI 'nullable: true' property. + RfspIndex int32 `json:"rfspIndex,omitempty" yaml:"rfspIndex" bson:"rfspIndex,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + UeUsageType int32 `json:"ueUsageType,omitempty" yaml:"ueUsageType" bson:"ueUsageType,omitempty"` + MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` + McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` + SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` + SorInfoExpectInd bool `json:"sorInfoExpectInd,omitempty" yaml:"sorInfoExpectInd" bson:"sorInfoExpectInd,omitempty"` + SorafRetrieval bool `json:"sorafRetrieval,omitempty" yaml:"sorafRetrieval" bson:"sorafRetrieval,omitempty"` + SorUpdateIndicatorList []SorUpdateIndicator `json:"sorUpdateIndicatorList,omitempty" yaml:"sorUpdateIndicatorList" bson:"sorUpdateIndicatorList,omitempty"` + UpuInfo *UdmSdmUpuInfo `json:"upuInfo,omitempty" yaml:"upuInfo" bson:"upuInfo,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + MicoAllowed bool `json:"micoAllowed,omitempty" yaml:"micoAllowed" bson:"micoAllowed,omitempty"` + SharedAmDataIds []string `json:"sharedAmDataIds,omitempty" yaml:"sharedAmDataIds" bson:"sharedAmDataIds,omitempty"` + OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` + SubscribedDnnList []interface{} `json:"subscribedDnnList,omitempty" yaml:"subscribedDnnList" bson:"subscribedDnnList,omitempty"` + // indicating a time in seconds. + ServiceGapTime int32 `json:"serviceGapTime,omitempty" yaml:"serviceGapTime" bson:"serviceGapTime,omitempty"` + MdtUserConsent MdtUserConsent `json:"mdtUserConsent,omitempty" yaml:"mdtUserConsent" bson:"mdtUserConsent,omitempty"` + MdtConfiguration *MdtConfiguration `json:"mdtConfiguration,omitempty" yaml:"mdtConfiguration" bson:"mdtConfiguration,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` + NbIoTUePriority int32 `json:"nbIoTUePriority,omitempty" yaml:"nbIoTUePriority" bson:"nbIoTUePriority,omitempty"` + NssaiInclusionAllowed bool `json:"nssaiInclusionAllowed,omitempty" yaml:"nssaiInclusionAllowed" bson:"nssaiInclusionAllowed,omitempty"` + // string with format 'bytes' as defined in OpenAPI + RgWirelineCharacteristics string `json:"rgWirelineCharacteristics,omitempty" yaml:"rgWirelineCharacteristics" bson:"rgWirelineCharacteristics,omitempty"` + EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` + ExpectedUeBehaviourList *ExpectedUeBehaviourData `json:"expectedUeBehaviourList,omitempty" yaml:"expectedUeBehaviourList" bson:"expectedUeBehaviourList,omitempty"` + PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` + SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` + EdrxParametersList []EdrxParameters `json:"edrxParametersList,omitempty" yaml:"edrxParametersList" bson:"edrxParametersList,omitempty"` + PtwParametersList []PtwParameters `json:"ptwParametersList,omitempty" yaml:"ptwParametersList" bson:"ptwParametersList,omitempty"` + IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` + // A map (list of key-value pairs where PlmnId serves as key) of PlmnRestriction + AdjacentPlmnRestrictions map[string]PlmnRestriction `json:"adjacentPlmnRestrictions,omitempty" yaml:"adjacentPlmnRestrictions" bson:"adjacentPlmnRestrictions,omitempty"` + WirelineForbiddenAreas []WirelineArea `json:"wirelineForbiddenAreas,omitempty" yaml:"wirelineForbiddenAreas" bson:"wirelineForbiddenAreas,omitempty"` + WirelineServiceAreaRestriction *WirelineServiceAreaRestriction `json:"wirelineServiceAreaRestriction,omitempty" yaml:"wirelineServiceAreaRestriction" bson:"wirelineServiceAreaRestriction,omitempty"` + PcfSelectionAssistanceInfos []PcfSelectionAssistanceInfo `json:"pcfSelectionAssistanceInfos,omitempty" yaml:"pcfSelectionAssistanceInfos" bson:"pcfSelectionAssistanceInfos,omitempty"` + AerialUeSubInfo *AerialUeSubscriptionInfo `json:"aerialUeSubInfo,omitempty" yaml:"aerialUeSubInfo" bson:"aerialUeSubInfo,omitempty"` + RoamingRestrictions *RoamingRestrictions `json:"roamingRestrictions,omitempty" yaml:"roamingRestrictions" bson:"roamingRestrictions,omitempty"` + RemoteProvInd bool `json:"remoteProvInd,omitempty" yaml:"remoteProvInd" bson:"remoteProvInd,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` } diff --git a/models/model_access_net_charging_identifier.go b/models/model_access_net_charging_identifier.go new file mode 100644 index 00000000..45c22e57 --- /dev/null +++ b/models/model_access_net_charging_identifier.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the access network charging identifier. +type AccessNetChargingIdentifier struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` + // A character string containing the access network charging identifier. + AccNetChargIdString string `json:"accNetChargIdString,omitempty" yaml:"accNetChargIdString" bson:"accNetChargIdString,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/model_access_network_id.go b/models/model_access_network_id.go new file mode 100644 index 00000000..6be0ff7b --- /dev/null +++ b/models/model_access_network_id.go @@ -0,0 +1,23 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessNetworkId string + +// List of AccessNetworkId +const ( + AccessNetworkId_HRPD AccessNetworkId = "HRPD" + AccessNetworkId_WIMAX AccessNetworkId = "WIMAX" + AccessNetworkId_WLAN AccessNetworkId = "WLAN" + AccessNetworkId_ETHERNET AccessNetworkId = "ETHERNET" +) diff --git a/models/model_access_network_info_change.go b/models/model_access_network_info_change.go new file mode 100644 index 00000000..398eed05 --- /dev/null +++ b/models/model_access_network_info_change.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AccessNetworkInfoChange struct { + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/model_access_right_status.go b/models/model_access_right_status.go new file mode 100644 index 00000000..9df51636 --- /dev/null +++ b/models/model_access_right_status.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessRightStatus string + +// List of AccessRightStatus +const ( + AccessRightStatus_FULLY_ALLOWED AccessRightStatus = "FULLY_ALLOWED" + AccessRightStatus_PREVIEW_ALLOWED AccessRightStatus = "PREVIEW_ALLOWED" + AccessRightStatus_NO_ALLOWED AccessRightStatus = "NO_ALLOWED" +) diff --git a/models/model_access_state_transition_type.go b/models/model_access_state_transition_type.go new file mode 100644 index 00000000..08a95129 --- /dev/null +++ b/models/model_access_state_transition_type.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessStateTransitionType string + +// List of AccessStateTransitionType +const ( + AccessStateTransitionType_ACCESS_TYPE_CHANGE_3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_3GPP" + AccessStateTransitionType_ACCESS_TYPE_CHANGE_N3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_N3GPP" + AccessStateTransitionType_RM_STATE_CHANGE_DEREGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_DEREGISTERED" + AccessStateTransitionType_RM_STATE_CHANGE_REGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_REGISTERED" + AccessStateTransitionType_CM_STATE_CHANGE_IDLE AccessStateTransitionType = "CM_STATE_CHANGE_IDLE" + AccessStateTransitionType_CM_STATE_CHANGE_CONNECTED AccessStateTransitionType = "CM_STATE_CHANGE_CONNECTED" + AccessStateTransitionType_HANDOVER AccessStateTransitionType = "HANDOVER" + AccessStateTransitionType_MOBILITY_REGISTRATION_UPDATE AccessStateTransitionType = "MOBILITY_REGISTRATION_UPDATE" +) diff --git a/models/model_access_tech.go b/models/model_access_tech.go index 5621e292..18805325 100644 --- a/models/model_access_tech.go +++ b/models/model_access_tech.go @@ -1,9 +1,12 @@ /* - * Nudr_DataRepository API OpenAPI file + * Nausf_SoRProtection Service * - * Unified Data Repository Service + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_access_token_claims.go b/models/model_access_token_claims.go index 36ec1551..8b8f8d4d 100644 --- a/models/model_access_token_claims.go +++ b/models/model_access_token_claims.go @@ -1,9 +1,12 @@ /* * NRF OAuth2 * - * NRF OAuth2 Authorization + * NRF OAuth2 Authorization. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.510 V16.8.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,11 +14,17 @@ package models import "github.com/golang-jwt/jwt" +// The claims data structure for the access token type AccessTokenClaims struct { - Iss string `json:"iss" yaml:"iss" bson:"iss" mapstructure:"Iss"` - Sub string `json:"sub" yaml:"sub" bson:"sub" mapstructure:"Sub"` - Aud interface{} `json:"aud" yaml:"aud" bson:"aud" mapstructure:"Aud"` - Scope string `json:"scope" yaml:"scope" bson:"scope" mapstructure:"Scope"` - Exp int32 `json:"exp" yaml:"exp" bson:"exp" mapstructure:"Exp"` + Iss string `json:"iss" yaml:"iss" bson:"iss,omitempty"` + Sub string `json:"sub" yaml:"sub" bson:"sub,omitempty"` + Aud interface{} `json:"aud" yaml:"aud" bson:"aud,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + Exp int32 `json:"exp" yaml:"exp" bson:"exp,omitempty"` + ConsumerPlmnId *PlmnId `json:"consumerPlmnId,omitempty" yaml:"consumerPlmnId" bson:"consumerPlmnId,omitempty"` + ProducerPlmnId *PlmnId `json:"producerPlmnId,omitempty" yaml:"producerPlmnId" bson:"producerPlmnId,omitempty"` + ProducerSnssaiList []Snssai `json:"producerSnssaiList,omitempty" yaml:"producerSnssaiList" bson:"producerSnssaiList,omitempty"` + ProducerNsiList []string `json:"producerNsiList,omitempty" yaml:"producerNsiList" bson:"producerNsiList,omitempty"` + ProducerNfSetId string `json:"producerNfSetId,omitempty" yaml:"producerNfSetId" bson:"producerNfSetId,omitempty"` jwt.StandardClaims } diff --git a/models/model_access_token_err.go b/models/model_access_token_err.go index dce3284e..d6336efe 100644 --- a/models/model_access_token_err.go +++ b/models/model_access_token_err.go @@ -1,9 +1,12 @@ /* - * NRF OAuth2 + * Nhss_imsSDM * - * NRF OAuth2 Authorization + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,7 @@ package models // Error returned in the access token response message type AccessTokenErr struct { - Error string `json:"error" yaml:"error" bson:"error" mapstructure:"Error"` - ErrorDescription string `json:"error_description,omitempty" yaml:"error_description" bson:"error_description" mapstructure:"ErrorDescription"` - ErrorUri string `json:"error_uri,omitempty" yaml:"error_uri" bson:"error_uri" mapstructure:"ErrorUri"` + Error string `json:"error" yaml:"error" bson:"error,omitempty"` + ErrorDescription string `json:"error_description,omitempty" yaml:"error_description" bson:"error_description,omitempty"` + ErrorUri string `json:"error_uri,omitempty" yaml:"error_uri" bson:"error_uri,omitempty"` } diff --git a/models/model_access_token_req.go b/models/model_access_token_req.go index 316c588b..352f1fcf 100644 --- a/models/model_access_token_req.go +++ b/models/model_access_token_req.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nudr_DataRepository API OpenAPI file * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,21 +14,21 @@ package models // Contains information related to the access token request type AccessTokenReq struct { - GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type" mapstructure:"GrantType"` - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` - NfType NfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType" mapstructure:"NfType"` - TargetNfType NfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType" mapstructure:"TargetNfType"` - Scope string `json:"scope" yaml:"scope" bson:"scope" mapstructure:"Scope"` - TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId" mapstructure:"TargetNfInstanceId"` - RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn" mapstructure:"RequesterPlmn"` - RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList" mapstructure:"RequesterPlmnList"` - RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList" mapstructure:"RequesterSnssaiList"` + GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType NfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + TargetNfType NfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` + RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` + RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` + RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` // Fully Qualified Domain Name - RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn" mapstructure:"RequesterFqdn"` - RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList" mapstructure:"RequesterSnpnList"` - TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn" mapstructure:"TargetPlmn"` - TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList" mapstructure:"TargetSnssaiList"` - TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList" mapstructure:"TargetNsiList"` - TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId" mapstructure:"TargetNfSetId"` - TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId" mapstructure:"TargetNfServiceSetId"` + RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` + RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` + TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` + TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` + TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` } diff --git a/models/model_access_token_req_1.go b/models/model_access_token_req_1.go new file mode 100644 index 00000000..75b4a802 --- /dev/null +++ b/models/model_access_token_req_1.go @@ -0,0 +1,34 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.8.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the access token request +type AccessTokenReq1 struct { + GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType NfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + TargetNfType NfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` + RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` + RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` + RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` + // Fully Qualified Domain Name + RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` + RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` + TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` + TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` + TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` +} diff --git a/models/model_access_token_rsp.go b/models/model_access_token_rsp.go index f138372b..52a67d71 100644 --- a/models/model_access_token_rsp.go +++ b/models/model_access_token_rsp.go @@ -1,18 +1,22 @@ /* * NRF OAuth2 * - * NRF OAuth2 Authorization + * NRF OAuth2 Authorization. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.510 V16.8.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains information related to the access token response type AccessTokenRsp struct { // JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) - AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token" mapstructure:"AccessToken"` - TokenType string `json:"token_type" yaml:"token_type" bson:"token_type" mapstructure:"TokenType"` - ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in" mapstructure:"ExpiresIn"` - Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope" mapstructure:"Scope"` + AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token,omitempty"` + TokenType string `json:"token_type" yaml:"token_type" bson:"token_type,omitempty"` + ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in,omitempty"` + Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope,omitempty"` } diff --git a/models/model_access_transfer_information.go b/models/model_access_transfer_information.go new file mode 100644 index 00000000..6a77a49d --- /dev/null +++ b/models/model_access_transfer_information.go @@ -0,0 +1,31 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AccessTransferInformation struct { + AccessTransferType AccessTransferType `json:"accessTransferType,omitempty" yaml:"accessTransferType" bson:"accessTransferType,omitempty"` + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + InterUETransfer UeTransferType `json:"interUETransfer,omitempty" yaml:"interUETransfer" bson:"interUETransfer,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` + InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` + RelatedIMSChargingIdentifier string `json:"relatedIMSChargingIdentifier,omitempty" yaml:"relatedIMSChargingIdentifier" bson:"relatedIMSChargingIdentifier,omitempty"` + RelatedIMSChargingIdentifierNode *ImsAddress `json:"relatedIMSChargingIdentifierNode,omitempty" yaml:"relatedIMSChargingIdentifierNode" bson:"relatedIMSChargingIdentifierNode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/model_access_transfer_type.go b/models/model_access_transfer_type.go new file mode 100644 index 00000000..6b1ba35c --- /dev/null +++ b/models/model_access_transfer_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessTransferType string + +// List of AccessTransferType +const ( + AccessTransferType_PS_TO_CS AccessTransferType = "PS_TO_CS" + AccessTransferType_CS_TO_PS AccessTransferType = "CS_TO_PS" + AccessTransferType_PS_TO_PS AccessTransferType = "PS_TO_PS" + AccessTransferType_CS_TO_CS AccessTransferType = "CS_TO_CS" +) diff --git a/models/model_access_type.go b/models/model_access_type.go index cd1aa7e2..c833edec 100644 --- a/models/model_access_type.go +++ b/models/model_access_type.go @@ -1,9 +1,12 @@ /* - * Nsmf_EventExposure + * Nhss_imsSDM * - * Session Management Event Exposure Service API + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_access_type_1.go b/models/model_access_type_1.go new file mode 100644 index 00000000..f7003eac --- /dev/null +++ b/models/model_access_type_1.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.8.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type AccessType1 string + +// List of AccessType_1 +const ( + AccessType1__3_GPP_ACCESS AccessType1 = "3GPP_ACCESS" + AccessType1_NON_3_GPP_ACCESS AccessType1 = "NON_3GPP_ACCESS" +) + + diff --git a/models/model_access_type_rm.go b/models/model_access_type_rm.go index 2f5289bd..2e439675 100644 --- a/models/model_access_type_rm.go +++ b/models/model_access_type_rm.go @@ -1,12 +1,16 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type AccessTypeRm struct{} +type AccessTypeRm struct { +} diff --git a/models/model_accu_usage_report.go b/models/model_accu_usage_report.go index 88573592..5719d5c2 100644 --- a/models/model_accu_usage_report.go +++ b/models/model_accu_usage_report.go @@ -1,29 +1,35 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the accumulated usage report information. type AccuUsageReport struct { // An id referencing UsageMonitoringData objects associated with this usage report. - RefUmIds string `json:"refUmIds" yaml:"refUmIds" bson:"refUmIds" mapstructure:"RefUmIds"` + RefUmIds string `json:"refUmIds" yaml:"refUmIds" bson:"refUmIds,omitempty"` // Unsigned integer identifying a volume in units of bytes. - VolUsage int64 `json:"volUsage,omitempty" yaml:"volUsage" bson:"volUsage" mapstructure:"VolUsage"` + VolUsage int64 `json:"volUsage,omitempty" yaml:"volUsage" bson:"volUsage,omitempty"` // Unsigned integer identifying a volume in units of bytes. - VolUsageUplink int64 `json:"volUsageUplink,omitempty" yaml:"volUsageUplink" bson:"volUsageUplink" mapstructure:"VolUsageUplink"` + VolUsageUplink int64 `json:"volUsageUplink,omitempty" yaml:"volUsageUplink" bson:"volUsageUplink,omitempty"` // Unsigned integer identifying a volume in units of bytes. - VolUsageDownlink int64 `json:"volUsageDownlink,omitempty" yaml:"volUsageDownlink" bson:"volUsageDownlink" mapstructure:"VolUsageDownlink"` - TimeUsage int32 `json:"timeUsage,omitempty" yaml:"timeUsage" bson:"timeUsage" mapstructure:"TimeUsage"` + VolUsageDownlink int64 `json:"volUsageDownlink,omitempty" yaml:"volUsageDownlink" bson:"volUsageDownlink,omitempty"` + // indicating a time in seconds. + TimeUsage int32 `json:"timeUsage,omitempty" yaml:"timeUsage" bson:"timeUsage,omitempty"` // Unsigned integer identifying a volume in units of bytes. - NextVolUsage int64 `json:"nextVolUsage,omitempty" yaml:"nextVolUsage" bson:"nextVolUsage" mapstructure:"NextVolUsage"` + NextVolUsage int64 `json:"nextVolUsage,omitempty" yaml:"nextVolUsage" bson:"nextVolUsage,omitempty"` // Unsigned integer identifying a volume in units of bytes. - NextVolUsageUplink int64 `json:"nextVolUsageUplink,omitempty" yaml:"nextVolUsageUplink" bson:"nextVolUsageUplink" mapstructure:"NextVolUsageUplink"` + NextVolUsageUplink int64 `json:"nextVolUsageUplink,omitempty" yaml:"nextVolUsageUplink" bson:"nextVolUsageUplink,omitempty"` // Unsigned integer identifying a volume in units of bytes. - NextVolUsageDownlink int64 `json:"nextVolUsageDownlink,omitempty" yaml:"nextVolUsageDownlink" bson:"nextVolUsageDownlink" mapstructure:"NextVolUsageDownlink"` - NextTimeUsage int32 `json:"nextTimeUsage,omitempty" yaml:"nextTimeUsage" bson:"nextTimeUsage" mapstructure:"NextTimeUsage"` + NextVolUsageDownlink int64 `json:"nextVolUsageDownlink,omitempty" yaml:"nextVolUsageDownlink" bson:"nextVolUsageDownlink,omitempty"` + // indicating a time in seconds. + NextTimeUsage int32 `json:"nextTimeUsage,omitempty" yaml:"nextTimeUsage" bson:"nextTimeUsage,omitempty"` } diff --git a/models/model_accumulated_usage.go b/models/model_accumulated_usage.go index 7d3023c9..95fad55b 100644 --- a/models/model_accumulated_usage.go +++ b/models/model_accumulated_usage.go @@ -1,21 +1,25 @@ /* - * Npcf_PolicyAuthorization Service API + * 3gpp-as-session-with-qos * - * This is the Policy Authorization Service + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents an accumulated usage. type AccumulatedUsage struct { // Unsigned integer identifying a period of time in units of seconds. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration" mapstructure:"Duration"` + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` // Unsigned integer identifying a volume in units of bytes. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` } diff --git a/models/model_accuracy_fulfilment_indicator.go b/models/model_accuracy_fulfilment_indicator.go index 75138c9e..f95178c4 100644 --- a/models/model_accuracy_fulfilment_indicator.go +++ b/models/model_accuracy_fulfilment_indicator.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ack_of_notify.go b/models/model_ack_of_notify.go new file mode 100644 index 00000000..bee6f1ce --- /dev/null +++ b/models/model_ack_of_notify.go @@ -0,0 +1,23 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an acknowledgement information of an event notification. +type AckOfNotify struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/model_acknowledge_info.go b/models/model_acknowledge_info.go index df8b4594..6fed1f97 100644 --- a/models/model_acknowledge_info.go +++ b/models/model_acknowledge_info.go @@ -1,9 +1,12 @@ /* * Nudm_SDM * - * Nudm Subscriber Data Management Service + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,8 +17,15 @@ import ( ) type AcknowledgeInfo struct { - SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue" mapstructure:"SorMacIue"` - UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue" mapstructure:"UpuMacIue"` - SecuredPacket string `json:"securedPacket,omitempty" yaml:"securedPacket" bson:"securedPacket" mapstructure:"SecuredPacket"` - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime" mapstructure:"ProvisioningTime"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` + UeNotReachable bool `json:"ueNotReachable,omitempty" yaml:"ueNotReachable" bson:"ueNotReachable,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` } diff --git a/models/model_acs_info.go b/models/model_acs_info.go new file mode 100644 index 00000000..1dd11d87 --- /dev/null +++ b/models/model_acs_info.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The ACS information for the 5G-RG is defined in BBF TR-069 [42] or in BBF TR-369 +type AcsInfo struct { + // String providing an URI formatted according to RFC 3986. + AcsUrl string `json:"acsUrl,omitempty" yaml:"acsUrl" bson:"acsUrl,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AcsIpv4Addr string `json:"acsIpv4Addr,omitempty" yaml:"acsIpv4Addr" bson:"acsIpv4Addr,omitempty"` + AcsIpv6Addr string `json:"acsIpv6Addr,omitempty" yaml:"acsIpv6Addr" bson:"acsIpv6Addr,omitempty"` +} diff --git a/models/model_acs_info_rm.go b/models/model_acs_info_rm.go new file mode 100644 index 00000000..0c532d0c --- /dev/null +++ b/models/model_acs_info_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AcsInfoRm struct { +} diff --git a/models/model_activation_state.go b/models/model_activation_state.go new file mode 100644 index 00000000..8e4babea --- /dev/null +++ b/models/model_activation_state.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ActivationState string + +// List of ActivationState +const ( + ActivationState_ACTIVE ActivationState = "ACTIVE" + ActivationState_INACTIVE ActivationState = "INACTIVE" +) diff --git a/models/model_addition_info_analytics_info_request.go b/models/model_addition_info_analytics_info_request.go new file mode 100644 index 00000000..208ec765 --- /dev/null +++ b/models/model_addition_info_analytics_info_request.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates additional information why the analytics request is rejected. +type AdditionInfoAnalyticsInfoRequest struct { + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` +} diff --git a/models/model_addition_info_enable_ue_reachability.go b/models/model_addition_info_enable_ue_reachability.go new file mode 100644 index 00000000..68cb4c07 --- /dev/null +++ b/models/model_addition_info_enable_ue_reachability.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information to be returned in EnableUeReachability error response +type AdditionInfoEnableUeReachability struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_additional_access_info.go b/models/model_additional_access_info.go new file mode 100644 index 00000000..27048b96 --- /dev/null +++ b/models/model_additional_access_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the combination of additional Access Type and RAT Type for a MA PDU session. +type AdditionalAccessInfo struct { + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/model_additional_ee_subs_info.go b/models/model_additional_ee_subs_info.go new file mode 100644 index 00000000..33f3a5d1 --- /dev/null +++ b/models/model_additional_ee_subs_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdditionalEeSubsInfo struct { + AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` + SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` +} diff --git a/models/model_additional_measurement.go b/models/model_additional_measurement.go new file mode 100644 index 00000000..6f53f73f --- /dev/null +++ b/models/model_additional_measurement.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents additional measurement information. +type AdditionalMeasurement struct { + UnexpLoc *NetworkAreaInfo `json:"unexpLoc,omitempty" yaml:"unexpLoc" bson:"unexpLoc,omitempty"` + UnexpFlowTeps []IpEthFlowDescription `json:"unexpFlowTeps,omitempty" yaml:"unexpFlowTeps" bson:"unexpFlowTeps,omitempty"` + UnexpWakes []time.Time `json:"unexpWakes,omitempty" yaml:"unexpWakes" bson:"unexpWakes,omitempty"` + DdosAttack *AddressList `json:"ddosAttack,omitempty" yaml:"ddosAttack" bson:"ddosAttack,omitempty"` + WrgDest *AddressList `json:"wrgDest,omitempty" yaml:"wrgDest" bson:"wrgDest,omitempty"` + Circums []CircumstanceDescription `json:"circums,omitempty" yaml:"circums" bson:"circums,omitempty"` +} diff --git a/models/model_additional_qos_flow_info.go b/models/model_additional_qos_flow_info.go index c27d0aa8..0f5806c0 100644 --- a/models/model_additional_qos_flow_info.go +++ b/models/model_additional_qos_flow_info.go @@ -1,17 +1,16 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type AdditionalQosFlowInfo string - -// List of AdditionalQosFlowInfo -const ( - AdditionalQosFlowInfo_MORE_LIKELY AdditionalQosFlowInfo = "MORE_LIKELY" -) +type AdditionalQosFlowInfo struct { +} diff --git a/models/model_additional_snssai_data.go b/models/model_additional_snssai_data.go new file mode 100644 index 00000000..7baedd27 --- /dev/null +++ b/models/model_additional_snssai_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdditionalSnssaiData struct { + RequiredAuthnAuthz bool `json:"requiredAuthnAuthz,omitempty" yaml:"requiredAuthnAuthz" bson:"requiredAuthnAuthz,omitempty"` + SubscribedUeSliceMbr *SliceMbr `json:"subscribedUeSliceMbr,omitempty" yaml:"subscribedUeSliceMbr" bson:"subscribedUeSliceMbr,omitempty"` + SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` +} diff --git a/models/model_addr_fqdn.go b/models/model_addr_fqdn.go new file mode 100644 index 00000000..ac378729 --- /dev/null +++ b/models/model_addr_fqdn.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP address and/or FQDN. +type AddrFqdn struct { + IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` + // Indicates an FQDN. + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` +} diff --git a/models/model_address_list.go b/models/model_address_list.go new file mode 100644 index 00000000..38a6ac5b --- /dev/null +++ b/models/model_address_list.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of IPv4 and/or IPv6 addresses. +type AddressList struct { + Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` +} diff --git a/models/model_administrative_state.go b/models/model_administrative_state.go new file mode 100644 index 00000000..e6f7e757 --- /dev/null +++ b/models/model_administrative_state.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdministrativeState string + +// List of AdministrativeState +const ( + AdministrativeState_LOCKED AdministrativeState = "LOCKED" + AdministrativeState_UNLOCKED AdministrativeState = "UNLOCKED" +) diff --git a/models/model_adrf_data_type.go b/models/model_adrf_data_type.go new file mode 100644 index 00000000..bfc4a1e2 --- /dev/null +++ b/models/model_adrf_data_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdrfDataType string + +// List of AdrfDataType +const ( + AdrfDataType_ANALYTICS AdrfDataType = "HISTORICAL_ANALYTICS" + AdrfDataType_DATA AdrfDataType = "HISTORICAL_DATA" +) diff --git a/models/model_aerial_ue_indication.go b/models/model_aerial_ue_indication.go new file mode 100644 index 00000000..1cce65f9 --- /dev/null +++ b/models/model_aerial_ue_indication.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AerialUeIndication string + +// List of AerialUeIndication +const ( + AerialUeIndication_ALLOWED AerialUeIndication = "AERIAL_UE_ALLOWED" + AerialUeIndication_NOT_ALLOWED AerialUeIndication = "AERIAL_UE_NOT_ALLOWED" +) diff --git a/models/model_aerial_ue_subscription_info.go b/models/model_aerial_ue_subscription_info.go new file mode 100644 index 00000000..2e508991 --- /dev/null +++ b/models/model_aerial_ue_subscription_info.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Aerial UE Subscription Information, it at least contains the Aerial UE Indication. +type AerialUeSubscriptionInfo struct { + AerialUeInd AerialUeIndication `json:"aerialUeInd" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Var3gppUavId string `json:"3gppUavId,omitempty" yaml:"3gppUavId" bson:"3gppUavId,omitempty"` +} diff --git a/models/model_af_ack_info.go b/models/model_af_ack_info.go new file mode 100644 index 00000000..84c3a8cb --- /dev/null +++ b/models/model_af_ack_info.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents acknowledgement information of a traffic influence event notification. +type AfAckInfo struct { + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/model_af_coordination_info.go b/models/model_af_coordination_info.go new file mode 100644 index 00000000..6d8377a4 --- /dev/null +++ b/models/model_af_coordination_info.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AF Coordination Information +type AfCoordinationInfo struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` + SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` + NotificationInfoList []SmfPduSessionNotificationInfo `json:"notificationInfoList,omitempty" yaml:"notificationInfoList" bson:"notificationInfoList,omitempty"` +} diff --git a/models/model_af_event.go b/models/model_af_event.go index 8f6c457e..bc627f6c 100644 --- a/models/model_af_event.go +++ b/models/model_af_event.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,9 +17,17 @@ type AfEvent string // List of AfEvent const ( AfEvent_ACCESS_TYPE_CHANGE AfEvent = "ACCESS_TYPE_CHANGE" + AfEvent_ANI_REPORT AfEvent = "ANI_REPORT" + AfEvent_CHARGING_CORRELATION AfEvent = "CHARGING_CORRELATION" + AfEvent_EPS_FALLBACK AfEvent = "EPS_FALLBACK" AfEvent_FAILED_RESOURCES_ALLOCATION AfEvent = "FAILED_RESOURCES_ALLOCATION" + AfEvent_OUT_OF_CREDIT AfEvent = "OUT_OF_CREDIT" AfEvent_PLMN_CHG AfEvent = "PLMN_CHG" + AfEvent_QOS_MONITORING AfEvent = "QOS_MONITORING" AfEvent_QOS_NOTIF AfEvent = "QOS_NOTIF" + AfEvent_RAN_NAS_CAUSE AfEvent = "RAN_NAS_CAUSE" + AfEvent_REALLOCATION_OF_CREDIT AfEvent = "REALLOCATION_OF_CREDIT" AfEvent_SUCCESSFUL_RESOURCES_ALLOCATION AfEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" + AfEvent_TSN_BRIDGE_INFO AfEvent = "TSN_BRIDGE_INFO" AfEvent_USAGE_REPORT AfEvent = "USAGE_REPORT" ) diff --git a/models/model_af_event_exposure_af_event.go b/models/model_af_event_exposure_af_event.go new file mode 100644 index 00000000..28e5c71a --- /dev/null +++ b/models/model_af_event_exposure_af_event.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfEventExposureAfEvent string + +// List of AfEventExposureAfEvent +const ( + AfEventExposureAfEvent_SVC_EXPERIENCE AfEventExposureAfEvent = "SVC_EXPERIENCE" + AfEventExposureAfEvent_UE_MOBILITY AfEventExposureAfEvent = "UE_MOBILITY" + AfEventExposureAfEvent_UE_COMM AfEventExposureAfEvent = "UE_COMM" + AfEventExposureAfEvent_EXCEPTIONS AfEventExposureAfEvent = "EXCEPTIONS" + AfEventExposureAfEvent_USER_DATA_CONGESTION AfEventExposureAfEvent = "USER_DATA_CONGESTION" + AfEventExposureAfEvent_PERF_DATA AfEventExposureAfEvent = "PERF_DATA" + AfEventExposureAfEvent_DISPERSION AfEventExposureAfEvent = "DISPERSION" + AfEventExposureAfEvent_COLLECTIVE_BEHAVIOUR AfEventExposureAfEvent = "COLLECTIVE_BEHAVIOUR" + AfEventExposureAfEvent_MS_QOE_METRICS AfEventExposureAfEvent = "MS_QOE_METRICS" + AfEventExposureAfEvent_MS_CONSUMPTION AfEventExposureAfEvent = "MS_CONSUMPTION" + AfEventExposureAfEvent_MS_NET_ASSIST_INVOCATION AfEventExposureAfEvent = "MS_NET_ASSIST_INVOCATION" + AfEventExposureAfEvent_MS_DYN_POLICY_INVOCATION AfEventExposureAfEvent = "MS_DYN_POLICY_INVOCATION" + AfEventExposureAfEvent_MS_ACCESS_ACTIVITY AfEventExposureAfEvent = "MS_ACCESS_ACTIVITY" +) diff --git a/models/model_af_event_exposure_af_event_notification.go b/models/model_af_event_exposure_af_event_notification.go new file mode 100644 index 00000000..69688de9 --- /dev/null +++ b/models/model_af_event_exposure_af_event_notification.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information related to an event to be reported. +type AfEventExposureAfEventNotification struct { + Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + SvcExprcInfos []ServiceExperienceInfoPerApp `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` + UeMobilityInfos []UeMobilityCollection `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` + UeCommInfos []UeCommunicationCollection `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` + ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` + CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` + PerfDataInfos []PerformanceDataCollection `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` + DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` + CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` + MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` + MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` + MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` + MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` + MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` +} diff --git a/models/model_af_event_exposure_data.go b/models/model_af_event_exposure_data.go new file mode 100644 index 00000000..8096e345 --- /dev/null +++ b/models/model_af_event_exposure_data.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AF Event Exposure data managed by a given NEF Instance +type AfEventExposureData struct { + AfEvents []AfEventExposureAfEvent `json:"afEvents" yaml:"afEvents" bson:"afEvents,omitempty"` + AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` +} diff --git a/models/model_af_event_exposure_dispersion_collection.go b/models/model_af_event_exposure_dispersion_collection.go new file mode 100644 index 00000000..6217b445 --- /dev/null +++ b/models/model_af_event_exposure_dispersion_collection.go @@ -0,0 +1,30 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the dispersion information collected for an AF. +type AfEventExposureDispersionCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UeAddr *IpAddr `json:"ueAddr,omitempty" yaml:"ueAddr" bson:"ueAddr,omitempty"` + DataUsage *UsageThreshold `json:"dataUsage" yaml:"dataUsage" bson:"dataUsage,omitempty"` + // Defines a packet filter of an IP flow. + FlowDesp string `json:"flowDesp,omitempty" yaml:"flowDesp" bson:"flowDesp,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + // indicating a time in seconds. + AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` +} diff --git a/models/model_af_event_exposure_event_filter.go b/models/model_af_event_exposure_event_filter.go new file mode 100644 index 00000000..74d66016 --- /dev/null +++ b/models/model_af_event_exposure_event_filter.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents event filter information for an event. +type AfEventExposureEventFilter struct { + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + ExterGroupIds []string `json:"exterGroupIds,omitempty" yaml:"exterGroupIds" bson:"exterGroupIds,omitempty"` + InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + LocArea *LocationArea5G `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` +} diff --git a/models/model_af_event_exposure_notif.go b/models/model_af_event_exposure_notif.go new file mode 100644 index 00000000..7f11c332 --- /dev/null +++ b/models/model_af_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on application event(s) that occurred for an Individual Application Event Subscription resource. +type AfEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/model_af_event_exposure_subsc.go b/models/model_af_event_exposure_subsc.go new file mode 100644 index 00000000..8f334f6c --- /dev/null +++ b/models/model_af_event_exposure_subsc.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Application Event Subscription resource. +type AfEventExposureSubsc struct { + DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` + EventsSubs []EventsSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_af_event_notification.go b/models/model_af_event_notification.go index 3fb06d02..098d2168 100644 --- a/models/model_af_event_notification.go +++ b/models/model_af_event_notification.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,6 @@ package models // describes the event information delivered in the notification type AfEventNotification struct { - Event AfEvent `json:"event" yaml:"event" bson:"event" mapstructure:"Event"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows" mapstructure:"Flows"` + Event AfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` } diff --git a/models/model_af_event_subscription.go b/models/model_af_event_subscription.go index be02bb3a..d5070889 100644 --- a/models/model_af_event_subscription.go +++ b/models/model_af_event_subscription.go @@ -1,16 +1,23 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// describes the event information delivered in the subscription +// Describes the event information delivered in the subscription. type AfEventSubscription struct { - Event AfEvent `json:"event" yaml:"event" bson:"event" mapstructure:"Event"` - NotifMethod AfNotifMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod" mapstructure:"NotifMethod"` + Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + NotifMethod AfNotifMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` } diff --git a/models/model_af_external.go b/models/model_af_external.go new file mode 100644 index 00000000..6e4ad27e --- /dev/null +++ b/models/model_af_external.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfExternal struct { + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/model_af_location_area.go b/models/model_af_location_area.go new file mode 100644 index 00000000..78022520 --- /dev/null +++ b/models/model_af_location_area.go @@ -0,0 +1,28 @@ +/* + * 3gpp-pfd-management + * + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AFLocationArea struct { + // Indicates a list of Cell Global Identities of the user which identifies the cell the UE is registered. + CellIds []string `json:"cellIds,omitempty" yaml:"cellIds" bson:"cellIds"` + // Indicates a list of eNodeB identities in which the UE is currently located. + EnodeBIds []string `json:"enodeBIds,omitempty" yaml:"enodeBIds" bson:"enodeBIds"` + // Identifies a list of Routing Area Identities of the user where the UE is located. + RoutingAreaIds []string `json:"routingAreaIds,omitempty" yaml:"routingAreaIds" bson:"routingAreaIds"` + // Identifies a list of Tracking Area Identities of the user where the UE is located. + TrackingAreaIds []string `json:"trackingAreaIds,omitempty" yaml:"trackingAreaIds" bson:"trackingAreaIds"` + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses"` +} diff --git a/models/model_af_location_area5_g.go b/models/model_af_location_area5_g.go new file mode 100644 index 00000000..e5129974 --- /dev/null +++ b/models/model_af_location_area5_g.go @@ -0,0 +1,21 @@ +/* + * 3gpp-pfd-management + * + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AFLocationArea5G struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo"` +} diff --git a/models/model_af_notif_method.go b/models/model_af_notif_method.go index ad5d0cc8..2be916da 100644 --- a/models/model_af_notif_method.go +++ b/models/model_af_notif_method.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,4 +18,5 @@ type AfNotifMethod string const ( AfNotifMethod_EVENT_DETECTION AfNotifMethod = "EVENT_DETECTION" AfNotifMethod_ONE_TIME AfNotifMethod = "ONE_TIME" + AfNotifMethod_PERIODIC AfNotifMethod = "PERIODIC" ) diff --git a/models/model_af_requested_data.go b/models/model_af_requested_data.go new file mode 100644 index 00000000..0bb266c2 --- /dev/null +++ b/models/model_af_requested_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfRequestedData string + +// List of AfRequestedData +const ( + AfRequestedData_UE_IDENTITY AfRequestedData = "UE_IDENTITY" +) diff --git a/models/model_af_result_info.go b/models/model_af_result_info.go new file mode 100644 index 00000000..25f0a11b --- /dev/null +++ b/models/model_af_result_info.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the result of application layer handling. +type AfResultInfo struct { + AfStatus AfResultStatus `json:"afStatus" yaml:"afStatus" bson:"afStatus,omitempty"` + TrafficRoute *RouteToLocation `json:"trafficRoute,omitempty" yaml:"trafficRoute" bson:"trafficRoute,omitempty"` + // If present and set to \"true\" it indicates that buffering of uplink traffic to the target DNAI is needed. + UpBuffInd bool `json:"upBuffInd,omitempty" yaml:"upBuffInd" bson:"upBuffInd,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` +} diff --git a/models/model_af_result_status.go b/models/model_af_result_status.go new file mode 100644 index 00000000..d4a74164 --- /dev/null +++ b/models/model_af_result_status.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfResultStatus string + +// List of AfResultStatus +const ( + AfResultStatus_SUCCESS AfResultStatus = "SUCCESS" + AfResultStatus_TEMPORARY_CONGESTION AfResultStatus = "TEMPORARY_CONGESTION" + AfResultStatus_RELOC_NO_ALLOWED AfResultStatus = "RELOC_NO_ALLOWED" + AfResultStatus_OTHER AfResultStatus = "OTHER" +) diff --git a/models/model_af_routing_requirement.go b/models/model_af_routing_requirement.go index c3f2a03b..56d57c20 100644 --- a/models/model_af_routing_requirement.go +++ b/models/model_af_routing_requirement.go @@ -1,19 +1,33 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// describes the event information delivered in the subscription +// Describes the event information delivered in the subscription. type AfRoutingRequirement struct { - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc" mapstructure:"AppReloc"` - RouteToLocs []RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs" mapstructure:"RouteToLocs"` - SpVal *SpatialValidity `json:"spVal,omitempty" yaml:"spVal" bson:"spVal" mapstructure:"SpVal"` - TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals" mapstructure:"TempVals"` - UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub" mapstructure:"UpPathChgSub"` + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` + SpVal *SpatialValidity `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` + TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` + UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` } diff --git a/models/model_af_routing_requirement_rm.go b/models/model_af_routing_requirement_rm.go index fc1bd1ca..e78a9b42 100644 --- a/models/model_af_routing_requirement_rm.go +++ b/models/model_af_routing_requirement_rm.go @@ -1,19 +1,33 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// this data type is defined in the same way as the AfRoutingRequirement data type, but with the OpenAPI nullable property set to true and the spVal and tempVals attributes defined as removable. +// This data type is defined in the same way as the AfRoutingRequirement data type, but with the OpenAPI nullable property set to true and the spVal and tempVals attributes defined as removable. type AfRoutingRequirementRm struct { - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc" mapstructure:"AppReloc"` - RouteToLocs []RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs" mapstructure:"RouteToLocs"` - SpVal *SpatialValidityRm `json:"spVal,omitempty" yaml:"spVal" bson:"spVal" mapstructure:"SpVal"` - TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals" mapstructure:"TempVals"` - UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub" mapstructure:"UpPathChgSub"` + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` + SpVal *SpatialValidityRm `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` + TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` + UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` } diff --git a/models/model_af_sig_protocol.go b/models/model_af_sig_protocol.go index 72689b0b..d0546267 100644 --- a/models/model_af_sig_protocol.go +++ b/models/model_af_sig_protocol.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_PolicyAuthorization Service API * - * Session Management Policy Control Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_affinity_anti_affinity.go b/models/model_affinity_anti_affinity.go new file mode 100644 index 00000000..61886add --- /dev/null +++ b/models/model_affinity_anti_affinity.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AffinityAntiAffinity struct { + AffinityEAS []string `json:"affinityEAS,omitempty" yaml:"affinityEAS" bson:"affinityEAS,omitempty"` + AntiAffinityEAS []string `json:"antiAffinityEAS,omitempty" yaml:"antiAffinityEAS" bson:"antiAffinityEAS,omitempty"` +} diff --git a/models/model_aggregation_level.go b/models/model_aggregation_level.go new file mode 100644 index 00000000..02742d5c --- /dev/null +++ b/models/model_aggregation_level.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AggregationLevel string + +// List of AggregationLevel +const ( + AggregationLevel_UE AggregationLevel = "UE" + AggregationLevel_AOI AggregationLevel = "AOI" +) diff --git a/models/model_alert_limit.go b/models/model_alert_limit.go new file mode 100644 index 00000000..44c4faf3 --- /dev/null +++ b/models/model_alert_limit.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Alert Limit. +type AlertLimit struct { + // Contains the Horizontal Protection Level + HorizontalProtectionLevel int32 `json:"horizontalProtectionLevel" yaml:"horizontalProtectionLevel" bson:"horizontalProtectionLevel,omitempty"` + // Contains the Vertical Protection Level + VerticalProtectionLevel int32 `json:"verticalProtectionLevel,omitempty" yaml:"verticalProtectionLevel" bson:"verticalProtectionLevel,omitempty"` +} diff --git a/models/model_allowed_mbs_info.go b/models/model_allowed_mbs_info.go new file mode 100644 index 00000000..6a869d93 --- /dev/null +++ b/models/model_allowed_mbs_info.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AllowedMbsInfo struct { + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/model_allowed_mtc_provider_info.go b/models/model_allowed_mtc_provider_info.go new file mode 100644 index 00000000..079b1756 --- /dev/null +++ b/models/model_allowed_mtc_provider_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AllowedMtcProviderInfo struct { + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/model_allowed_nssai.go b/models/model_allowed_nssai.go index 1c4a4adb..0d2e3b9c 100644 --- a/models/model_allowed_nssai.go +++ b/models/model_allowed_nssai.go @@ -1,15 +1,19 @@ /* - * Namf_Communication + * NSSF NS Selection * - * AMF Communication Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains an array of allowed S-NSSAI that constitute the allowed NSSAI information for the authorized network slice information type AllowedNssai struct { - AllowedSnssaiList []AllowedSnssai `json:"allowedSnssaiList"` - AccessType AccessType `json:"accessType"` + AllowedSnssaiList []AllowedSnssai `json:"allowedSnssaiList" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` } diff --git a/models/model_allowed_snssai.go b/models/model_allowed_snssai.go index 14ba1e9f..349786aa 100644 --- a/models/model_allowed_snssai.go +++ b/models/model_allowed_snssai.go @@ -1,16 +1,20 @@ /* - * Namf_Communication + * NSSF NS Selection * - * AMF Communication Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the authorized S-NSSAI and optional mapped home S-NSSAI and network slice instance information type AllowedSnssai struct { - AllowedSnssai *Snssai `json:"allowedSnssai"` - NsiInformationList []NsiInformation `json:"nsiInformationList,omitempty"` - MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty"` + AllowedSnssai *Snssai `json:"allowedSnssai" yaml:"allowedSnssai" bson:"allowedSnssai,omitempty"` + NsiInformationList []NsiInformation `json:"nsiInformationList,omitempty" yaml:"nsiInformationList" bson:"nsiInformationList,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` } diff --git a/models/model_alternative_qos_profile.go b/models/model_alternative_qos_profile.go new file mode 100644 index 00000000..57f4c6f7 --- /dev/null +++ b/models/model_alternative_qos_profile.go @@ -0,0 +1,26 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Alternative QoS Profile +type AlternativeQosProfile struct { + Index int32 `json:"index" yaml:"index" bson:"index,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrRate string `json:"packetErrRate,omitempty" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` +} diff --git a/models/model_alternative_service_requirements_data.go b/models/model_alternative_service_requirements_data.go new file mode 100644 index 00000000..4f748633 --- /dev/null +++ b/models/model_alternative_service_requirements_data.go @@ -0,0 +1,25 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an alternative QoS related parameter set. +type AlternativeServiceRequirementsData struct { + // Reference to this alternative QoS related parameter set. + AltQosParamSetRef string `json:"altQosParamSetRef" yaml:"altQosParamSetRef" bson:"altQosParamSetRef,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` +} diff --git a/models/model_am_event.go b/models/model_am_event.go new file mode 100644 index 00000000..9c2aeb6d --- /dev/null +++ b/models/model_am_event.go @@ -0,0 +1,21 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmEvent string + +// List of AmEvent +const ( + AmEvent_SAC_CH AmEvent = "SAC_CH" + AmEvent_PDUID_CH AmEvent = "PDUID_CH" +) diff --git a/models/model_am_event_data.go b/models/model_am_event_data.go new file mode 100644 index 00000000..5e44c47d --- /dev/null +++ b/models/model_am_event_data.go @@ -0,0 +1,30 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// This data type contains the event identifier and the related event reporting information. +type AmEventData struct { + Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/model_am_event_notification.go b/models/model_am_event_notification.go new file mode 100644 index 00000000..f418fb8c --- /dev/null +++ b/models/model_am_event_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the notification of a subscription. +type AmEventNotification struct { + Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` + PduidInfo *PduidInformation `json:"pduidInfo,omitempty" yaml:"pduidInfo" bson:"pduidInfo,omitempty"` +} diff --git a/models/model_am_events_notification.go b/models/model_am_events_notification.go new file mode 100644 index 00000000..15b30377 --- /dev/null +++ b/models/model_am_events_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the notification about the events occurred within an Individual Application AM Context resource. +type AmEventsNotification struct { + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/model_am_events_subsc_data.go b/models/model_am_events_subsc_data.go new file mode 100644 index 00000000..e206dca7 --- /dev/null +++ b/models/model_am_events_subsc_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents the AM Policy Events Subscription subresource and identifies the events the application subscribes to. +type AmEventsSubscData struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/model_am_events_subsc_data_rm.go b/models/model_am_events_subsc_data_rm.go new file mode 100644 index 00000000..23d3fdab --- /dev/null +++ b/models/model_am_events_subsc_data_rm.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the AmEventsSubscData but with the OpenAPI nullable property set to true. +type AmEventsSubscDataRm struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri,omitempty" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/model_am_events_subsc_resp_data.go b/models/model_am_events_subsc_resp_data.go new file mode 100644 index 00000000..438bf102 --- /dev/null +++ b/models/model_am_events_subsc_resp_data.go @@ -0,0 +1,23 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the events the application subscribes to within an AM Policy Events Subscription subresource data. It may contain the notification of the already met events. +type AmEventsSubscRespData struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/model_am_influ_data.go b/models/model_am_influ_data.go new file mode 100644 index 00000000..d1af0c49 --- /dev/null +++ b/models/model_am_influ_data.go @@ -0,0 +1,46 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the AM Influence Data. +type AmInfluData struct { + // Identifies one or more applications. + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + // Identifies one or more DNN, S-NSSAI combinations. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Indicates whether the data is applicable for any UE. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // indicating a time in seconds. + PolicyDuration int32 `json:"policyDuration,omitempty" yaml:"policyDuration" bson:"policyDuration,omitempty"` + // List of AM related events for which a subscription is required. + EvSubs []AmInfluEvent `json:"evSubs,omitempty" yaml:"evSubs" bson:"evSubs,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + ThruReq bool `json:"thruReq,omitempty" yaml:"thruReq" bson:"thruReq,omitempty"` + // Indicates the service area coverage requirement. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_am_influ_event.go b/models/model_am_influ_event.go new file mode 100644 index 00000000..9f3d9b34 --- /dev/null +++ b/models/model_am_influ_event.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmInfluEvent string + +// List of AmInfluEvent +const ( + AmInfluEvent_SERVICE_AREA_COVRG_OUTCOME AmInfluEvent = "SERVICE_AREA_COVRG_OUTCOME" +) diff --git a/models/model_am_policy_association.go b/models/model_am_policy_association.go new file mode 100644 index 00000000..25cdf821 --- /dev/null +++ b/models/model_am_policy_association.go @@ -0,0 +1,26 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyAssociation struct { + Request *AmPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_am_policy_association_release_cause.go b/models/model_am_policy_association_release_cause.go new file mode 100644 index 00000000..cf439f8c --- /dev/null +++ b/models/model_am_policy_association_release_cause.go @@ -0,0 +1,22 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyAssociationReleaseCause string + +// List of AmPolicyAssociationReleaseCause +const ( + AmPolicyAssociationReleaseCause_UNSPECIFIED AmPolicyAssociationReleaseCause = "UNSPECIFIED" + AmPolicyAssociationReleaseCause_UE_SUBSCRIPTION AmPolicyAssociationReleaseCause = "UE_SUBSCRIPTION" + AmPolicyAssociationReleaseCause_INSUFFICIENT_RES AmPolicyAssociationReleaseCause = "INSUFFICIENT_RES" +) diff --git a/models/model_am_policy_association_request.go b/models/model_am_policy_association_request.go new file mode 100644 index 00000000..f61981d4 --- /dev/null +++ b/models/model_am_policy_association_request.go @@ -0,0 +1,49 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information which the NF service consumer provides when requesting the creation of a policy association. The serviveName property corresponds to the serviceName in the main body of the specification. +type AmPolicyAssociationRequest struct { + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_am_policy_association_update_request.go b/models/model_am_policy_association_update_request.go new file mode 100644 index 00000000..8a1978e0 --- /dev/null +++ b/models/model_am_policy_association_update_request.go @@ -0,0 +1,43 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyAssociationUpdateRequest struct { + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // Map of PRA status information. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` +} diff --git a/models/model_am_policy_data.go b/models/model_am_policy_data.go index 9a219e24..6d1f2028 100644 --- a/models/model_am_policy_data.go +++ b/models/model_am_policy_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,5 +14,7 @@ package models // Contains the AM policy data for a given subscriber. type AmPolicyData struct { - SubscCats []string `json:"subscCats,omitempty" bson:"subscCats"` + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` } diff --git a/models/model_am_policy_req_trigger.go b/models/model_am_policy_req_trigger.go deleted file mode 100644 index 9518d28a..00000000 --- a/models/model_am_policy_req_trigger.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyReqTrigger string - -// List of AMPolicyReqTrigger -const ( - AmPolicyReqTrigger_LOCATION_CHANGE AmPolicyReqTrigger = "LOCATION_CHANGE" - AmPolicyReqTrigger_PRA_CHANGE AmPolicyReqTrigger = "PRA_CHANGE" - AmPolicyReqTrigger_SARI_CHANGE AmPolicyReqTrigger = "SARI_CHANGE" - AmPolicyReqTrigger_RFSP_INDEX_CHANGE AmPolicyReqTrigger = "RFSP_INDEX_CHANGE" -) diff --git a/models/model_am_policy_request_trigger.go b/models/model_am_policy_request_trigger.go new file mode 100644 index 00000000..c510ef45 --- /dev/null +++ b/models/model_am_policy_request_trigger.go @@ -0,0 +1,27 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyRequestTrigger string + +// List of AmPolicyRequestTrigger +const ( + AmPolicyRequestTrigger_LOC_CH AmPolicyRequestTrigger = "LOC_CH" + AmPolicyRequestTrigger_PRA_CH AmPolicyRequestTrigger = "PRA_CH" + AmPolicyRequestTrigger_SERV_AREA_CH AmPolicyRequestTrigger = "SERV_AREA_CH" + AmPolicyRequestTrigger_RFSP_CH AmPolicyRequestTrigger = "RFSP_CH" + AmPolicyRequestTrigger_ALLOWED_NSSAI_CH AmPolicyRequestTrigger = "ALLOWED_NSSAI_CH" + AmPolicyRequestTrigger_UE_AMBR_CH AmPolicyRequestTrigger = "UE_AMBR_CH" + AmPolicyRequestTrigger_SMF_SELECT_CH AmPolicyRequestTrigger = "SMF_SELECT_CH" + AmPolicyRequestTrigger_ACCESS_TYPE_CH AmPolicyRequestTrigger = "ACCESS_TYPE_CH" +) diff --git a/models/model_am_policy_termination_notification.go b/models/model_am_policy_termination_notification.go new file mode 100644 index 00000000..e1d01030 --- /dev/null +++ b/models/model_am_policy_termination_notification.go @@ -0,0 +1,18 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyTerminationNotification struct { + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause AmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_am_policy_update.go b/models/model_am_policy_update.go new file mode 100644 index 00000000..f2f2bfb2 --- /dev/null +++ b/models/model_am_policy_update.go @@ -0,0 +1,26 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmPolicyUpdate struct { + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // Map of PRA information. + Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` +} diff --git a/models/model_am_requested_value_rep.go b/models/model_am_requested_value_rep.go new file mode 100644 index 00000000..84c49685 --- /dev/null +++ b/models/model_am_requested_value_rep.go @@ -0,0 +1,26 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the current applicable values corresponding to the policy control request triggers. +type AmRequestedValueRep struct { + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` +} diff --git a/models/model_am_termination_cause.go b/models/model_am_termination_cause.go new file mode 100644 index 00000000..466b4219 --- /dev/null +++ b/models/model_am_termination_cause.go @@ -0,0 +1,22 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmTerminationCause string + +// List of AmTerminationCause +const ( + AmTerminationCause_UE_DEREGISTERED AmTerminationCause = "UE_DEREGISTERED" + AmTerminationCause_UNSPECIFIED AmTerminationCause = "UNSPECIFIED" + AmTerminationCause_INSUFFICIENT_RESOURCES AmTerminationCause = "INSUFFICIENT_RESOURCES" +) diff --git a/models/model_am_termination_info.go b/models/model_am_termination_info.go new file mode 100644 index 00000000..c9d122e2 --- /dev/null +++ b/models/model_am_termination_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Includes information related to the termination of the Individual Application AM Context resource. +type AmTerminationInfo struct { + // Contains the Individual application AM context resource identifier related to the termination notification. + AppAmContextId string `json:"appAmContextId" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + TermCause AmTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` +} diff --git a/models/model_ambr.go b/models/model_ambr.go index 2152fcfa..d0c3f017 100644 --- a/models/model_ambr.go +++ b/models/model_ambr.go @@ -1,15 +1,21 @@ /* - * Nudm_SDM + * Nchf_OfflineOnlyCharging * - * Nudm Subscriber Data Management Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the maximum aggregated uplink and downlink bit rates. type Ambr struct { - Uplink string `json:"uplink" yaml:"uplink" bson:"uplink" mapstructure:"Uplink"` - Downlink string `json:"downlink" yaml:"downlink" bson:"downlink" mapstructure:"Downlink"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` } diff --git a/models/model_ambr_rm.go b/models/model_ambr_rm.go index 5116f3f6..83259b79 100644 --- a/models/model_ambr_rm.go +++ b/models/model_ambr_rm.go @@ -1,15 +1,16 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AmbrRm struct { - Uplink string `json:"uplink" yaml:"uplink" bson:"uplink" mapstructure:"Uplink"` - Downlink string `json:"downlink" yaml:"downlink" bson:"downlink" mapstructure:"Downlink"` } diff --git a/models/model_amf3_gpp_access_registration.go b/models/model_amf3_gpp_access_registration.go index 8b3d17c8..4336f157 100644 --- a/models/model_amf3_gpp_access_registration.go +++ b/models/model_amf3_gpp_access_registration.go @@ -1,29 +1,64 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type Amf3GppAccessRegistration struct { - AmfInstanceId string `json:"amfInstanceId" bson:"amfInstanceId"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` - PurgeFlag bool `json:"purgeFlag,omitempty" bson:"purgeFlag"` - Pei string `json:"pei,omitempty" bson:"pei"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" bson:"imsVoPs"` - // string providing an URI formatted according to IETF RFC 3986. - DeregCallbackUri string `json:"deregCallbackUri" bson:"deregCallbackUri"` - AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" bson:"amfServiceNameDereg"` - // string providing an URI formatted according to IETF RFC 3986. - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" bson:"pcscfRestorationCallbackUri"` - AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" bson:"amfServiceNamePcscfRest"` - InitialRegistrationInd bool `json:"initialRegistrationInd,omitempty" bson:"initialRegistrationInd"` - Guami *Guami `json:"guami" bson:"guami"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" bson:"backupAmfInfo"` - DrFlag bool `json:"drFlag,omitempty" bson:"drFlag"` - RatType RatType `json:"ratType" bson:"ratType"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` + InitialRegistrationInd bool `json:"initialRegistrationInd,omitempty" yaml:"initialRegistrationInd" bson:"initialRegistrationInd,omitempty"` + EmergencyRegistrationInd bool `json:"emergencyRegistrationInd,omitempty" yaml:"emergencyRegistrationInd" bson:"emergencyRegistrationInd,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + DrFlag bool `json:"drFlag,omitempty" yaml:"drFlag" bson:"drFlag,omitempty"` + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` + // String providing an URI formatted according to RFC 3986. + AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UeReachableInd UeReachableInd `json:"ueReachableInd,omitempty" yaml:"ueReachableInd" bson:"ueReachableInd,omitempty"` + ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` + AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` + SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` } diff --git a/models/model_amf3_gpp_access_registration_eps_interworking_info.go b/models/model_amf3_gpp_access_registration_eps_interworking_info.go deleted file mode 100644 index 082d1db8..00000000 --- a/models/model_amf3_gpp_access_registration_eps_interworking_info.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Amf3GppAccessRegistrationEpsInterworkingInfo struct { - // A map (list of key-value pairs where Dnn serves as key) of EpsIwkPgws - EpsIwkPgws map[string]EpsIwkPgw `json:"epsIwkPgws,omitempty" yaml:"epsIwkPgws" bson:"epsIwkPgws" mapstructure:"EpsIwkPgws"` -} diff --git a/models/model_amf3_gpp_access_registration_modification.go b/models/model_amf3_gpp_access_registration_modification.go index 2f929371..9ec0535a 100644 --- a/models/model_amf3_gpp_access_registration_modification.go +++ b/models/model_amf3_gpp_access_registration_modification.go @@ -1,18 +1,25 @@ /* * Nudm_UECM * - * Nudm Context Management Service + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type Amf3GppAccessRegistrationModification struct { - Guami *Guami `json:"guami" bson:"guami"` - PurgeFlag bool `json:"purgeFlag,omitempty" bson:"purgeFlag"` - Pei string `json:"pei,omitempty" bson:"pei"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" bson:"imsVoPs"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" bson:"backupAmfInfo"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` + UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` } diff --git a/models/model_amf3_gpp_access_registration_modification_eps_interworking_info.go b/models/model_amf3_gpp_access_registration_modification_eps_interworking_info.go deleted file mode 100644 index 3d26cbbc..00000000 --- a/models/model_amf3_gpp_access_registration_modification_eps_interworking_info.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Amf3GppAccessRegistrationModificationEpsInterworkingInfo struct { - // A map (list of key-value pairs where Dnn serves as key) of EpsIwkPgws - EpsIwkPgws map[string]EpsIwkPgw `json:"epsIwkPgws,omitempty" yaml:"epsIwkPgws" bson:"epsIwkPgws" mapstructure:"EpsIwkPgws"` -} diff --git a/models/model_amf_communication_ec_restriction_data_wb.go b/models/model_amf_communication_ec_restriction_data_wb.go new file mode 100644 index 00000000..667e2049 --- /dev/null +++ b/models/model_amf_communication_ec_restriction_data_wb.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Enhanced Coverage Restriction Data for WB-N1 mode +type AmfCommunicationEcRestrictionDataWb struct { + EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` + EcModeBRestricted bool `json:"ecModeBRestricted" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` +} diff --git a/models/model_amf_communication_ngap_ie_type.go b/models/model_amf_communication_ngap_ie_type.go new file mode 100644 index 00000000..b78c62e2 --- /dev/null +++ b/models/model_amf_communication_ngap_ie_type.go @@ -0,0 +1,37 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfCommunicationNgapIeType string + +// List of AmfCommunicationNgapIeType +const ( + AmfCommunicationNgapIeType_PDU_RES_SETUP_REQ AmfCommunicationNgapIeType = "PDU_RES_SETUP_REQ" + AmfCommunicationNgapIeType_PDU_RES_REL_CMD AmfCommunicationNgapIeType = "PDU_RES_REL_CMD" + AmfCommunicationNgapIeType_PDU_RES_MOD_REQ AmfCommunicationNgapIeType = "PDU_RES_MOD_REQ" + AmfCommunicationNgapIeType_HANDOVER_CMD AmfCommunicationNgapIeType = "HANDOVER_CMD" + AmfCommunicationNgapIeType_HANDOVER_REQUIRED AmfCommunicationNgapIeType = "HANDOVER_REQUIRED" + AmfCommunicationNgapIeType_HANDOVER_PREP_FAIL AmfCommunicationNgapIeType = "HANDOVER_PREP_FAIL" + AmfCommunicationNgapIeType_SRC_TO_TAR_CONTAINER AmfCommunicationNgapIeType = "SRC_TO_TAR_CONTAINER" + AmfCommunicationNgapIeType_TAR_TO_SRC_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_CONTAINER" + AmfCommunicationNgapIeType_TAR_TO_SRC_FAIL_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_FAIL_CONTAINER" + AmfCommunicationNgapIeType_RAN_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "RAN_STATUS_TRANS_CONTAINER" + AmfCommunicationNgapIeType_SON_CONFIG_TRANSFER AmfCommunicationNgapIeType = "SON_CONFIG_TRANSFER" + AmfCommunicationNgapIeType_NRPPA_PDU AmfCommunicationNgapIeType = "NRPPA_PDU" + AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY" + AmfCommunicationNgapIeType_RIM_INFO_TRANSFER AmfCommunicationNgapIeType = "RIM_INFO_TRANSFER" + AmfCommunicationNgapIeType_SECONDARY_RAT_USAGE AmfCommunicationNgapIeType = "SECONDARY_RAT_USAGE" + AmfCommunicationNgapIeType_PC5_QOS_PARA AmfCommunicationNgapIeType = "PC5_QOS_PARA" + AmfCommunicationNgapIeType_EARLY_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "EARLY_STATUS_TRANS_CONTAINER" + AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY_FOR_PAGING AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY_FOR_PAGING" +) diff --git a/models/model_amf_communication_release_cause.go b/models/model_amf_communication_release_cause.go new file mode 100644 index 00000000..eb301a41 --- /dev/null +++ b/models/model_amf_communication_release_cause.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfCommunicationReleaseCause string + +// List of AmfCommunicationReleaseCause +const ( + AmfCommunicationReleaseCause_SNPN_SNPN_MOBILITY AmfCommunicationReleaseCause = "SNPN_SNPN_MOBILITY" + AmfCommunicationReleaseCause_NO_HR_AGREEMENT AmfCommunicationReleaseCause = "NO_HR_AGREEMENT" + AmfCommunicationReleaseCause_UNSPECIFIED AmfCommunicationReleaseCause = "UNSPECIFIED" +) diff --git a/models/model_amf_communication_subscription_data.go b/models/model_amf_communication_subscription_data.go new file mode 100644 index 00000000..921fb1e4 --- /dev/null +++ b/models/model_amf_communication_subscription_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within an AMF Status Change Subscription request and response +type AmfCommunicationSubscriptionData struct { + // String providing an URI formatted according to RFC 3986. + AmfStatusUri string `json:"amfStatusUri" yaml:"amfStatusUri" bson:"amfStatusUri,omitempty"` + GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` +} diff --git a/models/model_amf_cond.go b/models/model_amf_cond.go index 853235b9..76ba54e5 100644 --- a/models/model_amf_cond.go +++ b/models/model_amf_cond.go @@ -1,15 +1,21 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of AMFs, based on AMF Set Id and/or AMF Region Id type AmfCond struct { - AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId" mapstructure:"AmfSetId"` - AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId" mapstructure:"AmfRegionId"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` } diff --git a/models/model_amf_create_event_subscription.go b/models/model_amf_create_event_subscription.go index d712c7f5..02109aec 100644 --- a/models/model_amf_create_event_subscription.go +++ b/models/model_amf_create_event_subscription.go @@ -1,15 +1,21 @@ /* * Namf_EventExposure * - * AMF Event Exposure Service + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a create AMF event subscription request type AmfCreateEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" bson:"subscription" ` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures" ` + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` } diff --git a/models/model_amf_created_event_subscription.go b/models/model_amf_created_event_subscription.go index b6cb30bb..288be2e5 100644 --- a/models/model_amf_created_event_subscription.go +++ b/models/model_amf_created_event_subscription.go @@ -1,17 +1,23 @@ /* * Namf_EventExposure * - * AMF Event Exposure Service + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a create AMF event subscription response type AmfCreatedEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" bson:"subscription" ` - SubscriptionId string `json:"subscriptionId" bson:"subscriptionId" ` - ReportList []AmfEventReport `json:"reportList,omitempty" bson:"reportList" ` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures" ` + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_amf_dereg_info.go b/models/model_amf_dereg_info.go new file mode 100644 index 00000000..d8c8b418 --- /dev/null +++ b/models/model_amf_dereg_info.go @@ -0,0 +1,17 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfDeregInfo struct { + DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` +} diff --git a/models/model_amf_event.go b/models/model_amf_event.go index 0a4d1ee0..df64408a 100644 --- a/models/model_amf_event.go +++ b/models/model_amf_event.go @@ -1,18 +1,46 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Describes an event to be subscribed type AmfEvent struct { - Type AmfEventType `json:"type"` - ImmediateFlag bool `json:"immediateFlag,omitempty"` - AreaList []AmfEventArea `json:"areaList,omitempty"` - LocationFilterList []LocationFilter `json:"locationFilterList,omitempty"` - SubscribedDataFilterList []SubscribedDataFilter `json:"subscribedDataFilterList,omitempty"` + Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` + AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` + LocationFilterList []LocationFilter `json:"locationFilterList,omitempty" yaml:"locationFilterList" bson:"locationFilterList,omitempty"` + RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` + TrafficDescriptorList []AmfEventExposureTrafficDescriptor `json:"trafficDescriptorList,omitempty" yaml:"trafficDescriptorList" bson:"trafficDescriptorList,omitempty"` + ReportUeReachable bool `json:"reportUeReachable,omitempty" yaml:"reportUeReachable" bson:"reportUeReachable,omitempty"` + ReachabilityFilter ReachabilityFilter `json:"reachabilityFilter,omitempty" yaml:"reachabilityFilter" bson:"reachabilityFilter,omitempty"` + UdmDetectInd bool `json:"udmDetectInd,omitempty" yaml:"udmDetectInd" bson:"udmDetectInd,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList,omitempty" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + TargetArea *TargetArea `json:"targetArea,omitempty" yaml:"targetArea" bson:"targetArea,omitempty"` + SnssaiFilter []ExtSnssai `json:"snssaiFilter,omitempty" yaml:"snssaiFilter" bson:"snssaiFilter,omitempty"` + UeInAreaFilter *UeInAreaFilter `json:"ueInAreaFilter,omitempty" yaml:"ueInAreaFilter" bson:"ueInAreaFilter,omitempty"` + // indicating a time in seconds. + MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NextReport *time.Time `json:"nextReport,omitempty" yaml:"nextReport" bson:"nextReport,omitempty"` + IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` + DispersionArea *DispersionArea `json:"dispersionArea,omitempty" yaml:"dispersionArea" bson:"dispersionArea,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NextPeriodicReportTime *time.Time `json:"nextPeriodicReportTime,omitempty" yaml:"nextPeriodicReportTime" bson:"nextPeriodicReportTime,omitempty"` } diff --git a/models/model_amf_event_area.go b/models/model_amf_event_area.go index 603ad919..b54df414 100644 --- a/models/model_amf_event_area.go +++ b/models/model_amf_event_area.go @@ -1,15 +1,22 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents an area to be monitored by an AMF event type AmfEventArea struct { - PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty"` - LadnInfo *LadnInfo `json:"ladnInfo,omitempty"` + PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` + LadnInfo *LadnInfo `json:"ladnInfo,omitempty" yaml:"ladnInfo" bson:"ladnInfo,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` } diff --git a/models/model_amf_event_exposure_traffic_descriptor.go b/models/model_amf_event_exposure_traffic_descriptor.go new file mode 100644 index 00000000..d65978ee --- /dev/null +++ b/models/model_amf_event_exposure_traffic_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Traffic Descriptor +type AmfEventExposureTrafficDescriptor struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` +} diff --git a/models/model_amf_event_mode.go b/models/model_amf_event_mode.go index 9f41aaf6..967dbe17 100644 --- a/models/model_amf_event_mode.go +++ b/models/model_amf_event_mode.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,16 @@ import ( "time" ) +// Describes how the reports shall be generated by a subscribed event type AmfEventMode struct { - Trigger AmfEventTrigger `json:"trigger"` - MaxReports int32 `json:"maxReports,omitempty"` - Expiry *time.Time `json:"expiry,omitempty"` + Trigger AmfEventTrigger `json:"trigger" yaml:"trigger" bson:"trigger,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + PartitioningCriteria []PartitioningCriteria `json:"partitioningCriteria,omitempty" yaml:"partitioningCriteria" bson:"partitioningCriteria,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` } diff --git a/models/model_amf_event_notification.go b/models/model_amf_event_notification.go index 174c37c3..775ca9d0 100644 --- a/models/model_amf_event_notification.go +++ b/models/model_amf_event_notification.go @@ -1,16 +1,21 @@ /* - * Namf_EventExposure + * Nnwdaf_DataManagement * - * AMF Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a AMF Event Notification request type AmfEventNotification struct { - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" bson:"notifyCorrelationId" ` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" bson:"subsChangeNotifyCorrelationId" ` - ReportList []AmfEventReport `json:"reportList,omitempty" bson:"reportList" ` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` + EventSubsSyncInfo *AmfEventSubsSyncInfo `json:"eventSubsSyncInfo,omitempty" yaml:"eventSubsSyncInfo" bson:"eventSubsSyncInfo,omitempty"` } diff --git a/models/model_amf_event_report.go b/models/model_amf_event_report.go index b14c9d6c..2e7e6d5c 100644 --- a/models/model_amf_event_report.go +++ b/models/model_amf_event_report.go @@ -1,9 +1,12 @@ /* - * Namf_EventExposure + * Nnwdaf_DataManagement * - * AMF Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,23 +16,44 @@ import ( "time" ) +// Represents a report triggered by a subscribed event type type AmfEventReport struct { - Type AmfEventType `json:"type" bson:"type" ` - State *AmfEventState `json:"state" bson:"state" ` - TimeStamp *time.Time `json:"timeStamp" bson:"timeStamp" ` - SubscriptionId string `json:"subscriptionId,omitempty" bson:"subscriptionId" ` - AnyUe bool `json:"anyUe,omitempty" bson:"anyUe" ` - Supi string `json:"supi,omitempty" bson:"supi" ` - AreaList []AmfEventArea `json:"areaList,omitempty" bson:"areaList" ` - Gpsi string `json:"gpsi,omitempty" bson:"gpsi" ` - Pei string `json:"pei,omitempty" bson:"pei" ` - Location *UserLocation `json:"location,omitempty" bson:"location" ` - Timezone string `json:"timezone,omitempty" bson:"timezone" ` - AccessTypeList []AccessType `json:"accessTypeList,omitempty" bson:"accessTypeList" ` - RmInfoList []RmInfo `json:"rmInfoList,omitempty" bson:"rmInfoList" ` - CmInfoList []CmInfo `json:"cmInfoList,omitempty" bson:"cmInfoList" ` - Reachability UeReachability `json:"reachability,omitempty" bson:"reachability" ` - SubscribedData *SubscribedData `json:"subscribedData,omitempty" bson:"subscribedData" ` - CommFailure *CommunicationFailure `json:"commFailure,omitempty" bson:"commFailure" ` - NumberOfUes int32 `json:"numberOfUes,omitempty" bson:"numberOfUes" ` + Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` + State *AmfEventState `json:"state" yaml:"state" bson:"state,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` + RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + RmInfoList []RmInfo `json:"rmInfoList,omitempty" yaml:"rmInfoList" bson:"rmInfoList,omitempty"` + CmInfoList []CmInfo `json:"cmInfoList,omitempty" yaml:"cmInfoList" bson:"cmInfoList,omitempty"` + Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` + CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason,omitempty" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + Var5gsUserStateList []Model5GsUserStateInfo `json:"5gsUserStateList,omitempty" yaml:"5gsUserStateList" bson:"5gsUserStateList,omitempty"` + TypeCode string `json:"typeCode,omitempty" yaml:"typeCode" bson:"typeCode,omitempty"` + RegistrationNumber int32 `json:"registrationNumber,omitempty" yaml:"registrationNumber" bson:"registrationNumber,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` + UeIdExt []UeIdExt `json:"ueIdExt,omitempty" yaml:"ueIdExt" bson:"ueIdExt,omitempty"` + SnssaiTaiList []SnssaiTaiMapping `json:"snssaiTaiList,omitempty" yaml:"snssaiTaiList" bson:"snssaiTaiList,omitempty"` + IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` + UeAccessBehaviorTrends []UeAccessBehaviorReportItem `json:"ueAccessBehaviorTrends,omitempty" yaml:"ueAccessBehaviorTrends" bson:"ueAccessBehaviorTrends,omitempty"` + UeLocationTrends []UeLocationTrendsReportItem `json:"ueLocationTrends,omitempty" yaml:"ueLocationTrends" bson:"ueLocationTrends,omitempty"` + MmTransLocationReportList []MmTransactionLocationReportItem `json:"mmTransLocationReportList,omitempty" yaml:"mmTransLocationReportList" bson:"mmTransLocationReportList,omitempty"` + MmTransSliceReportList []MmTransactionSliceReportItem `json:"mmTransSliceReportList,omitempty" yaml:"mmTransSliceReportList" bson:"mmTransSliceReportList,omitempty"` } diff --git a/models/model_amf_event_state.go b/models/model_amf_event_state.go index 0cd49d8d..02c02f16 100644 --- a/models/model_amf_event_state.go +++ b/models/model_amf_event_state.go @@ -1,16 +1,21 @@ /* - * Namf_EventExposure + * Nnwdaf_DataManagement * - * AMF Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the state of a subscribed event type AmfEventState struct { - Active bool `json:"active" bson:"active" ` - RemainReports int32 `json:"remainReports,omitempty" bson:"remainReports" ` - RemainDuration int32 `json:"remainDuration,omitempty" bson:"remainDuration" ` + Active bool `json:"active" yaml:"active" bson:"active,omitempty"` + RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` + // indicating a time in seconds. + RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` } diff --git a/models/model_amf_event_subs_sync_info.go b/models/model_amf_event_subs_sync_info.go new file mode 100644 index 00000000..02497827 --- /dev/null +++ b/models/model_amf_event_subs_sync_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF Event Subscriptions Information for synchronization +type AmfEventSubsSyncInfo struct { + SubscriptionList []AmfEventSubscriptionInfo `json:"subscriptionList" yaml:"subscriptionList" bson:"subscriptionList,omitempty"` +} diff --git a/models/model_amf_event_subscription.go b/models/model_amf_event_subscription.go index fbbf675a..20a62e7c 100644 --- a/models/model_amf_event_subscription.go +++ b/models/model_amf_event_subscription.go @@ -1,25 +1,41 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents an individual event subscription resource on AMF type AmfEventSubscription struct { - EventList *[]AmfEvent `json:"eventList,omitempty"` - EventNotifyUri string `json:"eventNotifyUri"` - NotifyCorrelationId string `json:"notifyCorrelationId"` - NfId string `json:"nfId"` - SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty"` - Supi string `json:"supi,omitempty"` - GroupId string `json:"groupId,omitempty"` - Gpsi string `json:"gpsi,omitempty"` - Pei string `json:"pei,omitempty"` - AnyUE bool `json:"anyUE,omitempty"` - Options *AmfEventMode `json:"options,omitempty"` + EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` + Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` + SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` } diff --git a/models/model_amf_event_subscription_add_info.go b/models/model_amf_event_subscription_add_info.go new file mode 100644 index 00000000..c97d6c68 --- /dev/null +++ b/models/model_amf_event_subscription_add_info.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information received for an AMF event subscription, e.g. binding indications +type AmfEventSubscriptionAddInfo struct { + BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` + SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` + EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` + NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` + // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. + AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` +} diff --git a/models/model_amf_event_subscription_info.go b/models/model_amf_event_subscription_info.go new file mode 100644 index 00000000..edc4979b --- /dev/null +++ b/models/model_amf_event_subscription_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual AMF Event Subscription Information +type AmfEventSubscriptionInfo struct { + // String providing an URI formatted according to RFC 3986. + SubId string `json:"subId" yaml:"subId" bson:"subId,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + RefIdList []int32 `json:"refIdList" yaml:"refIdList" bson:"refIdList,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSubId string `json:"oldSubId,omitempty" yaml:"oldSubId" bson:"oldSubId,omitempty"` +} diff --git a/models/model_amf_event_trigger.go b/models/model_amf_event_trigger.go index 13766e71..c6f4db92 100644 --- a/models/model_amf_event_trigger.go +++ b/models/model_amf_event_trigger.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,4 +18,5 @@ type AmfEventTrigger string const ( AmfEventTrigger_ONE_TIME AmfEventTrigger = "ONE_TIME" AmfEventTrigger_CONTINUOUS AmfEventTrigger = "CONTINUOUS" + AmfEventTrigger_PERIODIC AmfEventTrigger = "PERIODIC" ) diff --git a/models/model_amf_event_type.go b/models/model_amf_event_type.go index 8357c392..400dd0d0 100644 --- a/models/model_amf_event_type.go +++ b/models/model_amf_event_type.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,16 +16,24 @@ type AmfEventType string // List of AmfEventType const ( - AmfEventType_LOCATION_REPORT AmfEventType = "LOCATION_REPORT" - AmfEventType_PRESENCE_IN_AOI_REPORT AmfEventType = "PRESENCE_IN_AOI_REPORT" - AmfEventType_TIMEZONE_REPORT AmfEventType = "TIMEZONE_REPORT" - AmfEventType_ACCESS_TYPE_REPORT AmfEventType = "ACCESS_TYPE_REPORT" - AmfEventType_REGISTRATION_STATE_REPORT AmfEventType = "REGISTRATION_STATE_REPORT" - AmfEventType_CONNECTIVITY_STATE_REPORT AmfEventType = "CONNECTIVITY_STATE_REPORT" - AmfEventType_REACHABILITY_REPORT AmfEventType = "REACHABILITY_REPORT" - AmfEventType_SUBSCRIBED_DATA_REPORT AmfEventType = "SUBSCRIBED_DATA_REPORT" - AmfEventType_COMMUNICATION_FAILURE_REPORT AmfEventType = "COMMUNICATION_FAILURE_REPORT" - AmfEventType_UES_IN_AREA_REPORT AmfEventType = "UES_IN_AREA_REPORT" - AmfEventType_SUBSCRIPTION_ID_CHANGE AmfEventType = "SUBSCRIPTION_ID_CHANGE" - AmfEventType_SUBSCRIPTION_ID_ADDITION AmfEventType = "SUBSCRIPTION_ID_ADDITION" + AmfEventType_LOCATION_REPORT AmfEventType = "LOCATION_REPORT" + AmfEventType_PRESENCE_IN_AOI_REPORT AmfEventType = "PRESENCE_IN_AOI_REPORT" + AmfEventType_TIMEZONE_REPORT AmfEventType = "TIMEZONE_REPORT" + AmfEventType_ACCESS_TYPE_REPORT AmfEventType = "ACCESS_TYPE_REPORT" + AmfEventType_REGISTRATION_STATE_REPORT AmfEventType = "REGISTRATION_STATE_REPORT" + AmfEventType_CONNECTIVITY_STATE_REPORT AmfEventType = "CONNECTIVITY_STATE_REPORT" + AmfEventType_REACHABILITY_REPORT AmfEventType = "REACHABILITY_REPORT" + AmfEventType_COMMUNICATION_FAILURE_REPORT AmfEventType = "COMMUNICATION_FAILURE_REPORT" + AmfEventType_UES_IN_AREA_REPORT AmfEventType = "UES_IN_AREA_REPORT" + AmfEventType_SUBSCRIPTION_ID_CHANGE AmfEventType = "SUBSCRIPTION_ID_CHANGE" + AmfEventType_SUBSCRIPTION_ID_ADDITION AmfEventType = "SUBSCRIPTION_ID_ADDITION" + AmfEventType_LOSS_OF_CONNECTIVITY AmfEventType = "LOSS_OF_CONNECTIVITY" + AmfEventType__5_GS_USER_STATE_REPORT AmfEventType = "5GS_USER_STATE_REPORT" + AmfEventType_AVAILABILITY_AFTER_DDN_FAILURE AmfEventType = "AVAILABILITY_AFTER_DDN_FAILURE" + AmfEventType_TYPE_ALLOCATION_CODE_REPORT AmfEventType = "TYPE_ALLOCATION_CODE_REPORT" + AmfEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT AmfEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" + AmfEventType_SNSSAI_TA_MAPPING_REPORT AmfEventType = "SNSSAI_TA_MAPPING_REPORT" + AmfEventType_UE_LOCATION_TRENDS AmfEventType = "UE_LOCATION_TRENDS" + AmfEventType_UE_ACCESS_BEHAVIOR_TRENDS AmfEventType = "UE_ACCESS_BEHAVIOR_TRENDS" + AmfEventType_UE_MM_TRANSACTION_REPORT AmfEventType = "UE_MM_TRANSACTION_REPORT" ) diff --git a/models/model_amf_info.go b/models/model_amf_info.go index 249dc9d8..fdbb924d 100644 --- a/models/model_amf_info.go +++ b/models/model_amf_info.go @@ -1,21 +1,25 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an AMF NF Instance type AmfInfo struct { - AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId" mapstructure:"AmfSetId"` - AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId" mapstructure:"AmfRegionId"` - GuamiList *[]Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList" mapstructure:"GuamiList"` - TaiList *[]Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList" mapstructure:"TaiList"` - TaiRangeList *[]TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList" mapstructure:"TaiRangeList"` - BackupInfoAmfFailure *[]Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure" mapstructure:"BackupInfoAmfFailure"` - BackupInfoAmfRemoval *[]Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval" mapstructure:"BackupInfoAmfRemoval"` - N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo" mapstructure:"N2InterfaceAmfInfo"` + AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId,omitempty"` + AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + BackupInfoAmfFailure []Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure,omitempty"` + BackupInfoAmfRemoval []Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval,omitempty"` + N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo,omitempty"` } diff --git a/models/model_amf_location_data.go b/models/model_amf_location_data.go new file mode 100644 index 00000000..e911ae76 --- /dev/null +++ b/models/model_amf_location_data.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the AMF serving node +type AmfLocationData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfAddress string `json:"amfAddress" yaml:"amfAddress" bson:"amfAddress,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + AmfLocation *NrLocation `json:"amfLocation,omitempty" yaml:"amfLocation" bson:"amfLocation,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfAddress string `json:"smsfAddress,omitempty" yaml:"smsfAddress" bson:"smsfAddress,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/model_amf_location_location_event.go b/models/model_amf_location_location_event.go new file mode 100644 index 00000000..1beec7dc --- /dev/null +++ b/models/model_amf_location_location_event.go @@ -0,0 +1,25 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfLocationLocationEvent string + +// List of AmfLocationLocationEvent +const ( + AmfLocationLocationEvent_EMERGENCY_CALL_ORIGINATION AmfLocationLocationEvent = "EMERGENCY_CALL_ORIGINATION" + AmfLocationLocationEvent_EMERGENCY_CALL_RELEASE AmfLocationLocationEvent = "EMERGENCY_CALL_RELEASE" + AmfLocationLocationEvent_EMERGENCY_CALL_HANDOVER AmfLocationLocationEvent = "EMERGENCY_CALL_HANDOVER" + AmfLocationLocationEvent_ACTIVATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION" + AmfLocationLocationEvent_UE_MOBILITY_FOR_DEFERRED_LOCATION AmfLocationLocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION" + AmfLocationLocationEvent_CANCELLATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION" +) diff --git a/models/model_amf_location_location_type.go b/models/model_amf_location_location_type.go new file mode 100644 index 00000000..3ae49deb --- /dev/null +++ b/models/model_amf_location_location_type.go @@ -0,0 +1,23 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfLocationLocationType string + +// List of AmfLocationLocationType +const ( + AmfLocationLocationType_CURRENT_LOCATION AmfLocationLocationType = "CURRENT_LOCATION" + AmfLocationLocationType_CURRENT_OR_LAST_KNOWN_LOCATION AmfLocationLocationType = "CURRENT_OR_LAST_KNOWN_LOCATION" + AmfLocationLocationType_NOTIFICATION_VERIFICATION_ONLY AmfLocationLocationType = "NOTIFICATION_VERIFICATION_ONLY" + AmfLocationLocationType_DEFERRED_LOCATION AmfLocationLocationType = "DEFERRED_LOCATION" +) diff --git a/models/model_amf_mbs_broadcast_context_update_req_data.go b/models/model_amf_mbs_broadcast_context_update_req_data.go new file mode 100644 index 00000000..31b97e7a --- /dev/null +++ b/models/model_amf_mbs_broadcast_context_update_req_data.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextUpdate Request +type AmfMbsBroadcastContextUpdateReqData struct { + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo,omitempty" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + RanIdList []GlobalRanNodeId `json:"ranIdList,omitempty" yaml:"ranIdList" bson:"ranIdList,omitempty"` + NoNgapSignallingInd bool `json:"noNgapSignallingInd,omitempty" yaml:"noNgapSignallingInd" bson:"noNgapSignallingInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + N2MbsInfoChangeInd bool `json:"n2MbsInfoChangeInd,omitempty" yaml:"n2MbsInfoChangeInd" bson:"n2MbsInfoChangeInd,omitempty"` +} diff --git a/models/model_amf_mbs_broadcast_context_update_rsp_data.go b/models/model_amf_mbs_broadcast_context_update_rsp_data.go new file mode 100644 index 00000000..92784fc9 --- /dev/null +++ b/models/model_amf_mbs_broadcast_context_update_rsp_data.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextUpdate Response +type AmfMbsBroadcastContextUpdateRspData struct { + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` +} diff --git a/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go b/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go new file mode 100644 index 00000000..f7df55f3 --- /dev/null +++ b/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N2 MBS Session Management information +type AmfMbsBroadcastN2MbsSmInfo struct { + NgapIeType AmfMbsBroadcastNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` + RanId *GlobalRanNodeId `json:"ranId,omitempty" yaml:"ranId" bson:"ranId,omitempty"` +} diff --git a/models/model_amf_mbs_broadcast_ngap_ie_type.go b/models/model_amf_mbs_broadcast_ngap_ie_type.go new file mode 100644 index 00000000..4afc364a --- /dev/null +++ b/models/model_amf_mbs_broadcast_ngap_ie_type.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfMbsBroadcastNgapIeType string + +// List of AmfMBSBroadcastNgapIeType +const ( + AmfMbsBroadcastNgapIeType_REQ AmfMbsBroadcastNgapIeType = "MBS_SES_REQ" + AmfMbsBroadcastNgapIeType_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_RSP" + AmfMbsBroadcastNgapIeType_FAIL AmfMbsBroadcastNgapIeType = "MBS_SES_FAIL" + AmfMbsBroadcastNgapIeType_REL_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_REL_RSP" +) diff --git a/models/model_amf_mbs_communication_n2_mbs_sm_info.go b/models/model_amf_mbs_communication_n2_mbs_sm_info.go new file mode 100644 index 00000000..d80617da --- /dev/null +++ b/models/model_amf_mbs_communication_n2_mbs_sm_info.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N2 MBS Session Management information +type AmfMbsCommunicationN2MbsSmInfo struct { + NgapIeType MbsNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` +} diff --git a/models/model_amf_mt_ue_info.go b/models/model_amf_mt_ue_info.go new file mode 100644 index 00000000..26a04cb8 --- /dev/null +++ b/models/model_amf_mt_ue_info.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// list of UEs requested to be made reachable for the MBS Session +type AmfMtUeInfo struct { + UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` +} diff --git a/models/model_amf_non3_gpp_access_registration.go b/models/model_amf_non3_gpp_access_registration.go index 24452eb4..c64e2bc1 100644 --- a/models/model_amf_non3_gpp_access_registration.go +++ b/models/model_amf_non3_gpp_access_registration.go @@ -1,26 +1,57 @@ /* - * Nudm_UECM + * Nudr_DataRepository API OpenAPI file * - * Nudm Context Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type AmfNon3GppAccessRegistration struct { - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId" mapstructure:"AmfInstanceId"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag" mapstructure:"PurgeFlag"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei" mapstructure:"Pei"` - ImsVoPs ImsVoPs `json:"imsVoPs" yaml:"imsVoPs" bson:"imsVoPs" mapstructure:"ImsVoPs"` - DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri" mapstructure:"DeregCallbackUri"` - AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg" mapstructure:"AmfServiceNameDereg"` - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri" mapstructure:"PcscfRestorationCallbackUri"` - AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest" mapstructure:"AmfServiceNamePcscfRest"` - Guami *Guami `json:"guami" yaml:"guami" bson:"guami" mapstructure:"Guami"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo" mapstructure:"BackupAmfInfo"` - RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator" mapstructure:"UrrpIndicator"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` + // String providing an URI formatted according to RFC 3986. + AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` + AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` } diff --git a/models/model_amf_non3_gpp_access_registration_modification.go b/models/model_amf_non3_gpp_access_registration_modification.go index ee933a54..0cdc98cc 100644 --- a/models/model_amf_non3_gpp_access_registration_modification.go +++ b/models/model_amf_non3_gpp_access_registration_modification.go @@ -1,18 +1,22 @@ /* * Nudm_UECM * - * Nudm Context Management Service + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AmfNon3GppAccessRegistrationModification struct { - Guami *Guami `json:"guami" yaml:"guami" bson:"guami" mapstructure:"Guami"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag" mapstructure:"PurgeFlag"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei" mapstructure:"Pei"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs" mapstructure:"ImsVoPs"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo" mapstructure:"BackupAmfInfo"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` } diff --git a/models/model_amf_status_change_notification.go b/models/model_amf_status_change_notification.go index 9e5f80bc..0edb404f 100644 --- a/models/model_amf_status_change_notification.go +++ b/models/model_amf_status_change_notification.go @@ -1,14 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within an AMF Status Change Notification request type AmfStatusChangeNotification struct { - AmfStatusInfoList []AmfStatusInfo `json:"amfStatusInfoList,omitempty"` + AmfStatusInfoList []AmfStatusInfo `json:"amfStatusInfoList" yaml:"amfStatusInfoList" bson:"amfStatusInfoList,omitempty"` } diff --git a/models/model_amf_status_info.go b/models/model_amf_status_info.go index 1a4c9f5d..5752beeb 100644 --- a/models/model_amf_status_info.go +++ b/models/model_amf_status_info.go @@ -1,17 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// AMF Status Information type AmfStatusInfo struct { - GuamiList []Guami `json:"guamiList,omitempty"` - StatusChange StatusChange `json:"statusChange"` - TargetAmfRemoval string `json:"targetAmfRemoval,omitempty"` - TargetAmfFailure string `json:"targetAmfFailure,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + StatusChange StatusChange `json:"statusChange" yaml:"statusChange" bson:"statusChange,omitempty"` + // Fully Qualified Domain Name + TargetAmfRemoval string `json:"targetAmfRemoval,omitempty" yaml:"targetAmfRemoval" bson:"targetAmfRemoval,omitempty"` + // Fully Qualified Domain Name + TargetAmfFailure string `json:"targetAmfFailure,omitempty" yaml:"targetAmfFailure" bson:"targetAmfFailure,omitempty"` } diff --git a/models/model_amf_subscription_info.go b/models/model_amf_subscription_info.go index 3ccf4554..d641a221 100644 --- a/models/model_amf_subscription_info.go +++ b/models/model_amf_subscription_info.go @@ -1,17 +1,23 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information the UDR stores and retrieves related to active subscriptions at the AMF(s). type AmfSubscriptionInfo struct { - AmfInstanceId string `json:"amfInstanceId" bson:"amfInstanceId"` - // string providing an URI formatted according to IETF RFC 3986. - SubscriptionId string `json:"subscriptionId" bson:"subscriptionId"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" bson:"subsChangeNotifyCorrelationId"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` } diff --git a/models/model_amf_update_event_option_item.go b/models/model_amf_update_event_option_item.go index 5bd93470..2b22d636 100644 --- a/models/model_amf_update_event_option_item.go +++ b/models/model_amf_update_event_option_item.go @@ -1,9 +1,12 @@ /* * Namf_EventExposure * - * AMF Event Exposure Service + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,11 @@ import ( "time" ) +// Document describing the modifications to AMF event subscription options type AmfUpdateEventOptionItem struct { - Op string `json:"op" bson:"op" ` - Path string `json:"path" bson:"path" ` - Value *time.Time `json:"value" bson:"value" ` + Op string `json:"op" yaml:"op" bson:"op,omitempty"` + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Value *time.Time `json:"value" yaml:"value" bson:"value,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` } diff --git a/models/model_amf_update_event_subscription_item.go b/models/model_amf_update_event_subscription_item.go new file mode 100644 index 00000000..1f9f8b02 --- /dev/null +++ b/models/model_amf_update_event_subscription_item.go @@ -0,0 +1,25 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Document describing the modification(s) to an AMF Event Subscription +type AmfUpdateEventSubscriptionItem struct { + Op string `json:"op" yaml:"op" bson:"op,omitempty"` + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + Value *AmfEvent `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` + PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` +} diff --git a/models/model_amf_update_event_subscription_item_inner.go b/models/model_amf_update_event_subscription_item_inner.go deleted file mode 100644 index 253a8811..00000000 --- a/models/model_amf_update_event_subscription_item_inner.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfUpdateEventSubscriptionItemInner struct { - Op string `json:"op" bson:"op" ` - Path string `json:"path" bson:"path" ` - Value *AmfEvent `json:"value,omitempty" bson:"value" ` -} diff --git a/models/model_amf_updated_event_subscription.go b/models/model_amf_updated_event_subscription.go index 05a09375..da54ed47 100644 --- a/models/model_amf_updated_event_subscription.go +++ b/models/model_amf_updated_event_subscription.go @@ -1,14 +1,19 @@ /* * Namf_EventExposure * - * AMF Event Exposure Service + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a successful update on an AMF Event Subscription type AmfUpdatedEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" bson:"subscription" ` + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` } diff --git a/models/model_an_gw_address.go b/models/model_an_gw_address.go index da361435..a845ce9e 100644 --- a/models/model_an_gw_address.go +++ b/models/model_an_gw_address.go @@ -1,16 +1,20 @@ /* - * Npcf_PolicyAuthorization Service API + * Npcf_EventExposure * - * This is the Policy Authorization Service + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// describes the address of the access network gateway control node +// Describes the address of the access network gateway control node. type AnGwAddress struct { - AnGwIpv4Addr string `json:"anGwIpv4Addr,omitempty" yaml:"anGwIpv4Addr" bson:"anGwIpv4Addr" mapstructure:"AnGwIpv4Addr"` - AnGwIpv6Addr string `json:"anGwIpv6Addr,omitempty" yaml:"anGwIpv6Addr" bson:"anGwIpv6Addr" mapstructure:"AnGwIpv6Addr"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnGwIpv4Addr string `json:"anGwIpv4Addr,omitempty" yaml:"anGwIpv4Addr" bson:"anGwIpv4Addr,omitempty"` + AnGwIpv6Addr string `json:"anGwIpv6Addr,omitempty" yaml:"anGwIpv6Addr" bson:"anGwIpv6Addr,omitempty"` } diff --git a/models/model_an_node_type.go b/models/model_an_node_type.go new file mode 100644 index 00000000..c4a4eebc --- /dev/null +++ b/models/model_an_node_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnNodeType string + +// List of AnNodeType +const ( + AnNodeType_GNB AnNodeType = "GNB" + AnNodeType_NG_ENB AnNodeType = "NG_ENB" +) diff --git a/models/model_analytics_context_identifier.go b/models/model_analytics_context_identifier.go new file mode 100644 index 00000000..80d47c83 --- /dev/null +++ b/models/model_analytics_context_identifier.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about available analytics contexts. +type AnalyticsContextIdentifier struct { + // The identifier of a subscription. + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // List of analytics types for which NF related analytics contexts can be retrieved. + NfAnaCtxts []NwdafEvent `json:"nfAnaCtxts,omitempty" yaml:"nfAnaCtxts" bson:"nfAnaCtxts,omitempty"` + // List of objects that indicate for which SUPI and analytics types combinations analytics context can be retrieved. + UeAnaCtxts []UeAnalyticsContextDescriptor `json:"ueAnaCtxts,omitempty" yaml:"ueAnaCtxts" bson:"ueAnaCtxts,omitempty"` +} diff --git a/models/model_analytics_metadata.go b/models/model_analytics_metadata.go new file mode 100644 index 00000000..21cf68b8 --- /dev/null +++ b/models/model_analytics_metadata.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnalyticsMetadata string + +// List of AnalyticsMetadata +const ( + AnalyticsMetadata_NUM_OF_SAMPLES AnalyticsMetadata = "NUM_OF_SAMPLES" + AnalyticsMetadata_DATA_WINDOW AnalyticsMetadata = "DATA_WINDOW" + AnalyticsMetadata_DATA_STAT_PROPS AnalyticsMetadata = "DATA_STAT_PROPS" + AnalyticsMetadata_STRATEGY AnalyticsMetadata = "STRATEGY" + AnalyticsMetadata_ACCURACY AnalyticsMetadata = "ACCURACY" +) diff --git a/models/model_analytics_metadata_indication.go b/models/model_analytics_metadata_indication.go new file mode 100644 index 00000000..ed8496ce --- /dev/null +++ b/models/model_analytics_metadata_indication.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains analytics metadata information requested to be used during analytics generation. +type AnalyticsMetadataIndication struct { + DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` + DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` + Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` + AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` +} diff --git a/models/model_analytics_metadata_info.go b/models/model_analytics_metadata_info.go new file mode 100644 index 00000000..026dc757 --- /dev/null +++ b/models/model_analytics_metadata_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains analytics metadata information required for analytics aggregation. +type AnalyticsMetadataInfo struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumSamples int32 `json:"numSamples,omitempty" yaml:"numSamples" bson:"numSamples,omitempty"` + DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` + DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` + Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` + Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` +} diff --git a/models/model_analytics_subscription.go b/models/model_analytics_subscription.go new file mode 100644 index 00000000..9d9db614 --- /dev/null +++ b/models/model_analytics_subscription.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Analytics subscriptions created in the NWDAF. +type AnalyticsSubscription struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafId string `json:"nwdafId,omitempty" yaml:"nwdafId" bson:"nwdafId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + NwdafSubscriptionList []NwdafSubscription `json:"nwdafSubscriptionList" yaml:"nwdafSubscriptionList" bson:"nwdafSubscriptionList,omitempty"` +} diff --git a/models/model_analytics_subscriptions_transfer.go b/models/model_analytics_subscriptions_transfer.go new file mode 100644 index 00000000..bb54494e --- /dev/null +++ b/models/model_analytics_subscriptions_transfer.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about a request to transfer analytics subscriptions. +type AnalyticsSubscriptionsTransfer struct { + SubsTransInfos []SubscriptionTransferInfo `json:"subsTransInfos" yaml:"subsTransInfos" bson:"subsTransInfos,omitempty"` +} diff --git a/models/model_analytics_subset.go b/models/model_analytics_subset.go new file mode 100644 index 00000000..162cd25a --- /dev/null +++ b/models/model_analytics_subset.go @@ -0,0 +1,59 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnalyticsSubset string + +// List of AnalyticsSubset +const ( + AnalyticsSubset_NUM_OF_UE_REG AnalyticsSubset = "NUM_OF_UE_REG" + AnalyticsSubset_NUM_OF_PDU_SESS_ESTBL AnalyticsSubset = "NUM_OF_PDU_SESS_ESTBL" + AnalyticsSubset_RES_USAGE AnalyticsSubset = "RES_USAGE" + AnalyticsSubset_NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" + AnalyticsSubset_PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" + AnalyticsSubset_EXCEED_LOAD_LEVEL_THR_IND AnalyticsSubset = "EXCEED_LOAD_LEVEL_THR_IND" + AnalyticsSubset_LIST_OF_TOP_APP_UL AnalyticsSubset = "LIST_OF_TOP_APP_UL" + AnalyticsSubset_LIST_OF_TOP_APP_DL AnalyticsSubset = "LIST_OF_TOP_APP_DL" + AnalyticsSubset_NF_STATUS AnalyticsSubset = "NF_STATUS" + AnalyticsSubset_NF_RESOURCE_USAGE AnalyticsSubset = "NF_RESOURCE_USAGE" + AnalyticsSubset_NF_LOAD AnalyticsSubset = "NF_LOAD" + AnalyticsSubset_NF_PEAK_LOAD AnalyticsSubset = "NF_PEAK_LOAD" + AnalyticsSubset_NF_LOAD_AVG_IN_AOI AnalyticsSubset = "NF_LOAD_AVG_IN_AOI" + AnalyticsSubset_DISPER_AMOUNT AnalyticsSubset = "DISPER_AMOUNT" + AnalyticsSubset_DISPER_CLASS AnalyticsSubset = "DISPER_CLASS" + AnalyticsSubset_RANKING AnalyticsSubset = "RANKING" + AnalyticsSubset_PERCENTILE_RANKING AnalyticsSubset = "PERCENTILE_RANKING" + AnalyticsSubset_RSSI AnalyticsSubset = "RSSI" + AnalyticsSubset_RTT AnalyticsSubset = "RTT" + AnalyticsSubset_TRAFFIC_INFO AnalyticsSubset = "TRAFFIC_INFO" + AnalyticsSubset_NUMBER_OF_UES AnalyticsSubset = "NUMBER_OF_UES" + AnalyticsSubset_APP_LIST_FOR_UE_COMM AnalyticsSubset = "APP_LIST_FOR_UE_COMM" + AnalyticsSubset_N4_SESS_INACT_TIMER_FOR_UE_COMM AnalyticsSubset = "N4_SESS_INACT_TIMER_FOR_UE_COMM" + AnalyticsSubset_AVG_TRAFFIC_RATE AnalyticsSubset = "AVG_TRAFFIC_RATE" + AnalyticsSubset_MAX_TRAFFIC_RATE AnalyticsSubset = "MAX_TRAFFIC_RATE" + AnalyticsSubset_AVG_PACKET_DELAY AnalyticsSubset = "AVG_PACKET_DELAY" + AnalyticsSubset_MAX_PACKET_DELAY AnalyticsSubset = "MAX_PACKET_DELAY" + AnalyticsSubset_AVG_PACKET_LOSS_RATE AnalyticsSubset = "AVG_PACKET_LOSS_RATE" + AnalyticsSubset_UE_LOCATION AnalyticsSubset = "UE_LOCATION" + AnalyticsSubset_LIST_OF_HIGH_EXP_UE AnalyticsSubset = "LIST_OF_HIGH_EXP_UE" + AnalyticsSubset_LIST_OF_MEDIUM_EXP_UE AnalyticsSubset = "LIST_OF_MEDIUM_EXP_UE" + AnalyticsSubset_LIST_OF_LOW_EXP_UE AnalyticsSubset = "LIST_OF_LOW_EXP_UE" + AnalyticsSubset_AVG_UL_PKT_DROP_RATE AnalyticsSubset = "AVG_UL_PKT_DROP_RATE" + AnalyticsSubset_VAR_UL_PKT_DROP_RATE AnalyticsSubset = "VAR_UL_PKT_DROP_RATE" + AnalyticsSubset_AVG_DL_PKT_DROP_RATE AnalyticsSubset = "AVG_DL_PKT_DROP_RATE" + AnalyticsSubset_VAR_DL_PKT_DROP_RATE AnalyticsSubset = "VAR_DL_PKT_DROP_RATE" + AnalyticsSubset_AVG_UL_PKT_DELAY AnalyticsSubset = "AVG_UL_PKT_DELAY" + AnalyticsSubset_VAR_UL_PKT_DELAY AnalyticsSubset = "VAR_UL_PKT_DELAY" + AnalyticsSubset_AVG_DL_PKT_DELAY AnalyticsSubset = "AVG_DL_PKT_DELAY" + AnalyticsSubset_VAR_DL_PKT_DELAY AnalyticsSubset = "VAR_DL_PKT_DELAY" +) diff --git a/models/model_anchor_smf_features.go b/models/model_anchor_smf_features.go new file mode 100644 index 00000000..e2f9241d --- /dev/null +++ b/models/model_anchor_smf_features.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Anchor SMF supported features +type AnchorSmfFeatures struct { + PsetrSupportInd bool `json:"psetrSupportInd,omitempty" yaml:"psetrSupportInd" bson:"psetrSupportInd,omitempty"` +} diff --git a/models/model_announcement_information.go b/models/model_announcement_information.go new file mode 100644 index 00000000..bb0ae2d6 --- /dev/null +++ b/models/model_announcement_information.go @@ -0,0 +1,29 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnnouncementInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AnnouncementIdentifier int32 `json:"announcementIdentifier,omitempty" yaml:"announcementIdentifier" bson:"announcementIdentifier,omitempty"` + // String providing an URI formatted according to RFC 3986. + AnnouncementReference string `json:"announcementReference,omitempty" yaml:"announcementReference" bson:"announcementReference,omitempty"` + VariableParts []VariablePart `json:"variableParts,omitempty" yaml:"variableParts" bson:"variableParts,omitempty"` + // indicating a time in seconds. + TimeToPlay int32 `json:"timeToPlay,omitempty" yaml:"timeToPlay" bson:"timeToPlay,omitempty"` + QuotaConsumptionIndicator QuotaConsumptionIndicator `json:"quotaConsumptionIndicator,omitempty" yaml:"quotaConsumptionIndicator" bson:"quotaConsumptionIndicator,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AnnouncementPriority int32 `json:"announcementPriority,omitempty" yaml:"announcementPriority" bson:"announcementPriority,omitempty"` + PlayToParty PlayToParty `json:"playToParty,omitempty" yaml:"playToParty" bson:"playToParty,omitempty"` + AnnouncementPrivacyIndicator AnnouncementPrivacyIndicator `json:"announcementPrivacyIndicator,omitempty" yaml:"announcementPrivacyIndicator" bson:"announcementPrivacyIndicator,omitempty"` + Language string `json:"Language,omitempty" yaml:"Language" bson:"Language,omitempty"` +} diff --git a/models/model_announcement_privacy_indicator.go b/models/model_announcement_privacy_indicator.go new file mode 100644 index 00000000..10d98bb0 --- /dev/null +++ b/models/model_announcement_privacy_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnnouncementPrivacyIndicator string + +// List of AnnouncementPrivacyIndicator +const ( + AnnouncementPrivacyIndicator_NOT_PRIVATE AnnouncementPrivacyIndicator = "NOT_PRIVATE" + AnnouncementPrivacyIndicator_PRIVATE AnnouncementPrivacyIndicator = "PRIVATE" +) diff --git a/models/model_api_direction.go b/models/model_api_direction.go index ceb6c1a5..9cb0aae7 100644 --- a/models/model_api_direction.go +++ b/models/model_api_direction.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_apn_rate_status.go b/models/model_apn_rate_status.go new file mode 100644 index 00000000..41c54c2c --- /dev/null +++ b/models/model_apn_rate_status.go @@ -0,0 +1,31 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the APN rate control status e.g. of the AMF. +type ApnRateStatus struct { + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. + RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. + RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // When present, it shall indicate the number of additional exception reports the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. + RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` + // When present, it shall indicate the number of additional exception reports the AF is allowed to send downlink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. + RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` +} diff --git a/models/model_app_am_context_data.go b/models/model_app_am_context_data.go new file mode 100644 index 00000000..9bb514ad --- /dev/null +++ b/models/model_app_am_context_data.go @@ -0,0 +1,33 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Application AM Context resource. +type AppAmContextData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // indicating a time in seconds. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/model_app_am_context_resp_data.go b/models/model_app_am_context_resp_data.go new file mode 100644 index 00000000..f4887dbf --- /dev/null +++ b/models/model_app_am_context_resp_data.go @@ -0,0 +1,36 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents a response to a modification or creation request of an Individual Application AM resource. It may contain the notification of the already met events. +type AppAmContextRespData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // indicating a time in seconds. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/model_app_am_context_update_data.go b/models/model_app_am_context_update_data.go new file mode 100644 index 00000000..973ed8eb --- /dev/null +++ b/models/model_app_am_context_update_data.go @@ -0,0 +1,27 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the modifications to an Individual Application AM resource. +type AppAmContextUpdateData struct { + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri,omitempty" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/model_app_descriptor.go b/models/model_app_descriptor.go new file mode 100644 index 00000000..4e62dc0f --- /dev/null +++ b/models/model_app_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an operation system and the corresponding applications. +type AppDescriptor struct { + // Represents the Operating System of the served UE. + OsId string `json:"osId" yaml:"osId" bson:"osId,omitempty"` + // Identifies applications that are running on the UE's operating system. Any string value can be used as a key of the map. + AppIds map[string]string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` +} diff --git a/models/model_app_detection_info.go b/models/model_app_detection_info.go index 3227b15c..b41ab6f6 100644 --- a/models/model_app_detection_info.go +++ b/models/model_app_detection_info.go @@ -1,19 +1,23 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the detected application's traffic information. type AppDetectionInfo struct { // A reference to the application detection filter configured at the UPF - AppId string `json:"appId" yaml:"appId" bson:"appId" mapstructure:"AppId"` + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` // Identifier sent by the SMF in order to allow correlation of application Start and Stop events to the specific service data flow description, if service data flow descriptions are deducible. - InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId" mapstructure:"InstanceId"` + InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` // Contains the detected service data flow descriptions if they are deducible. - SdfDescriptions []FlowInformation `json:"sdfDescriptions,omitempty" yaml:"sdfDescriptions" bson:"sdfDescriptions" mapstructure:"SdfDescriptions"` + SdfDescriptions []FlowInformation `json:"sdfDescriptions,omitempty" yaml:"sdfDescriptions" bson:"sdfDescriptions,omitempty"` } diff --git a/models/model_app_detection_notif_type.go b/models/model_app_detection_notif_type.go new file mode 100644 index 00000000..f2abf412 --- /dev/null +++ b/models/model_app_detection_notif_type.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppDetectionNotifType string + +// List of AppDetectionNotifType +const ( + AppDetectionNotifType_START AppDetectionNotifType = "APP_START" + AppDetectionNotifType_STOP AppDetectionNotifType = "APP_STOP" +) diff --git a/models/model_app_detection_report.go b/models/model_app_detection_report.go new file mode 100644 index 00000000..eecef87b --- /dev/null +++ b/models/model_app_detection_report.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the start or stop of the detected application traffic and the application identifier of the detected application traffic. +type AppDetectionReport struct { + AdNotifType AppDetectionNotifType `json:"adNotifType" yaml:"adNotifType" bson:"adNotifType,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` +} diff --git a/models/model_app_list_for_ue_comm.go b/models/model_app_list_for_ue_comm.go new file mode 100644 index 00000000..bffaff66 --- /dev/null +++ b/models/model_app_list_for_ue_comm.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the analytics of the application list used by UE. +type AppListForUeComm struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // indicating a time in seconds. + AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + OccurRatio int32 `json:"occurRatio,omitempty" yaml:"occurRatio" bson:"occurRatio,omitempty"` + SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` +} diff --git a/models/model_app_port_id.go b/models/model_app_port_id.go new file mode 100644 index 00000000..d99c9b6d --- /dev/null +++ b/models/model_app_port_id.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppPortId struct { + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + DestinationPort int32 `json:"destinationPort,omitempty" yaml:"destinationPort" bson:"destinationPort,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + OriginatorPort int32 `json:"originatorPort,omitempty" yaml:"originatorPort" bson:"originatorPort,omitempty"` +} diff --git a/models/model_app_session_context.go b/models/model_app_session_context.go index 32570057..7073bb08 100644 --- a/models/model_app_session_context.go +++ b/models/model_app_session_context.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,7 @@ package models // Represents an Individual Application Session Context resource. type AppSessionContext struct { - AscReqData *AppSessionContextReqData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData" mapstructure:"AscReqData"` - AscRespData *AppSessionContextRespData `json:"ascRespData,omitempty" yaml:"ascRespData" bson:"ascRespData" mapstructure:"AscRespData"` - EvsNotif *EventsNotification `json:"evsNotif,omitempty" yaml:"evsNotif" bson:"evsNotif" mapstructure:"EvsNotif"` + AscReqData *AppSessionContextReqData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` + AscRespData *AppSessionContextRespData `json:"ascRespData,omitempty" yaml:"ascRespData" bson:"ascRespData,omitempty"` + EvsNotif *PcfPolicyAuthorizationEventsNotification `json:"evsNotif,omitempty" yaml:"evsNotif" bson:"evsNotif,omitempty"` } diff --git a/models/model_app_session_context_req_data.go b/models/model_app_session_context_req_data.go index 26f2746c..85e5daa4 100644 --- a/models/model_app_session_context_req_data.go +++ b/models/model_app_session_context_req_data.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -12,28 +15,53 @@ package models // Identifies the service requirements of an Individual Application Session Context. type AppSessionContextReqData struct { // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId" mapstructure:"AfAppId"` - AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq" mapstructure:"AfRoutReq"` + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` + AfReqData AfRequestedData `json:"afReqData,omitempty" yaml:"afReqData" bson:"afReqData,omitempty"` + AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` // Contains an identity of an application service provider. - AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId" mapstructure:"AspId"` - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId" mapstructure:"BdtRefId"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - EvSubsc *EventsSubscReqData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc" mapstructure:"EvSubsc"` - MedComponents map[string]MediaComponent `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents" mapstructure:"MedComponents"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain" mapstructure:"IpDomain"` - // indication of MPS service request - MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId" mapstructure:"MpsId"` - // string providing an URI formatted according to IETF RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo" mapstructure:"SliceInfo"` + AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + EvSubsc *PcfPolicyAuthorizationEventsSubscReqData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // Indication of MCPTT service request. + McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` + // Indication of MCVideo service request. + McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` + // Contains media component information. The key of the map is the medCompN attribute. + MedComponents map[string]MediaComponent `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` + // Indication of MPS service request. + MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` + // Indication of MCS service request. + McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` + PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Contains values of the service URN and may include subservices. + ServUrn string `json:"servUrn,omitempty" yaml:"servUrn" bson:"servUrn,omitempty"` + SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` // Contains an identity of a sponsor. - SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId" mapstructure:"SponId"` - SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus" mapstructure:"SponStatus"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi" mapstructure:"Supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4" mapstructure:"UeIpv4"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6" mapstructure:"UeIpv6"` - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac" mapstructure:"UeMac"` + SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` + SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` } diff --git a/models/model_app_session_context_resp_data.go b/models/model_app_session_context_resp_data.go index 989d64bb..652e7b32 100644 --- a/models/model_app_session_context_resp_data.go +++ b/models/model_app_session_context_resp_data.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,8 @@ package models // Describes the authorization data of an Individual Application Session Context created by the PCF. type AppSessionContextRespData struct { - ServAuthInfo ServAuthInfo `json:"servAuthInfo,omitempty" yaml:"servAuthInfo" bson:"servAuthInfo" mapstructure:"ServAuthInfo"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` + ServAuthInfo ServAuthInfo `json:"servAuthInfo,omitempty" yaml:"servAuthInfo" bson:"servAuthInfo,omitempty"` + UeIds []UeIdentityInfo `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` } diff --git a/models/model_app_session_context_update_data.go b/models/model_app_session_context_update_data.go index d333100d..c4c8a3dd 100644 --- a/models/model_app_session_context_update_data.go +++ b/models/model_app_session_context_update_data.go @@ -1,28 +1,46 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Identifies the modifications to an Individual Application Session Context and may include the modifications to the sub-resource Events Subscription. +// Identifies the modifications to the \"ascReqData\" property of an Individual Application Session Context which may include the modifications to the sub-resource Events Subscription. type AppSessionContextUpdateData struct { // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId" mapstructure:"AfAppId"` - AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq" mapstructure:"AfRoutReq"` + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` // Contains an identity of an application service provider. - AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId" mapstructure:"AspId"` - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId" mapstructure:"BdtRefId"` - EvSubsc *EventsSubscReqDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc" mapstructure:"EvSubsc"` - MedComponents map[string]MediaComponentRm `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents" mapstructure:"MedComponents"` - // indication of MPS service request - MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId" mapstructure:"MpsId"` + AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + EvSubsc *PcfPolicyAuthorizationEventsSubscReqDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // Indication of MCPTT service request. + McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` + // Indication of modification of MCVideo service. + McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` + // Contains media component information. The key of the map is the medCompN attribute. + MedComponents map[string]*MediaComponentRm `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` + MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` + // Indication of MPS service request. + MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` + // Indication of MCS service request. + McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` + PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` + SipForkInd SipForkingIndication `json:"sipForkInd,omitempty" yaml:"sipForkInd" bson:"sipForkInd,omitempty"` // Contains an identity of a sponsor. - SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId" mapstructure:"SponId"` - SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus" mapstructure:"SponStatus"` + SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` + SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` } diff --git a/models/model_app_session_context_update_data_patch.go b/models/model_app_session_context_update_data_patch.go new file mode 100644 index 00000000..71b63ac8 --- /dev/null +++ b/models/model_app_session_context_update_data_patch.go @@ -0,0 +1,18 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the modifications to an Individual Application Session Context and/or the modifications to the sub-resource Events Subscription. +type AppSessionContextUpdateDataPatch struct { + AscReqData *AppSessionContextUpdateData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` +} diff --git a/models/model_application_data_change_notif.go b/models/model_application_data_change_notif.go new file mode 100644 index 00000000..b6c7fb64 --- /dev/null +++ b/models/model_application_data_change_notif.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains changed application data for which notification was requested. +type ApplicationDataChangeNotif struct { + IptvConfigData *IptvConfigData `json:"iptvConfigData,omitempty" yaml:"iptvConfigData" bson:"iptvConfigData,omitempty"` + PfdData *PfdChangeNotification `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + BdtPolicyData *BdtPolicyData `json:"bdtPolicyData,omitempty" yaml:"bdtPolicyData" bson:"bdtPolicyData,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` + SerParamData *ServiceParameterData `json:"serParamData,omitempty" yaml:"serParamData" bson:"serParamData,omitempty"` + AmInfluData *AmInfluData `json:"amInfluData,omitempty" yaml:"amInfluData" bson:"amInfluData,omitempty"` +} diff --git a/models/model_application_data_subs.go b/models/model_application_data_subs.go new file mode 100644 index 00000000..d8fb706d --- /dev/null +++ b/models/model_application_data_subs.go @@ -0,0 +1,33 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies a subscription to application data change notification. +type ApplicationDataSubs struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + DataFilters []DataFilter `json:"dataFilters,omitempty" yaml:"dataFilters" bson:"dataFilters,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Immediate reporting indication. + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + // The AM Influence Data entries stored in the UDR that match a subscription. + AmInfluEntries []AmInfluData `json:"amInfluEntries,omitempty" yaml:"amInfluEntries" bson:"amInfluEntries,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_application_for_pfd_request.go b/models/model_application_for_pfd_request.go new file mode 100644 index 00000000..e33597b3 --- /dev/null +++ b/models/model_application_for_pfd_request.go @@ -0,0 +1,25 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the application identifier(s) for the PFD(s) request. +type ApplicationForPfdRequest struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` +} diff --git a/models/model_application_server.go b/models/model_application_server.go new file mode 100644 index 00000000..8b9125fe --- /dev/null +++ b/models/model_application_server.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Application Server which shall be triggered if the conditions of a certain IFC are met, and its associated data +type ApplicationServer struct { + AsUri string `json:"asUri" yaml:"asUri" bson:"asUri,omitempty"` + SessionContinue bool `json:"sessionContinue,omitempty" yaml:"sessionContinue" bson:"sessionContinue,omitempty"` + ServiceInfoList []ServiceInformation `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` +} diff --git a/models/model_application_volume.go b/models/model_application_volume.go new file mode 100644 index 00000000..cad9e4dd --- /dev/null +++ b/models/model_application_volume.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Application data volume per Application Id. +type ApplicationVolume struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + AppVolume int64 `json:"appVolume" yaml:"appVolume" bson:"appVolume,omitempty"` +} diff --git a/models/model_applied_smcc_type.go b/models/model_applied_smcc_type.go new file mode 100644 index 00000000..b1f0dedd --- /dev/null +++ b/models/model_applied_smcc_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppliedSmccType string + +// List of AppliedSmccType +const ( + AppliedSmccType_DNN_CC AppliedSmccType = "DNN_CC" + AppliedSmccType_SNSSAI_CC AppliedSmccType = "SNSSAI_CC" +) diff --git a/models/model_area.go b/models/model_area.go index ee91bd63..5e2d587b 100644 --- a/models/model_area.go +++ b/models/model_area.go @@ -1,15 +1,20 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides area information. type Area struct { - Tacs []string `json:"tacs,omitempty" yaml:"tacs" bson:"tacs" mapstructure:"Tacs"` - AreaCode string `json:"areaCode,omitempty" yaml:"areaCode" bson:"areaCode" mapstructure:"AreaCode"` + Tacs []string `json:"tacs,omitempty" yaml:"tacs" bson:"tacs,omitempty"` + // Values are operator specific. + AreaCode string `json:"areaCode,omitempty" yaml:"areaCode" bson:"areaCode,omitempty"` } diff --git a/models/model_area_event_info.go b/models/model_area_event_info.go new file mode 100644 index 00000000..3a263523 --- /dev/null +++ b/models/model_area_event_info.go @@ -0,0 +1,28 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of area based event reporting. +type AreaEventInfo struct { + AreaDefinition []ReportingArea `json:"areaDefinition" yaml:"areaDefinition" bson:"areaDefinition,omitempty"` + OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` + // Minimum interval between event reports. + MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` + // Maximum interval between event reports. + MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` + // Maximum time interval between consecutive evaluations by a UE of a trigger event. + SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` + // Maximum duration of event reporting. + ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` + ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` +} diff --git a/models/model_area_of_interest_event_state.go b/models/model_area_of_interest_event_state.go new file mode 100644 index 00000000..e2853484 --- /dev/null +++ b/models/model_area_of_interest_event_state.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Event State of AoI event in old AMF +type AreaOfInterestEventState struct { + Presence PresenceState `json:"presence" yaml:"presence" bson:"presence,omitempty"` + IndividualPraIdList []string `json:"individualPraIdList,omitempty" yaml:"individualPraIdList" bson:"individualPraIdList,omitempty"` +} diff --git a/models/model_area_of_validity.go b/models/model_area_of_validity.go index 111a799b..bb044b8e 100644 --- a/models/model_area_of_validity.go +++ b/models/model_area_of_validity.go @@ -1,14 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Area of validity information for N2 information transfer type AreaOfValidity struct { - TaiList []Tai `json:"taiList,omitempty"` + TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` } diff --git a/models/model_area_scope.go b/models/model_area_scope.go new file mode 100644 index 00000000..af28c794 --- /dev/null +++ b/models/model_area_scope.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain the area based on Cells or Tracking Areas. +type AreaScope struct { + EutraCellIdList []string `json:"eutraCellIdList,omitempty" yaml:"eutraCellIdList" bson:"eutraCellIdList,omitempty"` + NrCellIdList []string `json:"nrCellIdList,omitempty" yaml:"nrCellIdList" bson:"nrCellIdList,omitempty"` + TacList []string `json:"tacList,omitempty" yaml:"tacList" bson:"tacList,omitempty"` + // A map (list of key-value pairs) where PlmnId converted to a string serves as key + TacInfoPerPlmn map[string]TacInfo `json:"tacInfoPerPlmn,omitempty" yaml:"tacInfoPerPlmn" bson:"tacInfoPerPlmn,omitempty"` +} diff --git a/models/model_arp.go b/models/model_arp.go index b28131a9..ec5274e4 100644 --- a/models/model_arp.go +++ b/models/model_arp.go @@ -1,17 +1,21 @@ /* - * Npcf_SMPolicyControl + * Nchf_OfflineOnlyCharging * - * Session Management Policy Control Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains Allocation and Retention Priority information. type Arp struct { - // nullable true shall not be used for this attribute - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel" mapstructure:"PriorityLevel"` - PreemptCap PreemptionCapability `json:"preemptCap" yaml:"preemptCap" bson:"preemptCap" mapstructure:"PreemptCap"` - PreemptVuln PreemptionVulnerability `json:"preemptVuln" yaml:"preemptVuln" bson:"preemptVuln" mapstructure:"PreemptVuln"` + // nullable true shall not be used for this attribute. Unsigned integer indicating the ARP Priority Level (see clause 5.7.2.2 of 3GPP TS 23.501, within the range 1 to 15.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 15 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` } diff --git a/models/model_as_session_with_qo_s_subscription.go b/models/model_as_session_with_qo_s_subscription.go new file mode 100644 index 00000000..d0c3908c --- /dev/null +++ b/models/model_as_session_with_qo_s_subscription.go @@ -0,0 +1,59 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an individual AS session with required QoS subscription resource. +type AsSessionWithQoSSubscription struct { + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + // Identifies the external Application Identifier. + ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` + // Describe the data flow which requires QoS. + FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` + // Identifies Ethernet packet flows. + EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` + // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. + EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` + // Identifies a pre-defined QoS information + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. + AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` + // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. + AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` + // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). Default value is false. The fulfilled situation is either the QoS profile or an Alternative QoS Profile. + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` + UsageThreshold *UsageThreshold `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` + SponsorInfo *SponsorInformation `json:"sponsorInfo,omitempty" yaml:"sponsorInfo" bson:"sponsorInfo,omitempty"` + QosMonInfo *QosMonitoringInformation `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` + // Indicates whether the direct event notification is requested (true) or not (false). Default value is false. + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + TscQosReq *TscQosRequirement `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` + // Set to true by the SCS/AS to request the SCEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. + RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` + // Represents the list of user plane event(s) to which the SCS/AS requests to subscribe to. + Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/model_as_session_with_qo_s_subscription_patch.go b/models/model_as_session_with_qo_s_subscription_patch.go new file mode 100644 index 00000000..81e13e67 --- /dev/null +++ b/models/model_as_session_with_qo_s_subscription_patch.go @@ -0,0 +1,42 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents parameters to modify an AS session with specific QoS subscription. +type AsSessionWithQoSSubscriptionPatch struct { + // Identifies the external Application Identifier. + ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` + // Describe the IP data flow which requires QoS. + FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` + // Identifies Ethernet packet flows. + EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` + // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. + EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` + // Pre-defined QoS reference + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. + AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` + // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. + AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` + // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). The fulfilled situation is either the QoS profile or an Alternative QoS Profile. + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + UsageThreshold *UsageThresholdRm `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` + QosMonInfo *QosMonitoringInformationRm `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` + // Indicates whether the direct event notification is requested (true) or not (false). + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + TscQosReq *TscQosRequirementRm `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` + // Represents the updated list of user plane event(s) to which the SCS/AS requests to subscribe to. + Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/model_assign_ebi_data.go b/models/model_assign_ebi_data.go index 4d8da390..3611349c 100644 --- a/models/model_assign_ebi_data.go +++ b/models/model_assign_ebi_data.go @@ -1,16 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within an EBI assignment request type AssignEbiData struct { - PduSessionId int32 `json:"pduSessionId"` - ArpList []Arp `json:"arpList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + ArpList []Arp `json:"arpList,omitempty" yaml:"arpList" bson:"arpList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` } diff --git a/models/model_assign_ebi_error.go b/models/model_assign_ebi_error.go index 9454209c..f6a9792a 100644 --- a/models/model_assign_ebi_error.go +++ b/models/model_assign_ebi_error.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a failure response to the EBI assignment request type AssignEbiError struct { - Error *ProblemDetails `json:"error"` - FailureDetails *AssignEbiFailed `json:"failureDetails"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + FailureDetails *AssignEbiFailed `json:"failureDetails" yaml:"failureDetails" bson:"failureDetails,omitempty"` } diff --git a/models/model_assign_ebi_failed.go b/models/model_assign_ebi_failed.go index 3912dfe3..3e60610b 100644 --- a/models/model_assign_ebi_failed.go +++ b/models/model_assign_ebi_failed.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents failed assignment of EBI(s) type AssignEbiFailed struct { - PduSessionId int32 `json:"pduSessionId"` - FailedArpList []Arp `json:"failedArpList,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` } diff --git a/models/model_assigned_ebi_data.go b/models/model_assigned_ebi_data.go index 3fae1351..43a954bf 100644 --- a/models/model_assigned_ebi_data.go +++ b/models/model_assigned_ebi_data.go @@ -1,17 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a successful response to an EBI assignment request type AssignedEbiData struct { - PduSessionId int32 `json:"pduSessionId"` - AssignedEbiList []EbiArpMapping `json:"assignedEbiList,omitempty"` - FailedArpList []Arp `json:"failedArpList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + AssignedEbiList []EbiArpMapping `json:"assignedEbiList" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` + FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + ModifiedEbiList []int32 `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` } diff --git a/models/model_association_type.go b/models/model_association_type.go new file mode 100644 index 00000000..2ca1502a --- /dev/null +++ b/models/model_association_type.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AssociationType string + +// List of AssociationType +const ( + AssociationType_IMEI_CHANGE AssociationType = "IMEI_CHANGE" + AssociationType_IMEISV_CHANGE AssociationType = "IMEISV_CHANGE" +) diff --git a/models/model_atom.go b/models/model_atom.go index 6ebf082f..dd1fb20d 100644 --- a/models/model_atom.go +++ b/models/model_atom.go @@ -1,7 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// contains a search parameter and its positive or negative content. type Atom struct { - Attr string `json:"attr" bson:"attr"` - Value string `json:"value" bson:"value"` // TODO: AnyType - Negative bool `json:"negative,omitempty" bson:"negative,omitempty"` + // contains the name of a defined query parameter. + Attr string `json:"attr" yaml:"attr" bson:"attr,omitempty"` + Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` + // indicates whether the negative condition applies for the query condition. + Negative bool `json:"negative,omitempty" yaml:"negative" bson:"negative,omitempty"` } diff --git a/models/model_atsss_capability.go b/models/model_atsss_capability.go index 2fe68233..f580399f 100644 --- a/models/model_atsss_capability.go +++ b/models/model_atsss_capability.go @@ -1,16 +1,23 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Containes Capability to support procedures related to Access Traffic Steering, Switching, Splitting. type AtsssCapability struct { - AtsssLL bool `json:"atsssLL,omitempty" yaml:"atsssLL" bson:"atsssLL" mapstructure:"AtsssLL"` - Mptcp bool `json:"mptcp,omitempty" yaml:"mptcp" bson:"mptcp" mapstructure:"Mptcp"` - RttWithoutPmf bool `json:"rttWithoutPmf,omitempty" yaml:"rttWithoutPmf" bson:"rttWithoutPmf" mapstructure:"RttWithoutPmf"` + // Indicates the ATSSS-LL capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501). true: Supported false (default): Not Supported + AtsssLL bool `json:"atsssLL,omitempty" yaml:"atsssLL" bson:"atsssLL,omitempty"` + // Indicates the MPTCP capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501 true: Supported false (default): Not Supported + Mptcp bool `json:"mptcp,omitempty" yaml:"mptcp" bson:"mptcp,omitempty"` + // This IE is only used by the UPF to indicate whether the UPF supports RTT measurement without PMF (see clauses 5.32.2, 6.3.3.3 of 3GPP TS 23.501 true: Supported false (default): Not Supported + RttWithoutPmf bool `json:"rttWithoutPmf,omitempty" yaml:"rttWithoutPmf" bson:"rttWithoutPmf,omitempty"` } diff --git a/models/model_ausf_info.go b/models/model_ausf_info.go index 1680b6f2..897d2dc8 100644 --- a/models/model_ausf_info.go +++ b/models/model_ausf_info.go @@ -1,16 +1,22 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an AUSF NF Instance type AusfInfo struct { - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId" mapstructure:"GroupId"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges" mapstructure:"SupiRanges"` - RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators" mapstructure:"RoutingIndicators"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` + SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` } diff --git a/models/model_ausf_so_r_protection_sor_info.go b/models/model_ausf_so_r_protection_sor_info.go new file mode 100644 index 00000000..06246e6a --- /dev/null +++ b/models/model_ausf_so_r_protection_sor_info.go @@ -0,0 +1,26 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Steering Information. +type AusfSoRProtectionSorInfo struct { + SteeringContainer *AusfSoRProtectionSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` + // Contains indication whether the acknowledgement from UE is needed. + AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorHeader string `json:"sorHeader,omitempty" yaml:"sorHeader" bson:"sorHeader,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentInfo string `json:"sorTransparentInfo,omitempty" yaml:"sorTransparentInfo" bson:"sorTransparentInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_ausf_so_r_protection_steering_container.go b/models/model_ausf_so_r_protection_steering_container.go new file mode 100644 index 00000000..fc0c7d1c --- /dev/null +++ b/models/model_ausf_so_r_protection_steering_container.go @@ -0,0 +1,17 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information sent to UE. +type AusfSoRProtectionSteeringContainer struct { +} diff --git a/models/model_ausf_so_r_protection_steering_info.go b/models/model_ausf_so_r_protection_steering_info.go new file mode 100644 index 00000000..56c27417 --- /dev/null +++ b/models/model_ausf_so_r_protection_steering_info.go @@ -0,0 +1,19 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a combination of one PLMN identity and zero or more access technologies. +type AusfSoRProtectionSteeringInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList,omitempty"` +} diff --git a/models/model_ausf_ue_authentication_auth_result.go b/models/model_ausf_ue_authentication_auth_result.go new file mode 100644 index 00000000..80b818ba --- /dev/null +++ b/models/model_ausf_ue_authentication_auth_result.go @@ -0,0 +1,22 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AusfUeAuthenticationAuthResult string + +// List of AusfUEAuthenticationAuthResult +const ( + AusfUeAuthenticationAuthResult_SUCCESS AusfUeAuthenticationAuthResult = "AUTHENTICATION_SUCCESS" + AusfUeAuthenticationAuthResult_FAILURE AusfUeAuthenticationAuthResult = "AUTHENTICATION_FAILURE" + AusfUeAuthenticationAuthResult_ONGOING AusfUeAuthenticationAuthResult = "AUTHENTICATION_ONGOING" +) diff --git a/models/model_ausf_ue_authentication_auth_type.go b/models/model_ausf_ue_authentication_auth_type.go new file mode 100644 index 00000000..11605b67 --- /dev/null +++ b/models/model_ausf_ue_authentication_auth_type.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AusfUeAuthenticationAuthType string + +// List of AusfUEAuthenticationAuthType +const ( + AusfUeAuthenticationAuthType__5_G_AKA AusfUeAuthenticationAuthType = "5G_AKA" + AusfUeAuthenticationAuthType_EAP_AKA_PRIME AusfUeAuthenticationAuthType = "EAP_AKA_PRIME" + AusfUeAuthenticationAuthType_EAP_TLS AusfUeAuthenticationAuthType = "EAP_TLS" + AusfUeAuthenticationAuthType_EAP_TTLS AusfUeAuthenticationAuthType = "EAP_TTLS" +) diff --git a/models/model_ausf_ue_authentication_rg_auth_ctx.go b/models/model_ausf_ue_authentication_rg_auth_ctx.go new file mode 100644 index 00000000..0ffdd641 --- /dev/null +++ b/models/model_ausf_ue_authentication_rg_auth_ctx.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUPI) and the authentication indication. +type AusfUeAuthenticationRgAuthCtx struct { + AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AuthInd bool `json:"authInd,omitempty" yaml:"authInd" bson:"authInd,omitempty"` +} diff --git a/models/model_ausf_upu_protection_upu_data.go b/models/model_ausf_upu_protection_upu_data.go new file mode 100644 index 00000000..f81bebc6 --- /dev/null +++ b/models/model_ausf_upu_protection_upu_data.go @@ -0,0 +1,22 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE parameters update data set (e.g., the updated Routing ID Data or the Default configured NSSAI). +type AusfUpuProtectionUpuData struct { + // Contains a secure packet. + SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket,omitempty"` + DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai,omitempty"` + // Represents a routing indicator. + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` +} diff --git a/models/model_ausf_upu_protection_upu_info.go b/models/model_ausf_upu_protection_upu_info.go new file mode 100644 index 00000000..7e61de8b --- /dev/null +++ b/models/model_ausf_upu_protection_upu_info.go @@ -0,0 +1,26 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE parameters update Information. +type AusfUpuProtectionUpuInfo struct { + UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList,omitempty"` + // Contains the \"UPU Header\" IE as specified in clause 9.11.3.53A of 3GPP TS 24.501 (octet 4), encoded as 2 hexadecimal characters. + UpuHeader string `json:"upuHeader,omitempty" yaml:"upuHeader" bson:"upuHeader,omitempty"` + // Contains the indication of whether the acknowledgement from UE is needed. + UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentInfo string `json:"upuTransparentInfo,omitempty" yaml:"upuTransparentInfo" bson:"upuTransparentInfo,omitempty"` +} diff --git a/models/model_auth_event.go b/models/model_auth_event.go index 350b8a47..6cf85d0b 100644 --- a/models/model_auth_event.go +++ b/models/model_auth_event.go @@ -1,9 +1,12 @@ /* - * NudmUEAU + * Nudr_DataRepository API OpenAPI file * - * UDM UE Authentication Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,9 +17,18 @@ import ( ) type AuthEvent struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` - Success bool `json:"success" yaml:"success" bson:"success" mapstructure:"Success"` - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp" mapstructure:"TimeStamp"` - AuthType AuthType `json:"authType" yaml:"authType" bson:"authType" mapstructure:"AuthType"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName" mapstructure:"ServingNetworkName"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + Success bool `json:"success" yaml:"success" bson:"success,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + AuthRemovalInd bool `json:"authRemovalInd,omitempty" yaml:"authRemovalInd" bson:"authRemovalInd,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` } diff --git a/models/model_auth_method.go b/models/model_auth_method.go index 5b18d12e..873f1b7d 100644 --- a/models/model_auth_method.go +++ b/models/model_auth_method.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,4 +18,7 @@ type AuthMethod string const ( AuthMethod__5_G_AKA AuthMethod = "5G_AKA" AuthMethod_EAP_AKA_PRIME AuthMethod = "EAP_AKA_PRIME" + AuthMethod_EAP_TLS AuthMethod = "EAP_TLS" + AuthMethod_EAP_TTLS AuthMethod = "EAP_TTLS" + AuthMethod_NONE AuthMethod = "NONE" ) diff --git a/models/model_auth_notification.go b/models/model_auth_notification.go new file mode 100644 index 00000000..d2955dde --- /dev/null +++ b/models/model_auth_notification.go @@ -0,0 +1,24 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV related notification +type AuthNotification struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + NotifyCorrId string `json:"notifyCorrId" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + NotifType NotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` +} diff --git a/models/model_auth_result.go b/models/model_auth_result.go index 71dc7ae8..16b667e7 100644 --- a/models/model_auth_result.go +++ b/models/model_auth_result.go @@ -1,9 +1,12 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V16.7.0; 5G System; 3GPP TS Authentication Server services. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_auth_status.go b/models/model_auth_status.go new file mode 100644 index 00000000..84606981 --- /dev/null +++ b/models/model_auth_status.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AuthStatus string + +// List of AuthStatus +const ( + AuthStatus_EAP_SUCCESS AuthStatus = "EAP_SUCCESS" + AuthStatus_EAP_FAILURE AuthStatus = "EAP_FAILURE" + AuthStatus_PENDING AuthStatus = "PENDING" +) diff --git a/models/model_auth_type.go b/models/model_auth_type.go index badf6eed..482d67c6 100644 --- a/models/model_auth_type.go +++ b/models/model_auth_type.go @@ -1,9 +1,12 @@ /* - * NudmUEAU + * Nudr_DataRepository API OpenAPI file * - * UDM UE Authentication Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_auth_update_info.go b/models/model_auth_update_info.go new file mode 100644 index 00000000..893a028f --- /dev/null +++ b/models/model_auth_update_info.go @@ -0,0 +1,20 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents authorization update information. +type AuthUpdateInfo struct { + AuthorizationData *ServiceSpecificAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` + InvalidCause InvalidCause `json:"invalidCause,omitempty" yaml:"invalidCause" bson:"invalidCause,omitempty"` +} diff --git a/models/model_auth_update_notification.go b/models/model_auth_update_notification.go new file mode 100644 index 00000000..43c9aee2 --- /dev/null +++ b/models/model_auth_update_notification.go @@ -0,0 +1,25 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an authorization update notification. +type AuthUpdateNotification struct { + ServiceType ServiceType `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + AuthUpdateInfoList []AuthUpdateInfo `json:"authUpdateInfoList" yaml:"authUpdateInfoList" bson:"authUpdateInfoList,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/model_authentication_info.go b/models/model_authentication_info.go index f5042638..3b54e5e7 100644 --- a/models/model_authentication_info.go +++ b/models/model_authentication_info.go @@ -1,17 +1,34 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the UE id (i.e. SUCI or SUPI) and the Serving Network Name. type AuthenticationInfo struct { - SupiOrSuci string `json:"supiOrSuci" yaml:"supiOrSuci" bson:"supiOrSuci"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData"` + // String identifying a SUPI or a SUCI. + SupiOrSuci string `json:"supiOrSuci" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` + N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` } diff --git a/models/model_authentication_info_request.go b/models/model_authentication_info_request.go index 8ecb4a6b..833c6f48 100644 --- a/models/model_authentication_info_request.go +++ b/models/model_authentication_info_request.go @@ -1,17 +1,22 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.6.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AuthenticationInfoRequest struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName" mapstructure:"ServingNetworkName"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo" mapstructure:"ResynchronizationInfo"` - AusfInstanceId string `json:"ausfInstanceId" yaml:"ausfInstanceId" bson:"ausfInstanceId" mapstructure:"AusfInstanceId"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + AusfInstanceId string `json:"ausfInstanceId" yaml:"ausfInstanceId" bson:"ausfInstanceId,omitempty"` + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` + N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` } diff --git a/models/model_authentication_info_result.go b/models/model_authentication_info_result.go index 5d9249a7..bbea25bc 100644 --- a/models/model_authentication_info_result.go +++ b/models/model_authentication_info_result.go @@ -1,17 +1,20 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.6.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AuthenticationInfoResult struct { - AuthType AuthType `json:"authType" yaml:"authType" bson:"authType" mapstructure:"AuthType"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector" mapstructure:"AuthenticationVector"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi" mapstructure:"Supi"` + AuthType AuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector,omitempty"` + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` } diff --git a/models/model_authentication_subscription.go b/models/model_authentication_subscription.go index 1868e873..829f82d9 100644 --- a/models/model_authentication_subscription.go +++ b/models/model_authentication_subscription.go @@ -1,23 +1,34 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// A UE's authentication data. type AuthenticationSubscription struct { - AuthenticationMethod AuthMethod `json:"authenticationMethod" bson:"authenticationMethod"` - PermanentKey *PermanentKey `json:"permanentKey" bson:"permanentKey"` - SequenceNumber string `json:"sequenceNumber" bson:"sequenceNumber"` - AuthenticationManagementField string `json:"authenticationManagementField,omitempty" bson:"authenticationManagementField"` - VectorAlgorithm VectorAlgorithm `json:"vectorAlgorithm,omitempty" bson:"vectorAlgorithm"` - Milenage *Milenage `json:"milenage,omitempty" bson:"milenage"` - Tuak *Tuak `json:"tuak,omitempty" bson:"tuak"` - Opc *Opc `json:"opc,omitempty" bson:"opc"` - Topc *Topc `json:"topc,omitempty" bson:"topc"` - SharedAuthenticationSubscriptionId *SharedData `json:"sharedAuthenticationSubscriptionId,omitempty" bson:"sharedAuthenticationSubscriptionId"` + AuthenticationMethod AuthMethod `json:"authenticationMethod" yaml:"authenticationMethod" bson:"authenticationMethod,omitempty"` + EncPermanentKey string `json:"encPermanentKey,omitempty" yaml:"encPermanentKey" bson:"encPermanentKey,omitempty"` + ProtectionParameterId string `json:"protectionParameterId,omitempty" yaml:"protectionParameterId" bson:"protectionParameterId,omitempty"` + SequenceNumber *SequenceNumber `json:"sequenceNumber,omitempty" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` + AuthenticationManagementField string `json:"authenticationManagementField,omitempty" yaml:"authenticationManagementField" bson:"authenticationManagementField,omitempty"` + AlgorithmId string `json:"algorithmId,omitempty" yaml:"algorithmId" bson:"algorithmId,omitempty"` + EncOpcKey string `json:"encOpcKey,omitempty" yaml:"encOpcKey" bson:"encOpcKey,omitempty"` + EncTopcKey string `json:"encTopcKey,omitempty" yaml:"encTopcKey" bson:"encTopcKey,omitempty"` + VectorGenerationInHss bool `json:"vectorGenerationInHss,omitempty" yaml:"vectorGenerationInHss" bson:"vectorGenerationInHss,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` + N5gcAuthMethod AuthMethod `json:"n5gcAuthMethod,omitempty" yaml:"n5gcAuthMethod" bson:"n5gcAuthMethod,omitempty"` + RgAuthenticationInd bool `json:"rgAuthenticationInd,omitempty" yaml:"rgAuthenticationInd" bson:"rgAuthenticationInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AkmaAllowed bool `json:"akmaAllowed,omitempty" yaml:"akmaAllowed" bson:"akmaAllowed,omitempty"` + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` } diff --git a/models/model_authentication_vector.go b/models/model_authentication_vector.go index 67c7ebe3..a69e8dde 100644 --- a/models/model_authentication_vector.go +++ b/models/model_authentication_vector.go @@ -1,21 +1,24 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AuthenticationVector struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType" mapstructure:"AvType"` - Rand string `json:"rand" yaml:"rand" bson:"rand" mapstructure:"Rand"` - Xres string `json:"xres" yaml:"xres" bson:"xres" mapstructure:"Xres"` - Autn string `json:"autn" yaml:"autn" bson:"autn" mapstructure:"Autn"` - CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime" mapstructure:"CkPrime"` - IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime" mapstructure:"IkPrime"` - XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar" mapstructure:"XresStar"` - Kausf string `json:"kausf" yaml:"kausf" bson:"kausf" mapstructure:"Kausf"` + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` + IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` + XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` + Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` } diff --git a/models/model_authorization_data.go b/models/model_authorization_data.go new file mode 100644 index 00000000..40eeeed9 --- /dev/null +++ b/models/model_authorization_data.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// NIDD Authorization Information +type AuthorizationData struct { + AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + AllowedDnnList []interface{} `json:"allowedDnnList,omitempty" yaml:"allowedDnnList" bson:"allowedDnnList,omitempty"` + AllowedSnssaiList []Snssai `json:"allowedSnssaiList,omitempty" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` + AllowedMtcProviders []MtcProvider `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_authorization_info.go b/models/model_authorization_info.go new file mode 100644 index 00000000..9bfb06cf --- /dev/null +++ b/models/model_authorization_info.go @@ -0,0 +1,34 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents NIDD authorization information. +type AuthorizationInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthUpdateCallbackUri string `json:"authUpdateCallbackUri" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/model_authorization_request.go b/models/model_authorization_request.go new file mode 100644 index 00000000..4e1b16c7 --- /dev/null +++ b/models/model_authorization_request.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +// Ims authorization request data +type AuthorizationRequest struct { + Impi string `json:"impi,omitempty" yaml:"impi" bson:"impi"` + AuthorizationType AuthorizationType `json:"authorizationType" yaml:"authorizationType" bson:"authorizationType"` + VisitedNetworkIdentifier string `json:"visitedNetworkIdentifier,omitempty" yaml:"visitedNetworkIdentifier" bson:"visitedNetworkIdentifier"` + EmergencyIndicator bool `json:"emergencyIndicator,omitempty" yaml:"emergencyIndicator" bson:"emergencyIndicator"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` +} diff --git a/models/model_authorization_response.go b/models/model_authorization_response.go new file mode 100644 index 00000000..98f60237 --- /dev/null +++ b/models/model_authorization_response.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +// Ims Registration authorization information result +type AuthorizationResponse struct { + AuthorizationResult AuthorizationResult `json:"authorizationResult" yaml:"authorizationResult" bson:"authorizationResult"` + CscfServerName string `json:"cscfServerName,omitempty" yaml:"cscfServerName" bson:"cscfServerName"` + ScscfSelectionAssistanceInfo *ScscfSelectionAssistanceInformation `json:"scscfSelectionAssistanceInfo,omitempty" yaml:"scscfSelectionAssistanceInfo" bson:"scscfSelectionAssistanceInfo"` +} diff --git a/models/model_authorization_result.go b/models/model_authorization_result.go new file mode 100644 index 00000000..79015569 --- /dev/null +++ b/models/model_authorization_result.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type AuthorizationResult string + +// List of AuthorizationResult +const ( + AuthorizationResult_FIRST_REGISTRATION AuthorizationResult = "FIRST_REGISTRATION" + AuthorizationResult_SUBSEQUENT_REGISTRATION AuthorizationResult = "SUBSEQUENT_REGISTRATION" +) + + diff --git a/models/model_authorization_type.go b/models/model_authorization_type.go new file mode 100644 index 00000000..bcbbbb24 --- /dev/null +++ b/models/model_authorization_type.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type AuthorizationType string + +// List of AuthorizationType +const ( + AuthorizationType_REGISTRATION AuthorizationType = "REGISTRATION" + AuthorizationType_DEREGISTRATION AuthorizationType = "DEREGISTRATION" +) + + diff --git a/models/model_authorization_ue_id.go b/models/model_authorization_ue_id.go new file mode 100644 index 00000000..4d895e3e --- /dev/null +++ b/models/model_authorization_ue_id.go @@ -0,0 +1,21 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Id of the Authorization Data. +type AuthorizationUeId struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/model_authorized_default_qos.go b/models/model_authorized_default_qos.go index 30a850b2..0940a5a6 100644 --- a/models/model_authorized_default_qos.go +++ b/models/model_authorized_default_qos.go @@ -1,23 +1,36 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the Authorized Default QoS. type AuthorizedDefaultQos struct { - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi" mapstructure:"Var5qi"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp" mapstructure:"Arp"` - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel" mapstructure:"PriorityLevel"` - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow" mapstructure:"AverWindow"` - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol" mapstructure:"MaxDataBurstVol"` - MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl" mapstructure:"MaxbrUl"` - MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl" mapstructure:"MaxbrDl"` - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl" mapstructure:"GbrUl"` - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl" mapstructure:"GbrDl"` - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol" mapstructure:"ExtMaxDataBurstVol"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` } diff --git a/models/model_authorized_network_slice_info.go b/models/model_authorized_network_slice_info.go index 4ec32c95..a629938c 100644 --- a/models/model_authorized_network_slice_info.go +++ b/models/model_authorized_network_slice_info.go @@ -1,30 +1,38 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the authorized network slice information type AuthorizedNetworkSliceInfo struct { - AllowedNssaiList []AllowedNssai `json:"allowedNssaiList,omitempty" bson:"allowedNssaiList"` - - ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" bson:"configuredNssai"` - - TargetAmfSet string `json:"targetAmfSet,omitempty" bson:"targetAmfSet"` - - CandidateAmfList []string `json:"candidateAmfList,omitempty" bson:"candidateAmfList"` - - RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" bson:"rejectedNssaiInPlmn"` - - RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" bson:"rejectedNssaiInTa"` - - NsiInformation *NsiInformation `json:"nsiInformation,omitempty" bson:"nsiInformation"` - - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` - - NrfAmfSet string `json:"nrfAmfSet,omitempty" bson:"nrfAmfSet"` + AllowedNssaiList []AllowedNssai `json:"allowedNssaiList,omitempty" yaml:"allowedNssaiList" bson:"allowedNssaiList,omitempty"` + ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` + TargetAmfSet string `json:"targetAmfSet,omitempty" yaml:"targetAmfSet" bson:"targetAmfSet,omitempty"` + CandidateAmfList []string `json:"candidateAmfList,omitempty" yaml:"candidateAmfList" bson:"candidateAmfList,omitempty"` + RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` + RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` + NsiInformation *NsiInformation `json:"nsiInformation,omitempty" yaml:"nsiInformation" bson:"nsiInformation,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSet string `json:"nrfAmfSet,omitempty" yaml:"nrfAmfSet" bson:"nrfAmfSet,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSetNfMgtUri string `json:"nrfAmfSetNfMgtUri,omitempty" yaml:"nrfAmfSetNfMgtUri" bson:"nrfAmfSetNfMgtUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSetAccessTokenUri string `json:"nrfAmfSetAccessTokenUri,omitempty" yaml:"nrfAmfSetAccessTokenUri" bson:"nrfAmfSetAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetAmfServiceSet string `json:"targetAmfServiceSet,omitempty" yaml:"targetAmfServiceSet" bson:"targetAmfServiceSet,omitempty"` + TargetNssai []Snssai `json:"targetNssai,omitempty" yaml:"targetNssai" bson:"targetNssai,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` } diff --git a/models/model_authorized_nssai_availability_data.go b/models/model_authorized_nssai_availability_data.go index cb7a3382..3ece8538 100644 --- a/models/model_authorized_nssai_availability_data.go +++ b/models/model_authorized_nssai_availability_data.go @@ -1,18 +1,23 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the Nssai availability data information per TA authorized by the NSSF type AuthorizedNssaiAvailabilityData struct { - Tai *Tai `json:"tai" bson:"tai"` - - SupportedSnssaiList []Snssai `json:"supportedSnssaiList" bson:"supportedSnssaiList"` - - RestrictedSnssaiList []RestrictedSnssai `json:"restrictedSnssaiList,omitempty" bson:"restrictedSnssaiList"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` + RestrictedSnssaiList []RestrictedSnssai `json:"restrictedSnssaiList,omitempty" yaml:"restrictedSnssaiList" bson:"restrictedSnssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` } diff --git a/models/model_authorized_nssai_availability_info.go b/models/model_authorized_nssai_availability_info.go index d9a37a76..810f3b8b 100644 --- a/models/model_authorized_nssai_availability_info.go +++ b/models/model_authorized_nssai_availability_info.go @@ -1,16 +1,20 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the Nssai availability data information authorized by the NSSF type AuthorizedNssaiAvailabilityInfo struct { - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData"` - - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_av5_g_he_aka.go b/models/model_av5_g_he_aka.go index 8e1ec8a8..dfd8f5ec 100644 --- a/models/model_av5_g_he_aka.go +++ b/models/model_av5_g_he_aka.go @@ -1,18 +1,21 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type Av5GHeAka struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType" mapstructure:"AvType"` - Rand string `json:"rand" yaml:"rand" bson:"rand" mapstructure:"Rand"` - XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar" mapstructure:"XresStar"` - Autn string `json:"autn" yaml:"autn" bson:"autn" mapstructure:"Autn"` - Kausf string `json:"kausf" yaml:"kausf" bson:"kausf" mapstructure:"Kausf"` + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` } diff --git a/models/model_av5g_aka.go b/models/model_av5g_aka.go index b6da5c0e..7fe0645d 100644 --- a/models/model_av5g_aka.go +++ b/models/model_av5g_aka.go @@ -1,16 +1,21 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains Authentication Vector for method 5G AKA. type Av5gAka struct { - Rand string `json:"rand" yaml:"rand" bson:"rand"` - HxresStar string `json:"hxresStar" yaml:"hxresStar" bson:"hxresStar"` - Autn string `json:"autn" yaml:"autn" bson:"autn"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + // Contains the HXRES*. + HxresStar string `json:"hxresStar" yaml:"hxresStar" bson:"hxresStar,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` } diff --git a/models/model_av_eap_aka_prime.go b/models/model_av_eap_aka_prime.go index 033615fe..cb9d25cc 100644 --- a/models/model_av_eap_aka_prime.go +++ b/models/model_av_eap_aka_prime.go @@ -1,19 +1,22 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type AvEapAkaPrime struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType" mapstructure:"AvType"` - Rand string `json:"rand" yaml:"rand" bson:"rand" mapstructure:"Rand"` - Xres string `json:"xres" yaml:"xres" bson:"xres" mapstructure:"Xres"` - Autn string `json:"autn" yaml:"autn" bson:"autn" mapstructure:"Autn"` - CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime" mapstructure:"CkPrime"` - IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime" mapstructure:"IkPrime"` + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` + IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` } diff --git a/models/model_av_eps_aka.go b/models/model_av_eps_aka.go new file mode 100644 index 00000000..d582815c --- /dev/null +++ b/models/model_av_eps_aka.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvEpsAka struct { + AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Kasme string `json:"kasme" yaml:"kasme" bson:"kasme,omitempty"` +} diff --git a/models/model_av_ims_gba_eap_aka.go b/models/model_av_ims_gba_eap_aka.go new file mode 100644 index 00000000..08e21837 --- /dev/null +++ b/models/model_av_ims_gba_eap_aka.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvImsGbaEapAka struct { + AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` + Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` +} diff --git a/models/model_av_type.go b/models/model_av_type.go index e03e9fc4..0841de94 100644 --- a/models/model_av_type.go +++ b/models/model_av_type.go @@ -1,9 +1,12 @@ /* - * NudmUEAU + * Nudm_UEAU * - * UDM UE Authentication Service + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_backup_amf_info.go b/models/model_backup_amf_info.go index cf9bd5c2..b95d0d08 100644 --- a/models/model_backup_amf_info.go +++ b/models/model_backup_amf_info.go @@ -1,15 +1,21 @@ /* - * Nudm_UECM + * Nudr_DataRepository API OpenAPI file * - * Nudm Context Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides details of the Backup AMF. type BackupAmfInfo struct { - BackupAmf string `json:"backupAmf" yaml:"backupAmf" bson:"backupAmf" mapstructure:"BackupAmf"` - GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList" mapstructure:"GuamiList"` + // Fully Qualified Domain Name + BackupAmf string `json:"backupAmf" yaml:"backupAmf" bson:"backupAmf,omitempty"` + // If present, this IE shall contain the list of GUAMI(s) (supported by the AMF) for which the backupAmf IE applies. + GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` } diff --git a/models/model_base_record.go b/models/model_base_record.go new file mode 100644 index 00000000..31af1ca0 --- /dev/null +++ b/models/model_base_record.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Abstract base data type for UE data reporting records. +type BaseRecord struct { + // string with format 'date-time' as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` +} diff --git a/models/model_battery_indication.go b/models/model_battery_indication.go new file mode 100644 index 00000000..dafa44f9 --- /dev/null +++ b/models/model_battery_indication.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters \"replaceableInd\" and \"rechargeableInd\" are only included if the value of Parameter \"batteryInd\" is true. +type BatteryIndication struct { + // This IE shall indicate whether the UE is battery powered or not. true: the UE is battery powered; false or absent: the UE is not battery powered + BatteryInd bool `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` + // This IE shall indicate whether the battery of the UE is replaceable or not. true: the battery of the UE is replaceable; false or absent: the battery of the UE is not replaceable. + ReplaceableInd bool `json:"replaceableInd,omitempty" yaml:"replaceableInd" bson:"replaceableInd,omitempty"` + // This IE shall indicate whether the battery of the UE is rechargeable or not. true: the battery of UE is rechargeable; false or absent: the battery of the UE is not rechargeable. + RechargeableInd bool `json:"rechargeableInd,omitempty" yaml:"rechargeableInd" bson:"rechargeableInd,omitempty"` +} diff --git a/models/model_battery_indication_rm.go b/models/model_battery_indication_rm.go new file mode 100644 index 00000000..10195ee0 --- /dev/null +++ b/models/model_battery_indication_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BatteryIndicationRm struct { +} diff --git a/models/model_bdt_data.go b/models/model_bdt_data.go index 82179a28..cca5c8f1 100644 --- a/models/model_bdt_data.go +++ b/models/model_bdt_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,8 +14,21 @@ package models // Contains the background data transfer data. type BdtData struct { - AspId string `json:"aspId,omitempty" bson:"aspId"` - TransPolicy TransferPolicy `json:"transPolicy" bson:"transPolicy"` - BdtRefId string `json:"bdtRefId,omitempty" bson:"bdtRefId"` - NwAreaInfo NetworkAreaInfo `json:"nwAreaInfo,omitempty" bson:"nwAreaInfo"` + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` + TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy" yaml:"transPolicy" bson:"transPolicy,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumOfUes int32 `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` + VolPerUe *UsageThreshold `json:"volPerUe,omitempty" yaml:"volPerUe" bson:"volPerUe,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. + TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` + BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_bdt_data_patch.go b/models/model_bdt_data_patch.go new file mode 100644 index 00000000..7fb59b3d --- /dev/null +++ b/models/model_bdt_data_patch.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the modified background data transfer data. +type BdtDataPatch struct { + TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy,omitempty" yaml:"transPolicy" bson:"transPolicy,omitempty"` + BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` +} diff --git a/models/model_bdt_policy.go b/models/model_bdt_policy.go index e302a747..5cf53d48 100644 --- a/models/model_bdt_policy.go +++ b/models/model_bdt_policy.go @@ -1,9 +1,12 @@ /* * Npcf_BDTPolicyControl Service API * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,6 @@ package models // Represents an Individual BDT policy resource. type BdtPolicy struct { - BdtPolData *BdtPolicyData `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData" mapstructure:"BdtPolData"` - BdtReqData *BdtReqData `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData" mapstructure:"BdtReqData"` + BdtPolData *PcfBdtPolicyControlBdtPolicyData `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` + BdtReqData *BdtReqData `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` } diff --git a/models/model_bdt_policy_bdt_policy_data.go b/models/model_bdt_policy_bdt_policy_data.go new file mode 100644 index 00000000..c3c76b2c --- /dev/null +++ b/models/model_bdt_policy_bdt_policy_data.go @@ -0,0 +1,24 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.1.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the authorization data of an Individual BDT policy resource. +type BdtPolicyBdtPolicyData struct { + // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains transfer policies. + TransfPolicies []TransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies,omitempty"` + // Contains an identity of the selected transfer policy. + SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_bdt_policy_bdt_policy_data_patch.go b/models/model_bdt_policy_bdt_policy_data_patch.go new file mode 100644 index 00000000..fd182c5c --- /dev/null +++ b/models/model_bdt_policy_bdt_policy_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.1.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. +type BdtPolicyBdtPolicyDataPatch struct { + // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. + SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` +} diff --git a/models/model_bdt_policy_bdt_req_data_patch.go b/models/model_bdt_policy_bdt_req_data_patch.go new file mode 100644 index 00000000..11550665 --- /dev/null +++ b/models/model_bdt_policy_bdt_req_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.1.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. +type BdtPolicyBdtReqDataPatch struct { + // Indicates whether the BDT warning notification is enabled or disabled. + WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` +} diff --git a/models/model_bdt_policy_data.go b/models/model_bdt_policy_data.go index 387c6a5c..eac7f3bb 100644 --- a/models/model_bdt_policy_data.go +++ b/models/model_bdt_policy_data.go @@ -1,21 +1,29 @@ /* - * Npcf_BDTPolicyControl Service API + * Nudr_DataRepository API OpenAPI file * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Describes the authorization data of an Individual BDT policy resource. +// Represents applied BDT policy data. type BdtPolicyData struct { - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId" mapstructure:"BdtRefId"` - // Contains transfer policies. - TransfPolicies []TransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies" mapstructure:"TransfPolicies"` - // Contains an identity of the selected transfer policy. - SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId" mapstructure:"SelTransPolicyId"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_bdt_policy_data_patch.go b/models/model_bdt_policy_data_patch.go index 4d7a7359..37ffe449 100644 --- a/models/model_bdt_policy_data_patch.go +++ b/models/model_bdt_policy_data_patch.go @@ -1,16 +1,19 @@ /* - * Npcf_BDTPolicyControl Service API + * Nudr_DataRepository API OpenAPI file * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// A JSON Merge Patch body schema containing modification instruction to be performed on the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. +// Represents modification instructions to be performed on the applied BDT policy data. type BdtPolicyDataPatch struct { - // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. - SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId" mapstructure:"SelTransPolicyId"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` } diff --git a/models/model_bdt_policy_patch_bdt_policy.go b/models/model_bdt_policy_patch_bdt_policy.go new file mode 100644 index 00000000..ea40130e --- /dev/null +++ b/models/model_bdt_policy_patch_bdt_policy.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.1.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the updates in authorization data of an Individual BDT Policy created by the PCF. +type BdtPolicyPatchBdtPolicy struct { + BdtPolData *BdtPolicyBdtPolicyDataPatch `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` + BdtReqData *BdtPolicyBdtReqDataPatch `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` +} diff --git a/models/model_bdt_policy_status.go b/models/model_bdt_policy_status.go new file mode 100644 index 00000000..90fdd0de --- /dev/null +++ b/models/model_bdt_policy_status.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BdtPolicyStatus string + +// List of BdtPolicyStatus +const ( + BdtPolicyStatus_INVALID BdtPolicyStatus = "INVALID" + BdtPolicyStatus_VALID BdtPolicyStatus = "VALID" +) diff --git a/models/model_bdt_req_data.go b/models/model_bdt_req_data.go index 1dad9d83..a6296d12 100644 --- a/models/model_bdt_req_data.go +++ b/models/model_bdt_req_data.go @@ -1,9 +1,12 @@ /* * Npcf_BDTPolicyControl Service API * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -12,11 +15,23 @@ package models // Contains service requirements for creation a new Individual BDT policy resource. type BdtReqData struct { // Contains an identity of an application service provider. - AspId string `json:"aspId" yaml:"aspId" bson:"aspId" mapstructure:"AspId"` - DesTimeInt *TimeWindow `json:"desTimeInt" yaml:"desTimeInt" bson:"desTimeInt" mapstructure:"DesTimeInt"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo" mapstructure:"NwAreaInfo"` + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` + DesTimeInt *TimeWindow `json:"desTimeInt" yaml:"desTimeInt" bson:"desTimeInt,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` // Indicates a number of UEs. - NumOfUes int32 `json:"numOfUes" yaml:"numOfUes" bson:"numOfUes" mapstructure:"NumOfUes"` - VolPerUe *UsageThreshold `json:"volPerUe" yaml:"volPerUe" bson:"volPerUe" mapstructure:"VolPerUe"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` + NumOfUes int32 `json:"numOfUes" yaml:"numOfUes" bson:"numOfUes,omitempty"` + VolPerUe *UsageThreshold `json:"volPerUe" yaml:"volPerUe" bson:"volPerUe,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. + TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` + // Indicates whether the BDT warning notification is enabled or disabled. + WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` } diff --git a/models/model_bdt_req_data_patch.go b/models/model_bdt_req_data_patch.go new file mode 100644 index 00000000..4d65a721 --- /dev/null +++ b/models/model_bdt_req_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. +type BdtReqDataPatch struct { + // Indicates whether the BDT warning notification is enabled or disabled. + WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` +} diff --git a/models/model_binding_level.go b/models/model_binding_level.go deleted file mode 100644 index e083c828..00000000 --- a/models/model_binding_level.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type BindingLevel string - -// List of BindingLevel -const ( - BindingLevel_SET BindingLevel = "NF_SET" - BindingLevel_INSTANCE BindingLevel = "NF_INSTANCE" -) diff --git a/models/model_block.go b/models/model_block.go new file mode 100644 index 00000000..7d6852aa --- /dev/null +++ b/models/model_block.go @@ -0,0 +1,17 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A Block can be of any type +type Block struct { +} diff --git a/models/model_bootstrapping_info.go b/models/model_bootstrapping_info.go new file mode 100644 index 00000000..1babfaf4 --- /dev/null +++ b/models/model_bootstrapping_info.go @@ -0,0 +1,28 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information returned by NRF in the bootstrapping response message +type BootstrappingInfo struct { + Status Status `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // Map of link objects where the keys are the link relations defined in 3GPP TS 29.510 clause 6.4.6.3.3 + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + // Map of features supported by the NRF, where the keys are the NRF services as defined in 3GPP TS 29.510 clause 6.1.6.3.11 + NrfFeatures map[string]string `json:"nrfFeatures,omitempty" yaml:"nrfFeatures" bson:"nrfFeatures,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + Oauth2Required map[string]bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NrfSetId string `json:"nrfSetId,omitempty" yaml:"nrfSetId" bson:"nrfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NrfInstanceId string `json:"nrfInstanceId,omitempty" yaml:"nrfInstanceId" bson:"nrfInstanceId,omitempty"` +} diff --git a/models/model_bridge_management_container.go b/models/model_bridge_management_container.go new file mode 100644 index 00000000..94db8991 --- /dev/null +++ b/models/model_bridge_management_container.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UMIC. +type BridgeManagementContainer struct { + // string with format 'bytes' as defined in OpenAPI + BridgeManCont string `json:"bridgeManCont" yaml:"bridgeManCont" bson:"bridgeManCont,omitempty"` +} diff --git a/models/model_bsf_info.go b/models/model_bsf_info.go index 431d40f3..ef97e2c6 100644 --- a/models/model_bsf_info.go +++ b/models/model_bsf_info.go @@ -1,17 +1,21 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of a BSF NF Instance type BsfInfo struct { - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList" mapstructure:"DnnList"` - IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList" mapstructure:"IpDomainList"` - Ipv4AddressRanges *[]Ipv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges" mapstructure:"Ipv4AddressRanges"` - Ipv6PrefixRanges *[]Ipv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges" mapstructure:"Ipv6PrefixRanges"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList,omitempty"` + Ipv4AddressRanges []Ipv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` + Ipv6PrefixRanges []Ipv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` } diff --git a/models/model_bw_requirement.go b/models/model_bw_requirement.go new file mode 100644 index 00000000..2ef0c7c1 --- /dev/null +++ b/models/model_bw_requirement.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents bandwidth requirements. +type BwRequirement struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` +} diff --git a/models/model_cache_status.go b/models/model_cache_status.go new file mode 100644 index 00000000..8b8d2f72 --- /dev/null +++ b/models/model_cache_status.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CacheStatus string + +// List of CacheStatus +const ( + CacheStatus_HIT CacheStatus = "HIT" + CacheStatus_MISS CacheStatus = "MISS" + CacheStatus_EXPIRED CacheStatus = "EXPIRED" +) diff --git a/models/model_cag_ack_data.go b/models/model_cag_ack_data.go new file mode 100644 index 00000000..52d36be2 --- /dev/null +++ b/models/model_cag_ack_data.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest CAG data update. +type CagAckData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` +} diff --git a/models/model_cag_data.go b/models/model_cag_data.go new file mode 100644 index 00000000..75eaf22c --- /dev/null +++ b/models/model_cag_data.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CagData struct { + // A map (list of key-value pairs where PlmnId serves as key) of CagInfo + CagInfos map[string]CagInfo `json:"cagInfos" yaml:"cagInfos" bson:"cagInfos,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` +} diff --git a/models/model_cag_info.go b/models/model_cag_info.go new file mode 100644 index 00000000..cef8ab69 --- /dev/null +++ b/models/model_cag_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CagInfo struct { + AllowedCagList []string `json:"allowedCagList" yaml:"allowedCagList" bson:"allowedCagList,omitempty"` + CagOnlyIndicator bool `json:"cagOnlyIndicator,omitempty" yaml:"cagOnlyIndicator" bson:"cagOnlyIndicator,omitempty"` +} diff --git a/models/model_call_reference_info.go b/models/model_call_reference_info.go new file mode 100644 index 00000000..569c385c --- /dev/null +++ b/models/model_call_reference_info.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Call Reference Number and the AS-Number; it allows a later retry of the call setup in the context of MTRR +type CallReferenceInfo struct { + // The content is according to CallReferenceNumber type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] + CallRefNumber string `json:"callRefNumber" yaml:"callRefNumber" bson:"callRefNumber,omitempty"` + // The content is according to ISDN-AddressString type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] + AsNumber string `json:"asNumber" yaml:"asNumber" bson:"asNumber,omitempty"` +} diff --git a/models/model_called_identity_change.go b/models/model_called_identity_change.go new file mode 100644 index 00000000..ad50ca2c --- /dev/null +++ b/models/model_called_identity_change.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CalledIdentityChange struct { + CalledIdentity string `json:"calledIdentity,omitempty" yaml:"calledIdentity" bson:"calledIdentity,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/model_cancel_pos_info.go b/models/model_cancel_pos_info.go new file mode 100644 index 00000000..5ff8d0e9 --- /dev/null +++ b/models/model_cancel_pos_info.go @@ -0,0 +1,27 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Cancel Location Request +type CancelPosInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_cancel_relocate_ue_context_request.go b/models/model_cancel_relocate_ue_context_request.go new file mode 100644 index 00000000..2f1d5f04 --- /dev/null +++ b/models/model_cancel_relocate_ue_context_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CancelRelocateUeContextRequest struct { + JsonData *UeContextCancelRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataGtpcMessage []byte `json:"binaryDataGtpcMessage,omitempty" yaml:"binaryDataGtpcMessage" bson:"binaryDataGtpcMessage,omitempty"` +} diff --git a/models/model_candidate_for_replacement.go b/models/model_candidate_for_replacement.go new file mode 100644 index 00000000..5edbaf14 --- /dev/null +++ b/models/model_candidate_for_replacement.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of candidate DNNs for replacement for an S-NSSAI. +type CandidateForReplacement struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` +} diff --git a/models/model_cause.go b/models/model_cause.go index 2769f926..d2ac5fd8 100644 --- a/models/model_cause.go +++ b/models/model_cause.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,15 +16,31 @@ type Cause string // List of Cause const ( - Cause_REL_DUE_TO_HO Cause = "REL_DUE_TO_HO" - Cause_EPS_FALLBACK Cause = "EPS_FALLBACK" - Cause_REL_DUE_TO_UP_SEC Cause = "REL_DUE_TO_UP_SEC" - Cause_DNN_CONGESTION Cause = "DNN_CONGESTION" - Cause_S_NSSAI_CONGESTION Cause = "S-NSSAI_CONGESTION" - Cause_REL_DUE_TO_REACTIVATION Cause = "REL_DUE_TO_REACTIVATION" - Cause__5_G_AN_NOT_RESPONDING Cause = "5G_AN_NOT_RESPONDING" - Cause_REL_DUE_TO_SLICE_NOT_AVAILABLE Cause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" - Cause_REL_DUE_TO_DUPLICATE_SESSION_ID Cause = "REL_DUE_TO_DUPLICATE_SESSION_ID" - Cause_PDU_SESSION_STATUS_MISMATCH Cause = "PDU_SESSION_STATUS_MISMATCH" - Cause_HO_FAILURE Cause = "HO_FAILURE" + Cause_REL_DUE_TO_HO Cause = "REL_DUE_TO_HO" + Cause_EPS_FALLBACK Cause = "EPS_FALLBACK" + Cause_REL_DUE_TO_UP_SEC Cause = "REL_DUE_TO_UP_SEC" + Cause_DNN_CONGESTION Cause = "DNN_CONGESTION" + Cause_S_NSSAI_CONGESTION Cause = "S_NSSAI_CONGESTION" + Cause_REL_DUE_TO_REACTIVATION Cause = "REL_DUE_TO_REACTIVATION" + Cause__5_G_AN_NOT_RESPONDING Cause = "5G_AN_NOT_RESPONDING" + Cause_REL_DUE_TO_SLICE_NOT_AVAILABLE Cause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" + Cause_REL_DUE_TO_DUPLICATE_SESSION_ID Cause = "REL_DUE_TO_DUPLICATE_SESSION_ID" + Cause_PDU_SESSION_STATUS_MISMATCH Cause = "PDU_SESSION_STATUS_MISMATCH" + Cause_HO_FAILURE Cause = "HO_FAILURE" + Cause_INSUFFICIENT_UP_RESOURCES Cause = "INSUFFICIENT_UP_RESOURCES" + Cause_PDU_SESSION_HANDED_OVER Cause = "PDU_SESSION_HANDED_OVER" + Cause_PDU_SESSION_RESUMED Cause = "PDU_SESSION_RESUMED" + Cause_CN_ASSISTED_RAN_PARAMETER_TUNING Cause = "CN_ASSISTED_RAN_PARAMETER_TUNING" + Cause_ISMF_CONTEXT_TRANSFER Cause = "ISMF_CONTEXT_TRANSFER" + Cause_SMF_CONTEXT_TRANSFER Cause = "SMF_CONTEXT_TRANSFER" + Cause_REL_DUE_TO_PS_TO_CS_HO Cause = "REL_DUE_TO_PS_TO_CS_HO" + Cause_REL_DUE_TO_SUBSCRIPTION_CHANGE Cause = "REL_DUE_TO_SUBSCRIPTION_CHANGE" + Cause_HO_CANCEL Cause = "HO_CANCEL" + Cause_REL_DUE_TO_SLICE_NOT_AUTHORIZED Cause = "REL_DUE_TO_SLICE_NOT_AUTHORIZED" + Cause_PDU_SESSION_HAND_OVER_FAILURE Cause = "PDU_SESSION_HAND_OVER_FAILURE" + Cause_DDN_FAILURE_STATUS Cause = "DDN_FAILURE_STATUS" + Cause_REL_DUE_TO_CP_ONLY_NOT_APPLICABLE Cause = "REL_DUE_TO_CP_ONLY_NOT_APPLICABLE" + Cause_NOT_SUPPORTED_WITH_ISMF Cause = "NOT_SUPPORTED_WITH_ISMF" + Cause_CHANGED_ANCHOR_SMF Cause = "CHANGED_ANCHOR_SMF" + Cause_CHANGED_INTERMEDIATE_SMF Cause = "CHANGED_INTERMEDIATE_SMF" ) diff --git a/models/model_ce_mode_b_ind.go b/models/model_ce_mode_b_ind.go new file mode 100644 index 00000000..4c324310 --- /dev/null +++ b/models/model_ce_mode_b_ind.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// CE-mode-B Support Indicator. +type CeModeBInd struct { + CeModeBSupportInd bool `json:"ceModeBSupportInd" yaml:"ceModeBSupportInd" bson:"ceModeBSupportInd,omitempty"` +} diff --git a/models/model_cell_global_id.go b/models/model_cell_global_id.go index 38322a21..8947b42c 100644 --- a/models/model_cell_global_id.go +++ b/models/model_cell_global_id.go @@ -1,16 +1,20 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a Cell Global Identification as defined in 3GPP TS 23.003, clause 4.3.1. type CellGlobalId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - Lac string `json:"lac" yaml:"lac" bson:"lac" mapstructure:"Lac"` - CellId string `json:"cellId" yaml:"cellId" bson:"cellId" mapstructure:"CellId"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + CellId string `json:"cellId" yaml:"cellId" bson:"cellId,omitempty"` } diff --git a/models/model_change_item.go b/models/model_change_item.go index e25ab133..ce169dc4 100644 --- a/models/model_change_item.go +++ b/models/model_change_item.go @@ -1,18 +1,24 @@ /* - * NRF NFManagement Service + * Nhss_imsSDM * - * NRF NFManagement Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// It contains data which need to be changed. type ChangeItem struct { - Op ChangeType `json:"op" yaml:"op" bson:"op" mapstructure:"Op"` - Path string `json:"path" yaml:"path" bson:"path" mapstructure:"Path"` - From string `json:"from,omitempty" yaml:"from" bson:"from" mapstructure:"From"` - OrigValue interface{} `json:"origValue,omitempty" yaml:"origValue" bson:"origValue" mapstructure:"OrigValue"` - NewValue interface{} `json:"newValue,omitempty" yaml:"newValue" bson:"newValue" mapstructure:"NewValue"` + Op ChangeType `json:"op" yaml:"op" bson:"op,omitempty"` + // contains a JSON pointer value (as defined in IETF RFC 6901) that references a target location within the resource on which the change has been applied. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. It shall be present if the \"op\" attribute is of value \"MOVE\". + From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` + OrigValue map[string]interface{} `json:"origValue,omitempty" yaml:"origValue" bson:"origValue,omitempty"` + NewValue map[string]interface{} `json:"newValue,omitempty" yaml:"newValue" bson:"newValue,omitempty"` } diff --git a/models/model_change_of_supi_pei_association_report.go b/models/model_change_of_supi_pei_association_report.go index 734ca128..7149a1c3 100644 --- a/models/model_change_of_supi_pei_association_report.go +++ b/models/model_change_of_supi_pei_association_report.go @@ -1,14 +1,18 @@ /* - * Nudm_EE + * Nnwdaf_DataManagement * - * Nudm Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ChangeOfSupiPeiAssociationReport struct { - NewPei string `json:"newPei" yaml:"newPei" bson:"newPei" mapstructure:"NewPei"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` } diff --git a/models/model_change_type.go b/models/model_change_type.go index 7b069e1c..0dae3f75 100644 --- a/models/model_change_type.go +++ b/models/model_change_type.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nhss_imsSDM * - * NRF NFManagement Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_charging_characteristics_selection_mode.go b/models/model_charging_characteristics_selection_mode.go index 7dcfb01b..b9985fa3 100644 --- a/models/model_charging_characteristics_selection_mode.go +++ b/models/model_charging_characteristics_selection_mode.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_charging_data.go b/models/model_charging_data.go index 9cb26c33..da5daa9c 100644 --- a/models/model_charging_data.go +++ b/models/model_charging_data.go @@ -1,30 +1,39 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains charging related parameters. type ChargingData struct { // Univocally identifies the charging control policy data within a PDU session. - ChgId string `json:"chgId" yaml:"chgId" bson:"chgId" mapstructure:"ChgId"` - MeteringMethod MeteringMethod `json:"meteringMethod,omitempty" yaml:"meteringMethod" bson:"meteringMethod" mapstructure:"MeteringMethod"` - // Indicates the offline charging is applicable to the PDU session or PCC rule. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline" mapstructure:"Offline"` - // Indicates the online charging is applicable to the PDU session or PCC rule. - Online bool `json:"online,omitempty" yaml:"online" bson:"online" mapstructure:"Online"` + ChgId string `json:"chgId" yaml:"chgId" bson:"chgId,omitempty"` + MeteringMethod MeteringMethod `json:"meteringMethod,omitempty" yaml:"meteringMethod" bson:"meteringMethod,omitempty"` + // Indicates the offline charging is applicable to the PCC rule when it is included and set to true. + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + // Indicates the online charging is applicable to the PCC rule when it is included and set to true. + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` // Indicates whether the service data flow is allowed to start while the SMF is waiting for the response to the credit request. - SdfHandl bool `json:"sdfHandl,omitempty" yaml:"sdfHandl" bson:"sdfHandl" mapstructure:"SdfHandl"` - RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"` - ReportingLevel ReportingLevel `json:"reportingLevel,omitempty" yaml:"reportingLevel" bson:"reportingLevel" mapstructure:"ReportingLevel"` - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId" mapstructure:"ServiceId"` + SdfHandl bool `json:"sdfHandl,omitempty" yaml:"sdfHandl" bson:"sdfHandl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + ReportingLevel ReportingLevel `json:"reportingLevel,omitempty" yaml:"reportingLevel" bson:"reportingLevel,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` // Indicates the sponsor identity. - SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId" mapstructure:"SponsorId"` + SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` // Indicates the application service provider identity. - AppSvcProvId string `json:"appSvcProvId,omitempty" yaml:"appSvcProvId" bson:"appSvcProvId" mapstructure:"AppSvcProvId"` - AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier" mapstructure:"AfChargingIdentifier"` + AppSvcProvId string `json:"appSvcProvId,omitempty" yaml:"appSvcProvId" bson:"appSvcProvId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` } diff --git a/models/model_charging_data_request.go b/models/model_charging_data_request.go deleted file mode 100644 index ea04a332..00000000 --- a/models/model_charging_data_request.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChargingDataRequest struct { - SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier" mapstructure:"SubscriberIdentifier"` - TenantIdentifier string `json:"tenantIdentifier,omitempty" yaml:"tenantIdentifier" bson:"tenantIdentifier" mapstructure:"TenantIdentifier"` - ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId" mapstructure:"ChargingId"` - MnSConsumerIdentifier string `json:"mnSConsumerIdentifier,omitempty" yaml:"mnSConsumerIdentifier" bson:"mnSConsumerIdentifier" mapstructure:"MnSConsumerIdentifier"` - NfConsumerIdentification *NfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification" mapstructure:"NfConsumerIdentification"` - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp" mapstructure:"InvocationTimeStamp"` - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber" mapstructure:"InvocationSequenceNumber"` - RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator" mapstructure:"RetransmissionIndicator"` - OneTimeEvent bool `json:"oneTimeEvent,omitempty" yaml:"oneTimeEvent" bson:"oneTimeEvent" mapstructure:"OneTimeEvent"` - OneTimeEventType OneTimeEventType `json:"oneTimeEventType,omitempty" yaml:"oneTimeEventType" bson:"oneTimeEventType" mapstructure:"OneTimeEventType"` - NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri" mapstructure:"NotifyUri"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo" mapstructure:"ServiceSpecificationInfo"` - MultipleUnitUsage []MultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage" mapstructure:"MultipleUnitUsage"` - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - PDUSessionChargingInformation *PduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation" mapstructure:"PDUSessionChargingInformation"` - RoamingQBCInformation *RoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation" mapstructure:"RoamingQBCInformation"` - SMSChargingInformation *SmsChargingInformation `json:"sMSChargingInformation,omitempty" yaml:"sMSChargingInformation" bson:"sMSChargingInformation" mapstructure:"SMSChargingInformation"` - NEFChargingInformation *NefChargingInformation `json:"nEFChargingInformation,omitempty" yaml:"nEFChargingInformation" bson:"nEFChargingInformation" mapstructure:"NEFChargingInformation"` - RegistrationChargingInformation *RegistrationChargingInformation `json:"registrationChargingInformation,omitempty" yaml:"registrationChargingInformation" bson:"registrationChargingInformation" mapstructure:"RegistrationChargingInformation"` - N2ConnectionChargingInformation *N2ConnectionChargingInformation `json:"n2ConnectionChargingInformation,omitempty" yaml:"n2ConnectionChargingInformation" bson:"n2ConnectionChargingInformation" mapstructure:"N2ConnectionChargingInformation"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation" mapstructure:"LocationReportingChargingInformation"` - NSPAChargingInformation *NspaChargingInformation `json:"nSPAChargingInformation,omitempty" yaml:"nSPAChargingInformation" bson:"nSPAChargingInformation" mapstructure:"NSPAChargingInformation"` - NSMChargingInformation *NsmChargingInformation `json:"nSMChargingInformation,omitempty" yaml:"nSMChargingInformation" bson:"nSMChargingInformation" mapstructure:"NSMChargingInformation"` -} diff --git a/models/model_charging_data_response.go b/models/model_charging_data_response.go deleted file mode 100644 index 7352e7c3..00000000 --- a/models/model_charging_data_response.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChargingDataResponse struct { - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp" mapstructure:"InvocationTimeStamp"` - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber" mapstructure:"InvocationSequenceNumber"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult" mapstructure:"InvocationResult"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover" mapstructure:"SessionFailover"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation" mapstructure:"MultipleUnitInformation"` - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - PDUSessionChargingInformation *PduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation" mapstructure:"PDUSessionChargingInformation"` - RoamingQBCInformation *RoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation" mapstructure:"RoamingQBCInformation"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation" mapstructure:"LocationReportingChargingInformation"` -} diff --git a/models/model_charging_info.go b/models/model_charging_info.go new file mode 100644 index 00000000..6c5d84f1 --- /dev/null +++ b/models/model_charging_info.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Diameter addresses of the charging function +type ChargingInfo struct { + // Fully Qualified Domain Name + PrimaryEventChargingFunctionName string `json:"primaryEventChargingFunctionName,omitempty" yaml:"primaryEventChargingFunctionName" bson:"primaryEventChargingFunctionName,omitempty"` + // Fully Qualified Domain Name + SecondaryEventChargingFunctionName string `json:"secondaryEventChargingFunctionName,omitempty" yaml:"secondaryEventChargingFunctionName" bson:"secondaryEventChargingFunctionName,omitempty"` + // Fully Qualified Domain Name + PrimaryChargingCollectionFunctionName string `json:"primaryChargingCollectionFunctionName,omitempty" yaml:"primaryChargingCollectionFunctionName" bson:"primaryChargingCollectionFunctionName,omitempty"` + // Fully Qualified Domain Name + SecondaryChargingCollectionFunctionName string `json:"secondaryChargingCollectionFunctionName,omitempty" yaml:"secondaryChargingCollectionFunctionName" bson:"secondaryChargingCollectionFunctionName,omitempty"` +} diff --git a/models/model_charging_information.go b/models/model_charging_information.go index 4a497e94..ad8f21ca 100644 --- a/models/model_charging_information.go +++ b/models/model_charging_information.go @@ -1,15 +1,29 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the addresses of the charging functions. type ChargingInformation struct { - PrimaryChfAddress string `json:"primaryChfAddress" yaml:"primaryChfAddress" bson:"primaryChfAddress" mapstructure:"PrimaryChfAddress"` - SecondaryChfAddress string `json:"secondaryChfAddress" yaml:"secondaryChfAddress" bson:"secondaryChfAddress" mapstructure:"SecondaryChfAddress"` + // String providing an URI formatted according to RFC 3986. + PrimaryChfAddress string `json:"primaryChfAddress" yaml:"primaryChfAddress" bson:"primaryChfAddress,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondaryChfAddress string `json:"secondaryChfAddress,omitempty" yaml:"secondaryChfAddress" bson:"secondaryChfAddress,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PrimaryChfSetId string `json:"primaryChfSetId,omitempty" yaml:"primaryChfSetId" bson:"primaryChfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PrimaryChfInstanceId string `json:"primaryChfInstanceId,omitempty" yaml:"primaryChfInstanceId" bson:"primaryChfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SecondaryChfSetId string `json:"secondaryChfSetId,omitempty" yaml:"secondaryChfSetId" bson:"secondaryChfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SecondaryChfInstanceId string `json:"secondaryChfInstanceId,omitempty" yaml:"secondaryChfInstanceId" bson:"secondaryChfInstanceId,omitempty"` } diff --git a/models/model_charging_notify_request.go b/models/model_charging_notify_request.go index 5d9214be..9e32ac66 100644 --- a/models/model_charging_notify_request.go +++ b/models/model_charging_notify_request.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ChargingNotifyRequest struct { - NotificationType NotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType" mapstructure:"NotificationType"` - ReauthorizationDetails []ReauthorizationDetails `json:"reauthorizationDetails,omitempty" yaml:"reauthorizationDetails" bson:"reauthorizationDetails" mapstructure:"ReauthorizationDetails"` + NotificationType ChfConvergedChargingNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` + ReauthorizationDetails []ReauthorizationDetails `json:"reauthorizationDetails,omitempty" yaml:"reauthorizationDetails" bson:"reauthorizationDetails,omitempty"` } diff --git a/models/model_charging_notify_response.go b/models/model_charging_notify_response.go index eb613816..b69ccc77 100644 --- a/models/model_charging_notify_response.go +++ b/models/model_charging_notify_response.go @@ -1,14 +1,17 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ChargingNotifyResponse struct { - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult" mapstructure:"InvocationResult"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` } diff --git a/models/model_chf_converged_charging_charging_data_request.go b/models/model_chf_converged_charging_charging_data_request.go new file mode 100644 index 00000000..c476cf2a --- /dev/null +++ b/models/model_chf_converged_charging_charging_data_request.go @@ -0,0 +1,62 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingChargingDataRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` + TenantIdentifier string `json:"tenantIdentifier,omitempty" yaml:"tenantIdentifier" bson:"tenantIdentifier,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + MnSConsumerIdentifier string `json:"mnSConsumerIdentifier,omitempty" yaml:"mnSConsumerIdentifier" bson:"mnSConsumerIdentifier,omitempty"` + NfConsumerIdentification *ChfConvergedChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` + OneTimeEvent bool `json:"oneTimeEvent,omitempty" yaml:"oneTimeEvent" bson:"oneTimeEvent,omitempty"` + OneTimeEventType OneTimeEventType `json:"oneTimeEventType,omitempty" yaml:"oneTimeEventType" bson:"oneTimeEventType,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` + MultipleUnitUsage []ChfConvergedChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + Easid string `json:"easid,omitempty" yaml:"easid" bson:"easid,omitempty"` + Ednid string `json:"ednid,omitempty" yaml:"ednid" bson:"ednid,omitempty"` + EASProviderIdentifier string `json:"eASProviderIdentifier,omitempty" yaml:"eASProviderIdentifier" bson:"eASProviderIdentifier,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + SMSChargingInformation *SmsChargingInformation `json:"sMSChargingInformation,omitempty" yaml:"sMSChargingInformation" bson:"sMSChargingInformation,omitempty"` + NEFChargingInformation *NefChargingInformation `json:"nEFChargingInformation,omitempty" yaml:"nEFChargingInformation" bson:"nEFChargingInformation,omitempty"` + RegistrationChargingInformation *RegistrationChargingInformation `json:"registrationChargingInformation,omitempty" yaml:"registrationChargingInformation" bson:"registrationChargingInformation,omitempty"` + N2ConnectionChargingInformation *N2ConnectionChargingInformation `json:"n2ConnectionChargingInformation,omitempty" yaml:"n2ConnectionChargingInformation" bson:"n2ConnectionChargingInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` + NSPAChargingInformation *NspaChargingInformation `json:"nSPAChargingInformation,omitempty" yaml:"nSPAChargingInformation" bson:"nSPAChargingInformation,omitempty"` + NSMChargingInformation *NsmChargingInformation `json:"nSMChargingInformation,omitempty" yaml:"nSMChargingInformation" bson:"nSMChargingInformation,omitempty"` + MMTelChargingInformation *MmTelChargingInformation `json:"mMTelChargingInformation,omitempty" yaml:"mMTelChargingInformation" bson:"mMTelChargingInformation,omitempty"` + IMSChargingInformation *ImsChargingInformation `json:"iMSChargingInformation,omitempty" yaml:"iMSChargingInformation" bson:"iMSChargingInformation,omitempty"` + EdgeInfrastructureUsageChargingInformation *EdgeInfrastructureUsageChargingInformation `json:"edgeInfrastructureUsageChargingInformation,omitempty" yaml:"edgeInfrastructureUsageChargingInformation'" bson:"edgeInfrastructureUsageChargingInformation',omitempty"` + EASDeploymentChargingInformation *EasDeploymentChargingInformation `json:"eASDeploymentChargingInformation,omitempty" yaml:"eASDeploymentChargingInformation" bson:"eASDeploymentChargingInformation,omitempty"` + DirectEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"directEdgeEnablingServiceChargingInformation,omitempty" yaml:"directEdgeEnablingServiceChargingInformation" bson:"directEdgeEnablingServiceChargingInformation,omitempty"` + ExposedEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"exposedEdgeEnablingServiceChargingInformation,omitempty" yaml:"exposedEdgeEnablingServiceChargingInformation" bson:"exposedEdgeEnablingServiceChargingInformation,omitempty"` + ProSeChargingInformation *ProseChargingInformation `json:"proSeChargingInformation,omitempty" yaml:"proSeChargingInformation" bson:"proSeChargingInformation,omitempty"` +} diff --git a/models/model_chf_converged_charging_charging_data_response.go b/models/model_chf_converged_charging_charging_data_response.go new file mode 100644 index 00000000..b2c7f184 --- /dev/null +++ b/models/model_chf_converged_charging_charging_data_response.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingChargingDataResponse struct { + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_chf_converged_charging_multiple_qf_icontainer.go b/models/model_chf_converged_charging_multiple_qf_icontainer.go new file mode 100644 index 00000000..36c7379a --- /dev/null +++ b/models/model_chf_converged_charging_multiple_qf_icontainer.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingMultipleQfIcontainer struct { + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + QFIContainerInformation *ChfConvergedChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` +} diff --git a/models/model_chf_converged_charging_multiple_unit_usage.go b/models/model_chf_converged_charging_multiple_unit_usage.go new file mode 100644 index 00000000..a4e2f412 --- /dev/null +++ b/models/model_chf_converged_charging_multiple_unit_usage.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingMultipleUnitUsage struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + RequestedUnit *RequestedUnit `json:"requestedUnit,omitempty" yaml:"requestedUnit" bson:"requestedUnit,omitempty"` + UsedUnitContainer []ChfConvergedChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + MultihomedPDUAddress *ChfConvergedChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` +} diff --git a/models/model_chf_converged_charging_nf_identification.go b/models/model_chf_converged_charging_nf_identification.go new file mode 100644 index 00000000..3cf40555 --- /dev/null +++ b/models/model_chf_converged_charging_nf_identification.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNfIdentification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` + NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` + NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` + NodeFunctionality ChfConvergedChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` + NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` +} diff --git a/models/model_chf_converged_charging_node_functionality.go b/models/model_chf_converged_charging_node_functionality.go new file mode 100644 index 00000000..dc8b3705 --- /dev/null +++ b/models/model_chf_converged_charging_node_functionality.go @@ -0,0 +1,39 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNodeFunctionality string + +// List of ChfConvergedChargingNodeFunctionality +const ( + ChfConvergedChargingNodeFunctionality_AMF ChfConvergedChargingNodeFunctionality = "AMF" + ChfConvergedChargingNodeFunctionality_SMF ChfConvergedChargingNodeFunctionality = "SMF" + ChfConvergedChargingNodeFunctionality_SMS ChfConvergedChargingNodeFunctionality = "SMS" + ChfConvergedChargingNodeFunctionality_SMSF ChfConvergedChargingNodeFunctionality = "SMSF" + ChfConvergedChargingNodeFunctionality_PGW_C_SMF ChfConvergedChargingNodeFunctionality = "PGW_C_SMF" + ChfConvergedChargingNodeFunctionality_NEFF ChfConvergedChargingNodeFunctionality = "NEFF" + ChfConvergedChargingNodeFunctionality_SGW ChfConvergedChargingNodeFunctionality = "SGW" + ChfConvergedChargingNodeFunctionality_I_SMF ChfConvergedChargingNodeFunctionality = "I_SMF" + ChfConvergedChargingNodeFunctionality_E_PDG ChfConvergedChargingNodeFunctionality = "ePDG" + ChfConvergedChargingNodeFunctionality_CEF ChfConvergedChargingNodeFunctionality = "CEF" + ChfConvergedChargingNodeFunctionality_NEF ChfConvergedChargingNodeFunctionality = "NEF" + ChfConvergedChargingNodeFunctionality_MN_S_PRODUCER ChfConvergedChargingNodeFunctionality = "MnS_Producer" + ChfConvergedChargingNodeFunctionality_SGSN ChfConvergedChargingNodeFunctionality = "SGSN" + ChfConvergedChargingNodeFunctionality_V_SMF ChfConvergedChargingNodeFunctionality = "V_SMF" + ChfConvergedChargingNodeFunctionality__5_G_DDNMF ChfConvergedChargingNodeFunctionality = "5G_DDNMF" + ChfConvergedChargingNodeFunctionality_IMS_NODE ChfConvergedChargingNodeFunctionality = "IMS_Node" + ChfConvergedChargingNodeFunctionality_EES ChfConvergedChargingNodeFunctionality = "EES" + ChfConvergedChargingNodeFunctionality_PCF ChfConvergedChargingNodeFunctionality = "PCF" + ChfConvergedChargingNodeFunctionality_UDM ChfConvergedChargingNodeFunctionality = "UDM" + ChfConvergedChargingNodeFunctionality_UPF ChfConvergedChargingNodeFunctionality = "UPF" +) diff --git a/models/model_chf_converged_charging_notification_type.go b/models/model_chf_converged_charging_notification_type.go new file mode 100644 index 00000000..65289a65 --- /dev/null +++ b/models/model_chf_converged_charging_notification_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNotificationType string + +// List of ChfConvergedChargingNotificationType +const ( + ChfConvergedChargingNotificationType_REAUTHORIZATION ChfConvergedChargingNotificationType = "REAUTHORIZATION" + ChfConvergedChargingNotificationType_ABORT_CHARGING ChfConvergedChargingNotificationType = "ABORT_CHARGING" +) diff --git a/models/model_chf_converged_charging_pdu_address.go b/models/model_chf_converged_charging_pdu_address.go new file mode 100644 index 00000000..68188b2d --- /dev/null +++ b/models/model_chf_converged_charging_pdu_address.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingPduAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` + PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` + PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` + IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` + IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` + AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` + AddIpv6AddrPrefixList []string `json:"addIpv6AddrPrefixList,omitempty" yaml:"addIpv6AddrPrefixList" bson:"addIpv6AddrPrefixList,omitempty"` +} diff --git a/models/model_chf_converged_charging_pdu_container_information.go b/models/model_chf_converged_charging_pdu_container_information.go new file mode 100644 index 00000000..042def43 --- /dev/null +++ b/models/model_chf_converged_charging_pdu_container_information.go @@ -0,0 +1,44 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduContainerInformation struct { + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargingIdString string `json:"afChargingIdString,omitempty" yaml:"afChargingIdString" bson:"afChargingIdString,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNodeID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` + ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` + ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` + MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` + MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` + TrafficForwardingWay TrafficForwardingWay `json:"trafficForwardingWay,omitempty" yaml:"trafficForwardingWay" bson:"trafficForwardingWay,omitempty"` + QosMonitoringReport []ChfConvergedChargingQosMonitoringReport `json:"qosMonitoringReport,omitempty" yaml:"qosMonitoringReport" bson:"qosMonitoringReport,omitempty"` +} diff --git a/models/model_chf_converged_charging_pdu_session_charging_information.go b/models/model_chf_converged_charging_pdu_session_charging_information.go new file mode 100644 index 00000000..eacf71d9 --- /dev/null +++ b/models/model_chf_converged_charging_pdu_session_charging_information.go @@ -0,0 +1,40 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduSessionChargingInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + SMFchargingId string `json:"sMFchargingId,omitempty" yaml:"sMFchargingId" bson:"sMFchargingId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + HomeProvidedChargingId int32 `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + SMFHomeProvidedChargingId string `json:"sMFHomeProvidedChargingId,omitempty" yaml:"sMFHomeProvidedChargingId" bson:"sMFHomeProvidedChargingId,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Non3GPPUserLocationTime *time.Time `json:"non3GPPUserLocationTime,omitempty" yaml:"non3GPPUserLocationTime" bson:"non3GPPUserLocationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MAPDUNon3GPPUserLocationTime *time.Time `json:"mAPDUNon3GPPUserLocationTime,omitempty" yaml:"mAPDUNon3GPPUserLocationTime" bson:"mAPDUNon3GPPUserLocationTime,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PduSessionInformation *ChfConvergedChargingPduSessionInformation `json:"pduSessionInformation,omitempty" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` + // indicating a time in seconds. + UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` + RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` +} diff --git a/models/model_chf_converged_charging_pdu_session_information.go b/models/model_chf_converged_charging_pdu_session_information.go new file mode 100644 index 00000000..ba4fcbce --- /dev/null +++ b/models/model_chf_converged_charging_pdu_session_information.go @@ -0,0 +1,56 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduSessionInformation struct { + NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` + PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` + SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` + ServingNetworkFunctionID *ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` + DnnSelectionMode DnnSelectionMode `json:"dnnSelectionMode,omitempty" yaml:"dnnSelectionMode" bson:"dnnSelectionMode,omitempty"` + ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` + ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` + PduAddress *ChfConvergedChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` + SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` + AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` + SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` + ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` + MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` + EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` + RedundantTransmissionType RedundantTransmissionType `json:"redundantTransmissionType,omitempty" yaml:"redundantTransmissionType" bson:"redundantTransmissionType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + PDUSessionPairID int32 `json:"pDUSessionPairID,omitempty" yaml:"pDUSessionPairID" bson:"pDUSessionPairID,omitempty"` + CpCIoTOptimisationIndicator bool `json:"cpCIoTOptimisationIndicator,omitempty" yaml:"cpCIoTOptimisationIndicator" bson:"cpCIoTOptimisationIndicator,omitempty"` + Var5GSControlPlaneOnlyIndicator bool `json:"5GSControlPlaneOnlyIndicator,omitempty" yaml:"5GSControlPlaneOnlyIndicator" bson:"5GSControlPlaneOnlyIndicator,omitempty"` + SmallDataRateControlIndicator bool `json:"smallDataRateControlIndicator,omitempty" yaml:"smallDataRateControlIndicator" bson:"smallDataRateControlIndicator,omitempty"` + Var5GLANTypeService *Model5GlanTypeService `json:"5GLANTypeService,omitempty" yaml:"5GLANTypeService" bson:"5GLANTypeService,omitempty"` +} diff --git a/models/model_chf_converged_charging_qfi_container_information.go b/models/model_chf_converged_charging_qfi_container_information.go new file mode 100644 index 00000000..b2b15949 --- /dev/null +++ b/models/model_chf_converged_charging_qfi_container_information.go @@ -0,0 +1,41 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingQfiContainerInformation struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReportTime *time.Time `json:"reportTime" yaml:"reportTime" bson:"reportTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNetworkFunctionID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Var3gppChargingId int32 `json:"3gppChargingId,omitempty" yaml:"3gppChargingId" bson:"3gppChargingId,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + EnhancedDiagnostics []string `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` +} diff --git a/models/model_chf_converged_charging_qos_monitoring_report.go b/models/model_chf_converged_charging_qos_monitoring_report.go new file mode 100644 index 00000000..acbd67f4 --- /dev/null +++ b/models/model_chf_converged_charging_qos_monitoring_report.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains reporting information on QoS monitoring. +type ChfConvergedChargingQosMonitoringReport struct { + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` +} diff --git a/models/model_chf_converged_charging_redirect_address_type.go b/models/model_chf_converged_charging_redirect_address_type.go new file mode 100644 index 00000000..eb9fbd05 --- /dev/null +++ b/models/model_chf_converged_charging_redirect_address_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRedirectAddressType string + +// List of ChfConvergedChargingRedirectAddressType +const ( + ChfConvergedChargingRedirectAddressType_IPV4 ChfConvergedChargingRedirectAddressType = "IPV4" + ChfConvergedChargingRedirectAddressType_IPV6 ChfConvergedChargingRedirectAddressType = "IPV6" + ChfConvergedChargingRedirectAddressType_URL ChfConvergedChargingRedirectAddressType = "URL" + ChfConvergedChargingRedirectAddressType_URI ChfConvergedChargingRedirectAddressType = "URI" +) diff --git a/models/model_chf_converged_charging_result_code.go b/models/model_chf_converged_charging_result_code.go new file mode 100644 index 00000000..06815342 --- /dev/null +++ b/models/model_chf_converged_charging_result_code.go @@ -0,0 +1,27 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingResultCode string + +// List of ChfConvergedChargingResultCode +const ( + ChfConvergedChargingResultCode_SUCCESS ChfConvergedChargingResultCode = "SUCCESS" + ChfConvergedChargingResultCode_END_USER_SERVICE_DENIED ChfConvergedChargingResultCode = "END_USER_SERVICE_DENIED" + ChfConvergedChargingResultCode_QUOTA_MANAGEMENT_NOT_APPLICABLE ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT_NOT_APPLICABLE" + ChfConvergedChargingResultCode_QUOTA_LIMIT_REACHED ChfConvergedChargingResultCode = "QUOTA_LIMIT_REACHED" + ChfConvergedChargingResultCode_END_USER_SERVICE_REJECTED ChfConvergedChargingResultCode = "END_USER_SERVICE_REJECTED" + ChfConvergedChargingResultCode_USER_UNKNOWN ChfConvergedChargingResultCode = "USER_UNKNOWN" + ChfConvergedChargingResultCode_RATING_FAILED ChfConvergedChargingResultCode = "RATING_FAILED" + ChfConvergedChargingResultCode_QUOTA_MANAGEMENT ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT" +) diff --git a/models/model_chf_converged_charging_roaming_charging_profile.go b/models/model_chf_converged_charging_roaming_charging_profile.go new file mode 100644 index 00000000..3e226448 --- /dev/null +++ b/models/model_chf_converged_charging_roaming_charging_profile.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRoamingChargingProfile struct { + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` +} diff --git a/models/model_chf_converged_charging_roaming_qbc_information.go b/models/model_chf_converged_charging_roaming_qbc_information.go new file mode 100644 index 00000000..232ad3c0 --- /dev/null +++ b/models/model_chf_converged_charging_roaming_qbc_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRoamingQbcInformation struct { + MultipleQFIcontainer []ChfConvergedChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` +} diff --git a/models/model_chf_converged_charging_serving_network_function_id.go b/models/model_chf_converged_charging_serving_network_function_id.go new file mode 100644 index 00000000..528ee080 --- /dev/null +++ b/models/model_chf_converged_charging_serving_network_function_id.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingServingNetworkFunctionId struct { + ServingNetworkFunctionInformation *ChfConvergedChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` +} diff --git a/models/model_chf_converged_charging_trigger.go b/models/model_chf_converged_charging_trigger.go new file mode 100644 index 00000000..a2b4c269 --- /dev/null +++ b/models/model_chf_converged_charging_trigger.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingTrigger struct { + TriggerType ChfConvergedChargingTriggerType `json:"triggerType,omitempty" yaml:"triggerType" bson:"triggerType,omitempty"` + TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` + // indicating a time in seconds. + TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` +} diff --git a/models/model_chf_converged_charging_trigger_type.go b/models/model_chf_converged_charging_trigger_type.go new file mode 100644 index 00000000..bc45a3e5 --- /dev/null +++ b/models/model_chf_converged_charging_trigger_type.go @@ -0,0 +1,63 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingTriggerType string + +// List of ChfConvergedChargingTriggerType +const ( + ChfConvergedChargingTriggerType_QUOTA_THRESHOLD ChfConvergedChargingTriggerType = "QUOTA_THRESHOLD" + ChfConvergedChargingTriggerType_QHT ChfConvergedChargingTriggerType = "QHT" + ChfConvergedChargingTriggerType_FINAL ChfConvergedChargingTriggerType = "FINAL" + ChfConvergedChargingTriggerType_QUOTA_EXHAUSTED ChfConvergedChargingTriggerType = "QUOTA_EXHAUSTED" + ChfConvergedChargingTriggerType_VALIDITY_TIME ChfConvergedChargingTriggerType = "VALIDITY_TIME" + ChfConvergedChargingTriggerType_OTHER_QUOTA_TYPE ChfConvergedChargingTriggerType = "OTHER_QUOTA_TYPE" + ChfConvergedChargingTriggerType_FORCED_REAUTHORISATION ChfConvergedChargingTriggerType = "FORCED_REAUTHORISATION" + ChfConvergedChargingTriggerType_UNUSED_QUOTA_TIMER ChfConvergedChargingTriggerType = "UNUSED_QUOTA_TIMER" + ChfConvergedChargingTriggerType_UNIT_COUNT_INACTIVITY_TIMER ChfConvergedChargingTriggerType = "UNIT_COUNT_INACTIVITY_TIMER" + ChfConvergedChargingTriggerType_ABNORMAL_RELEASE ChfConvergedChargingTriggerType = "ABNORMAL_RELEASE" + ChfConvergedChargingTriggerType_QOS_CHANGE ChfConvergedChargingTriggerType = "QOS_CHANGE" + ChfConvergedChargingTriggerType_VOLUME_LIMIT ChfConvergedChargingTriggerType = "VOLUME_LIMIT" + ChfConvergedChargingTriggerType_TIME_LIMIT ChfConvergedChargingTriggerType = "TIME_LIMIT" + ChfConvergedChargingTriggerType_EVENT_LIMIT ChfConvergedChargingTriggerType = "EVENT_LIMIT" + ChfConvergedChargingTriggerType_PLMN_CHANGE ChfConvergedChargingTriggerType = "PLMN_CHANGE" + ChfConvergedChargingTriggerType_USER_LOCATION_CHANGE ChfConvergedChargingTriggerType = "USER_LOCATION_CHANGE" + ChfConvergedChargingTriggerType_RAT_CHANGE ChfConvergedChargingTriggerType = "RAT_CHANGE" + ChfConvergedChargingTriggerType_SESSION_AMBR_CHANGE ChfConvergedChargingTriggerType = "SESSION_AMBR_CHANGE" + ChfConvergedChargingTriggerType_UE_TIMEZONE_CHANGE ChfConvergedChargingTriggerType = "UE_TIMEZONE_CHANGE" + ChfConvergedChargingTriggerType_TARIFF_TIME_CHANGE ChfConvergedChargingTriggerType = "TARIFF_TIME_CHANGE" + ChfConvergedChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfConvergedChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" + ChfConvergedChargingTriggerType_MANAGEMENT_INTERVENTION ChfConvergedChargingTriggerType = "MANAGEMENT_INTERVENTION" + ChfConvergedChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfConvergedChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" + ChfConvergedChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfConvergedChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" + ChfConvergedChargingTriggerType_SERVING_NODE_CHANGE ChfConvergedChargingTriggerType = "SERVING_NODE_CHANGE" + ChfConvergedChargingTriggerType_REMOVAL_OF_UPF ChfConvergedChargingTriggerType = "REMOVAL_OF_UPF" + ChfConvergedChargingTriggerType_ADDITION_OF_UPF ChfConvergedChargingTriggerType = "ADDITION_OF_UPF" + ChfConvergedChargingTriggerType_INSERTION_OF_ISMF ChfConvergedChargingTriggerType = "INSERTION_OF_ISMF" + ChfConvergedChargingTriggerType_REMOVAL_OF_ISMF ChfConvergedChargingTriggerType = "REMOVAL_OF_ISMF" + ChfConvergedChargingTriggerType_CHANGE_OF_ISMF ChfConvergedChargingTriggerType = "CHANGE_OF_ISMF" + ChfConvergedChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfConvergedChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" + ChfConvergedChargingTriggerType_ECGI_CHANGE ChfConvergedChargingTriggerType = "ECGI_CHANGE" + ChfConvergedChargingTriggerType_TAI_CHANGE ChfConvergedChargingTriggerType = "TAI_CHANGE" + ChfConvergedChargingTriggerType_HANDOVER_CANCEL ChfConvergedChargingTriggerType = "HANDOVER_CANCEL" + ChfConvergedChargingTriggerType_HANDOVER_START ChfConvergedChargingTriggerType = "HANDOVER_START" + ChfConvergedChargingTriggerType_HANDOVER_COMPLETE ChfConvergedChargingTriggerType = "HANDOVER_COMPLETE" + ChfConvergedChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfConvergedChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" + ChfConvergedChargingTriggerType_ADDITION_OF_ACCESS ChfConvergedChargingTriggerType = "ADDITION_OF_ACCESS" + ChfConvergedChargingTriggerType_REMOVAL_OF_ACCESS ChfConvergedChargingTriggerType = "REMOVAL_OF_ACCESS" + ChfConvergedChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfConvergedChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" + ChfConvergedChargingTriggerType_REDUNDANT_TRANSMISSION_CHANGE ChfConvergedChargingTriggerType = "REDUNDANT_TRANSMISSION_CHANGE" + ChfConvergedChargingTriggerType_CGI_SAI_CHANGE ChfConvergedChargingTriggerType = "CGI_SAI_CHANGE" + ChfConvergedChargingTriggerType_RAI_CHANGE ChfConvergedChargingTriggerType = "RAI_CHANGE" + ChfConvergedChargingTriggerType_VSMF_CHANGE ChfConvergedChargingTriggerType = "VSMF_CHANGE" +) diff --git a/models/model_chf_converged_charging_used_unit_container.go b/models/model_chf_converged_charging_used_unit_container.go new file mode 100644 index 00000000..9922b4f1 --- /dev/null +++ b/models/model_chf_converged_charging_used_unit_container.go @@ -0,0 +1,41 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingUsedUnitContainer struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` + EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + PDUContainerInformation *ChfConvergedChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` + NSPAContainerInformation *NspaContainerInformation `json:"nSPAContainerInformation,omitempty" yaml:"nSPAContainerInformation" bson:"nSPAContainerInformation,omitempty"` + PC5ContainerInformation *Pc5ContainerInformation `json:"pC5ContainerInformation,omitempty" yaml:"pC5ContainerInformation" bson:"pC5ContainerInformation,omitempty"` +} diff --git a/models/model_chf_converged_charging_user_information.go b/models/model_chf_converged_charging_user_information.go new file mode 100644 index 00000000..4fda5535 --- /dev/null +++ b/models/model_chf_converged_charging_user_information.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingUserInformation struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` + UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` +} diff --git a/models/model_chf_info.go b/models/model_chf_info.go index d3612a60..f102cf91 100644 --- a/models/model_chf_info.go +++ b/models/model_chf_info.go @@ -1,16 +1,26 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of a CHF NF Instance type ChfInfo struct { - SupiRangeList []SupiRange `json:"supiRangeList,omitempty" yaml:"supiRangeList" bson:"supiRangeList" mapstructure:"SupiRangeList"` - GpsiRangeList []IdentityRange `json:"gpsiRangeList,omitempty" yaml:"gpsiRangeList" bson:"gpsiRangeList" mapstructure:"GpsiRangeList"` - PlmnRangeList []PlmnRange `json:"plmnRangeList,omitempty" yaml:"plmnRangeList" bson:"plmnRangeList" mapstructure:"PlmnRangeList"` + SupiRangeList []SupiRange `json:"supiRangeList,omitempty" yaml:"supiRangeList" bson:"supiRangeList,omitempty"` + GpsiRangeList []IdentityRange `json:"gpsiRangeList,omitempty" yaml:"gpsiRangeList" bson:"gpsiRangeList,omitempty"` + PlmnRangeList []PlmnRange `json:"plmnRangeList,omitempty" yaml:"plmnRangeList" bson:"plmnRangeList,omitempty"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PrimaryChfInstance string `json:"primaryChfInstance,omitempty" yaml:"primaryChfInstance" bson:"primaryChfInstance,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SecondaryChfInstance string `json:"secondaryChfInstance,omitempty" yaml:"secondaryChfInstance" bson:"secondaryChfInstance,omitempty"` } diff --git a/models/model_chf_offline_only_charging_charging_data_request.go b/models/model_chf_offline_only_charging_charging_data_request.go new file mode 100644 index 00000000..d24c6589 --- /dev/null +++ b/models/model_chf_offline_only_charging_charging_data_request.go @@ -0,0 +1,33 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingChargingDataRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` + NfConsumerIdentification *ChfOfflineOnlyChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` + ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` + MultipleUnitUsage []ChfOfflineOnlyChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_charging_data_response.go b/models/model_chf_offline_only_charging_charging_data_response.go new file mode 100644 index 00000000..aa7ddcfb --- /dev/null +++ b/models/model_chf_offline_only_charging_charging_data_response.go @@ -0,0 +1,29 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingChargingDataResponse struct { + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_multiple_qf_icontainer.go b/models/model_chf_offline_only_charging_multiple_qf_icontainer.go new file mode 100644 index 00000000..e5bf1849 --- /dev/null +++ b/models/model_chf_offline_only_charging_multiple_qf_icontainer.go @@ -0,0 +1,31 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingMultipleQfIcontainer struct { + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + QFIContainerInformation *ChfOfflineOnlyChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_multiple_unit_usage.go b/models/model_chf_offline_only_charging_multiple_unit_usage.go new file mode 100644 index 00000000..5028ff4a --- /dev/null +++ b/models/model_chf_offline_only_charging_multiple_unit_usage.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingMultipleUnitUsage struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + UsedUnitContainer []ChfOfflineOnlyChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + MultihomedPDUAddress *ChfOfflineOnlyChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_nf_identification.go b/models/model_chf_offline_only_charging_nf_identification.go new file mode 100644 index 00000000..997e6918 --- /dev/null +++ b/models/model_chf_offline_only_charging_nf_identification.go @@ -0,0 +1,24 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingNfIdentification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` + NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` + NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` + NodeFunctionality ChfOfflineOnlyChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` + NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_node_functionality.go b/models/model_chf_offline_only_charging_node_functionality.go new file mode 100644 index 00000000..b5b0a2ac --- /dev/null +++ b/models/model_chf_offline_only_charging_node_functionality.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingNodeFunctionality string + +// List of ChfOfflineOnlyChargingNodeFunctionality +const ( + ChfOfflineOnlyChargingNodeFunctionality_SMF ChfOfflineOnlyChargingNodeFunctionality = "SMF" + ChfOfflineOnlyChargingNodeFunctionality_SMSF ChfOfflineOnlyChargingNodeFunctionality = "SMSF" + ChfOfflineOnlyChargingNodeFunctionality_I_SMF ChfOfflineOnlyChargingNodeFunctionality = "I-SMF" +) diff --git a/models/model_chf_offline_only_charging_pdu_address.go b/models/model_chf_offline_only_charging_pdu_address.go new file mode 100644 index 00000000..68ba6629 --- /dev/null +++ b/models/model_chf_offline_only_charging_pdu_address.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingPduAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` + PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` + PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` + IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` + IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_pdu_container_information.go b/models/model_chf_offline_only_charging_pdu_container_information.go new file mode 100644 index 00000000..58661195 --- /dev/null +++ b/models/model_chf_offline_only_charging_pdu_container_information.go @@ -0,0 +1,39 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduContainerInformation struct { + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + AFCorrelationInformation string `json:"aFCorrelationInformation,omitempty" yaml:"aFCorrelationInformation" bson:"aFCorrelationInformation,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNodeID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` + ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` + ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` + MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` + MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_pdu_session_charging_information.go b/models/model_chf_offline_only_charging_pdu_session_charging_information.go new file mode 100644 index 00000000..1c52a27e --- /dev/null +++ b/models/model_chf_offline_only_charging_pdu_session_charging_information.go @@ -0,0 +1,35 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduSessionChargingInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + SMFChargingId string `json:"sMFChargingId,omitempty" yaml:"sMFChargingId" bson:"sMFChargingId,omitempty"` + UserInformation *ChfOfflineOnlyChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationTime *time.Time `json:"userLocationTime,omitempty" yaml:"userLocationTime" bson:"userLocationTime,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PduSessionInformation *ChfOfflineOnlyChargingPduSessionInformation `json:"pduSessionInformation" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` + // indicating a time in seconds. + UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` + RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_pdu_session_information.go b/models/model_chf_offline_only_charging_pdu_session_information.go new file mode 100644 index 00000000..c8c017fd --- /dev/null +++ b/models/model_chf_offline_only_charging_pdu_session_information.go @@ -0,0 +1,48 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduSessionInformation struct { + NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` + PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` + SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` + ServingNetworkFunctionID *ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` + ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` + ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` + PduAddress *ChfOfflineOnlyChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` + SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` + AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` + SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` + ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` + MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` + EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_qfi_container_information.go b/models/model_chf_offline_only_charging_qfi_container_information.go new file mode 100644 index 00000000..f5ce910f --- /dev/null +++ b/models/model_chf_offline_only_charging_qfi_container_information.go @@ -0,0 +1,35 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingQfiContainerInformation struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNetworkFunctionID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_result_code.go b/models/model_chf_offline_only_charging_result_code.go new file mode 100644 index 00000000..80c61444 --- /dev/null +++ b/models/model_chf_offline_only_charging_result_code.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingResultCode string + +// List of ChfOfflineOnlyChargingResultCode +const ( + ChfOfflineOnlyChargingResultCode_SUCCESS ChfOfflineOnlyChargingResultCode = "SUCCESS" + ChfOfflineOnlyChargingResultCode_END_USER_SERVICE_DENIED ChfOfflineOnlyChargingResultCode = "END_USER_SERVICE_DENIED" +) diff --git a/models/model_chf_offline_only_charging_roaming_charging_profile.go b/models/model_chf_offline_only_charging_roaming_charging_profile.go new file mode 100644 index 00000000..4b68565c --- /dev/null +++ b/models/model_chf_offline_only_charging_roaming_charging_profile.go @@ -0,0 +1,18 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingRoamingChargingProfile struct { + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_roaming_qbc_information.go b/models/model_chf_offline_only_charging_roaming_qbc_information.go new file mode 100644 index 00000000..61d2f4d5 --- /dev/null +++ b/models/model_chf_offline_only_charging_roaming_qbc_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingRoamingQbcInformation struct { + MultipleQFIcontainer []ChfOfflineOnlyChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + RoamingChargingProfile *ChfOfflineOnlyChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_serving_network_function_id.go b/models/model_chf_offline_only_charging_serving_network_function_id.go new file mode 100644 index 00000000..10c5b170 --- /dev/null +++ b/models/model_chf_offline_only_charging_serving_network_function_id.go @@ -0,0 +1,19 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingServingNetworkFunctionId struct { + ServingNetworkFunctionInformation *ChfOfflineOnlyChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_trigger.go b/models/model_chf_offline_only_charging_trigger.go new file mode 100644 index 00000000..e944f9f3 --- /dev/null +++ b/models/model_chf_offline_only_charging_trigger.go @@ -0,0 +1,28 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingTrigger struct { + TriggerType ChfOfflineOnlyChargingTriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType,omitempty"` + TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` + // indicating a time in seconds. + TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_trigger_type.go b/models/model_chf_offline_only_charging_trigger_type.go new file mode 100644 index 00000000..9ad31cdd --- /dev/null +++ b/models/model_chf_offline_only_charging_trigger_type.go @@ -0,0 +1,49 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingTriggerType string + +// List of ChfOfflineOnlyChargingTriggerType +const ( + ChfOfflineOnlyChargingTriggerType_FINAL ChfOfflineOnlyChargingTriggerType = "FINAL" + ChfOfflineOnlyChargingTriggerType_ABNORMAL_RELEASE ChfOfflineOnlyChargingTriggerType = "ABNORMAL_RELEASE" + ChfOfflineOnlyChargingTriggerType_QOS_CHANGE ChfOfflineOnlyChargingTriggerType = "QOS_CHANGE" + ChfOfflineOnlyChargingTriggerType_VOLUME_LIMIT ChfOfflineOnlyChargingTriggerType = "VOLUME_LIMIT" + ChfOfflineOnlyChargingTriggerType_TIME_LIMIT ChfOfflineOnlyChargingTriggerType = "TIME_LIMIT" + ChfOfflineOnlyChargingTriggerType_EVENT_LIMIT ChfOfflineOnlyChargingTriggerType = "EVENT_LIMIT" + ChfOfflineOnlyChargingTriggerType_PLMN_CHANGE ChfOfflineOnlyChargingTriggerType = "PLMN_CHANGE" + ChfOfflineOnlyChargingTriggerType_USER_LOCATION_CHANGE ChfOfflineOnlyChargingTriggerType = "USER_LOCATION_CHANGE" + ChfOfflineOnlyChargingTriggerType_RAT_CHANGE ChfOfflineOnlyChargingTriggerType = "RAT_CHANGE" + ChfOfflineOnlyChargingTriggerType_SESSION_AMBR_CHANGE ChfOfflineOnlyChargingTriggerType = "SESSION_AMBR_CHANGE" + ChfOfflineOnlyChargingTriggerType_UE_TIMEZONE_CHANGE ChfOfflineOnlyChargingTriggerType = "UE_TIMEZONE_CHANGE" + ChfOfflineOnlyChargingTriggerType_TARIFF_TIME_CHANGE ChfOfflineOnlyChargingTriggerType = "TARIFF_TIME_CHANGE" + ChfOfflineOnlyChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfOfflineOnlyChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" + ChfOfflineOnlyChargingTriggerType_MANAGEMENT_INTERVENTION ChfOfflineOnlyChargingTriggerType = "MANAGEMENT_INTERVENTION" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" + ChfOfflineOnlyChargingTriggerType_SERVING_NODE_CHANGE ChfOfflineOnlyChargingTriggerType = "SERVING_NODE_CHANGE" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_UPF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_UPF" + ChfOfflineOnlyChargingTriggerType_ADDITION_OF_UPF ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_UPF" + ChfOfflineOnlyChargingTriggerType_INSERTION_OF_ISMF ChfOfflineOnlyChargingTriggerType = "INSERTION_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ISMF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_ISMF ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfOfflineOnlyChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" + ChfOfflineOnlyChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfOfflineOnlyChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" + ChfOfflineOnlyChargingTriggerType_HANDOVER_CANCEL ChfOfflineOnlyChargingTriggerType = "HANDOVER_CANCEL" + ChfOfflineOnlyChargingTriggerType_HANDOVER_START ChfOfflineOnlyChargingTriggerType = "HANDOVER_START" + ChfOfflineOnlyChargingTriggerType_HANDOVER_COMPLETE ChfOfflineOnlyChargingTriggerType = "HANDOVER_COMPLETE" + ChfOfflineOnlyChargingTriggerType_ADDITION_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_ACCESS" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ACCESS" + ChfOfflineOnlyChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfOfflineOnlyChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" +) diff --git a/models/model_chf_offline_only_charging_used_unit_container.go b/models/model_chf_offline_only_charging_used_unit_container.go new file mode 100644 index 00000000..1a876959 --- /dev/null +++ b/models/model_chf_offline_only_charging_used_unit_container.go @@ -0,0 +1,38 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingUsedUnitContainer struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` + EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + PDUContainerInformation *ChfOfflineOnlyChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` +} diff --git a/models/model_chf_offline_only_charging_user_information.go b/models/model_chf_offline_only_charging_user_information.go new file mode 100644 index 00000000..5a8d2818 --- /dev/null +++ b/models/model_chf_offline_only_charging_user_information.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingUserInformation struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` + UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` +} diff --git a/models/model_chf_service_info.go b/models/model_chf_service_info.go deleted file mode 100644 index 05cb7b94..00000000 --- a/models/model_chf_service_info.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfServiceInfo struct { - PrimaryChfServiceInstance string `json:"primaryChfServiceInstance,omitempty" yaml:"primaryChfServiceInstance" bson:"primaryChfServiceInstance" mapstructure:"PrimaryChfServiceInstance"` - SecondaryChfServiceInstance string `json:"secondaryChfServiceInstance,omitempty" yaml:"secondaryChfServiceInstance" bson:"secondaryChfServiceInstance" mapstructure:"SecondaryChfServiceInstance"` -} diff --git a/models/model_chf_spending_limit_control_termination_cause.go b/models/model_chf_spending_limit_control_termination_cause.go new file mode 100644 index 00000000..1a3ac290 --- /dev/null +++ b/models/model_chf_spending_limit_control_termination_cause.go @@ -0,0 +1,20 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfSpendingLimitControlTerminationCause string + +// List of ChfSpendingLimitControlTerminationCause +const ( + ChfSpendingLimitControlTerminationCause_REMOVED_SUBSCRIBER ChfSpendingLimitControlTerminationCause = "REMOVED_SUBSCRIBER" +) diff --git a/models/model_cipher_request_data.go b/models/model_cipher_request_data.go new file mode 100644 index 00000000..dab826be --- /dev/null +++ b/models/model_cipher_request_data.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data request. +type CipherRequestData struct { + // String providing an URI formatted according to RFC 3986. + AmfCallBackURI string `json:"amfCallBackURI" yaml:"amfCallBackURI" bson:"amfCallBackURI,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_cipher_response_data.go b/models/model_cipher_response_data.go new file mode 100644 index 00000000..39c108d7 --- /dev/null +++ b/models/model_cipher_response_data.go @@ -0,0 +1,18 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Response. +type CipherResponseData struct { + DataAvailability DataAvailability `json:"dataAvailability" yaml:"dataAvailability" bson:"dataAvailability,omitempty"` +} diff --git a/models/model_ciphering_algorithm.go b/models/model_ciphering_algorithm.go index eda6991f..3d18d561 100644 --- a/models/model_ciphering_algorithm.go +++ b/models/model_ciphering_algorithm.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ciphering_data_set.go b/models/model_ciphering_data_set.go new file mode 100644 index 00000000..e6547b2f --- /dev/null +++ b/models/model_ciphering_data_set.go @@ -0,0 +1,37 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a Ciphering Data Set. +type CipheringDataSet struct { + // Ciphering Data Set Identifier. + CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` + // Ciphering Key. + CipheringKey string `json:"cipheringKey" yaml:"cipheringKey" bson:"cipheringKey,omitempty"` + // First component of the initial ciphering counter. + C0 string `json:"c0" yaml:"c0" bson:"c0,omitempty"` + // string with format 'bytes' as defined in OpenAPI + LtePosSibTypes string `json:"ltePosSibTypes,omitempty" yaml:"ltePosSibTypes" bson:"ltePosSibTypes,omitempty"` + // string with format 'bytes' as defined in OpenAPI + NrPosSibTypes string `json:"nrPosSibTypes,omitempty" yaml:"nrPosSibTypes" bson:"nrPosSibTypes,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityStartTime *time.Time `json:"validityStartTime" yaml:"validityStartTime" bson:"validityStartTime,omitempty"` + // Validity Duration of the Ciphering Data Set. + ValidityDuration int32 `json:"validityDuration" yaml:"validityDuration" bson:"validityDuration,omitempty"` + // string with format 'bytes' as defined in OpenAPI + TaiList string `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/model_ciphering_key_info.go b/models/model_ciphering_key_info.go new file mode 100644 index 00000000..29bb5ae6 --- /dev/null +++ b/models/model_ciphering_key_info.go @@ -0,0 +1,20 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Notification request. +type CipheringKeyInfo struct { + CipheringData []CipheringDataSet `json:"cipheringData" yaml:"cipheringData" bson:"cipheringData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_ciphering_key_response.go b/models/model_ciphering_key_response.go new file mode 100644 index 00000000..27395f7a --- /dev/null +++ b/models/model_ciphering_key_response.go @@ -0,0 +1,18 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Notification Response. +type CipheringKeyResponse struct { + CipheringDataReport []CipheringSetReport `json:"cipheringDataReport,omitempty" yaml:"cipheringDataReport" bson:"cipheringDataReport,omitempty"` +} diff --git a/models/model_ciphering_set_report.go b/models/model_ciphering_set_report.go new file mode 100644 index 00000000..f3e84338 --- /dev/null +++ b/models/model_ciphering_set_report.go @@ -0,0 +1,20 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a report of Ciphering Data Set storage. +type CipheringSetReport struct { + // Ciphering Data Set Identifier. + CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` + StorageOutcome StorageOutcome `json:"storageOutcome" yaml:"storageOutcome" bson:"storageOutcome,omitempty"` +} diff --git a/models/model_circumstance_description.go b/models/model_circumstance_description.go new file mode 100644 index 00000000..bb847a74 --- /dev/null +++ b/models/model_circumstance_description.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the description of a circumstance. +type CircumstanceDescription struct { + // string with format 'float' as defined in OpenAPI. + Freq float32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Tm *time.Time `json:"tm,omitempty" yaml:"tm" bson:"tm,omitempty"` + LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + Vol int64 `json:"vol,omitempty" yaml:"vol" bson:"vol,omitempty"` +} diff --git a/models/model_civic_address.go b/models/model_civic_address.go index 6ac58d37..b21c0701 100644 --- a/models/model_civic_address.go +++ b/models/model_civic_address.go @@ -1,43 +1,51 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates a Civic address. type CivicAddress struct { - Country string `json:"country,omitempty" yaml:"country" bson:"country"` - A1 string `json:"A1,omitempty" yaml:"A1" bson:"A1"` - A2 string `json:"A2,omitempty" yaml:"A2" bson:"A2"` - A3 string `json:"A3,omitempty" yaml:"A3" bson:"A3"` - A4 string `json:"A4,omitempty" yaml:"A4" bson:"A4"` - A5 string `json:"A5,omitempty" yaml:"A5" bson:"A5"` - A6 string `json:"A6,omitempty" yaml:"A6" bson:"A6"` - PRD string `json:"PRD,omitempty" yaml:"PRD" bson:"PRD"` - POD string `json:"POD,omitempty" yaml:"POD" bson:"POD"` - STS string `json:"STS,omitempty" yaml:"STS" bson:"STS"` - HNO string `json:"HNO,omitempty" yaml:"HNO" bson:"HNO"` - HNS string `json:"HNS,omitempty" yaml:"HNS" bson:"HNS"` - LMK string `json:"LMK,omitempty" yaml:"LMK" bson:"LMK"` - LOC string `json:"LOC,omitempty" yaml:"LOC" bson:"LOC"` - NAM string `json:"NAM,omitempty" yaml:"NAM" bson:"NAM"` - PC string `json:"PC,omitempty" yaml:"PC" bson:"PC"` - BLD string `json:"BLD,omitempty" yaml:"BLD" bson:"BLD"` - UNIT string `json:"UNIT,omitempty" yaml:"UNIT" bson:"UNIT"` - ROOM string `json:"ROOM,omitempty" yaml:"ROOM" bson:"ROOM"` - PLC string `json:"PLC,omitempty" yaml:"PLC" bson:"PLC"` - PCN string `json:"PCN,omitempty" yaml:"PCN" bson:"PCN"` - POBOX string `json:"POBOX,omitempty" yaml:"POBOX" bson:"POBOX"` - ADDCODE string `json:"ADDCODE,omitempty" yaml:"ADDCODE" bson:"ADDCODE"` - SEAT string `json:"SEAT,omitempty" yaml:"SEAT" bson:"SEAT"` - RD string `json:"RD,omitempty" yaml:"RD" bson:"RD"` - RDSEC string `json:"RDSEC,omitempty" yaml:"RDSEC" bson:"RDSEC"` - RDBR string `json:"RDBR,omitempty" yaml:"RDBR" bson:"RDBR"` - RDSUBBR string `json:"RDSUBBR,omitempty" yaml:"RDSUBBR" bson:"RDSUBBR"` - PRM string `json:"PRM,omitempty" yaml:"PRM" bson:"PRM"` - POM string `json:"POM,omitempty" yaml:"POM" bson:"POM"` + Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` + A1 string `json:"A1,omitempty" yaml:"A1" bson:"A1,omitempty"` + A2 string `json:"A2,omitempty" yaml:"A2" bson:"A2,omitempty"` + A3 string `json:"A3,omitempty" yaml:"A3" bson:"A3,omitempty"` + A4 string `json:"A4,omitempty" yaml:"A4" bson:"A4,omitempty"` + A5 string `json:"A5,omitempty" yaml:"A5" bson:"A5,omitempty"` + A6 string `json:"A6,omitempty" yaml:"A6" bson:"A6,omitempty"` + PRD string `json:"PRD,omitempty" yaml:"PRD" bson:"PRD,omitempty"` + POD string `json:"POD,omitempty" yaml:"POD" bson:"POD,omitempty"` + STS string `json:"STS,omitempty" yaml:"STS" bson:"STS,omitempty"` + HNO string `json:"HNO,omitempty" yaml:"HNO" bson:"HNO,omitempty"` + HNS string `json:"HNS,omitempty" yaml:"HNS" bson:"HNS,omitempty"` + LMK string `json:"LMK,omitempty" yaml:"LMK" bson:"LMK,omitempty"` + LOC string `json:"LOC,omitempty" yaml:"LOC" bson:"LOC,omitempty"` + NAM string `json:"NAM,omitempty" yaml:"NAM" bson:"NAM,omitempty"` + PC string `json:"PC,omitempty" yaml:"PC" bson:"PC,omitempty"` + BLD string `json:"BLD,omitempty" yaml:"BLD" bson:"BLD,omitempty"` + UNIT string `json:"UNIT,omitempty" yaml:"UNIT" bson:"UNIT,omitempty"` + FLR string `json:"FLR,omitempty" yaml:"FLR" bson:"FLR,omitempty"` + ROOM string `json:"ROOM,omitempty" yaml:"ROOM" bson:"ROOM,omitempty"` + PLC string `json:"PLC,omitempty" yaml:"PLC" bson:"PLC,omitempty"` + PCN string `json:"PCN,omitempty" yaml:"PCN" bson:"PCN,omitempty"` + POBOX string `json:"POBOX,omitempty" yaml:"POBOX" bson:"POBOX,omitempty"` + ADDCODE string `json:"ADDCODE,omitempty" yaml:"ADDCODE" bson:"ADDCODE,omitempty"` + SEAT string `json:"SEAT,omitempty" yaml:"SEAT" bson:"SEAT,omitempty"` + RD string `json:"RD,omitempty" yaml:"RD" bson:"RD,omitempty"` + RDSEC string `json:"RDSEC,omitempty" yaml:"RDSEC" bson:"RDSEC,omitempty"` + RDBR string `json:"RDBR,omitempty" yaml:"RDBR" bson:"RDBR,omitempty"` + RDSUBBR string `json:"RDSUBBR,omitempty" yaml:"RDSUBBR" bson:"RDSUBBR,omitempty"` + PRM string `json:"PRM,omitempty" yaml:"PRM" bson:"PRM,omitempty"` + POM string `json:"POM,omitempty" yaml:"POM" bson:"POM,omitempty"` + UsageRules string `json:"usageRules,omitempty" yaml:"usageRules" bson:"usageRules,omitempty"` + Method string `json:"method,omitempty" yaml:"method" bson:"method,omitempty"` + ProvidedBy string `json:"providedBy,omitempty" yaml:"providedBy" bson:"providedBy,omitempty"` } diff --git a/models/model_class_criterion.go b/models/model_class_criterion.go new file mode 100644 index 00000000..b626097e --- /dev/null +++ b/models/model_class_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the dispersion class criterion for fixed, camper and/or traveller UE, and/or the top-heavy UE dispersion class criterion. +type ClassCriterion struct { + DisperClass *DispersionClass `json:"disperClass" yaml:"disperClass" bson:"disperClass,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + ClassThreshold int32 `json:"classThreshold" yaml:"classThreshold" bson:"classThreshold,omitempty"` + ThresMatch MatchingDirection `json:"thresMatch" yaml:"thresMatch" bson:"thresMatch,omitempty"` +} diff --git a/models/model_class_identifier.go b/models/model_class_identifier.go index 7198c765..a945e454 100644 --- a/models/model_class_identifier.go +++ b/models/model_class_identifier.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_client_id.go b/models/model_client_id.go new file mode 100644 index 00000000..00f86dd3 --- /dev/null +++ b/models/model_client_id.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the identity of the NF Consumer +type ClientId struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/model_cm_info.go b/models/model_cm_info.go index ea8f1ffa..a247114b 100644 --- a/models/model_cm_info.go +++ b/models/model_cm_info.go @@ -1,15 +1,19 @@ /* - * Nudr_DataRepository API OpenAPI file + * Nnwdaf_DataManagement * - * Unified Data Repository Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the connection management state of a UE for an access type type CmInfo struct { - CmState CmState `json:"cmState" bson:"cmState"` - AccessType AccessType `json:"accessType" bson:"accessType"` + CmState CmState `json:"cmState" yaml:"cmState" bson:"cmState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` } diff --git a/models/model_cm_info_report.go b/models/model_cm_info_report.go new file mode 100644 index 00000000..f8edded2 --- /dev/null +++ b/models/model_cm_info_report.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CmInfoReport struct { + OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` + NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` +} diff --git a/models/model_cm_state.go b/models/model_cm_state.go index feb51eda..b57b5ed8 100644 --- a/models/model_cm_state.go +++ b/models/model_cm_state.go @@ -1,9 +1,12 @@ /* - * Nudr_DataRepository API OpenAPI file + * LMF Location * - * Unified Data Repository Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_cn_assisted_ran_para.go b/models/model_cn_assisted_ran_para.go new file mode 100644 index 00000000..74b4b07d --- /dev/null +++ b/models/model_cn_assisted_ran_para.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMF derived CN assisted RAN parameters tuning +type CnAssistedRanPara struct { + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` +} diff --git a/models/model_cn_type.go b/models/model_cn_type.go new file mode 100644 index 00000000..795b7667 --- /dev/null +++ b/models/model_cn_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CnType string + +// List of CnType +const ( + CnType_SINGLE_4_G CnType = "SINGLE_4G" + CnType_SINGLE_5_G CnType = "SINGLE_5G" + CnType_DUAL_4_G5_G CnType = "DUAL_4G5G" +) diff --git a/models/model_cn_type_change_report.go b/models/model_cn_type_change_report.go new file mode 100644 index 00000000..225a3d4f --- /dev/null +++ b/models/model_cn_type_change_report.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CnTypeChangeReport struct { + NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` + OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` +} diff --git a/models/model_cnf.go b/models/model_cnf.go index 2f3777a9..7e2fd8d7 100644 --- a/models/model_cnf.go +++ b/models/model_cnf.go @@ -1,5 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// A conjunctive normal form type Cnf struct { - CnfUnits []CnfUnit `json:"cnfUnits" bson:"cnfUnits"` + CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` } diff --git a/models/model_cnf_unit.go b/models/model_cnf_unit.go index 0863d72e..37193831 100644 --- a/models/model_cnf_unit.go +++ b/models/model_cnf_unit.go @@ -1,5 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// During the processing of cnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"AND\". type CnfUnit struct { - CnfUnit []Atom `json:"cnfUnit" bson:"cnfUnit"` + CnfUnit []Atom `json:"cnfUnit" yaml:"cnfUnit" bson:"cnfUnit,omitempty"` } diff --git a/models/model_code_word_ind.go b/models/model_code_word_ind.go new file mode 100644 index 00000000..0dd5032f --- /dev/null +++ b/models/model_code_word_ind.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CodeWordInd string + +// List of CodeWordInd +const ( + CodeWordInd_UE CodeWordInd = "CODEWORD_CHECK_IN_UE" + CodeWordInd_GMLC CodeWordInd = "CODEWORD_CHECK_IN_GMLC" +) diff --git a/models/model_collection_period_rmm_lte_mdt.go b/models/model_collection_period_rmm_lte_mdt.go new file mode 100644 index 00000000..aabd1e28 --- /dev/null +++ b/models/model_collection_period_rmm_lte_mdt.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectionPeriodRmmLteMdt string + +// List of CollectionPeriodRmmLteMdt +const ( + CollectionPeriodRmmLteMdt__1024 CollectionPeriodRmmLteMdt = "1024" + CollectionPeriodRmmLteMdt__1280 CollectionPeriodRmmLteMdt = "1280" + CollectionPeriodRmmLteMdt__2048 CollectionPeriodRmmLteMdt = "2048" + CollectionPeriodRmmLteMdt__2560 CollectionPeriodRmmLteMdt = "2560" + CollectionPeriodRmmLteMdt__5120 CollectionPeriodRmmLteMdt = "5120" + CollectionPeriodRmmLteMdt__10240 CollectionPeriodRmmLteMdt = "10240" + CollectionPeriodRmmLteMdt__60000 CollectionPeriodRmmLteMdt = "60000" +) diff --git a/models/model_collection_period_rmm_nr_mdt.go b/models/model_collection_period_rmm_nr_mdt.go new file mode 100644 index 00000000..4bce36ff --- /dev/null +++ b/models/model_collection_period_rmm_nr_mdt.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectionPeriodRmmNrMdt string + +// List of CollectionPeriodRmmNrMdt +const ( + CollectionPeriodRmmNrMdt__1024 CollectionPeriodRmmNrMdt = "1024" + CollectionPeriodRmmNrMdt__2048 CollectionPeriodRmmNrMdt = "2048" + CollectionPeriodRmmNrMdt__5120 CollectionPeriodRmmNrMdt = "5120" + CollectionPeriodRmmNrMdt__10240 CollectionPeriodRmmNrMdt = "10240" + CollectionPeriodRmmNrMdt__60000 CollectionPeriodRmmNrMdt = "60000" +) diff --git a/models/model_collective_behaviour_filter.go b/models/model_collective_behaviour_filter.go new file mode 100644 index 00000000..284f4f4e --- /dev/null +++ b/models/model_collective_behaviour_filter.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the collective behaviour filter information to be collected from UE. +type CollectiveBehaviourFilter struct { + Type CollectiveBehaviourFilterType `json:"type" yaml:"type" bson:"type,omitempty"` + // Value of the parameter type as in the type attribute. + Value string `json:"value" yaml:"value" bson:"value,omitempty"` + // Indicates whether request list of UE IDs that fulfill a collective behaviour within the area of interest. This attribute shall set to \"true\" if request the list of UE IDs, otherwise, set to \"false\". May only be present and sets to \"true\" if \"AfEvent\" sets to \"COLLECTIVE_BEHAVIOUR\". + ListOfUeInd bool `json:"listOfUeInd,omitempty" yaml:"listOfUeInd" bson:"listOfUeInd,omitempty"` +} diff --git a/models/model_collective_behaviour_filter_type.go b/models/model_collective_behaviour_filter_type.go new file mode 100644 index 00000000..8f256f66 --- /dev/null +++ b/models/model_collective_behaviour_filter_type.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectiveBehaviourFilterType string + +// List of CollectiveBehaviourFilterType +const ( + CollectiveBehaviourFilterType_COLLECTIVE_ATTRIBUTE CollectiveBehaviourFilterType = "COLLECTIVE_ATTRIBUTE" + CollectiveBehaviourFilterType_DATA_PROCESSING CollectiveBehaviourFilterType = "DATA_PROCESSING" +) diff --git a/models/model_collective_behaviour_info.go b/models/model_collective_behaviour_info.go new file mode 100644 index 00000000..10ddd265 --- /dev/null +++ b/models/model_collective_behaviour_info.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the collective behaviour information to be reported to the subscriber. +type CollectiveBehaviourInfo struct { + ColAttrib []PerUeAttribute `json:"colAttrib" yaml:"colAttrib" bson:"colAttrib,omitempty"` + // Total number of UEs that fulfil a collective within the area of interest. + NoOfUes int32 `json:"noOfUes,omitempty" yaml:"noOfUes" bson:"noOfUes,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + ExtUeIds []string `json:"extUeIds,omitempty" yaml:"extUeIds" bson:"extUeIds,omitempty"` + UeIds []string `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` +} diff --git a/models/model_collocated_nf_instance.go b/models/model_collocated_nf_instance.go new file mode 100644 index 00000000..e7888957 --- /dev/null +++ b/models/model_collocated_nf_instance.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an collocated NF Instance registered in the NRF +type CollocatedNfInstance struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType CollocatedNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/model_collocated_nf_type.go b/models/model_collocated_nf_type.go new file mode 100644 index 00000000..729d3388 --- /dev/null +++ b/models/model_collocated_nf_type.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollocatedNfType string + +// List of CollocatedNfType +const ( + CollocatedNfType_UPF CollocatedNfType = "UPF" + CollocatedNfType_SMF CollocatedNfType = "SMF" + CollocatedNfType_MB_UPF CollocatedNfType = "MB_UPF" + CollocatedNfType_MB_SMF CollocatedNfType = "MB_SMF" +) diff --git a/models/model_communication_characteristics.go b/models/model_communication_characteristics.go index e0286d06..bbebf971 100644 --- a/models/model_communication_characteristics.go +++ b/models/model_communication_characteristics.go @@ -1,16 +1,22 @@ /* - * Nudm_PP + * Nudr_DataRepository API OpenAPI file * - * Nudm Parameter Provision Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type CommunicationCharacteristics struct { - PpSubsRegTimer *PpSubsRegTimer `json:"ppSubsRegTimer,omitempty" yaml:"ppSubsRegTimer" bson:"ppSubsRegTimer" mapstructure:"PpSubsRegTimer"` - PpActiveTime *PpActiveTime `json:"ppActiveTime,omitempty" yaml:"ppActiveTime" bson:"ppActiveTime" mapstructure:"PpActiveTime"` - PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount" mapstructure:"PpDlPacketCount"` + PpSubsRegTimer *PpSubsRegTimer `json:"ppSubsRegTimer,omitempty" yaml:"ppSubsRegTimer" bson:"ppSubsRegTimer,omitempty"` + PpActiveTime *PpActiveTime `json:"ppActiveTime,omitempty" yaml:"ppActiveTime" bson:"ppActiveTime,omitempty"` + PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` + PpDlPacketCountExt *PpDlPacketCountExt `json:"ppDlPacketCountExt,omitempty" yaml:"ppDlPacketCountExt" bson:"ppDlPacketCountExt,omitempty"` + PpMaximumResponseTime *PpMaximumResponseTime `json:"ppMaximumResponseTime,omitempty" yaml:"ppMaximumResponseTime" bson:"ppMaximumResponseTime,omitempty"` + PpMaximumLatency *PpMaximumLatency `json:"ppMaximumLatency,omitempty" yaml:"ppMaximumLatency" bson:"ppMaximumLatency,omitempty"` } diff --git a/models/model_communication_characteristics_af.go b/models/model_communication_characteristics_af.go new file mode 100644 index 00000000..49099b37 --- /dev/null +++ b/models/model_communication_characteristics_af.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CommunicationCharacteristicsAf struct { + PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` +} diff --git a/models/model_communication_collection.go b/models/model_communication_collection.go new file mode 100644 index 00000000..b6857089 --- /dev/null +++ b/models/model_communication_collection.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains communication information. +type CommunicationCollection struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime" yaml:"endTime" bson:"endTime,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UlVol int64 `json:"ulVol" yaml:"ulVol" bson:"ulVol,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DlVol int64 `json:"dlVol" yaml:"dlVol" bson:"dlVol,omitempty"` +} diff --git a/models/model_communication_failure.go b/models/model_communication_failure.go index a3c82989..e503907d 100644 --- a/models/model_communication_failure.go +++ b/models/model_communication_failure.go @@ -1,15 +1,19 @@ /* - * Namf_EventExposure + * Nnwdaf_DataManagement * - * AMF Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Describes a communication failure detected by AMF type CommunicationFailure struct { - NasReleaseCode string `json:"nasReleaseCode,omitempty" bson:"nasReleaseCode" ` - RanReleaseCode *NgApCause `json:"ranReleaseCode,omitempty" bson:"ranReleaseCode" ` + NasReleaseCode string `json:"nasReleaseCode,omitempty" yaml:"nasReleaseCode" bson:"nasReleaseCode,omitempty"` + RanReleaseCode *NgApCause `json:"ranReleaseCode,omitempty" yaml:"ranReleaseCode" bson:"ranReleaseCode,omitempty"` } diff --git a/models/model_comparison_operator.go b/models/model_comparison_operator.go new file mode 100644 index 00000000..2237c287 --- /dev/null +++ b/models/model_comparison_operator.go @@ -0,0 +1,25 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ComparisonOperator string + +// List of ComparisonOperator +const ( + ComparisonOperator_EQ ComparisonOperator = "EQ" + ComparisonOperator_NEQ ComparisonOperator = "NEQ" + ComparisonOperator_GT ComparisonOperator = "GT" + ComparisonOperator_GTE ComparisonOperator = "GTE" + ComparisonOperator_LT ComparisonOperator = "LT" + ComparisonOperator_LTE ComparisonOperator = "LTE" +) diff --git a/models/model_complex_query.go b/models/model_complex_query.go index 6f437c38..4ae51ce2 100644 --- a/models/model_complex_query.go +++ b/models/model_complex_query.go @@ -1,6 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// The ComplexQuery data type is either a conjunctive normal form or a disjunctive normal form. The attribute names \"cnfUnits\" and \"dnfUnits\" (see clause 5.2.4.11 and clause 5.2.4.12) serve as discriminator. type ComplexQuery struct { - CNf *Cnf `json:"cnf,omitempty" bson:"cnf,omitempty"` - DNf *Dnf `json:"dnf,omitempty" bson:"dnf,omitempty"` + CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` + DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` } diff --git a/models/model_condition_data.go b/models/model_condition_data.go index 933b3c8b..b9c86aa8 100644 --- a/models/model_condition_data.go +++ b/models/model_condition_data.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,9 +16,14 @@ import ( "time" ) +// Contains conditions of applicability for a rule. type ConditionData struct { // Uniquely identifies the condition data within a PDU session. - CondId string `json:"condId" yaml:"condId" bson:"condId" mapstructure:"CondId"` - ActivationTime *time.Time `json:"activationTime,omitempty" yaml:"activationTime" bson:"activationTime" mapstructure:"ActivationTime"` - DeactivationTime *time.Time `json:"deactivationTime,omitempty" yaml:"deactivationTime" bson:"deactivationTime" mapstructure:"DeactivationTime"` + CondId string `json:"condId" yaml:"condId" bson:"condId,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + ActivationTime *time.Time `json:"activationTime,omitempty" yaml:"activationTime" bson:"activationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + DeactivationTime *time.Time `json:"deactivationTime,omitempty" yaml:"deactivationTime" bson:"deactivationTime,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` } diff --git a/models/model_condition_event_type.go b/models/model_condition_event_type.go new file mode 100644 index 00000000..505c3f28 --- /dev/null +++ b/models/model_condition_event_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConditionEventType string + +// List of ConditionEventType +const ( + ConditionEventType_ADDED ConditionEventType = "NF_ADDED" + ConditionEventType_REMOVED ConditionEventType = "NF_REMOVED" +) diff --git a/models/model_condition_operator.go b/models/model_condition_operator.go new file mode 100644 index 00000000..98d46c2d --- /dev/null +++ b/models/model_condition_operator.go @@ -0,0 +1,22 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConditionOperator string + +// List of ConditionOperator +const ( + ConditionOperator_AND ConditionOperator = "AND" + ConditionOperator_OR ConditionOperator = "OR" + ConditionOperator_NOT ConditionOperator = "NOT" +) diff --git a/models/model_configured_snssai.go b/models/model_configured_snssai.go index a9b49861..bd911b6d 100644 --- a/models/model_configured_snssai.go +++ b/models/model_configured_snssai.go @@ -1,15 +1,19 @@ /* - * Namf_Communication + * NSSF NS Selection * - * AMF Communication Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the configured S-NSSAI(s) authorized by the NSSF in the serving PLMN and optional mapped home S-NSSAI type ConfiguredSnssai struct { - ConfiguredSnssai *Snssai `json:"configuredSnssai"` - MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty"` + ConfiguredSnssai *Snssai `json:"configuredSnssai" yaml:"configuredSnssai" bson:"configuredSnssai,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` } diff --git a/models/model_confirmation_data.go b/models/model_confirmation_data.go index fe330b68..f12e20e6 100644 --- a/models/model_confirmation_data.go +++ b/models/model_confirmation_data.go @@ -1,14 +1,21 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the result of the authentication. type ConfirmationData struct { - ResStar string `json:"resStar" yaml:"resStar" bson:"resStar"` + // Contains the RES*. + ResStar string `json:"resStar" yaml:"resStar" bson:"resStar,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_confirmation_data_response.go b/models/model_confirmation_data_response.go index 1b0599dd..30347834 100644 --- a/models/model_confirmation_data_response.go +++ b/models/model_confirmation_data_response.go @@ -1,16 +1,23 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the result of the authentication type ConfirmationDataResponse struct { - AuthResult AuthResult `json:"authResult" yaml:"authResult" bson:"authResult"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi"` - Kseaf string `json:"kseaf,omitempty" yaml:"kseaf" bson:"kseaf"` + AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Contains the Kseaf. + Kseaf string `json:"kseaf,omitempty" yaml:"kseaf" bson:"kseaf,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` } diff --git a/models/model_congestion_info.go b/models/model_congestion_info.go new file mode 100644 index 00000000..b68fcfee --- /dev/null +++ b/models/model_congestion_info.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the congestion information. +type CongestionInfo struct { + CongType NwdafEventsSubscriptionCongestionType `json:"congType" yaml:"congType" bson:"congType,omitempty"` + TimeIntev *TimeWindow `json:"timeIntev" yaml:"timeIntev" bson:"timeIntev,omitempty"` + Nsi *ThresholdLevel `json:"nsi" yaml:"nsi" bson:"nsi,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + TopAppListUl []TopApplication `json:"topAppListUl,omitempty" yaml:"topAppListUl" bson:"topAppListUl,omitempty"` + TopAppListDl []TopApplication `json:"topAppListDl,omitempty" yaml:"topAppListDl" bson:"topAppListDl,omitempty"` +} diff --git a/models/model_connection_capabilities.go b/models/model_connection_capabilities.go new file mode 100644 index 00000000..bdecf22c --- /dev/null +++ b/models/model_connection_capabilities.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConnectionCapabilities string + +// List of ConnectionCapabilities +const ( + ConnectionCapabilities_IMS ConnectionCapabilities = "IMS" + ConnectionCapabilities_MMS ConnectionCapabilities = "MMS" + ConnectionCapabilities_SUPL ConnectionCapabilities = "SUPL" + ConnectionCapabilities_INTERNET ConnectionCapabilities = "INTERNET" +) diff --git a/models/model_constants.go b/models/model_constants.go deleted file mode 100644 index 542d68fb..00000000 --- a/models/model_constants.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Constants struct { - C1 string `json:"c1" bson:"c1"` - C2 string `json:"c2" bson:"c2"` - C3 string `json:"c3" bson:"c3"` - C4 string `json:"c4" bson:"c4"` - C5 string `json:"c5" bson:"c5"` -} diff --git a/models/model_consumer_nf_information.go b/models/model_consumer_nf_information.go new file mode 100644 index 00000000..dd7bd214 --- /dev/null +++ b/models/model_consumer_nf_information.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the analytics consumer NF Information. +type ConsumerNfInformation struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/model_context_create_req_data.go b/models/model_context_create_req_data.go new file mode 100644 index 00000000..29faaca7 --- /dev/null +++ b/models/model_context_create_req_data.go @@ -0,0 +1,29 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextCreate Request +type ContextCreateReqData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` + N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + MbsmfId string `json:"mbsmfId,omitempty" yaml:"mbsmfId" bson:"mbsmfId,omitempty"` + MbsmfServiceInstId string `json:"mbsmfServiceInstId,omitempty" yaml:"mbsmfServiceInstId" bson:"mbsmfServiceInstId,omitempty"` +} diff --git a/models/model_context_create_request.go b/models/model_context_create_request.go new file mode 100644 index 00000000..3c73c16c --- /dev/null +++ b/models/model_context_create_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextCreateRequest struct { + JsonData *ContextCreateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/model_context_create_response_201.go b/models/model_context_create_response_201.go new file mode 100644 index 00000000..858c6ea2 --- /dev/null +++ b/models/model_context_create_response_201.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextCreateResponse201 struct { + JsonData *ContextCreateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/model_context_create_rsp_data.go b/models/model_context_create_rsp_data.go new file mode 100644 index 00000000..120fbc42 --- /dev/null +++ b/models/model_context_create_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextCreate Response +type ContextCreateRspData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` +} diff --git a/models/model_context_data.go b/models/model_context_data.go new file mode 100644 index 00000000..40c6f7a7 --- /dev/null +++ b/models/model_context_data.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains context information related to analytics subscriptions corresponding with one or more context identifiers. +type ContextData struct { + // List of items that contain context information corresponding with a context identifier. + ContextElems []ContextElement `json:"contextElems" yaml:"contextElems" bson:"contextElems,omitempty"` +} diff --git a/models/model_context_data_set_name.go b/models/model_context_data_set_name.go new file mode 100644 index 00000000..0b62c320 --- /dev/null +++ b/models/model_context_data_set_name.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextDataSetName string + +// List of ContextDataSetName +const ( + ContextDataSetName_AMF_3_GPP ContextDataSetName = "AMF_3GPP" + ContextDataSetName_AMF_NON_3_GPP ContextDataSetName = "AMF_NON_3GPP" + ContextDataSetName_SDM_SUBSCRIPTIONS ContextDataSetName = "SDM_SUBSCRIPTIONS" + ContextDataSetName_EE_SUBSCRIPTIONS ContextDataSetName = "EE_SUBSCRIPTIONS" + ContextDataSetName_SMSF_3_GPP ContextDataSetName = "SMSF_3GPP" + ContextDataSetName_SMSF_NON_3_GPP ContextDataSetName = "SMSF_NON_3GPP" + ContextDataSetName_SUBS_TO_NOTIFY ContextDataSetName = "SUBS_TO_NOTIFY" + ContextDataSetName_SMF_REG ContextDataSetName = "SMF_REG" + ContextDataSetName_IP_SM_GW ContextDataSetName = "IP_SM_GW" + ContextDataSetName_ROAMING_INFO ContextDataSetName = "ROAMING_INFO" + ContextDataSetName_PEI_INFO ContextDataSetName = "PEI_INFO" +) diff --git a/models/model_context_data_sets.go b/models/model_context_data_sets.go new file mode 100644 index 00000000..9d5e5a6b --- /dev/null +++ b/models/model_context_data_sets.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the context data sets. +type ContextDataSets struct { + Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` + AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` + SdmSubscriptions []SdmSubscription `json:"sdmSubscriptions,omitempty" yaml:"sdmSubscriptions" bson:"sdmSubscriptions,omitempty"` + EeSubscriptions []UdmEeEeSubscription `json:"eeSubscriptions,omitempty" yaml:"eeSubscriptions" bson:"eeSubscriptions,omitempty"` + Smsf3GppAccess *SmsfRegistration `json:"smsf3GppAccess,omitempty" yaml:"smsf3GppAccess" bson:"smsf3GppAccess,omitempty"` + SmsfNon3GppAccess *SmsfRegistration `json:"smsfNon3GppAccess,omitempty" yaml:"smsfNon3GppAccess" bson:"smsfNon3GppAccess,omitempty"` + SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` + // The list of all the SMF registrations of a UE. + SmfRegistrations []SmfRegistration `json:"smfRegistrations,omitempty" yaml:"smfRegistrations" bson:"smfRegistrations,omitempty"` + IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + RoamingInfo *RoamingInfoUpdate `json:"roamingInfo,omitempty" yaml:"roamingInfo" bson:"roamingInfo,omitempty"` + PeiInfo *PeiUpdateInfo `json:"peiInfo,omitempty" yaml:"peiInfo" bson:"peiInfo,omitempty"` +} diff --git a/models/model_context_element.go b/models/model_context_element.go new file mode 100644 index 00000000..1f265f11 --- /dev/null +++ b/models/model_context_element.go @@ -0,0 +1,40 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains context information corresponding with a specific context identifier. +type ContextElement struct { + ContextId *AnalyticsContextIdentifier `json:"contextId" yaml:"contextId" bson:"contextId,omitempty"` + // Output analytics for the analytics subscription which have not yet been sent to the analytics consumer. + PendAnalytics []NwdafEventsSubscriptionEventNotification `json:"pendAnalytics,omitempty" yaml:"pendAnalytics" bson:"pendAnalytics,omitempty"` + // Historical output analytics. + HistAnalytics []NwdafEventsSubscriptionEventNotification `json:"histAnalytics,omitempty" yaml:"histAnalytics" bson:"histAnalytics,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastOutputTime *time.Time `json:"lastOutputTime,omitempty" yaml:"lastOutputTime" bson:"lastOutputTime,omitempty"` + // Information about analytics subscriptions that the NWDAF has with other NWDAFs to perform aggregation. + AggrSubs []SpecificAnalyticsSubscription `json:"aggrSubs,omitempty" yaml:"aggrSubs" bson:"aggrSubs,omitempty"` + // Historical data related to the analytics subscription. + HistData []HistoricalData `json:"histData,omitempty" yaml:"histData" bson:"histData,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` + // Type(s) of data stored in the ADRF by the NWDAF. + AdrfDataTypes []AdrfDataType `json:"adrfDataTypes,omitempty" yaml:"adrfDataTypes" bson:"adrfDataTypes,omitempty"` + // NWDAF identifiers of NWDAF instances used by the NWDAF service consumer when aggregating multiple analytics subscriptions. + AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` + // Contains information identifying the ML model(s) that the consumer NWDAF is currently subscribing for the analytics. + ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` +} diff --git a/models/model_context_id_list.go b/models/model_context_id_list.go new file mode 100644 index 00000000..3486cda2 --- /dev/null +++ b/models/model_context_id_list.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of context identifiers of context information of analytics subscriptions. +type ContextIdList struct { + ContextIds []AnalyticsContextIdentifier `json:"contextIds" yaml:"contextIds" bson:"contextIds,omitempty"` +} diff --git a/models/model_context_info.go b/models/model_context_info.go new file mode 100644 index 00000000..6fe16983 --- /dev/null +++ b/models/model_context_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextInfo struct { + OrigHeaders []string `json:"origHeaders,omitempty" yaml:"origHeaders" bson:"origHeaders,omitempty"` + RequestHeaders []string `json:"requestHeaders,omitempty" yaml:"requestHeaders" bson:"requestHeaders,omitempty"` +} diff --git a/models/model_context_status_notification.go b/models/model_context_status_notification.go new file mode 100644 index 00000000..ea285de0 --- /dev/null +++ b/models/model_context_status_notification.go @@ -0,0 +1,24 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextStatusNotify Request +type ContextStatusNotification struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationEvents []OperationEvent `json:"operationEvents,omitempty" yaml:"operationEvents" bson:"operationEvents,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` + ReleasedInd bool `json:"releasedInd,omitempty" yaml:"releasedInd" bson:"releasedInd,omitempty"` +} diff --git a/models/model_context_type.go b/models/model_context_type.go new file mode 100644 index 00000000..105798cc --- /dev/null +++ b/models/model_context_type.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextType string + +// List of ContextType +const ( + ContextType_PENDING_ANALYTICS ContextType = "PENDING_ANALYTICS" + ContextType_HISTORICAL_ANALYTICS ContextType = "HISTORICAL_ANALYTICS" + ContextType_AGGR_SUBS ContextType = "AGGR_SUBS" + ContextType_DATA ContextType = "DATA" + ContextType_AGGR_INFO ContextType = "AGGR_INFO" + ContextType_ML_MODELS ContextType = "ML_MODELS" +) diff --git a/models/model_context_update_request.go b/models/model_context_update_request.go new file mode 100644 index 00000000..eeae29ca --- /dev/null +++ b/models/model_context_update_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextUpdateRequest struct { + JsonData *AmfMbsBroadcastContextUpdateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/model_context_update_response_200.go b/models/model_context_update_response_200.go new file mode 100644 index 00000000..b7434e8f --- /dev/null +++ b/models/model_context_update_response_200.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextUpdateResponse200 struct { + JsonData *AmfMbsBroadcastContextUpdateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/model_core_network_service_authorization.go b/models/model_core_network_service_authorization.go new file mode 100644 index 00000000..1cb1970f --- /dev/null +++ b/models/model_core_network_service_authorization.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Core Network Service Authorization +type CoreNetworkServiceAuthorization struct { + SubscribedMediaProfileId int32 `json:"subscribedMediaProfileId,omitempty" yaml:"subscribedMediaProfileId" bson:"subscribedMediaProfileId,omitempty"` +} diff --git a/models/model_core_network_type.go b/models/model_core_network_type.go index b18fe41b..1c6dcb93 100644 --- a/models/model_core_network_type.go +++ b/models/model_core_network_type.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nchf_ConvergedCharging * - * Nudm Subscriber Data Management Service + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_coverage_info.go b/models/model_coverage_info.go new file mode 100644 index 00000000..73545cbe --- /dev/null +++ b/models/model_coverage_info.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CoverageInfo struct { + CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + LocationInfo []UserLocation `json:"locationInfo,omitempty" yaml:"locationInfo" bson:"locationInfo,omitempty"` +} diff --git a/models/model_create_ue_context_request.go b/models/model_create_ue_context_request.go index 8f96aee7..0dc97017 100644 --- a/models/model_create_ue_context_request.go +++ b/models/model_create_ue_context_request.go @@ -1,31 +1,35 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type CreateUeContextRequest struct { - JsonData *UeContextCreateData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2Information []byte `json:"BinaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SourceToTargetData.NgapData.ContentId"` - BinaryDataN2InformationExt1 []byte `json:"BinaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.UeRadioCapability.NgapData.ContentId"` - BinaryDataN2InformationExt2 []byte `json:"BinaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[0].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt3 []byte `json:"BinaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[1].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt4 []byte `json:"BinaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[2].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt5 []byte `json:"BinaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[3].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt6 []byte `json:"BinaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[4].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt7 []byte `json:"BinaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[5].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt8 []byte `json:"BinaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[6].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt9 []byte `json:"BinaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[7].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt10 []byte `json:"BinaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[8].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt11 []byte `json:"BinaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[9].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt12 []byte `json:"BinaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[10].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt13 []byte `json:"BinaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[11].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt14 []byte `json:"BinaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[12].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt15 []byte `json:"BinaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[13].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt16 []byte `json:"BinaryDataN2InformationExt16,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[14].N2InfoContent.NgapData.ContentId"` + JsonData *UeContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` + BinaryDataN2InformationExt17 []byte `json:"binaryDataN2InformationExt17,omitempty" yaml:"binaryDataN2InformationExt17" bson:"binaryDataN2InformationExt17,omitempty"` } diff --git a/models/model_create_ue_context_response.go b/models/model_create_ue_context_response.go deleted file mode 100644 index 9973daa2..00000000 --- a/models/model_create_ue_context_response.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreateUeContextResponse struct { - JsonData *UeContextCreatedData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2Information []byte `json:"BinaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.TargetToSourceData.NgapData.ContentId"` - BinaryDataN2InformationExt1 []byte `json:"BinaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[0].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt2 []byte `json:"BinaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[1].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt3 []byte `json:"BinaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[2].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt4 []byte `json:"BinaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[3].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt5 []byte `json:"BinaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[4].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt6 []byte `json:"BinaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[5].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt7 []byte `json:"BinaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[6].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt8 []byte `json:"BinaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList[7].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt9 []byte `json:"BinaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[0].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt10 []byte `json:"BinaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[1].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt11 []byte `json:"BinaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[2].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt12 []byte `json:"BinaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[3].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt13 []byte `json:"BinaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[4].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt14 []byte `json:"BinaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[5].N2InfoContent.NgapData.ContentId"` - BinaryDataN2InformationExt15 []byte `json:"BinaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.FailedSessionList[6].N2InfoContent.NgapData.ContentId"` -} diff --git a/models/model_create_ue_context_response_201.go b/models/model_create_ue_context_response_201.go new file mode 100644 index 00000000..36615635 --- /dev/null +++ b/models/model_create_ue_context_response_201.go @@ -0,0 +1,33 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreateUeContextResponse201 struct { + JsonData *UeContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` +} diff --git a/models/model_create_ue_context_response_403.go b/models/model_create_ue_context_response_403.go new file mode 100644 index 00000000..a4db8232 --- /dev/null +++ b/models/model_create_ue_context_response_403.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreateUeContextResponse403 struct { + JsonData *UeContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/model_created_ee_subscription.go b/models/model_created_ee_subscription.go index 62f940fc..b1bbe7ca 100644 --- a/models/model_created_ee_subscription.go +++ b/models/model_created_ee_subscription.go @@ -1,16 +1,20 @@ /* * Nudm_EE * - * Nudm Event Exposure Service + * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type CreatedEeSubscription struct { - EeSubscription *EeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription" mapstructure:"EeSubscription"` - NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes" mapstructure:"NumberOfUes"` - EventReports []MonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports" mapstructure:"EventReports"` + EeSubscription *EeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription,omitempty"` + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + EventReports []MonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` + EpcStatusInd bool `json:"epcStatusInd,omitempty" yaml:"epcStatusInd" bson:"epcStatusInd,omitempty"` } diff --git a/models/model_created_ue_reachability_subscription.go b/models/model_created_ue_reachability_subscription.go new file mode 100644 index 00000000..a838032c --- /dev/null +++ b/models/model_created_ue_reachability_subscription.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the response data returned by HSS after the subscription to notifications of UE reachability for IP was created +type CreatedUeReachabilitySubscription struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` +} diff --git a/models/model_credit_management_status.go b/models/model_credit_management_status.go index 93c69713..918764c8 100644 --- a/models/model_credit_management_status.go +++ b/models/model_credit_management_status.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,8 @@ type CreditManagementStatus string // List of CreditManagementStatus const ( - CreditManagementStatus_END_USER_SER_DENIED CreditManagementStatus = "END_USER_SER_DENIED" - CreditManagementStatus_CREDIT_CTRL_NOT_APP CreditManagementStatus = "CREDIT_CTRL_NOT_APP" + CreditManagementStatus_END_USER_SER_DENIED CreditManagementStatus = "END_USER_SER_DENIED" // #nosec G101 + CreditManagementStatus_CREDIT_CTRL_NOT_APP CreditManagementStatus = "CREDIT_CTRL_NOT_APP" // #nosec G101 CreditManagementStatus_AUTH_REJECTED CreditManagementStatus = "AUTH_REJECTED" CreditManagementStatus_USER_UNKNOWN CreditManagementStatus = "USER_UNKNOWN" CreditManagementStatus_RATING_FAILED CreditManagementStatus = "RATING_FAILED" diff --git a/models/model_cs_location.go b/models/model_cs_location.go new file mode 100644 index 00000000..2c831218 --- /dev/null +++ b/models/model_cs_location.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location data in CS domain +type CsLocation struct { + MscNumber string `json:"mscNumber" yaml:"mscNumber" bson:"mscNumber,omitempty"` + VlrNumber string `json:"vlrNumber" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + VlrLocation *GeraLocation `json:"vlrLocation,omitempty" yaml:"vlrLocation" bson:"vlrLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + EUtranCgi *Ecgi `json:"eUtranCgi,omitempty" yaml:"eUtranCgi" bson:"eUtranCgi,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` +} diff --git a/models/model_cs_user_state.go b/models/model_cs_user_state.go new file mode 100644 index 00000000..9ecf9120 --- /dev/null +++ b/models/model_cs_user_state.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User state in CS domain +type CsUserState struct { + MscVlrUserState UserStateCs `json:"mscVlrUserState" yaml:"mscVlrUserState" bson:"mscVlrUserState,omitempty"` +} diff --git a/models/model_csg_information.go b/models/model_csg_information.go new file mode 100644 index 00000000..c5377e33 --- /dev/null +++ b/models/model_csg_information.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about a Closed Subscriber Group (CSG) +type CsgInformation struct { + CsgId string `json:"csgId" yaml:"csgId" bson:"csgId,omitempty"` + AccessMode string `json:"accessMode,omitempty" yaml:"accessMode" bson:"accessMode,omitempty"` + CMi bool `json:"cMi,omitempty" yaml:"cMi" bson:"cMi,omitempty"` +} diff --git a/models/model_csrn.go b/models/model_csrn.go new file mode 100644 index 00000000..d4d1df80 --- /dev/null +++ b/models/model_csrn.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// CS domain routeing number +type Csrn struct { + // String containing an additional or basic MSISDN + Csrn string `json:"csrn" yaml:"csrn" bson:"csrn,omitempty"` +} diff --git a/models/model_data_availability.go b/models/model_data_availability.go new file mode 100644 index 00000000..6e630a98 --- /dev/null +++ b/models/model_data_availability.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataAvailability string + +// List of DataAvailability +const ( + DataAvailability_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_AVAILABLE" + DataAvailability_NOT_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_NOT_AVAILABLE" +) diff --git a/models/model_data_change_notify.go b/models/model_data_change_notify.go index 817e6b03..f195bf7d 100644 --- a/models/model_data_change_notify.go +++ b/models/model_data_change_notify.go @@ -1,16 +1,24 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Container for data which have changed and notification was requested when changed. type DataChangeNotify struct { - OriginalCallbackReference []string `json:"originalCallbackReference,omitempty" bson:"originalCallbackReference"` - UeId string `json:"ueId,omitempty" bson:"ueId"` - NotifyItems []NotifyItem `json:"notifyItems,omitempty" bson:"notifyItems"` + OriginalCallbackReference []string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + NotifyItems []NotifyItem `json:"notifyItems,omitempty" yaml:"notifyItems" bson:"notifyItems,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + AdditionalSdmSubscriptions []SdmSubscription `json:"additionalSdmSubscriptions,omitempty" yaml:"additionalSdmSubscriptions" bson:"additionalSdmSubscriptions,omitempty"` + SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` } diff --git a/models/model_data_collection_purpose.go b/models/model_data_collection_purpose.go new file mode 100644 index 00000000..26cf0b7a --- /dev/null +++ b/models/model_data_collection_purpose.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataCollectionPurpose string + +// List of DataCollectionPurpose +const ( + DataCollectionPurpose_ANALYTICS_GENERATION DataCollectionPurpose = "ANALYTICS_GENERATION" + DataCollectionPurpose_MODEL_TRAINING DataCollectionPurpose = "MODEL_TRAINING" +) diff --git a/models/model_data_filter.go b/models/model_data_filter.go new file mode 100644 index 00000000..c4ca1061 --- /dev/null +++ b/models/model_data_filter.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a data filter. +type DataFilter struct { + DataInd DataInd `json:"dataInd" yaml:"dataInd" bson:"dataInd,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + UeIpv4s []string `json:"ueIpv4s,omitempty" yaml:"ueIpv4s" bson:"ueIpv4s,omitempty"` + UeIpv6s []string `json:"ueIpv6s,omitempty" yaml:"ueIpv6s" bson:"ueIpv6s,omitempty"` + UeMacs []string `json:"ueMacs,omitempty" yaml:"ueMacs" bson:"ueMacs,omitempty"` + // Indicates the request is for any UE. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Indicates the request is for any DNN and S-NSSAI combination present in the array. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` +} diff --git a/models/model_data_ind.go b/models/model_data_ind.go new file mode 100644 index 00000000..800136bc --- /dev/null +++ b/models/model_data_ind.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataInd string + +// List of DataInd +const ( + DataInd_PFD DataInd = "PFD" + DataInd_IPTV DataInd = "IPTV" + DataInd_BDT DataInd = "BDT" + DataInd_SVC_PARAM DataInd = "SVC_PARAM" + DataInd_AM DataInd = "AM" +) diff --git a/models/model_data_notification.go b/models/model_data_notification.go new file mode 100644 index 00000000..2e02f558 --- /dev/null +++ b/models/model_data_notification.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a Data Subscription Notification. +type DataNotification struct { + // List of notifications of AMF events. + AmfEventNotifs []AmfEventNotification `json:"amfEventNotifs,omitempty" yaml:"amfEventNotifs" bson:"amfEventNotifs,omitempty"` + // List of notifications of SMF events. + SmfEventNotifs []NsmfEventExposureNotification `json:"smfEventNotifs,omitempty" yaml:"smfEventNotifs" bson:"smfEventNotifs,omitempty"` + // List of notifications of UDM events. + UdmEventNotifs []UdmEeMonitoringReport `json:"udmEventNotifs,omitempty" yaml:"udmEventNotifs" bson:"udmEventNotifs,omitempty"` + // List of notifications of NEF events. + NefEventNotifs []NefEventExposureNotif `json:"nefEventNotifs,omitempty" yaml:"nefEventNotifs" bson:"nefEventNotifs,omitempty"` + // List of notifications of AF events. + AfEventNotifs []AfEventExposureNotif `json:"afEventNotifs,omitempty" yaml:"afEventNotifs" bson:"afEventNotifs,omitempty"` + // List of notifications of NRF events. + NrfEventNotifs []NrfNfManagementNotificationData `json:"nrfEventNotifs,omitempty" yaml:"nrfEventNotifs" bson:"nrfEventNotifs,omitempty"` + // List of notifications of NSACF events. + NsacfEventNotifs []SacEventReport `json:"nsacfEventNotifs,omitempty" yaml:"nsacfEventNotifs" bson:"nsacfEventNotifs,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/model_data_set_id.go b/models/model_data_set_id.go index c99fe3ce..8434c992 100644 --- a/models/model_data_set_id.go +++ b/models/model_data_set_id.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -17,4 +20,17 @@ const ( DataSetId_POLICY DataSetId = "POLICY" DataSetId_EXPOSURE DataSetId = "EXPOSURE" DataSetId_APPLICATION DataSetId = "APPLICATION" + DataSetId_A_PFD DataSetId = "A_PFD" + DataSetId_A_AFTI DataSetId = "A_AFTI" + DataSetId_A_IPTV DataSetId = "A_IPTV" + DataSetId_A_BDT DataSetId = "A_BDT" + DataSetId_A_SPD DataSetId = "A_SPD" + DataSetId_A_EASD DataSetId = "A_EASD" + DataSetId_A_AMI DataSetId = "A_AMI" + DataSetId_P_UE DataSetId = "P_UE" + DataSetId_P_SCD DataSetId = "P_SCD" + DataSetId_P_BDT DataSetId = "P_BDT" + DataSetId_P_PLMNUE DataSetId = "P_PLMNUE" + DataSetId_P_NSSCD DataSetId = "P_NSSCD" + DataSetId_P_MBSCD DataSetId = "P_MBSCD" ) diff --git a/models/model_data_set_name.go b/models/model_data_set_name.go index 3e538a93..2a39b0a4 100644 --- a/models/model_data_set_name.go +++ b/models/model_data_set_name.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,12 +16,21 @@ type DataSetName string // List of DataSetName const ( - DataSetName_AM DataSetName = "AM" - DataSetName_SMF_SEL DataSetName = "SMF_SEL" - DataSetName_UEC_SMF DataSetName = "UEC_SMF" - DataSetName_UEC_SMSF DataSetName = "UEC_SMSF" - DataSetName_SMS_SUB DataSetName = "SMS_SUB" - DataSetName_SM DataSetName = "SM" - DataSetName_TRACE DataSetName = "TRACE" - DataSetName_SMS_MNG DataSetName = "SMS_MNG" + DataSetName_AM DataSetName = "AM" + DataSetName_SMF_SEL DataSetName = "SMF_SEL" + DataSetName_SMS_SUB DataSetName = "SMS_SUB" + DataSetName_SM DataSetName = "SM" + DataSetName_TRACE DataSetName = "TRACE" + DataSetName_SMS_MNG DataSetName = "SMS_MNG" + DataSetName_LCS_PRIVACY DataSetName = "LCS_PRIVACY" + DataSetName_LCS_MO DataSetName = "LCS_MO" + DataSetName_LCS_BCA DataSetName = "LCS_BCA" + DataSetName_V2_X DataSetName = "V2X" + DataSetName_PROSE DataSetName = "PROSE" + DataSetName_ODB DataSetName = "ODB" + DataSetName_EE_PROF DataSetName = "EE_PROF" + DataSetName_PP_PROF DataSetName = "PP_PROF" + DataSetName_NIDD_AUTH DataSetName = "NIDD_AUTH" + DataSetName_USER_CONSENT DataSetName = "USER_CONSENT" + DataSetName_MBS DataSetName = "MBS" ) diff --git a/models/model_data_subscription.go b/models/model_data_subscription.go new file mode 100644 index 00000000..4a8f313b --- /dev/null +++ b/models/model_data_subscription.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a data specification. +type DataSubscription struct { + AmfDataSub *AmfEventSubscription `json:"amfDataSub,omitempty" yaml:"amfDataSub" bson:"amfDataSub,omitempty"` + SmfDataSub *NsmfEventExposure `json:"smfDataSub,omitempty" yaml:"smfDataSub" bson:"smfDataSub,omitempty"` + UdmDataSub *UdmEeEeSubscription `json:"udmDataSub,omitempty" yaml:"udmDataSub" bson:"udmDataSub,omitempty"` + AfDataSub *AfEventExposureSubsc `json:"afDataSub,omitempty" yaml:"afDataSub" bson:"afDataSub,omitempty"` + NefDataSub *NefEventExposureSubsc `json:"nefDataSub,omitempty" yaml:"nefDataSub" bson:"nefDataSub,omitempty"` + NrfDataSub *NrfNfManagementSubscriptionData `json:"nrfDataSub,omitempty" yaml:"nrfDataSub" bson:"nrfDataSub,omitempty"` + NsacfDataSub *SacEventSubscription `json:"nsacfDataSub,omitempty" yaml:"nsacfDataSub" bson:"nsacfDataSub,omitempty"` +} diff --git a/models/model_datalink_reporting_configuration.go b/models/model_datalink_reporting_configuration.go new file mode 100644 index 00000000..921ea99c --- /dev/null +++ b/models/model_datalink_reporting_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DatalinkReportingConfiguration struct { + DddTrafficDes []DddTrafficDescriptor `json:"dddTrafficDes,omitempty" yaml:"dddTrafficDes" bson:"dddTrafficDes,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Slice *Snssai `json:"slice,omitempty" yaml:"slice" bson:"slice,omitempty"` + DddStatusList []DlDataDeliveryStatus `json:"dddStatusList,omitempty" yaml:"dddStatusList" bson:"dddStatusList,omitempty"` +} diff --git a/models/model_dataset_statistical_property.go b/models/model_dataset_statistical_property.go new file mode 100644 index 00000000..def32c1c --- /dev/null +++ b/models/model_dataset_statistical_property.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DatasetStatisticalProperty string + +// List of DatasetStatisticalProperty +const ( + DatasetStatisticalProperty_UNIFORM_DIST_DATA DatasetStatisticalProperty = "UNIFORM_DIST_DATA" + DatasetStatisticalProperty_NO_OUTLIERS DatasetStatisticalProperty = "NO_OUTLIERS" +) diff --git a/models/model_dccf_cond.go b/models/model_dccf_cond.go new file mode 100644 index 00000000..3c36b9c2 --- /dev/null +++ b/models/model_dccf_cond.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (DCCFs), identified by NF types, NF Set Id(s) or DCCF Serving Area information, i.e. list of TAIs served by the DCCF +type DccfCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` +} diff --git a/models/model_dccf_data_management_reporting_options.go b/models/model_dccf_data_management_reporting_options.go new file mode 100644 index 00000000..4e812fc6 --- /dev/null +++ b/models/model_dccf_data_management_reporting_options.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents reporting options for processed notifications. +type DccfDataManagementReportingOptions struct { + NotifyWindow *TimeWindow `json:"notifyWindow,omitempty" yaml:"notifyWindow" bson:"notifyWindow,omitempty"` + // indicating a time in seconds. + NotifyPeriod int32 `json:"notifyPeriod,omitempty" yaml:"notifyPeriod" bson:"notifyPeriod,omitempty"` + // indicating a time in seconds. + NotifyPeriodInc int32 `json:"notifyPeriodInc,omitempty" yaml:"notifyPeriodInc" bson:"notifyPeriodInc,omitempty"` + // Notifications for the present subscription are sent only upon occurrence of events of the subscription with identifier that matches this attribute. + DepEventSubId string `json:"depEventSubId,omitempty" yaml:"depEventSubId" bson:"depEventSubId,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MinClubbedNotif int32 `json:"minClubbedNotif,omitempty" yaml:"minClubbedNotif" bson:"minClubbedNotif,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxClubbedNotif int32 `json:"maxClubbedNotif,omitempty" yaml:"maxClubbedNotif" bson:"maxClubbedNotif,omitempty"` +} diff --git a/models/model_dccf_event.go b/models/model_dccf_event.go new file mode 100644 index 00000000..94108bc8 --- /dev/null +++ b/models/model_dccf_event.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the (event exposure or analytics) event that the processing instructions shall apply to. Contains all event IDs related to DCCF. +type DccfEvent struct { + NwdafEvent NwdafEvent `json:"nwdafEvent,omitempty" yaml:"nwdafEvent" bson:"nwdafEvent,omitempty"` + SmfEvent SmfEvent `json:"smfEvent,omitempty" yaml:"smfEvent" bson:"smfEvent,omitempty"` + AmfEvent AmfEventType `json:"amfEvent,omitempty" yaml:"amfEvent" bson:"amfEvent,omitempty"` + NefEvent NefEvent `json:"nefEvent,omitempty" yaml:"nefEvent" bson:"nefEvent,omitempty"` + UdmEvent UdmEeEventType `json:"udmEvent,omitempty" yaml:"udmEvent" bson:"udmEvent,omitempty"` + AfEvent AfEventExposureAfEvent `json:"afEvent,omitempty" yaml:"afEvent" bson:"afEvent,omitempty"` + SacEvent *SacEvent `json:"sacEvent,omitempty" yaml:"sacEvent" bson:"sacEvent,omitempty"` + NrfEvent NotificationEventType `json:"nrfEvent,omitempty" yaml:"nrfEvent" bson:"nrfEvent,omitempty"` +} diff --git a/models/model_dccf_info.go b/models/model_dccf_info.go new file mode 100644 index 00000000..f9e8d12a --- /dev/null +++ b/models/model_dccf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a DCCF NF Instance +type DccfInfo struct { + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/model_ddd_traffic_descriptor.go b/models/model_ddd_traffic_descriptor.go new file mode 100644 index 00000000..bb929f4b --- /dev/null +++ b/models/model_ddd_traffic_descriptor.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Traffic Descriptor. +type DddTrafficDescriptor struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` +} diff --git a/models/model_ddn_failure_sub_info.go b/models/model_ddn_failure_sub_info.go new file mode 100644 index 00000000..0bfc28c1 --- /dev/null +++ b/models/model_ddn_failure_sub_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DDN Failure Subscription Information +type DdnFailureSubInfo struct { + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` +} diff --git a/models/model_ddn_failure_subs.go b/models/model_ddn_failure_subs.go new file mode 100644 index 00000000..567b03f6 --- /dev/null +++ b/models/model_ddn_failure_subs.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DDN Failure Subscription +type DdnFailureSubs struct { + DdnFailureSubsInd bool `json:"ddnFailureSubsInd,omitempty" yaml:"ddnFailureSubsInd" bson:"ddnFailureSubsInd,omitempty"` + DdnFailureSubsInfoList []DdnFailureSubInfo `json:"ddnFailureSubsInfoList,omitempty" yaml:"ddnFailureSubsInfoList" bson:"ddnFailureSubsInfoList,omitempty"` +} diff --git a/models/model_deconceal_req_data.go b/models/model_deconceal_req_data.go new file mode 100644 index 00000000..624ace77 --- /dev/null +++ b/models/model_deconceal_req_data.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Deconceal Request Data +type DeconcealReqData struct { + // Contains the SUCI. + Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` +} diff --git a/models/model_deconceal_rsp_data.go b/models/model_deconceal_rsp_data.go new file mode 100644 index 00000000..03dfa502 --- /dev/null +++ b/models/model_deconceal_rsp_data.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Deconceal Response Data +type DeconcealRspData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` +} diff --git a/models/model_def_sub_service_info.go b/models/model_def_sub_service_info.go new file mode 100644 index 00000000..e7dd347a --- /dev/null +++ b/models/model_def_sub_service_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Service Specific information for Default Notification Subscription. +type DefSubServiceInfo struct { + Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_default_notification_subscription.go b/models/model_default_notification_subscription.go index 8ceec74e..2e00943f 100644 --- a/models/model_default_notification_subscription.go +++ b/models/model_default_notification_subscription.go @@ -1,17 +1,31 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data structure for specifying the notifications the NF service subscribes by default, along with callback URI type DefaultNotificationSubscription struct { - NotificationType NotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType" mapstructure:"NotificationType"` - CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri" mapstructure:"CallbackUri"` - N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass" mapstructure:"N1MessageClass"` - N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass" mapstructure:"N2InformationClass"` + NotificationType NrfNfManagementNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnCallbackUri string `json:"interPlmnCallbackUri,omitempty" yaml:"interPlmnCallbackUri" bson:"interPlmnCallbackUri,omitempty"` + N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` + Binding string `json:"binding,omitempty" yaml:"binding" bson:"binding,omitempty"` + AcceptedEncoding string `json:"acceptedEncoding,omitempty" yaml:"acceptedEncoding" bson:"acceptedEncoding,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map of service specific information. The name of the corresponding service (as specified in ServiceName data type) is the key. + ServiceInfoList map[string]DefSubServiceInfo `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` } diff --git a/models/model_default_unrelated_class.go b/models/model_default_unrelated_class.go new file mode 100644 index 00000000..9dc0eb1a --- /dev/null +++ b/models/model_default_unrelated_class.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DefaultUnrelatedClass struct { + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` + CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` +} diff --git a/models/model_deliver_add_info.go b/models/model_deliver_add_info.go new file mode 100644 index 00000000..665302f5 --- /dev/null +++ b/models/model_deliver_add_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information in an error response to a Deliver Request. +type DeliverAddInfo struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_deliver_error.go b/models/model_deliver_error.go new file mode 100644 index 00000000..4c3d2d0f --- /dev/null +++ b/models/model_deliver_error.go @@ -0,0 +1,36 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the payload in an error response to a Deliver Request. +type DeliverError struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_deliver_request.go b/models/model_deliver_request.go new file mode 100644 index 00000000..e9d25b26 --- /dev/null +++ b/models/model_deliver_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DeliverRequest struct { + JsonData *SmfNiddDeliverReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/model_delivery_report_requested.go b/models/model_delivery_report_requested.go index 9a3d13f3..32c5299f 100644 --- a/models/model_delivery_report_requested.go +++ b/models/model_delivery_report_requested.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_deregistration_data.go b/models/model_deregistration_data.go index 01038b2b..e0cf7c34 100644 --- a/models/model_deregistration_data.go +++ b/models/model_deregistration_data.go @@ -1,15 +1,20 @@ /* * Nudm_UECM * - * Nudm Context Management Service + * Nudm Context Management Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.8.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type DeregistrationData struct { - DeregReason DeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason" mapstructure:"DeregReason"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` + DeregReason DeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + NewSmfInstanceId string `json:"newSmfInstanceId,omitempty" yaml:"newSmfInstanceId" bson:"newSmfInstanceId,omitempty"` } diff --git a/models/model_deregistration_info.go b/models/model_deregistration_info.go new file mode 100644 index 00000000..bfa89221 --- /dev/null +++ b/models/model_deregistration_info.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUPI). +type DeregistrationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_deregistration_reason.go b/models/model_deregistration_reason.go index 61128a65..ef45be74 100644 --- a/models/model_deregistration_reason.go +++ b/models/model_deregistration_reason.go @@ -1,9 +1,12 @@ /* * Nudm_UECM * - * Nudm Context Management Service + * Nudm Context Management Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.8.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -19,4 +22,5 @@ const ( DeregistrationReason__5_GS_TO_EPS_MOBILITY DeregistrationReason = "5GS_TO_EPS_MOBILITY" DeregistrationReason__5_GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION DeregistrationReason = "5GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION" DeregistrationReason_REREGISTRATION_REQUIRED DeregistrationReason = "REREGISTRATION_REQUIRED" + DeregistrationReason_SMF_CONTEXT_TRANSFERRED DeregistrationReason = "SMF_CONTEXT_TRANSFERRED" ) diff --git a/models/model_deregistration_reason_code.go b/models/model_deregistration_reason_code.go new file mode 100644 index 00000000..f64fc711 --- /dev/null +++ b/models/model_deregistration_reason_code.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type DeregistrationReasonCode string + +// List of DeregistrationReasonCode +const ( + DeregistrationReasonCode_PERMANENT_TERMINATION DeregistrationReasonCode = "PERMANENT_TERMINATION" + DeregistrationReasonCode_NEW_SERVER_ASSIGNED DeregistrationReasonCode = "NEW_SERVER_ASSIGNED" + DeregistrationReasonCode_REMOVE_S_CSCF DeregistrationReasonCode = "REMOVE_S-CSCF" + DeregistrationReasonCode_SERVER_CHANGE DeregistrationReasonCode = "SERVER_CHANGE" +) + + diff --git a/models/model_detecting_node.go b/models/model_detecting_node.go new file mode 100644 index 00000000..880ab0d1 --- /dev/null +++ b/models/model_detecting_node.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DetectingNode string + +// List of DetectingNode +const ( + DetectingNode_SGSN DetectingNode = "SGSN" + DetectingNode_MME DetectingNode = "MME" + DetectingNode_AMF DetectingNode = "AMF" +) diff --git a/models/model_determine_location_request.go b/models/model_determine_location_request.go new file mode 100644 index 00000000..20e2631c --- /dev/null +++ b/models/model_determine_location_request.go @@ -0,0 +1,18 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DetermineLocationRequest struct { + JsonData *LmfLocationInputData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataLppMessage []byte `json:"binaryDataLppMessage,omitempty" yaml:"binaryDataLppMessage" bson:"binaryDataLppMessage,omitempty"` +} diff --git a/models/model_digest_authentication.go b/models/model_digest_authentication.go new file mode 100644 index 00000000..c8a04b36 --- /dev/null +++ b/models/model_digest_authentication.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +type DigestAuthentication struct { + DigestRealm string `json:"digestRealm" yaml:"digestRealm" bson:"digestRealm"` + DigestAlgorithm SipDigestAlgorithm `json:"digestAlgorithm" yaml:"digestAlgorithm" bson:"digestAlgorithm"` + DigestQop SipDigestQop `json:"digestQop" yaml:"digestQop" bson:"digestQop"` + Ha1 string `json:"ha1" yaml:"ha1" bson:"ha1"` +} diff --git a/models/model_direct_discovery_model.go b/models/model_direct_discovery_model.go new file mode 100644 index 00000000..2aa9fe4d --- /dev/null +++ b/models/model_direct_discovery_model.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DirectDiscoveryModel string + +// List of DirectDiscoveryModel +const ( + DirectDiscoveryModel_A DirectDiscoveryModel = "MODEL_A" + DirectDiscoveryModel_B DirectDiscoveryModel = "MODEL_B" +) diff --git a/models/model_dispersion_area.go b/models/model_dispersion_area.go new file mode 100644 index 00000000..ff74c91b --- /dev/null +++ b/models/model_dispersion_area.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Dispersion Area +type DispersionArea struct { + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + N3gaInd bool `json:"n3gaInd,omitempty" yaml:"n3gaInd" bson:"n3gaInd,omitempty"` +} diff --git a/models/model_dispersion_class.go b/models/model_dispersion_class.go new file mode 100644 index 00000000..88b10850 --- /dev/null +++ b/models/model_dispersion_class.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - FIXED: Dispersion class as fixed UE its data or transaction usage at a location or a slice, is higher than its class threshold set for its all data or transaction usage. - CAMPER: Dispersion class as camper UE, its data or transaction usage at a location or a slice, is higher than its class threshold and lower than the fixed class threshold set for its all data or transaction usage.. - TRAVELLER: Dispersion class as traveller UE, its data or transaction usage at a location or a slice, is lower than the camper class threshold set for its all data or transaction usage. - TOP_HEAVY: Dispersion class as Top_Heavy UE, who's dispersion percentile rating at a location or a slice, is higher than its class threshold. +type DispersionClass struct { +} diff --git a/models/model_dispersion_info.go b/models/model_dispersion_info.go new file mode 100644 index 00000000..3b37d5dd --- /dev/null +++ b/models/model_dispersion_info.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the Dispersion information. When subscribed event is \"DISPERSION\", the \"disperInfos\" attribute shall be included. +type DispersionInfo struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + DisperCollects []NwdafEventsSubscriptionDispersionCollection `json:"disperCollects" yaml:"disperCollects" bson:"disperCollects,omitempty"` + DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` +} diff --git a/models/model_dispersion_ordering_criterion.go b/models/model_dispersion_ordering_criterion.go new file mode 100644 index 00000000..4e2f2b97 --- /dev/null +++ b/models/model_dispersion_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DispersionOrderingCriterion string + +// List of DispersionOrderingCriterion +const ( + DispersionOrderingCriterion_TIME_SLOT_START DispersionOrderingCriterion = "TIME_SLOT_START" + DispersionOrderingCriterion_DISPERSION DispersionOrderingCriterion = "DISPERSION" + DispersionOrderingCriterion_CLASSIFICATION DispersionOrderingCriterion = "CLASSIFICATION" + DispersionOrderingCriterion_RANKING DispersionOrderingCriterion = "RANKING" + DispersionOrderingCriterion_PERCENTILE_RANKING DispersionOrderingCriterion = "PERCENTILE_RANKING" +) diff --git a/models/model_dispersion_requirement.go b/models/model_dispersion_requirement.go new file mode 100644 index 00000000..ae7b2d18 --- /dev/null +++ b/models/model_dispersion_requirement.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the dispersion analytics requirements. +type DispersionRequirement struct { + DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` + ClassCriters []ClassCriterion `json:"classCriters,omitempty" yaml:"classCriters" bson:"classCriters,omitempty"` + RankCriters []RankingCriterion `json:"rankCriters,omitempty" yaml:"rankCriters" bson:"rankCriters,omitempty"` + DispOrderCriter DispersionOrderingCriterion `json:"dispOrderCriter,omitempty" yaml:"dispOrderCriter" bson:"dispOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/model_dispersion_type.go b/models/model_dispersion_type.go new file mode 100644 index 00000000..579989ce --- /dev/null +++ b/models/model_dispersion_type.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - DVDA: Data Volume Dispersion Analytics. - TDA: Transactions Dispersion Analytics. - DVDA_AND_TDA: Data Volume Dispersion Analytics and Transactions Dispersion Analytics. +type DispersionType struct { +} diff --git a/models/model_dl_data_delivery_status.go b/models/model_dl_data_delivery_status.go new file mode 100644 index 00000000..4d8c0b69 --- /dev/null +++ b/models/model_dl_data_delivery_status.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DlDataDeliveryStatus string + +// List of DlDataDeliveryStatus +const ( + DlDataDeliveryStatus_BUFFERED DlDataDeliveryStatus = "BUFFERED" + DlDataDeliveryStatus_TRANSMITTED DlDataDeliveryStatus = "TRANSMITTED" + DlDataDeliveryStatus_DISCARDED DlDataDeliveryStatus = "DISCARDED" +) diff --git a/models/model_dn_perf.go b/models/model_dn_perf.go new file mode 100644 index 00000000..301bad30 --- /dev/null +++ b/models/model_dn_perf.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance for the application. +type DnPerf struct { + AppServerInsAddr *AddrFqdn `json:"appServerInsAddr,omitempty" yaml:"appServerInsAddr" bson:"appServerInsAddr,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + PerfData *PerfData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` + TemporalValidCon *TimeWindow `json:"temporalValidCon,omitempty" yaml:"temporalValidCon" bson:"temporalValidCon,omitempty"` +} diff --git a/models/model_dn_perf_info.go b/models/model_dn_perf_info.go new file mode 100644 index 00000000..3b7df57c --- /dev/null +++ b/models/model_dn_perf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance information. +type DnPerfInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + DnPerf []DnPerf `json:"dnPerf" yaml:"dnPerf" bson:"dnPerf,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_dn_perf_ordering_criterion.go b/models/model_dn_perf_ordering_criterion.go new file mode 100644 index 00000000..0a8d3307 --- /dev/null +++ b/models/model_dn_perf_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnPerfOrderingCriterion string + +// List of DnPerfOrderingCriterion +const ( + DnPerfOrderingCriterion_AVERAGE_TRAFFIC_RATE DnPerfOrderingCriterion = "AVERAGE_TRAFFIC_RATE" + DnPerfOrderingCriterion_MAXIMUM_TRAFFIC_RATE DnPerfOrderingCriterion = "MAXIMUM_TRAFFIC_RATE" + DnPerfOrderingCriterion_AVERAGE_PACKET_DELAY DnPerfOrderingCriterion = "AVERAGE_PACKET_DELAY" + DnPerfOrderingCriterion_MAXIMUM_PACKET_DELAY DnPerfOrderingCriterion = "MAXIMUM_PACKET_DELAY" + DnPerfOrderingCriterion_AVERAGE_PACKET_LOSS_RATE DnPerfOrderingCriterion = "AVERAGE_PACKET_LOSS_RATE" +) diff --git a/models/model_dn_performance_req.go b/models/model_dn_performance_req.go new file mode 100644 index 00000000..57388813 --- /dev/null +++ b/models/model_dn_performance_req.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other DN performance analytics requirements. +type DnPerformanceReq struct { + DnPerfOrderCriter DnPerfOrderingCriterion `json:"dnPerfOrderCriter,omitempty" yaml:"dnPerfOrderCriter" bson:"dnPerfOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` + ReportThresholds []ThresholdLevel `json:"reportThresholds,omitempty" yaml:"reportThresholds" bson:"reportThresholds,omitempty"` +} diff --git a/models/model_dnai_change_type.go b/models/model_dnai_change_type.go index 7d670d97..dc7955c9 100644 --- a/models/model_dnai_change_type.go +++ b/models/model_dnai_change_type.go @@ -1,9 +1,12 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_dnai_information.go b/models/model_dnai_information.go new file mode 100644 index 00000000..306dab7d --- /dev/null +++ b/models/model_dnai_information.go @@ -0,0 +1,21 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DNAI information. +type DnaiInformation struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + DnsServIds []DnsServerIdentifier `json:"dnsServIds,omitempty" yaml:"dnsServIds" bson:"dnsServIds,omitempty"` + EasIpAddrs []IpAddr `json:"easIpAddrs,omitempty" yaml:"easIpAddrs" bson:"easIpAddrs,omitempty"` +} diff --git a/models/model_dnf.go b/models/model_dnf.go index 6d9861bc..2ca7f1ef 100644 --- a/models/model_dnf.go +++ b/models/model_dnf.go @@ -1,5 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// A disjunctive normal form. type Dnf struct { - DnfUnits []DnfUnit `json:"dnfUints" bson:"dnfUnits"` + DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` } diff --git a/models/model_dnf_unit.go b/models/model_dnf_unit.go index 4e3fa479..e2724750 100644 --- a/models/model_dnf_unit.go +++ b/models/model_dnf_unit.go @@ -1,5 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + package models +// During the processing of dnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"OR\". type DnfUnit struct { - DnfUnit []Atom `json:"dnfUnit" bson:"dnfUnit"` + DnfUnit []Atom `json:"dnfUnit" yaml:"dnfUnit" bson:"dnfUnit,omitempty"` } diff --git a/models/model_dnn_configuration.go b/models/model_dnn_configuration.go index 2408d6ea..fa067590 100644 --- a/models/model_dnn_configuration.go +++ b/models/model_dnn_configuration.go @@ -1,21 +1,51 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type DnnConfiguration struct { - PduSessionTypes *PduSessionTypes `json:"pduSessionTypes" yaml:"pduSessionTypes" bson:"pduSessionTypes" mapstructure:"PduSessionTypes"` - SscModes *SscModes `json:"sscModes" yaml:"sscModes" bson:"sscModes" mapstructure:"SscModes"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd" mapstructure:"IwkEpsInd"` - Var5gQosProfile *SubscribedDefaultQos `json:"5gQosProfile,omitempty" yaml:"5gQosProfile" bson:"5gQosProfile" mapstructure:"Var5gQosProfile"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr" mapstructure:"SessionAmbr"` - Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics" mapstructure:"Var3gppChargingCharacteristics"` - StaticIpAddress []IpAddress `json:"staticIpAddress,omitempty" yaml:"staticIpAddress" bson:"staticIpAddress" mapstructure:"StaticIpAddress"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity" mapstructure:"UpSecurity"` + PduSessionTypes *PduSessionTypes `json:"pduSessionTypes" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + SscModes *SscModes `json:"sscModes" yaml:"sscModes" bson:"sscModes,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + Var5gQosProfile *SubscribedDefaultQos `json:"5gQosProfile,omitempty" yaml:"5gQosProfile" bson:"5gQosProfile,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` + StaticIpAddress []UdmSdmIpAddress `json:"staticIpAddress,omitempty" yaml:"staticIpAddress" bson:"staticIpAddress,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + PduSessionContinuityInd PduSessionContinuityInd `json:"pduSessionContinuityInd,omitempty" yaml:"pduSessionContinuityInd" bson:"pduSessionContinuityInd,omitempty"` + // Identity of the NEF + NiddNefId string `json:"niddNefId,omitempty" yaml:"niddNefId" bson:"niddNefId,omitempty"` + NiddInfo *UdmSdmNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` + RedundantSessionAllowed bool `json:"redundantSessionAllowed,omitempty" yaml:"redundantSessionAllowed" bson:"redundantSessionAllowed,omitempty"` + AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` + Ipv4FrameRouteList []FrameRouteInfo `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` + Ipv6FrameRouteList []FrameRouteInfo `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` + AtsssAllowed bool `json:"atsssAllowed,omitempty" yaml:"atsssAllowed" bson:"atsssAllowed,omitempty"` + SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` + UavSecondaryAuth bool `json:"uavSecondaryAuth,omitempty" yaml:"uavSecondaryAuth" bson:"uavSecondaryAuth,omitempty"` + DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` + DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` + // Fully Qualified Domain Name + DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` + IptvAccCtrlInfo string `json:"iptvAccCtrlInfo,omitempty" yaml:"iptvAccCtrlInfo" bson:"iptvAccCtrlInfo,omitempty"` + Ipv4Index *UdmSdmIpIndex `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + Ipv6Index *UdmSdmIpIndex `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` + AdditionalEcsAddrConfigInfos []*EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` + SharedEcsAddrConfigInfo string `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` + AdditionalSharedEcsAddrConfigInfoIds []string `json:"additionalSharedEcsAddrConfigInfoIds,omitempty" yaml:"additionalSharedEcsAddrConfigInfoIds" bson:"additionalSharedEcsAddrConfigInfoIds,omitempty"` + EasDiscoveryAuthorized bool `json:"easDiscoveryAuthorized,omitempty" yaml:"easDiscoveryAuthorized" bson:"easDiscoveryAuthorized,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` + AerialUeInd AerialUeIndication `json:"aerialUeInd,omitempty" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` + SubscribedMaxIpv6PrefixSize int32 `json:"subscribedMaxIpv6PrefixSize,omitempty" yaml:"subscribedMaxIpv6PrefixSize" bson:"subscribedMaxIpv6PrefixSize,omitempty"` } diff --git a/models/model_dnn_easdf_info_item.go b/models/model_dnn_easdf_info_item.go new file mode 100644 index 00000000..13d102df --- /dev/null +++ b/models/model_dnn_easdf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by EASDF for a given DNN +type DnnEasdfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` +} diff --git a/models/model_dnn_info.go b/models/model_dnn_info.go index 819970b3..ef9994eb 100644 --- a/models/model_dnn_info.go +++ b/models/model_dnn_info.go @@ -1,17 +1,24 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type DnnInfo struct { - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - DefaultDnnIndicator bool `json:"defaultDnnIndicator,omitempty" yaml:"defaultDnnIndicator" bson:"defaultDnnIndicator" mapstructure:"DefaultDnnIndicator"` - LboRoamingAllowed bool `json:"lboRoamingAllowed,omitempty" yaml:"lboRoamingAllowed" bson:"lboRoamingAllowed" mapstructure:"LboRoamingAllowed"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd" mapstructure:"IwkEpsInd"` + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DefaultDnnIndicator bool `json:"defaultDnnIndicator,omitempty" yaml:"defaultDnnIndicator" bson:"defaultDnnIndicator,omitempty"` + LboRoamingAllowed bool `json:"lboRoamingAllowed,omitempty" yaml:"lboRoamingAllowed" bson:"lboRoamingAllowed,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + DnnBarred bool `json:"dnnBarred,omitempty" yaml:"dnnBarred" bson:"dnnBarred,omitempty"` + InvokeNefInd bool `json:"invokeNefInd,omitempty" yaml:"invokeNefInd" bson:"invokeNefInd,omitempty"` + SmfList []string `json:"smfList,omitempty" yaml:"smfList" bson:"smfList,omitempty"` + SameSmfInd bool `json:"sameSmfInd,omitempty" yaml:"sameSmfInd" bson:"sameSmfInd,omitempty"` } diff --git a/models/model_dnn_info_item.go b/models/model_dnn_info_item.go new file mode 100644 index 00000000..bde507ed --- /dev/null +++ b/models/model_dnn_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by NF for a given DNN +type DnnInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_dnn_mb_smf_info_item.go b/models/model_dnn_mb_smf_info_item.go new file mode 100644 index 00000000..ca5654c0 --- /dev/null +++ b/models/model_dnn_mb_smf_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an MB-SMF for a given DNN +type DnnMbSmfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_dnn_route_selection_descriptor.go b/models/model_dnn_route_selection_descriptor.go new file mode 100644 index 00000000..282990e5 --- /dev/null +++ b/models/model_dnn_route_selection_descriptor.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selector parameters (PDU session types, SSC modes and ATSSS information) per DNN +type DnnRouteSelectionDescriptor struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SscModes []SscMode `json:"sscModes,omitempty" yaml:"sscModes" bson:"sscModes,omitempty"` + PduSessTypes []PduSessionType `json:"pduSessTypes,omitempty" yaml:"pduSessTypes" bson:"pduSessTypes,omitempty"` + // Indicates whether MA PDU session establishment is allowed for this DNN. When set to value true MA PDU session establishment is allowed for this DNN. + AtsssInfo bool `json:"atsssInfo,omitempty" yaml:"atsssInfo" bson:"atsssInfo,omitempty"` +} diff --git a/models/model_dnn_selection_mode.go b/models/model_dnn_selection_mode.go index 201ee13d..2d67f3e9 100644 --- a/models/model_dnn_selection_mode.go +++ b/models/model_dnn_selection_mode.go @@ -1,9 +1,12 @@ /* - * Nsmf_PDUSession + * Nchf_ConvergedCharging * - * SMF PDU Session Service + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,7 @@ package models type DnnSelectionMode string -// List of DnnSelectionMode +// List of dnnSelectionMode const ( DnnSelectionMode_VERIFIED DnnSelectionMode = "VERIFIED" DnnSelectionMode_UE_DNN_NOT_VERIFIED DnnSelectionMode = "UE_DNN_NOT_VERIFIED" diff --git a/models/model_dnn_smf_info_item.go b/models/model_dnn_smf_info_item.go index 99656cd6..584d263f 100644 --- a/models/model_dnn_smf_info_item.go +++ b/models/model_dnn_smf_info_item.go @@ -1,14 +1,19 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Set of parameters supported by SMF for a given DNN type DnnSmfInfoItem struct { - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []interface{} `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` } diff --git a/models/model_dnn_snssai_information.go b/models/model_dnn_snssai_information.go new file mode 100644 index 00000000..53ab20af --- /dev/null +++ b/models/model_dnn_snssai_information.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a (DNN, SNSSAI) combination. +type DnnSnssaiInformation struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/model_dnn_tsctsf_info_item.go b/models/model_dnn_tsctsf_info_item.go new file mode 100644 index 00000000..a8db787b --- /dev/null +++ b/models/model_dnn_tsctsf_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an TSCTSF for a given DNN +type DnnTsctsfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_dnn_upf_info_item.go b/models/model_dnn_upf_info_item.go index a4e3375f..933252f0 100644 --- a/models/model_dnn_upf_info_item.go +++ b/models/model_dnn_upf_info_item.go @@ -1,16 +1,27 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Set of parameters supported by UPF for a given DNN type DnnUpfInfoItem struct { - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList" mapstructure:"DnaiList"` - PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes" mapstructure:"PduSessionTypes"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + Ipv4IndexList []UdmSdmIpIndex `json:"ipv4IndexList,omitempty" yaml:"ipv4IndexList" bson:"ipv4IndexList,omitempty"` + Ipv6IndexList []UdmSdmIpIndex `json:"ipv6IndexList,omitempty" yaml:"ipv6IndexList" bson:"ipv6IndexList,omitempty"` + // Map of network instance per DNAI for the DNN, where the key of the map is the DNAI. When present, the value of each entry of the map shall contain a N6 network instance that is configured for the DNAI indicated by the key. + DnaiNwInstanceList map[string]string `json:"dnaiNwInstanceList,omitempty" yaml:"dnaiNwInstanceList" bson:"dnaiNwInstanceList,omitempty"` } diff --git a/models/model_dns_server_identifier.go b/models/model_dns_server_identifier.go new file mode 100644 index 00000000..e1a071bf --- /dev/null +++ b/models/model_dns_server_identifier.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DNS server identifier (consisting of IP address and port). +type DnsServerIdentifier struct { + DnsServIpAddr *IpAddr `json:"dnsServIpAddr" yaml:"dnsServIpAddr" bson:"dnsServIpAddr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` +} diff --git a/models/model_domain_name_protocol.go b/models/model_domain_name_protocol.go new file mode 100644 index 00000000..930882c7 --- /dev/null +++ b/models/model_domain_name_protocol.go @@ -0,0 +1,23 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DomainNameProtocol string + +// List of DomainNameProtocol +const ( + DomainNameProtocol_DNS_QNAME DomainNameProtocol = "DNS_QNAME" + DomainNameProtocol_TLS_SNI DomainNameProtocol = "TLS_SNI" + DomainNameProtocol_TLS_SAN DomainNameProtocol = "TLS_SAN" + DomainNameProtocol_TSL_SCN DomainNameProtocol = "TSL_SCN" +) diff --git a/models/model_downlink_data_notification_control.go b/models/model_downlink_data_notification_control.go new file mode 100644 index 00000000..756ea050 --- /dev/null +++ b/models/model_downlink_data_notification_control.go @@ -0,0 +1,19 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the downlink data notification control information. +type DownlinkDataNotificationControl struct { + NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` +} diff --git a/models/model_downlink_data_notification_control_rm.go b/models/model_downlink_data_notification_control_rm.go new file mode 100644 index 00000000..d798e283 --- /dev/null +++ b/models/model_downlink_data_notification_control_rm.go @@ -0,0 +1,19 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the DownlinkDataNotificationControl data type, but with the nullable:true property. +type DownlinkDataNotificationControlRm struct { + NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` +} diff --git a/models/model_dr_bdt_data.go b/models/model_dr_bdt_data.go new file mode 100644 index 00000000..9024c642 --- /dev/null +++ b/models/model_dr_bdt_data.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the background data transfer data. +type DrBdtData struct { + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` + TransPolicy *TransferPolicy `json:"transPolicy" yaml:"transPolicy" bson:"transPolicy,omitempty"` + // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + NumOfUes int32 `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` + VolPerUe *UsageThreshold `json:"volPerUe,omitempty" yaml:"volPerUe" bson:"volPerUe,omitempty"` + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. + TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` + BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_dr_bdt_policy_data.go b/models/model_dr_bdt_policy_data.go new file mode 100644 index 00000000..ba67ede0 --- /dev/null +++ b/models/model_dr_bdt_policy_data.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DrBdtPolicyData struct { + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` +} diff --git a/models/model_dr_bdt_policy_data_patch.go b/models/model_dr_bdt_policy_data_patch.go new file mode 100644 index 00000000..c45df6f3 --- /dev/null +++ b/models/model_dr_bdt_policy_data_patch.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DrBdtPolicyDataPatch struct { + // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` +} diff --git a/models/model_dr_data_set_name.go b/models/model_dr_data_set_name.go new file mode 100644 index 00000000..60e04fc2 --- /dev/null +++ b/models/model_dr_data_set_name.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DrDataSetName string + +// List of DRDataSetName +const ( + DrDataSetName_AM DrDataSetName = "AM" + DrDataSetName_SMF_SEL DrDataSetName = "SMF_SEL" + DrDataSetName_SMS_SUB DrDataSetName = "SMS_SUB" + DrDataSetName_SM DrDataSetName = "SM" + DrDataSetName_TRACE DrDataSetName = "TRACE" + DrDataSetName_SMS_MNG DrDataSetName = "SMS_MNG" + DrDataSetName_LCS_PRIVACY DrDataSetName = "LCS_PRIVACY" + DrDataSetName_LCS_MO DrDataSetName = "LCS_MO" + DrDataSetName_LCS_BCA DrDataSetName = "LCS_BCA" + DrDataSetName_V2_X DrDataSetName = "V2X" +) diff --git a/models/model_dsai_tag_information.go b/models/model_dsai_tag_information.go new file mode 100644 index 00000000..7f686ea0 --- /dev/null +++ b/models/model_dsai_tag_information.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DSAI tag information (list of DSAI tags activation state for an Application Server) +type DsaiTagInformation struct { + DsaiTagStatusList []DsaiTagStatus `json:"dsaiTagStatusList" yaml:"dsaiTagStatusList" bson:"dsaiTagStatusList,omitempty"` +} diff --git a/models/model_dsai_tag_status.go b/models/model_dsai_tag_status.go new file mode 100644 index 00000000..333d34ce --- /dev/null +++ b/models/model_dsai_tag_status.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DSAI tag status (DSAI tag and activation state) +type DsaiTagStatus struct { + DsaiTag string `json:"dsaiTag" yaml:"dsaiTag" bson:"dsaiTag,omitempty"` + DsaiState ActivationState `json:"dsaiState" yaml:"dsaiState" bson:"dsaiState,omitempty"` +} diff --git a/models/model_dynamic5_qi.go b/models/model_dynamic5_qi.go index f5de0668..b89634e0 100644 --- a/models/model_dynamic5_qi.go +++ b/models/model_dynamic5_qi.go @@ -1,19 +1,36 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// It indicates the QoS Characteristics for a Non-standardised or not pre-configured 5QI for downlink and uplink. type Dynamic5Qi struct { - ResourceType QosResourceType `json:"resourceType"` - PriorityLevel int32 `json:"priorityLevel"` - PacketDelayBudget int32 `json:"packetDelayBudget"` - PacketErrRate string `json:"packetErrRate"` - AverWindow int32 `json:"averWindow,omitempty"` - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty"` + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrRate string `json:"packetErrRate" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + ExtPacketDelBudget int32 `json:"extPacketDelBudget,omitempty" yaml:"extPacketDelBudget" bson:"extPacketDelBudget,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` } diff --git a/models/model_dynamic_policy.go b/models/model_dynamic_policy.go new file mode 100644 index 00000000..cebec18f --- /dev/null +++ b/models/model_dynamic_policy.go @@ -0,0 +1,28 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A representation of a Dynamic Policy resource. +type DynamicPolicy struct { + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + DynamicPolicyId string `json:"dynamicPolicyId" yaml:"dynamicPolicyId" bson:"dynamicPolicyId,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + PolicyTemplateId string `json:"policyTemplateId" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` + ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` + MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` + QosSpecification *M5QoSSpecification `json:"qosSpecification,omitempty" yaml:"qosSpecification" bson:"qosSpecification,omitempty"` + EnforcementMethod string `json:"enforcementMethod,omitempty" yaml:"enforcementMethod" bson:"enforcementMethod,omitempty"` + EnforcementBitRate int32 `json:"enforcementBitRate,omitempty" yaml:"enforcementBitRate" bson:"enforcementBitRate,omitempty"` +} diff --git a/models/model_eap_auth_method_response_200.go b/models/model_eap_auth_method_response_200.go index ac6f2729..39c1a522 100644 --- a/models/model_eap_auth_method_response_200.go +++ b/models/model_eap_auth_method_response_200.go @@ -1,9 +1,12 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,7 @@ package models type EapAuthMethodResponse200 struct { // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload"` - // URI : /{eapSessionUri} - Links map[string]LinksValueSchema `json:"_links" yaml:"_links" bson:"_links"` + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` } diff --git a/models/model_eap_session.go b/models/model_eap_session.go index d4c4bab8..c9c83e78 100644 --- a/models/model_eap_session.go +++ b/models/model_eap_session.go @@ -1,19 +1,31 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains information related to the EAP session. type EapSession struct { // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload"` - KSeaf string `json:"kSeaf,omitempty" yaml:"kSeaf" bson:"kSeaf"` - Links map[string]LinksValueSchema `json:"_links,omitempty" yaml:"_links" bson:"_links"` - AuthResult AuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi"` + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // Contains the Kseaf. + KSeaf string `json:"kSeaf,omitempty" yaml:"kSeaf" bson:"kSeaf,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + // Contains the Master Session Key. + Msk string `json:"msk,omitempty" yaml:"msk" bson:"msk,omitempty"` } diff --git a/models/model_early_media_description.go b/models/model_early_media_description.go new file mode 100644 index 00000000..9500171d --- /dev/null +++ b/models/model_early_media_description.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EarlyMediaDescription struct { + SDPTimeStamps *SdpTimeStamps `json:"sDPTimeStamps,omitempty" yaml:"sDPTimeStamps" bson:"sDPTimeStamps,omitempty"` + SDPMediaComponent []SdpMediaComponent `json:"sDPMediaComponent,omitempty" yaml:"sDPMediaComponent" bson:"sDPMediaComponent,omitempty"` + SDPSessionDescription []string `json:"sDPSessionDescription,omitempty" yaml:"sDPSessionDescription" bson:"sDPSessionDescription,omitempty"` +} diff --git a/models/model_eas_dep_notification.go b/models/model_eas_dep_notification.go new file mode 100644 index 00000000..d072a8d5 --- /dev/null +++ b/models/model_eas_dep_notification.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the EAS Deployment Notifcation. +type EasDepNotification struct { + EasDepInfo *EasDeployInfoData `json:"easDepInfo" yaml:"easDepInfo" bson:"easDepInfo,omitempty"` + EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` +} diff --git a/models/model_eas_deploy_info_data.go b/models/model_eas_deploy_info_data.go new file mode 100644 index 00000000..d0bb6aec --- /dev/null +++ b/models/model_eas_deploy_info_data.go @@ -0,0 +1,26 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the EAS Deployment Information to be reported. +type EasDeployInfoData struct { + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // list of DNS server identifier (consisting of IP address and port) and/or IP address(s) of the EAS in the local DN for each DNAI. The key of map is the DNAI. + DnaiInfos map[string]DnaiInformation `json:"dnaiInfos,omitempty" yaml:"dnaiInfos" bson:"dnaiInfos,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + FqdnPatternList []FqdnPatternMatchingRule `json:"fqdnPatternList" yaml:"fqdnPatternList" bson:"fqdnPatternList,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupId string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/model_eas_deploy_info_notif.go b/models/model_eas_deploy_info_notif.go new file mode 100644 index 00000000..f517efaa --- /dev/null +++ b/models/model_eas_deploy_info_notif.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on EAS Deployment Information changes event(s) that occurred for an Individual EAS Deployment Event Subscription resource. +type EasDeployInfoNotif struct { + EasDepNotifs []EasDepNotification `json:"easDepNotifs" yaml:"easDepNotifs" bson:"easDepNotifs,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` +} diff --git a/models/model_eas_deploy_sub_data.go b/models/model_eas_deploy_sub_data.go new file mode 100644 index 00000000..27e03e91 --- /dev/null +++ b/models/model_eas_deploy_sub_data.go @@ -0,0 +1,30 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual EAS Deployment Event Subscription resource. +type EasDeploySubData struct { + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // Each of the element identifies a (DNN, S-NSSAI) combination. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` + EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // Represents the EAS Deployment Information changes event(s) to be reported. Shall only be present if the \"immRep\" attribute is included and sets to true, and the current status of EAS Deployment Information is available. + EventsNotifs []EasDeployInfoData `json:"eventsNotifs,omitempty" yaml:"eventsNotifs" bson:"eventsNotifs,omitempty"` + // Indication of immediate reporting. Set to true: requires the immediate reporting of the current status of EAS Deployment Information, if available. Set to false (default): EAS Deployment Information event report occurs when the event is met. + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` +} diff --git a/models/model_eas_deployment_charging_information.go b/models/model_eas_deployment_charging_information.go new file mode 100644 index 00000000..5062d623 --- /dev/null +++ b/models/model_eas_deployment_charging_information.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type EasDeploymentChargingInformation struct { + EEASDeploymentRequirements *EasRequirements `json:"eEASDeploymentRequirements,omitempty" yaml:"eEASDeploymentRequirements" bson:"eEASDeploymentRequirements,omitempty"` + LCMEventType ManagementOperation `json:"lCMEventType,omitempty" yaml:"lCMEventType" bson:"lCMEventType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LCMStartTime *time.Time `json:"lCMStartTime,omitempty" yaml:"lCMStartTime" bson:"lCMStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LCMEndTime *time.Time `json:"lCMEndTime,omitempty" yaml:"lCMEndTime" bson:"lCMEndTime,omitempty"` +} diff --git a/models/model_eas_event.go b/models/model_eas_event.go new file mode 100644 index 00000000..286e0995 --- /dev/null +++ b/models/model_eas_event.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EasEvent string + +// List of EasEvent +const ( + EasEvent_EAS_INFO_CHG EasEvent = "EAS_INFO_CHG" +) diff --git a/models/model_eas_ip_replacement_info.go b/models/model_eas_ip_replacement_info.go new file mode 100644 index 00000000..131b5b11 --- /dev/null +++ b/models/model_eas_ip_replacement_info.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains EAS IP replacement information for a Source and a Target EAS. +type EasIpReplacementInfo struct { + Source *EasServerAddress `json:"source" yaml:"source" bson:"source,omitempty"` + Target *EasServerAddress `json:"target" yaml:"target" bson:"target,omitempty"` +} diff --git a/models/model_eas_requirements.go b/models/model_eas_requirements.go new file mode 100644 index 00000000..0972a1af --- /dev/null +++ b/models/model_eas_requirements.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EasRequirements struct { + RequiredEASservingLocation *ServingLocation `json:"requiredEASservingLocation,omitempty" yaml:"requiredEASservingLocation" bson:"requiredEASservingLocation,omitempty"` + SoftwareImageInfo *SoftwareImageInfo `json:"softwareImageInfo,omitempty" yaml:"softwareImageInfo" bson:"softwareImageInfo,omitempty"` + AffinityAntiAffinity *AffinityAntiAffinity `json:"affinityAntiAffinity,omitempty" yaml:"affinityAntiAffinity" bson:"affinityAntiAffinity,omitempty"` + ServiceContinuity bool `json:"serviceContinuity,omitempty" yaml:"serviceContinuity" bson:"serviceContinuity,omitempty"` + VirtualResource *VirtualResource `json:"virtualResource,omitempty" yaml:"virtualResource" bson:"virtualResource,omitempty"` +} diff --git a/models/model_eas_server_address.go b/models/model_eas_server_address.go new file mode 100644 index 00000000..d2476bfb --- /dev/null +++ b/models/model_eas_server_address.go @@ -0,0 +1,20 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the IP address and port of an EAS server. +type EasServerAddress struct { + Ip *IpAddr `json:"ip" yaml:"ip" bson:"ip,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Port int32 `json:"port" yaml:"port" bson:"port,omitempty"` +} diff --git a/models/model_easdf_info.go b/models/model_easdf_info.go new file mode 100644 index 00000000..76917149 --- /dev/null +++ b/models/model_easdf_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an EASDF NF Instance +type EasdfInfo struct { + SNssaiEasdfInfoList []SnssaiEasdfInfoItem `json:"sNssaiEasdfInfoList,omitempty" yaml:"sNssaiEasdfInfoList" bson:"sNssaiEasdfInfoList,omitempty"` + EasdfN6IpAddressList []IpAddr `json:"easdfN6IpAddressList,omitempty" yaml:"easdfN6IpAddressList" bson:"easdfN6IpAddressList,omitempty"` + UpfN6IpAddressList []IpAddr `json:"upfN6IpAddressList,omitempty" yaml:"upfN6IpAddressList" bson:"upfN6IpAddressList,omitempty"` +} diff --git a/models/model_ebi_arp_mapping.go b/models/model_ebi_arp_mapping.go index b731c0f5..719aef59 100644 --- a/models/model_ebi_arp_mapping.go +++ b/models/model_ebi_arp_mapping.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// EBI to ARP mapping type EbiArpMapping struct { - EpsBearerId int32 `json:"epsBearerId"` - Arp *Arp `json:"arp"` + // EPS Bearer Identifier + EpsBearerId int32 `json:"epsBearerId" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` } diff --git a/models/model_ec_restriction.go b/models/model_ec_restriction.go new file mode 100644 index 00000000..9ee7b997 --- /dev/null +++ b/models/model_ec_restriction.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EcRestriction struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + PlmnEcInfos []PlmnEcInfo `json:"plmnEcInfos,omitempty" yaml:"plmnEcInfos" bson:"plmnEcInfos,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_ec_restriction_data_wb.go b/models/model_ec_restriction_data_wb.go new file mode 100644 index 00000000..c3dc29f1 --- /dev/null +++ b/models/model_ec_restriction_data_wb.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EcRestrictionDataWb struct { + EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` + EcModeBRestricted bool `json:"ecModeBRestricted,omitempty" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` +} diff --git a/models/model_ecgi.go b/models/model_ecgi.go index 4d3018bb..16264e85 100644 --- a/models/model_ecgi.go +++ b/models/model_ecgi.go @@ -1,16 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the ECGI (E-UTRAN Cell Global Identity), as described in 3GPP 23.003 type Ecgi struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - EutraCellId string `json:"eutraCellId" yaml:"eutraCellId" bson:"eutraCellId" mapstructure:"EutraCellId"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid" mapstructure:"Nid"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 28-bit string identifying an E-UTRA Cell Id as specified in clause 9.3.1.9 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. + EutraCellId string `json:"eutraCellId" yaml:"eutraCellId" bson:"eutraCellId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_ecs_addr_config_info.go b/models/model_ecs_addr_config_info.go new file mode 100644 index 00000000..8ca61f5d --- /dev/null +++ b/models/model_ecs_addr_config_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EcsAddrConfigInfo struct { + EcsServerAddr *EcsServerAddr `json:"ecsServerAddr,omitempty" yaml:"ecsServerAddr" bson:"ecsServerAddr,omitempty"` + SpatialValidityCond *SpatialValidityCond `json:"spatialValidityCond,omitempty" yaml:"spatialValidityCond" bson:"spatialValidityCond,omitempty"` +} diff --git a/models/model_ecs_server_addr.go b/models/model_ecs_server_addr.go new file mode 100644 index 00000000..e968ffaf --- /dev/null +++ b/models/model_ecs_server_addr.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Edge Configuration Server Address Configuration Information as defined in clause 5.2.3.6.1 of 3GPP TS 23.502. +type EcsServerAddr struct { + EcsFqdnList []string `json:"ecsFqdnList,omitempty" yaml:"ecsFqdnList" bson:"ecsFqdnList,omitempty"` + EcsIpAddressList []IpAddr `json:"ecsIpAddressList,omitempty" yaml:"ecsIpAddressList" bson:"ecsIpAddressList,omitempty"` + EcsUriList []string `json:"ecsUriList,omitempty" yaml:"ecsUriList" bson:"ecsUriList,omitempty"` + EcsProviderId string `json:"ecsProviderId,omitempty" yaml:"ecsProviderId" bson:"ecsProviderId,omitempty"` +} diff --git a/models/model_edge_infrastructure_usage_charging_information.go b/models/model_edge_infrastructure_usage_charging_information.go new file mode 100644 index 00000000..84b523fe --- /dev/null +++ b/models/model_edge_infrastructure_usage_charging_information.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type EdgeInfrastructureUsageChargingInformation struct { + // string with format 'float' as defined in OpenAPI. + MeanVirtualCPUUsage float32 `json:"meanVirtualCPUUsage,omitempty" yaml:"meanVirtualCPUUsage" bson:"meanVirtualCPUUsage,omitempty"` + // string with format 'float' as defined in OpenAPI. + MeanVirtualMemoryUsage float32 `json:"meanVirtualMemoryUsage,omitempty" yaml:"meanVirtualMemoryUsage" bson:"meanVirtualMemoryUsage,omitempty"` + // string with format 'float' as defined in OpenAPI. + MeanVirtualDiskUsage float32 `json:"meanVirtualDiskUsage,omitempty" yaml:"meanVirtualDiskUsage" bson:"meanVirtualDiskUsage,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + MeasuredInBytes int32 `json:"measuredInBytes,omitempty" yaml:"measuredInBytes" bson:"measuredInBytes,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + MeasuredOutBytes int32 `json:"measuredOutBytes,omitempty" yaml:"measuredOutBytes" bson:"measuredOutBytes,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DurationStartTime *time.Time `json:"durationStartTime,omitempty" yaml:"durationStartTime" bson:"durationStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DurationEndTime *time.Time `json:"durationEndTime,omitempty" yaml:"durationEndTime" bson:"durationEndTime,omitempty"` +} diff --git a/models/model_edrx_parameters.go b/models/model_edrx_parameters.go new file mode 100644 index 00000000..20f5e88c --- /dev/null +++ b/models/model_edrx_parameters.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EdrxParameters struct { + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + EdrxValue string `json:"edrxValue" yaml:"edrxValue" bson:"edrxValue,omitempty"` +} diff --git a/models/model_ee_group_profile_data.go b/models/model_ee_group_profile_data.go new file mode 100644 index 00000000..2da2f9d7 --- /dev/null +++ b/models/model_ee_group_profile_data.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeGroupProfileData struct { + RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` + // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. + AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` +} diff --git a/models/model_ee_monitoring_revoked.go b/models/model_ee_monitoring_revoked.go new file mode 100644 index 00000000..00296063 --- /dev/null +++ b/models/model_ee_monitoring_revoked.go @@ -0,0 +1,21 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeMonitoringRevoked struct { + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringEvents + RevokedMonitoringEventList map[string]MonitoringEvent `json:"revokedMonitoringEventList" yaml:"revokedMonitoringEventList" bson:"revokedMonitoringEventList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + RemovedGpsi string `json:"removedGpsi,omitempty" yaml:"removedGpsi" bson:"removedGpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` +} diff --git a/models/model_ee_profile_data.go b/models/model_ee_profile_data.go index e2555353..c9c6c108 100644 --- a/models/model_ee_profile_data.go +++ b/models/model_ee_profile_data.go @@ -1,15 +1,26 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Event Exposure Profile Data. type EeProfileData struct { - RestrictedEventTypes []EventType `json:"restrictedEventTypes,omitempty" bson:"restrictedEventTypes"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. + AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` + IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` + Imsi string `json:"imsi,omitempty" yaml:"imsi" bson:"imsi,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` } diff --git a/models/model_ee_subscription.go b/models/model_ee_subscription.go index c70a07b6..e44a8768 100644 --- a/models/model_ee_subscription.go +++ b/models/model_ee_subscription.go @@ -1,18 +1,16 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type EeSubscription struct { - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference" mapstructure:"CallbackReference"` - // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations - MonitoringConfigurations map[string]MonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations" mapstructure:"MonitoringConfigurations"` - ReportingOptions *ReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions" mapstructure:"ReportingOptions"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` } diff --git a/models/model_ee_subscription_ext.go b/models/model_ee_subscription_ext.go new file mode 100644 index 00000000..3c41df18 --- /dev/null +++ b/models/model_ee_subscription_ext.go @@ -0,0 +1,43 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeSubscriptionExt struct { + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations + MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` + ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` + // Fully Qualified Domain Name + ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` + // Fully Qualified Domain Name + ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` + SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` +} diff --git a/models/model_ellipsoid_arc.go b/models/model_ellipsoid_arc.go index ddcb633d..e937f9a8 100644 --- a/models/model_ellipsoid_arc.go +++ b/models/model_ellipsoid_arc.go @@ -1,20 +1,29 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid Arc. type EllipsoidArc struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius"` - UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius"` - OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle"` - IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle"` - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of the inner radius. + InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` + // Indicates value of uncertainty. + UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` + // Indicates value of angle. + OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` + // Indicates value of angle. + IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` } diff --git a/models/model_emergency_info.go b/models/model_emergency_info.go index 496b3f14..10ddc470 100644 --- a/models/model_emergency_info.go +++ b/models/model_emergency_info.go @@ -1,16 +1,23 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type EmergencyInfo struct { - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn" mapstructure:"PgwFqdn"` - PgwIpAddress *IpAddress `json:"pgwIpAddress,omitempty" yaml:"pgwIpAddress" bson:"pgwIpAddress" mapstructure:"PgwIpAddress"` - SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId" mapstructure:"SmfInstanceId"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddress *UdmSdmIpAddress `json:"pgwIpAddress,omitempty" yaml:"pgwIpAddress" bson:"pgwIpAddress,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` } diff --git a/models/model_enable_group_reachability_req_data.go b/models/model_enable_group_reachability_req_data.go new file mode 100644 index 00000000..694e62da --- /dev/null +++ b/models/model_enable_group_reachability_req_data.go @@ -0,0 +1,27 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable Group Reachability Request +type EnableGroupReachabilityReqData struct { + UeInfoList []AmfMtUeInfo `json:"ueInfoList" yaml:"ueInfoList" bson:"ueInfoList,omitempty"` + Tmgi *Tmgi `json:"tmgi" yaml:"tmgi" bson:"tmgi,omitempty"` + // String providing an URI formatted according to RFC 3986. + ReachabilityNotifyUri string `json:"reachabilityNotifyUri,omitempty" yaml:"reachabilityNotifyUri" bson:"reachabilityNotifyUri,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_enable_group_reachability_rsp_data.go b/models/model_enable_group_reachability_rsp_data.go new file mode 100644 index 00000000..b9aa5043 --- /dev/null +++ b/models/model_enable_group_reachability_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable Group Reachability Response +type EnableGroupReachabilityRspData struct { + UeConnectedList []string `json:"ueConnectedList,omitempty" yaml:"ueConnectedList" bson:"ueConnectedList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_enable_ue_reachability_req_data.go b/models/model_enable_ue_reachability_req_data.go index 41763d2b..501db51b 100644 --- a/models/model_enable_ue_reachability_req_data.go +++ b/models/model_enable_ue_reachability_req_data.go @@ -1,15 +1,22 @@ /* * Namf_MT * - * AMF Mobile Termination Service + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within the Enable UE Reachability Request type EnableUeReachabilityReqData struct { - Reachability UeReachability `json:"reachability" bson:"reachability"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` } diff --git a/models/model_enable_ue_reachability_rsp_data.go b/models/model_enable_ue_reachability_rsp_data.go index 01109c55..65682d14 100644 --- a/models/model_enable_ue_reachability_rsp_data.go +++ b/models/model_enable_ue_reachability_rsp_data.go @@ -1,15 +1,20 @@ /* * Namf_MT * - * AMF Mobile Termination Service + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within the Enable UE Reachability Response type EnableUeReachabilityRspData struct { - Reachability UeReachability `json:"reachability" bson:"reachability"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_endpoint_address.go b/models/model_endpoint_address.go new file mode 100644 index 00000000..a41df5bd --- /dev/null +++ b/models/model_endpoint_address.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EndpointAddress struct { + Hostname string `json:"hostname,omitempty" yaml:"hostname" bson:"hostname,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` +} diff --git a/models/model_enhanced_coverage_restriction_data.go b/models/model_enhanced_coverage_restriction_data.go new file mode 100644 index 00000000..bd597e3c --- /dev/null +++ b/models/model_enhanced_coverage_restriction_data.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EnhancedCoverageRestrictionData struct { + PlmnEcInfoList []PlmnEcInfo `json:"plmnEcInfoList,omitempty" yaml:"plmnEcInfoList" bson:"plmnEcInfoList,omitempty"` +} diff --git a/models/model_enhanced_diagnostics5_g.go b/models/model_enhanced_diagnostics5_g.go index 8bdc8059..6f398b36 100644 --- a/models/model_enhanced_diagnostics5_g.go +++ b/models/model_enhanced_diagnostics5_g.go @@ -1,12 +1,16 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type EnhancedDiagnostics5G struct{} +type EnhancedDiagnostics5G struct { +} diff --git a/models/model_eps_bearer_info.go b/models/model_eps_bearer_info.go index 76615f29..eb4ad7fc 100644 --- a/models/model_eps_bearer_info.go +++ b/models/model_eps_bearer_info.go @@ -1,16 +1,23 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// EPS Bearer Information from H-SMF to V-SMF, or from SMF to I-SMF type EpsBearerInfo struct { - Ebi int32 `json:"ebi"` - PgwS8uFteid string `json:"pgwS8uFteid"` - BearerLevelQoS string `json:"bearerLevelQoS"` + // EPS Bearer Identifier + Ebi int32 `json:"ebi" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwS8uFteid string `json:"pgwS8uFteid" yaml:"pgwS8uFteid" bson:"pgwS8uFteid,omitempty"` + // string with format 'bytes' as defined in OpenAPI + BearerLevelQoS string `json:"bearerLevelQoS" yaml:"bearerLevelQoS" bson:"bearerLevelQoS,omitempty"` } diff --git a/models/model_eps_interworking_indication.go b/models/model_eps_interworking_indication.go index be3ccc4c..6f4ae078 100644 --- a/models/model_eps_interworking_indication.go +++ b/models/model_eps_interworking_indication.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,8 @@ type EpsInterworkingIndication string // List of EpsInterworkingIndication const ( - EpsInterworkingIndication_NONE EpsInterworkingIndication = "NONE" - EpsInterworkingIndication_WITH_N26 EpsInterworkingIndication = "WITH_N26" - EpsInterworkingIndication_WITHOUT_N26 EpsInterworkingIndication = "WITHOUT_N26" + EpsInterworkingIndication_NONE EpsInterworkingIndication = "NONE" + EpsInterworkingIndication_WITH_N26 EpsInterworkingIndication = "WITH_N26" + EpsInterworkingIndication_WITHOUT_N26 EpsInterworkingIndication = "WITHOUT_N26" + EpsInterworkingIndication_IWK_NON_3_GPP EpsInterworkingIndication = "IWK_NON_3GPP" ) diff --git a/models/model_eps_interworking_info.go b/models/model_eps_interworking_info.go new file mode 100644 index 00000000..91403320 --- /dev/null +++ b/models/model_eps_interworking_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsInterworkingInfo struct { + // A map (list of key-value pairs where Dnn serves as key) of EpsIwkPgws + EpsIwkPgws map[string]EpsIwkPgw `json:"epsIwkPgws,omitempty" yaml:"epsIwkPgws" bson:"epsIwkPgws,omitempty"` +} diff --git a/models/model_eps_iwk_pgw.go b/models/model_eps_iwk_pgw.go index dfea97c3..c28683d8 100644 --- a/models/model_eps_iwk_pgw.go +++ b/models/model_eps_iwk_pgw.go @@ -1,15 +1,21 @@ /* - * Nudm_UECM + * Namf_Communication * - * Nudm Context Management Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type EpsIwkPgw struct { - PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn" mapstructure:"PgwFqdn"` - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId" mapstructure:"SmfInstanceId"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` } diff --git a/models/model_eps_nas_ciphering_algorithm.go b/models/model_eps_nas_ciphering_algorithm.go new file mode 100644 index 00000000..54a20a36 --- /dev/null +++ b/models/model_eps_nas_ciphering_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsNasCipheringAlgorithm string + +// List of EpsNasCipheringAlgorithm +const ( + EpsNasCipheringAlgorithm_EEA0 EpsNasCipheringAlgorithm = "EEA0" + EpsNasCipheringAlgorithm_EEA1 EpsNasCipheringAlgorithm = "EEA1" + EpsNasCipheringAlgorithm_EEA2 EpsNasCipheringAlgorithm = "EEA2" + EpsNasCipheringAlgorithm_EEA3 EpsNasCipheringAlgorithm = "EEA3" +) diff --git a/models/model_eps_nas_integrity_algorithm.go b/models/model_eps_nas_integrity_algorithm.go new file mode 100644 index 00000000..6e218543 --- /dev/null +++ b/models/model_eps_nas_integrity_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsNasIntegrityAlgorithm string + +// List of EpsNasIntegrityAlgorithm +const ( + EpsNasIntegrityAlgorithm_EIA0 EpsNasIntegrityAlgorithm = "EIA0" + EpsNasIntegrityAlgorithm_EIA1 EpsNasIntegrityAlgorithm = "EIA1" + EpsNasIntegrityAlgorithm_EIA2 EpsNasIntegrityAlgorithm = "EIA2" + EpsNasIntegrityAlgorithm_EIA3 EpsNasIntegrityAlgorithm = "EIA3" +) diff --git a/models/model_eps_nas_security_mode.go b/models/model_eps_nas_security_mode.go new file mode 100644 index 00000000..b5477c5a --- /dev/null +++ b/models/model_eps_nas_security_mode.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the EPS NAS Security Mode +type EpsNasSecurityMode struct { + IntegrityAlgorithm EpsNasIntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` + CipheringAlgorithm EpsNasCipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` +} diff --git a/models/model_eps_pdn_cnx_info.go b/models/model_eps_pdn_cnx_info.go index 54d8235a..10ebb1d5 100644 --- a/models/model_eps_pdn_cnx_info.go +++ b/models/model_eps_pdn_cnx_info.go @@ -1,15 +1,23 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// EPS PDN Connection Information from H-SMF to V-SMF, or from SMF to I-SMF type EpsPdnCnxInfo struct { - PgwS8cFteid string `json:"pgwS8cFteid"` - PgwNodeName string `json:"pgwNodeName,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwS8cFteid string `json:"pgwS8cFteid" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwNodeName string `json:"pgwNodeName,omitempty" yaml:"pgwNodeName" bson:"pgwNodeName,omitempty"` + // EPS Bearer Identifier + LinkedBearerId int32 `json:"linkedBearerId,omitempty" yaml:"linkedBearerId" bson:"linkedBearerId,omitempty"` } diff --git a/models/model_error_report.go b/models/model_error_report.go index 43abf8fe..b6dde291 100644 --- a/models/model_error_report.go +++ b/models/model_error_report.go @@ -1,18 +1,26 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the rule error reports. type ErrorReport struct { - Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error" mapstructure:"Error"` + Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` // Used to report the PCC rule failure. - RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports" mapstructure:"RuleReports"` + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` // Used to report the session rule failure. - SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports" mapstructure:"SessRuleReports"` + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` + // Used to report failure of the policy decision and/or condition data. + PolDecFailureReports []PolicyDecisionFailureCode `json:"polDecFailureReports,omitempty" yaml:"polDecFailureReports" bson:"polDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` } diff --git a/models/model_eth_flow_description.go b/models/model_eth_flow_description.go index 0ab749d6..1f2cbb37 100644 --- a/models/model_eth_flow_description.go +++ b/models/model_eth_flow_description.go @@ -1,21 +1,30 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Identifies an Ethernet flow +// Identifies an Ethernet flow. type EthFlowDescription struct { - DestMacAddr string `json:"destMacAddr,omitempty" yaml:"destMacAddr" bson:"destMacAddr" mapstructure:"DestMacAddr"` - EthType string `json:"ethType" yaml:"ethType" bson:"ethType" mapstructure:"EthType"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DestMacAddr string `json:"destMacAddr,omitempty" yaml:"destMacAddr" bson:"destMacAddr,omitempty"` + EthType string `json:"ethType" yaml:"ethType" bson:"ethType,omitempty"` // Defines a packet filter of an IP flow. - FDesc string `json:"fDesc,omitempty" yaml:"fDesc" bson:"fDesc" mapstructure:"FDesc"` - FDir FlowDirection `json:"fDir,omitempty" yaml:"fDir" bson:"fDir" mapstructure:"FDir"` - SourceMacAddr string `json:"sourceMacAddr,omitempty" yaml:"sourceMacAddr" bson:"sourceMacAddr" mapstructure:"SourceMacAddr"` - VlanTags []string `json:"vlanTags,omitempty" yaml:"vlanTags" bson:"vlanTags" mapstructure:"VlanTags"` + FDesc string `json:"fDesc,omitempty" yaml:"fDesc" bson:"fDesc,omitempty"` + FDir FlowDirection `json:"fDir,omitempty" yaml:"fDir" bson:"fDir,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + SourceMacAddr string `json:"sourceMacAddr,omitempty" yaml:"sourceMacAddr" bson:"sourceMacAddr,omitempty"` + VlanTags []string `json:"vlanTags,omitempty" yaml:"vlanTags" bson:"vlanTags,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + SrcMacAddrEnd string `json:"srcMacAddrEnd,omitempty" yaml:"srcMacAddrEnd" bson:"srcMacAddrEnd,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DestMacAddrEnd string `json:"destMacAddrEnd,omitempty" yaml:"destMacAddrEnd" bson:"destMacAddrEnd,omitempty"` } diff --git a/models/model_eth_flow_info.go b/models/model_eth_flow_info.go new file mode 100644 index 00000000..c8dd6f5d --- /dev/null +++ b/models/model_eth_flow_info.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents Ethernet flow information. +type EthFlowInfo struct { + // Indicates the Ethernet flow identifier. + FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` + // Indicates the packet filters of the Ethernet flow. It shall contain UL and/or DL Ethernet flow description. + EthFlowDescriptions []EthFlowDescription `json:"ethFlowDescriptions,omitempty" yaml:"ethFlowDescriptions" bson:"ethFlowDescriptions,omitempty"` +} diff --git a/models/model_ethernet_flow_info.go b/models/model_ethernet_flow_info.go new file mode 100644 index 00000000..0e585533 --- /dev/null +++ b/models/model_ethernet_flow_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an UL/DL ethernet flow. +type EthernetFlowInfo struct { + EthFlows []EthFlowDescription `json:"ethFlows,omitempty" yaml:"ethFlows" bson:"ethFlows,omitempty"` + FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` +} diff --git a/models/model_eutra_location.go b/models/model_eutra_location.go index 3259cd80..f2643154 100644 --- a/models/model_eutra_location.go +++ b/models/model_eutra_location.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,15 +16,21 @@ import ( "time" ) +// Contains the E-UTRA user location. type EutraLocation struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai" mapstructure:"Tai"` - IgnoreTai bool `json:"ignoreTai,omitempty" yaml:"ignoreTai" bson:"ignoreTai" mapstructure:"IgnoreTai"` - Ecgi *Ecgi `json:"ecgi" yaml:"ecgi" bson:"ecgi" mapstructure:"Ecgi"` - IgnoreEcgi bool `json:"ignoreEcgi,omitempty" yaml:"ignoreEcgi" bson:"ignoreEcgi" mapstructure:"IgnoreEcgi"` - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation" mapstructure:"AgeOfLocationInformation"` - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp" mapstructure:"UeLocationTimestamp"` - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation" mapstructure:"GeographicalInformation"` - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation" mapstructure:"GeodeticInformation"` - GlobalNgenbId *GlobalRanNodeId `json:"globalNgenbId,omitempty" yaml:"globalNgenbId" bson:"globalNgenbId" mapstructure:"GlobalNgenbId"` - GlobalENbId *GlobalRanNodeId `json:"globalENbId,omitempty" yaml:"globalENbId" bson:"globalENbId" mapstructure:"GlobalENbId"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + IgnoreTai bool `json:"ignoreTai,omitempty" yaml:"ignoreTai" bson:"ignoreTai,omitempty"` + Ecgi *Ecgi `json:"ecgi" yaml:"ecgi" bson:"ecgi,omitempty"` + // This flag when present shall indicate that the Ecgi shall be ignored When present, it shall be set as follows: - true: ecgi shall be ignored. - false (default): ecgi shall not be ignored. + IgnoreEcgi bool `json:"ignoreEcgi,omitempty" yaml:"ignoreEcgi" bson:"ignoreEcgi,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` + GlobalNgenbId *GlobalRanNodeId `json:"globalNgenbId,omitempty" yaml:"globalNgenbId" bson:"globalNgenbId,omitempty"` + GlobalENbId *GlobalRanNodeId `json:"globalENbId,omitempty" yaml:"globalENbId" bson:"globalENbId,omitempty"` } diff --git a/models/model_event.go b/models/model_event.go new file mode 100644 index 00000000..26881d5e --- /dev/null +++ b/models/model_event.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Event string + +// List of Event +const ( + Event_SUCCESS_UE_POL_DEL_SP Event = "SUCCESS_UE_POL_DEL_SP" + Event_UNSUCCESS_UE_POL_DEL_SP Event = "UNSUCCESS_UE_POL_DEL_SP" +) diff --git a/models/model_event_class.go b/models/model_event_class.go new file mode 100644 index 00000000..25d20c0f --- /dev/null +++ b/models/model_event_class.go @@ -0,0 +1,20 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventClass string + +// List of EventClass +const ( + EventClass_SUPPLEMENTARY_SERVICES EventClass = "SUPPLEMENTARY_SERVICES" +) diff --git a/models/model_event_for_mdt.go b/models/model_event_for_mdt.go new file mode 100644 index 00000000..f0170952 --- /dev/null +++ b/models/model_event_for_mdt.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventForMdt string + +// List of EventForMdt +const ( + EventForMdt_OUT_OF_COVERAG EventForMdt = "OUT_OF_COVERAG" + EventForMdt_A2_EVENT EventForMdt = "A2_EVENT" +) diff --git a/models/model_event_id.go b/models/model_event_id.go new file mode 100644 index 00000000..4b9700a5 --- /dev/null +++ b/models/model_event_id.go @@ -0,0 +1,34 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventId string + +// List of EventId +const ( + EventId_LOAD_LEVEL_INFORMATION EventId = "LOAD_LEVEL_INFORMATION" + EventId_NETWORK_PERFORMANCE EventId = "NETWORK_PERFORMANCE" + EventId_NF_LOAD EventId = "NF_LOAD" + EventId_SERVICE_EXPERIENCE EventId = "SERVICE_EXPERIENCE" + EventId_UE_MOBILITY EventId = "UE_MOBILITY" + EventId_UE_COMMUNICATION EventId = "UE_COMMUNICATION" + EventId_QOS_SUSTAINABILITY EventId = "QOS_SUSTAINABILITY" + EventId_ABNORMAL_BEHAVIOUR EventId = "ABNORMAL_BEHAVIOUR" + EventId_USER_DATA_CONGESTION EventId = "USER_DATA_CONGESTION" + EventId_NSI_LOAD_LEVEL EventId = "NSI_LOAD_LEVEL" + EventId_SM_CONGESTION EventId = "SM_CONGESTION" + EventId_DISPERSION EventId = "DISPERSION" + EventId_RED_TRANS_EXP EventId = "RED_TRANS_EXP" + EventId_WLAN_PERFORMANCE EventId = "WLAN_PERFORMANCE" + EventId_DN_PERFORMANCE EventId = "DN_PERFORMANCE" +) diff --git a/models/model_event_notification.go b/models/model_event_notification.go index 3882280b..56364e05 100644 --- a/models/model_event_notification.go +++ b/models/model_event_notification.go @@ -1,38 +1,39 @@ /* - * Nsmf_EventExposure + * 3gpp-traffic-influence * - * Session Management Event Exposure Service API + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -import ( - "time" -) - +// Represents a traffic influence event notification. type EventNotification struct { - Event SmfEvent `json:"event" yaml:"event" bson:"event" mapstructure:"Event"` - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp" mapstructure:"TimeStamp"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi" mapstructure:"Supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai" mapstructure:"SourceDnai"` - TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai" mapstructure:"TargetDnai"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType" mapstructure:"DnaiChgType"` - SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr" mapstructure:"SourceUeIpv4Addr"` - SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix" mapstructure:"SourceUeIpv6Prefix"` - TargetUeIpv4Addr string `json:"targetUeIpv4Addr,omitempty" yaml:"targetUeIpv4Addr" bson:"targetUeIpv4Addr" mapstructure:"TargetUeIpv4Addr"` - TargetUeIpv6Prefix string `json:"targetUeIpv6Prefix,omitempty" yaml:"targetUeIpv6Prefix" bson:"targetUeIpv6Prefix" mapstructure:"TargetUeIpv6Prefix"` - SourceTraRouting *RouteToLocation `json:"sourceTraRouting,omitempty" yaml:"sourceTraRouting" bson:"sourceTraRouting" mapstructure:"SourceTraRouting"` - TargetTraRouting *RouteToLocation `json:"targetTraRouting,omitempty" yaml:"targetTraRouting" bson:"targetTraRouting" mapstructure:"TargetTraRouting"` - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac" mapstructure:"UeMac"` - AdIpv4Addr string `json:"adIpv4Addr,omitempty" yaml:"adIpv4Addr" bson:"adIpv4Addr" mapstructure:"AdIpv4Addr"` - AdIpv6Prefix string `json:"adIpv6Prefix,omitempty" yaml:"adIpv6Prefix" bson:"adIpv6Prefix" mapstructure:"AdIpv6Prefix"` - ReIpv4Addr string `json:"reIpv4Addr,omitempty" yaml:"reIpv4Addr" bson:"reIpv4Addr" mapstructure:"ReIpv4Addr"` - ReIpv6Prefix string `json:"reIpv6Prefix,omitempty" yaml:"reIpv6Prefix" bson:"reIpv6Prefix" mapstructure:"ReIpv6Prefix"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType" mapstructure:"AccType"` - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId" mapstructure:"PduSeId"` + // Identifies an NEF Northbound interface transaction, generated by the AF. + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + SourceTrafficRoute *RouteToLocation `json:"sourceTrafficRoute,omitempty" yaml:"sourceTrafficRoute" bson:"sourceTrafficRoute,omitempty"` + SubscribedEvent SubscribedEvent `json:"subscribedEvent" yaml:"subscribedEvent" bson:"subscribedEvent,omitempty"` + TargetTrafficRoute *RouteToLocation `json:"targetTrafficRoute,omitempty" yaml:"targetTrafficRoute" bson:"targetTrafficRoute,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + SrcUeIpv4Addr string `json:"srcUeIpv4Addr,omitempty" yaml:"srcUeIpv4Addr" bson:"srcUeIpv4Addr,omitempty"` + SrcUeIpv6Prefix string `json:"srcUeIpv6Prefix,omitempty" yaml:"srcUeIpv6Prefix" bson:"srcUeIpv6Prefix,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + TgtUeIpv4Addr string `json:"tgtUeIpv4Addr,omitempty" yaml:"tgtUeIpv4Addr" bson:"tgtUeIpv4Addr,omitempty"` + TgtUeIpv6Prefix string `json:"tgtUeIpv6Prefix,omitempty" yaml:"tgtUeIpv6Prefix" bson:"tgtUeIpv6Prefix,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + AfAckUri string `json:"afAckUri,omitempty" yaml:"afAckUri" bson:"afAckUri,omitempty"` } diff --git a/models/model_event_param_report.go b/models/model_event_param_report.go new file mode 100644 index 00000000..5568c930 --- /dev/null +++ b/models/model_event_param_report.go @@ -0,0 +1,35 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a summarized report for one event parameter. +type EventParamReport struct { + // The name of the reported parameter. + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // The list of values of the reported parameter. + Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + Area *NetworkAreaInfo `json:"area,omitempty" yaml:"area" bson:"area,omitempty"` + Spacing *NumberAverage `json:"spacing,omitempty" yaml:"spacing" bson:"spacing,omitempty"` + Duration *NumberAverage `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + AvgAndVar *NumberAverage `json:"avgAndVar,omitempty" yaml:"avgAndVar" bson:"avgAndVar,omitempty"` + MostFreqVal map[string]interface{} `json:"mostFreqVal,omitempty" yaml:"mostFreqVal" bson:"mostFreqVal,omitempty"` + LeastFreqVal map[string]interface{} `json:"leastFreqVal,omitempty" yaml:"leastFreqVal" bson:"leastFreqVal,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Count int32 `json:"count,omitempty" yaml:"count" bson:"count,omitempty"` + // The minimum value of the parameter. + MinValue string `json:"minValue,omitempty" yaml:"minValue" bson:"minValue,omitempty"` + // The maximum value of the parameter. + MaxValue string `json:"maxValue,omitempty" yaml:"maxValue" bson:"maxValue,omitempty"` +} diff --git a/models/model_event_report_message.go b/models/model_event_report_message.go new file mode 100644 index 00000000..ad4e5e82 --- /dev/null +++ b/models/model_event_report_message.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates an event report message. +type EventReportMessage struct { + EventClass EventClass `json:"eventClass" yaml:"eventClass" bson:"eventClass,omitempty"` + EventContent *RefToBinaryData `json:"eventContent" yaml:"eventContent" bson:"eventContent,omitempty"` +} diff --git a/models/model_event_report_mode.go b/models/model_event_report_mode.go new file mode 100644 index 00000000..cde5ecc4 --- /dev/null +++ b/models/model_event_report_mode.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventReportMode string + +// List of EventReportMode +const ( + EventReportMode_PERIODIC EventReportMode = "PERIODIC" + EventReportMode_ON_EVENT_DETECTION EventReportMode = "ON_EVENT_DETECTION" +) diff --git a/models/model_event_reporting_requirement.go b/models/model_event_reporting_requirement.go new file mode 100644 index 00000000..e7417b4e --- /dev/null +++ b/models/model_event_reporting_requirement.go @@ -0,0 +1,41 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the type of reporting that the subscription requires. +type EventReportingRequirement struct { + Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` + // Each element indicates the preferred accuracy level per analytics subset. It may be present if the \"listOfAnaSubsets\" attribute is present in the subscription request when the subscription event is NF_LOAD, UE_COMM, DISPERSION, NETWORK_PERFORMANCE, WLAN_PERFORMANCE, DN_PERFORMANCE or SERVICE_EXPERIENCE. + AccPerSubset []NwdafEventsSubscriptionAccuracy `json:"accPerSubset,omitempty" yaml:"accPerSubset" bson:"accPerSubset,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` + // Offset period in units of seconds to the reporting time, if the value is negative means statistics in the past offset period, otherwise a positive value means prediction in the future offset period. May be present if the \"repPeriod\" attribute is included within the \"evtReq\" attribute. + OffsetPeriod int32 `json:"offsetPeriod,omitempty" yaml:"offsetPeriod" bson:"offsetPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxObjectNbr int32 `json:"maxObjectNbr,omitempty" yaml:"maxObjectNbr" bson:"maxObjectNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxSupiNbr int32 `json:"maxSupiNbr,omitempty" yaml:"maxSupiNbr" bson:"maxSupiNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeAnaNeeded *time.Time `json:"timeAnaNeeded,omitempty" yaml:"timeAnaNeeded" bson:"timeAnaNeeded,omitempty"` + AnaMeta []AnalyticsMetadata `json:"anaMeta,omitempty" yaml:"anaMeta" bson:"anaMeta,omitempty"` + AnaMetaInd *AnalyticsMetadataIndication `json:"anaMetaInd,omitempty" yaml:"anaMetaInd" bson:"anaMetaInd,omitempty"` + HistAnaTimePeriod *TimeWindow `json:"histAnaTimePeriod,omitempty" yaml:"histAnaTimePeriod" bson:"histAnaTimePeriod,omitempty"` +} diff --git a/models/model_event_reporting_status.go b/models/model_event_reporting_status.go new file mode 100644 index 00000000..72424a7a --- /dev/null +++ b/models/model_event_reporting_status.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the status of event reporting. +type EventReportingStatus struct { + // Number of event reports received from the target UE. + EventReportCounter int32 `json:"eventReportCounter,omitempty" yaml:"eventReportCounter" bson:"eventReportCounter,omitempty"` + // Duration of event reporting. + EventReportDuration int32 `json:"eventReportDuration,omitempty" yaml:"eventReportDuration" bson:"eventReportDuration,omitempty"` +} diff --git a/models/model_event_subscription.go b/models/model_event_subscription.go index 29c5b1c1..77d6ed90 100644 --- a/models/model_event_subscription.go +++ b/models/model_event_subscription.go @@ -1,15 +1,21 @@ /* * Nsmf_EventExposure * - * Session Management Event Exposure Service API + * Session Management Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.508 V16.8.0; 5G System; Session Management Event Exposure Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type EventSubscription struct { - Event SmfEvent `json:"event" yaml:"event" bson:"event" mapstructure:"Event"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType" mapstructure:"DnaiChgType"` + Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty" yaml:"dddTraDescriptors" bson:"dddTraDescriptors,omitempty"` + DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty" yaml:"dddStati" bson:"dddStati,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` } diff --git a/models/model_event_type.go b/models/model_event_type.go index 1c7f1dc7..c18edac6 100644 --- a/models/model_event_type.go +++ b/models/model_event_type.go @@ -1,9 +1,12 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -20,5 +23,9 @@ const ( EventType_CHANGE_OF_SUPI_PEI_ASSOCIATION EventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION" EventType_ROAMING_STATUS EventType = "ROAMING_STATUS" EventType_COMMUNICATION_FAILURE EventType = "COMMUNICATION_FAILURE" - EventType_AVAILABILITY_AFTER_DNN_FAILURE EventType = "AVAILABILITY_AFTER_DNN_FAILURE" + EventType_AVAILABILITY_AFTER_DDN_FAILURE EventType = "AVAILABILITY_AFTER_DDN_FAILURE" + EventType_CN_TYPE_CHANGE EventType = "CN_TYPE_CHANGE" + EventType_DL_DATA_DELIVERY_STATUS EventType = "DL_DATA_DELIVERY_STATUS" + EventType_PDN_CONNECTIVITY_STATUS EventType = "PDN_CONNECTIVITY_STATUS" + EventType_UE_CONNECTION_MANAGEMENT_STATE EventType = "UE_CONNECTION_MANAGEMENT_STATE" ) diff --git a/models/model_events_notification.go b/models/model_events_notification.go index 6f3e6638..6cec1d3e 100644 --- a/models/model_events_notification.go +++ b/models/model_events_notification.go @@ -1,24 +1,46 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + // describes the notification of a matched event type EventsNotification struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr" mapstructure:"AnGwAddr"` - // string providing an URI formatted according to IETF RFC 3986. - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri" mapstructure:"EvSubsUri"` - EvNotifs []AfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs" mapstructure:"EvNotifs"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports" mapstructure:"FailedResourcAllocReports"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - QncReports []QosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports" mapstructure:"QncReports"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep" mapstructure:"UsgRep"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` + AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` + EvNotifs []AfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` + FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` + SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` + NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` + OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + QncReports []PolicyAuthQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []QosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` } diff --git a/models/model_events_subs.go b/models/model_events_subs.go new file mode 100644 index 00000000..de50f028 --- /dev/null +++ b/models/model_events_subs.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event to be subscribed and the related event filter information. +type EventsSubs struct { + Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + EventFilter *AfEventExposureEventFilter `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` +} diff --git a/models/model_events_subsc_put_data.go b/models/model_events_subsc_put_data.go new file mode 100644 index 00000000..0a567215 --- /dev/null +++ b/models/model_events_subsc_put_data.go @@ -0,0 +1,62 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies the events the application subscribes to within an Events Subscription sub-resource data. It may contain the notification of the already met events. +type EventsSubscPutData struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + // Includes the detected application report. + AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` + AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + // String providing an URI formatted according to RFC 3986. + EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` + EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` + FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` + SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` + NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` + OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/model_events_subsc_req_data.go b/models/model_events_subsc_req_data.go index ccc75245..94bbab0f 100644 --- a/models/model_events_subsc_req_data.go +++ b/models/model_events_subsc_req_data.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,8 +14,11 @@ package models // Identifies the events the application subscribes to. type EventsSubscReqData struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events" mapstructure:"Events"` - // string providing an URI formatted according to IETF RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres" mapstructure:"UsgThres"` + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *QosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` } diff --git a/models/model_events_subsc_req_data_rm.go b/models/model_events_subsc_req_data_rm.go index 2b922f6c..11346016 100644 --- a/models/model_events_subsc_req_data_rm.go +++ b/models/model_events_subsc_req_data_rm.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,8 +14,11 @@ package models // this data type is defined in the same way as the EventsSubscReqData data type, but with the OpenAPI nullable property set to true. type EventsSubscReqDataRm struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events" mapstructure:"Events"` - // string providing an URI formatted according to IETF RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres" mapstructure:"UsgThres"` + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *QosMonitoringInformationRm `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` } diff --git a/models/model_exception.go b/models/model_exception.go new file mode 100644 index 00000000..364a0628 --- /dev/null +++ b/models/model_exception.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Exception information. +type Exception struct { + ExcepId ExceptionId `json:"excepId" yaml:"excepId" bson:"excepId,omitempty"` + ExcepLevel int32 `json:"excepLevel,omitempty" yaml:"excepLevel" bson:"excepLevel,omitempty"` + ExcepTrend ExceptionTrend `json:"excepTrend,omitempty" yaml:"excepTrend" bson:"excepTrend,omitempty"` +} diff --git a/models/model_exception_id.go b/models/model_exception_id.go new file mode 100644 index 00000000..545c2440 --- /dev/null +++ b/models/model_exception_id.go @@ -0,0 +1,28 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExceptionId string + +// List of ExceptionId +const ( + ExceptionId_UNEXPECTED_UE_LOCATION ExceptionId = "UNEXPECTED_UE_LOCATION" + ExceptionId_UNEXPECTED_LONG_LIVE_FLOW ExceptionId = "UNEXPECTED_LONG_LIVE_FLOW" + ExceptionId_UNEXPECTED_LARGE_RATE_FLOW ExceptionId = "UNEXPECTED_LARGE_RATE_FLOW" + ExceptionId_UNEXPECTED_WAKEUP ExceptionId = "UNEXPECTED_WAKEUP" + ExceptionId_SUSPICION_OF_DDOS_ATTACK ExceptionId = "SUSPICION_OF_DDOS_ATTACK" + ExceptionId_WRONG_DESTINATION_ADDRESS ExceptionId = "WRONG_DESTINATION_ADDRESS" + ExceptionId_TOO_FREQUENT_SERVICE_ACCESS ExceptionId = "TOO_FREQUENT_SERVICE_ACCESS" + ExceptionId_UNEXPECTED_RADIO_LINK_FAILURES ExceptionId = "UNEXPECTED_RADIO_LINK_FAILURES" + ExceptionId_PING_PONG_ACROSS_CELLS ExceptionId = "PING_PONG_ACROSS_CELLS" +) diff --git a/models/model_exception_info.go b/models/model_exception_info.go new file mode 100644 index 00000000..3e281f37 --- /dev/null +++ b/models/model_exception_info.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the exceptions information provided by the AF. +type ExceptionInfo struct { + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` + Exceps []Exception `json:"exceps" yaml:"exceps" bson:"exceps,omitempty"` +} diff --git a/models/model_exception_trend.go b/models/model_exception_trend.go new file mode 100644 index 00000000..59a95091 --- /dev/null +++ b/models/model_exception_trend.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExceptionTrend string + +// List of ExceptionTrend +const ( + ExceptionTrend_UP ExceptionTrend = "UP" + ExceptionTrend_DOWN ExceptionTrend = "DOWN" + ExceptionTrend_UNKNOW ExceptionTrend = "UNKNOW" + ExceptionTrend_STABLE ExceptionTrend = "STABLE" +) diff --git a/models/model_exemption_ind.go b/models/model_exemption_ind.go new file mode 100644 index 00000000..068864cc --- /dev/null +++ b/models/model_exemption_ind.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Exemption Indication +type ExemptionInd struct { + DnnCongestion bool `json:"dnnCongestion,omitempty" yaml:"dnnCongestion" bson:"dnnCongestion,omitempty"` + SnssaiOnlyCongestion bool `json:"snssaiOnlyCongestion,omitempty" yaml:"snssaiOnlyCongestion" bson:"snssaiOnlyCongestion,omitempty"` + SnssaiDnnCongestion bool `json:"snssaiDnnCongestion,omitempty" yaml:"snssaiDnnCongestion" bson:"snssaiDnnCongestion,omitempty"` +} diff --git a/models/model_expected_analytics_type.go b/models/model_expected_analytics_type.go new file mode 100644 index 00000000..930b647d --- /dev/null +++ b/models/model_expected_analytics_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExpectedAnalyticsType string + +// List of ExpectedAnalyticsType +const ( + ExpectedAnalyticsType_MOBILITY ExpectedAnalyticsType = "MOBILITY" + ExpectedAnalyticsType_COMMUN ExpectedAnalyticsType = "COMMUN" + ExpectedAnalyticsType_MOBILITY_AND_COMMUN ExpectedAnalyticsType = "MOBILITY_AND_COMMUN" +) diff --git a/models/model_expected_ue_behavior.go b/models/model_expected_ue_behavior.go index 7076e2f5..5ae2c1f7 100644 --- a/models/model_expected_ue_behavior.go +++ b/models/model_expected_ue_behavior.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,9 @@ import ( "time" ) +// Represents the expected UE behavior (e.g. UE moving trajectory) and its validity period type ExpectedUeBehavior struct { - ExpMoveTrajectory []UserLocation `json:"expMoveTrajectory"` - ValidityTime *time.Time `json:"validityTime"` + ExpMoveTrajectory []UserLocation `json:"expMoveTrajectory" yaml:"expMoveTrajectory" bson:"expMoveTrajectory,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime" yaml:"validityTime" bson:"validityTime,omitempty"` } diff --git a/models/model_expected_ue_behaviour.go b/models/model_expected_ue_behaviour.go new file mode 100644 index 00000000..d88dfe1c --- /dev/null +++ b/models/model_expected_ue_behaviour.go @@ -0,0 +1,37 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ExpectedUeBehaviour struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. + ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_expected_ue_behaviour_data.go b/models/model_expected_ue_behaviour_data.go new file mode 100644 index 00000000..c928905d --- /dev/null +++ b/models/model_expected_ue_behaviour_data.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ExpectedUeBehaviourData struct { + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. + ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_exposure_data_change_notification.go b/models/model_exposure_data_change_notification.go index ca60c1a3..b8d60387 100644 --- a/models/model_exposure_data_change_notification.go +++ b/models/model_exposure_data_change_notification.go @@ -1,16 +1,22 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents changed exposure data for one UE for which Notification was requested. type ExposureDataChangeNotification struct { - UeId string `json:"ueId,omitempty" bson:"ueId"` - AccessAndMobilityData *AccessAndMobilityData `json:"accessAndMobilityData,omitempty" bson:"accessAndMobilityData"` - PduSessionManagementData []PduSessionManagementData `json:"pduSessionManagementData,omitempty" bson:"pduSessionManagementData"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + AccessAndMobilityData *AccessAndMobilityData `json:"accessAndMobilityData,omitempty" yaml:"accessAndMobilityData" bson:"accessAndMobilityData,omitempty"` + PduSessionManagementData []PduSessionManagementData `json:"pduSessionManagementData,omitempty" yaml:"pduSessionManagementData" bson:"pduSessionManagementData,omitempty"` + DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` } diff --git a/models/model_exposure_data_subscription.go b/models/model_exposure_data_subscription.go index 2527997e..630e5057 100644 --- a/models/model_exposure_data_subscription.go +++ b/models/model_exposure_data_subscription.go @@ -1,17 +1,29 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Represents a Subscription to Notifications about Exposure Data. type ExposureDataSubscription struct { - // string providing an URI formatted according to IETF RFC 3986. - NotificationUri string `json:"notificationUri" bson:"notificationUri"` - MonitoredResourceUris []string `json:"monitoredResourceUris" bson:"monitoredResourceUris"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_ext_amf_event_subscription.go b/models/model_ext_amf_event_subscription.go new file mode 100644 index 00000000..5e9dd01b --- /dev/null +++ b/models/model_ext_amf_event_subscription.go @@ -0,0 +1,47 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF event subscription extended with additional information received for the subscription +type ExtAmfEventSubscription struct { + EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` + Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` + SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` + BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` + SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` + EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` + NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` + // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. + AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` +} diff --git a/models/model_ext_problem_details.go b/models/model_ext_problem_details.go index 53f9a7a4..9a2709f7 100644 --- a/models/model_ext_problem_details.go +++ b/models/model_ext_problem_details.go @@ -1,36 +1,28 @@ /* - * Nbsf_Management + * Nsmf_PDUSession * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.1.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ExtProblemDetails struct { - Type string `json:"type,omitempty" bson:"type"` - - Title string `json:"title,omitempty" bson:"title"` - - Status int32 `json:"status,omitempty" bson:"status"` - - Detail string `json:"detail,omitempty" bson:"detail"` - - Instance string `json:"instance,omitempty" bson:"instance"` - - Cause string `json:"cause,omitempty" bson:"cause"` - - InvalidParams []InvalidParam `json:"invalidParams,omitempty" bson:"invalidParams"` - - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` - - TargetScp string `json:"targetScp,omitempty" bson:"targetScp"` - - // Fully Qualified Domain Name - PcfSmFqdn string `json:"pcfSmFqdn,omitempty" bson:"pcfSmFqdn"` - - // IP end points of the PCF hosting the Npcf_SMPolicyControl service. - PcfSmIpEndPoints []IpEndPoint `json:"pcfSmIpEndPoints,omitempty" bson:"pcfSmIpEndPoints"` + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` } diff --git a/models/model_ext_snssai.go b/models/model_ext_snssai.go new file mode 100644 index 00000000..75699ce9 --- /dev/null +++ b/models/model_ext_snssai.go @@ -0,0 +1,25 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The sdRanges and wildcardSd attributes shall be exclusive from each other. If one of these attributes is present, the sd attribute shall also be present and it shall contain one Slice Differentiator value within the range of SD (if the sdRanges attribute is present) or with any value (if the wildcardSd attribute is present). +type ExtSnssai struct { + // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. + Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` + // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. + Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` + // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type + SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` + // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. + WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` +} diff --git a/models/model_extended_problem_details.go b/models/model_extended_problem_details.go new file mode 100644 index 00000000..883fc75f --- /dev/null +++ b/models/model_extended_problem_details.go @@ -0,0 +1,29 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extends ProblemDetails to also include the acceptable service info. +type ExtendedProblemDetails struct { + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + AcceptableServInfo *AcceptableServiceInfo `json:"acceptableServInfo,omitempty" yaml:"acceptableServInfo" bson:"acceptableServInfo,omitempty"` +} diff --git a/models/model_extended_sm_subs_data.go b/models/model_extended_sm_subs_data.go new file mode 100644 index 00000000..f8b4309f --- /dev/null +++ b/models/model_extended_sm_subs_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains identifiers of shared Session Management Subscription Data and optionally individual Session Management Subscription Data. +type ExtendedSmSubsData struct { + SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` + IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` +} diff --git a/models/model_external_client_type.go b/models/model_external_client_type.go index 905d95b5..67a1f101 100644 --- a/models/model_external_client_type.go +++ b/models/model_external_client_type.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_external_unrelated_class.go b/models/model_external_unrelated_class.go new file mode 100644 index 00000000..d5e6e5b0 --- /dev/null +++ b/models/model_external_unrelated_class.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExternalUnrelatedClass struct { + LcsClientExternals []LcsClientExternal `json:"lcsClientExternals,omitempty" yaml:"lcsClientExternals" bson:"lcsClientExternals,omitempty"` + AfExternals []AfExternal `json:"afExternals,omitempty" yaml:"afExternals" bson:"afExternals,omitempty"` + LcsClientGroupExternals []LcsClientGroupExternal `json:"lcsClientGroupExternals,omitempty" yaml:"lcsClientGroupExternals" bson:"lcsClientGroupExternals,omitempty"` +} diff --git a/models/model_failure.go b/models/model_failure.go new file mode 100644 index 00000000..21becba9 --- /dev/null +++ b/models/model_failure.go @@ -0,0 +1,17 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - UNSPECIFIED: Indicates the PCF received the UE sent UE policy delivery service cause #111 (Protocol error, unspecified). - UE_NOT_REACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable. - UNKNOWN: Indicates unknown reasons upon no response from the UE, e.g. UPDS message type is not defined or not implemented by the UE, or not compatible with the UPDS state, in which the UE shall ignore the UPDS message. - UE_TEMP_UNREACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable but the PCF will retry again. +type Failure struct { +} diff --git a/models/model_failure_cause.go b/models/model_failure_cause.go index 7a1193e6..fd7a9aa6 100644 --- a/models/model_failure_cause.go +++ b/models/model_failure_cause.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,6 +16,9 @@ type FailureCause string // List of FailureCause const ( - FailureCause_RULE_EVENT FailureCause = "PCC_RULE_EVENT" - FailureCause_QOS_FLOW_EVENT FailureCause = "PCC_QOS_FLOW_EVENT" + FailureCause_PCC_RULE_EVENT FailureCause = "PCC_RULE_EVENT" + FailureCause_PCC_QOS_FLOW_EVENT FailureCause = "PCC_QOS_FLOW_EVENT" + FailureCause_RULE_PERMANENT_ERROR FailureCause = "RULE_PERMANENT_ERROR" + FailureCause_RULE_TEMPORARY_ERROR FailureCause = "RULE_TEMPORARY_ERROR" + FailureCause_POL_DEC_ERROR FailureCause = "POL_DEC_ERROR" ) diff --git a/models/model_failure_code.go b/models/model_failure_code.go index a39ce433..a9be9503 100644 --- a/models/model_failure_code.go +++ b/models/model_failure_code.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -29,14 +32,9 @@ const ( FailureCode_FILTER_RES FailureCode = "FILTER_RES" FailureCode_MISS_REDI_SER_ADDR FailureCode = "MISS_REDI_SER_ADDR" FailureCode_CM_END_USER_SER_DENIED FailureCode = "CM_END_USER_SER_DENIED" - FailureCode_CM_CREDIT_CON_NOT_APP FailureCode = "CM_CREDIT_CON_NOT_APP" + FailureCode_CM_CREDIT_CON_NOT_APP FailureCode = "CM_CREDIT_CON_NOT_APP" // #nosec G101 FailureCode_CM_AUTH_REJ FailureCode = "CM_AUTH_REJ" FailureCode_CM_USER_UNK FailureCode = "CM_USER_UNK" FailureCode_CM_RAT_FAILED FailureCode = "CM_RAT_FAILED" FailureCode_UE_STA_SUSP FailureCode = "UE_STA_SUSP" - FailureCode_MALFUNCTION FailureCode = "MALFUNCTION" - FailureCode_RESOURCE_LIMITATION FailureCode = "RESOURCE_LIMITATION" - FailureCode_SHORT_DELAY FailureCode = "SHORT_DELAY" - FailureCode_APP_ID_DUPLICATED FailureCode = "APP_ID_DUPLICATED" - FailureCode_OTHER_REASON FailureCode = "OTHER_REASON" ) diff --git a/models/model_failure_event_info.go b/models/model_failure_event_info.go new file mode 100644 index 00000000..e7c6eb57 --- /dev/null +++ b/models/model_failure_event_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on the event for which the subscription is not successful. +type FailureEventInfo struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + FailureCode NwdafFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/model_failure_event_info_for_ml_model.go b/models/model_failure_event_info_for_ml_model.go new file mode 100644 index 00000000..aed453e2 --- /dev/null +++ b/models/model_failure_event_info_for_ml_model.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the event(s) that the subscription is not successful including the failure reason(s). +type FailureEventInfoForMlModel struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + FailureCode NwdafMlModelProvisionFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/model_failure_handling.go b/models/model_failure_handling.go index 321aa1a6..19ded2f3 100644 --- a/models/model_failure_handling.go +++ b/models/model_failure_handling.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_fetch_instruction.go b/models/model_fetch_instruction.go new file mode 100644 index 00000000..16df3f1e --- /dev/null +++ b/models/model_fetch_instruction.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The fetch instructions indicate whether the data or analytics are to be fetched by the consumer. +type FetchInstruction struct { + // String providing an URI formatted according to RFC 3986. + FetchUri string `json:"fetchUri" yaml:"fetchUri" bson:"fetchUri,omitempty"` + // The fetch correlation identifier(s) of the MFAF Data or Analytics. + FetchCorrIds []string `json:"fetchCorrIds" yaml:"fetchCorrIds" bson:"fetchCorrIds,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` +} diff --git a/models/model_final_unit_action.go b/models/model_final_unit_action.go index 03e5a5e3..afb78734 100644 --- a/models/model_final_unit_action.go +++ b/models/model_final_unit_action.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Nchf_ConvergedCharging * - * Session Management Policy Control Service + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_final_unit_indication.go b/models/model_final_unit_indication.go index b2cd4a23..4f6be3ca 100644 --- a/models/model_final_unit_indication.go +++ b/models/model_final_unit_indication.go @@ -1,17 +1,22 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type FinalUnitIndication struct { - FinalUnitAction FinalUnitAction `json:"finalUnitAction" yaml:"finalUnitAction" bson:"finalUnitAction" mapstructure:"FinalUnitAction"` - RestrictionFilterRule string `json:"restrictionFilterRule,omitempty" yaml:"restrictionFilterRule" bson:"restrictionFilterRule" mapstructure:"RestrictionFilterRule"` - FilterId string `json:"filterId,omitempty" yaml:"filterId" bson:"filterId" mapstructure:"FilterId"` - RedirectServer *RedirectServer `json:"redirectServer,omitempty" yaml:"redirectServer" bson:"redirectServer" mapstructure:"RedirectServer"` + FinalUnitAction FinalUnitAction `json:"finalUnitAction" yaml:"finalUnitAction" bson:"finalUnitAction,omitempty"` + RestrictionFilterRule string `json:"restrictionFilterRule,omitempty" yaml:"restrictionFilterRule" bson:"restrictionFilterRule,omitempty"` + RestrictionFilterRuleList []string `json:"restrictionFilterRuleList,omitempty" yaml:"restrictionFilterRuleList" bson:"restrictionFilterRuleList,omitempty"` + FilterId string `json:"filterId,omitempty" yaml:"filterId" bson:"filterId,omitempty"` + FilterIdList []string `json:"filterIdList,omitempty" yaml:"filterIdList" bson:"filterIdList,omitempty"` + RedirectServer *RedirectServer `json:"redirectServer,omitempty" yaml:"redirectServer" bson:"redirectServer,omitempty"` } diff --git a/models/model_fix_type.go b/models/model_fix_type.go new file mode 100644 index 00000000..c8390490 --- /dev/null +++ b/models/model_fix_type.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FixType string + +// List of FixType +const ( + FixType_FLOAT FixType = "CARRIER_PHASE_FLOAT" + FixType_FIX FixType = "CARRIER_PHASE_FIX" +) diff --git a/models/model_flow_direction.go b/models/model_flow_direction.go index e834671c..f9eec42e 100644 --- a/models/model_flow_direction.go +++ b/models/model_flow_direction.go @@ -1,9 +1,12 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_flow_direction_2.go b/models/model_flow_direction_2.go deleted file mode 100644 index 65e51d01..00000000 --- a/models/model_flow_direction_2.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FlowDirection2 string - -// List of FlowDirection_2 -const ( - FlowDirection2_DOWNLINK FlowDirection2 = "DOWNLINK" - FlowDirection2_UPLINK FlowDirection2 = "UPLINK" - FlowDirection2_BIDIRECTIONAL FlowDirection2 = "BIDIRECTIONAL" - FlowDirection2_UNSPECIFIED FlowDirection2 = "UNSPECIFIED" -) diff --git a/models/model_flow_direction_rm.go b/models/model_flow_direction_rm.go index 5061f23d..750d3021 100644 --- a/models/model_flow_direction_rm.go +++ b/models/model_flow_direction_rm.go @@ -1,20 +1,16 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type FlowDirectionRm string - -// List of FlowDirectionRm -const ( - FlowDirectionRm_DOWNLINK FlowDirectionRm = "DOWNLINK" - FlowDirectionRm_UPLINK FlowDirectionRm = "UPLINK" - FlowDirectionRm_BIDIRECTIONAL FlowDirectionRm = "BIDIRECTIONAL" - FlowDirectionRm_UNSPECIFIED FlowDirectionRm = "UNSPECIFIED" -) +type FlowDirectionRm struct { +} diff --git a/models/model_flow_info.go b/models/model_flow_info.go index 685af185..623411b2 100644 --- a/models/model_flow_info.go +++ b/models/model_flow_info.go @@ -1,17 +1,21 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents IP flow information. type FlowInfo struct { - // Indicates the IP flow. - FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId" mapstructure:"FlowId"` - // Indicates the packet filters of the IP flow. Refer to subclause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions" mapstructure:"FlowDescriptions"` + // Indicates the IP flow identifier. + FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` + // Indicates the packet filters of the IP flow. Refer to clause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description. + FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` } diff --git a/models/model_flow_information.go b/models/model_flow_information.go index acd7ca49..59b9b75a 100644 --- a/models/model_flow_information.go +++ b/models/model_flow_information.go @@ -1,27 +1,31 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the flow information. type FlowInformation struct { - // Defines a packet filter for an IP flow.Refer to subclause 5.4.2 of 3GPP TS 29.212 [23] for encoding. - FlowDescription string `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription" mapstructure:"FlowDescription"` - EthFlowDescription *EthFlowDescription `json:"ethFlowDescription,omitempty" yaml:"ethFlowDescription" bson:"ethFlowDescription" mapstructure:"EthFlowDescription"` + // Defines a packet filter for an IP flow. + FlowDescription string `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` + EthFlowDescription *EthFlowDescription `json:"ethFlowDescription,omitempty" yaml:"ethFlowDescription" bson:"ethFlowDescription,omitempty"` // An identifier of packet filter. - PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId" mapstructure:"PackFiltId"` + PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` // The packet shall be sent to the UE. - PacketFilterUsage bool `json:"packetFilterUsage,omitempty" yaml:"packetFilterUsage" bson:"packetFilterUsage" mapstructure:"PacketFilterUsage"` + PacketFilterUsage bool `json:"packetFilterUsage,omitempty" yaml:"packetFilterUsage" bson:"packetFilterUsage,omitempty"` // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. - TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass" mapstructure:"TosTrafficClass"` + TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` // the security parameter index of the IPSec packet. - Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi" mapstructure:"Spi"` + Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` // the Ipv6 flow label header field. - FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel" mapstructure:"FlowLabel"` - FlowDirection FlowDirectionRm `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection" mapstructure:"FlowDirection"` + FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` } diff --git a/models/model_flow_status.go b/models/model_flow_status.go index 19aac497..26b95090 100644 --- a/models/model_flow_status.go +++ b/models/model_flow_status.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_PolicyAuthorization Service API * - * Session Management Policy Control Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_flow_usage.go b/models/model_flow_usage.go index b53d2da7..bcf7f931 100644 --- a/models/model_flow_usage.go +++ b/models/model_flow_usage.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,6 +16,7 @@ type FlowUsage string // List of FlowUsage const ( - FlowUsage_NO_INFO FlowUsage = "NO_INFO" - FlowUsage_RTCP FlowUsage = "RTCP" + FlowUsage_NO_INFO FlowUsage = "NO_INFO" + FlowUsage_RTCP FlowUsage = "RTCP" + FlowUsage_AF_SIGNALLING FlowUsage = "AF_SIGNALLING" ) diff --git a/models/model_flows.go b/models/model_flows.go index c63ff9ef..c433d92a 100644 --- a/models/model_flows.go +++ b/models/model_flows.go @@ -1,17 +1,20 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Identifies the flows +// Identifies the flows. type Flows struct { - ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers" mapstructure:"ContVers"` - FNums []int32 `json:"fNums,omitempty" yaml:"fNums" bson:"fNums" mapstructure:"FNums"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN" mapstructure:"MedCompN"` + ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` + FNums []int32 `json:"fNums,omitempty" yaml:"fNums" bson:"fNums,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` } diff --git a/models/model_formatting_instruction.go b/models/model_formatting_instruction.go new file mode 100644 index 00000000..cdf3f380 --- /dev/null +++ b/models/model_formatting_instruction.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains data or analytics formatting instructions. +type FormattingInstruction struct { + // Indicates that notifications shall be buffered until the NF service consumer requests their delivery. + ConsTrigNotif bool `json:"consTrigNotif,omitempty" yaml:"consTrigNotif" bson:"consTrigNotif,omitempty"` + ReportingOptions *DccfDataManagementReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` +} diff --git a/models/model_fqdn_pattern_matching_rule.go b/models/model_fqdn_pattern_matching_rule.go new file mode 100644 index 00000000..aa65e089 --- /dev/null +++ b/models/model_fqdn_pattern_matching_rule.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// a matching rule for a FQDN pattern +type FqdnPatternMatchingRule struct { + Regex string `json:"regex,omitempty" yaml:"regex" bson:"regex,omitempty"` + StringMatchingRule *StringMatchingRule `json:"stringMatchingRule,omitempty" yaml:"stringMatchingRule" bson:"stringMatchingRule,omitempty"` +} diff --git a/models/model_frame_route_info.go b/models/model_frame_route_info.go new file mode 100644 index 00000000..39706741 --- /dev/null +++ b/models/model_frame_route_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FrameRouteInfo struct { + // \"String identifying a IPv4 address mask formatted in the 'dotted decimal' notation as defined in RFC 1166.\" + Ipv4Mask string `json:"ipv4Mask,omitempty" yaml:"ipv4Mask" bson:"ipv4Mask,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/model_g_nb_id.go b/models/model_g_nb_id.go index bc04dc23..7e26e8fc 100644 --- a/models/model_g_nb_id.go +++ b/models/model_g_nb_id.go @@ -1,15 +1,21 @@ /* - * Namf_Location + * Nhss_imsSDM * - * AMF Location Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides the G-NB identifier. type GNbId struct { - BitLength int32 `json:"bitLength" yaml:"bitLength" bson:"bitLength" mapstructure:"BitLength"` - GNBValue string `json:"gNBValue" yaml:"gNBValue" bson:"gNBValue" mapstructure:"GNBValue"` + // Unsigned integer representing the bit length of the gNB ID as defined in clause 9.3.1.6 of 3GPP TS 38.413 [11], within the range 22 to 32. + BitLength int32 `json:"bitLength" yaml:"bitLength" bson:"bitLength,omitempty"` + // This represents the identifier of the gNB. The value of the gNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, the most significant character representing the padding 0 if required together with the 4 most significant bits of the gNB ID shall appear first in the string, and the character representing the 4 least significant bit of the gNB ID shall appear last in the string. + GNBValue string `json:"gNBValue" yaml:"gNBValue" bson:"gNBValue,omitempty"` } diff --git a/models/model_gad_shape.go b/models/model_gad_shape.go index 94731315..9f5c73c3 100644 --- a/models/model_gad_shape.go +++ b/models/model_gad_shape.go @@ -1,14 +1,18 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Common base type for GAD shapes. type GadShape struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` } diff --git a/models/model_gba_auth_type.go b/models/model_gba_auth_type.go new file mode 100644 index 00000000..cffd1f4e --- /dev/null +++ b/models/model_gba_auth_type.go @@ -0,0 +1,20 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthType string + +// List of GbaAuthType +const ( + GbaAuthType_DIGEST_AKAV1_MD5 GbaAuthType = "DIGEST_AKAV1_MD5" +) diff --git a/models/model_gba_authentication_info_request.go b/models/model_gba_authentication_info_request.go new file mode 100644 index 00000000..79b4d88f --- /dev/null +++ b/models/model_gba_authentication_info_request.go @@ -0,0 +1,20 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthenticationInfoRequest struct { + AuthType GbaAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_gba_authentication_info_result.go b/models/model_gba_authentication_info_result.go new file mode 100644 index 00000000..82c91036 --- /dev/null +++ b/models/model_gba_authentication_info_result.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthenticationInfoResult struct { + Var3gAkaAv *Model3GAkaAv `json:"3gAkaAv,omitempty" yaml:"3gAkaAv" bson:"3gAkaAv,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_gbr_qos_flow_information.go b/models/model_gbr_qos_flow_information.go index 91a5de83..820afc30 100644 --- a/models/model_gbr_qos_flow_information.go +++ b/models/model_gbr_qos_flow_information.go @@ -1,20 +1,24 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type GbrQosFlowInformation struct { - MaxFbrDl string `json:"maxFbrDl"` - MaxFbrUl string `json:"maxFbrUl"` - GuaFbrDl string `json:"guaFbrDl"` - GuaFbrUl string `json:"guaFbrUl"` - NotifControl NotificationControl `json:"notifControl,omitempty"` - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty"` - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty"` + MaxFbrDl string `json:"maxFbrDl" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` + MaxFbrUl string `json:"maxFbrUl" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` + GuaFbrDl string `json:"guaFbrDl" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + GuaFbrUl string `json:"guaFbrUl" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` + NotifControl NotificationControl `json:"notifControl,omitempty" yaml:"notifControl" bson:"notifControl,omitempty"` + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + AlternativeQosProfileList []AlternativeQosProfile `json:"alternativeQosProfileList,omitempty" yaml:"alternativeQosProfileList" bson:"alternativeQosProfileList,omitempty"` } diff --git a/models/model_geo_loc.go b/models/model_geo_loc.go new file mode 100644 index 00000000..dca19d9c --- /dev/null +++ b/models/model_geo_loc.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GeoLoc struct { + GeographicalCoordinates *GeographicalCoordinates `json:"geographicalCoordinates,omitempty" yaml:"geographicalCoordinates" bson:"geographicalCoordinates,omitempty"` + CivicLocation string `json:"civicLocation,omitempty" yaml:"civicLocation" bson:"civicLocation,omitempty"` +} diff --git a/models/model_geo_service_area.go b/models/model_geo_service_area.go new file mode 100644 index 00000000..2a7c81ac --- /dev/null +++ b/models/model_geo_service_area.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of geographic area or list of civic address info +type GeoServiceArea struct { + GeographicAreaList []GeographicArea `json:"geographicAreaList,omitempty" yaml:"geographicAreaList" bson:"geographicAreaList,omitempty"` + CivicAddressList []CivicAddress `json:"civicAddressList,omitempty" yaml:"civicAddressList" bson:"civicAddressList,omitempty"` +} diff --git a/models/model_geographic_area.go b/models/model_geographic_area.go index 3d2e0ed9..9bc925df 100644 --- a/models/model_geographic_area.go +++ b/models/model_geographic_area.go @@ -1,25 +1,38 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Geographic area specified by different shape. type GeographicArea struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse"` - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence"` - PointList []GeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList"` - Altitude float32 `json:"altitude" yaml:"altitude" bson:"altitude"` - UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude"` - InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius"` - UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius"` - OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle"` - IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of uncertainty. + Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` + // List of points. + PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` + // Indicates value of uncertainty. + UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` + // Indicates value of the inner radius. + InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` + // Indicates value of uncertainty. + UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` + // Indicates value of angle. + OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` + // Indicates value of angle. + IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` } diff --git a/models/model_geographical_area.go b/models/model_geographical_area.go new file mode 100644 index 00000000..f3197fc5 --- /dev/null +++ b/models/model_geographical_area.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains geographical area information (e.g.a civic address or shapes). +type GeographicalArea struct { + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + Shapes *GeographicArea `json:"shapes,omitempty" yaml:"shapes" bson:"shapes,omitempty"` +} diff --git a/models/model_geographical_coordinates.go b/models/model_geographical_coordinates.go index 5ba054b4..057d1c67 100644 --- a/models/model_geographical_coordinates.go +++ b/models/model_geographical_coordinates.go @@ -1,15 +1,18 @@ /* - * Namf_Location + * Nchf_ConvergedCharging * - * AMF Location Service + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type GeographicalCoordinates struct { - Lon float32 `json:"lon" yaml:"lon" bson:"lon"` - Lat float32 `json:"lat" yaml:"lat" bson:"lat"` + Lattitude int32 `json:"lattitude,omitempty" yaml:"lattitude" bson:"lattitude,omitempty"` + Longitude int32 `json:"longitude,omitempty" yaml:"longitude" bson:"longitude,omitempty"` } diff --git a/models/model_gera_location.go b/models/model_gera_location.go index 15f2d826..b64a24f3 100644 --- a/models/model_gera_location.go +++ b/models/model_gera_location.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,16 +16,24 @@ import ( "time" ) +// Exactly one of cgi, sai or lai shall be present. type GeraLocation struct { - LocationNumber string `json:"locationNumber,omitempty" yaml:"locationNumber" bson:"locationNumber" mapstructure:"LocationNumber"` - Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi" mapstructure:"Cgi"` - Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai" mapstructure:"Rai"` - Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai" mapstructure:"Sai"` - Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai" mapstructure:"Lai"` - VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber" mapstructure:"VlrNumber"` - MscNumber string `json:"mscNumber,omitempty" yaml:"mscNumber" bson:"mscNumber" mapstructure:"MscNumber"` - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation" mapstructure:"AgeOfLocationInformation"` - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp" mapstructure:"UeLocationTimestamp"` - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation" mapstructure:"GeographicalInformation"` - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation" mapstructure:"GeodeticInformation"` + // Location number within the PLMN. See 3GPP TS 23.003, clause 4.5. + LocationNumber string `json:"locationNumber,omitempty" yaml:"locationNumber" bson:"locationNumber,omitempty"` + Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` + Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` + Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` + Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` + // VLR number. See 3GPP TS 23.003 clause 5.1. + VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + // MSC number. See 3GPP TS 23.003 clause 5.1. + MscNumber string `json:"mscNumber,omitempty" yaml:"mscNumber" bson:"mscNumber,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location.See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` } diff --git a/models/model_global_ran_node_id.go b/models/model_global_ran_node_id.go index 3429120d..4d6ae95d 100644 --- a/models/model_global_ran_node_id.go +++ b/models/model_global_ran_node_id.go @@ -1,22 +1,31 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// One of the six attributes n3IwfId, gNbIdm, ngeNbId, wagfId, tngfId, eNbId shall be present. type GlobalRanNodeId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId" mapstructure:"N3IwfId"` - GNbId *GNbId `json:"gNbId,omitempty" yaml:"gNbId" bson:"gNbId" mapstructure:"GNbId"` - NgeNbId string `json:"ngeNbId,omitempty" yaml:"ngeNbId" bson:"ngeNbId" mapstructure:"NgeNbId"` - WagfId string `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId" mapstructure:"WagfId"` - TngfId string `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId" mapstructure:"TngfId"` - TwifId string `json:"twifId,omitempty" yaml:"twifId" bson:"twifId" mapstructure:"TwifId"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid" mapstructure:"Nid"` - ENbId string `json:"eNbId,omitempty" yaml:"eNbId" bson:"eNbId" mapstructure:"ENbId"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the identifier of the N3IWF ID as specified in clause 9.3.1.57 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. + N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + GNbId *GNbId `json:"gNbId,omitempty" yaml:"gNbId" bson:"gNbId,omitempty"` + // This represents the identifier of the ng-eNB ID as specified in clause 9.3.1.8 of 3GPP TS 38.413. The value of the ng-eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the ng-eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the ng-eNB ID (to form a nibble) shall appear last in the string. + NgeNbId string `json:"ngeNbId,omitempty" yaml:"ngeNbId" bson:"ngeNbId,omitempty"` + // This represents the identifier of the W-AGF ID as specified in clause 9.3.1.162 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the W-AGF ID shall appear first in the string, and the character representing the 4 least significant bit of the W-AGF ID shall appear last in the string. + WagfId string `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` + // This represents the identifier of the TNGF ID as specified in clause 9.3.1.161 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TNGF ID shall appear first in the string, and the character representing the 4 least significant bit of the TNGF ID shall appear last in the string. + TngfId string `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` + // This represents the identifier of the eNB ID as specified in clause 9.2.1.37 of 3GPP TS 36.413. The string shall be formatted with the following pattern '^('MacroeNB-[A-Fa-f0-9]{5}|LMacroeNB-[A-Fa-f0-9]{6}|SMacroeNB-[A-Fa-f0-9]{5} |HomeeNB-[A-Fa-f0-9]{7})$'. The value of the eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the eNB ID (to form a nibble) shall appear last in the string. + ENbId string `json:"eNbId,omitempty" yaml:"eNbId" bson:"eNbId,omitempty"` } diff --git a/models/model_gmlc_info.go b/models/model_gmlc_info.go new file mode 100644 index 00000000..369a3eac --- /dev/null +++ b/models/model_gmlc_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a GMLC NF Instance +type GmlcInfo struct { + ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` + GmlcNumbers []string `json:"gmlcNumbers,omitempty" yaml:"gmlcNumbers" bson:"gmlcNumbers,omitempty"` +} diff --git a/models/model_gnss_id.go b/models/model_gnss_id.go index d59ac259..fec61bbd 100644 --- a/models/model_gnss_id.go +++ b/models/model_gnss_id.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -19,4 +22,6 @@ const ( GnssId_MODERNIZED_GPS GnssId = "MODERNIZED_GPS" GnssId_QZSS GnssId = "QZSS" GnssId_GLONASS GnssId = "GLONASS" + GnssId_BDS GnssId = "BDS" + GnssId_NAVIC GnssId = "NAVIC" ) diff --git a/models/model_gnss_positioning_method_and_usage.go b/models/model_gnss_positioning_method_and_usage.go index d3c21fa6..e5adff36 100644 --- a/models/model_gnss_positioning_method_and_usage.go +++ b/models/model_gnss_positioning_method_and_usage.go @@ -1,16 +1,20 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates the usage of a Global Navigation Satellite System (GNSS) positioning method. type GnssPositioningMethodAndUsage struct { - Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode"` - Gnss GnssId `json:"gnss" yaml:"gnss" bson:"gnss"` - Usage Usage `json:"usage" yaml:"usage" bson:"usage"` + Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` + Gnss GnssId `json:"gnss" yaml:"gnss" bson:"gnss,omitempty"` + Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` } diff --git a/models/model_gpsi_type.go b/models/model_gpsi_type.go new file mode 100644 index 00000000..95fe313f --- /dev/null +++ b/models/model_gpsi_type.go @@ -0,0 +1,22 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GpsiType string + +// List of GpsiType +const ( + GpsiType_MSISDN GpsiType = "MSISDN" + GpsiType_EXT_ID GpsiType = "EXT_ID" + GpsiType_EXT_GROUP_ID GpsiType = "EXT_GROUP_ID" +) diff --git a/models/model_granted_unit.go b/models/model_granted_unit.go index 361a3a4e..041d9880 100644 --- a/models/model_granted_unit.go +++ b/models/model_granted_unit.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,10 +17,16 @@ import ( ) type GrantedUnit struct { - TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange" mapstructure:"TariffTimeChange"` - Time int32 `json:"time,omitempty" yaml:"time" bson:"time" mapstructure:"Time"` - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits" mapstructure:"ServiceSpecificUnits"` + // string with format 'date-time' as defined in OpenAPI. + TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` } diff --git a/models/model_group_identifiers.go b/models/model_group_identifiers.go new file mode 100644 index 00000000..32ba255e --- /dev/null +++ b/models/model_group_identifiers.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// External or Internal Group Identifier with a list of group members +type GroupIdentifiers struct { + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` + AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` +} diff --git a/models/model_guami.go b/models/model_guami.go index a8d188b0..11d7e601 100644 --- a/models/model_guami.go +++ b/models/model_guami.go @@ -1,15 +1,20 @@ /* - * Nsmf_EventExposure + * LMF Location * - * Session Management Event Exposure Service API + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Globally Unique AMF Identifier constructed out of PLMN, Network and AMF identity. type Guami struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - AmfId string `json:"amfId" yaml:"amfId" bson:"amfId" mapstructure:"AmfId"` + PlmnId *PlmnIdNid `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` } diff --git a/models/model_guami_list_cond.go b/models/model_guami_list_cond.go index f20eb6ea..5055086c 100644 --- a/models/model_guami_list_cond.go +++ b/models/model_guami_list_cond.go @@ -1,14 +1,18 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of AMFs, based on their GUAMIs type GuamiListCond struct { - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList" mapstructure:"GuamiList"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` } diff --git a/models/model_header_sip_request.go b/models/model_header_sip_request.go new file mode 100644 index 00000000..c63ba68a --- /dev/null +++ b/models/model_header_sip_request.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a header (and optionally value of the header) in the SIP request +type HeaderSipRequest struct { + Header string `json:"header" yaml:"header" bson:"header,omitempty"` + Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` +} diff --git a/models/model_hfc_node_id.go b/models/model_hfc_node_id.go index d3b062d6..783a6261 100644 --- a/models/model_hfc_node_id.go +++ b/models/model_hfc_node_id.go @@ -1,14 +1,19 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// REpresents the HFC Node Identifer received over NGAP. type HfcNodeId struct { - HfcNId string `json:"hfcNId" yaml:"hfcNId" bson:"hfcNId" mapstructure:"HfcNId"` + // This IE represents the identifier of the HFC node Id as specified in CableLabs WR-TR-5WWC-ARCH. It is provisioned by the wireline operator as part of wireline operations and may contain up to six characters. + HfcNId string `json:"hfcNId" yaml:"hfcNId" bson:"hfcNId,omitempty"` } diff --git a/models/model_high_accuracy_gnss_metrics.go b/models/model_high_accuracy_gnss_metrics.go new file mode 100644 index 00000000..7f341a03 --- /dev/null +++ b/models/model_high_accuracy_gnss_metrics.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// High Accuracy GNSS Positioning Metrics. +type HighAccuracyGnssMetrics struct { + NrOfUsedSatellites int32 `json:"nrOfUsedSatellites,omitempty" yaml:"nrOfUsedSatellites" bson:"nrOfUsedSatellites,omitempty"` + Hdopi int32 `json:"hdopi,omitempty" yaml:"hdopi" bson:"hdopi,omitempty"` + Pdopi int32 `json:"pdopi,omitempty" yaml:"pdopi" bson:"pdopi,omitempty"` + Age int32 `json:"age,omitempty" yaml:"age" bson:"age,omitempty"` + FixType FixType `json:"fixType,omitempty" yaml:"fixType" bson:"fixType,omitempty"` +} diff --git a/models/model_historical_data.go b/models/model_historical_data.go new file mode 100644 index 00000000..3c16b648 --- /dev/null +++ b/models/model_historical_data.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains historical data related to an analytics subscription. +type HistoricalData struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` + // Information about subscriptions with the data sources. + SubsWithSources []SpecificDataSubscription `json:"subsWithSources,omitempty" yaml:"subsWithSources" bson:"subsWithSources,omitempty"` + // Historical data related to the analytics. + Data []DataNotification `json:"data" yaml:"data" bson:"data,omitempty"` +} diff --git a/models/model_ho_state.go b/models/model_ho_state.go index 459bb1fa..9e081f47 100644 --- a/models/model_ho_state.go +++ b/models/model_ho_state.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_horizontal_velocity.go b/models/model_horizontal_velocity.go index 8aefa0d4..9e3d0c13 100644 --- a/models/model_horizontal_velocity.go +++ b/models/model_horizontal_velocity.go @@ -1,15 +1,21 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Horizontal velocity. type HorizontalVelocity struct { - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed"` - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing"` + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` } diff --git a/models/model_horizontal_velocity_with_uncertainty.go b/models/model_horizontal_velocity_with_uncertainty.go index 26cbda6d..e0acf48e 100644 --- a/models/model_horizontal_velocity_with_uncertainty.go +++ b/models/model_horizontal_velocity_with_uncertainty.go @@ -1,16 +1,23 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Horizontal velocity with speed uncertainty. type HorizontalVelocityWithUncertainty struct { - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed"` - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing"` - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty"` + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` } diff --git a/models/model_horizontal_with_vertical_velocity.go b/models/model_horizontal_with_vertical_velocity.go index f4eeab05..5ccbe403 100644 --- a/models/model_horizontal_with_vertical_velocity.go +++ b/models/model_horizontal_with_vertical_velocity.go @@ -1,17 +1,24 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Horizontal and vertical velocity. type HorizontalWithVerticalVelocity struct { - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed"` - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing"` - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection"` + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` } diff --git a/models/model_horizontal_with_vertical_velocity_and_uncertainty.go b/models/model_horizontal_with_vertical_velocity_and_uncertainty.go index 661b5820..7176b174 100644 --- a/models/model_horizontal_with_vertical_velocity_and_uncertainty.go +++ b/models/model_horizontal_with_vertical_velocity_and_uncertainty.go @@ -1,19 +1,28 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Horizontal and vertical velocity with speed uncertainty. type HorizontalWithVerticalVelocityAndUncertainty struct { - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed"` - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing"` - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection"` - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty"` - VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty"` + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` + // Indicates value of speed uncertainty. + VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` } diff --git a/models/model_hsmf_update_data.go b/models/model_hsmf_update_data.go index 716da0b8..d61607f0 100644 --- a/models/model_hsmf_update_data.go +++ b/models/model_hsmf_update_data.go @@ -1,38 +1,91 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Update Request towards H-SMF, or from I-SMF to SMF type HsmfUpdateData struct { - RequestIndication RequestIndication `json:"requestIndication"` - Pei string `json:"pei,omitempty"` - VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty"` - ServingNetwork *PlmnId `json:"servingNetwork,omitempty"` - AnType AccessType `json:"anType,omitempty"` - RatType RatType `json:"ratType,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - PauseCharging bool `json:"pauseCharging,omitempty"` - Pti int32 `json:"pti,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty"` - QosFlowsRelNotifyList []QosFlowItem `json:"qosFlowsRelNotifyList,omitempty"` - QosFlowsNotifyList []QosFlowNotifyItem `json:"qosFlowsNotifyList,omitempty"` - NotifyList []PduSessionNotifyItem `json:"NotifyList,omitempty"` - EpsBearerId []int32 `json:"epsBearerId,omitempty"` - HoPreparationIndication bool `json:"hoPreparationIndication,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty"` - Cause Cause `json:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty"` - AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty"` - SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty"` + RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` + IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + PauseCharging bool `json:"pauseCharging,omitempty" yaml:"pauseCharging" bson:"pauseCharging,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + QosFlowsRelNotifyList []QosFlowItem `json:"qosFlowsRelNotifyList,omitempty" yaml:"qosFlowsRelNotifyList" bson:"qosFlowsRelNotifyList,omitempty"` + QosFlowsNotifyList []QosFlowNotifyItem `json:"qosFlowsNotifyList,omitempty" yaml:"qosFlowsNotifyList" bson:"qosFlowsNotifyList,omitempty"` + NotifyList []PduSessionNotifyItem `json:"NotifyList,omitempty" yaml:"NotifyList" bson:"NotifyList,omitempty"` + EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + UnavailableAccessInd UnavailableAccessIndication `json:"unavailableAccessInd,omitempty" yaml:"unavailableAccessInd" bson:"unavailableAccessInd,omitempty"` + PsaInfo []PsaInformation `json:"psaInfo,omitempty" yaml:"psaInfo" bson:"psaInfo,omitempty"` + UlclBpInfo *UlclBpInformation `json:"ulclBpInfo,omitempty" yaml:"ulclBpInfo" bson:"ulclBpInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + // String providing an URI formatted according to RFC 3986. + VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` + DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` + UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` } diff --git a/models/model_hsmf_update_error.go b/models/model_hsmf_update_error.go index 7e140152..5323ab2d 100644 --- a/models/model_hsmf_update_error.go +++ b/models/model_hsmf_update_error.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,15 @@ import ( "time" ) +// Error within Update Response from H-SMF, or from SMF to I-SMF type HsmfUpdateError struct { - Error *ProblemDetails `json:"error"` - Pti int32 `json:"pti,omitempty"` - N1smCause string `json:"n1smCause,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"` - BackOffTimer int32 `json:"backOffTimer,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` } diff --git a/models/model_hsmf_updated_data.go b/models/model_hsmf_updated_data.go index c0c87123..63f7b798 100644 --- a/models/model_hsmf_updated_data.go +++ b/models/model_hsmf_updated_data.go @@ -1,14 +1,40 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Update Response from H-SMF, or from SMF to I-SMF type HsmfUpdatedData struct { - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` + QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` } diff --git a/models/model_hss_auth_type.go b/models/model_hss_auth_type.go new file mode 100644 index 00000000..9f2c7d2d --- /dev/null +++ b/models/model_hss_auth_type.go @@ -0,0 +1,25 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthType string + +// List of HssAuthType +const ( + HssAuthType_EPS_AKA HssAuthType = "EPS_AKA" + HssAuthType_EAP_AKA HssAuthType = "EAP_AKA" + HssAuthType_EAP_AKA_PRIME HssAuthType = "EAP_AKA_PRIME" + HssAuthType_IMS_AKA HssAuthType = "IMS_AKA" + HssAuthType_GBA_AKA HssAuthType = "GBA_AKA" + HssAuthType_UMTS_AKA HssAuthType = "UMTS_AKA" +) diff --git a/models/model_hss_auth_type_in_uri.go b/models/model_hss_auth_type_in_uri.go new file mode 100644 index 00000000..7e9fcf68 --- /dev/null +++ b/models/model_hss_auth_type_in_uri.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthTypeInUri string + +// List of HssAuthTypeInUri +const ( + HssAuthTypeInUri_EPS_AKA HssAuthTypeInUri = "eps-aka" + HssAuthTypeInUri_EAP_AKA HssAuthTypeInUri = "eap-aka" + HssAuthTypeInUri_EAP_AKA_PRIME HssAuthTypeInUri = "eap-aka-prime" + HssAuthTypeInUri_IMS_AKA HssAuthTypeInUri = "ims-aka" + HssAuthTypeInUri_GBA_AKA HssAuthTypeInUri = "gba-aka" +) diff --git a/models/model_hss_authentication_info_request.go b/models/model_hss_authentication_info_request.go new file mode 100644 index 00000000..32887bcb --- /dev/null +++ b/models/model_hss_authentication_info_request.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationInfoRequest struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HssAuthType HssAuthType `json:"hssAuthType" yaml:"hssAuthType" bson:"hssAuthType,omitempty"` + NumOfRequestedVectors int32 `json:"numOfRequestedVectors" yaml:"numOfRequestedVectors" bson:"numOfRequestedVectors,omitempty"` + RequestingNodeType NodeType `json:"requestingNodeType,omitempty" yaml:"requestingNodeType" bson:"requestingNodeType,omitempty"` + ServingNetworkId *PlmnId `json:"servingNetworkId,omitempty" yaml:"servingNetworkId" bson:"servingNetworkId,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + AnId AccessNetworkId `json:"anId,omitempty" yaml:"anId" bson:"anId,omitempty"` +} diff --git a/models/model_hss_authentication_info_result.go b/models/model_hss_authentication_info_result.go new file mode 100644 index 00000000..9e244a5e --- /dev/null +++ b/models/model_hss_authentication_info_result.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationInfoResult struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HssAuthenticationVectors *HssAuthenticationVectors `json:"hssAuthenticationVectors" yaml:"hssAuthenticationVectors" bson:"hssAuthenticationVectors,omitempty"` +} diff --git a/models/model_hss_authentication_vectors.go b/models/model_hss_authentication_vectors.go new file mode 100644 index 00000000..ea10b89d --- /dev/null +++ b/models/model_hss_authentication_vectors.go @@ -0,0 +1,16 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationVectors struct { +} diff --git a/models/model_hss_av_type.go b/models/model_hss_av_type.go new file mode 100644 index 00000000..9014bf0b --- /dev/null +++ b/models/model_hss_av_type.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAvType string + +// List of HssAvType +const ( + HssAvType_EPS_AKA HssAvType = "EPS_AKA" + HssAvType_EAP_AKA HssAvType = "EAP_AKA" + HssAvType_IMS_AKA HssAvType = "IMS_AKA" + HssAvType_GBA_AKA HssAvType = "GBA_AKA" + HssAvType_UMTS_AKA HssAvType = "UMTS_AKA" +) diff --git a/models/model_hss_info.go b/models/model_hss_info.go new file mode 100644 index 00000000..198f7598 --- /dev/null +++ b/models/model_hss_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an HSS NF Instance +type HssInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ImsiRanges []ImsiRange `json:"imsiRanges,omitempty" yaml:"imsiRanges" bson:"imsiRanges,omitempty"` + ImsPrivateIdentityRanges []IdentityRange `json:"imsPrivateIdentityRanges,omitempty" yaml:"imsPrivateIdentityRanges" bson:"imsPrivateIdentityRanges,omitempty"` + ImsPublicIdentityRanges []IdentityRange `json:"imsPublicIdentityRanges,omitempty" yaml:"imsPublicIdentityRanges" bson:"imsPublicIdentityRanges,omitempty"` + MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + HssDiameterAddress *NetworkNodeDiameterAddress `json:"hssDiameterAddress,omitempty" yaml:"hssDiameterAddress" bson:"hssDiameterAddress,omitempty"` +} diff --git a/models/model_hss_subscription_info.go b/models/model_hss_subscription_info.go new file mode 100644 index 00000000..a11ee1f2 --- /dev/null +++ b/models/model_hss_subscription_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active subscriptions at the HSS(s) +type HssSubscriptionInfo struct { + HssSubscriptionList []HssSubscriptionItem `json:"hssSubscriptionList" yaml:"hssSubscriptionList" bson:"hssSubscriptionList,omitempty"` +} diff --git a/models/model_hss_subscription_item.go b/models/model_hss_subscription_item.go new file mode 100644 index 00000000..62ab43ca --- /dev/null +++ b/models/model_hss_subscription_item.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains info about a single HSS event subscription +type HssSubscriptionItem struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HssInstanceId string `json:"hssInstanceId" yaml:"hssInstanceId" bson:"hssInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/model_hssims_sdm_access_type.go b/models/model_hssims_sdm_access_type.go new file mode 100644 index 00000000..f2a7de96 --- /dev/null +++ b/models/model_hssims_sdm_access_type.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssimsSdmAccessType string + +// List of HssimsSDMAccessType +const ( + HssimsSdmAccessType__3_GPP_ACCESS HssimsSdmAccessType = "3GPP_ACCESS" + HssimsSdmAccessType_NON_3_GPP_ACCESS HssimsSdmAccessType = "NON_3GPP_ACCESS" +) diff --git a/models/model_hssims_sdm_data_set_name.go b/models/model_hssims_sdm_data_set_name.go new file mode 100644 index 00000000..81280391 --- /dev/null +++ b/models/model_hssims_sdm_data_set_name.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssimsSdmDataSetName string + +// List of HssimsSDMDataSetName +const ( + HssimsSdmDataSetName_CHARGING_DATA HssimsSdmDataSetName = "CHARGING_DATA" + HssimsSdmDataSetName_IFC_DATA HssimsSdmDataSetName = "IFC_DATA" + HssimsSdmDataSetName_TRACE_DATA HssimsSdmDataSetName = "TRACE_DATA" + HssimsSdmDataSetName_PRIORITY_DATA HssimsSdmDataSetName = "PRIORITY_DATA" +) diff --git a/models/model_hssims_sdm_shared_data.go b/models/model_hssims_sdm_shared_data.go new file mode 100644 index 00000000..b763e6ed --- /dev/null +++ b/models/model_hssims_sdm_shared_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a part of the IMS Profile data shared by several UEs +type HssimsSdmSharedData struct { + // Identifies globally and uniquely a piece of subscription data shared by multiple UEs; the value shall start with the HPLMN id (MCC/MNC) followed by a hyphen followed by a local Id as allocated by the home network operator + SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` + SharedImsIfcData *Ifcs `json:"sharedImsIfcData,omitempty" yaml:"sharedImsIfcData" bson:"sharedImsIfcData,omitempty"` +} diff --git a/models/model_hssims_uecm_extended_problem_details.go b/models/model_hssims_uecm_extended_problem_details.go new file mode 100644 index 00000000..b17f57ac --- /dev/null +++ b/models/model_hssims_uecm_extended_problem_details.go @@ -0,0 +1,35 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extension of the ProblemDetails data type, to include additional information in an error response message +type HssimsUecmExtendedProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + ScscfServerName string `json:"scscfServerName,omitempty" yaml:"scscfServerName" bson:"scscfServerName,omitempty"` +} diff --git a/models/model_id_translation_result.go b/models/model_id_translation_result.go index 68b413f6..48c8c6f5 100644 --- a/models/model_id_translation_result.go +++ b/models/model_id_translation_result.go @@ -1,16 +1,24 @@ /* * Nudm_SDM * - * Nudm Subscriber Data Management Service + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type IdTranslationResult struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - Supi string `json:"supi" yaml:"supi" bson:"supi" mapstructure:"Supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AdditionalSupis []string `json:"additionalSupis,omitempty" yaml:"additionalSupis" bson:"additionalSupis,omitempty"` + AdditionalGpsis []string `json:"additionalGpsis,omitempty" yaml:"additionalGpsis" bson:"additionalGpsis,omitempty"` } diff --git a/models/model_identity_data.go b/models/model_identity_data.go index 5acb357f..b5c963b3 100644 --- a/models/model_identity_data.go +++ b/models/model_identity_data.go @@ -1,15 +1,22 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Identity data corresponds to the provided ueId. type IdentityData struct { - SupiList []string `json:"supiList,omitempty" bson:"supiList"` - GpsiList []string `json:"gpsiList,omitempty" bson:"gpsiList"` + SupiList []string `json:"supiList,omitempty" yaml:"supiList" bson:"supiList,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` + AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` + // A map (list of key-value pairs where AppPortId serves as key) of GPSIs. + ApplicationPortIds map[string]string `json:"applicationPortIds,omitempty" yaml:"applicationPortIds" bson:"applicationPortIds,omitempty"` } diff --git a/models/model_identity_range.go b/models/model_identity_range.go index 5d811d8d..409eb25a 100644 --- a/models/model_identity_range.go +++ b/models/model_identity_range.go @@ -1,16 +1,20 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// A range of GPSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching type IdentityRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern" mapstructure:"Pattern"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` } diff --git a/models/model_identity_type.go b/models/model_identity_type.go new file mode 100644 index 00000000..f404ee18 --- /dev/null +++ b/models/model_identity_type.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IdentityType string + +// List of IdentityType +const ( + IdentityType_DISTINCT_IMPU IdentityType = "DISTINCT_IMPU" + IdentityType_DISTINCT_PSI IdentityType = "DISTINCT_PSI" + IdentityType_WILDCARDED_IMPU IdentityType = "WILDCARDED_IMPU" + IdentityType_WILDCARDED_PSI IdentityType = "WILDCARDED_PSI" +) diff --git a/models/model_idle_status_indication.go b/models/model_idle_status_indication.go new file mode 100644 index 00000000..8ec8cd5d --- /dev/null +++ b/models/model_idle_status_indication.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the idle status indication. +type IdleStatusIndication struct { + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // indicating a time in seconds. + ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` + // indicating a time in seconds. + SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + EdrxCycleLength int32 `json:"edrxCycleLength,omitempty" yaml:"edrxCycleLength" bson:"edrxCycleLength,omitempty"` + SuggestedNumOfDlPackets int32 `json:"suggestedNumOfDlPackets,omitempty" yaml:"suggestedNumOfDlPackets" bson:"suggestedNumOfDlPackets,omitempty"` +} diff --git a/models/model_ifc.go b/models/model_ifc.go new file mode 100644 index 00000000..408fd0e1 --- /dev/null +++ b/models/model_ifc.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data associated to an individual IFC (Initial Filter Criteria) +type Ifc struct { + Priority int32 `json:"priority" yaml:"priority" bson:"priority,omitempty"` + Trigger *TriggerPoint `json:"trigger,omitempty" yaml:"trigger" bson:"trigger,omitempty"` + AppServer *ApplicationServer `json:"appServer" yaml:"appServer" bson:"appServer,omitempty"` +} diff --git a/models/model_ifcs.go b/models/model_ifcs.go new file mode 100644 index 00000000..097a2a2d --- /dev/null +++ b/models/model_ifcs.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of IFCs associated to the IMS public Identity +type Ifcs struct { + IfcList []Ifc `json:"ifcList,omitempty" yaml:"ifcList" bson:"ifcList,omitempty"` + CscfFilterSetIdList []int32 `json:"cscfFilterSetIdList,omitempty" yaml:"cscfFilterSetIdList" bson:"cscfFilterSetIdList,omitempty"` +} diff --git a/models/model_imei_sv_information.go b/models/model_imei_sv_information.go new file mode 100644 index 00000000..a07f90d6 --- /dev/null +++ b/models/model_imei_sv_information.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMEI(SV) information +type ImeiSvInformation struct { + // IMEI of the UE + Imei string `json:"imei,omitempty" yaml:"imei" bson:"imei,omitempty"` + // IMEISV of the UE + ImeiSv string `json:"imeiSv,omitempty" yaml:"imeiSv" bson:"imeiSv,omitempty"` +} diff --git a/models/model_immediate_mdt_conf.go b/models/model_immediate_mdt_conf.go new file mode 100644 index 00000000..f751a19b --- /dev/null +++ b/models/model_immediate_mdt_conf.go @@ -0,0 +1,36 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Immediate MDT Configuration +type ImmediateMdtConf struct { + JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` + MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` + MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` + ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` + ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` + ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` + ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` + EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` + EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` + EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` + EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` + CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` + CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` + MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` + AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` + PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` + AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` + MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` + SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` +} diff --git a/models/model_immediate_report.go b/models/model_immediate_report.go new file mode 100644 index 00000000..6eb8e511 --- /dev/null +++ b/models/model_immediate_report.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImmediateReport struct { + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` + UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` + UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` + UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` +} diff --git a/models/model_ims_address.go b/models/model_ims_address.go new file mode 100644 index 00000000..272f2006 --- /dev/null +++ b/models/model_ims_address.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + E164 string `json:"e164,omitempty" yaml:"e164" bson:"e164,omitempty"` +} diff --git a/models/model_ims_associated_identities.go b/models/model_ims_associated_identities.go new file mode 100644 index 00000000..fa76b706 --- /dev/null +++ b/models/model_ims_associated_identities.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of identities belonging to the same Implicit Registration Set (IRS), along with the registration state of the IRS +type ImsAssociatedIdentities struct { + IrsState ImsRegistrationState `json:"irsState" yaml:"irsState" bson:"irsState,omitempty"` + PublicIdentities *PublicIdentities `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` +} diff --git a/models/model_ims_charging_information.go b/models/model_ims_charging_information.go new file mode 100644 index 00000000..40b17a12 --- /dev/null +++ b/models/model_ims_charging_information.go @@ -0,0 +1,80 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ImsChargingInformation struct { + EventType *SipEventType `json:"eventType,omitempty" yaml:"eventType" bson:"eventType,omitempty"` + IMSNodeFunctionality ImsNodeFunctionality `json:"iMSNodeFunctionality,omitempty" yaml:"iMSNodeFunctionality" bson:"iMSNodeFunctionality,omitempty"` + RoleOfNode RoleOfImsNode `json:"roleOfNode,omitempty" yaml:"roleOfNode" bson:"roleOfNode,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + IsupCause *IsupCause `json:"isupCause,omitempty" yaml:"isupCause" bson:"isupCause,omitempty"` + ControlPlaneAddress *ImsAddress `json:"controlPlaneAddress,omitempty" yaml:"controlPlaneAddress" bson:"controlPlaneAddress,omitempty"` + VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + MscAddress string `json:"mscAddress,omitempty" yaml:"mscAddress" bson:"mscAddress,omitempty"` + UserSessionID string `json:"userSessionID,omitempty" yaml:"userSessionID" bson:"userSessionID,omitempty"` + OutgoingSessionID string `json:"outgoingSessionID,omitempty" yaml:"outgoingSessionID" bson:"outgoingSessionID,omitempty"` + SessionPriority ImsSessionPriority `json:"sessionPriority,omitempty" yaml:"sessionPriority" bson:"sessionPriority,omitempty"` + CallingPartyAddresses []string `json:"callingPartyAddresses,omitempty" yaml:"callingPartyAddresses" bson:"callingPartyAddresses,omitempty"` + CalledPartyAddress string `json:"calledPartyAddress,omitempty" yaml:"calledPartyAddress" bson:"calledPartyAddress,omitempty"` + NumberPortabilityRoutinginformation string `json:"numberPortabilityRoutinginformation,omitempty" yaml:"numberPortabilityRoutinginformation" bson:"numberPortabilityRoutinginformation,omitempty"` + CarrierSelectRoutingInformation string `json:"carrierSelectRoutingInformation,omitempty" yaml:"carrierSelectRoutingInformation" bson:"carrierSelectRoutingInformation,omitempty"` + AlternateChargedPartyAddress string `json:"alternateChargedPartyAddress,omitempty" yaml:"alternateChargedPartyAddress" bson:"alternateChargedPartyAddress,omitempty"` + RequestedPartyAddress []string `json:"requestedPartyAddress,omitempty" yaml:"requestedPartyAddress" bson:"requestedPartyAddress,omitempty"` + CalledAssertedIdentities []string `json:"calledAssertedIdentities,omitempty" yaml:"calledAssertedIdentities" bson:"calledAssertedIdentities,omitempty"` + CalledIdentityChanges []CalledIdentityChange `json:"calledIdentityChanges,omitempty" yaml:"calledIdentityChanges" bson:"calledIdentityChanges,omitempty"` + AssociatedURI []string `json:"associatedURI,omitempty" yaml:"associatedURI" bson:"associatedURI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamps *time.Time `json:"timeStamps,omitempty" yaml:"timeStamps" bson:"timeStamps,omitempty"` + ApplicationServerInformation []string `json:"applicationServerInformation,omitempty" yaml:"applicationServerInformation" bson:"applicationServerInformation,omitempty"` + InterOperatorIdentifier []InterOperatorIdentifier `json:"interOperatorIdentifier,omitempty" yaml:"interOperatorIdentifier" bson:"interOperatorIdentifier,omitempty"` + ImsChargingIdentifier string `json:"imsChargingIdentifier,omitempty" yaml:"imsChargingIdentifier" bson:"imsChargingIdentifier,omitempty"` + RelatedICID string `json:"relatedICID,omitempty" yaml:"relatedICID" bson:"relatedICID,omitempty"` + RelatedICIDGenerationNode string `json:"relatedICIDGenerationNode,omitempty" yaml:"relatedICIDGenerationNode" bson:"relatedICIDGenerationNode,omitempty"` + TransitIOIList []string `json:"transitIOIList,omitempty" yaml:"transitIOIList" bson:"transitIOIList,omitempty"` + EarlyMediaDescription []EarlyMediaDescription `json:"earlyMediaDescription,omitempty" yaml:"earlyMediaDescription" bson:"earlyMediaDescription,omitempty"` + SdpSessionDescription []string `json:"sdpSessionDescription,omitempty" yaml:"sdpSessionDescription" bson:"sdpSessionDescription,omitempty"` + SdpMediaComponent []SdpMediaComponent `json:"sdpMediaComponent,omitempty" yaml:"sdpMediaComponent" bson:"sdpMediaComponent,omitempty"` + ServedPartyIPAddress *ImsAddress `json:"servedPartyIPAddress,omitempty" yaml:"servedPartyIPAddress" bson:"servedPartyIPAddress,omitempty"` + ServerCapabilities *ServerCapabilities `json:"serverCapabilities,omitempty" yaml:"serverCapabilities" bson:"serverCapabilities,omitempty"` + TrunkGroupID *TrunkGroupId `json:"trunkGroupID,omitempty" yaml:"trunkGroupID" bson:"trunkGroupID,omitempty"` + BearerService string `json:"bearerService,omitempty" yaml:"bearerService" bson:"bearerService,omitempty"` + ImsServiceId string `json:"imsServiceId,omitempty" yaml:"imsServiceId" bson:"imsServiceId,omitempty"` + MessageBodies []MessageBody `json:"messageBodies,omitempty" yaml:"messageBodies" bson:"messageBodies,omitempty"` + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + AdditionalAccessNetworkInformation string `json:"additionalAccessNetworkInformation,omitempty" yaml:"additionalAccessNetworkInformation" bson:"additionalAccessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + AccessTransferInformation []AccessTransferInformation `json:"accessTransferInformation,omitempty" yaml:"accessTransferInformation" bson:"accessTransferInformation,omitempty"` + AccessNetworkInfoChange []AccessNetworkInfoChange `json:"accessNetworkInfoChange,omitempty" yaml:"accessNetworkInfoChange" bson:"accessNetworkInfoChange,omitempty"` + ImsCommunicationServiceID string `json:"imsCommunicationServiceID,omitempty" yaml:"imsCommunicationServiceID" bson:"imsCommunicationServiceID,omitempty"` + ImsApplicationReferenceID string `json:"imsApplicationReferenceID,omitempty" yaml:"imsApplicationReferenceID" bson:"imsApplicationReferenceID,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + CauseCode int32 `json:"causeCode,omitempty" yaml:"causeCode" bson:"causeCode,omitempty"` + ReasonHeader []string `json:"reasonHeader,omitempty" yaml:"reasonHeader" bson:"reasonHeader,omitempty"` + InitialIMSChargingIdentifier string `json:"initialIMSChargingIdentifier,omitempty" yaml:"initialIMSChargingIdentifier" bson:"initialIMSChargingIdentifier,omitempty"` + NniInformation []NniInformation `json:"nniInformation,omitempty" yaml:"nniInformation" bson:"nniInformation,omitempty"` + FromAddress string `json:"fromAddress,omitempty" yaml:"fromAddress" bson:"fromAddress,omitempty"` + ImsEmergencyIndication bool `json:"imsEmergencyIndication,omitempty" yaml:"imsEmergencyIndication" bson:"imsEmergencyIndication,omitempty"` + ImsVisitedNetworkIdentifier string `json:"imsVisitedNetworkIdentifier,omitempty" yaml:"imsVisitedNetworkIdentifier" bson:"imsVisitedNetworkIdentifier,omitempty"` + SipRouteHeaderReceived string `json:"sipRouteHeaderReceived,omitempty" yaml:"sipRouteHeaderReceived" bson:"sipRouteHeaderReceived,omitempty"` + SipRouteHeaderTransmitted string `json:"sipRouteHeaderTransmitted,omitempty" yaml:"sipRouteHeaderTransmitted" bson:"sipRouteHeaderTransmitted,omitempty"` + TadIdentifier TadIdentifier `json:"tadIdentifier,omitempty" yaml:"tadIdentifier" bson:"tadIdentifier,omitempty"` + FeIdentifierList string `json:"feIdentifierList,omitempty" yaml:"feIdentifierList" bson:"feIdentifierList,omitempty"` +} diff --git a/models/model_ims_location_data.go b/models/model_ims_location_data.go new file mode 100644 index 00000000..f4a781b5 --- /dev/null +++ b/models/model_ims_location_data.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Location Data (S-CSCF name) +type ImsLocationData struct { + ScscfName string `json:"scscfName" yaml:"scscfName" bson:"scscfName,omitempty"` +} diff --git a/models/model_ims_node_functionality.go b/models/model_ims_node_functionality.go new file mode 100644 index 00000000..156334b2 --- /dev/null +++ b/models/model_ims_node_functionality.go @@ -0,0 +1,42 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsNodeFunctionality string + +// List of IMSNodeFunctionality +const ( + ImsNodeFunctionality_S_CSCF ImsNodeFunctionality = "S_CSCF" + ImsNodeFunctionality_P_CSCF ImsNodeFunctionality = "P_CSCF" + ImsNodeFunctionality_I_CSCF ImsNodeFunctionality = "I_CSCF" + ImsNodeFunctionality_MRFC ImsNodeFunctionality = "MRFC" + ImsNodeFunctionality_MGCF ImsNodeFunctionality = "MGCF" + ImsNodeFunctionality_BGCF ImsNodeFunctionality = "BGCF" + ImsNodeFunctionality_AS ImsNodeFunctionality = "AS" + ImsNodeFunctionality_IBCF ImsNodeFunctionality = "IBCF" + ImsNodeFunctionality_S_GW ImsNodeFunctionality = "S-GW" + ImsNodeFunctionality_P_GW ImsNodeFunctionality = "P-GW" + ImsNodeFunctionality_HSGW ImsNodeFunctionality = "HSGW" + ImsNodeFunctionality_E_CSCF ImsNodeFunctionality = "E-CSCF" + ImsNodeFunctionality_MME ImsNodeFunctionality = "MME" + ImsNodeFunctionality_TRF ImsNodeFunctionality = "TRF" + ImsNodeFunctionality_TF ImsNodeFunctionality = "TF" + ImsNodeFunctionality_ATCF ImsNodeFunctionality = "ATCF" + ImsNodeFunctionality_PROXY ImsNodeFunctionality = "PROXY" + ImsNodeFunctionality_EPDG ImsNodeFunctionality = "EPDG" + ImsNodeFunctionality_TDF ImsNodeFunctionality = "TDF" + ImsNodeFunctionality_TWAG ImsNodeFunctionality = "TWAG" + ImsNodeFunctionality_SCEF ImsNodeFunctionality = "SCEF" + ImsNodeFunctionality_IWK_SCEF ImsNodeFunctionality = "IWK_SCEF" + ImsNodeFunctionality_IMS_GWF ImsNodeFunctionality = "IMS_GWF" +) diff --git a/models/model_ims_profile_data.go b/models/model_ims_profile_data.go new file mode 100644 index 00000000..15cea482 --- /dev/null +++ b/models/model_ims_profile_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User's IMS profile data +type ImsProfileData struct { + ImsServiceProfiles []ImsServiceProfile `json:"imsServiceProfiles" yaml:"imsServiceProfiles" bson:"imsServiceProfiles,omitempty"` + ChargingInfo *ChargingInfo `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` + ServicePriorityLevelList []string `json:"servicePriorityLevelList,omitempty" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxAllowedSimulReg int32 `json:"maxAllowedSimulReg,omitempty" yaml:"maxAllowedSimulReg" bson:"maxAllowedSimulReg,omitempty"` + ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` +} diff --git a/models/model_ims_registration_state.go b/models/model_ims_registration_state.go new file mode 100644 index 00000000..391e3f27 --- /dev/null +++ b/models/model_ims_registration_state.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsRegistrationState string + +// List of ImsRegistrationState +const ( + ImsRegistrationState_REGISTERED ImsRegistrationState = "REGISTERED" + ImsRegistrationState_NOT_REGISTERED ImsRegistrationState = "NOT_REGISTERED" + ImsRegistrationState_AUTHENTICATION_PENDING ImsRegistrationState = "AUTHENTICATION_PENDING" + ImsRegistrationState_REGISTERED_UNREG_SERVICES ImsRegistrationState = "REGISTERED_UNREG_SERVICES" +) diff --git a/models/model_ims_registration_status.go b/models/model_ims_registration_status.go new file mode 100644 index 00000000..085eeec0 --- /dev/null +++ b/models/model_ims_registration_status.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Registration status of the user +type ImsRegistrationStatus struct { + ImsUserStatus ImsRegistrationState `json:"imsUserStatus" yaml:"imsUserStatus" bson:"imsUserStatus,omitempty"` +} diff --git a/models/model_ims_registration_type.go b/models/model_ims_registration_type.go new file mode 100644 index 00000000..fff25fc0 --- /dev/null +++ b/models/model_ims_registration_type.go @@ -0,0 +1,27 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsRegistrationType string + +// List of ImsRegistrationType +const ( + ImsRegistrationType_INITIAL_REGISTRATION ImsRegistrationType = "INITIAL_REGISTRATION" + ImsRegistrationType_RE_REGISTRATION ImsRegistrationType = "RE_REGISTRATION" + ImsRegistrationType_TIMEOUT_DEREGISTRATION ImsRegistrationType = "TIMEOUT_DEREGISTRATION" + ImsRegistrationType_USER_DEREGISTRATION ImsRegistrationType = "USER_DEREGISTRATION" + ImsRegistrationType_ADMINISTRATIVE_DEREGISTRATION ImsRegistrationType = "ADMINISTRATIVE_DEREGISTRATION" + ImsRegistrationType_AUTHENTICATION_FAILURE ImsRegistrationType = "AUTHENTICATION_FAILURE" + ImsRegistrationType_AUTHENTICATION_TIMEOUT ImsRegistrationType = "AUTHENTICATION_TIMEOUT" + ImsRegistrationType_UNREGISTERED_USER ImsRegistrationType = "UNREGISTERED_USER" +) diff --git a/models/model_ims_sdm_subscription.go b/models/model_ims_sdm_subscription.go new file mode 100644 index 00000000..a48de04f --- /dev/null +++ b/models/model_ims_sdm_subscription.go @@ -0,0 +1,28 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// A subscription to notifications of data change +type ImsSdmSubscription struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` +} diff --git a/models/model_ims_service_profile.go b/models/model_ims_service_profile.go new file mode 100644 index 00000000..14d3a0cf --- /dev/null +++ b/models/model_ims_service_profile.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Service Profile of the UE, containing the list of Public Identifiers and optionally a list of IFCs +type ImsServiceProfile struct { + PublicIdentifierList []PublicIdentifier `json:"publicIdentifierList" yaml:"publicIdentifierList" bson:"publicIdentifierList,omitempty"` + Ifcs *Ifcs `json:"ifcs,omitempty" yaml:"ifcs" bson:"ifcs,omitempty"` + CnServiceAuthorization *CoreNetworkServiceAuthorization `json:"cnServiceAuthorization,omitempty" yaml:"cnServiceAuthorization" bson:"cnServiceAuthorization,omitempty"` +} diff --git a/models/model_ims_session_priority.go b/models/model_ims_session_priority.go new file mode 100644 index 00000000..9c163969 --- /dev/null +++ b/models/model_ims_session_priority.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsSessionPriority string + +// List of IMSSessionPriority +const ( + ImsSessionPriority__0 ImsSessionPriority = "PRIORITY_0" + ImsSessionPriority__1 ImsSessionPriority = "PRIORITY_1" + ImsSessionPriority__2 ImsSessionPriority = "PRIORITY_2" + ImsSessionPriority__3 ImsSessionPriority = "PRIORITY_3" + ImsSessionPriority__4 ImsSessionPriority = "PRIORITY_4" +) diff --git a/models/model_ims_vo_ps.go b/models/model_ims_vo_ps.go index 1a3d685e..6f2150bd 100644 --- a/models/model_ims_vo_ps.go +++ b/models/model_ims_vo_ps.go @@ -1,9 +1,12 @@ /* - * Nudm_UECM + * Nudr_DataRepository API OpenAPI file * - * Nudm Context Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ims_voice_over_ps_session_support.go b/models/model_ims_voice_over_ps_session_support.go new file mode 100644 index 00000000..f1719110 --- /dev/null +++ b/models/model_ims_voice_over_ps_session_support.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsVoiceOverPsSessionSupport string + +// List of ImsVoiceOverPsSessionSupport +const ( + ImsVoiceOverPsSessionSupport_NOT_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_NOT_SUPPORTED" + ImsVoiceOverPsSessionSupport_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORTED" + ImsVoiceOverPsSessionSupport_SUPPORT_UNKNOWN ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORT_UNKNOWN" +) diff --git a/models/model_imsi_range.go b/models/model_imsi_range.go new file mode 100644 index 00000000..be3976e7 --- /dev/null +++ b/models/model_imsi_range.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of IMSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching +type ImsiRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/model_indirect_data_forwarding_tunnel_info.go b/models/model_indirect_data_forwarding_tunnel_info.go new file mode 100644 index 00000000..eea678f1 --- /dev/null +++ b/models/model_indirect_data_forwarding_tunnel_info.go @@ -0,0 +1,26 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indirect Data Forwarding Tunnel Information +type IndirectDataForwardingTunnelInfo struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // GTP Tunnel Endpoint Identifier + GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` + // Data Radio Bearer Identity + DrbId int32 `json:"drbId,omitempty" yaml:"drbId" bson:"drbId,omitempty"` + // indicates first, second or third additional indirect data forwarding tunnel + AdditionalTnlNb int32 `json:"additionalTnlNb,omitempty" yaml:"additionalTnlNb" bson:"additionalTnlNb,omitempty"` +} diff --git a/models/model_integrity_algorithm.go b/models/model_integrity_algorithm.go index 06d27e57..a54c8a31 100644 --- a/models/model_integrity_algorithm.go +++ b/models/model_integrity_algorithm.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_integrity_requirements.go b/models/model_integrity_requirements.go new file mode 100644 index 00000000..af72c5a9 --- /dev/null +++ b/models/model_integrity_requirements.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// integrity requirements. +type IntegrityRequirements struct { + // Contains the time-to-alert + TimeToAlert int32 `json:"timeToAlert,omitempty" yaml:"timeToAlert" bson:"timeToAlert,omitempty"` + // Contains the target integrity risk + TargetIntegrityRisk int32 `json:"targetIntegrityRisk,omitempty" yaml:"targetIntegrityRisk" bson:"targetIntegrityRisk,omitempty"` + AlertLimit *AlertLimit `json:"alertLimit,omitempty" yaml:"alertLimit" bson:"alertLimit,omitempty"` +} diff --git a/models/model_inter_freq_target_info.go b/models/model_inter_freq_target_info.go new file mode 100644 index 00000000..aeedad41 --- /dev/null +++ b/models/model_inter_freq_target_info.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the Inter Frequency Target information. +type InterFreqTargetInfo struct { + // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. + DlCarrierFreq int32 `json:"dlCarrierFreq" yaml:"dlCarrierFreq" bson:"dlCarrierFreq,omitempty"` + // When present, this IE shall contain a list of the physical cell identities where the UE is requested to perform measurement logging for the indicated frequency. + CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` +} diff --git a/models/model_inter_operator_identifier.go b/models/model_inter_operator_identifier.go new file mode 100644 index 00000000..e8b47de0 --- /dev/null +++ b/models/model_inter_operator_identifier.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InterOperatorIdentifier struct { + OriginatingIOI string `json:"originatingIOI,omitempty" yaml:"originatingIOI" bson:"originatingIOI,omitempty"` + TerminatingIOI string `json:"terminatingIOI,omitempty" yaml:"terminatingIOI" bson:"terminatingIOI,omitempty"` +} diff --git a/models/model_interface_type.go b/models/model_interface_type.go index fee0a01b..98719c60 100644 --- a/models/model_interface_type.go +++ b/models/model_interface_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_interface_upf_info_item.go b/models/model_interface_upf_info_item.go index b59546f2..55025351 100644 --- a/models/model_interface_upf_info_item.go +++ b/models/model_interface_upf_info_item.go @@ -1,18 +1,23 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of a given IP interface of an UPF type InterfaceUpfInfoItem struct { - InterfaceType UpInterfaceType `json:"interfaceType" yaml:"interfaceType" bson:"interfaceType" mapstructure:"InterfaceType"` - Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses" mapstructure:"Ipv4EndpointAddresses"` - Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses" mapstructure:"Ipv6EndpointAddresses"` - EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn" mapstructure:"EndpointFqdn"` - NetworkInstance string `json:"networkInstance,omitempty" yaml:"networkInstance" bson:"networkInstance" mapstructure:"NetworkInstance"` + InterfaceType UpInterfaceType `json:"interfaceType" yaml:"interfaceType" bson:"interfaceType,omitempty"` + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` + NetworkInstance string `json:"networkInstance,omitempty" yaml:"networkInstance" bson:"networkInstance,omitempty"` } diff --git a/models/model_internal_group_id_range.go b/models/model_internal_group_id_range.go new file mode 100644 index 00000000..6dfe8216 --- /dev/null +++ b/models/model_internal_group_id_range.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of Group IDs (internal group identities), either based on a numeric range, or based on regular-expression matching +type InternalGroupIdRange struct { + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/model_invalid_cause.go b/models/model_invalid_cause.go new file mode 100644 index 00000000..80bce7da --- /dev/null +++ b/models/model_invalid_cause.go @@ -0,0 +1,23 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InvalidCause string + +// List of InvalidCause +const ( + InvalidCause_SUBSRIPTION_WITHDRAWAL InvalidCause = "SUBSRIPTION_WITHDRAWAL" + InvalidCause_DNN_REMOVED InvalidCause = "DNN_REMOVED" + InvalidCause_SLICE_REMOVED InvalidCause = "SLICE_REMOVED" + InvalidCause_AUTHORIZATION_REVOKED InvalidCause = "AUTHORIZATION_REVOKED" +) diff --git a/models/model_invalid_param.go b/models/model_invalid_param.go index e40c2ff0..dcf60ec7 100644 --- a/models/model_invalid_param.go +++ b/models/model_invalid_param.go @@ -1,17 +1,21 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the description of invalid parameters, for a request rejected due to invalid parameters. type InvalidParam struct { // Attribute's name encoded as a JSON Pointer, or header's name. - Param string `json:"param" yaml:"param" bson:"param" mapstructure:"Param"` + Param string `json:"param" yaml:"param" bson:"param,omitempty"` // A human-readable reason, e.g. \"must be a positive integer\". - Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason" mapstructure:"Reason"` + Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` } diff --git a/models/model_invalid_param_1.go b/models/model_invalid_param_1.go new file mode 100644 index 00000000..ea1351e8 --- /dev/null +++ b/models/model_invalid_param_1.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InvalidParam1 struct { + // Attribute's name encoded as a JSON Pointer, or header's name. + Param string `json:"param" yaml:"param" bson:"param,omitempty"` + // A human-readable reason, e.g. \"must be a positive integer\". + Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` +} diff --git a/models/model_invalid_param_2.go b/models/model_invalid_param_2.go deleted file mode 100644 index 0cc89f05..00000000 --- a/models/model_invalid_param_2.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InvalidParam2 struct { - Param string `json:"param" bson:"param"` - Reason string `json:"reason,omitempty" bson:"reason"` -} diff --git a/models/model_invocation_result.go b/models/model_invocation_result.go index 67b29ce3..940c1274 100644 --- a/models/model_invocation_result.go +++ b/models/model_invocation_result.go @@ -1,15 +1,18 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type InvocationResult struct { - Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error" mapstructure:"Error"` - FailureHandling FailureHandling `json:"failureHandling,omitempty" yaml:"failureHandling" bson:"failureHandling" mapstructure:"FailureHandling"` + Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` + FailureHandling FailureHandling `json:"failureHandling,omitempty" yaml:"failureHandling" bson:"failureHandling,omitempty"` } diff --git a/models/model_ip_addr.go b/models/model_ip_addr.go new file mode 100644 index 00000000..df9329ab --- /dev/null +++ b/models/model_ip_addr.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an IP adresse. +type IpAddr struct { + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/model_ip_address.go b/models/model_ip_address.go index 9a420c53..0d6cacff 100644 --- a/models/model_ip_address.go +++ b/models/model_ip_address.go @@ -1,16 +1,19 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type IpAddress struct { - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr" mapstructure:"Ipv4Addr"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr" mapstructure:"Ipv6Addr"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix" mapstructure:"Ipv6Prefix"` + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` } diff --git a/models/model_ip_end_point.go b/models/model_ip_end_point.go index 9caed7b1..c904096f 100644 --- a/models/model_ip_end_point.go +++ b/models/model_ip_end_point.go @@ -1,17 +1,22 @@ /* - * Nbsf_Management + * Nnwdaf_DataManagement * - * Binding Support Management Service API + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// IP addressing information of a given NFService; it consists on, e.g. IP address, TCP port, transport protocol... type IpEndPoint struct { - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address" mapstructure:"Ipv4Address"` - Ipv6Address string `json:"ipv6Address,omitempty" yaml:"ipv6Address" bson:"ipv6Address" mapstructure:"Ipv6Address"` - Transport TransportProtocol `json:"transport,omitempty" yaml:"transport" bson:"transport" mapstructure:"Transport"` - Port int32 `json:"port,omitempty" yaml:"port" bson:"port" mapstructure:"Port"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + Ipv6Address string `json:"ipv6Address,omitempty" yaml:"ipv6Address" bson:"ipv6Address,omitempty"` + Transport NrfNfManagementTransportProtocol `json:"transport,omitempty" yaml:"transport" bson:"transport,omitempty"` + Port int32 `json:"port,omitempty" yaml:"port" bson:"port,omitempty"` } diff --git a/models/model_ip_eth_flow_description.go b/models/model_ip_eth_flow_description.go new file mode 100644 index 00000000..43fb6880 --- /dev/null +++ b/models/model_ip_eth_flow_description.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the description of an Uplink and/or Downlink Ethernet flow. +type IpEthFlowDescription struct { + // Defines a packet filter of an IP flow. + IpTrafficFilter string `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` +} diff --git a/models/model_ip_flow_info.go b/models/model_ip_flow_info.go new file mode 100644 index 00000000..42e39b3b --- /dev/null +++ b/models/model_ip_flow_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an UL/DL IP flow. +type IpFlowInfo struct { + IpFlows []string `json:"ipFlows,omitempty" yaml:"ipFlows" bson:"ipFlows,omitempty"` + FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` +} diff --git a/models/model_ip_multicast_address_info.go b/models/model_ip_multicast_address_info.go new file mode 100644 index 00000000..6bbdc2f7 --- /dev/null +++ b/models/model_ip_multicast_address_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the IP multicast addressing information. +type IpMulticastAddressInfo struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4MulAddr string `json:"ipv4MulAddr,omitempty" yaml:"ipv4MulAddr" bson:"ipv4MulAddr,omitempty"` + SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` + Ipv6MulAddr string `json:"ipv6MulAddr,omitempty" yaml:"ipv6MulAddr" bson:"ipv6MulAddr,omitempty"` +} diff --git a/models/model_ip_packet_filter_set.go b/models/model_ip_packet_filter_set.go new file mode 100644 index 00000000..29a762dc --- /dev/null +++ b/models/model_ip_packet_filter_set.go @@ -0,0 +1,25 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpPacketFilterSet struct { + SrcIp string `json:"srcIp,omitempty" yaml:"srcIp" bson:"srcIp,omitempty"` + DstIp string `json:"dstIp,omitempty" yaml:"dstIp" bson:"dstIp,omitempty"` + Protocol int32 `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` + SrcPort int32 `json:"srcPort,omitempty" yaml:"srcPort" bson:"srcPort,omitempty"` + DstPort int32 `json:"dstPort,omitempty" yaml:"dstPort" bson:"dstPort,omitempty"` + ToSTc string `json:"toSTc,omitempty" yaml:"toSTc" bson:"toSTc,omitempty"` + FlowLabel int32 `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + Spi int32 `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` + Direction string `json:"direction" yaml:"direction" bson:"direction,omitempty"` +} diff --git a/models/model_ip_reachability.go b/models/model_ip_reachability.go new file mode 100644 index 00000000..26cda35e --- /dev/null +++ b/models/model_ip_reachability.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpReachability string + +// List of IpReachability +const ( + IpReachability_IPV4 IpReachability = "IPV4" + IpReachability_IPV6 IpReachability = "IPV6" + IpReachability_IPV4_V6 IpReachability = "IPV4V6" +) diff --git a/models/model_ip_sm_gw_address.go b/models/model_ip_sm_gw_address.go new file mode 100644 index 00000000..9f078704 --- /dev/null +++ b/models/model_ip_sm_gw_address.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP-SM-GW number and diameter URI/realm +type IpSmGwAddress struct { + // String containing an additional or basic MSISDN + IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` + // Fully Qualified Domain Name + IpSmGwDiaUri string `json:"ipSmGwDiaUri,omitempty" yaml:"ipSmGwDiaUri" bson:"ipSmGwDiaUri,omitempty"` + // Fully Qualified Domain Name + IpSmGwDiaRealm string `json:"ipSmGwDiaRealm,omitempty" yaml:"ipSmGwDiaRealm" bson:"ipSmGwDiaRealm,omitempty"` + IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` +} diff --git a/models/model_ip_sm_gw_guidance.go b/models/model_ip_sm_gw_guidance.go new file mode 100644 index 00000000..08631f6b --- /dev/null +++ b/models/model_ip_sm_gw_guidance.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains guidance information (e.g. minimum and recommended delivery times) of the IP-SM-GW +type IpSmGwGuidance struct { + MinDeliveryTime int32 `json:"minDeliveryTime" yaml:"minDeliveryTime" bson:"minDeliveryTime,omitempty"` + RecommDeliveryTime int32 `json:"recommDeliveryTime" yaml:"recommDeliveryTime" bson:"recommDeliveryTime,omitempty"` +} diff --git a/models/model_ip_sm_gw_info.go b/models/model_ip_sm_gw_info.go new file mode 100644 index 00000000..3844cc0f --- /dev/null +++ b/models/model_ip_sm_gw_info.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the IP-SM-GW Information +type IpSmGwInfo struct { + IpSmGwRegistration *IpSmGwRegistration `json:"ipSmGwRegistration,omitempty" yaml:"ipSmGwRegistration" bson:"ipSmGwRegistration,omitempty"` + IpSmGwGuidance *IpSmGwGuidance `json:"ipSmGwGuidance,omitempty" yaml:"ipSmGwGuidance" bson:"ipSmGwGuidance,omitempty"` +} diff --git a/models/model_ip_sm_gw_registration.go b/models/model_ip_sm_gw_registration.go new file mode 100644 index 00000000..89325d66 --- /dev/null +++ b/models/model_ip_sm_gw_registration.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpSmGwRegistration struct { + IpSmGwMapAddress string `json:"ipSmGwMapAddress,omitempty" yaml:"ipSmGwMapAddress" bson:"ipSmGwMapAddress,omitempty"` + IpSmGwDiameterAddress *NetworkNodeDiameterAddress `json:"ipSmGwDiameterAddress,omitempty" yaml:"ipSmGwDiameterAddress" bson:"ipSmGwDiameterAddress,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + IpsmgwIpv4 string `json:"ipsmgwIpv4,omitempty" yaml:"ipsmgwIpv4" bson:"ipsmgwIpv4,omitempty"` + IpsmgwIpv6 string `json:"ipsmgwIpv6,omitempty" yaml:"ipsmgwIpv6" bson:"ipsmgwIpv6,omitempty"` + // Fully Qualified Domain Name + IpsmgwFqdn string `json:"ipsmgwFqdn,omitempty" yaml:"ipsmgwFqdn" bson:"ipsmgwFqdn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + UnriIndicator bool `json:"unriIndicator,omitempty" yaml:"unriIndicator" bson:"unriIndicator,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` +} diff --git a/models/model_iptv_config_data.go b/models/model_iptv_config_data.go new file mode 100644 index 00000000..0c6d2b09 --- /dev/null +++ b/models/model_iptv_config_data.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents IPTV configuration data information. +type IptvConfigData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Identifies a group of users. + InterGroupId map[string]interface{} `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` + // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. + MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_iptv_config_data_patch.go b/models/model_iptv_config_data_patch.go new file mode 100644 index 00000000..6ae894f3 --- /dev/null +++ b/models/model_iptv_config_data_patch.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters to request the modification of an IPTV Configuration resource. +type IptvConfigDataPatch struct { + // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. + MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls,omitempty" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` +} diff --git a/models/model_ipv4_address_range.go b/models/model_ipv4_address_range.go index 0a430ffc..51d1c85e 100644 --- a/models/model_ipv4_address_range.go +++ b/models/model_ipv4_address_range.go @@ -1,15 +1,19 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Range of IPv4 addresses type Ipv4AddressRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` } diff --git a/models/model_ipv6_prefix_range.go b/models/model_ipv6_prefix_range.go index 6d1abaa6..3864faa4 100644 --- a/models/model_ipv6_prefix_range.go +++ b/models/model_ipv6_prefix_range.go @@ -1,15 +1,19 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Range of IPv6 prefixes type Ipv6PrefixRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` } diff --git a/models/model_isup_cause.go b/models/model_isup_cause.go new file mode 100644 index 00000000..7fca8526 --- /dev/null +++ b/models/model_isup_cause.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IsupCause struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ISUPCauseLocation int32 `json:"iSUPCauseLocation,omitempty" yaml:"iSUPCauseLocation" bson:"iSUPCauseLocation,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ISUPCauseValue int32 `json:"iSUPCauseValue,omitempty" yaml:"iSUPCauseValue" bson:"iSUPCauseValue,omitempty"` + ISUPCauseDiagnostics string `json:"iSUPCauseDiagnostics,omitempty" yaml:"iSUPCauseDiagnostics" bson:"iSUPCauseDiagnostics,omitempty"` +} diff --git a/models/model_iwmsc_info.go b/models/model_iwmsc_info.go new file mode 100644 index 00000000..3f35ffbc --- /dev/null +++ b/models/model_iwmsc_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an SMS-IWMSC NF Instance +type IwmscInfo struct { + MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ScNumber string `json:"scNumber,omitempty" yaml:"scNumber" bson:"scNumber,omitempty"` +} diff --git a/models/model_job_type.go b/models/model_job_type.go new file mode 100644 index 00000000..cb7528eb --- /dev/null +++ b/models/model_job_type.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type JobType string + +// List of JobType +const ( + JobType_IMMEDIATE_MDT_ONLY JobType = "IMMEDIATE_MDT_ONLY" + JobType_LOGGED_MDT_ONLY JobType = "LOGGED_MDT_ONLY" + JobType_TRACE_ONLY JobType = "TRACE_ONLY" + JobType_IMMEDIATE_MDT_AND_TRACE JobType = "IMMEDIATE_MDT_AND_TRACE" + JobType_RLF_REPORTS_ONLY JobType = "RLF_REPORTS_ONLY" + JobType_RCEF_REPORTS_ONLY JobType = "RCEF_REPORTS_ONLY" + JobType_LOGGED_MBSFN_MDT JobType = "LOGGED_MBSFN_MDT" +) diff --git a/models/model_key_amf.go b/models/model_key_amf.go index 96d57671..1d83d88d 100644 --- a/models/model_key_amf.go +++ b/models/model_key_amf.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the Kamf or K'amf type KeyAmf struct { - KeyType KeyAmfType `json:"keyType"` - KeyVal string `json:"keyVal"` + KeyType KeyAmfType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` + KeyVal string `json:"keyVal" yaml:"keyVal" bson:"keyVal,omitempty"` } diff --git a/models/model_key_amf_type.go b/models/model_key_amf_type.go index 964c0671..e6cffd58 100644 --- a/models/model_key_amf_type.go +++ b/models/model_key_amf_type.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_key_type.go b/models/model_key_type.go new file mode 100644 index 00000000..c831439c --- /dev/null +++ b/models/model_key_type.go @@ -0,0 +1,24 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type KeyType string + +// List of KeyType +const ( + KeyType_UNIQUE_KEY KeyType = "UNIQUE_KEY" + KeyType_SEARCH_KEY KeyType = "SEARCH_KEY" + KeyType_COUNT_KEY KeyType = "COUNT_KEY" + KeyType_SEARCH_AND_COUNT_KEY KeyType = "SEARCH_AND_COUNT_KEY" + KeyType_OTHER_TAG KeyType = "OTHER_TAG" +) diff --git a/models/model_ladn_info.go b/models/model_ladn_info.go index 6e38b42a..bfd05c81 100644 --- a/models/model_ladn_info.go +++ b/models/model_ladn_info.go @@ -1,15 +1,19 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// LADN Information type LadnInfo struct { - Ladn string `json:"ladn"` - Presence PresenceState `json:"presence,omitempty"` + Ladn string `json:"ladn" yaml:"ladn" bson:"ladn,omitempty"` + Presence PresenceState `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` } diff --git a/models/model_lcs_broadcast_assistance_types_data.go b/models/model_lcs_broadcast_assistance_types_data.go new file mode 100644 index 00000000..ead8896e --- /dev/null +++ b/models/model_lcs_broadcast_assistance_types_data.go @@ -0,0 +1,18 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsBroadcastAssistanceTypesData struct { + // string with format 'binary' as defined in OpenAPI. + LocationAssistanceType []byte `json:"locationAssistanceType" yaml:"locationAssistanceType" bson:"locationAssistanceType,omitempty"` +} diff --git a/models/model_lcs_client_class.go b/models/model_lcs_client_class.go new file mode 100644 index 00000000..b75b0682 --- /dev/null +++ b/models/model_lcs_client_class.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientClass string + +// List of LcsClientClass +const ( + LcsClientClass_BROADCAST_SERVICE LcsClientClass = "BROADCAST_SERVICE" + LcsClientClass_OM_IN_HPLMN LcsClientClass = "OM_IN_HPLMN" + LcsClientClass_OM_IN_VPLMN LcsClientClass = "OM_IN_VPLMN" + LcsClientClass_ANONYMOUS_LOCATION_SERVICE LcsClientClass = "ANONYMOUS_LOCATION_SERVICE" + LcsClientClass_SPECIFIC_SERVICE LcsClientClass = "SPECIFIC_SERVICE" +) diff --git a/models/model_lcs_client_external.go b/models/model_lcs_client_external.go new file mode 100644 index 00000000..7ccf495a --- /dev/null +++ b/models/model_lcs_client_external.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientExternal struct { + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/model_lcs_client_group_external.go b/models/model_lcs_client_group_external.go new file mode 100644 index 00000000..2a5bdcb2 --- /dev/null +++ b/models/model_lcs_client_group_external.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientGroupExternal struct { + LcsClientGroupId string `json:"lcsClientGroupId,omitempty" yaml:"lcsClientGroupId" bson:"lcsClientGroupId,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/model_lcs_mo_data.go b/models/model_lcs_mo_data.go new file mode 100644 index 00000000..7e9187bb --- /dev/null +++ b/models/model_lcs_mo_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsMoData struct { + AllowedServiceClasses []LcsMoServiceClass `json:"allowedServiceClasses" yaml:"allowedServiceClasses" bson:"allowedServiceClasses,omitempty"` + MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` +} diff --git a/models/model_lcs_mo_service_class.go b/models/model_lcs_mo_service_class.go new file mode 100644 index 00000000..251bd9ec --- /dev/null +++ b/models/model_lcs_mo_service_class.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsMoServiceClass string + +// List of LcsMoServiceClass +const ( + LcsMoServiceClass_BASIC_SELF_LOCATION LcsMoServiceClass = "BASIC_SELF_LOCATION" + LcsMoServiceClass_AUTONOMOUS_SELF_LOCATION LcsMoServiceClass = "AUTONOMOUS_SELF_LOCATION" + LcsMoServiceClass_TRANSFER_TO_THIRD_PARTY LcsMoServiceClass = "TRANSFER_TO_THIRD_PARTY" +) diff --git a/models/model_lcs_priority.go b/models/model_lcs_priority.go index 1f1b7a97..89a796dd 100644 --- a/models/model_lcs_priority.go +++ b/models/model_lcs_priority.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_lcs_privacy.go b/models/model_lcs_privacy.go new file mode 100644 index 00000000..028d4ffc --- /dev/null +++ b/models/model_lcs_privacy.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsPrivacy struct { + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_lcs_privacy_data.go b/models/model_lcs_privacy_data.go new file mode 100644 index 00000000..26e6c301 --- /dev/null +++ b/models/model_lcs_privacy_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsPrivacyData struct { + Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` + UnrelatedClass *UnrelatedClass `json:"unrelatedClass,omitempty" yaml:"unrelatedClass" bson:"unrelatedClass,omitempty"` + PlmnOperatorClasses []PlmnOperatorClass `json:"plmnOperatorClasses,omitempty" yaml:"plmnOperatorClasses" bson:"plmnOperatorClasses,omitempty"` +} diff --git a/models/model_lcs_qos_class.go b/models/model_lcs_qos_class.go new file mode 100644 index 00000000..9f0898d5 --- /dev/null +++ b/models/model_lcs_qos_class.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsQosClass string + +// List of LcsQosClass +const ( + LcsQosClass_BEST_EFFORT LcsQosClass = "BEST_EFFORT" + LcsQosClass_ASSURED LcsQosClass = "ASSURED" + LcsQosClass_MULTIPLE_QOS LcsQosClass = "MULTIPLE_QOS" +) diff --git a/models/model_lcs_service_auth.go b/models/model_lcs_service_auth.go new file mode 100644 index 00000000..b1f89c90 --- /dev/null +++ b/models/model_lcs_service_auth.go @@ -0,0 +1,25 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsServiceAuth string + +// List of LcsServiceAuth +const ( + LcsServiceAuth_LOCATION_ALLOWED_WITH_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITH_NOTIFICATION" + LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" + LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_RESPONSE" + LcsServiceAuth_LOCATION_RESTRICTED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" + LcsServiceAuth_NOTIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_ONLY" + LcsServiceAuth_NOTIFICATION_AND_VERIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_AND_VERIFICATION_ONLY" +) diff --git a/models/model_ldr_type.go b/models/model_ldr_type.go new file mode 100644 index 00000000..7465c621 --- /dev/null +++ b/models/model_ldr_type.go @@ -0,0 +1,25 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LdrType string + +// List of LdrType +const ( + LdrType_UE_AVAILABLE LdrType = "UE_AVAILABLE" + LdrType_PERIODIC LdrType = "PERIODIC" + LdrType_ENTERING_INTO_AREA LdrType = "ENTERING_INTO_AREA" + LdrType_LEAVING_FROM_AREA LdrType = "LEAVING_FROM_AREA" + LdrType_BEING_INSIDE_AREA LdrType = "BEING_INSIDE_AREA" + LdrType_MOTION LdrType = "MOTION" +) diff --git a/models/model_limit_id_to_monitoring_key.go b/models/model_limit_id_to_monitoring_key.go index cdd9e956..3e58f8b5 100644 --- a/models/model_limit_id_to_monitoring_key.go +++ b/models/model_limit_id_to_monitoring_key.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,6 @@ package models // Contains the limit identifier and the corresponding monitoring key for a given S-NSSAI and DNN. type LimitIdToMonitoringKey struct { - LimitId string `json:"limitId" bson:"limitId"` - Monkey []string `json:"monkey,omitempty" bson:"monkey"` + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + Monkey []string `json:"monkey,omitempty" yaml:"monkey" bson:"monkey,omitempty"` } diff --git a/models/model_line_type.go b/models/model_line_type.go index 240ee056..7500cb5c 100644 --- a/models/model_line_type.go +++ b/models/model_line_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_link.go b/models/model_link.go index c52ca042..c0f0c611 100644 --- a/models/model_link.go +++ b/models/model_link.go @@ -1,14 +1,19 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.2.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// It contains the URI of the linked resource. type Link struct { - Href string `json:"href,omitempty" yaml:"href" bson:"href" mapstructure:"Href"` + // String providing an URI formatted according to RFC 3986. + Href string `json:"href,omitempty" yaml:"href" bson:"href,omitempty"` } diff --git a/models/model_links_value_schema.go b/models/model_links_value_schema.go deleted file mode 100644 index 9b930d09..00000000 --- a/models/model_links_value_schema.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LinksValueSchema struct { - Href string `json:"href,omitempty" yaml:"href" bson:"href" mapstructure:"Href"` -} diff --git a/models/model_lmf_info.go b/models/model_lmf_info.go new file mode 100644 index 00000000..dfe3dcf5 --- /dev/null +++ b/models/model_lmf_info.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an LMF NF Instance +type LmfInfo struct { + ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` + // LMF identification. + LmfId string `json:"lmfId,omitempty" yaml:"lmfId" bson:"lmfId,omitempty"` + ServingAccessTypes []AccessType `json:"servingAccessTypes,omitempty" yaml:"servingAccessTypes" bson:"servingAccessTypes,omitempty"` + ServingAnNodeTypes []AnNodeType `json:"servingAnNodeTypes,omitempty" yaml:"servingAnNodeTypes" bson:"servingAnNodeTypes,omitempty"` + ServingRatTypes []RatType `json:"servingRatTypes,omitempty" yaml:"servingRatTypes" bson:"servingRatTypes,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` +} diff --git a/models/model_lmf_location_cancel_loc_data.go b/models/model_lmf_location_cancel_loc_data.go new file mode 100644 index 00000000..ae22cfd5 --- /dev/null +++ b/models/model_lmf_location_cancel_loc_data.go @@ -0,0 +1,23 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Cancel Location Request. +type LmfLocationCancelLocData struct { + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_lmf_location_event_notify_data.go b/models/model_lmf_location_event_notify_data.go new file mode 100644 index 00000000..c76737e1 --- /dev/null +++ b/models/model_lmf_location_event_notify_data.go @@ -0,0 +1,49 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Event Notify Request. +type LmfLocationEventNotifyData struct { + ReportedEventType ReportedEventType `json:"reportedEventType" yaml:"reportedEventType" bson:"reportedEventType,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + // LMF identification. + ServingLMFidentification string `json:"servingLMFidentification,omitempty" yaml:"servingLMFidentification" bson:"servingLMFidentification,omitempty"` + TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/model_lmf_location_geographical_coordinates.go b/models/model_lmf_location_geographical_coordinates.go new file mode 100644 index 00000000..2b14779f --- /dev/null +++ b/models/model_lmf_location_geographical_coordinates.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Geographical coordinates. +type LmfLocationGeographicalCoordinates struct { + Lon float64 `json:"lon" yaml:"lon" bson:"lon,omitempty"` + Lat float64 `json:"lat" yaml:"lat" bson:"lat,omitempty"` +} diff --git a/models/model_lmf_location_input_data.go b/models/model_lmf_location_input_data.go new file mode 100644 index 00000000..45a8dea4 --- /dev/null +++ b/models/model_lmf_location_input_data.go @@ -0,0 +1,71 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Determine Location Request. +type LmfLocationInputData struct { + ExternalClientType ExternalClientType `json:"externalClientType,omitempty" yaml:"externalClientType" bson:"externalClientType,omitempty"` + // LCS Correlation ID. + CorrelationID string `json:"correlationID,omitempty" yaml:"correlationID" bson:"correlationID,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + EcgiOnSecondNode *Ecgi `json:"ecgiOnSecondNode,omitempty" yaml:"ecgiOnSecondNode" bson:"ecgiOnSecondNode,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + NcgiOnSecondNode *Ncgi `json:"ncgiOnSecondNode,omitempty" yaml:"ncgiOnSecondNode" bson:"ncgiOnSecondNode,omitempty"` + Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` + UeLcsCap *UeLcsCapability `json:"ueLcsCap,omitempty" yaml:"ueLcsCap" bson:"ueLcsCap,omitempty"` + // LCS service type. + LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` + LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // String providing an URI formatted according to RFC 3986. + VgmlcAddress string `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + ReportingAccessTypes []ReportingAccessType `json:"reportingAccessTypes,omitempty" yaml:"reportingAccessTypes" bson:"reportingAccessTypes,omitempty"` + UeConnectivityStates *UeConnectivityState `json:"ueConnectivityStates,omitempty" yaml:"ueConnectivityStates" bson:"ueConnectivityStates,omitempty"` + UeLocationServiceInd UeLocationServiceInd `json:"ueLocationServiceInd,omitempty" yaml:"ueLocationServiceInd" bson:"ueLocationServiceInd,omitempty"` + MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` + LppMessage *RefToBinaryData `json:"lppMessage,omitempty" yaml:"lppMessage" bson:"lppMessage,omitempty"` + // Indicates the lpp message extension. + LppMessageExt []RefToBinaryData `json:"lppMessageExt,omitempty" yaml:"lppMessageExt" bson:"lppMessageExt,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` + TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` + UeCountryDetInd bool `json:"ueCountryDetInd,omitempty" yaml:"ueCountryDetInd" bson:"ueCountryDetInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` + ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` + IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` +} diff --git a/models/model_lmf_location_location_data.go b/models/model_lmf_location_location_data.go new file mode 100644 index 00000000..8333d480 --- /dev/null +++ b/models/model_lmf_location_location_data.go @@ -0,0 +1,48 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Determine Location Response. +type LmfLocationLocationData struct { + LocationEstimate *GeographicArea `json:"locationEstimate" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + UeAreaInd *UeAreaIndication `json:"ueAreaInd,omitempty" yaml:"ueAreaInd" bson:"ueAreaInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/model_lmf_location_termination_cause.go b/models/model_lmf_location_termination_cause.go new file mode 100644 index 00000000..3e3684ad --- /dev/null +++ b/models/model_lmf_location_termination_cause.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LmfLocationTerminationCause string + +// List of LmfLocationTerminationCause +const ( + LmfLocationTerminationCause_TERMINATION_BY_UE LmfLocationTerminationCause = "TERMINATION_BY_UE" + LmfLocationTerminationCause_TERMINATION_BY_NETWORK LmfLocationTerminationCause = "TERMINATION_BY_NETWORK" + LmfLocationTerminationCause_NORMAL_TERMINATION LmfLocationTerminationCause = "NORMAL_TERMINATION" +) diff --git a/models/model_loc_context_data.go b/models/model_loc_context_data.go new file mode 100644 index 00000000..e2fa6232 --- /dev/null +++ b/models/model_loc_context_data.go @@ -0,0 +1,50 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Transfer Location Context Request. +type LocContextData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` + LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + LdrType LdrType `json:"ldrType" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + EventReportMessage *EventReportMessage `json:"eventReportMessage" yaml:"eventReportMessage" bson:"eventReportMessage,omitempty"` + EventReportingStatus *EventReportingStatus `json:"eventReportingStatus,omitempty" yaml:"eventReportingStatus" bson:"eventReportingStatus,omitempty"` + UeLocationInfo *UeLocationInfo `json:"ueLocationInfo,omitempty" yaml:"ueLocationInfo" bson:"ueLocationInfo,omitempty"` + CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` +} diff --git a/models/model_local2d_point_uncertainty_ellipse.go b/models/model_local2d_point_uncertainty_ellipse.go new file mode 100644 index 00000000..28281f00 --- /dev/null +++ b/models/model_local2d_point_uncertainty_ellipse.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local 2D point with uncertainty ellipse +type Local2dPointUncertaintyEllipse struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_local3d_point_uncertainty_ellipsoid.go b/models/model_local3d_point_uncertainty_ellipsoid.go new file mode 100644 index 00000000..af915926 --- /dev/null +++ b/models/model_local3d_point_uncertainty_ellipsoid.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local 3D point with uncertainty ellipsoid +type Local3dPointUncertaintyEllipsoid struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_local_area.go b/models/model_local_area.go new file mode 100644 index 00000000..b88207d1 --- /dev/null +++ b/models/model_local_area.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local area specified by different shape +type LocalArea struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` + UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` +} diff --git a/models/model_local_origin.go b/models/model_local_origin.go new file mode 100644 index 00000000..cffe0b24 --- /dev/null +++ b/models/model_local_origin.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates a Local origin in a reference system +type LocalOrigin struct { + CoordinateId string `json:"coordinateId,omitempty" yaml:"coordinateId" bson:"coordinateId,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point,omitempty" yaml:"point" bson:"point,omitempty"` +} diff --git a/models/model_location_accuracy.go b/models/model_location_accuracy.go index 6dcc8d04..df447b2e 100644 --- a/models/model_location_accuracy.go +++ b/models/model_location_accuracy.go @@ -1,9 +1,12 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,6 +16,9 @@ type LocationAccuracy string // List of LocationAccuracy const ( - LocationAccuracy_CELL_LEVEL LocationAccuracy = "CELL_LEVEL" - LocationAccuracy_TA_LEVEL LocationAccuracy = "TA_LEVEL" + LocationAccuracy_CELL_LEVEL LocationAccuracy = "CELL_LEVEL" + LocationAccuracy_TA_LEVEL LocationAccuracy = "TA_LEVEL" + LocationAccuracy_N3_IWF_LEVEL LocationAccuracy = "N3IWF_LEVEL" + LocationAccuracy_UE_IP LocationAccuracy = "UE_IP" + LocationAccuracy_UE_PORT LocationAccuracy = "UE_PORT" ) diff --git a/models/model_location_area.go b/models/model_location_area.go new file mode 100644 index 00000000..7614eb75 --- /dev/null +++ b/models/model_location_area.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationArea struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` +} diff --git a/models/model_location_area5_g.go b/models/model_location_area5_g.go new file mode 100644 index 00000000..b680cf00 --- /dev/null +++ b/models/model_location_area5_g.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a user location area when the UE is attached to 5G. +type LocationArea5G struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` +} diff --git a/models/model_location_area_id.go b/models/model_location_area_id.go index c00ad70d..ebce9d2c 100644 --- a/models/model_location_area_id.go +++ b/models/model_location_area_id.go @@ -1,15 +1,20 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a Location area identification as defined in 3GPP TS 23.003, clause 4.1. type LocationAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - Lac string `json:"lac" yaml:"lac" bson:"lac" mapstructure:"Lac"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code. + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` } diff --git a/models/model_location_event.go b/models/model_location_event.go index ccf1ec62..c6debd38 100644 --- a/models/model_location_event.go +++ b/models/model_location_event.go @@ -1,9 +1,12 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V16.9.0; 5G System; Access and Mobility Management Services + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,10 @@ type LocationEvent string // List of LocationEvent const ( - LocationEvent_ORIGINATION LocationEvent = "EMERGENCY_CALL_ORIGINATION" - LocationEvent_RELEASE LocationEvent = "EMERGENCY_CALL_RELEASE" - LocationEvent_HANDOVER LocationEvent = "EMERGENCY_CALL_HANDOVER" + LocationEvent_EMERGENCY_CALL_ORIGINATION LocationEvent = "EMERGENCY_CALL_ORIGINATION" + LocationEvent_EMERGENCY_CALL_RELEASE LocationEvent = "EMERGENCY_CALL_RELEASE" + LocationEvent_EMERGENCY_CALL_HANDOVER LocationEvent = "EMERGENCY_CALL_HANDOVER" + LocationEvent_ACTIVATION_OF_DEFERRED_LOCATION LocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION" + LocationEvent_UE_MOBILITY_FOR_DEFERRED_LOCATION LocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION" + LocationEvent_CANCELLATION_OF_DEFERRED_LOCATION LocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION" ) diff --git a/models/model_location_filter.go b/models/model_location_filter.go index f4e3814c..9b34c459 100644 --- a/models/model_location_filter.go +++ b/models/model_location_filter.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Nnwdaf_DataManagement * - * AMF Communication Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,7 +18,11 @@ type LocationFilter string const ( LocationFilter_TAI LocationFilter = "TAI" LocationFilter_CELL_ID LocationFilter = "CELL_ID" + LocationFilter_RAN_NODE LocationFilter = "RAN_NODE" LocationFilter_N3_IWF LocationFilter = "N3IWF" LocationFilter_UE_IP LocationFilter = "UE_IP" LocationFilter_UDP_PORT LocationFilter = "UDP_PORT" + LocationFilter_TNAP_ID LocationFilter = "TNAP_ID" + LocationFilter_GLI LocationFilter = "GLI" + LocationFilter_TWAP_ID LocationFilter = "TWAP_ID" ) diff --git a/models/model_location_info.go b/models/model_location_info.go new file mode 100644 index 00000000..027fb002 --- /dev/null +++ b/models/model_location_info.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationInfo struct { +} diff --git a/models/model_location_info_request.go b/models/model_location_info_request.go new file mode 100644 index 00000000..21c81c9f --- /dev/null +++ b/models/model_location_info_request.go @@ -0,0 +1,24 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information to be sent in a location information request. It contains the requested information, i.e. current location, local time zone, RAT type, or serving node identity only. +type LocationInfoRequest struct { + Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` + ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` + ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` + ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` + ReqServingNode bool `json:"reqServingNode,omitempty" yaml:"reqServingNode" bson:"reqServingNode,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_location_info_result.go b/models/model_location_info_result.go new file mode 100644 index 00000000..4724aecd --- /dev/null +++ b/models/model_location_info_result.go @@ -0,0 +1,34 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the requested location information. +type LocationInfoResult struct { + VPlmnId *PlmnId `json:"vPlmnId,omitempty" yaml:"vPlmnId" bson:"vPlmnId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId,omitempty" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` + GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` + // Indicates value of the age of the location estimate. + LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_location_privacy_ind.go b/models/model_location_privacy_ind.go new file mode 100644 index 00000000..caf3b5c6 --- /dev/null +++ b/models/model_location_privacy_ind.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationPrivacyInd string + +// List of LocationPrivacyInd +const ( + LocationPrivacyInd_DISALLOWED LocationPrivacyInd = "LOCATION_DISALLOWED" + LocationPrivacyInd_ALLOWED LocationPrivacyInd = "LOCATION_ALLOWED" +) diff --git a/models/model_location_privacy_ver_result.go b/models/model_location_privacy_ver_result.go new file mode 100644 index 00000000..15fbaeea --- /dev/null +++ b/models/model_location_privacy_ver_result.go @@ -0,0 +1,22 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationPrivacyVerResult string + +// List of LocationPrivacyVerResult +const ( + LocationPrivacyVerResult_LOCATION_ALLOWED LocationPrivacyVerResult = "LOCATION_ALLOWED" + LocationPrivacyVerResult_LOCATION_NOT_ALLOWED LocationPrivacyVerResult = "LOCATION_NOT_ALLOWED" + LocationPrivacyVerResult_RESPONSE_TIME_OUT LocationPrivacyVerResult = "RESPONSE_TIME_OUT" +) diff --git a/models/model_location_qo_s.go b/models/model_location_qo_s.go index a12326ba..ab543a7f 100644 --- a/models/model_location_qo_s.go +++ b/models/model_location_qo_s.go @@ -1,17 +1,25 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// QoS of Location request. type LocationQoS struct { - HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy"` - VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy"` - VerticalRequested bool `json:"verticalRequested,omitempty" yaml:"verticalRequested" bson:"verticalRequested"` - ResponseTime ResponseTime `json:"responseTime,omitempty" yaml:"responseTime" bson:"responseTime"` + // Indicates value of accuracy. + HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` + // Indicates value of accuracy. + VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` + VerticalRequested bool `json:"verticalRequested,omitempty" yaml:"verticalRequested" bson:"verticalRequested,omitempty"` + ResponseTime ResponseTime `json:"responseTime,omitempty" yaml:"responseTime" bson:"responseTime,omitempty"` + MinorLocQoses []MinorLocationQoS `json:"minorLocQoses,omitempty" yaml:"minorLocQoses" bson:"minorLocQoses,omitempty"` + LcsQosClass LcsQosClass `json:"lcsQosClass,omitempty" yaml:"lcsQosClass" bson:"lcsQosClass,omitempty"` } diff --git a/models/model_location_report.go b/models/model_location_report.go new file mode 100644 index 00000000..26aebf18 --- /dev/null +++ b/models/model_location_report.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationReport struct { + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` +} diff --git a/models/model_location_reporting_charging_information.go b/models/model_location_reporting_charging_information.go index b75e4bb7..a1121b55 100644 --- a/models/model_location_reporting_charging_information.go +++ b/models/model_location_reporting_charging_information.go @@ -1,20 +1,24 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type LocationReportingChargingInformation struct { - LocationReportingMessageType int32 `json:"locationReportingMessageType" yaml:"locationReportingMessageType" bson:"locationReportingMessageType" mapstructure:"LocationReportingMessageType"` - UserInformation *UserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation" mapstructure:"UserInformation"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo" mapstructure:"UserLocationinfo"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation" mapstructure:"PSCellInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation" mapstructure:"PresenceReportingAreaInformation"` + LocationReportingMessageType int32 `json:"locationReportingMessageType" yaml:"locationReportingMessageType" bson:"locationReportingMessageType,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` } diff --git a/models/model_location_reporting_configuration.go b/models/model_location_reporting_configuration.go index 284b400e..f81b91be 100644 --- a/models/model_location_reporting_configuration.go +++ b/models/model_location_reporting_configuration.go @@ -1,16 +1,20 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type LocationReportingConfiguration struct { - CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation" mapstructure:"CurrentLocation"` - OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime" mapstructure:"OneTime"` - Accuracy LocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy" mapstructure:"Accuracy"` + CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation,omitempty"` + OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime,omitempty"` + Accuracy LocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` + N3gppAccuracy LocationAccuracy `json:"n3gppAccuracy,omitempty" yaml:"n3gppAccuracy" bson:"n3gppAccuracy,omitempty"` } diff --git a/models/model_location_type.go b/models/model_location_type.go index 131d7038..a4d21cde 100644 --- a/models/model_location_type.go +++ b/models/model_location_type.go @@ -1,9 +1,12 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V16.9.0; 5G System; Access and Mobility Management Services + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,5 +18,6 @@ type LocationType string const ( LocationType_CURRENT_LOCATION LocationType = "CURRENT_LOCATION" LocationType_CURRENT_OR_LAST_KNOWN_LOCATION LocationType = "CURRENT_OR_LAST_KNOWN_LOCATION" - LocationType_INITIAL_LOCATION LocationType = "INITIAL_LOCATION" + LocationType_NOTIFICATION_VERIFICATION_ONLY LocationType = "NOTIFICATION_VERIFICATION_ONLY" + LocationType_DEFERRED_LOCATION LocationType = "DEFERRED_LOCATION" ) diff --git a/models/model_logging_duration_mdt.go b/models/model_logging_duration_mdt.go new file mode 100644 index 00000000..467b2d76 --- /dev/null +++ b/models/model_logging_duration_mdt.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingDurationMdt string + +// List of LoggingDurationMdt +const ( + LoggingDurationMdt__600 LoggingDurationMdt = "600" + LoggingDurationMdt__1200 LoggingDurationMdt = "1200" + LoggingDurationMdt__2400 LoggingDurationMdt = "2400" + LoggingDurationMdt__3600 LoggingDurationMdt = "3600" + LoggingDurationMdt__5400 LoggingDurationMdt = "5400" + LoggingDurationMdt__7200 LoggingDurationMdt = "7200" +) diff --git a/models/model_logging_duration_nr_mdt.go b/models/model_logging_duration_nr_mdt.go new file mode 100644 index 00000000..55b8f1cd --- /dev/null +++ b/models/model_logging_duration_nr_mdt.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingDurationNrMdt string + +// List of LoggingDurationNrMdt +const ( + LoggingDurationNrMdt__600 LoggingDurationNrMdt = "600" + LoggingDurationNrMdt__1200 LoggingDurationNrMdt = "1200" + LoggingDurationNrMdt__2400 LoggingDurationNrMdt = "2400" + LoggingDurationNrMdt__3600 LoggingDurationNrMdt = "3600" + LoggingDurationNrMdt__5400 LoggingDurationNrMdt = "5400" + LoggingDurationNrMdt__7200 LoggingDurationNrMdt = "7200" +) diff --git a/models/model_logging_interval_mdt.go b/models/model_logging_interval_mdt.go new file mode 100644 index 00000000..7dea9c62 --- /dev/null +++ b/models/model_logging_interval_mdt.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingIntervalMdt string + +// List of LoggingIntervalMdt +const ( + LoggingIntervalMdt__128 LoggingIntervalMdt = "128" + LoggingIntervalMdt__256 LoggingIntervalMdt = "256" + LoggingIntervalMdt__512 LoggingIntervalMdt = "512" + LoggingIntervalMdt__1024 LoggingIntervalMdt = "1024" + LoggingIntervalMdt__2048 LoggingIntervalMdt = "2048" + LoggingIntervalMdt__3072 LoggingIntervalMdt = "3072" + LoggingIntervalMdt__4096 LoggingIntervalMdt = "4096" + LoggingIntervalMdt__6144 LoggingIntervalMdt = "6144" +) diff --git a/models/model_logging_interval_nr_mdt.go b/models/model_logging_interval_nr_mdt.go new file mode 100644 index 00000000..36e50bd2 --- /dev/null +++ b/models/model_logging_interval_nr_mdt.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingIntervalNrMdt string + +// List of LoggingIntervalNrMdt +const ( + LoggingIntervalNrMdt__128 LoggingIntervalNrMdt = "128" + LoggingIntervalNrMdt__256 LoggingIntervalNrMdt = "256" + LoggingIntervalNrMdt__512 LoggingIntervalNrMdt = "512" + LoggingIntervalNrMdt__1024 LoggingIntervalNrMdt = "1024" + LoggingIntervalNrMdt__2048 LoggingIntervalNrMdt = "2048" + LoggingIntervalNrMdt__3072 LoggingIntervalNrMdt = "3072" + LoggingIntervalNrMdt__4096 LoggingIntervalNrMdt = "4096" + LoggingIntervalNrMdt__6144 LoggingIntervalNrMdt = "6144" + LoggingIntervalNrMdt__320 LoggingIntervalNrMdt = "320" + LoggingIntervalNrMdt__640 LoggingIntervalNrMdt = "640" + LoggingIntervalNrMdt_INFINITY LoggingIntervalNrMdt = "infinity" +) diff --git a/models/model_loose_route_indication.go b/models/model_loose_route_indication.go new file mode 100644 index 00000000..15d33c2d --- /dev/null +++ b/models/model_loose_route_indication.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LooseRouteIndication string + +// List of LooseRouteIndication +const ( + LooseRouteIndication_NOT_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_NOT_REQUIRED" + LooseRouteIndication_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_REQUIRED" +) diff --git a/models/model_loss_connectivity_cfg.go b/models/model_loss_connectivity_cfg.go new file mode 100644 index 00000000..11590622 --- /dev/null +++ b/models/model_loss_connectivity_cfg.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossConnectivityCfg struct { + // indicating a time in seconds. + MaxDetectionTime int32 `json:"maxDetectionTime,omitempty" yaml:"maxDetectionTime" bson:"maxDetectionTime,omitempty"` +} diff --git a/models/model_loss_connectivity_report.go b/models/model_loss_connectivity_report.go new file mode 100644 index 00000000..441f57e8 --- /dev/null +++ b/models/model_loss_connectivity_report.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossConnectivityReport struct { + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` +} diff --git a/models/model_loss_of_connectivity_reason.go b/models/model_loss_of_connectivity_reason.go new file mode 100644 index 00000000..45eac9e7 --- /dev/null +++ b/models/model_loss_of_connectivity_reason.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossOfConnectivityReason string + +// List of LossOfConnectivityReason +const ( + LossOfConnectivityReason_DEREGISTERED LossOfConnectivityReason = "DEREGISTERED" + LossOfConnectivityReason_MAX_DETECTION_TIME_EXPIRED LossOfConnectivityReason = "MAX_DETECTION_TIME_EXPIRED" + LossOfConnectivityReason_PURGED LossOfConnectivityReason = "PURGED" +) diff --git a/models/model_lpi.go b/models/model_lpi.go new file mode 100644 index 00000000..6f1666fe --- /dev/null +++ b/models/model_lpi.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Lpi struct { + LocationPrivacyInd LocationPrivacyInd `json:"locationPrivacyInd" yaml:"locationPrivacyInd" bson:"locationPrivacyInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/model_lte_m_ind.go b/models/model_lte_m_ind.go new file mode 100644 index 00000000..8880e659 --- /dev/null +++ b/models/model_lte_m_ind.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// LTE-M Indication. +type LteMInd struct { + LteCatMInd bool `json:"lteCatMInd" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` +} diff --git a/models/model_lte_v2x_auth.go b/models/model_lte_v2x_auth.go new file mode 100644 index 00000000..a9ac00c9 --- /dev/null +++ b/models/model_lte_v2x_auth.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains LTE V2X services authorized information. +type LteV2xAuth struct { + VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` + PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` +} diff --git a/models/model_m5_qo_s_specification.go b/models/model_m5_qo_s_specification.go new file mode 100644 index 00000000..6c121e47 --- /dev/null +++ b/models/model_m5_qo_s_specification.go @@ -0,0 +1,30 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type M5QoSSpecification struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDlBitRate string `json:"marBwDlBitRate" yaml:"marBwDlBitRate" bson:"marBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUlBitRate string `json:"marBwUlBitRate" yaml:"marBwUlBitRate" bson:"marBwUlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwDlBitRate string `json:"minDesBwDlBitRate,omitempty" yaml:"minDesBwDlBitRate" bson:"minDesBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwUlBitRate string `json:"minDesBwUlBitRate,omitempty" yaml:"minDesBwUlBitRate" bson:"minDesBwUlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDlBitRate string `json:"mirBwDlBitRate" yaml:"mirBwDlBitRate" bson:"mirBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUlBitRate string `json:"mirBwUlBitRate" yaml:"mirBwUlBitRate" bson:"mirBwUlBitRate,omitempty"` + DesLatency int32 `json:"desLatency,omitempty" yaml:"desLatency" bson:"desLatency,omitempty"` + DesLoss int32 `json:"desLoss,omitempty" yaml:"desLoss" bson:"desLoss,omitempty"` +} diff --git a/models/model_ma_pdu_indication.go b/models/model_ma_pdu_indication.go index e66b8309..6f555bc2 100644 --- a/models/model_ma_pdu_indication.go +++ b/models/model_ma_pdu_indication.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ma_release_indication.go b/models/model_ma_release_indication.go new file mode 100644 index 00000000..c7cc547d --- /dev/null +++ b/models/model_ma_release_indication.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MaReleaseIndication string + +// List of MaReleaseIndication +const ( + MaReleaseIndication__3_GPP MaReleaseIndication = "REL_MAPDU_OVER_3GPP" + MaReleaseIndication_N3_GPP MaReleaseIndication = "REL_MAPDU_OVER_N3GPP" +) diff --git a/models/model_management_operation.go b/models/model_management_operation.go index d21ce726..00499562 100644 --- a/models/model_management_operation.go +++ b/models/model_management_operation.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,13 @@ type ManagementOperation string // List of ManagementOperation const ( - ManagementOperation_CREATE_MOI ManagementOperation = "CreateMOI" - ManagementOperation_MODIFY_MOI_ATTRIBUTES ManagementOperation = "ModifyMOIAttributes" - ManagementOperation_DELETE_MOI ManagementOperation = "DeleteMOI" + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_CREATE_MOI ManagementOperation = "CreateMOI" + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_MODIFY_MOI_ATTRIBUTES ManagementOperation = "ModifyMOIAttributes" + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_DELETE_MOI ManagementOperation = "DeleteMOI" + ManagementOperation_CREATE_MOI ManagementOperation = "CREATE_MOI" + ManagementOperation_MODIFY_MOI_ATTR ManagementOperation = "MODIFY_MOI_ATTR" + ManagementOperation_DELETE_MOI ManagementOperation = "DELETE_MOI" + ManagementOperation_NOTIFY_MOI_CREATION ManagementOperation = "NOTIFY_MOI_CREATION" + ManagementOperation_NOTIFY_MOI_ATTR_CHANGE ManagementOperation = "NOTIFY_MOI_ATTR_CHANGE" + ManagementOperation_NOTIFY_MOI_DELETION ManagementOperation = "NOTIFY_MOI_DELETION" ) diff --git a/models/model_management_operation_status.go b/models/model_management_operation_status.go index d8f92b49..2649c421 100644 --- a/models/model_management_operation_status.go +++ b/models/model_management_operation_status.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_mapdu_session_information.go b/models/model_mapdu_session_information.go index d1af83f5..092185c3 100644 --- a/models/model_mapdu_session_information.go +++ b/models/model_mapdu_session_information.go @@ -1,15 +1,18 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type MapduSessionInformation struct { - MAPDUSessionIndicator MaPduIndication `json:"mAPDUSessionIndicator,omitempty" yaml:"mAPDUSessionIndicator" bson:"mAPDUSessionIndicator" mapstructure:"MAPDUSessionIndicator"` - ATSSSCapability *AtsssCapability `json:"aTSSSCapability,omitempty" yaml:"aTSSSCapability" bson:"aTSSSCapability" mapstructure:"ATSSSCapability"` + MAPDUSessionIndicator MaPduIndication `json:"mAPDUSessionIndicator,omitempty" yaml:"mAPDUSessionIndicator" bson:"mAPDUSessionIndicator,omitempty"` + ATSSSCapability *AtsssCapability `json:"aTSSSCapability,omitempty" yaml:"aTSSSCapability" bson:"aTSSSCapability,omitempty"` } diff --git a/models/model_mapping_of_snssai.go b/models/model_mapping_of_snssai.go index 5b877e74..141401f0 100644 --- a/models/model_mapping_of_snssai.go +++ b/models/model_mapping_of_snssai.go @@ -1,16 +1,19 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the mapping of S-NSSAI in the serving network and the value of the home network type MappingOfSnssai struct { - ServingSnssai *Snssai `json:"servingSnssai" bson:"servingSnssai" yaml:"servingSnssai"` - - HomeSnssai *Snssai `json:"homeSnssai" bson:"homeSnssai" yaml:"homeSnssai"` + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` } diff --git a/models/model_matching_direction.go b/models/model_matching_direction.go new file mode 100644 index 00000000..da3d8b31 --- /dev/null +++ b/models/model_matching_direction.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MatchingDirection string + +// List of MatchingDirection +const ( + MatchingDirection_ASCENDING MatchingDirection = "ASCENDING" + MatchingDirection_DESCENDING MatchingDirection = "DESCENDING" + MatchingDirection_CROSSED MatchingDirection = "CROSSED" +) diff --git a/models/model_matching_operator.go b/models/model_matching_operator.go new file mode 100644 index 00000000..18f63ec9 --- /dev/null +++ b/models/model_matching_operator.go @@ -0,0 +1,27 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MatchingOperator string + +// List of MatchingOperator +const ( + MatchingOperator_FULL_MATCH MatchingOperator = "FULL_MATCH" + MatchingOperator_MATCH_ALL MatchingOperator = "MATCH_ALL" + MatchingOperator_STARTS_WITH MatchingOperator = "STARTS_WITH" + MatchingOperator_NOT_START_WITH MatchingOperator = "NOT_START_WITH" + MatchingOperator_ENDS_WITH MatchingOperator = "ENDS_WITH" + MatchingOperator_NOT_END_WITH MatchingOperator = "NOT_END_WITH" + MatchingOperator_CONTAINS MatchingOperator = "CONTAINS" + MatchingOperator_NOT_CONTAIN MatchingOperator = "NOT_CONTAIN" +) diff --git a/models/model_max_integrity_protected_data_rate.go b/models/model_max_integrity_protected_data_rate.go index 35bd6a0a..764b2eb9 100644 --- a/models/model_max_integrity_protected_data_rate.go +++ b/models/model_max_integrity_protected_data_rate.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_mb_smf_info.go b/models/model_mb_smf_info.go new file mode 100644 index 00000000..f1b518c2 --- /dev/null +++ b/models/model_mb_smf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MB-SMF NF Instance +type MbSmfInfo struct { + // A map (list of key-value pairs) where a valid JSON string serves as key + SNssaiInfoList map[string]SnssaiMbSmfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + // A map (list of key-value pairs) where a valid JSON string serves as key + TmgiRangeList map[string]TmgiRange `json:"tmgiRangeList,omitempty" yaml:"tmgiRangeList" bson:"tmgiRangeList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // A map (list of key-value pairs) where a valid JSON string serves as key + MbsSessionList map[string]NrfNfManagementMbsSession `json:"mbsSessionList,omitempty" yaml:"mbsSessionList" bson:"mbsSessionList,omitempty"` +} diff --git a/models/model_mb_upf_info.go b/models/model_mb_upf_info.go new file mode 100644 index 00000000..122f9249 --- /dev/null +++ b/models/model_mb_upf_info.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MB-UPF NF Instance +type MbUpfInfo struct { + SNssaiMbUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiMbUpfInfoList" yaml:"sNssaiMbUpfInfoList" bson:"sNssaiMbUpfInfoList,omitempty"` + MbSmfServingArea []string `json:"mbSmfServingArea,omitempty" yaml:"mbSmfServingArea" bson:"mbSmfServingArea,omitempty"` + InterfaceMbUpfInfoList []InterfaceUpfInfoItem `json:"interfaceMbUpfInfoList,omitempty" yaml:"interfaceMbUpfInfoList" bson:"interfaceMbUpfInfoList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` +} diff --git a/models/model_mbs_app_session_ctxt.go b/models/model_mbs_app_session_ctxt.go new file mode 100644 index 00000000..4aa057b0 --- /dev/null +++ b/models/model_mbs_app_session_ctxt.go @@ -0,0 +1,28 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameter of an MBS Application Session Context. +type MbsAppSessionCtxt struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` + ReqForLocDepMbs bool `json:"reqForLocDepMbs,omitempty" yaml:"reqForLocDepMbs" bson:"reqForLocDepMbs,omitempty"` + ContactPcfInd bool `json:"contactPcfInd,omitempty" yaml:"contactPcfInd" bson:"contactPcfInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_mbs_app_session_ctxt_patch.go b/models/model_mbs_app_session_ctxt_patch.go new file mode 100644 index 00000000..907b3d22 --- /dev/null +++ b/models/model_mbs_app_session_ctxt_patch.go @@ -0,0 +1,18 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the modifications to an existing MBS Application Session Context resource. +type MbsAppSessionCtxtPatch struct { + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` +} diff --git a/models/model_mbs_error_report.go b/models/model_mbs_error_report.go new file mode 100644 index 00000000..220e42b9 --- /dev/null +++ b/models/model_mbs_error_report.go @@ -0,0 +1,18 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the reporting of MBS Policy decision level failure(s) and/or MBS PCC rule level failure(s). +type MbsErrorReport struct { + MbsReports []MbsReport `json:"mbsReports,omitempty" yaml:"mbsReports" bson:"mbsReports,omitempty"` +} diff --git a/models/model_mbs_failure_code.go b/models/model_mbs_failure_code.go new file mode 100644 index 00000000..dddc5967 --- /dev/null +++ b/models/model_mbs_failure_code.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsFailureCode string + +// List of MbsFailureCode +const ( + MbsFailureCode_NF_MALFUNCTION MbsFailureCode = "NF_MALFUNCTION" + MbsFailureCode_NF_RESOURCES_UNAVAILABLE MbsFailureCode = "NF_RESOURCES_UNAVAILABLE" + MbsFailureCode_RESOURCE_ALLOCATION_FAILURE MbsFailureCode = "RESOURCE_ALLOCATION_FAILURE" + MbsFailureCode_MBS_QOS_VALIDATION_FAILURE MbsFailureCode = "MBS_QOS_VALIDATION_FAILURE" + MbsFailureCode_NO_MBS_QOS_FLOW MbsFailureCode = "NO_MBS_QOS_FLOW" + MbsFailureCode_MBS_QOS_DECISION_ERROR MbsFailureCode = "MBS_QOS_DECISION_ERROR" + MbsFailureCode_MBS_POLICY_PARAM_ERROR MbsFailureCode = "MBS_POLICY_PARAM_ERROR" +) diff --git a/models/model_mbs_media_comp.go b/models/model_mbs_media_comp.go new file mode 100644 index 00000000..56753566 --- /dev/null +++ b/models/model_mbs_media_comp.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an MBS Media Component. +type MbsMediaComp struct { + MbsMedCompNum int32 `json:"mbsMedCompNum" yaml:"mbsMedCompNum" bson:"mbsMedCompNum,omitempty"` + MbsFlowDescs []string `json:"mbsFlowDescs,omitempty" yaml:"mbsFlowDescs" bson:"mbsFlowDescs,omitempty"` + MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` + MbsMediaInfo *MbsMediaInfo `json:"mbsMediaInfo,omitempty" yaml:"mbsMediaInfo" bson:"mbsMediaInfo,omitempty"` + QosRef string `json:"qosRef,omitempty" yaml:"qosRef" bson:"qosRef,omitempty"` + MbsQoSReq *MbsQoSReq `json:"mbsQoSReq,omitempty" yaml:"mbsQoSReq" bson:"mbsQoSReq,omitempty"` +} diff --git a/models/model_mbs_media_comp_rm.go b/models/model_mbs_media_comp_rm.go new file mode 100644 index 00000000..730a898b --- /dev/null +++ b/models/model_mbs_media_comp_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsMediaCompRm struct { +} diff --git a/models/model_mbs_media_info.go b/models/model_mbs_media_info.go new file mode 100644 index 00000000..8d800bb5 --- /dev/null +++ b/models/model_mbs_media_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS Media Information. +type MbsMediaInfo struct { + MbsMedType MediaType `json:"mbsMedType,omitempty" yaml:"mbsMedType" bson:"mbsMedType,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxReqMbsBwDl string `json:"maxReqMbsBwDl,omitempty" yaml:"maxReqMbsBwDl" bson:"maxReqMbsBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinReqMbsBwDl string `json:"minReqMbsBwDl,omitempty" yaml:"minReqMbsBwDl" bson:"minReqMbsBwDl,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` +} diff --git a/models/model_mbs_n2_message_transfer_req_data.go b/models/model_mbs_n2_message_transfer_req_data.go new file mode 100644 index 00000000..f35219a8 --- /dev/null +++ b/models/model_mbs_n2_message_transfer_req_data.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within MBS N2 Message Transfer Request +type MbsN2MessageTransferReqData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + N2MbsSmInfo *AmfMbsCommunicationN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_mbs_n2_message_transfer_rsp_data.go b/models/model_mbs_n2_message_transfer_rsp_data.go new file mode 100644 index 00000000..b724e843 --- /dev/null +++ b/models/model_mbs_n2_message_transfer_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within MBS N2 Message Transfer Response +type MbsN2MessageTransferRspData struct { + Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_mbs_ngap_ie_type.go b/models/model_mbs_ngap_ie_type.go new file mode 100644 index 00000000..370c2091 --- /dev/null +++ b/models/model_mbs_ngap_ie_type.go @@ -0,0 +1,22 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsNgapIeType string + +// List of MbsNgapIeType +const ( + MbsNgapIeType_ACT_REQ MbsNgapIeType = "MBS_SES_ACT_REQ" + MbsNgapIeType_DEACT_REQ MbsNgapIeType = "MBS_SES_DEACT_REQ" + MbsNgapIeType_UPD_REQ MbsNgapIeType = "MBS_SES_UPD_REQ" +) diff --git a/models/model_mbs_pcc_rule.go b/models/model_mbs_pcc_rule.go new file mode 100644 index 00000000..3a1505d7 --- /dev/null +++ b/models/model_mbs_pcc_rule.go @@ -0,0 +1,22 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS PCC rule. +type MbsPccRule struct { + MbsPccRuleId string `json:"mbsPccRuleId" yaml:"mbsPccRuleId" bson:"mbsPccRuleId,omitempty"` + MbsDlIpFlowInfo []string `json:"mbsDlIpFlowInfo,omitempty" yaml:"mbsDlIpFlowInfo" bson:"mbsDlIpFlowInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + RefMbsQosDec []string `json:"refMbsQosDec,omitempty" yaml:"refMbsQosDec" bson:"refMbsQosDec,omitempty"` +} diff --git a/models/model_mbs_pcc_rule_status.go b/models/model_mbs_pcc_rule_status.go new file mode 100644 index 00000000..f97ccf34 --- /dev/null +++ b/models/model_mbs_pcc_rule_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsPccRuleStatus string + +// List of MbsPccRuleStatus +const ( + MbsPccRuleStatus_ACTIVE MbsPccRuleStatus = "ACTIVE" + MbsPccRuleStatus_INACTIVE MbsPccRuleStatus = "INACTIVE" +) diff --git a/models/model_mbs_pcrt.go b/models/model_mbs_pcrt.go new file mode 100644 index 00000000..a738c195 --- /dev/null +++ b/models/model_mbs_pcrt.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsPcrt string + +// List of MbsPcrt +const ( + MbsPcrt_MBS_SESSION_UPDATE MbsPcrt = "MBS_SESSION_UPDATE" +) diff --git a/models/model_mbs_policy_ctxt_data.go b/models/model_mbs_policy_ctxt_data.go new file mode 100644 index 00000000..73cf54a9 --- /dev/null +++ b/models/model_mbs_policy_ctxt_data.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the parameters used to request the creation of an MBS Policy Association. +type MbsPolicyCtxtData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_mbs_policy_ctxt_data_update.go b/models/model_mbs_policy_ctxt_data_update.go new file mode 100644 index 00000000..471c0c0a --- /dev/null +++ b/models/model_mbs_policy_ctxt_data_update.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the parameters to request the modification of an existing MBS Policy Association. +type MbsPolicyCtxtDataUpdate struct { + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` + MbsErrorReport *MbsErrorReport `json:"mbsErrorReport,omitempty" yaml:"mbsErrorReport" bson:"mbsErrorReport,omitempty"` +} diff --git a/models/model_mbs_policy_data.go b/models/model_mbs_policy_data.go new file mode 100644 index 00000000..4fe07a5b --- /dev/null +++ b/models/model_mbs_policy_data.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the MBS policy data provisioned as part of an MBS Policy Association. +type MbsPolicyData struct { + MbsPolicyCtxtData *MbsPolicyCtxtData `json:"mbsPolicyCtxtData" yaml:"mbsPolicyCtxtData" bson:"mbsPolicyCtxtData,omitempty"` + MbsPolicies *MbsPolicyDecision `json:"mbsPolicies,omitempty" yaml:"mbsPolicies" bson:"mbsPolicies,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_mbs_policy_decision.go b/models/model_mbs_policy_decision.go new file mode 100644 index 00000000..fb2b2a1c --- /dev/null +++ b/models/model_mbs_policy_decision.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS Policy Decision. +type MbsPolicyDecision struct { + // A map of MBS PCC rule(s) with each map entry containing the MbsPccRule data structure. The key of the map for each entry is the mbsPccRuleId attribute of the corresponding MbsPccRule data structure. + MbsPccRules map[string]MbsPccRule `json:"mbsPccRules,omitempty" yaml:"mbsPccRules" bson:"mbsPccRules,omitempty"` + // A map of MBS QoS Decision(s) with each map entry containing the MbsQosDec data structure. The key of the map for each entry is the mbsQosId attribute of the corresponding MbsQosDec data structure. + MbsQosDecs map[string]MbsQosDec `json:"mbsQosDecs,omitempty" yaml:"mbsQosDecs" bson:"mbsQosDecs,omitempty"` + // A map of MBS QoS Characteristics set(s) with each map entry containing the MbsQosChar data structure. The key of the map for each entry is the 5QI attribute of the corresponding MbsQosDec data structure. + MbsQosChars map[string]MbsQosChar `json:"mbsQosChars,omitempty" yaml:"mbsQosChars" bson:"mbsQosChars,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AuthMbsSessAmbr string `json:"authMbsSessAmbr,omitempty" yaml:"authMbsSessAmbr" bson:"authMbsSessAmbr,omitempty"` + MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` +} diff --git a/models/model_mbs_qo_s_req.go b/models/model_mbs_qo_s_req.go new file mode 100644 index 00000000..a3305e19 --- /dev/null +++ b/models/model_mbs_qo_s_req.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS QoS requirements. +type MbsQoSReq struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuarBitRate string `json:"guarBitRate,omitempty" yaml:"guarBitRate" bson:"guarBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRate string `json:"maxBitRate,omitempty" yaml:"maxBitRate" bson:"maxBitRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + ReqMbsArp *Arp `json:"reqMbsArp,omitempty" yaml:"reqMbsArp" bson:"reqMbsArp,omitempty"` +} diff --git a/models/model_mbs_qos_char.go b/models/model_mbs_qos_char.go new file mode 100644 index 00000000..efadf56d --- /dev/null +++ b/models/model_mbs_qos_char.go @@ -0,0 +1,30 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting a set of explicitly signalled QoS characteristics. +type MbsQosChar struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Represents the MBS Maximum Data Burst Volume expressed in Bytes. + MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` +} diff --git a/models/model_mbs_qos_dec.go b/models/model_mbs_qos_dec.go new file mode 100644 index 00000000..d4459db2 --- /dev/null +++ b/models/model_mbs_qos_dec.go @@ -0,0 +1,31 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS QoS Decision. +type MbsQosDec struct { + MbsQosId string `json:"mbsQosId" yaml:"mbsQosId" bson:"mbsQosId,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Represents the MBS Maximum Data Burst Volume expressed in Bytes. + MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol,omitempty" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` +} diff --git a/models/model_mbs_report.go b/models/model_mbs_report.go new file mode 100644 index 00000000..53a5591b --- /dev/null +++ b/models/model_mbs_report.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about the MBS Policy Decision level failure(s) and/or the MBS PCC rule level failure(s). +type MbsReport struct { + MbsPccRuleIds []string `json:"mbsPccRuleIds,omitempty" yaml:"mbsPccRuleIds" bson:"mbsPccRuleIds,omitempty"` + MbsPccRuleStatus MbsPccRuleStatus `json:"mbsPccRuleStatus,omitempty" yaml:"mbsPccRuleStatus" bson:"mbsPccRuleStatus,omitempty"` + FailureCode MbsFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/model_mbs_service_area.go b/models/model_mbs_service_area.go new file mode 100644 index 00000000..3df9fdc3 --- /dev/null +++ b/models/model_mbs_service_area.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Service Area +type MbsServiceArea struct { + // List of NR cell Ids + NcgiList []NcgiTai `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // List of tracking area Ids + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/model_mbs_service_area_info.go b/models/model_mbs_service_area_info.go new file mode 100644 index 00000000..aef4d187 --- /dev/null +++ b/models/model_mbs_service_area_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Service Area Information for location dependent MBS session +type MbsServiceAreaInfo struct { + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` +} diff --git a/models/model_mbs_service_info.go b/models/model_mbs_service_info.go new file mode 100644 index 00000000..64925acb --- /dev/null +++ b/models/model_mbs_service_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS Service Information. +type MbsServiceInfo struct { + MbsMediaComps map[string]*MbsMediaComp `json:"mbsMediaComps" yaml:"mbsMediaComps" bson:"mbsMediaComps,omitempty"` + MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbsSessionAmbr string `json:"mbsSessionAmbr,omitempty" yaml:"mbsSessionAmbr" bson:"mbsSessionAmbr,omitempty"` +} diff --git a/models/model_mbs_session_id.go b/models/model_mbs_session_id.go new file mode 100644 index 00000000..eaca5ca1 --- /dev/null +++ b/models/model_mbs_session_id.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Session Identifier +type MbsSessionId struct { + Tmgi *Tmgi `json:"tmgi,omitempty" yaml:"tmgi" bson:"tmgi,omitempty"` + Ssm *Ssm `json:"ssm,omitempty" yaml:"ssm" bson:"ssm,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/model_mbs_subscription_data.go b/models/model_mbs_subscription_data.go new file mode 100644 index 00000000..24fd723a --- /dev/null +++ b/models/model_mbs_subscription_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the 5MBS Subscription Data. +type MbsSubscriptionData struct { + MbsAllowed bool `json:"mbsAllowed,omitempty" yaml:"mbsAllowed" bson:"mbsAllowed,omitempty"` + MbsSessionIdList []MbsSessionId `json:"mbsSessionIdList,omitempty" yaml:"mbsSessionIdList" bson:"mbsSessionIdList,omitempty"` +} diff --git a/models/model_mbsfn_area.go b/models/model_mbsfn_area.go new file mode 100644 index 00000000..d2ed59e6 --- /dev/null +++ b/models/model_mbsfn_area.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an MBSFN area information. +type MbsfnArea struct { + // This IE shall contain the MBSFN Area ID. + MbsfnAreaId int32 `json:"mbsfnAreaId,omitempty" yaml:"mbsfnAreaId" bson:"mbsfnAreaId,omitempty"` + // When present, this IE shall contain the Carrier Frequency (EARFCN). + CarrierFrequency int32 `json:"carrierFrequency,omitempty" yaml:"carrierFrequency" bson:"carrierFrequency,omitempty"` +} diff --git a/models/model_mdt_configuration.go b/models/model_mdt_configuration.go new file mode 100644 index 00000000..50599a0a --- /dev/null +++ b/models/model_mdt_configuration.go @@ -0,0 +1,48 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains contain MDT configuration data. +type MdtConfiguration struct { + JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` + ReportType ReportTypeMdt `json:"reportType,omitempty" yaml:"reportType" bson:"reportType,omitempty"` + AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` + MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` + MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` + SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` + ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` + ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` + ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` + ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-97. + EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-127. + EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-34. + EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-127. + EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` + EventList []EventForMdt `json:"eventList,omitempty" yaml:"eventList" bson:"eventList,omitempty"` + LoggingInterval LoggingIntervalMdt `json:"loggingInterval,omitempty" yaml:"loggingInterval" bson:"loggingInterval,omitempty"` + LoggingIntervalNr LoggingIntervalNrMdt `json:"loggingIntervalNr,omitempty" yaml:"loggingIntervalNr" bson:"loggingIntervalNr,omitempty"` + LoggingDuration LoggingDurationMdt `json:"loggingDuration,omitempty" yaml:"loggingDuration" bson:"loggingDuration,omitempty"` + LoggingDurationNr LoggingDurationNrMdt `json:"loggingDurationNr,omitempty" yaml:"loggingDurationNr" bson:"loggingDurationNr,omitempty"` + PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` + AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` + CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` + CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` + MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` + MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` + MbsfnAreaList []MbsfnArea `json:"mbsfnAreaList,omitempty" yaml:"mbsfnAreaList" bson:"mbsfnAreaList,omitempty"` + InterFreqTargetList []InterFreqTargetInfo `json:"interFreqTargetList,omitempty" yaml:"interFreqTargetList" bson:"interFreqTargetList,omitempty"` +} diff --git a/models/model_mdt_user_consent.go b/models/model_mdt_user_consent.go new file mode 100644 index 00000000..f4a0ddfb --- /dev/null +++ b/models/model_mdt_user_consent.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MdtUserConsent string + +// List of MdtUserConsent +const ( + MdtUserConsent_NOT_GIVEN MdtUserConsent = "CONSENT_NOT_GIVEN" + MdtUserConsent_GIVEN MdtUserConsent = "CONSENT_GIVEN" +) diff --git a/models/model_measurement_lte_for_mdt.go b/models/model_measurement_lte_for_mdt.go new file mode 100644 index 00000000..40c91aac --- /dev/null +++ b/models/model_measurement_lte_for_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementLteForMdt string + +// List of MeasurementLteForMdt +const ( + MeasurementLteForMdt_M1 MeasurementLteForMdt = "M1" + MeasurementLteForMdt_M2 MeasurementLteForMdt = "M2" + MeasurementLteForMdt_M3 MeasurementLteForMdt = "M3" + MeasurementLteForMdt_M4_DL MeasurementLteForMdt = "M4_DL" + MeasurementLteForMdt_M4_UL MeasurementLteForMdt = "M4_UL" + MeasurementLteForMdt_M5_DL MeasurementLteForMdt = "M5_DL" + MeasurementLteForMdt_M5_UL MeasurementLteForMdt = "M5_UL" + MeasurementLteForMdt_M6_DL MeasurementLteForMdt = "M6_DL" + MeasurementLteForMdt_M6_UL MeasurementLteForMdt = "M6_UL" + MeasurementLteForMdt_M7_DL MeasurementLteForMdt = "M7_DL" + MeasurementLteForMdt_M7_UL MeasurementLteForMdt = "M7_UL" + MeasurementLteForMdt_M8 MeasurementLteForMdt = "M8" + MeasurementLteForMdt_M9 MeasurementLteForMdt = "M9" +) diff --git a/models/model_measurement_nr_for_mdt.go b/models/model_measurement_nr_for_mdt.go new file mode 100644 index 00000000..b715d553 --- /dev/null +++ b/models/model_measurement_nr_for_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementNrForMdt string + +// List of MeasurementNrForMdt +const ( + MeasurementNrForMdt_M1 MeasurementNrForMdt = "M1" + MeasurementNrForMdt_M2 MeasurementNrForMdt = "M2" + MeasurementNrForMdt_M3 MeasurementNrForMdt = "M3" + MeasurementNrForMdt_M4_DL MeasurementNrForMdt = "M4_DL" + MeasurementNrForMdt_M4_UL MeasurementNrForMdt = "M4_UL" + MeasurementNrForMdt_M5_DL MeasurementNrForMdt = "M5_DL" + MeasurementNrForMdt_M5_UL MeasurementNrForMdt = "M5_UL" + MeasurementNrForMdt_M6_DL MeasurementNrForMdt = "M6_DL" + MeasurementNrForMdt_M6_UL MeasurementNrForMdt = "M6_UL" + MeasurementNrForMdt_M7_DL MeasurementNrForMdt = "M7_DL" + MeasurementNrForMdt_M7_UL MeasurementNrForMdt = "M7_UL" + MeasurementNrForMdt_M8 MeasurementNrForMdt = "M8" + MeasurementNrForMdt_M9 MeasurementNrForMdt = "M9" +) diff --git a/models/model_measurement_period_lte_mdt.go b/models/model_measurement_period_lte_mdt.go new file mode 100644 index 00000000..5a059d72 --- /dev/null +++ b/models/model_measurement_period_lte_mdt.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementPeriodLteMdt string + +// List of MeasurementPeriodLteMdt +const ( + MeasurementPeriodLteMdt__1024 MeasurementPeriodLteMdt = "1024" + MeasurementPeriodLteMdt__1280 MeasurementPeriodLteMdt = "1280" + MeasurementPeriodLteMdt__2048 MeasurementPeriodLteMdt = "2048" + MeasurementPeriodLteMdt__2560 MeasurementPeriodLteMdt = "2560" + MeasurementPeriodLteMdt__5120 MeasurementPeriodLteMdt = "5120" + MeasurementPeriodLteMdt__10240 MeasurementPeriodLteMdt = "10240" + MeasurementPeriodLteMdt__60000 MeasurementPeriodLteMdt = "60000" +) diff --git a/models/model_media_component.go b/models/model_media_component.go index 8ad92118..2b92057f 100644 --- a/models/model_media_component.go +++ b/models/model_media_component.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -12,18 +15,61 @@ package models // Identifies a media component. type MediaComponent struct { // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId" mapstructure:"AfAppId"` - AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq" mapstructure:"AfRoutReq"` + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` + // Contains alternative service requirements that include individual QoS parameter sets. + AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer" mapstructure:"ContVer"` - Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs" mapstructure:"Codecs"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus" mapstructure:"FStatus"` - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl" mapstructure:"MarBwDl"` - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl" mapstructure:"MarBwUl"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN" mapstructure:"MedCompN"` - MedSubComps map[string]MediaSubComponent `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps" mapstructure:"MedSubComps"` - MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType" mapstructure:"MedType"` - MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl" mapstructure:"MirBwDl"` - MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl" mapstructure:"MirBwUl"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio" mapstructure:"ResPrio"` + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` + // string with format 'float' as defined in OpenAPI. + DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` + // string with format 'float' as defined in OpenAPI. + DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` + FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` + // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. + MedSubComps map[string]MediaSubComponent `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` + MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` + PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + TsnQos *TsnQosContainer `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` } diff --git a/models/model_media_component_resources_status.go b/models/model_media_component_resources_status.go index 3f717137..ccf27eb4 100644 --- a/models/model_media_component_resources_status.go +++ b/models/model_media_component_resources_status.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_media_component_rm.go b/models/model_media_component_rm.go index 28a68c5d..4fb9bddd 100644 --- a/models/model_media_component_rm.go +++ b/models/model_media_component_rm.go @@ -1,29 +1,75 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// This data type is defined in the same way as the MediaComponent data type, but with the OpenAPI nullable property set to true +// This data type is defined in the same way as the MediaComponent data type, but with the OpenAPI nullable property set to true. type MediaComponentRm struct { // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId" mapstructure:"AfAppId"` - AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq" mapstructure:"AfRoutReq"` + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` + // Contains removable alternative service requirements that include individual QoS parameter sets. + AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer" mapstructure:"ContVer"` - Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs" mapstructure:"Codecs"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus" mapstructure:"FStatus"` - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl" mapstructure:"MarBwDl"` - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl" mapstructure:"MarBwUl"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN" mapstructure:"MedCompN"` - MedSubComps map[string]MediaSubComponentRm `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps" mapstructure:"MedSubComps"` - MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType" mapstructure:"MedType"` - MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl" mapstructure:"MirBwDl"` - MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl" mapstructure:"MirBwUl"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio" mapstructure:"ResPrio"` + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` + // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. + DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` + // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. + DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` + FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` + // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. + MedSubComps map[string]*MediaSubComponentRm `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` + MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` + PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. + SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. + SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + TsnQos *TsnQosContainerRm `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` } diff --git a/models/model_media_initiator_flag.go b/models/model_media_initiator_flag.go new file mode 100644 index 00000000..8007146b --- /dev/null +++ b/models/model_media_initiator_flag.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MediaInitiatorFlag string + +// List of MediaInitiatorFlag +const ( + MediaInitiatorFlag_CALLED_PARTY MediaInitiatorFlag = "CALLED_PARTY" + MediaInitiatorFlag_CALLING_PARTY MediaInitiatorFlag = "CALLING_PARTY" + MediaInitiatorFlag_UNKNOWN MediaInitiatorFlag = "UNKNOWN" +) diff --git a/models/model_media_streaming_access_record.go b/models/model_media_streaming_access_record.go new file mode 100644 index 00000000..3ad0493b --- /dev/null +++ b/models/model_media_streaming_access_record.go @@ -0,0 +1,31 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type MediaStreamingAccessRecord struct { + // string with format 'date-time' as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + MediaStreamHandlerEndpointAddress *EndpointAddress `json:"mediaStreamHandlerEndpointAddress" yaml:"mediaStreamHandlerEndpointAddress" bson:"mediaStreamHandlerEndpointAddress,omitempty"` + ApplicationServerEndpointAddress *EndpointAddress `json:"applicationServerEndpointAddress" yaml:"applicationServerEndpointAddress" bson:"applicationServerEndpointAddress,omitempty"` + SessionIdentifier string `json:"sessionIdentifier,omitempty" yaml:"sessionIdentifier" bson:"sessionIdentifier,omitempty"` + RequestMessage map[string]interface{} `json:"requestMessage" yaml:"requestMessage" bson:"requestMessage,omitempty"` + CacheStatus CacheStatus `json:"cacheStatus,omitempty" yaml:"cacheStatus" bson:"cacheStatus,omitempty"` + ResponseMessage map[string]interface{} `json:"responseMessage" yaml:"responseMessage" bson:"responseMessage,omitempty"` + // string with format 'float' as defined in OpenAPI. + ProcessingLatency float32 `json:"processingLatency" yaml:"processingLatency" bson:"processingLatency,omitempty"` + ConnectionMetrics map[string]interface{} `json:"connectionMetrics,omitempty" yaml:"connectionMetrics" bson:"connectionMetrics,omitempty"` +} diff --git a/models/model_media_sub_component.go b/models/model_media_sub_component.go index 8d447af0..b50e9542 100644 --- a/models/model_media_sub_component.go +++ b/models/model_media_sub_component.go @@ -1,23 +1,29 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Identifies a media subcomponent +// Identifies a media subcomponent. type MediaSubComponent struct { - EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs" mapstructure:"EthfDescs"` - FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum" mapstructure:"FNum"` - FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs" mapstructure:"FDescs"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus" mapstructure:"FStatus"` - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl" mapstructure:"MarBwDl"` - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl" mapstructure:"MarBwUl"` + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` // 2-octet string, where each octet is encoded in hexadecimal representation. The first octet contains the IPv4 Type-of-Service or the IPv6 Traffic-Class field and the second octet contains the ToS/Traffic Class mask field. - TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl" mapstructure:"TosTrCl"` - FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage" mapstructure:"FlowUsage"` + TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` + FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` } diff --git a/models/model_media_sub_component_rm.go b/models/model_media_sub_component_rm.go index 5b1248fb..af29e34e 100644 --- a/models/model_media_sub_component_rm.go +++ b/models/model_media_sub_component_rm.go @@ -1,23 +1,29 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// This data type is defined in the same way as the MediaSubComponent data type, but with the OpenAPI nullable property set to true. Removable attributes marBwDland marBwUl are defined with the corresponding removable data type. +// This data type is defined in the same way as the MediaSubComponent data type, but with the OpenAPI nullable property set to true. Removable attributes marBwDl and marBwUl are defined with the corresponding removable data type. type MediaSubComponentRm struct { - EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs" mapstructure:"EthfDescs"` - FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum" mapstructure:"FNum"` - FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs" mapstructure:"FDescs"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus" mapstructure:"FStatus"` - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl" mapstructure:"MarBwDl"` - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl" mapstructure:"MarBwUl"` - // this data type is defined in the same way as the TosTrafficClass data type, but with the OpenAPI nullable property set to true - TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl" mapstructure:"TosTrCl"` - FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage" mapstructure:"FlowUsage"` + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the TosTrafficClass data type, but with the OpenAPI nullable property set to true. + TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` + FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` } diff --git a/models/model_media_type.go b/models/model_media_type.go index c88a6c17..22b4533d 100644 --- a/models/model_media_type.go +++ b/models/model_media_type.go @@ -1,9 +1,12 @@ /* - * Npcf_PolicyAuthorization Service API + * Nnef_EventExposure * - * This is the Policy Authorization Service + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_message_body.go b/models/model_message_body.go new file mode 100644 index 00000000..03c5a05f --- /dev/null +++ b/models/model_message_body.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MessageBody struct { + ContentType string `json:"contentType" yaml:"contentType" bson:"contentType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ContentLength int32 `json:"contentLength" yaml:"contentLength" bson:"contentLength,omitempty"` + ContentDisposition string `json:"contentDisposition,omitempty" yaml:"contentDisposition" bson:"contentDisposition,omitempty"` + Originator OriginatorPartyType `json:"originator,omitempty" yaml:"originator" bson:"originator,omitempty"` +} diff --git a/models/model_message_class.go b/models/model_message_class.go index 1a8f3d54..69193623 100644 --- a/models/model_message_class.go +++ b/models/model_message_class.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type MessageClass struct { - ClassIdentifier ClassIdentifier `json:"classIdentifier,omitempty" yaml:"classIdentifier" bson:"classIdentifier" mapstructure:"ClassIdentifier"` - TokenText string `json:"tokenText,omitempty" yaml:"tokenText" bson:"tokenText" mapstructure:"TokenText"` + ClassIdentifier ClassIdentifier `json:"classIdentifier,omitempty" yaml:"classIdentifier" bson:"classIdentifier,omitempty"` + TokenText string `json:"tokenText,omitempty" yaml:"tokenText" bson:"tokenText,omitempty"` } diff --git a/models/model_message_waiting_data.go b/models/model_message_waiting_data.go new file mode 100644 index 00000000..b3b0e326 --- /dev/null +++ b/models/model_message_waiting_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Message Waiting Data list. +type MessageWaitingData struct { + MwdList []SmscData `json:"mwdList,omitempty" yaml:"mwdList" bson:"mwdList,omitempty"` +} diff --git a/models/model_meta_schema.go b/models/model_meta_schema.go new file mode 100644 index 00000000..b980f7ff --- /dev/null +++ b/models/model_meta_schema.go @@ -0,0 +1,20 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the Meta Schema +type MetaSchema struct { + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId" yaml:"schemaId" bson:"schemaId,omitempty"` + MetaTags []TagType `json:"metaTags" yaml:"metaTags" bson:"metaTags,omitempty"` +} diff --git a/models/model_metering_method.go b/models/model_metering_method.go index c81f1d4f..3ceb8b77 100644 --- a/models/model_metering_method.go +++ b/models/model_metering_method.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_mfaf_info.go b/models/model_mfaf_info.go new file mode 100644 index 00000000..7141153e --- /dev/null +++ b/models/model_mfaf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a MFAF NF Instance +type MfafInfo struct { + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/model_mico_mode_indication.go b/models/model_mico_mode_indication.go index 4aa5fc09..e3830da3 100644 --- a/models/model_mico_mode_indication.go +++ b/models/model_mico_mode_indication.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_milenage.go b/models/model_milenage.go deleted file mode 100644 index f48b9a8d..00000000 --- a/models/model_milenage.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Milenage struct { - Op *Op `json:"op,omitempty" bson:"op"` - Rotations *Rotations `json:"rotations,omitempty" bson:"rotations"` - Constants *Constants `json:"constants,omitempty" bson:"constants"` -} diff --git a/models/model_minor_location_qo_s.go b/models/model_minor_location_qo_s.go new file mode 100644 index 00000000..9afc5688 --- /dev/null +++ b/models/model_minor_location_qo_s.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain Minor Location QoS. +type MinorLocationQoS struct { + // Indicates value of accuracy. + HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` + // Indicates value of accuracy. + VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` +} diff --git a/models/model_ml_analytics_info.go b/models/model_ml_analytics_info.go new file mode 100644 index 00000000..349f9a09 --- /dev/null +++ b/models/model_ml_analytics_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// ML Analytics Filter information supported by the Nnwdaf_MLModelProvision service +type MlAnalyticsInfo struct { + MlAnalyticsIds []NwdafEvent `json:"mlAnalyticsIds,omitempty" yaml:"mlAnalyticsIds" bson:"mlAnalyticsIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` +} diff --git a/models/model_ml_event_notif.go b/models/model_ml_event_notif.go new file mode 100644 index 00000000..bdb18d49 --- /dev/null +++ b/models/model_ml_event_notif.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a notification related to a single event that occurred. +type MlEventNotif struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + MLFileAddr *MlModelAddr `json:"mLFileAddr" yaml:"mLFileAddr" bson:"mLFileAddr,omitempty"` + ValidityPeriod *TimeWindow `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` +} diff --git a/models/model_ml_event_subscription.go b/models/model_ml_event_subscription.go new file mode 100644 index 00000000..5c2bbc63 --- /dev/null +++ b/models/model_ml_event_subscription.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a subscription to a single event. +type MlEventSubscription struct { + MLEvent NwdafEvent `json:"mLEvent" yaml:"mLEvent" bson:"mLEvent,omitempty"` + MLEventFilter *NwdafAnalyticsInfoEventFilter `json:"mLEventFilter" yaml:"mLEventFilter" bson:"mLEventFilter,omitempty"` + TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` + MLTargetPeriod *TimeWindow `json:"mLTargetPeriod,omitempty" yaml:"mLTargetPeriod" bson:"mLTargetPeriod,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ExpiryTime *time.Time `json:"expiryTime,omitempty" yaml:"expiryTime" bson:"expiryTime,omitempty"` +} diff --git a/models/model_ml_model_addr.go b/models/model_ml_model_addr.go new file mode 100644 index 00000000..d1fcfa3d --- /dev/null +++ b/models/model_ml_model_addr.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addresses of ML model files. +type MlModelAddr struct { + // String providing an URI formatted according to RFC 3986. + MLModelUrl string `json:"mLModelUrl,omitempty" yaml:"mLModelUrl" bson:"mLModelUrl,omitempty"` + // The FQDN of the ML Model file. + MlFileFqdn string `json:"mlFileFqdn,omitempty" yaml:"mlFileFqdn" bson:"mlFileFqdn,omitempty"` +} diff --git a/models/model_ml_model_info.go b/models/model_ml_model_info.go new file mode 100644 index 00000000..5af1341a --- /dev/null +++ b/models/model_ml_model_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about an ML models. +type MlModelInfo struct { + MlFileAddrs []MlModelAddr `json:"mlFileAddrs,omitempty" yaml:"mlFileAddrs" bson:"mlFileAddrs,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ModelProvId string `json:"modelProvId,omitempty" yaml:"modelProvId" bson:"modelProvId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ModelProvSetId string `json:"modelProvSetId,omitempty" yaml:"modelProvSetId" bson:"modelProvSetId,omitempty"` +} diff --git a/models/model_mm_context.go b/models/model_mm_context.go index 67b008ab..511c73be 100644 --- a/models/model_mm_context.go +++ b/models/model_mm_context.go @@ -1,23 +1,46 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a Mobility Management Context in UE Context type MmContext struct { - AccessType AccessType `json:"accessType"` - NasSecurityMode *NasSecurityMode `json:"nasSecurityMode,omitempty"` - NasDownlinkCount int32 `json:"nasDownlinkCount,omitempty"` - NasUplinkCount int32 `json:"nasUplinkCount,omitempty"` - UeSecurityCapability string `json:"ueSecurityCapability,omitempty"` - S1UeNetworkCapability string `json:"s1UeNetworkCapability,omitempty"` - AllowedNssai []Snssai `json:"allowedNssai,omitempty"` - NssaiMappingList []NssaiMapping `json:"nssaiMappingList,omitempty"` - NsInstanceList []string `json:"nsInstanceList,omitempty"` - ExpectedUEbehavior *ExpectedUeBehavior `json:"expectedUEbehavior,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + NasSecurityMode *NasSecurityMode `json:"nasSecurityMode,omitempty" yaml:"nasSecurityMode" bson:"nasSecurityMode,omitempty"` + EpsNasSecurityMode *EpsNasSecurityMode `json:"epsNasSecurityMode,omitempty" yaml:"epsNasSecurityMode" bson:"epsNasSecurityMode,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NasDownlinkCount int32 `json:"nasDownlinkCount,omitempty" yaml:"nasDownlinkCount" bson:"nasDownlinkCount,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NasUplinkCount int32 `json:"nasUplinkCount,omitempty" yaml:"nasUplinkCount" bson:"nasUplinkCount,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UeSecurityCapability string `json:"ueSecurityCapability,omitempty" yaml:"ueSecurityCapability" bson:"ueSecurityCapability,omitempty"` + // string with format 'bytes' as defined in OpenAPI + S1UeNetworkCapability string `json:"s1UeNetworkCapability,omitempty" yaml:"s1UeNetworkCapability" bson:"s1UeNetworkCapability,omitempty"` + AllowedNssai []Snssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` + NssaiMappingList []NssaiMapping `json:"nssaiMappingList,omitempty" yaml:"nssaiMappingList" bson:"nssaiMappingList,omitempty"` + AllowedHomeNssai []Snssai `json:"allowedHomeNssai,omitempty" yaml:"allowedHomeNssai" bson:"allowedHomeNssai,omitempty"` + NsInstanceList []string `json:"nsInstanceList,omitempty" yaml:"nsInstanceList" bson:"nsInstanceList,omitempty"` + ExpectedUEbehavior *ExpectedUeBehavior `json:"expectedUEbehavior,omitempty" yaml:"expectedUEbehavior" bson:"expectedUEbehavior,omitempty"` + UeDifferentiationInfo *UeDifferentiationInfo `json:"ueDifferentiationInfo,omitempty" yaml:"ueDifferentiationInfo" bson:"ueDifferentiationInfo,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PlmnAssiUeRadioCapId string `json:"plmnAssiUeRadioCapId,omitempty" yaml:"plmnAssiUeRadioCapId" bson:"plmnAssiUeRadioCapId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ManAssiUeRadioCapId string `json:"manAssiUeRadioCapId,omitempty" yaml:"manAssiUeRadioCapId" bson:"manAssiUeRadioCapId,omitempty"` + UcmfDicEntryId string `json:"ucmfDicEntryId,omitempty" yaml:"ucmfDicEntryId" bson:"ucmfDicEntryId,omitempty"` + N3IwfId *GlobalRanNodeId `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + WagfId *GlobalRanNodeId `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` + TngfId *GlobalRanNodeId `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` + AnN2ApId int32 `json:"anN2ApId,omitempty" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` + NssaaStatusList []NssaaStatus `json:"nssaaStatusList,omitempty" yaml:"nssaaStatusList" bson:"nssaaStatusList,omitempty"` + PendingNssaiMappingList []NssaiMapping `json:"pendingNssaiMappingList,omitempty" yaml:"pendingNssaiMappingList" bson:"pendingNssaiMappingList,omitempty"` + UuaaMmStatus UuaaMmStatus `json:"uuaaMmStatus,omitempty" yaml:"uuaaMmStatus" bson:"uuaaMmStatus,omitempty"` } diff --git a/models/model_mm_tel_charging_information.go b/models/model_mm_tel_charging_information.go new file mode 100644 index 00000000..5f51c747 --- /dev/null +++ b/models/model_mm_tel_charging_information.go @@ -0,0 +1,17 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MmTelChargingInformation struct { + SupplementaryServices []SupplementaryService `json:"supplementaryServices,omitempty" yaml:"supplementaryServices" bson:"supplementaryServices,omitempty"` +} diff --git a/models/model_mm_transaction_location_report_item.go b/models/model_mm_transaction_location_report_item.go new file mode 100644 index 00000000..74e145cb --- /dev/null +++ b/models/model_mm_transaction_location_report_item.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE MM Transaction Report Item per Location +type MmTransactionLocationReportItem struct { + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` +} diff --git a/models/model_mm_transaction_slice_report_item.go b/models/model_mm_transaction_slice_report_item.go new file mode 100644 index 00000000..befae9e9 --- /dev/null +++ b/models/model_mm_transaction_slice_report_item.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE MM Transaction Report Item per Slice +type MmTransactionSliceReportItem struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` +} diff --git a/models/model_mme_capabilities.go b/models/model_mme_capabilities.go index b617c3b8..b70effc0 100644 --- a/models/model_mme_capabilities.go +++ b/models/model_mme_capabilities.go @@ -1,14 +1,20 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// MME capabilities type MmeCapabilities struct { - NonIpSupported bool `json:"nonIpSupported,omitempty"` + NonIpSupported bool `json:"nonIpSupported,omitempty" yaml:"nonIpSupported" bson:"nonIpSupported,omitempty"` + EthernetSupported bool `json:"ethernetSupported,omitempty" yaml:"ethernetSupported" bson:"ethernetSupported,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` } diff --git a/models/model_mme_location_data.go b/models/model_mme_location_data.go new file mode 100644 index 00000000..dcba8aa7 --- /dev/null +++ b/models/model_mme_location_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the MME serving node +type MmeLocationData struct { + // Fully Qualified Domain Name + MmeAddress string `json:"mmeAddress" yaml:"mmeAddress" bson:"mmeAddress,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + MmeLocation *EutraLocation `json:"mmeLocation,omitempty" yaml:"mmeLocation" bson:"mmeLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/model_mnpf_info.go b/models/model_mnpf_info.go new file mode 100644 index 00000000..d7081393 --- /dev/null +++ b/models/model_mnpf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MNPF Instance +type MnpfInfo struct { + MsisdnRanges []IdentityRange `json:"msisdnRanges" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` +} diff --git a/models/model_mo_exp_data_counter.go b/models/model_mo_exp_data_counter.go new file mode 100644 index 00000000..cac11c1f --- /dev/null +++ b/models/model_mo_exp_data_counter.go @@ -0,0 +1,25 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contain the MO Exception Data Counter. +type MoExpDataCounter struct { + // Unsigned integer identifying the MO Exception Data Counter, as specified in clause 5.31.14.3 of 3GPP TS 23.501. + Counter int32 `json:"counter" yaml:"counter" bson:"counter,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/model_model_info.go b/models/model_model_info.go new file mode 100644 index 00000000..03548d7d --- /dev/null +++ b/models/model_model_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about an ML model. +type ModelInfo struct { + AnalyticsId NwdafEvent `json:"analyticsId" yaml:"analyticsId" bson:"analyticsId,omitempty"` + MlModelInfos []MlModelInfo `json:"mlModelInfos" yaml:"mlModelInfos" bson:"mlModelInfos,omitempty"` +} diff --git a/models/model_modification_notification.go b/models/model_modification_notification.go index ad0bd95a..abba4833 100644 --- a/models/model_modification_notification.go +++ b/models/model_modification_notification.go @@ -1,14 +1,17 @@ /* - * Nudm_SDM + * Nhss_imsSDM * - * Nudm Subscriber Data Management Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ModificationNotification struct { - NotifyItems []NotifyItem `json:"notifyItems" yaml:"notifyItems" bson:"notifyItems" mapstructure:"NotifyItems"` + NotifyItems []NotifyItem `json:"notifyItems" yaml:"notifyItems" bson:"notifyItems,omitempty"` } diff --git a/models/model_modify_pdu_session_request.go b/models/model_modify_pdu_session_request.go new file mode 100644 index 00000000..35bfbc33 --- /dev/null +++ b/models/model_modify_pdu_session_request.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionRequest struct { + JsonData *VsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/model_modify_pdu_session_response_200.go b/models/model_modify_pdu_session_response_200.go new file mode 100644 index 00000000..42b9bec2 --- /dev/null +++ b/models/model_modify_pdu_session_response_200.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionResponse200 struct { + JsonData *VsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/model_modify_pdu_session_response_400.go b/models/model_modify_pdu_session_response_400.go new file mode 100644 index 00000000..633b9d59 --- /dev/null +++ b/models/model_modify_pdu_session_response_400.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionResponse400 struct { + JsonData *VsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/model_modify_response_200.go b/models/model_modify_response_200.go new file mode 100644 index 00000000..e1e873fc --- /dev/null +++ b/models/model_modify_response_200.go @@ -0,0 +1,47 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifyResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/model_modify_shared_data_subs_response_200.go b/models/model_modify_shared_data_subs_response_200.go new file mode 100644 index 00000000..cf4c6fae --- /dev/null +++ b/models/model_modify_shared_data_subs_response_200.go @@ -0,0 +1,47 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifySharedDataSubsResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/model_modify_subscription_request.go b/models/model_modify_subscription_request.go index ed3b139e..9fb8bc83 100644 --- a/models/model_modify_subscription_request.go +++ b/models/model_modify_subscription_request.go @@ -1,15 +1,16 @@ /* * Namf_EventExposure * - * AMF Event Exposure Service + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ModifySubscriptionRequest struct { - SubscriptionItemInner *AmfUpdateEventSubscriptionItemInner - OptionItem *AmfUpdateEventOptionItem } diff --git a/models/model_modifysubscription_data_subscription_response_200.go b/models/model_modifysubscription_data_subscription_response_200.go new file mode 100644 index 00000000..09735791 --- /dev/null +++ b/models/model_modifysubscription_data_subscription_response_200.go @@ -0,0 +1,37 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifysubscriptionDataSubscriptionResponse200 struct { + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_monitoring_configuration.go b/models/model_monitoring_configuration.go index e05c7614..0bf2d6ff 100644 --- a/models/model_monitoring_configuration.go +++ b/models/model_monitoring_configuration.go @@ -1,16 +1,29 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type MonitoringConfiguration struct { - EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType" mapstructure:"EventType"` - ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag" mapstructure:"ImmediateFlag"` - LocationReportingConfiguration *LocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration" mapstructure:"LocationReportingConfiguration"` + EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` + LocationReportingConfiguration *LocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration,omitempty"` + AssociationType AssociationType `json:"associationType,omitempty" yaml:"associationType" bson:"associationType,omitempty"` + DatalinkReportCfg *DatalinkReportingConfiguration `json:"datalinkReportCfg,omitempty" yaml:"datalinkReportCfg" bson:"datalinkReportCfg,omitempty"` + LossConnectivityCfg *LossConnectivityCfg `json:"lossConnectivityCfg,omitempty" yaml:"lossConnectivityCfg" bson:"lossConnectivityCfg,omitempty"` + MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` + MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl,omitempty" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` + PduSessionStatusCfg *PduSessionStatusCfg `json:"pduSessionStatusCfg,omitempty" yaml:"pduSessionStatusCfg" bson:"pduSessionStatusCfg,omitempty"` + ReachabilityForSmsCfg ReachabilityForSmsConfiguration `json:"reachabilityForSmsCfg,omitempty" yaml:"reachabilityForSmsCfg" bson:"reachabilityForSmsCfg,omitempty"` + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` } diff --git a/models/model_monitoring_event.go b/models/model_monitoring_event.go new file mode 100644 index 00000000..d44bebbd --- /dev/null +++ b/models/model_monitoring_event.go @@ -0,0 +1,18 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MonitoringEvent struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + RevokedCause RevokedCause `json:"revokedCause,omitempty" yaml:"revokedCause" bson:"revokedCause,omitempty"` +} diff --git a/models/model_monitoring_report.go b/models/model_monitoring_report.go index 5d6ad955..9503ad12 100644 --- a/models/model_monitoring_report.go +++ b/models/model_monitoring_report.go @@ -1,9 +1,12 @@ /* * Nudm_EE * - * Nudm Event Exposure Service + * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,9 +17,10 @@ import ( ) type MonitoringReport struct { - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId" mapstructure:"ReferenceId"` - EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType" mapstructure:"EventType"` - Report *Report `json:"report,omitempty" yaml:"report" bson:"report" mapstructure:"Report"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp" mapstructure:"TimeStamp"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + Report *Report `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` + ReachabilityForSmsReport *ReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty" yaml:"reachabilityForSmsReport" bson:"reachabilityForSmsReport,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` } diff --git a/models/model_motion_event_info.go b/models/model_motion_event_info.go new file mode 100644 index 00000000..2056b1f8 --- /dev/null +++ b/models/model_motion_event_info.go @@ -0,0 +1,29 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of motion based event reporting. +type MotionEventInfo struct { + // Minimum straight line distance moved by a UE to trigger a motion event report. + LinearDistance int32 `json:"linearDistance" yaml:"linearDistance" bson:"linearDistance,omitempty"` + OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` + // Minimum interval between event reports. + MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` + // Maximum interval between event reports. + MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` + // Maximum time interval between consecutive evaluations by a UE of a trigger event. + SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` + // Maximum duration of event reporting. + ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` + ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` +} diff --git a/models/model_mps_action.go b/models/model_mps_action.go new file mode 100644 index 00000000..e739c6c2 --- /dev/null +++ b/models/model_mps_action.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MpsAction string + +// List of MpsAction +const ( + MpsAction_DISABLE_MPS_FOR_DTS MpsAction = "DISABLE_MPS_FOR_DTS" + MpsAction_ENABLE_MPS_FOR_DTS MpsAction = "ENABLE_MPS_FOR_DTS" + MpsAction_AUTHORIZE_AND_ENABLE_MPS_FOR_DTS MpsAction = "AUTHORIZE_AND_ENABLE_MPS_FOR_DTS" +) diff --git a/models/model_ms_access_activity_collection.go b/models/model_ms_access_activity_collection.go new file mode 100644 index 00000000..d61f5140 --- /dev/null +++ b/models/model_ms_access_activity_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Media Streaming access activity collected for an UE Application via AF. +type MsAccessActivityCollection struct { + MsAccActs []MediaStreamingAccessRecord `json:"msAccActs" yaml:"msAccActs" bson:"msAccActs,omitempty"` +} diff --git a/models/model_ms_consumption_collection.go b/models/model_ms_consumption_collection.go new file mode 100644 index 00000000..1c00b6f8 --- /dev/null +++ b/models/model_ms_consumption_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Consumption information collected for an UE Application via AF. +type MsConsumptionCollection struct { + MsConsumps []string `json:"msConsumps" yaml:"msConsumps" bson:"msConsumps,omitempty"` +} diff --git a/models/model_ms_dyn_policy_invocation_collection.go b/models/model_ms_dyn_policy_invocation_collection.go new file mode 100644 index 00000000..9323b0b1 --- /dev/null +++ b/models/model_ms_dyn_policy_invocation_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Dynamic Policy invocation collected for an UE Application via AF. +type MsDynPolicyInvocationCollection struct { + MsDynPlyInvocs []DynamicPolicy `json:"msDynPlyInvocs" yaml:"msDynPlyInvocs" bson:"msDynPlyInvocs,omitempty"` +} diff --git a/models/model_ms_net_ass_invocation_collection.go b/models/model_ms_net_ass_invocation_collection.go new file mode 100644 index 00000000..7b5ee150 --- /dev/null +++ b/models/model_ms_net_ass_invocation_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Network Assistance invocation collected for an UE Application via AF. +type MsNetAssInvocationCollection struct { + MsNetAssInvocs []NetworkAssistanceSession `json:"msNetAssInvocs" yaml:"msNetAssInvocs" bson:"msNetAssInvocs,omitempty"` +} diff --git a/models/model_ms_qoe_metrics_collection.go b/models/model_ms_qoe_metrics_collection.go new file mode 100644 index 00000000..ff84bfa7 --- /dev/null +++ b/models/model_ms_qoe_metrics_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming QoE metrics information collected for an UE Application via AF. +type MsQoeMetricsCollection struct { + MsQoeMetrics []string `json:"msQoeMetrics" yaml:"msQoeMetrics" bson:"msQoeMetrics,omitempty"` +} diff --git a/models/model_msisdn_list.go b/models/model_msisdn_list.go new file mode 100644 index 00000000..946a6344 --- /dev/null +++ b/models/model_msisdn_list.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of MSISDNs associated to the IMS public Identity +type MsisdnList struct { + // String containing an additional or basic MSISDN + BasicMsisdn string `json:"basicMsisdn" yaml:"basicMsisdn" bson:"basicMsisdn,omitempty"` + AdditionalMsisdns []string `json:"additionalMsisdns,omitempty" yaml:"additionalMsisdns" bson:"additionalMsisdns,omitempty"` +} diff --git a/models/model_mtc_provider.go b/models/model_mtc_provider.go new file mode 100644 index 00000000..aadba2ce --- /dev/null +++ b/models/model_mtc_provider.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MTC provider information. +type MtcProvider struct { + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/model_multicast_access_control.go b/models/model_multicast_access_control.go new file mode 100644 index 00000000..d24985bd --- /dev/null +++ b/models/model_multicast_access_control.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents multicast address access control information. +type MulticastAccessControl struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` + SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + MulticastV4Addr string `json:"multicastV4Addr,omitempty" yaml:"multicastV4Addr" bson:"multicastV4Addr,omitempty"` + MulticastV6Addr string `json:"multicastV6Addr,omitempty" yaml:"multicastV6Addr" bson:"multicastV6Addr,omitempty"` + AccStatus AccessRightStatus `json:"accStatus" yaml:"accStatus" bson:"accStatus,omitempty"` +} diff --git a/models/model_multicast_mbs_group_memb.go b/models/model_multicast_mbs_group_memb.go new file mode 100644 index 00000000..31b66f1c --- /dev/null +++ b/models/model_multicast_mbs_group_memb.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MulticastMbsGroupMemb struct { + MulticastGroupMemb []string `json:"multicastGroupMemb" yaml:"multicastGroupMemb" bson:"multicastGroupMemb,omitempty"` + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` +} diff --git a/models/model_multiple_qf_icontainer.go b/models/model_multiple_qf_icontainer.go deleted file mode 100644 index 3d46d9b1..00000000 --- a/models/model_multiple_qf_icontainer.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type MultipleQfIcontainer struct { - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp" mapstructure:"TriggerTimestamp"` - Time int32 `json:"time,omitempty" yaml:"time" bson:"time" mapstructure:"Time"` - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber" mapstructure:"LocalSequenceNumber"` - QFIContainerInformation *QfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation" mapstructure:"QFIContainerInformation"` -} diff --git a/models/model_multiple_unit_information.go b/models/model_multiple_unit_information.go index 28d0990c..c5081526 100644 --- a/models/model_multiple_unit_information.go +++ b/models/model_multiple_unit_information.go @@ -1,24 +1,33 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type MultipleUnitInformation struct { - ResultCode ResultCode `json:"resultCode,omitempty" yaml:"resultCode" bson:"resultCode" mapstructure:"ResultCode"` - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"` - GrantedUnit *GrantedUnit `json:"grantedUnit,omitempty" yaml:"grantedUnit" bson:"grantedUnit" mapstructure:"GrantedUnit"` - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - ValidityTime int32 `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime" mapstructure:"ValidityTime"` - QuotaHoldingTime int32 `json:"quotaHoldingTime,omitempty" yaml:"quotaHoldingTime" bson:"quotaHoldingTime" mapstructure:"QuotaHoldingTime"` - FinalUnitIndication *FinalUnitIndication `json:"finalUnitIndication,omitempty" yaml:"finalUnitIndication" bson:"finalUnitIndication" mapstructure:"FinalUnitIndication"` - TimeQuotaThreshold int32 `json:"timeQuotaThreshold,omitempty" yaml:"timeQuotaThreshold" bson:"timeQuotaThreshold" mapstructure:"TimeQuotaThreshold"` - VolumeQuotaThreshold int32 `json:"volumeQuotaThreshold,omitempty" yaml:"volumeQuotaThreshold" bson:"volumeQuotaThreshold" mapstructure:"VolumeQuotaThreshold"` - UnitQuotaThreshold int32 `json:"unitQuotaThreshold,omitempty" yaml:"unitQuotaThreshold" bson:"unitQuotaThreshold" mapstructure:"UnitQuotaThreshold"` - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID" mapstructure:"UPFID"` + ResultCode ChfConvergedChargingResultCode `json:"resultCode,omitempty" yaml:"resultCode" bson:"resultCode,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + GrantedUnit *GrantedUnit `json:"grantedUnit,omitempty" yaml:"grantedUnit" bson:"grantedUnit,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // indicating a time in seconds. + ValidityTime int32 `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // indicating a time in seconds. + QuotaHoldingTime int32 `json:"quotaHoldingTime,omitempty" yaml:"quotaHoldingTime" bson:"quotaHoldingTime,omitempty"` + FinalUnitIndication *FinalUnitIndication `json:"finalUnitIndication,omitempty" yaml:"finalUnitIndication" bson:"finalUnitIndication,omitempty"` + TimeQuotaThreshold int32 `json:"timeQuotaThreshold,omitempty" yaml:"timeQuotaThreshold" bson:"timeQuotaThreshold,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeQuotaThreshold int32 `json:"volumeQuotaThreshold,omitempty" yaml:"volumeQuotaThreshold" bson:"volumeQuotaThreshold,omitempty"` + UnitQuotaThreshold int32 `json:"unitQuotaThreshold,omitempty" yaml:"unitQuotaThreshold" bson:"unitQuotaThreshold,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + AnnouncementInformation *AnnouncementInformation `json:"announcementInformation,omitempty" yaml:"announcementInformation" bson:"announcementInformation,omitempty"` } diff --git a/models/model_multiple_unit_usage.go b/models/model_multiple_unit_usage.go deleted file mode 100644 index d0c1274b..00000000 --- a/models/model_multiple_unit_usage.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MultipleUnitUsage struct { - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"` - RequestedUnit *RequestedUnit `json:"requestedUnit,omitempty" yaml:"requestedUnit" bson:"requestedUnit" mapstructure:"RequestedUnit"` - UsedUnitContainer []UsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer" mapstructure:"UsedUnitContainer"` - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID" mapstructure:"UPFID"` - MultihomedPDUAddress *PduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress" mapstructure:"MultihomedPDUAddress"` -} diff --git a/models/model_n1_message_class.go b/models/model_n1_message_class.go index 0de95271..7bfe8c9c 100644 --- a/models/model_n1_message_class.go +++ b/models/model_n1_message_class.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -18,4 +21,5 @@ const ( N1MessageClass_LPP N1MessageClass = "LPP" N1MessageClass_SMS N1MessageClass = "SMS" N1MessageClass_UPDP N1MessageClass = "UPDP" + N1MessageClass_LCS N1MessageClass = "LCS" ) diff --git a/models/model_n1_message_container.go b/models/model_n1_message_container.go index 7cec744a..f83222dc 100644 --- a/models/model_n1_message_container.go +++ b/models/model_n1_message_container.go @@ -1,16 +1,22 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// N1 Message container type N1MessageContainer struct { - N1MessageClass N1MessageClass `json:"n1MessageClass"` - N1MessageContent *RefToBinaryData `json:"n1MessageContent"` - NfId string `json:"nfId,omitempty"` + N1MessageClass N1MessageClass `json:"n1MessageClass" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + N1MessageContent *RefToBinaryData `json:"n1MessageContent" yaml:"n1MessageContent" bson:"n1MessageContent,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` } diff --git a/models/model_n1_message_notification.go b/models/model_n1_message_notification.go index 867c5660..b3b57178 100644 --- a/models/model_n1_message_notification.go +++ b/models/model_n1_message_notification.go @@ -1,17 +1,28 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N1 message notification request type N1MessageNotification struct { - N1NotifySubscriptionId string `json:"n1NotifySubscriptionId,omitempty"` - N1MessageContainer *N1MessageContainer `json:"n1MessageContainer"` - LcsCorrelationId string `json:"lcsCorrelationId,omitempty"` - RegistrationCtxtContainer *RegistrationContextContainer `json:"registrationCtxtContainer,omitempty"` + N1NotifySubscriptionId string `json:"n1NotifySubscriptionId,omitempty" yaml:"n1NotifySubscriptionId" bson:"n1NotifySubscriptionId,omitempty"` + N1MessageContainer *N1MessageContainer `json:"n1MessageContainer" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + RegistrationCtxtContainer *RegistrationContextContainer `json:"registrationCtxtContainer,omitempty" yaml:"registrationCtxtContainer" bson:"registrationCtxtContainer,omitempty"` + // LMF identification. + NewLmfIdentification string `json:"newLmfIdentification,omitempty" yaml:"newLmfIdentification" bson:"newLmfIdentification,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` } diff --git a/models/model_n1_message_notify.go b/models/model_n1_message_notify.go deleted file mode 100644 index 4ea3de6e..00000000 --- a/models/model_n1_message_notify.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Manually Created - */ - -package models - -type N1MessageNotify struct { - JsonData *N1MessageNotification `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1MessageContainer.N1MessageContent.ContentId"` -} diff --git a/models/model_n1_message_notify_request.go b/models/model_n1_message_notify_request.go new file mode 100644 index 00000000..22adeb40 --- /dev/null +++ b/models/model_n1_message_notify_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N1MessageNotifyRequest struct { + JsonData *N1MessageNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` +} diff --git a/models/model_n1_n2_message_transfer_cause.go b/models/model_n1_n2_message_transfer_cause.go index 720edc01..41b665fa 100644 --- a/models/model_n1_n2_message_transfer_cause.go +++ b/models/model_n1_n2_message_transfer_cause.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Npcf_UEPolicyControl * - * AMF Communication Service + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,10 +16,16 @@ type N1N2MessageTransferCause string // List of N1N2MessageTransferCause const ( - N1N2MessageTransferCause_ATTEMPTING_TO_REACH_UE N1N2MessageTransferCause = "ATTEMPTING_TO_REACH_UE" - N1N2MessageTransferCause_N1_N2_TRANSFER_INITIATED N1N2MessageTransferCause = "N1_N2_TRANSFER_INITIATED" - N1N2MessageTransferCause_WAITING_FOR_ASYNCHRONOUS_TRANSFER N1N2MessageTransferCause = "WAITING_FOR_ASYNCHRONOUS_TRANSFER" - N1N2MessageTransferCause_UE_NOT_RESPONDING N1N2MessageTransferCause = "UE_NOT_RESPONDING" - N1N2MessageTransferCause_N1_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N1_MSG_NOT_TRANSFERRED" - N1N2MessageTransferCause_UE_NOT_REACHABLE_FOR_SESSION N1N2MessageTransferCause = "UE_NOT_REACHABLE_FOR_SESSION" + N1N2MessageTransferCause_ATTEMPTING_TO_REACH_UE N1N2MessageTransferCause = "ATTEMPTING_TO_REACH_UE" + N1N2MessageTransferCause_N1_N2_TRANSFER_INITIATED N1N2MessageTransferCause = "N1_N2_TRANSFER_INITIATED" + N1N2MessageTransferCause_WAITING_FOR_ASYNCHRONOUS_TRANSFER N1N2MessageTransferCause = "WAITING_FOR_ASYNCHRONOUS_TRANSFER" + N1N2MessageTransferCause_UE_NOT_RESPONDING N1N2MessageTransferCause = "UE_NOT_RESPONDING" + N1N2MessageTransferCause_N1_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N1_MSG_NOT_TRANSFERRED" + N1N2MessageTransferCause_N2_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N2_MSG_NOT_TRANSFERRED" + N1N2MessageTransferCause_UE_NOT_REACHABLE_FOR_SESSION N1N2MessageTransferCause = "UE_NOT_REACHABLE_FOR_SESSION" + N1N2MessageTransferCause_TEMPORARY_REJECT_REGISTRATION_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_REGISTRATION_ONGOING" + N1N2MessageTransferCause_TEMPORARY_REJECT_HANDOVER_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_HANDOVER_ONGOING" + N1N2MessageTransferCause_REJECTION_DUE_TO_PAGING_RESTRICTION N1N2MessageTransferCause = "REJECTION_DUE_TO_PAGING_RESTRICTION" + N1N2MessageTransferCause_AN_NOT_RESPONDING N1N2MessageTransferCause = "AN_NOT_RESPONDING" + N1N2MessageTransferCause_FAILURE_CAUSE_UNSPECIFIED N1N2MessageTransferCause = "FAILURE_CAUSE_UNSPECIFIED" ) diff --git a/models/model_n1_n2_message_transfer_error.go b/models/model_n1_n2_message_transfer_error.go index 93932852..f5e63b6f 100644 --- a/models/model_n1_n2_message_transfer_error.go +++ b/models/model_n1_n2_message_transfer_error.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N1/N2 Message Transfer Error response type N1N2MessageTransferError struct { - Error *ProblemDetails `json:"error"` - ErrInfo *N1N2MsgTxfrErrDetail `json:"errInfo,omitempty"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + ErrInfo *N1N2MsgTxfrErrDetail `json:"errInfo,omitempty" yaml:"errInfo" bson:"errInfo,omitempty"` } diff --git a/models/model_n1_n2_message_transfer_req_data.go b/models/model_n1_n2_message_transfer_req_data.go index 61f4e669..f311eba5 100644 --- a/models/model_n1_n2_message_transfer_req_data.go +++ b/models/model_n1_n2_message_transfer_req_data.go @@ -1,26 +1,43 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N1/N2 message transfer request type N1N2MessageTransferReqData struct { - N1MessageContainer *N1MessageContainer `json:"n1MessageContainer,omitempty"` - N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty"` - SkipInd bool `json:"skipInd,omitempty"` - LastMsgIndication bool `json:"lastMsgIndication,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty"` - LcsCorrelationId string `json:"lcsCorrelationId,omitempty"` - Ppi int32 `json:"ppi,omitempty"` - Arp *Arp `json:"arp,omitempty"` - Var5qi int32 `json:"5qi,omitempty"` - N1n2FailureTxfNotifURI string `json:"n1n2FailureTxfNotifURI,omitempty"` - SmfReallocationInd bool `json:"smfReallocationInd,omitempty"` - AreaOfValidity *AreaOfValidity `json:"areaOfValidity,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + N1MessageContainer *N1MessageContainer `json:"n1MessageContainer,omitempty" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` + N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` + MtData *RefToBinaryData `json:"mtData,omitempty" yaml:"mtData" bson:"mtData,omitempty"` + SkipInd bool `json:"skipInd,omitempty" yaml:"skipInd" bson:"skipInd,omitempty"` + LastMsgIndication bool `json:"lastMsgIndication,omitempty" yaml:"lastMsgIndication" bson:"lastMsgIndication,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + // Paging Policy Indicator + Ppi int32 `json:"ppi,omitempty" yaml:"ppi" bson:"ppi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1n2FailureTxfNotifURI string `json:"n1n2FailureTxfNotifURI,omitempty" yaml:"n1n2FailureTxfNotifURI" bson:"n1n2FailureTxfNotifURI,omitempty"` + SmfReallocationInd bool `json:"smfReallocationInd,omitempty" yaml:"smfReallocationInd" bson:"smfReallocationInd,omitempty"` + AreaOfValidity *AreaOfValidity `json:"areaOfValidity,omitempty" yaml:"areaOfValidity" bson:"areaOfValidity,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` + TargetAccess AccessType `json:"targetAccess,omitempty" yaml:"targetAccess" bson:"targetAccess,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` } diff --git a/models/model_n1_n2_message_transfer_request.go b/models/model_n1_n2_message_transfer_request.go index 62a2abdc..e9c662bc 100644 --- a/models/model_n1_n2_message_transfer_request.go +++ b/models/model_n1_n2_message_transfer_request.go @@ -1,16 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type N1N2MessageTransferRequest struct { - JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1MessageContainer.N1MessageContent.ContentId"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId"` + JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` } diff --git a/models/model_n1_n2_message_transfer_rsp_data.go b/models/model_n1_n2_message_transfer_rsp_data.go index aeabd13c..e37c83d9 100644 --- a/models/model_n1_n2_message_transfer_rsp_data.go +++ b/models/model_n1_n2_message_transfer_rsp_data.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N1/N2 message transfer response type N1N2MessageTransferRspData struct { - Cause N1N2MessageTransferCause `json:"cause"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_n1_n2_msg_txfr_err_detail.go b/models/model_n1_n2_msg_txfr_err_detail.go index d3e185dd..959a603e 100644 --- a/models/model_n1_n2_msg_txfr_err_detail.go +++ b/models/model_n1_n2_msg_txfr_err_detail.go @@ -1,15 +1,22 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// N1/N2 Message Transfer Error Details type N1N2MsgTxfrErrDetail struct { - RetryAfter int32 `json:"retryAfter,omitempty"` - HighestPrioArp *Arp `json:"highestPrioArp,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RetryAfter int32 `json:"retryAfter,omitempty" yaml:"retryAfter" bson:"retryAfter,omitempty"` + HighestPrioArp *Arp `json:"highestPrioArp,omitempty" yaml:"highestPrioArp" bson:"highestPrioArp,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` } diff --git a/models/model_n1_n2_msg_txfr_failure_notification.go b/models/model_n1_n2_msg_txfr_failure_notification.go index 90af6635..c1c7d131 100644 --- a/models/model_n1_n2_msg_txfr_failure_notification.go +++ b/models/model_n1_n2_msg_txfr_failure_notification.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N1/N2 Message Transfer Failure Notification request type N1N2MsgTxfrFailureNotification struct { - Cause N1N2MessageTransferCause `json:"cause"` - N1n2MsgDataUri string `json:"n1n2MsgDataUri"` + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1n2MsgDataUri string `json:"n1n2MsgDataUri" yaml:"n1n2MsgDataUri" bson:"n1n2MsgDataUri,omitempty"` } diff --git a/models/model_n2_connection_charging_information.go b/models/model_n2_connection_charging_information.go index c45ff257..16f11f86 100644 --- a/models/model_n2_connection_charging_information.go +++ b/models/model_n2_connection_charging_information.go @@ -1,28 +1,32 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type N2ConnectionChargingInformation struct { - N2ConnectionMessageType int32 `json:"n2ConnectionMessageType" yaml:"n2ConnectionMessageType" bson:"n2ConnectionMessageType" mapstructure:"N2ConnectionMessageType"` - UserInformation *UserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation" mapstructure:"UserInformation"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo" mapstructure:"UserLocationinfo"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation" mapstructure:"PSCellInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId" mapstructure:"AmfUeNgapId"` - RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId" mapstructure:"RanUeNgapId"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId" mapstructure:"RanNodeId"` - RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList" mapstructure:"RestrictedRatList"` - ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList" mapstructure:"ForbiddenAreaList"` - ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction" mapstructure:"ServiceAreaRestriction"` - RestrictedCnList []CoreNetworkType `json:"restrictedCnList,omitempty" yaml:"restrictedCnList" bson:"restrictedCnList" mapstructure:"RestrictedCnList"` - AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI" mapstructure:"AllowedNSSAI"` - RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause" mapstructure:"RrcEstCause"` + N2ConnectionMessageType int32 `json:"n2ConnectionMessageType" yaml:"n2ConnectionMessageType" bson:"n2ConnectionMessageType,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` + RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` + ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` + ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RestrictedCnList []CoreNetworkType `json:"restrictedCnList,omitempty" yaml:"restrictedCnList" bson:"restrictedCnList,omitempty"` + AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` + RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` } diff --git a/models/model_n2_info_container.go b/models/model_n2_info_container.go index c13840dd..084a1a17 100644 --- a/models/model_n2_info_container.go +++ b/models/model_n2_info_container.go @@ -1,18 +1,24 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// N2 information container type N2InfoContainer struct { - N2InformationClass N2InformationClass `json:"n2InformationClass"` - SmInfo *N2SmInformation `json:"smInfo,omitempty"` - RanInfo *N2RanInformation `json:"ranInfo,omitempty"` - NrppaInfo *NrppaInformation `json:"nrppaInfo,omitempty"` - PwsInfo *PwsInformation `json:"pwsInfo,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + SmInfo *N2SmInformation `json:"smInfo,omitempty" yaml:"smInfo" bson:"smInfo,omitempty"` + RanInfo *N2RanInformation `json:"ranInfo,omitempty" yaml:"ranInfo" bson:"ranInfo,omitempty"` + NrppaInfo *NrppaInformation `json:"nrppaInfo,omitempty" yaml:"nrppaInfo" bson:"nrppaInfo,omitempty"` + PwsInfo *PwsInformation `json:"pwsInfo,omitempty" yaml:"pwsInfo" bson:"pwsInfo,omitempty"` + V2xInfo *V2xInformation `json:"v2xInfo,omitempty" yaml:"v2xInfo" bson:"v2xInfo,omitempty"` + ProseInfo *ProSeInformation `json:"proseInfo,omitempty" yaml:"proseInfo" bson:"proseInfo,omitempty"` } diff --git a/models/model_n2_info_content.go b/models/model_n2_info_content.go index 473c0b09..dd747197 100644 --- a/models/model_n2_info_content.go +++ b/models/model_n2_info_content.go @@ -1,16 +1,21 @@ /* - * Namf_Communication + * Npcf_UEPolicyControl * - * AMF Communication Service + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a transparent N2 information content to be relayed by AMF type N2InfoContent struct { - NgapMessageType int32 `json:"ngapMessageType,omitempty"` - NgapIeType NgapIeType `json:"ngapIeType"` - NgapData *RefToBinaryData `json:"ngapData"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NgapMessageType int32 `json:"ngapMessageType,omitempty" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` + NgapIeType AmfCommunicationNgapIeType `json:"ngapIeType,omitempty" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` } diff --git a/models/model_n2_info_notification_rsp_data.go b/models/model_n2_info_notification_rsp_data.go new file mode 100644 index 00000000..6bd06c49 --- /dev/null +++ b/models/model_n2_info_notification_rsp_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N2 information notification response +type N2InfoNotificationRspData struct { + SecRatDataUsageList []N2SmInformation `json:"secRatDataUsageList,omitempty" yaml:"secRatDataUsageList" bson:"secRatDataUsageList,omitempty"` +} diff --git a/models/model_n2_info_notify_handover_complete_response_200.go b/models/model_n2_info_notify_handover_complete_response_200.go new file mode 100644 index 00000000..ea702e87 --- /dev/null +++ b/models/model_n2_info_notify_handover_complete_response_200.go @@ -0,0 +1,33 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InfoNotifyHandoverCompleteResponse200 struct { + JsonData *N2InfoNotificationRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` +} diff --git a/models/model_n2_info_notify_reason.go b/models/model_n2_info_notify_reason.go index b2d32e15..813aa3ce 100644 --- a/models/model_n2_info_notify_reason.go +++ b/models/model_n2_info_notify_reason.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_n2_info_notify_request.go b/models/model_n2_info_notify_request.go index 6399c608..35ebac87 100644 --- a/models/model_n2_info_notify_request.go +++ b/models/model_n2_info_notify_request.go @@ -1,16 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 - * Manually Created + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type N2InfoNotifyRequest struct { - JsonData *N2InformationNotification `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:{N1Message}"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId"` + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` } diff --git a/models/model_n2_info_notify_response.go b/models/model_n2_info_notify_response.go deleted file mode 100644 index 30e3e450..00000000 --- a/models/model_n2_info_notify_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Manually Created - */ - -package models - -type N2InfoNotifyResponse struct { - JsonData *N2InfoNotifyRspData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2InfoContent.NgapData.ContentId"` -} diff --git a/models/model_n2_info_notify_rsp_data.go b/models/model_n2_info_notify_rsp_data.go deleted file mode 100644 index 1b9256af..00000000 --- a/models/model_n2_info_notify_rsp_data.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Manually Created - */ - -package models - -type N2InfoNotifyRspData struct { - N2InfoContent *N2InfoContent `json:"n2InfoContent,omitempty"` -} diff --git a/models/model_n2_information_class.go b/models/model_n2_information_class.go index 8d540091..16fc3192 100644 --- a/models/model_n2_information_class.go +++ b/models/model_n2_information_class.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -16,7 +19,9 @@ const ( N2InformationClass_SM N2InformationClass = "SM" N2InformationClass_NRP_PA N2InformationClass = "NRPPa" N2InformationClass_PWS N2InformationClass = "PWS" - N2InformationClass_PWS_BCAL N2InformationClass = "PWS-BCAL" + N2InformationClass_PWS_BCAL N2InformationClass = "PWS-BCAL" // #nosec G101 N2InformationClass_PWS_RF N2InformationClass = "PWS-RF" N2InformationClass_RAN N2InformationClass = "RAN" + N2InformationClass_V2_X N2InformationClass = "V2X" + N2InformationClass_PROSE N2InformationClass = "PROSE" ) diff --git a/models/model_n2_information_notification.go b/models/model_n2_information_notification.go index eb98eaf3..3bae4e75 100644 --- a/models/model_n2_information_notification.go +++ b/models/model_n2_information_notification.go @@ -1,18 +1,32 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N2 information notification request type N2InformationNotification struct { - N2NotifySubscriptionId string `json:"n2NotifySubscriptionId"` - N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty"` - ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty"` - LcsCorrelationId string `json:"lcsCorrelationId,omitempty"` - NotifyReason N2InfoNotifyReason `json:"notifyReason,omitempty"` + N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` + N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` + ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + NotifyReason N2InfoNotifyReason `json:"notifyReason,omitempty" yaml:"notifyReason" bson:"notifyReason,omitempty"` + SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + // Fully Qualified Domain Name + InitialAmfName string `json:"initialAmfName,omitempty" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` + AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + NotifySourceNgRan bool `json:"notifySourceNgRan,omitempty" yaml:"notifySourceNgRan" bson:"notifySourceNgRan,omitempty"` } diff --git a/models/model_n2_information_transfer_error.go b/models/model_n2_information_transfer_error.go index 27ff1493..16bafd2f 100644 --- a/models/model_n2_information_transfer_error.go +++ b/models/model_n2_information_transfer_error.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a failure response for a non-UE related N2 Information Transfer type N2InformationTransferError struct { - Error *ProblemDetails `json:"error"` - PwdErrorInfo *PwsErrorData `json:"pwdErrorInfo,omitempty"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + PwsErrorInfo *PwsErrorData `json:"pwsErrorInfo,omitempty" yaml:"pwsErrorInfo" bson:"pwsErrorInfo,omitempty"` } diff --git a/models/model_n2_information_transfer_req_data.go b/models/model_n2_information_transfer_req_data.go index 950a1e34..bb91440e 100644 --- a/models/model_n2_information_transfer_req_data.go +++ b/models/model_n2_information_transfer_req_data.go @@ -1,20 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a N2 Information Transfer request containing the N2 information requested to be transferred to 5G AN type N2InformationTransferReqData struct { - TaiList *[]Tai `json:"taiList,omitempty"` - RatSelector RatSelector `json:"ratSelector,omitempty"` - EcgiList *[]Ecgi `json:"ecgiList,omitempty"` - NcgiList *[]Ncgi `json:"ncgiList,omitempty"` - GlobalRanNodeList *[]GlobalRanNodeId `json:"globalRanNodeList,omitempty"` - N2Information *N2InfoContainer `json:"n2Information"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + RatSelector RatSelector `json:"ratSelector,omitempty" yaml:"ratSelector" bson:"ratSelector,omitempty"` + GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` + N2Information *N2InfoContainer `json:"n2Information" yaml:"n2Information" bson:"n2Information,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_n2_information_transfer_result.go b/models/model_n2_information_transfer_result.go index d77acf34..65e6958b 100644 --- a/models/model_n2_information_transfer_result.go +++ b/models/model_n2_information_transfer_result.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Namf_MBSCommunication * - * AMF Communication Service + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_n2_information_transfer_rsp_data.go b/models/model_n2_information_transfer_rsp_data.go index eaca3d7e..e59444aa 100644 --- a/models/model_n2_information_transfer_rsp_data.go +++ b/models/model_n2_information_transfer_rsp_data.go @@ -1,16 +1,21 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a successful response to the N2 Information Transfer request to transfer N2 Information to the AN type N2InformationTransferRspData struct { - Result N2InformationTransferResult `json:"result"` - PwsRspData *PwsResponseData `json:"pwsRspData,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` + PwsRspData *PwsResponseData `json:"pwsRspData,omitempty" yaml:"pwsRspData" bson:"pwsRspData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_n2_interface_amf_info.go b/models/model_n2_interface_amf_info.go index a38e0c96..efd8b34e 100644 --- a/models/model_n2_interface_amf_info.go +++ b/models/model_n2_interface_amf_info.go @@ -1,16 +1,21 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// AMF N2 interface information type N2InterfaceAmfInfo struct { - Ipv4EndpointAddress []string `json:"ipv4EndpointAddress,omitempty" yaml:"ipv4EndpointAddress" bson:"ipv4EndpointAddress" mapstructure:"Ipv4EndpointAddress"` - Ipv6EndpointAddress []string `json:"ipv6EndpointAddress,omitempty" yaml:"ipv6EndpointAddress" bson:"ipv6EndpointAddress" mapstructure:"Ipv6EndpointAddress"` - AmfName string `json:"amfName,omitempty" yaml:"amfName" bson:"amfName" mapstructure:"AmfName"` + Ipv4EndpointAddress []string `json:"ipv4EndpointAddress,omitempty" yaml:"ipv4EndpointAddress" bson:"ipv4EndpointAddress,omitempty"` + Ipv6EndpointAddress []string `json:"ipv6EndpointAddress,omitempty" yaml:"ipv6EndpointAddress" bson:"ipv6EndpointAddress,omitempty"` + // Fully Qualified Domain Name + AmfName string `json:"amfName,omitempty" yaml:"amfName" bson:"amfName,omitempty"` } diff --git a/models/model_n2_message_transfer_request.go b/models/model_n2_message_transfer_request.go new file mode 100644 index 00000000..453ab6c8 --- /dev/null +++ b/models/model_n2_message_transfer_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2MessageTransferRequest struct { + JsonData *MbsN2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/model_n2_ran_information.go b/models/model_n2_ran_information.go index 27fa71ca..66fcd60f 100644 --- a/models/model_n2_ran_information.go +++ b/models/model_n2_ran_information.go @@ -1,14 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the RAN related N2 information data part type N2RanInformation struct { - N2InfoContent *N2InfoContent `json:"n2InfoContent"` + N2InfoContent *N2InfoContent `json:"n2InfoContent" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` } diff --git a/models/model_n2_sm_info_type.go b/models/model_n2_sm_info_type.go index 99892eb0..e7ee2d25 100644 --- a/models/model_n2_sm_info_type.go +++ b/models/model_n2_sm_info_type.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -34,4 +37,9 @@ const ( N2SmInfoType_HANDOVER_PREP_FAIL N2SmInfoType = "HANDOVER_PREP_FAIL" N2SmInfoType_HANDOVER_REQ_ACK N2SmInfoType = "HANDOVER_REQ_ACK" N2SmInfoType_HANDOVER_RES_ALLOC_FAIL N2SmInfoType = "HANDOVER_RES_ALLOC_FAIL" + N2SmInfoType_SECONDARY_RAT_USAGE N2SmInfoType = "SECONDARY_RAT_USAGE" + N2SmInfoType_PDU_RES_MOD_IND_FAIL N2SmInfoType = "PDU_RES_MOD_IND_FAIL" + N2SmInfoType_UE_CONTEXT_RESUME_REQ N2SmInfoType = "UE_CONTEXT_RESUME_REQ" + N2SmInfoType_UE_CONTEXT_RESUME_RSP N2SmInfoType = "UE_CONTEXT_RESUME_RSP" + N2SmInfoType_UE_CONTEXT_SUSPEND_REQ N2SmInfoType = "UE_CONTEXT_SUSPEND_REQ" ) diff --git a/models/model_n2_sm_information.go b/models/model_n2_sm_information.go index 7f5e8c17..de435990 100644 --- a/models/model_n2_sm_information.go +++ b/models/model_n2_sm_information.go @@ -1,17 +1,24 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the session management SMF related N2 information data part type N2SmInformation struct { - PduSessionId int32 `json:"pduSessionId"` - N2InfoContent *N2InfoContent `json:"n2InfoContent,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty"` - SubjectToHo bool `json:"subjectToHo,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + N2InfoContent *N2InfoContent `json:"n2InfoContent,omitempty" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HomePlmnSnssai *Snssai `json:"homePlmnSnssai,omitempty" yaml:"homePlmnSnssai" bson:"homePlmnSnssai,omitempty"` + IwkSnssai *Snssai `json:"iwkSnssai,omitempty" yaml:"iwkSnssai" bson:"iwkSnssai,omitempty"` + SubjectToHo bool `json:"subjectToHo,omitempty" yaml:"subjectToHo" bson:"subjectToHo,omitempty"` } diff --git a/models/model_n3ga_location.go b/models/model_n3ga_location.go index f5582c4f..1c024427 100644 --- a/models/model_n3ga_location.go +++ b/models/model_n3ga_location.go @@ -1,25 +1,34 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the Non-3GPP access user location. type N3gaLocation struct { - N3gppTai *Tai `json:"n3gppTai,omitempty" yaml:"n3gppTai" bson:"n3gppTai" mapstructure:"N3gppTai"` - N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId" mapstructure:"N3IwfId"` - UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr" mapstructure:"UeIpv4Addr"` - UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr" mapstructure:"UeIpv6Addr"` - PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber" mapstructure:"PortNumber"` - TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId" mapstructure:"TnapId"` - Protocol TransportProtocol `json:"protocol,omitempty" yaml:"protocol" bson:"protocol" mapstructure:"Protocol"` - TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId" mapstructure:"TwapId"` - HfcNodeId *HfcNodeId `json:"hfcNodeId,omitempty" yaml:"hfcNodeId" bson:"hfcNodeId" mapstructure:"HfcNodeId"` - Gli string `json:"gli,omitempty" yaml:"gli" bson:"gli" mapstructure:"Gli"` - W5gbanLineType LineType `json:"w5gbanLineType,omitempty" yaml:"w5gbanLineType" bson:"w5gbanLineType" mapstructure:"W5gbanLineType"` - Gci string `json:"gci,omitempty" yaml:"gci" bson:"gci" mapstructure:"Gci"` + N3gppTai *Tai `json:"n3gppTai,omitempty" yaml:"n3gppTai" bson:"n3gppTai,omitempty"` + // This IE shall contain the N3IWF identifier received over NGAP and shall be encoded as a string of hexadecimal characters. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. + N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` + Protocol TransportProtocol `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` + TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` + TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` + HfcNodeId *HfcNodeId `json:"hfcNodeId,omitempty" yaml:"hfcNodeId" bson:"hfcNodeId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Gli string `json:"gli,omitempty" yaml:"gli" bson:"gli,omitempty"` + W5gbanLineType LineType `json:"w5gbanLineType,omitempty" yaml:"w5gbanLineType" bson:"w5gbanLineType,omitempty"` + // Global Cable Identifier uniquely identifying the connection between the 5G-CRG or FN-CRG to the 5GS. See clause 28.15.4 of 3GPP TS 23.003. This shall be encoded as a string per clause 28.15.4 of 3GPP TS 23.003, and compliant with the syntax specified in clause 2.2 of IETF RFC 7542 for the username part of a NAI. The GCI value is specified in CableLabs WR-TR-5WWC-ARCH. + Gci string `json:"gci,omitempty" yaml:"gci" bson:"gci,omitempty"` } diff --git a/models/model_n4_information.go b/models/model_n4_information.go new file mode 100644 index 00000000..612f67ae --- /dev/null +++ b/models/model_n4_information.go @@ -0,0 +1,25 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N4 Information +type N4Information struct { + N4MessageType N4MessageType `json:"n4MessageType" yaml:"n4MessageType" bson:"n4MessageType,omitempty"` + N4MessagePayload *RefToBinaryData `json:"n4MessagePayload" yaml:"n4MessagePayload" bson:"n4MessagePayload,omitempty"` + N4DnaiInfo *SmfPduSessionDnaiInformation `json:"n4DnaiInfo,omitempty" yaml:"n4DnaiInfo" bson:"n4DnaiInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UlClBpId string `json:"ulClBpId,omitempty" yaml:"ulClBpId" bson:"ulClBpId,omitempty"` + N9UlPdrIdList []int32 `json:"n9UlPdrIdList,omitempty" yaml:"n9UlPdrIdList" bson:"n9UlPdrIdList,omitempty"` +} diff --git a/models/model_n4_message_type.go b/models/model_n4_message_type.go new file mode 100644 index 00000000..bf02e69c --- /dev/null +++ b/models/model_n4_message_type.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N4MessageType string + +// List of N4MessageType +const ( + N4MessageType_EST_REQ N4MessageType = "PFCP_SES_EST_REQ" + N4MessageType_EST_RSP N4MessageType = "PFCP_SES_EST_RSP" + N4MessageType_MOD_REQ N4MessageType = "PFCP_SES_MOD_REQ" + N4MessageType_MOD_RSP N4MessageType = "PFCP_SES_MOD_RSP" + N4MessageType_DEL_REQ N4MessageType = "PFCP_SES_DEL_REQ" + N4MessageType_DEL_RSP N4MessageType = "PFCP_SES_DEL_RSP" + N4MessageType_REP_REQ N4MessageType = "PFCP_SES_REP_REQ" + N4MessageType_REP_RSP N4MessageType = "PFCP_SES_REP_RSP" +) diff --git a/models/model_nas_security_mode.go b/models/model_nas_security_mode.go index c9447e23..7ad983aa 100644 --- a/models/model_nas_security_mode.go +++ b/models/model_nas_security_mode.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates the NAS Security Mode type NasSecurityMode struct { - IntegrityAlgorithm IntegrityAlgorithm `json:"integrityAlgorithm"` - CipheringAlgorithm CipheringAlgorithm `json:"cipheringAlgorithm"` + IntegrityAlgorithm IntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` + CipheringAlgorithm CipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` } diff --git a/models/model_ncgi.go b/models/model_ncgi.go index ee2a301a..de7a0c35 100644 --- a/models/model_ncgi.go +++ b/models/model_ncgi.go @@ -1,16 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the NCGI (NR Cell Global Identity), as described in 3GPP 23.003 type Ncgi struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - NrCellId string `json:"nrCellId" yaml:"nrCellId" bson:"nrCellId" mapstructure:"NrCellId"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid" mapstructure:"Nid"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 36-bit string identifying an NR Cell Id as specified in clause 9.3.1.7 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. + NrCellId string `json:"nrCellId" yaml:"nrCellId" bson:"nrCellId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_ncgi_tai.go b/models/model_ncgi_tai.go new file mode 100644 index 00000000..0a1025a2 --- /dev/null +++ b/models/model_ncgi_tai.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of NR cell ids, with their pertaining TAIs +type NcgiTai struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + // List of List of NR cell ids + CellList []Ncgi `json:"cellList" yaml:"cellList" bson:"cellList,omitempty"` +} diff --git a/models/model_nef_authentication_auth_container.go b/models/model_nef_authentication_auth_container.go new file mode 100644 index 00000000..b7de2064 --- /dev/null +++ b/models/model_nef_authentication_auth_container.go @@ -0,0 +1,21 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authentication/Authorization data +type NefAuthenticationAuthContainer struct { + // string with format 'bytes' as defined in OpenAPI + AuthMsgType string `json:"authMsgType,omitempty" yaml:"authMsgType" bson:"authMsgType,omitempty"` + AuthMsgPayload *RefToBinaryData `json:"authMsgPayload,omitempty" yaml:"authMsgPayload" bson:"authMsgPayload,omitempty"` + AuthResult NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` +} diff --git a/models/model_nef_authentication_auth_result.go b/models/model_nef_authentication_auth_result.go new file mode 100644 index 00000000..323c9464 --- /dev/null +++ b/models/model_nef_authentication_auth_result.go @@ -0,0 +1,21 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefAuthenticationAuthResult string + +// List of NefAuthenticationAuthResult +const ( + NefAuthenticationAuthResult_SUCCESS NefAuthenticationAuthResult = "AUTH_SUCCESS" + NefAuthenticationAuthResult_FAIL NefAuthenticationAuthResult = "AUTH_FAIL" +) diff --git a/models/model_nef_authentication_uav_auth_info.go b/models/model_nef_authentication_uav_auth_info.go new file mode 100644 index 00000000..c29da094 --- /dev/null +++ b/models/model_nef_authentication_uav_auth_info.go @@ -0,0 +1,33 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth data +type NefAuthenticationUavAuthInfo struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthNotificationURI string `json:"authNotificationURI,omitempty" yaml:"authNotificationURI" bson:"authNotificationURI,omitempty"` + IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AuthServerAddress string `json:"authServerAddress,omitempty" yaml:"authServerAddress" bson:"authServerAddress,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + UeLocInfo *UserLocation `json:"ueLocInfo,omitempty" yaml:"ueLocInfo" bson:"ueLocInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *ExtSnssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/model_nef_authentication_uav_auth_response.go b/models/model_nef_authentication_uav_auth_response.go new file mode 100644 index 00000000..86d0bcf0 --- /dev/null +++ b/models/model_nef_authentication_uav_auth_response.go @@ -0,0 +1,24 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth response data +type NefAuthenticationUavAuthResponse struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId,omitempty" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + AuthResult *NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + NotifyCorrId string `json:"notifyCorrId,omitempty" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` +} diff --git a/models/model_nef_charging_information.go b/models/model_nef_charging_information.go index 3376dbc4..c1b1261c 100644 --- a/models/model_nef_charging_information.go +++ b/models/model_nef_charging_information.go @@ -1,22 +1,31 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NefChargingInformation struct { - ExternalIndividualIdentifier string `json:"externalIndividualIdentifier,omitempty" yaml:"externalIndividualIdentifier" bson:"externalIndividualIdentifier" mapstructure:"ExternalIndividualIdentifier"` - ExternalGroupIdentifier string `json:"externalGroupIdentifier,omitempty" yaml:"externalGroupIdentifier" bson:"externalGroupIdentifier" mapstructure:"ExternalGroupIdentifier"` - GroupIdentifier string `json:"groupIdentifier,omitempty" yaml:"groupIdentifier" bson:"groupIdentifier" mapstructure:"GroupIdentifier"` - APIDirection ApiDirection `json:"aPIDirection,omitempty" yaml:"aPIDirection" bson:"aPIDirection" mapstructure:"APIDirection"` - APITargetNetworkFunction *NfIdentification `json:"aPITargetNetworkFunction,omitempty" yaml:"aPITargetNetworkFunction" bson:"aPITargetNetworkFunction" mapstructure:"APITargetNetworkFunction"` - APIResultCode int32 `json:"aPIResultCode,omitempty" yaml:"aPIResultCode" bson:"aPIResultCode" mapstructure:"APIResultCode"` - APIName string `json:"aPIName" yaml:"aPIName" bson:"aPIName" mapstructure:"APIName"` - APIReference string `json:"aPIReference,omitempty" yaml:"aPIReference" bson:"aPIReference" mapstructure:"APIReference"` - APIContent string `json:"aPIContent,omitempty" yaml:"aPIContent" bson:"aPIContent" mapstructure:"APIContent"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ExternalIndividualIdentifier string `json:"externalIndividualIdentifier,omitempty" yaml:"externalIndividualIdentifier" bson:"externalIndividualIdentifier,omitempty"` + ExternalIndividualIdList []string `json:"externalIndividualIdList,omitempty" yaml:"externalIndividualIdList" bson:"externalIndividualIdList,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExternalGroupIdentifier string `json:"externalGroupIdentifier,omitempty" yaml:"externalGroupIdentifier" bson:"externalGroupIdentifier,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupIdentifier string `json:"groupIdentifier,omitempty" yaml:"groupIdentifier" bson:"groupIdentifier,omitempty"` + APIDirection ApiDirection `json:"aPIDirection,omitempty" yaml:"aPIDirection" bson:"aPIDirection,omitempty"` + APITargetNetworkFunction *ChfConvergedChargingNfIdentification `json:"aPITargetNetworkFunction,omitempty" yaml:"aPITargetNetworkFunction" bson:"aPITargetNetworkFunction,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + APIResultCode int32 `json:"aPIResultCode,omitempty" yaml:"aPIResultCode" bson:"aPIResultCode,omitempty"` + APIName string `json:"aPIName" yaml:"aPIName" bson:"aPIName,omitempty"` + // String providing an URI formatted according to RFC 3986. + APIReference string `json:"aPIReference,omitempty" yaml:"aPIReference" bson:"aPIReference,omitempty"` + APIContent string `json:"aPIContent,omitempty" yaml:"aPIContent" bson:"aPIContent,omitempty"` } diff --git a/models/model_nef_cond.go b/models/model_nef_cond.go new file mode 100644 index 00000000..d04c0f07 --- /dev/null +++ b/models/model_nef_cond.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (NEFs), identified by Event ID(s) provided by AF, S-NSSAI(s), AF Instance ID, Application Identifier, External Identifier, External Group Identifier, or domain name. +type NefCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` +} diff --git a/models/model_nef_event.go b/models/model_nef_event.go new file mode 100644 index 00000000..eeb09358 --- /dev/null +++ b/models/model_nef_event.go @@ -0,0 +1,32 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefEvent string + +// List of NefEvent +const ( + NefEvent_SVC_EXPERIENCE NefEvent = "SVC_EXPERIENCE" + NefEvent_UE_MOBILITY NefEvent = "UE_MOBILITY" + NefEvent_UE_COMM NefEvent = "UE_COMM" + NefEvent_EXCEPTIONS NefEvent = "EXCEPTIONS" + NefEvent_USER_DATA_CONGESTION NefEvent = "USER_DATA_CONGESTION" + NefEvent_PERF_DATA NefEvent = "PERF_DATA" + NefEvent_DISPERSION NefEvent = "DISPERSION" + NefEvent_COLLECTIVE_BEHAVIOUR NefEvent = "COLLECTIVE_BEHAVIOUR" + NefEvent_MS_QOE_METRICS NefEvent = "MS_QOE_METRICS" + NefEvent_MS_CONSUMPTION NefEvent = "MS_CONSUMPTION" + NefEvent_MS_NET_ASSIST_INVOCATION NefEvent = "MS_NET_ASSIST_INVOCATION" + NefEvent_MS_DYN_POLICY_INVOCATION NefEvent = "MS_DYN_POLICY_INVOCATION" + NefEvent_MS_ACCESS_ACTIVITY NefEvent = "MS_ACCESS_ACTIVITY" +) diff --git a/models/model_nef_event_exposure_notif.go b/models/model_nef_event_exposure_notif.go new file mode 100644 index 00000000..6fe550fe --- /dev/null +++ b/models/model_nef_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on network exposure event(s) that occurred for an Individual Network Exposure Event Subscription resource. +type NefEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []NefEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/model_nef_event_exposure_service_experience_info.go b/models/model_nef_event_exposure_service_experience_info.go new file mode 100644 index 00000000..fb85da16 --- /dev/null +++ b/models/model_nef_event_exposure_service_experience_info.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with an application. +type NefEventExposureServiceExperienceInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` +} diff --git a/models/model_nef_event_exposure_subsc.go b/models/model_nef_event_exposure_subsc.go new file mode 100644 index 00000000..be1c09f6 --- /dev/null +++ b/models/model_nef_event_exposure_subsc.go @@ -0,0 +1,26 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Network Exposure Event Subscription resource. +type NefEventExposureSubsc struct { + DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` + EventsSubs []NefEventSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []NefEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_nef_event_exposure_target_ue_identification.go b/models/model_nef_event_exposure_target_ue_identification.go new file mode 100644 index 00000000..bd0a54dd --- /dev/null +++ b/models/model_nef_event_exposure_target_ue_identification.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the UE to which the request applies. +type NefEventExposureTargetUeIdentification struct { + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` + AnyUeId bool `json:"anyUeId,omitempty" yaml:"anyUeId" bson:"anyUeId,omitempty"` +} diff --git a/models/model_nef_event_filter.go b/models/model_nef_event_filter.go new file mode 100644 index 00000000..e032dba9 --- /dev/null +++ b/models/model_nef_event_filter.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents event filter information for an event. +type NefEventFilter struct { + TgtUe *NefEventExposureTargetUeIdentification `json:"tgtUe" yaml:"tgtUe" bson:"tgtUe,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` +} diff --git a/models/model_nef_event_notification.go b/models/model_nef_event_notification.go new file mode 100644 index 00000000..fefc2483 --- /dev/null +++ b/models/model_nef_event_notification.go @@ -0,0 +1,37 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information related to an event to be reported. +type NefEventNotification struct { + Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + SvcExprcInfos []NefEventExposureServiceExperienceInfo `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` + UeMobilityInfos []UeMobilityInfo `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` + UeCommInfos []UeCommunicationInfo `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` + ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` + CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` + PerfDataInfos []PerformanceDataInfo `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` + DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` + CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` + MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` + MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` + MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` + MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` + MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` +} diff --git a/models/model_nef_event_subs.go b/models/model_nef_event_subs.go new file mode 100644 index 00000000..f4ea251a --- /dev/null +++ b/models/model_nef_event_subs.go @@ -0,0 +1,19 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event to be subscribed and the related event filter information. +type NefEventSubs struct { + Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` + EventFilter *NefEventFilter `json:"eventFilter,omitempty" yaml:"eventFilter" bson:"eventFilter,omitempty"` +} diff --git a/models/model_nef_info.go b/models/model_nef_info.go new file mode 100644 index 00000000..5f2d774c --- /dev/null +++ b/models/model_nef_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an NEF NF Instance +type NefInfo struct { + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + AfEeData *AfEventExposureData `json:"afEeData,omitempty" yaml:"afEeData" bson:"afEeData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + UnTrustAfInfoList []UnTrustAfInfo `json:"unTrustAfInfoList,omitempty" yaml:"unTrustAfInfoList" bson:"unTrustAfInfoList,omitempty"` + UasNfFunctionalityInd bool `json:"uasNfFunctionalityInd,omitempty" yaml:"uasNfFunctionalityInd" bson:"uasNfFunctionalityInd,omitempty"` +} diff --git a/models/model_nef_sm_context_deliver_req_data.go b/models/model_nef_sm_context_deliver_req_data.go new file mode 100644 index 00000000..f284b333 --- /dev/null +++ b/models/model_nef_sm_context_deliver_req_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The data for Deliver service request, including the Mobile Originated data to be delivered via NEF. +type NefSmContextDeliverReqData struct { + Data *RefToBinaryData `json:"data" yaml:"data" bson:"data,omitempty"` +} diff --git a/models/model_nef_sm_context_nidd_information.go b/models/model_nef_sm_context_nidd_information.go new file mode 100644 index 00000000..31aec26b --- /dev/null +++ b/models/model_nef_sm_context_nidd_information.go @@ -0,0 +1,23 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Informaiton related to NIDD used for the SM Context. +type NefSmContextNiddInformation struct { + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // When present, this IE shall contain the AF Id used for the SM Context. + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/model_nef_sm_context_release_cause.go b/models/model_nef_sm_context_release_cause.go new file mode 100644 index 00000000..df21e3c3 --- /dev/null +++ b/models/model_nef_sm_context_release_cause.go @@ -0,0 +1,20 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefSmContextReleaseCause string + +// List of NefSMContextReleaseCause +const ( + NefSmContextReleaseCause_PDU_SESSION_RELEASED NefSmContextReleaseCause = "PDU_SESSION_RELEASED" +) diff --git a/models/model_nef_sm_context_sm_context_create_data.go b/models/model_nef_sm_context_sm_context_create_data.go new file mode 100644 index 00000000..172627d4 --- /dev/null +++ b/models/model_nef_sm_context_sm_context_create_data.go @@ -0,0 +1,36 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the Individual SM context to be created. +type NefSmContextSmContextCreateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // This IE shall contain the NEF ID of the target NEF. + NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DlNiddEndPoint string `json:"dlNiddEndPoint" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + NiddInfo *NefSmContextNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` + // When present, this IE shall indicate the UE capability to support RDS. The value of this IE shall be set as following - true UE supports RDS - false (default) UE does not support RDS + RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` + SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_nef_sm_context_sm_context_created_data.go b/models/model_nef_sm_context_sm_context_created_data.go new file mode 100644 index 00000000..b915a0da --- /dev/null +++ b/models/model_nef_sm_context_sm_context_created_data.go @@ -0,0 +1,33 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of an Individual SM context successfully created. +type NefSmContextSmContextCreatedData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // This IE shall contain the NEF ID of the target NEF. + NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` + // When present, this IE shall indicate the NEF capability to support RDS. The value of this IE shall be set as following - true NEF supports RDS - false (default) NEF does not support RDS + RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` + // When present, this IE shall indicate whether Extended Buffering applies or not. The value of this IE shall be set as following - true Extended Buffering applies - false (default) Extended Buffering does not apply + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxPacketSize int32 `json:"maxPacketSize,omitempty" yaml:"maxPacketSize" bson:"maxPacketSize,omitempty"` +} diff --git a/models/model_nef_sm_context_sm_context_release_data.go b/models/model_nef_sm_context_sm_context_release_data.go new file mode 100644 index 00000000..7b958a04 --- /dev/null +++ b/models/model_nef_sm_context_sm_context_release_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the information to release the Individual SM context. +type NefSmContextSmContextReleaseData struct { + Cause NefSmContextReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_nef_sm_context_sm_context_status_notification.go b/models/model_nef_sm_context_sm_context_status_notification.go new file mode 100644 index 00000000..17235454 --- /dev/null +++ b/models/model_nef_sm_context_sm_context_status_notification.go @@ -0,0 +1,23 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the SM Context status notification. +type NefSmContextSmContextStatusNotification struct { + Status SmContextStatus `json:"status" yaml:"status" bson:"status,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextId string `json:"smContextId" yaml:"smContextId" bson:"smContextId,omitempty"` + Cause NefSmContextReleaseCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` +} diff --git a/models/model_nef_sm_context_sm_context_update_data.go b/models/model_nef_sm_context_sm_context_update_data.go new file mode 100644 index 00000000..bf14aba2 --- /dev/null +++ b/models/model_nef_sm_context_sm_context_update_data.go @@ -0,0 +1,22 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the updates to apply to the Individual SM context. +type NefSmContextSmContextUpdateData struct { + // String providing an URI formatted according to RFC 3986. + DlNiddEndPoint string `json:"dlNiddEndPoint,omitempty" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` +} diff --git a/models/model_nef_traffic_influ_sub.go b/models/model_nef_traffic_influ_sub.go new file mode 100644 index 00000000..1df78633 --- /dev/null +++ b/models/model_nef_traffic_influ_sub.go @@ -0,0 +1,79 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a traffic influence subscription. +type NefTrafficInfluSub struct { + // Identifies a service on behalf of which the AF is issuing the request. + AfServiceId string `json:"afServiceId,omitempty" yaml:"afServiceId" bson:"afServiceId,omitempty"` + // Identifies an application. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // Identifies an NEF Northbound interface transaction, generated by the AF. + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information. + ExternalGroupId string `json:"externalGroupId,omitempty" yaml:"externalGroupId" bson:"externalGroupId,omitempty"` + // Identifies whether the AF request applies to any UE. This attribute shall set to \"true\" if applicable for any UE, otherwise, set to \"false\". + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Identifies the requirement to be notified of the event(s). + SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + // Set to true by the SCS/AS to request the NEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. + RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` + // Identifies IP packet filters. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies Ethernet packet filters. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. + ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` + // Identifies geographical areas within which the AF request applies. + GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` + EventReports []EventNotification `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_nef_traffic_influ_sub_patch.go b/models/model_nef_traffic_influ_sub_patch.go new file mode 100644 index 00000000..6fbda8ae --- /dev/null +++ b/models/model_nef_traffic_influ_sub_patch.go @@ -0,0 +1,46 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents parameters to request the modification of a traffic influence subscription resource. +type NefTrafficInfluSubPatch struct { + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // Identifies IP packet filters. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies Ethernet packet filters. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. + ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` + // Identifies geographical areas within which the AF request applies. + GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` +} diff --git a/models/model_net_loc_access_support.go b/models/model_net_loc_access_support.go new file mode 100644 index 00000000..dc043412 --- /dev/null +++ b/models/model_net_loc_access_support.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetLocAccessSupport string + +// List of NetLocAccessSupport +const ( + NetLocAccessSupport_ANR_NOT_SUPPORTED NetLocAccessSupport = "ANR_NOT_SUPPORTED" + NetLocAccessSupport_TZR_NOT_SUPPORTED NetLocAccessSupport = "TZR_NOT_SUPPORTED" + NetLocAccessSupport_LOC_NOT_SUPPORTED NetLocAccessSupport = "LOC_NOT_SUPPORTED" +) diff --git a/models/model_network_area_info.go b/models/model_network_area_info.go index e4285baa..d1aef601 100644 --- a/models/model_network_area_info.go +++ b/models/model_network_area_info.go @@ -1,9 +1,12 @@ /* - * Npcf_BDTPolicyControl Service API + * Nchf_ConvergedCharging * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -12,11 +15,11 @@ package models // Describes a network area information in which the NF service consumer requests the number of UEs. type NetworkAreaInfo struct { // Contains a list of E-UTRA cell identities. - Ecgis []Ecgi `json:"ecgis,omitempty" yaml:"ecgis" bson:"ecgis" mapstructure:"Ecgis"` + Ecgis []Ecgi `json:"ecgis,omitempty" yaml:"ecgis" bson:"ecgis,omitempty"` // Contains a list of NR cell identities. - Ncgis []Ncgi `json:"ncgis,omitempty" yaml:"ncgis" bson:"ncgis" mapstructure:"Ncgis"` + Ncgis []Ncgi `json:"ncgis,omitempty" yaml:"ncgis" bson:"ncgis,omitempty"` // Contains a list of NG RAN nodes. - GRanNodeIds []GlobalRanNodeId `json:"gRanNodeIds,omitempty" yaml:"gRanNodeIds" bson:"gRanNodeIds" mapstructure:"GRanNodeIds"` + GRanNodeIds []GlobalRanNodeId `json:"gRanNodeIds,omitempty" yaml:"gRanNodeIds" bson:"gRanNodeIds,omitempty"` // Contains a list of tracking area identities. - Tais []Tai `json:"tais,omitempty" yaml:"tais" bson:"tais" mapstructure:"Tais"` + Tais []Tai `json:"tais,omitempty" yaml:"tais" bson:"tais,omitempty"` } diff --git a/models/model_network_assistance_session.go b/models/model_network_assistance_session.go new file mode 100644 index 00000000..4be3d572 --- /dev/null +++ b/models/model_network_assistance_session.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A representation of a Network Assistance Session resource. +type NetworkAssistanceSession struct { + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + NaSessionId string `json:"naSessionId" yaml:"naSessionId" bson:"naSessionId,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` + ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` + MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + PolicyTemplateId string `json:"policyTemplateId,omitempty" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` + RequestedQoS *M5QoSSpecification `json:"requestedQoS,omitempty" yaml:"requestedQoS" bson:"requestedQoS,omitempty"` + RecommendedQoS *M5QoSSpecification `json:"recommendedQoS,omitempty" yaml:"recommendedQoS" bson:"recommendedQoS,omitempty"` + // Absolute Uniform Resource Locator, conforming with the \"absolute-URI\" production specified in IETF RFC 3986, section 4.3 in which the scheme part is \"http\" or \"https\". Note that the \"query\" suffix is permitted by this production but the \"fragment\" suffix is not. + NotficationURL string `json:"notficationURL,omitempty" yaml:"notficationURL" bson:"notficationURL,omitempty"` +} diff --git a/models/model_network_id.go b/models/model_network_id.go deleted file mode 100644 index 3a70890a..00000000 --- a/models/model_network_id.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NetworkId struct { - Mnc string `json:"mnc,omitempty" yaml:"mnc" bson:"mnc" mapstructure:"Mnc"` - Mcc string `json:"mcc,omitempty" yaml:"mcc" bson:"mcc" mapstructure:"Mcc"` -} diff --git a/models/model_network_node_diameter_address.go b/models/model_network_node_diameter_address.go index 64d942bf..f66952cf 100644 --- a/models/model_network_node_diameter_address.go +++ b/models/model_network_node_diameter_address.go @@ -1,15 +1,20 @@ /* - * Nudm_UECM + * Nnwdaf_DataManagement * - * Nudm Context Management Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NetworkNodeDiameterAddress struct { - Name string `json:"name" yaml:"name" bson:"name" mapstructure:"Name"` - Realm string `json:"realm" yaml:"realm" bson:"realm" mapstructure:"Realm"` + // Fully Qualified Domain Name + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // Fully Qualified Domain Name + Realm string `json:"realm" yaml:"realm" bson:"realm,omitempty"` } diff --git a/models/model_network_perf_info.go b/models/model_network_perf_info.go new file mode 100644 index 00000000..8bff531b --- /dev/null +++ b/models/model_network_perf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the network performance information. +type NetworkPerfInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + NwPerfType NetworkPerfType `json:"nwPerfType,omitempty" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_network_perf_requirement.go b/models/model_network_perf_requirement.go new file mode 100644 index 00000000..e5f05b04 --- /dev/null +++ b/models/model_network_perf_requirement.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a network performance requirement. +type NetworkPerfRequirement struct { + NwPerfType NetworkPerfType `json:"nwPerfType" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` +} diff --git a/models/model_network_perf_type.go b/models/model_network_perf_type.go new file mode 100644 index 00000000..333a5953 --- /dev/null +++ b/models/model_network_perf_type.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetworkPerfType string + +// List of NetworkPerfType +const ( + NetworkPerfType_GNB_ACTIVE_RATIO NetworkPerfType = "GNB_ACTIVE_RATIO" + NetworkPerfType_GNB_COMPUTING_USAGE NetworkPerfType = "GNB_COMPUTING_USAGE" + NetworkPerfType_GNB_MEMORY_USAGE NetworkPerfType = "GNB_MEMORY_USAGE" + NetworkPerfType_GNB_DISK_USAGE NetworkPerfType = "GNB_DISK_USAGE" + NetworkPerfType_NUM_OF_UE NetworkPerfType = "NUM_OF_UE" + NetworkPerfType_SESS_SUCC_RATIO NetworkPerfType = "SESS_SUCC_RATIO" + NetworkPerfType_HO_SUCC_RATIO NetworkPerfType = "HO_SUCC_RATIO" +) diff --git a/models/model_network_slice_cond.go b/models/model_network_slice_cond.go index 6c71c87e..ebf41344 100644 --- a/models/model_network_slice_cond.go +++ b/models/model_network_slice_cond.go @@ -1,15 +1,19 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of NFs, based on the slices (S-NSSAI and NSI) they support type NetworkSliceCond struct { - SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList" mapstructure:"SnssaiList"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList" mapstructure:"NsiList"` + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` } diff --git a/models/model_network_slicing_info.go b/models/model_network_slicing_info.go index ecf86687..7ecbb3a2 100644 --- a/models/model_network_slicing_info.go +++ b/models/model_network_slicing_info.go @@ -1,14 +1,17 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NetworkSlicingInfo struct { - SNSSAI *Snssai `json:"sNSSAI" yaml:"sNSSAI" bson:"sNSSAI" mapstructure:"SNSSAI"` + SNSSAI *Snssai `json:"sNSSAI" yaml:"sNSSAI" bson:"sNSSAI,omitempty"` } diff --git a/models/model_nf_group_cond.go b/models/model_nf_group_cond.go index 609615fa..daa1e400 100644 --- a/models/model_nf_group_cond.go +++ b/models/model_nf_group_cond.go @@ -1,15 +1,20 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of NFs based on their Group Id type NfGroupCond struct { - NfType string `json:"nfType" yaml:"nfType" bson:"nfType" mapstructure:"NfType"` - NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId" mapstructure:"NfGroupId"` + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + // Identifier of a group of NFs. + NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` } diff --git a/models/model_nf_group_list_cond.go b/models/model_nf_group_list_cond.go new file mode 100644 index 00000000..2cc6bf33 --- /dev/null +++ b/models/model_nf_group_list_cond.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Group Ids +type NfGroupListCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` +} diff --git a/models/model_nf_identification.go b/models/model_nf_identification.go deleted file mode 100644 index f8717186..00000000 --- a/models/model_nf_identification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NfIdentification struct { - NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName" mapstructure:"NFName"` - NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address" mapstructure:"NFIPv4Address"` - NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address" mapstructure:"NFIPv6Address"` - NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID" mapstructure:"NFPLMNID"` - NodeFunctionality NodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality" mapstructure:"NodeFunctionality"` - NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn" mapstructure:"NFFqdn"` -} diff --git a/models/model_nf_identifier.go b/models/model_nf_identifier.go new file mode 100644 index 00000000..c20ed11a --- /dev/null +++ b/models/model_nf_identifier.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NfIdentifier struct { + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` +} diff --git a/models/model_nf_info.go b/models/model_nf_info.go new file mode 100644 index 00000000..9157a62a --- /dev/null +++ b/models/model_nf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a generic NF Instance +type NfInfo struct { + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/model_nf_instance_id_cond.go b/models/model_nf_instance_id_cond.go index 3bc8bc04..e5c0a4e8 100644 --- a/models/model_nf_instance_id_cond.go +++ b/models/model_nf_instance_id_cond.go @@ -1,14 +1,19 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a given NF Instance Id type NfInstanceIdCond struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` } diff --git a/models/model_nf_instance_id_list_cond.go b/models/model_nf_instance_id_list_cond.go new file mode 100644 index 00000000..f7c2cb36 --- /dev/null +++ b/models/model_nf_instance_id_list_cond.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a list of NF Instances +type NfInstanceIdListCond struct { + NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` +} diff --git a/models/model_nf_instance_info.go b/models/model_nf_instance_info.go new file mode 100644 index 00000000..ec4b467a --- /dev/null +++ b/models/model_nf_instance_info.go @@ -0,0 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on an NF profile matching a discovery request +type NfInstanceInfo struct { + // String providing an URI formatted according to RFC 3986. + NrfDiscApiUri string `json:"nrfDiscApiUri,omitempty" yaml:"nrfDiscApiUri" bson:"nrfDiscApiUri,omitempty"` + PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` + // The key of the map is the JSON Pointer of the priority IE in the NFProfile data type that is altered by the NRF + NrfAlteredPriorities map[string]int32 `json:"nrfAlteredPriorities,omitempty" yaml:"nrfAlteredPriorities" bson:"nrfAlteredPriorities,omitempty"` +} diff --git a/models/model_nf_load_level_information.go b/models/model_nf_load_level_information.go new file mode 100644 index 00000000..290929c3 --- /dev/null +++ b/models/model_nf_load_level_information.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents load level information of a given NF instance. +type NfLoadLevelInformation struct { + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + NfStatus *NwdafEventsSubscriptionNfStatus `json:"nfStatus,omitempty" yaml:"nfStatus" bson:"nfStatus,omitempty"` + NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` + NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` + NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` + NfLoadLevelAverage int32 `json:"nfLoadLevelAverage,omitempty" yaml:"nfLoadLevelAverage" bson:"nfLoadLevelAverage,omitempty"` + NfLoadLevelpeak int32 `json:"nfLoadLevelpeak,omitempty" yaml:"nfLoadLevelpeak" bson:"nfLoadLevelpeak,omitempty"` + NfLoadAvgInAoi int32 `json:"nfLoadAvgInAoi,omitempty" yaml:"nfLoadAvgInAoi" bson:"nfLoadAvgInAoi,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_nf_management_subscription_data.go b/models/model_nf_management_subscription_data.go new file mode 100644 index 00000000..5ccbec4a --- /dev/null +++ b/models/model_nf_management_subscription_data.go @@ -0,0 +1,40 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a subscription to notifications to NRF events, included in subscription requests and responses +type NfManagementSubscriptionData struct { + NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri,omitempty"` + ReqNfInstanceId string `json:"reqNfInstanceId,omitempty" yaml:"reqNfInstanceId" bson:"reqNfInstanceId,omitempty"` + SubscrCond interface{} `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` + NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition,omitempty"` + ReqNfType NfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType,omitempty"` + // Fully Qualified Domain Name + ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn,omitempty"` + ReqSnssais []Snssai `json:"reqSnssais,omitempty" yaml:"reqSnssais" bson:"reqSnssais,omitempty"` + ReqPerPlmnSnssais []PlmnSnssai `json:"reqPerPlmnSnssais,omitempty" yaml:"reqPerPlmnSnssais" bson:"reqPerPlmnSnssais,omitempty"` + ReqPlmnList []PlmnId `json:"reqPlmnList,omitempty" yaml:"reqPlmnList" bson:"reqPlmnList,omitempty"` + ReqSnpnList []PlmnIdNid `json:"reqSnpnList,omitempty" yaml:"reqSnpnList" bson:"reqSnpnList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + RequesterFeatures string `json:"requesterFeatures,omitempty" yaml:"requesterFeatures" bson:"requesterFeatures,omitempty"` + NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` +} diff --git a/models/model_nf_profile.go b/models/model_nf_profile.go index 02faadc0..a061a5c9 100644 --- a/models/model_nf_profile.go +++ b/models/model_nf_profile.go @@ -1,9 +1,12 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,42 +16,75 @@ import ( "time" ) +// Information of an NF Instance registered in the NRF type NfProfile struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` - NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType" mapstructure:"NfType"` - NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus" mapstructure:"NfStatus"` - HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer" mapstructure:"HeartBeatTimer"` - PlmnList *[]PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList" mapstructure:"PlmnList"` - SNssais *[]Snssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais" mapstructure:"SNssais"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList" mapstructure:"PerPlmnSnssaiList"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList" mapstructure:"NsiList"` - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn" mapstructure:"Fqdn"` - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn" mapstructure:"InterPlmnFqdn"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses" mapstructure:"Ipv4Addresses"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses" mapstructure:"Ipv6Addresses"` - AllowedPlmns *[]PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns" mapstructure:"AllowedPlmns"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes" mapstructure:"AllowedNfTypes"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains" mapstructure:"AllowedNfDomains"` - AllowedNssais *[]Snssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais" mapstructure:"AllowedNssais"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority" mapstructure:"Priority"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity" mapstructure:"Capacity"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load" mapstructure:"Load"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality" mapstructure:"Locality"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo" mapstructure:"UdrInfo"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo" mapstructure:"UdmInfo"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo" mapstructure:"AusfInfo"` - AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo" mapstructure:"AmfInfo"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo" mapstructure:"SmfInfo"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo" mapstructure:"UpfInfo"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo" mapstructure:"PcfInfo"` - BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo" mapstructure:"BsfInfo"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo" mapstructure:"ChfInfo"` - NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo" mapstructure:"NrfInfo"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo" mapstructure:"CustomInfo"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime" mapstructure:"RecoveryTime"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence" mapstructure:"NfServicePersistence"` - NfServices *[]NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices" mapstructure:"NfServices"` - NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd" mapstructure:"NfProfileChangesSupportInd"` - NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd" mapstructure:"NfProfileChangesInd"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions" mapstructure:"DefaultNotificationSubscriptions"` + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + AmfInfoList map[string]AmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + BsfInfoList map[string]BsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + NfServiceList map[string]NfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` + NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` } diff --git a/models/model_nf_profile_notification_data.go b/models/model_nf_profile_notification_data.go index e4c40210..9ee4bf1b 100644 --- a/models/model_nf_profile_notification_data.go +++ b/models/model_nf_profile_notification_data.go @@ -1,9 +1,12 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,41 +17,73 @@ import ( ) type NfProfileNotificationData struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` - NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType" mapstructure:"NfType"` - NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus" mapstructure:"NfStatus"` - HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer" mapstructure:"HeartBeatTimer"` - PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList" mapstructure:"PlmnList"` - SNssais []Snssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais" mapstructure:"SNssais"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList" mapstructure:"PerPlmnSnssaiList"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList" mapstructure:"NsiList"` - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn" mapstructure:"Fqdn"` - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn" mapstructure:"InterPlmnFqdn"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses" mapstructure:"Ipv4Addresses"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses" mapstructure:"Ipv6Addresses"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns" mapstructure:"AllowedPlmns"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes" mapstructure:"AllowedNfTypes"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains" mapstructure:"AllowedNfDomains"` - AllowedNssais []Snssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais" mapstructure:"AllowedNssais"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority" mapstructure:"Priority"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity" mapstructure:"Capacity"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load" mapstructure:"Load"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality" mapstructure:"Locality"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo" mapstructure:"UdrInfo"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo" mapstructure:"UdmInfo"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo" mapstructure:"AusfInfo"` - AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo" mapstructure:"AmfInfo"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo" mapstructure:"SmfInfo"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo" mapstructure:"UpfInfo"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo" mapstructure:"PcfInfo"` - BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo" mapstructure:"BsfInfo"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo" mapstructure:"ChfInfo"` - NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo" mapstructure:"NrfInfo"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo" mapstructure:"CustomInfo"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime" mapstructure:"RecoveryTime"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence" mapstructure:"NfServicePersistence"` - NfServices []NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices" mapstructure:"NfServices"` - NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd" mapstructure:"NfProfileChangesSupportInd"` - NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd" mapstructure:"NfProfileChangesInd"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions" mapstructure:"DefaultNotificationSubscriptions"` + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + AmfInfoList map[string]AmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + BsfInfoList map[string]BsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + NfServiceList map[string]NfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` + NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` } diff --git a/models/model_nf_service.go b/models/model_nf_service.go index 1d308699..5a27c9d3 100644 --- a/models/model_nf_service.go +++ b/models/model_nf_service.go @@ -1,9 +1,12 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,26 +16,38 @@ import ( "time" ) +// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance type NfService struct { - ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId" mapstructure:"ServiceInstanceId"` - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName" mapstructure:"ServiceName"` - Versions *[]NfServiceVersion `json:"versions" yaml:"versions" bson:"versions" mapstructure:"Versions"` - Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme" mapstructure:"Scheme"` - NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus" mapstructure:"NfServiceStatus"` - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn" mapstructure:"Fqdn"` - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn" mapstructure:"InterPlmnFqdn"` - IpEndPoints *[]IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints" mapstructure:"IpEndPoints"` - ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix" mapstructure:"ApiPrefix"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions" mapstructure:"DefaultNotificationSubscriptions"` - AllowedPlmns *[]PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns" mapstructure:"AllowedPlmns"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes" mapstructure:"AllowedNfTypes"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains" mapstructure:"AllowedNfDomains"` - AllowedNssais *[]Snssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais" mapstructure:"AllowedNssais"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority" mapstructure:"Priority"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity" mapstructure:"Capacity"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load" mapstructure:"Load"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime" mapstructure:"RecoveryTime"` - ChfServiceInfo *ChfServiceInfo `json:"chfServiceInfo,omitempty" yaml:"chfServiceInfo" bson:"chfServiceInfo" mapstructure:"ChfServiceInfo"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - Oauth2Required string `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required" mapstructure:"oauth2Required"` + ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` + Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` + NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` + ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` + AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` } diff --git a/models/model_nf_service_instance.go b/models/model_nf_service_instance.go new file mode 100644 index 00000000..f6ccfd43 --- /dev/null +++ b/models/model_nf_service_instance.go @@ -0,0 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NF service instance +type NfServiceInstance struct { + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId,omitempty" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` +} diff --git a/models/model_nf_service_set_cond.go b/models/model_nf_service_set_cond.go new file mode 100644 index 00000000..1333d86f --- /dev/null +++ b/models/model_nf_service_set_cond.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Service Set Id +type NfServiceSetCond struct { + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/model_nf_service_status.go b/models/model_nf_service_status.go index 862f574e..6c525de8 100644 --- a/models/model_nf_service_status.go +++ b/models/model_nf_service_status.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_nf_service_version.go b/models/model_nf_service_version.go index 5e3bb1fe..9c297f00 100644 --- a/models/model_nf_service_version.go +++ b/models/model_nf_service_version.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,10 @@ import ( "time" ) +// Contains the version details of an NF service type NfServiceVersion struct { - ApiVersionInUri string `json:"apiVersionInUri" yaml:"apiVersionInUri" bson:"apiVersionInUri" mapstructure:"ApiVersionInUri"` - ApiFullVersion string `json:"apiFullVersion" yaml:"apiFullVersion" bson:"apiFullVersion" mapstructure:"ApiFullVersion"` - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry" mapstructure:"Expiry"` + ApiVersionInUri string `json:"apiVersionInUri" yaml:"apiVersionInUri" bson:"apiVersionInUri,omitempty"` + ApiFullVersion string `json:"apiFullVersion" yaml:"apiFullVersion" bson:"apiFullVersion,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` } diff --git a/models/model_nf_set_cond.go b/models/model_nf_set_cond.go new file mode 100644 index 00000000..e1fd3baa --- /dev/null +++ b/models/model_nf_set_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Set Id +type NfSetCond struct { + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/model_nf_status.go b/models/model_nf_status.go index 1d1e5115..ecff006c 100644 --- a/models/model_nf_status.go +++ b/models/model_nf_status.go @@ -1,9 +1,12 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_nf_type.go b/models/model_nf_type.go index 2e058aa8..3e7febc1 100644 --- a/models/model_nf_type.go +++ b/models/model_nf_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nudr_DataRepository API OpenAPI file * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_nf_type_cond.go b/models/model_nf_type_cond.go index 54cb3d30..b464b0a1 100644 --- a/models/model_nf_type_cond.go +++ b/models/model_nf_type_cond.go @@ -1,14 +1,18 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of NFs based on their NF Type type NfTypeCond struct { - NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType" mapstructure:"NfType"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` } diff --git a/models/model_ng_ap_cause.go b/models/model_ng_ap_cause.go index 85454717..615b0b4a 100644 --- a/models/model_ng_ap_cause.go +++ b/models/model_ng_ap_cause.go @@ -1,15 +1,21 @@ /* - * Namf_Communication + * Nchf_OfflineOnlyCharging * - * AMF Communication Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the NGAP cause. type NgApCause struct { - Group int32 `json:"group" yaml:"group" bson:"group" mapstructure:"Group"` - Value int32 `json:"value" yaml:"value" bson:"value" mapstructure:"Value"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Group int32 `json:"group" yaml:"group" bson:"group,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Value int32 `json:"value" yaml:"value" bson:"value,omitempty"` } diff --git a/models/model_ng_ksi.go b/models/model_ng_ksi.go index 6f667f47..01dc9742 100644 --- a/models/model_ng_ksi.go +++ b/models/model_ng_ksi.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the ngKSI type NgKsi struct { - Tsc ScType `json:"tsc"` - Ksi int32 `json:"ksi"` + Tsc ScType `json:"tsc" yaml:"tsc" bson:"tsc,omitempty"` + Ksi int32 `json:"ksi" yaml:"ksi" bson:"ksi,omitempty"` } diff --git a/models/model_ng_ran_target_id.go b/models/model_ng_ran_target_id.go index b7e62487..32f35750 100644 --- a/models/model_ng_ran_target_id.go +++ b/models/model_ng_ran_target_id.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates a NG RAN as target of the handover type NgRanTargetId struct { - RanNodeId *GlobalRanNodeId `json:"ranNodeId"` - Tai *Tai `json:"tai"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` } diff --git a/models/model_ngap_ie_type.go b/models/model_ngap_ie_type.go index 802d61a7..5486fbcb 100644 --- a/models/model_ngap_ie_type.go +++ b/models/model_ngap_ie_type.go @@ -1,9 +1,12 @@ /* - * Namf_Communication + * Npcf_UEPolicyControl * - * AMF Communication Service + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,16 +16,21 @@ type NgapIeType string // List of NgapIeType const ( - NgapIeType_PDU_RES_SETUP_REQ NgapIeType = "PDU_RES_SETUP_REQ" - NgapIeType_PDU_RES_REL_CMD NgapIeType = "PDU_RES_REL_CMD" - NgapIeType_PDU_RES_MOD_REQ NgapIeType = "PDU_RES_MOD_REQ" - NgapIeType_HANDOVER_CMD NgapIeType = "HANDOVER_CMD" - NgapIeType_HANDOVER_REQUIRED NgapIeType = "HANDOVER_REQUIRED" - NgapIeType_HANDOVER_PREP_FAIL NgapIeType = "HANDOVER_PREP_FAIL" - NgapIeType_SRC_TO_TAR_CONTAINER NgapIeType = "SRC_TO_TAR_CONTAINER" - NgapIeType_TAR_TO_SRC_CONTAINER NgapIeType = "TAR_TO_SRC_CONTAINER" - NgapIeType_RAN_STATUS_TRANS_CONTAINER NgapIeType = "RAN_STATUS_TRANS_CONTAINER" - NgapIeType_SON_CONFIG_TRANSFER NgapIeType = "SON_CONFIG_TRANSFER" - NgapIeType_NRPPA_PDU NgapIeType = "NRPPA_PDU" - NgapIeType_UE_RADIO_CAPABILITY NgapIeType = "UE_RADIO_CAPABILITY" + NgapIeType_PDU_RES_SETUP_REQ NgapIeType = "PDU_RES_SETUP_REQ" + NgapIeType_PDU_RES_REL_CMD NgapIeType = "PDU_RES_REL_CMD" + NgapIeType_PDU_RES_MOD_REQ NgapIeType = "PDU_RES_MOD_REQ" + NgapIeType_HANDOVER_CMD NgapIeType = "HANDOVER_CMD" + NgapIeType_HANDOVER_REQUIRED NgapIeType = "HANDOVER_REQUIRED" + NgapIeType_HANDOVER_PREP_FAIL NgapIeType = "HANDOVER_PREP_FAIL" + NgapIeType_SRC_TO_TAR_CONTAINER NgapIeType = "SRC_TO_TAR_CONTAINER" + NgapIeType_TAR_TO_SRC_CONTAINER NgapIeType = "TAR_TO_SRC_CONTAINER" + NgapIeType_TAR_TO_SRC_FAIL_CONTAINER NgapIeType = "TAR_TO_SRC_FAIL_CONTAINER" + NgapIeType_RAN_STATUS_TRANS_CONTAINER NgapIeType = "RAN_STATUS_TRANS_CONTAINER" + NgapIeType_SON_CONFIG_TRANSFER NgapIeType = "SON_CONFIG_TRANSFER" + NgapIeType_NRPPA_PDU NgapIeType = "NRPPA_PDU" + NgapIeType_UE_RADIO_CAPABILITY NgapIeType = "UE_RADIO_CAPABILITY" + NgapIeType_RIM_INFO_TRANSFER NgapIeType = "RIM_INFO_TRANSFER" + NgapIeType_SECONDARY_RAT_USAGE NgapIeType = "SECONDARY_RAT_USAGE" + NgapIeType_PC5_QOS_PARA NgapIeType = "PC5_QOS_PARA" + NgapIeType_EARLY_STATUS_TRANS_CONTAINER NgapIeType = "EARLY_STATUS_TRANS_CONTAINER" ) diff --git a/models/model_ngran_failure_event.go b/models/model_ngran_failure_event.go new file mode 100644 index 00000000..42dafbae --- /dev/null +++ b/models/model_ngran_failure_event.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NG-RAN failure event for a NG-RAN +type NgranFailureEvent struct { + NgranId *GlobalRanNodeId `json:"ngranId" yaml:"ngranId" bson:"ngranId,omitempty"` + NgranFailureIndication NgranFailureIndication `json:"ngranFailureIndication" yaml:"ngranFailureIndication" bson:"ngranFailureIndication,omitempty"` +} diff --git a/models/model_ngran_failure_indication.go b/models/model_ngran_failure_indication.go new file mode 100644 index 00000000..dd2c0172 --- /dev/null +++ b/models/model_ngran_failure_indication.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NgranFailureIndication string + +// List of NgranFailureIndication +const ( + NgranFailureIndication_RESTART_OR_START NgranFailureIndication = "NG_RAN_RESTART_OR_START" + NgranFailureIndication_FAILURE_WITHOUT_RESTART NgranFailureIndication = "NG_RAN_FAILURE_WITHOUT_RESTART" + NgranFailureIndication_NOT_REACHABLE NgranFailureIndication = "NG_RAN_NOT_REACHABLE" + NgranFailureIndication_REQUIRED_RELEASE NgranFailureIndication = "NG_RAN_REQUIRED_RELEASE" +) diff --git a/models/model_nidd_auth_update_info.go b/models/model_nidd_auth_update_info.go new file mode 100644 index 00000000..fb7efbbf --- /dev/null +++ b/models/model_nidd_auth_update_info.go @@ -0,0 +1,23 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents NIDD authorization update information. +type NiddAuthUpdateInfo struct { + AuthorizationData *UdmNiddauAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + NiddCause NiddCause `json:"niddCause,omitempty" yaml:"niddCause" bson:"niddCause,omitempty"` +} diff --git a/models/model_nidd_auth_update_notification.go b/models/model_nidd_auth_update_notification.go new file mode 100644 index 00000000..a9a2da56 --- /dev/null +++ b/models/model_nidd_auth_update_notification.go @@ -0,0 +1,18 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a NIDD authorization update notification. +type NiddAuthUpdateNotification struct { + NiddAuthUpdateInfoList []NiddAuthUpdateInfo `json:"niddAuthUpdateInfoList" yaml:"niddAuthUpdateInfoList" bson:"niddAuthUpdateInfoList,omitempty"` +} diff --git a/models/model_nidd_authorization_info.go b/models/model_nidd_authorization_info.go new file mode 100644 index 00000000..e41c3cd2 --- /dev/null +++ b/models/model_nidd_authorization_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active NIDD Authorizations +type NiddAuthorizationInfo struct { + NiddAuthorizationList []AuthorizationInfo `json:"niddAuthorizationList" yaml:"niddAuthorizationList" bson:"niddAuthorizationList,omitempty"` +} diff --git a/models/model_nidd_cause.go b/models/model_nidd_cause.go new file mode 100644 index 00000000..1e386996 --- /dev/null +++ b/models/model_nidd_cause.go @@ -0,0 +1,21 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NiddCause string + +// List of NiddCause +const ( + NiddCause_SUBSCRIPTION_WITHDRAWAL NiddCause = "SUBSCRIPTION_WITHDRAWAL" + NiddCause_DNN_REMOVED NiddCause = "DNN_REMOVED" +) diff --git a/models/model_nidd_information.go b/models/model_nidd_information.go new file mode 100644 index 00000000..7959d5d5 --- /dev/null +++ b/models/model_nidd_information.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NiddInformation struct { + AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` +} diff --git a/models/model_nni_information.go b/models/model_nni_information.go new file mode 100644 index 00000000..824370db --- /dev/null +++ b/models/model_nni_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniInformation struct { + SessionDirection NniSessionDirection `json:"sessionDirection,omitempty" yaml:"sessionDirection" bson:"sessionDirection,omitempty"` + NNIType NniType `json:"nNIType,omitempty" yaml:"nNIType" bson:"nNIType,omitempty"` + RelationshipMode NniRelationshipMode `json:"relationshipMode,omitempty" yaml:"relationshipMode" bson:"relationshipMode,omitempty"` + NeighbourNodeAddress *ImsAddress `json:"neighbourNodeAddress,omitempty" yaml:"neighbourNodeAddress" bson:"neighbourNodeAddress,omitempty"` +} diff --git a/models/model_nni_relationship_mode.go b/models/model_nni_relationship_mode.go new file mode 100644 index 00000000..22e5e2eb --- /dev/null +++ b/models/model_nni_relationship_mode.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniRelationshipMode string + +// List of NNIRelationshipMode +const ( + NniRelationshipMode_TRUSTED NniRelationshipMode = "TRUSTED" + NniRelationshipMode_NON_TRUSTED NniRelationshipMode = "NON_TRUSTED" +) diff --git a/models/model_nni_session_direction.go b/models/model_nni_session_direction.go new file mode 100644 index 00000000..2ca649d2 --- /dev/null +++ b/models/model_nni_session_direction.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniSessionDirection string + +// List of NNISessionDirection +const ( + NniSessionDirection_INBOUND NniSessionDirection = "INBOUND" + NniSessionDirection_OUTBOUND NniSessionDirection = "OUTBOUND" +) diff --git a/models/model_nni_type.go b/models/model_nni_type.go new file mode 100644 index 00000000..783faa3d --- /dev/null +++ b/models/model_nni_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniType string + +// List of NNIType +const ( + NniType_NON_ROAMING NniType = "NON_ROAMING" + NniType_ROAMING_NO_LOOPBACK NniType = "ROAMING_NO_LOOPBACK" + NniType_ROAMING_LOOPBACK NniType = "ROAMING_LOOPBACK" +) diff --git a/models/model_nnwdaf_data_management_notif.go b/models/model_nnwdaf_data_management_notif.go new file mode 100644 index 00000000..ad99972d --- /dev/null +++ b/models/model_nnwdaf_data_management_notif.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents an Individual Notification. +type NnwdafDataManagementNotif struct { + DataNotification *DataNotification `json:"dataNotification,omitempty" yaml:"dataNotification" bson:"dataNotification,omitempty"` + // List of summary reports of processed notifications. + DataReports []NotifSummaryReport `json:"dataReports,omitempty" yaml:"dataReports" bson:"dataReports,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // It indicates that the termination of the data management subscription is requested by the NWDAF. + TerminationReq string `json:"terminationReq,omitempty" yaml:"terminationReq" bson:"terminationReq,omitempty"` + FetchInstruct *FetchInstruction `json:"fetchInstruct,omitempty" yaml:"fetchInstruct" bson:"fetchInstruct,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NotifTimestamp *time.Time `json:"notifTimestamp" yaml:"notifTimestamp" bson:"notifTimestamp,omitempty"` +} diff --git a/models/model_nnwdaf_data_management_subsc.go b/models/model_nnwdaf_data_management_subsc.go new file mode 100644 index 00000000..e9660bbd --- /dev/null +++ b/models/model_nnwdaf_data_management_subsc.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Data Management Subscription resource. +type NnwdafDataManagementSubsc struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + AdrfSetId string `json:"adrfSetId,omitempty" yaml:"adrfSetId" bson:"adrfSetId,omitempty"` + AnaSub *NnwdafEventsSubscription `json:"anaSub,omitempty" yaml:"anaSub" bson:"anaSub,omitempty"` + // The purposes of data collection. This attribute may only be provided if user consent is reqiured depending on local policy and regulations and the consumer has not checked user consent. + DataCollectPurposes []DataCollectionPurpose `json:"dataCollectPurposes,omitempty" yaml:"dataCollectPurposes" bson:"dataCollectPurposes,omitempty"` + DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` + FormatInstruct *FormattingInstruction `json:"formatInstruct,omitempty" yaml:"formatInstruct" bson:"formatInstruct,omitempty"` + NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificURI string `json:"notificURI" yaml:"notificURI" bson:"notificURI,omitempty"` + ProcInstruct *ProcessingInstruction `json:"procInstruct,omitempty" yaml:"procInstruct" bson:"procInstruct,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetNfId string `json:"targetNfId,omitempty" yaml:"targetNfId" bson:"targetNfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` +} diff --git a/models/model_nnwdaf_events_subscription.go b/models/model_nnwdaf_events_subscription.go new file mode 100644 index 00000000..fbd777f4 --- /dev/null +++ b/models/model_nnwdaf_events_subscription.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Event Subscription resource. +type NnwdafEventsSubscription struct { + // Subscribed events + EventSubscriptions []NwdafEventsSubscriptionEventSubscription `json:"eventSubscriptions" yaml:"eventSubscriptions" bson:"eventSubscriptions,omitempty"` + EvtReq *ReportingInformation `json:"evtReq,omitempty" yaml:"evtReq" bson:"evtReq,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationURI string `json:"notificationURI,omitempty" yaml:"notificationURI" bson:"notificationURI,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` + FailEventReports []FailureEventInfo `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` + PrevSub *PrevSubInfo `json:"prevSub,omitempty" yaml:"prevSub" bson:"prevSub,omitempty"` + ConsNfInfo *ConsumerNfInformation `json:"consNfInfo,omitempty" yaml:"consNfInfo" bson:"consNfInfo,omitempty"` +} diff --git a/models/model_nnwdaf_events_subscription_notification.go b/models/model_nnwdaf_events_subscription_notification.go new file mode 100644 index 00000000..31450c5d --- /dev/null +++ b/models/model_nnwdaf_events_subscription_notification.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Event Subscription Notification resource. +type NnwdafEventsSubscriptionNotification struct { + // Notifications about Individual Events + EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` + // String identifying a subscription to the Nnwdaf_EventsSubscription Service + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // Subscription ID which was allocated by the source NWDAF. This parameter shall be present if the notification is for informing the assignment of a new Subscription Id by the target NWDAF. + OldSubscriptionId string `json:"oldSubscriptionId,omitempty" yaml:"oldSubscriptionId" bson:"oldSubscriptionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` +} diff --git a/models/model_no_profile_match_info.go b/models/model_no_profile_match_info.go new file mode 100644 index 00000000..946f3e6f --- /dev/null +++ b/models/model_no_profile_match_info.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides the reason for not finding NF matching the search criteria +type NoProfileMatchInfo struct { + Reason NoProfileMatchReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` + QueryParamCombinationList []QueryParamCombination `json:"queryParamCombinationList,omitempty" yaml:"queryParamCombinationList" bson:"queryParamCombinationList,omitempty"` +} diff --git a/models/model_no_profile_match_reason.go b/models/model_no_profile_match_reason.go new file mode 100644 index 00000000..f50eb94b --- /dev/null +++ b/models/model_no_profile_match_reason.go @@ -0,0 +1,24 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NoProfileMatchReason string + +// List of NoProfileMatchReason +const ( + NoProfileMatchReason_REQUESTER_PLMN_NOT_ALLOWED NoProfileMatchReason = "REQUESTER_PLMN_NOT_ALLOWED" + NoProfileMatchReason_TARGET_NF_SUSPENDED NoProfileMatchReason = "TARGET_NF_SUSPENDED" + NoProfileMatchReason_TARGET_NF_UNDISCOVERABLE NoProfileMatchReason = "TARGET_NF_UNDISCOVERABLE" + NoProfileMatchReason_QUERY_PARAMS_COMBINATION_NO_MATCH NoProfileMatchReason = "QUERY_PARAMS_COMBINATION_NO_MATCH" + NoProfileMatchReason_UNSPECIFIED NoProfileMatchReason = "UNSPECIFIED" +) diff --git a/models/model_node_functionality.go b/models/model_node_functionality.go deleted file mode 100644 index 1897e2e9..00000000 --- a/models/model_node_functionality.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NodeFunctionality string - -// List of NodeFunctionality -const ( - NodeFunctionality_AMF NodeFunctionality = "AMF" - NodeFunctionality_SMF NodeFunctionality = "SMF" - NodeFunctionality_SMS NodeFunctionality = "SMS" - NodeFunctionality_PGW_C_SMF NodeFunctionality = "PGW_C_SMF" - NodeFunctionality_NEFF NodeFunctionality = "NEFF" - NodeFunctionality_SGW NodeFunctionality = "SGW" - NodeFunctionality_I_SMF NodeFunctionality = "I_SMF" - NodeFunctionality_E_PDG NodeFunctionality = "ePDG" - NodeFunctionality_CEF NodeFunctionality = "CEF" - NodeFunctionality_NEF NodeFunctionality = "NEF" - NodeFunctionality_MN_S_PRODUCER NodeFunctionality = "MnS_Producer" -) diff --git a/models/model_node_type.go b/models/model_node_type.go new file mode 100644 index 00000000..bb389bb0 --- /dev/null +++ b/models/model_node_type.go @@ -0,0 +1,27 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NodeType string + +// List of NodeType +const ( + NodeType_AUSF NodeType = "AUSF" + NodeType_VLR NodeType = "VLR" + NodeType_SGSN NodeType = "SGSN" + NodeType_S_CSCF NodeType = "S_CSCF" + NodeType_BSF NodeType = "BSF" + NodeType_GAN_AAA_SERVER NodeType = "GAN_AAA_SERVER" + NodeType_WLAN_AAA_SERVER NodeType = "WLAN_AAA_SERVER" + NodeType_MME NodeType = "MME" +) diff --git a/models/model_non_dynamic5_qi.go b/models/model_non_dynamic5_qi.go index 2a9e5f7f..b47aafd6 100644 --- a/models/model_non_dynamic5_qi.go +++ b/models/model_non_dynamic5_qi.go @@ -1,16 +1,29 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// It indicates the QoS Characteristics for a standardized or pre-configured 5QI for downlink and uplink. type NonDynamic5Qi struct { - PriorityLevel int32 `json:"priorityLevel,omitempty"` - AverWindow int32 `json:"averWindow,omitempty"` - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` } diff --git a/models/model_non_ue_n2_info_notify_request.go b/models/model_non_ue_n2_info_notify_request.go new file mode 100644 index 00000000..c2308d23 --- /dev/null +++ b/models/model_non_ue_n2_info_notify_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NonUeN2InfoNotifyRequest struct { + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/model_non_ue_n2_info_subscription_create_data.go b/models/model_non_ue_n2_info_subscription_create_data.go index 732d2fb1..6f3ec3ca 100644 --- a/models/model_non_ue_n2_info_subscription_create_data.go +++ b/models/model_non_ue_n2_info_subscription_create_data.go @@ -1,19 +1,26 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a create subscription request for non-UE specific N2 information notification type NonUeN2InfoSubscriptionCreateData struct { - GlobalRanNodeList *[]GlobalRanNodeId `json:"globalRanNodeList,omitempty"` - AnTypeList []AccessType `json:"anTypeList,omitempty"` - N2InformationClass N2InformationClass `json:"n2InformationClass"` - N2NotifyCallbackUri string `json:"n2NotifyCallbackUri"` - NfId string `json:"nfId,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` + AnTypeList []AccessType `json:"anTypeList,omitempty" yaml:"anTypeList" bson:"anTypeList,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyCallbackUri string `json:"n2NotifyCallbackUri" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_non_ue_n2_info_subscription_created_data.go b/models/model_non_ue_n2_info_subscription_created_data.go index 29b87824..ad310273 100644 --- a/models/model_non_ue_n2_info_subscription_created_data.go +++ b/models/model_non_ue_n2_info_subscription_created_data.go @@ -1,15 +1,21 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data for the created subscription for non-UE specific N2 information notification type NonUeN2InfoSubscriptionCreatedData struct { - N2NotifySubscriptionId string `json:"n2NotifySubscriptionId"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` } diff --git a/models/model_non_ue_n2_message_transfer_request.go b/models/model_non_ue_n2_message_transfer_request.go index a25e0685..5f27ed6e 100644 --- a/models/model_non_ue_n2_message_transfer_request.go +++ b/models/model_non_ue_n2_message_transfer_request.go @@ -1,15 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NonUeN2MessageTransferRequest struct { - JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2Information.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId"` + JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` } diff --git a/models/model_notif_condition.go b/models/model_notif_condition.go index d89ae0be..8855e62b 100644 --- a/models/model_notif_condition.go +++ b/models/model_notif_condition.go @@ -1,15 +1,19 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Condition (list of attributes in the NF Profile) to determine whether a notification must be sent by NRF type NotifCondition struct { - MonitoredAttributes []string `json:"monitoredAttributes,omitempty" yaml:"monitoredAttributes" bson:"monitoredAttributes" mapstructure:"MonitoredAttributes"` - UnmonitoredAttributes []string `json:"unmonitoredAttributes,omitempty" yaml:"unmonitoredAttributes" bson:"unmonitoredAttributes" mapstructure:"UnmonitoredAttributes"` + MonitoredAttributes []string `json:"monitoredAttributes,omitempty" yaml:"monitoredAttributes" bson:"monitoredAttributes,omitempty"` + UnmonitoredAttributes []string `json:"unmonitoredAttributes,omitempty" yaml:"unmonitoredAttributes" bson:"unmonitoredAttributes,omitempty"` } diff --git a/models/model_notif_summary_report.go b/models/model_notif_summary_report.go new file mode 100644 index 00000000..26ff290d --- /dev/null +++ b/models/model_notif_summary_report.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents summarized notifications based on processing instructions. +type NotifSummaryReport struct { + EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // indicating a time in seconds. + ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` + // List of event parameter reports. + EventReports []EventParamReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` +} diff --git a/models/model_notif_type.go b/models/model_notif_type.go new file mode 100644 index 00000000..6824339b --- /dev/null +++ b/models/model_notif_type.go @@ -0,0 +1,22 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotifType string + +// List of NotifType +const ( + NotifType_REAUTH NotifType = "REAUTH" + NotifType_UPDATEAUTH NotifType = "UPDATEAUTH" + NotifType_REVOKE NotifType = "REVOKE" +) diff --git a/models/model_notification.go b/models/model_notification.go index f91ac401..c361c381 100644 --- a/models/model_notification.go +++ b/models/model_notification.go @@ -1,18 +1,23 @@ /* * Npcf_BDTPolicyControl Service API * - * PCF BDT Policy Control Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.1.0.alpha-1 + * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.1.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Describes a BDT warning notification. +// Describes a BDT notification. type Notification struct { // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" bson:"bdtRefId"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" bson:"nwAreaInfo"` - TimeWindow *TimeWindow `json:"timeWindow,omitempty" bson:"timeWindow"` + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. + CandPolicies []TransferPolicy `json:"candPolicies,omitempty" yaml:"candPolicies" bson:"candPolicies,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` } diff --git a/models/model_notification_cause.go b/models/model_notification_cause.go index 34e3e387..243fe5a1 100644 --- a/models/model_notification_cause.go +++ b/models/model_notification_cause.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_notification_control.go b/models/model_notification_control.go index 726fe1c7..e95f9578 100644 --- a/models/model_notification_control.go +++ b/models/model_notification_control.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_notification_control_indication.go b/models/model_notification_control_indication.go new file mode 100644 index 00000000..bf8d7ff9 --- /dev/null +++ b/models/model_notification_control_indication.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationControlIndication string + +// List of NotificationControlIndication +const ( + NotificationControlIndication_DDN_FAILURE NotificationControlIndication = "DDN_FAILURE" + NotificationControlIndication_DDD_STATUS NotificationControlIndication = "DDD_STATUS" +) diff --git a/models/model_notification_data.go b/models/model_notification_data.go index 5d42c454..2c4c04dd 100644 --- a/models/model_notification_data.go +++ b/models/model_notification_data.go @@ -1,17 +1,22 @@ /* * NRF NFManagement Service * - * NRF NFManagement Service + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data sent in notifications from NRF to subscribed NF Instances type NotificationData struct { - Event NotificationEventType `json:"event" yaml:"event" bson:"event" mapstructure:"Event"` - NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri" mapstructure:"NfInstanceUri"` - NfProfile *NfProfileNotificationData `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile" mapstructure:"NfProfile"` - ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges" mapstructure:"ProfileChanges"` + Event NotificationEventType `json:"event" yaml:"event" bson:"event,omitempty"` + NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri,omitempty"` + NfProfile *NfProfileNotificationData `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile,omitempty"` + ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges,omitempty"` + ConditionEvent ConditionEventType `json:"conditionEvent,omitempty" yaml:"conditionEvent" bson:"conditionEvent,omitempty"` } diff --git a/models/model_notification_description.go b/models/model_notification_description.go new file mode 100644 index 00000000..d3adaee3 --- /dev/null +++ b/models/model_notification_description.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Description of a record notification +type NotificationDescription struct { + // String providing an URI formatted according to RFC 3986. + RecordRef string `json:"recordRef" yaml:"recordRef" bson:"recordRef,omitempty"` + OperationType RecordOperation `json:"operationType" yaml:"operationType" bson:"operationType,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` +} diff --git a/models/model_notification_event_type.go b/models/model_notification_event_type.go index 7da76244..5cff2496 100644 --- a/models/model_notification_event_type.go +++ b/models/model_notification_event_type.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_notification_flag.go b/models/model_notification_flag.go new file mode 100644 index 00000000..e5106b9a --- /dev/null +++ b/models/model_notification_flag.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationFlag string + +// List of NotificationFlag +const ( + NotificationFlag_ACTIVATE NotificationFlag = "ACTIVATE" + NotificationFlag_DEACTIVATE NotificationFlag = "DEACTIVATE" + NotificationFlag_RETRIEVAL NotificationFlag = "RETRIEVAL" +) diff --git a/models/model_notification_item.go b/models/model_notification_item.go new file mode 100644 index 00000000..32ea02f4 --- /dev/null +++ b/models/model_notification_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a data change notification when the change occurs in a fragment (subset of resource data) of a given resource. +type NotificationItem struct { + // String providing an URI formatted according to RFC 3986. + ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` + NotifItems []UpdatedItem `json:"notifItems" yaml:"notifItems" bson:"notifItems,omitempty"` +} diff --git a/models/model_notification_method.go b/models/model_notification_method.go index 4fca4dd9..0b5218c1 100644 --- a/models/model_notification_method.go +++ b/models/model_notification_method.go @@ -1,9 +1,12 @@ /* * Nsmf_EventExposure * - * Session Management Event Exposure Service API + * Session Management Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.508 V16.8.0; 5G System; Session Management Event Exposure Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_notification_push.go b/models/model_notification_push.go new file mode 100644 index 00000000..132b4d5d --- /dev/null +++ b/models/model_notification_push.go @@ -0,0 +1,21 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the information to be used by the NF service consumer to retrieve the PFDs and/or remove the PFDs of the applicable application identifier(s). +type NotificationPush struct { + AppIds []string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` + // indicating a time in seconds. + AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` + PfdOp PfdOperation `json:"pfdOp,omitempty" yaml:"pfdOp" bson:"pfdOp,omitempty"` +} diff --git a/models/model_notification_subscription.go b/models/model_notification_subscription.go new file mode 100644 index 00000000..4ee91528 --- /dev/null +++ b/models/model_notification_subscription.go @@ -0,0 +1,33 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Definition of a notification subscription +type NotificationSubscription struct { + ClientId *ClientId `json:"clientId" yaml:"clientId" bson:"clientId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + ExpiryCallbackReference string `json:"expiryCallbackReference,omitempty" yaml:"expiryCallbackReference" bson:"expiryCallbackReference,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + ExpiryNotification int32 `json:"expiryNotification,omitempty" yaml:"expiryNotification" bson:"expiryNotification,omitempty"` + SubFilter *SubscriptionFilter `json:"subFilter,omitempty" yaml:"subFilter" bson:"subFilter,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_notification_type.go b/models/model_notification_type.go index a0324b50..ec8d59af 100644 --- a/models/model_notification_type.go +++ b/models/model_notification_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * NRF NFManagement Service * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,12 @@ type NotificationType string // List of NotificationType const ( - NotificationType_N1_MESSAGES NotificationType = "N1_MESSAGES" - NotificationType_N2_INFORMATION NotificationType = "N2_INFORMATION" - NotificationType_LOCATION_NOTIFICATION NotificationType = "LOCATION_NOTIFICATION" - NotificationType_DATA_REMOVAL_NOTIFICATION NotificationType = "DATA_REMOVAL_NOTIFICATION" - NotificationType_DATA_CHANGE_NOTIFICATION NotificationType = "DATA_CHANGE_NOTIFICATION" - NotificationType_REAUTHORIZATION NotificationType = "REAUTHORIZATION" - NotificationType_ABORT_CHARGING NotificationType = "ABORT_CHARGING" + NotificationType_N1_MESSAGES NotificationType = "N1_MESSAGES" + NotificationType_N2_INFORMATION NotificationType = "N2_INFORMATION" + NotificationType_LOCATION_NOTIFICATION NotificationType = "LOCATION_NOTIFICATION" + NotificationType_DATA_REMOVAL_NOTIFICATION NotificationType = "DATA_REMOVAL_NOTIFICATION" + NotificationType_DATA_CHANGE_NOTIFICATION NotificationType = "DATA_CHANGE_NOTIFICATION" + NotificationType_LOCATION_UPDATE_NOTIFICATION NotificationType = "LOCATION_UPDATE_NOTIFICATION" + NotificationType_NSSAA_REAUTH_NOTIFICATION NotificationType = "NSSAA_REAUTH_NOTIFICATION" + NotificationType_NSSAA_REVOC_NOTIFICATION NotificationType = "NSSAA_REVOC_NOTIFICATION" ) diff --git a/models/model_notified_pos_info.go b/models/model_notified_pos_info.go index 63421f15..3890aeb8 100644 --- a/models/model_notified_pos_info.go +++ b/models/model_notified_pos_info.go @@ -1,28 +1,61 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Data within EventNotify notification type NotifiedPosInfo struct { - LocationEvent LocationEvent `json:"locationEvent" yaml:"locationEvent" bson:"locationEvent"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei"` - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate"` - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi"` - ServingNode string `json:"servingNode,omitempty" yaml:"servingNode" bson:"servingNode"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress"` - BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure"` - Altitude float32 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude"` + LocationEvent AmfLocationLocationEvent `json:"locationEvent" yaml:"locationEvent" bson:"locationEvent,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNode string `json:"servingNode,omitempty" yaml:"servingNode" bson:"servingNode,omitempty"` + // Fully Qualified Domain Name + TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` + // Fully Qualified Domain Name + TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` + UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + MscServerId string `json:"mscServerId,omitempty" yaml:"mscServerId" bson:"mscServerId,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` } diff --git a/models/model_notify_item.go b/models/model_notify_item.go index 29ec49e8..a621c938 100644 --- a/models/model_notify_item.go +++ b/models/model_notify_item.go @@ -1,15 +1,20 @@ /* - * Nudm_SDM + * Nhss_imsSDM * - * Nudm Subscriber Data Management Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates changes on a resource. type NotifyItem struct { - ResourceId string `json:"resourceId,omitempty" yaml:"resourceId" bson:"resourceId" mapstructure:"ResourceId"` - Changes []ChangeItem `json:"changes,omitempty" yaml:"changes" bson:"changes" mapstructure:"Changes"` + // String providing an URI formatted according to RFC 3986. + ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` + Changes []ChangeItem `json:"changes" yaml:"changes" bson:"changes,omitempty"` } diff --git a/models/model_npn_access_info.go b/models/model_npn_access_info.go new file mode 100644 index 00000000..c1ea0fa6 --- /dev/null +++ b/models/model_npn_access_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NPN Access Information. +type NpnAccessInfo struct { + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` +} diff --git a/models/model_nr_location.go b/models/model_nr_location.go index 653dc921..024cc071 100644 --- a/models/model_nr_location.go +++ b/models/model_nr_location.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * Nhss_imsSDM * - * AMF Location Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,12 +16,18 @@ import ( "time" ) +// Contains the NR user location. type NrLocation struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai" mapstructure:"Tai"` - Ncgi *Ncgi `json:"ncgi" yaml:"ncgi" bson:"ncgi" mapstructure:"Ncgi"` - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation" mapstructure:"AgeOfLocationInformation"` - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp" mapstructure:"UeLocationTimestamp"` - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation" mapstructure:"GeographicalInformation"` - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation" mapstructure:"GeodeticInformation"` - GlobalGnbId *GlobalRanNodeId `json:"globalGnbId,omitempty" yaml:"globalGnbId" bson:"globalGnbId" mapstructure:"GlobalGnbId"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi" yaml:"ncgi" bson:"ncgi,omitempty"` + IgnoreNcgi bool `json:"ignoreNcgi,omitempty" yaml:"ignoreNcgi" bson:"ignoreNcgi,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` + GlobalGnbId *GlobalRanNodeId `json:"globalGnbId,omitempty" yaml:"globalGnbId" bson:"globalGnbId,omitempty"` } diff --git a/models/model_nr_v2x_auth.go b/models/model_nr_v2x_auth.go new file mode 100644 index 00000000..10d82a4e --- /dev/null +++ b/models/model_nr_v2x_auth.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains NR V2X services authorized information. +type NrV2xAuth struct { + VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` + PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` +} diff --git a/models/model_nrf_access_token_access_token_claims.go b/models/model_nrf_access_token_access_token_claims.go new file mode 100644 index 00000000..663af312 --- /dev/null +++ b/models/model_nrf_access_token_access_token_claims.go @@ -0,0 +1,36 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The claims data structure for the access token +type NrfAccessTokenAccessTokenClaims struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + Iss string `json:"iss" yaml:"iss" bson:"iss,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + Sub string `json:"sub" yaml:"sub" bson:"sub,omitempty"` + Aud interface{} `json:"aud" yaml:"aud" bson:"aud,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + Exp int32 `json:"exp" yaml:"exp" bson:"exp,omitempty"` + ConsumerPlmnId *PlmnId `json:"consumerPlmnId,omitempty" yaml:"consumerPlmnId" bson:"consumerPlmnId,omitempty"` + ConsumerSnpnId *PlmnIdNid `json:"consumerSnpnId,omitempty" yaml:"consumerSnpnId" bson:"consumerSnpnId,omitempty"` + ProducerPlmnId *PlmnId `json:"producerPlmnId,omitempty" yaml:"producerPlmnId" bson:"producerPlmnId,omitempty"` + ProducerSnpnId *PlmnIdNid `json:"producerSnpnId,omitempty" yaml:"producerSnpnId" bson:"producerSnpnId,omitempty"` + ProducerSnssaiList []Snssai `json:"producerSnssaiList,omitempty" yaml:"producerSnssaiList" bson:"producerSnssaiList,omitempty"` + ProducerNsiList []string `json:"producerNsiList,omitempty" yaml:"producerNsiList" bson:"producerNsiList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerNfSetId string `json:"producerNfSetId,omitempty" yaml:"producerNfSetId" bson:"producerNfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerNfServiceSetId string `json:"producerNfServiceSetId,omitempty" yaml:"producerNfServiceSetId" bson:"producerNfServiceSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` +} diff --git a/models/model_nrf_access_token_access_token_req.go b/models/model_nrf_access_token_access_token_req.go new file mode 100644 index 00000000..b5af99af --- /dev/null +++ b/models/model_nrf_access_token_access_token_req.go @@ -0,0 +1,43 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the access token request +type NrfAccessTokenAccessTokenReq struct { + GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + TargetNfType NrfNfManagementNfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` + RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` + RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` + RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` + // Fully Qualified Domain Name + RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` + RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` + TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` + TargetSnpn *PlmnIdNid `json:"targetSnpn,omitempty" yaml:"targetSnpn" bson:"targetSnpn,omitempty"` + TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` + TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` + // String providing an URI formatted according to RFC 3986. + HnrfAccessTokenUri string `json:"hnrfAccessTokenUri,omitempty" yaml:"hnrfAccessTokenUri" bson:"hnrfAccessTokenUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` +} diff --git a/models/model_nrf_access_token_access_token_rsp.go b/models/model_nrf_access_token_access_token_rsp.go new file mode 100644 index 00000000..6adba2fe --- /dev/null +++ b/models/model_nrf_access_token_access_token_rsp.go @@ -0,0 +1,22 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the access token response +type NrfAccessTokenAccessTokenRsp struct { + // JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) + AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token,omitempty"` + TokenType string `json:"token_type" yaml:"token_type" bson:"token_type,omitempty"` + ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in,omitempty"` + Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope,omitempty"` +} diff --git a/models/model_nrf_info.go b/models/model_nrf_info.go index 1eba71a9..78d2ddab 100644 --- a/models/model_nrf_info.go +++ b/models/model_nrf_info.go @@ -1,22 +1,96 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an NRF NF Instance, used in hierarchical NRF deployments type NrfInfo struct { - ServedUdrInfo map[string]UdrInfo `json:"servedUdrInfo,omitempty" yaml:"servedUdrInfo" bson:"servedUdrInfo" mapstructure:"ServedUdrInfo"` - ServedUdmInfo map[string]UdmInfo `json:"servedUdmInfo,omitempty" yaml:"servedUdmInfo" bson:"servedUdmInfo" mapstructure:"ServedUdmInfo"` - ServedAusfInfo map[string]AusfInfo `json:"servedAusfInfo,omitempty" yaml:"servedAusfInfo" bson:"servedAusfInfo" mapstructure:"ServedAusfInfo"` - ServedAmfInfo map[string]AmfInfo `json:"servedAmfInfo,omitempty" yaml:"servedAmfInfo" bson:"servedAmfInfo" mapstructure:"ServedAmfInfo"` - ServedSmfInfo map[string]SmfInfo `json:"servedSmfInfo,omitempty" yaml:"servedSmfInfo" bson:"servedSmfInfo" mapstructure:"ServedSmfInfo"` - ServedUpfInfo map[string]UpfInfo `json:"servedUpfInfo,omitempty" yaml:"servedUpfInfo" bson:"servedUpfInfo" mapstructure:"ServedUpfInfo"` - ServedPcfInfo map[string]PcfInfo `json:"servedPcfInfo,omitempty" yaml:"servedPcfInfo" bson:"servedPcfInfo" mapstructure:"ServedPcfInfo"` - ServedBsfInfo map[string]BsfInfo `json:"servedBsfInfo,omitempty" yaml:"servedBsfInfo" bson:"servedBsfInfo" mapstructure:"ServedBsfInfo"` - ServedChfInfo map[string]ChfInfo `json:"servedChfInfo,omitempty" yaml:"servedChfInfo" bson:"servedChfInfo" mapstructure:"ServedChfInfo"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdrInfo map[string]interface{} `json:"servedUdrInfo,omitempty" yaml:"servedUdrInfo" bson:"servedUdrInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdrInfoList map[string]map[string]interface{} `json:"servedUdrInfoList,omitempty" yaml:"servedUdrInfoList" bson:"servedUdrInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdmInfo map[string]interface{} `json:"servedUdmInfo,omitempty" yaml:"servedUdmInfo" bson:"servedUdmInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdmInfoList map[string]map[string]interface{} `json:"servedUdmInfoList,omitempty" yaml:"servedUdmInfoList" bson:"servedUdmInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAusfInfo map[string]interface{} `json:"servedAusfInfo,omitempty" yaml:"servedAusfInfo" bson:"servedAusfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAusfInfoList map[string]map[string]interface{} `json:"servedAusfInfoList,omitempty" yaml:"servedAusfInfoList" bson:"servedAusfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAmfInfo map[string]interface{} `json:"servedAmfInfo,omitempty" yaml:"servedAmfInfo" bson:"servedAmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAmfInfoList map[string]map[string]interface{} `json:"servedAmfInfoList,omitempty" yaml:"servedAmfInfoList" bson:"servedAmfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSmfInfo map[string]interface{} `json:"servedSmfInfo,omitempty" yaml:"servedSmfInfo" bson:"servedSmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSmfInfoList map[string]map[string]interface{} `json:"servedSmfInfoList,omitempty" yaml:"servedSmfInfoList" bson:"servedSmfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUpfInfo map[string]interface{} `json:"servedUpfInfo,omitempty" yaml:"servedUpfInfo" bson:"servedUpfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUpfInfoList map[string]map[string]interface{} `json:"servedUpfInfoList,omitempty" yaml:"servedUpfInfoList" bson:"servedUpfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcfInfo map[string]interface{} `json:"servedPcfInfo,omitempty" yaml:"servedPcfInfo" bson:"servedPcfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcfInfoList map[string]map[string]interface{} `json:"servedPcfInfoList,omitempty" yaml:"servedPcfInfoList" bson:"servedPcfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedBsfInfo map[string]interface{} `json:"servedBsfInfo,omitempty" yaml:"servedBsfInfo" bson:"servedBsfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedBsfInfoList map[string]map[string]interface{} `json:"servedBsfInfoList,omitempty" yaml:"servedBsfInfoList" bson:"servedBsfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedChfInfo map[string]interface{} `json:"servedChfInfo,omitempty" yaml:"servedChfInfo" bson:"servedChfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedChfInfoList map[string]map[string]interface{} `json:"servedChfInfoList,omitempty" yaml:"servedChfInfoList" bson:"servedChfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNefInfo map[string]interface{} `json:"servedNefInfo,omitempty" yaml:"servedNefInfo" bson:"servedNefInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNwdafInfo map[string]interface{} `json:"servedNwdafInfo,omitempty" yaml:"servedNwdafInfo" bson:"servedNwdafInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedNwdafInfoList map[string]map[string]NwdafInfo `json:"servedNwdafInfoList,omitempty" yaml:"servedNwdafInfoList" bson:"servedNwdafInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcscfInfoList map[string]map[string]interface{} `json:"servedPcscfInfoList,omitempty" yaml:"servedPcscfInfoList" bson:"servedPcscfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedGmlcInfo map[string]interface{} `json:"servedGmlcInfo,omitempty" yaml:"servedGmlcInfo" bson:"servedGmlcInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedLmfInfo map[string]interface{} `json:"servedLmfInfo,omitempty" yaml:"servedLmfInfo" bson:"servedLmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNfInfo map[string]NfInfo `json:"servedNfInfo,omitempty" yaml:"servedNfInfo" bson:"servedNfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedHssInfoList map[string]map[string]interface{} `json:"servedHssInfoList,omitempty" yaml:"servedHssInfoList" bson:"servedHssInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdsfInfo map[string]interface{} `json:"servedUdsfInfo,omitempty" yaml:"servedUdsfInfo" bson:"servedUdsfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdsfInfoList map[string]map[string]interface{} `json:"servedUdsfInfoList,omitempty" yaml:"servedUdsfInfoList" bson:"servedUdsfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedScpInfoList map[string]interface{} `json:"servedScpInfoList,omitempty" yaml:"servedScpInfoList" bson:"servedScpInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSeppInfoList map[string]interface{} `json:"servedSeppInfoList,omitempty" yaml:"servedSeppInfoList" bson:"servedSeppInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedAanfInfoList map[string]map[string]interface{} `json:"servedAanfInfoList,omitempty" yaml:"servedAanfInfoList" bson:"servedAanfInfoList,omitempty"` + Served5gDdnmfInfo map[string]Model5GDdnmfInfo `json:"served5gDdnmfInfo,omitempty" yaml:"served5gDdnmfInfo" bson:"served5gDdnmfInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedMfafInfoList map[string]MfafInfo `json:"servedMfafInfoList,omitempty" yaml:"servedMfafInfoList" bson:"servedMfafInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedEasdfInfoList map[string]map[string]EasdfInfo `json:"servedEasdfInfoList,omitempty" yaml:"servedEasdfInfoList" bson:"servedEasdfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedDccfInfoList map[string]DccfInfo `json:"servedDccfInfoList,omitempty" yaml:"servedDccfInfoList" bson:"servedDccfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedMbSmfInfoList map[string]map[string]interface{} `json:"servedMbSmfInfoList,omitempty" yaml:"servedMbSmfInfoList" bson:"servedMbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedTsctsfInfoList map[string]map[string]TsctsfInfo `json:"servedTsctsfInfoList,omitempty" yaml:"servedTsctsfInfoList" bson:"servedTsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedMbUpfInfoList map[string]map[string]MbUpfInfo `json:"servedMbUpfInfoList,omitempty" yaml:"servedMbUpfInfoList" bson:"servedMbUpfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedTrustAfInfo map[string]TrustAfInfo `json:"servedTrustAfInfo,omitempty" yaml:"servedTrustAfInfo" bson:"servedTrustAfInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedNssaafInfo map[string]NssaafInfo `json:"servedNssaafInfo,omitempty" yaml:"servedNssaafInfo" bson:"servedNssaafInfo,omitempty"` } diff --git a/models/model_nrf_nf_discovery_nf_profile.go b/models/model_nrf_nf_discovery_nf_profile.go new file mode 100644 index 00000000..354bdfff --- /dev/null +++ b/models/model_nrf_nf_discovery_nf_profile.go @@ -0,0 +1,126 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of an NF Instance discovered by the NRF +type NrfNfDiscoveryNfProfile struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo + AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo + BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo + NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NrfNfDiscoveryNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService + NfServiceList map[string]NrfNfDiscoveryNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + // A map (list of key-value pairs) where NfSetId serves as key of DateTime + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` + SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo + AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` + MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` + // A map(list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo + EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` + DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo + NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo + MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo + TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo + MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` + TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` + NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` + HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` + IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` + MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` +} diff --git a/models/model_nrf_nf_discovery_nf_service.go b/models/model_nrf_nf_discovery_nf_service.go new file mode 100644 index 00000000..aff80b0a --- /dev/null +++ b/models/model_nrf_nf_discovery_nf_service.go @@ -0,0 +1,54 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance discovered by the NRF +type NrfNfDiscoveryNfService struct { + ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` + Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` + NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` + ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + // A map (list of key-value pairs) where NF Type serves as key + AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` +} diff --git a/models/model_nrf_nf_management_amf_info.go b/models/model_nrf_nf_management_amf_info.go new file mode 100644 index 00000000..d0b986f2 --- /dev/null +++ b/models/model_nrf_nf_management_amf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an AMF NF Instance +type NrfNfManagementAmfInfo struct { + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + BackupInfoAmfFailure []Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure,omitempty"` + BackupInfoAmfRemoval []Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval,omitempty"` + N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo,omitempty"` + AmfOnboardingCapability bool `json:"amfOnboardingCapability,omitempty" yaml:"amfOnboardingCapability" bson:"amfOnboardingCapability,omitempty"` + HighLatencyCom bool `json:"highLatencyCom,omitempty" yaml:"highLatencyCom" bson:"highLatencyCom,omitempty"` +} diff --git a/models/model_nrf_nf_management_bsf_info.go b/models/model_nrf_nf_management_bsf_info.go new file mode 100644 index 00000000..70fc6c81 --- /dev/null +++ b/models/model_nrf_nf_management_bsf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a BSF NF Instance +type NrfNfManagementBsfInfo struct { + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList,omitempty"` + Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + // Fully Qualified Domain Name + RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` + // Fully Qualified Domain Name + RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` +} diff --git a/models/model_nrf_nf_management_ipv4_address_range.go b/models/model_nrf_nf_management_ipv4_address_range.go new file mode 100644 index 00000000..1e1910e5 --- /dev/null +++ b/models/model_nrf_nf_management_ipv4_address_range.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of IPv4 addresses +type NrfNfManagementIpv4AddressRange struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/model_nrf_nf_management_ipv6_prefix_range.go b/models/model_nrf_nf_management_ipv6_prefix_range.go new file mode 100644 index 00000000..fcd0bceb --- /dev/null +++ b/models/model_nrf_nf_management_ipv6_prefix_range.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of IPv6 prefixes +type NrfNfManagementIpv6PrefixRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/model_nrf_nf_management_mbs_session.go b/models/model_nrf_nf_management_mbs_session.go new file mode 100644 index 00000000..fe072ff5 --- /dev/null +++ b/models/model_nrf_nf_management_mbs_session.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Session currently served by an MB-SMF +type NrfNfManagementMbsSession struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // A map (list of key-value pairs) where the key identifies an areaSessionId + MbsAreaSessions map[string]MbsServiceAreaInfo `json:"mbsAreaSessions,omitempty" yaml:"mbsAreaSessions" bson:"mbsAreaSessions,omitempty"` +} diff --git a/models/model_nrf_nf_management_nf_profile.go b/models/model_nrf_nf_management_nf_profile.go new file mode 100644 index 00000000..4ef26e38 --- /dev/null +++ b/models/model_nrf_nf_management_nf_profile.go @@ -0,0 +1,136 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of an NF Instance registered in the NRF +type NrfNfManagementNfProfile struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` + HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo + AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo + BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo + NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NrfNfManagementNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService + NfServiceList map[string]NrfNfManagementNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` + NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + // A map (list of key-value pairs) where NfSetId serves as key of DateTime + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` + SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo + AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` + Var5gDdnmfInfo *Model5GDdnmfInfo `json:"5gDdnmfInfo,omitempty" yaml:"5gDdnmfInfo" bson:"5gDdnmfInfo,omitempty"` + MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo + EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` + DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo + NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo + MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo + TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo + MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` + TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` + NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` + HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` + IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` + MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` +} diff --git a/models/model_nrf_nf_management_nf_service.go b/models/model_nrf_nf_management_nf_service.go new file mode 100644 index 00000000..d0bf0f81 --- /dev/null +++ b/models/model_nrf_nf_management_nf_service.go @@ -0,0 +1,60 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance +type NrfNfManagementNfService struct { + ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` + Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` + NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` + ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + // A map (list of key-value pairs) where NF Type serves as key + AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // A map (list of key-value pairs) where IANA-assigned SMI Network Management Private Enterprise Codes serves as key + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + PerPlmnOauth2ReqList *PlmnOauth2 `json:"perPlmnOauth2ReqList,omitempty" yaml:"perPlmnOauth2ReqList" bson:"perPlmnOauth2ReqList,omitempty"` +} diff --git a/models/model_nrf_nf_management_nf_status.go b/models/model_nrf_nf_management_nf_status.go new file mode 100644 index 00000000..88adeb6c --- /dev/null +++ b/models/model_nrf_nf_management_nf_status.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNfStatus string + +// List of NrfNFManagementNfStatus +const ( + NrfNfManagementNfStatus_REGISTERED NrfNfManagementNfStatus = "REGISTERED" + NrfNfManagementNfStatus_SUSPENDED NrfNfManagementNfStatus = "SUSPENDED" + NrfNfManagementNfStatus_UNDISCOVERABLE NrfNfManagementNfStatus = "UNDISCOVERABLE" +) diff --git a/models/model_nrf_nf_management_nf_type.go b/models/model_nrf_nf_management_nf_type.go new file mode 100644 index 00000000..7d24317d --- /dev/null +++ b/models/model_nrf_nf_management_nf_type.go @@ -0,0 +1,75 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNfType string + +// List of NrfNFManagementNFType +const ( + NrfNfManagementNfType_NRF NrfNfManagementNfType = "NRF" + NrfNfManagementNfType_UDM NrfNfManagementNfType = "UDM" + NrfNfManagementNfType_AMF NrfNfManagementNfType = "AMF" + NrfNfManagementNfType_SMF NrfNfManagementNfType = "SMF" + NrfNfManagementNfType_AUSF NrfNfManagementNfType = "AUSF" + NrfNfManagementNfType_NEF NrfNfManagementNfType = "NEF" + NrfNfManagementNfType_PCF NrfNfManagementNfType = "PCF" + NrfNfManagementNfType_SMSF NrfNfManagementNfType = "SMSF" + NrfNfManagementNfType_NSSF NrfNfManagementNfType = "NSSF" + NrfNfManagementNfType_UDR NrfNfManagementNfType = "UDR" + NrfNfManagementNfType_LMF NrfNfManagementNfType = "LMF" + NrfNfManagementNfType_GMLC NrfNfManagementNfType = "GMLC" + NrfNfManagementNfType__5_G_EIR NrfNfManagementNfType = "5G_EIR" + NrfNfManagementNfType_SEPP NrfNfManagementNfType = "SEPP" + NrfNfManagementNfType_UPF NrfNfManagementNfType = "UPF" + NrfNfManagementNfType_N3_IWF NrfNfManagementNfType = "N3IWF" + NrfNfManagementNfType_AF NrfNfManagementNfType = "AF" + NrfNfManagementNfType_UDSF NrfNfManagementNfType = "UDSF" + NrfNfManagementNfType_BSF NrfNfManagementNfType = "BSF" + NrfNfManagementNfType_CHF NrfNfManagementNfType = "CHF" + NrfNfManagementNfType_NWDAF NrfNfManagementNfType = "NWDAF" + NrfNfManagementNfType_PCSCF NrfNfManagementNfType = "PCSCF" + NrfNfManagementNfType_CBCF NrfNfManagementNfType = "CBCF" + NrfNfManagementNfType_HSS NrfNfManagementNfType = "HSS" + NrfNfManagementNfType_UCMF NrfNfManagementNfType = "UCMF" + NrfNfManagementNfType_SOR_AF NrfNfManagementNfType = "SOR_AF" + NrfNfManagementNfType_SPAF NrfNfManagementNfType = "SPAF" + NrfNfManagementNfType_MME NrfNfManagementNfType = "MME" + NrfNfManagementNfType_SCSAS NrfNfManagementNfType = "SCSAS" + NrfNfManagementNfType_SCEF NrfNfManagementNfType = "SCEF" + NrfNfManagementNfType_SCP NrfNfManagementNfType = "SCP" + NrfNfManagementNfType_NSSAAF NrfNfManagementNfType = "NSSAAF" + NrfNfManagementNfType_ICSCF NrfNfManagementNfType = "ICSCF" + NrfNfManagementNfType_SCSCF NrfNfManagementNfType = "SCSCF" + NrfNfManagementNfType_DRA NrfNfManagementNfType = "DRA" + NrfNfManagementNfType_IMS_AS NrfNfManagementNfType = "IMS_AS" + NrfNfManagementNfType_AANF NrfNfManagementNfType = "AANF" + NrfNfManagementNfType__5_G_DDNMF NrfNfManagementNfType = "5G_DDNMF" + NrfNfManagementNfType_NSACF NrfNfManagementNfType = "NSACF" + NrfNfManagementNfType_MFAF NrfNfManagementNfType = "MFAF" + NrfNfManagementNfType_EASDF NrfNfManagementNfType = "EASDF" + NrfNfManagementNfType_DCCF NrfNfManagementNfType = "DCCF" + NrfNfManagementNfType_MB_SMF NrfNfManagementNfType = "MB_SMF" + NrfNfManagementNfType_TSCTSF NrfNfManagementNfType = "TSCTSF" + NrfNfManagementNfType_ADRF NrfNfManagementNfType = "ADRF" + NrfNfManagementNfType_GBA_BSF NrfNfManagementNfType = "GBA_BSF" + NrfNfManagementNfType_CEF NrfNfManagementNfType = "CEF" + NrfNfManagementNfType_MB_UPF NrfNfManagementNfType = "MB_UPF" + NrfNfManagementNfType_NSWOF NrfNfManagementNfType = "NSWOF" + NrfNfManagementNfType_PKMF NrfNfManagementNfType = "PKMF" + NrfNfManagementNfType_MNPF NrfNfManagementNfType = "MNPF" + NrfNfManagementNfType_SMS_GMSC NrfNfManagementNfType = "SMS_GMSC" + NrfNfManagementNfType_SMS_IWMSC NrfNfManagementNfType = "SMS_IWMSC" + NrfNfManagementNfType_MBSF NrfNfManagementNfType = "MBSF" + NrfNfManagementNfType_MBSTF NrfNfManagementNfType = "MBSTF" + NrfNfManagementNfType_PANF NrfNfManagementNfType = "PANF" +) diff --git a/models/model_nrf_nf_management_notification_data.go b/models/model_nrf_nf_management_notification_data.go new file mode 100644 index 00000000..659ca5a5 --- /dev/null +++ b/models/model_nrf_nf_management_notification_data.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data sent in notifications from NRF to subscribed NF Instances +type NrfNfManagementNotificationData struct { + Event NotificationEventType `json:"event" yaml:"event" bson:"event,omitempty"` + // String providing an URI formatted according to RFC 3986. + NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri,omitempty"` + NfProfile *NrfNfManagementNfProfile `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile,omitempty"` + ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges,omitempty"` + ConditionEvent ConditionEventType `json:"conditionEvent,omitempty" yaml:"conditionEvent" bson:"conditionEvent,omitempty"` + SubscriptionContext *SubscriptionContext `json:"subscriptionContext,omitempty" yaml:"subscriptionContext" bson:"subscriptionContext,omitempty"` +} diff --git a/models/model_nrf_nf_management_notification_type.go b/models/model_nrf_nf_management_notification_type.go new file mode 100644 index 00000000..923ea1f8 --- /dev/null +++ b/models/model_nrf_nf_management_notification_type.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNotificationType string + +// List of NrfNFManagementNotificationType +const ( + NrfNfManagementNotificationType_N1_MESSAGES NrfNfManagementNotificationType = "N1_MESSAGES" + NrfNfManagementNotificationType_N2_INFORMATION NrfNfManagementNotificationType = "N2_INFORMATION" + NrfNfManagementNotificationType_LOCATION_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_NOTIFICATION" + NrfNfManagementNotificationType_DATA_REMOVAL_NOTIFICATION NrfNfManagementNotificationType = "DATA_REMOVAL_NOTIFICATION" + NrfNfManagementNotificationType_DATA_CHANGE_NOTIFICATION NrfNfManagementNotificationType = "DATA_CHANGE_NOTIFICATION" + NrfNfManagementNotificationType_LOCATION_UPDATE_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_UPDATE_NOTIFICATION" + NrfNfManagementNotificationType_NSSAA_REAUTH_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REAUTH_NOTIFICATION" + NrfNfManagementNotificationType_NSSAA_REVOC_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REVOC_NOTIFICATION" + NrfNfManagementNotificationType_MATCH_INFO_NOTIFICATION NrfNfManagementNotificationType = "MATCH_INFO_NOTIFICATION" + NrfNfManagementNotificationType_DATA_RESTORATION_NOTIFICATION NrfNfManagementNotificationType = "DATA_RESTORATION_NOTIFICATION" + NrfNfManagementNotificationType_TSCTS_NOTIFICATION NrfNfManagementNotificationType = "TSCTS_NOTIFICATION" + NrfNfManagementNotificationType_LCS_KEY_DELIVERY_NOTIFICATION NrfNfManagementNotificationType = "LCS_KEY_DELIVERY_NOTIFICATION" + NrfNfManagementNotificationType_UUAA_MM_AUTH_NOTIFICATION NrfNfManagementNotificationType = "UUAA_MM_AUTH_NOTIFICATION" +) diff --git a/models/model_nrf_nf_management_pfd_data.go b/models/model_nrf_nf_management_pfd_data.go new file mode 100644 index 00000000..2181fa81 --- /dev/null +++ b/models/model_nrf_nf_management_pfd_data.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Application IDs and/or AF IDs managed by a given NEF Instance +type NrfNfManagementPfdData struct { + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` +} diff --git a/models/model_nrf_nf_management_pro_se_capability.go b/models/model_nrf_nf_management_pro_se_capability.go new file mode 100644 index 00000000..5993399d --- /dev/null +++ b/models/model_nrf_nf_management_pro_se_capability.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicate the supported ProSe Capability by the PCF. +type NrfNfManagementProSeCapability struct { + ProseDirectDiscovey bool `json:"proseDirectDiscovey,omitempty" yaml:"proseDirectDiscovey" bson:"proseDirectDiscovey,omitempty"` + ProseDirectCommunication bool `json:"proseDirectCommunication,omitempty" yaml:"proseDirectCommunication" bson:"proseDirectCommunication,omitempty"` + ProseL2UetoNetworkRelay bool `json:"proseL2UetoNetworkRelay,omitempty" yaml:"proseL2UetoNetworkRelay" bson:"proseL2UetoNetworkRelay,omitempty"` + ProseL3UetoNetworkRelay bool `json:"proseL3UetoNetworkRelay,omitempty" yaml:"proseL3UetoNetworkRelay" bson:"proseL3UetoNetworkRelay,omitempty"` + ProseL2RemoteUe bool `json:"proseL2RemoteUe,omitempty" yaml:"proseL2RemoteUe" bson:"proseL2RemoteUe,omitempty"` + ProseL3RemoteUe bool `json:"proseL3RemoteUe,omitempty" yaml:"proseL3RemoteUe" bson:"proseL3RemoteUe,omitempty"` +} diff --git a/models/model_nrf_nf_management_subscription_data.go b/models/model_nrf_nf_management_subscription_data.go new file mode 100644 index 00000000..e37c0bd9 --- /dev/null +++ b/models/model_nrf_nf_management_subscription_data.go @@ -0,0 +1,51 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a subscription to notifications to NRF events, included in subscription requests and responses +type NrfNfManagementSubscriptionData struct { + NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ReqNfInstanceId string `json:"reqNfInstanceId,omitempty" yaml:"reqNfInstanceId" bson:"reqNfInstanceId,omitempty"` + SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` + NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition,omitempty"` + ReqNfType NrfNfManagementNfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType,omitempty"` + // Fully Qualified Domain Name + ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn,omitempty"` + ReqSnssais []ExtSnssai `json:"reqSnssais,omitempty" yaml:"reqSnssais" bson:"reqSnssais,omitempty"` + ReqPerPlmnSnssais []PlmnSnssai `json:"reqPerPlmnSnssais,omitempty" yaml:"reqPerPlmnSnssais" bson:"reqPerPlmnSnssais,omitempty"` + ReqPlmnList []PlmnId `json:"reqPlmnList,omitempty" yaml:"reqPlmnList" bson:"reqPlmnList,omitempty"` + ReqSnpnList []PlmnIdNid `json:"reqSnpnList,omitempty" yaml:"reqSnpnList" bson:"reqSnpnList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + RequesterFeatures string `json:"requesterFeatures,omitempty" yaml:"requesterFeatures" bson:"requesterFeatures,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + HnrfUri string `json:"hnrfUri,omitempty" yaml:"hnrfUri" bson:"hnrfUri,omitempty"` + OnboardingCapability bool `json:"onboardingCapability,omitempty" yaml:"onboardingCapability" bson:"onboardingCapability,omitempty"` + // Fully Qualified Domain Name + TargetHni string `json:"targetHni,omitempty" yaml:"targetHni" bson:"targetHni,omitempty"` + PreferredLocality string `json:"preferredLocality,omitempty" yaml:"preferredLocality" bson:"preferredLocality,omitempty"` +} diff --git a/models/model_nrf_nf_management_transport_protocol.go b/models/model_nrf_nf_management_transport_protocol.go new file mode 100644 index 00000000..10fb4bae --- /dev/null +++ b/models/model_nrf_nf_management_transport_protocol.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementTransportProtocol string + +// List of NrfNFManagementTransportProtocol +const ( + NrfNfManagementTransportProtocol_TCP NrfNfManagementTransportProtocol = "TCP" +) diff --git a/models/model_nrfsubscription_data.go b/models/model_nrfsubscription_data.go deleted file mode 100644 index 85ac900f..00000000 --- a/models/model_nrfsubscription_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type NrfSubscriptionData struct { - NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri" mapstructure:"NfStatusNotificationUri"` - SubscrCond interface{} `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond" mapstructure:"SubscrCond"` - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId" mapstructure:"SubscriptionId"` - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime" mapstructure:"ValidityTime"` - ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents" mapstructure:"ReqNotifEvents"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition" mapstructure:"NotifCondition"` - ReqNfType NfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType" mapstructure:"ReqNfType"` - ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn" mapstructure:"ReqNfFqdn"` -} diff --git a/models/model_nrppa_information.go b/models/model_nrppa_information.go index feb75c92..922da60c 100644 --- a/models/model_nrppa_information.go +++ b/models/model_nrppa_information.go @@ -1,15 +1,21 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a NRPPa related N2 information data part type NrppaInformation struct { - NfId string `json:"nfId"` - NrppaPdu *N2InfoContent `json:"nrppaPdu"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + NrppaPdu *N2InfoContent `json:"nrppaPdu" yaml:"nrppaPdu" bson:"nrppaPdu,omitempty"` + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` } diff --git a/models/model_nsacf_capability.go b/models/model_nsacf_capability.go new file mode 100644 index 00000000..60b0bdf9 --- /dev/null +++ b/models/model_nsacf_capability.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NSACF service capabilities (e.g. to monitor and control the number of registered UEs or established PDU sessions per network slice) +type NsacfCapability struct { + // Indicates the service capability of the NSACF to monitor and control the number of registered UEs per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported + SupportUeSAC bool `json:"supportUeSAC,omitempty" yaml:"supportUeSAC" bson:"supportUeSAC,omitempty"` + // Indicates the service capability of the NSACF to monitor and control the number of established PDU sessions per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported + SupportPduSAC bool `json:"supportPduSAC,omitempty" yaml:"supportPduSAC" bson:"supportPduSAC,omitempty"` +} diff --git a/models/model_nsacf_info.go b/models/model_nsacf_info.go new file mode 100644 index 00000000..3887bac9 --- /dev/null +++ b/models/model_nsacf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NSACF NF Instance +type NsacfInfo struct { + NsacfCapability *NsacfCapability `json:"nsacfCapability" yaml:"nsacfCapability" bson:"nsacfCapability,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsacSaiList []string `json:"nsacSaiList,omitempty" yaml:"nsacSaiList" bson:"nsacSaiList,omitempty"` +} diff --git a/models/model_nsag_info.go b/models/model_nsag_info.go new file mode 100644 index 00000000..66b133cf --- /dev/null +++ b/models/model_nsag_info.go @@ -0,0 +1,21 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the association of NSAGs and S-NSSAI(s) along with the TA(s) within which the association is valid. +type NsagInfo struct { + NsagIds []int32 `json:"nsagIds" yaml:"nsagIds" bson:"nsagIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/model_nsi_id_info.go b/models/model_nsi_id_info.go new file mode 100644 index 00000000..78ec3936 --- /dev/null +++ b/models/model_nsi_id_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the S-NSSAI and the optionally associated Network Slice Instance(s). +type NsiIdInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + NsiIds []string `json:"nsiIds,omitempty" yaml:"nsiIds" bson:"nsiIds,omitempty"` +} diff --git a/models/model_nsi_information.go b/models/model_nsi_information.go index 8fc14041..89bb78aa 100644 --- a/models/model_nsi_information.go +++ b/models/model_nsi_information.go @@ -1,15 +1,27 @@ /* - * Namf_Communication + * NSSF NS Selection * - * AMF Communication Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the API URIs of NRF services to be used to discover NFs/services, subscribe to NF status changes and/or request access tokens within the selected Network Slice instance and optional the Identifier of the selected Network Slice instance type NsiInformation struct { - NrfId string `json:"nrfId" yaml:"nrfId"` - NsiId string `json:"nsiId,omitempty" yaml:"nsiId"` + // String providing an URI formatted according to RFC 3986. + NrfId string `json:"nrfId" yaml:"nrfId" bson:"nrfId,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfNfMgtUri string `json:"nrfNfMgtUri,omitempty" yaml:"nrfNfMgtUri" bson:"nrfNfMgtUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` } diff --git a/models/model_nsi_load_level_info.go b/models/model_nsi_load_level_info.go index 3875296c..8f7bcfa9 100644 --- a/models/model_nsi_load_level_info.go +++ b/models/model_nsi_load_level_info.go @@ -1,18 +1,34 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// Represents the network slice and optionally the associated network slice instance and the load level information. +// Represents the network slice and optionally the associated network slice instance and the load level information. type NsiLoadLevelInfo struct { - // Load level information of the network slice and the optionally associated network slice instance. - LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation" mapstructure:"LoadLevelInformation"` - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai" mapstructure:"Snssai"` - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId" mapstructure:"NsiId"` + // Load level information of the network slice and the optionally associated network slice instance. + LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + ResUsage *ResourceUsage `json:"resUsage,omitempty" yaml:"resUsage" bson:"resUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumOfExceedLoadLevelThr int32 `json:"numOfExceedLoadLevelThr,omitempty" yaml:"numOfExceedLoadLevelThr" bson:"numOfExceedLoadLevelThr,omitempty"` + ExceedLoadLevelThrInd bool `json:"exceedLoadLevelThrInd,omitempty" yaml:"exceedLoadLevelThrInd" bson:"exceedLoadLevelThrInd,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` + // Each element indicates the time elapsed between times each threshold is met or exceeded or crossed. The start time and end time are the exact time stamps of the resource usage threshold is reached or exceeded. May be present if the \"listOfAnaSubsets\" attribute is provided and the maximum number of instances shall not exceed the value provided in the \"numOfExceedLoadLevelThr\" attribute. + ResUsgThrCrossTimePeriod []TimeWindow `json:"resUsgThrCrossTimePeriod,omitempty" yaml:"resUsgThrCrossTimePeriod" bson:"resUsgThrCrossTimePeriod,omitempty"` + NumOfUes *NumberAverage `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` + NumOfPduSess *NumberAverage `json:"numOfPduSess,omitempty" yaml:"numOfPduSess" bson:"numOfPduSess,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` } diff --git a/models/model_nsm_charging_information.go b/models/model_nsm_charging_information.go index 5d97d1ea..9a13af1a 100644 --- a/models/model_nsm_charging_information.go +++ b/models/model_nsm_charging_information.go @@ -1,17 +1,22 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NsmChargingInformation struct { - ManagementOperation ManagementOperation `json:"managementOperation" yaml:"managementOperation" bson:"managementOperation" mapstructure:"ManagementOperation"` - IdNetworkSliceInstance string `json:"idNetworkSliceInstance,omitempty" yaml:"idNetworkSliceInstance" bson:"idNetworkSliceInstance" mapstructure:"IdNetworkSliceInstance"` - ListOfserviceProfileChargingInformation []ServiceProfileChargingInformation `json:"listOfserviceProfileChargingInformation,omitempty" yaml:"listOfserviceProfileChargingInformation" bson:"listOfserviceProfileChargingInformation" mapstructure:"ListOfserviceProfileChargingInformation"` - ManagementOperationStatus ManagementOperationStatus `json:"managementOperationStatus,omitempty" yaml:"managementOperationStatus" bson:"managementOperationStatus" mapstructure:"ManagementOperationStatus"` + ManagementOperation ManagementOperation `json:"managementOperation" yaml:"managementOperation" bson:"managementOperation,omitempty"` + IdNetworkSliceInstance string `json:"idNetworkSliceInstance,omitempty" yaml:"idNetworkSliceInstance" bson:"idNetworkSliceInstance,omitempty"` + ListOfserviceProfileChargingInformation []ServiceProfileChargingInformation `json:"listOfserviceProfileChargingInformation,omitempty" yaml:"listOfserviceProfileChargingInformation" bson:"listOfserviceProfileChargingInformation,omitempty"` + ManagementOperationStatus ManagementOperationStatus `json:"managementOperationStatus,omitempty" yaml:"managementOperationStatus" bson:"managementOperationStatus,omitempty"` + ManagementOperationalState OperationalState `json:"managementOperationalState,omitempty" yaml:"managementOperationalState" bson:"managementOperationalState,omitempty"` + ManagementAdministrativeState AdministrativeState `json:"managementAdministrativeState,omitempty" yaml:"managementAdministrativeState" bson:"managementAdministrativeState,omitempty"` } diff --git a/models/model_nsmf_event_exposure.go b/models/model_nsmf_event_exposure.go index 8f716de1..38f4d025 100644 --- a/models/model_nsmf_event_exposure.go +++ b/models/model_nsmf_event_exposure.go @@ -1,9 +1,12 @@ /* - * Nsmf_EventExposure + * Nnwdaf_DataManagement * - * Session Management Event Exposure Service API + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,31 +16,53 @@ import ( "time" ) +// Represents an Individual SMF Notification Subscription resource. The serviveName property corresponds to the serviceName in the main body of the specification. type NsmfEventExposure struct { - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi" mapstructure:"Supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - // Any UE indication. This IE shall be present if the event subscription is applicable to any UE. Default value \"FALSE\" is used, if not present. - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd" mapstructure:"AnyUeInd"` - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId" mapstructure:"GroupId"` - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId" mapstructure:"PduSeId"` - // Identifies an Individual SMF Notification Subscription. To enable that the value is used as part of a URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501 [2]. In an OpenAPI [10] schema, the format shall be designated as \"SubId\". - SubId string `json:"subId,omitempty" yaml:"subId" bson:"subId" mapstructure:"SubId"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // Any UE indication. This IE shall be present if the event subscription is applicable to any UE. Default value \"false\" is used, if not present. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Identifies an Individual SMF Notification Subscription. To enable that the value is used as part of a URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. In an OpenAPI schema, the format shall be designated as \"SubId\". + SubId string `json:"subId,omitempty" yaml:"subId" bson:"subId,omitempty"` // Notification Correlation ID assigned by the NF service consumer. - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId" mapstructure:"NotifId"` - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - // Alternate or backup IPv4 Addess(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs" mapstructure:"AltNotifIpv4Addrs"` - // Alternate or backup IPv6 Addess(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs" mapstructure:"AltNotifIpv6Addrs"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Alternate or backup IPv4 address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` // Subscribed events - EventSubs []EventSubscription `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs" mapstructure:"EventSubs"` - ImmeRep bool `json:"ImmeRep,omitempty" yaml:"ImmeRep" bson:"ImmeRep" mapstructure:"ImmeRep"` - NotifMethod NotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod" mapstructure:"NotifMethod"` - MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr" mapstructure:"MaxReportNbr"` - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry" mapstructure:"Expiry"` - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod" mapstructure:"RepPeriod"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami" mapstructure:"Guami"` - // If the NF service consumer is an AMF, it should provide the name of a service produced by the AMF that makes use of notifications about subscribed events. - ServiveName string `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName" mapstructure:"ServiveName"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` + EventSubs []SmfEventExposureEventSubscription `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` + EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + ImmeRep bool `json:"ImmeRep,omitempty" yaml:"ImmeRep" bson:"ImmeRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Criteria for partitioning the UEs before applying the sampling ratio. + PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` + // indicating a time in seconds. + GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` } diff --git a/models/model_nsmf_event_exposure_notification.go b/models/model_nsmf_event_exposure_notification.go index 2edeaf6c..424c1d8d 100644 --- a/models/model_nsmf_event_exposure_notification.go +++ b/models/model_nsmf_event_exposure_notification.go @@ -1,17 +1,23 @@ /* - * Nsmf_EventExposure + * Nnwdaf_DataManagement * - * Session Management Event Exposure Service API + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents notifications on events that occurred. type NsmfEventExposureNotification struct { // Notification correlation ID - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId" mapstructure:"NotifId"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` // Notifications about Individual Events - EventNotifs []EventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs" mapstructure:"EventNotifs"` + EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // String providing an URI formatted according to RFC 3986. + AckUri string `json:"ackUri,omitempty" yaml:"ackUri" bson:"ackUri,omitempty"` } diff --git a/models/model_nspa_charging_information.go b/models/model_nspa_charging_information.go index 6dc4c341..ae4c0032 100644 --- a/models/model_nspa_charging_information.go +++ b/models/model_nspa_charging_information.go @@ -1,14 +1,17 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NspaChargingInformation struct { - SingleNSSAI *Snssai `json:"singleNSSAI" yaml:"singleNSSAI" bson:"singleNSSAI" mapstructure:"SingleNSSAI"` + SingleNSSAI *Snssai `json:"singleNSSAI" yaml:"singleNSSAI" bson:"singleNSSAI,omitempty"` } diff --git a/models/model_nspa_container_information.go b/models/model_nspa_container_information.go index 85d22646..2921de29 100644 --- a/models/model_nspa_container_information.go +++ b/models/model_nspa_container_information.go @@ -1,20 +1,29 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NspaContainerInformation struct { - Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency" mapstructure:"Latency"` - Throughput *Throughput `json:"throughput,omitempty" yaml:"throughput" bson:"throughput" mapstructure:"Throughput"` - MaximumPacketLossRate string `json:"maximumPacketLossRate,omitempty" yaml:"maximumPacketLossRate" bson:"maximumPacketLossRate" mapstructure:"MaximumPacketLossRate"` - ServiceExperienceStatisticsData *ServiceExperienceInfo `json:"serviceExperienceStatisticsData,omitempty" yaml:"serviceExperienceStatisticsData" bson:"serviceExperienceStatisticsData" mapstructure:"ServiceExperienceStatisticsData"` - TheNumberOfPDUSessions int32 `json:"theNumberOfPDUSessions,omitempty" yaml:"theNumberOfPDUSessions" bson:"theNumberOfPDUSessions" mapstructure:"TheNumberOfPDUSessions"` - TheNumberOfRegisteredSubscribers int32 `json:"theNumberOfRegisteredSubscribers,omitempty" yaml:"theNumberOfRegisteredSubscribers" bson:"theNumberOfRegisteredSubscribers" mapstructure:"TheNumberOfRegisteredSubscribers"` - LoadLevel *NsiLoadLevelInfo `json:"loadLevel,omitempty" yaml:"loadLevel" bson:"loadLevel" mapstructure:"LoadLevel"` + Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` + UplinkLatency int32 `json:"uplinkLatency,omitempty" yaml:"uplinkLatency" bson:"uplinkLatency,omitempty"` + DownlinkLatency int32 `json:"downlinkLatency,omitempty" yaml:"downlinkLatency" bson:"downlinkLatency,omitempty"` + Throughput *Throughput `json:"throughput,omitempty" yaml:"throughput" bson:"throughput,omitempty"` + UplinkThroughput *Throughput `json:"uplinkThroughput,omitempty" yaml:"uplinkThroughput" bson:"uplinkThroughput,omitempty"` + DownlinkThroughput *Throughput `json:"downlinkThroughput,omitempty" yaml:"downlinkThroughput" bson:"downlinkThroughput,omitempty"` + MaximumPacketLossRate string `json:"maximumPacketLossRate,omitempty" yaml:"maximumPacketLossRate" bson:"maximumPacketLossRate,omitempty"` + MaximumPacketLossRateUL int32 `json:"maximumPacketLossRateUL,omitempty" yaml:"maximumPacketLossRateUL" bson:"maximumPacketLossRateUL,omitempty"` + MaximumPacketLossRateDL int32 `json:"maximumPacketLossRateDL,omitempty" yaml:"maximumPacketLossRateDL" bson:"maximumPacketLossRateDL,omitempty"` + ServiceExperienceStatisticsData *NwdafEventsSubscriptionServiceExperienceInfo `json:"serviceExperienceStatisticsData,omitempty" yaml:"serviceExperienceStatisticsData" bson:"serviceExperienceStatisticsData,omitempty"` + TheNumberOfPDUSessions int32 `json:"theNumberOfPDUSessions,omitempty" yaml:"theNumberOfPDUSessions" bson:"theNumberOfPDUSessions,omitempty"` + TheNumberOfRegisteredSubscribers int32 `json:"theNumberOfRegisteredSubscribers,omitempty" yaml:"theNumberOfRegisteredSubscribers" bson:"theNumberOfRegisteredSubscribers,omitempty"` + LoadLevel *NsiLoadLevelInfo `json:"loadLevel,omitempty" yaml:"loadLevel" bson:"loadLevel,omitempty"` } diff --git a/models/model_nssaa_status.go b/models/model_nssaa_status.go new file mode 100644 index 00000000..57a53c8f --- /dev/null +++ b/models/model_nssaa_status.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains the Subscribed S-NSSAI subject to NSSAA procedure and the status. +type NssaaStatus struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Status AuthStatus `json:"status" yaml:"status" bson:"status,omitempty"` +} diff --git a/models/model_nssaaf_info.go b/models/model_nssaaf_info.go new file mode 100644 index 00000000..7ed47259 --- /dev/null +++ b/models/model_nssaaf_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NSSAAF Instance +type NssaafInfo struct { + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` +} diff --git a/models/model_nssai.go b/models/model_nssai.go index ffe0f9ff..f55bb2aa 100644 --- a/models/model_nssai.go +++ b/models/model_nssai.go @@ -1,16 +1,29 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type Nssai struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - DefaultSingleNssais []Snssai `json:"defaultSingleNssais" yaml:"defaultSingleNssais" bson:"defaultSingleNssais" mapstructure:"DefaultSingleNssais"` - SingleNssais []Snssai `json:"singleNssais,omitempty" yaml:"singleNssais" bson:"singleNssais" mapstructure:"SingleNssais"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + DefaultSingleNssais []Snssai `json:"defaultSingleNssais" yaml:"defaultSingleNssais" bson:"defaultSingleNssais,omitempty"` + SingleNssais []Snssai `json:"singleNssais,omitempty" yaml:"singleNssais" bson:"singleNssais,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of AdditionalSnssaiData + AdditionalSnssaiData map[string]AdditionalSnssaiData `json:"additionalSnssaiData,omitempty" yaml:"additionalSnssaiData" bson:"additionalSnssaiData,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` } diff --git a/models/model_nssai_ack_data.go b/models/model_nssai_ack_data.go new file mode 100644 index 00000000..bf65aed7 --- /dev/null +++ b/models/model_nssai_ack_data.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest NSSAI data update. +type NssaiAckData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` +} diff --git a/models/model_nssai_availability_info.go b/models/model_nssai_availability_info.go index 17dde08e..0c97a3b1 100644 --- a/models/model_nssai_availability_info.go +++ b/models/model_nssai_availability_info.go @@ -1,16 +1,21 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the Nssai availability information requested by the AMF type NssaiAvailabilityInfo struct { - SupportedNssaiAvailabilityData []SupportedNssaiAvailabilityData `json:"supportedNssaiAvailabilityData" bson:"supportedNssaiAvailabilityData"` - - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + SupportedNssaiAvailabilityData []SupportedNssaiAvailabilityData `json:"supportedNssaiAvailabilityData" yaml:"supportedNssaiAvailabilityData" bson:"supportedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` } diff --git a/models/model_nssai_map.go b/models/model_nssai_map.go index e84cdf87..d2da2b58 100644 --- a/models/model_nssai_map.go +++ b/models/model_nssai_map.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NssaiMap struct { - ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai" mapstructure:"ServingSnssai"` - HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai" mapstructure:"HomeSnssai"` + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` } diff --git a/models/model_nssai_mapping.go b/models/model_nssai_mapping.go index 49b58509..1727d872 100644 --- a/models/model_nssai_mapping.go +++ b/models/model_nssai_mapping.go @@ -1,15 +1,19 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the mapping between a S-NSSAI in serving PLMN to a S-NSSAI in home PLMN type NssaiMapping struct { - MappedSnssai *Snssai `json:"mappedSnssai"` - HSnssai *Snssai `json:"hSnssai"` + MappedSnssai *Snssai `json:"mappedSnssai" yaml:"mappedSnssai" bson:"mappedSnssai,omitempty"` + HSnssai *Snssai `json:"hSnssai" yaml:"hSnssai" bson:"hSnssai,omitempty"` } diff --git a/models/model_nssf_event_notification.go b/models/model_nssf_event_notification.go index c0153a40..24ec1af0 100644 --- a/models/model_nssf_event_notification.go +++ b/models/model_nssf_event_notification.go @@ -1,16 +1,19 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the notification for created event subscription type NssfEventNotification struct { - SubscriptionId string `json:"subscriptionId" bson:"subscriptionId"` - - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData"` + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` } diff --git a/models/model_nssf_event_subscription_create_data.go b/models/model_nssf_event_subscription_create_data.go index e94a80d5..8b77a4b2 100644 --- a/models/model_nssf_event_subscription_create_data.go +++ b/models/model_nssf_event_subscription_create_data.go @@ -1,9 +1,12 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,12 +16,18 @@ import ( "time" ) +// This contains the information for event subscription type NssfEventSubscriptionCreateData struct { - NfNssaiAvailabilityUri string `json:"nfNssaiAvailabilityUri" bson:"nfNssaiAvailabilityUri" yaml:"nfNssaiAvailabilityUri"` - - TaiList []Tai `json:"taiList" bson:"taiList" yaml:"taiList"` - - Event NssfEventType `json:"event" bson:"event" yaml:"event"` - - Expiry *time.Time `json:"expiry,omitempty" bson:"expiry" yaml:"expiry"` + // String providing an URI formatted according to RFC 3986. + NfNssaiAvailabilityUri string `json:"nfNssaiAvailabilityUri" yaml:"nfNssaiAvailabilityUri" bson:"nfNssaiAvailabilityUri,omitempty"` + TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` + Event NssfEventType `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_nssf_event_subscription_created_data.go b/models/model_nssf_event_subscription_created_data.go index 3e7cb3bb..a66c2a7f 100644 --- a/models/model_nssf_event_subscription_created_data.go +++ b/models/model_nssf_event_subscription_created_data.go @@ -1,9 +1,12 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,10 +16,12 @@ import ( "time" ) +// This contains the information for created event subscription type NssfEventSubscriptionCreatedData struct { - SubscriptionId string `json:"subscriptionId" bson:"subscriptionId"` - - Expiry *time.Time `json:"expiry,omitempty" bson:"expiry"` - - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData,omitempty" bson:"authorizedNssaiAvailabilityData"` + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData,omitempty" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_nssf_event_type.go b/models/model_nssf_event_type.go index bd707c4b..5fae5fb9 100644 --- a/models/model_nssf_event_type.go +++ b/models/model_nssf_event_type.go @@ -1,9 +1,12 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_null_request.go b/models/model_null_request.go new file mode 100644 index 00000000..5c593af5 --- /dev/null +++ b/models/model_null_request.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NullRequest struct { + JsonData *ContextStatusNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/model_null_response_200.go b/models/model_null_response_200.go new file mode 100644 index 00000000..4507ecc2 --- /dev/null +++ b/models/model_null_response_200.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NullResponse200 struct { + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` +} diff --git a/models/model_null_value.go b/models/model_null_value.go deleted file mode 100644 index b38de995..00000000 --- a/models/model_null_value.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NullValue string - -// List of NullValue -const ( - NullValue_NULL NullValue = "null" -) diff --git a/models/model_nulldataset.go b/models/model_nulldataset.go deleted file mode 100644 index bc589edf..00000000 --- a/models/model_nulldataset.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Nulldataset string - -// List of nulldataset -const ( - Nulldataset_SUBSCRIPTION Nulldataset = "SUBSCRIPTION" - Nulldataset_POLICY Nulldataset = "POLICY" - Nulldataset_EXPOSURE Nulldataset = "EXPOSURE" - Nulldataset_APPLICATION Nulldataset = "APPLICATION" -) diff --git a/models/model_nullinfoclass.go b/models/model_nullinfoclass.go deleted file mode 100644 index a28841c3..00000000 --- a/models/model_nullinfoclass.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Termination Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Nullinfoclass string - -// List of nullinfoclass -const ( - Nullinfoclass_TADS Nullinfoclass = "TADS" -) diff --git a/models/model_nullnftype.go b/models/model_nullnftype.go deleted file mode 100644 index 72da74a4..00000000 --- a/models/model_nullnftype.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Nullnftype string - -// List of nullnftype -const ( - Nullnftype_NRF Nullnftype = "NRF" - Nullnftype_UDM Nullnftype = "UDM" - Nullnftype_AMF Nullnftype = "AMF" - Nullnftype_SMF Nullnftype = "SMF" - Nullnftype_AUSF Nullnftype = "AUSF" - Nullnftype_NEF Nullnftype = "NEF" - Nullnftype_PCF Nullnftype = "PCF" - Nullnftype_SMSF Nullnftype = "SMSF" - Nullnftype_NSSF Nullnftype = "NSSF" - Nullnftype_UDR Nullnftype = "UDR" - Nullnftype_LMF Nullnftype = "LMF" - Nullnftype_GMLC Nullnftype = "GMLC" - Nullnftype__5_G_EIR Nullnftype = "5G_EIR" - Nullnftype_SEPP Nullnftype = "SEPP" - Nullnftype_UPF Nullnftype = "UPF" - Nullnftype_N3_IWF Nullnftype = "N3IWF" - Nullnftype_AF Nullnftype = "AF" - Nullnftype_UDSF Nullnftype = "UDSF" - Nullnftype_BSF Nullnftype = "BSF" - Nullnftype_CHF Nullnftype = "CHF" - Nullnftype_NWDAF Nullnftype = "NWDAF" -) diff --git a/models/model_nullrequesternftype.go b/models/model_nullrequesternftype.go deleted file mode 100644 index 55f847b4..00000000 --- a/models/model_nullrequesternftype.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Nullrequesternftype string - -// List of nullrequesternftype -const ( - Nullrequesternftype_NRF Nullrequesternftype = "NRF" - Nullrequesternftype_UDM Nullrequesternftype = "UDM" - Nullrequesternftype_AMF Nullrequesternftype = "AMF" - Nullrequesternftype_SMF Nullrequesternftype = "SMF" - Nullrequesternftype_AUSF Nullrequesternftype = "AUSF" - Nullrequesternftype_NEF Nullrequesternftype = "NEF" - Nullrequesternftype_PCF Nullrequesternftype = "PCF" - Nullrequesternftype_SMSF Nullrequesternftype = "SMSF" - Nullrequesternftype_NSSF Nullrequesternftype = "NSSF" - Nullrequesternftype_UDR Nullrequesternftype = "UDR" - Nullrequesternftype_LMF Nullrequesternftype = "LMF" - Nullrequesternftype_GMLC Nullrequesternftype = "GMLC" - Nullrequesternftype__5_G_EIR Nullrequesternftype = "5G_EIR" - Nullrequesternftype_SEPP Nullrequesternftype = "SEPP" - Nullrequesternftype_UPF Nullrequesternftype = "UPF" - Nullrequesternftype_N3_IWF Nullrequesternftype = "N3IWF" - Nullrequesternftype_AF Nullrequesternftype = "AF" - Nullrequesternftype_UDSF Nullrequesternftype = "UDSF" - Nullrequesternftype_BSF Nullrequesternftype = "BSF" - Nullrequesternftype_CHF Nullrequesternftype = "CHF" - Nullrequesternftype_NWDAF Nullrequesternftype = "NWDAF" -) diff --git a/models/model_nulltargetnftype.go b/models/model_nulltargetnftype.go deleted file mode 100644 index 4f88c22e..00000000 --- a/models/model_nulltargetnftype.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Nulltargetnftype string - -// List of nulltargetnftype -const ( - Nulltargetnftype_NRF Nulltargetnftype = "NRF" - Nulltargetnftype_UDM Nulltargetnftype = "UDM" - Nulltargetnftype_AMF Nulltargetnftype = "AMF" - Nulltargetnftype_SMF Nulltargetnftype = "SMF" - Nulltargetnftype_AUSF Nulltargetnftype = "AUSF" - Nulltargetnftype_NEF Nulltargetnftype = "NEF" - Nulltargetnftype_PCF Nulltargetnftype = "PCF" - Nulltargetnftype_SMSF Nulltargetnftype = "SMSF" - Nulltargetnftype_NSSF Nulltargetnftype = "NSSF" - Nulltargetnftype_UDR Nulltargetnftype = "UDR" - Nulltargetnftype_LMF Nulltargetnftype = "LMF" - Nulltargetnftype_GMLC Nulltargetnftype = "GMLC" - Nulltargetnftype__5_G_EIR Nulltargetnftype = "5G_EIR" - Nulltargetnftype_SEPP Nulltargetnftype = "SEPP" - Nulltargetnftype_UPF Nulltargetnftype = "UPF" - Nulltargetnftype_N3_IWF Nulltargetnftype = "N3IWF" - Nulltargetnftype_AF Nulltargetnftype = "AF" - Nulltargetnftype_UDSF Nulltargetnftype = "UDSF" - Nulltargetnftype_BSF Nulltargetnftype = "BSF" - Nulltargetnftype_CHF Nulltargetnftype = "CHF" - Nulltargetnftype_NWDAF Nulltargetnftype = "NWDAF" -) diff --git a/models/model_number_average.go b/models/model_number_average.go new file mode 100644 index 00000000..852b849f --- /dev/null +++ b/models/model_number_average.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents average and variance information. +type NumberAverage struct { + // string with format 'float' as defined in OpenAPI. + Number float32 `json:"number" yaml:"number" bson:"number,omitempty"` + // string with format 'float' as defined in OpenAPI. + Variance float32 `json:"variance" yaml:"variance" bson:"variance,omitempty"` + // string with format 'float' as defined in OpenAPI. + Skewness float32 `json:"skewness,omitempty" yaml:"skewness" bson:"skewness,omitempty"` +} diff --git a/models/model_nwdaf_analytics_info_analytics_data.go b/models/model_nwdaf_analytics_info_analytics_data.go new file mode 100644 index 00000000..b10b4932 --- /dev/null +++ b/models/model_nwdaf_analytics_info_analytics_data.go @@ -0,0 +1,46 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the description of analytics with parameters as relevant for the requesting NF service consumer. +type NwdafAnalyticsInfoAnalyticsData struct { + // string with format 'date-time' as defined in OpenAPI. + Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` + AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` + // The slices and their load level information. + SliceLoadLevelInfos []SliceLoadLevelInformation `json:"sliceLoadLevelInfos,omitempty" yaml:"sliceLoadLevelInfos" bson:"sliceLoadLevelInfos,omitempty"` + NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` + NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` + NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` + SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` + QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` + UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` + UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` + UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` + AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` + SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` + DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` + RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` + WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` + DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_nwdaf_analytics_info_event_filter.go b/models/model_nwdaf_analytics_info_event_filter.go new file mode 100644 index 00000000..b1ca1da6 --- /dev/null +++ b/models/model_nwdaf_analytics_info_event_filter.go @@ -0,0 +1,50 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the event filters used to identify the requested analytics. +type NwdafAnalyticsInfoEventFilter struct { + // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. + AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` + // Identification(s) of network slice. + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. + LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` + NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` + NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` + NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` + NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` + QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` + NwPerfTypes []NetworkPerfType `json:"nwPerfTypes,omitempty" yaml:"nwPerfTypes" bson:"nwPerfTypes,omitempty"` + BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` + ExcepIds []ExceptionId `json:"excepIds,omitempty" yaml:"excepIds" bson:"excepIds,omitempty"` + ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` + ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` + RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` + DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` + RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` + WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` + ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` + DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` +} diff --git a/models/model_nwdaf_capability.go b/models/model_nwdaf_capability.go new file mode 100644 index 00000000..6dfc151f --- /dev/null +++ b/models/model_nwdaf_capability.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the capability supported by the NWDAF +type NwdafCapability struct { + AnalyticsAggregation bool `json:"analyticsAggregation,omitempty" yaml:"analyticsAggregation" bson:"analyticsAggregation,omitempty"` + AnalyticsMetadataProvisioning bool `json:"analyticsMetadataProvisioning,omitempty" yaml:"analyticsMetadataProvisioning" bson:"analyticsMetadataProvisioning,omitempty"` +} diff --git a/models/model_nwdaf_cond.go b/models/model_nwdaf_cond.go new file mode 100644 index 00000000..efa0da8e --- /dev/null +++ b/models/model_nwdaf_cond.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (NWDAFs), identified by Analytics ID(s), S-NSSAI(s) or NWDAF Serving Area information, i.e. list of TAIs for which the NWDAF can provide analytics. +type NwdafCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` +} diff --git a/models/model_nwdaf_data.go b/models/model_nwdaf_data.go new file mode 100644 index 00000000..7a89d02f --- /dev/null +++ b/models/model_nwdaf_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the list of Analytic ID(s) per NWDAF instance ID used for the PDU Session consumed by the SMF. +type NwdafData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` +} diff --git a/models/model_nwdaf_event.go b/models/model_nwdaf_event.go new file mode 100644 index 00000000..e0f22dbb --- /dev/null +++ b/models/model_nwdaf_event.go @@ -0,0 +1,34 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEvent string + +// List of NwdafEvent +const ( + NwdafEvent_SLICE_LOAD_LEVEL NwdafEvent = "SLICE_LOAD_LEVEL" + NwdafEvent_NETWORK_PERFORMANCE NwdafEvent = "NETWORK_PERFORMANCE" + NwdafEvent_NF_LOAD NwdafEvent = "NF_LOAD" + NwdafEvent_SERVICE_EXPERIENCE NwdafEvent = "SERVICE_EXPERIENCE" + NwdafEvent_UE_MOBILITY NwdafEvent = "UE_MOBILITY" + NwdafEvent_UE_COMMUNICATION NwdafEvent = "UE_COMMUNICATION" + NwdafEvent_QOS_SUSTAINABILITY NwdafEvent = "QOS_SUSTAINABILITY" + NwdafEvent_ABNORMAL_BEHAVIOUR NwdafEvent = "ABNORMAL_BEHAVIOUR" + NwdafEvent_USER_DATA_CONGESTION NwdafEvent = "USER_DATA_CONGESTION" + NwdafEvent_NSI_LOAD_LEVEL NwdafEvent = "NSI_LOAD_LEVEL" + NwdafEvent_DN_PERFORMANCE NwdafEvent = "DN_PERFORMANCE" + NwdafEvent_DISPERSION NwdafEvent = "DISPERSION" + NwdafEvent_RED_TRANS_EXP NwdafEvent = "RED_TRANS_EXP" + NwdafEvent_WLAN_PERFORMANCE NwdafEvent = "WLAN_PERFORMANCE" + NwdafEvent_SM_CONGESTION NwdafEvent = "SM_CONGESTION" +) diff --git a/models/model_nwdaf_events_subscription_accuracy.go b/models/model_nwdaf_events_subscription_accuracy.go new file mode 100644 index 00000000..b9627f02 --- /dev/null +++ b/models/model_nwdaf_events_subscription_accuracy.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionAccuracy string + +// List of NwdafEventsSubscriptionAccuracy +const ( + NwdafEventsSubscriptionAccuracy_LOW NwdafEventsSubscriptionAccuracy = "LOW" + NwdafEventsSubscriptionAccuracy_HIGH NwdafEventsSubscriptionAccuracy = "HIGH" +) diff --git a/models/model_nwdaf_events_subscription_congestion_type.go b/models/model_nwdaf_events_subscription_congestion_type.go new file mode 100644 index 00000000..2a31fdf6 --- /dev/null +++ b/models/model_nwdaf_events_subscription_congestion_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionCongestionType string + +// List of NwdafEventsSubscriptionCongestionType +const ( + NwdafEventsSubscriptionCongestionType_USER_PLANE NwdafEventsSubscriptionCongestionType = "USER_PLANE" + NwdafEventsSubscriptionCongestionType_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "CONTROL_PLANE" + NwdafEventsSubscriptionCongestionType_USER_AND_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "USER_AND_CONTROL_PLANE" +) diff --git a/models/model_nwdaf_events_subscription_dispersion_collection.go b/models/model_nwdaf_events_subscription_dispersion_collection.go new file mode 100644 index 00000000..65e481c4 --- /dev/null +++ b/models/model_nwdaf_events_subscription_dispersion_collection.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Dispersion collection per UE location or per slice. +type NwdafEventsSubscriptionDispersionCollection struct { + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + AppVolumes []ApplicationVolume `json:"appVolumes,omitempty" yaml:"appVolumes" bson:"appVolumes,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DisperAmount int32 `json:"disperAmount,omitempty" yaml:"disperAmount" bson:"disperAmount,omitempty"` + DisperClass *DispersionClass `json:"disperClass,omitempty" yaml:"disperClass" bson:"disperClass,omitempty"` + // Integer where the allowed values correspond to 1, 2, 3 only. + UsageRank int32 `json:"usageRank,omitempty" yaml:"usageRank" bson:"usageRank,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + PercentileRank int32 `json:"percentileRank,omitempty" yaml:"percentileRank" bson:"percentileRank,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_nwdaf_events_subscription_event_notification.go b/models/model_nwdaf_events_subscription_event_notification.go new file mode 100644 index 00000000..a604bc82 --- /dev/null +++ b/models/model_nwdaf_events_subscription_event_notification.go @@ -0,0 +1,47 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a notification on events that occurred. +type NwdafEventsSubscriptionEventNotification struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` + FailNotifyCode NwdafFailureCode `json:"failNotifyCode,omitempty" yaml:"failNotifyCode" bson:"failNotifyCode,omitempty"` + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` + AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` + NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` + NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` + SliceLoadLevelInfo *SliceLoadLevelInformation `json:"sliceLoadLevelInfo,omitempty" yaml:"sliceLoadLevelInfo" bson:"sliceLoadLevelInfo,omitempty"` + SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` + QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` + UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` + UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` + UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` + AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` + NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` + DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` + DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` + RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` + WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` + SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` +} diff --git a/models/model_nwdaf_events_subscription_event_subscription.go b/models/model_nwdaf_events_subscription_event_subscription.go new file mode 100644 index 00000000..1cd7e252 --- /dev/null +++ b/models/model_nwdaf_events_subscription_event_subscription.go @@ -0,0 +1,67 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a subscription to a single event. +type NwdafEventsSubscriptionEventSubscription struct { + // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. + AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` + // Identification(s) of application to which the subscription applies. + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + // Identification(s) of DNN to which the subscription applies. + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + ExtraReportReq *EventReportingRequirement `json:"extraReportReq,omitempty" yaml:"extraReportReq" bson:"extraReportReq,omitempty"` + // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. + LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` + // Indicates that the NWDAF shall report the corresponding network slice load level to the NF service consumer where the load level of the network slice identified by snssais is reached. + LoadLevelThreshold int32 `json:"loadLevelThreshold,omitempty" yaml:"loadLevelThreshold" bson:"loadLevelThreshold,omitempty"` + NotificationMethod NwdafEventsSubscriptionNotificationMethod `json:"notificationMethod,omitempty" yaml:"notificationMethod" bson:"notificationMethod,omitempty"` + MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` + // Shall be supplied in order to start reporting when an average load level is reached. + NfLoadLvlThds []ThresholdLevel `json:"nfLoadLvlThds,omitempty" yaml:"nfLoadLvlThds" bson:"nfLoadLvlThds,omitempty"` + NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` + NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` + NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` + NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` + NsiLevelThrds []int32 `json:"nsiLevelThrds,omitempty" yaml:"nsiLevelThrds" bson:"nsiLevelThrds,omitempty"` + QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` + QosFlowRetThds []RetainabilityThreshold `json:"qosFlowRetThds,omitempty" yaml:"qosFlowRetThds" bson:"qosFlowRetThds,omitempty"` + RanUeThrouThds []string `json:"ranUeThrouThds,omitempty" yaml:"ranUeThrouThds" bson:"ranUeThrouThds,omitempty"` + // indicating a time in seconds. + RepetitionPeriod int32 `json:"repetitionPeriod,omitempty" yaml:"repetitionPeriod" bson:"repetitionPeriod,omitempty"` + // Identification(s) of network slice to which the subscription applies. It corresponds to snssais in the data model definition of 3GPP TS 29.520. + Snssaia []Snssai `json:"snssaia,omitempty" yaml:"snssaia" bson:"snssaia,omitempty"` + TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` + CongThresholds []ThresholdLevel `json:"congThresholds,omitempty" yaml:"congThresholds" bson:"congThresholds,omitempty"` + NwPerfRequs []NetworkPerfRequirement `json:"nwPerfRequs,omitempty" yaml:"nwPerfRequs" bson:"nwPerfRequs,omitempty"` + BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` + ExcepRequs []Exception `json:"excepRequs,omitempty" yaml:"excepRequs" bson:"excepRequs,omitempty"` + ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` + ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` + RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` + ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` + DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` + RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` + WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` + DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` +} diff --git a/models/model_nwdaf_events_subscription_location_info.go b/models/model_nwdaf_events_subscription_location_info.go new file mode 100644 index 00000000..eec77418 --- /dev/null +++ b/models/model_nwdaf_events_subscription_location_info.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents UE location information. +type NwdafEventsSubscriptionLocationInfo struct { + Loc *UserLocation `json:"loc" yaml:"loc" bson:"loc,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_nwdaf_events_subscription_nf_status.go b/models/model_nwdaf_events_subscription_nf_status.go new file mode 100644 index 00000000..e16e0829 --- /dev/null +++ b/models/model_nwdaf_events_subscription_nf_status.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the percentage of time spent on various NF states. +type NwdafEventsSubscriptionNfStatus struct { + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusRegistered int32 `json:"statusRegistered,omitempty" yaml:"statusRegistered" bson:"statusRegistered,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusUnregistered int32 `json:"statusUnregistered,omitempty" yaml:"statusUnregistered" bson:"statusUnregistered,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusUndiscoverable int32 `json:"statusUndiscoverable,omitempty" yaml:"statusUndiscoverable" bson:"statusUndiscoverable,omitempty"` +} diff --git a/models/model_nwdaf_events_subscription_notification_method.go b/models/model_nwdaf_events_subscription_notification_method.go new file mode 100644 index 00000000..f591e16e --- /dev/null +++ b/models/model_nwdaf_events_subscription_notification_method.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionNotificationMethod string + +// List of NwdafEventsSubscriptionNotificationMethod +const ( + NwdafEventsSubscriptionNotificationMethod_PERIODIC NwdafEventsSubscriptionNotificationMethod = "PERIODIC" + NwdafEventsSubscriptionNotificationMethod_THRESHOLD NwdafEventsSubscriptionNotificationMethod = "THRESHOLD" +) diff --git a/models/model_nwdaf_events_subscription_service_experience_info.go b/models/model_nwdaf_events_subscription_service_experience_info.go new file mode 100644 index 00000000..10ea6df1 --- /dev/null +++ b/models/model_nwdaf_events_subscription_service_experience_info.go @@ -0,0 +1,40 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents service experience information. +type NwdafEventsSubscriptionServiceExperienceInfo struct { + SvcExprc *SvcExperience `json:"svcExprc" yaml:"svcExprc" bson:"svcExprc,omitempty"` + // string with format 'float' as defined in OpenAPI. + SvcExprcVariance float32 `json:"svcExprcVariance,omitempty" yaml:"svcExprcVariance" bson:"svcExprcVariance,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + SrvExpcType ServiceExperienceType `json:"srvExpcType,omitempty" yaml:"srvExpcType" bson:"srvExpcType,omitempty"` + UeLocs []NwdafEventsSubscriptionLocationInfo `json:"ueLocs,omitempty" yaml:"ueLocs" bson:"ueLocs,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + AppServerInst *AddrFqdn `json:"appServerInst,omitempty" yaml:"appServerInst" bson:"appServerInst,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + RatFreq *RatFreqInformation `json:"ratFreq,omitempty" yaml:"ratFreq" bson:"ratFreq,omitempty"` +} diff --git a/models/model_nwdaf_failure_code.go b/models/model_nwdaf_failure_code.go new file mode 100644 index 00000000..b7232299 --- /dev/null +++ b/models/model_nwdaf_failure_code.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafFailureCode string + +// List of NwdafFailureCode +const ( + NwdafFailureCode_UNAVAILABLE_DATA NwdafFailureCode = "UNAVAILABLE_DATA" + NwdafFailureCode_BOTH_STAT_PRED_NOT_ALLOWED NwdafFailureCode = "BOTH_STAT_PRED_NOT_ALLOWED" + NwdafFailureCode_UNSATISFIED_REQUESTED_ANALYTICS_TIME NwdafFailureCode = "UNSATISFIED_REQUESTED_ANALYTICS_TIME" + NwdafFailureCode_OTHER NwdafFailureCode = "OTHER" +) diff --git a/models/model_nwdaf_info.go b/models/model_nwdaf_info.go new file mode 100644 index 00000000..b68fc2a3 --- /dev/null +++ b/models/model_nwdaf_info.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NWDAF NF Instance +type NwdafInfo struct { + EventIds []EventId `json:"eventIds,omitempty" yaml:"eventIds" bson:"eventIds,omitempty"` + NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NwdafCapability *NwdafCapability `json:"nwdafCapability,omitempty" yaml:"nwdafCapability" bson:"nwdafCapability,omitempty"` + // indicating a time in seconds. + AnalyticsDelay int32 `json:"analyticsDelay,omitempty" yaml:"analyticsDelay" bson:"analyticsDelay,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` +} diff --git a/models/model_nwdaf_ml_model_prov_notif.go b/models/model_nwdaf_ml_model_prov_notif.go new file mode 100644 index 00000000..9f27fb84 --- /dev/null +++ b/models/model_nwdaf_ml_model_prov_notif.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on events that occurred. +type NwdafMlModelProvNotif struct { + // Notifications about Individual Events. + EventNotifs []MlEventNotif `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // String identifying a subscription to the Nnwdaf_MLModelProvision Service. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` +} diff --git a/models/model_nwdaf_ml_model_prov_subsc.go b/models/model_nwdaf_ml_model_prov_subsc.go new file mode 100644 index 00000000..b3cf0a04 --- /dev/null +++ b/models/model_nwdaf_ml_model_prov_subsc.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents NWDAF Event Subscription resources. +type NwdafMlModelProvSubsc struct { + // Subscribed events + MLEventSubscs []MlEventSubscription `json:"mLEventSubscs" yaml:"mLEventSubscs" bson:"mLEventSubscs,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + MLEventNotifs []MlEventNotif `json:"mLEventNotifs,omitempty" yaml:"mLEventNotifs" bson:"mLEventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeats string `json:"suppFeats,omitempty" yaml:"suppFeats" bson:"suppFeats,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` + FailEventReports []FailureEventInfoForMlModel `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` +} diff --git a/models/model_nwdaf_ml_model_provision_failure_code.go b/models/model_nwdaf_ml_model_provision_failure_code.go new file mode 100644 index 00000000..58972d23 --- /dev/null +++ b/models/model_nwdaf_ml_model_provision_failure_code.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafMlModelProvisionFailureCode string + +// List of NwdafMLModelProvisionFailureCode +const ( + NwdafMlModelProvisionFailureCode_UNAVAILABLE_ML_MODEL NwdafMlModelProvisionFailureCode = "UNAVAILABLE_ML_MODEL" +) diff --git a/models/model_nwdaf_registration.go b/models/model_nwdaf_registration.go new file mode 100644 index 00000000..87695349 --- /dev/null +++ b/models/model_nwdaf_registration.go @@ -0,0 +1,32 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The complete set of information relevant to an NWDAF serving the UE +type NwdafRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_nwdaf_registration_info.go b/models/model_nwdaf_registration_info.go new file mode 100644 index 00000000..4957c0ce --- /dev/null +++ b/models/model_nwdaf_registration_info.go @@ -0,0 +1,18 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of NwdafRegistration +type NwdafRegistrationInfo struct { + NwdafRegistrationList []NwdafRegistration `json:"nwdafRegistrationList" yaml:"nwdafRegistrationList" bson:"nwdafRegistrationList,omitempty"` +} diff --git a/models/model_nwdaf_registration_modification.go b/models/model_nwdaf_registration_modification.go new file mode 100644 index 00000000..2059d798 --- /dev/null +++ b/models/model_nwdaf_registration_modification.go @@ -0,0 +1,24 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains attributes of NwdafRegistration that can be modified using PATCH +type NwdafRegistrationModification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_nwdaf_subscription.go b/models/model_nwdaf_subscription.go new file mode 100644 index 00000000..38ab69ea --- /dev/null +++ b/models/model_nwdaf_subscription.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual NWDAF subscription identified by the subscription Id. +type NwdafSubscription struct { + // String providing an URI formatted according to RFC 3986. + NwdafEvtSubsServiceUri string `json:"nwdafEvtSubsServiceUri" yaml:"nwdafEvtSubsServiceUri" bson:"nwdafEvtSubsServiceUri,omitempty"` + NwdafEventsSubscription *NnwdafEventsSubscription `json:"nwdafEventsSubscription" yaml:"nwdafEventsSubscription" bson:"nwdafEventsSubscription,omitempty"` +} diff --git a/models/model_observed_redundant_trans_exp.go b/models/model_observed_redundant_trans_exp.go new file mode 100644 index 00000000..efe072dd --- /dev/null +++ b/models/model_observed_redundant_trans_exp.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the observed redundant transmission experience related information. +type ObservedRedundantTransExp struct { + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPktDropRateUl int32 `json:"avgPktDropRateUl,omitempty" yaml:"avgPktDropRateUl" bson:"avgPktDropRateUl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDropRateUl float32 `json:"varPktDropRateUl,omitempty" yaml:"varPktDropRateUl" bson:"varPktDropRateUl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPktDropRateDl int32 `json:"avgPktDropRateDl,omitempty" yaml:"avgPktDropRateDl" bson:"avgPktDropRateDl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDropRateDl float32 `json:"varPktDropRateDl,omitempty" yaml:"varPktDropRateDl" bson:"varPktDropRateDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPktDelayUl int32 `json:"avgPktDelayUl,omitempty" yaml:"avgPktDelayUl" bson:"avgPktDelayUl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDelayUl float32 `json:"varPktDelayUl,omitempty" yaml:"varPktDelayUl" bson:"varPktDelayUl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPktDelayDl int32 `json:"avgPktDelayDl,omitempty" yaml:"avgPktDelayDl" bson:"avgPktDelayDl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDelayDl float32 `json:"varPktDelayDl,omitempty" yaml:"varPktDelayDl" bson:"varPktDelayDl,omitempty"` +} diff --git a/models/model_occurrence_info.go b/models/model_occurrence_info.go new file mode 100644 index 00000000..642c2747 --- /dev/null +++ b/models/model_occurrence_info.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OccurrenceInfo string + +// List of OccurrenceInfo +const ( + OccurrenceInfo_ONE_TIME_EVENT OccurrenceInfo = "ONE_TIME_EVENT" + OccurrenceInfo_MULTIPLE_TIME_EVENT OccurrenceInfo = "MULTIPLE_TIME_EVENT" +) diff --git a/models/model_odb_data.go b/models/model_odb_data.go index a93a4359..bc2cfafa 100644 --- a/models/model_odb_data.go +++ b/models/model_odb_data.go @@ -1,15 +1,18 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains information regarding operater determined barring. type OdbData struct { - RoamingOdb RoamingOdb `json:"roamingOdb,omitempty" bson:"roamingOdb"` - OdbPacketServices OdbPacketServices `json:"odbPacketServices,omitempty" bson:"odbPacketServices"` + RoamingOdb RoamingOdb `json:"roamingOdb,omitempty" yaml:"roamingOdb" bson:"roamingOdb,omitempty"` } diff --git a/models/model_odb_packet_services.go b/models/model_odb_packet_services.go index f928ff34..59e161c6 100644 --- a/models/model_odb_packet_services.go +++ b/models/model_odb_packet_services.go @@ -1,19 +1,16 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type OdbPacketServices string - -// List of OdbPacketServices -const ( - OdbPacketServices_ALL_PACKET_SERVICES OdbPacketServices = "ALL_PACKET_SERVICES" - OdbPacketServices_ROAMER_ACCESS_HPLMN_AP OdbPacketServices = "ROAMER_ACCESS_HPLMN_AP" - OdbPacketServices_ROAMER_ACCESS_VPLMN_AP OdbPacketServices = "ROAMER_ACCESS_VPLMN_AP" -) +type OdbPacketServices struct { +} diff --git a/models/model_one_time_event_type.go b/models/model_one_time_event_type.go index a668a226..0c32d423 100644 --- a/models/model_one_time_event_type.go +++ b/models/model_one_time_event_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_op.go b/models/model_op.go deleted file mode 100644 index a91a6622..00000000 --- a/models/model_op.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Op struct { - OpValue string `json:"opValue" bson:"opValue"` - EncryptionKey int32 `json:"encryptionKey" bson:"encryptionKey"` - EncryptionAlgorithm int32 `json:"encryptionAlgorithm" bson:"encryptionAlgorithm"` -} diff --git a/models/model_op_event_type.go b/models/model_op_event_type.go new file mode 100644 index 00000000..66ae476b --- /dev/null +++ b/models/model_op_event_type.go @@ -0,0 +1,21 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OpEventType string + +// List of OpEventType +const ( + OpEventType_AMF_CHANGE OpEventType = "AMF_CHANGE" + OpEventType_NG_RAN_EVENT OpEventType = "NG_RAN_EVENT" +) diff --git a/models/model_opc.go b/models/model_opc.go deleted file mode 100644 index 63fb549b..00000000 --- a/models/model_opc.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Opc struct { - OpcValue string `json:"opcValue" bson:"opcValue"` - EncryptionKey int32 `json:"encryptionKey" bson:"encryptionKey"` - EncryptionAlgorithm int32 `json:"encryptionAlgorithm" bson:"encryptionAlgorithm"` -} diff --git a/models/model_operation_event.go b/models/model_operation_event.go new file mode 100644 index 00000000..551a884d --- /dev/null +++ b/models/model_operation_event.go @@ -0,0 +1,21 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Operation Event for a Broadcast MBS Session. +type OperationEvent struct { + OpEventType OpEventType `json:"opEventType" yaml:"opEventType" bson:"opEventType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + NgranFailureEventList []NgranFailureEvent `json:"ngranFailureEventList,omitempty" yaml:"ngranFailureEventList" bson:"ngranFailureEventList,omitempty"` +} diff --git a/models/model_operation_mode.go b/models/model_operation_mode.go new file mode 100644 index 00000000..73210dfb --- /dev/null +++ b/models/model_operation_mode.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationMode string + +// List of OperationMode +const ( + OperationMode_WB_S1 OperationMode = "WB_S1" + OperationMode_NB_S1 OperationMode = "NB_S1" + OperationMode_WB_N1 OperationMode = "WB_N1" + OperationMode_NB_N1 OperationMode = "NB_N1" + OperationMode_NR_N1 OperationMode = "NR_N1" +) diff --git a/models/model_operation_status.go b/models/model_operation_status.go new file mode 100644 index 00000000..38042b16 --- /dev/null +++ b/models/model_operation_status.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationStatus string + +// List of OperationStatus +const ( + OperationStatus_START_COMPLETE OperationStatus = "MBS_SESSION_START_COMPLETE" + OperationStatus_START_INCOMPLETE OperationStatus = "MBS_SESSION_START_INCOMPLETE" + OperationStatus_UPDATE_COMPLETE OperationStatus = "MBS_SESSION_UPDATE_COMPLETE" + OperationStatus_UPDATE_INCOMPLETE OperationStatus = "MBS_SESSION_UPDATE_INCOMPLETE" +) diff --git a/models/model_operational_state.go b/models/model_operational_state.go new file mode 100644 index 00000000..d0c6cc8c --- /dev/null +++ b/models/model_operational_state.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationalState string + +// List of OperationalState +const ( + OperationalState_ENABLED OperationalState = "ENABLED" + OperationalState_DISABLED OperationalState = "DISABLED" +) diff --git a/models/model_operator_determined_barring_data.go b/models/model_operator_determined_barring_data.go deleted file mode 100644 index 310afa94..00000000 --- a/models/model_operator_determined_barring_data.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OperatorDeterminedBarringData struct { - RoamingOdb RoamingOdb `json:"roamingOdb,omitempty" bson:"roamingOdb"` - OdbPacketServices OdbPacketServices `json:"odbPacketServices,omitempty" bson:"odbPacketServices"` -} diff --git a/models/model_operator_specific_data_container.go b/models/model_operator_specific_data_container.go index 949f37d0..ecb8bfd1 100644 --- a/models/model_operator_specific_data_container.go +++ b/models/model_operator_specific_data_container.go @@ -1,17 +1,23 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Container for operator specific data. type OperatorSpecificDataContainer struct { - StringTypeElements map[string]string `json:"StringTypeElements,omitempty" bson:"StringTypeElements"` - IntegerTypeElements map[string]int32 `json:"IntegerTypeElements,omitempty" bson:"IntegerTypeElements"` - NumberTypeElements map[string]float32 `json:"NumberTypeElements,omitempty" bson:"NumberTypeElements"` - BooleanTypeElements map[string]bool `json:"BooleanTypeElements,omitempty" bson:"BooleanTypeElements"` + DataType string `json:"dataType" yaml:"dataType" bson:"dataType,omitempty"` + DataTypeDefinition string `json:"dataTypeDefinition,omitempty" yaml:"dataTypeDefinition" bson:"dataTypeDefinition,omitempty"` + Value interface{} `json:"value" yaml:"value" bson:"value,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_options_response.go b/models/model_options_response.go new file mode 100644 index 00000000..4e5f4039 --- /dev/null +++ b/models/model_options_response.go @@ -0,0 +1,19 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Communication options of the NRF sent in response payload of OPTIONS method +type OptionsResponse struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_originator_info.go b/models/model_originator_info.go index f3ded8cc..1c1cde9a 100644 --- a/models/model_originator_info.go +++ b/models/model_originator_info.go @@ -1,20 +1,25 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type OriginatorInfo struct { - OriginatorSUPI string `json:"originatorSUPI,omitempty" yaml:"originatorSUPI" bson:"originatorSUPI" mapstructure:"OriginatorSUPI"` - OriginatorGPSI string `json:"originatorGPSI,omitempty" yaml:"originatorGPSI" bson:"originatorGPSI" mapstructure:"OriginatorGPSI"` - OriginatorOtherAddress *SmAddressInfo `json:"originatorOtherAddress,omitempty" yaml:"originatorOtherAddress" bson:"originatorOtherAddress" mapstructure:"OriginatorOtherAddress"` - OriginatorReceivedAddress *SmAddressInfo `json:"originatorReceivedAddress,omitempty" yaml:"originatorReceivedAddress" bson:"originatorReceivedAddress" mapstructure:"OriginatorReceivedAddress"` - OriginatorSCCPAddress string `json:"originatorSCCPAddress,omitempty" yaml:"originatorSCCPAddress" bson:"originatorSCCPAddress" mapstructure:"OriginatorSCCPAddress"` - SMOriginatorInterface *SmInterface `json:"sMOriginatorInterface,omitempty" yaml:"sMOriginatorInterface" bson:"sMOriginatorInterface" mapstructure:"SMOriginatorInterface"` - SMOriginatorProtocolId string `json:"sMOriginatorProtocolId,omitempty" yaml:"sMOriginatorProtocolId" bson:"sMOriginatorProtocolId" mapstructure:"SMOriginatorProtocolId"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + OriginatorSUPI string `json:"originatorSUPI,omitempty" yaml:"originatorSUPI" bson:"originatorSUPI,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + OriginatorGPSI string `json:"originatorGPSI,omitempty" yaml:"originatorGPSI" bson:"originatorGPSI,omitempty"` + OriginatorOtherAddress *SmAddressInfo `json:"originatorOtherAddress,omitempty" yaml:"originatorOtherAddress" bson:"originatorOtherAddress,omitempty"` + OriginatorReceivedAddress *SmAddressInfo `json:"originatorReceivedAddress,omitempty" yaml:"originatorReceivedAddress" bson:"originatorReceivedAddress,omitempty"` + OriginatorSCCPAddress string `json:"originatorSCCPAddress,omitempty" yaml:"originatorSCCPAddress" bson:"originatorSCCPAddress,omitempty"` + SMOriginatorInterface *SmInterface `json:"sMOriginatorInterface,omitempty" yaml:"sMOriginatorInterface" bson:"sMOriginatorInterface,omitempty"` + SMOriginatorProtocolId string `json:"sMOriginatorProtocolId,omitempty" yaml:"sMOriginatorProtocolId" bson:"sMOriginatorProtocolId,omitempty"` } diff --git a/models/model_originator_party_type.go b/models/model_originator_party_type.go new file mode 100644 index 00000000..a1539266 --- /dev/null +++ b/models/model_originator_party_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OriginatorPartyType string + +// List of OriginatorPartyType +const ( + OriginatorPartyType_CALLING OriginatorPartyType = "CALLING" + OriginatorPartyType_CALLED OriginatorPartyType = "CALLED" +) diff --git a/models/model_out_of_credit_information.go b/models/model_out_of_credit_information.go new file mode 100644 index 00000000..5370a1c6 --- /dev/null +++ b/models/model_out_of_credit_information.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the SDFs without available credit and the corresponding termination action. +type OutOfCreditInformation struct { + FinUnitAct FinalUnitAction `json:"finUnitAct" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/model_output_strategy.go b/models/model_output_strategy.go new file mode 100644 index 00000000..3ae4aec5 --- /dev/null +++ b/models/model_output_strategy.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OutputStrategy string + +// List of OutputStrategy +const ( + OutputStrategy_BINARY OutputStrategy = "BINARY" + OutputStrategy_GRADIENT OutputStrategy = "GRADIENT" +) diff --git a/models/model_packet_filter_info.go b/models/model_packet_filter_info.go index 35a1ecfb..7ed8b6bd 100644 --- a/models/model_packet_filter_info.go +++ b/models/model_packet_filter_info.go @@ -1,24 +1,28 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the information from a single packet filter sent from the SMF to the PCF. type PacketFilterInfo struct { // An identifier of packet filter. - PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId" mapstructure:"PackFiltId"` - // Defines a packet filter for an IP flow.Refer to subclause 5.3.54 of 3GPP TS 29.212 [23] for encoding. - PackFiltCont string `json:"packFiltCont,omitempty" yaml:"packFiltCont" bson:"packFiltCont" mapstructure:"PackFiltCont"` + PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` + // Defines a packet filter for an IP flow. + PackFiltCont string `json:"packFiltCont,omitempty" yaml:"packFiltCont" bson:"packFiltCont,omitempty"` // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. - TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass" mapstructure:"TosTrafficClass"` + TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` // The security parameter index of the IPSec packet. - Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi" mapstructure:"Spi"` + Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` // The Ipv6 flow label header field. - FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel" mapstructure:"FlowLabel"` - FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection" mapstructure:"FlowDirection"` + FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` } diff --git a/models/model_packet_filter_operation.go b/models/model_packet_filter_operation.go deleted file mode 100644 index 6f27ab8e..00000000 --- a/models/model_packet_filter_operation.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PacketFilterOperation string - -// List of PacketFilterOperation -const ( - DELETIONPacketFilterOperation PacketFilterOperation = "DELETION" - ADDITIONPacketFilterOperation PacketFilterOperation = "ADDITION" - MODIFICATIONPacketFilterOperation PacketFilterOperation = "MODIFICATION" -) diff --git a/models/model_parameter_combination.go b/models/model_parameter_combination.go deleted file mode 100644 index b49bac29..00000000 --- a/models/model_parameter_combination.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ParameterCombination struct { - Supi string `json:"supi,omitempty" bson:"supi"` - - Dnn string `json:"dnn,omitempty" bson:"dnn"` - - Snssai *Snssai `json:"snssai,omitempty" bson:"snssai"` -} diff --git a/models/model_parameter_processing_instruction.go b/models/model_parameter_processing_instruction.go new file mode 100644 index 00000000..3cfaf410 --- /dev/null +++ b/models/model_parameter_processing_instruction.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an event parameter name and the respective event parameter values and sets of attributes to be used in summarized reports. +type ParameterProcessingInstruction struct { + // A JSON pointer value that references an attribute within the notification object to which the processing instruction is applied. + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // A list of values for the attribute identified by the name attribute. + Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` + // Attributes requested to be used in the summarized reports. + SumAttrs []SummarizationAttribute `json:"sumAttrs" yaml:"sumAttrs" bson:"sumAttrs,omitempty"` + AggrLevel AggregationLevel `json:"aggrLevel,omitempty" yaml:"aggrLevel" bson:"aggrLevel,omitempty"` + // Indicates the UEs for which processed reports are requested. + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + // Indicates the Areas of Interest for which processed reports are requested. + Areas []NetworkAreaInfo `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` +} diff --git a/models/model_partial_record_method.go b/models/model_partial_record_method.go index 17c2629b..e2194e6a 100644 --- a/models/model_partial_record_method.go +++ b/models/model_partial_record_method.go @@ -1,9 +1,12 @@ /* - * Nsmf_PDUSession + * Nchf_OfflineOnlyCharging * - * SMF PDU Session Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_partial_success_report.go b/models/model_partial_success_report.go index d714970d..325ec1f3 100644 --- a/models/model_partial_success_report.go +++ b/models/model_partial_success_report.go @@ -1,17 +1,27 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Includes the information reported by the SMF when some of the PCC rules and/or session rules are not successfully installed/activated. type PartialSuccessReport struct { - FailureCause FailureCause `json:"failureCause" yaml:"failureCause" bson:"failureCause" mapstructure:"FailureCause"` + FailureCause PcfSmPolicyControlFailureCause `json:"failureCause" yaml:"failureCause" bson:"failureCause,omitempty"` // Information about the PCC rules provisioned by the PCF not successfully installed/activated. - RuleReports []RuleReport `json:"ruleReports" yaml:"ruleReports" bson:"ruleReports" mapstructure:"RuleReports"` - UeCampingRep *UeCampingRep `json:"ueCampingRep,omitempty" yaml:"ueCampingRep" bson:"ueCampingRep" mapstructure:"UeCampingRep"` + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` + // Information about the session rules provisioned by the PCF not successfully installed. + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` + UeCampingRep *UeCampingRep `json:"ueCampingRep,omitempty" yaml:"ueCampingRep" bson:"ueCampingRep,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` } diff --git a/models/model_participant_action_type.go b/models/model_participant_action_type.go new file mode 100644 index 00000000..ece49d24 --- /dev/null +++ b/models/model_participant_action_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ParticipantActionType string + +// List of ParticipantActionType +const ( + ParticipantActionType_CREATE ParticipantActionType = "CREATE" + ParticipantActionType_JOIN ParticipantActionType = "JOIN" + ParticipantActionType_INVITE_INTO ParticipantActionType = "INVITE_INTO" + ParticipantActionType_QUIT ParticipantActionType = "QUIT" +) diff --git a/models/model_partitioning_criteria.go b/models/model_partitioning_criteria.go new file mode 100644 index 00000000..c0dd0d11 --- /dev/null +++ b/models/model_partitioning_criteria.go @@ -0,0 +1,24 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PartitioningCriteria string + +// List of PartitioningCriteria +const ( + PartitioningCriteria_TAC PartitioningCriteria = "TAC" + PartitioningCriteria_SUBPLMN PartitioningCriteria = "SUBPLMN" + PartitioningCriteria_GEOAREA PartitioningCriteria = "GEOAREA" + PartitioningCriteria_SNSSAI PartitioningCriteria = "SNSSAI" + PartitioningCriteria_DNN PartitioningCriteria = "DNN" +) diff --git a/models/model_patch_bdt_policy.go b/models/model_patch_bdt_policy.go new file mode 100644 index 00000000..1985cf80 --- /dev/null +++ b/models/model_patch_bdt_policy.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the updates in authorization data of an Individual BDT Policy created by the PCF. +type PatchBdtPolicy struct { + BdtPolData *PcfBdtPolicyControlBdtPolicyDataPatch `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` + BdtReqData *BdtReqDataPatch `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` +} diff --git a/models/model_patch_item.go b/models/model_patch_item.go index 2689da50..84da486a 100644 --- a/models/model_patch_item.go +++ b/models/model_patch_item.go @@ -1,17 +1,23 @@ /* - * NRF NFManagement Service + * Nhss_imsSDM * - * NRF NFManagement Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// it contains information on data to be changed. type PatchItem struct { - Op PatchOperation `json:"op" yaml:"op" bson:"op" mapstructure:"Op"` - Path string `json:"path" yaml:"path" bson:"path" mapstructure:"Path"` - From string `json:"from,omitempty" yaml:"from" bson:"from" mapstructure:"From"` - Value interface{} `json:"value,omitempty" yaml:"value" bson:"value" mapstructure:"Value"` + Op PatchOperation `json:"op" yaml:"op" bson:"op,omitempty"` + // contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource on which the patch operation shall be performed. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. + From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` + Value interface{} `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` } diff --git a/models/model_patch_operation.go b/models/model_patch_operation.go index f90488eb..591e5813 100644 --- a/models/model_patch_operation.go +++ b/models/model_patch_operation.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nhss_imsSDM * - * NRF NFManagement Service + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_patch_result.go b/models/model_patch_result.go new file mode 100644 index 00000000..920f2dd4 --- /dev/null +++ b/models/model_patch_result.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The execution report result on failed modification. +type PatchResult struct { + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` +} diff --git a/models/model_pc5_capability.go b/models/model_pc5_capability.go new file mode 100644 index 00000000..4686f51b --- /dev/null +++ b/models/model_pc5_capability.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pc5Capability string + +// List of Pc5Capability +const ( + Pc5Capability_LTE_PC5 Pc5Capability = "LTE_PC5" + Pc5Capability_NR_PC5 Pc5Capability = "NR_PC5" + Pc5Capability_LTE_NR_PC5 Pc5Capability = "LTE_NR_PC5" +) diff --git a/models/model_pc5_container_information.go b/models/model_pc5_container_information.go new file mode 100644 index 00000000..d7f6e200 --- /dev/null +++ b/models/model_pc5_container_information.go @@ -0,0 +1,27 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Pc5ContainerInformation struct { + CoverageInfoList []CoverageInfo `json:"coverageInfoList,omitempty" yaml:"coverageInfoList" bson:"coverageInfoList,omitempty"` + RadioParameterSetInfoList []RadioParameterSetInfo `json:"radioParameterSetInfoList,omitempty" yaml:"radioParameterSetInfoList" bson:"radioParameterSetInfoList,omitempty"` + TransmitterInfoList []TransmitterInfo `json:"transmitterInfoList,omitempty" yaml:"transmitterInfoList" bson:"transmitterInfoList,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfFirstTransmission *time.Time `json:"timeOfFirst Transmission,omitempty" yaml:"timeOfFirst Transmission" bson:"timeOfFirst Transmission,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfFirstReception *time.Time `json:"timeOfFirst Reception,omitempty" yaml:"timeOfFirst Reception" bson:"timeOfFirst Reception,omitempty"` +} diff --git a/models/model_pc5_data_container.go b/models/model_pc5_data_container.go new file mode 100644 index 00000000..9f7f49a0 --- /dev/null +++ b/models/model_pc5_data_container.go @@ -0,0 +1,31 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Pc5DataContainer struct { + LocalSequenceNumber string `json:"localSequenceNumber,omitempty" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DataVolume int32 `json:"dataVolume,omitempty" yaml:"dataVolume" bson:"dataVolume,omitempty"` + ChangeCondition string `json:"changeCondition,omitempty" yaml:"changeCondition" bson:"changeCondition,omitempty"` + RadioResourcesId RadioResourcesId `json:"radioResourcesId,omitempty" yaml:"radioResourcesId" bson:"radioResourcesId,omitempty"` + RadioFrequency string `json:"radioFrequency,omitempty" yaml:"radioFrequency" bson:"radioFrequency,omitempty"` + PC5RadioTechnology string `json:"pC5RadioTechnology,omitempty" yaml:"pC5RadioTechnology" bson:"pC5RadioTechnology,omitempty"` +} diff --git a/models/model_pc5_flow_bit_rates.go b/models/model_pc5_flow_bit_rates.go new file mode 100644 index 00000000..f4134c62 --- /dev/null +++ b/models/model_pc5_flow_bit_rates.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// it shall represent the PC5 Flow Bit Rates +type Pc5FlowBitRates struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbr string `json:"guaFbr,omitempty" yaml:"guaFbr" bson:"guaFbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbr string `json:"maxFbr,omitempty" yaml:"maxFbr" bson:"maxFbr,omitempty"` +} diff --git a/models/model_pc5_qo_s_para.go b/models/model_pc5_qo_s_para.go new file mode 100644 index 00000000..4cdc0d92 --- /dev/null +++ b/models/model_pc5_qo_s_para.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains policy data on the PC5 QoS parameters. +type Pc5QoSPara struct { + Pc5QosFlowList []Pc5QosFlowItem `json:"pc5QosFlowList" yaml:"pc5QosFlowList" bson:"pc5QosFlowList,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Pc5LinkAmbr string `json:"pc5LinkAmbr,omitempty" yaml:"pc5LinkAmbr" bson:"pc5LinkAmbr,omitempty"` +} diff --git a/models/model_pc5_qos_flow_item.go b/models/model_pc5_qos_flow_item.go new file mode 100644 index 00000000..a9b20d2b --- /dev/null +++ b/models/model_pc5_qos_flow_item.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a PC5 QOS flow. +type Pc5QosFlowItem struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Pqi int32 `json:"pqi" yaml:"pqi" bson:"pqi,omitempty"` + Pc5FlowBitRates *Pc5FlowBitRates `json:"pc5FlowBitRates,omitempty" yaml:"pc5FlowBitRates" bson:"pc5FlowBitRates,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Range int32 `json:"range,omitempty" yaml:"range" bson:"range,omitempty"` +} diff --git a/models/model_pc_event.go b/models/model_pc_event.go new file mode 100644 index 00000000..adbc56bc --- /dev/null +++ b/models/model_pc_event.go @@ -0,0 +1,25 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcEvent string + +// List of PcEvent +const ( + PcEvent_AC_TY_CH PcEvent = "AC_TY_CH" + PcEvent_PLMN_CH PcEvent = "PLMN_CH" + PcEvent_SAC_CH PcEvent = "SAC_CH" + PcEvent_SAT_CATEGORY_CH PcEvent = "SAT_CATEGORY_CH" + PcEvent_SUCCESS_UE_POL_DEL_SP PcEvent = "SUCCESS_UE_POL_DEL_SP" + PcEvent_UNSUCCESS_UE_POL_DEL_SP PcEvent = "UNSUCCESS_UE_POL_DEL_SP" +) diff --git a/models/model_pc_event_exposure_notif.go b/models/model_pc_event_exposure_notif.go new file mode 100644 index 00000000..47b155b4 --- /dev/null +++ b/models/model_pc_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications about Policy Control events related to an Individual Policy Events Subscription resource. +type PcEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []PcEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/model_pc_event_exposure_subsc.go b/models/model_pc_event_exposure_subsc.go new file mode 100644 index 00000000..8bac63aa --- /dev/null +++ b/models/model_pc_event_exposure_subsc.go @@ -0,0 +1,31 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Policy Events Subscription resource. +type PcEventExposureSubsc struct { + EventSubs []PcEvent `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + FilterDnns []string `json:"filterDnns,omitempty" yaml:"filterDnns" bson:"filterDnns,omitempty"` + FilterSnssais []Snssai `json:"filterSnssais,omitempty" yaml:"filterSnssais" bson:"filterSnssais,omitempty"` + SnssaiDnns []SnssaiDnnCombination `json:"snssaiDnns,omitempty" yaml:"snssaiDnns" bson:"snssaiDnns,omitempty"` + FilterServices []ServiceIdentification `json:"filterServices,omitempty" yaml:"filterServices" bson:"filterServices,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []PcEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pc_event_notification.go b/models/model_pc_event_notification.go new file mode 100644 index 00000000..e12c826c --- /dev/null +++ b/models/model_pc_event_notification.go @@ -0,0 +1,39 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the information reported for a Policy Control event. +type PcEventNotification struct { + Event PcEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + PduSessionInfo *PcfEventExposurePduSessionInformation `json:"pduSessionInfo,omitempty" yaml:"pduSessionInfo" bson:"pduSessionInfo,omitempty"` + RepServices *ServiceIdentification `json:"repServices,omitempty" yaml:"repServices" bson:"repServices,omitempty"` + DelivFailure *Failure `json:"delivFailure,omitempty" yaml:"delivFailure" bson:"delivFailure,omitempty"` +} diff --git a/models/model_pcc_rule.go b/models/model_pcc_rule.go index 9a0bf9a4..5ee7984c 100644 --- a/models/model_pcc_rule.go +++ b/models/model_pcc_rule.go @@ -1,35 +1,62 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a PCC rule information. type PccRule struct { // An array of IP flow packet filter information. - FlowInfos []FlowInformation `json:"flowInfos,omitempty" yaml:"flowInfos" bson:"flowInfos" mapstructure:"FlowInfos"` + FlowInfos []FlowInformation `json:"flowInfos,omitempty" yaml:"flowInfos" bson:"flowInfos,omitempty"` // A reference to the application detection filter configured at the UPF. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId" mapstructure:"AppId"` + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + AppDescriptor string `json:"appDescriptor,omitempty" yaml:"appDescriptor" bson:"appDescriptor,omitempty"` // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer" mapstructure:"ContVer"` + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` // Univocally identifies the PCC rule within a PDU session. - PccRuleId string `json:"pccRuleId" yaml:"pccRuleId" bson:"pccRuleId" mapstructure:"PccRuleId"` - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence" mapstructure:"Precedence"` - AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol" mapstructure:"AfSigProtocol"` + PccRuleId string `json:"pccRuleId" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` // Indication of application relocation possibility. - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc" mapstructure:"AppReloc"` - // A reference to the QoSData policy type decision type. It is the qosId described in subclause 5.6.2.8. (NOTE) - RefQosData []string `json:"refQosData,omitempty" yaml:"refQosData" bson:"refQosData" mapstructure:"RefQosData"` - // A reference to the TrafficControlData policy decision type. It is the tcId described in subclause 5.6.2.10. (NOTE) - RefTcData []string `json:"refTcData,omitempty" yaml:"refTcData" bson:"refTcData" mapstructure:"RefTcData"` - // A reference to the ChargingData policy decision type. It is the chgId described in subclause 5.6.2.11. (NOTE) - RefChgData []string `json:"refChgData,omitempty" yaml:"refChgData" bson:"refChgData" mapstructure:"RefChgData"` - // A reference to UsageMonitoringData policy decision type. It is the umId described in subclause 5.6.2.12. (NOTE) - RefUmData []string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData" mapstructure:"RefUmData"` - // A reference to the condition data. It is the condId described in subclause 5.6.2.9. - RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData" mapstructure:"RefCondData"` + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // A reference to the QosData policy decision type. It is the qosId described in clause 5.6.2.8. + RefQosData []string `json:"refQosData,omitempty" yaml:"refQosData" bson:"refQosData,omitempty"` + // A Reference to the QosData policy decision type for the Alternative QoS parameter sets of the service data flow. + RefAltQosParams []string `json:"refAltQosParams,omitempty" yaml:"refAltQosParams" bson:"refAltQosParams,omitempty"` + // A reference to the TrafficControlData policy decision type. It is the tcId described in clause 5.6.2.10. + RefTcData []string `json:"refTcData,omitempty" yaml:"refTcData" bson:"refTcData,omitempty"` + // A reference to the ChargingData policy decision type. It is the chgId described in clause 5.6.2.11. + RefChgData []string `json:"refChgData,omitempty" yaml:"refChgData" bson:"refChgData,omitempty"` + // A reference to the ChargingData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the chgId described in clause 5.6.2.11. + RefChgN3gData []string `json:"refChgN3gData,omitempty" yaml:"refChgN3gData" bson:"refChgN3gData,omitempty"` + // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. + RefUmData []string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` + // A reference to UsageMonitoringData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the umId described in clause 5.6.2.12. + RefUmN3gData []string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` + // A reference to the condition data. It is the condId described in clause 5.6.2.9. + RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` + // A reference to the QosMonitoringData policy decision type. It is the qmId described in clause 5.6.2.40. + RefQosMon []string `json:"refQosMon,omitempty" yaml:"refQosMon" bson:"refQosMon,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + DdNotifCtrl *DownlinkDataNotificationControl `json:"ddNotifCtrl,omitempty" yaml:"ddNotifCtrl" bson:"ddNotifCtrl,omitempty"` + DdNotifCtrl2 *DownlinkDataNotificationControlRm `json:"ddNotifCtrl2,omitempty" yaml:"ddNotifCtrl2" bson:"ddNotifCtrl2,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PackFiltAllPrec int32 `json:"packFiltAllPrec,omitempty" yaml:"packFiltAllPrec" bson:"packFiltAllPrec,omitempty"` } diff --git a/models/model_pcf_addressing_info.go b/models/model_pcf_addressing_info.go new file mode 100644 index 00000000..955a7010 --- /dev/null +++ b/models/model_pcf_addressing_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains PCF address information. +type PcfAddressingInfo struct { + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // contains the binding indications of the PCF. + BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_as_time_distribution_param.go b/models/model_pcf_am_policy_control_as_time_distribution_param.go new file mode 100644 index 00000000..00a8fe1d --- /dev/null +++ b/models/model_pcf_am_policy_control_as_time_distribution_param.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the 5G acess stratum time distribution parameters. +type PcfAmPolicyControlAsTimeDistributionParam struct { + AsTimeDistInd bool `json:"asTimeDistInd,omitempty" yaml:"asTimeDistInd" bson:"asTimeDistInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + UuErrorBudget int32 `json:"uuErrorBudget,omitempty" yaml:"uuErrorBudget" bson:"uuErrorBudget,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_policy_association.go b/models/model_pcf_am_policy_control_policy_association.go new file mode 100644 index 00000000..6d3e824f --- /dev/null +++ b/models/model_pcf_am_policy_control_policy_association.go @@ -0,0 +1,37 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an individual AM Policy Association resource. +type PcfAmPolicyControlPolicyAssociation struct { + Request *PcfAmPolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN as part of the AMF Access and Mobility Policy as determined by the PCF. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_policy_association_request.go b/models/model_pcf_am_policy_control_policy_association_request.go new file mode 100644 index 00000000..0b862ebc --- /dev/null +++ b/models/model_pcf_am_policy_control_policy_association_request.go @@ -0,0 +1,61 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information which the NF service consumer provides when requesting the creation of a policy association. The serviveName property corresponds to the serviceName in the main body of the specification. +type PcfAmPolicyControlPolicyAssociationRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // The subscribed UE Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided when available. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of target S-NSSAIs. + TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_policy_association_update_request.go b/models/model_pcf_am_policy_control_policy_association_update_request.go new file mode 100644 index 00000000..77119ded --- /dev/null +++ b/models/model_pcf_am_policy_control_policy_association_update_request.go @@ -0,0 +1,51 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information that the NF service consumer provides when requesting the update of a policy association. +type PcfAmPolicyControlPolicyAssociationUpdateRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // The subscribed UE-Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided for the \"UE_SLICE_MBR_CH\" policy control request trigger. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of target S-NSSAIs. + TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_policy_update.go b/models/model_pcf_am_policy_control_policy_update.go new file mode 100644 index 00000000..80039f5e --- /dev/null +++ b/models/model_pcf_am_policy_control_policy_update.go @@ -0,0 +1,36 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents updated policies that the PCF provides in a notification or in a reply to an Update Request. +type PcfAmPolicyControlPolicyUpdate struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN the allowed NSSAI as part of the AMF Access and Mobility Policy as determined by the PCF. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/model_pcf_am_policy_control_request_trigger.go b/models/model_pcf_am_policy_control_request_trigger.go new file mode 100644 index 00000000..10e9d3db --- /dev/null +++ b/models/model_pcf_am_policy_control_request_trigger.go @@ -0,0 +1,30 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfAmPolicyControlRequestTrigger string + +// List of PcfAMPolicyControlRequestTrigger +const ( + PcfAmPolicyControlRequestTrigger_LOC_CH PcfAmPolicyControlRequestTrigger = "LOC_CH" + PcfAmPolicyControlRequestTrigger_PRA_CH PcfAmPolicyControlRequestTrigger = "PRA_CH" + PcfAmPolicyControlRequestTrigger_SERV_AREA_CH PcfAmPolicyControlRequestTrigger = "SERV_AREA_CH" + PcfAmPolicyControlRequestTrigger_RFSP_CH PcfAmPolicyControlRequestTrigger = "RFSP_CH" + PcfAmPolicyControlRequestTrigger_ALLOWED_NSSAI_CH PcfAmPolicyControlRequestTrigger = "ALLOWED_NSSAI_CH" + PcfAmPolicyControlRequestTrigger_UE_AMBR_CH PcfAmPolicyControlRequestTrigger = "UE_AMBR_CH" + PcfAmPolicyControlRequestTrigger_UE_SLICE_MBR_CH PcfAmPolicyControlRequestTrigger = "UE_SLICE_MBR_CH" + PcfAmPolicyControlRequestTrigger_SMF_SELECT_CH PcfAmPolicyControlRequestTrigger = "SMF_SELECT_CH" + PcfAmPolicyControlRequestTrigger_ACCESS_TYPE_CH PcfAmPolicyControlRequestTrigger = "ACCESS_TYPE_CH" + PcfAmPolicyControlRequestTrigger_NWDAF_DATA_CH PcfAmPolicyControlRequestTrigger = "NWDAF_DATA_CH" + PcfAmPolicyControlRequestTrigger_TARGET_NSSAI PcfAmPolicyControlRequestTrigger = "TARGET_NSSAI" +) diff --git a/models/model_pcf_am_policy_control_termination_notification.go b/models/model_pcf_am_policy_control_termination_notification.go new file mode 100644 index 00000000..ae7d3a34 --- /dev/null +++ b/models/model_pcf_am_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a request to terminate a policy Association that the PCF provides in a notification. +type PcfAmPolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_pcf_bdt_policy_control_bdt_policy_data.go b/models/model_pcf_bdt_policy_control_bdt_policy_data.go new file mode 100644 index 00000000..3b22e921 --- /dev/null +++ b/models/model_pcf_bdt_policy_control_bdt_policy_data.go @@ -0,0 +1,25 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the authorization data of an Individual BDT policy resource. +type PcfBdtPolicyControlBdtPolicyData struct { + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains transfer policies. + TransfPolicies []PcfBdtPolicyControlTransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies,omitempty"` + // Contains an identity of the selected transfer policy. + SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go b/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go new file mode 100644 index 00000000..60606f21 --- /dev/null +++ b/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. +type PcfBdtPolicyControlBdtPolicyDataPatch struct { + // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. + SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` +} diff --git a/models/model_pcf_bdt_policy_control_notification.go b/models/model_pcf_bdt_policy_control_notification.go new file mode 100644 index 00000000..4b19971d --- /dev/null +++ b/models/model_pcf_bdt_policy_control_notification.go @@ -0,0 +1,23 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a BDT notification. +type PcfBdtPolicyControlNotification struct { + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. + CandPolicies []PcfBdtPolicyControlTransferPolicy `json:"candPolicies,omitempty" yaml:"candPolicies" bson:"candPolicies,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` +} diff --git a/models/model_pcf_bdt_policy_control_transfer_policy.go b/models/model_pcf_bdt_policy_control_transfer_policy.go new file mode 100644 index 00000000..5166dca2 --- /dev/null +++ b/models/model_pcf_bdt_policy_control_transfer_policy.go @@ -0,0 +1,26 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a transfer policy. +type PcfBdtPolicyControlTransferPolicy struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl,omitempty"` + // Indicates a rating group for the recommended time window. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt,omitempty"` + // Contains an identity of a transfer policy. + TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId,omitempty"` +} diff --git a/models/model_pcf_binding.go b/models/model_pcf_binding.go deleted file mode 100644 index 536ac3e4..00000000 --- a/models/model_pcf_binding.go +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PcfBinding struct { - Supi string `json:"supi,omitempty" bson:"supi"` - - Gpsi string `json:"gpsi,omitempty" bson:"gpsi"` - - Ipv4Addr string `json:"ipv4Addr,omitempty" bson:"ipv4Addr"` - - Ipv6Prefix string `json:"ipv6Prefix,omitempty" bson:"ipv6Prefix"` - - // The additional IPv6 Address Prefixes of the served UE. - AddIpv6Prefixes []string `json:"addIpv6Prefixes,omitempty" bson:"addIpv6Prefixes"` - - IpDomain string `json:"ipDomain,omitempty" bson:"ipDomain"` - - MacAddr48 string `json:"macAddr48,omitempty" bson:"macAddr48"` - - // The additional MAC Addresses of the served UE. - AddMacAddrs []string `json:"addMacAddrs,omitempty" bson:"addMacAddrs"` - - Dnn string `json:"dnn" bson:"dnn"` - - // Fully Qualified Domain Name - PcfFqdn string `json:"pcfFqdn,omitempty" bson:"pcfFqdn"` - - // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. - PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" bson:"pcfIpEndPoints"` - - PcfDiamHost string `json:"pcfDiamHost,omitempty" bson:"pcfDiamHost"` - - PcfDiamRealm string `json:"pcfDiamRealm,omitempty" bson:"pcfDiamRealm"` - - // Fully Qualified Domain Name - PcfSmFqdn string `json:"pcfSmFqdn,omitempty" bson:"pcfSmFqdn"` - - // IP end points of the PCF hosting the Npcf_SMPolicyControl service. - PcfSmIpEndPoints []IpEndPoint `json:"pcfSmIpEndPoints,omitempty" bson:"pcfSmIpEndPoints"` - - Snssai *Snssai `json:"snssai" bson:"snssai"` - - SuppFeat string `json:"suppFeat,omitempty" bson:"suppFeat"` - - PcfId string `json:"pcfId,omitempty" bson:"pcfId"` - - PcfSetId string `json:"pcfSetId,omitempty" bson:"pcfSetId"` - - RecoveryTime *time.Time `json:"recoveryTime,omitempty" bson:"recoveryTime"` - - ParaCom *ParameterCombination `json:"paraCom,omitempty" bson:"paraCom"` - - BindLevel BindingLevel `json:"bindLevel,omitempty" bson:"bindLevel"` - - Ipv4FrameRouteList []string `json:"ipv4FrameRouteList,omitempty" bson:"ipv4FrameRouteList"` - - Ipv6FrameRouteList []string `json:"ipv6FrameRouteList,omitempty" bson:"ipv6FrameRouteList"` -} diff --git a/models/model_pcf_binding_patch.go b/models/model_pcf_binding_patch.go deleted file mode 100644 index 1ebc7dc9..00000000 --- a/models/model_pcf_binding_patch.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Nbsf_Management - * - * Binding Support Management Service API. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfBindingPatch struct { - Ipv4Addr string `json:"ipv4Addr,omitempty" bson:"ipv4Addr"` - - IpDomain string `json:"ipDomain,omitempty" bson:"ipDomain"` - - Ipv6Prefix string `json:"ipv6Prefix,omitempty" bson:"ipv6Prefix"` - - // The additional IPv6 Address Prefixes of the served UE. - AddIpv6Prefixes []string `json:"addIpv6Prefixes,omitempty" bson:"addIpv6Prefixes"` - - MacAddr48 string `json:"macAddr48,omitempty" bson:"macAddr48"` - - // The additional MAC Addresses of the served UE. - AddMacAddrs []string `json:"addMacAddrs,omitempty" bson:"addMacAddrs"` - - PcfId string `json:"pcfId,omitempty" bson:"pcfId"` - - // Fully Qualified Domain Name - PcfFqdn string `json:"pcfFqdn,omitempty" bson:"pcfFqdn"` - - // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. - PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" bson:"pcfIpEndPoints"` - - PcfDiamHost string `json:"pcfDiamHost,omitempty" bson:"pcfDiamHost"` - - PcfDiamRealm string `json:"pcfDiamRealm,omitempty" bson:"pcfDiamRealm"` -} diff --git a/models/model_pcf_event_exposure_pdu_session_information.go b/models/model_pcf_event_exposure_pdu_session_information.go new file mode 100644 index 00000000..13b8299f --- /dev/null +++ b/models/model_pcf_event_exposure_pdu_session_information.go @@ -0,0 +1,26 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents PDU session identification information. +type PcfEventExposurePduSessionInformation struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` +} diff --git a/models/model_pcf_info.go b/models/model_pcf_info.go index 7b272282..941ccb66 100644 --- a/models/model_pcf_info.go +++ b/models/model_pcf_info.go @@ -1,17 +1,30 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of a PCF NF Instance type PcfInfo struct { - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList" mapstructure:"DnnList"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges" mapstructure:"SupiRanges"` - RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost" mapstructure:"RxDiamHost"` - RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm" mapstructure:"RxDiamRealm"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + // Fully Qualified Domain Name + RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` + // Fully Qualified Domain Name + RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` + V2xSupportInd bool `json:"v2xSupportInd,omitempty" yaml:"v2xSupportInd" bson:"v2xSupportInd,omitempty"` + ProseSupportInd bool `json:"proseSupportInd,omitempty" yaml:"proseSupportInd" bson:"proseSupportInd,omitempty"` + ProseCapability *NrfNfManagementProSeCapability `json:"proseCapability,omitempty" yaml:"proseCapability" bson:"proseCapability,omitempty"` + V2xCapability *V2xCapability `json:"v2xCapability,omitempty" yaml:"v2xCapability" bson:"v2xCapability,omitempty"` } diff --git a/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go b/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go new file mode 100644 index 00000000..ef1a0425 --- /dev/null +++ b/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go @@ -0,0 +1,37 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the MBS related extensions to the ProblemDetails data structure. +type PcfMbsPolicyAuthorizationMbsExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_af_event.go b/models/model_pcf_policy_authorization_af_event.go new file mode 100644 index 00000000..6642a2a0 --- /dev/null +++ b/models/model_pcf_policy_authorization_af_event.go @@ -0,0 +1,39 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationAfEvent string + +// List of PcfPolicyAuthorizationAfEvent +const ( + PcfPolicyAuthorizationAfEvent_ACCESS_TYPE_CHANGE PcfPolicyAuthorizationAfEvent = "ACCESS_TYPE_CHANGE" + PcfPolicyAuthorizationAfEvent_ANI_REPORT PcfPolicyAuthorizationAfEvent = "ANI_REPORT" + PcfPolicyAuthorizationAfEvent_APP_DETECTION PcfPolicyAuthorizationAfEvent = "APP_DETECTION" + PcfPolicyAuthorizationAfEvent_CHARGING_CORRELATION PcfPolicyAuthorizationAfEvent = "CHARGING_CORRELATION" + PcfPolicyAuthorizationAfEvent_EPS_FALLBACK PcfPolicyAuthorizationAfEvent = "EPS_FALLBACK" + PcfPolicyAuthorizationAfEvent_FAILED_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "FAILED_QOS_UPDATE" + PcfPolicyAuthorizationAfEvent_FAILED_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "FAILED_RESOURCES_ALLOCATION" + PcfPolicyAuthorizationAfEvent_OUT_OF_CREDIT PcfPolicyAuthorizationAfEvent = "OUT_OF_CREDIT" + PcfPolicyAuthorizationAfEvent_PDU_SESSION_STATUS PcfPolicyAuthorizationAfEvent = "PDU_SESSION_STATUS" + PcfPolicyAuthorizationAfEvent_PLMN_CHG PcfPolicyAuthorizationAfEvent = "PLMN_CHG" + PcfPolicyAuthorizationAfEvent_QOS_MONITORING PcfPolicyAuthorizationAfEvent = "QOS_MONITORING" + PcfPolicyAuthorizationAfEvent_QOS_NOTIF PcfPolicyAuthorizationAfEvent = "QOS_NOTIF" + PcfPolicyAuthorizationAfEvent_RAN_NAS_CAUSE PcfPolicyAuthorizationAfEvent = "RAN_NAS_CAUSE" + PcfPolicyAuthorizationAfEvent_REALLOCATION_OF_CREDIT PcfPolicyAuthorizationAfEvent = "REALLOCATION_OF_CREDIT" + PcfPolicyAuthorizationAfEvent_SAT_CATEGORY_CHG PcfPolicyAuthorizationAfEvent = "SAT_CATEGORY_CHG" + PcfPolicyAuthorizationAfEvent_SUCCESSFUL_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_QOS_UPDATE" + PcfPolicyAuthorizationAfEvent_SUCCESSFUL_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" + PcfPolicyAuthorizationAfEvent_TSN_BRIDGE_INFO PcfPolicyAuthorizationAfEvent = "TSN_BRIDGE_INFO" + PcfPolicyAuthorizationAfEvent_UP_PATH_CHG_FAILURE PcfPolicyAuthorizationAfEvent = "UP_PATH_CHG_FAILURE" + PcfPolicyAuthorizationAfEvent_USAGE_REPORT PcfPolicyAuthorizationAfEvent = "USAGE_REPORT" +) diff --git a/models/model_pcf_policy_authorization_af_event_notification.go b/models/model_pcf_policy_authorization_af_event_notification.go new file mode 100644 index 00000000..c50a1d6f --- /dev/null +++ b/models/model_pcf_policy_authorization_af_event_notification.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the event information delivered in the notification. +type PcfPolicyAuthorizationAfEventNotification struct { + Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_events_notification.go b/models/model_pcf_policy_authorization_events_notification.go new file mode 100644 index 00000000..b0448a31 --- /dev/null +++ b/models/model_pcf_policy_authorization_events_notification.go @@ -0,0 +1,52 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Describes the notification of a matched event. +type PcfPolicyAuthorizationEventsNotification struct { + // Includes the detected application report. + AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` + AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + // String providing an URI formatted according to RFC 3986. + EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` + EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` + FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` + SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` + NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` + OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_events_subsc_req_data.go b/models/model_pcf_policy_authorization_events_subsc_req_data.go new file mode 100644 index 00000000..6b3c3046 --- /dev/null +++ b/models/model_pcf_policy_authorization_events_subsc_req_data.go @@ -0,0 +1,27 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the events the application subscribes to. +type PcfPolicyAuthorizationEventsSubscReqData struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go b/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go new file mode 100644 index 00000000..6e106808 --- /dev/null +++ b/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go @@ -0,0 +1,26 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the EventsSubscReqData data type, but with the OpenAPI nullable property set to true. +type PcfPolicyAuthorizationEventsSubscReqDataRm struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformationRm `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_extended_problem_details.go b/models/model_pcf_policy_authorization_extended_problem_details.go new file mode 100644 index 00000000..afb359c7 --- /dev/null +++ b/models/model_pcf_policy_authorization_extended_problem_details.go @@ -0,0 +1,35 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extends ProblemDetails to also include the acceptable service info. +type PcfPolicyAuthorizationExtendedProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + AcceptableServInfo *AcceptableServiceInfo `json:"acceptableServInfo,omitempty" yaml:"acceptableServInfo" bson:"acceptableServInfo,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_pdu_session_status.go b/models/model_pcf_policy_authorization_pdu_session_status.go new file mode 100644 index 00000000..06abadb9 --- /dev/null +++ b/models/model_pcf_policy_authorization_pdu_session_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationPduSessionStatus string + +// List of PcfPolicyAuthorizationPduSessionStatus +const ( + PcfPolicyAuthorizationPduSessionStatus_ESTABLISHED PcfPolicyAuthorizationPduSessionStatus = "ESTABLISHED" + PcfPolicyAuthorizationPduSessionStatus_TERMINATED PcfPolicyAuthorizationPduSessionStatus = "TERMINATED" +) diff --git a/models/model_pcf_policy_authorization_qos_monitoring_information.go b/models/model_pcf_policy_authorization_qos_monitoring_information.go new file mode 100644 index 00000000..0cc47924 --- /dev/null +++ b/models/model_pcf_policy_authorization_qos_monitoring_information.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the QoS Monitoring information to report, i.e. UL and/or DL and or round trip delay. +type PcfPolicyAuthorizationQosMonitoringInformation struct { + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go b/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go new file mode 100644 index 00000000..c3b78195 --- /dev/null +++ b/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the QosMonitoringInformation data type, but with the OpenAPI nullable property set to true. +type PcfPolicyAuthorizationQosMonitoringInformationRm struct { + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_qos_monitoring_report.go b/models/model_pcf_policy_authorization_qos_monitoring_report.go new file mode 100644 index 00000000..a76a8bd2 --- /dev/null +++ b/models/model_pcf_policy_authorization_qos_monitoring_report.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS Monitoring reporting information. +type PcfPolicyAuthorizationQosMonitoringReport struct { + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_qos_notification_control_info.go b/models/model_pcf_policy_authorization_qos_notification_control_info.go new file mode 100644 index 00000000..82f8626e --- /dev/null +++ b/models/model_pcf_policy_authorization_qos_notification_control_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates whether the QoS targets for a GRB flow are not guaranteed or guaranteed again. +type PcfPolicyAuthorizationQosNotificationControlInfo struct { + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` +} diff --git a/models/model_pcf_policy_authorization_termination_cause.go b/models/model_pcf_policy_authorization_termination_cause.go new file mode 100644 index 00000000..106b8c40 --- /dev/null +++ b/models/model_pcf_policy_authorization_termination_cause.go @@ -0,0 +1,25 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationTerminationCause string + +// List of PcfPolicyAuthorizationTerminationCause +const ( + PcfPolicyAuthorizationTerminationCause_ALL_SDF_DEACTIVATION PcfPolicyAuthorizationTerminationCause = "ALL_SDF_DEACTIVATION" + PcfPolicyAuthorizationTerminationCause_PDU_SESSION_TERMINATION PcfPolicyAuthorizationTerminationCause = "PDU_SESSION_TERMINATION" + PcfPolicyAuthorizationTerminationCause_PS_TO_CS_HO PcfPolicyAuthorizationTerminationCause = "PS_TO_CS_HO" + PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_SERVER_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_SERVER_RESOURCES" + PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_QOS_FLOW_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_QOS_FLOW_RESOURCES" + PcfPolicyAuthorizationTerminationCause_SPONSORED_DATA_CONNECTIVITY_DISALLOWED PcfPolicyAuthorizationTerminationCause = "SPONSORED_DATA_CONNECTIVITY_DISALLOWED" +) diff --git a/models/model_pcf_selection_assistance_info.go b/models/model_pcf_selection_assistance_info.go new file mode 100644 index 00000000..c72d06b5 --- /dev/null +++ b/models/model_pcf_selection_assistance_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSelectionAssistanceInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` +} diff --git a/models/model_pcf_sm_policy_control_atsss_capability.go b/models/model_pcf_sm_policy_control_atsss_capability.go new file mode 100644 index 00000000..52d9d6a7 --- /dev/null +++ b/models/model_pcf_sm_policy_control_atsss_capability.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlAtsssCapability string + +// List of PcfSMPolicyControlAtsssCapability +const ( + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_UL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_DLUL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_DLUL" + PcfSmPolicyControlAtsssCapability_ATSSS_LL PcfSmPolicyControlAtsssCapability = "ATSSS_LL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL" +) diff --git a/models/model_pcf_sm_policy_control_failure_cause.go b/models/model_pcf_sm_policy_control_failure_cause.go new file mode 100644 index 00000000..3b7807a4 --- /dev/null +++ b/models/model_pcf_sm_policy_control_failure_cause.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlFailureCause string + +// List of PcfSMPolicyControlFailureCause +const ( + PcfSmPolicyControlFailureCause_PCC_RULE_EVENT PcfSmPolicyControlFailureCause = "PCC_RULE_EVENT" + PcfSmPolicyControlFailureCause_PCC_QOS_FLOW_EVENT PcfSmPolicyControlFailureCause = "PCC_QOS_FLOW_EVENT" + PcfSmPolicyControlFailureCause_RULE_PERMANENT_ERROR PcfSmPolicyControlFailureCause = "RULE_PERMANENT_ERROR" + PcfSmPolicyControlFailureCause_RULE_TEMPORARY_ERROR PcfSmPolicyControlFailureCause = "RULE_TEMPORARY_ERROR" + PcfSmPolicyControlFailureCause_POL_DEC_ERROR PcfSmPolicyControlFailureCause = "POL_DEC_ERROR" +) diff --git a/models/model_pcf_sm_policy_control_failure_code.go b/models/model_pcf_sm_policy_control_failure_code.go new file mode 100644 index 00000000..fd70aaf1 --- /dev/null +++ b/models/model_pcf_sm_policy_control_failure_code.go @@ -0,0 +1,49 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlFailureCode string + +// List of PcfSMPolicyControlFailureCode +const ( + PcfSmPolicyControlFailureCode_UNK_RULE_ID PcfSmPolicyControlFailureCode = "UNK_RULE_ID" + PcfSmPolicyControlFailureCode_RA_GR_ERR PcfSmPolicyControlFailureCode = "RA_GR_ERR" + PcfSmPolicyControlFailureCode_SER_ID_ERR PcfSmPolicyControlFailureCode = "SER_ID_ERR" + PcfSmPolicyControlFailureCode_NF_MAL PcfSmPolicyControlFailureCode = "NF_MAL" + PcfSmPolicyControlFailureCode_RES_LIM PcfSmPolicyControlFailureCode = "RES_LIM" + PcfSmPolicyControlFailureCode_MAX_NR_QO_S_FLOW PcfSmPolicyControlFailureCode = "MAX_NR_QoS_FLOW" + PcfSmPolicyControlFailureCode_MISS_FLOW_INFO PcfSmPolicyControlFailureCode = "MISS_FLOW_INFO" + PcfSmPolicyControlFailureCode_RES_ALLO_FAIL PcfSmPolicyControlFailureCode = "RES_ALLO_FAIL" + PcfSmPolicyControlFailureCode_UNSUCC_QOS_VAL PcfSmPolicyControlFailureCode = "UNSUCC_QOS_VAL" + PcfSmPolicyControlFailureCode_INCOR_FLOW_INFO PcfSmPolicyControlFailureCode = "INCOR_FLOW_INFO" + PcfSmPolicyControlFailureCode_PS_TO_CS_HAN PcfSmPolicyControlFailureCode = "PS_TO_CS_HAN" + PcfSmPolicyControlFailureCode_APP_ID_ERR PcfSmPolicyControlFailureCode = "APP_ID_ERR" + PcfSmPolicyControlFailureCode_NO_QOS_FLOW_BOUND PcfSmPolicyControlFailureCode = "NO_QOS_FLOW_BOUND" + PcfSmPolicyControlFailureCode_FILTER_RES PcfSmPolicyControlFailureCode = "FILTER_RES" + PcfSmPolicyControlFailureCode_MISS_REDI_SER_ADDR PcfSmPolicyControlFailureCode = "MISS_REDI_SER_ADDR" + PcfSmPolicyControlFailureCode_CM_END_USER_SER_DENIED PcfSmPolicyControlFailureCode = "CM_END_USER_SER_DENIED" + PcfSmPolicyControlFailureCode_CM_CREDIT_CON_NOT_APP PcfSmPolicyControlFailureCode = "CM_CREDIT_CON_NOT_APP" // #nosec G101 + PcfSmPolicyControlFailureCode_CM_AUTH_REJ PcfSmPolicyControlFailureCode = "CM_AUTH_REJ" + PcfSmPolicyControlFailureCode_CM_USER_UNK PcfSmPolicyControlFailureCode = "CM_USER_UNK" + PcfSmPolicyControlFailureCode_CM_RAT_FAILED PcfSmPolicyControlFailureCode = "CM_RAT_FAILED" + PcfSmPolicyControlFailureCode_UE_STA_SUSP PcfSmPolicyControlFailureCode = "UE_STA_SUSP" + PcfSmPolicyControlFailureCode_UNKNOWN_REF_ID PcfSmPolicyControlFailureCode = "UNKNOWN_REF_ID" + PcfSmPolicyControlFailureCode_INCORRECT_COND_DATA PcfSmPolicyControlFailureCode = "INCORRECT_COND_DATA" + PcfSmPolicyControlFailureCode_REF_ID_COLLISION PcfSmPolicyControlFailureCode = "REF_ID_COLLISION" + PcfSmPolicyControlFailureCode_TRAFFIC_STEERING_ERROR PcfSmPolicyControlFailureCode = "TRAFFIC_STEERING_ERROR" + PcfSmPolicyControlFailureCode_DNAI_STEERING_ERROR PcfSmPolicyControlFailureCode = "DNAI_STEERING_ERROR" + PcfSmPolicyControlFailureCode_AN_GW_FAILE PcfSmPolicyControlFailureCode = "AN_GW_FAILE" + PcfSmPolicyControlFailureCode_MAX_NR_PACKET_FILTERS_EXCEEDED PcfSmPolicyControlFailureCode = "MAX_NR_PACKET_FILTERS_EXCEEDED" + PcfSmPolicyControlFailureCode_PACKET_FILTER_TFT_ALLOCATION_EXCEEDED PcfSmPolicyControlFailureCode = "PACKET_FILTER_TFT_ALLOCATION_EXCEEDED" + PcfSmPolicyControlFailureCode_MUTE_CHG_NOT_ALLOWED PcfSmPolicyControlFailureCode = "MUTE_CHG_NOT_ALLOWED" +) diff --git a/models/model_pcf_sm_policy_control_multicast_access_control.go b/models/model_pcf_sm_policy_control_multicast_access_control.go new file mode 100644 index 00000000..72f94e71 --- /dev/null +++ b/models/model_pcf_sm_policy_control_multicast_access_control.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlMulticastAccessControl string + +// List of PcfSMPolicyControlMulticastAccessControl +const ( + PcfSmPolicyControlMulticastAccessControl_ALLOWED PcfSmPolicyControlMulticastAccessControl = "ALLOWED" + PcfSmPolicyControlMulticastAccessControl_NOT_ALLOWED PcfSmPolicyControlMulticastAccessControl = "NOT_ALLOWED" +) diff --git a/models/model_pcf_sm_policy_control_qos_monitoring_report.go b/models/model_pcf_sm_policy_control_qos_monitoring_report.go new file mode 100644 index 00000000..9431e213 --- /dev/null +++ b/models/model_pcf_sm_policy_control_qos_monitoring_report.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains reporting information on QoS monitoring. +type PcfSmPolicyControlQosMonitoringReport struct { + // An array of PCC rule id references to the PCC rules associated with the QoS monitoring report. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/model_pcf_sm_policy_control_qos_notification_control_info.go b/models/model_pcf_sm_policy_control_qos_notification_control_info.go new file mode 100644 index 00000000..aeea92d6 --- /dev/null +++ b/models/model_pcf_sm_policy_control_qos_notification_control_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the QoS Notification Control Information. +type PcfSmPolicyControlQosNotificationControlInfo struct { + // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` +} diff --git a/models/model_pcf_sm_policy_control_redirect_address_type.go b/models/model_pcf_sm_policy_control_redirect_address_type.go new file mode 100644 index 00000000..3e0c631c --- /dev/null +++ b/models/model_pcf_sm_policy_control_redirect_address_type.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlRedirectAddressType string + +// List of PcfSMPolicyControlRedirectAddressType +const ( + PcfSmPolicyControlRedirectAddressType_IPV4_ADDR PcfSmPolicyControlRedirectAddressType = "IPV4_ADDR" + PcfSmPolicyControlRedirectAddressType_IPV6_ADDR PcfSmPolicyControlRedirectAddressType = "IPV6_ADDR" + PcfSmPolicyControlRedirectAddressType_URL PcfSmPolicyControlRedirectAddressType = "URL" + PcfSmPolicyControlRedirectAddressType_SIP_URI PcfSmPolicyControlRedirectAddressType = "SIP_URI" +) diff --git a/models/model_pcf_sm_policy_control_termination_notification.go b/models/model_pcf_sm_policy_control_termination_notification.go new file mode 100644 index 00000000..552b69e1 --- /dev/null +++ b/models/model_pcf_sm_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a Termination Notification. +type PcfSmPolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause SmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_pcf_ue_callback_info.go b/models/model_pcf_ue_callback_info.go new file mode 100644 index 00000000..f918d4d0 --- /dev/null +++ b/models/model_pcf_ue_callback_info.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the PCF for the UE information necessary for the PCF for the PDU session to send SM Policy Association Establishment and Termination events. +type PcfUeCallbackInfo struct { + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` +} diff --git a/models/model_pcf_ue_policy_control_policy_association.go b/models/model_pcf_ue_policy_control_policy_association.go new file mode 100644 index 00000000..9fb646cb --- /dev/null +++ b/models/model_pcf_ue_policy_control_policy_association.go @@ -0,0 +1,28 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the description of a policy association that is returned by the PCF when a policy Association is created, updated, or read. +type PcfUePolicyControlPolicyAssociation struct { + Request *PcfUePolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_ue_policy_control_policy_association_request.go b/models/model_pcf_ue_policy_control_policy_association_request.go new file mode 100644 index 00000000..aa6298d8 --- /dev/null +++ b/models/model_pcf_ue_policy_control_policy_association_request.go @@ -0,0 +1,50 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information that the NF service consumer provides when requesting the creation of a policy association. +type PcfUePolicyControlPolicyAssociationRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Pc5Capab Pc5Capability `json:"pc5Capab,omitempty" yaml:"pc5Capab" bson:"pc5Capab,omitempty"` + ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_ue_policy_control_policy_association_update_request.go b/models/model_pcf_ue_policy_control_policy_association_update_request.go new file mode 100644 index 00000000..c238e058 --- /dev/null +++ b/models/model_pcf_ue_policy_control_policy_association_update_request.go @@ -0,0 +1,42 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents Information that the NF service consumer provides when requesting the update of a policy association. +type PcfUePolicyControlPolicyAssociationUpdateRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolDelResult string `json:"uePolDelResult,omitempty" yaml:"uePolDelResult" bson:"uePolDelResult,omitempty"` + UePolTransFailNotif *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty" yaml:"uePolTransFailNotif" bson:"uePolTransFailNotif,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` +} diff --git a/models/model_pcf_ue_policy_control_policy_update.go b/models/model_pcf_ue_policy_control_policy_update.go new file mode 100644 index 00000000..2176ed6c --- /dev/null +++ b/models/model_pcf_ue_policy_control_policy_update.go @@ -0,0 +1,27 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents updated policies that the PCF provides in a notification or in the reply to an Update Request. +type PcfUePolicyControlPolicyUpdate struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` +} diff --git a/models/model_pcf_ue_policy_control_pro_se_capability.go b/models/model_pcf_ue_policy_control_pro_se_capability.go new file mode 100644 index 00000000..b3fec67c --- /dev/null +++ b/models/model_pcf_ue_policy_control_pro_se_capability.go @@ -0,0 +1,25 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfUePolicyControlProSeCapability string + +// List of PcfUEPolicyControlProSeCapability +const ( + PcfUePolicyControlProSeCapability_DD PcfUePolicyControlProSeCapability = "PROSE_DD" + PcfUePolicyControlProSeCapability_DC PcfUePolicyControlProSeCapability = "PROSE_DC" + PcfUePolicyControlProSeCapability_L2_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L2_U2N_RELAY" + PcfUePolicyControlProSeCapability_L3_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L3_U2N_RELAY" + PcfUePolicyControlProSeCapability_L2_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L2_REMOTE_UE" + PcfUePolicyControlProSeCapability_L3_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L3_REMOTE_UE" +) diff --git a/models/model_pcf_ue_policy_control_request_trigger.go b/models/model_pcf_ue_policy_control_request_trigger.go new file mode 100644 index 00000000..69a8b951 --- /dev/null +++ b/models/model_pcf_ue_policy_control_request_trigger.go @@ -0,0 +1,26 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfUePolicyControlRequestTrigger string + +// List of PcfUEPolicyControlRequestTrigger +const ( + PcfUePolicyControlRequestTrigger_LOC_CH PcfUePolicyControlRequestTrigger = "LOC_CH" + PcfUePolicyControlRequestTrigger_PRA_CH PcfUePolicyControlRequestTrigger = "PRA_CH" + PcfUePolicyControlRequestTrigger_UE_POLICY PcfUePolicyControlRequestTrigger = "UE_POLICY" + PcfUePolicyControlRequestTrigger_PLMN_CH PcfUePolicyControlRequestTrigger = "PLMN_CH" + PcfUePolicyControlRequestTrigger_CON_STATE_CH PcfUePolicyControlRequestTrigger = "CON_STATE_CH" + PcfUePolicyControlRequestTrigger_GROUP_ID_LIST_CHG PcfUePolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" + PcfUePolicyControlRequestTrigger_UE_CAP_CH PcfUePolicyControlRequestTrigger = "UE_CAP_CH" +) diff --git a/models/model_pcf_ue_policy_control_termination_notification.go b/models/model_pcf_ue_policy_control_termination_notification.go new file mode 100644 index 00000000..9e28166b --- /dev/null +++ b/models/model_pcf_ue_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a request to terminate a policy association that the PCF provides in a notification. +type PcfUePolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_pcscf_address.go b/models/model_pcscf_address.go new file mode 100644 index 00000000..0c4edddb --- /dev/null +++ b/models/model_pcscf_address.go @@ -0,0 +1,21 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the addressing information (IP addresses and/or FQDN) of the P-CSCF +type PcscfAddress struct { + Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` +} diff --git a/models/model_pcscf_info.go b/models/model_pcscf_info.go new file mode 100644 index 00000000..f571486b --- /dev/null +++ b/models/model_pcscf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a P-CSCF NF Instance +type PcscfInfo struct { + AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Fully Qualified Domain Name + GmFqdn string `json:"gmFqdn,omitempty" yaml:"gmFqdn" bson:"gmFqdn,omitempty"` + GmIpv4Addresses []string `json:"gmIpv4Addresses,omitempty" yaml:"gmIpv4Addresses" bson:"gmIpv4Addresses,omitempty"` + GmIpv6Addresses []string `json:"gmIpv6Addresses,omitempty" yaml:"gmIpv6Addresses" bson:"gmIpv6Addresses,omitempty"` + // Fully Qualified Domain Name + MwFqdn string `json:"mwFqdn,omitempty" yaml:"mwFqdn" bson:"mwFqdn,omitempty"` + MwIpv4Addresses []string `json:"mwIpv4Addresses,omitempty" yaml:"mwIpv4Addresses" bson:"mwIpv4Addresses,omitempty"` + MwIpv6Addresses []string `json:"mwIpv6Addresses,omitempty" yaml:"mwIpv6Addresses" bson:"mwIpv6Addresses,omitempty"` + ServedIpv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"servedIpv4AddressRanges,omitempty" yaml:"servedIpv4AddressRanges" bson:"servedIpv4AddressRanges,omitempty"` + ServedIpv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"servedIpv6PrefixRanges,omitempty" yaml:"servedIpv6PrefixRanges" bson:"servedIpv6PrefixRanges,omitempty"` +} diff --git a/models/model_pcscf_restoration_notification.go b/models/model_pcscf_restoration_notification.go index b12979ab..4ee55d14 100644 --- a/models/model_pcscf_restoration_notification.go +++ b/models/model_pcscf_restoration_notification.go @@ -1,14 +1,19 @@ /* * Nudm_UECM * - * Nudm Context Management Service + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PcscfRestorationNotification struct { - Supi string `json:"supi" yaml:"supi" bson:"supi" mapstructure:"Supi"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` } diff --git a/models/model_pcscf_restoration_request_data.go b/models/model_pcscf_restoration_request_data.go new file mode 100644 index 00000000..c0804382 --- /dev/null +++ b/models/model_pcscf_restoration_request_data.go @@ -0,0 +1,26 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates P-CSCF restoration. +type PcscfRestorationRequestData struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` +} diff --git a/models/model_pcscf_subscription_info.go b/models/model_pcscf_subscription_info.go new file mode 100644 index 00000000..9938f9c1 --- /dev/null +++ b/models/model_pcscf_subscription_info.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +type PcscfSubscriptionInfo struct { + CallIdSipHeader string `json:"callIdSipHeader" yaml:"callIdSipHeader" bson:"callIdSipHeader"` + FromSipHeader string `json:"fromSipHeader" yaml:"fromSipHeader" bson:"fromSipHeader"` + ToSipHeader string `json:"toSipHeader" yaml:"toSipHeader" bson:"toSipHeader"` + Contact string `json:"contact" yaml:"contact" bson:"contact"` +} diff --git a/models/model_pdn_connectivity_stat_report.go b/models/model_pdn_connectivity_stat_report.go new file mode 100644 index 00000000..c5a188b6 --- /dev/null +++ b/models/model_pdn_connectivity_stat_report.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PdnConnectivityStatReport struct { + PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` +} diff --git a/models/model_pdn_connectivity_status.go b/models/model_pdn_connectivity_status.go new file mode 100644 index 00000000..7ddba511 --- /dev/null +++ b/models/model_pdn_connectivity_status.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PdnConnectivityStatus string + +// List of PdnConnectivityStatus +const ( + PdnConnectivityStatus_ESTABLISHED PdnConnectivityStatus = "ESTABLISHED" + PdnConnectivityStatus_RELEASED PdnConnectivityStatus = "RELEASED" +) diff --git a/models/model_pdu_address.go b/models/model_pdu_address.go deleted file mode 100644 index b3f92707..00000000 --- a/models/model_pdu_address.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduAddress struct { - PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address" mapstructure:"PduIPv4Address"` - PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix" mapstructure:"PduIPv6AddresswithPrefix"` - PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength" mapstructure:"PduAddressprefixlength"` - IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag" mapstructure:"IPv4dynamicAddressFlag"` - IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag" mapstructure:"IPv6dynamicPrefixFlag"` - AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes" mapstructure:"AddIpv6AddrPrefixes"` -} diff --git a/models/model_pdu_container_information.go b/models/model_pdu_container_information.go deleted file mode 100644 index 59d75d8b..00000000 --- a/models/model_pdu_container_information.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PduContainerInformation struct { - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage" mapstructure:"TimeofFirstUsage"` - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage" mapstructure:"TimeofLastUsage"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation" mapstructure:"QoSInformation"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics" mapstructure:"QoSCharacteristics"` - AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier" mapstructure:"AfChargingIdentifier"` - AfChargingIdString string `json:"afChargingIdString,omitempty" yaml:"afChargingIdString" bson:"afChargingIdString" mapstructure:"AfChargingIdString"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation" mapstructure:"UserLocationInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - ServingNodeID []ServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID" mapstructure:"ServingNodeID"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation" mapstructure:"PresenceReportingAreaInformation"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus" mapstructure:"Var3gppPSDataOffStatus"` - SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity" mapstructure:"SponsorIdentity"` - ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity" mapstructure:"ApplicationserviceProviderIdentity"` - ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName" mapstructure:"ChargingRuleBaseName"` - MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality" mapstructure:"MAPDUSteeringFunctionality"` - MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode" mapstructure:"MAPDUSteeringMode"` -} diff --git a/models/model_pdu_session.go b/models/model_pdu_session.go index a645eaa7..fafb6353 100644 --- a/models/model_pdu_session.go +++ b/models/model_pdu_session.go @@ -1,16 +1,22 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PduSession struct { - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId" mapstructure:"SmfInstanceId"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` } diff --git a/models/model_pdu_session_charging_information.go b/models/model_pdu_session_charging_information.go deleted file mode 100644 index d8ce731a..00000000 --- a/models/model_pdu_session_charging_information.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionChargingInformation struct { - ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId" mapstructure:"ChargingId"` - HomeProvidedChargingId int32 `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId" mapstructure:"HomeProvidedChargingId"` - UserInformation *UserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation" mapstructure:"UserInformation"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo" mapstructure:"UserLocationinfo"` - MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo" mapstructure:"MAPDUNon3GPPUserLocationInfo"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation" mapstructure:"PresenceReportingAreaInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - PduSessionInformation *PduSessionInformation `json:"pduSessionInformation,omitempty" yaml:"pduSessionInformation" bson:"pduSessionInformation" mapstructure:"PduSessionInformation"` - UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer" mapstructure:"UnitCountInactivityTimer"` - RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport" mapstructure:"RANSecondaryRATUsageReport"` -} diff --git a/models/model_pdu_session_context.go b/models/model_pdu_session_context.go index 1230a9e9..afe12690 100644 --- a/models/model_pdu_session_context.go +++ b/models/model_pdu_session_context.go @@ -1,22 +1,74 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a PDU Session Context in UE Context type PduSessionContext struct { - PduSessionId int32 `json:"pduSessionId"` - SmContextRef string `json:"smContextRef"` - SNssai *Snssai `json:"sNssai"` - Dnn string `json:"dnn"` - AccessType AccessType `json:"accessType"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList"` - HsmfId string `json:"hsmfId,omitempty"` - VsmfId string `json:"vsmfId,omitempty"` - NsInstance string `json:"nsInstance,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextRef string `json:"smContextRef" yaml:"smContextRef" bson:"smContextRef,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + AdditionalAccessType AccessType `json:"additionalAccessType,omitempty" yaml:"additionalAccessType" bson:"additionalAccessType,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HsmfId string `json:"hsmfId,omitempty" yaml:"hsmfId" bson:"hsmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HsmfSetId string `json:"hsmfSetId,omitempty" yaml:"hsmfSetId" bson:"hsmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HsmfServiceSetId string `json:"hsmfServiceSetId,omitempty" yaml:"hsmfServiceSetId" bson:"hsmfServiceSetId,omitempty"` + SmfBinding SbiBindingLevel `json:"smfBinding,omitempty" yaml:"smfBinding" bson:"smfBinding,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + VsmfSetId string `json:"vsmfSetId,omitempty" yaml:"vsmfSetId" bson:"vsmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + VsmfServiceSetId string `json:"vsmfServiceSetId,omitempty" yaml:"vsmfServiceSetId" bson:"vsmfServiceSetId,omitempty"` + VsmfBinding SbiBindingLevel `json:"vsmfBinding,omitempty" yaml:"vsmfBinding" bson:"vsmfBinding,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + IsmfSetId string `json:"ismfSetId,omitempty" yaml:"ismfSetId" bson:"ismfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + IsmfServiceSetId string `json:"ismfServiceSetId,omitempty" yaml:"ismfServiceSetId" bson:"ismfServiceSetId,omitempty"` + IsmfBinding SbiBindingLevel `json:"ismfBinding,omitempty" yaml:"ismfBinding" bson:"ismfBinding,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsInstance string `json:"nsInstance,omitempty" yaml:"nsInstance" bson:"nsInstance,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + MaPduSession bool `json:"maPduSession,omitempty" yaml:"maPduSession" bson:"maPduSession,omitempty"` + CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + VsmfBindingInfo string `json:"vsmfBindingInfo,omitempty" yaml:"vsmfBindingInfo" bson:"vsmfBindingInfo,omitempty"` + IsmfBindingInfo string `json:"ismfBindingInfo,omitempty" yaml:"ismfBindingInfo" bson:"ismfBindingInfo,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + AnchorSmfSupportedFeatures string `json:"anchorSmfSupportedFeatures,omitempty" yaml:"anchorSmfSupportedFeatures" bson:"anchorSmfSupportedFeatures,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` } diff --git a/models/model_pdu_session_context_type.go b/models/model_pdu_session_context_type.go new file mode 100644 index 00000000..568d86ea --- /dev/null +++ b/models/model_pdu_session_context_type.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionContextType string + +// List of PduSessionContextType +const ( + PduSessionContextType_AF_COORDINATION_INFO PduSessionContextType = "AF_COORDINATION_INFO" +) diff --git a/models/model_pdu_session_continuity_ind.go b/models/model_pdu_session_continuity_ind.go new file mode 100644 index 00000000..d7af32df --- /dev/null +++ b/models/model_pdu_session_continuity_ind.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionContinuityInd string + +// List of PduSessionContinuityInd +const ( + PduSessionContinuityInd_MAINTAIN_PDUSESSION PduSessionContinuityInd = "MAINTAIN_PDUSESSION" + PduSessionContinuityInd_RECONNECT_PDUSESSION PduSessionContinuityInd = "RECONNECT_PDUSESSION" + PduSessionContinuityInd_RELEASE_PDUSESSION PduSessionContinuityInd = "RELEASE_PDUSESSION" +) diff --git a/models/model_pdu_session_create_data.go b/models/model_pdu_session_create_data.go index 5fce6da4..fbfa6993 100644 --- a/models/model_pdu_session_create_data.go +++ b/models/model_pdu_session_create_data.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,39 +16,104 @@ import ( "time" ) +// Data within Create Request type PduSessionCreateData struct { - Supi string `json:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty"` - Pei string `json:"pei,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty"` - Dnn string `json:"dnn"` - SNssai *Snssai `json:"sNssai,omitempty"` - VsmfId string `json:"vsmfId"` - ServingNetwork *PlmnId `json:"servingNetwork"` - RequestType RequestType `json:"requestType,omitempty"` - EpsBearerId []int32 `json:"epsBearerId,omitempty"` - PgwS8cFteid string `json:"pgwS8cFteid,omitempty"` - VsmfPduSessionUri string `json:"vsmfPduSessionUri"` - VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo"` - AnType AccessType `json:"anType"` - RatType RatType `json:"ratType,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - Gpsi string `json:"gpsi,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` - HPcfId string `json:"hPcfId,omitempty"` - HoPreparationIndication bool `json:"hoPreparationIndication,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty"` - AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty"` - UdmGroupId string `json:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty"` - VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` - RoamingChargingProfile *RoamingChargingProfile `json:"roamingChargingProfile,omitempty"` - ChargingId string `json:"chargingId,omitempty"` - OldPduSessionId int32 `json:"oldPduSessionId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` + EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwS8cFteid string `json:"pgwS8cFteid,omitempty" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` + // String providing an URI formatted according to RFC 3986. + VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` + VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` + IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` + N9ForwardingTunnelInfo *TunnelInfo `json:"n9ForwardingTunnelInfo,omitempty" yaml:"n9ForwardingTunnelInfo" bson:"n9ForwardingTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` + ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` + // EPS bearer context status + EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` + CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` + InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` + UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` } diff --git a/models/model_pdu_session_create_error.go b/models/model_pdu_session_create_error.go index bda3a786..5cb6498a 100644 --- a/models/model_pdu_session_create_error.go +++ b/models/model_pdu_session_create_error.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,10 +16,13 @@ import ( "time" ) +// Error within Create Response type PduSessionCreateError struct { - Error *ProblemDetails `json:"error"` - N1smCause string `json:"n1smCause,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"` - BackOffTimer int32 `json:"backOffTimer,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` } diff --git a/models/model_pdu_session_created_data.go b/models/model_pdu_session_created_data.go index e7e39c8e..2aa16669 100644 --- a/models/model_pdu_session_created_data.go +++ b/models/model_pdu_session_created_data.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,26 +16,57 @@ import ( "time" ) +// Data within Create Response type PduSessionCreatedData struct { - PduSessionType PduSessionType `json:"pduSessionType"` - SscMode string `json:"sscMode"` - HcnTunnelInfo *TunnelInfo `json:"hcnTunnelInfo"` - SessionAmbr *Ambr `json:"sessionAmbr"` - QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList"` - HSmfInstanceId string `json:"hSmfInstanceId"` - PduSessionId int32 `json:"pduSessionId,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty"` - EnablePauseCharging bool `json:"enablePauseCharging,omitempty"` - UeIpv4Address string `json:"ueIpv4Address,omitempty"` - UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty"` - EpsBearerInfo *[]EpsBearerInfo `json:"epsBearerInfo,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` - MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty"` - AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty"` - RoamingChargingProfile *RoamingChargingProfile `json:"roamingChargingProfile,omitempty"` - HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + SscMode string `json:"sscMode" yaml:"sscMode" bson:"sscMode,omitempty"` + HcnTunnelInfo *TunnelInfo `json:"hcnTunnelInfo,omitempty" yaml:"hcnTunnelInfo" bson:"hcnTunnelInfo,omitempty"` + CnTunnelInfo *TunnelInfo `json:"cnTunnelInfo,omitempty" yaml:"cnTunnelInfo" bson:"cnTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` + SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` + UeIpv6InterfaceId string `json:"ueIpv6InterfaceId,omitempty" yaml:"ueIpv6InterfaceId" bson:"ueIpv6InterfaceId,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` } diff --git a/models/model_pdu_session_event_notification.go b/models/model_pdu_session_event_notification.go new file mode 100644 index 00000000..c747a038 --- /dev/null +++ b/models/model_pdu_session_event_notification.go @@ -0,0 +1,32 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates PDU session information for the concerned established/terminated PDU session. +type PduSessionEventNotification struct { + EvNotif *PcfPolicyAuthorizationAfEventNotification `json:"evNotif" yaml:"evNotif" bson:"evNotif,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + Status PcfPolicyAuthorizationPduSessionStatus `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + PcfInfo *PcfAddressingInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/model_pdu_session_info.go b/models/model_pdu_session_info.go new file mode 100644 index 00000000..c0ea59aa --- /dev/null +++ b/models/model_pdu_session_info.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// indicates the DNN and S-NSSAI combination of a PDU session. +type PduSessionInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_pdu_session_information.go b/models/model_pdu_session_information.go deleted file mode 100644 index e5b18ba1..00000000 --- a/models/model_pdu_session_information.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PduSessionInformation struct { - NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo" mapstructure:"NetworkSlicingInfo"` - PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID" mapstructure:"PduSessionID"` - PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType" mapstructure:"PduType"` - SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode" mapstructure:"SscMode"` - HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId" mapstructure:"HPlmnId"` - ServingNetworkFunctionID *ServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID" mapstructure:"ServingNetworkFunctionID"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType" mapstructure:"MAPDUNon3GPPRATType"` - DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId" mapstructure:"DnnId"` - DnnSelectionMode DnnSelectionMode `json:"dnnSelectionMode,omitempty" yaml:"dnnSelectionMode" bson:"dnnSelectionMode" mapstructure:"DnnSelectionMode"` - ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics" mapstructure:"ChargingCharacteristics"` - ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode" mapstructure:"ChargingCharacteristicsSelectionMode"` - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime" mapstructure:"StartTime"` - StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime" mapstructure:"StopTime"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus" mapstructure:"Var3gppPSDataOffStatus"` - SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator" mapstructure:"SessionStopIndicator"` - PduAddress *PduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress" mapstructure:"PduAddress"` - Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics" mapstructure:"Diagnostics"` - AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation" mapstructure:"AuthorizedQoSInformation"` - SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation" mapstructure:"SubscribedQoSInformation"` - AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR" mapstructure:"AuthorizedSessionAMBR"` - SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR" mapstructure:"SubscribedSessionAMBR"` - ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId" mapstructure:"ServingCNPlmnId"` - MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation" mapstructure:"MAPDUSessionInformation"` - EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics" mapstructure:"EnhancedDiagnostics"` -} diff --git a/models/model_pdu_session_management_data.go b/models/model_pdu_session_management_data.go index 60b51da6..6478b97d 100644 --- a/models/model_pdu_session_management_data.go +++ b/models/model_pdu_session_management_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,16 +16,31 @@ import ( "time" ) +// Represents Session management data for a UE and a PDU session. type PduSessionManagementData struct { - PduSessionStatus PduSessionStatus `json:"pduSessionStatus,omitempty" bson:"pduSessionStatus"` - PduSessionStatusTs *time.Time `json:"pduSessionStatusTs,omitempty" bson:"pduSessionStatusTs"` - Dnai string `json:"dnai,omitempty" bson:"dnai"` - DnaiTs *time.Time `json:"dnaiTs,omitempty" bson:"dnaiTs"` - N6TrafficRoutingInfo []RouteToLocation `json:"n6TrafficRoutingInfo,omitempty" bson:"n6TrafficRoutingInfo"` - N6TrafficRoutingInfoTs *time.Time `json:"n6TrafficRoutingInfoTs,omitempty" bson:"n6TrafficRoutingInfoTs"` - Ipv4Addr string `json:"ipv4Addr,omitempty" bson:"ipv4Addr"` + PduSessionStatus PduSessionStatus `json:"pduSessionStatus,omitempty" yaml:"pduSessionStatus" bson:"pduSessionStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PduSessionStatusTs *time.Time `json:"pduSessionStatusTs,omitempty" yaml:"pduSessionStatusTs" bson:"pduSessionStatusTs,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DnaiTs *time.Time `json:"dnaiTs,omitempty" yaml:"dnaiTs" bson:"dnaiTs,omitempty"` + N6TrafficRoutingInfo []*RouteToLocation `json:"n6TrafficRoutingInfo,omitempty" yaml:"n6TrafficRoutingInfo" bson:"n6TrafficRoutingInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + N6TrafficRoutingInfoTs *time.Time `json:"n6TrafficRoutingInfoTs,omitempty" yaml:"n6TrafficRoutingInfoTs" bson:"n6TrafficRoutingInfoTs,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` // UE IPv6 prefix. - Ipv6Prefix []string `json:"ipv6Prefix,omitempty" bson:"ipv6Prefix"` - IpAddrTs *time.Time `json:"ipAddrTs,omitempty" bson:"ipAddrTs"` - Dnn string `json:"dnn,omitempty" bson:"dnn"` + Ipv6Prefix []string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + IpAddrTs *time.Time `json:"ipAddrTs,omitempty" yaml:"ipAddrTs" bson:"ipAddrTs,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_pdu_session_notify_item.go b/models/model_pdu_session_notify_item.go index b098a13b..4f43cab3 100644 --- a/models/model_pdu_session_notify_item.go +++ b/models/model_pdu_session_notify_item.go @@ -1,14 +1,18 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Notification related to a PDU session type PduSessionNotifyItem struct { - NotificationCause NotificationCause `json:"notificationCause"` + NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` } diff --git a/models/model_pdu_session_rel_cause.go b/models/model_pdu_session_rel_cause.go new file mode 100644 index 00000000..c0f25cc4 --- /dev/null +++ b/models/model_pdu_session_rel_cause.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionRelCause string + +// List of PduSessionRelCause +const ( + PduSessionRelCause_PS_TO_CS_HO PduSessionRelCause = "PS_TO_CS_HO" + PduSessionRelCause_RULE_ERROR PduSessionRelCause = "RULE_ERROR" +) diff --git a/models/model_pdu_session_status.go b/models/model_pdu_session_status.go index c141ff26..26d39b4a 100644 --- a/models/model_pdu_session_status.go +++ b/models/model_pdu_session_status.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_pdu_session_status_cfg.go b/models/model_pdu_session_status_cfg.go new file mode 100644 index 00000000..67cfd32f --- /dev/null +++ b/models/model_pdu_session_status_cfg.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionStatusCfg struct { + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_pdu_session_tsn_bridge.go b/models/model_pdu_session_tsn_bridge.go new file mode 100644 index 00000000..4a07ea22 --- /dev/null +++ b/models/model_pdu_session_tsn_bridge.go @@ -0,0 +1,29 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the new TSC user plane node information and may contain the DS-TT port and/or NW-TT port management information. +type PduSessionTsnBridge struct { + TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // IPv4 address domain identifier. + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + UeIpv6AddrPrefix string `json:"ueIpv6AddrPrefix,omitempty" yaml:"ueIpv6AddrPrefix" bson:"ueIpv6AddrPrefix,omitempty"` +} diff --git a/models/model_pdu_session_type.go b/models/model_pdu_session_type.go index f07872ef..240f9239 100644 --- a/models/model_pdu_session_type.go +++ b/models/model_pdu_session_type.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nchf_OfflineOnlyCharging * - * NRF NFManagement Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_pdu_session_types.go b/models/model_pdu_session_types.go index dd16091e..d89219e0 100644 --- a/models/model_pdu_session_types.go +++ b/models/model_pdu_session_types.go @@ -1,15 +1,18 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PduSessionTypes struct { - DefaultSessionType PduSessionType `json:"defaultSessionType" yaml:"defaultSessionType" bson:"defaultSessionType" mapstructure:"DefaultSessionType"` - AllowedSessionTypes []PduSessionType `json:"allowedSessionTypes,omitempty" yaml:"allowedSessionTypes" bson:"allowedSessionTypes" mapstructure:"AllowedSessionTypes"` + DefaultSessionType PduSessionType `json:"defaultSessionType,omitempty" yaml:"defaultSessionType" bson:"defaultSessionType,omitempty"` + AllowedSessionTypes []PduSessionType `json:"allowedSessionTypes,omitempty" yaml:"allowedSessionTypes" bson:"allowedSessionTypes,omitempty"` } diff --git a/models/model_pduid_information.go b/models/model_pduid_information.go new file mode 100644 index 00000000..6096ec29 --- /dev/null +++ b/models/model_pduid_information.go @@ -0,0 +1,25 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the ProSe Discovery UE ID and its validity timer. +type PduidInformation struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` + // Contains the PDUID. + Pduid string `json:"pduid" yaml:"pduid" bson:"pduid,omitempty"` +} diff --git a/models/model_pei_update_info.go b/models/model_pei_update_info.go new file mode 100644 index 00000000..fee9454b --- /dev/null +++ b/models/model_pei_update_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PeiUpdateInfo struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei" yaml:"pei" bson:"pei,omitempty"` +} diff --git a/models/model_pending_policy_counter_status.go b/models/model_pending_policy_counter_status.go new file mode 100644 index 00000000..b31d7bb1 --- /dev/null +++ b/models/model_pending_policy_counter_status.go @@ -0,0 +1,25 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the data structure presenting the pending policy counter status. +type PendingPolicyCounterStatus struct { + // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. + PolicyCounterStatus string `json:"policyCounterStatus" yaml:"policyCounterStatus" bson:"policyCounterStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ActivationTime *time.Time `json:"activationTime" yaml:"activationTime" bson:"activationTime,omitempty"` +} diff --git a/models/model_per_ue_attribute.go b/models/model_per_ue_attribute.go new file mode 100644 index 00000000..9fd1b2e3 --- /dev/null +++ b/models/model_per_ue_attribute.go @@ -0,0 +1,27 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE application data collected per UE. +type PerUeAttribute struct { + UeDest *LocationArea5G `json:"ueDest,omitempty" yaml:"ueDest" bson:"ueDest,omitempty"` + Route string `json:"route,omitempty" yaml:"route" bson:"route,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgSpeed string `json:"avgSpeed,omitempty" yaml:"avgSpeed" bson:"avgSpeed,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfArrival *time.Time `json:"timeOfArrival,omitempty" yaml:"timeOfArrival" bson:"timeOfArrival,omitempty"` +} diff --git a/models/model_perf_data.go b/models/model_perf_data.go new file mode 100644 index 00000000..a4fe0428 --- /dev/null +++ b/models/model_perf_data.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance data. +type PerfData struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvePacketDelay int32 `json:"avePacketDelay,omitempty" yaml:"avePacketDelay" bson:"avePacketDelay,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` +} diff --git a/models/model_performance_data.go b/models/model_performance_data.go new file mode 100644 index 00000000..4feb33b9 --- /dev/null +++ b/models/model_performance_data.go @@ -0,0 +1,25 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Performance Data. +type PerformanceData struct { + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + Plr int32 `json:"plr,omitempty" yaml:"plr" bson:"plr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` +} diff --git a/models/model_performance_data_collection.go b/models/model_performance_data_collection.go new file mode 100644 index 00000000..686878a6 --- /dev/null +++ b/models/model_performance_data_collection.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Performance Data Analytics related information collection. +type PerformanceDataCollection struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + UeLoc *LocationArea5G `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` + AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` + PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/model_performance_data_info.go b/models/model_performance_data_info.go new file mode 100644 index 00000000..a36a43e3 --- /dev/null +++ b/models/model_performance_data_info.go @@ -0,0 +1,31 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Performance Data Analytics related information collection. +type PerformanceDataInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` + AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` + PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/model_periodic_communication_indicator.go b/models/model_periodic_communication_indicator.go new file mode 100644 index 00000000..23b9ce6c --- /dev/null +++ b/models/model_periodic_communication_indicator.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PeriodicCommunicationIndicator string + +// List of PeriodicCommunicationIndicator +const ( + PeriodicCommunicationIndicator_PIORIODICALLY PeriodicCommunicationIndicator = "PIORIODICALLY" + PeriodicCommunicationIndicator_ON_DEMAND PeriodicCommunicationIndicator = "ON_DEMAND" +) diff --git a/models/model_periodic_event_info.go b/models/model_periodic_event_info.go new file mode 100644 index 00000000..c4371f93 --- /dev/null +++ b/models/model_periodic_event_info.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of periodic event reporting. +type PeriodicEventInfo struct { + // Number of required periodic event reports. + ReportingAmount int32 `json:"reportingAmount" yaml:"reportingAmount" bson:"reportingAmount,omitempty"` + // Event reporting periodic interval in seconds. + ReportingInterval int32 `json:"reportingInterval" yaml:"reportingInterval" bson:"reportingInterval,omitempty"` + ReportingInfiniteInd bool `json:"reportingInfiniteInd,omitempty" yaml:"reportingInfiniteInd" bson:"reportingInfiniteInd,omitempty"` + // Event reporting periodic interval in milliseconds. + ReportingIntervalMs int32 `json:"reportingIntervalMs,omitempty" yaml:"reportingIntervalMs" bson:"reportingIntervalMs,omitempty"` +} diff --git a/models/model_periodicity.go b/models/model_periodicity.go index 2bf6c03a..4493ef76 100644 --- a/models/model_periodicity.go +++ b/models/model_periodicity.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_permanent_key.go b/models/model_permanent_key.go deleted file mode 100644 index 80adacaf..00000000 --- a/models/model_permanent_key.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PermanentKey struct { - PermanentKeyValue string `json:"permanentKeyValue" bson:"permanentKeyValue"` - EncryptionKey int32 `json:"encryptionKey" bson:"encryptionKey"` - EncryptionAlgorithm int32 `json:"encryptionAlgorithm" bson:"encryptionAlgorithm"` -} diff --git a/models/model_pfd.go b/models/model_pfd.go index 76b68ba2..de93ab23 100644 --- a/models/model_pfd.go +++ b/models/model_pfd.go @@ -1,9 +1,12 @@ /* * 3gpp-pfd-management * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,11 +14,12 @@ package models type Pfd struct { // Identifies a PDF of an application identifier. - PfdId string `json:"pfdId" yaml:"pfdId" bson:"pfdId" mapstructure:"PfdId"` - // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. The content of the string has the same encoding as the IPFilterRule AVP value as defined in IETF RFC 6733. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions" mapstructure:"FlowDescriptions"` + PfdId string `json:"pfdId" yaml:"pfdId" bson:"pfdId"` + // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. The content of the string has the same encoding as the IPFilterRule AVP value as defined in IETF RFC 6733. + FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions"` // Indicates a URL or a regular expression which is used to match the significant parts of the URL. - Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls" mapstructure:"Urls"` + Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls"` // Indicates an FQDN or a regular expression as a domain name matching criteria. - DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames" mapstructure:"DomainNames"` + DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames"` + DnProtocol DomainNameProtocol `json:"dnProtocol,omitempty" yaml:"dnProtocol" bson:"dnProtocol"` } diff --git a/models/model_pfd_change_notification.go b/models/model_pfd_change_notification.go index 8581dfdc..0e446619 100644 --- a/models/model_pfd_change_notification.go +++ b/models/model_pfd_change_notification.go @@ -1,17 +1,24 @@ /* - * Nnef_PFDmanagement Sevice API + * Nnef_PFDmanagement Service API * - * Packet Flow Description Management Service + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents information related to a notification of PFD change. type PfdChangeNotification struct { - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId" mapstructure:"ApplicationId"` - RemovalFlag bool `json:"removalFlag,omitempty" yaml:"removalFlag" bson:"removalFlag" mapstructure:"RemovalFlag"` - PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag" mapstructure:"PartialFlag"` - Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds" mapstructure:"Pfds"` + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + // Indication of removal of PFDs for an existing application identifier. Set to true indicates the PFDs are removed. Set to false indicates the PFDs are not removed. Default value is false if omitted. + RemovalFlag bool `json:"removalFlag,omitempty" yaml:"removalFlag" bson:"removalFlag,omitempty"` + // Indication of partial update of PFDs for an existing application identifier if this operation is supported according to feature negotiation. Set to true indicates partial update PFDs for the included application identifier. Set to false indicates not partial update PFDs for the included application identifier. Default value is \"false\" if omitted. + PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` + Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` } diff --git a/models/model_pfd_change_report.go b/models/model_pfd_change_report.go index 6358e1a6..c0da961a 100644 --- a/models/model_pfd_change_report.go +++ b/models/model_pfd_change_report.go @@ -1,15 +1,19 @@ /* - * Nnef_PFDmanagement Sevice API + * Nnef_PFDmanagement Service API * - * Packet Flow Description Management Service + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents an error report on PFD change. type PfdChangeReport struct { - PfdError *ProblemDetails `json:"pfdError" yaml:"pfdError" bson:"pfdError" mapstructure:"PfdError"` - ApplicationId []string `json:"applicationId" yaml:"applicationId" bson:"applicationId" mapstructure:"ApplicationId"` + PfdError *ProblemDetails `json:"pfdError" yaml:"pfdError" bson:"pfdError,omitempty"` + ApplicationId []string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` } diff --git a/models/model_pfd_content.go b/models/model_pfd_content.go index 1fddca8b..2b1c6c88 100644 --- a/models/model_pfd_content.go +++ b/models/model_pfd_content.go @@ -1,21 +1,26 @@ /* - * Nnef_PFDmanagement Sevice API + * Nnef_PFDmanagement Service API * - * Packet Flow Description Management Service + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the content of a PFD for an application identifier. type PfdContent struct { // Identifies a PDF of an application identifier. - PfdId string `json:"pfdId,omitempty" yaml:"pfdId" bson:"pfdId" mapstructure:"PfdId"` + PfdId string `json:"pfdId,omitempty" yaml:"pfdId" bson:"pfdId,omitempty"` // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions" mapstructure:"FlowDescriptions"` + FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` // Indicates a URL or a regular expression which is used to match the significant parts of the URL. - Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls" mapstructure:"Urls"` + Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls,omitempty"` // Indicates an FQDN or a regular expression as a domain name matching criteria. - DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames" mapstructure:"DomainNames"` + DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames,omitempty"` + DnProtocol DomainNameProtocol `json:"dnProtocol,omitempty" yaml:"dnProtocol" bson:"dnProtocol,omitempty"` } diff --git a/models/model_pfd_data.go b/models/model_pfd_data.go index 2c63310e..2d67ef7e 100644 --- a/models/model_pfd_data.go +++ b/models/model_pfd_data.go @@ -1,23 +1,19 @@ /* - * 3gpp-pfd-management + * NRF NFManagement Service * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// List of Application IDs and/or AF IDs managed by a given NEF Instance type PfdData struct { - // Each element uniquely external application identifier - ExternalAppId string `json:"externalAppId" yaml:"externalAppId" bson:"externalAppId" mapstructure:"ExternalAppId"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self" mapstructure:"Self"` - // Contains the PFDs of the external application identifier. Each PFD is identified in the map via a key containing the PFD identifier. - Pfds map[string]Pfd `json:"pfds" yaml:"pfds" bson:"pfds" mapstructure:"Pfds"` - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay" mapstructure:"AllowedDelay"` - // Unsigned integer identifying a period of time in units of seconds with \"readOnly=true\" property. - CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime" mapstructure:"CachingTime"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` } diff --git a/models/model_pfd_data_for_app.go b/models/model_pfd_data_for_app.go index 16036dac..b9d53dc7 100644 --- a/models/model_pfd_data_for_app.go +++ b/models/model_pfd_data_for_app.go @@ -1,9 +1,12 @@ /* - * Nnef_PFDmanagement Sevice API + * Nnef_PFDmanagement Service API * - * Packet Flow Description Management Service + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,19 @@ import ( "time" ) +// Represents the PFDs for an application identifier. type PfdDataForApp struct { - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId" mapstructure:"ApplicationId"` - Pfds []PfdContent `json:"pfds" yaml:"pfds" bson:"pfds" mapstructure:"Pfds"` - CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime" mapstructure:"CachingTime"` + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` + // indicating a time in seconds. + CachingTimer int32 `json:"cachingTimer,omitempty" yaml:"cachingTimer" bson:"cachingTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` + // Indication of partial update of PFDs for an existing application identifier if it is included and set to true. Otherwise set to false indicates not supporting partial update of PFDs for an existing application identifier. The default value false applies if the attribute is not present. + PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_pfd_data_for_app_ext.go b/models/model_pfd_data_for_app_ext.go new file mode 100644 index 00000000..94520629 --- /dev/null +++ b/models/model_pfd_data_for_app_ext.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the PFDs and related data for the application. +type PfdDataForAppExt struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + Pfds []PfdContent `json:"pfds" yaml:"pfds" bson:"pfds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // indicating a time in seconds. + AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` +} diff --git a/models/model_pfd_management.go b/models/model_pfd_management.go index 292ac240..a8616602 100644 --- a/models/model_pfd_management.go +++ b/models/model_pfd_management.go @@ -1,20 +1,28 @@ /* * 3gpp-pfd-management * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PfdManagement struct { - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self" mapstructure:"Self"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` // Each element uniquely identifies the PFDs for an external application identifier. Each element is identified in the map via an external application identifier as key. The response shall include successfully provisioned PFD data of application(s). - PfdDatas map[string]PfdData `json:"pfdDatas" yaml:"pfdDatas" bson:"pfdDatas" mapstructure:"PfdDatas"` + PfdDatas map[string]PfdPfdData `json:"pfdDatas" yaml:"pfdDatas" bson:"pfdDatas"` // Supplied by the SCEF and contains the external application identifiers for which PFD(s) are not added or modified successfully. The failure reason is also included. Each element provides the related information for one or more external application identifier(s) and is identified in the map via the failure identifier as key. - PfdReports map[string]PfdReport `json:"pfdReports,omitempty" yaml:"pfdReports" bson:"pfdReports" mapstructure:"PfdReports"` + PfdReports map[string]PfdReport `json:"pfdReports,omitempty" yaml:"pfdReports" bson:"pfdReports"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination"` + // Set to true by the SCS/AS to request the SCEF to send a test notification as defined in subclause 5.2.5.3. Set to false or omitted otherwise. + RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig"` } diff --git a/models/model_pfd_operation.go b/models/model_pfd_operation.go new file mode 100644 index 00000000..9b5a13db --- /dev/null +++ b/models/model_pfd_operation.go @@ -0,0 +1,23 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PfdOperation string + +// List of PfdOperation +const ( + PfdOperation_RETRIEVE PfdOperation = "RETRIEVE" + PfdOperation_FULLPULL PfdOperation = "FULLPULL" + PfdOperation_PARTIALPULL PfdOperation = "PARTIALPULL" + PfdOperation_REMOVE PfdOperation = "REMOVE" +) diff --git a/models/model_pfd_pfd_data.go b/models/model_pfd_pfd_data.go new file mode 100644 index 00000000..109b2c5b --- /dev/null +++ b/models/model_pfd_pfd_data.go @@ -0,0 +1,26 @@ +/* + * 3gpp-pfd-management + * + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PfdPfdData struct { + // Each element uniquely external application identifier + ExternalAppId string `json:"externalAppId" yaml:"externalAppId" bson:"externalAppId"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self"` + // Contains the PFDs of the external application identifier. Each PFD is identified in the map via a key containing the PFD identifier. + Pfds map[string]Pfd `json:"pfds" yaml:"pfds" bson:"pfds"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay"` + // Unsigned integer identifying a period of time in units of seconds with \"readOnly=true\" property. + CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime"` +} diff --git a/models/model_pfd_report.go b/models/model_pfd_report.go index bb7c956f..7d0dcf09 100644 --- a/models/model_pfd_report.go +++ b/models/model_pfd_report.go @@ -1,9 +1,12 @@ /* * 3gpp-pfd-management * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,8 +14,9 @@ package models type PfdReport struct { // Identifies the external application identifier(s) which PFD(s) are not added or modified successfully - ExternalAppIds []string `json:"externalAppIds" yaml:"externalAppIds" bson:"externalAppIds" mapstructure:"ExternalAppIds"` - FailureCode FailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode" mapstructure:"FailureCode"` + ExternalAppIds []string `json:"externalAppIds" yaml:"externalAppIds" bson:"externalAppIds"` + FailureCode FailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode"` // Unsigned integer identifying a period of time in units of seconds. - CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime" mapstructure:"CachingTime"` + CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime"` + LocationArea *UserPlaneLocationArea `json:"locationArea,omitempty" yaml:"locationArea" bson:"locationArea"` } diff --git a/models/model_pfd_subscription.go b/models/model_pfd_subscription.go index 691affca..87b9dd3b 100644 --- a/models/model_pfd_subscription.go +++ b/models/model_pfd_subscription.go @@ -1,16 +1,22 @@ /* - * Nnef_PFDmanagement Sevice API + * Nnef_PFDmanagement Service API * - * Packet Flow Description Management Service + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a PFD subscription. type PfdSubscription struct { - ApplicationIds []string `json:"applicationIds,omitempty" yaml:"applicationIds" bson:"applicationIds" mapstructure:"ApplicationIds"` - NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri" mapstructure:"NotifyUri"` - SupportedFeatures string `json:"supportedFeatures" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` + ApplicationIds []string `json:"applicationIds,omitempty" yaml:"applicationIds" bson:"applicationIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_pfi_container_information.go b/models/model_pfi_container_information.go new file mode 100644 index 00000000..fd8e4f50 --- /dev/null +++ b/models/model_pfi_container_information.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PfiContainerInformation struct { + PFI string `json:"pFI,omitempty" yaml:"pFI" bson:"pFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReportTime *time.Time `json:"reportTime,omitempty" yaml:"reportTime" bson:"reportTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` +} diff --git a/models/model_pgw_info.go b/models/model_pgw_info.go index 0be991d3..05bf66d6 100644 --- a/models/model_pgw_info.go +++ b/models/model_pgw_info.go @@ -1,16 +1,31 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type PgwInfo struct { - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn" mapstructure:"PgwFqdn"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` } diff --git a/models/model_play_to_party.go b/models/model_play_to_party.go new file mode 100644 index 00000000..f5e5a765 --- /dev/null +++ b/models/model_play_to_party.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlayToParty string + +// List of PlayToParty +const ( + PlayToParty_SERVED PlayToParty = "SERVED" + PlayToParty_REMOTE PlayToParty = "REMOTE" +) diff --git a/models/model_plmn_ec_info.go b/models/model_plmn_ec_info.go new file mode 100644 index 00000000..3184afb4 --- /dev/null +++ b/models/model_plmn_ec_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnEcInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` +} diff --git a/models/model_plmn_id.go b/models/model_plmn_id.go index b61f8207..68fe5d32 100644 --- a/models/model_plmn_id.go +++ b/models/model_plmn_id.go @@ -1,15 +1,21 @@ /* - * Nsmf_EventExposure + * Nhss_imsSDM * - * Session Management Event Exposure Service API + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// When PlmnId needs to be converted to string (e.g. when used in maps as key), the string shall be composed of three digits \"mcc\" followed by \"-\" and two or three digits \"mnc\". type PlmnId struct { - Mcc string `json:"mcc" yaml:"mcc" bson:"mcc" mapstructure:"Mcc"` - Mnc string `json:"mnc" yaml:"mnc" bson:"mnc" mapstructure:"Mnc"` + // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` + // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` } diff --git a/models/model_plmn_id_nid.go b/models/model_plmn_id_nid.go index 97e1b3f8..b45183d8 100644 --- a/models/model_plmn_id_nid.go +++ b/models/model_plmn_id_nid.go @@ -1,16 +1,23 @@ /* - * Nchf_ConvergedCharging + * 3gpp-as-session-with-qos * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the serving core network operator PLMN ID and, for an SNPN, the NID that together with the PLMN ID identifies the SNPN. type PlmnIdNid struct { - Mcc string `json:"mcc" yaml:"mcc" bson:"mcc" mapstructure:"Mcc"` - Mnc string `json:"mnc" yaml:"mnc" bson:"mnc" mapstructure:"Mnc"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid" mapstructure:"Nid"` + // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` + // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_plmn_oauth2.go b/models/model_plmn_oauth2.go new file mode 100644 index 00000000..b1b6408d --- /dev/null +++ b/models/model_plmn_oauth2.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Oauth2.0 required indication for a given PLMN ID +type PlmnOauth2 struct { + Oauth2RequiredPlmnIdList []PlmnId `json:"oauth2RequiredPlmnIdList,omitempty" yaml:"oauth2RequiredPlmnIdList" bson:"oauth2RequiredPlmnIdList,omitempty"` + Oauth2NotRequiredPlmnIdList []PlmnId `json:"oauth2NotRequiredPlmnIdList,omitempty" yaml:"oauth2NotRequiredPlmnIdList" bson:"oauth2NotRequiredPlmnIdList,omitempty"` +} diff --git a/models/model_plmn_operator_class.go b/models/model_plmn_operator_class.go new file mode 100644 index 00000000..a70e0786 --- /dev/null +++ b/models/model_plmn_operator_class.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnOperatorClass struct { + LcsClientClass LcsClientClass `json:"lcsClientClass" yaml:"lcsClientClass" bson:"lcsClientClass,omitempty"` + LcsClientIds []string `json:"lcsClientIds" yaml:"lcsClientIds" bson:"lcsClientIds,omitempty"` +} diff --git a/models/model_plmn_range.go b/models/model_plmn_range.go index da90f49b..5e19e0a6 100644 --- a/models/model_plmn_range.go +++ b/models/model_plmn_range.go @@ -1,16 +1,20 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Range of PLMN IDs type PlmnRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern" mapstructure:"Pattern"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` } diff --git a/models/model_plmn_restriction.go b/models/model_plmn_restriction.go new file mode 100644 index 00000000..29160321 --- /dev/null +++ b/models/model_plmn_restriction.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnRestriction struct { + RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` + ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` + PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` + SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` +} diff --git a/models/model_plmn_route_selection_descriptor.go b/models/model_plmn_route_selection_descriptor.go new file mode 100644 index 00000000..da88f3d6 --- /dev/null +++ b/models/model_plmn_route_selection_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selection descriptors (combinations of SNSSAI, DNNs, PDU session types, SSC modes and ATSSS information) allowed by subscription to the UE for a serving PLMN +type PlmnRouteSelectionDescriptor struct { + ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + SnssaiRouteSelDescs []SnssaiRouteSelectionDescriptor `json:"snssaiRouteSelDescs,omitempty" yaml:"snssaiRouteSelDescs" bson:"snssaiRouteSelDescs,omitempty"` +} diff --git a/models/model_plmn_snssai.go b/models/model_plmn_snssai.go index 481582bf..a05036ff 100644 --- a/models/model_plmn_snssai.go +++ b/models/model_plmn_snssai.go @@ -1,15 +1,21 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// List of network slices (S-NSSAIs) for a given PLMN ID type PlmnSnssai struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - SNssaiList []Snssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList" mapstructure:"SNssaiList"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_point.go b/models/model_point.go index 08913da9..482fbb03 100644 --- a/models/model_point.go +++ b/models/model_point.go @@ -1,15 +1,19 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid Point. type Point struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` } diff --git a/models/model_point_altitude.go b/models/model_point_altitude.go index 0f3648f0..58688271 100644 --- a/models/model_point_altitude.go +++ b/models/model_point_altitude.go @@ -1,16 +1,21 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid point with altitude. type PointAltitude struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - Altitude float32 `json:"altitude" yaml:"altitude" bson:"altitude"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` } diff --git a/models/model_point_altitude_uncertainty.go b/models/model_point_altitude_uncertainty.go index fcb550fc..28300fb3 100644 --- a/models/model_point_altitude_uncertainty.go +++ b/models/model_point_altitude_uncertainty.go @@ -1,19 +1,26 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid point with altitude and uncertainty ellipsoid. type PointAltitudeUncertainty struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - Altitude float32 `json:"altitude" yaml:"altitude" bson:"altitude"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse"` - UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude"` - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of uncertainty. + UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` } diff --git a/models/model_point_uncertainty_circle.go b/models/model_point_uncertainty_circle.go index 63d247bc..7ad5cb79 100644 --- a/models/model_point_uncertainty_circle.go +++ b/models/model_point_uncertainty_circle.go @@ -1,16 +1,21 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid point with uncertainty circle. type PointUncertaintyCircle struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of uncertainty. + Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` } diff --git a/models/model_point_uncertainty_ellipse.go b/models/model_point_uncertainty_ellipse.go index 6984ac2a..1f7e29e9 100644 --- a/models/model_point_uncertainty_ellipse.go +++ b/models/model_point_uncertainty_ellipse.go @@ -1,17 +1,22 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipsoid point with uncertainty ellipse. type PointUncertaintyEllipse struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - Point *GeographicalCoordinates `json:"point" yaml:"point" bson:"point"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse"` - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` } diff --git a/models/model_policy_association.go b/models/model_policy_association.go deleted file mode 100644 index 93985358..00000000 --- a/models/model_policy_association.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyAssociation struct { - Request *PolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request" mapstructure:"Request"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []RequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes" mapstructure:"ServAreaRes"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp" mapstructure:"Rfsp"` - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras" mapstructure:"Pras"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` -} diff --git a/models/model_policy_association_release_cause.go b/models/model_policy_association_release_cause.go index 42dc2565..969b8e32 100644 --- a/models/model_policy_association_release_cause.go +++ b/models/model_policy_association_release_cause.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_UEPolicyControl * - * Session Management Policy Control Service + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_policy_association_request.go b/models/model_policy_association_request.go deleted file mode 100644 index a4f9671a..00000000 --- a/models/model_policy_association_request.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyAssociationRequest struct { - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri" mapstructure:"NotificationUri"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs" mapstructure:"AltNotifIpv4Addrs"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs" mapstructure:"AltNotifIpv6Addrs"` - Supi string `json:"supi" yaml:"supi" bson:"supi" mapstructure:"Supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei" mapstructure:"Pei"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc" mapstructure:"UserLoc"` - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone" mapstructure:"TimeZone"` - ServingPlmn *NetworkId `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn" mapstructure:"ServingPlmn"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds" mapstructure:"GroupIds"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes" mapstructure:"ServAreaRes"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp" mapstructure:"Rfsp"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami" mapstructure:"Guami"` - // If the NF service consumer is an AMF, it should provide the name of a service produced by the AMF that makes use of information received within the Npcf_AMPolicyControl_UpdateNotify service operation. - ServiveName string `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName" mapstructure:"ServiveName"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq" mapstructure:"TraceReq"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` -} diff --git a/models/model_policy_association_update_request.go b/models/model_policy_association_update_request.go deleted file mode 100644 index 88e22f4d..00000000 --- a/models/model_policy_association_update_request.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyAssociationUpdateRequest struct { - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri" mapstructure:"NotificationUri"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs" mapstructure:"AltNotifIpv4Addrs"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs" mapstructure:"AltNotifIpv6Addrs"` - // Request Triggers that the NF service consumer observes. - Triggers []RequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes" mapstructure:"ServAreaRes"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp" mapstructure:"Rfsp"` - // Map of PRA status information. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses" mapstructure:"PraStatuses"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc" mapstructure:"UserLoc"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq" mapstructure:"TraceReq"` -} diff --git a/models/model_policy_auth_qos_notification_control_info.go b/models/model_policy_auth_qos_notification_control_info.go new file mode 100644 index 00000000..f4f4f338 --- /dev/null +++ b/models/model_policy_auth_qos_notification_control_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates whether the QoS targets for a GRB flow are not guaranteed or guaranteed again +type PolicyAuthQosNotificationControlInfo struct { + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` +} diff --git a/models/model_policy_control_request_trigger.go b/models/model_policy_control_request_trigger.go index f2870859..0a4a7469 100644 --- a/models/model_policy_control_request_trigger.go +++ b/models/model_policy_control_request_trigger.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,31 +16,52 @@ type PolicyControlRequestTrigger string // List of PolicyControlRequestTrigger const ( - PolicyControlRequestTrigger_PLMN_CH PolicyControlRequestTrigger = "PLMN_CH" - PolicyControlRequestTrigger_RES_MO_RE PolicyControlRequestTrigger = "RES_MO_RE" - PolicyControlRequestTrigger_AC_TY_CH PolicyControlRequestTrigger = "AC_TY_CH" - PolicyControlRequestTrigger_UE_IP_CH PolicyControlRequestTrigger = "UE_IP_CH" - PolicyControlRequestTrigger_UE_MAC_CH PolicyControlRequestTrigger = "UE_MAC_CH" - PolicyControlRequestTrigger_AN_CH_COR PolicyControlRequestTrigger = "AN_CH_COR" - PolicyControlRequestTrigger_US_RE PolicyControlRequestTrigger = "US_RE" - PolicyControlRequestTrigger_APP_STA PolicyControlRequestTrigger = "APP_STA" - PolicyControlRequestTrigger_APP_STO PolicyControlRequestTrigger = "APP_STO" - PolicyControlRequestTrigger_AN_INFO PolicyControlRequestTrigger = "AN_INFO" - PolicyControlRequestTrigger_CM_SES_FAIL PolicyControlRequestTrigger = "CM_SES_FAIL" - PolicyControlRequestTrigger_PS_DA_OFF PolicyControlRequestTrigger = "PS_DA_OFF" - PolicyControlRequestTrigger_DEF_QOS_CH PolicyControlRequestTrigger = "DEF_QOS_CH" - PolicyControlRequestTrigger_SE_AMBR_CH PolicyControlRequestTrigger = "SE_AMBR_CH" - PolicyControlRequestTrigger_QOS_NOTIF PolicyControlRequestTrigger = "QOS_NOTIF" - PolicyControlRequestTrigger_NO_CREDIT PolicyControlRequestTrigger = "NO_CREDIT" - PolicyControlRequestTrigger_PRA_CH PolicyControlRequestTrigger = "PRA_CH" - PolicyControlRequestTrigger_SAREA_CH PolicyControlRequestTrigger = "SAREA_CH" - PolicyControlRequestTrigger_SCNN_CH PolicyControlRequestTrigger = "SCNN_CH" - PolicyControlRequestTrigger_RE_TIMEOUT PolicyControlRequestTrigger = "RE_TIMEOUT" - PolicyControlRequestTrigger_RES_RELEASE PolicyControlRequestTrigger = "RES_RELEASE" - PolicyControlRequestTrigger_SUCC_RES_ALLO PolicyControlRequestTrigger = "SUCC_RES_ALLO" - PolicyControlRequestTrigger_RAT_TY_CH PolicyControlRequestTrigger = "RAT_TY_CH" - PolicyControlRequestTrigger_REF_QOS_IND_CH PolicyControlRequestTrigger = "REF_QOS_IND_CH" - PolicyControlRequestTrigger_NUM_OF_PACKET_FILTER PolicyControlRequestTrigger = "NUM_OF_PACKET_FILTER" - PolicyControlRequestTrigger_UE_STATUS_RESUME PolicyControlRequestTrigger = "UE_STATUS_RESUME" - PolicyControlRequestTrigger_UE_TZ_CH PolicyControlRequestTrigger = "UE_TZ_CH" + PolicyControlRequestTrigger_PLMN_CH PolicyControlRequestTrigger = "PLMN_CH" + PolicyControlRequestTrigger_RES_MO_RE PolicyControlRequestTrigger = "RES_MO_RE" + PolicyControlRequestTrigger_AC_TY_CH PolicyControlRequestTrigger = "AC_TY_CH" + PolicyControlRequestTrigger_UE_IP_CH PolicyControlRequestTrigger = "UE_IP_CH" + PolicyControlRequestTrigger_UE_MAC_CH PolicyControlRequestTrigger = "UE_MAC_CH" + PolicyControlRequestTrigger_AN_CH_COR PolicyControlRequestTrigger = "AN_CH_COR" + PolicyControlRequestTrigger_US_RE PolicyControlRequestTrigger = "US_RE" + PolicyControlRequestTrigger_APP_STA PolicyControlRequestTrigger = "APP_STA" + PolicyControlRequestTrigger_APP_STO PolicyControlRequestTrigger = "APP_STO" + PolicyControlRequestTrigger_AN_INFO PolicyControlRequestTrigger = "AN_INFO" + PolicyControlRequestTrigger_CM_SES_FAIL PolicyControlRequestTrigger = "CM_SES_FAIL" + PolicyControlRequestTrigger_PS_DA_OFF PolicyControlRequestTrigger = "PS_DA_OFF" + PolicyControlRequestTrigger_DEF_QOS_CH PolicyControlRequestTrigger = "DEF_QOS_CH" + PolicyControlRequestTrigger_SE_AMBR_CH PolicyControlRequestTrigger = "SE_AMBR_CH" + PolicyControlRequestTrigger_QOS_NOTIF PolicyControlRequestTrigger = "QOS_NOTIF" + PolicyControlRequestTrigger_NO_CREDIT PolicyControlRequestTrigger = "NO_CREDIT" + PolicyControlRequestTrigger_REALLO_OF_CREDIT PolicyControlRequestTrigger = "REALLO_OF_CREDIT" + PolicyControlRequestTrigger_PRA_CH PolicyControlRequestTrigger = "PRA_CH" + PolicyControlRequestTrigger_SAREA_CH PolicyControlRequestTrigger = "SAREA_CH" + PolicyControlRequestTrigger_SCNN_CH PolicyControlRequestTrigger = "SCNN_CH" + PolicyControlRequestTrigger_RE_TIMEOUT PolicyControlRequestTrigger = "RE_TIMEOUT" + PolicyControlRequestTrigger_RES_RELEASE PolicyControlRequestTrigger = "RES_RELEASE" + PolicyControlRequestTrigger_SUCC_RES_ALLO PolicyControlRequestTrigger = "SUCC_RES_ALLO" + PolicyControlRequestTrigger_RAI_CH PolicyControlRequestTrigger = "RAI_CH" + PolicyControlRequestTrigger_RAT_TY_CH PolicyControlRequestTrigger = "RAT_TY_CH" + PolicyControlRequestTrigger_REF_QOS_IND_CH PolicyControlRequestTrigger = "REF_QOS_IND_CH" + PolicyControlRequestTrigger_NUM_OF_PACKET_FILTER PolicyControlRequestTrigger = "NUM_OF_PACKET_FILTER" + PolicyControlRequestTrigger_UE_STATUS_RESUME PolicyControlRequestTrigger = "UE_STATUS_RESUME" + PolicyControlRequestTrigger_UE_TZ_CH PolicyControlRequestTrigger = "UE_TZ_CH" + PolicyControlRequestTrigger_AUTH_PROF_CH PolicyControlRequestTrigger = "AUTH_PROF_CH" + PolicyControlRequestTrigger_QOS_MONITORING PolicyControlRequestTrigger = "QOS_MONITORING" + PolicyControlRequestTrigger_SCELL_CH PolicyControlRequestTrigger = "SCELL_CH" + PolicyControlRequestTrigger_USER_LOCATION_CH PolicyControlRequestTrigger = "USER_LOCATION_CH" + PolicyControlRequestTrigger_EPS_FALLBACK PolicyControlRequestTrigger = "EPS_FALLBACK" + PolicyControlRequestTrigger_MA_PDU PolicyControlRequestTrigger = "MA_PDU" + PolicyControlRequestTrigger_TSN_BRIDGE_INFO PolicyControlRequestTrigger = "TSN_BRIDGE_INFO" + PolicyControlRequestTrigger__5_G_RG_JOIN PolicyControlRequestTrigger = "5G_RG_JOIN" + PolicyControlRequestTrigger__5_G_RG_LEAVE PolicyControlRequestTrigger = "5G_RG_LEAVE" + PolicyControlRequestTrigger_DDN_FAILURE PolicyControlRequestTrigger = "DDN_FAILURE" + PolicyControlRequestTrigger_DDN_DELIVERY_STATUS PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS" + PolicyControlRequestTrigger_GROUP_ID_LIST_CHG PolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" + PolicyControlRequestTrigger_DDN_FAILURE_CANCELLATION PolicyControlRequestTrigger = "DDN_FAILURE_CANCELLATION" + PolicyControlRequestTrigger_DDN_DELIVERY_STATUS_CANCELLATION PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS_CANCELLATION" + PolicyControlRequestTrigger_VPLMN_QOS_CH PolicyControlRequestTrigger = "VPLMN_QOS_CH" + PolicyControlRequestTrigger_SUCC_QOS_UPDATE PolicyControlRequestTrigger = "SUCC_QOS_UPDATE" + PolicyControlRequestTrigger_SAT_CATEGORY_CHG PolicyControlRequestTrigger = "SAT_CATEGORY_CHG" + PolicyControlRequestTrigger_PCF_UE_NOTIF_IND PolicyControlRequestTrigger = "PCF_UE_NOTIF_IND" + PolicyControlRequestTrigger_NWDAF_DATA_CHG PolicyControlRequestTrigger = "NWDAF_DATA_CHG" ) diff --git a/models/model_policy_counter_info.go b/models/model_policy_counter_info.go new file mode 100644 index 00000000..a98b042d --- /dev/null +++ b/models/model_policy_counter_info.go @@ -0,0 +1,23 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the data structure presenting the policy counter status. +type PolicyCounterInfo struct { + // Identifies a policy counter. + PolicyCounterId string `json:"policyCounterId" yaml:"policyCounterId" bson:"policyCounterId,omitempty"` + // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. + CurrentStatus string `json:"currentStatus" yaml:"currentStatus" bson:"currentStatus,omitempty"` + // Provides the pending policy counter status. + PenPolCounterStatuses []PendingPolicyCounterStatus `json:"penPolCounterStatuses,omitempty" yaml:"penPolCounterStatuses" bson:"penPolCounterStatuses,omitempty"` +} diff --git a/models/model_policy_data_change_notification.go b/models/model_policy_data_change_notification.go index 2cf2aea1..c25dfe3f 100644 --- a/models/model_policy_data_change_notification.go +++ b/models/model_policy_data_change_notification.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,14 +14,26 @@ package models // Contains changed policy data for which notification was requested. type PolicyDataChangeNotification struct { - AmPolicyData *AmPolicyData `json:"amPolicyData,omitempty" yaml:"amPolicyData" bson:"amPolicyData" mapstructure:"AmPolicyData"` - UePolicySet *UePolicySet `json:"uePolicySet,omitempty" yaml:"uePolicySet" bson:"uePolicySet" mapstructure:"UePolicySet"` - SmPolicyData *SmPolicyData `json:"smPolicyData,omitempty" yaml:"smPolicyData" bson:"smPolicyData" mapstructure:"SmPolicyData"` - UsageMonData *UsageMonData `json:"usageMonData,omitempty" yaml:"usageMonData" bson:"usageMonData" mapstructure:"UsageMonData"` - SponsorConnectivityData *SponsorConnectivityData `json:"SponsorConnectivityData,omitempty" yaml:"SponsorConnectivityData" bson:"SponsorConnectivityData" mapstructure:"SponsorConnectivityData"` - BdtData *BdtData `json:"bdtData,omitempty" yaml:"bdtData" bson:"bdtData" mapstructure:"BdtData"` - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId" mapstructure:"UeId"` - SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId" mapstructure:"SponsorId"` - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId" mapstructure:"BdtRefId"` - UsageMonId string `json:"usageMonId,omitempty" yaml:"usageMonId" bson:"usageMonId" mapstructure:"UsageMonId"` + AmPolicyData *AmPolicyData `json:"amPolicyData,omitempty" yaml:"amPolicyData" bson:"amPolicyData,omitempty"` + UePolicySet *UePolicySet `json:"uePolicySet,omitempty" yaml:"uePolicySet" bson:"uePolicySet,omitempty"` + PlmnUePolicySet *UePolicySet `json:"plmnUePolicySet,omitempty" yaml:"plmnUePolicySet" bson:"plmnUePolicySet,omitempty"` + SmPolicyData *SmPolicyData `json:"smPolicyData,omitempty" yaml:"smPolicyData" bson:"smPolicyData,omitempty"` + UsageMonData *UsageMonData `json:"usageMonData,omitempty" yaml:"usageMonData" bson:"usageMonData,omitempty"` + SponsorConnectivityData *SponsorConnectivityData `json:"SponsorConnectivityData,omitempty" yaml:"SponsorConnectivityData" bson:"SponsorConnectivityData,omitempty"` + BdtData *BdtData `json:"bdtData,omitempty" yaml:"bdtData" bson:"bdtData,omitempty"` + OpSpecData *OperatorSpecificDataContainer `json:"opSpecData,omitempty" yaml:"opSpecData" bson:"opSpecData,omitempty"` + // Operator Specific Data resource data, if changed and notification was requested. The key of the map is operator specific data element name and the value is the operator specific data of the UE. + OpSpecDataMap map[string]OperatorSpecificDataContainer `json:"opSpecDataMap,omitempty" yaml:"opSpecDataMap" bson:"opSpecDataMap,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + UsageMonId string `json:"usageMonId,omitempty" yaml:"usageMonId" bson:"usageMonId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + ReportedFragments []NotificationItem `json:"reportedFragments,omitempty" yaml:"reportedFragments" bson:"reportedFragments,omitempty"` + SlicePolicyData *SlicePolicyData `json:"slicePolicyData,omitempty" yaml:"slicePolicyData" bson:"slicePolicyData,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` } diff --git a/models/model_policy_data_for_individual_ue.go b/models/model_policy_data_for_individual_ue.go new file mode 100644 index 00000000..c47643bc --- /dev/null +++ b/models/model_policy_data_for_individual_ue.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains policy data for a given subscriber. +type PolicyDataForIndividualUe struct { + UePolicyDataSet *UePolicySet `json:"uePolicyDataSet,omitempty" yaml:"uePolicyDataSet" bson:"uePolicyDataSet,omitempty"` + SmPolicyDataSet *SmPolicyData `json:"smPolicyDataSet,omitempty" yaml:"smPolicyDataSet" bson:"smPolicyDataSet,omitempty"` + AmPolicyDataSet *AmPolicyData `json:"amPolicyDataSet,omitempty" yaml:"amPolicyDataSet" bson:"amPolicyDataSet,omitempty"` + // Contains UM policies. The value of the limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // Contains Operator Specific Data resource data. The key of the map is operator specific data element name and the value is the operator specific data of the UE. + OperatorSpecificDataSet map[string]OperatorSpecificDataContainer `json:"operatorSpecificDataSet,omitempty" yaml:"operatorSpecificDataSet" bson:"operatorSpecificDataSet,omitempty"` +} diff --git a/models/model_policy_data_subscription.go b/models/model_policy_data_subscription.go index 89c5200a..cf78ac81 100644 --- a/models/model_policy_data_subscription.go +++ b/models/model_policy_data_subscription.go @@ -1,18 +1,32 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + // Identifies a subscription to policy data change notification. type PolicyDataSubscription struct { - // string providing an URI formatted according to IETF RFC 3986. - NotificationUri string `json:"notificationUri" bson:"notificationUri"` - MonitoredResourceUris []string `json:"monitoredResourceUris" bson:"monitoredResourceUris"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + MonResItems []ResourceItem `json:"monResItems,omitempty" yaml:"monResItems" bson:"monResItems,omitempty"` + ExcludedResItems []ResourceItem `json:"excludedResItems,omitempty" yaml:"excludedResItems" bson:"excludedResItems,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_policy_data_subset.go b/models/model_policy_data_subset.go new file mode 100644 index 00000000..1780540b --- /dev/null +++ b/models/model_policy_data_subset.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyDataSubset string + +// List of PolicyDataSubset +const ( + PolicyDataSubset_AM_POLICY_DATA PolicyDataSubset = "AM_POLICY_DATA" + PolicyDataSubset_SM_POLICY_DATA PolicyDataSubset = "SM_POLICY_DATA" + PolicyDataSubset_UE_POLICY_DATA PolicyDataSubset = "UE_POLICY_DATA" + PolicyDataSubset_UM_DATA PolicyDataSubset = "UM_DATA" + PolicyDataSubset_OPERATOR_SPECIFIC_DATA PolicyDataSubset = "OPERATOR_SPECIFIC_DATA" +) diff --git a/models/model_policy_decision_failure_code.go b/models/model_policy_decision_failure_code.go new file mode 100644 index 00000000..0228fb2c --- /dev/null +++ b/models/model_policy_decision_failure_code.go @@ -0,0 +1,26 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyDecisionFailureCode string + +// List of PolicyDecisionFailureCode +const ( + PolicyDecisionFailureCode_TRA_CTRL_DECS_ERR PolicyDecisionFailureCode = "TRA_CTRL_DECS_ERR" + PolicyDecisionFailureCode_QOS_DECS_ERR PolicyDecisionFailureCode = "QOS_DECS_ERR" + PolicyDecisionFailureCode_CHG_DECS_ERR PolicyDecisionFailureCode = "CHG_DECS_ERR" + PolicyDecisionFailureCode_USA_MON_DECS_ERR PolicyDecisionFailureCode = "USA_MON_DECS_ERR" + PolicyDecisionFailureCode_QOS_MON_DECS_ERR PolicyDecisionFailureCode = "QOS_MON_DECS_ERR" + PolicyDecisionFailureCode_CON_DATA_ERR PolicyDecisionFailureCode = "CON_DATA_ERR" + PolicyDecisionFailureCode_POLICY_PARAM_ERR PolicyDecisionFailureCode = "POLICY_PARAM_ERR" +) diff --git a/models/model_policy_req_trigger.go b/models/model_policy_req_trigger.go new file mode 100644 index 00000000..4dab1229 --- /dev/null +++ b/models/model_policy_req_trigger.go @@ -0,0 +1,27 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyReqTrigger string + +// List of PolicyReqTrigger +const ( + PolicyReqTrigger_LOCATION_CHANGE PolicyReqTrigger = "LOCATION_CHANGE" + PolicyReqTrigger_PRA_CHANGE PolicyReqTrigger = "PRA_CHANGE" + PolicyReqTrigger_ALLOWED_NSSAI_CHANGE PolicyReqTrigger = "ALLOWED_NSSAI_CHANGE" + PolicyReqTrigger_NWDAF_DATA_CHANGE PolicyReqTrigger = "NWDAF_DATA_CHANGE" + PolicyReqTrigger_PLMN_CHANGE PolicyReqTrigger = "PLMN_CHANGE" + PolicyReqTrigger_CON_STATE_CHANGE PolicyReqTrigger = "CON_STATE_CHANGE" + PolicyReqTrigger_SMF_SELECT_CHANGE PolicyReqTrigger = "SMF_SELECT_CHANGE" + PolicyReqTrigger_ACCESS_TYPE_CHANGE PolicyReqTrigger = "ACCESS_TYPE_CHANGE" +) diff --git a/models/model_policy_update.go b/models/model_policy_update.go deleted file mode 100644 index 3c8d1f2f..00000000 --- a/models/model_policy_update.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyUpdate struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri" mapstructure:"ResourceUri"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []RequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes" mapstructure:"ServAreaRes"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp" mapstructure:"Rfsp"` - // Map of PRA information. - Pras map[string]PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras" mapstructure:"Pras"` -} diff --git a/models/model_polygon.go b/models/model_polygon.go index 957479c9..7fc3986a 100644 --- a/models/model_polygon.go +++ b/models/model_polygon.go @@ -1,15 +1,20 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Polygon. type Polygon struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape"` - PointList []GeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList"` + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + // List of points. + PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` } diff --git a/models/model_port_management_container.go b/models/model_port_management_container.go new file mode 100644 index 00000000..cdfc84d4 --- /dev/null +++ b/models/model_port_management_container.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the port management information container for a port. +type PortManagementContainer struct { + // string with format 'bytes' as defined in OpenAPI + PortManCont string `json:"portManCont" yaml:"portManCont" bson:"portManCont,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNum int32 `json:"portNum" yaml:"portNum" bson:"portNum,omitempty"` +} diff --git a/models/model_positioning_method.go b/models/model_positioning_method.go index e229bff3..648307da 100644 --- a/models/model_positioning_method.go +++ b/models/model_positioning_method.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -20,4 +23,12 @@ const ( PositioningMethod_WLAN PositioningMethod = "WLAN" PositioningMethod_BLUETOOTH PositioningMethod = "BLUETOOTH" PositioningMethod_MBS PositioningMethod = "MBS" + PositioningMethod_MOTION_SENSOR PositioningMethod = "MOTION_SENSOR" + PositioningMethod_DL_TDOA PositioningMethod = "DL_TDOA" + PositioningMethod_DL_AOD PositioningMethod = "DL_AOD" + PositioningMethod_MULTI_RTT PositioningMethod = "MULTI-RTT" + PositioningMethod_NR_ECID PositioningMethod = "NR_ECID" + PositioningMethod_UL_TDOA PositioningMethod = "UL_TDOA" + PositioningMethod_UL_AOA PositioningMethod = "UL_AOA" + PositioningMethod_NETWORK_SPECIFIC PositioningMethod = "NETWORK_SPECIFIC" ) diff --git a/models/model_positioning_method_and_usage.go b/models/model_positioning_method_and_usage.go index 47ed052c..df11072e 100644 --- a/models/model_positioning_method_and_usage.go +++ b/models/model_positioning_method_and_usage.go @@ -1,16 +1,21 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates the usage of a positioning method. type PositioningMethodAndUsage struct { - Method PositioningMethod `json:"method" yaml:"method" bson:"method"` - Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode"` - Usage Usage `json:"usage" yaml:"usage" bson:"usage"` + Method PositioningMethod `json:"method" yaml:"method" bson:"method,omitempty"` + Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` + Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` + MethodCode int32 `json:"methodCode,omitempty" yaml:"methodCode" bson:"methodCode,omitempty"` } diff --git a/models/model_positioning_method_mdt.go b/models/model_positioning_method_mdt.go new file mode 100644 index 00000000..b79d4ff7 --- /dev/null +++ b/models/model_positioning_method_mdt.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PositioningMethodMdt string + +// List of PositioningMethodMdt +const ( + PositioningMethodMdt_GNSS PositioningMethodMdt = "GNSS" + PositioningMethodMdt_E_CELL_ID PositioningMethodMdt = "E_CELL_ID" +) diff --git a/models/model_positioning_mode.go b/models/model_positioning_mode.go index d9c43444..d487d4f9 100644 --- a/models/model_positioning_mode.go +++ b/models/model_positioning_mode.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_post_charging_data_response_400.go b/models/model_post_charging_data_response_400.go new file mode 100644 index 00000000..efb1671f --- /dev/null +++ b/models/model_post_charging_data_response_400.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_post_charging_data_response_403.go b/models/model_post_charging_data_response_403.go new file mode 100644 index 00000000..78af9203 --- /dev/null +++ b/models/model_post_charging_data_response_403.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse403 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_post_charging_data_response_404.go b/models/model_post_charging_data_response_404.go new file mode 100644 index 00000000..e2cc1d55 --- /dev/null +++ b/models/model_post_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_post_charging_notification_response_400.go b/models/model_post_charging_notification_response_400.go new file mode 100644 index 00000000..8e08729c --- /dev/null +++ b/models/model_post_charging_notification_response_400.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostChargingNotificationResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` +} diff --git a/models/model_post_pdu_sessions_error_response.go b/models/model_post_pdu_sessions_error_response.go deleted file mode 100644 index bd94cf7d..00000000 --- a/models/model_post_pdu_sessions_error_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostPduSessionsErrorResponse struct { - JsonData *PduSessionCreateError `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId"` -} diff --git a/models/model_post_pdu_sessions_request.go b/models/model_post_pdu_sessions_request.go index e8d2df94..02990c5e 100644 --- a/models/model_post_pdu_sessions_request.go +++ b/models/model_post_pdu_sessions_request.go @@ -1,16 +1,19 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PostPduSessionsRequest struct { - JsonData *PduSessionCreateData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoFromUe *[]byte `json:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId"` - BinaryDataUnknownN1SmInfo *[]byte `json:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId"` + JsonData *PduSessionCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` } diff --git a/models/model_post_pdu_sessions_response.go b/models/model_post_pdu_sessions_response.go deleted file mode 100644 index b2ea2a61..00000000 --- a/models/model_post_pdu_sessions_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostPduSessionsResponse struct { - JsonData *PduSessionCreatedData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId"` -} diff --git a/models/model_post_pdu_sessions_response_201.go b/models/model_post_pdu_sessions_response_201.go new file mode 100644 index 00000000..d3cb9c2e --- /dev/null +++ b/models/model_post_pdu_sessions_response_201.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostPduSessionsResponse201 struct { + JsonData *PduSessionCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/model_post_pdu_sessions_response_400.go b/models/model_post_pdu_sessions_response_400.go new file mode 100644 index 00000000..d20a69bf --- /dev/null +++ b/models/model_post_pdu_sessions_response_400.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostPduSessionsResponse400 struct { + JsonData *PduSessionCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/model_post_sm_contexts_error.go b/models/model_post_sm_contexts_error.go new file mode 100644 index 00000000..4348ef1b --- /dev/null +++ b/models/model_post_sm_contexts_error.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsError struct { + JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` +} diff --git a/models/model_post_sm_contexts_error_response.go b/models/model_post_sm_contexts_error_response.go deleted file mode 100644 index 5213d691..00000000 --- a/models/model_post_sm_contexts_error_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsErrorResponse struct { - JsonData *SmContextCreateError `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` -} diff --git a/models/model_post_sm_contexts_request.go b/models/model_post_sm_contexts_request.go index ffca8aa2..5ee5d1ae 100644 --- a/models/model_post_sm_contexts_request.go +++ b/models/model_post_sm_contexts_request.go @@ -1,15 +1,20 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PostSmContextsRequest struct { - JsonData *SmContextCreateData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` + JsonData *SmfPduSessionSmContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` } diff --git a/models/model_post_sm_contexts_response.go b/models/model_post_sm_contexts_response.go deleted file mode 100644 index 45478625..00000000 --- a/models/model_post_sm_contexts_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsResponse struct { - JsonData *SmContextCreatedData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` -} diff --git a/models/model_post_sm_contexts_response_201.go b/models/model_post_sm_contexts_response_201.go new file mode 100644 index 00000000..904c981a --- /dev/null +++ b/models/model_post_sm_contexts_response_201.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsResponse201 struct { + JsonData *SmfPduSessionSmContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/model_post_sm_contexts_response_400.go b/models/model_post_sm_contexts_response_400.go new file mode 100644 index 00000000..8cc87d09 --- /dev/null +++ b/models/model_post_sm_contexts_response_400.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsResponse400 struct { + JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty"` +} diff --git a/models/model_pp5g_mbs_group_profile_data.go b/models/model_pp5g_mbs_group_profile_data.go new file mode 100644 index 00000000..411507f5 --- /dev/null +++ b/models/model_pp5g_mbs_group_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pp5gMbsGroupProfileData struct { + // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMbsInfos lists. In addition to defined external MBS group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMbsInfo that are allowed operating all the external group identifiers. + AllowedMbsInfos map[string][]AllowedMbsInfo `json:"allowedMbsInfos,omitempty" yaml:"allowedMbsInfos" bson:"allowedMbsInfos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pp5g_vn_group_profile_data.go b/models/model_pp5g_vn_group_profile_data.go new file mode 100644 index 00000000..7193aa9b --- /dev/null +++ b/models/model_pp5g_vn_group_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pp5gVnGroupProfileData struct { + // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMtcProviderInfo lists. In addition to defined external VN group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed operating all the external group identifiers. + AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pp_active_time.go b/models/model_pp_active_time.go index 7ae7619b..43d9e8ae 100644 --- a/models/model_pp_active_time.go +++ b/models/model_pp_active_time.go @@ -1,16 +1,28 @@ /* - * Nudm_PP + * Nudr_DataRepository API OpenAPI file * - * Nudm Parameter Provision Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type PpActiveTime struct { - ActiveTime int32 `json:"activeTime" yaml:"activeTime" bson:"activeTime" mapstructure:"ActiveTime"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId" mapstructure:"AfInstanceId"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId" mapstructure:"ReferenceId"` + // indicating a time in seconds. + ActiveTime int32 `json:"activeTime" yaml:"activeTime" bson:"activeTime,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` } diff --git a/models/model_pp_data.go b/models/model_pp_data.go index fbd93deb..bfa4dc26 100644 --- a/models/model_pp_data.go +++ b/models/model_pp_data.go @@ -1,15 +1,27 @@ /* - * Nudm_PP + * Nudr_DataRepository API OpenAPI file * - * Nudm Parameter Provision Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PpData struct { - CommunicationCharacteristics *CommunicationCharacteristics `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics" mapstructure:"CommunicationCharacteristics"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` + CommunicationCharacteristics *CommunicationCharacteristics `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ExpectedUeBehaviourParameters *ExpectedUeBehaviour `json:"expectedUeBehaviourParameters,omitempty" yaml:"expectedUeBehaviourParameters" bson:"expectedUeBehaviourParameters,omitempty"` + EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` + AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003 with the OpenAPI 'nullable: true' property. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + LcsPrivacy *LcsPrivacy `json:"lcsPrivacy,omitempty" yaml:"lcsPrivacy" bson:"lcsPrivacy,omitempty"` + SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` + Var5mbsAuthorizationInfo *Model5MbsAuthorizationInfo `json:"5mbsAuthorizationInfo,omitempty" yaml:"5mbsAuthorizationInfo" bson:"5mbsAuthorizationInfo,omitempty"` } diff --git a/models/model_pp_data_entry.go b/models/model_pp_data_entry.go new file mode 100644 index 00000000..d0864086 --- /dev/null +++ b/models/model_pp_data_entry.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpDataEntry struct { + CommunicationCharacteristics *CommunicationCharacteristicsAf `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` + AdditionalEcsAddrConfigInfos []EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` + EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` +} diff --git a/models/model_pp_data_entry_list.go b/models/model_pp_data_entry_list.go new file mode 100644 index 00000000..fc1ea1a9 --- /dev/null +++ b/models/model_pp_data_entry_list.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of the Provisioned Parameters entries +type PpDataEntryList struct { + PpDataEntryList []*PpDataEntry `json:"ppDataEntryList,omitempty" yaml:"ppDataEntryList" bson:"ppDataEntryList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pp_data_type.go b/models/model_pp_data_type.go new file mode 100644 index 00000000..5ae62df1 --- /dev/null +++ b/models/model_pp_data_type.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PpDataType string + +// List of PpDataType +const ( + PpDataType_COMMUNICATION_CHARACTERISTICS PpDataType = "COMMUNICATION_CHARACTERISTICS" + PpDataType_EXPECTED_UE_BEHAVIOUR PpDataType = "EXPECTED_UE_BEHAVIOUR" + PpDataType_EC_RESTRICTION PpDataType = "EC_RESTRICTION" + PpDataType_ACS_INFO PpDataType = "ACS_INFO" + PpDataType_TRACE PpDataType = "TRACE" + PpDataType_STN_SR PpDataType = "STN_SR" + PpDataType_LCS_PRIVACY PpDataType = "LCS_PRIVACY" + PpDataType_SOR_INFO PpDataType = "SOR_INFO" +) diff --git a/models/model_pp_dl_packet_count_ext.go b/models/model_pp_dl_packet_count_ext.go new file mode 100644 index 00000000..87907ac3 --- /dev/null +++ b/models/model_pp_dl_packet_count_ext.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpDlPacketCountExt struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_pp_maximum_latency.go b/models/model_pp_maximum_latency.go new file mode 100644 index 00000000..dd5a3927 --- /dev/null +++ b/models/model_pp_maximum_latency.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpMaximumLatency struct { + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_pp_maximum_response_time.go b/models/model_pp_maximum_response_time.go new file mode 100644 index 00000000..aef5a545 --- /dev/null +++ b/models/model_pp_maximum_response_time.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpMaximumResponseTime struct { + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/model_pp_profile_data.go b/models/model_pp_profile_data.go new file mode 100644 index 00000000..24a9b828 --- /dev/null +++ b/models/model_pp_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PpProfileData struct { + // A map (list of key-value pairs where PpDataType serves as key) of AllowedMtcProviderInfo lists. In addition to defined PpDataType, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed to provision all types of the PP data for the user using UDM ParameterProvision service. + AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pp_subs_reg_timer.go b/models/model_pp_subs_reg_timer.go index 4935e300..d329b7c9 100644 --- a/models/model_pp_subs_reg_timer.go +++ b/models/model_pp_subs_reg_timer.go @@ -1,16 +1,28 @@ /* - * Nudm_PP + * Nudr_DataRepository API OpenAPI file * - * Nudm Parameter Provision Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type PpSubsRegTimer struct { - SubsRegTimer int32 `json:"subsRegTimer" yaml:"subsRegTimer" bson:"subsRegTimer" mapstructure:"SubsRegTimer"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId" mapstructure:"AfInstanceId"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId" mapstructure:"ReferenceId"` + // indicating a time in seconds. + SubsRegTimer int32 `json:"subsRegTimer" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` } diff --git a/models/model_preemption_capability.go b/models/model_preemption_capability.go index 19ed50bb..c74eea74 100644 --- a/models/model_preemption_capability.go +++ b/models/model_preemption_capability.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Nchf_OfflineOnlyCharging * - * Session Management Policy Control Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_preemption_capability_rm.go b/models/model_preemption_capability_rm.go new file mode 100644 index 00000000..fb64ce74 --- /dev/null +++ b/models/model_preemption_capability_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionCapabilityRm struct { +} diff --git a/models/model_preemption_control_information.go b/models/model_preemption_control_information.go new file mode 100644 index 00000000..f2b8ddf9 --- /dev/null +++ b/models/model_preemption_control_information.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionControlInformation string + +// List of PreemptionControlInformation +const ( + PreemptionControlInformation_MOST_RECENT PreemptionControlInformation = "MOST_RECENT" + PreemptionControlInformation_LEAST_RECENT PreemptionControlInformation = "LEAST_RECENT" + PreemptionControlInformation_HIGHEST_BW PreemptionControlInformation = "HIGHEST_BW" +) diff --git a/models/model_preemption_control_information_rm.go b/models/model_preemption_control_information_rm.go new file mode 100644 index 00000000..75132ca9 --- /dev/null +++ b/models/model_preemption_control_information_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionControlInformationRm struct { +} diff --git a/models/model_preemption_vulnerability.go b/models/model_preemption_vulnerability.go index 812acba0..8065c485 100644 --- a/models/model_preemption_vulnerability.go +++ b/models/model_preemption_vulnerability.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Nchf_OfflineOnlyCharging * - * Session Management Policy Control Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_preemption_vulnerability_rm.go b/models/model_preemption_vulnerability_rm.go new file mode 100644 index 00000000..56cc8a1d --- /dev/null +++ b/models/model_preemption_vulnerability_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionVulnerabilityRm struct { +} diff --git a/models/model_preferred_search.go b/models/model_preferred_search.go new file mode 100644 index 00000000..465f2ac7 --- /dev/null +++ b/models/model_preferred_search.go @@ -0,0 +1,27 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on whether the returned NFProfiles match the preferred query parameters +type PreferredSearch struct { + PreferredTaiMatchInd bool `json:"preferredTaiMatchInd,omitempty" yaml:"preferredTaiMatchInd" bson:"preferredTaiMatchInd,omitempty"` + PreferredFullPlmnMatchInd bool `json:"preferredFullPlmnMatchInd,omitempty" yaml:"preferredFullPlmnMatchInd" bson:"preferredFullPlmnMatchInd,omitempty"` + PreferredApiVersionsMatchInd bool `json:"preferredApiVersionsMatchInd,omitempty" yaml:"preferredApiVersionsMatchInd" bson:"preferredApiVersionsMatchInd,omitempty"` + OtherApiVersionsInd bool `json:"otherApiVersionsInd,omitempty" yaml:"otherApiVersionsInd" bson:"otherApiVersionsInd,omitempty"` + PreferredLocalityMatchInd bool `json:"preferredLocalityMatchInd,omitempty" yaml:"preferredLocalityMatchInd" bson:"preferredLocalityMatchInd,omitempty"` + OtherLocalityInd bool `json:"otherLocalityInd,omitempty" yaml:"otherLocalityInd" bson:"otherLocalityInd,omitempty"` + PreferredVendorSpecificFeaturesInd bool `json:"preferredVendorSpecificFeaturesInd,omitempty" yaml:"preferredVendorSpecificFeaturesInd" bson:"preferredVendorSpecificFeaturesInd,omitempty"` + PreferredCollocatedNfTypeInd bool `json:"preferredCollocatedNfTypeInd,omitempty" yaml:"preferredCollocatedNfTypeInd" bson:"preferredCollocatedNfTypeInd,omitempty"` + PreferredPgwMatchInd bool `json:"preferredPgwMatchInd,omitempty" yaml:"preferredPgwMatchInd" bson:"preferredPgwMatchInd,omitempty"` + PreferredAnalyticsDelaysInd bool `json:"preferredAnalyticsDelaysInd,omitempty" yaml:"preferredAnalyticsDelaysInd" bson:"preferredAnalyticsDelaysInd,omitempty"` +} diff --git a/models/model_presence_info.go b/models/model_presence_info.go index 219ea751..8bb08daf 100644 --- a/models/model_presence_info.go +++ b/models/model_presence_info.go @@ -1,21 +1,32 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. type PresenceInfo struct { - PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId" mapstructure:"PraId"` - AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId" mapstructure:"AdditionalPraId"` - PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState" mapstructure:"PresenceState"` - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList" mapstructure:"TrackingAreaList"` - EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList" mapstructure:"EcgiList"` - NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList" mapstructure:"NcgiList"` - GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList" mapstructure:"GlobalRanNodeIdList"` - GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList" mapstructure:"GlobaleNbIdList"` + // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: 0 to 8 388 607 for UE-dedicated PRA 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" + PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` + // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. + AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` + PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` + // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. + GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` + // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. + GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` } diff --git a/models/model_presence_info_rm.go b/models/model_presence_info_rm.go index 08c6accd..16674d99 100644 --- a/models/model_presence_info_rm.go +++ b/models/model_presence_info_rm.go @@ -1,19 +1,32 @@ /* - * Npcf_AMPolicyControl + * Npcf_SMPolicyControl API * - * Access and Mobility Policy Control Service API + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This data type is defined in the same way as the 'PresenceInfo' data type, but with the OpenAPI 'nullable: true' property. If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. type PresenceInfoRm struct { - PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId" mapstructure:"PraId"` - PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState" mapstructure:"PresenceState"` - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList" mapstructure:"TrackingAreaList"` - EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList" mapstructure:"EcgiList"` - NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList" mapstructure:"NcgiList"` - GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList" mapstructure:"GlobalRanNodeIdList"` + // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: - 0 to 8 388 607 for UE-dedicated PRA - 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" + PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` + // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. + AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` + PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` + // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. + GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` + // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. + GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` } diff --git a/models/model_presence_state.go b/models/model_presence_state.go index 05d9e5cd..4c4b9eae 100644 --- a/models/model_presence_state.go +++ b/models/model_presence_state.go @@ -1,9 +1,12 @@ /* - * Npcf_AMPolicyControl + * Nchf_OfflineOnlyCharging * - * Access and Mobility Policy Control Service API + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_prev_sub_info.go b/models/model_prev_sub_info.go new file mode 100644 index 00000000..bc1eeee8 --- /dev/null +++ b/models/model_prev_sub_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of the previous subscription. +type PrevSubInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + // The identifier of a subscription. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + NfAnaEvents []NwdafEvent `json:"nfAnaEvents,omitempty" yaml:"nfAnaEvents" bson:"nfAnaEvents,omitempty"` + UeAnaEvents []UeAnalyticsContextDescriptor `json:"ueAnaEvents,omitempty" yaml:"ueAnaEvents" bson:"ueAnaEvents,omitempty"` +} diff --git a/models/model_priority_levels.go b/models/model_priority_levels.go new file mode 100644 index 00000000..3975983d --- /dev/null +++ b/models/model_priority_levels.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Namespaces and priority levels allowed for the IMS public Identity +type PriorityLevels struct { + ServicePriorityLevelList []string `json:"servicePriorityLevelList" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` + ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` +} diff --git a/models/model_priority_sharing_indicator.go b/models/model_priority_sharing_indicator.go new file mode 100644 index 00000000..07036e7b --- /dev/null +++ b/models/model_priority_sharing_indicator.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrioritySharingIndicator string + +// List of PrioritySharingIndicator +const ( + PrioritySharingIndicator_ENABLED PrioritySharingIndicator = "ENABLED" + PrioritySharingIndicator_DISABLED PrioritySharingIndicator = "DISABLED" +) diff --git a/models/model_privacy_check_related_action.go b/models/model_privacy_check_related_action.go new file mode 100644 index 00000000..86bee3f3 --- /dev/null +++ b/models/model_privacy_check_related_action.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrivacyCheckRelatedAction string + +// List of PrivacyCheckRelatedAction +const ( + PrivacyCheckRelatedAction_NOT_ALLOWED PrivacyCheckRelatedAction = "LOCATION_NOT_ALLOWED" + PrivacyCheckRelatedAction_ALLOWED_WITH_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITH_NOTIFICATION" + PrivacyCheckRelatedAction_ALLOWED_WITHOUT_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" + PrivacyCheckRelatedAction_ALLOWED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_RESPONSE" + PrivacyCheckRelatedAction_RESTRICTED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" +) diff --git a/models/model_private_identities.go b/models/model_private_identities.go new file mode 100644 index 00000000..52e7b3ef --- /dev/null +++ b/models/model_private_identities.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of IMS Private Identities +type PrivateIdentities struct { + PrivateIdentities []PrivateIdentity `json:"privateIdentities" yaml:"privateIdentities" bson:"privateIdentities,omitempty"` +} diff --git a/models/model_private_identity.go b/models/model_private_identity.go new file mode 100644 index 00000000..d099ddb7 --- /dev/null +++ b/models/model_private_identity.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Private Identity and its identity type (IMPI or IMSI) +type PrivateIdentity struct { + // String containing a Private User Identity or a Private Service Identity + PrivateIdentity string `json:"privateIdentity" yaml:"privateIdentity" bson:"privateIdentity,omitempty"` + PrivateIdentityType PrivateIdentityType `json:"privateIdentityType" yaml:"privateIdentityType" bson:"privateIdentityType,omitempty"` +} diff --git a/models/model_private_identity_type.go b/models/model_private_identity_type.go new file mode 100644 index 00000000..5e07e9c0 --- /dev/null +++ b/models/model_private_identity_type.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrivateIdentityType string + +// List of PrivateIdentityType +const ( + PrivateIdentityType_IMPI PrivateIdentityType = "IMPI" + PrivateIdentityType_IMSI PrivateIdentityType = "IMSI" +) diff --git a/models/model_pro_se_allowed_plmn.go b/models/model_pro_se_allowed_plmn.go new file mode 100644 index 00000000..4c4f73e1 --- /dev/null +++ b/models/model_pro_se_allowed_plmn.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the PLMN identities where the Prose services are authorised to use and the authorised Prose services on this given PLMNs. +type ProSeAllowedPlmn struct { + VisitedPlmn *PlmnId `json:"visitedPlmn" yaml:"visitedPlmn" bson:"visitedPlmn,omitempty"` + ProseDirectAllowed []ProseDirectAllowed `json:"proseDirectAllowed,omitempty" yaml:"proseDirectAllowed" bson:"proseDirectAllowed,omitempty"` +} diff --git a/models/model_pro_se_auth_data.go b/models/model_pro_se_auth_data.go new file mode 100644 index 00000000..c871d992 --- /dev/null +++ b/models/model_pro_se_auth_data.go @@ -0,0 +1,16 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthData struct { +} diff --git a/models/model_pro_se_authentication_ctx.go b/models/model_pro_se_authentication_ctx.go new file mode 100644 index 00000000..b0370f70 --- /dev/null +++ b/models/model_pro_se_authentication_ctx.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information related to the resource generated to handle the ProSe authentication. +type ProSeAuthenticationCtx struct { + AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + ProSeAuthData *ProSeAuthData `json:"proSeAuthData" yaml:"proSeAuthData" bson:"proSeAuthData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pro_se_authentication_info.go b/models/model_pro_se_authentication_info.go new file mode 100644 index 00000000..8fc02836 --- /dev/null +++ b/models/model_pro_se_authentication_info.go @@ -0,0 +1,28 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUCI) or CP-PRUK ID (in 5gPrukId IE), Relay Service Code and Nonce_1. +type ProSeAuthenticationInfo struct { + // String identifying a SUPI or a SUCI. + SupiOrSuci string `json:"supiOrSuci,omitempty" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` + // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. + Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` + // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. + RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` + // contains an Nonce1 + Nonce1 string `json:"nonce1" yaml:"nonce1" bson:"nonce1,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pro_se_authentication_info_request.go b/models/model_pro_se_authentication_info_request.go new file mode 100644 index 00000000..af38826f --- /dev/null +++ b/models/model_pro_se_authentication_info_request.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationInfoRequest struct { + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. + RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pro_se_authentication_info_result.go b/models/model_pro_se_authentication_info_result.go new file mode 100644 index 00000000..dff87986 --- /dev/null +++ b/models/model_pro_se_authentication_info_result.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationInfoResult struct { + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ProseAuthenticationVectors *ProSeAuthenticationVectors `json:"proseAuthenticationVectors,omitempty" yaml:"proseAuthenticationVectors" bson:"proseAuthenticationVectors,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pro_se_authentication_result.go b/models/model_pro_se_authentication_result.go new file mode 100644 index 00000000..ebaa398d --- /dev/null +++ b/models/model_pro_se_authentication_result.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Successful authentication for CP-PRUK ID. +type ProSeAuthenticationResult struct { + // Contains the KNR_ProSe. + KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` + // contains an Nonce2 + Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_pro_se_authentication_vectors.go b/models/model_pro_se_authentication_vectors.go new file mode 100644 index 00000000..953c6e8b --- /dev/null +++ b/models/model_pro_se_authentication_vectors.go @@ -0,0 +1,16 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationVectors struct { +} diff --git a/models/model_pro_se_eap_session.go b/models/model_pro_se_eap_session.go new file mode 100644 index 00000000..c4dbbe5f --- /dev/null +++ b/models/model_pro_se_eap_session.go @@ -0,0 +1,30 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the EAP session. If present the 5gPrukId IE shall carry the CP-PRUK ID. +type ProSeEapSession struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // Contains the KNR_ProSe. + KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // contains an Nonce2 + Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` + // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. + Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` +} diff --git a/models/model_pro_se_information.go b/models/model_pro_se_information.go new file mode 100644 index 00000000..61c12fd1 --- /dev/null +++ b/models/model_pro_se_information.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5G ProSe related N2 information. +type ProSeInformation struct { + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` +} diff --git a/models/model_problem_details.go b/models/model_problem_details.go index b03a552d..17bf75a0 100644 --- a/models/model_problem_details.go +++ b/models/model_problem_details.go @@ -1,31 +1,34 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides additional information in an error response. type ProblemDetails struct { - // string providing an URI formatted according to IETF RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type" mapstructure:"Type"` - // A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem. - Title string `json:"title,omitempty" yaml:"title" bson:"title" mapstructure:"Title"` - // The HTTP status code for this occurrence of the problem. - Status int32 `json:"status,omitempty" yaml:"status" bson:"status" mapstructure:"Status"` + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail" mapstructure:"Detail"` - // string providing an URI formatted according to IETF RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance" mapstructure:"Instance"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause" mapstructure:"Cause"` - // Description of invalid parameters, for a request rejected due to invalid parameters. - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams" mapstructure:"InvalidParams"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError" mapstructure:"AccessTokenError"` - AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest" mapstructure:"AccessTokenRequest"` - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId" mapstructure:"NrfId"` + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` } diff --git a/models/model_problem_details_1.go b/models/model_problem_details_1.go new file mode 100644 index 00000000..2da3c2a0 --- /dev/null +++ b/models/model_problem_details_1.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProblemDetails1 struct { + // string providing an URI formatted according to IETF RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + // A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem. + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + // The HTTP status code for this occurrence of the problem. + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // string providing an URI formatted according to IETF RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + // Description of invalid parameters, for a request rejected due to invalid parameters. + InvalidParams []InvalidParam1 `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` +} diff --git a/models/model_problem_details_2.go b/models/model_problem_details_2.go deleted file mode 100644 index 57b5692d..00000000 --- a/models/model_problem_details_2.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProblemDetails2 struct { - Type string `json:"type,omitempty" bson:"type"` - Title string `json:"title,omitempty" bson:"title"` - Status int32 `json:"status,omitempty" bson:"status"` - Detail string `json:"detail,omitempty" bson:"detail"` - Instance string `json:"instance,omitempty" bson:"instance"` - Cause string `json:"cause,omitempty" bson:"cause"` - InvalidParams []InvalidParam2 `json:"invalidParams,omitempty" bson:"invalidParams"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` -} diff --git a/models/model_problem_details_add_info.go b/models/model_problem_details_add_info.go new file mode 100644 index 00000000..9f1b7623 --- /dev/null +++ b/models/model_problem_details_add_info.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Problem Details Additional Information +type ProblemDetailsAddInfo struct { + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` +} diff --git a/models/model_problem_details_analytics_info_request.go b/models/model_problem_details_analytics_info_request.go new file mode 100644 index 00000000..94267454 --- /dev/null +++ b/models/model_problem_details_analytics_info_request.go @@ -0,0 +1,36 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extends ProblemDetails to indicate more details why the analytics request is rejected. +type ProblemDetailsAnalyticsInfoRequest struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` +} diff --git a/models/model_problem_details_enable_ue_reachability.go b/models/model_problem_details_enable_ue_reachability.go new file mode 100644 index 00000000..41c49ac3 --- /dev/null +++ b/models/model_problem_details_enable_ue_reachability.go @@ -0,0 +1,36 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Enable UE Reachability Error Detail +type ProblemDetailsEnableUeReachability struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_processing_instruction.go b/models/model_processing_instruction.go new file mode 100644 index 00000000..a2d5d107 --- /dev/null +++ b/models/model_processing_instruction.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains instructions related to the processing of notifications. +type ProcessingInstruction struct { + EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // indicating a time in seconds. + ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` + // List of event parameter names, and for each event parameter name, respective event parameter values and sets of the attributes to be used in the summarized reports. + ParamProcInstructs []ParameterProcessingInstruction `json:"paramProcInstructs,omitempty" yaml:"paramProcInstructs" bson:"paramProcInstructs,omitempty"` +} diff --git a/models/model_prose_auth_response_200.go b/models/model_prose_auth_response_200.go new file mode 100644 index 00000000..557f1fc9 --- /dev/null +++ b/models/model_prose_auth_response_200.go @@ -0,0 +1,20 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseAuthResponse200 struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` +} diff --git a/models/model_prose_charging_information.go b/models/model_prose_charging_information.go new file mode 100644 index 00000000..7314df4f --- /dev/null +++ b/models/model_prose_charging_information.go @@ -0,0 +1,57 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ProseChargingInformation struct { + AnnouncingPlmnID *PlmnId `json:"announcingPlmnID,omitempty" yaml:"announcingPlmnID" bson:"announcingPlmnID,omitempty"` + AnnouncingUeHplmnIdentifier *PlmnId `json:"announcingUeHplmnIdentifier,omitempty" yaml:"announcingUeHplmnIdentifier" bson:"announcingUeHplmnIdentifier,omitempty"` + AnnouncingUeVplmnIdentifier *PlmnId `json:"announcingUeVplmnIdentifier,omitempty" yaml:"announcingUeVplmnIdentifier" bson:"announcingUeVplmnIdentifier,omitempty"` + MonitoringUeHplmnIdentifier *PlmnId `json:"monitoringUeHplmnIdentifier,omitempty" yaml:"monitoringUeHplmnIdentifier" bson:"monitoringUeHplmnIdentifier,omitempty"` + MonitoringUeVplmnIdentifier *PlmnId `json:"monitoringUeVplmnIdentifier,omitempty" yaml:"monitoringUeVplmnIdentifier" bson:"monitoringUeVplmnIdentifier,omitempty"` + DiscovererUeHplmnIdentifier *PlmnId `json:"discovererUeHplmnIdentifier,omitempty" yaml:"discovererUeHplmnIdentifier" bson:"discovererUeHplmnIdentifier,omitempty"` + DiscovererUeVplmnIdentifier *PlmnId `json:"discovererUeVplmnIdentifier,omitempty" yaml:"discovererUeVplmnIdentifier" bson:"discovererUeVplmnIdentifier,omitempty"` + DiscovereeUeHplmnIdentifier *PlmnId `json:"discovereeUeHplmnIdentifier,omitempty" yaml:"discovereeUeHplmnIdentifier" bson:"discovereeUeHplmnIdentifier,omitempty"` + DiscovereeUeVplmnIdentifier *PlmnId `json:"discovereeUeVplmnIdentifier,omitempty" yaml:"discovereeUeVplmnIdentifier" bson:"discovereeUeVplmnIdentifier,omitempty"` + MonitoredPlmnIdentifier *PlmnId `json:"monitoredPlmnIdentifier,omitempty" yaml:"monitoredPlmnIdentifier" bson:"monitoredPlmnIdentifier,omitempty"` + ProseApplicationID string `json:"proseApplicationID,omitempty" yaml:"proseApplicationID" bson:"proseApplicationID,omitempty"` + ApplicationId string `json:"ApplicationId,omitempty" yaml:"ApplicationId" bson:"ApplicationId,omitempty"` + ApplicationSpecificDataList []string `json:"applicationSpecificDataList,omitempty" yaml:"applicationSpecificDataList" bson:"applicationSpecificDataList,omitempty"` + ProseFunctionality ProseFunctionality `json:"proseFunctionality,omitempty" yaml:"proseFunctionality" bson:"proseFunctionality,omitempty"` + ProseEventType ProseEventType `json:"proseEventType,omitempty" yaml:"proseEventType" bson:"proseEventType,omitempty"` + DirectDiscoveryModel DirectDiscoveryModel `json:"directDiscoveryModel,omitempty" yaml:"directDiscoveryModel" bson:"directDiscoveryModel,omitempty"` + ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + RoleOfUE RoleOfUe `json:"roleOfUE,omitempty" yaml:"roleOfUE" bson:"roleOfUE,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProseRequestTimestamp *time.Time `json:"proseRequestTimestamp,omitempty" yaml:"proseRequestTimestamp" bson:"proseRequestTimestamp,omitempty"` + PC3ProtocolCause int32 `json:"pC3ProtocolCause,omitempty" yaml:"pC3ProtocolCause" bson:"pC3ProtocolCause,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + MonitoringUEIdentifier string `json:"monitoringUEIdentifier,omitempty" yaml:"monitoringUEIdentifier" bson:"monitoringUEIdentifier,omitempty"` + RequestedPLMNIdentifier *PlmnId `json:"requestedPLMNIdentifier,omitempty" yaml:"requestedPLMNIdentifier" bson:"requestedPLMNIdentifier,omitempty"` + TimeWindow int32 `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` + RangeClass RangeClass `json:"rangeClass,omitempty" yaml:"rangeClass" bson:"rangeClass,omitempty"` + ProximityAlertIndication bool `json:"proximityAlertIndication,omitempty" yaml:"proximityAlertIndication" bson:"proximityAlertIndication,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProximityAlertTimestamp *time.Time `json:"proximityAlertTimestamp,omitempty" yaml:"proximityAlertTimestamp" bson:"proximityAlertTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProximityCancellationTimestamp *time.Time `json:"proximityCancellationTimestamp,omitempty" yaml:"proximityCancellationTimestamp" bson:"proximityCancellationTimestamp,omitempty"` + RelayIPAddress *IpAddr `json:"relayIPAddress,omitempty" yaml:"relayIPAddress" bson:"relayIPAddress,omitempty"` + ProseUEToNetworkRelayUEID string `json:"proseUEToNetworkRelayUEID,omitempty" yaml:"proseUEToNetworkRelayUEID" bson:"proseUEToNetworkRelayUEID,omitempty"` + ProseDestinationLayer2ID string `json:"proseDestinationLayer2ID,omitempty" yaml:"proseDestinationLayer2ID" bson:"proseDestinationLayer2ID,omitempty"` + PFIContainerInformation []PfiContainerInformation `json:"pFIContainerInformation,omitempty" yaml:"pFIContainerInformation" bson:"pFIContainerInformation,omitempty"` + TransmissionDataContainer []Pc5DataContainer `json:"transmissionDataContainer,omitempty" yaml:"transmissionDataContainer" bson:"transmissionDataContainer,omitempty"` + ReceptionDataContainer []Pc5DataContainer `json:"receptionDataContainer,omitempty" yaml:"receptionDataContainer" bson:"receptionDataContainer,omitempty"` +} diff --git a/models/model_prose_context.go b/models/model_prose_context.go new file mode 100644 index 00000000..da781690 --- /dev/null +++ b/models/model_prose_context.go @@ -0,0 +1,25 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the ProSe services related parameters. +type ProseContext struct { + DirectDiscovery UeAuth `json:"directDiscovery,omitempty" yaml:"directDiscovery" bson:"directDiscovery,omitempty"` + DirectComm UeAuth `json:"directComm,omitempty" yaml:"directComm" bson:"directComm,omitempty"` + L2Relay UeAuth `json:"l2Relay,omitempty" yaml:"l2Relay" bson:"l2Relay,omitempty"` + L3Relay UeAuth `json:"l3Relay,omitempty" yaml:"l3Relay" bson:"l3Relay,omitempty"` + L2Remote UeAuth `json:"l2Remote,omitempty" yaml:"l2Remote" bson:"l2Remote,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` +} diff --git a/models/model_prose_direct_allowed.go b/models/model_prose_direct_allowed.go new file mode 100644 index 00000000..b0c0b1d7 --- /dev/null +++ b/models/model_prose_direct_allowed.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseDirectAllowed string + +// List of ProseDirectAllowed +const ( + ProseDirectAllowed_ANNOUNCE ProseDirectAllowed = "ANNOUNCE" + ProseDirectAllowed_MONITOR ProseDirectAllowed = "MONITOR" + ProseDirectAllowed_RESTRICTD_ANNOUNCE ProseDirectAllowed = "RESTRICTD_ANNOUNCE" + ProseDirectAllowed_RESTRICTD_MONITOR ProseDirectAllowed = "RESTRICTD_MONITOR" + ProseDirectAllowed_DISCOVERER ProseDirectAllowed = "DISCOVERER" + ProseDirectAllowed_DISCOVEREE ProseDirectAllowed = "DISCOVEREE" + ProseDirectAllowed_BROADCAST ProseDirectAllowed = "BROADCAST" + ProseDirectAllowed_GROUPCAST ProseDirectAllowed = "GROUPCAST" + ProseDirectAllowed_UNICAST ProseDirectAllowed = "UNICAST" + ProseDirectAllowed_LAYER2_RELAY ProseDirectAllowed = "LAYER2_RELAY" + ProseDirectAllowed_LAYER3_RELAY ProseDirectAllowed = "LAYER3_RELAY" +) diff --git a/models/model_prose_event_type.go b/models/model_prose_event_type.go new file mode 100644 index 00000000..47a0ff77 --- /dev/null +++ b/models/model_prose_event_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseEventType string + +// List of ProseEventType +const ( + ProseEventType_ANNOUNCING ProseEventType = "ANNOUNCING" + ProseEventType_MONITORING ProseEventType = "MONITORING" + ProseEventType_MATCH_REPORT ProseEventType = "MATCH_REPORT" +) diff --git a/models/model_prose_functionality.go b/models/model_prose_functionality.go new file mode 100644 index 00000000..1a79ed9c --- /dev/null +++ b/models/model_prose_functionality.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseFunctionality string + +// List of ProseFunctionality +const ( + ProseFunctionality_DISCOVERY ProseFunctionality = "DIRECT_DISCOVERY" + ProseFunctionality_COMMUNICATION ProseFunctionality = "DIRECT_COMMUNICATION" +) diff --git a/models/model_prose_service_auth.go b/models/model_prose_service_auth.go new file mode 100644 index 00000000..c4d332de --- /dev/null +++ b/models/model_prose_service_auth.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates whether the UE is authorized to use ProSe related services. +type ProseServiceAuth struct { + ProseDirectDiscoveryAuth UeAuth `json:"proseDirectDiscoveryAuth,omitempty" yaml:"proseDirectDiscoveryAuth" bson:"proseDirectDiscoveryAuth,omitempty"` + ProseDirectCommunicationAuth UeAuth `json:"proseDirectCommunicationAuth,omitempty" yaml:"proseDirectCommunicationAuth" bson:"proseDirectCommunicationAuth,omitempty"` + ProseL2RelayAuth UeAuth `json:"proseL2RelayAuth,omitempty" yaml:"proseL2RelayAuth" bson:"proseL2RelayAuth,omitempty"` + ProseL3RelayAuth UeAuth `json:"proseL3RelayAuth,omitempty" yaml:"proseL3RelayAuth" bson:"proseL3RelayAuth,omitempty"` + ProseL2RemoteAuth UeAuth `json:"proseL2RemoteAuth,omitempty" yaml:"proseL2RemoteAuth" bson:"proseL2RemoteAuth,omitempty"` + ProseL3RemoteAuth UeAuth `json:"proseL3RemoteAuth,omitempty" yaml:"proseL3RemoteAuth" bson:"proseL3RemoteAuth,omitempty"` +} diff --git a/models/model_prose_subscription_data.go b/models/model_prose_subscription_data.go new file mode 100644 index 00000000..d87e423c --- /dev/null +++ b/models/model_prose_subscription_data.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the ProSe Subscription Data. +type ProseSubscriptionData struct { + ProseServiceAuth *ProseServiceAuth `json:"proseServiceAuth,omitempty" yaml:"proseServiceAuth" bson:"proseServiceAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + ProseAllowedPlmn []ProSeAllowedPlmn `json:"proseAllowedPlmn,omitempty" yaml:"proseAllowedPlmn" bson:"proseAllowedPlmn,omitempty"` +} diff --git a/models/model_protection_result.go b/models/model_protection_result.go new file mode 100644 index 00000000..2ae18b6e --- /dev/null +++ b/models/model_protection_result.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProtectionResult string + +// List of ProtectionResult +const ( + ProtectionResult_PERFORMED ProtectionResult = "PERFORMED" + ProtectionResult_NOT_PERFORMED ProtectionResult = "NOT_PERFORMED" +) diff --git a/models/model_provide_loc_info.go b/models/model_provide_loc_info.go index 8ef26f30..02b37f8e 100644 --- a/models/model_provide_loc_info.go +++ b/models/model_provide_loc_info.go @@ -1,20 +1,29 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Provide Location Information Response type ProvideLocInfo struct { - CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc"` - Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location"` - GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo"` - LocatoinAge int32 `json:"locatoinAge,omitempty" yaml:"locatoinAge" bson:"locatoinAge"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType"` - Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` + CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` + GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` + // Indicates value of the age of the location estimate. + LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` } diff --git a/models/model_provide_pos_info.go b/models/model_provide_pos_info.go index d31d85cc..db72637b 100644 --- a/models/model_provide_pos_info.go +++ b/models/model_provide_pos_info.go @@ -1,26 +1,53 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Data within Provide Positioning Information Response type ProvidePosInfo struct { - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate"` - AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator"` - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi"` - TargetServingNode string `json:"targetServingNode,omitempty" yaml:"targetServingNode" bson:"targetServingNode"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress"` - BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure"` - Altitude float32 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetServingNode string `json:"targetServingNode,omitempty" yaml:"targetServingNode" bson:"targetServingNode,omitempty"` + // Fully Qualified Domain Name + TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` + // Fully Qualified Domain Name + TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` + UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + LocationPrivacyVerResult LocationPrivacyVerResult `json:"locationPrivacyVerResult,omitempty" yaml:"locationPrivacyVerResult" bson:"locationPrivacyVerResult,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` } diff --git a/models/model_provisioned_data_sets.go b/models/model_provisioned_data_sets.go index 9e98a4a1..f569e2a2 100644 --- a/models/model_provisioned_data_sets.go +++ b/models/model_provisioned_data_sets.go @@ -1,19 +1,33 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the provisioned data sets. type ProvisionedDataSets struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" bson:"amData"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" bson:"smfSelData"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" bson:"smsSubsData"` - SmData []SessionManagementSubscriptionData `json:"smData,omitempty" bson:"smData"` - TraceData *TraceData `json:"traceData,omitempty" bson:"traceData"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" bson:"smsMngData"` + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + LcsBcaData *LcsBroadcastAssistanceTypesData `json:"lcsBcaData,omitempty" yaml:"lcsBcaData" bson:"lcsBcaData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + OdbData *OdbData `json:"odbData,omitempty" yaml:"odbData" bson:"odbData,omitempty"` + EeProfileData *EeProfileData `json:"eeProfileData,omitempty" yaml:"eeProfileData" bson:"eeProfileData,omitempty"` + PpProfileData *PpProfileData `json:"ppProfileData,omitempty" yaml:"ppProfileData" bson:"ppProfileData,omitempty"` + NiddAuthData *AuthorizationData `json:"niddAuthData,omitempty" yaml:"niddAuthData" bson:"niddAuthData,omitempty"` + MbsSubscriptionData *MbsSubscriptionData `json:"mbsSubscriptionData,omitempty" yaml:"mbsSubscriptionData" bson:"mbsSubscriptionData,omitempty"` } diff --git a/models/model_ps_cell_information.go b/models/model_ps_cell_information.go index ed37a43f..2fc5f31f 100644 --- a/models/model_ps_cell_information.go +++ b/models/model_ps_cell_information.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type PsCellInformation struct { - Nrcgi *Ncgi `json:"nrcgi,omitempty" yaml:"nrcgi" bson:"nrcgi" mapstructure:"Nrcgi"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi" mapstructure:"Ecgi"` + Nrcgi *Ncgi `json:"nrcgi,omitempty" yaml:"nrcgi" bson:"nrcgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` } diff --git a/models/model_ps_location.go b/models/model_ps_location.go new file mode 100644 index 00000000..98bb51d6 --- /dev/null +++ b/models/model_ps_location.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location data in PS domain +type PsLocation struct { + SgsnLocationData *SgsnLocationData `json:"sgsnLocationData,omitempty" yaml:"sgsnLocationData" bson:"sgsnLocationData,omitempty"` + MmeLocationData *MmeLocationData `json:"mmeLocationData,omitempty" yaml:"mmeLocationData" bson:"mmeLocationData,omitempty"` + AmfLocationData *AmfLocationData `json:"amfLocationData,omitempty" yaml:"amfLocationData" bson:"amfLocationData,omitempty"` + TwanLocationData *TwanLocationData `json:"twanLocationData,omitempty" yaml:"twanLocationData" bson:"twanLocationData,omitempty"` +} diff --git a/models/model_ps_user_state.go b/models/model_ps_user_state.go new file mode 100644 index 00000000..658d1a60 --- /dev/null +++ b/models/model_ps_user_state.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User state in PS domain +type PsUserState struct { + SgsnUserState UserStatePs `json:"sgsnUserState,omitempty" yaml:"sgsnUserState" bson:"sgsnUserState,omitempty"` + MmeUserState UserStatePs `json:"mmeUserState,omitempty" yaml:"mmeUserState" bson:"mmeUserState,omitempty"` + AmfUserState UserStatePs `json:"amfUserState,omitempty" yaml:"amfUserState" bson:"amfUserState,omitempty"` +} diff --git a/models/model_psa_indication.go b/models/model_psa_indication.go new file mode 100644 index 00000000..55982c56 --- /dev/null +++ b/models/model_psa_indication.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PsaIndication string + +// List of PsaIndication +const ( + PsaIndication_INSERTED PsaIndication = "PSA_INSERTED" + PsaIndication_REMOVED PsaIndication = "PSA_REMOVED" + PsaIndication_INSERTED_ONLY PsaIndication = "PSA_INSERTED_ONLY" + PsaIndication_REMOVED_ONLY PsaIndication = "PSA_REMOVED_ONLY" +) diff --git a/models/model_psa_information.go b/models/model_psa_information.go new file mode 100644 index 00000000..aa5ba727 --- /dev/null +++ b/models/model_psa_information.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// PSA Information +type PsaInformation struct { + PsaInd PsaIndication `json:"psaInd,omitempty" yaml:"psaInd" bson:"psaInd,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` +} diff --git a/models/model_psi_activation_state.go b/models/model_psi_activation_state.go new file mode 100644 index 00000000..57ed1a35 --- /dev/null +++ b/models/model_psi_activation_state.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Public Service Identity activation state +type PsiActivationState struct { + ActivationState ActivationState `json:"activationState" yaml:"activationState" bson:"activationState,omitempty"` +} diff --git a/models/model_ptw_parameters.go b/models/model_ptw_parameters.go new file mode 100644 index 00000000..e31f0abb --- /dev/null +++ b/models/model_ptw_parameters.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PtwParameters struct { + OperationMode OperationMode `json:"operationMode" yaml:"operationMode" bson:"operationMode,omitempty"` + PtwValue string `json:"ptwValue" yaml:"ptwValue" bson:"ptwValue,omitempty"` + ExtendedPtwValue string `json:"extendedPtwValue,omitempty" yaml:"extendedPtwValue" bson:"extendedPtwValue,omitempty"` +} diff --git a/models/model_public_identifier.go b/models/model_public_identifier.go new file mode 100644 index 00000000..0e2c314b --- /dev/null +++ b/models/model_public_identifier.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Distinct or wildcarded public identity and its associated priority, trace and barring information +type PublicIdentifier struct { + PublicIdentity *PublicIdentity `json:"publicIdentity" yaml:"publicIdentity" bson:"publicIdentity,omitempty"` + DisplayName string `json:"displayName,omitempty" yaml:"displayName" bson:"displayName,omitempty"` + ImsServicePriority *PriorityLevels `json:"imsServicePriority,omitempty" yaml:"imsServicePriority" bson:"imsServicePriority,omitempty"` + ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` + BarringIndicator bool `json:"barringIndicator,omitempty" yaml:"barringIndicator" bson:"barringIndicator,omitempty"` + WildcardedImpu string `json:"wildcardedImpu,omitempty" yaml:"wildcardedImpu" bson:"wildcardedImpu,omitempty"` +} diff --git a/models/model_public_identities.go b/models/model_public_identities.go new file mode 100644 index 00000000..871b7a31 --- /dev/null +++ b/models/model_public_identities.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Public Identities which belong to the same Implicit Registration Set (if any) as the requested IMS Public Identity +type PublicIdentities struct { + PublicIdentities []PublicIdentity `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` +} diff --git a/models/model_public_identity.go b/models/model_public_identity.go new file mode 100644 index 00000000..37dfa9e7 --- /dev/null +++ b/models/model_public_identity.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Public Identity and related data (Alias Group Id, IRS default indication, Identity Type) +type PublicIdentity struct { + // String containing an IMS Public Identity in SIP URI format or TEL URI format + ImsPublicId string `json:"imsPublicId" yaml:"imsPublicId" bson:"imsPublicId,omitempty"` + IdentityType IdentityType `json:"identityType" yaml:"identityType" bson:"identityType,omitempty"` + IrsIsDefault bool `json:"irsIsDefault,omitempty" yaml:"irsIsDefault" bson:"irsIsDefault,omitempty"` + AliasGroupId string `json:"aliasGroupId,omitempty" yaml:"aliasGroupId" bson:"aliasGroupId,omitempty"` +} diff --git a/models/model_pws_error_data.go b/models/model_pws_error_data.go index 5a844d93..9426cb2f 100644 --- a/models/model_pws_error_data.go +++ b/models/model_pws_error_data.go @@ -1,14 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data related to PWS error included in a N2 Information Transfer failure response type PwsErrorData struct { - NamfCause int32 `json:"namfCause"` + NamfCause int32 `json:"namfCause" yaml:"namfCause" bson:"namfCause,omitempty"` } diff --git a/models/model_pws_information.go b/models/model_pws_information.go index b6c56336..2aa3d3ab 100644 --- a/models/model_pws_information.go +++ b/models/model_pws_information.go @@ -1,18 +1,28 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a PWS related information data part type PwsInformation struct { - MessageIdentifier int32 `json:"messageIdentifier"` - SerialNumber int32 `json:"serialNumber"` - PwsContainer *N2InfoContent `json:"pwsContainer"` - SendRanResponse bool `json:"sendRanResponse,omitempty"` - OmcId string `json:"omcId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` + PwsContainer *N2InfoContent `json:"pwsContainer" yaml:"pwsContainer" bson:"pwsContainer,omitempty"` + BcEmptyAreaList []GlobalRanNodeId `json:"bcEmptyAreaList,omitempty" yaml:"bcEmptyAreaList" bson:"bcEmptyAreaList,omitempty"` + SendRanResponse bool `json:"sendRanResponse,omitempty" yaml:"sendRanResponse" bson:"sendRanResponse,omitempty"` + // Represents the OMC Identifier + OmcId string `json:"omcId,omitempty" yaml:"omcId" bson:"omcId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` } diff --git a/models/model_pws_response_data.go b/models/model_pws_response_data.go index 591d7b64..1a563952 100644 --- a/models/model_pws_response_data.go +++ b/models/model_pws_response_data.go @@ -1,17 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data related PWS included in a N2 Information Transfer response type PwsResponseData struct { - NgapMessageType int32 `json:"ngapMessageType"` - SerialNumber int32 `json:"serialNumber"` - MessageIdentifier int32 `json:"messageIdentifier"` - UnknownTaiList *[]Tai `json:"unknownTaiList,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NgapMessageType int32 `json:"ngapMessageType" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` + MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` + UnknownTaiList []Tai `json:"unknownTaiList,omitempty" yaml:"unknownTaiList" bson:"unknownTaiList,omitempty"` } diff --git a/models/model_qfi_container_information.go b/models/model_qfi_container_information.go deleted file mode 100644 index 9d6aa40a..00000000 --- a/models/model_qfi_container_information.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type QfiContainerInformation struct { - QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI" mapstructure:"QFI"` - ReportTime *time.Time `json:"reportTime" yaml:"reportTime" bson:"reportTime" mapstructure:"ReportTime"` - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage" mapstructure:"TimeofFirstUsage"` - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage" mapstructure:"TimeofLastUsage"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation" mapstructure:"QoSInformation"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics" mapstructure:"QoSCharacteristics"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation" mapstructure:"UserLocationInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation" mapstructure:"PresenceReportingAreaInformation"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - ServingNetworkFunctionID []ServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID" mapstructure:"ServingNetworkFunctionID"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus" mapstructure:"Var3gppPSDataOffStatus"` - Var3gppChargingId int32 `json:"3gppChargingId,omitempty" yaml:"3gppChargingId" bson:"3gppChargingId" mapstructure:"Var3gppChargingId"` - Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics" mapstructure:"Diagnostics"` - EnhancedDiagnostics []string `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics" mapstructure:"EnhancedDiagnostics"` -} diff --git a/models/model_qos_characteristics.go b/models/model_qos_characteristics.go index 32d9bac8..0053e81f 100644 --- a/models/model_qos_characteristics.go +++ b/models/model_qos_characteristics.go @@ -1,21 +1,32 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains QoS characteristics for a non-standardized or a non-configured 5QI. type QosCharacteristics struct { - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi" mapstructure:"Var5qi"` - ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType" mapstructure:"ResourceType"` - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel" mapstructure:"PriorityLevel"` - PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget" mapstructure:"PacketDelayBudget"` - PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate" mapstructure:"PacketErrorRate"` - AveragingWindow int32 `json:"averagingWindow,omitempty" yaml:"averagingWindow" bson:"averagingWindow" mapstructure:"AveragingWindow"` - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol" mapstructure:"MaxDataBurstVol"` - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol" mapstructure:"ExtMaxDataBurstVol"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AveragingWindow int32 `json:"averagingWindow,omitempty" yaml:"averagingWindow" bson:"averagingWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` } diff --git a/models/model_qos_data.go b/models/model_qos_data.go index 8b118c97..8102b7b0 100644 --- a/models/model_qos_data.go +++ b/models/model_qos_data.go @@ -1,39 +1,56 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the QoS parameters. type QosData struct { // Univocally identifies the QoS control policy data within a PDU session. - QosId string `json:"qosId" yaml:"qosId" bson:"qosId" mapstructure:"QosId"` - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi" mapstructure:"Var5qi"` - MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl" mapstructure:"MaxbrUl"` - MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl" mapstructure:"MaxbrDl"` - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl" mapstructure:"GbrUl"` - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl" mapstructure:"GbrDl"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp" mapstructure:"Arp"` + QosId string `json:"qosId" yaml:"qosId" bson:"qosId,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` // Indicates whether notifications are requested from 3GPP NG-RAN when the GFBR can no longer (or again) be guaranteed for a QoS Flow during the lifetime of the QoS Flow. - Qnc bool `json:"qnc,omitempty" yaml:"qnc" bson:"qnc" mapstructure:"Qnc"` - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel" mapstructure:"PriorityLevel"` - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow" mapstructure:"AverWindow"` - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol" mapstructure:"MaxDataBurstVol"` + Qnc bool `json:"qnc,omitempty" yaml:"qnc" bson:"qnc,omitempty"` + // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` // Indicates whether the QoS information is reflective for the corresponding service data flow. - ReflectiveQos bool `json:"reflectiveQos,omitempty" yaml:"reflectiveQos" bson:"reflectiveQos" mapstructure:"ReflectiveQos"` + ReflectiveQos bool `json:"reflectiveQos,omitempty" yaml:"reflectiveQos" bson:"reflectiveQos,omitempty"` // Indicates, by containing the same value, what PCC rules may share resource in downlink direction. - SharingKeyDl string `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl" mapstructure:"SharingKeyDl"` + SharingKeyDl string `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` // Indicates, by containing the same value, what PCC rules may share resource in uplink direction. - SharingKeyUl string `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl" mapstructure:"SharingKeyUl"` - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl" mapstructure:"MaxPacketLossRateDl"` - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl" mapstructure:"MaxPacketLossRateUl"` + SharingKeyUl string `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` // Indicates that the dynamic PCC rule shall always have its binding with the QoS Flow associated with the default QoS rule - DefQosFlowIndication bool `json:"defQosFlowIndication,omitempty" yaml:"defQosFlowIndication" bson:"defQosFlowIndication" mapstructure:"DefQosFlowIndication"` - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol" mapstructure:"ExtMaxDataBurstVol"` - PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget" mapstructure:"PacketDelayBudget"` - PacketErrorRate string `json:"packetErrorRate,omitempty" yaml:"packetErrorRate" bson:"packetErrorRate" mapstructure:"PacketErrorRate"` + DefQosFlowIndication bool `json:"defQosFlowIndication,omitempty" yaml:"defQosFlowIndication" bson:"defQosFlowIndication,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate,omitempty" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` } diff --git a/models/model_qos_flow_access_type.go b/models/model_qos_flow_access_type.go new file mode 100644 index 00000000..c1c65928 --- /dev/null +++ b/models/model_qos_flow_access_type.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosFlowAccessType string + +// List of QosFlowAccessType +const ( + QosFlowAccessType__3_GPP QosFlowAccessType = "3GPP" + QosFlowAccessType_NON_3_GPP QosFlowAccessType = "NON_3GPP" + QosFlowAccessType__3_GPP_AND_NON_3_GPP QosFlowAccessType = "3GPP_AND_NON_3GPP" +) diff --git a/models/model_qos_flow_add_modify_request_item.go b/models/model_qos_flow_add_modify_request_item.go index 075f65b7..115bf48d 100644 --- a/models/model_qos_flow_add_modify_request_item.go +++ b/models/model_qos_flow_add_modify_request_item.go @@ -1,18 +1,22 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type QosFlowAddModifyRequestItem struct { - Qfi int32 `json:"qfi"` - Ebi int32 `json:"ebi,omitempty"` - QosRules string `json:"qosRules,omitempty"` - QosFlowDescription string `json:"qosFlowDescription,omitempty"` - QosFlowProfile *QosFlowProfile `json:"qosFlowProfile,omitempty"` + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` + QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` + QosFlowProfile *QosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` + AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` } diff --git a/models/model_qos_flow_item.go b/models/model_qos_flow_item.go index 6c4bc2b9..8e15a112 100644 --- a/models/model_qos_flow_item.go +++ b/models/model_qos_flow_item.go @@ -1,15 +1,23 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Individual QoS flow type QosFlowItem struct { - Qfi int32 `json:"qfi"` - Cause Cause `json:"cause,omitempty"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` + NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` } diff --git a/models/model_qos_flow_notify_item.go b/models/model_qos_flow_notify_item.go index bee76d40..cc85620f 100644 --- a/models/model_qos_flow_notify_item.go +++ b/models/model_qos_flow_notify_item.go @@ -1,15 +1,22 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Notification related to a QoS flow type QosFlowNotifyItem struct { - Qfi int32 `json:"qfi"` - NotificationCause NotificationCause `json:"notificationCause"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` + CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` + NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` } diff --git a/models/model_qos_flow_profile.go b/models/model_qos_flow_profile.go index 0ee65ded..7f628c65 100644 --- a/models/model_qos_flow_profile.go +++ b/models/model_qos_flow_profile.go @@ -1,20 +1,25 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type QosFlowProfile struct { - Var5qi int32 `json:"5qi"` - NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty"` - Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty"` - Arp *Arp `json:"arp,omitempty"` - GbrQosFlowInfo *GbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty"` - Rqa ReflectiveQoSAttribute `json:"rqa,omitempty"` - AdditionalQosFlowInfo AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty"` + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty" yaml:"nonDynamic5Qi" bson:"nonDynamic5Qi,omitempty"` + Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty" yaml:"dynamic5Qi" bson:"dynamic5Qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + GbrQosFlowInfo *GbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty" yaml:"gbrQosFlowInfo" bson:"gbrQosFlowInfo,omitempty"` + Rqa ReflectiveQoSAttribute `json:"rqa,omitempty" yaml:"rqa" bson:"rqa,omitempty"` + AdditionalQosFlowInfo *AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty" yaml:"additionalQosFlowInfo" bson:"additionalQosFlowInfo,omitempty"` + QosMonitoringReq QosMonitoringReq `json:"qosMonitoringReq,omitempty" yaml:"qosMonitoringReq" bson:"qosMonitoringReq,omitempty"` + QosRepPeriod int32 `json:"qosRepPeriod,omitempty" yaml:"qosRepPeriod" bson:"qosRepPeriod,omitempty"` } diff --git a/models/model_qos_flow_release_request_item.go b/models/model_qos_flow_release_request_item.go index 7c6f2e03..18d7addf 100644 --- a/models/model_qos_flow_release_request_item.go +++ b/models/model_qos_flow_release_request_item.go @@ -1,16 +1,23 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Individual QoS flow requested to be released type QosFlowReleaseRequestItem struct { - Qfi int32 `json:"qfi"` - QosRules string `json:"qosRules,omitempty"` - QosFlowDescription string `json:"qosFlowDescription,omitempty"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` } diff --git a/models/model_qos_flow_setup_item.go b/models/model_qos_flow_setup_item.go index b0ac9927..0a0de06d 100644 --- a/models/model_qos_flow_setup_item.go +++ b/models/model_qos_flow_setup_item.go @@ -1,18 +1,28 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Individual QoS flow to setup type QosFlowSetupItem struct { - Qfi int32 `json:"qfi"` - QosRules string `json:"qosRules"` - Ebi int32 `json:"ebi,omitempty"` - QosFlowDescription string `json:"qosFlowDescription,omitempty"` - QosFlowProfile *QosFlowProfile `json:"qosFlowProfile,omitempty"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules" yaml:"qosRules" bson:"qosRules,omitempty"` + // EPS Bearer Identifier + Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` + QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` + AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` + DefaultQosRuleInd bool `json:"defaultQosRuleInd,omitempty" yaml:"defaultQosRuleInd" bson:"defaultQosRuleInd,omitempty"` } diff --git a/models/model_qos_flow_tunnel.go b/models/model_qos_flow_tunnel.go new file mode 100644 index 00000000..3479c5df --- /dev/null +++ b/models/model_qos_flow_tunnel.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Tunnel Information per QoS Flow +type QosFlowTunnel struct { + QfiList []int32 `json:"qfiList" yaml:"qfiList" bson:"qfiList,omitempty"` + TunnelInfo *TunnelInfo `json:"tunnelInfo" yaml:"tunnelInfo" bson:"tunnelInfo,omitempty"` +} diff --git a/models/model_qos_flow_usage.go b/models/model_qos_flow_usage.go index e82a5167..b5984aff 100644 --- a/models/model_qos_flow_usage.go +++ b/models/model_qos_flow_usage.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_qos_flow_usage_report.go b/models/model_qos_flow_usage_report.go index b2aff61d..9905f800 100644 --- a/models/model_qos_flow_usage_report.go +++ b/models/model_qos_flow_usage_report.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,10 +16,16 @@ import ( "time" ) +// Contains QoS flows usage data information. type QosFlowUsageReport struct { - Qfi int32 `json:"qfi"` - StartTimeStamp *time.Time `json:"startTimeStamp"` - EndTimeStamp *time.Time `json:"endTimeStamp"` - DownlinkVolume int64 `json:"downlinkVolume"` - UplinkVolume int64 `json:"uplinkVolume"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` + // string with format 'int64' as defined in OpenAPI. + DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // string with format 'int64' as defined in OpenAPI. + UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` } diff --git a/models/model_qos_flows_usage_report.go b/models/model_qos_flows_usage_report.go index ccdc453f..64ef3b37 100644 --- a/models/model_qos_flows_usage_report.go +++ b/models/model_qos_flows_usage_report.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,9 +17,14 @@ import ( ) type QosFlowsUsageReport struct { - QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI" mapstructure:"QFI"` - StartTimestamp *time.Time `json:"startTimestamp,omitempty" yaml:"startTimestamp" bson:"startTimestamp" mapstructure:"StartTimestamp"` - EndTimestamp *time.Time `json:"endTimestamp,omitempty" yaml:"endTimestamp" bson:"endTimestamp" mapstructure:"EndTimestamp"` - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTimestamp *time.Time `json:"startTimestamp,omitempty" yaml:"startTimestamp" bson:"startTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimestamp *time.Time `json:"endTimestamp,omitempty" yaml:"endTimestamp" bson:"endTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` } diff --git a/models/model_qos_monitoring_data.go b/models/model_qos_monitoring_data.go new file mode 100644 index 00000000..87518147 --- /dev/null +++ b/models/model_qos_monitoring_data.go @@ -0,0 +1,37 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains QoS monitoring related control information. +type QosMonitoringData struct { + // Univocally identifies the QoS monitoring policy data within a PDU session. + QmId string `json:"qmId" yaml:"qmId" bson:"qmId,omitempty"` + // indicates the UL packet delay, DL packet delay and/or round trip packet delay between the UE and the UPF is to be monitored when the QoS Monitoring for URLLC is enabled for the service data flow. + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Indicates the period of time in units of miliiseconds for DL packet delay. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Indicates the period of time in units of miliiseconds for UL packet delay. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Indicates the period of time in units of miliiseconds for round trip packet delay. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // String providing an URI formatted according to RFC 3986 with the OpenAPI 'nullable: true' property. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + NotifyCorreId string `json:"notifyCorreId,omitempty" yaml:"notifyCorreId" bson:"notifyCorreId,omitempty"` + // Indicates that the direct event notification sent by UPF to the Local NEF or AF is requested if it is included and set to true. + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/model_qos_monitoring_info.go b/models/model_qos_monitoring_info.go new file mode 100644 index 00000000..b259aad0 --- /dev/null +++ b/models/model_qos_monitoring_info.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS Monitoring Information +type QosMonitoringInfo struct { + QosMonitoringInd bool `json:"qosMonitoringInd,omitempty" yaml:"qosMonitoringInd" bson:"qosMonitoringInd,omitempty"` +} diff --git a/models/model_qos_monitoring_information.go b/models/model_qos_monitoring_information.go new file mode 100644 index 00000000..484b4f91 --- /dev/null +++ b/models/model_qos_monitoring_information.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents QoS monitoring information. +type QosMonitoringInformation struct { + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/model_qos_monitoring_information_rm.go b/models/model_qos_monitoring_information_rm.go new file mode 100644 index 00000000..fddb7158 --- /dev/null +++ b/models/model_qos_monitoring_information_rm.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the same as the QosMonitoringInformation data type but with the nullable:true property. +type QosMonitoringInformationRm struct { + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs,omitempty" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/model_qos_monitoring_report.go b/models/model_qos_monitoring_report.go new file mode 100644 index 00000000..92e49022 --- /dev/null +++ b/models/model_qos_monitoring_report.go @@ -0,0 +1,22 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a QoS monitoring report. +type QosMonitoringReport struct { + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/model_qos_monitoring_req.go b/models/model_qos_monitoring_req.go new file mode 100644 index 00000000..45c483e7 --- /dev/null +++ b/models/model_qos_monitoring_req.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosMonitoringReq string + +// List of QosMonitoringReq +const ( + QosMonitoringReq_UL QosMonitoringReq = "UL" + QosMonitoringReq_DL QosMonitoringReq = "DL" + QosMonitoringReq_BOTH QosMonitoringReq = "BOTH" + QosMonitoringReq_NONE QosMonitoringReq = "NONE" +) diff --git a/models/model_qos_notif_type.go b/models/model_qos_notif_type.go index fe40a677..65dcf34a 100644 --- a/models/model_qos_notif_type.go +++ b/models/model_qos_notif_type.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_PolicyAuthorization Service API * - * Session Management Policy Control Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_qos_notification_control_info.go b/models/model_qos_notification_control_info.go deleted file mode 100644 index 4c589a51..00000000 --- a/models/model_qos_notification_control_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosNotificationControlInfo struct { - // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds" mapstructure:"RefPccRuleIds"` - NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType" mapstructure:"NotifType"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer" mapstructure:"ContVer"` -} diff --git a/models/model_qos_requirement.go b/models/model_qos_requirement.go new file mode 100644 index 00000000..744654ab --- /dev/null +++ b/models/model_qos_requirement.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the QoS requirements. +type QosRequirement struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GfbrUl string `json:"gfbrUl,omitempty" yaml:"gfbrUl" bson:"gfbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GfbrDl string `json:"gfbrDl,omitempty" yaml:"gfbrDl" bson:"gfbrDl,omitempty"` + ResType QosResourceType `json:"resType,omitempty" yaml:"resType" bson:"resType,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + Per string `json:"per,omitempty" yaml:"per" bson:"per,omitempty"` +} diff --git a/models/model_qos_resource_type.go b/models/model_qos_resource_type.go index 60404973..496278d2 100644 --- a/models/model_qos_resource_type.go +++ b/models/model_qos_resource_type.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Nchf_OfflineOnlyCharging * - * Session Management Policy Control Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_qos_sustainability_info.go b/models/model_qos_sustainability_info.go new file mode 100644 index 00000000..073031fa --- /dev/null +++ b/models/model_qos_sustainability_info.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the QoS Sustainability information. +type QosSustainabilityInfo struct { + AreaInfo *NetworkAreaInfo `json:"areaInfo,omitempty" yaml:"areaInfo" bson:"areaInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` + QosFlowRetThd *RetainabilityThreshold `json:"qosFlowRetThd,omitempty" yaml:"qosFlowRetThd" bson:"qosFlowRetThd,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RanUeThrouThd string `json:"ranUeThrouThd,omitempty" yaml:"ranUeThrouThd" bson:"ranUeThrouThd,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_query_param_combination.go b/models/model_query_param_combination.go new file mode 100644 index 00000000..d74ff698 --- /dev/null +++ b/models/model_query_param_combination.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of Query Parameters +type QueryParamCombination struct { + QueryParams []QueryParameter `json:"queryParams" yaml:"queryParams" bson:"queryParams,omitempty"` +} diff --git a/models/model_query_parameter.go b/models/model_query_parameter.go new file mode 100644 index 00000000..e160311f --- /dev/null +++ b/models/model_query_parameter.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the name and value of a query parameter +type QueryParameter struct { + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/model_quota_consumption_indicator.go b/models/model_quota_consumption_indicator.go new file mode 100644 index 00000000..c85ee0fb --- /dev/null +++ b/models/model_quota_consumption_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QuotaConsumptionIndicator string + +// List of QuotaConsumptionIndicator +const ( + QuotaConsumptionIndicator_NOT_USED QuotaConsumptionIndicator = "QUOTA_NOT_USED" + QuotaConsumptionIndicator_IS_USED QuotaConsumptionIndicator = "QUOTA_IS_USED" +) diff --git a/models/model_quota_management_indicator.go b/models/model_quota_management_indicator.go index f18d339f..643dfc4c 100644 --- a/models/model_quota_management_indicator.go +++ b/models/model_quota_management_indicator.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_radio_parameter_set_info.go b/models/model_radio_parameter_set_info.go new file mode 100644 index 00000000..8d29172e --- /dev/null +++ b/models/model_radio_parameter_set_info.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type RadioParameterSetInfo struct { + RadioParameterSetValues []string `json:"radioParameterSetValues,omitempty" yaml:"radioParameterSetValues" bson:"radioParameterSetValues,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTimestamp *time.Time `json:"changeTimestamp,omitempty" yaml:"changeTimestamp" bson:"changeTimestamp,omitempty"` +} diff --git a/models/model_radio_resources_id.go b/models/model_radio_resources_id.go new file mode 100644 index 00000000..d10d0108 --- /dev/null +++ b/models/model_radio_resources_id.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RadioResourcesId string + +// List of RadioResourcesId +const ( + RadioResourcesId_OPERATOR_PROVIDED RadioResourcesId = "OPERATOR_PROVIDED" + RadioResourcesId_CONFIGURED RadioResourcesId = "CONFIGURED" +) diff --git a/models/model_ran_nas_rel_cause.go b/models/model_ran_nas_rel_cause.go index 35c1f0ce..76620c78 100644 --- a/models/model_ran_nas_rel_cause.go +++ b/models/model_ran_nas_rel_cause.go @@ -1,18 +1,24 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the RAN/NAS release cause. type RanNasRelCause struct { - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause" mapstructure:"NgApCause"` - Var5gMmCause int32 `json:"5gMmCause,omitempty" yaml:"5gMmCause" bson:"5gMmCause" mapstructure:"Var5gMmCause"` - Var5gSmCause int32 `json:"5gSmCause,omitempty" yaml:"5gSmCause" bson:"5gSmCause" mapstructure:"Var5gSmCause"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCause int32 `json:"5gMmCause,omitempty" yaml:"5gMmCause" bson:"5gMmCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gSmCause int32 `json:"5gSmCause,omitempty" yaml:"5gSmCause" bson:"5gSmCause,omitempty"` // Defines the EPS RAN/NAS release cause. - EpsCause string `json:"epsCause,omitempty" yaml:"epsCause" bson:"epsCause" mapstructure:"EpsCause"` + EpsCause string `json:"epsCause,omitempty" yaml:"epsCause" bson:"epsCause,omitempty"` } diff --git a/models/model_ran_secondary_rat_usage_report.go b/models/model_ran_secondary_rat_usage_report.go index 3cb6581d..68d9bb7c 100644 --- a/models/model_ran_secondary_rat_usage_report.go +++ b/models/model_ran_secondary_rat_usage_report.go @@ -1,15 +1,18 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RanSecondaryRatUsageReport struct { - RANSecondaryRATType RatType `json:"rANSecondaryRATType,omitempty" yaml:"rANSecondaryRATType" bson:"rANSecondaryRATType" mapstructure:"RANSecondaryRATType"` - QosFlowsUsageReports []QosFlowsUsageReport `json:"qosFlowsUsageReports,omitempty" yaml:"qosFlowsUsageReports" bson:"qosFlowsUsageReports" mapstructure:"QosFlowsUsageReports"` + RANSecondaryRATType RatType `json:"rANSecondaryRATType,omitempty" yaml:"rANSecondaryRATType" bson:"rANSecondaryRATType,omitempty"` + QosFlowsUsageReports []QosFlowsUsageReport `json:"qosFlowsUsageReports,omitempty" yaml:"qosFlowsUsageReports" bson:"qosFlowsUsageReports,omitempty"` } diff --git a/models/model_range_class.go b/models/model_range_class.go new file mode 100644 index 00000000..1a7d8100 --- /dev/null +++ b/models/model_range_class.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RangeClass string + +// List of RangeClass +const ( + RangeClass_RESERVED RangeClass = "RESERVED" + RangeClass__50_METER RangeClass = "50_METER" + RangeClass__100_METER RangeClass = "100_METER" + RangeClass__200_METER RangeClass = "200_METER" + RangeClass__500_METER RangeClass = "500_METER" + RangeClass__1000_METER RangeClass = "1000_METER" + RangeClass_UNUSED RangeClass = "UNUSED" +) diff --git a/models/model_ranking_criterion.go b/models/model_ranking_criterion.go new file mode 100644 index 00000000..9077eb41 --- /dev/null +++ b/models/model_ranking_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the usage ranking criterion between the high, medium and low usage UE. +type RankingCriterion struct { + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + HighBase int32 `json:"highBase" yaml:"highBase" bson:"highBase,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + LowBase int32 `json:"lowBase" yaml:"lowBase" bson:"lowBase,omitempty"` +} diff --git a/models/model_rat_freq_information.go b/models/model_rat_freq_information.go new file mode 100644 index 00000000..69c38de6 --- /dev/null +++ b/models/model_rat_freq_information.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the RAT type and/or Frequency information. +type RatFreqInformation struct { + // Set to \"true\" to indicate to handle all the frequencies the NWDAF received, otherwise set to \"false\" or omit. The \"allFreq\" attribute and the \"freq\" attribute are mutually exclusive. + AllFreq bool `json:"allFreq,omitempty" yaml:"allFreq" bson:"allFreq,omitempty"` + // Set to \"true\" to indicate to handle all the RAT Types the NWDAF received, otherwise set to \"false\" or omit. The \"allRat\" attribute and the \"ratType\" attribute are mutually exclusive. + AllRat bool `json:"allRat,omitempty" yaml:"allRat" bson:"allRat,omitempty"` + // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. + Freq int32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SvcExpThreshold *ThresholdLevel `json:"svcExpThreshold,omitempty" yaml:"svcExpThreshold" bson:"svcExpThreshold,omitempty"` + MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` +} diff --git a/models/model_rat_selector.go b/models/model_rat_selector.go index d5a9e750..aaac4395 100644 --- a/models/model_rat_selector.go +++ b/models/model_rat_selector.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_rat_type.go b/models/model_rat_type.go index 9926559d..47dc518f 100644 --- a/models/model_rat_type.go +++ b/models/model_rat_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * 3gpp-as-session-with-qos * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,19 +16,36 @@ type RatType string // List of RatType const ( - RatType_NR RatType = "NR" - RatType_EUTRA RatType = "EUTRA" - RatType_WLAN RatType = "WLAN" - RatType_VIRTUAL RatType = "VIRTUAL" - RatType_NBIOT RatType = "NBIOT" - RatType_WIRELINE RatType = "WIRELINE" - RatType_WIRELINE_CABLE RatType = "WIRELINE_CABLE" - RatType_WIRELINE_BBF RatType = "WIRELINE_BBF" - RatType_LTE_M RatType = "LTE-M" - RatType_NR_U RatType = "NR_U" - RatType_EUTRA_U RatType = "EUTRA_U" - RatType_TRUSTED_N3_GA RatType = "TRUSTED_N3GA" - RatType_TRUSTED_WLAN RatType = "TRUSTED_WLAN" - RatType_UTRA RatType = "UTRA" - RatType_GERA RatType = "GERA" + RatType_NR RatType = "NR" + RatType_EUTRA RatType = "EUTRA" + RatType_WLAN RatType = "WLAN" + RatType_VIRTUAL RatType = "VIRTUAL" + RatType_NBIOT RatType = "NBIOT" + RatType_WIRELINE RatType = "WIRELINE" + RatType_WIRELINE_CABLE RatType = "WIRELINE_CABLE" + RatType_WIRELINE_BBF RatType = "WIRELINE_BBF" + RatType_LTE_M RatType = "LTE-M" + RatType_NR_U RatType = "NR_U" + RatType_EUTRA_U RatType = "EUTRA_U" + RatType_TRUSTED_N3_GA RatType = "TRUSTED_N3GA" + RatType_TRUSTED_WLAN RatType = "TRUSTED_WLAN" + RatType_UTRA RatType = "UTRA" + RatType_GERA RatType = "GERA" + RatType_NR_LEO RatType = "NR_LEO" + RatType_NR_MEO RatType = "NR_MEO" + RatType_NR_GEO RatType = "NR_GEO" + RatType_NR_OTHER_SAT RatType = "NR_OTHER_SAT" + RatType_NR_REDCAP RatType = "NR_REDCAP" + RatType_WB_E_UTRAN_LEO RatType = "WB_E_UTRAN_LEO" + RatType_WB_E_UTRAN_MEO RatType = "WB_E_UTRAN_MEO" + RatType_WB_E_UTRAN_GEO RatType = "WB_E_UTRAN_GEO" + RatType_WB_E_UTRAN_OTHERSAT RatType = "WB_E_UTRAN_OTHERSAT" + RatType_NB_IOT_LEO RatType = "NB_IOT_LEO" + RatType_NB_IOT_MEO RatType = "NB_IOT_MEO" + RatType_NB_IOT_GEO RatType = "NB_IOT_GEO" + RatType_NB_IOT_OTHERSAT RatType = "NB_IOT_OTHERSAT" + RatType_LTE_M_LEO RatType = "LTE_M_LEO" + RatType_LTE_M_MEO RatType = "LTE_M_MEO" + RatType_LTE_M_GEO RatType = "LTE_M_GEO" + RatType_LTE_M_OTHERSAT RatType = "LTE_M_OTHERSAT" ) diff --git a/models/model_reachability_filter.go b/models/model_reachability_filter.go new file mode 100644 index 00000000..99353f70 --- /dev/null +++ b/models/model_reachability_filter.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityFilter string + +// List of ReachabilityFilter +const ( + ReachabilityFilter_REACHABILITY_STATUS_CHANGE ReachabilityFilter = "UE_REACHABILITY_STATUS_CHANGE" + ReachabilityFilter_REACHABLE_DL_TRAFFIC ReachabilityFilter = "UE_REACHABLE_DL_TRAFFIC" +) diff --git a/models/model_reachability_for_data_report_config.go b/models/model_reachability_for_data_report_config.go new file mode 100644 index 00000000..1e760b56 --- /dev/null +++ b/models/model_reachability_for_data_report_config.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityForDataReportConfig string + +// List of ReachabilityForDataReportConfig +const ( + ReachabilityForDataReportConfig_DIRECT_REPORT ReachabilityForDataReportConfig = "DIRECT_REPORT" + ReachabilityForDataReportConfig_INDIRECT_REPORT ReachabilityForDataReportConfig = "INDIRECT_REPORT" +) diff --git a/models/model_reachability_for_sms_configuration.go b/models/model_reachability_for_sms_configuration.go new file mode 100644 index 00000000..e70b4b93 --- /dev/null +++ b/models/model_reachability_for_sms_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityForSmsConfiguration string + +// List of ReachabilityForSmsConfiguration +const ( + ReachabilityForSmsConfiguration_NAS ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_NAS" + ReachabilityForSmsConfiguration_IP ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_IP" +) diff --git a/models/model_reachability_for_sms_report.go b/models/model_reachability_for_sms_report.go new file mode 100644 index 00000000..7a5e3443 --- /dev/null +++ b/models/model_reachability_for_sms_report.go @@ -0,0 +1,22 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ReachabilityForSmsReport struct { + SmsfAccessType AccessType `json:"smsfAccessType" yaml:"smsfAccessType" bson:"smsfAccessType,omitempty"` + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` +} diff --git a/models/model_reachability_notification_data.go b/models/model_reachability_notification_data.go new file mode 100644 index 00000000..057c28aa --- /dev/null +++ b/models/model_reachability_notification_data.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the UE Reachability Info Notify +type ReachabilityNotificationData struct { + ReachableUeList []ReachableUeInfo `json:"reachableUeList,omitempty" yaml:"reachableUeList" bson:"reachableUeList,omitempty"` + UnreachableUeList []string `json:"unreachableUeList,omitempty" yaml:"unreachableUeList" bson:"unreachableUeList,omitempty"` +} diff --git a/models/model_reachability_report.go b/models/model_reachability_report.go new file mode 100644 index 00000000..7733b98f --- /dev/null +++ b/models/model_reachability_report.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ReachabilityReport struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` + IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` +} diff --git a/models/model_reachable_ue_info.go b/models/model_reachable_ue_info.go new file mode 100644 index 00000000..feb96e7d --- /dev/null +++ b/models/model_reachable_ue_info.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the reachable UE Information +type ReachableUeInfo struct { + UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` + UserLocation *UserLocation `json:"userLocation,omitempty" yaml:"userLocation" bson:"userLocation,omitempty"` +} diff --git a/models/model_reauthorization_details.go b/models/model_reauthorization_details.go index 990d340d..f9144809 100644 --- a/models/model_reauthorization_details.go +++ b/models/model_reauthorization_details.go @@ -1,16 +1,21 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ReauthorizationDetails struct { - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId" mapstructure:"ServiceId"` - RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"` - QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator" mapstructure:"QuotaManagementIndicator"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` } diff --git a/models/model_recipient_address.go b/models/model_recipient_address.go index 79293086..3082877e 100644 --- a/models/model_recipient_address.go +++ b/models/model_recipient_address.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RecipientAddress struct { - RecipientAddressInfo *SmAddressInfo `json:"recipientAddressInfo,omitempty" yaml:"recipientAddressInfo" bson:"recipientAddressInfo" mapstructure:"RecipientAddressInfo"` - SMaddresseeType SmAddresseeType `json:"sMaddresseeType,omitempty" yaml:"sMaddresseeType" bson:"sMaddresseeType" mapstructure:"SMaddresseeType"` + RecipientAddressInfo *SmAddressInfo `json:"recipientAddressInfo,omitempty" yaml:"recipientAddressInfo" bson:"recipientAddressInfo,omitempty"` + SMaddresseeType SmAddresseeType `json:"sMaddresseeType,omitempty" yaml:"sMaddresseeType" bson:"sMaddresseeType,omitempty"` } diff --git a/models/model_recipient_info.go b/models/model_recipient_info.go index 59e56ff9..5f38ff2f 100644 --- a/models/model_recipient_info.go +++ b/models/model_recipient_info.go @@ -1,20 +1,25 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RecipientInfo struct { - RecipientSUPI string `json:"recipientSUPI,omitempty" yaml:"recipientSUPI" bson:"recipientSUPI" mapstructure:"RecipientSUPI"` - RecipientGPSI string `json:"recipientGPSI,omitempty" yaml:"recipientGPSI" bson:"recipientGPSI" mapstructure:"RecipientGPSI"` - RecipientOtherAddress *SmAddressInfo `json:"recipientOtherAddress,omitempty" yaml:"recipientOtherAddress" bson:"recipientOtherAddress" mapstructure:"RecipientOtherAddress"` - RecipientReceivedAddress *SmAddressInfo `json:"recipientReceivedAddress,omitempty" yaml:"recipientReceivedAddress" bson:"recipientReceivedAddress" mapstructure:"RecipientReceivedAddress"` - RecipientSCCPAddress string `json:"recipientSCCPAddress,omitempty" yaml:"recipientSCCPAddress" bson:"recipientSCCPAddress" mapstructure:"RecipientSCCPAddress"` - SMDestinationInterface *SmInterface `json:"sMDestinationInterface,omitempty" yaml:"sMDestinationInterface" bson:"sMDestinationInterface" mapstructure:"SMDestinationInterface"` - SMrecipientProtocolId string `json:"sMrecipientProtocolId,omitempty" yaml:"sMrecipientProtocolId" bson:"sMrecipientProtocolId" mapstructure:"SMrecipientProtocolId"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + RecipientSUPI string `json:"recipientSUPI,omitempty" yaml:"recipientSUPI" bson:"recipientSUPI,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + RecipientGPSI string `json:"recipientGPSI,omitempty" yaml:"recipientGPSI" bson:"recipientGPSI,omitempty"` + RecipientOtherAddress *SmAddressInfo `json:"recipientOtherAddress,omitempty" yaml:"recipientOtherAddress" bson:"recipientOtherAddress,omitempty"` + RecipientReceivedAddress *SmAddressInfo `json:"recipientReceivedAddress,omitempty" yaml:"recipientReceivedAddress" bson:"recipientReceivedAddress,omitempty"` + RecipientSCCPAddress string `json:"recipientSCCPAddress,omitempty" yaml:"recipientSCCPAddress" bson:"recipientSCCPAddress,omitempty"` + SMDestinationInterface *SmInterface `json:"sMDestinationInterface,omitempty" yaml:"sMDestinationInterface" bson:"sMDestinationInterface,omitempty"` + SMrecipientProtocolId string `json:"sMrecipientProtocolId,omitempty" yaml:"sMrecipientProtocolId" bson:"sMrecipientProtocolId,omitempty"` } diff --git a/models/model_record.go b/models/model_record.go new file mode 100644 index 00000000..04ef0c20 --- /dev/null +++ b/models/model_record.go @@ -0,0 +1,20 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Definition of a Record +type Record struct { + Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` + // list of opaque Block's in this Record + Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` +} diff --git a/models/model_record_id_list.go b/models/model_record_id_list.go new file mode 100644 index 00000000..938ca066 --- /dev/null +++ b/models/model_record_id_list.go @@ -0,0 +1,18 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Record IDs +type RecordIdList struct { + RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` +} diff --git a/models/model_record_meta.go b/models/model_record_meta.go new file mode 100644 index 00000000..002fe1a2 --- /dev/null +++ b/models/model_record_meta.go @@ -0,0 +1,27 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Meta data of a Record +type RecordMeta struct { + // string with format 'date-time' as defined in OpenAPI. + Ttl *time.Time `json:"ttl,omitempty" yaml:"ttl" bson:"ttl,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A dictionary of {\"tagName\": [ \"tagValue\", ...] }. A tag name can be used to retrieve a Record. The tagValue are unique. + Tags map[string][]string `json:"tags,omitempty" yaml:"tags" bson:"tags,omitempty"` +} diff --git a/models/model_record_notification.go b/models/model_record_notification.go new file mode 100644 index 00000000..e1b119ee --- /dev/null +++ b/models/model_record_notification.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Definition of a notification on a record +type RecordNotification struct { + Descriptor *NotificationDescription `json:"descriptor" yaml:"descriptor" bson:"descriptor,omitempty"` + Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` + // list of opaque Block's in this Record + Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` +} diff --git a/models/model_record_operation.go b/models/model_record_operation.go new file mode 100644 index 00000000..275ccd57 --- /dev/null +++ b/models/model_record_operation.go @@ -0,0 +1,22 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RecordOperation string + +// List of RecordOperation +const ( + RecordOperation_CREATED RecordOperation = "CREATED" + RecordOperation_UPDATED RecordOperation = "UPDATED" + RecordOperation_DELETED RecordOperation = "DELETED" +) diff --git a/models/model_record_search_result.go b/models/model_record_search_result.go new file mode 100644 index 00000000..7858a95a --- /dev/null +++ b/models/model_record_search_result.go @@ -0,0 +1,24 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Count and collection of Record references matching the providing filter. +type RecordSearchResult struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Count int32 `json:"count" yaml:"count" bson:"count,omitempty"` + References []string `json:"references,omitempty" yaml:"references" bson:"references,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map (list of key-value pairs where recordId serves as key) of Records + MatchingRecords map[string]Record `json:"matchingRecords,omitempty" yaml:"matchingRecords" bson:"matchingRecords,omitempty"` +} diff --git a/models/model_red_trans_exp_ordering_criterion.go b/models/model_red_trans_exp_ordering_criterion.go new file mode 100644 index 00000000..342fcda9 --- /dev/null +++ b/models/model_red_trans_exp_ordering_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RedTransExpOrderingCriterion string + +// List of RedTransExpOrderingCriterion +const ( + RedTransExpOrderingCriterion_TIME_SLOT_START RedTransExpOrderingCriterion = "TIME_SLOT_START" + RedTransExpOrderingCriterion_RED_TRANS_EXP RedTransExpOrderingCriterion = "RED_TRANS_EXP" +) diff --git a/models/model_redirect_address_type.go b/models/model_redirect_address_type.go index f894ab37..72643450 100644 --- a/models/model_redirect_address_type.go +++ b/models/model_redirect_address_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Npcf_SMPolicyControl API * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,8 @@ type RedirectAddressType string // List of RedirectAddressType const ( - RedirectAddressType_IPV4 RedirectAddressType = "IPV4" - RedirectAddressType_IPV6 RedirectAddressType = "IPV6" - RedirectAddressType_URL RedirectAddressType = "URL" + RedirectAddressType_IPV4_ADDR RedirectAddressType = "IPV4_ADDR" + RedirectAddressType_IPV6_ADDR RedirectAddressType = "IPV6_ADDR" + RedirectAddressType_URL RedirectAddressType = "URL" + RedirectAddressType_SIP_URI RedirectAddressType = "SIP_URI" ) diff --git a/models/model_redirect_information.go b/models/model_redirect_information.go index 962b8d48..c8ed0eaa 100644 --- a/models/model_redirect_information.go +++ b/models/model_redirect_information.go @@ -1,20 +1,22 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the redirect information. type RedirectInformation struct { // Indicates the redirect is enable. - RedirectEnabled bool `json:"redirectEnabled,omitempty" bson:"redirectEnabled"` - - RedirectAddressType RedirectAddressType `json:"redirectAddressType,omitempty" bson:"redirectAddressType"` - - // Indicates the address of the redirect server. - RedirectServerAddress string `json:"redirectServerAddress,omitempty" bson:"redirectServerAddress"` + RedirectEnabled bool `json:"redirectEnabled,omitempty" yaml:"redirectEnabled" bson:"redirectEnabled,omitempty"` + RedirectAddressType PcfSmPolicyControlRedirectAddressType `json:"redirectAddressType,omitempty" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` + // Indicates the address of the redirect server. If \"redirectAddressType\" attribute indicates the IPV4_ADDR, the encoding is the same as the Ipv4Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the IPV6_ADDR, the encoding is the same as the Ipv6Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the URL or SIP_URI, the encoding is the same as the Uri data type defined in 3GPP TS 29.571. + RedirectServerAddress string `json:"redirectServerAddress,omitempty" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` } diff --git a/models/model_redirect_response.go b/models/model_redirect_response.go new file mode 100644 index 00000000..faac7441 --- /dev/null +++ b/models/model_redirect_response.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The response shall include a Location header field containing a different URI (pointing to a different URI of an other service instance), or the same URI if a request is redirected to the same target resource via a different SCP. +type RedirectResponse struct { + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + // String providing an URI formatted according to RFC 3986. + TargetScp string `json:"targetScp,omitempty" yaml:"targetScp" bson:"targetScp,omitempty"` + // String providing an URI formatted according to RFC 3986. + TargetSepp string `json:"targetSepp,omitempty" yaml:"targetSepp" bson:"targetSepp,omitempty"` +} diff --git a/models/model_redirect_server.go b/models/model_redirect_server.go index 2a82dcc8..724c2445 100644 --- a/models/model_redirect_server.go +++ b/models/model_redirect_server.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RedirectServer struct { - RedirectAddressType RedirectAddressType `json:"redirectAddressType" yaml:"redirectAddressType" bson:"redirectAddressType" mapstructure:"RedirectAddressType"` - RedirectServerAddress string `json:"redirectServerAddress" yaml:"redirectServerAddress" bson:"redirectServerAddress" mapstructure:"RedirectServerAddress"` + RedirectAddressType ChfConvergedChargingRedirectAddressType `json:"redirectAddressType" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` + RedirectServerAddress string `json:"redirectServerAddress" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` } diff --git a/models/model_redundant_pdu_session_information.go b/models/model_redundant_pdu_session_information.go new file mode 100644 index 00000000..37bc4064 --- /dev/null +++ b/models/model_redundant_pdu_session_information.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Redundant PDU Session Information +type RedundantPduSessionInformation struct { + Rsn Rsn `json:"rsn" yaml:"rsn" bson:"rsn,omitempty"` + PduSessionPairId int32 `json:"pduSessionPairId,omitempty" yaml:"pduSessionPairId" bson:"pduSessionPairId,omitempty"` +} diff --git a/models/model_redundant_transmission_exp_info.go b/models/model_redundant_transmission_exp_info.go new file mode 100644 index 00000000..72ad79f6 --- /dev/null +++ b/models/model_redundant_transmission_exp_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The redundant transmission experience related information. When subscribed event is \"RED_TRANS_EXP\", the \"redTransInfos\" attribute shall be included. +type RedundantTransmissionExpInfo struct { + SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + RedTransExps []RedundantTransmissionExpPerTs `json:"redTransExps" yaml:"redTransExps" bson:"redTransExps,omitempty"` +} diff --git a/models/model_redundant_transmission_exp_per_ts.go b/models/model_redundant_transmission_exp_per_ts.go new file mode 100644 index 00000000..bef0f415 --- /dev/null +++ b/models/model_redundant_transmission_exp_per_ts.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The redundant transmission experience per Time Slot. +type RedundantTransmissionExpPerTs struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + ObsvRedTransExp *ObservedRedundantTransExp `json:"obsvRedTransExp" yaml:"obsvRedTransExp" bson:"obsvRedTransExp,omitempty"` + // Redundant Transmission Status. Set to \"true\" if redundant transmission was activated, otherwise set to \"false\". Default value is \"false\" if omitted. + RedTransStatus bool `json:"redTransStatus,omitempty" yaml:"redTransStatus" bson:"redTransStatus,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_redundant_transmission_exp_req.go b/models/model_redundant_transmission_exp_req.go new file mode 100644 index 00000000..43d1cd54 --- /dev/null +++ b/models/model_redundant_transmission_exp_req.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other redundant transmission experience analytics requirements. +type RedundantTransmissionExpReq struct { + RedTOrderCriter RedTransExpOrderingCriterion `json:"redTOrderCriter,omitempty" yaml:"redTOrderCriter" bson:"redTOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/model_redundant_transmission_type.go b/models/model_redundant_transmission_type.go new file mode 100644 index 00000000..6802c93e --- /dev/null +++ b/models/model_redundant_transmission_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RedundantTransmissionType string + +// List of RedundantTransmissionType +const ( + RedundantTransmissionType_NON_TRANSMISSION RedundantTransmissionType = "NON_TRANSMISSION" + RedundantTransmissionType_END_TO_END_USER_PLANE_PATHS RedundantTransmissionType = "END_TO_END_USER_PLANE_PATHS" + RedundantTransmissionType_N3_N9 RedundantTransmissionType = "N3/N9" + RedundantTransmissionType_TRANSPORT_LAYER RedundantTransmissionType = "TRANSPORT_LAYER" +) diff --git a/models/model_ref_to_binary_data.go b/models/model_ref_to_binary_data.go index 9625934b..7bfec762 100644 --- a/models/model_ref_to_binary_data.go +++ b/models/model_ref_to_binary_data.go @@ -1,14 +1,19 @@ /* - * Namf_Communication + * LMF Location * - * AMF Communication Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This parameter provides information about the referenced binary body data. type RefToBinaryData struct { - ContentId string `json:"contentId"` + // This IE shall contain the value of the Content-ID header of the referenced binary body part. + ContentId string `json:"contentId" yaml:"contentId" bson:"contentId,omitempty"` } diff --git a/models/model_reference_location_information.go b/models/model_reference_location_information.go new file mode 100644 index 00000000..ec31f1ee --- /dev/null +++ b/models/model_reference_location_information.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Reference Location Information for the user in fixed access networks +type ReferenceLocationInformation struct { + AccessType string `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AccessInfo string `json:"accessInfo,omitempty" yaml:"accessInfo" bson:"accessInfo,omitempty"` + AccessValue string `json:"accessValue,omitempty" yaml:"accessValue" bson:"accessValue,omitempty"` +} diff --git a/models/model_reflective_qo_s_attribute.go b/models/model_reflective_qo_s_attribute.go index 29266000..d58cf0f8 100644 --- a/models/model_reflective_qo_s_attribute.go +++ b/models/model_reflective_qo_s_attribute.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_registration_charging_information.go b/models/model_registration_charging_information.go index 0148608d..9c972e25 100644 --- a/models/model_registration_charging_information.go +++ b/models/model_registration_charging_information.go @@ -1,31 +1,36 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RegistrationChargingInformation struct { - RegistrationMessagetype RegistrationMessageType `json:"registrationMessagetype" yaml:"registrationMessagetype" bson:"registrationMessagetype" mapstructure:"RegistrationMessagetype"` - UserInformation *UserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation" mapstructure:"UserInformation"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo" mapstructure:"UserLocationinfo"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation" mapstructure:"PSCellInformation"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - Var5GMMCapability string `json:"5GMMCapability,omitempty" yaml:"5GMMCapability" bson:"5GMMCapability" mapstructure:"Var5GMMCapability"` - MICOModeIndication MicoModeIndication `json:"mICOModeIndication,omitempty" yaml:"mICOModeIndication" bson:"mICOModeIndication" mapstructure:"MICOModeIndication"` - SmsIndication SmsIndication `json:"smsIndication,omitempty" yaml:"smsIndication" bson:"smsIndication" mapstructure:"SmsIndication"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList" mapstructure:"TaiList"` - ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction" mapstructure:"ServiceAreaRestriction"` - RequestedNSSAI []Snssai `json:"requestedNSSAI,omitempty" yaml:"requestedNSSAI" bson:"requestedNSSAI" mapstructure:"RequestedNSSAI"` - AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI" mapstructure:"AllowedNSSAI"` - RejectedNSSAI []Snssai `json:"rejectedNSSAI,omitempty" yaml:"rejectedNSSAI" bson:"rejectedNSSAI" mapstructure:"RejectedNSSAI"` - NSSAIMapList []NssaiMap `json:"nSSAIMapList,omitempty" yaml:"nSSAIMapList" bson:"nSSAIMapList" mapstructure:"NSSAIMapList"` - AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId" mapstructure:"AmfUeNgapId"` - RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId" mapstructure:"RanUeNgapId"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId" mapstructure:"RanNodeId"` + RegistrationMessagetype RegistrationMessageType `json:"registrationMessagetype" yaml:"registrationMessagetype" bson:"registrationMessagetype,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Var5GMMCapability string `json:"5GMMCapability,omitempty" yaml:"5GMMCapability" bson:"5GMMCapability,omitempty"` + MICOModeIndication MicoModeIndication `json:"mICOModeIndication,omitempty" yaml:"mICOModeIndication" bson:"mICOModeIndication,omitempty"` + SmsIndication SmsIndication `json:"smsIndication,omitempty" yaml:"smsIndication" bson:"smsIndication,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RequestedNSSAI []Snssai `json:"requestedNSSAI,omitempty" yaml:"requestedNSSAI" bson:"requestedNSSAI,omitempty"` + AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` + RejectedNSSAI []Snssai `json:"rejectedNSSAI,omitempty" yaml:"rejectedNSSAI" bson:"rejectedNSSAI,omitempty"` + NSSAIMapList []NssaiMap `json:"nSSAIMapList,omitempty" yaml:"nSSAIMapList" bson:"nSSAIMapList,omitempty"` + AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` + RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` } diff --git a/models/model_registration_context_container.go b/models/model_registration_context_container.go index 3a3140ab..f1d8f6ab 100644 --- a/models/model_registration_context_container.go +++ b/models/model_registration_context_container.go @@ -1,28 +1,42 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Registration Context Container used to send the UE context information, N1 message from UE, AN address etc during Registration with AMF re-allocation procedure type RegistrationContextContainer struct { - UeContext *UeContext `json:"ueContext"` - LocalTimeZone string `json:"localTimeZone,omitempty"` - AnType AccessType `json:"anType"` - AnN2ApId int32 `json:"anN2ApId"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId"` - InitialAmfName string `json:"initialAmfName"` - UserLocation *UserLocation `json:"userLocation"` - RrcEstCause string `json:"rrcEstCause,omitempty"` - UeContextRequest bool `json:"ueContextRequest,omitempty"` - AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty"` - AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty"` - AllowedNssai *AllowedNssai `json:"allowedNssai,omitempty"` - ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty"` - RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty"` - RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty"` + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + LocalTimeZone string `json:"localTimeZone,omitempty" yaml:"localTimeZone" bson:"localTimeZone,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AnN2ApId int32 `json:"anN2ApId" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + // Fully Qualified Domain Name + InitialAmfName string `json:"initialAmfName" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` + UserLocation *UserLocation `json:"userLocation" yaml:"userLocation" bson:"userLocation,omitempty"` + RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` + UeContextRequest bool `json:"ueContextRequest,omitempty" yaml:"ueContextRequest" bson:"ueContextRequest,omitempty"` + InitialAmfN2ApId int32 `json:"initialAmfN2ApId,omitempty" yaml:"initialAmfN2ApId" bson:"initialAmfN2ApId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` + AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` + AllowedNssai *AllowedNssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` + ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` + RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` + RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` + SelectedPlmnId *PlmnId `json:"selectedPlmnId,omitempty" yaml:"selectedPlmnId" bson:"selectedPlmnId,omitempty"` + IabNodeInd bool `json:"iabNodeInd,omitempty" yaml:"iabNodeInd" bson:"iabNodeInd,omitempty"` + CeModeBInd *CeModeBInd `json:"ceModeBInd,omitempty" yaml:"ceModeBInd" bson:"ceModeBInd,omitempty"` + LteMInd *LteMInd `json:"lteMInd,omitempty" yaml:"lteMInd" bson:"lteMInd,omitempty"` + AuthenticatedInd bool `json:"authenticatedInd,omitempty" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` + NpnAccessInfo *NpnAccessInfo `json:"npnAccessInfo,omitempty" yaml:"npnAccessInfo" bson:"npnAccessInfo,omitempty"` } diff --git a/models/model_registration_data_set_name.go b/models/model_registration_data_set_name.go new file mode 100644 index 00000000..0845d9eb --- /dev/null +++ b/models/model_registration_data_set_name.go @@ -0,0 +1,26 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationDataSetName string + +// List of RegistrationDataSetName +const ( + RegistrationDataSetName_AMF_3_GPP RegistrationDataSetName = "AMF_3GPP" + RegistrationDataSetName_AMF_NON_3_GPP RegistrationDataSetName = "AMF_NON_3GPP" + RegistrationDataSetName_SMF_PDU_SESSIONS RegistrationDataSetName = "SMF_PDU_SESSIONS" + RegistrationDataSetName_SMSF_3_GPP RegistrationDataSetName = "SMSF_3GPP" + RegistrationDataSetName_SMSF_NON_3_GPP RegistrationDataSetName = "SMSF_NON_3GPP" + RegistrationDataSetName_IP_SM_GW RegistrationDataSetName = "IP_SM_GW" + RegistrationDataSetName_NWDAF RegistrationDataSetName = "NWDAF" +) diff --git a/models/model_registration_data_sets.go b/models/model_registration_data_sets.go new file mode 100644 index 00000000..eba148e0 --- /dev/null +++ b/models/model_registration_data_sets.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationDataSets struct { + Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` + AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` + SmfRegistration *SmfRegistrationInfo `json:"smfRegistration,omitempty" yaml:"smfRegistration" bson:"smfRegistration,omitempty"` + Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` + SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` + IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + NwdafRegistration *NwdafRegistrationInfo `json:"nwdafRegistration,omitempty" yaml:"nwdafRegistration" bson:"nwdafRegistration,omitempty"` +} diff --git a/models/model_registration_location_info.go b/models/model_registration_location_info.go new file mode 100644 index 00000000..ce8d136e --- /dev/null +++ b/models/model_registration_location_info.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationLocationInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` +} diff --git a/models/model_registration_message_type.go b/models/model_registration_message_type.go index ab791c96..6787a3fc 100644 --- a/models/model_registration_message_type.go +++ b/models/model_registration_message_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_registration_reason.go b/models/model_registration_reason.go new file mode 100644 index 00000000..ae3957d7 --- /dev/null +++ b/models/model_registration_reason.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationReason string + +// List of RegistrationReason +const ( + RegistrationReason_SMF_CONTEXT_TRANSFERRED RegistrationReason = "SMF_CONTEXT_TRANSFERRED" +) diff --git a/models/model_registration_type.go b/models/model_registration_type.go new file mode 100644 index 00000000..892fb9e3 --- /dev/null +++ b/models/model_registration_type.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationType string + +// List of RegistrationType +const ( + RegistrationType_INITIAL_REGISTRATION RegistrationType = "INITIAL_REGISTRATION" + RegistrationType_RE_REGISTRATION RegistrationType = "RE_REGISTRATION" + RegistrationType_DE_REGISTRATION RegistrationType = "DE_REGISTRATION" +) diff --git a/models/model_relative_cartesian_location.go b/models/model_relative_cartesian_location.go new file mode 100644 index 00000000..4c137ab7 --- /dev/null +++ b/models/model_relative_cartesian_location.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Relative Cartesian Location +type RelativeCartesianLocation struct { + // string with format 'float' as defined in OpenAPI. + X float32 `json:"x" yaml:"x" bson:"x,omitempty"` + // string with format 'float' as defined in OpenAPI. + Y float32 `json:"y" yaml:"y" bson:"y,omitempty"` + // string with format 'float' as defined in OpenAPI. + Z float32 `json:"z,omitempty" yaml:"z" bson:"z,omitempty"` +} diff --git a/models/model_release_charging_data_response_404.go b/models/model_release_charging_data_response_404.go new file mode 100644 index 00000000..b7876ae1 --- /dev/null +++ b/models/model_release_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ReleaseChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_release_data.go b/models/model_release_data.go index ec1b3e74..0f778233 100644 --- a/models/model_release_data.go +++ b/models/model_release_data.go @@ -1,20 +1,30 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Release Request type ReleaseData struct { - Cause Cause `json:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - SecondaryRatUsageReport *[]SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` } diff --git a/models/model_release_pdu_session_request.go b/models/model_release_pdu_session_request.go new file mode 100644 index 00000000..226efd43 --- /dev/null +++ b/models/model_release_pdu_session_request.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReleasePduSessionRequest struct { + JsonData *ReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/model_release_pdu_session_response_200.go b/models/model_release_pdu_session_response_200.go new file mode 100644 index 00000000..29b537f7 --- /dev/null +++ b/models/model_release_pdu_session_response_200.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReleasePduSessionResponse200 struct { + JsonData *ReleasedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/model_release_session_info.go b/models/model_release_session_info.go new file mode 100644 index 00000000..e029e6f6 --- /dev/null +++ b/models/model_release_session_info.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// PDU session Id(s) and the cause for triggering the release. +type ReleaseSessionInfo struct { + ReleaseSessionList []int32 `json:"releaseSessionList" yaml:"releaseSessionList" bson:"releaseSessionList,omitempty"` + ReleaseCause AmfCommunicationReleaseCause `json:"releaseCause" yaml:"releaseCause" bson:"releaseCause,omitempty"` +} diff --git a/models/model_release_sm_context_request.go b/models/model_release_sm_context_request.go index 9e15af70..49a57aeb 100644 --- a/models/model_release_sm_context_request.go +++ b/models/model_release_sm_context_request.go @@ -1,15 +1,18 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ReleaseSmContextRequest struct { - JsonData *SmContextReleaseData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` + JsonData *SmfPduSessionSmContextReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` } diff --git a/models/model_released_data.go b/models/model_released_data.go new file mode 100644 index 00000000..248651e5 --- /dev/null +++ b/models/model_released_data.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Release Response +type ReleasedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` +} diff --git a/models/model_relocate_ue_context_request.go b/models/model_relocate_ue_context_request.go new file mode 100644 index 00000000..8d5d8b12 --- /dev/null +++ b/models/model_relocate_ue_context_request.go @@ -0,0 +1,35 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RelocateUeContextRequest struct { + JsonData *UeContextRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataForwardRelocationRequest []byte `json:"binaryDataForwardRelocationRequest,omitempty" yaml:"binaryDataForwardRelocationRequest" bson:"binaryDataForwardRelocationRequest,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` +} diff --git a/models/model_reply_path_requested.go b/models/model_reply_path_requested.go index 8501a8bc..e6171381 100644 --- a/models/model_reply_path_requested.go +++ b/models/model_reply_path_requested.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_report.go b/models/model_report.go index 69c454ff..94d59233 100644 --- a/models/model_report.go +++ b/models/model_report.go @@ -1,16 +1,32 @@ /* * Nudm_EE * - * Nudm Event Exposure Service + * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type Report struct { - NewPei string `json:"newPei" yaml:"newPei" bson:"newPei" mapstructure:"NewPei"` - Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming" mapstructure:"Roaming"` - NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn" mapstructure:"NewServingPlmn"` + NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` + Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` + NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` + NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` + OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` + OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` + NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` + PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` } diff --git a/models/model_report_amount_mdt.go b/models/model_report_amount_mdt.go new file mode 100644 index 00000000..6d88dd1e --- /dev/null +++ b/models/model_report_amount_mdt.go @@ -0,0 +1,27 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportAmountMdt string + +// List of ReportAmountMdt +const ( + ReportAmountMdt__1 ReportAmountMdt = "1" + ReportAmountMdt__2 ReportAmountMdt = "2" + ReportAmountMdt__4 ReportAmountMdt = "4" + ReportAmountMdt__8 ReportAmountMdt = "8" + ReportAmountMdt__16 ReportAmountMdt = "16" + ReportAmountMdt__32 ReportAmountMdt = "32" + ReportAmountMdt__64 ReportAmountMdt = "64" + ReportAmountMdt_INFINITY ReportAmountMdt = "infinity" +) diff --git a/models/model_report_interval_mdt.go b/models/model_report_interval_mdt.go new file mode 100644 index 00000000..d339c61d --- /dev/null +++ b/models/model_report_interval_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportIntervalMdt string + +// List of ReportIntervalMdt +const ( + ReportIntervalMdt__120 ReportIntervalMdt = "120" + ReportIntervalMdt__240 ReportIntervalMdt = "240" + ReportIntervalMdt__480 ReportIntervalMdt = "480" + ReportIntervalMdt__640 ReportIntervalMdt = "640" + ReportIntervalMdt__1024 ReportIntervalMdt = "1024" + ReportIntervalMdt__2048 ReportIntervalMdt = "2048" + ReportIntervalMdt__5120 ReportIntervalMdt = "5120" + ReportIntervalMdt__10240 ReportIntervalMdt = "10240" + ReportIntervalMdt__60000 ReportIntervalMdt = "60000" + ReportIntervalMdt__360000 ReportIntervalMdt = "360000" + ReportIntervalMdt__720000 ReportIntervalMdt = "720000" + ReportIntervalMdt__1800000 ReportIntervalMdt = "1800000" + ReportIntervalMdt__3600000 ReportIntervalMdt = "3600000" +) diff --git a/models/model_report_interval_nr_mdt.go b/models/model_report_interval_nr_mdt.go new file mode 100644 index 00000000..73882b20 --- /dev/null +++ b/models/model_report_interval_nr_mdt.go @@ -0,0 +1,34 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportIntervalNrMdt string + +// List of ReportIntervalNrMdt +const ( + ReportIntervalNrMdt__120 ReportIntervalNrMdt = "120" + ReportIntervalNrMdt__240 ReportIntervalNrMdt = "240" + ReportIntervalNrMdt__480 ReportIntervalNrMdt = "480" + ReportIntervalNrMdt__640 ReportIntervalNrMdt = "640" + ReportIntervalNrMdt__1024 ReportIntervalNrMdt = "1024" + ReportIntervalNrMdt__2048 ReportIntervalNrMdt = "2048" + ReportIntervalNrMdt__5120 ReportIntervalNrMdt = "5120" + ReportIntervalNrMdt__10240 ReportIntervalNrMdt = "10240" + ReportIntervalNrMdt__20480 ReportIntervalNrMdt = "20480" + ReportIntervalNrMdt__40960 ReportIntervalNrMdt = "40960" + ReportIntervalNrMdt__60000 ReportIntervalNrMdt = "60000" + ReportIntervalNrMdt__360000 ReportIntervalNrMdt = "360000" + ReportIntervalNrMdt__720000 ReportIntervalNrMdt = "720000" + ReportIntervalNrMdt__1800000 ReportIntervalNrMdt = "1800000" + ReportIntervalNrMdt__3600000 ReportIntervalNrMdt = "3600000" +) diff --git a/models/model_report_item.go b/models/model_report_item.go new file mode 100644 index 00000000..56b42107 --- /dev/null +++ b/models/model_report_item.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// indicates performed modivications. +type ReportItem struct { + // Contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource to which the modification is subject. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // A human-readable reason providing details on the reported modification failure. The reason string should identify the operation that failed using the operation's array index to assist in correlation of the invalid parameter with the failed operation, e.g. \"Replacement value invalid for attribute (failed operation index= 4)\". + Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` +} diff --git a/models/model_report_type_mdt.go b/models/model_report_type_mdt.go new file mode 100644 index 00000000..0fcbffa3 --- /dev/null +++ b/models/model_report_type_mdt.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportTypeMdt string + +// List of ReportTypeMdt +const ( + ReportTypeMdt_PERIODICAL ReportTypeMdt = "PERIODICAL" + ReportTypeMdt_EVENT_TRIGGED ReportTypeMdt = "EVENT_TRIGGED" +) diff --git a/models/model_reported_event_type.go b/models/model_reported_event_type.go new file mode 100644 index 00000000..cf56e848 --- /dev/null +++ b/models/model_reported_event_type.go @@ -0,0 +1,26 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportedEventType string + +// List of ReportedEventType +const ( + ReportedEventType_PERIODIC_EVENT ReportedEventType = "PERIODIC_EVENT" + ReportedEventType_ENTERING_AREA_EVENT ReportedEventType = "ENTERING_AREA_EVENT" + ReportedEventType_LEAVING_AREA_EVENT ReportedEventType = "LEAVING_AREA_EVENT" + ReportedEventType_BEING_INSIDE_AREA_EVENT ReportedEventType = "BEING_INSIDE_AREA_EVENT" + ReportedEventType_MOTION_EVENT ReportedEventType = "MOTION_EVENT" + ReportedEventType_MAXIMUM_INTERVAL_EXPIRATION_EVENT ReportedEventType = "MAXIMUM_INTERVAL_EXPIRATION_EVENT" + ReportedEventType_LOCATION_CANCELLATION_EVENT ReportedEventType = "LOCATION_CANCELLATION_EVENT" +) diff --git a/models/model_reporting_access_type.go b/models/model_reporting_access_type.go new file mode 100644 index 00000000..6f318739 --- /dev/null +++ b/models/model_reporting_access_type.go @@ -0,0 +1,26 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingAccessType string + +// List of ReportingAccessType +const ( + ReportingAccessType_NR ReportingAccessType = "NR" + ReportingAccessType_EUTRA_CONNECTED_TO_5_GC ReportingAccessType = "EUTRA_CONNECTED_TO_5GC" + ReportingAccessType_NON_3_GPP_CONNECTED_TO_5_GC ReportingAccessType = "NON_3GPP_CONNECTED_TO_5GC" + ReportingAccessType_NR_LEO ReportingAccessType = "NR_LEO" + ReportingAccessType_NR_MEO ReportingAccessType = "NR_MEO" + ReportingAccessType_NR_GEO ReportingAccessType = "NR_GEO" + ReportingAccessType_NR_OTHER_SAT ReportingAccessType = "NR_OTHER_SAT" +) diff --git a/models/model_reporting_area.go b/models/model_reporting_area.go new file mode 100644 index 00000000..dc360011 --- /dev/null +++ b/models/model_reporting_area.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates an area for event reporting. +type ReportingArea struct { + AreaType ReportingAreaType `json:"areaType" yaml:"areaType" bson:"areaType,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` +} diff --git a/models/model_reporting_area_type.go b/models/model_reporting_area_type.go new file mode 100644 index 00000000..dbd2a292 --- /dev/null +++ b/models/model_reporting_area_type.go @@ -0,0 +1,23 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingAreaType string + +// List of ReportingAreaType +const ( + ReportingAreaType_EPS_TRACKING_AREA_IDENTITY ReportingAreaType = "EPS_TRACKING_AREA_IDENTITY" + ReportingAreaType_E_UTRAN_CELL_GLOBAL_IDENTIFICATION ReportingAreaType = "E-UTRAN_CELL_GLOBAL_IDENTIFICATION" + ReportingAreaType__5_GS_TRACKING_AREA_IDENTITY ReportingAreaType = "5GS_TRACKING_AREA_IDENTITY" + ReportingAreaType_NR_CELL_GLOBAL_IDENTITY ReportingAreaType = "NR_CELL_GLOBAL_IDENTITY" +) diff --git a/models/model_reporting_frequency.go b/models/model_reporting_frequency.go new file mode 100644 index 00000000..a34a7d47 --- /dev/null +++ b/models/model_reporting_frequency.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingFrequency string + +// List of ReportingFrequency +const ( + ReportingFrequency_EVENT_TRIGGERED ReportingFrequency = "EVENT_TRIGGERED" + ReportingFrequency_PERIODIC ReportingFrequency = "PERIODIC" +) diff --git a/models/model_reporting_information.go b/models/model_reporting_information.go new file mode 100644 index 00000000..da263177 --- /dev/null +++ b/models/model_reporting_information.go @@ -0,0 +1,36 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the type of reporting that the subscription requires. +type ReportingInformation struct { + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Criteria for partitioning the UEs before applying the sampling ratio. + PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` + // indicating a time in seconds. + GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/model_reporting_level.go b/models/model_reporting_level.go index 4189fbe8..2a6fbae6 100644 --- a/models/model_reporting_level.go +++ b/models/model_reporting_level.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_reporting_options.go b/models/model_reporting_options.go index 2734f854..131a02b3 100644 --- a/models/model_reporting_options.go +++ b/models/model_reporting_options.go @@ -1,9 +1,12 @@ /* - * Nudm_EE + * Nudr_DataRepository API OpenAPI file * - * Nudm Event Exposure Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,6 +17,10 @@ import ( ) type ReportingOptions struct { - MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports" mapstructure:"MaxNumOfReports"` - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry" mapstructure:"Expiry"` + ReportMode EventReportMode `json:"reportMode,omitempty" yaml:"reportMode" bson:"reportMode,omitempty"` + MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports,omitempty"` + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + SamplingRatio int32 `json:"samplingRatio,omitempty" yaml:"samplingRatio" bson:"samplingRatio,omitempty"` + GuardTime int32 `json:"guardTime,omitempty" yaml:"guardTime" bson:"guardTime,omitempty"` + ReportPeriod int32 `json:"reportPeriod,omitempty" yaml:"reportPeriod" bson:"reportPeriod,omitempty"` } diff --git a/models/model_reporting_trigger.go b/models/model_reporting_trigger.go new file mode 100644 index 00000000..e1c7b691 --- /dev/null +++ b/models/model_reporting_trigger.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingTrigger string + +// List of ReportingTrigger +const ( + ReportingTrigger_PERIODICAL ReportingTrigger = "PERIODICAL" + ReportingTrigger_EVENT_A2 ReportingTrigger = "EVENT_A2" + ReportingTrigger_EVENT_A2_PERIODIC ReportingTrigger = "EVENT_A2_PERIODIC" + ReportingTrigger_ALL_RRM_EVENT_TRIGGERS ReportingTrigger = "ALL_RRM_EVENT_TRIGGERS" +) diff --git a/models/model_repository_data.go b/models/model_repository_data.go new file mode 100644 index 00000000..9e6edfc2 --- /dev/null +++ b/models/model_repository_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Repository Data for the requested Service Indication +type RepositoryData struct { + // Unsigned integer containing the sequence number associated to the current version of Repository Data + SequenceNumber int32 `json:"sequenceNumber" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` + ServiceData string `json:"serviceData" yaml:"serviceData" bson:"serviceData,omitempty"` +} diff --git a/models/model_repository_data_list.go b/models/model_repository_data_list.go new file mode 100644 index 00000000..e61321ef --- /dev/null +++ b/models/model_repository_data_list.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Repository Data for the requested Service Indications +type RepositoryDataList struct { + // A map (list of key-value pairs where ServiceIndication serves as key) of RepositoryData + RepositoryDataMap map[string]RepositoryData `json:"repositoryDataMap" yaml:"repositoryDataMap" bson:"repositoryDataMap,omitempty"` +} diff --git a/models/model_request_direction.go b/models/model_request_direction.go new file mode 100644 index 00000000..7e4595ea --- /dev/null +++ b/models/model_request_direction.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestDirection string + +// List of RequestDirection +const ( + RequestDirection_ORIGINATING_REGISTERED RequestDirection = "ORIGINATING_REGISTERED" + RequestDirection_ORIGINATING_UNREGISTERED RequestDirection = "ORIGINATING_UNREGISTERED" + RequestDirection_ORIGINATING_CDIV RequestDirection = "ORIGINATING_CDIV" + RequestDirection_TERMINATING_REGISTERED RequestDirection = "TERMINATING_REGISTERED" + RequestDirection_TERMINATING_UNREGISTERED RequestDirection = "TERMINATING_UNREGISTERED" +) diff --git a/models/model_request_indication.go b/models/model_request_indication.go index f7a0691f..cb7be0db 100644 --- a/models/model_request_indication.go +++ b/models/model_request_indication.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,12 @@ type RequestIndication string // List of RequestIndication const ( - RequestIndication_UE_REQ_PDU_SES_MOD RequestIndication = "UE_REQ_PDU_SES_MOD" - RequestIndication_UE_REQ_PDU_SES_REL RequestIndication = "UE_REQ_PDU_SES_REL" - RequestIndication_PDU_SES_MOB RequestIndication = "PDU_SES_MOB" - RequestIndication_NW_REQ_PDU_SES_AUTH RequestIndication = "NW_REQ_PDU_SES_AUTH" - RequestIndication_NW_REQ_PDU_SES_MOD RequestIndication = "NW_REQ_PDU_SES_MOD" - RequestIndication_NW_REQ_PDU_SES_REL RequestIndication = "NW_REQ_PDU_SES_REL" - RequestIndication_EBI_ASSIGNMENT_REQ RequestIndication = "EBI_ASSIGNMENT_REQ" + RequestIndication_UE_REQ_PDU_SES_MOD RequestIndication = "UE_REQ_PDU_SES_MOD" + RequestIndication_UE_REQ_PDU_SES_REL RequestIndication = "UE_REQ_PDU_SES_REL" + RequestIndication_PDU_SES_MOB RequestIndication = "PDU_SES_MOB" + RequestIndication_NW_REQ_PDU_SES_AUTH RequestIndication = "NW_REQ_PDU_SES_AUTH" + RequestIndication_NW_REQ_PDU_SES_MOD RequestIndication = "NW_REQ_PDU_SES_MOD" + RequestIndication_NW_REQ_PDU_SES_REL RequestIndication = "NW_REQ_PDU_SES_REL" + RequestIndication_EBI_ASSIGNMENT_REQ RequestIndication = "EBI_ASSIGNMENT_REQ" + RequestIndication_REL_DUE_TO_5_G_AN_REQUEST RequestIndication = "REL_DUE_TO_5G_AN_REQUEST" ) diff --git a/models/model_request_loc_info.go b/models/model_request_loc_info.go index 42425d86..38b7cf3c 100644 --- a/models/model_request_loc_info.go +++ b/models/model_request_loc_info.go @@ -1,18 +1,23 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Provide Location Information Request type RequestLocInfo struct { - Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc"` - ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc"` - ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType"` - ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` + Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` + ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` + ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` + ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_request_pos_info.go b/models/model_request_pos_info.go index 53d1a541..dff8e3a0 100644 --- a/models/model_request_pos_info.go +++ b/models/model_request_pos_info.go @@ -1,23 +1,60 @@ /* * Namf_Location * - * AMF Location Service + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Data within Provide Positioning Information Request type RequestPosInfo struct { - LcsClientType ExternalClientType `json:"lcsClientType" yaml:"lcsClientType" bson:"lcsClientType"` - LcsLocation LocationType `json:"lcsLocation" yaml:"lcsLocation" bson:"lcsLocation"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi"` - Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority"` - LcsQoS *LocationQoS `json:"lcsQoS,omitempty" yaml:"lcsQoS" bson:"lcsQoS"` - VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested"` - LcsSupportedGADShapes SupportedGadShapes `json:"lcsSupportedGADShapes,omitempty" yaml:"lcsSupportedGADShapes" bson:"lcsSupportedGADShapes"` - LocationNotificationUri string `json:"locationNotificationUri,omitempty" yaml:"locationNotificationUri" bson:"locationNotificationUri"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` + LcsClientType ExternalClientType `json:"lcsClientType" yaml:"lcsClientType" bson:"lcsClientType,omitempty"` + LcsLocation AmfLocationLocationType `json:"lcsLocation" yaml:"lcsLocation" bson:"lcsLocation,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + LcsQoS *LocationQoS `json:"lcsQoS,omitempty" yaml:"lcsQoS" bson:"lcsQoS,omitempty"` + VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` + LcsSupportedGADShapes SupportedGadShapes `json:"lcsSupportedGADShapes,omitempty" yaml:"lcsSupportedGADShapes" bson:"lcsSupportedGADShapes,omitempty"` + AdditionalLcsSuppGADShapes []SupportedGadShapes `json:"additionalLcsSuppGADShapes,omitempty" yaml:"additionalLcsSuppGADShapes" bson:"additionalLcsSuppGADShapes,omitempty"` + // String providing an URI formatted according to RFC 3986. + LocationNotificationUri string `json:"locationNotificationUri,omitempty" yaml:"locationNotificationUri" bson:"locationNotificationUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // LCS service type. + LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` + LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + // Contains the external client identification + ExternalClientIdentification string `json:"externalClientIdentification,omitempty" yaml:"externalClientIdentification" bson:"externalClientIdentification,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AfID string `json:"afID,omitempty" yaml:"afID" bson:"afID,omitempty"` + // Contains the codeword + CodeWord string `json:"codeWord,omitempty" yaml:"codeWord" bson:"codeWord,omitempty"` + UePrivacyRequirements *UePrivacyRequirements `json:"uePrivacyRequirements,omitempty" yaml:"uePrivacyRequirements" bson:"uePrivacyRequirements,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` + ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` + IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` } diff --git a/models/model_request_trigger.go b/models/model_request_trigger.go deleted file mode 100644 index d55ba747..00000000 --- a/models/model_request_trigger.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service API - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestTrigger string - -// List of RequestTrigger -const ( - RequestTrigger_LOC_CH RequestTrigger = "LOC_CH" - RequestTrigger_PRA_CH RequestTrigger = "PRA_CH" - RequestTrigger_SERV_AREA_CH RequestTrigger = "SERV_AREA_CH" - RequestTrigger_RFSP_CH RequestTrigger = "RFSP_CH" -) diff --git a/models/model_request_type.go b/models/model_request_type.go index acb0515f..f9f98bfd 100644 --- a/models/model_request_type.go +++ b/models/model_request_type.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_requested_context.go b/models/model_requested_context.go new file mode 100644 index 00000000..5888439a --- /dev/null +++ b/models/model_requested_context.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains types of analytics context information. +type RequestedContext struct { + // List of analytics context types. + Contexts []ContextType `json:"contexts" yaml:"contexts" bson:"contexts,omitempty"` +} diff --git a/models/model_requested_node.go b/models/model_requested_node.go new file mode 100644 index 00000000..8f1eb5c2 --- /dev/null +++ b/models/model_requested_node.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedNode string + +// List of RequestedNode +const ( + RequestedNode_SGSN RequestedNode = "SGSN" + RequestedNode_MME RequestedNode = "MME" + RequestedNode_AMF RequestedNode = "AMF" + RequestedNode__3_GPP_AAA_SERVER_TWAN RequestedNode = "3GPP_AAA_SERVER_TWAN" +) diff --git a/models/model_requested_qos.go b/models/model_requested_qos.go index 39128547..14964a90 100644 --- a/models/model_requested_qos.go +++ b/models/model_requested_qos.go @@ -1,16 +1,23 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the QoS information requested by the UE. type RequestedQos struct { - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi" mapstructure:"Var5qi"` - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl" mapstructure:"GbrUl"` - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl" mapstructure:"GbrDl"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` } diff --git a/models/model_requested_qos_monitoring_parameter.go b/models/model_requested_qos_monitoring_parameter.go new file mode 100644 index 00000000..d0e4413e --- /dev/null +++ b/models/model_requested_qos_monitoring_parameter.go @@ -0,0 +1,22 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedQosMonitoringParameter string + +// List of RequestedQosMonitoringParameter +const ( + RequestedQosMonitoringParameter_DOWNLINK RequestedQosMonitoringParameter = "DOWNLINK" + RequestedQosMonitoringParameter_UPLINK RequestedQosMonitoringParameter = "UPLINK" + RequestedQosMonitoringParameter_ROUND_TRIP RequestedQosMonitoringParameter = "ROUND_TRIP" +) diff --git a/models/model_requested_rule_data.go b/models/model_requested_rule_data.go index bc7e9529..bbe0dd9c 100644 --- a/models/model_requested_rule_data.go +++ b/models/model_requested_rule_data.go @@ -1,17 +1,21 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains rule data requested by the PCF to receive information associated with PCC rule(s). type RequestedRuleData struct { // An array of PCC rule id references to the PCC rules associated with the control data. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds" mapstructure:"RefPccRuleIds"` + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` // Array of requested rule data type elements indicating what type of rule data is requested for the corresponding referenced PCC rules. - ReqData []RequestedRuleDataType `json:"reqData" yaml:"reqData" bson:"reqData" mapstructure:"ReqData"` + ReqData []RequestedRuleDataType `json:"reqData" yaml:"reqData" bson:"reqData,omitempty"` } diff --git a/models/model_requested_rule_data_type.go b/models/model_requested_rule_data_type.go index d69b1afe..37190108 100644 --- a/models/model_requested_rule_data_type.go +++ b/models/model_requested_rule_data_type.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -18,4 +21,5 @@ const ( RequestedRuleDataType_USER_LOC_INFO RequestedRuleDataType = "USER_LOC_INFO" RequestedRuleDataType_RES_RELEASE RequestedRuleDataType = "RES_RELEASE" RequestedRuleDataType_SUCC_RES_ALLO RequestedRuleDataType = "SUCC_RES_ALLO" + RequestedRuleDataType_EPS_FALLBACK RequestedRuleDataType = "EPS_FALLBACK" ) diff --git a/models/model_requested_unit.go b/models/model_requested_unit.go index 01874fe2..31ff8e5c 100644 --- a/models/model_requested_unit.go +++ b/models/model_requested_unit.go @@ -1,18 +1,26 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RequestedUnit struct { - Time int32 `json:"time,omitempty" yaml:"time" bson:"time" mapstructure:"Time"` - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits" mapstructure:"ServiceSpecificUnits"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` } diff --git a/models/model_requested_usage_data.go b/models/model_requested_usage_data.go index 1dc12c56..84f5a924 100644 --- a/models/model_requested_usage_data.go +++ b/models/model_requested_usage_data.go @@ -1,17 +1,21 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains usage data requested by the PCF requesting usage reports for the corresponding usage monitoring data instances. type RequestedUsageData struct { // An array of usage monitoring data id references to the usage monitoring data instances for which the PCF is requesting a usage report. This attribute shall only be provided when allUmIds is not set to true. - RefUmIds []string `json:"refUmIds,omitempty" yaml:"refUmIds" bson:"refUmIds" mapstructure:"RefUmIds"` - // Th ooleanean indicates whether requested usage data applies to all usage monitoring data instances. When it's not included, it means requested usage data shall only apply to the usage monitoring data instances referenced by the refUmIds attribute. - AllUmIds bool `json:"allUmIds,omitempty" yaml:"allUmIds" bson:"allUmIds" mapstructure:"AllUmIds"` + RefUmIds []string `json:"refUmIds,omitempty" yaml:"refUmIds" bson:"refUmIds,omitempty"` + // This boolean indicates whether requested usage data applies to all usage monitoring data instances. When it's not included, it means requested usage data shall only apply to the usage monitoring data instances referenced by the refUmIds attribute. + AllUmIds bool `json:"allUmIds,omitempty" yaml:"allUmIds" bson:"allUmIds,omitempty"` } diff --git a/models/model_required_access_info.go b/models/model_required_access_info.go new file mode 100644 index 00000000..48e8a9ff --- /dev/null +++ b/models/model_required_access_info.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequiredAccessInfo string + +// List of RequiredAccessInfo +const ( + RequiredAccessInfo_USER_LOCATION RequiredAccessInfo = "USER_LOCATION" + RequiredAccessInfo_UE_TIME_ZONE RequiredAccessInfo = "UE_TIME_ZONE" +) diff --git a/models/model_reserv_priority.go b/models/model_reserv_priority.go index feba5c7e..f52f0eec 100644 --- a/models/model_reserv_priority.go +++ b/models/model_reserv_priority.go @@ -1,9 +1,12 @@ /* - * Npcf_PolicyAuthorization Service API + * Npcf_MBSPolicyControl API * - * This is the Policy Authorization Service + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_resource_item.go b/models/model_resource_item.go new file mode 100644 index 00000000..41315a04 --- /dev/null +++ b/models/model_resource_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a subscription to policy data change notification when the change occurs in a fragment (subset of resource data) of a given resource. +type ResourceItem struct { + // String providing an URI formatted according to RFC 3986. + MonResourceUri string `json:"monResourceUri" yaml:"monResourceUri" bson:"monResourceUri,omitempty"` + Items []string `json:"items" yaml:"items" bson:"items,omitempty"` +} diff --git a/models/model_resource_status.go b/models/model_resource_status.go index 71b66d63..62672576 100644 --- a/models/model_resource_status.go +++ b/models/model_resource_status.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,5 +16,9 @@ type ResourceStatus string // List of ResourceStatus const ( - ResourceStatus_RELEASED ResourceStatus = "RELEASED" + ResourceStatus_RELEASED ResourceStatus = "RELEASED" + ResourceStatus_UNCHANGED ResourceStatus = "UNCHANGED" + ResourceStatus_TRANSFERRED ResourceStatus = "TRANSFERRED" + ResourceStatus_UPDATED ResourceStatus = "UPDATED" + ResourceStatus_ALT_ANCHOR_SMF ResourceStatus = "ALT_ANCHOR_SMF" ) diff --git a/models/model_resource_usage.go b/models/model_resource_usage.go new file mode 100644 index 00000000..6a36a646 --- /dev/null +++ b/models/model_resource_usage.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The current usage of the virtual resources assigned to the NF instances belonging to a particular network slice instance. +type ResourceUsage struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + CpuUsage int32 `json:"cpuUsage,omitempty" yaml:"cpuUsage" bson:"cpuUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MemoryUsage int32 `json:"memoryUsage,omitempty" yaml:"memoryUsage" bson:"memoryUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + StorageUsage int32 `json:"storageUsage,omitempty" yaml:"storageUsage" bson:"storageUsage,omitempty"` +} diff --git a/models/model_resources_allocation_info.go b/models/model_resources_allocation_info.go index a970737e..9e18dbd9 100644 --- a/models/model_resources_allocation_info.go +++ b/models/model_resources_allocation_info.go @@ -1,16 +1,20 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// describes the status of the PCC rule(s) related to certain media components. +// Describes the status of the PCC rule(s) related to certain media components. type ResourcesAllocationInfo struct { - McResourcStatus MediaComponentResourcesStatus `json:"mcResourcStatus" yaml:"mcResourcStatus" bson:"mcResourcStatus" mapstructure:"McResourcStatus"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows" mapstructure:"Flows"` + McResourcStatus MediaComponentResourcesStatus `json:"mcResourcStatus,omitempty" yaml:"mcResourcStatus" bson:"mcResourcStatus,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` } diff --git a/models/model_response_time.go b/models/model_response_time.go index c94c4c32..2a419753 100644 --- a/models/model_response_time.go +++ b/models/model_response_time.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,4 +18,5 @@ type ResponseTime string const ( ResponseTime_LOW_DELAY ResponseTime = "LOW_DELAY" ResponseTime_DELAY_TOLERANT ResponseTime = "DELAY_TOLERANT" + ResponseTime_NO_DELAY ResponseTime = "NO_DELAY" ) diff --git a/models/model_restoration_info.go b/models/model_restoration_info.go new file mode 100644 index 00000000..e63e72f9 --- /dev/null +++ b/models/model_restoration_info.go @@ -0,0 +1,27 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +// The information relevant to a specific registration required for an S-CSCF to handle the requests for a user +type RestorationInfo struct { + Path string `json:"path" yaml:"path" bson:"path"` + Contact string `json:"contact" yaml:"contact" bson:"contact"` + InitialCSeqSequenceNumber int32 `json:"initialCSeqSequenceNumber,omitempty" yaml:"initialCSeqSequenceNumber" bson:"initialCSeqSequenceNumber"` + CallIdSipHeader string `json:"callIdSipHeader,omitempty" yaml:"callIdSipHeader" bson:"callIdSipHeader"` + UesubscriptionInfo *UeSubscriptionInfo `json:"uesubscriptionInfo,omitempty" yaml:"uesubscriptionInfo" bson:"uesubscriptionInfo"` + PcscfSubscriptionInfo *PcscfSubscriptionInfo `json:"pcscfSubscriptionInfo,omitempty" yaml:"pcscfSubscriptionInfo" bson:"pcscfSubscriptionInfo"` + // A map (list of key-value pairs where subscriptionId serves as key) of ImsSdmSubscription + ImsSdmSubscriptions map[string]*ImsSdmSubscription `json:"imsSdmSubscriptions,omitempty" yaml:"imsSdmSubscriptions" bson:"imsSdmSubscriptions"` +} diff --git a/models/model_restricted_snssai.go b/models/model_restricted_snssai.go index 7e0e885e..0539b925 100644 --- a/models/model_restricted_snssai.go +++ b/models/model_restricted_snssai.go @@ -1,16 +1,21 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the restricted SNssai information per PLMN type RestrictedSnssai struct { - HomePlmnId *PlmnId `json:"homePlmnId" bson:"homePlmnId" yaml:"homePlmnId"` - - SNssaiList []Snssai `json:"sNssaiList" bson:"sNssaiList" yaml:"sNssaiList"` + HomePlmnId *PlmnId `json:"homePlmnId" yaml:"homePlmnId" bson:"homePlmnId,omitempty"` + SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + HomePlmnIdList []PlmnId `json:"homePlmnIdList,omitempty" yaml:"homePlmnIdList" bson:"homePlmnIdList,omitempty"` + RoamingRestriction bool `json:"roamingRestriction,omitempty" yaml:"roamingRestriction" bson:"roamingRestriction,omitempty"` } diff --git a/models/model_restriction_type.go b/models/model_restriction_type.go index 388d2085..29d55130 100644 --- a/models/model_restriction_type.go +++ b/models/model_restriction_type.go @@ -1,9 +1,12 @@ /* - * Npcf_AMPolicyControl + * Nchf_ConvergedCharging * - * Access and Mobility Policy Control Service API + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_result_code.go b/models/model_result_code.go deleted file mode 100644 index ed619079..00000000 --- a/models/model_result_code.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ResultCode string - -// List of ResultCode -const ( - ResultCode_SUCCESS ResultCode = "SUCCESS" - ResultCode_END_USER_SERVICE_DENIED ResultCode = "END_USER_SERVICE_DENIED" - ResultCode_QUOTA_MANAGEMENT_NOT_APPLICABLE ResultCode = "QUOTA_MANAGEMENT_NOT_APPLICABLE" - ResultCode_QUOTA_LIMIT_REACHED ResultCode = "QUOTA_LIMIT_REACHED" - ResultCode_END_USER_SERVICE_REJECTED ResultCode = "END_USER_SERVICE_REJECTED" - ResultCode_USER_UNKNOWN ResultCode = "USER_UNKNOWN" - ResultCode_RATING_FAILED ResultCode = "RATING_FAILED" - ResultCode_QUOTA_MANAGEMENT ResultCode = "QUOTA_MANAGEMENT" -) diff --git a/models/model_resynchronization_info.go b/models/model_resynchronization_info.go index 7b1b96a3..56b69153 100644 --- a/models/model_resynchronization_info.go +++ b/models/model_resynchronization_info.go @@ -1,15 +1,18 @@ /* - * NudmUEAU + * AUSF API * - * UDM UE Authentication Service + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ResynchronizationInfo struct { - Rand string `json:"rand" yaml:"rand" bson:"rand" mapstructure:"Rand"` - Auts string `json:"auts" yaml:"auts" bson:"auts" mapstructure:"Auts"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Auts string `json:"auts" yaml:"auts" bson:"auts,omitempty"` } diff --git a/models/model_retainability_threshold.go b/models/model_retainability_threshold.go new file mode 100644 index 00000000..17da7fe2 --- /dev/null +++ b/models/model_retainability_threshold.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a QoS flow retainability threshold. +type RetainabilityThreshold struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RelFlowNum int32 `json:"relFlowNum,omitempty" yaml:"relFlowNum" bson:"relFlowNum,omitempty"` + RelTimeUnit TimeUnit `json:"relTimeUnit,omitempty" yaml:"relTimeUnit" bson:"relTimeUnit,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelFlowRatio int32 `json:"relFlowRatio,omitempty" yaml:"relFlowRatio" bson:"relFlowRatio,omitempty"` +} diff --git a/models/model_retrieve_data.go b/models/model_retrieve_data.go new file mode 100644 index 00000000..ce8bd405 --- /dev/null +++ b/models/model_retrieve_data.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve Request +type RetrieveData struct { + SmallDataRateStatusReq bool `json:"smallDataRateStatusReq,omitempty" yaml:"smallDataRateStatusReq" bson:"smallDataRateStatusReq,omitempty"` + PduSessionContextType PduSessionContextType `json:"pduSessionContextType,omitempty" yaml:"pduSessionContextType" bson:"pduSessionContextType,omitempty"` +} diff --git a/models/model_retrieve_records.go b/models/model_retrieve_records.go new file mode 100644 index 00000000..41c3d584 --- /dev/null +++ b/models/model_retrieve_records.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RetrieveRecords string + +// List of RetrieveRecords +const ( + RetrieveRecords_ONLY_META RetrieveRecords = "ONLY_META" + RetrieveRecords_META_AND_BLOCKS RetrieveRecords = "META_AND_BLOCKS" +) diff --git a/models/model_retrieved_data.go b/models/model_retrieved_data.go new file mode 100644 index 00000000..7320b049 --- /dev/null +++ b/models/model_retrieved_data.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve Response +type RetrievedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` +} diff --git a/models/model_revoked_cause.go b/models/model_revoked_cause.go new file mode 100644 index 00000000..70217f85 --- /dev/null +++ b/models/model_revoked_cause.go @@ -0,0 +1,22 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RevokedCause string + +// List of RevokedCause +const ( + RevokedCause_NOT_ALLOWED RevokedCause = "NOT_ALLOWED" + RevokedCause_EXCLUDED_FROM_GROUP RevokedCause = "EXCLUDED_FROM_GROUP" + RevokedCause_GPSI_REMOVED RevokedCause = "GPSI_REMOVED" +) diff --git a/models/model_rg_auth_ctx.go b/models/model_rg_auth_ctx.go new file mode 100644 index 00000000..e7f5053b --- /dev/null +++ b/models/model_rg_auth_ctx.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.6.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RgAuthCtx struct { + AuthInd bool `json:"authInd" yaml:"authInd" bson:"authInd,omitempty"` + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_rg_authentication_info.go b/models/model_rg_authentication_info.go new file mode 100644 index 00000000..9f75a5b2 --- /dev/null +++ b/models/model_rg_authentication_info.go @@ -0,0 +1,22 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUCI) and the authenticated indication. +type RgAuthenticationInfo struct { + // Contains the SUCI. + Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` + AuthenticatedInd bool `json:"authenticatedInd" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_rm_info.go b/models/model_rm_info.go index ae11b056..65aeefbd 100644 --- a/models/model_rm_info.go +++ b/models/model_rm_info.go @@ -1,15 +1,19 @@ /* - * Nudr_DataRepository API OpenAPI file + * Nnwdaf_DataManagement * - * Unified Data Repository Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the registration state of a UE for an access type type RmInfo struct { - RmState RmState `json:"rmState" bson:"rmState"` - AccessType AccessType `json:"accessType" bson:"accessType"` + RmState RmState `json:"rmState" yaml:"rmState" bson:"rmState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` } diff --git a/models/model_rm_state.go b/models/model_rm_state.go index 4d40c93f..7eb2cd32 100644 --- a/models/model_rm_state.go +++ b/models/model_rm_state.go @@ -1,9 +1,12 @@ /* - * Nudr_DataRepository API OpenAPI file + * Nnwdaf_DataManagement * - * Unified Data Repository Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_roamer_in_out.go b/models/model_roamer_in_out.go index a9355764..98745a20 100644 --- a/models/model_roamer_in_out.go +++ b/models/model_roamer_in_out.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_roaming_charging_profile.go b/models/model_roaming_charging_profile.go index d18fd6c5..f155c75a 100644 --- a/models/model_roaming_charging_profile.go +++ b/models/model_roaming_charging_profile.go @@ -1,15 +1,18 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RoamingChargingProfile struct { - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod" mapstructure:"PartialRecordMethod"` + Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` } diff --git a/models/model_roaming_indication.go b/models/model_roaming_indication.go index a1c84c34..94a13094 100644 --- a/models/model_roaming_indication.go +++ b/models/model_roaming_indication.go @@ -1,9 +1,12 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_roaming_info_update.go b/models/model_roaming_info_update.go new file mode 100644 index 00000000..d31b1112 --- /dev/null +++ b/models/model_roaming_info_update.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Roaming Information Update +type RoamingInfoUpdate struct { + Roaming bool `json:"roaming,omitempty" yaml:"roaming" bson:"roaming,omitempty"` + ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` +} diff --git a/models/model_roaming_odb.go b/models/model_roaming_odb.go index 7bd87ace..ed9cd5a2 100644 --- a/models/model_roaming_odb.go +++ b/models/model_roaming_odb.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_roaming_qbc_information.go b/models/model_roaming_qbc_information.go deleted file mode 100644 index daeef04c..00000000 --- a/models/model_roaming_qbc_information.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamingQbcInformation struct { - MultipleQFIcontainer []MultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer" mapstructure:"MultipleQFIcontainer"` - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID" mapstructure:"UPFID"` - RoamingChargingProfile *RoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile" mapstructure:"RoamingChargingProfile"` -} diff --git a/models/model_roaming_restrictions.go b/models/model_roaming_restrictions.go new file mode 100644 index 00000000..bbd2b3dd --- /dev/null +++ b/models/model_roaming_restrictions.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates if access is allowed to a given serving network, e.g. a PLMN (MCC, MNC) or an SNPN (MCC, MNC, NID). +type RoamingRestrictions struct { + AccessAllowed bool `json:"accessAllowed,omitempty" yaml:"accessAllowed" bson:"accessAllowed,omitempty"` +} diff --git a/models/model_roaming_status_report.go b/models/model_roaming_status_report.go index c78d7cd7..0b1a526e 100644 --- a/models/model_roaming_status_report.go +++ b/models/model_roaming_status_report.go @@ -1,15 +1,19 @@ /* - * Nudm_EE + * Nnwdaf_DataManagement * - * Nudm Event Exposure Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type RoamingStatusReport struct { - Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming" mapstructure:"Roaming"` - NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn" mapstructure:"NewServingPlmn"` + Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` + NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` } diff --git a/models/model_role_of_ims_node.go b/models/model_role_of_ims_node.go new file mode 100644 index 00000000..617eb34b --- /dev/null +++ b/models/model_role_of_ims_node.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoleOfImsNode string + +// List of RoleOfIMSNode +const ( + RoleOfImsNode_ORIGINATING RoleOfImsNode = "ORIGINATING" + RoleOfImsNode_TERMINATING RoleOfImsNode = "TERMINATING" + RoleOfImsNode_FORWARDING RoleOfImsNode = "FORWARDING" +) diff --git a/models/model_role_of_ue.go b/models/model_role_of_ue.go new file mode 100644 index 00000000..5b9d875c --- /dev/null +++ b/models/model_role_of_ue.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoleOfUe string + +// List of RoleOfUE +const ( + RoleOfUe_ANNOUNCING_UE RoleOfUe = "ANNOUNCING_UE" + RoleOfUe_MONITORING_UE RoleOfUe = "MONITORING_UE" + RoleOfUe_REQUESTOR_UE RoleOfUe = "REQUESTOR_UE" + RoleOfUe_REQUESTED_UE RoleOfUe = "REQUESTED_UE" +) diff --git a/models/model_rotations.go b/models/model_rotations.go deleted file mode 100644 index b631aeeb..00000000 --- a/models/model_rotations.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Rotations struct { - R1 string `json:"r1" bson:"r1"` - R2 string `json:"r2" bson:"r2"` - R3 string `json:"r3" bson:"r3"` - R4 string `json:"r4" bson:"r4"` - R5 string `json:"r5" bson:"r5"` -} diff --git a/models/model_route_information.go b/models/model_route_information.go index 8438dee6..f155a6f4 100644 --- a/models/model_route_information.go +++ b/models/model_route_information.go @@ -1,16 +1,23 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// At least one of the \"ipv4Addr\" attribute and the \"ipv6Addr\" attribute shall be included in the \"RouteInformation\" data type. type RouteInformation struct { - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr" mapstructure:"Ipv4Addr"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr" mapstructure:"Ipv6Addr"` - PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber" mapstructure:"PortNumber"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` } diff --git a/models/model_route_selection_parameter_set.go b/models/model_route_selection_parameter_set.go new file mode 100644 index 00000000..ba2fd8d4 --- /dev/null +++ b/models/model_route_selection_parameter_set.go @@ -0,0 +1,26 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that can be used to guide the Route Selection Descriptors of the URSP. +type RouteSelectionParameterSet struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + // Indicates where the route selection parameters apply. It may correspond to a geographical area, for example using a geographic shape that is known to the AF and is configured by the operator to correspond to a list of or TAIs. + SpatialValidityAreas []GeographicalArea `json:"spatialValidityAreas,omitempty" yaml:"spatialValidityAreas" bson:"spatialValidityAreas,omitempty"` + // Indicates the TAIs in which the route selection parameters apply. This attribute is applicable only within the 5GC and it shall not be included in the request messages of untrusted AFs for URSP guidance. + SpatialValidityTais []Tai `json:"spatialValidityTais,omitempty" yaml:"spatialValidityTais" bson:"spatialValidityTais,omitempty"` +} diff --git a/models/model_route_to_location.go b/models/model_route_to_location.go index 22e98d59..7ee346a1 100644 --- a/models/model_route_to_location.go +++ b/models/model_route_to_location.go @@ -1,16 +1,22 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// At least one of the \"routeInfo\" attribute and the \"routeProfId\" attribute shall be included in the \"RouteToLocation\" data type. type RouteToLocation struct { - Dnai string `json:"dnai" yaml:"dnai" bson:"dnai" mapstructure:"Dnai"` - RouteInfo *RouteInformation `json:"routeInfo,omitempty" yaml:"routeInfo" bson:"routeInfo" mapstructure:"RouteInfo"` - RouteProfId string `json:"routeProfId,omitempty" yaml:"routeProfId" bson:"routeProfId" mapstructure:"RouteProfId"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + RouteInfo *RouteInformation `json:"routeInfo,omitempty" yaml:"routeInfo" bson:"routeInfo,omitempty"` + // Identifies the routing profile Id. + RouteProfId string `json:"routeProfId,omitempty" yaml:"routeProfId" bson:"routeProfId,omitempty"` } diff --git a/models/model_routing_area_id.go b/models/model_routing_area_id.go index aef98a2c..130f183d 100644 --- a/models/model_routing_area_id.go +++ b/models/model_routing_area_id.go @@ -1,16 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a Routing Area Identification as defined in 3GPP TS 23.003, clause 4.2. type RoutingAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - Lac string `json:"lac" yaml:"lac" bson:"lac" mapstructure:"Lac"` - Rac string `json:"rac" yaml:"rac" bson:"rac" mapstructure:"Rac"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + // Routing Area Code + Rac string `json:"rac" yaml:"rac" bson:"rac,omitempty"` } diff --git a/models/model_routing_info_sm_request.go b/models/model_routing_info_sm_request.go new file mode 100644 index 00000000..a61c7ee8 --- /dev/null +++ b/models/model_routing_info_sm_request.go @@ -0,0 +1,20 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Request body of the send-routing-info-sm custom operation +type RoutingInfoSmRequest struct { + IpSmGwInd bool `json:"ipSmGwInd,omitempty" yaml:"ipSmGwInd" bson:"ipSmGwInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_routing_info_sm_response.go b/models/model_routing_info_sm_response.go new file mode 100644 index 00000000..f145b953 --- /dev/null +++ b/models/model_routing_info_sm_response.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information of available nodes for SMS delivery +type RoutingInfoSmResponse struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` + SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` + IpSmGw *IpSmGwInfo `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + SmsRouter *SmsRouterInfo `json:"smsRouter,omitempty" yaml:"smsRouter" bson:"smsRouter,omitempty"` +} diff --git a/models/model_rsn.go b/models/model_rsn.go new file mode 100644 index 00000000..ceecfd80 --- /dev/null +++ b/models/model_rsn.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Rsn string + +// List of Rsn +const ( + Rsn_V1 Rsn = "V1" + Rsn_V2 Rsn = "V2" + Rsn_NONE Rsn = "NONE" +) diff --git a/models/model_rule_operation.go b/models/model_rule_operation.go index 09a311b4..7db32391 100644 --- a/models/model_rule_operation.go +++ b/models/model_rule_operation.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -16,7 +19,7 @@ const ( RuleOperation_CREATE_PCC_RULE RuleOperation = "CREATE_PCC_RULE" RuleOperation_DELETE_PCC_RULE RuleOperation = "DELETE_PCC_RULE" RuleOperation_MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS" - RuleOperation_MODIFY_PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_REPLACE_PACKET_FILTERS" - RuleOperation_MODIFY_PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_DELETE_PACKET_FILTERS" + RuleOperation_MODIFY__PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_REPLACE_PACKET_FILTERS" + RuleOperation_MODIFY__PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_DELETE_PACKET_FILTERS" RuleOperation_MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS" ) diff --git a/models/model_rule_report.go b/models/model_rule_report.go index 36272b0f..8fdfd3d3 100644 --- a/models/model_rule_report.go +++ b/models/model_rule_report.go @@ -1,22 +1,27 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Reports the status of PCC. type RuleReport struct { // Contains the identifier of the affected PCC rule(s). - PccRuleIds []string `json:"pccRuleIds" yaml:"pccRuleIds" bson:"pccRuleIds" mapstructure:"PccRuleIds"` - RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus" mapstructure:"RuleStatus"` + PccRuleIds []string `json:"pccRuleIds" yaml:"pccRuleIds" bson:"pccRuleIds,omitempty"` + RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` // Indicates the version of a PCC rule. - ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers" mapstructure:"ContVers"` - FailureCode FailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode" mapstructure:"FailureCode"` - FinUnitAct FinalUnitAction `json:"finUnitAct,omitempty" yaml:"finUnitAct" bson:"finUnitAct" mapstructure:"FinUnitAct"` + ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` + FailureCode PcfSmPolicyControlFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` + FinUnitAct FinalUnitAction `json:"finUnitAct,omitempty" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` // indicates the RAN or NAS release cause code information. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses" mapstructure:"RanNasRelCauses"` + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` } diff --git a/models/model_rule_status.go b/models/model_rule_status.go index 478cc4c6..21a66a0f 100644 --- a/models/model_rule_status.go +++ b/models/model_rule_status.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sac_event.go b/models/model_sac_event.go new file mode 100644 index 00000000..1554d620 --- /dev/null +++ b/models/model_sac_event.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes an event to be subscribed +type SacEvent struct { + EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + EventTrigger SacEventTrigger `json:"eventTrigger,omitempty" yaml:"eventTrigger" bson:"eventTrigger,omitempty"` + EventFilter []Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` + // indicating a time in seconds. + NotificationPeriod int32 `json:"notificationPeriod,omitempty" yaml:"notificationPeriod" bson:"notificationPeriod,omitempty"` + NotifThreshold *SacInfo `json:"notifThreshold,omitempty" yaml:"notifThreshold" bson:"notifThreshold,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` +} diff --git a/models/model_sac_event_report.go b/models/model_sac_event_report.go new file mode 100644 index 00000000..24a7b3eb --- /dev/null +++ b/models/model_sac_event_report.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Event notification +type SacEventReport struct { + Report *SacEventReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` +} diff --git a/models/model_sac_event_report_item.go b/models/model_sac_event_report_item.go new file mode 100644 index 00000000..0675c384 --- /dev/null +++ b/models/model_sac_event_report_item.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a report triggered by a subscribed event type +type SacEventReportItem struct { + EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + EventState *SacEventState `json:"eventState" yaml:"eventState" bson:"eventState,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + EventFilter *Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` + SliceStautsInfo *SacEventStatus `json:"sliceStautsInfo,omitempty" yaml:"sliceStautsInfo" bson:"sliceStautsInfo,omitempty"` +} diff --git a/models/model_sac_event_state.go b/models/model_sac_event_state.go new file mode 100644 index 00000000..17b4a6d9 --- /dev/null +++ b/models/model_sac_event_state.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the state of a subscribed event +type SacEventState struct { + Active bool `json:"active" yaml:"active" bson:"active,omitempty"` + RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` + // indicating a time in seconds. + RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` +} diff --git a/models/model_sac_event_status.go b/models/model_sac_event_status.go new file mode 100644 index 00000000..e9548b71 --- /dev/null +++ b/models/model_sac_event_status.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the network slice status information in terms of the current number of UEs registered with a network slice, the current number of PDU Sessions established on a network slice or both. +type SacEventStatus struct { + ReachedNumUes *SacInfo `json:"reachedNumUes,omitempty" yaml:"reachedNumUes" bson:"reachedNumUes,omitempty"` + ReachedNumPduSess *SacInfo `json:"reachedNumPduSess,omitempty" yaml:"reachedNumPduSess" bson:"reachedNumPduSess,omitempty"` +} diff --git a/models/model_sac_event_subscription.go b/models/model_sac_event_subscription.go new file mode 100644 index 00000000..d966575a --- /dev/null +++ b/models/model_sac_event_subscription.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Request data to create the event subscription +type SacEventSubscription struct { + Event *SacEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_sac_event_trigger.go b/models/model_sac_event_trigger.go new file mode 100644 index 00000000..be595ae4 --- /dev/null +++ b/models/model_sac_event_trigger.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SacEventTrigger string + +// List of SACEventTrigger +const ( + SacEventTrigger_THRESHOLD SacEventTrigger = "THRESHOLD" + SacEventTrigger_PERIODIC SacEventTrigger = "PERIODIC" +) diff --git a/models/model_sac_event_type.go b/models/model_sac_event_type.go new file mode 100644 index 00000000..80a2597b --- /dev/null +++ b/models/model_sac_event_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SacEventType string + +// List of SACEventType +const ( + SacEventType_REGD_UES SacEventType = "NUM_OF_REGD_UES" + SacEventType_ESTD_PDU_SESSIONS SacEventType = "NUM_OF_ESTD_PDU_SESSIONS" +) diff --git a/models/model_sac_info.go b/models/model_sac_info.go new file mode 100644 index 00000000..44021744 --- /dev/null +++ b/models/model_sac_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents threshold(s) to control the triggering of network slice reporting notifications or the information contained in the network slice reporting notification. +type SacInfo struct { + NumericValNumUes int32 `json:"numericValNumUes,omitempty" yaml:"numericValNumUes" bson:"numericValNumUes,omitempty"` + NumericValNumPduSess int32 `json:"numericValNumPduSess,omitempty" yaml:"numericValNumPduSess" bson:"numericValNumPduSess,omitempty"` + PercValueNumUes int32 `json:"percValueNumUes,omitempty" yaml:"percValueNumUes" bson:"percValueNumUes,omitempty"` + PercValueNumPduSess int32 `json:"percValueNumPduSess,omitempty" yaml:"percValueNumPduSess" bson:"percValueNumPduSess,omitempty"` +} diff --git a/models/model_satellite_backhaul_category.go b/models/model_satellite_backhaul_category.go new file mode 100644 index 00000000..ac25a1a5 --- /dev/null +++ b/models/model_satellite_backhaul_category.go @@ -0,0 +1,24 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SatelliteBackhaulCategory string + +// List of SatelliteBackhaulCategory +const ( + SatelliteBackhaulCategory_GEO SatelliteBackhaulCategory = "GEO" + SatelliteBackhaulCategory_MEO SatelliteBackhaulCategory = "MEO" + SatelliteBackhaulCategory_LEO SatelliteBackhaulCategory = "LEO" + SatelliteBackhaulCategory_OTHER_SAT SatelliteBackhaulCategory = "OTHER_SAT" + SatelliteBackhaulCategory_NON_SATELLITE SatelliteBackhaulCategory = "NON_SATELLITE" +) diff --git a/models/model_sbi_binding_level.go b/models/model_sbi_binding_level.go new file mode 100644 index 00000000..e3169e90 --- /dev/null +++ b/models/model_sbi_binding_level.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SbiBindingLevel string + +// List of SbiBindingLevel +const ( + SbiBindingLevel_INSTANCE_BINDING SbiBindingLevel = "NF_INSTANCE_BINDING" + SbiBindingLevel_SET_BINDING SbiBindingLevel = "NF_SET_BINDING" + SbiBindingLevel_SERVICE_SET_BINDING SbiBindingLevel = "NF_SERVICE_SET_BINDING" + SbiBindingLevel_SERVICE_INSTANCE_BINDING SbiBindingLevel = "NF_SERVICE_INSTANCE_BINDING" +) diff --git a/models/model_sc_type.go b/models/model_sc_type.go index 404ddfe6..bc26de25 100644 --- a/models/model_sc_type.go +++ b/models/model_sc_type.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_scheduled_communication_time.go b/models/model_scheduled_communication_time.go new file mode 100644 index 00000000..65c59d6a --- /dev/null +++ b/models/model_scheduled_communication_time.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies time and day of the week when the UE is available for communication. +type ScheduledCommunicationTime struct { + // Identifies the day(s) of the week. If absent, it indicates every day of the week. + DaysOfWeek []int32 `json:"daysOfWeek,omitempty" yaml:"daysOfWeek" bson:"daysOfWeek,omitempty"` + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDayStart string `json:"timeOfDayStart,omitempty" yaml:"timeOfDayStart" bson:"timeOfDayStart,omitempty"` + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDayEnd string `json:"timeOfDayEnd,omitempty" yaml:"timeOfDayEnd" bson:"timeOfDayEnd,omitempty"` +} diff --git a/models/model_scheduled_communication_time_rm.go b/models/model_scheduled_communication_time_rm.go new file mode 100644 index 00000000..66251571 --- /dev/null +++ b/models/model_scheduled_communication_time_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationTimeRm struct { +} diff --git a/models/model_scheduled_communication_type.go b/models/model_scheduled_communication_type.go new file mode 100644 index 00000000..2e671780 --- /dev/null +++ b/models/model_scheduled_communication_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationType string + +// List of ScheduledCommunicationType +const ( + ScheduledCommunicationType_DOWNLINK_ONLY ScheduledCommunicationType = "DOWNLINK_ONLY" + ScheduledCommunicationType_UPLINK_ONLY ScheduledCommunicationType = "UPLINK_ONLY" + ScheduledCommunicationType_BIDIRECTIONAL ScheduledCommunicationType = "BIDIRECTIONAL" +) diff --git a/models/model_scheduled_communication_type_rm.go b/models/model_scheduled_communication_type_rm.go new file mode 100644 index 00000000..0e2e7117 --- /dev/null +++ b/models/model_scheduled_communication_type_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationTypeRm struct { +} diff --git a/models/model_scp_capability.go b/models/model_scp_capability.go new file mode 100644 index 00000000..57d569d5 --- /dev/null +++ b/models/model_scp_capability.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScpCapability string + +// List of ScpCapability +const ( + ScpCapability_INDIRECT_COM_WITH_DELEG_DISC ScpCapability = "INDIRECT_COM_WITH_DELEG_DISC" +) diff --git a/models/model_scp_domain_cond.go b/models/model_scp_domain_cond.go new file mode 100644 index 00000000..720d5d91 --- /dev/null +++ b/models/model_scp_domain_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF or SCP or SEPP instances belonging to certain SCP domains +type ScpDomainCond struct { + ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` + NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` +} diff --git a/models/model_scp_domain_connectivity.go b/models/model_scp_domain_connectivity.go new file mode 100644 index 00000000..15b02c4e --- /dev/null +++ b/models/model_scp_domain_connectivity.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Connectivity Information +type ScpDomainConnectivity struct { + ConnectedScpDomainList []string `json:"connectedScpDomainList" yaml:"connectedScpDomainList" bson:"connectedScpDomainList,omitempty"` +} diff --git a/models/model_scp_domain_info.go b/models/model_scp_domain_info.go new file mode 100644 index 00000000..599210cc --- /dev/null +++ b/models/model_scp_domain_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain specific information +type ScpDomainInfo struct { + // Fully Qualified Domain Name + ScpFqdn string `json:"scpFqdn,omitempty" yaml:"scpFqdn" bson:"scpFqdn,omitempty"` + ScpIpEndPoints []IpEndPoint `json:"scpIpEndPoints,omitempty" yaml:"scpIpEndPoints" bson:"scpIpEndPoints,omitempty"` + ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` +} diff --git a/models/model_scp_domain_routing_info_notification.go b/models/model_scp_domain_routing_info_notification.go new file mode 100644 index 00000000..293552b7 --- /dev/null +++ b/models/model_scp_domain_routing_info_notification.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Routing Information Notification +type ScpDomainRoutingInfoNotification struct { + RoutingInfo *ScpDomainRoutingInformation `json:"routingInfo" yaml:"routingInfo" bson:"routingInfo,omitempty"` + LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` +} diff --git a/models/model_scp_domain_routing_info_subscription.go b/models/model_scp_domain_routing_info_subscription.go new file mode 100644 index 00000000..8e610eca --- /dev/null +++ b/models/model_scp_domain_routing_info_subscription.go @@ -0,0 +1,28 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// SCP Domain Routing Information Subscription +type ScpDomainRoutingInfoSubscription struct { + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ReqInstanceId string `json:"reqInstanceId,omitempty" yaml:"reqInstanceId" bson:"reqInstanceId,omitempty"` + LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` +} diff --git a/models/model_scp_domain_routing_information.go b/models/model_scp_domain_routing_information.go new file mode 100644 index 00000000..b31f497b --- /dev/null +++ b/models/model_scp_domain_routing_information.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Routing Information +type ScpDomainRoutingInformation struct { + // This IE shall contain a map of SCP domain interconnection information, where the key of the map is a SCP domain. The value of each entry shall be the interconnectivity information of the the SCP domain indicated by the key. An empty map indicates that there is no SCP domain currently registered in the NRF. + ScpDomainList map[string]ScpDomainConnectivity `json:"scpDomainList" yaml:"scpDomainList" bson:"scpDomainList,omitempty"` +} diff --git a/models/model_scp_info.go b/models/model_scp_info.go new file mode 100644 index 00000000..a6cc9a5f --- /dev/null +++ b/models/model_scp_info.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an SCP Instance +type ScpInfo struct { + // A map (list of key-value pairs) where the key of the map shall be the string identifying an SCP domain + ScpDomainInfoList map[string]ScpDomainInfo `json:"scpDomainInfoList,omitempty" yaml:"scpDomainInfoList" bson:"scpDomainInfoList,omitempty"` + ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` + AddressDomains []string `json:"addressDomains,omitempty" yaml:"addressDomains" bson:"addressDomains,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv4AddrRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddrRanges,omitempty" yaml:"ipv4AddrRanges" bson:"ipv4AddrRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + ServedNfSetIdList []string `json:"servedNfSetIdList,omitempty" yaml:"servedNfSetIdList" bson:"servedNfSetIdList,omitempty"` + RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` + RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` + IpReachability IpReachability `json:"ipReachability,omitempty" yaml:"ipReachability" bson:"ipReachability,omitempty"` + ScpCapabilities []ScpCapability `json:"scpCapabilities,omitempty" yaml:"scpCapabilities" bson:"scpCapabilities,omitempty"` +} diff --git a/models/model_scscf_capability_list.go b/models/model_scscf_capability_list.go new file mode 100644 index 00000000..65c0561b --- /dev/null +++ b/models/model_scscf_capability_list.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about mandatory and optional S-CSCF capabilities +type ScscfCapabilityList struct { + // A list of capabilities of the S-CSCF + MandatoryCapabilityList []int32 `json:"mandatoryCapabilityList,omitempty" yaml:"mandatoryCapabilityList" bson:"mandatoryCapabilityList,omitempty"` + // A list of capabilities of the S-CSCF + OptionalCapabilityList []int32 `json:"optionalCapabilityList,omitempty" yaml:"optionalCapabilityList" bson:"optionalCapabilityList,omitempty"` +} diff --git a/models/model_scscf_registration.go b/models/model_scscf_registration.go new file mode 100644 index 00000000..6bbfc112 --- /dev/null +++ b/models/model_scscf_registration.go @@ -0,0 +1,38 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Scscf Registration +type ScscfRegistration struct { + // IMS Private Identity of the UE + Impi string `json:"impi,omitempty" yaml:"impi" bson:"impi,omitempty"` + ImsRegistrationType ImsRegistrationType `json:"imsRegistrationType" yaml:"imsRegistrationType" bson:"imsRegistrationType,omitempty"` + CscfServerName string `json:"cscfServerName" yaml:"cscfServerName" bson:"cscfServerName,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ScscfInstanceId string `json:"scscfInstanceId,omitempty" yaml:"scscfInstanceId" bson:"scscfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AssociatedImpis []string `json:"associatedImpis,omitempty" yaml:"associatedImpis" bson:"associatedImpis,omitempty"` + AssociatedRegisteredImpis []string `json:"associatedRegisteredImpis,omitempty" yaml:"associatedRegisteredImpis" bson:"associatedRegisteredImpis,omitempty"` + IrsImpus []string `json:"irsImpus,omitempty" yaml:"irsImpus" bson:"irsImpus,omitempty"` + // IMS Public Identity of the UE (sip URI or tel URI) + WildcardedPui string `json:"wildcardedPui,omitempty" yaml:"wildcardedPui" bson:"wildcardedPui,omitempty"` + LooseRouteIndicator LooseRouteIndication `json:"looseRouteIndicator,omitempty" yaml:"looseRouteIndicator" bson:"looseRouteIndicator,omitempty"` + // IMS Public Identity of the UE (sip URI or tel URI) + WildcardedPsi string `json:"wildcardedPsi,omitempty" yaml:"wildcardedPsi" bson:"wildcardedPsi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MultipleRegistrationIndicator bool `json:"multipleRegistrationIndicator,omitempty" yaml:"multipleRegistrationIndicator" bson:"multipleRegistrationIndicator,omitempty"` + PcscfRestorationIndicator bool `json:"pcscfRestorationIndicator,omitempty" yaml:"pcscfRestorationIndicator" bson:"pcscfRestorationIndicator,omitempty"` + ScscfReselectionIndicator bool `json:"scscfReselectionIndicator,omitempty" yaml:"scscfReselectionIndicator" bson:"scscfReselectionIndicator,omitempty"` +} diff --git a/models/model_scscf_restoration_info.go b/models/model_scscf_restoration_info.go new file mode 100644 index 00000000..934ebe06 --- /dev/null +++ b/models/model_scscf_restoration_info.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models +import ( + "time" +) + + + +// S-CSCF restoration information +type ScscfRestorationInfo struct { + UserName string `json:"userName,omitempty" yaml:"userName" bson:"userName"` + RestorationInfo []*RestorationInfo `json:"restorationInfo,omitempty" yaml:"restorationInfo" bson:"restorationInfo"` + RegistrationTimeOut *time.Time `json:"registrationTimeOut,omitempty" yaml:"registrationTimeOut" bson:"registrationTimeOut"` + SipAuthenticationScheme SipAuthenticationScheme `json:"sipAuthenticationScheme,omitempty" yaml:"sipAuthenticationScheme" bson:"sipAuthenticationScheme"` +} diff --git a/models/model_scscf_restoration_info_request.go b/models/model_scscf_restoration_info_request.go new file mode 100644 index 00000000..29ea24df --- /dev/null +++ b/models/model_scscf_restoration_info_request.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +// S-CSCF restoration information request +type ScscfRestorationInfoRequest struct { + ScscfRestorationInfoRequest *ScscfRestorationInfo `json:"scscfRestorationInfoRequest,omitempty" yaml:"scscfRestorationInfoRequest" bson:"scscfRestorationInfoRequest"` +} diff --git a/models/model_scscf_restoration_info_response.go b/models/model_scscf_restoration_info_response.go new file mode 100644 index 00000000..7290bef0 --- /dev/null +++ b/models/model_scscf_restoration_info_response.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +// S-CSCF restoration information response +type ScscfRestorationInfoResponse struct { + ScscfRestorationInfoResponse []*ScscfRestorationInfo `json:"scscfRestorationInfoResponse,omitempty" yaml:"scscfRestorationInfoResponse" bson:"scscfRestorationInfoResponse"` +} diff --git a/models/model_scscf_selection_assistance_information.go b/models/model_scscf_selection_assistance_information.go new file mode 100644 index 00000000..cc6967e6 --- /dev/null +++ b/models/model_scscf_selection_assistance_information.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information used by the I-CSCF to select an S-CSCF for the UE +type ScscfSelectionAssistanceInformation struct { + ScscfCapabilityList *ScscfCapabilityList `json:"scscfCapabilityList,omitempty" yaml:"scscfCapabilityList" bson:"scscfCapabilityList,omitempty"` + ScscfNames []string `json:"scscfNames,omitempty" yaml:"scscfNames" bson:"scscfNames,omitempty"` +} diff --git a/models/model_sd_range.go b/models/model_sd_range.go new file mode 100644 index 00000000..4a0b5e39 --- /dev/null +++ b/models/model_sd_range.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of SDs (Slice Differentiators) +type SdRange struct { + // First value identifying the start of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // Last value identifying the end of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/model_sdm_data_set_name.go b/models/model_sdm_data_set_name.go new file mode 100644 index 00000000..3bbd30ef --- /dev/null +++ b/models/model_sdm_data_set_name.go @@ -0,0 +1,31 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SdmDataSetName string + +// List of SDMDataSetName +const ( + SdmDataSetName_AM SdmDataSetName = "AM" + SdmDataSetName_SMF_SEL SdmDataSetName = "SMF_SEL" + SdmDataSetName_UEC_SMF SdmDataSetName = "UEC_SMF" + SdmDataSetName_UEC_SMSF SdmDataSetName = "UEC_SMSF" + SdmDataSetName_SMS_SUB SdmDataSetName = "SMS_SUB" + SdmDataSetName_SM SdmDataSetName = "SM" + SdmDataSetName_TRACE SdmDataSetName = "TRACE" + SdmDataSetName_SMS_MNG SdmDataSetName = "SMS_MNG" + SdmDataSetName_LCS_PRIVACY SdmDataSetName = "LCS_PRIVACY" + SdmDataSetName_LCS_MO SdmDataSetName = "LCS_MO" + SdmDataSetName_UEC_AMF SdmDataSetName = "UEC_AMF" + SdmDataSetName_V2_X SdmDataSetName = "V2X" +) diff --git a/models/model_sdm_subs_modification.go b/models/model_sdm_subs_modification.go index 83ce3849..e5e76921 100644 --- a/models/model_sdm_subs_modification.go +++ b/models/model_sdm_subs_modification.go @@ -1,9 +1,12 @@ /* * Nudm_SDM * - * Nudm Subscriber Data Management Service + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,5 +17,7 @@ import ( ) type SdmSubsModification struct { - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires" mapstructure:"Expires"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` } diff --git a/models/model_sdm_subscription.go b/models/model_sdm_subscription.go index 7ed7eebf..68f21ba6 100644 --- a/models/model_sdm_subscription.go +++ b/models/model_sdm_subscription.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,14 +17,30 @@ import ( ) type SdmSubscription struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId" mapstructure:"NfInstanceId"` - ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe" mapstructure:"ImplicitUnsubscribe"` - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires" mapstructure:"Expires"` - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference" mapstructure:"CallbackReference"` - AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName" mapstructure:"AmfServiceName"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris" mapstructure:"MonitoredResourceUris"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai" mapstructure:"SingleNssai"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId" mapstructure:"SubscriptionId"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + Report *ImmediateReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` } diff --git a/models/model_sdp_description.go b/models/model_sdp_description.go new file mode 100644 index 00000000..87c98750 --- /dev/null +++ b/models/model_sdp_description.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a SDP line (and optionally the value in the line) within the body (if any) of a SIP request +type SdpDescription struct { + Line string `json:"line" yaml:"line" bson:"line,omitempty"` + Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` +} diff --git a/models/model_sdp_media_component.go b/models/model_sdp_media_component.go new file mode 100644 index 00000000..5c10c960 --- /dev/null +++ b/models/model_sdp_media_component.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SdpMediaComponent struct { + SDPMediaName string `json:"sDPMediaName,omitempty" yaml:"sDPMediaName" bson:"sDPMediaName,omitempty"` + SDPMediaDescription []string `json:"SDPMediaDescription,omitempty" yaml:"SDPMediaDescription" bson:"SDPMediaDescription,omitempty"` + LocalGWInsertedIndication bool `json:"localGWInsertedIndication,omitempty" yaml:"localGWInsertedIndication" bson:"localGWInsertedIndication,omitempty"` + IpRealmDefaultIndication bool `json:"ipRealmDefaultIndication,omitempty" yaml:"ipRealmDefaultIndication" bson:"ipRealmDefaultIndication,omitempty"` + TranscoderInsertedIndication bool `json:"transcoderInsertedIndication,omitempty" yaml:"transcoderInsertedIndication" bson:"transcoderInsertedIndication,omitempty"` + MediaInitiatorFlag MediaInitiatorFlag `json:"mediaInitiatorFlag,omitempty" yaml:"mediaInitiatorFlag" bson:"mediaInitiatorFlag,omitempty"` + MediaInitiatorParty string `json:"mediaInitiatorParty,omitempty" yaml:"mediaInitiatorParty" bson:"mediaInitiatorParty,omitempty"` + ThreeGPPChargingId string `json:"threeGPPChargingId,omitempty" yaml:"threeGPPChargingId" bson:"threeGPPChargingId,omitempty"` + AccessNetworkChargingIdentifierValue string `json:"accessNetworkChargingIdentifierValue,omitempty" yaml:"accessNetworkChargingIdentifierValue" bson:"accessNetworkChargingIdentifierValue,omitempty"` + SDPType SdpType `json:"sDPType,omitempty" yaml:"sDPType" bson:"sDPType,omitempty"` +} diff --git a/models/model_sdp_time_stamps.go b/models/model_sdp_time_stamps.go new file mode 100644 index 00000000..f5dd8128 --- /dev/null +++ b/models/model_sdp_time_stamps.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SdpTimeStamps struct { + // string with format 'date-time' as defined in OpenAPI. + SDPOfferTimestamp *time.Time `json:"sDPOfferTimestamp,omitempty" yaml:"sDPOfferTimestamp" bson:"sDPOfferTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SDPAnswerTimestamp *time.Time `json:"sDPAnswerTimestamp,omitempty" yaml:"sDPAnswerTimestamp" bson:"sDPAnswerTimestamp,omitempty"` +} diff --git a/models/model_sdp_type.go b/models/model_sdp_type.go new file mode 100644 index 00000000..999aa8c8 --- /dev/null +++ b/models/model_sdp_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SdpType string + +// List of SDPType +const ( + SdpType_OFFER SdpType = "OFFER" + SdpType_ANSWER SdpType = "ANSWER" +) diff --git a/models/model_seaf_data.go b/models/model_seaf_data.go index c9be0401..d0f25e26 100644 --- a/models/model_seaf_data.go +++ b/models/model_seaf_data.go @@ -1,19 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents SEAF data derived from data received from AUSF type SeafData struct { - NgKsi *NgKsi `json:"ngKsi"` - KeyAmf *KeyAmf `json:"keyAmf"` - Nh string `json:"nh,omitempty"` - Ncc int32 `json:"ncc,omitempty"` - KeyAmfChangeInd bool `json:"keyAmfChangeInd,omitempty"` - KeyAmfHDerivationInd bool `json:"keyAmfHDerivationInd,omitempty"` + NgKsi *NgKsi `json:"ngKsi" yaml:"ngKsi" bson:"ngKsi,omitempty"` + KeyAmf *KeyAmf `json:"keyAmf" yaml:"keyAmf" bson:"keyAmf,omitempty"` + Nh string `json:"nh,omitempty" yaml:"nh" bson:"nh,omitempty"` + Ncc int32 `json:"ncc,omitempty" yaml:"ncc" bson:"ncc,omitempty"` + KeyAmfChangeInd bool `json:"keyAmfChangeInd,omitempty" yaml:"keyAmfChangeInd" bson:"keyAmfChangeInd,omitempty"` + KeyAmfHDerivationInd bool `json:"keyAmfHDerivationInd,omitempty" yaml:"keyAmfHDerivationInd" bson:"keyAmfHDerivationInd,omitempty"` } diff --git a/models/model_search_comparison.go b/models/model_search_comparison.go new file mode 100644 index 00000000..357b93be --- /dev/null +++ b/models/model_search_comparison.go @@ -0,0 +1,20 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A comparison to apply on tag/values pairs. +type SearchComparison struct { + Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` + Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/model_search_condition.go b/models/model_search_condition.go new file mode 100644 index 00000000..03d4fc68 --- /dev/null +++ b/models/model_search_condition.go @@ -0,0 +1,21 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A logical condition +type SearchCondition struct { + Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` + Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` +} diff --git a/models/model_search_expression.go b/models/model_search_expression.go new file mode 100644 index 00000000..71884092 --- /dev/null +++ b/models/model_search_expression.go @@ -0,0 +1,25 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A logical expression element +type SearchExpression struct { + Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` + Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` + Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` + Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` + RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` +} diff --git a/models/model_search_result.go b/models/model_search_result.go index fbbe643f..3ed2a954 100644 --- a/models/model_search_result.go +++ b/models/model_search_result.go @@ -1,16 +1,29 @@ /* * NRF NFDiscovery Service * - * NRF NFDiscovery Service + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ * - * API version: 1.0.1 + * API version: 1.2.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the list of NF Profiles returned in a Discovery response type SearchResult struct { - ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod" mapstructure:"ValidityPeriod"` - NfInstances []NfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances" mapstructure:"NfInstances"` - NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures" mapstructure:"NrfSupportedFeatures"` + ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` + SearchId string `json:"searchId,omitempty" yaml:"searchId" bson:"searchId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumNfInstComplete int32 `json:"numNfInstComplete,omitempty" yaml:"numNfInstComplete" bson:"numNfInstComplete,omitempty"` + PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` + // List of matching NF instances. The key of the map is the NF instance ID. + NfInstanceList map[string]NfInstanceInfo `json:"nfInstanceList,omitempty" yaml:"nfInstanceList" bson:"nfInstanceList,omitempty"` + AlteredPriorityInd bool `json:"alteredPriorityInd,omitempty" yaml:"alteredPriorityInd" bson:"alteredPriorityInd,omitempty"` + NoProfileMatchInfo *NoProfileMatchInfo `json:"noProfileMatchInfo,omitempty" yaml:"noProfileMatchInfo" bson:"noProfileMatchInfo,omitempty"` } diff --git a/models/model_secondary_rat_usage_info.go b/models/model_secondary_rat_usage_info.go new file mode 100644 index 00000000..f2c49160 --- /dev/null +++ b/models/model_secondary_rat_usage_info.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Secondary RAT Usage Information to report usage data for a secondary RAT for QoS flows and/or the whole PDU session. +type SecondaryRatUsageInfo struct { + SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` + QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData,omitempty" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` + PduSessionUsageData []VolumeTimedReport `json:"pduSessionUsageData,omitempty" yaml:"pduSessionUsageData" bson:"pduSessionUsageData,omitempty"` +} diff --git a/models/model_secondary_rat_usage_report.go b/models/model_secondary_rat_usage_report.go index 298ea609..ffb91c54 100644 --- a/models/model_secondary_rat_usage_report.go +++ b/models/model_secondary_rat_usage_report.go @@ -1,15 +1,19 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Secondary RAT Usage Report to report usage data for a secondary RAT for QoS flows. type SecondaryRatUsageReport struct { - SecondaryRatType RatType `json:"secondaryRatType"` - QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData"` + SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` + QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` } diff --git a/models/model_security_result.go b/models/model_security_result.go new file mode 100644 index 00000000..480a1302 --- /dev/null +++ b/models/model_security_result.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Security Result +type SecurityResult struct { + IntegrityProtectionResult ProtectionResult `json:"integrityProtectionResult,omitempty" yaml:"integrityProtectionResult" bson:"integrityProtectionResult,omitempty"` + ConfidentialityProtectionResult ProtectionResult `json:"confidentialityProtectionResult,omitempty" yaml:"confidentialityProtectionResult" bson:"confidentialityProtectionResult,omitempty"` +} diff --git a/models/model_send_mo_data_req_data.go b/models/model_send_mo_data_req_data.go new file mode 100644 index 00000000..8fc7d6f7 --- /dev/null +++ b/models/model_send_mo_data_req_data.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Send MO Data Request +type SendMoDataReqData struct { + MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` +} diff --git a/models/model_send_mo_data_request.go b/models/model_send_mo_data_request.go new file mode 100644 index 00000000..556cb55f --- /dev/null +++ b/models/model_send_mo_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendMoDataRequest struct { + JsonData *SendMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` +} diff --git a/models/model_send_sms_request.go b/models/model_send_sms_request.go new file mode 100644 index 00000000..2bad8dc7 --- /dev/null +++ b/models/model_send_sms_request.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendSmsRequest struct { + JsonData *SmsData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` +} diff --git a/models/model_send_sms_response_200.go b/models/model_send_sms_response_200.go new file mode 100644 index 00000000..8eb528b2 --- /dev/null +++ b/models/model_send_sms_response_200.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendSmsResponse200 struct { + JsonData *SmsDeliveryData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` +} diff --git a/models/model_sensor_measurement.go b/models/model_sensor_measurement.go new file mode 100644 index 00000000..8a3c75db --- /dev/null +++ b/models/model_sensor_measurement.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SensorMeasurement string + +// List of SensorMeasurement +const ( + SensorMeasurement_BAROMETRIC_PRESSURE SensorMeasurement = "BAROMETRIC_PRESSURE" + SensorMeasurement_UE_SPEED SensorMeasurement = "UE_SPEED" + SensorMeasurement_UE_ORIENTATION SensorMeasurement = "UE_ORIENTATION" +) diff --git a/models/model_sepp_info.go b/models/model_sepp_info.go new file mode 100644 index 00000000..503d438f --- /dev/null +++ b/models/model_sepp_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a SEPP Instance +type SeppInfo struct { + SeppPrefix string `json:"seppPrefix,omitempty" yaml:"seppPrefix" bson:"seppPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + SeppPorts map[string]int32 `json:"seppPorts,omitempty" yaml:"seppPorts" bson:"seppPorts,omitempty"` + RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` + RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` +} diff --git a/models/model_sequence_number.go b/models/model_sequence_number.go new file mode 100644 index 00000000..74c893c6 --- /dev/null +++ b/models/model_sequence_number.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SQN. +type SequenceNumber struct { + SqnScheme SqnScheme `json:"sqnScheme,omitempty" yaml:"sqnScheme" bson:"sqnScheme,omitempty"` + Sqn string `json:"sqn,omitempty" yaml:"sqn" bson:"sqn,omitempty"` + LastIndexes map[string]int32 `json:"lastIndexes,omitempty" yaml:"lastIndexes" bson:"lastIndexes,omitempty"` + IndLength int32 `json:"indLength,omitempty" yaml:"indLength" bson:"indLength,omitempty"` + DifSign Sign `json:"difSign,omitempty" yaml:"difSign" bson:"difSign,omitempty"` +} diff --git a/models/model_serv_auth_info.go b/models/model_serv_auth_info.go index 1455885a..501a9ee7 100644 --- a/models/model_serv_auth_info.go +++ b/models/model_serv_auth_info.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,8 @@ type ServAuthInfo string // List of ServAuthInfo const ( - ServAuthInfo_NOT_KNOWN ServAuthInfo = "TP_NOT_KNOWN" - ServAuthInfo_EXPIRED ServAuthInfo = "TP_EXPIRED" - ServAuthInfo_NOT_YET_OCURRED ServAuthInfo = "TP_NOT_YET_OCURRED" + ServAuthInfo_TP_NOT_KNOWN ServAuthInfo = "TP_NOT_KNOWN" + ServAuthInfo_TP_EXPIRED ServAuthInfo = "TP_EXPIRED" + ServAuthInfo_TP_NOT_YET_OCURRED ServAuthInfo = "TP_NOT_YET_OCURRED" + ServAuthInfo_ROUT_REQ_NOT_AUTHORIZED ServAuthInfo = "ROUT_REQ_NOT_AUTHORIZED" ) diff --git a/models/model_server_addressing_info.go b/models/model_server_addressing_info.go new file mode 100644 index 00000000..7fa25b7b --- /dev/null +++ b/models/model_server_addressing_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains addressing information (IP addresses and/or FQDNs) of a server. +type ServerAddressingInfo struct { + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + FqdnList []string `json:"fqdnList,omitempty" yaml:"fqdnList" bson:"fqdnList,omitempty"` +} diff --git a/models/model_server_capabilities.go b/models/model_server_capabilities.go new file mode 100644 index 00000000..ab7c50c8 --- /dev/null +++ b/models/model_server_capabilities.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServerCapabilities struct { + MandatoryCapability []int32 `json:"mandatoryCapability,omitempty" yaml:"mandatoryCapability" bson:"mandatoryCapability,omitempty"` + OptionalCapability []int32 `json:"optionalCapability,omitempty" yaml:"optionalCapability" bson:"optionalCapability,omitempty"` + ServerName []string `json:"serverName,omitempty" yaml:"serverName" bson:"serverName,omitempty"` +} diff --git a/models/model_service_area_coverage_info.go b/models/model_service_area_coverage_info.go new file mode 100644 index 00000000..70a39ad8 --- /dev/null +++ b/models/model_service_area_coverage_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents a list of Tracking Areas within a serving network. +type ServiceAreaCoverageInfo struct { + // Indicates a list of Tracking Areas where the service is allowed. + TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` +} diff --git a/models/model_service_area_id.go b/models/model_service_area_id.go index bc887d42..5830050e 100644 --- a/models/model_service_area_id.go +++ b/models/model_service_area_id.go @@ -1,16 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a Service Area Identifier as defined in 3GPP TS 23.003, clause 12.5. type ServiceAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - Lac string `json:"lac" yaml:"lac" bson:"lac" mapstructure:"Lac"` - Sac string `json:"sac" yaml:"sac" bson:"sac" mapstructure:"Sac"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code. + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + // Service Area Code. + Sac string `json:"sac" yaml:"sac" bson:"sac,omitempty"` } diff --git a/models/model_service_area_restriction.go b/models/model_service_area_restriction.go index b650a257..5d5b05b7 100644 --- a/models/model_service_area_restriction.go +++ b/models/model_service_area_restriction.go @@ -1,17 +1,23 @@ /* - * Npcf_AMPolicyControl + * Nchf_ConvergedCharging * - * Access and Mobility Policy Control Service API + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides information about allowed or not allowed areas. type ServiceAreaRestriction struct { - RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType" mapstructure:"RestrictionType"` - Areas []Area `json:"areas,omitempty" yaml:"areas" bson:"areas" mapstructure:"Areas"` - MaxNumOfTAs int32 `json:"maxNumOfTAs,omitempty" yaml:"maxNumOfTAs" bson:"maxNumOfTAs" mapstructure:"MaxNumOfTAs"` - MaxNumOfTAsForNotAllowedAreas int32 `json:"maxNumOfTAsForNotAllowedAreas,omitempty" yaml:"maxNumOfTAsForNotAllowedAreas" bson:"maxNumOfTAsForNotAllowedAreas" mapstructure:"MaxNumOfTAsForNotAllowedAreas"` + RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` + Areas []Area `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumOfTAs int32 `json:"maxNumOfTAs,omitempty" yaml:"maxNumOfTAs" bson:"maxNumOfTAs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumOfTAsForNotAllowedAreas int32 `json:"maxNumOfTAsForNotAllowedAreas,omitempty" yaml:"maxNumOfTAsForNotAllowedAreas" bson:"maxNumOfTAsForNotAllowedAreas,omitempty"` } diff --git a/models/model_service_data_flow_description.go b/models/model_service_data_flow_description.go new file mode 100644 index 00000000..1bf2e79d --- /dev/null +++ b/models/model_service_data_flow_description.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceDataFlowDescription struct { + FlowDescription *IpPacketFilterSet `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` + DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` +} diff --git a/models/model_service_experience_info.go b/models/model_service_experience_info.go deleted file mode 100644 index 0e463ce1..00000000 --- a/models/model_service_experience_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceExperienceInfo struct { - SvcExprc *SvcExperience `json:"svcExprc" yaml:"svcExprc" bson:"svcExprc" mapstructure:"SvcExprc"` - SvcExprcVariance float32 `json:"svcExprcVariance,omitempty" yaml:"svcExprcVariance" bson:"svcExprcVariance" mapstructure:"SvcExprcVariance"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis" mapstructure:"Supis"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai" mapstructure:"Snssai"` - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId" mapstructure:"AppId"` - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence" mapstructure:"Confidence"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea" mapstructure:"NetworkArea"` - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId" mapstructure:"NsiId"` - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio" mapstructure:"Ratio"` -} diff --git a/models/model_service_experience_info_per_app.go b/models/model_service_experience_info_per_app.go new file mode 100644 index 00000000..ef22b1dd --- /dev/null +++ b/models/model_service_experience_info_per_app.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with an application. +type ServiceExperienceInfoPerApp struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + AppServerIns *AddrFqdn `json:"appServerIns,omitempty" yaml:"appServerIns" bson:"appServerIns,omitempty"` + SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` +} diff --git a/models/model_service_experience_info_per_flow.go b/models/model_service_experience_info_per_flow.go new file mode 100644 index 00000000..e64c4d38 --- /dev/null +++ b/models/model_service_experience_info_per_flow.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with a service flow. +type ServiceExperienceInfoPerFlow struct { + SvcExprc *SvcExperience `json:"svcExprc,omitempty" yaml:"svcExprc" bson:"svcExprc,omitempty"` + TimeIntev *TimeWindow `json:"timeIntev,omitempty" yaml:"timeIntev" bson:"timeIntev,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` +} diff --git a/models/model_service_experience_type.go b/models/model_service_experience_type.go new file mode 100644 index 00000000..e2e6d8e5 --- /dev/null +++ b/models/model_service_experience_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceExperienceType string + +// List of ServiceExperienceType +const ( + ServiceExperienceType_VOICE ServiceExperienceType = "VOICE" + ServiceExperienceType_VIDEO ServiceExperienceType = "VIDEO" + ServiceExperienceType_OTHER ServiceExperienceType = "OTHER" +) diff --git a/models/model_service_identification.go b/models/model_service_identification.go new file mode 100644 index 00000000..0321925c --- /dev/null +++ b/models/model_service_identification.go @@ -0,0 +1,21 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the service to which the subscription applies. +type ServiceIdentification struct { + ServEthFlows []EthernetFlowInfo `json:"servEthFlows,omitempty" yaml:"servEthFlows" bson:"servEthFlows,omitempty"` + ServIpFlows []IpFlowInfo `json:"servIpFlows,omitempty" yaml:"servIpFlows" bson:"servIpFlows,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` +} diff --git a/models/model_service_info_status.go b/models/model_service_info_status.go new file mode 100644 index 00000000..becde742 --- /dev/null +++ b/models/model_service_info_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceInfoStatus string + +// List of ServiceInfoStatus +const ( + ServiceInfoStatus_FINAL ServiceInfoStatus = "FINAL" + ServiceInfoStatus_PRELIMINARY ServiceInfoStatus = "PRELIMINARY" +) diff --git a/models/model_service_information.go b/models/model_service_information.go new file mode 100644 index 00000000..822d600a --- /dev/null +++ b/models/model_service_information.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceInformation string + +// List of ServiceInformation +const ( + ServiceInformation_REQUEST ServiceInformation = "INCLUDE_REGISTER_REQUEST" + ServiceInformation_RESPONSE ServiceInformation = "INCLUDE_REGISTER_RESPONSE" +) diff --git a/models/model_service_level_trace_information.go b/models/model_service_level_trace_information.go new file mode 100644 index 00000000..110e91cc --- /dev/null +++ b/models/model_service_level_trace_information.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Service Level Trace Information +type ServiceLevelTraceInformation struct { + ServiceLevelTraceInfo string `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` +} diff --git a/models/model_service_name.go b/models/model_service_name.go index cd49614b..191ef4c4 100644 --- a/models/model_service_name.go +++ b/models/model_service_name.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Npcf_UEPolicyControl * - * NRF NFManagement Service + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,41 +16,150 @@ type ServiceName string // List of ServiceName const ( - ServiceName_NNRF_NFM ServiceName = "nnrf-nfm" - ServiceName_NNRF_DISC ServiceName = "nnrf-disc" - ServiceName_NUDM_SDM ServiceName = "nudm-sdm" - ServiceName_NUDM_UECM ServiceName = "nudm-uecm" - ServiceName_NUDM_UEAU ServiceName = "nudm-ueau" - ServiceName_NUDM_EE ServiceName = "nudm-ee" - ServiceName_NUDM_PP ServiceName = "nudm-pp" - ServiceName_NAMF_COMM ServiceName = "namf-comm" - ServiceName_NAMF_EVTS ServiceName = "namf-evts" - ServiceName_NAMF_MT ServiceName = "namf-mt" - ServiceName_NAMF_LOC ServiceName = "namf-loc" - ServiceName_NAMF_OAM ServiceName = "namf-oam" - ServiceName_NSMF_PDUSESSION ServiceName = "nsmf-pdusession" - ServiceName_NSMF_EVENT_EXPOSURE ServiceName = "nsmf-event-exposure" - ServiceName_NSMF_OAM ServiceName = "nsmf-oam" - ServiceName_NAUSF_AUTH ServiceName = "nausf-auth" - ServiceName_NAUSF_SORPROTECTION ServiceName = "nausf-sorprotection" - ServiceName_NAUSF_UPUPROTECTION ServiceName = "nausf-upuprotection" - ServiceName_NNEF_PFDMANAGEMENT ServiceName = "nnef-pfdmanagement" - ServiceName_NPCF_AM_POLICY_CONTROL ServiceName = "npcf-am-policy-control" - ServiceName_NPCF_SMPOLICYCONTROL ServiceName = "npcf-smpolicycontrol" - ServiceName_NPCF_POLICYAUTHORIZATION ServiceName = "npcf-policyauthorization" - ServiceName_NPCF_BDTPOLICYCONTROL ServiceName = "npcf-bdtpolicycontrol" - ServiceName_NPCF_EVENTEXPOSURE ServiceName = "npcf-eventexposure" - ServiceName_NPCF_UE_POLICY_CONTROL ServiceName = "npcf-ue-policy-control" - ServiceName_NPCF_OAM ServiceName = "npcf-oam" - ServiceName_NSMSF_SMS ServiceName = "nsmsf-sms" - ServiceName_NNSSF_NSSELECTION ServiceName = "nnssf-nsselection" - ServiceName_NNSSF_NSSAIAVAILABILITY ServiceName = "nnssf-nssaiavailability" - ServiceName_NUDR_DR ServiceName = "nudr-dr" - ServiceName_NLMF_LOC ServiceName = "nlmf-loc" - ServiceName_N5G_EIR_EIC ServiceName = "n5g-eir-eic" - ServiceName_NBSF_MANAGEMENT ServiceName = "nbsf-management" - ServiceName_NCHF_SPENDINGLIMITCONTROL ServiceName = "nchf-spendinglimitcontrol" - ServiceName_NCHF_CONVERGEDCHARGING ServiceName = "nchf-convergedcharging" - ServiceName_NNWDAF_EVENTSSUBSCRIPTION ServiceName = "nnwdaf-eventssubscription" - ServiceName_NNWDAF_ANALYTICSINFO ServiceName = "nnwdaf-analyticsinfo" + ServiceName_NNRF_NFM ServiceName = "nnrf-nfm" + ServiceName_NNRF_DISC ServiceName = "nnrf-disc" + ServiceName_NNRF_OAUTH2 ServiceName = "nnrf-oauth2" + ServiceName_NNRF_OAM ServiceName = "nnrf-oam" + ServiceName_NNRF_CMI ServiceName = "nnrf-cmi" + ServiceName_NUDM_SDM ServiceName = "nudm-sdm" + ServiceName_NUDM_UECM ServiceName = "nudm-uecm" + ServiceName_NUDM_UEAU ServiceName = "nudm-ueau" + ServiceName_NUDM_EE ServiceName = "nudm-ee" + ServiceName_NUDM_PP ServiceName = "nudm-pp" + ServiceName_NUDM_NIDDAU ServiceName = "nudm-niddau" + ServiceName_NUDM_MT ServiceName = "nudm-mt" + ServiceName_NUDM_SSAU ServiceName = "nudm-ssau" + ServiceName_NUDM_RSDS ServiceName = "nudm-rsds" + ServiceName_NUDM_UEID ServiceName = "nudm-ueid" + ServiceName_NUDM_OAM ServiceName = "nudm-oam" + ServiceName_NUDM_CMI ServiceName = "nudm-cmi" + ServiceName_NAMF_COMM ServiceName = "namf-comm" + ServiceName_NAMF_EVTS ServiceName = "namf-evts" + ServiceName_NAMF_MT ServiceName = "namf-mt" + ServiceName_NAMF_LOC ServiceName = "namf-loc" + ServiceName_NAMF_MBS_COMM ServiceName = "namf-mbs-comm" + ServiceName_NAMF_MBS_BC ServiceName = "namf-mbs-bc" + ServiceName_NAMF_OAM ServiceName = "namf-oam" + ServiceName_NAMF_CMI ServiceName = "namf-cmi" + ServiceName_NSMF_PDUSESSION ServiceName = "nsmf-pdusession" + ServiceName_NSMF_EVENT_EXPOSURE ServiceName = "nsmf-event-exposure" + ServiceName_NSMF_NIDD ServiceName = "nsmf-nidd" + ServiceName_NSMF_OAM ServiceName = "nsmf-oam" + ServiceName_NSMF_CMI ServiceName = "nsmf-cmi" + ServiceName_NAUSF_AUTH ServiceName = "nausf-auth" + ServiceName_NAUSF_SORPROTECTION ServiceName = "nausf-sorprotection" + ServiceName_NAUSF_UPUPROTECTION ServiceName = "nausf-upuprotection" + ServiceName_NAUSF_OAM ServiceName = "nausf-oam" + ServiceName_NAUSF_CMI ServiceName = "nausf-cmi" + ServiceName_NNEF_PFDMANAGEMENT ServiceName = "nnef-pfdmanagement" + ServiceName_NNEF_SMCONTEXT ServiceName = "nnef-smcontext" + ServiceName_NNEF_EVENTEXPOSURE ServiceName = "nnef-eventexposure" + ServiceName_NNEF_EAS_DEPLOYMENT_INFO ServiceName = "nnef-eas-deployment-info" + ServiceName_NNEF_OAM ServiceName = "nnef-oam" + ServiceName_NNEF_CMI ServiceName = "nnef-cmi" + ServiceName_3GPP_CP_PARAMETER_PROVISIONING ServiceName = "3gpp-cp-parameter-provisioning" + ServiceName_3GPP_DEVICE_TRIGGERING ServiceName = "3gpp-device-triggering" + ServiceName_3GPP_BDT ServiceName = "3gpp-bdt" + ServiceName_3GPP_TRAFFIC_INFLUENCE ServiceName = "3gpp-traffic-influence" + ServiceName_3GPP_CHARGEABLE_PARTY ServiceName = "3gpp-chargeable-party" + ServiceName_3GPP_AS_SESSION_WITH_QOS ServiceName = "3gpp-as-session-with-qos" + ServiceName_3GPP_PFD_MANAGEMENT ServiceName = "3gpp-pfd-management" + ServiceName_3GPP_MSISDN_LESS_MO_SMS ServiceName = "3gpp-msisdn-less-mo-sms" + ServiceName_3GPP_SERVICE_PARAMETER ServiceName = "3gpp-service-parameter" + ServiceName_3GPP_MONITORING_EVENT ServiceName = "3gpp-monitoring-event" + ServiceName_3GPP_NIDD_CONFIGURATION_TRIGGER ServiceName = "3gpp-nidd-configuration-trigger" + ServiceName_3GPP_NIDD ServiceName = "3gpp-nidd" + ServiceName_3GPP_ANALYTICSEXPOSURE ServiceName = "3gpp-analyticsexposure" + ServiceName_3GPP_RACS_PARAMETER_PROVISIONING ServiceName = "3gpp-racs-parameter-provisioning" + ServiceName_3GPP_ECR_CONTROL ServiceName = "3gpp-ecr-control" + ServiceName_3GPP_APPLYING_BDT_POLICY ServiceName = "3gpp-applying-bdt-policy" + ServiceName_3GPP_MO_LCS_NOTIFY ServiceName = "3gpp-mo-lcs-notify" + ServiceName_3GPP_TIME_SYNC ServiceName = "3gpp-time-sync" + ServiceName_3GPP_AM_INFLUENCE ServiceName = "3gpp-am-influence" + ServiceName_3GPP_AM_POLICYAUTHORIZATION ServiceName = "3gpp-am-policyauthorization" + ServiceName_3GPP_AKMA ServiceName = "3gpp-akma" + ServiceName_3GPP_EAS_DEPLOYMENT ServiceName = "3gpp-eas-deployment" + ServiceName_3GPP_IPTVCONFIGURATION ServiceName = "3gpp-iptvconfiguration" + ServiceName_3GPP_MBS_TMGI ServiceName = "3gpp-mbs-tmgi" + ServiceName_3GPP_MBS_SESSION ServiceName = "3gpp-mbs-session" + ServiceName_3GPP_AUTHENTICATION ServiceName = "3gpp-authentication" + ServiceName_3GPP_ASTI ServiceName = "3gpp-asti" + ServiceName_NPCF_AM_POLICY_CONTROL ServiceName = "npcf-am-policy-control" + ServiceName_NPCF_SMPOLICYCONTROL ServiceName = "npcf-smpolicycontrol" + ServiceName_NPCF_POLICYAUTHORIZATION ServiceName = "npcf-policyauthorization" + ServiceName_NPCF_BDTPOLICYCONTROL ServiceName = "npcf-bdtpolicycontrol" + ServiceName_NPCF_EVENTEXPOSURE ServiceName = "npcf-eventexposure" + ServiceName_NPCF_UE_POLICY_CONTROL ServiceName = "npcf-ue-policy-control" + ServiceName_NPCF_AM_POLICYAUTHORIZATION ServiceName = "npcf-am-policyauthorization" + ServiceName_NPCF_MBSPOLICYCONTROL ServiceName = "npcf-mbspolicycontrol" + ServiceName_NPCF_MBSPOLICYAUTH ServiceName = "npcf-mbspolicyauth" + ServiceName_NPCF_OAM ServiceName = "npcf-oam" + ServiceName_NPCF_CMI ServiceName = "npcf-cmi" + ServiceName_NSMSF_SMS ServiceName = "nsmsf-sms" + ServiceName_NNSSF_NSSELECTION ServiceName = "nnssf-nsselection" + ServiceName_NNSSF_NSSAIAVAILABILITY ServiceName = "nnssf-nssaiavailability" + ServiceName_NNSSF_OAM ServiceName = "nnssf-oam" + ServiceName_NNSSF_CMI ServiceName = "nnssf-cmi" + ServiceName_NUDR_DR ServiceName = "nudr-dr" + ServiceName_NUDR_GROUP_ID_MAP ServiceName = "nudr-group-id-map" + ServiceName_NUDR_OAM ServiceName = "nudr-oam" + ServiceName_NUDR_CMI ServiceName = "nudr-cmi" + ServiceName_NLMF_LOC ServiceName = "nlmf-loc" + ServiceName_N5G_EIR_EIC ServiceName = "n5g-eir-eic" + ServiceName_NBSF_MANAGEMENT ServiceName = "nbsf-management" + ServiceName_NCHF_SPENDINGLIMITCONTROL ServiceName = "nchf-spendinglimitcontrol" + ServiceName_NCHF_CONVERGEDCHARGING ServiceName = "nchf-convergedcharging" + ServiceName_NCHF_OFFLINEONLYCHARGING ServiceName = "nchf-offlineonlycharging" + ServiceName_NNWDAF_EVENTSSUBSCRIPTION ServiceName = "nnwdaf-eventssubscription" + ServiceName_NNWDAF_ANALYTICSINFO ServiceName = "nnwdaf-analyticsinfo" + ServiceName_NNWDAF_DATAMANAGEMENT ServiceName = "nnwdaf-datamanagement" + ServiceName_NNWDAF_MLMODELPROVISION ServiceName = "nnwdaf-mlmodelprovision" + ServiceName_NGMLC_LOC ServiceName = "ngmlc-loc" + ServiceName_NUCMF_PROVISIONING ServiceName = "nucmf-provisioning" + ServiceName_NUCMF_UECAPABILITYMANAGEMENT ServiceName = "nucmf-uecapabilitymanagement" + ServiceName_NHSS_SDM ServiceName = "nhss-sdm" + ServiceName_NHSS_UECM ServiceName = "nhss-uecm" + ServiceName_NHSS_UEAU ServiceName = "nhss-ueau" + ServiceName_NHSS_EE ServiceName = "nhss-ee" + ServiceName_NHSS_IMS_SDM ServiceName = "nhss-ims-sdm" + ServiceName_NHSS_IMS_UECM ServiceName = "nhss-ims-uecm" + ServiceName_NHSS_IMS_UEAU ServiceName = "nhss-ims-ueau" + ServiceName_NHSS_GBA_SDM ServiceName = "nhss-gba-sdm" + ServiceName_NHSS_GBA_UEAU ServiceName = "nhss-gba-ueau" + ServiceName_NSEPP_TELESCOPIC ServiceName = "nsepp-telescopic" + ServiceName_NSORAF_SOR ServiceName = "nsoraf-sor" + ServiceName_NSPAF_SECURED_PACKET ServiceName = "nspaf-secured-packet" + ServiceName_NUDSF_DR ServiceName = "nudsf-dr" + ServiceName_NUDSF_TIMER ServiceName = "nudsf-timer" + ServiceName_NNSSAAF_NSSAA ServiceName = "nnssaaf-nssaa" + ServiceName_NNSSAAF_AIW ServiceName = "nnssaaf-aiw" + ServiceName_NAANF_AKMA ServiceName = "naanf-akma" + ServiceName_N5GDDNMF_DISCOVERY ServiceName = "n5gddnmf-discovery" + ServiceName_NMFAF_3DADM ServiceName = "nmfaf-3dadm" + ServiceName_NMFAF_3CADM ServiceName = "nmfaf-3cadm" + ServiceName_NEASDF_DNSCONTEXT ServiceName = "neasdf-dnscontext" + ServiceName_NEASDF_BASELINEDNSPATTERN ServiceName = "neasdf-baselinednspattern" + ServiceName_NDCCF_DM ServiceName = "ndccf-dm" + ServiceName_NDCCF_CM ServiceName = "ndccf-cm" + ServiceName_NNSACF_NSAC ServiceName = "nnsacf-nsac" + ServiceName_NNSACF_SLICE_EE ServiceName = "nnsacf-slice-ee" + ServiceName_NMBSMF_TMGI ServiceName = "nmbsmf-tmgi" + ServiceName_NMBSMF_MBSSESSION ServiceName = "nmbsmf-mbssession" + ServiceName_NADRF_DM ServiceName = "nadrf-dm" + ServiceName_NBSP_GBA ServiceName = "nbsp-gba" + ServiceName_NTSCTSF_TIME_SYNC ServiceName = "ntsctsf-time-sync" + ServiceName_NTSCTSF_QOS_TSCAI ServiceName = "ntsctsf-qos-tscai" + ServiceName_NTSCTSF_ASTI ServiceName = "ntsctsf-asti" + ServiceName_NPKMF_KEYREQ ServiceName = "npkmf-keyreq" + ServiceName_NPKMF_USERID ServiceName = "npkmf-userid" + ServiceName_NPKMF_DISCOVERY ServiceName = "npkmf-discovery" + ServiceName_NMNPF_NPSTATUS ServiceName = "nmnpf-npstatus" + ServiceName_NIWMSC_SMSERVICE ServiceName = "niwmsc-smservice" + ServiceName_NMBSF_MBS_US ServiceName = "nmbsf-mbs-us" + ServiceName_NMBSF_MBS_UD_INGEST ServiceName = "nmbsf-mbs-ud-ingest" + ServiceName_NMBSTF_DISTSESSION ServiceName = "nmbstf-distsession" + ServiceName_NPANF_PROSEKEY ServiceName = "npanf-prosekey" + ServiceName_NPANF_USERID ServiceName = "npanf-userid" + ServiceName_NUPF_OAM ServiceName = "nupf-oam" + ServiceName_NUPF_CMI ServiceName = "nupf-cmi" ) diff --git a/models/model_service_name_cond.go b/models/model_service_name_cond.go index 6294ba31..7c58f731 100644 --- a/models/model_service_name_cond.go +++ b/models/model_service_name_cond.go @@ -1,14 +1,18 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Subscription to a set of NFs based on their support for a given Service Name type ServiceNameCond struct { - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName" mapstructure:"ServiceName"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` } diff --git a/models/model_service_name_list_cond.go b/models/model_service_name_list_cond.go new file mode 100644 index 00000000..eebc6407 --- /dev/null +++ b/models/model_service_name_list_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their support for a Service Name in the Servic Name list +type ServiceNameListCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` +} diff --git a/models/model_service_parameter_data.go b/models/model_service_parameter_data.go new file mode 100644 index 00000000..d2a2c81e --- /dev/null +++ b/models/model_service_parameter_data.go @@ -0,0 +1,59 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the service parameter data. +type ServiceParameterData struct { + // Identifies an application. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Represents configuration parameters for V2X communications over PC5 reference point. + ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` + // Represents configuration parameters for V2X communications over Uu reference point. + ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` + // Represents the service parameters for 5G ProSe direct discovery. + ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` + // Represents the service parameters for 5G ProSe direct communications. + ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` + // Represents the service parameters for 5G ProSe UE-to-network relay UE. + ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` + // Represents the service parameters for 5G ProSe Remate UE. + ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` + // Contains the service parameter used to guide the URSP. + UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` + // Contains the outcome of the UE Policy Delivery. + DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` + // Contains the Notification Correlation Id allocated by the NEF for the notification of UE Policy delivery outcome. + PolicDelivNotifCorreId string `json:"policDelivNotifCorreId,omitempty" yaml:"policDelivNotifCorreId" bson:"policDelivNotifCorreId,omitempty"` + // String providing an URI formatted according to RFC 3986. + PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_service_parameter_data_patch.go b/models/model_service_parameter_data_patch.go new file mode 100644 index 00000000..3639d0fd --- /dev/null +++ b/models/model_service_parameter_data_patch.go @@ -0,0 +1,39 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the service parameter data that can be updated. +type ServiceParameterDataPatch struct { + // Represents configuration parameters for V2X communications over PC5 reference point. + ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` + // Represents configuration parameters for V2X communications over Uu reference point. + ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` + // Represents the service parameters for 5G ProSe direct discovery. + ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` + // Represents the service parameters for 5G ProSe direct communications. + ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` + // Represents the service parameters for 5G ProSe UE-to-network relay UE. + ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` + // Represents the service parameters for 5G ProSe Remate UE. + ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` + // Contains the service parameter used to influence the URSP. This attribute is deprecated by the urspGuidance attribute. + UrspInfluence []UrspRuleRequest `json:"urspInfluence,omitempty" yaml:"urspInfluence" bson:"urspInfluence,omitempty"` + // Contains the service parameter used to influence the URSP. + UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` + // Contains the outcome of the UE Policy Delivery. + DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` + // String providing an URI formatted according to RFC 3986. + PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` +} diff --git a/models/model_service_profile_charging_information.go b/models/model_service_profile_charging_information.go index 61ea20ab..e8f3ac1a 100644 --- a/models/model_service_profile_charging_information.go +++ b/models/model_service_profile_charging_information.go @@ -1,29 +1,34 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type ServiceProfileChargingInformation struct { - ServiceProfileIdentifier string `json:"serviceProfileIdentifier,omitempty" yaml:"serviceProfileIdentifier" bson:"serviceProfileIdentifier" mapstructure:"ServiceProfileIdentifier"` - SNSSAIList []Snssai `json:"sNSSAIList,omitempty" yaml:"sNSSAIList" bson:"sNSSAIList" mapstructure:"SNSSAIList"` - Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency" mapstructure:"Latency"` - Availability float32 `json:"availability,omitempty" yaml:"availability" bson:"availability" mapstructure:"Availability"` - Jitter int32 `json:"jitter,omitempty" yaml:"jitter" bson:"jitter" mapstructure:"Jitter"` - Reliability string `json:"reliability,omitempty" yaml:"reliability" bson:"reliability" mapstructure:"Reliability"` - MaxNumberofUEs int32 `json:"maxNumberofUEs,omitempty" yaml:"maxNumberofUEs" bson:"maxNumberofUEs" mapstructure:"MaxNumberofUEs"` - CoverageArea string `json:"coverageArea,omitempty" yaml:"coverageArea" bson:"coverageArea" mapstructure:"CoverageArea"` - DLThptPerSlice *Throughput `json:"dLThptPerSlice,omitempty" yaml:"dLThptPerSlice" bson:"dLThptPerSlice" mapstructure:"DLThptPerSlice"` - DLThptPerUE *Throughput `json:"dLThptPerUE,omitempty" yaml:"dLThptPerUE" bson:"dLThptPerUE" mapstructure:"DLThptPerUE"` - ULThptPerSlice *Throughput `json:"uLThptPerSlice,omitempty" yaml:"uLThptPerSlice" bson:"uLThptPerSlice" mapstructure:"ULThptPerSlice"` - ULThptPerUE *Throughput `json:"uLThptPerUE,omitempty" yaml:"uLThptPerUE" bson:"uLThptPerUE" mapstructure:"ULThptPerUE"` - MaxNumberofPDUsessions int32 `json:"maxNumberofPDUsessions,omitempty" yaml:"maxNumberofPDUsessions" bson:"maxNumberofPDUsessions" mapstructure:"MaxNumberofPDUsessions"` - KPIMonitoringList string `json:"kPIMonitoringList,omitempty" yaml:"kPIMonitoringList" bson:"kPIMonitoringList" mapstructure:"KPIMonitoringList"` - SupportedAccessTechnology int32 `json:"supportedAccessTechnology,omitempty" yaml:"supportedAccessTechnology" bson:"supportedAccessTechnology" mapstructure:"SupportedAccessTechnology"` - AddServiceProfileInfo string `json:"addServiceProfileInfo,omitempty" yaml:"addServiceProfileInfo" bson:"addServiceProfileInfo" mapstructure:"AddServiceProfileInfo"` + ServiceProfileIdentifier string `json:"serviceProfileIdentifier,omitempty" yaml:"serviceProfileIdentifier" bson:"serviceProfileIdentifier,omitempty"` + SNSSAIList []Snssai `json:"sNSSAIList,omitempty" yaml:"sNSSAIList" bson:"sNSSAIList,omitempty"` + SST int32 `json:"sST,omitempty" yaml:"sST" bson:"sST,omitempty"` + Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` + Availability float32 `json:"availability,omitempty" yaml:"availability" bson:"availability,omitempty"` + ResourceSharingLevel SharingLevel `json:"resourceSharingLevel,omitempty" yaml:"resourceSharingLevel" bson:"resourceSharingLevel,omitempty"` + Jitter int32 `json:"jitter,omitempty" yaml:"jitter" bson:"jitter,omitempty"` + Reliability string `json:"reliability,omitempty" yaml:"reliability" bson:"reliability,omitempty"` + MaxNumberofUEs int32 `json:"maxNumberofUEs,omitempty" yaml:"maxNumberofUEs" bson:"maxNumberofUEs,omitempty"` + CoverageArea string `json:"coverageArea,omitempty" yaml:"coverageArea" bson:"coverageArea,omitempty"` + DLThptPerSlice *Throughput `json:"dLThptPerSlice,omitempty" yaml:"dLThptPerSlice" bson:"dLThptPerSlice,omitempty"` + DLThptPerUE *Throughput `json:"dLThptPerUE,omitempty" yaml:"dLThptPerUE" bson:"dLThptPerUE,omitempty"` + ULThptPerSlice *Throughput `json:"uLThptPerSlice,omitempty" yaml:"uLThptPerSlice" bson:"uLThptPerSlice,omitempty"` + ULThptPerUE *Throughput `json:"uLThptPerUE,omitempty" yaml:"uLThptPerUE" bson:"uLThptPerUE,omitempty"` + MaxNumberofPDUsessions int32 `json:"maxNumberofPDUsessions,omitempty" yaml:"maxNumberofPDUsessions" bson:"maxNumberofPDUsessions,omitempty"` + KPIMonitoringList string `json:"kPIMonitoringList,omitempty" yaml:"kPIMonitoringList" bson:"kPIMonitoringList,omitempty"` + SupportedAccessTechnology int32 `json:"supportedAccessTechnology,omitempty" yaml:"supportedAccessTechnology" bson:"supportedAccessTechnology,omitempty"` + AddServiceProfileInfo string `json:"addServiceProfileInfo,omitempty" yaml:"addServiceProfileInfo" bson:"addServiceProfileInfo,omitempty"` } diff --git a/models/model_service_specific_authorization_data.go b/models/model_service_specific_authorization_data.go new file mode 100644 index 00000000..fdce8a16 --- /dev/null +++ b/models/model_service_specific_authorization_data.go @@ -0,0 +1,23 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authorization Response for a specific service. +type ServiceSpecificAuthorizationData struct { + AuthorizationUeId *AuthorizationUeId `json:"authorizationUeId,omitempty" yaml:"authorizationUeId" bson:"authorizationUeId,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + AuthId string `json:"authId,omitempty" yaml:"authId" bson:"authId,omitempty"` +} diff --git a/models/model_service_specific_authorization_info.go b/models/model_service_specific_authorization_info.go new file mode 100644 index 00000000..eec2248c --- /dev/null +++ b/models/model_service_specific_authorization_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active Service Specific Authorizations +type ServiceSpecificAuthorizationInfo struct { + ServiceSpecificAuthorizationList []AuthorizationInfo `json:"serviceSpecificAuthorizationList" yaml:"serviceSpecificAuthorizationList" bson:"serviceSpecificAuthorizationList,omitempty"` +} diff --git a/models/model_service_specific_authorization_remove_data.go b/models/model_service_specific_authorization_remove_data.go new file mode 100644 index 00000000..02352846 --- /dev/null +++ b/models/model_service_specific_authorization_remove_data.go @@ -0,0 +1,18 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information for Authorization removal of a specific service. +type ServiceSpecificAuthorizationRemoveData struct { + AuthId string `json:"authId" yaml:"authId" bson:"authId,omitempty"` +} diff --git a/models/model_service_type.go b/models/model_service_type.go new file mode 100644 index 00000000..181e90d3 --- /dev/null +++ b/models/model_service_type.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceType string + +// List of ServiceType +const ( + ServiceType_AF_GUIDANCE_FOR_URSP ServiceType = "AF_GUIDANCE_FOR_URSP" +) diff --git a/models/model_service_type_unrelated_class.go b/models/model_service_type_unrelated_class.go new file mode 100644 index 00000000..85eaa2ae --- /dev/null +++ b/models/model_service_type_unrelated_class.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceTypeUnrelatedClass struct { + // LCS service type. + ServiceType int32 `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` + CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` +} diff --git a/models/model_serving_location.go b/models/model_serving_location.go new file mode 100644 index 00000000..97570e53 --- /dev/null +++ b/models/model_serving_location.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServingLocation struct { + GeographicalLocation *GeoLoc `json:"geographicalLocation,omitempty" yaml:"geographicalLocation" bson:"geographicalLocation,omitempty"` + TopologicalLocation *TopologicalServiceArea `json:"topologicalLocation,omitempty" yaml:"topologicalLocation" bson:"topologicalLocation,omitempty"` +} diff --git a/models/model_serving_network_function_id.go b/models/model_serving_network_function_id.go deleted file mode 100644 index 82ba24c6..00000000 --- a/models/model_serving_network_function_id.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServingNetworkFunctionId struct { - ServingNetworkFunctionInformation *NfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation" mapstructure:"ServingNetworkFunctionInformation"` - AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId" mapstructure:"AMFId"` -} diff --git a/models/model_serving_nf_identity.go b/models/model_serving_nf_identity.go index dc95633b..f5b1d657 100644 --- a/models/model_serving_nf_identity.go +++ b/models/model_serving_nf_identity.go @@ -1,16 +1,22 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the serving Network Function identity. type ServingNfIdentity struct { - ServNfInstId string `json:"servNfInstId,omitempty" yaml:"servNfInstId" bson:"servNfInstId" mapstructure:"ServNfInstId"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami" mapstructure:"Guami"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr" mapstructure:"AnGwAddr"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServNfInstId string `json:"servNfInstId,omitempty" yaml:"servNfInstId" bson:"servNfInstId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + SgsnAddr *SgsnAddress `json:"sgsnAddr,omitempty" yaml:"sgsnAddr" bson:"sgsnAddr,omitempty"` } diff --git a/models/model_serving_node_address.go b/models/model_serving_node_address.go new file mode 100644 index 00000000..99618f59 --- /dev/null +++ b/models/model_serving_node_address.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServingNodeAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` +} diff --git a/models/model_sess_inact_timer_for_ue_comm.go b/models/model_sess_inact_timer_for_ue_comm.go new file mode 100644 index 00000000..13ed47e9 --- /dev/null +++ b/models/model_sess_inact_timer_for_ue_comm.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the N4 Session inactivity timer. +type SessInactTimerForUeComm struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + N4SessId int32 `json:"n4SessId" yaml:"n4SessId" bson:"n4SessId,omitempty"` + // indicating a time in seconds. + SessInactiveTimer int32 `json:"sessInactiveTimer" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` +} diff --git a/models/model_session_failover.go b/models/model_session_failover.go index fae6140d..ab9ad8e6 100644 --- a/models/model_session_failover.go +++ b/models/model_session_failover.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_session_management_subscription_data.go b/models/model_session_management_subscription_data.go index cac96f14..b0f4ab17 100644 --- a/models/model_session_management_subscription_data.go +++ b/models/model_session_management_subscription_data.go @@ -1,18 +1,33 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SessionManagementSubscriptionData struct { - SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai" mapstructure:"SingleNssai"` - // A map (list of key-value pairs where Dnn serves as key) of DnnConfigurations - DnnConfigurations map[string]DnnConfiguration `json:"dnnConfigurations,omitempty" yaml:"dnnConfigurations" bson:"dnnConfigurations" mapstructure:"DnnConfigurations"` - InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds" mapstructure:"InternalGroupIds"` - SharedDnnConfigurationsIds string `json:"sharedDnnConfigurationsIds,omitempty" yaml:"sharedDnnConfigurationsIds" bson:"sharedDnnConfigurationsIds" mapstructure:"SharedDnnConfigurationsIds"` + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // A map (list of key-value pairs where Dnn, or optionally the Wildcard DNN, serves as key) of DnnConfigurations + DnnConfigurations map[string]DnnConfiguration `json:"dnnConfigurations,omitempty" yaml:"dnnConfigurations" bson:"dnnConfigurations,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of SharedDataId + SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` + SharedDnnConfigurationsId string `json:"sharedDnnConfigurationsId,omitempty" yaml:"sharedDnnConfigurationsId" bson:"sharedDnnConfigurationsId,omitempty"` + OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SharedTraceDataId string `json:"sharedTraceDataId,omitempty" yaml:"sharedTraceDataId" bson:"sharedTraceDataId,omitempty"` + // A map(list of key-value pairs) where Dnn serves as key of ExpectedUeBehaviourData + ExpectedUeBehavioursList map[string]ExpectedUeBehaviourData `json:"expectedUeBehavioursList,omitempty" yaml:"expectedUeBehavioursList" bson:"expectedUeBehavioursList,omitempty"` + // A map(list of key-value pairs) where Dnn serves as key of SuggestedPacketNumDl + SuggestedPacketNumDlList map[string]SuggestedPacketNumDl `json:"suggestedPacketNumDlList,omitempty" yaml:"suggestedPacketNumDlList" bson:"suggestedPacketNumDlList,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_session_rule.go b/models/model_session_rule.go index b0e1f765..b7dc67fc 100644 --- a/models/model_session_rule.go +++ b/models/model_session_rule.go @@ -1,21 +1,27 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains session level policy information. type SessionRule struct { - AuthSessAmbr *Ambr `json:"authSessAmbr,omitempty" yaml:"authSessAmbr" bson:"authSessAmbr" mapstructure:"AuthSessAmbr"` - AuthDefQos *AuthorizedDefaultQos `json:"authDefQos,omitempty" yaml:"authDefQos" bson:"authDefQos" mapstructure:"AuthDefQos"` + AuthSessAmbr *Ambr `json:"authSessAmbr,omitempty" yaml:"authSessAmbr" bson:"authSessAmbr,omitempty"` + AuthDefQos *AuthorizedDefaultQos `json:"authDefQos,omitempty" yaml:"authDefQos" bson:"authDefQos,omitempty"` // Univocally identifies the session rule within a PDU session. - SessRuleId string `json:"sessRuleId" yaml:"sessRuleId" bson:"sessRuleId" mapstructure:"SessRuleId"` - // A reference to UsageMonitoringData policy decision type. It is the umId described in subclause 5.6.2.12. - RefUmData string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData" mapstructure:"RefUmData"` - // A reference to the condition data. It is the condId described in subclause 5.6.2.9. - RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData" mapstructure:"RefCondData"` + SessRuleId string `json:"sessRuleId" yaml:"sessRuleId" bson:"sessRuleId,omitempty"` + // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. + RefUmData string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` + // A reference to UsageMonitoringData policy decision type to apply for Non-3GPP access. It is the umId described in clause 5.6.2.12. + RefUmN3gData string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` + // A reference to the condition data. It is the condId described in clause 5.6.2.9. + RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` } diff --git a/models/model_session_rule_failure_code.go b/models/model_session_rule_failure_code.go index a9d8a861..bf1ae53b 100644 --- a/models/model_session_rule_failure_code.go +++ b/models/model_session_rule_failure_code.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,14 @@ type SessionRuleFailureCode string // List of SessionRuleFailureCode const ( - SessionRuleFailureCode_NF_MAL SessionRuleFailureCode = "NF_MAL" - SessionRuleFailureCode_RES_LIM SessionRuleFailureCode = "RES_LIM" - SessionRuleFailureCode_UNSUCC_QOS_VAL SessionRuleFailureCode = "UNSUCC_QOS_VAL" - SessionRuleFailureCode_UE_STA_SUSP SessionRuleFailureCode = "UE_STA_SUSP" + SessionRuleFailureCode_NF_MAL SessionRuleFailureCode = "NF_MAL" + SessionRuleFailureCode_RES_LIM SessionRuleFailureCode = "RES_LIM" + SessionRuleFailureCode_SESSION_RESOURCE_ALLOCATION_FAILURE SessionRuleFailureCode = "SESSION_RESOURCE_ALLOCATION_FAILURE" + SessionRuleFailureCode_UNSUCC_QOS_VAL SessionRuleFailureCode = "UNSUCC_QOS_VAL" + SessionRuleFailureCode_INCORRECT_UM SessionRuleFailureCode = "INCORRECT_UM" + SessionRuleFailureCode_UE_STA_SUSP SessionRuleFailureCode = "UE_STA_SUSP" + SessionRuleFailureCode_UNKNOWN_REF_ID SessionRuleFailureCode = "UNKNOWN_REF_ID" + SessionRuleFailureCode_INCORRECT_COND_DATA SessionRuleFailureCode = "INCORRECT_COND_DATA" + SessionRuleFailureCode_REF_ID_COLLISION SessionRuleFailureCode = "REF_ID_COLLISION" + SessionRuleFailureCode_AN_GW_FAILED SessionRuleFailureCode = "AN_GW_FAILED" ) diff --git a/models/model_session_rule_report.go b/models/model_session_rule_report.go index 30b18e6f..467a0fbd 100644 --- a/models/model_session_rule_report.go +++ b/models/model_session_rule_report.go @@ -1,17 +1,23 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents reporting of the status of a session rule. type SessionRuleReport struct { // Contains the identifier of the affected session rule(s). - RuleIds []string `json:"ruleIds" yaml:"ruleIds" bson:"ruleIds" mapstructure:"RuleIds"` - RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus" mapstructure:"RuleStatus"` - SessRuleFailureCode SessionRuleFailureCode `json:"sessRuleFailureCode,omitempty" yaml:"sessRuleFailureCode" bson:"sessRuleFailureCode" mapstructure:"SessRuleFailureCode"` + RuleIds []string `json:"ruleIds" yaml:"ruleIds" bson:"ruleIds,omitempty"` + RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` + SessRuleFailureCode SessionRuleFailureCode `json:"sessRuleFailureCode,omitempty" yaml:"sessRuleFailureCode" bson:"sessRuleFailureCode,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` } diff --git a/models/model_sgsn_address.go b/models/model_sgsn_address.go new file mode 100644 index 00000000..f9038438 --- /dev/null +++ b/models/model_sgsn_address.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// describes the address of the SGSN +type SgsnAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SgsnIpv4Addr string `json:"sgsnIpv4Addr,omitempty" yaml:"sgsnIpv4Addr" bson:"sgsnIpv4Addr,omitempty"` + SgsnIpv6Addr string `json:"sgsnIpv6Addr,omitempty" yaml:"sgsnIpv6Addr" bson:"sgsnIpv6Addr,omitempty"` +} diff --git a/models/model_sgsn_location_data.go b/models/model_sgsn_location_data.go new file mode 100644 index 00000000..2d6064b4 --- /dev/null +++ b/models/model_sgsn_location_data.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the SGSN serving node +type SgsnLocationData struct { + SgsnNumber string `json:"sgsnNumber" yaml:"sgsnNumber" bson:"sgsnNumber,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SgsnLocation *UtraLocation `json:"sgsnLocation,omitempty" yaml:"sgsnLocation" bson:"sgsnLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/model_shared_authentication_subscription.go b/models/model_shared_authentication_subscription.go deleted file mode 100644 index 50f5fd12..00000000 --- a/models/model_shared_authentication_subscription.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SharedAuthenticationSubscription struct { - AuthenticationManagementField string `json:"authenticationManagementField,omitempty" bson:"authenticationManagementField"` - VectorAlgorithm VectorAlgorithm `json:"vectorAlgorithm" bson:"vectorAlgorithm"` - Milenage *Milenage `json:"milenage,omitempty" bson:"milenage"` - Tuak *Tuak `json:"tuak,omitempty" bson:"tuak"` -} diff --git a/models/model_shared_data.go b/models/model_shared_data.go index 1c911b50..648cac40 100644 --- a/models/model_shared_data.go +++ b/models/model_shared_data.go @@ -1,20 +1,24 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SharedData struct { - SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId" mapstructure:"SharedDataId"` - SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData" mapstructure:"SharedAmData"` - SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData" mapstructure:"SharedSmsSubsData"` - SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData" mapstructure:"SharedSmsMngSubsData"` - SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations" mapstructure:"SharedDnnConfigurations"` - SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData" mapstructure:"SharedTraceData"` - SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos" mapstructure:"SharedSnssaiInfos"` + SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` + SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData,omitempty"` + SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData,omitempty"` + SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData,omitempty"` + SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations,omitempty"` + SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData,omitempty"` + SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos,omitempty"` + SharedVnGroupDatas map[string]VnGroupData `json:"sharedVnGroupDatas,omitempty" yaml:"sharedVnGroupDatas" bson:"sharedVnGroupDatas,omitempty"` } diff --git a/models/model_shared_data_id_range.go b/models/model_shared_data_id_range.go new file mode 100644 index 00000000..d0136e3c --- /dev/null +++ b/models/model_shared_data_id_range.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of SharedDataIds based on regular-expression matching +type SharedDataIdRange struct { + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/model_shared_data_treatment_instruction.go b/models/model_shared_data_treatment_instruction.go new file mode 100644 index 00000000..91d25973 --- /dev/null +++ b/models/model_shared_data_treatment_instruction.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SharedDataTreatmentInstruction string + +// List of SharedDataTreatmentInstruction +const ( + SharedDataTreatmentInstruction_USE_IF_NO_CLASH SharedDataTreatmentInstruction = "USE_IF_NO_CLASH" + SharedDataTreatmentInstruction_OVERWRITE SharedDataTreatmentInstruction = "OVERWRITE" + SharedDataTreatmentInstruction_MAX SharedDataTreatmentInstruction = "MAX" + SharedDataTreatmentInstruction_MIN SharedDataTreatmentInstruction = "MIN" +) diff --git a/models/model_sharing_level.go b/models/model_sharing_level.go new file mode 100644 index 00000000..c9aea004 --- /dev/null +++ b/models/model_sharing_level.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SharingLevel string + +// List of SharingLevel +const ( + SharingLevel_SHARED SharingLevel = "SHARED" + SharingLevel_NON_SHARED SharingLevel = "NON_SHARED" +) diff --git a/models/model_sign.go b/models/model_sign.go new file mode 100644 index 00000000..f015472e --- /dev/null +++ b/models/model_sign.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Sign string + +// List of Sign +const ( + Sign_POSITIVE Sign = "POSITIVE" + Sign_NEGATIVE Sign = "NEGATIVE" +) diff --git a/models/model_sip_authentication_info_request.go b/models/model_sip_authentication_info_request.go new file mode 100644 index 00000000..09acda88 --- /dev/null +++ b/models/model_sip_authentication_info_request.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +type SipAuthenticationInfoRequest struct { + CscfServerName string `json:"cscfServerName" yaml:"cscfServerName" bson:"cscfServerName"` + SipAuthenticationScheme SipAuthenticationScheme `json:"sipAuthenticationScheme" yaml:"sipAuthenticationScheme" bson:"sipAuthenticationScheme"` + SipNumberAuthItems int32 `json:"sipNumberAuthItems,omitempty" yaml:"sipNumberAuthItems" bson:"sipNumberAuthItems"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo"` +} diff --git a/models/model_sip_authentication_info_result.go b/models/model_sip_authentication_info_result.go new file mode 100644 index 00000000..adef34fc --- /dev/null +++ b/models/model_sip_authentication_info_result.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +type SipAuthenticationInfoResult struct { + Impi string `json:"impi" yaml:"impi" bson:"impi"` + Var3gAkaAvs []*Model3GAkaAv `json:"3gAkaAvs,omitempty" yaml:"3gAkaAvs" bson:"3gAkaAvs"` + DigestAuth *DigestAuthentication `json:"digestAuth,omitempty" yaml:"digestAuth" bson:"digestAuth"` + LineIdentifierList []string `json:"lineIdentifierList,omitempty" yaml:"lineIdentifierList" bson:"lineIdentifierList"` + IpAddress *IpAddress `json:"ipAddress,omitempty" yaml:"ipAddress" bson:"ipAddress"` +} diff --git a/models/model_sip_authentication_scheme.go b/models/model_sip_authentication_scheme.go new file mode 100644 index 00000000..e9a01331 --- /dev/null +++ b/models/model_sip_authentication_scheme.go @@ -0,0 +1,27 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type SipAuthenticationScheme string + +// List of SipAuthenticationScheme +const ( + SipAuthenticationScheme_DIGEST_AKAV1_MD5 SipAuthenticationScheme = "DIGEST-AKAV1-MD5" + SipAuthenticationScheme_DIGEST_HTTP SipAuthenticationScheme = "DIGEST-HTTP" + SipAuthenticationScheme_NBA SipAuthenticationScheme = "NBA" + SipAuthenticationScheme_GIBA SipAuthenticationScheme = "GIBA" + SipAuthenticationScheme_UNKNOWN SipAuthenticationScheme = "UNKNOWN" +) + + diff --git a/models/model_sip_digest_algorithm.go b/models/model_sip_digest_algorithm.go new file mode 100644 index 00000000..bf88686a --- /dev/null +++ b/models/model_sip_digest_algorithm.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type SipDigestAlgorithm string + +// List of SipDigestAlgorithm +const ( + SipDigestAlgorithm_MD5 SipDigestAlgorithm = "MD5" + SipDigestAlgorithm_MD5_SESS SipDigestAlgorithm = "MD5_SESS" +) + + diff --git a/models/model_sip_digest_qop.go b/models/model_sip_digest_qop.go new file mode 100644 index 00000000..4ce73f3e --- /dev/null +++ b/models/model_sip_digest_qop.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsUEAU + * + * Nhss UE Authentication Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for Interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + +type SipDigestQop string + +// List of SipDigestQop +const ( + SipDigestQop_AUTH SipDigestQop = "AUTH" + SipDigestQop_AUTH_INT SipDigestQop = "AUTH_INT" +) + + diff --git a/models/model_sip_event_type.go b/models/model_sip_event_type.go new file mode 100644 index 00000000..3dc97b31 --- /dev/null +++ b/models/model_sip_event_type.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SipEventType struct { + SIPMethod string `json:"sIPMethod,omitempty" yaml:"sIPMethod" bson:"sIPMethod,omitempty"` + EventHeader string `json:"eventHeader,omitempty" yaml:"eventHeader" bson:"eventHeader,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ExpiresHeader int32 `json:"expiresHeader,omitempty" yaml:"expiresHeader" bson:"expiresHeader,omitempty"` +} diff --git a/models/model_sip_forking_indication.go b/models/model_sip_forking_indication.go new file mode 100644 index 00000000..215dac96 --- /dev/null +++ b/models/model_sip_forking_indication.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SipForkingIndication string + +// List of SipForkingIndication +const ( + SipForkingIndication_SINGLE_DIALOGUE SipForkingIndication = "SINGLE_DIALOGUE" + SipForkingIndication_SEVERAL_DIALOGUES SipForkingIndication = "SEVERAL_DIALOGUES" +) diff --git a/models/model_slice_info_for_pdu_session.go b/models/model_slice_info_for_pdu_session.go index 987790a8..756f5439 100644 --- a/models/model_slice_info_for_pdu_session.go +++ b/models/model_slice_info_for_pdu_session.go @@ -1,18 +1,20 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the slice information requested during PDU Session establishment procedure type SliceInfoForPduSession struct { - SNssai *Snssai `json:"sNssai" bson:"sNssai"` - - RoamingIndication RoamingIndication `json:"roamingIndication" bson:"roamingIndication"` - - HomeSnssai *Snssai `json:"homeSnssai,omitempty" bson:"homeSnssai"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + RoamingIndication RoamingIndication `json:"roamingIndication" yaml:"roamingIndication" bson:"roamingIndication,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai,omitempty" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` } diff --git a/models/model_slice_info_for_registration.go b/models/model_slice_info_for_registration.go index 255537e0..c097c455 100644 --- a/models/model_slice_info_for_registration.go +++ b/models/model_slice_info_for_registration.go @@ -1,28 +1,28 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the slice information requested during a Registration procedure type SliceInfoForRegistration struct { - SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" bson:"subscribedNssai"` - - AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" bson:"allowedNssaiCurrentAccess"` - - AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" bson:"allowedNssaiOtherAccess"` - - SNssaiForMapping []Snssai `json:"sNssaiForMapping,omitempty" bson:"sNssaiForMapping"` - - RequestedNssai []Snssai `json:"requestedNssai,omitempty" bson:"requestedNssai"` - - DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" bson:"defaultConfiguredSnssaiInd"` - - MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" bson:"mappingOfNssai"` - - RequestMapping bool `json:"requestMapping,omitempty" bson:"requestMapping"` + SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` + AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` + AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` + SNssaiForMapping []Snssai `json:"sNssaiForMapping,omitempty" yaml:"sNssaiForMapping" bson:"sNssaiForMapping,omitempty"` + RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` + DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` + MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` + RequestMapping bool `json:"requestMapping,omitempty" yaml:"requestMapping" bson:"requestMapping,omitempty"` + UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` + NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` } diff --git a/models/model_slice_info_for_ue_configuration_update.go b/models/model_slice_info_for_ue_configuration_update.go new file mode 100644 index 00000000..a413cf83 --- /dev/null +++ b/models/model_slice_info_for_ue_configuration_update.go @@ -0,0 +1,27 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the slice information requested during UE configuration update procedure +type SliceInfoForUeConfigurationUpdate struct { + SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` + AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` + AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` + DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` + RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` + MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` + UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` + RejectedNssaiRa []Snssai `json:"rejectedNssaiRa,omitempty" yaml:"rejectedNssaiRa" bson:"rejectedNssaiRa,omitempty"` + NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` +} diff --git a/models/model_slice_load_level_information.go b/models/model_slice_load_level_information.go new file mode 100644 index 00000000..c92a3092 --- /dev/null +++ b/models/model_slice_load_level_information.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains load level information applicable for one or several slices. +type SliceLoadLevelInformation struct { + // Load level information of the network slice and the optionally associated network slice instance. + LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` + // Identification(s) of network slice to which the subscription applies. + Snssais []Snssai `json:"snssais" yaml:"snssais" bson:"snssais,omitempty"` +} diff --git a/models/model_slice_mbr.go b/models/model_slice_mbr.go new file mode 100644 index 00000000..ba5c32f5 --- /dev/null +++ b/models/model_slice_mbr.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBR related to slice +type SliceMbr struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` +} diff --git a/models/model_slice_mbr_rm.go b/models/model_slice_mbr_rm.go new file mode 100644 index 00000000..4eda9152 --- /dev/null +++ b/models/model_slice_mbr_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SliceMbrRm struct { +} diff --git a/models/model_slice_policy_data.go b/models/model_slice_policy_data.go new file mode 100644 index 00000000..ddcdbf90 --- /dev/null +++ b/models/model_slice_policy_data.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the network slice specific policy control information. +type SlicePolicyData struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrUl string `json:"mbrUl,omitempty" yaml:"mbrUl" bson:"mbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RemainMbrUl string `json:"remainMbrUl,omitempty" yaml:"remainMbrUl" bson:"remainMbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RemainMbrDl string `json:"remainMbrDl,omitempty" yaml:"remainMbrDl" bson:"remainMbrDl,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_sm_address_domain.go b/models/model_sm_address_domain.go index aee5702c..126202bb 100644 --- a/models/model_sm_address_domain.go +++ b/models/model_sm_address_domain.go @@ -1,15 +1,18 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmAddressDomain struct { - DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName" mapstructure:"DomainName"` - Var3GPPIMSIMCCMNC string `json:"3GPPIMSIMCCMNC,omitempty" yaml:"3GPPIMSIMCCMNC" bson:"3GPPIMSIMCCMNC" mapstructure:"Var3GPPIMSIMCCMNC"` + DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` + Var3GPPIMSIMCCMNC string `json:"3GPPIMSIMCCMNC,omitempty" yaml:"3GPPIMSIMCCMNC" bson:"3GPPIMSIMCCMNC,omitempty"` } diff --git a/models/model_sm_address_info.go b/models/model_sm_address_info.go index 0e2784bc..66c397fe 100644 --- a/models/model_sm_address_info.go +++ b/models/model_sm_address_info.go @@ -1,16 +1,19 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmAddressInfo struct { - SMaddressType SmAddressType `json:"sMaddressType,omitempty" yaml:"sMaddressType" bson:"sMaddressType" mapstructure:"SMaddressType"` - SMaddressData string `json:"sMaddressData,omitempty" yaml:"sMaddressData" bson:"sMaddressData" mapstructure:"SMaddressData"` - SMaddressDomain *SmAddressDomain `json:"sMaddressDomain,omitempty" yaml:"sMaddressDomain" bson:"sMaddressDomain" mapstructure:"SMaddressDomain"` + SMaddressType SmAddressType `json:"sMaddressType,omitempty" yaml:"sMaddressType" bson:"sMaddressType,omitempty"` + SMaddressData string `json:"sMaddressData,omitempty" yaml:"sMaddressData" bson:"sMaddressData,omitempty"` + SMaddressDomain *SmAddressDomain `json:"sMaddressDomain,omitempty" yaml:"sMaddressDomain" bson:"sMaddressDomain,omitempty"` } diff --git a/models/model_sm_address_type.go b/models/model_sm_address_type.go index 05a79787..7d0dcbb7 100644 --- a/models/model_sm_address_type.go +++ b/models/model_sm_address_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sm_addressee_type.go b/models/model_sm_addressee_type.go index 3a167f17..aa6627d5 100644 --- a/models/model_sm_addressee_type.go +++ b/models/model_sm_addressee_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sm_context.go b/models/model_sm_context.go new file mode 100644 index 00000000..20e2d741 --- /dev/null +++ b/models/model_sm_context.go @@ -0,0 +1,99 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Complete SM Context +type SmContext struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + PduSessionRef string `json:"pduSessionRef,omitempty" yaml:"pduSessionRef" bson:"pduSessionRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsList []QosFlowSetupItem `json:"qosFlowsList" yaml:"qosFlowsList" bson:"qosFlowsList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PduSessionSmfSetId string `json:"pduSessionSmfSetId,omitempty" yaml:"pduSessionSmfSetId" bson:"pduSessionSmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PduSessionSmfServiceSetId string `json:"pduSessionSmfServiceSetId,omitempty" yaml:"pduSessionSmfServiceSetId" bson:"pduSessionSmfServiceSetId,omitempty"` + PduSessionSmfBinding SbiBindingLevel `json:"pduSessionSmfBinding,omitempty" yaml:"pduSessionSmfBinding" bson:"pduSessionSmfBinding,omitempty"` + EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + ForwardingInd bool `json:"forwardingInd,omitempty" yaml:"forwardingInd" bson:"forwardingInd,omitempty"` + PsaTunnelInfo *TunnelInfo `json:"psaTunnelInfo,omitempty" yaml:"psaTunnelInfo" bson:"psaTunnelInfo,omitempty"` + ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + RanTunnelInfo *QosFlowTunnel `json:"ranTunnelInfo,omitempty" yaml:"ranTunnelInfo" bson:"ranTunnelInfo,omitempty"` + AddRanTunnelInfo []QosFlowTunnel `json:"addRanTunnelInfo,omitempty" yaml:"addRanTunnelInfo" bson:"addRanTunnelInfo,omitempty"` + RedRanTunnelInfo *QosFlowTunnel `json:"redRanTunnelInfo,omitempty" yaml:"redRanTunnelInfo" bson:"redRanTunnelInfo,omitempty"` + AddRedRanTunnelInfo []QosFlowTunnel `json:"addRedRanTunnelInfo,omitempty" yaml:"addRedRanTunnelInfo" bson:"addRedRanTunnelInfo,omitempty"` + NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + SscMode string `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + DlsetSupportInd bool `json:"dlsetSupportInd,omitempty" yaml:"dlsetSupportInd" bson:"dlsetSupportInd,omitempty"` + N9fscSupportInd bool `json:"n9fscSupportInd,omitempty" yaml:"n9fscSupportInd" bson:"n9fscSupportInd,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` +} diff --git a/models/model_sm_context_configuration.go b/models/model_sm_context_configuration.go new file mode 100644 index 00000000..6dfabcc6 --- /dev/null +++ b/models/model_sm_context_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NIDD Configuration for the SM context. +type SmContextConfiguration struct { + SmalDataRateControl *SmallDataRateControl `json:"smalDataRateControl,omitempty" yaml:"smalDataRateControl" bson:"smalDataRateControl,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + // When present, this IE shall contain the maximum allowed number of Downlink NAS Data PDUs per deci hour of the serving PLMN, as specified in subclause 5.31.14.2 of 3GPP TS 23.501 [2]. Minimum 10 + ServPlmnDataRateCtl int32 `json:"servPlmnDataRateCtl,omitempty" yaml:"servPlmnDataRateCtl" bson:"servPlmnDataRateCtl,omitempty"` +} diff --git a/models/model_sm_context_create_data.go b/models/model_sm_context_create_data.go index 6be42f41..0980c40e 100644 --- a/models/model_sm_context_create_data.go +++ b/models/model_sm_context_create_data.go @@ -1,50 +1,93 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmContextCreateData struct { - Supi string `json:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty"` - Pei string `json:"pei,omitempty"` - Gpsi string `json:"gpsi,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty"` - Dnn string `json:"dnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty"` - HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty"` - ServingNfId string `json:"servingNfId"` - Guami *Guami `json:"guami,omitempty"` - ServiceName ServiceName `json:"serviceName,omitempty"` - ServingNetwork *PlmnId `json:"servingNetwork"` - RequestType RequestType `json:"requestType,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty"` - AnType AccessType `json:"anType"` - RatType RatType `json:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - SmContextStatusUri string `json:"smContextStatusUri"` - HSmfUri string `json:"hSmfUri,omitempty"` - AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty"` - OldPduSessionId int32 `json:"oldPduSessionId,omitempty"` - PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty"` - UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty"` - HoState HoState `json:"hoState,omitempty"` - PcfId string `json:"pcfId,omitempty"` - NrfUri string `json:"nrfUri,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty"` - TraceData *TraceData `json:"traceData,omitempty"` - UdmGroupId string `json:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty"` - IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty"` + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + ServingNfId string `json:"servingNfId" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + SmContextStatusUri string `json:"smContextStatusUri" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + HSmfId string `json:"hSmfId,omitempty" yaml:"hSmfId" bson:"hSmfId,omitempty"` + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` + AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty" yaml:"additionalHsmfUri" bson:"additionalHsmfUri,omitempty"` + AdditionalHsmfId []string `json:"additionalHsmfId,omitempty" yaml:"additionalHsmfId" bson:"additionalHsmfId,omitempty"` + AdditionalSmfUri []string `json:"additionalSmfUri,omitempty" yaml:"additionalSmfUri" bson:"additionalSmfUri,omitempty"` + AdditionalSmfId []string `json:"additionalSmfId,omitempty" yaml:"additionalSmfId" bson:"additionalSmfId,omitempty"` + OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` + PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty" yaml:"pduSessionsActivateList" bson:"pduSessionsActivateList,omitempty"` + UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + NrfUri string `json:"nrfUri,omitempty" yaml:"nrfUri" bson:"nrfUri,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty" yaml:"indirectForwardingFlag" bson:"indirectForwardingFlag,omitempty"` + DirectForwardingFlag bool `json:"directForwardingFlag,omitempty" yaml:"directForwardingFlag" bson:"directForwardingFlag,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` + CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` + CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` + InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + SmContextRef string `json:"smContextRef,omitempty" yaml:"smContextRef" bson:"smContextRef,omitempty"` + SmContextSmfId string `json:"smContextSmfId,omitempty" yaml:"smContextSmfId" bson:"smContextSmfId,omitempty"` + SmContextSmfSetId string `json:"smContextSmfSetId,omitempty" yaml:"smContextSmfSetId" bson:"smContextSmfSetId,omitempty"` + SmContextSmfServiceSetId string `json:"smContextSmfServiceSetId,omitempty" yaml:"smContextSmfServiceSetId" bson:"smContextSmfServiceSetId,omitempty"` + SmContextSmfBinding SbiBindingLevel `json:"smContextSmfBinding,omitempty" yaml:"smContextSmfBinding" bson:"smContextSmfBinding,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SmfTransferInd bool `json:"smfTransferInd,omitempty" yaml:"smfTransferInd" bson:"smfTransferInd,omitempty"` + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` + TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` + TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` + RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` } diff --git a/models/model_sm_context_create_error.go b/models/model_sm_context_create_error.go index 49ef41f6..12aee704 100644 --- a/models/model_sm_context_create_error.go +++ b/models/model_sm_context_create_error.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,12 @@ import ( "time" ) +// Error within Create SM Context Response type SmContextCreateError struct { - Error *ProblemDetails `json:"error"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` } diff --git a/models/model_sm_context_created_data.go b/models/model_sm_context_created_data.go index 7f285d73..7fbe44d0 100644 --- a/models/model_sm_context_created_data.go +++ b/models/model_sm_context_created_data.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,15 +17,19 @@ import ( ) type SmContextCreatedData struct { - HSmfUri string `json:"hSmfUri,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty"` - HoState HoState `json:"hoState,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` + SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` } diff --git a/models/model_sm_context_release_data.go b/models/model_sm_context_release_data.go index 6a3eaccc..7f496541 100644 --- a/models/model_sm_context_release_data.go +++ b/models/model_sm_context_release_data.go @@ -1,22 +1,26 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmContextReleaseData struct { - Cause Cause `json:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty"` + Cause Cause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty" yaml:"vsmfReleaseOnly" bson:"vsmfReleaseOnly,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + IsmfReleaseOnly bool `json:"ismfReleaseOnly,omitempty" yaml:"ismfReleaseOnly" bson:"ismfReleaseOnly,omitempty"` } diff --git a/models/model_sm_context_released_data.go b/models/model_sm_context_released_data.go new file mode 100644 index 00000000..e3070951 --- /dev/null +++ b/models/model_sm_context_released_data.go @@ -0,0 +1,19 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Successful release of an Individual SM context with information sent to the NF service consumer. +type SmContextReleasedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` +} diff --git a/models/model_sm_context_retrieve_data.go b/models/model_sm_context_retrieve_data.go index 1f291fd9..1cbd8b8e 100644 --- a/models/model_sm_context_retrieve_data.go +++ b/models/model_sm_context_retrieve_data.go @@ -1,14 +1,22 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Retrieve SM Context Request type SmContextRetrieveData struct { - TargetMmeCap *MmeCapabilities `json:"targetMmeCap,omitempty"` + TargetMmeCap *MmeCapabilities `json:"targetMmeCap,omitempty" yaml:"targetMmeCap" bson:"targetMmeCap,omitempty"` + SmContextType SmContextType `json:"smContextType,omitempty" yaml:"smContextType" bson:"smContextType,omitempty"` + ServingNetwork *PlmnId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + NotToTransferEbiList []int32 `json:"notToTransferEbiList,omitempty" yaml:"notToTransferEbiList" bson:"notToTransferEbiList,omitempty"` + RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` } diff --git a/models/model_sm_context_retrieved_data.go b/models/model_sm_context_retrieved_data.go index 1ea9de67..aa951429 100644 --- a/models/model_sm_context_retrieved_data.go +++ b/models/model_sm_context_retrieved_data.go @@ -1,14 +1,24 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Retrieve SM Context Response type SmContextRetrievedData struct { - UeEpsPdnConnection string `json:"ueEpsPdnConnection"` + // UE EPS PDN Connection container from SMF to AMF + UeEpsPdnConnection string `json:"ueEpsPdnConnection" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` + SmContext *SmContext `json:"smContext,omitempty" yaml:"smContext" bson:"smContext,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` + AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` } diff --git a/models/model_sm_context_status.go b/models/model_sm_context_status.go new file mode 100644 index 00000000..af9f457a --- /dev/null +++ b/models/model_sm_context_status.go @@ -0,0 +1,20 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmContextStatus string + +// List of SmContextStatus +const ( + SmContextStatus_RELEASED SmContextStatus = "RELEASED" +) diff --git a/models/model_sm_context_status_notification.go b/models/model_sm_context_status_notification.go index 1b1c4120..c84bc799 100644 --- a/models/model_sm_context_status_notification.go +++ b/models/model_sm_context_status_notification.go @@ -1,14 +1,27 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmContextStatusNotification struct { - StatusInfo *StatusInfo `json:"statusInfo"` + StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DdnFailureStatus bool `json:"ddnFailureStatus,omitempty" yaml:"ddnFailureStatus" bson:"ddnFailureStatus,omitempty"` + NotifyCorrelationIdsForddnFailure []string `json:"notifyCorrelationIdsForddnFailure,omitempty" yaml:"notifyCorrelationIdsForddnFailure" bson:"notifyCorrelationIdsForddnFailure,omitempty"` + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + NewSmfSetId string `json:"newSmfSetId,omitempty" yaml:"newSmfSetId" bson:"newSmfSetId,omitempty"` + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + AltAnchorSmfUri string `json:"altAnchorSmfUri,omitempty" yaml:"altAnchorSmfUri" bson:"altAnchorSmfUri,omitempty"` + AltAnchorSmfId string `json:"altAnchorSmfId,omitempty" yaml:"altAnchorSmfId" bson:"altAnchorSmfId,omitempty"` } diff --git a/models/model_sm_context_type.go b/models/model_sm_context_type.go new file mode 100644 index 00000000..a328002e --- /dev/null +++ b/models/model_sm_context_type.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmContextType string + +// List of SmContextType +const ( + SmContextType_EPS_PDN_CONNECTION SmContextType = "EPS_PDN_CONNECTION" + SmContextType_SM_CONTEXT SmContextType = "SM_CONTEXT" + SmContextType_AF_COORDINATION_INFO SmContextType = "AF_COORDINATION_INFO" +) diff --git a/models/model_sm_context_update_data.go b/models/model_sm_context_update_data.go index b0d51067..29414e42 100644 --- a/models/model_sm_context_update_data.go +++ b/models/model_sm_context_update_data.go @@ -1,46 +1,66 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmContextUpdateData struct { - Pei string `json:"pei,omitempty"` - Gpsi string `json:"gpsi,omitempty"` - ServingNfId string `json:"servingNfId,omitempty"` - Guami *Guami `json:"guami,omitempty"` - ServingNetwork *PlmnId `json:"servingNetwork,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty"` - AnType AccessType `json:"anType,omitempty"` - RatType RatType `json:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty"` - HoState HoState `json:"hoState,omitempty"` - ToBeSwitched bool `json:"toBeSwitched,omitempty"` - FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty"` - TargetId *NgRanTargetId `json:"targetId,omitempty"` - TargetServingNfId string `json:"targetServingNfId,omitempty"` - SmContextStatusUri string `json:"smContextStatusUri,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty"` - EpsBearerSetup []string `json:"epsBearerSetup,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty"` - Release bool `json:"release,omitempty"` - Cause Cause `json:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty"` - TraceData *TraceData `json:"traceData,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty"` - AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty"` + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + AnTypeToReactivate AccessType `json:"anTypeToReactivate,omitempty" yaml:"anTypeToReactivate" bson:"anTypeToReactivate,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + ToBeSwitched bool `json:"toBeSwitched,omitempty" yaml:"toBeSwitched" bson:"toBeSwitched,omitempty"` + FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty" yaml:"failedToBeSwitched" bson:"failedToBeSwitched,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + TargetServingNfId string `json:"targetServingNfId,omitempty" yaml:"targetServingNfId" bson:"targetServingNfId,omitempty"` + SmContextStatusUri string `json:"smContextStatusUri,omitempty" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + N9ForwardingTunnel *TunnelInfo `json:"n9ForwardingTunnel,omitempty" yaml:"n9ForwardingTunnel" bson:"n9ForwardingTunnel,omitempty"` + N9DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9DlForwardingTnlList,omitempty" yaml:"n9DlForwardingTnlList" bson:"n9DlForwardingTnlList,omitempty"` + N9UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9UlForwardingTnlList,omitempty" yaml:"n9UlForwardingTnlList" bson:"n9UlForwardingTnlList,omitempty"` + EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + Release bool `json:"release,omitempty" yaml:"release" bson:"release,omitempty"` + Cause Cause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + ExemptionInd *ExemptionInd `json:"exemptionInd,omitempty" yaml:"exemptionInd" bson:"exemptionInd,omitempty"` + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` + ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SkipN2PduSessionResRelInd bool `json:"skipN2PduSessionResRelInd,omitempty" yaml:"skipN2PduSessionResRelInd" bson:"skipN2PduSessionResRelInd,omitempty"` } diff --git a/models/model_sm_context_update_error.go b/models/model_sm_context_update_error.go index 90d5d12b..a52fab80 100644 --- a/models/model_sm_context_update_error.go +++ b/models/model_sm_context_update_error.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,13 @@ import ( "time" ) +// Error within Update SM Context Response type SmContextUpdateError struct { - Error *ProblemDetails `json:"error"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` } diff --git a/models/model_sm_context_updated_data.go b/models/model_sm_context_updated_data.go index 9495c1b7..90c79e63 100644 --- a/models/model_sm_context_updated_data.go +++ b/models/model_sm_context_updated_data.go @@ -1,23 +1,44 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Update SM Context Response type SmContextUpdatedData struct { - UpCnxState UpCnxState `json:"upCnxState,omitempty"` - HoState HoState `json:"hoState,omitempty"` - ReleaseEbiList []int32 `json:"releaseEbiList,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty"` - ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty"` - EpsBearerSetup []string `json:"epsBearerSetup,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + ReleaseEbiList []int32 `json:"releaseEbiList,omitempty" yaml:"releaseEbiList" bson:"releaseEbiList,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + N3DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3DlForwardingTnlList,omitempty" yaml:"n3DlForwardingTnlList" bson:"n3DlForwardingTnlList,omitempty"` + N3UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3UlForwardingTnlList,omitempty" yaml:"n3UlForwardingTnlList" bson:"n3UlForwardingTnlList,omitempty"` + N9UlForwardingTunnel *TunnelInfo `json:"n9UlForwardingTunnel,omitempty" yaml:"n9UlForwardingTunnel" bson:"n9UlForwardingTunnel,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` + ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + AnchorSmfFeatures *AnchorSmfFeatures `json:"anchorSmfFeatures,omitempty" yaml:"anchorSmfFeatures" bson:"anchorSmfFeatures,omitempty"` } diff --git a/models/model_sm_delivery_status.go b/models/model_sm_delivery_status.go new file mode 100644 index 00000000..91aa525f --- /dev/null +++ b/models/model_sm_delivery_status.go @@ -0,0 +1,20 @@ +/* + * Nudm_ReportSMDeliveryStatus + * + * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents SM Delivery Status. +type SmDeliveryStatus struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + SmStatusReport string `json:"smStatusReport" yaml:"smStatusReport" bson:"smStatusReport,omitempty"` +} diff --git a/models/model_sm_interface.go b/models/model_sm_interface.go index 9b789b61..c225a6ca 100644 --- a/models/model_sm_interface.go +++ b/models/model_sm_interface.go @@ -1,17 +1,20 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmInterface struct { - InterfaceId string `json:"interfaceId,omitempty" yaml:"interfaceId" bson:"interfaceId" mapstructure:"InterfaceId"` - InterfaceText string `json:"interfaceText,omitempty" yaml:"interfaceText" bson:"interfaceText" mapstructure:"InterfaceText"` - InterfacePort string `json:"interfacePort,omitempty" yaml:"interfacePort" bson:"interfacePort" mapstructure:"InterfacePort"` - InterfaceType InterfaceType `json:"interfaceType,omitempty" yaml:"interfaceType" bson:"interfaceType" mapstructure:"InterfaceType"` + InterfaceId string `json:"interfaceId,omitempty" yaml:"interfaceId" bson:"interfaceId,omitempty"` + InterfaceText string `json:"interfaceText,omitempty" yaml:"interfaceText" bson:"interfaceText,omitempty"` + InterfacePort string `json:"interfacePort,omitempty" yaml:"interfacePort" bson:"interfacePort,omitempty"` + InterfaceType InterfaceType `json:"interfaceType,omitempty" yaml:"interfaceType" bson:"interfaceType,omitempty"` } diff --git a/models/model_sm_message_type.go b/models/model_sm_message_type.go index 321b1a63..f8c8468b 100644 --- a/models/model_sm_message_type.go +++ b/models/model_sm_message_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sm_nas_from_smf.go b/models/model_sm_nas_from_smf.go new file mode 100644 index 00000000..d628d1ec --- /dev/null +++ b/models/model_sm_nas_from_smf.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information on the SM congestion control applied SM NAS messages that SMF sends to UE for PDU Session. +type SmNasFromSmf struct { + SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // indicating a time in seconds. + BackoffTimer int32 `json:"backoffTimer" yaml:"backoffTimer" bson:"backoffTimer,omitempty"` + AppliedSmccType AppliedSmccType `json:"appliedSmccType" yaml:"appliedSmccType" bson:"appliedSmccType,omitempty"` +} diff --git a/models/model_sm_nas_from_ue.go b/models/model_sm_nas_from_ue.go new file mode 100644 index 00000000..b1b66485 --- /dev/null +++ b/models/model_sm_nas_from_ue.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information on the SM NAS messages that SMF receives from UE for PDU Session. +type SmNasFromUe struct { + SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/model_sm_policy_association_release_cause.go b/models/model_sm_policy_association_release_cause.go new file mode 100644 index 00000000..05ec551b --- /dev/null +++ b/models/model_sm_policy_association_release_cause.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyAssociationReleaseCause string + +// List of SmPolicyAssociationReleaseCause +const ( + SmPolicyAssociationReleaseCause_UNSPECIFIED SmPolicyAssociationReleaseCause = "UNSPECIFIED" + SmPolicyAssociationReleaseCause_UE_SUBSCRIPTION SmPolicyAssociationReleaseCause = "UE_SUBSCRIPTION" + SmPolicyAssociationReleaseCause_INSUFFICIENT_RES SmPolicyAssociationReleaseCause = "INSUFFICIENT_RES" + SmPolicyAssociationReleaseCause_VALIDATION_CONDITION_NOT_MET SmPolicyAssociationReleaseCause = "VALIDATION_CONDITION_NOT_MET" + SmPolicyAssociationReleaseCause_REACTIVATION_REQUESTED SmPolicyAssociationReleaseCause = "REACTIVATION_REQUESTED" +) diff --git a/models/model_sm_policy_context_data.go b/models/model_sm_policy_context_data.go index e7125a02..d7201ba4 100644 --- a/models/model_sm_policy_context_data.go +++ b/models/model_sm_policy_context_data.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,44 +16,73 @@ import ( "time" ) +// Contains the parameters used to create an Individual SM policy resource. type SmPolicyContextData struct { - AccNetChId *AccNetChId `json:"accNetChId,omitempty" yaml:"accNetChId" bson:"accNetChId" mapstructure:"AccNetChId"` - ChargEntityAddr *AccNetChargingAddress `json:"chargEntityAddr,omitempty" yaml:"chargEntityAddr" bson:"chargEntityAddr" mapstructure:"ChargEntityAddr"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - Supi string `json:"supi" yaml:"supi" bson:"supi" mapstructure:"Supi"` - InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds" mapstructure:"InterGrpIds"` - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId" mapstructure:"PduSessionId"` - PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType" mapstructure:"PduSessionType"` - Chargingcharacteristics string `json:"chargingcharacteristics,omitempty" yaml:"chargingcharacteristics" bson:"chargingcharacteristics" mapstructure:"Chargingcharacteristics"` - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri" mapstructure:"NotificationUri"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - ServingNetwork *NetworkId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork" mapstructure:"ServingNetwork"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo" mapstructure:"UserLocationInfo"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone" mapstructure:"UeTimeZone"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei" mapstructure:"Pei"` - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address" mapstructure:"Ipv4Address"` - Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix" mapstructure:"Ipv6AddressPrefix"` + AccNetChId *AccNetChId `json:"accNetChId,omitempty" yaml:"accNetChId" bson:"accNetChId,omitempty"` + ChargEntityAddr *AccNetChargingAddress `json:"chargEntityAddr,omitempty" yaml:"chargEntityAddr" bson:"chargEntityAddr,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // When this attribute is included and set to true, it indicates that the supi attribute contains an invalid value.This attribute shall be present if the SUPI is not available in the SMF or the SUPI is unauthenticated. When present it shall be set to true for an invalid SUPI and false (default) for a valid SUPI. + InvalidSupi bool `json:"invalidSupi,omitempty" yaml:"invalidSupi" bson:"invalidSupi,omitempty"` + InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + Chargingcharacteristics string `json:"chargingcharacteristics,omitempty" yaml:"chargingcharacteristics" bson:"chargingcharacteristics,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnnSelMode DnnSelectionMode `json:"dnnSelMode,omitempty" yaml:"dnnSelMode" bson:"dnnSelMode,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` // Indicates the IPv4 address domain - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain" mapstructure:"IpDomain"` - SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr" mapstructure:"SubsSessAmbr"` - SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos" mapstructure:"SubsDefQos"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` + // Indicates the DN-AAA authorization profile index + AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` + SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` // Contains the number of supported packet filter for signalled QoS rules. - NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter" mapstructure:"NumOfPackFilter"` + NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` // If it is included and set to true, the online charging is applied to the PDU session. - Online bool `json:"online,omitempty" yaml:"online" bson:"online" mapstructure:"Online"` + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` // If it is included and set to true, the offline charging is applied to the PDU session. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline" mapstructure:"Offline"` + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. - Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus" mapstructure:"Var3gppPsDataOffStatus"` + Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` // If it is included and set to true, the reflective QoS is supported by the UE. - RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication" mapstructure:"RefQosIndication"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq" mapstructure:"TraceReq"` - SliceInfo *Snssai `json:"sliceInfo" yaml:"sliceInfo" bson:"sliceInfo" mapstructure:"SliceInfo"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage" mapstructure:"QosFlowUsage"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId" mapstructure:"ServNfId"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` - SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId" mapstructure:"SmfId"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime" mapstructure:"RecoveryTime"` + RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + SliceInfo *Snssai `json:"sliceInfo" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` + AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` + Ipv4FrameRouteList []string `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` + Ipv6FrameRouteList []string `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + // If it is included and set to true, it indicates that the PDU session is used for UE Onboarding. + OnboardInd bool `json:"onboardInd,omitempty" yaml:"onboardInd" bson:"onboardInd,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` } diff --git a/models/model_sm_policy_control.go b/models/model_sm_policy_control.go index 1817bbff..e8743cb4 100644 --- a/models/model_sm_policy_control.go +++ b/models/model_sm_policy_control.go @@ -1,15 +1,19 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the parameters used to request the SM policies and the SM policies authorized by the PCF. type SmPolicyControl struct { - Context *SmPolicyContextData `json:"context" yaml:"context" bson:"context" mapstructure:"Context"` - Policy *SmPolicyDecision `json:"policy" yaml:"policy" bson:"policy" mapstructure:"Policy"` + Context *SmPolicyContextData `json:"context" yaml:"context" bson:"context,omitempty"` + Policy *SmPolicyDecision `json:"policy" yaml:"policy" bson:"policy,omitempty"` } diff --git a/models/model_sm_policy_data.go b/models/model_sm_policy_data.go index 91f6ffc3..badadf78 100644 --- a/models/model_sm_policy_data.go +++ b/models/model_sm_policy_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,13 @@ package models // Contains the SM policy data for a given subscriber. type SmPolicyData struct { - SmPolicySnssaiData map[string]SmPolicySnssaiData `json:"smPolicySnssaiData" bson:"smPolicySnssaiData"` - UmDataLimits map[string]UsageMonDataLimit `json:"umDataLimits,omitempty" bson:"umDataLimits"` - UmData map[string]UsageMonData `json:"umData,omitempty" bson:"umData"` + // Contains Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. + SmPolicySnssaiData map[string]SmPolicySnssaiData `json:"smPolicySnssaiData" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` + // Contains a list of usage monitoring profiles associated with the subscriber. The limit identifier is used as the key of the map. + UmDataLimits map[string]UsageMonDataLimit `json:"umDataLimits,omitempty" yaml:"umDataLimits" bson:"umDataLimits,omitempty"` + // Contains the remaining allowed usage data associated with the subscriber. The limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_sm_policy_data_patch.go b/models/model_sm_policy_data_patch.go new file mode 100644 index 00000000..447f3661 --- /dev/null +++ b/models/model_sm_policy_data_patch.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber. +type SmPolicyDataPatch struct { + // Contains the remaining allowed usage data associated with the subscriber. The value of the limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // Modifiable Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. + SmPolicySnssaiData map[string]SmPolicySnssaiDataPatch `json:"smPolicySnssaiData,omitempty" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` +} diff --git a/models/model_sm_policy_decision.go b/models/model_sm_policy_decision.go index f3ab4af4..c1c1af25 100644 --- a/models/model_sm_policy_decision.go +++ b/models/model_sm_policy_decision.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,41 +16,57 @@ import ( "time" ) +// Contains the SM policies authorized by the PCF. type SmPolicyDecision struct { - // A map of Sessionrules with the content being the SessionRule as described in subclause 5.6.2.7. - SessRules map[string]*SessionRule `json:"sessRules,omitempty" yaml:"sessRules" bson:"sessRules" mapstructure:"SessRules"` - // A map of PCC rules with the content being the PCCRule as described in subclause 5.6.2.6. - PccRules map[string]*PccRule `json:"pccRules,omitempty" yaml:"pccRules" bson:"pccRules" mapstructure:"PccRules"` + // A map of Sessionrules with the content being the SessionRule as described in clause 5.6.2.7. The key used in this map for each entry is the sessRuleId attribute of the corresponding SessionRule. + SessRules map[string]*SessionRule `json:"sessRules,omitempty" yaml:"sessRules" bson:"sessRules,omitempty"` + // A map of PCC rules with the content being the PCCRule as described in clause 5.6.2.6. The key used in this map for each entry is the pccRuleId attribute of the corresponding PccRule. + PccRules map[string]*PccRule `json:"pccRules,omitempty" yaml:"pccRules" bson:"pccRules,omitempty"` // If it is included and set to true, it indicates the P-CSCF Restoration is requested. - PcscfRestIndication bool `json:"pcscfRestIndication,omitempty" yaml:"pcscfRestIndication" bson:"pcscfRestIndication" mapstructure:"PcscfRestIndication"` - // Map of QoS data policy decisions. - QosDecs map[string]*QosData `json:"qosDecs,omitempty" yaml:"qosDecs" bson:"qosDecs" mapstructure:"QosDecs"` - // Map of Charging data policy decisions. - ChgDecs map[string]*ChargingData `json:"chgDecs,omitempty" yaml:"chgDecs" bson:"chgDecs" mapstructure:"ChgDecs"` - ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo" mapstructure:"ChargingInfo"` - // Map of Traffic Control data policy decisions. - TraffContDecs map[string]*TrafficControlData `json:"traffContDecs,omitempty" yaml:"traffContDecs" bson:"traffContDecs" mapstructure:"TraffContDecs"` - // Map of Usage Monitoring data policy decisions. - UmDecs map[string]*UsageMonitoringData `json:"umDecs,omitempty" yaml:"umDecs" bson:"umDecs" mapstructure:"UmDecs"` + PcscfRestIndication bool `json:"pcscfRestIndication,omitempty" yaml:"pcscfRestIndication" bson:"pcscfRestIndication,omitempty"` + // Map of QoS data policy decisions. The key used in this map for each entry is the qosId attribute of the corresponding QosData. + QosDecs map[string]*QosData `json:"qosDecs,omitempty" yaml:"qosDecs" bson:"qosDecs,omitempty"` + // Map of Charging data policy decisions. The key used in this map for each entry is the chgId attribute of the corresponding ChargingData. + ChgDecs map[string]*ChargingData `json:"chgDecs,omitempty" yaml:"chgDecs" bson:"chgDecs,omitempty"` + ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + // Map of Traffic Control data policy decisions. The key used in this map for each entry is the tcId attribute of the corresponding TrafficControlData. + TraffContDecs map[string]*TrafficControlData `json:"traffContDecs,omitempty" yaml:"traffContDecs" bson:"traffContDecs,omitempty"` + // Map of Usage Monitoring data policy decisions. The key used in this map for each entry is the umId attribute of the corresponding UsageMonitoringData. + UmDecs map[string]*UsageMonitoringData `json:"umDecs,omitempty" yaml:"umDecs" bson:"umDecs,omitempty"` // Map of QoS characteristics for non standard 5QIs. This map uses the 5QI values as keys. - QosChars map[string]*QosCharacteristics `json:"qosChars,omitempty" yaml:"qosChars" bson:"qosChars" mapstructure:"QosChars"` - ReflectiveQoSTimer int32 `json:"reflectiveQoSTimer,omitempty" yaml:"reflectiveQoSTimer" bson:"reflectiveQoSTimer" mapstructure:"ReflectiveQoSTimer"` - // A map of condition data with the content being as described in subclause 5.6.2.9. - Conds map[string]*ConditionData `json:"conds,omitempty" yaml:"conds" bson:"conds" mapstructure:"Conds"` - RevalidationTime *time.Time `json:"revalidationTime,omitempty" yaml:"revalidationTime" bson:"revalidationTime" mapstructure:"RevalidationTime"` - // Indicates the offline charging is applicable to the PDU session or PCC rule. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline" mapstructure:"Offline"` - // Indicates the online charging is applicable to the PDU session or PCC rule. - Online bool `json:"online,omitempty" yaml:"online" bson:"online" mapstructure:"Online"` + QosChars map[string]QosCharacteristics `json:"qosChars,omitempty" yaml:"qosChars" bson:"qosChars,omitempty"` + // Map of QoS Monitoring data policy decisions. The key used in this map for each entry is the qmId attribute of the corresponding QosMonitoringData. + QosMonDecs map[string]*QosMonitoringData `json:"qosMonDecs,omitempty" yaml:"qosMonDecs" bson:"qosMonDecs,omitempty"` + // indicating a time in seconds. + ReflectiveQoSTimer int32 `json:"reflectiveQoSTimer,omitempty" yaml:"reflectiveQoSTimer" bson:"reflectiveQoSTimer,omitempty"` + // A map of condition data with the content being as described in clause 5.6.2.9. The key used in this map for each entry is the condId attribute of the corresponding ConditionData. + Conds map[string]*ConditionData `json:"conds,omitempty" yaml:"conds" bson:"conds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RevalidationTime *time.Time `json:"revalidationTime,omitempty" yaml:"revalidationTime" bson:"revalidationTime,omitempty"` + // Indicates the offline charging is applicable to the PDU session when it is included and set to true. + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + // Indicates the online charging is applicable to the PDU session when it is included and set to true. + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + // Indicates that the online charging method shall never be used for any PCC rule activated during the lifetime of the PDU session. + OfflineChOnly bool `json:"offlineChOnly,omitempty" yaml:"offlineChOnly" bson:"offlineChOnly,omitempty"` // Defines the policy control request triggers subscribed by the PCF. - PolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"policyCtrlReqTriggers,omitempty" yaml:"policyCtrlReqTriggers" bson:"policyCtrlReqTriggers" mapstructure:"PolicyCtrlReqTriggers"` + PolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"policyCtrlReqTriggers,omitempty" yaml:"policyCtrlReqTriggers" bson:"policyCtrlReqTriggers,omitempty"` // Defines the last list of rule control data requested by the PCF. - LastReqRuleData []RequestedRuleData `json:"lastReqRuleData,omitempty" yaml:"lastReqRuleData" bson:"lastReqRuleData" mapstructure:"LastReqRuleData"` - LastReqUsageData *RequestedUsageData `json:"lastReqUsageData,omitempty" yaml:"lastReqUsageData" bson:"lastReqUsageData" mapstructure:"LastReqUsageData"` - // Map of PRA information. - PraInfos map[string]*PresenceInfoRm `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos" mapstructure:"PraInfos"` - Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index" mapstructure:"Ipv4Index"` - Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index" mapstructure:"Ipv6Index"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage" mapstructure:"QosFlowUsage"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat" mapstructure:"SuppFeat"` + LastReqRuleData []RequestedRuleData `json:"lastReqRuleData,omitempty" yaml:"lastReqRuleData" bson:"lastReqRuleData,omitempty"` + LastReqUsageData *RequestedUsageData `json:"lastReqUsageData,omitempty" yaml:"lastReqUsageData" bson:"lastReqUsageData,omitempty"` + // Map of PRA information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]*PresenceInfoRm `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + RelCause SmPolicyAssociationReleaseCause `json:"relCause,omitempty" yaml:"relCause" bson:"relCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + // Indicates whether the PDU session is a redundant PDU session. If absent it means the PDU session is not a redundant PDU session. + RedSessIndication bool `json:"redSessIndication,omitempty" yaml:"redSessIndication" bson:"redSessIndication,omitempty"` } diff --git a/models/model_sm_policy_delete_data.go b/models/model_sm_policy_delete_data.go index 143e69d6..d26431c4 100644 --- a/models/model_sm_policy_delete_data.go +++ b/models/model_sm_policy_delete_data.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,13 +16,17 @@ import ( "time" ) +// Contains the parameters to be sent to the PCF when an individual SM policy is deleted. type SmPolicyDeleteData struct { - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo" mapstructure:"UserLocationInfo"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone" mapstructure:"UeTimeZone"` - ServingNetwork *NetworkId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork" mapstructure:"ServingNetwork"` - UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime" mapstructure:"UserLocationInfoTime"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` // Contains the RAN and/or NAS release cause. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses" mapstructure:"RanNasRelCauses"` + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` // Contains the usage report - AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports" mapstructure:"AccuUsageReports"` + AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` + PduSessRelCause PduSessionRelCause `json:"pduSessRelCause,omitempty" yaml:"pduSessRelCause" bson:"pduSessRelCause,omitempty"` } diff --git a/models/model_sm_policy_dnn_data.go b/models/model_sm_policy_dnn_data.go index 34f97340..2866e054 100644 --- a/models/model_sm_policy_dnn_data.go +++ b/models/model_sm_policy_dnn_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,20 +14,33 @@ package models // Contains the SM policy data for a given DNN (and S-NSSAI). type SmPolicyDnnData struct { - Dnn string `json:"dnn" bson:"dnn"` - AllowedServices []string `json:"allowedServices,omitempty" bson:"allowedServices"` - SubscCats []string `json:"subscCats,omitempty" bson:"subscCats"` - GbrUl string `json:"gbrUl,omitempty" bson:"gbrUl"` - GbrDl string `json:"gbrDl,omitempty" bson:"gbrDl"` - AdcSupport bool `json:"adcSupport,omitempty" bson:"adcSupport"` - SubscSpendingLimits bool `json:"subscSpendingLimits,omitempty" bson:"subscSpendingLimits"` - Ipv4Index int32 `json:"ipv4Index,omitempty" bson:"ipv4Index"` - Ipv6Index int32 `json:"ipv6Index,omitempty" bson:"ipv6Index"` - Offline bool `json:"offline,omitempty" bson:"offline"` - Online bool `json:"online,omitempty" bson:"online"` - ChfInfo *ChargingInformation `json:"chfInfo,omitempty" bson:"chfInfo"` - RefUmDataLimitIds map[string]LimitIdToMonitoringKey `json:"refUmDataLimitIds,omitempty" bson:"refUmDataLimitIds"` - MpsPriority bool `json:"mpsPriority,omitempty" bson:"mpsPriority"` - ImsSignallingPrio bool `json:"imsSignallingPrio,omitempty" bson:"imsSignallingPrio"` - MpsPriorityLevel int32 `json:"mpsPriorityLevel,omitempty" bson:"mpsPriorityLevel"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + AllowedServices []string `json:"allowedServices,omitempty" yaml:"allowedServices" bson:"allowedServices,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + AdcSupport bool `json:"adcSupport,omitempty" yaml:"adcSupport" bson:"adcSupport,omitempty"` + SubscSpendingLimits bool `json:"subscSpendingLimits,omitempty" yaml:"subscSpendingLimits" bson:"subscSpendingLimits,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + ChfInfo *ChargingInformation `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A reference to the UsageMonDataLimit or UsageMonData instancesfor this DNN and SNSSAI that may also include the related monitoring key(s). The key of the map is the limit identifier. + RefUmDataLimitIds map[string]*LimitIdToMonitoringKey `json:"refUmDataLimitIds,omitempty" yaml:"refUmDataLimitIds" bson:"refUmDataLimitIds,omitempty"` + MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` + McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` + ImsSignallingPrio bool `json:"imsSignallingPrio,omitempty" yaml:"imsSignallingPrio" bson:"imsSignallingPrio,omitempty"` + MpsPriorityLevel int32 `json:"mpsPriorityLevel,omitempty" yaml:"mpsPriorityLevel" bson:"mpsPriorityLevel,omitempty"` + McsPriorityLevel int32 `json:"mcsPriorityLevel,omitempty" yaml:"mcsPriorityLevel" bson:"mcsPriorityLevel,omitempty"` + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + // Identifies transfer policies of background data transfer. Any string value can be used as a key of the map. + BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` + LocRoutNotAllowed bool `json:"locRoutNotAllowed,omitempty" yaml:"locRoutNotAllowed" bson:"locRoutNotAllowed,omitempty"` } diff --git a/models/model_sm_policy_dnn_data_patch.go b/models/model_sm_policy_dnn_data_patch.go new file mode 100644 index 00000000..093281d7 --- /dev/null +++ b/models/model_sm_policy_dnn_data_patch.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given DNN (and S-NSSAI). +type SmPolicyDnnDataPatch struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // Contains updated transfer policies of background data transfer. Any string value can be used as a key of the map. + BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` +} diff --git a/models/model_sm_policy_notification.go b/models/model_sm_policy_notification.go index a02394cb..2d587609 100644 --- a/models/model_sm_policy_notification.go +++ b/models/model_sm_policy_notification.go @@ -1,15 +1,20 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a notification on the update of the SM policies. type SmPolicyNotification struct { - ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri" mapstructure:"ResourceUri"` - SmPolicyDecision *SmPolicyDecision `json:"smPolicyDecision,omitempty" yaml:"smPolicyDecision" bson:"smPolicyDecision" mapstructure:"SmPolicyDecision"` + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` + SmPolicyDecision *SmPolicyDecision `json:"smPolicyDecision,omitempty" yaml:"smPolicyDecision" bson:"smPolicyDecision,omitempty"` } diff --git a/models/model_sm_policy_qos_notification_control_info.go b/models/model_sm_policy_qos_notification_control_info.go new file mode 100644 index 00000000..81bb79bf --- /dev/null +++ b/models/model_sm_policy_qos_notification_control_info.go @@ -0,0 +1,22 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyQosNotificationControlInfo struct { + // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` +} diff --git a/models/model_sm_policy_snssai_data.go b/models/model_sm_policy_snssai_data.go index 20db8f40..2bc6085e 100644 --- a/models/model_sm_policy_snssai_data.go +++ b/models/model_sm_policy_snssai_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,8 @@ package models // Contains the SM policy data for a given subscriber and S-NSSAI. type SmPolicySnssaiData struct { - Snssai *Snssai `json:"snssai" bson:"snssai"` - SmPolicyDnnData map[string]SmPolicyDnnData `json:"smPolicyDnnData,omitempty" bson:"smPolicyDnnData"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. + SmPolicyDnnData map[string]SmPolicyDnnData `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` + UeSliceMbr *SliceMbr `json:"ueSliceMbr,omitempty" yaml:"ueSliceMbr" bson:"ueSliceMbr,omitempty"` } diff --git a/models/model_sm_policy_snssai_data_patch.go b/models/model_sm_policy_snssai_data_patch.go new file mode 100644 index 00000000..bb94239b --- /dev/null +++ b/models/model_sm_policy_snssai_data_patch.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber and S-NSSAI. +type SmPolicySnssaiDataPatch struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Modifiable Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. + SmPolicyDnnData map[string]SmPolicyDnnDataPatch `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` +} diff --git a/models/model_sm_policy_termination_notification.go b/models/model_sm_policy_termination_notification.go new file mode 100644 index 00000000..ab7ec618 --- /dev/null +++ b/models/model_sm_policy_termination_notification.go @@ -0,0 +1,18 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyTerminationNotification struct { + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause SmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_sm_policy_update_context_data.go b/models/model_sm_policy_update_context_data.go index a84e19ea..42854d0a 100644 --- a/models/model_sm_policy_update_context_data.go +++ b/models/model_sm_policy_update_context_data.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,44 +16,86 @@ import ( "time" ) +// Contains the policy control request trigger(s) that were met and the corresponding new value(s) or the error report of the policy enforcement. type SmPolicyUpdateContextData struct { // The policy control reqeust trigges which are met. - RepPolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"repPolicyCtrlReqTriggers,omitempty" yaml:"repPolicyCtrlReqTriggers" bson:"repPolicyCtrlReqTriggers" mapstructure:"RepPolicyCtrlReqTriggers"` + RepPolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"repPolicyCtrlReqTriggers,omitempty" yaml:"repPolicyCtrlReqTriggers" bson:"repPolicyCtrlReqTriggers,omitempty"` // Indicates the access network charging identifier for the PCC rule(s) or whole PDU session. - AccNetChIds []AccNetChId `json:"accNetChIds,omitempty" yaml:"accNetChIds" bson:"accNetChIds" mapstructure:"AccNetChIds"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - ServingNetwork *NetworkId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork" mapstructure:"ServingNetwork"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo" mapstructure:"UserLocationInfo"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone" mapstructure:"UeTimeZone"` - RelIpv4Address string `json:"relIpv4Address,omitempty" yaml:"relIpv4Address" bson:"relIpv4Address" mapstructure:"RelIpv4Address"` - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address" mapstructure:"Ipv4Address"` - Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix" mapstructure:"Ipv6AddressPrefix"` - RelIpv6AddressPrefix string `json:"relIpv6AddressPrefix,omitempty" yaml:"relIpv6AddressPrefix" bson:"relIpv6AddressPrefix" mapstructure:"RelIpv6AddressPrefix"` - RelUeMac string `json:"relUeMac,omitempty" yaml:"relUeMac" bson:"relUeMac" mapstructure:"RelUeMac"` - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac" mapstructure:"UeMac"` - SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr" mapstructure:"SubsSessAmbr"` - SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos" mapstructure:"SubsDefQos"` + AccNetChIds []AccNetChId `json:"accNetChIds,omitempty" yaml:"accNetChIds" bson:"accNetChIds,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + RelIpv4Address string `json:"relIpv4Address,omitempty" yaml:"relIpv4Address" bson:"relIpv4Address,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + // Indicates the IPv4 address domain + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` + RelIpv6AddressPrefix string `json:"relIpv6AddressPrefix,omitempty" yaml:"relIpv6AddressPrefix" bson:"relIpv6AddressPrefix,omitempty"` + AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` + AddRelIpv6AddrPrefixes string `json:"addRelIpv6AddrPrefixes,omitempty" yaml:"addRelIpv6AddrPrefixes" bson:"addRelIpv6AddrPrefixes,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + RelUeMac string `json:"relUeMac,omitempty" yaml:"relUeMac" bson:"relUeMac,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` + // Indicates the DN-AAA authorization profile index + AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` + SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + // If it is included and set to true, indicates that the QoS constraints in the VPLMN are not applicable. + VplmnQosNotApp bool `json:"vplmnQosNotApp,omitempty" yaml:"vplmnQosNotApp" bson:"vplmnQosNotApp,omitempty"` // Contains the number of supported packet filter for signalled QoS rules. - NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter" mapstructure:"NumOfPackFilter"` + NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` // Contains the usage report - AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports" mapstructure:"AccuUsageReports"` + AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. - Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus" mapstructure:"Var3gppPsDataOffStatus"` + Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` // Report the start/stop of the application traffic and detected SDF descriptions if applicable. - AppDetectionInfos []AppDetectionInfo `json:"appDetectionInfos,omitempty" yaml:"appDetectionInfos" bson:"appDetectionInfos" mapstructure:"AppDetectionInfos"` + AppDetectionInfos []AppDetectionInfo `json:"appDetectionInfos,omitempty" yaml:"appDetectionInfos" bson:"appDetectionInfos,omitempty"` // Used to report the PCC rule failure. - RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports" mapstructure:"RuleReports"` + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` + // Used to report the session rule failure. + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` // QoS Notification Control information. - QncReports []QosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports" mapstructure:"QncReports"` - UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime" mapstructure:"UserLocationInfoTime"` - // Reports the changes of presence reporting area. - RepPraInfos map[string]PresenceInfo `json:"repPraInfos,omitempty" yaml:"repPraInfos" bson:"repPraInfos" mapstructure:"RepPraInfos"` - UeInitResReq *UeInitiatedResourceRequest `json:"ueInitResReq,omitempty" yaml:"ueInitResReq" bson:"ueInitResReq" mapstructure:"UeInitResReq"` + QncReports []PcfSmPolicyControlQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfSmPolicyControlQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` + // Reports the changes of presence reporting area. The praId attribute within the PresenceInfo data type is the key of the map. + RepPraInfos map[string]PresenceInfo `json:"repPraInfos,omitempty" yaml:"repPraInfos" bson:"repPraInfos,omitempty"` + UeInitResReq *UeInitiatedResourceRequest `json:"ueInitResReq,omitempty" yaml:"ueInitResReq" bson:"ueInitResReq,omitempty"` // If it is included and set to true, the reflective QoS is supported by the UE. If it is included and set to false, the reflective QoS is revoked by the UE. - RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication" mapstructure:"RefQosIndication"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage" mapstructure:"QosFlowUsage"` - CreditManageStatus CreditManagementStatus `json:"creditManageStatus,omitempty" yaml:"creditManageStatus" bson:"creditManageStatus" mapstructure:"CreditManageStatus"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId" mapstructure:"ServNfId"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq" mapstructure:"TraceReq"` + RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + CreditManageStatus CreditManagementStatus `json:"creditManageStatus,omitempty" yaml:"creditManageStatus" bson:"creditManageStatus,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` + AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` + TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo,omitempty" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + MulAddrInfos []IpMulticastAddressInfo `json:"mulAddrInfos,omitempty" yaml:"mulAddrInfos" bson:"mulAddrInfos,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` + TrafficDescriptors []DddTrafficDescriptor `json:"trafficDescriptors,omitempty" yaml:"trafficDescriptors" bson:"trafficDescriptors,omitempty"` + // Contains the identifier of the PCC rule which is used for traffic detection of event. + PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` + InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` + // When it is included and set to true, it indicates that the AN-Gateway has failed and that the PCF should refrain from sending policy decisions to the SMF until it is informed that the AN-Gateway has been recovered. + AnGwStatus bool `json:"anGwStatus,omitempty" yaml:"anGwStatus" bson:"anGwStatus,omitempty"` } diff --git a/models/model_sm_policy_update_notification_response_200.go b/models/model_sm_policy_update_notification_response_200.go new file mode 100644 index 00000000..6d8f8ca5 --- /dev/null +++ b/models/model_sm_policy_update_notification_response_200.go @@ -0,0 +1,25 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyUpdateNotificationResponse200 struct { + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` +} diff --git a/models/model_sm_priority.go b/models/model_sm_priority.go index 6eedc24b..1e32b7b5 100644 --- a/models/model_sm_priority.go +++ b/models/model_sm_priority.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sm_service_type.go b/models/model_sm_service_type.go index 96fca9fb..a3670ca1 100644 --- a/models/model_sm_service_type.go +++ b/models/model_sm_service_type.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sm_subs_data.go b/models/model_sm_subs_data.go new file mode 100644 index 00000000..ba9ff8e0 --- /dev/null +++ b/models/model_sm_subs_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmSubsData struct { + SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` + IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` +} diff --git a/models/model_small_data_rate_control.go b/models/model_small_data_rate_control.go new file mode 100644 index 00000000..4e67ee83 --- /dev/null +++ b/models/model_small_data_rate_control.go @@ -0,0 +1,22 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Configuration of Small Data Rate Control for the SM Context. +type SmallDataRateControl struct { + TimeUnit SmallDataRateControlTimeUnit `json:"timeUnit" yaml:"timeUnit" bson:"timeUnit,omitempty"` + MaxPacketRateUl int32 `json:"maxPacketRateUl,omitempty" yaml:"maxPacketRateUl" bson:"maxPacketRateUl,omitempty"` + MaxPacketRateDl int32 `json:"maxPacketRateDl,omitempty" yaml:"maxPacketRateDl" bson:"maxPacketRateDl,omitempty"` + MaxAdditionalPacketRateUl int32 `json:"maxAdditionalPacketRateUl,omitempty" yaml:"maxAdditionalPacketRateUl" bson:"maxAdditionalPacketRateUl,omitempty"` + MaxAdditionalPacketRateDl int32 `json:"maxAdditionalPacketRateDl,omitempty" yaml:"maxAdditionalPacketRateDl" bson:"maxAdditionalPacketRateDl,omitempty"` +} diff --git a/models/model_small_data_rate_control_time_unit.go b/models/model_small_data_rate_control_time_unit.go new file mode 100644 index 00000000..a00db123 --- /dev/null +++ b/models/model_small_data_rate_control_time_unit.go @@ -0,0 +1,24 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmallDataRateControlTimeUnit string + +// List of SmallDataRateControlTimeUnit +const ( + SmallDataRateControlTimeUnit_MINUTE SmallDataRateControlTimeUnit = "MINUTE" + SmallDataRateControlTimeUnit_HOUR SmallDataRateControlTimeUnit = "HOUR" + SmallDataRateControlTimeUnit_DAY SmallDataRateControlTimeUnit = "DAY" + SmallDataRateControlTimeUnit_WEEK SmallDataRateControlTimeUnit = "WEEK" + SmallDataRateControlTimeUnit__6_MINUTES SmallDataRateControlTimeUnit = "6MINUTES" +) diff --git a/models/model_small_data_rate_status.go b/models/model_small_data_rate_status.go new file mode 100644 index 00000000..44b566cc --- /dev/null +++ b/models/model_small_data_rate_status.go @@ -0,0 +1,31 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// It indicates theSmall Data Rate Control Status +type SmallDataRateStatus struct { + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` + // When present it shall contain the number of packets the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // When present, it shall indicate number of additional exception reports the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` + // When present, it shall indicate number of additional exception reports the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 in 3GPP TS 23.501 + RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` +} diff --git a/models/model_small_data_rate_status_info.go b/models/model_small_data_rate_status_info.go new file mode 100644 index 00000000..c2b9a1e6 --- /dev/null +++ b/models/model_small_data_rate_status_info.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the small data rate status +type SmallDataRateStatusInfo struct { + Snssai *Snssai `json:"Snssai" yaml:"Snssai" bson:"Snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"Dnn" yaml:"Dnn" bson:"Dnn,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"SmallDataRateStatus" yaml:"SmallDataRateStatus" bson:"SmallDataRateStatus,omitempty"` +} diff --git a/models/model_smcce_info.go b/models/model_smcce_info.go new file mode 100644 index 00000000..d8e4db9f --- /dev/null +++ b/models/model_smcce_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Session Management congestion control experience information. +type SmcceInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + SmcceUeList *SmcceUeList `json:"smcceUeList" yaml:"smcceUeList" bson:"smcceUeList,omitempty"` +} diff --git a/models/model_smcce_ue_list.go b/models/model_smcce_ue_list.go new file mode 100644 index 00000000..22abe6bc --- /dev/null +++ b/models/model_smcce_ue_list.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the List of UEs classified based on experience level of Session Management congestion control. +type SmcceUeList struct { + HighLevel []string `json:"highLevel,omitempty" yaml:"highLevel" bson:"highLevel,omitempty"` + MediumLevel []string `json:"mediumLevel,omitempty" yaml:"mediumLevel" bson:"mediumLevel,omitempty"` + LowLevel []string `json:"lowLevel,omitempty" yaml:"lowLevel" bson:"lowLevel,omitempty"` +} diff --git a/models/model_smf_change_indication.go b/models/model_smf_change_indication.go new file mode 100644 index 00000000..a00f4752 --- /dev/null +++ b/models/model_smf_change_indication.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfChangeIndication string + +// List of SmfChangeIndication +const ( + SmfChangeIndication_CHANGED SmfChangeIndication = "CHANGED" + SmfChangeIndication_REMOVED SmfChangeIndication = "REMOVED" +) diff --git a/models/model_smf_change_info.go b/models/model_smf_change_info.go new file mode 100644 index 00000000..8f3c088e --- /dev/null +++ b/models/model_smf_change_info.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMF change information for PDU session(s) +type SmfChangeInfo struct { + PduSessionIdList []int32 `json:"pduSessionIdList" yaml:"pduSessionIdList" bson:"pduSessionIdList,omitempty"` + SmfChangeInd SmfChangeIndication `json:"smfChangeInd" yaml:"smfChangeInd" bson:"smfChangeInd,omitempty"` +} diff --git a/models/model_smf_event.go b/models/model_smf_event.go index a0a07a30..f3875fa1 100644 --- a/models/model_smf_event.go +++ b/models/model_smf_event.go @@ -1,9 +1,12 @@ /* - * Nsmf_EventExposure + * Nnwdaf_DataManagement * - * Session Management Event Exposure Service API + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,9 +16,21 @@ type SmfEvent string // List of SmfEvent const ( - SmfEvent_AC_TY_CH SmfEvent = "AC_TY_CH" - SmfEvent_UP_PATH_CH SmfEvent = "UP_PATH_CH" - SmfEvent_PDU_SES_REL SmfEvent = "PDU_SES_REL" - SmfEvent_PLMN_CH SmfEvent = "PLMN_CH" - SmfEvent_UE_IP_CH SmfEvent = "UE_IP_CH" + SmfEvent_AC_TY_CH SmfEvent = "AC_TY_CH" + SmfEvent_UP_PATH_CH SmfEvent = "UP_PATH_CH" + SmfEvent_PDU_SES_REL SmfEvent = "PDU_SES_REL" + SmfEvent_PLMN_CH SmfEvent = "PLMN_CH" + SmfEvent_UE_IP_CH SmfEvent = "UE_IP_CH" + SmfEvent_RAT_TY_CH SmfEvent = "RAT_TY_CH" + SmfEvent_DDDS SmfEvent = "DDDS" + SmfEvent_COMM_FAIL SmfEvent = "COMM_FAIL" + SmfEvent_PDU_SES_EST SmfEvent = "PDU_SES_EST" + SmfEvent_QFI_ALLOC SmfEvent = "QFI_ALLOC" + SmfEvent_QOS_MON SmfEvent = "QOS_MON" + SmfEvent_SMCC_EXP SmfEvent = "SMCC_EXP" + SmfEvent_DISPERSION SmfEvent = "DISPERSION" + SmfEvent_RED_TRANS_EXP SmfEvent = "RED_TRANS_EXP" + SmfEvent_WLAN_INFO SmfEvent = "WLAN_INFO" + SmfEvent_UPF_INFO SmfEvent = "UPF_INFO" + SmfEvent_UP_STATUS_INFO SmfEvent = "UP_STATUS_INFO" ) diff --git a/models/model_smf_event_exposure_event_notification.go b/models/model_smf_event_exposure_event_notification.go new file mode 100644 index 00000000..4409db98 --- /dev/null +++ b/models/model_smf_event_exposure_event_notification.go @@ -0,0 +1,100 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a notification related to a single event that occurred. +type SmfEventExposureEventNotification struct { + Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + // Transaction Information. + TransacInfos []TransactionInfo `json:"transacInfos,omitempty" yaml:"transacInfos" bson:"transacInfos,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` + SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + TargetUeIpv4Addr string `json:"targetUeIpv4Addr,omitempty" yaml:"targetUeIpv4Addr" bson:"targetUeIpv4Addr,omitempty"` + TargetUeIpv6Prefix string `json:"targetUeIpv6Prefix,omitempty" yaml:"targetUeIpv6Prefix" bson:"targetUeIpv6Prefix,omitempty"` + SourceTraRouting *RouteToLocation `json:"sourceTraRouting,omitempty" yaml:"sourceTraRouting" bson:"sourceTraRouting,omitempty"` + TargetTraRouting *RouteToLocation `json:"targetTraRouting,omitempty" yaml:"targetTraRouting" bson:"targetTraRouting,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AdIpv4Addr string `json:"adIpv4Addr,omitempty" yaml:"adIpv4Addr" bson:"adIpv4Addr,omitempty"` + AdIpv6Prefix string `json:"adIpv6Prefix,omitempty" yaml:"adIpv6Prefix" bson:"adIpv6Prefix,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + ReIpv4Addr string `json:"reIpv4Addr,omitempty" yaml:"reIpv4Addr" bson:"reIpv4Addr,omitempty"` + ReIpv6Prefix string `json:"reIpv6Prefix,omitempty" yaml:"reIpv6Prefix" bson:"reIpv6Prefix,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + DddStatus DlDataDeliveryStatus `json:"dddStatus,omitempty" yaml:"dddStatus" bson:"dddStatus,omitempty"` + DddTraDescriptor *DddTrafficDescriptor `json:"dddTraDescriptor,omitempty" yaml:"dddTraDescriptor" bson:"dddTraDescriptor,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxWaitTime *time.Time `json:"maxWaitTime,omitempty" yaml:"maxWaitTime" bson:"maxWaitTime,omitempty"` + CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi,omitempty" yaml:"qfi" bson:"qfi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // Descriptor(s) for non-IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single Ethernet flow. + EthFlowDescs []EthFlowDescription `json:"ethFlowDescs,omitempty" yaml:"ethFlowDescs" bson:"ethFlowDescs,omitempty"` + // Contains the UL and/or DL Ethernet flows. Each entry of the array describes a single Ethernet flow. + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + // Descriptor(s) for IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single IP flow. + FlowDescs []string `json:"flowDescs,omitempty" yaml:"flowDescs" bson:"flowDescs,omitempty"` + // Contains the UL and/or DL IP flows. Each entry of the array describes a single IP flow. + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` + TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` + SmNasFromUe *SmNasFromUe `json:"smNasFromUe,omitempty" yaml:"smNasFromUe" bson:"smNasFromUe,omitempty"` + SmNasFromSmf *SmNasFromSmf `json:"smNasFromSmf,omitempty" yaml:"smNasFromSmf" bson:"smNasFromSmf,omitempty"` + // Indicates whether the redundant transmission is setup or terminated. Set to \"true\" if the redundant transmission is setup, otherwise set to \"false\" if the redundant transmission is terminated. Default value is set to \"false\". + UpRedTrans bool `json:"upRedTrans,omitempty" yaml:"upRedTrans" bson:"upRedTrans,omitempty"` + SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + StartWlan *time.Time `json:"startWlan,omitempty" yaml:"startWlan" bson:"startWlan,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + EndWlan *time.Time `json:"endWlan,omitempty" yaml:"endWlan" bson:"endWlan,omitempty"` + PduSessInfos []SmfEventExposurePduSessionInformation `json:"pduSessInfos,omitempty" yaml:"pduSessInfos" bson:"pduSessInfos,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` +} diff --git a/models/model_smf_event_exposure_event_subscription.go b/models/model_smf_event_exposure_event_subscription.go new file mode 100644 index 00000000..e64936b3 --- /dev/null +++ b/models/model_smf_event_exposure_event_subscription.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a subscription to a single event. +type SmfEventExposureEventSubscription struct { + Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty" yaml:"dddTraDescriptors" bson:"dddTraDescriptors,omitempty"` + DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty" yaml:"dddStati" bson:"dddStati,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + TargetPeriod *TimeWindow `json:"targetPeriod,omitempty" yaml:"targetPeriod" bson:"targetPeriod,omitempty"` + // Indicates the subscription for UE transaction dispersion collectionon, if it is included and set to \"true\". Default value is \"false\". + TransacDispInd bool `json:"transacDispInd,omitempty" yaml:"transacDispInd" bson:"transacDispInd,omitempty"` + // Indicates Session Management Transaction metrics. + TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` +} diff --git a/models/model_smf_event_exposure_notification_method.go b/models/model_smf_event_exposure_notification_method.go new file mode 100644 index 00000000..f71cbf70 --- /dev/null +++ b/models/model_smf_event_exposure_notification_method.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfEventExposureNotificationMethod string + +// List of SmfEventExposureNotificationMethod +const ( + SmfEventExposureNotificationMethod_PERIODIC SmfEventExposureNotificationMethod = "PERIODIC" + SmfEventExposureNotificationMethod_ONE_TIME SmfEventExposureNotificationMethod = "ONE_TIME" + SmfEventExposureNotificationMethod_ON_EVENT_DETECTION SmfEventExposureNotificationMethod = "ON_EVENT_DETECTION" +) diff --git a/models/model_smf_event_exposure_pdu_session_info.go b/models/model_smf_event_exposure_pdu_session_info.go new file mode 100644 index 00000000..3dc431ed --- /dev/null +++ b/models/model_smf_event_exposure_pdu_session_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents session information. +type SmfEventExposurePduSessionInfo struct { + // The identifier of the N4 session for the reported PDU Session. + N4SessId string `json:"n4SessId,omitempty" yaml:"n4SessId" bson:"n4SessId,omitempty"` + // indicating a time in seconds. + SessInactiveTimer int32 `json:"sessInactiveTimer,omitempty" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` + PduSessStatus SmfEventExposurePduSessionStatus `json:"pduSessStatus,omitempty" yaml:"pduSessStatus" bson:"pduSessStatus,omitempty"` +} diff --git a/models/model_smf_event_exposure_pdu_session_information.go b/models/model_smf_event_exposure_pdu_session_information.go new file mode 100644 index 00000000..9583da10 --- /dev/null +++ b/models/model_smf_event_exposure_pdu_session_information.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the PDU session related information. +type SmfEventExposurePduSessionInformation struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessId int32 `json:"pduSessId,omitempty" yaml:"pduSessId" bson:"pduSessId,omitempty"` + SessInfo *SmfEventExposurePduSessionInfo `json:"sessInfo,omitempty" yaml:"sessInfo" bson:"sessInfo,omitempty"` +} diff --git a/models/model_smf_event_exposure_pdu_session_status.go b/models/model_smf_event_exposure_pdu_session_status.go new file mode 100644 index 00000000..ada471eb --- /dev/null +++ b/models/model_smf_event_exposure_pdu_session_status.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfEventExposurePduSessionStatus string + +// List of SmfEventExposurePduSessionStatus +const ( + SmfEventExposurePduSessionStatus_ACTIVATED SmfEventExposurePduSessionStatus = "ACTIVATED" + SmfEventExposurePduSessionStatus_DEACTIVATED SmfEventExposurePduSessionStatus = "DEACTIVATED" +) diff --git a/models/model_smf_info.go b/models/model_smf_info.go index 34a82592..77d82780 100644 --- a/models/model_smf_info.go +++ b/models/model_smf_info.go @@ -1,18 +1,30 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an SMF NF Instance type SmfInfo struct { - SNssaiSmfInfoList *[]SnssaiSmfInfoItem `json:"sNssaiSmfInfoList" yaml:"sNssaiSmfInfoList" bson:"sNssaiSmfInfoList" mapstructure:"SNssaiSmfInfoList"` - TaiList *[]Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList" mapstructure:"TaiList"` - TaiRangeList *[]TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList" mapstructure:"TaiRangeList"` - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn" mapstructure:"PgwFqdn"` - AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` + SNssaiSmfInfoList []SnssaiSmfInfoItem `json:"sNssaiSmfInfoList" yaml:"sNssaiSmfInfoList" bson:"sNssaiSmfInfoList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddrList []IpAddr `json:"pgwIpAddrList,omitempty" yaml:"pgwIpAddrList" bson:"pgwIpAddrList,omitempty"` + AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + VsmfSupportInd bool `json:"vsmfSupportInd,omitempty" yaml:"vsmfSupportInd" bson:"vsmfSupportInd,omitempty"` + PgwFqdnList []string `json:"pgwFqdnList,omitempty" yaml:"pgwFqdnList" bson:"pgwFqdnList,omitempty"` + SmfOnboardingCapability bool `json:"smfOnboardingCapability,omitempty" yaml:"smfOnboardingCapability" bson:"smfOnboardingCapability,omitempty"` + IsmfSupportInd bool `json:"ismfSupportInd,omitempty" yaml:"ismfSupportInd" bson:"ismfSupportInd,omitempty"` + SmfUPRPCapability bool `json:"smfUPRPCapability,omitempty" yaml:"smfUPRPCapability" bson:"smfUPRPCapability,omitempty"` } diff --git a/models/model_smf_nidd_deliver_req_data.go b/models/model_smf_nidd_deliver_req_data.go new file mode 100644 index 00000000..d7f8bcc7 --- /dev/null +++ b/models/model_smf_nidd_deliver_req_data.go @@ -0,0 +1,18 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the payload of a Deliver Request. +type SmfNiddDeliverReqData struct { + MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` +} diff --git a/models/model_smf_pdu_session_cause.go b/models/model_smf_pdu_session_cause.go new file mode 100644 index 00000000..4b9ca7e9 --- /dev/null +++ b/models/model_smf_pdu_session_cause.go @@ -0,0 +1,52 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfPduSessionCause string + +// List of SmfPDUSessionCause +const ( + SmfPduSessionCause_REL_DUE_TO_HO SmfPduSessionCause = "REL_DUE_TO_HO" + SmfPduSessionCause_EPS_FALLBACK SmfPduSessionCause = "EPS_FALLBACK" + SmfPduSessionCause_REL_DUE_TO_UP_SEC SmfPduSessionCause = "REL_DUE_TO_UP_SEC" + SmfPduSessionCause_DNN_CONGESTION SmfPduSessionCause = "DNN_CONGESTION" + SmfPduSessionCause_S_NSSAI_CONGESTION SmfPduSessionCause = "S_NSSAI_CONGESTION" + SmfPduSessionCause_REL_DUE_TO_REACTIVATION SmfPduSessionCause = "REL_DUE_TO_REACTIVATION" + SmfPduSessionCause__5_G_AN_NOT_RESPONDING SmfPduSessionCause = "5G_AN_NOT_RESPONDING" + SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AVAILABLE SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" + SmfPduSessionCause_REL_DUE_TO_DUPLICATE_SESSION_ID SmfPduSessionCause = "REL_DUE_TO_DUPLICATE_SESSION_ID" + SmfPduSessionCause_PDU_SESSION_STATUS_MISMATCH SmfPduSessionCause = "PDU_SESSION_STATUS_MISMATCH" + SmfPduSessionCause_HO_FAILURE SmfPduSessionCause = "HO_FAILURE" + SmfPduSessionCause_INSUFFICIENT_UP_RESOURCES SmfPduSessionCause = "INSUFFICIENT_UP_RESOURCES" + SmfPduSessionCause_PDU_SESSION_HANDED_OVER SmfPduSessionCause = "PDU_SESSION_HANDED_OVER" + SmfPduSessionCause_PDU_SESSION_RESUMED SmfPduSessionCause = "PDU_SESSION_RESUMED" + SmfPduSessionCause_CN_ASSISTED_RAN_PARAMETER_TUNING SmfPduSessionCause = "CN_ASSISTED_RAN_PARAMETER_TUNING" + SmfPduSessionCause_ISMF_CONTEXT_TRANSFER SmfPduSessionCause = "ISMF_CONTEXT_TRANSFER" + SmfPduSessionCause_SMF_CONTEXT_TRANSFER SmfPduSessionCause = "SMF_CONTEXT_TRANSFER" + SmfPduSessionCause_REL_DUE_TO_PS_TO_CS_HO SmfPduSessionCause = "REL_DUE_TO_PS_TO_CS_HO" + SmfPduSessionCause_REL_DUE_TO_SUBSCRIPTION_CHANGE SmfPduSessionCause = "REL_DUE_TO_SUBSCRIPTION_CHANGE" + SmfPduSessionCause_HO_CANCEL SmfPduSessionCause = "HO_CANCEL" + SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AUTHORIZED SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AUTHORIZED" + SmfPduSessionCause_PDU_SESSION_HAND_OVER_FAILURE SmfPduSessionCause = "PDU_SESSION_HAND_OVER_FAILURE" + SmfPduSessionCause_DDN_FAILURE_STATUS SmfPduSessionCause = "DDN_FAILURE_STATUS" + SmfPduSessionCause_REL_DUE_TO_CP_ONLY_NOT_APPLICABLE SmfPduSessionCause = "REL_DUE_TO_CP_ONLY_NOT_APPLICABLE" + SmfPduSessionCause_NOT_SUPPORTED_WITH_ISMF SmfPduSessionCause = "NOT_SUPPORTED_WITH_ISMF" + SmfPduSessionCause_CHANGED_ANCHOR_SMF SmfPduSessionCause = "CHANGED_ANCHOR_SMF" + SmfPduSessionCause_CHANGED_INTERMEDIATE_SMF SmfPduSessionCause = "CHANGED_INTERMEDIATE_SMF" + SmfPduSessionCause_TARGET_DNAI_NOTIFICATION SmfPduSessionCause = "TARGET_DNAI_NOTIFICATION" + SmfPduSessionCause_REL_DUE_TO_VPLMN_QOS_FAILURE SmfPduSessionCause = "REL_DUE_TO_VPLMN_QOS_FAILURE" + SmfPduSessionCause_REL_DUE_TO_SMF_NOT_SUPPORT_PSETR SmfPduSessionCause = "REL_DUE_TO_SMF_NOT_SUPPORT_PSETR" + SmfPduSessionCause_REL_DUE_TO_SNPN_SNPN_MOBILITY SmfPduSessionCause = "REL_DUE_TO_SNPN_SNPN_MOBILITY" + SmfPduSessionCause_REL_DUE_TO_NO_HR_AGREEMENT SmfPduSessionCause = "REL_DUE_TO_NO_HR_AGREEMENT" + SmfPduSessionCause_REL_DUE_TO_UNSPECIFIED_REASON SmfPduSessionCause = "REL_DUE_TO_UNSPECIFIED_REASON" +) diff --git a/models/model_smf_pdu_session_dnai_information.go b/models/model_smf_pdu_session_dnai_information.go new file mode 100644 index 00000000..7dfca55b --- /dev/null +++ b/models/model_smf_pdu_session_dnai_information.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DNAI Information +type SmfPduSessionDnaiInformation struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + NoDnaiChangeInd bool `json:"noDnaiChangeInd,omitempty" yaml:"noDnaiChangeInd" bson:"noDnaiChangeInd,omitempty"` + NoLocalPsaChangeInd bool `json:"noLocalPsaChangeInd,omitempty" yaml:"noLocalPsaChangeInd" bson:"noLocalPsaChangeInd,omitempty"` +} diff --git a/models/model_smf_pdu_session_ext_problem_details.go b/models/model_smf_pdu_session_ext_problem_details.go new file mode 100644 index 00000000..a69ee9f5 --- /dev/null +++ b/models/model_smf_pdu_session_ext_problem_details.go @@ -0,0 +1,35 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extended Problem Details +type SmfPduSessionExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` +} diff --git a/models/model_smf_pdu_session_gbr_qos_flow_information.go b/models/model_smf_pdu_session_gbr_qos_flow_information.go new file mode 100644 index 00000000..bd06fcaf --- /dev/null +++ b/models/model_smf_pdu_session_gbr_qos_flow_information.go @@ -0,0 +1,31 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// GBR QoS flow information +type SmfPduSessionGbrQosFlowInformation struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrDl string `json:"maxFbrDl" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrUl string `json:"maxFbrUl" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` + NotifControl NotificationControl `json:"notifControl,omitempty" yaml:"notifControl" bson:"notifControl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + AlternativeQosProfileList []AlternativeQosProfile `json:"alternativeQosProfileList,omitempty" yaml:"alternativeQosProfileList" bson:"alternativeQosProfileList,omitempty"` +} diff --git a/models/model_smf_pdu_session_ip_address.go b/models/model_smf_pdu_session_ip_address.go new file mode 100644 index 00000000..366372dd --- /dev/null +++ b/models/model_smf_pdu_session_ip_address.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP Address +type SmfPduSessionIpAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/model_smf_pdu_session_notification_info.go b/models/model_smf_pdu_session_notification_info.go new file mode 100644 index 00000000..73246a60 --- /dev/null +++ b/models/model_smf_pdu_session_notification_info.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Notification Correlation ID and Notification URI provided by the NF service consumer +type SmfPduSessionNotificationInfo struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + UpBufferInd bool `json:"upBufferInd,omitempty" yaml:"upBufferInd" bson:"upBufferInd,omitempty"` +} diff --git a/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go b/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go new file mode 100644 index 00000000..fae773d4 --- /dev/null +++ b/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual QoS flow requested to be created or modified +type SmfPduSessionQosFlowAddModifyRequestItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // EPS Bearer Identifier + Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` + QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` + AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` +} diff --git a/models/model_smf_pdu_session_qos_flow_profile.go b/models/model_smf_pdu_session_qos_flow_profile.go new file mode 100644 index 00000000..11cc9d3f --- /dev/null +++ b/models/model_smf_pdu_session_qos_flow_profile.go @@ -0,0 +1,28 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS flow profile +type SmfPduSessionQosFlowProfile struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty" yaml:"nonDynamic5Qi" bson:"nonDynamic5Qi,omitempty"` + Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty" yaml:"dynamic5Qi" bson:"dynamic5Qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + GbrQosFlowInfo *SmfPduSessionGbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty" yaml:"gbrQosFlowInfo" bson:"gbrQosFlowInfo,omitempty"` + Rqa ReflectiveQoSAttribute `json:"rqa,omitempty" yaml:"rqa" bson:"rqa,omitempty"` + AdditionalQosFlowInfo *AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty" yaml:"additionalQosFlowInfo" bson:"additionalQosFlowInfo,omitempty"` + QosMonitoringReq QosMonitoringReq `json:"qosMonitoringReq,omitempty" yaml:"qosMonitoringReq" bson:"qosMonitoringReq,omitempty"` + // indicating a time in seconds. + QosRepPeriod int32 `json:"qosRepPeriod,omitempty" yaml:"qosRepPeriod" bson:"qosRepPeriod,omitempty"` +} diff --git a/models/model_smf_pdu_session_sm_context_create_data.go b/models/model_smf_pdu_session_sm_context_create_data.go new file mode 100644 index 00000000..3b532a71 --- /dev/null +++ b/models/model_smf_pdu_session_sm_context_create_data.go @@ -0,0 +1,148 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Create SM Context Request +type SmfPduSessionSmContextCreateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextStatusUri string `json:"smContextStatusUri" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfId string `json:"hSmfId,omitempty" yaml:"hSmfId" bson:"hSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` + AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty" yaml:"additionalHsmfUri" bson:"additionalHsmfUri,omitempty"` + AdditionalHsmfId []string `json:"additionalHsmfId,omitempty" yaml:"additionalHsmfId" bson:"additionalHsmfId,omitempty"` + AdditionalSmfUri []string `json:"additionalSmfUri,omitempty" yaml:"additionalSmfUri" bson:"additionalSmfUri,omitempty"` + AdditionalSmfId []string `json:"additionalSmfId,omitempty" yaml:"additionalSmfId" bson:"additionalSmfId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` + PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty" yaml:"pduSessionsActivateList" bson:"pduSessionsActivateList,omitempty"` + // UE EPS PDN Connection container from SMF to AMF + UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfUri string `json:"nrfUri,omitempty" yaml:"nrfUri" bson:"nrfUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty" yaml:"indirectForwardingFlag" bson:"indirectForwardingFlag,omitempty"` + DirectForwardingFlag bool `json:"directForwardingFlag,omitempty" yaml:"directForwardingFlag" bson:"directForwardingFlag,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + // EPS bearer context status + EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` + CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` + CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` + InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextRef string `json:"smContextRef,omitempty" yaml:"smContextRef" bson:"smContextRef,omitempty"` + SmContextSmfPlmnId *PlmnIdNid `json:"smContextSmfPlmnId,omitempty" yaml:"smContextSmfPlmnId" bson:"smContextSmfPlmnId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmContextSmfId string `json:"smContextSmfId,omitempty" yaml:"smContextSmfId" bson:"smContextSmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmContextSmfSetId string `json:"smContextSmfSetId,omitempty" yaml:"smContextSmfSetId" bson:"smContextSmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmContextSmfServiceSetId string `json:"smContextSmfServiceSetId,omitempty" yaml:"smContextSmfServiceSetId" bson:"smContextSmfServiceSetId,omitempty"` + SmContextSmfBinding SbiBindingLevel `json:"smContextSmfBinding,omitempty" yaml:"smContextSmfBinding" bson:"smContextSmfBinding,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SmfTransferInd bool `json:"smfTransferInd,omitempty" yaml:"smfTransferInd" bson:"smfTransferInd,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` + TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` + TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` + RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` + SamePcfSelectionInd bool `json:"samePcfSelectionInd,omitempty" yaml:"samePcfSelectionInd" bson:"samePcfSelectionInd,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` + UavAuthenticated bool `json:"uavAuthenticated,omitempty" yaml:"uavAuthenticated" bson:"uavAuthenticated,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` + SmContextSmfOauth2Required bool `json:"smContextSmfOauth2Required,omitempty" yaml:"smContextSmfOauth2Required" bson:"smContextSmfOauth2Required,omitempty"` +} diff --git a/models/model_smf_pdu_session_sm_context_created_data.go b/models/model_smf_pdu_session_sm_context_created_data.go new file mode 100644 index 00000000..1f4b3404 --- /dev/null +++ b/models/model_smf_pdu_session_sm_context_created_data.go @@ -0,0 +1,47 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Create SM Context Response +type SmfPduSessionSmContextCreatedData struct { + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` +} diff --git a/models/model_smf_pdu_session_sm_context_release_data.go b/models/model_smf_pdu_session_sm_context_release_data.go new file mode 100644 index 00000000..bb0948ca --- /dev/null +++ b/models/model_smf_pdu_session_sm_context_release_data.go @@ -0,0 +1,29 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Release SM Context Request +type SmfPduSessionSmContextReleaseData struct { + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty" yaml:"vsmfReleaseOnly" bson:"vsmfReleaseOnly,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + IsmfReleaseOnly bool `json:"ismfReleaseOnly,omitempty" yaml:"ismfReleaseOnly" bson:"ismfReleaseOnly,omitempty"` +} diff --git a/models/model_smf_pdu_session_sm_context_status_notification.go b/models/model_smf_pdu_session_sm_context_status_notification.go new file mode 100644 index 00000000..2da9738d --- /dev/null +++ b/models/model_smf_pdu_session_sm_context_status_notification.go @@ -0,0 +1,41 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Notify SM Context Status Request +type SmfPduSessionSmContextStatusNotification struct { + StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DdnFailureStatus bool `json:"ddnFailureStatus,omitempty" yaml:"ddnFailureStatus" bson:"ddnFailureStatus,omitempty"` + NotifyCorrelationIdsForddnFailure []string `json:"notifyCorrelationIdsForddnFailure,omitempty" yaml:"notifyCorrelationIdsForddnFailure" bson:"notifyCorrelationIdsForddnFailure,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewIntermediateSmfId string `json:"newIntermediateSmfId,omitempty" yaml:"newIntermediateSmfId" bson:"newIntermediateSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NewSmfSetId string `json:"newSmfSetId,omitempty" yaml:"newSmfSetId" bson:"newSmfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + AltAnchorSmfUri string `json:"altAnchorSmfUri,omitempty" yaml:"altAnchorSmfUri" bson:"altAnchorSmfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AltAnchorSmfId string `json:"altAnchorSmfId,omitempty" yaml:"altAnchorSmfId" bson:"altAnchorSmfId,omitempty"` + TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` +} diff --git a/models/model_smf_pdu_session_sm_context_update_data.go b/models/model_smf_pdu_session_sm_context_update_data.go new file mode 100644 index 00000000..8848d47f --- /dev/null +++ b/models/model_smf_pdu_session_sm_context_update_data.go @@ -0,0 +1,82 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update SM Context Request +type SmfPduSessionSmContextUpdateData struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + AnTypeToReactivate AccessType `json:"anTypeToReactivate,omitempty" yaml:"anTypeToReactivate" bson:"anTypeToReactivate,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + ToBeSwitched bool `json:"toBeSwitched,omitempty" yaml:"toBeSwitched" bson:"toBeSwitched,omitempty"` + FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty" yaml:"failedToBeSwitched" bson:"failedToBeSwitched,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetServingNfId string `json:"targetServingNfId,omitempty" yaml:"targetServingNfId" bson:"targetServingNfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextStatusUri string `json:"smContextStatusUri,omitempty" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + N9ForwardingTunnel *TunnelInfo `json:"n9ForwardingTunnel,omitempty" yaml:"n9ForwardingTunnel" bson:"n9ForwardingTunnel,omitempty"` + N9DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9DlForwardingTnlList,omitempty" yaml:"n9DlForwardingTnlList" bson:"n9DlForwardingTnlList,omitempty"` + N9UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9UlForwardingTnlList,omitempty" yaml:"n9UlForwardingTnlList" bson:"n9UlForwardingTnlList,omitempty"` + N9DlForwardingTunnel *TunnelInfo `json:"n9DlForwardingTunnel,omitempty" yaml:"n9DlForwardingTunnel" bson:"n9DlForwardingTunnel,omitempty"` + // indicating a time in seconds. + N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` + EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + Release bool `json:"release,omitempty" yaml:"release" bson:"release,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + ExemptionInd *ExemptionInd `json:"exemptionInd,omitempty" yaml:"exemptionInd" bson:"exemptionInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` + ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SkipN2PduSessionResRelInd bool `json:"skipN2PduSessionResRelInd,omitempty" yaml:"skipN2PduSessionResRelInd" bson:"skipN2PduSessionResRelInd,omitempty"` + SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` +} diff --git a/models/model_smf_registration.go b/models/model_smf_registration.go index 37755a89..9b9d7ad4 100644 --- a/models/model_smf_registration.go +++ b/models/model_smf_registration.go @@ -1,22 +1,53 @@ /* - * Nudm_UECM + * Nudr_DataRepository API OpenAPI file * - * Nudm Context Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type SmfRegistration struct { - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId" mapstructure:"SmfInstanceId"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId" mapstructure:"PduSessionId"` - SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai" mapstructure:"SingleNssai"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn" mapstructure:"Dnn"` - EmergencyServices bool `json:"emergencyServices,omitempty" yaml:"emergencyServices" bson:"emergencyServices" mapstructure:"EmergencyServices"` - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri" mapstructure:"PcscfRestorationCallbackUri"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn" mapstructure:"PgwFqdn"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + EmergencyServices bool `json:"emergencyServices,omitempty" yaml:"emergencyServices" bson:"emergencyServices,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + RegistrationReason RegistrationReason `json:"registrationReason,omitempty" yaml:"registrationReason" bson:"registrationReason,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` } diff --git a/models/model_smf_registration_info.go b/models/model_smf_registration_info.go new file mode 100644 index 00000000..11170181 --- /dev/null +++ b/models/model_smf_registration_info.go @@ -0,0 +1,17 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfRegistrationInfo struct { + SmfRegistrationList []SmfRegistration `json:"smfRegistrationList" yaml:"smfRegistrationList" bson:"smfRegistrationList,omitempty"` +} diff --git a/models/model_smf_registration_modification.go b/models/model_smf_registration_modification.go new file mode 100644 index 00000000..dcbc6585 --- /dev/null +++ b/models/model_smf_registration_modification.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains attributes of SmfRegistration that can be modified using PATCH +type SmfRegistrationModification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` +} diff --git a/models/model_smf_selection_data.go b/models/model_smf_selection_data.go new file mode 100644 index 00000000..77751a87 --- /dev/null +++ b/models/model_smf_selection_data.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the SMF Selection information that may be replaced by the PCF. +type SmfSelectionData struct { + UnsuppDnn bool `json:"unsuppDnn,omitempty" yaml:"unsuppDnn" bson:"unsuppDnn,omitempty"` + // Contains the list of DNNs per S-NSSAI that are candidates for replacement. The snssai attribute within the CandidateForReplacement data type is the key of the map. + Candidates map[string]*CandidateForReplacement `json:"candidates,omitempty" yaml:"candidates" bson:"candidates,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + MappingSnssai *Snssai `json:"mappingSnssai,omitempty" yaml:"mappingSnssai" bson:"mappingSnssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_smf_selection_subscription_data.go b/models/model_smf_selection_subscription_data.go index 1fad22ce..f625cf6c 100644 --- a/models/model_smf_selection_subscription_data.go +++ b/models/model_smf_selection_subscription_data.go @@ -1,16 +1,23 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmfSelectionSubscriptionData struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - SubscribedSnssaiInfos map[string]SnssaiInfo `json:"subscribedSnssaiInfos,omitempty" yaml:"subscribedSnssaiInfos" bson:"subscribedSnssaiInfos" mapstructure:"SubscribedSnssaiInfos"` - SharedSnssaiInfosId string `json:"sharedSnssaiInfosId,omitempty" yaml:"sharedSnssaiInfosId" bson:"sharedSnssaiInfosId" mapstructure:"SharedSnssaiInfosId"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo + SubscribedSnssaiInfos map[string]SnssaiInfo `json:"subscribedSnssaiInfos,omitempty" yaml:"subscribedSnssaiInfos" bson:"subscribedSnssaiInfos,omitempty"` + SharedSnssaiInfosId string `json:"sharedSnssaiInfosId,omitempty" yaml:"sharedSnssaiInfosId" bson:"sharedSnssaiInfosId,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` } diff --git a/models/model_smf_selection_type.go b/models/model_smf_selection_type.go new file mode 100644 index 00000000..8c650d80 --- /dev/null +++ b/models/model_smf_selection_type.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfSelectionType string + +// List of SmfSelectionType +const ( + SmfSelectionType_CURRENT_PDU_SESSION SmfSelectionType = "CURRENT_PDU_SESSION" + SmfSelectionType_NEXT_PDU_SESSION SmfSelectionType = "NEXT_PDU_SESSION" +) diff --git a/models/model_smf_subscription_info.go b/models/model_smf_subscription_info.go new file mode 100644 index 00000000..b5afcc15 --- /dev/null +++ b/models/model_smf_subscription_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active subscriptions at the SMF(s) +type SmfSubscriptionInfo struct { + SmfSubscriptionList []SmfSubscriptionItem `json:"smfSubscriptionList" yaml:"smfSubscriptionList" bson:"smfSubscriptionList,omitempty"` +} diff --git a/models/model_smf_subscription_item.go b/models/model_smf_subscription_item.go new file mode 100644 index 00000000..39102ece --- /dev/null +++ b/models/model_smf_subscription_item.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains info about a single SMF event subscription +type SmfSubscriptionItem struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/model_sms_charging_information.go b/models/model_sms_charging_information.go index f53c58f1..cef4cfa6 100644 --- a/models/model_sms_charging_information.go +++ b/models/model_sms_charging_information.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,28 +17,36 @@ import ( ) type SmsChargingInformation struct { - OriginatorInfo *OriginatorInfo `json:"originatorInfo,omitempty" yaml:"originatorInfo" bson:"originatorInfo" mapstructure:"OriginatorInfo"` - RecipientInfo []RecipientInfo `json:"recipientInfo,omitempty" yaml:"recipientInfo" bson:"recipientInfo" mapstructure:"RecipientInfo"` - UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo" mapstructure:"UserEquipmentInfo"` - RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut" mapstructure:"RoamerInOut"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo" mapstructure:"UserLocationinfo"` - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone" mapstructure:"UetimeZone"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType" mapstructure:"RATType"` - SMSCAddress string `json:"sMSCAddress,omitempty" yaml:"sMSCAddress" bson:"sMSCAddress" mapstructure:"SMSCAddress"` - SMDataCodingScheme int32 `json:"sMDataCodingScheme,omitempty" yaml:"sMDataCodingScheme" bson:"sMDataCodingScheme" mapstructure:"SMDataCodingScheme"` - SMMessageType SmMessageType `json:"sMMessageType,omitempty" yaml:"sMMessageType" bson:"sMMessageType" mapstructure:"SMMessageType"` - SMReplyPathRequested ReplyPathRequested `json:"sMReplyPathRequested,omitempty" yaml:"sMReplyPathRequested" bson:"sMReplyPathRequested" mapstructure:"SMReplyPathRequested"` - SMUserDataHeader string `json:"sMUserDataHeader,omitempty" yaml:"sMUserDataHeader" bson:"sMUserDataHeader" mapstructure:"SMUserDataHeader"` - SMStatus string `json:"sMStatus,omitempty" yaml:"sMStatus" bson:"sMStatus" mapstructure:"SMStatus"` - SMDischargeTime *time.Time `json:"sMDischargeTime,omitempty" yaml:"sMDischargeTime" bson:"sMDischargeTime" mapstructure:"SMDischargeTime"` - NumberofMessagesSent int32 `json:"numberofMessagesSent,omitempty" yaml:"numberofMessagesSent" bson:"numberofMessagesSent" mapstructure:"NumberofMessagesSent"` - SMServiceType SmServiceType `json:"sMServiceType,omitempty" yaml:"sMServiceType" bson:"sMServiceType" mapstructure:"SMServiceType"` - SMSequenceNumber int32 `json:"sMSequenceNumber,omitempty" yaml:"sMSequenceNumber" bson:"sMSequenceNumber" mapstructure:"SMSequenceNumber"` - SMSresult int32 `json:"sMSresult,omitempty" yaml:"sMSresult" bson:"sMSresult" mapstructure:"SMSresult"` - SubmissionTime *time.Time `json:"submissionTime,omitempty" yaml:"submissionTime" bson:"submissionTime" mapstructure:"SubmissionTime"` - SMPriority SmPriority `json:"sMPriority,omitempty" yaml:"sMPriority" bson:"sMPriority" mapstructure:"SMPriority"` - MessageReference string `json:"messageReference,omitempty" yaml:"messageReference" bson:"messageReference" mapstructure:"MessageReference"` - MessageSize int32 `json:"messageSize,omitempty" yaml:"messageSize" bson:"messageSize" mapstructure:"MessageSize"` - MessageClass *MessageClass `json:"messageClass,omitempty" yaml:"messageClass" bson:"messageClass" mapstructure:"MessageClass"` - DeliveryReportRequested DeliveryReportRequested `json:"deliveryReportRequested,omitempty" yaml:"deliveryReportRequested" bson:"deliveryReportRequested" mapstructure:"DeliveryReportRequested"` + OriginatorInfo *OriginatorInfo `json:"originatorInfo,omitempty" yaml:"originatorInfo" bson:"originatorInfo,omitempty"` + RecipientInfo []RecipientInfo `json:"recipientInfo,omitempty" yaml:"recipientInfo" bson:"recipientInfo,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + SMSCAddress string `json:"sMSCAddress,omitempty" yaml:"sMSCAddress" bson:"sMSCAddress,omitempty"` + SMDataCodingScheme int32 `json:"sMDataCodingScheme,omitempty" yaml:"sMDataCodingScheme" bson:"sMDataCodingScheme,omitempty"` + SMMessageType SmMessageType `json:"sMMessageType,omitempty" yaml:"sMMessageType" bson:"sMMessageType,omitempty"` + SMReplyPathRequested ReplyPathRequested `json:"sMReplyPathRequested,omitempty" yaml:"sMReplyPathRequested" bson:"sMReplyPathRequested,omitempty"` + SMUserDataHeader string `json:"sMUserDataHeader,omitempty" yaml:"sMUserDataHeader" bson:"sMUserDataHeader,omitempty"` + SMStatus string `json:"sMStatus,omitempty" yaml:"sMStatus" bson:"sMStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SMDischargeTime *time.Time `json:"sMDischargeTime,omitempty" yaml:"sMDischargeTime" bson:"sMDischargeTime,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberofMessagesSent int32 `json:"numberofMessagesSent,omitempty" yaml:"numberofMessagesSent" bson:"numberofMessagesSent,omitempty"` + SMServiceType SmServiceType `json:"sMServiceType,omitempty" yaml:"sMServiceType" bson:"sMServiceType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SMSequenceNumber int32 `json:"sMSequenceNumber,omitempty" yaml:"sMSequenceNumber" bson:"sMSequenceNumber,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SMSresult int32 `json:"sMSresult,omitempty" yaml:"sMSresult" bson:"sMSresult,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SubmissionTime *time.Time `json:"submissionTime,omitempty" yaml:"submissionTime" bson:"submissionTime,omitempty"` + SMPriority SmPriority `json:"sMPriority,omitempty" yaml:"sMPriority" bson:"sMPriority,omitempty"` + MessageReference string `json:"messageReference,omitempty" yaml:"messageReference" bson:"messageReference,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MessageSize int32 `json:"messageSize,omitempty" yaml:"messageSize" bson:"messageSize,omitempty"` + MessageClass *MessageClass `json:"messageClass,omitempty" yaml:"messageClass" bson:"messageClass,omitempty"` + DeliveryReportRequested DeliveryReportRequested `json:"deliveryReportRequested,omitempty" yaml:"deliveryReportRequested" bson:"deliveryReportRequested,omitempty"` } diff --git a/models/model_sms_data.go b/models/model_sms_data.go new file mode 100644 index 00000000..ba3fc85b --- /dev/null +++ b/models/model_sms_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within request message for delivering SMS. +type SmsData struct { + SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` +} diff --git a/models/model_sms_delivery_data.go b/models/model_sms_delivery_data.go new file mode 100644 index 00000000..8d1b1394 --- /dev/null +++ b/models/model_sms_delivery_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within response message invoking MtForwardSm service operation, for delivering MT SMS Delivery Report. +type SmsDeliveryData struct { + SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` +} diff --git a/models/model_sms_indication.go b/models/model_sms_indication.go index 1c4c85a8..1a58698a 100644 --- a/models/model_sms_indication.go +++ b/models/model_sms_indication.go @@ -1,9 +1,12 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_sms_management_subscription_data.go b/models/model_sms_management_subscription_data.go index 5c21c89d..ed2aea23 100644 --- a/models/model_sms_management_subscription_data.go +++ b/models/model_sms_management_subscription_data.go @@ -1,21 +1,26 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmsManagementSubscriptionData struct { - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - MtSmsSubscribed bool `json:"mtSmsSubscribed,omitempty" yaml:"mtSmsSubscribed" bson:"mtSmsSubscribed" mapstructure:"MtSmsSubscribed"` - MtSmsBarringAll bool `json:"mtSmsBarringAll,omitempty" yaml:"mtSmsBarringAll" bson:"mtSmsBarringAll" mapstructure:"MtSmsBarringAll"` - MtSmsBarringRoaming bool `json:"mtSmsBarringRoaming,omitempty" yaml:"mtSmsBarringRoaming" bson:"mtSmsBarringRoaming" mapstructure:"MtSmsBarringRoaming"` - MoSmsSubscribed bool `json:"moSmsSubscribed,omitempty" yaml:"moSmsSubscribed" bson:"moSmsSubscribed" mapstructure:"MoSmsSubscribed"` - MoSmsBarringAll bool `json:"moSmsBarringAll,omitempty" yaml:"moSmsBarringAll" bson:"moSmsBarringAll" mapstructure:"MoSmsBarringAll"` - MoSmsBarringRoaming bool `json:"moSmsBarringRoaming,omitempty" yaml:"moSmsBarringRoaming" bson:"moSmsBarringRoaming" mapstructure:"MoSmsBarringRoaming"` - SharedSmsMngDataIds []string `json:"sharedSmsMngDataIds,omitempty" yaml:"sharedSmsMngDataIds" bson:"sharedSmsMngDataIds" mapstructure:"SharedSmsMngDataIds"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MtSmsSubscribed bool `json:"mtSmsSubscribed,omitempty" yaml:"mtSmsSubscribed" bson:"mtSmsSubscribed,omitempty"` + MtSmsBarringAll bool `json:"mtSmsBarringAll,omitempty" yaml:"mtSmsBarringAll" bson:"mtSmsBarringAll,omitempty"` + MtSmsBarringRoaming bool `json:"mtSmsBarringRoaming,omitempty" yaml:"mtSmsBarringRoaming" bson:"mtSmsBarringRoaming,omitempty"` + MoSmsSubscribed bool `json:"moSmsSubscribed,omitempty" yaml:"moSmsSubscribed" bson:"moSmsSubscribed,omitempty"` + MoSmsBarringAll bool `json:"moSmsBarringAll,omitempty" yaml:"moSmsBarringAll" bson:"moSmsBarringAll,omitempty"` + MoSmsBarringRoaming bool `json:"moSmsBarringRoaming,omitempty" yaml:"moSmsBarringRoaming" bson:"moSmsBarringRoaming,omitempty"` + SharedSmsMngDataIds []string `json:"sharedSmsMngDataIds,omitempty" yaml:"sharedSmsMngDataIds" bson:"sharedSmsMngDataIds,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` } diff --git a/models/model_sms_registration_info.go b/models/model_sms_registration_info.go new file mode 100644 index 00000000..7a2c428d --- /dev/null +++ b/models/model_sms_registration_info.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMS Registration Information (IP-SM-GW number and SC address) +type SmsRegistrationInfo struct { + // String containing an additional or basic MSISDN + IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` + // String containing an additional or basic MSISDN + ScAddress string `json:"scAddress,omitempty" yaml:"scAddress" bson:"scAddress,omitempty"` +} diff --git a/models/model_sms_router_info.go b/models/model_sms_router_info.go new file mode 100644 index 00000000..2f1cb039 --- /dev/null +++ b/models/model_sms_router_info.go @@ -0,0 +1,26 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information of the SMS Router configured at the UDM +type SmsRouterInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + DiameterAddress *NetworkNodeDiameterAddress `json:"diameterAddress,omitempty" yaml:"diameterAddress" bson:"diameterAddress,omitempty"` + MapAddress string `json:"mapAddress,omitempty" yaml:"mapAddress" bson:"mapAddress,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + RouterIpv4 string `json:"routerIpv4,omitempty" yaml:"routerIpv4" bson:"routerIpv4,omitempty"` + RouterIpv6 string `json:"routerIpv6,omitempty" yaml:"routerIpv6" bson:"routerIpv6,omitempty"` + // Fully Qualified Domain Name + RouterFqdn string `json:"routerFqdn,omitempty" yaml:"routerFqdn" bson:"routerFqdn,omitempty"` +} diff --git a/models/model_sms_subscription_data.go b/models/model_sms_subscription_data.go index 6886e886..8675fc48 100644 --- a/models/model_sms_subscription_data.go +++ b/models/model_sms_subscription_data.go @@ -1,15 +1,20 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmsSubscriptionData struct { - SmsSubscribed bool `json:"smsSubscribed,omitempty" yaml:"smsSubscribed" bson:"smsSubscribed" mapstructure:"SmsSubscribed"` - SharedSmsSubsDataId []string `json:"sharedSmsSubsDataId,omitempty" yaml:"sharedSmsSubsDataId" bson:"sharedSmsSubsDataId" mapstructure:"SharedSmsSubsDataId"` + SmsSubscribed bool `json:"smsSubscribed,omitempty" yaml:"smsSubscribed" bson:"smsSubscribed,omitempty"` + SharedSmsSubsDataId string `json:"sharedSmsSubsDataId,omitempty" yaml:"sharedSmsSubsDataId" bson:"sharedSmsSubsDataId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_sms_support.go b/models/model_sms_support.go index 3fe6f584..0054f2fb 100644 --- a/models/model_sms_support.go +++ b/models/model_sms_support.go @@ -1,9 +1,12 @@ /* - * Nudr_DataRepository API OpenAPI file + * Namf_Communication * - * Unified Data Repository Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_smsc_data.go b/models/model_smsc_data.go new file mode 100644 index 00000000..bd1c4a85 --- /dev/null +++ b/models/model_smsc_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addresses of SM-Service Center entities with SMS wating to be delivered to the UE. +type SmscData struct { + SmscMapAddress string `json:"smscMapAddress,omitempty" yaml:"smscMapAddress" bson:"smscMapAddress,omitempty"` + SmscDiameterAddress *NetworkNodeDiameterAddress `json:"smscDiameterAddress,omitempty" yaml:"smscDiameterAddress" bson:"smscDiameterAddress,omitempty"` +} diff --git a/models/model_smsf_info.go b/models/model_smsf_info.go index 2c99874c..da36703b 100644 --- a/models/model_smsf_info.go +++ b/models/model_smsf_info.go @@ -1,15 +1,21 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SmsfInfo struct { - SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId" mapstructure:"SmsfInstanceId"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` } diff --git a/models/model_smsf_registration.go b/models/model_smsf_registration.go index ed087673..4b2547f3 100644 --- a/models/model_smsf_registration.go +++ b/models/model_smsf_registration.go @@ -1,18 +1,40 @@ /* - * Nudm_UECM + * Nudr_DataRepository API OpenAPI file * - * Nudm Context Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + type SmsfRegistration struct { - SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId" mapstructure:"SmsfInstanceId"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - SmsfMAPAddress string `json:"smsfMAPAddress,omitempty" yaml:"smsfMAPAddress" bson:"smsfMAPAddress" mapstructure:"SmsfMAPAddress"` - SmsfDiameterAddress *NetworkNodeDiameterAddress `json:"smsfDiameterAddress,omitempty" yaml:"smsfDiameterAddress" bson:"smsfDiameterAddress" mapstructure:"SmsfDiameterAddress"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SmsfMAPAddress string `json:"smsfMAPAddress,omitempty" yaml:"smsfMAPAddress" bson:"smsfMAPAddress,omitempty"` + SmsfDiameterAddress *NetworkNodeDiameterAddress `json:"smsfDiameterAddress,omitempty" yaml:"smsfDiameterAddress" bson:"smsfDiameterAddress,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SmsfSbiSupInd bool `json:"smsfSbiSupInd,omitempty" yaml:"smsfSbiSupInd" bson:"smsfSbiSupInd,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` + UeMemoryAvailableInd bool `json:"ueMemoryAvailableInd,omitempty" yaml:"ueMemoryAvailableInd" bson:"ueMemoryAvailableInd,omitempty"` } diff --git a/models/model_snssai.go b/models/model_snssai.go index 18d1c2f5..aa96351c 100644 --- a/models/model_snssai.go +++ b/models/model_snssai.go @@ -1,15 +1,21 @@ /* - * Nbsf_Management + * 3gpp-traffic-influence * - * Binding Support Management Service API + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits \"sst\" optionally followed by \"-\" and 6 hexadecimal digits \"sd\". type Snssai struct { - Sst int32 `json:"sst" yaml:"sst" bson:"sst" mapstructure:"Sst"` - Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd" mapstructure:"Sd"` + // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. + Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` + // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. + Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` } diff --git a/models/model_snssai_dnn_combination.go b/models/model_snssai_dnn_combination.go new file mode 100644 index 00000000..cf6d5491 --- /dev/null +++ b/models/model_snssai_dnn_combination.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a combination of S-NSSAI and DNN(s). +type SnssaiDnnCombination struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` +} diff --git a/models/model_snssai_easdf_info_item.go b/models/model_snssai_easdf_info_item.go new file mode 100644 index 00000000..7e278432 --- /dev/null +++ b/models/model_snssai_easdf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by EASDF for a given S-NSSAI +type SnssaiEasdfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnEasdfInfoList []DnnEasdfInfoItem `json:"dnnEasdfInfoList" yaml:"dnnEasdfInfoList" bson:"dnnEasdfInfoList,omitempty"` +} diff --git a/models/model_snssai_extension.go b/models/model_snssai_extension.go new file mode 100644 index 00000000..d215da48 --- /dev/null +++ b/models/model_snssai_extension.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extensions to the Snssai data type, sdRanges and wildcardSd shall not be present simultaneously +type SnssaiExtension struct { + // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type + SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` + // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. + WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` +} diff --git a/models/model_snssai_info.go b/models/model_snssai_info.go index 2be8847f..094c6728 100644 --- a/models/model_snssai_info.go +++ b/models/model_snssai_info.go @@ -1,14 +1,17 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SnssaiInfo struct { - DnnInfos []DnnInfo `json:"dnnInfos" yaml:"dnnInfos" bson:"dnnInfos" mapstructure:"DnnInfos"` + DnnInfos []DnnInfo `json:"dnnInfos" yaml:"dnnInfos" bson:"dnnInfos,omitempty"` } diff --git a/models/model_snssai_info_item.go b/models/model_snssai_info_item.go new file mode 100644 index 00000000..4f96765f --- /dev/null +++ b/models/model_snssai_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an NF for a given S-NSSAI Set of parameters supported by NF for a given S-NSSAI +type SnssaiInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/model_snssai_mb_smf_info_item.go b/models/model_snssai_mb_smf_info_item.go new file mode 100644 index 00000000..8ab3f1d9 --- /dev/null +++ b/models/model_snssai_mb_smf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an MB-SMF for a given S-NSSAI +type SnssaiMbSmfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnMbSmfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/model_snssai_route_selection_descriptor.go b/models/model_snssai_route_selection_descriptor.go new file mode 100644 index 00000000..4387bafa --- /dev/null +++ b/models/model_snssai_route_selection_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selector parameters (DNNs, PDU session types, SSC modes and ATSSS information) per SNSSAI +type SnssaiRouteSelectionDescriptor struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + DnnRouteSelDescs []DnnRouteSelectionDescriptor `json:"dnnRouteSelDescs,omitempty" yaml:"dnnRouteSelDescs" bson:"dnnRouteSelDescs,omitempty"` +} diff --git a/models/model_snssai_smf_info_item.go b/models/model_snssai_smf_info_item.go index 73499a52..9887c94e 100644 --- a/models/model_snssai_smf_info_item.go +++ b/models/model_snssai_smf_info_item.go @@ -1,15 +1,19 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Set of parameters supported by SMF for a given S-NSSAI type SnssaiSmfInfoItem struct { - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai" mapstructure:"SNssai"` - DnnSmfInfoList *[]DnnSmfInfoItem `json:"dnnSmfInfoList" yaml:"dnnSmfInfoList" bson:"dnnSmfInfoList" mapstructure:"DnnSmfInfoList"` + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnSmfInfoList []DnnSmfInfoItem `json:"dnnSmfInfoList" yaml:"dnnSmfInfoList" bson:"dnnSmfInfoList,omitempty"` } diff --git a/models/model_snssai_tai_mapping.go b/models/model_snssai_tai_mapping.go new file mode 100644 index 00000000..52f02dd8 --- /dev/null +++ b/models/model_snssai_tai_mapping.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of restricted or unrestricted S-NSSAIs per TAI(s) +type SnssaiTaiMapping struct { + ReportingArea *TargetArea `json:"reportingArea" yaml:"reportingArea" bson:"reportingArea,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + SupportedSnssaiList []SupportedSnssai `json:"supportedSnssaiList,omitempty" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` +} diff --git a/models/model_snssai_tsctsf_info_item.go b/models/model_snssai_tsctsf_info_item.go new file mode 100644 index 00000000..78aab592 --- /dev/null +++ b/models/model_snssai_tsctsf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by TSCTSF for a given S-NSSAI +type SnssaiTsctsfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnTsctsfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/model_snssai_upf_info_item.go b/models/model_snssai_upf_info_item.go index ed62a846..dd3730b1 100644 --- a/models/model_snssai_upf_info_item.go +++ b/models/model_snssai_upf_info_item.go @@ -1,15 +1,20 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Set of parameters supported by UPF for a given S-NSSAI type SnssaiUpfInfoItem struct { - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai" mapstructure:"SNssai"` - DnnUpfInfoList []DnnUpfInfoItem `json:"dnnUpfInfoList" yaml:"dnnUpfInfoList" bson:"dnnUpfInfoList" mapstructure:"DnnUpfInfoList"` + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnUpfInfoList []DnnUpfInfoItem `json:"dnnUpfInfoList" yaml:"dnnUpfInfoList" bson:"dnnUpfInfoList,omitempty"` + RedundantTransport bool `json:"redundantTransport,omitempty" yaml:"redundantTransport" bson:"redundantTransport,omitempty"` } diff --git a/models/model_software_image_info.go b/models/model_software_image_info.go new file mode 100644 index 00000000..af882f89 --- /dev/null +++ b/models/model_software_image_info.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SoftwareImageInfo struct { + MinimumDisk int32 `json:"minimumDisk,omitempty" yaml:"minimumDisk" bson:"minimumDisk,omitempty"` + MinimumRAM int32 `json:"minimumRAM,omitempty" yaml:"minimumRAM" bson:"minimumRAM,omitempty"` + DiscFormat string `json:"discFormat,omitempty" yaml:"discFormat" bson:"discFormat,omitempty"` + OperatingSystem string `json:"operatingSystem,omitempty" yaml:"operatingSystem" bson:"operatingSystem,omitempty"` + SwImageRef string `json:"swImageRef,omitempty" yaml:"swImageRef" bson:"swImageRef,omitempty"` +} diff --git a/models/model_sor_data.go b/models/model_sor_data.go index 4fe0d841..17febf6e 100644 --- a/models/model_sor_data.go +++ b/models/model_sor_data.go @@ -1,14 +1,29 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Used to store the status of the latest SOR data update. type SorData struct { - SorXmacIue string `json:"sorXmacIue" bson:"sorXmacIue"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` + MeSupportOfSorCmci bool `json:"meSupportOfSorCmci,omitempty" yaml:"meSupportOfSorCmci" bson:"meSupportOfSorCmci,omitempty"` } diff --git a/models/model_sor_info.go b/models/model_sor_info.go index cd22e44b..61a24a7a 100644 --- a/models/model_sor_info.go +++ b/models/model_sor_info.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,9 +17,9 @@ import ( ) type SorInfo struct { - SteeringContainer *SteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer" mapstructure:"SteeringContainer"` - AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd" mapstructure:"AckInd"` - SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf" mapstructure:"SorMacIausf"` - Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor" mapstructure:"Countersor"` - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime" mapstructure:"ProvisioningTime"` + SteeringContainer *SteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` + AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` + SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` + Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor,omitempty"` + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` } diff --git a/models/model_sor_security_info.go b/models/model_sor_security_info.go index 77c5e5f0..4d417320 100644 --- a/models/model_sor_security_info.go +++ b/models/model_sor_security_info.go @@ -1,16 +1,23 @@ /* * Nausf_SoRProtection Service * - * AUSF SoR Protection Service + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the material generated for securing of SoR. It contains at least the SoR-MAC-IAUSF and CounterSoR. type SorSecurityInfo struct { - SorMacIausf string `json:"sorMacIausf" yaml:"sorMacIausf" bson:"sorMacIausf"` - CounterSor string `json:"counterSor" yaml:"counterSor" bson:"counterSor"` - SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIausf string `json:"sorMacIausf" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` + // CounterSoR. + CounterSor string `json:"counterSor" yaml:"counterSor" bson:"counterSor,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` } diff --git a/models/model_sor_update_indicator.go b/models/model_sor_update_indicator.go new file mode 100644 index 00000000..1bcc3418 --- /dev/null +++ b/models/model_sor_update_indicator.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SorUpdateIndicator string + +// List of SorUpdateIndicator +const ( + SorUpdateIndicator_INITIAL_REGISTRATION SorUpdateIndicator = "INITIAL_REGISTRATION" + SorUpdateIndicator_EMERGENCY_REGISTRATION SorUpdateIndicator = "EMERGENCY_REGISTRATION" +) diff --git a/models/model_sor_update_info.go b/models/model_sor_update_info.go new file mode 100644 index 00000000..7fd51114 --- /dev/null +++ b/models/model_sor_update_info.go @@ -0,0 +1,19 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SorUpdateInfo struct { + VplmnId *PlmnId `json:"vplmnId" yaml:"vplmnId" bson:"vplmnId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_spatial_validity.go b/models/model_spatial_validity.go index 1f80deb9..553f7fc6 100644 --- a/models/model_spatial_validity.go +++ b/models/model_spatial_validity.go @@ -1,15 +1,19 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// describes explicitly the route to an Application location +// Describes explicitly the route to an Application location. type SpatialValidity struct { - PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList" mapstructure:"PresenceInfoList"` + // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` } diff --git a/models/model_spatial_validity_cond.go b/models/model_spatial_validity_cond.go new file mode 100644 index 00000000..b8d88f7f --- /dev/null +++ b/models/model_spatial_validity_cond.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Spatial Validity Condition. +type SpatialValidityCond struct { + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + Countries []string `json:"countries,omitempty" yaml:"countries" bson:"countries,omitempty"` + GeographicalServiceArea *GeoServiceArea `json:"geographicalServiceArea,omitempty" yaml:"geographicalServiceArea" bson:"geographicalServiceArea,omitempty"` +} diff --git a/models/model_spatial_validity_rm.go b/models/model_spatial_validity_rm.go index 478ce2d0..8086be67 100644 --- a/models/model_spatial_validity_rm.go +++ b/models/model_spatial_validity_rm.go @@ -1,15 +1,19 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// this data type is defined in the same way as the SpatialValidity data type, but with the OpenAPI nullable property set to true +// This data type is defined in the same way as the SpatialValidity data type, but with the OpenAPI nullable property set to true. type SpatialValidityRm struct { - PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList" mapstructure:"PresenceInfoList"` + // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` } diff --git a/models/model_specific_analytics_subscription.go b/models/model_specific_analytics_subscription.go new file mode 100644 index 00000000..0895afeb --- /dev/null +++ b/models/model_specific_analytics_subscription.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an existing subscription for a specific type of analytics to a specific NWDAF. +type SpecificAnalyticsSubscription struct { + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub,omitempty" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` +} diff --git a/models/model_specific_data_subscription.go b/models/model_specific_data_subscription.go new file mode 100644 index 00000000..b0fed5db --- /dev/null +++ b/models/model_specific_data_subscription.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an existing subscription for data collection to a specific data source NF. +type SpecificDataSubscription struct { + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` +} diff --git a/models/model_spending_limit_context.go b/models/model_spending_limit_context.go new file mode 100644 index 00000000..fb501ea3 --- /dev/null +++ b/models/model_spending_limit_context.go @@ -0,0 +1,34 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the subscription data structure required for an individual CHF spending limit subscription. +type SpendingLimitContext struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // This is a list of policy counter identifier(s), which identifies policy counters maintained per subscriber within the CHF. + PolicyCounterIds []string `json:"policyCounterIds,omitempty" yaml:"policyCounterIds" bson:"policyCounterIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` +} diff --git a/models/model_spending_limit_status.go b/models/model_spending_limit_status.go new file mode 100644 index 00000000..ce42804c --- /dev/null +++ b/models/model_spending_limit_status.go @@ -0,0 +1,30 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the data structure presenting the statuses of policy counters. +type SpendingLimitStatus struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + // Status of the requested policy counters. The key of the map is the attribute \"policyCounterId\". + StatusInfos map[string]PolicyCounterInfo `json:"statusInfos,omitempty" yaml:"statusInfos" bson:"statusInfos,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_sponsor_connectivity_data.go b/models/model_sponsor_connectivity_data.go index e87ef30c..31fc9944 100644 --- a/models/model_sponsor_connectivity_data.go +++ b/models/model_sponsor_connectivity_data.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,5 +14,5 @@ package models // Contains the sponsored data connectivity related information for a sponsor identifier. type SponsorConnectivityData struct { - AspIds []string `json:"aspIds" bson:"aspIds"` + AspIds []string `json:"aspIds" yaml:"aspIds" bson:"aspIds,omitempty"` } diff --git a/models/model_sponsor_information.go b/models/model_sponsor_information.go new file mode 100644 index 00000000..d48db549 --- /dev/null +++ b/models/model_sponsor_information.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a sponsor information. +type SponsorInformation struct { + // It indicates Sponsor ID. + SponsorId string `json:"sponsorId" yaml:"sponsorId" bson:"sponsorId,omitempty"` + // It indicates Application Service Provider ID. + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` +} diff --git a/models/model_sponsoring_status.go b/models/model_sponsoring_status.go index f6ba8ffb..b7b470c5 100644 --- a/models/model_sponsoring_status.go +++ b/models/model_sponsoring_status.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_spt.go b/models/model_spt.go new file mode 100644 index 00000000..452fa119 --- /dev/null +++ b/models/model_spt.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the data of a Service Point Trigger +type Spt struct { + ConditionNegated bool `json:"conditionNegated" yaml:"conditionNegated" bson:"conditionNegated,omitempty"` + SptGroup []int32 `json:"sptGroup" yaml:"sptGroup" bson:"sptGroup,omitempty"` + RegType []RegistrationType `json:"regType,omitempty" yaml:"regType" bson:"regType,omitempty"` + RequestUri string `json:"requestUri,omitempty" yaml:"requestUri" bson:"requestUri,omitempty"` + SipMethod string `json:"sipMethod,omitempty" yaml:"sipMethod" bson:"sipMethod,omitempty"` + SipHeader *HeaderSipRequest `json:"sipHeader,omitempty" yaml:"sipHeader" bson:"sipHeader,omitempty"` + SessionCase RequestDirection `json:"sessionCase,omitempty" yaml:"sessionCase" bson:"sessionCase,omitempty"` + SessionDescription *SdpDescription `json:"sessionDescription,omitempty" yaml:"sessionDescription" bson:"sessionDescription,omitempty"` +} diff --git a/models/model_sqn_scheme.go b/models/model_sqn_scheme.go new file mode 100644 index 00000000..fb0ae8c5 --- /dev/null +++ b/models/model_sqn_scheme.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SqnScheme string + +// List of SqnScheme +const ( + SqnScheme_GENERAL SqnScheme = "GENERAL" + SqnScheme_NON_TIME_BASED SqnScheme = "NON_TIME_BASED" + SqnScheme_TIME_BASED SqnScheme = "TIME_BASED" +) diff --git a/models/model_srvcc_capability.go b/models/model_srvcc_capability.go new file mode 100644 index 00000000..14e47864 --- /dev/null +++ b/models/model_srvcc_capability.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SrvccCapability string + +// List of SrvccCapability +const ( + SrvccCapability__4_G_SRVCC_CAPABLE SrvccCapability = "UE_4G_SRVCC_CAPABLE" + SrvccCapability__5_G_SRVCC_CAPABLE SrvccCapability = "UE_5G_SRVCC_CAPABLE" +) diff --git a/models/model_srvcc_data.go b/models/model_srvcc_data.go new file mode 100644 index 00000000..9b2bb470 --- /dev/null +++ b/models/model_srvcc_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE SRVCC capability (if available) and STN-SR (if subscribed) +type SrvccData struct { + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr" yaml:"stnSr" bson:"stnSr,omitempty"` + UeSrvccCapabilities []SrvccCapability `json:"ueSrvccCapabilities,omitempty" yaml:"ueSrvccCapabilities" bson:"ueSrvccCapabilities,omitempty"` +} diff --git a/models/model_ssc_mode.go b/models/model_ssc_mode.go index 6d93579c..fba1826a 100644 --- a/models/model_ssc_mode.go +++ b/models/model_ssc_mode.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nchf_OfflineOnlyCharging * - * Nudm Subscriber Data Management Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ssc_modes.go b/models/model_ssc_modes.go index 19bb437c..46c9634f 100644 --- a/models/model_ssc_modes.go +++ b/models/model_ssc_modes.go @@ -1,15 +1,18 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SscModes struct { - DefaultSscMode SscMode `json:"defaultSscMode" yaml:"defaultSscMode" bson:"defaultSscMode" mapstructure:"DefaultSscMode"` - AllowedSscModes []SscMode `json:"allowedSscModes,omitempty" yaml:"allowedSscModes" bson:"allowedSscModes" mapstructure:"AllowedSscModes"` + DefaultSscMode SscMode `json:"defaultSscMode" yaml:"defaultSscMode" bson:"defaultSscMode,omitempty"` + AllowedSscModes []SscMode `json:"allowedSscModes,omitempty" yaml:"allowedSscModes" bson:"allowedSscModes,omitempty"` } diff --git a/models/model_ssm.go b/models/model_ssm.go new file mode 100644 index 00000000..1e05e827 --- /dev/null +++ b/models/model_ssm.go @@ -0,0 +1,19 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Source specific IP multicast address +type Ssm struct { + SourceIpAddr *IpAddr `json:"sourceIpAddr" yaml:"sourceIpAddr" bson:"sourceIpAddr,omitempty"` + DestIpAddr *IpAddr `json:"destIpAddr" yaml:"destIpAddr" bson:"destIpAddr,omitempty"` +} diff --git a/models/model_stationary_indication.go b/models/model_stationary_indication.go new file mode 100644 index 00000000..9b60c845 --- /dev/null +++ b/models/model_stationary_indication.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StationaryIndication string + +// List of StationaryIndication +const ( + StationaryIndication_STATIONARY StationaryIndication = "STATIONARY" + StationaryIndication_MOBILE StationaryIndication = "MOBILE" +) diff --git a/models/model_stationary_indication_rm.go b/models/model_stationary_indication_rm.go new file mode 100644 index 00000000..ecbcc67a --- /dev/null +++ b/models/model_stationary_indication_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StationaryIndicationRm struct { +} diff --git a/models/model_status.go b/models/model_status.go new file mode 100644 index 00000000..acf5a4ed --- /dev/null +++ b/models/model_status.go @@ -0,0 +1,21 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Status string + +// List of Status +const ( + Status_OPERATIVE Status = "OPERATIVE" + Status_NON_OPERATIVE Status = "NON_OPERATIVE" +) diff --git a/models/model_status_change.go b/models/model_status_change.go index 0114ca58..9eb71dcc 100644 --- a/models/model_status_change.go +++ b/models/model_status_change.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_status_info.go b/models/model_status_info.go index 35ab6290..290ace0e 100644 --- a/models/model_status_info.go +++ b/models/model_status_info.go @@ -1,15 +1,21 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Status of SM context or of PDU session type StatusInfo struct { - ResourceStatus ResourceStatus `json:"resourceStatus"` - Cause Cause `json:"cause,omitempty"` + ResourceStatus ResourceStatus `json:"resourceStatus" yaml:"resourceStatus" bson:"resourceStatus,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` } diff --git a/models/model_status_notification.go b/models/model_status_notification.go index 996078b9..742deff7 100644 --- a/models/model_status_notification.go +++ b/models/model_status_notification.go @@ -1,14 +1,30 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Notify Status Request type StatusNotification struct { - StatusInfo *StatusInfo `json:"statusInfo"` + StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` } diff --git a/models/model_steer_mode_indicator.go b/models/model_steer_mode_indicator.go new file mode 100644 index 00000000..ef6cbc9e --- /dev/null +++ b/models/model_steer_mode_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SteerModeIndicator string + +// List of SteerModeIndicator +const ( + SteerModeIndicator_AUTO_LOAD_BALANCE SteerModeIndicator = "AUTO_LOAD_BALANCE" + SteerModeIndicator_UE_ASSISTANCE SteerModeIndicator = "UE_ASSISTANCE" +) diff --git a/models/model_steer_mode_value.go b/models/model_steer_mode_value.go index 05af4f68..db2e8ace 100644 --- a/models/model_steer_mode_value.go +++ b/models/model_steer_mode_value.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_steering_container.go b/models/model_steering_container.go index f0386a3b..d3a92c55 100644 --- a/models/model_steering_container.go +++ b/models/model_steering_container.go @@ -1,12 +1,16 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -type SteeringContainer struct{} +type SteeringContainer struct { +} diff --git a/models/model_steering_functionality.go b/models/model_steering_functionality.go index 92b314eb..8562c40d 100644 --- a/models/model_steering_functionality.go +++ b/models/model_steering_functionality.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_steering_info.go b/models/model_steering_info.go index 132b7df1..2c124498 100644 --- a/models/model_steering_info.go +++ b/models/model_steering_info.go @@ -1,15 +1,18 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SteeringInfo struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList" mapstructure:"AccessTechList"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList,omitempty"` } diff --git a/models/model_steering_mode.go b/models/model_steering_mode.go index fb3630f6..80439817 100644 --- a/models/model_steering_mode.go +++ b/models/model_steering_mode.go @@ -1,18 +1,25 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the steering mode value and parameters determined by the PCF. type SteeringMode struct { - SteerModeValue SteerModeValue `json:"steerModeValue" yaml:"steerModeValue" bson:"steerModeValue" mapstructure:"SteerModeValue"` - Active AccessType `json:"active,omitempty" yaml:"active" bson:"active" mapstructure:"Active"` - Standby *AccessTypeRm `json:"standby,omitempty" yaml:"standby" bson:"standby" mapstructure:"Standby"` - Var3gLoad int32 `json:"3gLoad,omitempty" yaml:"3gLoad" bson:"3gLoad" mapstructure:"Var3gLoad"` - PrioAcc AccessType `json:"prioAcc,omitempty" yaml:"prioAcc" bson:"prioAcc" mapstructure:"PrioAcc"` + SteerModeValue SteerModeValue `json:"steerModeValue" yaml:"steerModeValue" bson:"steerModeValue,omitempty"` + Active AccessType `json:"active,omitempty" yaml:"active" bson:"active,omitempty"` + Standby AccessType `json:"standby,omitempty" yaml:"standby" bson:"standby,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var3gLoad int32 `json:"3gLoad,omitempty" yaml:"3gLoad" bson:"3gLoad,omitempty"` + PrioAcc AccessType `json:"prioAcc,omitempty" yaml:"prioAcc" bson:"prioAcc,omitempty"` + ThresValue *ThresholdValue `json:"thresValue,omitempty" yaml:"thresValue" bson:"thresValue,omitempty"` + SteerModeInd SteerModeIndicator `json:"steerModeInd,omitempty" yaml:"steerModeInd" bson:"steerModeInd,omitempty"` } diff --git a/models/model_storage_outcome.go b/models/model_storage_outcome.go new file mode 100644 index 00000000..e517d9d6 --- /dev/null +++ b/models/model_storage_outcome.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StorageOutcome string + +// List of StorageOutcome +const ( + StorageOutcome_SUCCESSFUL StorageOutcome = "STORAGE_SUCCESSFUL" + StorageOutcome_FAILED StorageOutcome = "STORAGE_FAILED" +) diff --git a/models/model_stored_search_result.go b/models/model_stored_search_result.go new file mode 100644 index 00000000..73095c5c --- /dev/null +++ b/models/model_stored_search_result.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a complete search result (i.e. a number of discovered NF Instances), stored by NRF as a consequence of a prior search result +type StoredSearchResult struct { + NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` +} diff --git a/models/model_string_matching_condition.go b/models/model_string_matching_condition.go new file mode 100644 index 00000000..582faac4 --- /dev/null +++ b/models/model_string_matching_condition.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A String with Matching Operator +type StringMatchingCondition struct { + MatchingString string `json:"matchingString,omitempty" yaml:"matchingString" bson:"matchingString,omitempty"` + MatchingOperator MatchingOperator `json:"matchingOperator" yaml:"matchingOperator" bson:"matchingOperator,omitempty"` +} diff --git a/models/model_string_matching_rule.go b/models/model_string_matching_rule.go new file mode 100644 index 00000000..b72241b5 --- /dev/null +++ b/models/model_string_matching_rule.go @@ -0,0 +1,18 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of conditions for string matching +type StringMatchingRule struct { + StringMatchingConditions []StringMatchingCondition `json:"stringMatchingConditions,omitempty" yaml:"stringMatchingConditions" bson:"stringMatchingConditions,omitempty"` +} diff --git a/models/model_subscr_cond.go b/models/model_subscr_cond.go new file mode 100644 index 00000000..43f73d11 --- /dev/null +++ b/models/model_subscr_cond.go @@ -0,0 +1,52 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Condition to determine the set of NFs to monitor under a certain subscription in NRF +type SubscrCond struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Identifier of a group of NFs. + NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` + NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` + NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` + AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` +} diff --git a/models/model_subscribed_data.go b/models/model_subscribed_data.go deleted file mode 100644 index 3bda9372..00000000 --- a/models/model_subscribed_data.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SubscribedData struct { - Sari string `json:"sari,omitempty" bson:"sari" ` - RfspIndex int32 `json:"rfspIndex,omitempty" bson:"rfspIndex" ` -} diff --git a/models/model_subscribed_data_filter.go b/models/model_subscribed_data_filter.go deleted file mode 100644 index b05dc6b0..00000000 --- a/models/model_subscribed_data_filter.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SubscribedDataFilter string - -// List of SubscribedDataFilter -const ( - SubscribedDataFilter_SARI SubscribedDataFilter = "SARI" - SubscribedDataFilter_RFSP_INDEX SubscribedDataFilter = "RFSP_INDEX" -) diff --git a/models/model_subscribed_default_qos.go b/models/model_subscribed_default_qos.go index ace1601f..f7e28b57 100644 --- a/models/model_subscribed_default_qos.go +++ b/models/model_subscribed_default_qos.go @@ -1,16 +1,22 @@ /* - * Npcf_SMPolicyControl + * Nchf_OfflineOnlyCharging * - * Session Management Policy Control Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Provides the subsribed 5QI and the ARP, it may contain the priority level. type SubscribedDefaultQos struct { - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi" mapstructure:"Var5qi"` - Arp *Arp `json:"arp" yaml:"arp" bson:"arp" mapstructure:"Arp"` - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel" mapstructure:"PriorityLevel"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` } diff --git a/models/model_subscribed_event.go b/models/model_subscribed_event.go index 9d3c3261..4fc85de7 100644 --- a/models/model_subscribed_event.go +++ b/models/model_subscribed_event.go @@ -1,9 +1,12 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_subscribed_snssai.go b/models/model_subscribed_snssai.go index 4a3042a4..317f96d5 100644 --- a/models/model_subscribed_snssai.go +++ b/models/model_subscribed_snssai.go @@ -1,16 +1,20 @@ /* * NSSF NS Selection * - * NSSF Network Slice Selection Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the subscribed S-NSSAI type SubscribedSnssai struct { - SubscribedSnssai *Snssai `json:"subscribedSnssai" bson:"subscribedSnssai"` - - DefaultIndication bool `json:"defaultIndication,omitempty" bson:"defaultIndication"` + SubscribedSnssai *Snssai `json:"subscribedSnssai" yaml:"subscribedSnssai" bson:"subscribedSnssai,omitempty"` + DefaultIndication bool `json:"defaultIndication,omitempty" yaml:"defaultIndication" bson:"defaultIndication,omitempty"` + SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` } diff --git a/models/model_subscription_context.go b/models/model_subscription_context.go new file mode 100644 index 00000000..7f394eae --- /dev/null +++ b/models/model_subscription_context.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Context data related to a created subscription, to be included in notifications sent by NRF +type SubscriptionContext struct { + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` +} diff --git a/models/model_subscription_data.go b/models/model_subscription_data.go deleted file mode 100644 index a4920fef..00000000 --- a/models/model_subscription_data.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SubscriptionData struct { - AmfStatusUri string `json:"amfStatusUri"` - GuamiList []Guami `json:"guamiList,omitempty"` -} diff --git a/models/model_subscription_data_sets.go b/models/model_subscription_data_sets.go index 75ea62e0..8da3902c 100644 --- a/models/model_subscription_data_sets.go +++ b/models/model_subscription_data_sets.go @@ -1,21 +1,29 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type SubscriptionDataSets struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData" mapstructure:"AmData"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData" mapstructure:"SmfSelData"` - UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData" mapstructure:"UecSmfData"` - UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData" mapstructure:"UecSmsfData"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData" mapstructure:"SmsSubsData"` - SmData []SessionManagementSubscriptionData `json:"smData,omitempty" yaml:"smData" bson:"smData" mapstructure:"SmData"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData" mapstructure:"TraceData"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData" mapstructure:"SmsMngData"` + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` + UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` + UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData []SessionManagementSubscriptionData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` } diff --git a/models/model_subscription_data_subscriptions.go b/models/model_subscription_data_subscriptions.go index 9b812ada..7c5c47b9 100644 --- a/models/model_subscription_data_subscriptions.go +++ b/models/model_subscription_data_subscriptions.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,13 +16,21 @@ import ( "time" ) +// A subscription to notifications. type SubscriptionDataSubscriptions struct { - UeId string `json:"ueId" bson:"ueId"` - // string providing an URI formatted according to IETF RFC 3986. - CallbackReference string `json:"callbackReference" bson:"callbackReference"` - // string providing an URI formatted according to IETF RFC 3986. - OriginalCallbackReference string `json:"originalCallbackReference" bson:"originalCallbackReference"` - MonitoredResourceUri []string `json:"monitoredResourceUri,omitempty" bson:"monitoredResourceUri"` - Expiry *time.Time `json:"expiry,omitempty" bson:"expiry"` - SupportedFeatures string `json:"supported-features" bson:"supported-features"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_subscription_filter.go b/models/model_subscription_filter.go new file mode 100644 index 00000000..8d226817 --- /dev/null +++ b/models/model_subscription_filter.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A subscription filter +type SubscriptionFilter struct { + // list of resources applicable to the subscription + MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // list of resources applicable to the subscription + Operations []RecordOperation `json:"operations,omitempty" yaml:"operations" bson:"operations,omitempty"` +} diff --git a/models/model_subscription_termination_info.go b/models/model_subscription_termination_info.go new file mode 100644 index 00000000..62040da9 --- /dev/null +++ b/models/model_subscription_termination_info.go @@ -0,0 +1,21 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the data structure presenting the indication of the termination of the subscription. +type SubscriptionTerminationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + TermCause ChfSpendingLimitControlTerminationCause `json:"termCause,omitempty" yaml:"termCause" bson:"termCause,omitempty"` +} diff --git a/models/model_subscription_transfer_info.go b/models/model_subscription_transfer_info.go new file mode 100644 index 00000000..6a83c24a --- /dev/null +++ b/models/model_subscription_transfer_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about subscriptions that are requested to be transferred. +type SubscriptionTransferInfo struct { + TransReqType TransferRequestType `json:"transReqType" yaml:"transReqType" bson:"transReqType,omitempty"` + NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ConsumerId string `json:"consumerId" yaml:"consumerId" bson:"consumerId,omitempty"` + ContextId *AnalyticsContextIdentifier `json:"contextId,omitempty" yaml:"contextId" bson:"contextId,omitempty"` + SourceNfIds []string `json:"sourceNfIds,omitempty" yaml:"sourceNfIds" bson:"sourceNfIds,omitempty"` + SourceSetIds []string `json:"sourceSetIds,omitempty" yaml:"sourceSetIds" bson:"sourceSetIds,omitempty"` + ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` +} diff --git a/models/model_suci_info.go b/models/model_suci_info.go new file mode 100644 index 00000000..b36e73a7 --- /dev/null +++ b/models/model_suci_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SUCI information containing Routing Indicator and Home Network Public Key ID +type SuciInfo struct { + RoutingInds []string `json:"routingInds,omitempty" yaml:"routingInds" bson:"routingInds,omitempty"` + HNwPubKeyIds []int32 `json:"hNwPubKeyIds,omitempty" yaml:"hNwPubKeyIds" bson:"hNwPubKeyIds,omitempty"` +} diff --git a/models/model_suggested_packet_num_dl.go b/models/model_suggested_packet_num_dl.go new file mode 100644 index 00000000..0d776b24 --- /dev/null +++ b/models/model_suggested_packet_num_dl.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SuggestedPacketNumDl struct { + SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_summarization_attribute.go b/models/model_summarization_attribute.go new file mode 100644 index 00000000..34184508 --- /dev/null +++ b/models/model_summarization_attribute.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SummarizationAttribute string + +// List of SummarizationAttribute +const ( + SummarizationAttribute_SPACING SummarizationAttribute = "SPACING" + SummarizationAttribute_DURATION SummarizationAttribute = "DURATION" + SummarizationAttribute_OCCURRENCES SummarizationAttribute = "OCCURRENCES" + SummarizationAttribute_AVG_VAR SummarizationAttribute = "AVG_VAR" + SummarizationAttribute_FREQ_VAL SummarizationAttribute = "FREQ_VAL" + SummarizationAttribute_MIN_MAX SummarizationAttribute = "MIN_MAX" +) diff --git a/models/model_supi_info.go b/models/model_supi_info.go new file mode 100644 index 00000000..d120008b --- /dev/null +++ b/models/model_supi_info.go @@ -0,0 +1,18 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Supis. +type SupiInfo struct { + SupiList []string `json:"supiList" yaml:"supiList" bson:"supiList,omitempty"` +} diff --git a/models/model_supi_range.go b/models/model_supi_range.go index 63fa7692..5209b720 100644 --- a/models/model_supi_range.go +++ b/models/model_supi_range.go @@ -1,16 +1,20 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// A range of SUPIs (subscriber identities), either based on a numeric range, or based on regular-expression matching type SupiRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern" mapstructure:"Pattern"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` } diff --git a/models/model_supplementary_service.go b/models/model_supplementary_service.go new file mode 100644 index 00000000..b4b13358 --- /dev/null +++ b/models/model_supplementary_service.go @@ -0,0 +1,32 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SupplementaryService struct { + SupplementaryServiceType SupplementaryServiceType `json:"supplementaryServiceType,omitempty" yaml:"supplementaryServiceType" bson:"supplementaryServiceType,omitempty"` + SupplementaryServiceMode SupplementaryServiceMode `json:"supplementaryServiceMode,omitempty" yaml:"supplementaryServiceMode" bson:"supplementaryServiceMode,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberOfDiversions int32 `json:"numberOfDiversions,omitempty" yaml:"numberOfDiversions" bson:"numberOfDiversions,omitempty"` + AssociatedPartyAddress string `json:"associatedPartyAddress,omitempty" yaml:"associatedPartyAddress" bson:"associatedPartyAddress,omitempty"` + ConferenceId string `json:"conferenceId,omitempty" yaml:"conferenceId" bson:"conferenceId,omitempty"` + ParticipantActionType ParticipantActionType `json:"participantActionType,omitempty" yaml:"participantActionType" bson:"participantActionType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberOfParticipants int32 `json:"numberOfParticipants,omitempty" yaml:"numberOfParticipants" bson:"numberOfParticipants,omitempty"` + CUGInformation string `json:"cUGInformation,omitempty" yaml:"cUGInformation" bson:"cUGInformation,omitempty"` +} diff --git a/models/model_supplementary_service_mode.go b/models/model_supplementary_service_mode.go new file mode 100644 index 00000000..62061359 --- /dev/null +++ b/models/model_supplementary_service_mode.go @@ -0,0 +1,30 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SupplementaryServiceMode string + +// List of SupplementaryServiceMode +const ( + SupplementaryServiceMode_CFU SupplementaryServiceMode = "CFU" + SupplementaryServiceMode_CFB SupplementaryServiceMode = "CFB" + SupplementaryServiceMode_CFNR SupplementaryServiceMode = "CFNR" + SupplementaryServiceMode_CFNL SupplementaryServiceMode = "CFNL" + SupplementaryServiceMode_CD SupplementaryServiceMode = "CD" + SupplementaryServiceMode_CFNRC SupplementaryServiceMode = "CFNRC" + SupplementaryServiceMode_ICB SupplementaryServiceMode = "ICB" + SupplementaryServiceMode_OCB SupplementaryServiceMode = "OCB" + SupplementaryServiceMode_ACR SupplementaryServiceMode = "ACR" + SupplementaryServiceMode_BLIND_TRANFER SupplementaryServiceMode = "BLIND_TRANFER" + SupplementaryServiceMode_CONSULTATIVE_TRANFER SupplementaryServiceMode = "CONSULTATIVE_TRANFER" +) diff --git a/models/model_supplementary_service_type.go b/models/model_supplementary_service_type.go new file mode 100644 index 00000000..34bef316 --- /dev/null +++ b/models/model_supplementary_service_type.go @@ -0,0 +1,38 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SupplementaryServiceType string + +// List of SupplementaryServiceType +const ( + SupplementaryServiceType_OIP SupplementaryServiceType = "OIP" + SupplementaryServiceType_OIR SupplementaryServiceType = "OIR" + SupplementaryServiceType_TIP SupplementaryServiceType = "TIP" + SupplementaryServiceType_TIR SupplementaryServiceType = "TIR" + SupplementaryServiceType_HOLD SupplementaryServiceType = "HOLD" + SupplementaryServiceType_CB SupplementaryServiceType = "CB" + SupplementaryServiceType_CDIV SupplementaryServiceType = "CDIV" + SupplementaryServiceType_CW SupplementaryServiceType = "CW" + SupplementaryServiceType_MWI SupplementaryServiceType = "MWI" + SupplementaryServiceType_CONF SupplementaryServiceType = "CONF" + SupplementaryServiceType_FA SupplementaryServiceType = "FA" + SupplementaryServiceType_CCBS SupplementaryServiceType = "CCBS" + SupplementaryServiceType_CCNR SupplementaryServiceType = "CCNR" + SupplementaryServiceType_MCID SupplementaryServiceType = "MCID" + SupplementaryServiceType_CAT SupplementaryServiceType = "CAT" + SupplementaryServiceType_CUG SupplementaryServiceType = "CUG" + SupplementaryServiceType_PNM SupplementaryServiceType = "PNM" + SupplementaryServiceType_CRS SupplementaryServiceType = "CRS" + SupplementaryServiceType_ECT SupplementaryServiceType = "ECT" +) diff --git a/models/model_supported_gad_shapes.go b/models/model_supported_gad_shapes.go index e5f95369..ca7c8b55 100644 --- a/models/model_supported_gad_shapes.go +++ b/models/model_supported_gad_shapes.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,13 @@ type SupportedGadShapes string // List of SupportedGADShapes const ( - SupportedGadShapes_POINT SupportedGadShapes = "POINT" - SupportedGadShapes_POINT_UNCERTAINTY_CIRCLE SupportedGadShapes = "POINT_UNCERTAINTY_CIRCLE" - SupportedGadShapes_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "POINT_UNCERTAINTY_ELLIPSE" - SupportedGadShapes_POLYGON SupportedGadShapes = "POLYGON" - SupportedGadShapes_POINT_ALTITUDE SupportedGadShapes = "POINT_ALTITUDE" - SupportedGadShapes_POINT_ALTITUDE_UNCERTAINTY SupportedGadShapes = "POINT_ALTITUDE_UNCERTAINTY" - SupportedGadShapes_ELLIPSOID_ARC SupportedGadShapes = "ELLIPSOID_ARC" + SupportedGadShapes_POINT SupportedGadShapes = "POINT" + SupportedGadShapes_POINT_UNCERTAINTY_CIRCLE SupportedGadShapes = "POINT_UNCERTAINTY_CIRCLE" + SupportedGadShapes_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "POINT_UNCERTAINTY_ELLIPSE" + SupportedGadShapes_POLYGON SupportedGadShapes = "POLYGON" + SupportedGadShapes_POINT_ALTITUDE SupportedGadShapes = "POINT_ALTITUDE" + SupportedGadShapes_POINT_ALTITUDE_UNCERTAINTY SupportedGadShapes = "POINT_ALTITUDE_UNCERTAINTY" + SupportedGadShapes_ELLIPSOID_ARC SupportedGadShapes = "ELLIPSOID_ARC" + SupportedGadShapes_LOCAL_2_D_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "LOCAL_2D_POINT_UNCERTAINTY_ELLIPSE" + SupportedGadShapes_LOCAL_3_D_POINT_UNCERTAINTY_ELLIPSOID SupportedGadShapes = "LOCAL_3D_POINT_UNCERTAINTY_ELLIPSOID" ) diff --git a/models/model_supported_nssai_availability_data.go b/models/model_supported_nssai_availability_data.go index 7aee08b2..abaf0f92 100644 --- a/models/model_supported_nssai_availability_data.go +++ b/models/model_supported_nssai_availability_data.go @@ -1,16 +1,22 @@ /* * NSSF NSSAI Availability * - * NSSF NSSAI Availability Service + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// This contains the Nssai availability data information per TA supported by the AMF type SupportedNssaiAvailabilityData struct { - Tai *Tai `json:"tai" bson:"tai" yaml:"tai"` - - SupportedSnssaiList []Snssai `json:"supportedSnssaiList" bson:"supportedSnssaiList" yaml:"supportedSnssaiList"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` } diff --git a/models/model_supported_snssai.go b/models/model_supported_snssai.go new file mode 100644 index 00000000..6248bd40 --- /dev/null +++ b/models/model_supported_snssai.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Supported S-NSSAIs +type SupportedSnssai struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + RestrictionInd bool `json:"restrictionInd,omitempty" yaml:"restrictionInd" bson:"restrictionInd,omitempty"` +} diff --git a/models/model_svc_experience.go b/models/model_svc_experience.go index 91e5d58c..0e9a5d2e 100644 --- a/models/model_svc_experience.go +++ b/models/model_svc_experience.go @@ -1,16 +1,23 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains a mean opinion score with the customized range. type SvcExperience struct { - Mos float32 `json:"mos,omitempty" yaml:"mos" bson:"mos" mapstructure:"Mos"` - UpperRange float32 `json:"upperRange,omitempty" yaml:"upperRange" bson:"upperRange" mapstructure:"UpperRange"` - LowerRange float32 `json:"lowerRange,omitempty" yaml:"lowerRange" bson:"lowerRange" mapstructure:"LowerRange"` + // string with format 'float' as defined in OpenAPI. + Mos float32 `json:"mos,omitempty" yaml:"mos" bson:"mos,omitempty"` + // string with format 'float' as defined in OpenAPI. + UpperRange float32 `json:"upperRange,omitempty" yaml:"upperRange" bson:"upperRange,omitempty"` + // string with format 'float' as defined in OpenAPI. + LowerRange float32 `json:"lowerRange,omitempty" yaml:"lowerRange" bson:"lowerRange,omitempty"` } diff --git a/models/model_tac_info.go b/models/model_tac_info.go new file mode 100644 index 00000000..db3c36d9 --- /dev/null +++ b/models/model_tac_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains tracking area information (tracking area codes). +type TacInfo struct { + TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` +} diff --git a/models/model_tac_range.go b/models/model_tac_range.go index 5c6eaaeb..33e796ab 100644 --- a/models/model_tac_range.go +++ b/models/model_tac_range.go @@ -1,16 +1,20 @@ /* - * NRF NFManagement Service + * NSSF NS Selection * - * NRF NFManagement Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Range of TACs (Tracking Area Codes) type TacRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start" mapstructure:"Start"` - End string `json:"end,omitempty" yaml:"end" bson:"end" mapstructure:"End"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern" mapstructure:"Pattern"` + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` } diff --git a/models/model_tad_identifier.go b/models/model_tad_identifier.go new file mode 100644 index 00000000..9a3e7c64 --- /dev/null +++ b/models/model_tad_identifier.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TadIdentifier string + +// List of TADIdentifier +const ( + TadIdentifier_CS TadIdentifier = "CS" + TadIdentifier_PS TadIdentifier = "PS" +) diff --git a/models/model_tads_information.go b/models/model_tads_information.go new file mode 100644 index 00000000..7b28d16e --- /dev/null +++ b/models/model_tads_information.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// T-ADS Information +type TadsInformation struct { + VoiceOverPsSessionSupport ImsVoiceOverPsSessionSupport `json:"voiceOverPsSessionSupport" yaml:"voiceOverPsSessionSupport" bson:"voiceOverPsSessionSupport,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastUeActivityTime *time.Time `json:"lastUeActivityTime,omitempty" yaml:"lastUeActivityTime" bson:"lastUeActivityTime,omitempty"` +} diff --git a/models/model_tag_type.go b/models/model_tag_type.go new file mode 100644 index 00000000..cafa2a3f --- /dev/null +++ b/models/model_tag_type.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the Tag Type +type TagType struct { + TagName string `json:"tagName" yaml:"tagName" bson:"tagName,omitempty"` + KeyType KeyType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` + Sort bool `json:"sort,omitempty" yaml:"sort" bson:"sort,omitempty"` + Presence bool `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` +} diff --git a/models/model_tai.go b/models/model_tai.go index 5d08ec0d..0db4aaa6 100644 --- a/models/model_tai.go +++ b/models/model_tai.go @@ -1,16 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the tracking area identity as described in 3GPP 23.003 type Tai struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - Tac string `json:"tac" yaml:"tac" bson:"tac" mapstructure:"Tac"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid" mapstructure:"Nid"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 2 or 3-octet string identifying a tracking area code as specified in clause 9.3.3.10 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TAC shall appear first in the string, and the character representing the 4 least significant bit of the TAC shall appear last in the string. + Tac string `json:"tac" yaml:"tac" bson:"tac,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_tai_range.go b/models/model_tai_range.go index 46dbb34c..713f0840 100644 --- a/models/model_tai_range.go +++ b/models/model_tai_range.go @@ -1,15 +1,21 @@ /* - * NRF NFManagement Service + * NSSF NS Selection * - * NRF NFManagement Service + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Range of TAIs (Tracking Area Identities) type TaiRange struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - TacRangeList []TacRange `json:"tacRangeList" yaml:"tacRangeList" bson:"tacRangeList" mapstructure:"TacRangeList"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + TacRangeList []TacRange `json:"tacRangeList" yaml:"tacRangeList" bson:"tacRangeList,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` } diff --git a/models/model_target_area.go b/models/model_target_area.go new file mode 100644 index 00000000..c9370323 --- /dev/null +++ b/models/model_target_area.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// TA list or TAI range list or any TA +type TargetArea struct { + TaList []Tai `json:"taList,omitempty" yaml:"taList" bson:"taList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + AnyTa bool `json:"anyTa,omitempty" yaml:"anyTa" bson:"anyTa,omitempty"` +} diff --git a/models/model_target_dnai_info.go b/models/model_target_dnai_info.go new file mode 100644 index 00000000..2b8b8a1a --- /dev/null +++ b/models/model_target_dnai_info.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Target DNAI Information +type TargetDnaiInfo struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + SmfSelectionType SmfSelectionType `json:"smfSelectionType" yaml:"smfSelectionType" bson:"smfSelectionType,omitempty"` +} diff --git a/models/model_target_ue_information.go b/models/model_target_ue_information.go new file mode 100644 index 00000000..336eaaca --- /dev/null +++ b/models/model_target_ue_information.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the target UE information. +type TargetUeInformation struct { + AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + IntGroupIds []string `json:"intGroupIds,omitempty" yaml:"intGroupIds" bson:"intGroupIds,omitempty"` +} diff --git a/models/model_temporal_validity.go b/models/model_temporal_validity.go index 904b4181..8f448cb1 100644 --- a/models/model_temporal_validity.go +++ b/models/model_temporal_validity.go @@ -1,9 +1,12 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,8 +16,10 @@ import ( "time" ) -// Indicates the time interval(s) during which the AF request is to be applied +// Indicates the time interval(s) during which the AF request is to be applied. type TemporalValidity struct { - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime" mapstructure:"StartTime"` - StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime" mapstructure:"StopTime"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` } diff --git a/models/model_termination_cause.go b/models/model_termination_cause.go index 4135c3d2..2b35ad56 100644 --- a/models/model_termination_cause.go +++ b/models/model_termination_cause.go @@ -1,9 +1,12 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,4 +18,5 @@ type TerminationCause string const ( TerminationCause_ALL_SDF_DEACTIVATION TerminationCause = "ALL_SDF_DEACTIVATION" TerminationCause_PDU_SESSION_TERMINATION TerminationCause = "PDU_SESSION_TERMINATION" + TerminationCause_PS_TO_CS_HO TerminationCause = "PS_TO_CS_HO" ) diff --git a/models/model_termination_info.go b/models/model_termination_info.go index 164f4174..7a0cd06f 100644 --- a/models/model_termination_info.go +++ b/models/model_termination_info.go @@ -1,17 +1,20 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models -// indicates the cause for requesting the deletion of the Individual Application Session Context resource +// Indicates the cause for requesting the deletion of the Individual Application Session Context resource. type TerminationInfo struct { - TermCause TerminationCause `json:"termCause" yaml:"termCause" bson:"termCause" mapstructure:"TermCause"` - // string providing an URI formatted according to IETF RFC 3986. - ResUri string `json:"resUri" yaml:"resUri" bson:"resUri" mapstructure:"ResUri"` + TermCause PcfPolicyAuthorizationTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` } diff --git a/models/model_termination_notification.go b/models/model_termination_notification.go deleted file mode 100644 index 5f0b04d8..00000000 --- a/models/model_termination_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Npcf_SMPolicyControl - * - * Session Management Policy Control Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TerminationNotification struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri" mapstructure:"ResourceUri"` - Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause" mapstructure:"Cause"` -} diff --git a/models/model_threshold_level.go b/models/model_threshold_level.go new file mode 100644 index 00000000..61029264 --- /dev/null +++ b/models/model_threshold_level.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a threshold level. +type ThresholdLevel struct { + CongLevel int32 `json:"congLevel,omitempty" yaml:"congLevel" bson:"congLevel,omitempty"` + NfLoadLevel int32 `json:"nfLoadLevel,omitempty" yaml:"nfLoadLevel" bson:"nfLoadLevel,omitempty"` + NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` + NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` + NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPacketDelay int32 `json:"avgPacketDelay,omitempty" yaml:"avgPacketDelay" bson:"avgPacketDelay,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` + // string with format 'float' as defined in OpenAPI. + SvcExpLevel float32 `json:"svcExpLevel,omitempty" yaml:"svcExpLevel" bson:"svcExpLevel,omitempty"` +} diff --git a/models/model_threshold_value.go b/models/model_threshold_value.go new file mode 100644 index 00000000..f1eac338 --- /dev/null +++ b/models/model_threshold_value.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the threshold value(s) for RTT and/or Packet Loss Rate. +type ThresholdValue struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RttThres int32 `json:"rttThres,omitempty" yaml:"rttThres" bson:"rttThres,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + PlrThres int32 `json:"plrThres,omitempty" yaml:"plrThres" bson:"plrThres,omitempty"` +} diff --git a/models/model_throughput.go b/models/model_throughput.go index 52ced920..4461dd81 100644 --- a/models/model_throughput.go +++ b/models/model_throughput.go @@ -1,15 +1,20 @@ /* * Nchf_ConvergedCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type Throughput struct { - GuaranteedThpt float32 `json:"guaranteedThpt,omitempty" yaml:"guaranteedThpt" bson:"guaranteedThpt" mapstructure:"GuaranteedThpt"` - MaximumThpt float32 `json:"maximumThpt,omitempty" yaml:"maximumThpt" bson:"maximumThpt" mapstructure:"MaximumThpt"` + // string with format 'float' as defined in OpenAPI. + GuaranteedThpt float32 `json:"guaranteedThpt,omitempty" yaml:"guaranteedThpt" bson:"guaranteedThpt,omitempty"` + // string with format 'float' as defined in OpenAPI. + MaximumThpt float32 `json:"maximumThpt,omitempty" yaml:"maximumThpt" bson:"maximumThpt,omitempty"` } diff --git a/models/model_time_period.go b/models/model_time_period.go index 3e2640f2..b7648f93 100644 --- a/models/model_time_period.go +++ b/models/model_time_period.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,7 @@ package models // Contains the periodicity for the defined usage monitoring data limits. type TimePeriod struct { - Period Periodicity `json:"period" bson:"period"` - MaxNumPeriod int32 `json:"maxNumPeriod,omitempty" bson:"maxNumPeriod"` + Period Periodicity `json:"period" yaml:"period" bson:"period,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumPeriod int32 `json:"maxNumPeriod,omitempty" yaml:"maxNumPeriod" bson:"maxNumPeriod,omitempty"` } diff --git a/models/model_time_unit.go b/models/model_time_unit.go new file mode 100644 index 00000000..a7430e5e --- /dev/null +++ b/models/model_time_unit.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TimeUnit string + +// List of TimeUnit +const ( + TimeUnit_MINUTE TimeUnit = "MINUTE" + TimeUnit_HOUR TimeUnit = "HOUR" + TimeUnit_DAY TimeUnit = "DAY" +) diff --git a/models/model_time_window.go b/models/model_time_window.go index 2ade5d30..972318ee 100644 --- a/models/model_time_window.go +++ b/models/model_time_window.go @@ -1,17 +1,25 @@ /* - * Npcf_BDTPolicyControl Service API + * Nchf_ConvergedCharging * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Represents a time window identified by a start time and a stop time. type TimeWindow struct { - // string with format \"date-time\" as defined in OpenAPI. - StartTime string `json:"startTime" yaml:"startTime" bson:"startTime" mapstructure:"StartTime"` - // string with format \"date-time\" as defined in OpenAPI. - StopTime string `json:"stopTime" yaml:"stopTime" bson:"stopTime" mapstructure:"StopTime"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime" yaml:"stopTime" bson:"stopTime,omitempty"` } diff --git a/models/model_timer.go b/models/model_timer.go new file mode 100644 index 00000000..00425e62 --- /dev/null +++ b/models/model_timer.go @@ -0,0 +1,31 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a timer. +type Timer struct { + // Represents the identifier of a timer. + TimerId string `json:"timerId,omitempty" yaml:"timerId" bson:"timerId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires" yaml:"expires" bson:"expires,omitempty"` + // A map (list of key-value pairs where a tagName of type string serves as key) of tagValue lists + MetaTags map[string][]string `json:"metaTags,omitempty" yaml:"metaTags" bson:"metaTags,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DeleteAfter int32 `json:"deleteAfter,omitempty" yaml:"deleteAfter" bson:"deleteAfter,omitempty"` +} diff --git a/models/model_timer_id_list.go b/models/model_timer_id_list.go new file mode 100644 index 00000000..4aa5ae4e --- /dev/null +++ b/models/model_timer_id_list.go @@ -0,0 +1,18 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of timer IDs. +type TimerIdList struct { + TimerIds []string `json:"timerIds" yaml:"timerIds" bson:"timerIds,omitempty"` +} diff --git a/models/model_tmgi.go b/models/model_tmgi.go new file mode 100644 index 00000000..e0896141 --- /dev/null +++ b/models/model_tmgi.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Temporary Mobile Group Identity +type Tmgi struct { + // MBS Service ID + MbsServiceId string `json:"mbsServiceId" yaml:"mbsServiceId" bson:"mbsServiceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/model_tmgi_range.go b/models/model_tmgi_range.go new file mode 100644 index 00000000..b694bc01 --- /dev/null +++ b/models/model_tmgi_range.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of TMGIs +type TmgiRange struct { + MbsServiceIdStart string `json:"mbsServiceIdStart" yaml:"mbsServiceIdStart" bson:"mbsServiceIdStart,omitempty"` + MbsServiceIdEnd string `json:"mbsServiceIdEnd" yaml:"mbsServiceIdEnd" bson:"mbsServiceIdEnd,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/model_tnap_id.go b/models/model_tnap_id.go index 66defb77..e7e6b2e7 100644 --- a/models/model_tnap_id.go +++ b/models/model_tnap_id.go @@ -1,16 +1,23 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contain the TNAP Identifier see clause5.6.2 of 3GPP TS 23.501. type TnapId struct { - SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId" mapstructure:"SsId"` - BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId" mapstructure:"BssId"` - CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress" mapstructure:"CivicAddress"` + // This IE shall be present if the UE is accessing the 5GC via a trusted WLAN access network.When present, it shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` + // When present, it shall contain the BSSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` } diff --git a/models/model_tngf_info.go b/models/model_tngf_info.go new file mode 100644 index 00000000..aaac5afa --- /dev/null +++ b/models/model_tngf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Infomation of the TNGF endpoints +type TngfInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/model_top.go b/models/model_top.go deleted file mode 100644 index 01eac7b3..00000000 --- a/models/model_top.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Top struct { - TopValue string `json:"topValue" bson:"topValue"` - EncryptionKey int32 `json:"encryptionKey" bson:"encryptionKey"` - EncryptionAlgorithm int32 `json:"encryptionAlgorithm" bson:"encryptionAlgorithm"` -} diff --git a/models/model_top_application.go b/models/model_top_application.go new file mode 100644 index 00000000..34b31086 --- /dev/null +++ b/models/model_top_application.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Top application that contributes the most to the traffic. +type TopApplication struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` +} diff --git a/models/model_topc.go b/models/model_topc.go deleted file mode 100644 index aafe0cdc..00000000 --- a/models/model_topc.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Topc struct { - TopcValue string `json:"topcValue" bson:"topcValue"` - EncryptionKey int32 `json:"encryptionKey" bson:"encryptionKey"` - EncryptionAlgorithm int32 `json:"encryptionAlgorithm" bson:"encryptionAlgorithm"` -} diff --git a/models/model_topological_service_area.go b/models/model_topological_service_area.go new file mode 100644 index 00000000..57712f73 --- /dev/null +++ b/models/model_topological_service_area.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TopologicalServiceArea struct { + CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` + TrackingAreaIdList []Tai `json:"trackingAreaIdList,omitempty" yaml:"trackingAreaIdList" bson:"trackingAreaIdList,omitempty"` + ServingPLMN *PlmnId `json:"servingPLMN,omitempty" yaml:"servingPLMN" bson:"servingPLMN,omitempty"` +} diff --git a/models/model_trace_data.go b/models/model_trace_data.go index cb6beb58..f2a4a72e 100644 --- a/models/model_trace_data.go +++ b/models/model_trace_data.go @@ -1,20 +1,29 @@ /* - * Npcf_SMPolicyControl + * Namf_Communication * - * Session Management Policy Control Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// contains Trace control and configuration parameters. type TraceData struct { - TraceRef string `json:"traceRef" yaml:"traceRef" bson:"traceRef" mapstructure:"TraceRef"` - TraceDepth TraceDepth `json:"traceDepth" yaml:"traceDepth" bson:"traceDepth" mapstructure:"TraceDepth"` - NeTypeList string `json:"neTypeList" yaml:"neTypeList" bson:"neTypeList" mapstructure:"NeTypeList"` - EventList string `json:"eventList" yaml:"eventList" bson:"eventList" mapstructure:"EventList"` - CollectionEntityIpv4Addr string `json:"collectionEntityIpv4Addr,omitempty" yaml:"collectionEntityIpv4Addr" bson:"collectionEntityIpv4Addr" mapstructure:"CollectionEntityIpv4Addr"` - CollectionEntityIpv6Addr string `json:"collectionEntityIpv6Addr,omitempty" yaml:"collectionEntityIpv6Addr" bson:"collectionEntityIpv6Addr" mapstructure:"CollectionEntityIpv6Addr"` - InterfaceList string `json:"interfaceList,omitempty" yaml:"interfaceList" bson:"interfaceList" mapstructure:"InterfaceList"` + // Trace Reference (see 3GPP TS 32.422).It shall be encoded as the concatenation of MCC, MNC and Trace ID as follows: 'MCC'\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters" mapstructure:"TrafficFilters"` + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` // Identifies the N6 traffic routing requirement. - TrafficRoutes []RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes" mapstructure:"TrafficRoutes"` - TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd" mapstructure:"TraffCorreInd"` - ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime" mapstructure:"ValidStartTime"` - ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime" mapstructure:"ValidEndTime"` + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` // Identifies the temporal validities for the N6 traffic routing requirement. - TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities" mapstructure:"TempValidities"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo" mapstructure:"NwAreaInfo"` - // string providing an URI formatted according to IETF RFC 3986. - UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri" mapstructure:"UpPathChgNotifUri"` - SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents" mapstructure:"SubscribedEvents"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType" mapstructure:"DnaiChgType"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd" mapstructure:"AfAckInd"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd" mapstructure:"AddrPreserInd"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures" mapstructure:"SupportedFeatures"` - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri" mapstructure:"ResUri"` + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_traffic_influ_data_notif.go b/models/model_traffic_influ_data_notif.go index fc9e4ee1..46b85ba1 100644 --- a/models/model_traffic_influ_data_notif.go +++ b/models/model_traffic_influ_data_notif.go @@ -1,16 +1,20 @@ /* - * Unified Data Repository Service API file for Application Data + * Nudr_DataRepository API OpenAPI file * - * The API version is defined in 3GPP TS 29.504 © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: - + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents traffic influence data for notification. type TrafficInfluDataNotif struct { - ResUri string `json:"resUri" bson:"resUri"` - - TrafficInfluData *TrafficInfluData `json:"trafficInfluData,omitempty" bson:"trafficInfluData"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` + TrafficInfluData *TrafficInfluData `json:"trafficInfluData,omitempty" yaml:"trafficInfluData" bson:"trafficInfluData,omitempty"` } diff --git a/models/model_traffic_influ_data_patch.go b/models/model_traffic_influ_data_patch.go index 8b4aa105..d2cae1d3 100644 --- a/models/model_traffic_influ_data_patch.go +++ b/models/model_traffic_influ_data_patch.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,25 +16,36 @@ import ( "time" ) +// Represents the Traffic Influence Data to be updated in the UDR. type TrafficInfluDataPatch struct { // Contains the Notification Correlation Id allocated by the NEF for the UP path change notification. - UpPathChgNotifCorreId string `json:"upPathChgNotifCorreId,omitempty" bson:"upPathChgNotifCorreId"` + UpPathChgNotifCorreId string `json:"upPathChgNotifCorreId,omitempty" yaml:"upPathChgNotifCorreId" bson:"upPathChgNotifCorreId,omitempty"` // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" bson:"appReloInd"` - Dnn string `json:"dnn,omitempty" bson:"dnn"` - // Identifies Ethernet packet filters.Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" bson:"ethTrafficFilters"` - Snssai *Snssai `json:"snssai,omitempty" bson:"snssai"` - // Identifies a group of users. - InternalGroupId string `json:"internalGroupId,omitempty" bson:"internalGroupId"` - Supi string `json:"supi,omitempty" bson:"supi"` - // Identifies IP packet filters.Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" bson:"trafficFilters"` + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // Identifies Ethernet packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` // Identifies the N6 traffic routing requirement. - TrafficRoutes []RouteToLocation `json:"trafficRoutes,omitempty" bson:"trafficRoutes"` - ValidStartTime *time.Time `json:"validStartTime,omitempty" bson:"validStartTime"` - ValidEndTime *time.Time `json:"validEndTime,omitempty" bson:"validEndTime"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" bson:"nwAreaInfo"` - // string providing an URI formatted according to IETF RFC 3986. - UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" bson:"upPathChgNotifUri"` + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` + // Identifies the temporal validities for the N6 traffic routing requirement. + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` } diff --git a/models/model_traffic_influ_event_notification.go b/models/model_traffic_influ_event_notification.go deleted file mode 100644 index 987e7edf..00000000 --- a/models/model_traffic_influ_event_notification.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrafficInfluEventNotification struct { - // Identifies an NEF Northbound interface transaction, generated by the AF. - AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId" mapstructure:"AfTransId"` - DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType" mapstructure:"DnaiChgType"` - SourceTrafficRoute *RouteToLocation `json:"sourceTrafficRoute,omitempty" yaml:"sourceTrafficRoute" bson:"sourceTrafficRoute" mapstructure:"SourceTrafficRoute"` - SubscribedEvent SubscribedEvent `json:"subscribedEvent" yaml:"subscribedEvent" bson:"subscribedEvent" mapstructure:"SubscribedEvent"` - TargetTrafficRoute *RouteToLocation `json:"targetTrafficRoute,omitempty" yaml:"targetTrafficRoute" bson:"targetTrafficRoute" mapstructure:"TargetTrafficRoute"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi" mapstructure:"Gpsi"` - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - SrcUeIpv4Addr string `json:"srcUeIpv4Addr,omitempty" yaml:"srcUeIpv4Addr" bson:"srcUeIpv4Addr" mapstructure:"SrcUeIpv4Addr"` - SrcUeIpv6Prefix string `json:"srcUeIpv6Prefix,omitempty" yaml:"srcUeIpv6Prefix" bson:"srcUeIpv6Prefix" mapstructure:"SrcUeIpv6Prefix"` - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - TgtUeIpv4Addr string `json:"tgtUeIpv4Addr,omitempty" yaml:"tgtUeIpv4Addr" bson:"tgtUeIpv4Addr" mapstructure:"TgtUeIpv4Addr"` - TgtUeIpv6Prefix string `json:"tgtUeIpv6Prefix,omitempty" yaml:"tgtUeIpv6Prefix" bson:"tgtUeIpv6Prefix" mapstructure:"TgtUeIpv6Prefix"` - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac" mapstructure:"UeMac"` -} diff --git a/models/model_traffic_influ_sub.go b/models/model_traffic_influ_sub.go index ded7e613..80aaaec1 100644 --- a/models/model_traffic_influ_sub.go +++ b/models/model_traffic_influ_sub.go @@ -1,24 +1,36 @@ /* - * 3gpp-traffic-influence + * Nudr_DataRepository API OpenAPI file * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Represents traffic influence subscription data. type TrafficInfluSub struct { // Each element identifies a DNN. - Dnns []string `json:"dnns,omitempty" bson:"dnns"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` // Each element identifies a slice. - Snssais []Snssai `json:"snssais,omitempty" bson:"snssais"` + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` // Each element identifies a group of users. - InternalGroupIds []string `json:"internalGroupIds,omitempty" bson:"internalGroupIds"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` // Each element identifies the user. - Supis []string `json:"supis,omitempty" bson:"supis"` - // string providing an URI formatted according to IETF RFC 3986. - NotificationUri string `json:"notificationUri" bson:"notificationUri"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_traffic_influ_sub_patch.go b/models/model_traffic_influ_sub_patch.go new file mode 100644 index 00000000..a7604b1d --- /dev/null +++ b/models/model_traffic_influ_sub_patch.go @@ -0,0 +1,30 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V16.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.1.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrafficInfluSubPatch struct { + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // Identifies IP packet filters. + TrafficFilters []*FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies Ethernet packet filters. + EthTrafficFilters []*EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` + TempValidities []*TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. + ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` +} diff --git a/models/model_traffic_information.go b/models/model_traffic_information.go new file mode 100644 index 00000000..c15dd647 --- /dev/null +++ b/models/model_traffic_information.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Traffic information including UL/DL data rate and/or Traffic volume. +type TrafficInformation struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + UplinkRate string `json:"uplinkRate,omitempty" yaml:"uplinkRate" bson:"uplinkRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + DownlinkRate string `json:"downlinkRate,omitempty" yaml:"downlinkRate" bson:"downlinkRate,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` +} diff --git a/models/model_traffic_profile.go b/models/model_traffic_profile.go new file mode 100644 index 00000000..3f3be97b --- /dev/null +++ b/models/model_traffic_profile.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrafficProfile string + +// List of TrafficProfile +const ( + TrafficProfile_SINGLE_TRANS_UL TrafficProfile = "SINGLE_TRANS_UL" + TrafficProfile_SINGLE_TRANS_DL TrafficProfile = "SINGLE_TRANS_DL" + TrafficProfile_DUAL_TRANS_UL_FIRST TrafficProfile = "DUAL_TRANS_UL_FIRST" + TrafficProfile_DUAL_TRANS_DL_FIRST TrafficProfile = "DUAL_TRANS_DL_FIRST" + TrafficProfile_MULTI_TRANS TrafficProfile = "MULTI_TRANS" +) diff --git a/models/model_traffic_profile_rm.go b/models/model_traffic_profile_rm.go new file mode 100644 index 00000000..12735bd1 --- /dev/null +++ b/models/model_traffic_profile_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrafficProfileRm struct { +} diff --git a/models/model_transaction_info.go b/models/model_transaction_info.go new file mode 100644 index 00000000..87cd9603 --- /dev/null +++ b/models/model_transaction_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents SMF Transaction Information. +type TransactionInfo struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Transaction int32 `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` +} diff --git a/models/model_transaction_metric.go b/models/model_transaction_metric.go new file mode 100644 index 00000000..788b6ddd --- /dev/null +++ b/models/model_transaction_metric.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransactionMetric string + +// List of TransactionMetric +const ( + TransactionMetric_EST TransactionMetric = "PDU_SES_EST" + TransactionMetric_AUTH TransactionMetric = "PDU_SES_AUTH" + TransactionMetric_MODIF TransactionMetric = "PDU_SES_MODIF" + TransactionMetric_REL TransactionMetric = "PDU_SES_REL" +) diff --git a/models/model_transfer_mo_data_req_data.go b/models/model_transfer_mo_data_req_data.go new file mode 100644 index 00000000..3ec35f02 --- /dev/null +++ b/models/model_transfer_mo_data_req_data.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Transfer MO Data Request +type TransferMoDataReqData struct { + MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` +} diff --git a/models/model_transfer_mo_data_request.go b/models/model_transfer_mo_data_request.go new file mode 100644 index 00000000..41a368a2 --- /dev/null +++ b/models/model_transfer_mo_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMoDataRequest struct { + JsonData *TransferMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` +} diff --git a/models/model_transfer_mt_data_add_info.go b/models/model_transfer_mt_data_add_info.go new file mode 100644 index 00000000..1ff330e3 --- /dev/null +++ b/models/model_transfer_mt_data_add_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Transfer MT Data Error Response Additional Information +type TransferMtDataAddInfo struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_transfer_mt_data_error.go b/models/model_transfer_mt_data_error.go new file mode 100644 index 00000000..dd444593 --- /dev/null +++ b/models/model_transfer_mt_data_error.go @@ -0,0 +1,37 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Transfer MT Data Error Response +type TransferMtDataError struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/model_transfer_mt_data_req_data.go b/models/model_transfer_mt_data_req_data.go new file mode 100644 index 00000000..18db6a7e --- /dev/null +++ b/models/model_transfer_mt_data_req_data.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Transfer MT Data Request +type TransferMtDataReqData struct { + MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` +} diff --git a/models/model_transfer_mt_data_request.go b/models/model_transfer_mt_data_request.go new file mode 100644 index 00000000..08902278 --- /dev/null +++ b/models/model_transfer_mt_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMtDataRequest struct { + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/model_transfer_mt_dataismf_request.go b/models/model_transfer_mt_dataismf_request.go new file mode 100644 index 00000000..a1320211 --- /dev/null +++ b/models/model_transfer_mt_dataismf_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMtDataismfRequest struct { + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/model_transfer_policy.go b/models/model_transfer_policy.go index 7abd8096..f845dbfd 100644 --- a/models/model_transfer_policy.go +++ b/models/model_transfer_policy.go @@ -1,9 +1,12 @@ /* - * Npcf_BDTPolicyControl Service API + * Nudr_DataRepository API OpenAPI file * - * The Npcf_BDTPolicyControl Service is used by an NF service consumer to retrieve background data transfer policies from the PCF and to update the PCF with the background data transfer policy selected by the NF service consumer. + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,11 +14,11 @@ package models // Describes a transfer policy. type TransferPolicy struct { - MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl" mapstructure:"MaxBitRateDl"` - MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl" mapstructure:"MaxBitRateUl"` + MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl,omitempty"` + MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl,omitempty"` // Indicates a rating group for the recommended time window. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"` - RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt" mapstructure:"RecTimeInt"` + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt,omitempty"` // Contains an identity of a transfer policy. - TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId" mapstructure:"TransPolicyId"` + TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId,omitempty"` } diff --git a/models/model_transfer_reason.go b/models/model_transfer_reason.go index e431ccea..41449a20 100644 --- a/models/model_transfer_reason.go +++ b/models/model_transfer_reason.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_transfer_request_type.go b/models/model_transfer_request_type.go new file mode 100644 index 00000000..d9288713 --- /dev/null +++ b/models/model_transfer_request_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferRequestType string + +// List of TransferRequestType +const ( + TransferRequestType_PREPARE TransferRequestType = "PREPARE" + TransferRequestType_TRANSFER TransferRequestType = "TRANSFER" +) diff --git a/models/model_transmitter_info.go b/models/model_transmitter_info.go new file mode 100644 index 00000000..315bfcd6 --- /dev/null +++ b/models/model_transmitter_info.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransmitterInfo struct { + ProseSourceIPAddress *IpAddr `json:"proseSourceIPAddress,omitempty" yaml:"proseSourceIPAddress" bson:"proseSourceIPAddress,omitempty"` + ProseSourceL2Id string `json:"proseSourceL2Id,omitempty" yaml:"proseSourceL2Id" bson:"proseSourceL2Id,omitempty"` +} diff --git a/models/model_transport_protocol.go b/models/model_transport_protocol.go index 2e40324d..a0856859 100644 --- a/models/model_transport_protocol.go +++ b/models/model_transport_protocol.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_trigger.go b/models/model_trigger.go index 32c1d8a2..8f38e24e 100644 --- a/models/model_trigger.go +++ b/models/model_trigger.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nsmf_PDUSession * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,12 +17,12 @@ import ( ) type Trigger struct { - TriggerType TriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType" mapstructure:"TriggerType"` - TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory" mapstructure:"TriggerCategory"` - TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit" mapstructure:"TimeLimit"` - VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit" mapstructure:"VolumeLimit"` - VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64" mapstructure:"VolumeLimit64"` - EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit" mapstructure:"EventLimit"` - MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc" mapstructure:"MaxNumberOfccc"` - TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange" mapstructure:"TariffTimeChange"` + TriggerType TriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType,omitempty"` + TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` + TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` + VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` + VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` + EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` + MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` + TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` } diff --git a/models/model_trigger_category.go b/models/model_trigger_category.go index da9ad86a..cdb0a9ec 100644 --- a/models/model_trigger_category.go +++ b/models/model_trigger_category.go @@ -1,9 +1,12 @@ /* - * Nsmf_PDUSession + * Nchf_OfflineOnlyCharging * - * SMF PDU Session Service + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_trigger_point.go b/models/model_trigger_point.go new file mode 100644 index 00000000..865f1a8b --- /dev/null +++ b/models/model_trigger_point.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the conditions that should be checked in order to find out if an Application Server should be contacted or not +type TriggerPoint struct { + ConditionType TypeOfCondition `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + SptList []Spt `json:"sptList" yaml:"sptList" bson:"sptList,omitempty"` +} diff --git a/models/model_trigger_request.go b/models/model_trigger_request.go new file mode 100644 index 00000000..0befbc1c --- /dev/null +++ b/models/model_trigger_request.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TriggerRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` +} diff --git a/models/model_trigger_type.go b/models/model_trigger_type.go index f264eca3..d97e05e4 100644 --- a/models/model_trigger_type.go +++ b/models/model_trigger_type.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nsmf_PDUSession * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_trunk_group_id.go b/models/model_trunk_group_id.go new file mode 100644 index 00000000..d9102ed8 --- /dev/null +++ b/models/model_trunk_group_id.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrunkGroupId struct { + IncomingTrunkGroupID string `json:"incomingTrunkGroupID,omitempty" yaml:"incomingTrunkGroupID" bson:"incomingTrunkGroupID,omitempty"` + OutgoingTrunkGroupID string `json:"outgoingTrunkGroupID,omitempty" yaml:"outgoingTrunkGroupID" bson:"outgoingTrunkGroupID,omitempty"` +} diff --git a/models/model_trust_af_info.go b/models/model_trust_af_info.go new file mode 100644 index 00000000..6d8fc2e2 --- /dev/null +++ b/models/model_trust_af_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a trusted AF Instance +type TrustAfInfo struct { + SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + InternalGroupId []string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` + MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` +} diff --git a/models/model_tsc_qos_requirement.go b/models/model_tsc_qos_requirement.go new file mode 100644 index 00000000..51cf6600 --- /dev/null +++ b/models/model_tsc_qos_requirement.go @@ -0,0 +1,35 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents QoS requirements for time sensitive communication. +type TscQosRequirement struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` + // Represents the priority level of TSC Flows. + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` +} diff --git a/models/model_tsc_qos_requirement_rm.go b/models/model_tsc_qos_requirement_rm.go new file mode 100644 index 00000000..21c73d5a --- /dev/null +++ b/models/model_tsc_qos_requirement_rm.go @@ -0,0 +1,35 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the same as the TscQosRequirement data type but with the nullable:true property. +type TscQosRequirementRm struct { + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. + Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` + // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` +} diff --git a/models/model_tscai_input_container.go b/models/model_tscai_input_container.go new file mode 100644 index 00000000..25bc2d83 --- /dev/null +++ b/models/model_tscai_input_container.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Indicates TSC Traffic pattern. +type TscaiInputContainer struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Periodicity int32 `json:"periodicity,omitempty" yaml:"periodicity" bson:"periodicity,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + BurstArrivalTime *time.Time `json:"burstArrivalTime,omitempty" yaml:"burstArrivalTime" bson:"burstArrivalTime,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + SurTimeInNumMsg int32 `json:"surTimeInNumMsg,omitempty" yaml:"surTimeInNumMsg" bson:"surTimeInNumMsg,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + SurTimeInTime int32 `json:"surTimeInTime,omitempty" yaml:"surTimeInTime" bson:"surTimeInTime,omitempty"` +} diff --git a/models/model_tsctsf_info.go b/models/model_tsctsf_info.go new file mode 100644 index 00000000..1eb13417 --- /dev/null +++ b/models/model_tsctsf_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a TSCTSF NF Instance +type TsctsfInfo struct { + // A map (list of key-value pairs) where a valid JSON string serves as key + SNssaiInfoList map[string]SnssaiTsctsfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` +} diff --git a/models/model_tsn_bridge_info.go b/models/model_tsn_bridge_info.go new file mode 100644 index 00000000..2731113a --- /dev/null +++ b/models/model_tsn_bridge_info.go @@ -0,0 +1,25 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that describe and identify the TSC user plane node. +type TsnBridgeInfo struct { + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + BridgeId int32 `json:"bridgeId,omitempty" yaml:"bridgeId" bson:"bridgeId,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DsttAddr string `json:"dsttAddr,omitempty" yaml:"dsttAddr" bson:"dsttAddr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DsttPortNum int32 `json:"dsttPortNum,omitempty" yaml:"dsttPortNum" bson:"dsttPortNum,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DsttResidTime int32 `json:"dsttResidTime,omitempty" yaml:"dsttResidTime" bson:"dsttResidTime,omitempty"` +} diff --git a/models/model_tsn_qos_container.go b/models/model_tsn_qos_container.go new file mode 100644 index 00000000..fd556172 --- /dev/null +++ b/models/model_tsn_qos_container.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates TSC Traffic QoS. +type TsnQosContainer struct { + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` + // Represents the priority level of TSC Flows. + TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` +} diff --git a/models/model_tsn_qos_container_rm.go b/models/model_tsn_qos_container_rm.go new file mode 100644 index 00000000..70aaa259 --- /dev/null +++ b/models/model_tsn_qos_container_rm.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates removable TSC Traffic QoS. +type TsnQosContainerRm struct { + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. + TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` + // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. + TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` +} diff --git a/models/model_tuak.go b/models/model_tuak.go deleted file mode 100644 index 7043cc60..00000000 --- a/models/model_tuak.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Tuak struct { - Top *Top `json:"top,omitempty" bson:"top"` - KeccakIterations int32 `json:"keccakIterations,omitempty" bson:"keccakIterations"` -} diff --git a/models/model_tunnel_info.go b/models/model_tunnel_info.go index 17cf8135..3388831e 100644 --- a/models/model_tunnel_info.go +++ b/models/model_tunnel_info.go @@ -1,16 +1,23 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Tunnel Information type TunnelInfo struct { - Ipv4Addr string `json:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty"` - GtpTeid string `json:"gtpTeid"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // GTP Tunnel Endpoint Identifier + GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` } diff --git a/models/model_twan_location_data.go b/models/model_twan_location_data.go new file mode 100644 index 00000000..fa8d55fb --- /dev/null +++ b/models/model_twan_location_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information of the 3GPP AAA Server for Trusted W-LAN Access +type TwanLocationData struct { + TwanSsid string `json:"twanSsid" yaml:"twanSsid" bson:"twanSsid,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + TwanBssid string `json:"twanBssid,omitempty" yaml:"twanBssid" bson:"twanBssid,omitempty"` + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + TwanOperatorName string `json:"twanOperatorName,omitempty" yaml:"twanOperatorName" bson:"twanOperatorName,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + LogicalAccessId string `json:"logicalAccessId,omitempty" yaml:"logicalAccessId" bson:"logicalAccessId,omitempty"` +} diff --git a/models/model_twap_id.go b/models/model_twap_id.go index 1a023a4a..9b14ce26 100644 --- a/models/model_twap_id.go +++ b/models/model_twap_id.go @@ -1,16 +1,23 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contain the TWAP Identifier as defined in clause 4.2.8.5.3 of 3GPP TS 23.501 or the WLAN location information as defined in clause 4.5.7.2.8 of 3GPP TS 23.402. type TwapId struct { - SsId string `json:"ssId" yaml:"ssId" bson:"ssId" mapstructure:"SsId"` - BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId" mapstructure:"BssId"` - CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress" mapstructure:"CivicAddress"` + // This IE shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` + // When present, it shall contain the BSSID of the access point to which the UE is attached, for trusted WLAN access, see IEEE Std 802.11-2012. + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` } diff --git a/models/model_twif_info.go b/models/model_twif_info.go new file mode 100644 index 00000000..b10b332d --- /dev/null +++ b/models/model_twif_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information (IP addresses, FQDN) of the TWIF +type TwifInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/model_type_of_condition.go b/models/model_type_of_condition.go new file mode 100644 index 00000000..42306bbe --- /dev/null +++ b/models/model_type_of_condition.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TypeOfCondition string + +// List of TypeOfCondition +const ( + TypeOfCondition_CNF TypeOfCondition = "CNF" + TypeOfCondition_DNF TypeOfCondition = "DNF" +) diff --git a/models/model_uav_auth_failure.go b/models/model_uav_auth_failure.go new file mode 100644 index 00000000..b710994a --- /dev/null +++ b/models/model_uav_auth_failure.go @@ -0,0 +1,19 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth failure +type UavAuthFailure struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + UasResourceRelease bool `json:"uasResourceRelease,omitempty" yaml:"uasResourceRelease" bson:"uasResourceRelease,omitempty"` +} diff --git a/models/model_uc_purpose.go b/models/model_uc_purpose.go new file mode 100644 index 00000000..d5665e47 --- /dev/null +++ b/models/model_uc_purpose.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UcPurpose string + +// List of UcPurpose +const ( + UcPurpose_ANALYTICS UcPurpose = "ANALYTICS" + UcPurpose_MODEL_TRAINING UcPurpose = "MODEL_TRAINING" + UcPurpose_NW_CAP_EXPOSURE UcPurpose = "NW_CAP_EXPOSURE" + UcPurpose_EDGEAPP_UE_LOCATION UcPurpose = "EDGEAPP_UE_LOCATION" +) diff --git a/models/model_uc_subscription_data.go b/models/model_uc_subscription_data.go new file mode 100644 index 00000000..0234c4a4 --- /dev/null +++ b/models/model_uc_subscription_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the User Consent Subscription Data. +type UcSubscriptionData struct { + // A map(list of key-value pairs) where user consent purpose serves as key of user consent + UserConsentPerPurposeList map[string]UserConsent `json:"userConsentPerPurposeList,omitempty" yaml:"userConsentPerPurposeList" bson:"userConsentPerPurposeList,omitempty"` +} diff --git a/models/model_udm_ee_association_type.go b/models/model_udm_ee_association_type.go new file mode 100644 index 00000000..db143fff --- /dev/null +++ b/models/model_udm_ee_association_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeAssociationType string + +// List of UdmEEAssociationType +const ( + UdmEeAssociationType_IMEI_CHANGE UdmEeAssociationType = "IMEI_CHANGE" + UdmEeAssociationType_IMEISV_CHANGE UdmEeAssociationType = "IMEISV_CHANGE" +) diff --git a/models/model_udm_ee_created_ee_subscription.go b/models/model_udm_ee_created_ee_subscription.go new file mode 100644 index 00000000..0306696b --- /dev/null +++ b/models/model_udm_ee_created_ee_subscription.go @@ -0,0 +1,26 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeCreatedEeSubscription struct { + EeSubscription *UdmEeEeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + EventReports []UdmEeMonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` + EpcStatusInd bool `json:"epcStatusInd,omitempty" yaml:"epcStatusInd" bson:"epcStatusInd,omitempty"` + // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration + FailedMonitoringConfigs map[string]UdmEeFailedMonitoringConfiguration `json:"failedMonitoringConfigs,omitempty" yaml:"failedMonitoringConfigs" bson:"failedMonitoringConfigs,omitempty"` + // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration, the key value \"ALL\" may be used to identify a map entry which contains the failed cause of the EE subscription was not successful in EPC domain. + FailedMoniConfigsEPC map[string]UdmEeFailedMonitoringConfiguration `json:"failedMoniConfigsEPC,omitempty" yaml:"failedMoniConfigsEPC" bson:"failedMoniConfigsEPC,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/model_udm_ee_ee_subscription.go b/models/model_udm_ee_ee_subscription.go new file mode 100644 index 00000000..232df5a3 --- /dev/null +++ b/models/model_udm_ee_ee_subscription.go @@ -0,0 +1,40 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeEeSubscription struct { + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations + MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` + ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` + // Fully Qualified Domain Name + ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` + // Fully Qualified Domain Name + ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/model_udm_ee_event_type.go b/models/model_udm_ee_event_type.go new file mode 100644 index 00000000..2a063de7 --- /dev/null +++ b/models/model_udm_ee_event_type.go @@ -0,0 +1,39 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeEventType string + +// List of UdmEEEventType +const ( + UdmEeEventType_LOSS_OF_CONNECTIVITY UdmEeEventType = "LOSS_OF_CONNECTIVITY" + UdmEeEventType_UE_REACHABILITY_FOR_DATA UdmEeEventType = "UE_REACHABILITY_FOR_DATA" + UdmEeEventType_UE_REACHABILITY_FOR_SMS UdmEeEventType = "UE_REACHABILITY_FOR_SMS" + UdmEeEventType_LOCATION_REPORTING UdmEeEventType = "LOCATION_REPORTING" + UdmEeEventType_CHANGE_OF_SUPI_PEI_ASSOCIATION UdmEeEventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION" + UdmEeEventType_ROAMING_STATUS UdmEeEventType = "ROAMING_STATUS" + UdmEeEventType_COMMUNICATION_FAILURE UdmEeEventType = "COMMUNICATION_FAILURE" + UdmEeEventType_AVAILABILITY_AFTER_DDN_FAILURE UdmEeEventType = "AVAILABILITY_AFTER_DDN_FAILURE" + UdmEeEventType_CN_TYPE_CHANGE UdmEeEventType = "CN_TYPE_CHANGE" + UdmEeEventType_DL_DATA_DELIVERY_STATUS UdmEeEventType = "DL_DATA_DELIVERY_STATUS" + UdmEeEventType_PDN_CONNECTIVITY_STATUS UdmEeEventType = "PDN_CONNECTIVITY_STATUS" + UdmEeEventType_UE_CONNECTION_MANAGEMENT_STATE UdmEeEventType = "UE_CONNECTION_MANAGEMENT_STATE" + UdmEeEventType_ACCESS_TYPE_REPORT UdmEeEventType = "ACCESS_TYPE_REPORT" + UdmEeEventType_REGISTRATION_STATE_REPORT UdmEeEventType = "REGISTRATION_STATE_REPORT" + UdmEeEventType_CONNECTIVITY_STATE_REPORT UdmEeEventType = "CONNECTIVITY_STATE_REPORT" + UdmEeEventType_TYPE_ALLOCATION_CODE_REPORT UdmEeEventType = "TYPE_ALLOCATION_CODE_REPORT" + UdmEeEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT UdmEeEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" + UdmEeEventType_PDU_SES_REL UdmEeEventType = "PDU_SES_REL" + UdmEeEventType_PDU_SES_EST UdmEeEventType = "PDU_SES_EST" + UdmEeEventType_UE_MEMORY_AVAILABLE_FOR_SMS UdmEeEventType = "UE_MEMORY_AVAILABLE_FOR_SMS" +) diff --git a/models/model_udm_ee_failed_cause.go b/models/model_udm_ee_failed_cause.go new file mode 100644 index 00000000..e014c4b4 --- /dev/null +++ b/models/model_udm_ee_failed_cause.go @@ -0,0 +1,25 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeFailedCause string + +// List of UdmEEFailedCause +const ( + UdmEeFailedCause_AF_NOT_ALLOWED UdmEeFailedCause = "AF_NOT_ALLOWED" + UdmEeFailedCause_MTC_PROVIDER_NOT_ALLOWED UdmEeFailedCause = "MTC_PROVIDER_NOT_ALLOWED" + UdmEeFailedCause_MONITORING_NOT_ALLOWED UdmEeFailedCause = "MONITORING_NOT_ALLOWED" + UdmEeFailedCause_UNSUPPORTED_MONITORING_EVENT_TYPE UdmEeFailedCause = "UNSUPPORTED_MONITORING_EVENT_TYPE" + UdmEeFailedCause_UNSUPPORTED_MONITORING_REPORT_OPTIONS UdmEeFailedCause = "UNSUPPORTED_MONITORING_REPORT_OPTIONS" + UdmEeFailedCause_UNSPECIFIED UdmEeFailedCause = "UNSPECIFIED" +) diff --git a/models/model_udm_ee_failed_monitoring_configuration.go b/models/model_udm_ee_failed_monitoring_configuration.go new file mode 100644 index 00000000..6be67a49 --- /dev/null +++ b/models/model_udm_ee_failed_monitoring_configuration.go @@ -0,0 +1,19 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the event type and failed cause of the failed Monitoring Configuration in the EE subscription +type UdmEeFailedMonitoringConfiguration struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + FailedCause UdmEeFailedCause `json:"failedCause" yaml:"failedCause" bson:"failedCause,omitempty"` +} diff --git a/models/model_udm_ee_location_accuracy.go b/models/model_udm_ee_location_accuracy.go new file mode 100644 index 00000000..f41db17a --- /dev/null +++ b/models/model_udm_ee_location_accuracy.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeLocationAccuracy string + +// List of UdmEELocationAccuracy +const ( + UdmEeLocationAccuracy_CELL_LEVEL UdmEeLocationAccuracy = "CELL_LEVEL" + UdmEeLocationAccuracy_RAN_NODE_LEVEL UdmEeLocationAccuracy = "RAN_NODE_LEVEL" + UdmEeLocationAccuracy_TA_LEVEL UdmEeLocationAccuracy = "TA_LEVEL" + UdmEeLocationAccuracy_N3_IWF_LEVEL UdmEeLocationAccuracy = "N3IWF_LEVEL" + UdmEeLocationAccuracy_UE_IP UdmEeLocationAccuracy = "UE_IP" + UdmEeLocationAccuracy_UE_PORT UdmEeLocationAccuracy = "UE_PORT" +) diff --git a/models/model_udm_ee_location_reporting_configuration.go b/models/model_udm_ee_location_reporting_configuration.go new file mode 100644 index 00000000..5604c3c4 --- /dev/null +++ b/models/model_udm_ee_location_reporting_configuration.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeLocationReportingConfiguration struct { + CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation,omitempty"` + OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime,omitempty"` + Accuracy UdmEeLocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` + N3gppAccuracy UdmEeLocationAccuracy `json:"n3gppAccuracy,omitempty" yaml:"n3gppAccuracy" bson:"n3gppAccuracy,omitempty"` +} diff --git a/models/model_udm_ee_monitoring_configuration.go b/models/model_udm_ee_monitoring_configuration.go new file mode 100644 index 00000000..4261d475 --- /dev/null +++ b/models/model_udm_ee_monitoring_configuration.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeMonitoringConfiguration struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` + LocationReportingConfiguration *UdmEeLocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration,omitempty"` + AssociationType UdmEeAssociationType `json:"associationType,omitempty" yaml:"associationType" bson:"associationType,omitempty"` + DatalinkReportCfg *DatalinkReportingConfiguration `json:"datalinkReportCfg,omitempty" yaml:"datalinkReportCfg" bson:"datalinkReportCfg,omitempty"` + LossConnectivityCfg *LossConnectivityCfg `json:"lossConnectivityCfg,omitempty" yaml:"lossConnectivityCfg" bson:"lossConnectivityCfg,omitempty"` + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl,omitempty" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + PduSessionStatusCfg *UdmEePduSessionStatusCfg `json:"pduSessionStatusCfg,omitempty" yaml:"pduSessionStatusCfg" bson:"pduSessionStatusCfg,omitempty"` + ReachabilityForSmsCfg ReachabilityForSmsConfiguration `json:"reachabilityForSmsCfg,omitempty" yaml:"reachabilityForSmsCfg" bson:"reachabilityForSmsCfg,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + ReachabilityForDataCfg *UdmEeReachabilityForDataConfiguration `json:"reachabilityForDataCfg,omitempty" yaml:"reachabilityForDataCfg" bson:"reachabilityForDataCfg,omitempty"` + IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` +} diff --git a/models/model_udm_ee_monitoring_report.go b/models/model_udm_ee_monitoring_report.go new file mode 100644 index 00000000..ef39602d --- /dev/null +++ b/models/model_udm_ee_monitoring_report.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeMonitoringReport struct { + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + Report *UdmEeReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` + ReachabilityForSmsReport *UdmEeReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty" yaml:"reachabilityForSmsReport" bson:"reachabilityForSmsReport,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + ReachabilityReport *ReachabilityReport `json:"reachabilityReport,omitempty" yaml:"reachabilityReport" bson:"reachabilityReport,omitempty"` +} diff --git a/models/model_udm_ee_pdu_session_status_cfg.go b/models/model_udm_ee_pdu_session_status_cfg.go new file mode 100644 index 00000000..5480a5dd --- /dev/null +++ b/models/model_udm_ee_pdu_session_status_cfg.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEePduSessionStatusCfg struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/model_udm_ee_reachability_for_data_configuration.go b/models/model_udm_ee_reachability_for_data_configuration.go new file mode 100644 index 00000000..2a37de3c --- /dev/null +++ b/models/model_udm_ee_reachability_for_data_configuration.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeReachabilityForDataConfiguration struct { + ReportCfg ReachabilityForDataReportConfig `json:"reportCfg" yaml:"reportCfg" bson:"reportCfg,omitempty"` + // indicating a time in seconds. + MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` +} diff --git a/models/model_udm_ee_reachability_for_sms_report.go b/models/model_udm_ee_reachability_for_sms_report.go new file mode 100644 index 00000000..626f856b --- /dev/null +++ b/models/model_udm_ee_reachability_for_sms_report.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeReachabilityForSmsReport struct { + SmsfAccessType AccessType `json:"smsfAccessType" yaml:"smsfAccessType" bson:"smsfAccessType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` +} diff --git a/models/model_udm_ee_report.go b/models/model_udm_ee_report.go new file mode 100644 index 00000000..6a845be3 --- /dev/null +++ b/models/model_udm_ee_report.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeReport struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` + Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` + NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` + OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` + OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` + NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` + PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` +} diff --git a/models/model_udm_ee_reporting_options.go b/models/model_udm_ee_reporting_options.go new file mode 100644 index 00000000..17634d1e --- /dev/null +++ b/models/model_udm_ee_reporting_options.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeReportingOptions struct { + ReportMode EventReportMode `json:"reportMode,omitempty" yaml:"reportMode" bson:"reportMode,omitempty"` + MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SamplingRatio int32 `json:"samplingRatio,omitempty" yaml:"samplingRatio" bson:"samplingRatio,omitempty"` + // indicating a time in seconds. + GuardTime int32 `json:"guardTime,omitempty" yaml:"guardTime" bson:"guardTime,omitempty"` + // indicating a time in seconds. + ReportPeriod int32 `json:"reportPeriod,omitempty" yaml:"reportPeriod" bson:"reportPeriod,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/model_udm_info.go b/models/model_udm_info.go index cace7086..31eb877a 100644 --- a/models/model_udm_info.go +++ b/models/model_udm_info.go @@ -1,18 +1,25 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an UDM NF Instance type UdmInfo struct { - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId" mapstructure:"GroupId"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges" mapstructure:"SupiRanges"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges" mapstructure:"GpsiRanges"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges" mapstructure:"ExternalGroupIdentifiersRanges"` - RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators" mapstructure:"RoutingIndicators"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` + SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` } diff --git a/models/model_udm_mt_ue_info.go b/models/model_udm_mt_ue_info.go new file mode 100644 index 00000000..7782275a --- /dev/null +++ b/models/model_udm_mt_ue_info.go @@ -0,0 +1,20 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents UE information. +type UdmMtUeInfo struct { + TadsInfo *UeContextInfo `json:"tadsInfo,omitempty" yaml:"tadsInfo" bson:"tadsInfo,omitempty"` + UserState Model5GsUserState `json:"userState,omitempty" yaml:"userState" bson:"userState,omitempty"` + Var5gSrvccInfo *Model5GSrvccInfo `json:"5gSrvccInfo,omitempty" yaml:"5gSrvccInfo" bson:"5gSrvccInfo,omitempty"` +} diff --git a/models/model_udm_niddau_authorization_data.go b/models/model_udm_niddau_authorization_data.go new file mode 100644 index 00000000..ee1dde30 --- /dev/null +++ b/models/model_udm_niddau_authorization_data.go @@ -0,0 +1,24 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents NIDD authorization data. +type UdmNiddauAuthorizationData struct { + AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_udm_pp_location_area.go b/models/model_udm_pp_location_area.go new file mode 100644 index 00000000..29b6da1a --- /dev/null +++ b/models/model_udm_pp_location_area.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmPpLocationArea struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + UmtTime *UmtTime `json:"umtTime,omitempty" yaml:"umtTime" bson:"umtTime,omitempty"` +} diff --git a/models/model_udm_sdm_amf_info.go b/models/model_udm_sdm_amf_info.go new file mode 100644 index 00000000..3b1d0366 --- /dev/null +++ b/models/model_udm_sdm_amf_info.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmAmfInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/model_udm_sdm_app_descriptor.go b/models/model_udm_sdm_app_descriptor.go new file mode 100644 index 00000000..38aba9b8 --- /dev/null +++ b/models/model_udm_sdm_app_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmAppDescriptor struct { + // Represents the Operating System of the served UE. + OsId string `json:"osId,omitempty" yaml:"osId" bson:"osId,omitempty"` + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` +} diff --git a/models/model_udm_sdm_data_set_name.go b/models/model_udm_sdm_data_set_name.go new file mode 100644 index 00000000..752d4927 --- /dev/null +++ b/models/model_udm_sdm_data_set_name.go @@ -0,0 +1,35 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmDataSetName string + +// List of UdmSDMDataSetName +const ( + UdmSdmDataSetName_AM UdmSdmDataSetName = "AM" + UdmSdmDataSetName_SMF_SEL UdmSdmDataSetName = "SMF_SEL" + UdmSdmDataSetName_UEC_SMF UdmSdmDataSetName = "UEC_SMF" + UdmSdmDataSetName_UEC_SMSF UdmSdmDataSetName = "UEC_SMSF" + UdmSdmDataSetName_SMS_SUB UdmSdmDataSetName = "SMS_SUB" + UdmSdmDataSetName_SM UdmSdmDataSetName = "SM" + UdmSdmDataSetName_TRACE UdmSdmDataSetName = "TRACE" + UdmSdmDataSetName_SMS_MNG UdmSdmDataSetName = "SMS_MNG" + UdmSdmDataSetName_LCS_PRIVACY UdmSdmDataSetName = "LCS_PRIVACY" + UdmSdmDataSetName_LCS_MO UdmSdmDataSetName = "LCS_MO" + UdmSdmDataSetName_UEC_AMF UdmSdmDataSetName = "UEC_AMF" + UdmSdmDataSetName_V2_X UdmSdmDataSetName = "V2X" + UdmSdmDataSetName_LCS_BCA UdmSdmDataSetName = "LCS_BCA" + UdmSdmDataSetName_PROSE UdmSdmDataSetName = "PROSE" + UdmSdmDataSetName_UC UdmSdmDataSetName = "UC" + UdmSdmDataSetName_MBS UdmSdmDataSetName = "MBS" +) diff --git a/models/model_udm_sdm_ec_restriction_data_wb.go b/models/model_udm_sdm_ec_restriction_data_wb.go new file mode 100644 index 00000000..02805cc8 --- /dev/null +++ b/models/model_udm_sdm_ec_restriction_data_wb.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmEcRestrictionDataWb struct { + EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` + EcModeBRestricted bool `json:"ecModeBRestricted,omitempty" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` +} diff --git a/models/model_udm_sdm_group_identifiers.go b/models/model_udm_sdm_group_identifiers.go new file mode 100644 index 00000000..4b118c89 --- /dev/null +++ b/models/model_udm_sdm_group_identifiers.go @@ -0,0 +1,20 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmGroupIdentifiers struct { + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` +} diff --git a/models/model_udm_sdm_ip_address.go b/models/model_udm_sdm_ip_address.go new file mode 100644 index 00000000..7ae765e1 --- /dev/null +++ b/models/model_udm_sdm_ip_address.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmIpAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/model_udm_sdm_ip_index.go b/models/model_udm_sdm_ip_index.go new file mode 100644 index 00000000..4bfad9aa --- /dev/null +++ b/models/model_udm_sdm_ip_index.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the IP Index to be sent from UDM to the SMF (its value can be either an integer or a string) +type UdmSdmIpIndex struct { +} diff --git a/models/model_udm_sdm_nidd_information.go b/models/model_udm_sdm_nidd_information.go new file mode 100644 index 00000000..05e9e088 --- /dev/null +++ b/models/model_udm_sdm_nidd_information.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmNiddInformation struct { + AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` +} diff --git a/models/model_udm_sdm_shared_data.go b/models/model_udm_sdm_shared_data.go new file mode 100644 index 00000000..5c066696 --- /dev/null +++ b/models/model_udm_sdm_shared_data.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSharedData struct { + SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` + SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData,omitempty"` + SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData,omitempty"` + SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData,omitempty"` + // A map(list of key-value pairs) where Dnn, or optionally the Wildcard DNN, serves as key of DnnConfiguration + SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations,omitempty"` + SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo + SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of VnGroupData + SharedVnGroupDatas map[string]VnGroupData `json:"sharedVnGroupDatas,omitempty" yaml:"sharedVnGroupDatas" bson:"sharedVnGroupDatas,omitempty"` + // A map(list of key-value pairs) where JSON pointer pointing to an attribute within the SharedData serves as key of SharedDataTreatmentInstruction + TreatmentInstructions map[string]SharedDataTreatmentInstruction `json:"treatmentInstructions,omitempty" yaml:"treatmentInstructions" bson:"treatmentInstructions,omitempty"` + SharedSmSubsData *SessionManagementSubscriptionData `json:"sharedSmSubsData,omitempty" yaml:"sharedSmSubsData" bson:"sharedSmSubsData,omitempty"` + SharedEcsAddrConfigInfo *EcsAddrConfigInfo `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` +} diff --git a/models/model_udm_sdm_sor_info.go b/models/model_udm_sdm_sor_info.go new file mode 100644 index 00000000..a0d2f6c9 --- /dev/null +++ b/models/model_udm_sdm_sor_info.go @@ -0,0 +1,35 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmSdmSorInfo struct { + SteeringContainer *UdmSdmSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` + // Contains indication whether the acknowledgement from UE is needed. + AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` + // CounterSoR. + Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorCmci string `json:"sorCmci,omitempty" yaml:"sorCmci" bson:"sorCmci,omitempty"` + StoreSorCmciInMe bool `json:"storeSorCmciInMe,omitempty" yaml:"storeSorCmciInMe" bson:"storeSorCmciInMe,omitempty"` + UsimSupportOfSorCmci bool `json:"usimSupportOfSorCmci,omitempty" yaml:"usimSupportOfSorCmci" bson:"usimSupportOfSorCmci,omitempty"` +} diff --git a/models/model_udm_sdm_steering_container.go b/models/model_udm_sdm_steering_container.go new file mode 100644 index 00000000..05aee655 --- /dev/null +++ b/models/model_udm_sdm_steering_container.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSteeringContainer struct { +} diff --git a/models/model_udm_sdm_subscription_data_sets.go b/models/model_udm_sdm_subscription_data_sets.go new file mode 100644 index 00000000..26d06c78 --- /dev/null +++ b/models/model_udm_sdm_subscription_data_sets.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSubscriptionDataSets struct { + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` + UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` + UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` + UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` +} diff --git a/models/model_udm_sdm_ue_id.go b/models/model_udm_sdm_ue_id.go new file mode 100644 index 00000000..018b8491 --- /dev/null +++ b/models/model_udm_sdm_ue_id.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmUeId struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` +} diff --git a/models/model_udm_sdm_upu_info.go b/models/model_udm_sdm_upu_info.go new file mode 100644 index 00000000..9a4ba1f9 --- /dev/null +++ b/models/model_udm_sdm_upu_info.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmSdmUpuInfo struct { + UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList,omitempty" yaml:"upuDataList" bson:"upuDataList,omitempty"` + UpuRegInd bool `json:"upuRegInd,omitempty" yaml:"upuRegInd" bson:"upuRegInd,omitempty"` + // Contains the indication of whether the acknowledgement from UE is needed. + UpuAckInd bool `json:"upuAckInd,omitempty" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` + // CounterUPU. + CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` +} diff --git a/models/model_udm_ssau_service_specific_authorization_info.go b/models/model_udm_ssau_service_specific_authorization_info.go new file mode 100644 index 00000000..09a315ab --- /dev/null +++ b/models/model_udm_ssau_service_specific_authorization_info.go @@ -0,0 +1,27 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authorization information for a specific service +type UdmSsauServiceSpecificAuthorizationInfo struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthUpdateCallbackUri string `json:"authUpdateCallbackUri,omitempty" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` +} diff --git a/models/model_udm_ueau_auth_type.go b/models/model_udm_ueau_auth_type.go new file mode 100644 index 00000000..4665bae7 --- /dev/null +++ b/models/model_udm_ueau_auth_type.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthType string + +// List of UdmUEAUAuthType +const ( + UdmUeauAuthType__5_G_AKA UdmUeauAuthType = "5G_AKA" + UdmUeauAuthType_EAP_AKA_PRIME UdmUeauAuthType = "EAP_AKA_PRIME" + UdmUeauAuthType_EAP_TLS UdmUeauAuthType = "EAP_TLS" + UdmUeauAuthType_NONE UdmUeauAuthType = "NONE" + UdmUeauAuthType_EAP_TTLS UdmUeauAuthType = "EAP_TTLS" +) diff --git a/models/model_udm_ueau_authentication_info_request.go b/models/model_udm_ueau_authentication_info_request.go new file mode 100644 index 00000000..97a84a9f --- /dev/null +++ b/models/model_udm_ueau_authentication_info_request.go @@ -0,0 +1,26 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthenticationInfoRequest struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AusfInstanceId string `json:"ausfInstanceId" yaml:"ausfInstanceId" bson:"ausfInstanceId,omitempty"` + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` + N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` + NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` +} diff --git a/models/model_udm_ueau_authentication_info_result.go b/models/model_udm_ueau_authentication_info_result.go new file mode 100644 index 00000000..94f68857 --- /dev/null +++ b/models/model_udm_ueau_authentication_info_result.go @@ -0,0 +1,26 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthenticationInfoResult struct { + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AkmaInd bool `json:"akmaInd,omitempty" yaml:"akmaInd" bson:"akmaInd,omitempty"` + AuthAaa bool `json:"authAaa,omitempty" yaml:"authAaa" bson:"authAaa,omitempty"` + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` +} diff --git a/models/model_udm_ueau_rg_auth_ctx.go b/models/model_udm_ueau_rg_auth_ctx.go new file mode 100644 index 00000000..a4190e06 --- /dev/null +++ b/models/model_udm_ueau_rg_auth_ctx.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauRgAuthCtx struct { + AuthInd bool `json:"authInd" yaml:"authInd" bson:"authInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_udm_uecm_data_restoration_notification.go b/models/model_udm_uecm_data_restoration_notification.go new file mode 100644 index 00000000..42480078 --- /dev/null +++ b/models/model_udm_uecm_data_restoration_notification.go @@ -0,0 +1,33 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains identities representing those UEs potentially affected by a data-loss event at the UDR +type UdmUecmDataRestorationNotification struct { + // string with format 'date-time' as defined in OpenAPI. + LastReplicationTime *time.Time `json:"lastReplicationTime,omitempty" yaml:"lastReplicationTime" bson:"lastReplicationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` +} diff --git a/models/model_udm_uecm_deregistration_data.go b/models/model_udm_uecm_deregistration_data.go new file mode 100644 index 00000000..92105c72 --- /dev/null +++ b/models/model_udm_uecm_deregistration_data.go @@ -0,0 +1,22 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmDeregistrationData struct { + DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfInstanceId string `json:"newSmfInstanceId,omitempty" yaml:"newSmfInstanceId" bson:"newSmfInstanceId,omitempty"` +} diff --git a/models/model_udm_uecm_deregistration_reason.go b/models/model_udm_uecm_deregistration_reason.go new file mode 100644 index 00000000..72c3c763 --- /dev/null +++ b/models/model_udm_uecm_deregistration_reason.go @@ -0,0 +1,28 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmDeregistrationReason string + +// List of UdmUECMDeregistrationReason +const ( + UdmUecmDeregistrationReason_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "UE_INITIAL_REGISTRATION" + UdmUecmDeregistrationReason_UE_REGISTRATION_AREA_CHANGE UdmUecmDeregistrationReason = "UE_REGISTRATION_AREA_CHANGE" + UdmUecmDeregistrationReason_SUBSCRIPTION_WITHDRAWN UdmUecmDeregistrationReason = "SUBSCRIPTION_WITHDRAWN" + UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY" + UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION" + UdmUecmDeregistrationReason_REREGISTRATION_REQUIRED UdmUecmDeregistrationReason = "REREGISTRATION_REQUIRED" + UdmUecmDeregistrationReason_SMF_CONTEXT_TRANSFERRED UdmUecmDeregistrationReason = "SMF_CONTEXT_TRANSFERRED" + UdmUecmDeregistrationReason_DUPLICATE_PDU_SESSION UdmUecmDeregistrationReason = "DUPLICATE_PDU_SESSION" + UdmUecmDeregistrationReason_DISASTER_CONDITION_TERMINATED UdmUecmDeregistrationReason = "DISASTER_CONDITION_TERMINATED" +) diff --git a/models/model_udm_uecm_location_info.go b/models/model_udm_uecm_location_info.go new file mode 100644 index 00000000..6600d061 --- /dev/null +++ b/models/model_udm_uecm_location_info.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmLocationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + RegistrationLocationInfoList []RegistrationLocationInfo `json:"registrationLocationInfoList" yaml:"registrationLocationInfoList" bson:"registrationLocationInfoList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_udr_dr_data_restoration_notification.go b/models/model_udr_dr_data_restoration_notification.go new file mode 100644 index 00000000..42d072a6 --- /dev/null +++ b/models/model_udr_dr_data_restoration_notification.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains identities representing those UEs potentially affected by a data-loss event at the UDR +type UdrDrDataRestorationNotification struct { + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Identifier of a group of NFs. + UdrGroupId string `json:"udrGroupId,omitempty" yaml:"udrGroupId" bson:"udrGroupId,omitempty"` +} diff --git a/models/model_udr_info.go b/models/model_udr_info.go index cf29ba8c..0a87c2bc 100644 --- a/models/model_udr_info.go +++ b/models/model_udr_info.go @@ -1,18 +1,24 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an UDR NF Instance type UdrInfo struct { - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId" mapstructure:"GroupId"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges" mapstructure:"SupiRanges"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges" mapstructure:"GpsiRanges"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges" mapstructure:"ExternalGroupIdentifiersRanges"` - SupportedDataSets []DataSetId `json:"supportedDataSets,omitempty" yaml:"supportedDataSets" bson:"supportedDataSets" mapstructure:"SupportedDataSets"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + SupportedDataSets []DataSetId `json:"supportedDataSets,omitempty" yaml:"supportedDataSets" bson:"supportedDataSets,omitempty"` + SharedDataIdRanges []SharedDataIdRange `json:"sharedDataIdRanges,omitempty" yaml:"sharedDataIdRanges" bson:"sharedDataIdRanges,omitempty"` } diff --git a/models/model_udr_traffic_influ_sub.go b/models/model_udr_traffic_influ_sub.go deleted file mode 100644 index 57922bc7..00000000 --- a/models/model_udr_traffic_influ_sub.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdrTrafficInfluSub struct { - // Each element identifies a DNN. - Dnns []string `json:"dnns,omitempty" bson:"dnns"` - // Each element identifies a slice. - Snssais []Snssai `json:"snssais,omitempty" bson:"snssais"` - // Each element identifies a group of users. - InternalGroupIds []string `json:"internalGroupIds,omitempty" bson:"internalGroupIds"` - // Each element identifies the user. - Supis []string `json:"supis,omitempty" bson:"supis"` - // string providing an URI formatted according to IETF RFC 3986. - NotificationUri string `json:"notificationUri" bson:"notificationUri"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` -} diff --git a/models/model_udsf_data_repository_notification_info.go b/models/model_udsf_data_repository_notification_info.go new file mode 100644 index 00000000..5dd4367b --- /dev/null +++ b/models/model_udsf_data_repository_notification_info.go @@ -0,0 +1,17 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdsfDataRepositoryNotificationInfo struct { + ExpiredSubscriptions []NotificationSubscription `json:"expiredSubscriptions" yaml:"expiredSubscriptions" bson:"expiredSubscriptions,omitempty"` +} diff --git a/models/model_udsf_info.go b/models/model_udsf_info.go new file mode 100644 index 00000000..961cddeb --- /dev/null +++ b/models/model_udsf_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to UDSF +type UdsfInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + // A map (list of key-value pairs) where realmId serves as key and each value in the map is an array of IdentityRanges. Each IdentityRange is a range of storageIds. + StorageIdRanges map[string][]IdentityRange `json:"storageIdRanges,omitempty" yaml:"storageIdRanges" bson:"storageIdRanges,omitempty"` +} diff --git a/models/model_ue_access_behavior_report_item.go b/models/model_ue_access_behavior_report_item.go new file mode 100644 index 00000000..6099c480 --- /dev/null +++ b/models/model_ue_access_behavior_report_item.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Report Item for UE Access Behavior Trends event. +type UeAccessBehaviorReportItem struct { + StateTransitionType AccessStateTransitionType `json:"stateTransitionType" yaml:"stateTransitionType" bson:"stateTransitionType,omitempty"` + // indicating a time in seconds. + Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` +} diff --git a/models/model_ue_analytics_context_descriptor.go b/models/model_ue_analytics_context_descriptor.go new file mode 100644 index 00000000..deeec1bb --- /dev/null +++ b/models/model_ue_analytics_context_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about available UE related analytics contexts. +type UeAnalyticsContextDescriptor struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // List of analytics types for which UE related analytics contexts can be retrieved. + AnaTypes []NwdafEvent `json:"anaTypes" yaml:"anaTypes" bson:"anaTypes,omitempty"` +} diff --git a/models/model_ue_area_indication.go b/models/model_ue_area_indication.go new file mode 100644 index 00000000..2cd1210d --- /dev/null +++ b/models/model_ue_area_indication.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates area (country, area in a country or international area) where UE is located +type UeAreaIndication struct { + // Indicates country or area in a country where UE is located + Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` + // Indicates international area indication if UE is located in international area + InternationalAreaInd bool `json:"internationalAreaInd,omitempty" yaml:"internationalAreaInd" bson:"internationalAreaInd,omitempty"` +} diff --git a/models/model_ue_auth.go b/models/model_ue_auth.go new file mode 100644 index 00000000..1fca11d3 --- /dev/null +++ b/models/model_ue_auth.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeAuth string + +// List of UeAuth +const ( + UeAuth_AUTHORIZED UeAuth = "AUTHORIZED" + UeAuth_NOT_AUTHORIZED UeAuth = "NOT_AUTHORIZED" +) diff --git a/models/model_ue_authentication_ctx.go b/models/model_ue_authentication_ctx.go index d2617a33..2bbbed95 100644 --- a/models/model_ue_authentication_ctx.go +++ b/models/model_ue_authentication_ctx.go @@ -1,17 +1,22 @@ /* * AUSF API * - * OpenAPI specification for AUSF + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the information related to the resource generated to handle the UE authentication. It contains at least the UE id, Serving Network, the Authentication Method and related EAP information or related 5G-AKA information. type UeAuthenticationCtx struct { - AuthType AuthType `json:"authType" yaml:"authType" bson:"authType"` - Var5gAuthData interface{} `json:"5gAuthData" yaml:"5gAuthData" bson:"5gAuthData"` - Links map[string]LinksValueSchema `json:"_links" yaml:"_links" bson:"_links"` - ServingNetworkName string `json:"servingNetworkName,omitempty" yaml:"servingNetworkName" bson:"servingNetworkName"` + AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + Var5gAuthData interface{} `json:"5gAuthData" yaml:"5gAuthData" bson:"5gAuthData,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + ServingNetworkName string `json:"servingNetworkName,omitempty" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` } diff --git a/models/model_ue_camping_rep.go b/models/model_ue_camping_rep.go index 5dd2d72c..297c9514 100644 --- a/models/model_ue_camping_rep.go +++ b/models/model_ue_camping_rep.go @@ -1,19 +1,26 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the current applicable values corresponding to the policy control request triggers. type UeCampingRep struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId" mapstructure:"ServNfId"` - ServingNetwork *NetworkId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork" mapstructure:"ServingNetwork"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo" mapstructure:"UserLocationInfo"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone" mapstructure:"UeTimeZone"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` } diff --git a/models/model_ue_communication.go b/models/model_ue_communication.go new file mode 100644 index 00000000..3492ea67 --- /dev/null +++ b/models/model_ue_communication.go @@ -0,0 +1,42 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents UE communication information. +type UeCommunication struct { + // indicating a time in seconds. + CommDur int32 `json:"commDur,omitempty" yaml:"commDur" bson:"commDur,omitempty"` + // string with format 'float' as defined in OpenAPI. + CommDurVariance float32 `json:"commDurVariance,omitempty" yaml:"commDurVariance" bson:"commDurVariance,omitempty"` + // indicating a time in seconds. + PerioTime int32 `json:"perioTime,omitempty" yaml:"perioTime" bson:"perioTime,omitempty"` + // string with format 'float' as defined in OpenAPI. + PerioTimeVariance float32 `json:"perioTimeVariance,omitempty" yaml:"perioTimeVariance" bson:"perioTimeVariance,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` + // string with format 'float' as defined in OpenAPI. + TsVariance float32 `json:"tsVariance,omitempty" yaml:"tsVariance" bson:"tsVariance,omitempty"` + RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` + TrafChar *TrafficCharacterization `json:"trafChar,omitempty" yaml:"trafChar" bson:"trafChar,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + PerioCommInd bool `json:"perioCommInd,omitempty" yaml:"perioCommInd" bson:"perioCommInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + AnaOfAppList *AppListForUeComm `json:"anaOfAppList,omitempty" yaml:"anaOfAppList" bson:"anaOfAppList,omitempty"` + SessInactTimer *SessInactTimerForUeComm `json:"sessInactTimer,omitempty" yaml:"sessInactTimer" bson:"sessInactTimer,omitempty"` +} diff --git a/models/model_ue_communication_collection.go b/models/model_ue_communication_collection.go new file mode 100644 index 00000000..ebfc144c --- /dev/null +++ b/models/model_ue_communication_collection.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE communication information associated with an application. +type UeCommunicationCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + ExterGroupId string `json:"exterGroupId,omitempty" yaml:"exterGroupId" bson:"exterGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` +} diff --git a/models/model_ue_communication_info.go b/models/model_ue_communication_info.go new file mode 100644 index 00000000..3d15a067 --- /dev/null +++ b/models/model_ue_communication_info.go @@ -0,0 +1,24 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE communication information associated with an application. +type UeCommunicationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` +} diff --git a/models/model_ue_connectivity_state.go b/models/model_ue_connectivity_state.go new file mode 100644 index 00000000..95c7579c --- /dev/null +++ b/models/model_ue_connectivity_state.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the connectivity state of a UE. +type UeConnectivityState struct { + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + Connectivitystate CmState `json:"connectivitystate,omitempty" yaml:"connectivitystate" bson:"connectivitystate,omitempty"` +} diff --git a/models/model_ue_context.go b/models/model_ue_context.go index 00b09887..c7e844f6 100644 --- a/models/model_ue_context.go +++ b/models/model_ue_context.go @@ -1,41 +1,132 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Represents an individual ueContext resource type UeContext struct { - Supi string `json:"supi,omitempty"` - SupiUnauthInd bool `json:"supiUnauthInd,omitempty"` - GpsiList []string `json:"gpsiList,omitempty"` - Pei string `json:"pei,omitempty"` - UdmGroupId string `json:"udmGroupId,omitempty"` - AusfGroupId string `json:"ausfGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty"` - GroupList []string `json:"groupList,omitempty"` - DrxParameter string `json:"drxParameter,omitempty"` - SubRfsp int32 `json:"subRfsp,omitempty"` - UsedRfsp int32 `json:"usedRfsp,omitempty"` - SubUeAmbr *Ambr `json:"subUeAmbr,omitempty"` - SmsSupport SmsSupport `json:"smsSupport,omitempty"` - SmsfId string `json:"smsfId,omitempty"` - SeafData *SeafData `json:"seafData,omitempty"` - Var5gMmCapability string `json:"5gMmCapability,omitempty"` - PcfId string `json:"pcfId,omitempty"` - PcfAmPolicyUri string `json:"pcfAmPolicyUri,omitempty"` - AmPolicyReqTriggerList []AmPolicyReqTrigger `json:"amPolicyReqTriggerList,omitempty"` - HpcfId string `json:"hpcfId,omitempty"` - RestrictedRatList []RatType `json:"restrictedRatList,omitempty"` - ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty"` - ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty"` - RestrictedCoreNwTypeList []CoreNetworkType `json:"restrictedCoreNwTypeList,omitempty"` - EventSubscriptionList []AmfEventSubscription `json:"eventSubscriptionList,omitempty"` - MmContextList []MmContext `json:"mmContextList,omitempty"` - SessionContextList []PduSessionContext `json:"sessionContextList,omitempty"` - TraceData *TraceData `json:"traceData,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + SupiUnauthInd bool `json:"supiUnauthInd,omitempty" yaml:"supiUnauthInd" bson:"supiUnauthInd,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + // Identifier of a group of NFs. + AusfGroupId string `json:"ausfGroupId,omitempty" yaml:"ausfGroupId" bson:"ausfGroupId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + GroupList []string `json:"groupList,omitempty" yaml:"groupList" bson:"groupList,omitempty"` + // string with format 'bytes' as defined in OpenAPI + DrxParameter string `json:"drxParameter,omitempty" yaml:"drxParameter" bson:"drxParameter,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + SubRfsp int32 `json:"subRfsp,omitempty" yaml:"subRfsp" bson:"subRfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + PcfRfsp int32 `json:"pcfRfsp,omitempty" yaml:"pcfRfsp" bson:"pcfRfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + UsedRfsp int32 `json:"usedRfsp,omitempty" yaml:"usedRfsp" bson:"usedRfsp,omitempty"` + SubUeAmbr *Ambr `json:"subUeAmbr,omitempty" yaml:"subUeAmbr" bson:"subUeAmbr,omitempty"` + PcfUeAmbr *Ambr `json:"pcfUeAmbr,omitempty" yaml:"pcfUeAmbr" bson:"pcfUeAmbr,omitempty"` + // A map(list of key-value pairs) where Snssai serves as key. + SubUeSliceMbrList map[string]SliceMbr `json:"subUeSliceMbrList,omitempty" yaml:"subUeSliceMbrList" bson:"subUeSliceMbrList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfId string `json:"smsfId,omitempty" yaml:"smsfId" bson:"smsfId,omitempty"` + SeafData *SeafData `json:"seafData,omitempty" yaml:"seafData" bson:"seafData,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Var5gMmCapability string `json:"5gMmCapability,omitempty" yaml:"5gMmCapability" bson:"5gMmCapability,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfAmpServiceSetId string `json:"pcfAmpServiceSetId,omitempty" yaml:"pcfAmpServiceSetId" bson:"pcfAmpServiceSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfUepServiceSetId string `json:"pcfUepServiceSetId,omitempty" yaml:"pcfUepServiceSetId" bson:"pcfUepServiceSetId,omitempty"` + PcfBinding SbiBindingLevel `json:"pcfBinding,omitempty" yaml:"pcfBinding" bson:"pcfBinding,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcfAmPolicyUri string `json:"pcfAmPolicyUri,omitempty" yaml:"pcfAmPolicyUri" bson:"pcfAmPolicyUri,omitempty"` + AmPolicyReqTriggerList []PolicyReqTrigger `json:"amPolicyReqTriggerList,omitempty" yaml:"amPolicyReqTriggerList" bson:"amPolicyReqTriggerList,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcfUePolicyUri string `json:"pcfUePolicyUri,omitempty" yaml:"pcfUePolicyUri" bson:"pcfUePolicyUri,omitempty"` + UePolicyReqTriggerList []PolicyReqTrigger `json:"uePolicyReqTriggerList,omitempty" yaml:"uePolicyReqTriggerList" bson:"uePolicyReqTriggerList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HpcfId string `json:"hpcfId,omitempty" yaml:"hpcfId" bson:"hpcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HpcfSetId string `json:"hpcfSetId,omitempty" yaml:"hpcfSetId" bson:"hpcfSetId,omitempty"` + RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` + ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RestrictedCoreNwTypeList []CoreNetworkType `json:"restrictedCoreNwTypeList,omitempty" yaml:"restrictedCoreNwTypeList" bson:"restrictedCoreNwTypeList,omitempty"` + EventSubscriptionList []ExtAmfEventSubscription `json:"eventSubscriptionList,omitempty" yaml:"eventSubscriptionList" bson:"eventSubscriptionList,omitempty"` + MmContextList []MmContext `json:"mmContextList,omitempty" yaml:"mmContextList" bson:"mmContextList,omitempty"` + SessionContextList []PduSessionContext `json:"sessionContextList,omitempty" yaml:"sessionContextList" bson:"sessionContextList,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ServiceGapExpiryTime *time.Time `json:"serviceGapExpiryTime,omitempty" yaml:"serviceGapExpiryTime" bson:"serviceGapExpiryTime,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` + // string with format 'bytes' as defined in OpenAPI + MsClassmark2 string `json:"msClassmark2,omitempty" yaml:"msClassmark2" bson:"msClassmark2,omitempty"` + SupportedCodecList []string `json:"supportedCodecList,omitempty" yaml:"supportedCodecList" bson:"supportedCodecList,omitempty"` + SmallDataRateStatusInfos []SmallDataRateStatusInfo `json:"smallDataRateStatusInfos,omitempty" yaml:"smallDataRateStatusInfos" bson:"smallDataRateStatusInfos,omitempty"` + RestrictedPrimaryRatList []RatType `json:"restrictedPrimaryRatList,omitempty" yaml:"restrictedPrimaryRatList" bson:"restrictedPrimaryRatList,omitempty"` + RestrictedSecondaryRatList []RatType `json:"restrictedSecondaryRatList,omitempty" yaml:"restrictedSecondaryRatList" bson:"restrictedSecondaryRatList,omitempty"` + V2xContext *V2xContext `json:"v2xContext,omitempty" yaml:"v2xContext" bson:"v2xContext,omitempty"` + LteCatMInd bool `json:"lteCatMInd,omitempty" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` + RedCapInd bool `json:"redCapInd,omitempty" yaml:"redCapInd" bson:"redCapInd,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` + ManagementMdtInd bool `json:"managementMdtInd,omitempty" yaml:"managementMdtInd" bson:"managementMdtInd,omitempty"` + ImmediateMdtConf *ImmediateMdtConf `json:"immediateMdtConf,omitempty" yaml:"immediateMdtConf" bson:"immediateMdtConf,omitempty"` + EcRestrictionDataWb *AmfCommunicationEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` + IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` + ProseContext *ProseContext `json:"proseContext,omitempty" yaml:"proseContext" bson:"proseContext,omitempty"` + AnalyticsSubscriptionList []AnalyticsSubscription `json:"analyticsSubscriptionList,omitempty" yaml:"analyticsSubscriptionList" bson:"analyticsSubscriptionList,omitempty"` + PcfAmpBindingInfo string `json:"pcfAmpBindingInfo,omitempty" yaml:"pcfAmpBindingInfo" bson:"pcfAmpBindingInfo,omitempty"` + PcfUepBindingInfo string `json:"pcfUepBindingInfo,omitempty" yaml:"pcfUepBindingInfo" bson:"pcfUepBindingInfo,omitempty"` + UsedServiceAreaRestriction *ServiceAreaRestriction `json:"usedServiceAreaRestriction,omitempty" yaml:"usedServiceAreaRestriction" bson:"usedServiceAreaRestriction,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PraInAmPolicy map[string]PresenceInfo `json:"praInAmPolicy,omitempty" yaml:"praInAmPolicy" bson:"praInAmPolicy,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PraInUePolicy map[string]PresenceInfo `json:"praInUePolicy,omitempty" yaml:"praInUePolicy" bson:"praInUePolicy,omitempty"` + UpdpSubscriptionData *UpdpSubscriptionData `json:"updpSubscriptionData,omitempty" yaml:"updpSubscriptionData" bson:"updpSubscriptionData,omitempty"` + SmPolicyNotifyPduList []PduSessionInfo `json:"smPolicyNotifyPduList,omitempty" yaml:"smPolicyNotifyPduList" bson:"smPolicyNotifyPduList,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + AstiDistributionIndication bool `json:"astiDistributionIndication,omitempty" yaml:"astiDistributionIndication" bson:"astiDistributionIndication,omitempty"` + TsErrorBudget int32 `json:"tsErrorBudget,omitempty" yaml:"tsErrorBudget" bson:"tsErrorBudget,omitempty"` + SnpnOnboardInd bool `json:"snpnOnboardInd,omitempty" yaml:"snpnOnboardInd" bson:"snpnOnboardInd,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + // A map(list of key-value pairs) where Snssai serves as key. + PcfUeSliceMbrList map[string]SliceMbr `json:"pcfUeSliceMbrList,omitempty" yaml:"pcfUeSliceMbrList" bson:"pcfUeSliceMbrList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfServiceSetId string `json:"smsfServiceSetId,omitempty" yaml:"smsfServiceSetId" bson:"smsfServiceSetId,omitempty"` + SmsfBindingInfo string `json:"smsfBindingInfo,omitempty" yaml:"smsfBindingInfo" bson:"smsfBindingInfo,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + DisasterPlmn *PlmnId `json:"disasterPlmn,omitempty" yaml:"disasterPlmn" bson:"disasterPlmn,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` } diff --git a/models/model_ue_context_cancel_relocate_data.go b/models/model_ue_context_cancel_relocate_data.go new file mode 100644 index 00000000..41bccada --- /dev/null +++ b/models/model_ue_context_cancel_relocate_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data structure used for cancellation of UE Context Relocation +type UeContextCancelRelocateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + RelocationCancelRequest *RefToBinaryData `json:"relocationCancelRequest" yaml:"relocationCancelRequest" bson:"relocationCancelRequest,omitempty"` +} diff --git a/models/model_ue_context_create_data.go b/models/model_ue_context_create_data.go index 826d55b3..a85dac1f 100644 --- a/models/model_ue_context_create_data.go +++ b/models/model_ue_context_create_data.go @@ -1,21 +1,29 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a request to create an individual ueContext resource type UeContextCreateData struct { - UeContext *UeContext `json:"ueContext"` - TargetId *NgRanTargetId `json:"targetId"` - SourceToTargetData *N2InfoContent `json:"sourceToTargetData"` - PduSessionList []N2SmInformation `json:"pduSessionList,omitempty"` - N2NotifyUri string `json:"n2NotifyUri,omitempty"` - UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty"` - NgapCause *NgApCause `json:"ngapCause,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` + SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyUri string `json:"n2NotifyUri,omitempty" yaml:"n2NotifyUri" bson:"n2NotifyUri,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` } diff --git a/models/model_ue_context_create_error.go b/models/model_ue_context_create_error.go index 13a27efb..c997ab5b 100644 --- a/models/model_ue_context_create_error.go +++ b/models/model_ue_context_create_error.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a failure response for creating a UE context type UeContextCreateError struct { - Error *ProblemDetails `json:"error"` - NgapCause *NgApCause `json:"ngapCause,omitempty"` + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + TargetToSourceFailureData *N2InfoContent `json:"targetToSourceFailureData,omitempty" yaml:"targetToSourceFailureData" bson:"targetToSourceFailureData,omitempty"` } diff --git a/models/model_ue_context_created_data.go b/models/model_ue_context_created_data.go index 55f93c38..e3f1ee70 100644 --- a/models/model_ue_context_created_data.go +++ b/models/model_ue_context_created_data.go @@ -1,20 +1,25 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a successful response for creating an individual ueContext resource type UeContextCreatedData struct { - UeContext *UeContext `json:"ueContext"` - TargetToSourceData *N2InfoContent `json:"targetToSourceData"` - PduSessionList []N2SmInformation `json:"pduSessionList,omitempty"` - NgapCause *NgApCause `json:"ngapCause,omitempty"` - FailedSessionList []N2SmInformation `json:"failedSessionList,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` - PcfReselectedInd bool `json:"pcfReselectedInd,omitempty"` + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetToSourceData *N2InfoContent `json:"targetToSourceData" yaml:"targetToSourceData" bson:"targetToSourceData,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + FailedSessionList []N2SmInformation `json:"failedSessionList,omitempty" yaml:"failedSessionList" bson:"failedSessionList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` + AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` } diff --git a/models/model_ue_context_in_amf_data.go b/models/model_ue_context_in_amf_data.go new file mode 100644 index 00000000..0db129c0 --- /dev/null +++ b/models/model_ue_context_in_amf_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextInAmfData struct { + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + // AMF information + AmfInfo []UdmSdmAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` +} diff --git a/models/model_ue_context_in_smf_data.go b/models/model_ue_context_in_smf_data.go index 72ea09b6..473e5213 100644 --- a/models/model_ue_context_in_smf_data.go +++ b/models/model_ue_context_in_smf_data.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,7 @@ package models type UeContextInSmfData struct { // A map (list of key-value pairs where PduSessionId serves as key) of PduSessions - PduSessions map[string]PduSession `json:"pduSessions,omitempty" yaml:"pduSessions" bson:"pduSessions" mapstructure:"PduSessions"` - PgwInfo []PgwInfo `json:"pgwInfo,omitempty" yaml:"pgwInfo" bson:"pgwInfo" mapstructure:"PgwInfo"` - EmergencyInfo *EmergencyInfo `json:"emergencyInfo,omitempty" yaml:"emergencyInfo" bson:"emergencyInfo" mapstructure:"EmergencyInfo"` + PduSessions map[string]PduSession `json:"pduSessions,omitempty" yaml:"pduSessions" bson:"pduSessions,omitempty"` + PgwInfo []PgwInfo `json:"pgwInfo,omitempty" yaml:"pgwInfo" bson:"pgwInfo,omitempty"` + EmergencyInfo *EmergencyInfo `json:"emergencyInfo,omitempty" yaml:"emergencyInfo" bson:"emergencyInfo,omitempty"` } diff --git a/models/model_ue_context_in_smf_data_sub_filter.go b/models/model_ue_context_in_smf_data_sub_filter.go new file mode 100644 index 00000000..4fc297cf --- /dev/null +++ b/models/model_ue_context_in_smf_data_sub_filter.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Context In Smf Data Subscription Filter. +type UeContextInSmfDataSubFilter struct { + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + EmergencyInd bool `json:"emergencyInd,omitempty" yaml:"emergencyInd" bson:"emergencyInd,omitempty"` +} diff --git a/models/model_ue_context_in_smsf_data.go b/models/model_ue_context_in_smsf_data.go index 342bad4e..0aa92885 100644 --- a/models/model_ue_context_in_smsf_data.go +++ b/models/model_ue_context_in_smsf_data.go @@ -1,15 +1,18 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type UeContextInSmsfData struct { - SmsfInfo3GppAccess *SmsfInfo `json:"smsfInfo3GppAccess,omitempty" yaml:"smsfInfo3GppAccess" bson:"smsfInfo3GppAccess" mapstructure:"SmsfInfo3GppAccess"` - SmsfInfoNon3GppAccess *SmsfInfo `json:"smsfInfoNon3GppAccess,omitempty" yaml:"smsfInfoNon3GppAccess" bson:"smsfInfoNon3GppAccess" mapstructure:"SmsfInfoNon3GppAccess"` + SmsfInfo3GppAccess *SmsfInfo `json:"smsfInfo3GppAccess,omitempty" yaml:"smsfInfo3GppAccess" bson:"smsfInfo3GppAccess,omitempty"` + SmsfInfoNon3GppAccess *SmsfInfo `json:"smsfInfoNon3GppAccess,omitempty" yaml:"smsfInfoNon3GppAccess" bson:"smsfInfoNon3GppAccess,omitempty"` } diff --git a/models/model_ue_context_info.go b/models/model_ue_context_info.go index 27f7c28f..b6cdebca 100644 --- a/models/model_ue_context_info.go +++ b/models/model_ue_context_info.go @@ -1,9 +1,12 @@ /* * Namf_MT * - * AMF Mobile Termination Service + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,11 +16,14 @@ import ( "time" ) +// UE Context Information type UeContextInfo struct { - SupportVoPS bool `json:"supportVoPS,omitempty" bson:"supportVoPS"` - SupportVoPSn3gpp bool `json:"supportVoPSn3gpp,omitempty" bson:"supportVoPSn3gpp"` - LastActTime *time.Time `json:"lastActTime,omitempty" bson:"lastActTime"` - AccessType AccessType `json:"accessType,omitempty" bson:"accessType"` - RatType RatType `json:"ratType,omitempty" bson:"ratType"` - SupportedFeatures string `json:"supportedFeatures,omitempty" bson:"supportedFeatures"` + SupportVoPS bool `json:"supportVoPS,omitempty" yaml:"supportVoPS" bson:"supportVoPS,omitempty"` + SupportVoPSn3gpp bool `json:"supportVoPSn3gpp,omitempty" yaml:"supportVoPSn3gpp" bson:"supportVoPSn3gpp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastActTime *time.Time `json:"lastActTime,omitempty" yaml:"lastActTime" bson:"lastActTime,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_ue_context_info_class.go b/models/model_ue_context_info_class.go index 592fbcaf..899750e4 100644 --- a/models/model_ue_context_info_class.go +++ b/models/model_ue_context_info_class.go @@ -1,9 +1,12 @@ /* * Namf_MT * - * AMF Mobile Termination Service + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ue_context_release.go b/models/model_ue_context_release.go index 7c32f5bf..775a5cad 100644 --- a/models/model_ue_context_release.go +++ b/models/model_ue_context_release.go @@ -1,16 +1,21 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a Release UE Context request type UeContextRelease struct { - Supi string `json:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty"` - NgapCause *NgApCause `json:"ngapCause"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + NgapCause *NgApCause `json:"ngapCause" yaml:"ngapCause" bson:"ngapCause,omitempty"` } diff --git a/models/model_ue_context_relocate_data.go b/models/model_ue_context_relocate_data.go new file mode 100644 index 00000000..e32dc8da --- /dev/null +++ b/models/model_ue_context_relocate_data.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Relocate UE Context request +type UeContextRelocateData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` + SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` + ForwardRelocationRequest *RefToBinaryData `json:"forwardRelocationRequest" yaml:"forwardRelocationRequest" bson:"forwardRelocationRequest,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList,omitempty" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/model_ue_context_relocated_data.go b/models/model_ue_context_relocated_data.go new file mode 100644 index 00000000..bbae1304 --- /dev/null +++ b/models/model_ue_context_relocated_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Relocate UE Context response +type UeContextRelocatedData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` +} diff --git a/models/model_ue_context_transfer_req_data.go b/models/model_ue_context_transfer_req_data.go index a7da6b0b..fea628e4 100644 --- a/models/model_ue_context_transfer_req_data.go +++ b/models/model_ue_context_transfer_req_data.go @@ -1,18 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a UE Context Transfer Request to start transferring of an individual ueContext resource from old AMF to new AMF type UeContextTransferReqData struct { - Reason TransferReason `json:"reason"` - AccessType AccessType `json:"accessType"` - PlmnId *PlmnId `json:"plmnId,omitempty"` - RegRequest *N1MessageContainer `json:"regRequest,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + Reason TransferReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + RegRequest *N1MessageContainer `json:"regRequest,omitempty" yaml:"regRequest" bson:"regRequest,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_ue_context_transfer_request.go b/models/model_ue_context_transfer_request.go index 804cb6aa..5e0159c3 100644 --- a/models/model_ue_context_transfer_request.go +++ b/models/model_ue_context_transfer_request.go @@ -1,15 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type UeContextTransferRequest struct { - JsonData *UeContextTransferReqData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.RegRequest.N1MessageContent.ContentId"` + JsonData *UeContextTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` } diff --git a/models/model_ue_context_transfer_response.go b/models/model_ue_context_transfer_response.go deleted file mode 100644 index 55e69941..00000000 --- a/models/model_ue_context_transfer_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextTransferResponse struct { - JsonData *UeContextTransferRspData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.UeRadioCapability.NgapData.ContentId"` -} diff --git a/models/model_ue_context_transfer_response_200.go b/models/model_ue_context_transfer_response_200.go new file mode 100644 index 00000000..64c434eb --- /dev/null +++ b/models/model_ue_context_transfer_response_200.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextTransferResponse200 struct { + JsonData *UeContextTransferRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` +} diff --git a/models/model_ue_context_transfer_rsp_data.go b/models/model_ue_context_transfer_rsp_data.go index c9307633..3adf6ef5 100644 --- a/models/model_ue_context_transfer_rsp_data.go +++ b/models/model_ue_context_transfer_rsp_data.go @@ -1,16 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a successful response to the UE Context Transfer request type UeContextTransferRspData struct { - UeContext *UeContext `json:"ueContext"` - UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` + UeNbiotRadioCapability *N2InfoContent `json:"ueNbiotRadioCapability,omitempty" yaml:"ueNbiotRadioCapability" bson:"ueNbiotRadioCapability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_ue_context_transfer_status.go b/models/model_ue_context_transfer_status.go index fb56d225..a4a76794 100644 --- a/models/model_ue_context_transfer_status.go +++ b/models/model_ue_context_transfer_status.go @@ -1,9 +1,12 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ue_differentiation_info.go b/models/model_ue_differentiation_info.go new file mode 100644 index 00000000..80e0041b --- /dev/null +++ b/models/model_ue_differentiation_info.go @@ -0,0 +1,30 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the UE Differentiation Information and its validity time +type UeDifferentiationInfo struct { + PeriodicComInd PeriodicCommunicationIndicator `json:"periodicComInd,omitempty" yaml:"periodicComInd" bson:"periodicComInd,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledComTime *ScheduledCommunicationTime `json:"scheduledComTime,omitempty" yaml:"scheduledComTime" bson:"scheduledComTime,omitempty"` + StationaryInd StationaryIndication `json:"stationaryInd,omitempty" yaml:"stationaryInd" bson:"stationaryInd,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryInd *BatteryIndication `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_ue_id.go b/models/model_ue_id.go new file mode 100644 index 00000000..2c4b3da1 --- /dev/null +++ b/models/model_ue_id.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeId struct { + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` +} diff --git a/models/model_ue_id_ext.go b/models/model_ue_id_ext.go new file mode 100644 index 00000000..9001f206 --- /dev/null +++ b/models/model_ue_id_ext.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Identity +type UeIdExt struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/model_ue_identity_info.go b/models/model_ue_identity_info.go new file mode 100644 index 00000000..b76cdedb --- /dev/null +++ b/models/model_ue_identity_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5GS-Level UE identities. +type UeIdentityInfo struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` +} diff --git a/models/model_ue_in_area_filter.go b/models/model_ue_in_area_filter.go new file mode 100644 index 00000000..d4b8ed5c --- /dev/null +++ b/models/model_ue_in_area_filter.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional filters for UE in Area Report event +type UeInAreaFilter struct { + UeType UeType `json:"ueType,omitempty" yaml:"ueType" bson:"ueType,omitempty"` + AerialSrvDnnInd bool `json:"aerialSrvDnnInd,omitempty" yaml:"aerialSrvDnnInd" bson:"aerialSrvDnnInd,omitempty"` +} diff --git a/models/model_ue_initiated_resource_request.go b/models/model_ue_initiated_resource_request.go index a7d53e47..24dc0299 100644 --- a/models/model_ue_initiated_resource_request.go +++ b/models/model_ue_initiated_resource_request.go @@ -1,18 +1,22 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Indicates that a UE requests specific QoS handling for the selected SDF. type UeInitiatedResourceRequest struct { - PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId" mapstructure:"PccRuleId"` - RuleOp RuleOperation `json:"ruleOp,omitempty" yaml:"ruleOp" bson:"ruleOp" mapstructure:"RuleOp"` - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence" mapstructure:"Precedence"` - PackFiltInfo []PacketFilterInfo `json:"packFiltInfo" yaml:"packFiltInfo" bson:"packFiltInfo" mapstructure:"PackFiltInfo"` - ReqQos *RequestedQos `json:"reqQos,omitempty" yaml:"reqQos" bson:"reqQos" mapstructure:"ReqQos"` + PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + RuleOp RuleOperation `json:"ruleOp" yaml:"ruleOp" bson:"ruleOp,omitempty"` + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + PackFiltInfo []PacketFilterInfo `json:"packFiltInfo" yaml:"packFiltInfo" bson:"packFiltInfo,omitempty"` + ReqQos *RequestedQos `json:"reqQos,omitempty" yaml:"reqQos" bson:"reqQos,omitempty"` } diff --git a/models/model_ue_lcs_capability.go b/models/model_ue_lcs_capability.go new file mode 100644 index 00000000..93dc2c8c --- /dev/null +++ b/models/model_ue_lcs_capability.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the LCS capability supported by the UE.. +type UeLcsCapability struct { + LppSupport bool `json:"lppSupport,omitempty" yaml:"lppSupport" bson:"lppSupport,omitempty"` + CiotOptimisation bool `json:"ciotOptimisation,omitempty" yaml:"ciotOptimisation" bson:"ciotOptimisation,omitempty"` +} diff --git a/models/model_ue_location_info.go b/models/model_ue_location_info.go new file mode 100644 index 00000000..9c88e38f --- /dev/null +++ b/models/model_ue_location_info.go @@ -0,0 +1,31 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Indicates location information of a UE. +type UeLocationInfo struct { + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfVelocityEstimate int32 `json:"ageOfVelocityEstimate,omitempty" yaml:"ageOfVelocityEstimate" bson:"ageOfVelocityEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfVelocityEstimate *time.Time `json:"timestampOfVelocityEstimate,omitempty" yaml:"timestampOfVelocityEstimate" bson:"timestampOfVelocityEstimate,omitempty"` +} diff --git a/models/model_ue_location_service_ind.go b/models/model_ue_location_service_ind.go new file mode 100644 index 00000000..abf5879c --- /dev/null +++ b/models/model_ue_location_service_ind.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeLocationServiceInd string + +// List of UeLocationServiceInd +const ( + UeLocationServiceInd_ESTIMATE UeLocationServiceInd = "LOCATION_ESTIMATE" + UeLocationServiceInd_ASSISTANCE_DATA UeLocationServiceInd = "LOCATION_ASSISTANCE_DATA" +) diff --git a/models/model_ue_location_trends_report_item.go b/models/model_ue_location_trends_report_item.go new file mode 100644 index 00000000..8153246c --- /dev/null +++ b/models/model_ue_location_trends_report_item.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Report Item for UE Location Trends event. +type UeLocationTrendsReportItem struct { + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + // indicating a time in seconds. + Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` +} diff --git a/models/model_ue_mobility.go b/models/model_ue_mobility.go new file mode 100644 index 00000000..91a6d762 --- /dev/null +++ b/models/model_ue_mobility.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents UE mobility information. +type UeMobility struct { + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` + RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + // string with format 'float' as defined in OpenAPI. + DurationVariance float32 `json:"durationVariance,omitempty" yaml:"durationVariance" bson:"durationVariance,omitempty"` + LocInfos []NwdafEventsSubscriptionLocationInfo `json:"locInfos,omitempty" yaml:"locInfos" bson:"locInfos,omitempty"` +} diff --git a/models/model_ue_mobility_collection.go b/models/model_ue_mobility_collection.go new file mode 100644 index 00000000..ed8892c6 --- /dev/null +++ b/models/model_ue_mobility_collection.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE mobility information associated with an application. +type UeMobilityCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + UeTrajs []UeTrajectoryCollection `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` +} diff --git a/models/model_ue_mobility_info.go b/models/model_ue_mobility_info.go new file mode 100644 index 00000000..d4762b6a --- /dev/null +++ b/models/model_ue_mobility_info.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE mobility information associated with an application. +type UeMobilityInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeTrajs []UeTrajectoryInfo `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` +} diff --git a/models/model_ue_n1_n2_info_subscription_create_data.go b/models/model_ue_n1_n2_info_subscription_create_data.go index def89d9e..7771c23e 100644 --- a/models/model_ue_n1_n2_info_subscription_create_data.go +++ b/models/model_ue_n1_n2_info_subscription_create_data.go @@ -1,19 +1,28 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a create subscription request for UE specific N1 and/or N2 information notification type UeN1N2InfoSubscriptionCreateData struct { - N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty"` - N2NotifyCallbackUri string `json:"n2NotifyCallbackUri,omitempty"` - N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty"` - N1NotifyCallbackUri string `json:"n1NotifyCallbackUri,omitempty"` - NfId string `json:"nfId,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyCallbackUri string `json:"n2NotifyCallbackUri,omitempty" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` + N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1NotifyCallbackUri string `json:"n1NotifyCallbackUri,omitempty" yaml:"n1NotifyCallbackUri" bson:"n1NotifyCallbackUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` } diff --git a/models/model_ue_n1_n2_info_subscription_created_data.go b/models/model_ue_n1_n2_info_subscription_created_data.go index d633f89c..0926fb40 100644 --- a/models/model_ue_n1_n2_info_subscription_created_data.go +++ b/models/model_ue_n1_n2_info_subscription_created_data.go @@ -1,15 +1,20 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data for the created subscription for UE specific N1 and/or N2 information notification type UeN1N2InfoSubscriptionCreatedData struct { - N1n2NotifySubscriptionId string `json:"n1n2NotifySubscriptionId"` - SupportedFeatures string `json:"supportedFeatures,omitempty"` + N1n2NotifySubscriptionId string `json:"n1n2NotifySubscriptionId" yaml:"n1n2NotifySubscriptionId" bson:"n1n2NotifySubscriptionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` } diff --git a/models/model_ue_policy_association.go b/models/model_ue_policy_association.go new file mode 100644 index 00000000..f9624eb9 --- /dev/null +++ b/models/model_ue_policy_association.go @@ -0,0 +1,23 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyAssociation struct { + Request *UePolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_ue_policy_association_release_cause.go b/models/model_ue_policy_association_release_cause.go new file mode 100644 index 00000000..a6f991c8 --- /dev/null +++ b/models/model_ue_policy_association_release_cause.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyAssociationReleaseCause string + +// List of UePolicyAssociationReleaseCause +const ( + UePolicyAssociationReleaseCause_UNSPECIFIED UePolicyAssociationReleaseCause = "UNSPECIFIED" + UePolicyAssociationReleaseCause_UE_SUBSCRIPTION UePolicyAssociationReleaseCause = "UE_SUBSCRIPTION" + UePolicyAssociationReleaseCause_INSUFFICIENT_RES UePolicyAssociationReleaseCause = "INSUFFICIENT_RES" +) diff --git a/models/model_ue_policy_association_request.go b/models/model_ue_policy_association_request.go new file mode 100644 index 00000000..2bdf5301 --- /dev/null +++ b/models/model_ue_policy_association_request.go @@ -0,0 +1,39 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyAssociationRequest struct { + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Pc5Capab Pc5Capability `json:"pc5Capab,omitempty" yaml:"pc5Capab" bson:"pc5Capab,omitempty"` + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_ue_policy_association_update_request.go b/models/model_ue_policy_association_update_request.go new file mode 100644 index 00000000..f2245897 --- /dev/null +++ b/models/model_ue_policy_association_update_request.go @@ -0,0 +1,36 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyAssociationUpdateRequest struct { + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Map of PRA status information. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + UePolDelResult string `json:"uePolDelResult,omitempty" yaml:"uePolDelResult" bson:"uePolDelResult,omitempty"` + UePolTransFailNotif *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty" yaml:"uePolTransFailNotif" bson:"uePolTransFailNotif,omitempty"` + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` +} diff --git a/models/model_ue_policy_request_trigger.go b/models/model_ue_policy_request_trigger.go new file mode 100644 index 00000000..15a7d795 --- /dev/null +++ b/models/model_ue_policy_request_trigger.go @@ -0,0 +1,25 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyRequestTrigger string + +// List of UePolicyRequestTrigger +const ( + UePolicyRequestTrigger_LOC_CH UePolicyRequestTrigger = "LOC_CH" + UePolicyRequestTrigger_PRA_CH UePolicyRequestTrigger = "PRA_CH" + UePolicyRequestTrigger_UE_POLICY UePolicyRequestTrigger = "UE_POLICY" + UePolicyRequestTrigger_PLMN_CH UePolicyRequestTrigger = "PLMN_CH" + UePolicyRequestTrigger_CON_STATE_CH UePolicyRequestTrigger = "CON_STATE_CH" + UePolicyRequestTrigger_GROUP_ID_LIST_CHG UePolicyRequestTrigger = "GROUP_ID_LIST_CHG" +) diff --git a/models/model_ue_policy_section.go b/models/model_ue_policy_section.go index de378db6..33180574 100644 --- a/models/model_ue_policy_section.go +++ b/models/model_ue_policy_section.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,7 @@ package models // Contains the UE policy section. type UePolicySection struct { - UePolicySectionInfo string `json:"uePolicySectionInfo" bson:"uePolicySectionInfo"` - Upsi string `json:"upsi" bson:"upsi"` + // string with format 'bytes' as defined in OpenAPI + UePolicySectionInfo string `json:"uePolicySectionInfo" yaml:"uePolicySectionInfo" bson:"uePolicySectionInfo,omitempty"` + Upsi string `json:"upsi" yaml:"upsi" bson:"upsi,omitempty"` } diff --git a/models/model_ue_policy_set.go b/models/model_ue_policy_set.go index 3990d8d4..683187f0 100644 --- a/models/model_ue_policy_set.go +++ b/models/model_ue_policy_set.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,7 +14,19 @@ package models // Contains the UE policy data for a given subscriber. type UePolicySet struct { - SubscCats []string `json:"subscCats,omitempty" bson:"subscCats"` - UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" bson:"uePolicySections"` - Upsis []string `json:"upsis,omitempty" bson:"upsis"` + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` + // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. + UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` + Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` + // Contains allowed route selection descriptors per serving PLMN for a UE. The serving PLMN identifier is the key of the map. + AllowedRouteSelDescs map[string]PlmnRouteSelectionDescriptor `json:"allowedRouteSelDescs,omitempty" yaml:"allowedRouteSelDescs" bson:"allowedRouteSelDescs,omitempty"` + AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_ue_policy_set_patch.go b/models/model_ue_policy_set_patch.go new file mode 100644 index 00000000..723f966c --- /dev/null +++ b/models/model_ue_policy_set_patch.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE policy set for a given subscriber. +type UePolicySetPatch struct { + // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. + UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` + Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` + AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` +} diff --git a/models/model_ue_policy_termination_notification.go b/models/model_ue_policy_termination_notification.go new file mode 100644 index 00000000..efdae835 --- /dev/null +++ b/models/model_ue_policy_termination_notification.go @@ -0,0 +1,18 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyTerminationNotification struct { + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause UePolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/model_ue_policy_transfer_failure_notification.go b/models/model_ue_policy_transfer_failure_notification.go new file mode 100644 index 00000000..488f8036 --- /dev/null +++ b/models/model_ue_policy_transfer_failure_notification.go @@ -0,0 +1,19 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information on the failure of a UE policy transfer to the UE because the UE is not reachable. +type UePolicyTransferFailureNotification struct { + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + Ptis []int32 `json:"ptis" yaml:"ptis" bson:"ptis,omitempty"` +} diff --git a/models/model_ue_policy_update.go b/models/model_ue_policy_update.go new file mode 100644 index 00000000..616d6e74 --- /dev/null +++ b/models/model_ue_policy_update.go @@ -0,0 +1,23 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UePolicyUpdate struct { + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Map of PRA information. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` +} diff --git a/models/model_ue_privacy_requirements.go b/models/model_ue_privacy_requirements.go new file mode 100644 index 00000000..f6fa4eb9 --- /dev/null +++ b/models/model_ue_privacy_requirements.go @@ -0,0 +1,19 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE privacy requirements from (H)GMLC to the serving AMF or VGMLC(in the roaming case) for the target UE +type UePrivacyRequirements struct { + LcsServiceAuthInfo LcsServiceAuth `json:"lcsServiceAuthInfo,omitempty" yaml:"lcsServiceAuthInfo" bson:"lcsServiceAuthInfo,omitempty"` + CodeWordCheck bool `json:"codeWordCheck,omitempty" yaml:"codeWordCheck" bson:"codeWordCheck,omitempty"` +} diff --git a/models/model_ue_reachability.go b/models/model_ue_reachability.go index 7bd288ef..178dcd77 100644 --- a/models/model_ue_reachability.go +++ b/models/model_ue_reachability.go @@ -1,9 +1,12 @@ /* - * Nudr_DataRepository API OpenAPI file + * Nnwdaf_DataManagement * - * Unified Data Repository Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ue_reachability_notification.go b/models/model_ue_reachability_notification.go new file mode 100644 index 00000000..aa36933b --- /dev/null +++ b/models/model_ue_reachability_notification.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the contents of a notification of UE reachability for IP sent by the HSS +type UeReachabilityNotification struct { + ReachabilityIndicator bool `json:"reachabilityIndicator" yaml:"reachabilityIndicator" bson:"reachabilityIndicator,omitempty"` + DetectingNode DetectingNode `json:"detectingNode" yaml:"detectingNode" bson:"detectingNode,omitempty"` + AccessType HssimsSdmAccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/model_ue_reachability_subscription.go b/models/model_ue_reachability_subscription.go new file mode 100644 index 00000000..378124db --- /dev/null +++ b/models/model_ue_reachability_subscription.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the request parameters received by the HSS for a subscription to notifications of UE reachability for IP +type UeReachabilitySubscription struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` +} diff --git a/models/model_ue_reachable_ind.go b/models/model_ue_reachable_ind.go new file mode 100644 index 00000000..917c396f --- /dev/null +++ b/models/model_ue_reachable_ind.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeReachableInd string + +// List of UeReachableInd +const ( + UeReachableInd_REACHABLE UeReachableInd = "REACHABLE" + UeReachableInd_NOT_REACHABLE UeReachableInd = "NOT_REACHABLE" + UeReachableInd_UNKNOWN UeReachableInd = "UNKNOWN" +) diff --git a/models/model_ue_reg_status_update_req_data.go b/models/model_ue_reg_status_update_req_data.go index 5ad5de3e..930e8325 100644 --- a/models/model_ue_reg_status_update_req_data.go +++ b/models/model_ue_reg_status_update_req_data.go @@ -1,16 +1,23 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a UE registration status update request to indicate a completion of transferring at a target AMF type UeRegStatusUpdateReqData struct { - TransferStatus UeContextTransferStatus `json:"transferStatus"` - ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty"` - PcfReselectedInd bool `json:"pcfReselectedInd,omitempty"` + TransferStatus UeContextTransferStatus `json:"transferStatus" yaml:"transferStatus" bson:"transferStatus,omitempty"` + ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` + PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` + SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` + AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` + ToReleaseSessionInfo []ReleaseSessionInfo `json:"toReleaseSessionInfo,omitempty" yaml:"toReleaseSessionInfo" bson:"toReleaseSessionInfo,omitempty"` } diff --git a/models/model_ue_reg_status_update_rsp_data.go b/models/model_ue_reg_status_update_rsp_data.go index a75df57b..686aa27b 100644 --- a/models/model_ue_reg_status_update_rsp_data.go +++ b/models/model_ue_reg_status_update_rsp_data.go @@ -1,14 +1,18 @@ /* * Namf_Communication * - * AMF Communication Service + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within a UE registration status update response to provide the status of UE context transfer status update at a source AMF type UeRegStatusUpdateRspData struct { - RegStatusTransferComplete bool `json:"regStatusTransferComplete"` + RegStatusTransferComplete bool `json:"regStatusTransferComplete" yaml:"regStatusTransferComplete" bson:"regStatusTransferComplete,omitempty"` } diff --git a/models/model_ue_requested_value_rep.go b/models/model_ue_requested_value_rep.go new file mode 100644 index 00000000..bb84fa7b --- /dev/null +++ b/models/model_ue_requested_value_rep.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the current applicable values corresponding to the policy control request triggers. +type UeRequestedValueRep struct { + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` +} diff --git a/models/model_ue_slice_mbr.go b/models/model_ue_slice_mbr.go new file mode 100644 index 00000000..91c134c8 --- /dev/null +++ b/models/model_ue_slice_mbr.go @@ -0,0 +1,21 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a UE-Slice-MBR and the related information. +type UeSliceMbr struct { + // Contains the MBR for uplink and the MBR for downlink. + SliceMbr map[string]SliceMbr `json:"sliceMbr" yaml:"sliceMbr" bson:"sliceMbr,omitempty"` + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` +} diff --git a/models/model_ue_subscription_info.go b/models/model_ue_subscription_info.go new file mode 100644 index 00000000..95f4f67c --- /dev/null +++ b/models/model_ue_subscription_info.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.5.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + + + +type UeSubscriptionInfo struct { + CallIdSipHeader string `json:"callIdSipHeader" yaml:"callIdSipHeader" bson:"callIdSipHeader"` + FromSipHeader string `json:"fromSipHeader" yaml:"fromSipHeader" bson:"fromSipHeader"` + ToSipHeader string `json:"toSipHeader" yaml:"toSipHeader" bson:"toSipHeader"` + RecordRoute string `json:"recordRoute" yaml:"recordRoute" bson:"recordRoute"` + Contact string `json:"contact" yaml:"contact" bson:"contact"` +} diff --git a/models/model_ue_trajectory_collection.go b/models/model_ue_trajectory_collection.go new file mode 100644 index 00000000..1afcfee9 --- /dev/null +++ b/models/model_ue_trajectory_collection.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains UE trajectory information associated with an application. +type UeTrajectoryCollection struct { + // string with format \"date-time\" as defined in OpenAPI. + Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` + LocArea *LocationArea5G `json:"locArea" yaml:"locArea" bson:"locArea,omitempty"` +} diff --git a/models/model_ue_trajectory_info.go b/models/model_ue_trajectory_info.go new file mode 100644 index 00000000..e5323dcf --- /dev/null +++ b/models/model_ue_trajectory_info.go @@ -0,0 +1,24 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains UE trajectory information. +type UeTrajectoryInfo struct { + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` +} diff --git a/models/model_ue_transfer_type.go b/models/model_ue_transfer_type.go new file mode 100644 index 00000000..7d2101b8 --- /dev/null +++ b/models/model_ue_transfer_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeTransferType string + +// List of UETransferType +const ( + UeTransferType_INTRA_UE UeTransferType = "INTRA_UE" + UeTransferType_INTER_UE UeTransferType = "INTER_UE" +) diff --git a/models/model_ue_type.go b/models/model_ue_type.go new file mode 100644 index 00000000..465e4e6e --- /dev/null +++ b/models/model_ue_type.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeType string + +// List of UeType +const ( + UeType_AERIAL_UE UeType = "AERIAL_UE" +) diff --git a/models/model_ue_update_status.go b/models/model_ue_update_status.go new file mode 100644 index 00000000..28849427 --- /dev/null +++ b/models/model_ue_update_status.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeUpdateStatus string + +// List of UeUpdateStatus +const ( + UeUpdateStatus_NOT_SENT UeUpdateStatus = "NOT_SENT" + UeUpdateStatus_SENT_NO_ACK_REQUIRED UeUpdateStatus = "SENT_NO_ACK_REQUIRED" + UeUpdateStatus_WAITING_FOR_ACK UeUpdateStatus = "WAITING_FOR_ACK" + UeUpdateStatus_ACK_RECEIVED UeUpdateStatus = "ACK_RECEIVED" + UeUpdateStatus_NEGATIVE_ACK_RECEIVED UeUpdateStatus = "NEGATIVE_ACK_RECEIVED" +) diff --git a/models/model_ulcl_bp_information.go b/models/model_ulcl_bp_information.go new file mode 100644 index 00000000..5e789dd8 --- /dev/null +++ b/models/model_ulcl_bp_information.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UL CL or BP Information +type UlclBpInformation struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UlclBpUpfId string `json:"ulclBpUpfId,omitempty" yaml:"ulclBpUpfId" bson:"ulclBpUpfId,omitempty"` +} diff --git a/models/model_umt_time.go b/models/model_umt_time.go new file mode 100644 index 00000000..639cef3c --- /dev/null +++ b/models/model_umt_time.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UmtTime struct { + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDay string `json:"timeOfDay" yaml:"timeOfDay" bson:"timeOfDay,omitempty"` + // integer between and including 1 and 7 denoting a weekday. 1 shall indicate Monday, and the subsequent weekdays shall be indicated with the next higher numbers. 7 shall indicate Sunday. + DayOfWeek int32 `json:"dayOfWeek" yaml:"dayOfWeek" bson:"dayOfWeek,omitempty"` +} diff --git a/models/model_un_trust_af_info.go b/models/model_un_trust_af_info.go new file mode 100644 index 00000000..80d6a3ad --- /dev/null +++ b/models/model_un_trust_af_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a untrusted AF Instance +type UnTrustAfInfo struct { + AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` + SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` +} diff --git a/models/model_unavailable_access_indication.go b/models/model_unavailable_access_indication.go new file mode 100644 index 00000000..354dac6f --- /dev/null +++ b/models/model_unavailable_access_indication.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UnavailableAccessIndication string + +// List of UnavailableAccessIndication +const ( + UnavailableAccessIndication__3_GA_UNAVAILABLE UnavailableAccessIndication = "3GA_UNAVAILABLE" + UnavailableAccessIndication_N3_GA_UNAVAILABLE UnavailableAccessIndication = "N3GA_UNAVAILABLE" +) diff --git a/models/model_uncertainty_ellipse.go b/models/model_uncertainty_ellipse.go index 90cdc9d1..52d59c0e 100644 --- a/models/model_uncertainty_ellipse.go +++ b/models/model_uncertainty_ellipse.go @@ -1,16 +1,23 @@ /* - * Namf_Location + * 3gpp-traffic-influence * - * AMF Location Service + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Ellipse with uncertainty. type UncertaintyEllipse struct { - SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor"` - SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor"` - OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor"` + // Indicates value of uncertainty. + SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` + // Indicates value of uncertainty. + SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` + // Indicates value of orientation angle. + OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` } diff --git a/models/model_uncertainty_ellipsoid.go b/models/model_uncertainty_ellipsoid.go new file mode 100644 index 00000000..0e6e7ea9 --- /dev/null +++ b/models/model_uncertainty_ellipsoid.go @@ -0,0 +1,25 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid with uncertainty +type UncertaintyEllipsoid struct { + // Indicates value of uncertainty. + SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` + // Indicates value of uncertainty. + SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` + // Indicates value of uncertainty. + Vertical float32 `json:"vertical" yaml:"vertical" bson:"vertical,omitempty"` + // Indicates value of orientation angle. + OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` +} diff --git a/models/model_unrelated_class.go b/models/model_unrelated_class.go new file mode 100644 index 00000000..9442bb76 --- /dev/null +++ b/models/model_unrelated_class.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UnrelatedClass struct { + DefaultUnrelatedClass *DefaultUnrelatedClass `json:"defaultUnrelatedClass" yaml:"defaultUnrelatedClass" bson:"defaultUnrelatedClass,omitempty"` + ExternalUnrelatedClass *ExternalUnrelatedClass `json:"externalUnrelatedClass,omitempty" yaml:"externalUnrelatedClass" bson:"externalUnrelatedClass,omitempty"` + ServiceTypeUnrelatedClasses []ServiceTypeUnrelatedClass `json:"serviceTypeUnrelatedClasses,omitempty" yaml:"serviceTypeUnrelatedClasses" bson:"serviceTypeUnrelatedClasses,omitempty"` +} diff --git a/models/model_up_cnx_state.go b/models/model_up_cnx_state.go index 68eb3e66..3b915248 100644 --- a/models/model_up_cnx_state.go +++ b/models/model_up_cnx_state.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -16,4 +19,5 @@ const ( UpCnxState_ACTIVATED UpCnxState = "ACTIVATED" UpCnxState_DEACTIVATED UpCnxState = "DEACTIVATED" UpCnxState_ACTIVATING UpCnxState = "ACTIVATING" + UpCnxState_SUSPENDED UpCnxState = "SUSPENDED" ) diff --git a/models/model_up_confidentiality.go b/models/model_up_confidentiality.go index a56858e4..0052b70f 100644 --- a/models/model_up_confidentiality.go +++ b/models/model_up_confidentiality.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_up_integrity.go b/models/model_up_integrity.go index fb5cefc3..c22201f0 100644 --- a/models/model_up_integrity.go +++ b/models/model_up_integrity.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_up_interface_type.go b/models/model_up_interface_type.go index ff02a025..71460953 100644 --- a/models/model_up_interface_type.go +++ b/models/model_up_interface_type.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,7 +16,12 @@ type UpInterfaceType string // List of UPInterfaceType const ( - UpInterfaceType_N3 UpInterfaceType = "N3" - UpInterfaceType_N6 UpInterfaceType = "N6" - UpInterfaceType_N9 UpInterfaceType = "N9" + UpInterfaceType_N3 UpInterfaceType = "N3" + UpInterfaceType_N6 UpInterfaceType = "N6" + UpInterfaceType_N9 UpInterfaceType = "N9" + UpInterfaceType_DATA_FORWARDING UpInterfaceType = "DATA_FORWARDING" + UpInterfaceType_N3_MB UpInterfaceType = "N3MB" + UpInterfaceType_N6_MB UpInterfaceType = "N6MB" + UpInterfaceType_N19_MB UpInterfaceType = "N19MB" + UpInterfaceType_NMB9 UpInterfaceType = "NMB9" ) diff --git a/models/model_up_path_chg_event.go b/models/model_up_path_chg_event.go index ca96b898..ff217f33 100644 --- a/models/model_up_path_chg_event.go +++ b/models/model_up_path_chg_event.go @@ -1,17 +1,23 @@ /* * Npcf_PolicyAuthorization Service API * - * This is the Policy Authorization Service + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the UP path change event subscription from the AF. type UpPathChgEvent struct { - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri" mapstructure:"NotificationUri"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` // It is used to set the value of Notification Correlation ID in the notification sent by the SMF. - NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId" mapstructure:"NotifCorreId"` - DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType" mapstructure:"DnaiChgType"` + NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` } diff --git a/models/model_up_security.go b/models/model_up_security.go index d9faef74..fa882426 100644 --- a/models/model_up_security.go +++ b/models/model_up_security.go @@ -1,15 +1,19 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains Userplain security information. type UpSecurity struct { - UpIntegr UpIntegrity `json:"upIntegr" yaml:"upIntegr" bson:"upIntegr" mapstructure:"UpIntegr"` - UpConfid UpConfidentiality `json:"upConfid" yaml:"upConfid" bson:"upConfid" mapstructure:"UpConfid"` + UpIntegr UpIntegrity `json:"upIntegr" yaml:"upIntegr" bson:"upIntegr,omitempty"` + UpConfid UpConfidentiality `json:"upConfid" yaml:"upConfid" bson:"upConfid,omitempty"` } diff --git a/models/model_up_security_info.go b/models/model_up_security_info.go new file mode 100644 index 00000000..f6f0d053 --- /dev/null +++ b/models/model_up_security_info.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User Plane Security Information +type UpSecurityInfo struct { + UpSecurity *UpSecurity `json:"upSecurity" yaml:"upSecurity" bson:"upSecurity,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` +} diff --git a/models/model_update_charging_data_response_400.go b/models/model_update_charging_data_response_400.go new file mode 100644 index 00000000..d75afd54 --- /dev/null +++ b/models/model_update_charging_data_response_400.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_update_charging_data_response_403.go b/models/model_update_charging_data_response_403.go new file mode 100644 index 00000000..86566abd --- /dev/null +++ b/models/model_update_charging_data_response_403.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse403 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_update_charging_data_response_404.go b/models/model_update_charging_data_response_404.go new file mode 100644 index 00000000..596c6e44 --- /dev/null +++ b/models/model_update_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/model_update_events_subsc_response.go b/models/model_update_events_subsc_response.go deleted file mode 100644 index d24e6610..00000000 --- a/models/model_update_events_subsc_response.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Add manually -type UpdateEventsSubscResponse struct { - EvSubsc EventsSubscReqData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc" mapstructure:"EvSubsc"` - EvsNotif *EventsNotification `json:"evsNotif,omitempty" yaml:"evsNotif" bson:"evsNotif" mapstructure:"EvsNotif"` -} diff --git a/models/model_update_events_subsc_response_200.go b/models/model_update_events_subsc_response_200.go deleted file mode 100644 index 31cae546..00000000 --- a/models/model_update_events_subsc_response_200.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateEventsSubscResponse200 struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events" mapstructure:"Events"` - // string providing an URI formatted according to IETF RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres" mapstructure:"UsgThres"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr" mapstructure:"AnGwAddr"` - // string providing an URI formatted according to IETF RFC 3986. - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri" mapstructure:"EvSubsUri"` - EvNotifs []AfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs" mapstructure:"EvNotifs"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports" mapstructure:"FailedResourcAllocReports"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - QncReports []QosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports" mapstructure:"QncReports"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep" mapstructure:"UsgRep"` -} diff --git a/models/model_update_events_subsc_response_201.go b/models/model_update_events_subsc_response_201.go deleted file mode 100644 index 9b7247c4..00000000 --- a/models/model_update_events_subsc_response_201.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * This is the Policy Authorization Service - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateEventsSubscResponse201 struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events" mapstructure:"Events"` - // string providing an URI formatted according to IETF RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri" mapstructure:"NotifUri"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres" mapstructure:"UsgThres"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType" mapstructure:"AccessType"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr" mapstructure:"AnGwAddr"` - // string providing an URI formatted according to IETF RFC 3986. - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri" mapstructure:"EvSubsUri"` - EvNotifs []AfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs" mapstructure:"EvNotifs"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports" mapstructure:"FailedResourcAllocReports"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId" mapstructure:"PlmnId"` - QncReports []QosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports" mapstructure:"QncReports"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType" mapstructure:"RatType"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep" mapstructure:"UsgRep"` -} diff --git a/models/model_update_nwdaf_registration_response_200.go b/models/model_update_nwdaf_registration_response_200.go new file mode 100644 index 00000000..c6c1b8d0 --- /dev/null +++ b/models/model_update_nwdaf_registration_response_200.go @@ -0,0 +1,33 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateNwdafRegistrationResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` +} diff --git a/models/model_update_pdu_session_error_response.go b/models/model_update_pdu_session_error_response.go deleted file mode 100644 index 97cebd40..00000000 --- a/models/model_update_pdu_session_error_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdatePduSessionErrorResponse struct { - JsonData *HsmfUpdateError `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId"` -} diff --git a/models/model_update_pdu_session_request.go b/models/model_update_pdu_session_request.go index a1d07cfc..2f1a2c1d 100644 --- a/models/model_update_pdu_session_request.go +++ b/models/model_update_pdu_session_request.go @@ -1,16 +1,22 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type UpdatePduSessionRequest struct { - JsonData *HsmfUpdateData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId"` + JsonData *HsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` } diff --git a/models/model_update_pdu_session_response.go b/models/model_update_pdu_session_response.go deleted file mode 100644 index 42d9dcb7..00000000 --- a/models/model_update_pdu_session_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdatePduSessionResponse struct { - JsonData *HsmfUpdatedData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId"` -} diff --git a/models/model_update_pdu_session_response_200.go b/models/model_update_pdu_session_response_200.go new file mode 100644 index 00000000..9b9d70f0 --- /dev/null +++ b/models/model_update_pdu_session_response_200.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdatePduSessionResponse200 struct { + JsonData *HsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/model_update_pdu_session_response_400.go b/models/model_update_pdu_session_response_400.go new file mode 100644 index 00000000..26b0e72e --- /dev/null +++ b/models/model_update_pdu_session_response_400.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdatePduSessionResponse400 struct { + JsonData *HsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/model_update_sm_context_error.go b/models/model_update_sm_context_error.go new file mode 100644 index 00000000..1c85b5a0 --- /dev/null +++ b/models/model_update_sm_context_error.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextError struct { + JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` +} diff --git a/models/model_update_sm_context_error_response.go b/models/model_update_sm_context_error_response.go deleted file mode 100644 index fe089316..00000000 --- a/models/model_update_sm_context_error_response.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextErrorResponse struct { - JsonData *SmContextUpdateError `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` -} diff --git a/models/model_update_sm_context_request.go b/models/model_update_sm_context_request.go index d0258109..0e17b8c3 100644 --- a/models/model_update_sm_context_request.go +++ b/models/model_update_sm_context_request.go @@ -1,16 +1,20 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type UpdateSmContextRequest struct { - JsonData *SmContextUpdateData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` + JsonData *SmfPduSessionSmContextUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` } diff --git a/models/model_update_sm_context_response.go b/models/model_update_sm_context_response.go deleted file mode 100644 index 5316234c..00000000 --- a/models/model_update_sm_context_response.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextResponse struct { - JsonData *SmContextUpdatedData `json:"jsonData,omitempty" multipart:"contentType:application/json"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` -} diff --git a/models/model_update_sm_context_response_200.go b/models/model_update_sm_context_response_200.go new file mode 100644 index 00000000..75602b87 --- /dev/null +++ b/models/model_update_sm_context_response_200.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextResponse200 struct { + JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/model_update_sm_context_response_400.go b/models/model_update_sm_context_response_400.go new file mode 100644 index 00000000..d338e8a4 --- /dev/null +++ b/models/model_update_sm_context_response_400.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextResponse400 struct { + JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/model_updated_item.go b/models/model_updated_item.go new file mode 100644 index 00000000..430788b4 --- /dev/null +++ b/models/model_updated_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a fragment of a resource. +type UpdatedItem struct { + // Identifies a fragment (subset of resource data) of a given resource. + Item string `json:"item" yaml:"item" bson:"item,omitempty"` + Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/model_updated_ue_reachability_subscription.go b/models/model_updated_ue_reachability_subscription.go new file mode 100644 index 00000000..fe411b3d --- /dev/null +++ b/models/model_updated_ue_reachability_subscription.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 16.8.0 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.0.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models +import ( + "time" +) + + + +type UpdatedUeReachabilitySubscription struct { + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry"` +} diff --git a/models/model_updp_subscription_data.go b/models/model_updp_subscription_data.go new file mode 100644 index 00000000..56c255de --- /dev/null +++ b/models/model_updp_subscription_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE policy delivery related N1 message notification subscription data. +type UpdpSubscriptionData struct { + UpdpNotifySubscriptionId string `json:"updpNotifySubscriptionId" yaml:"updpNotifySubscriptionId" bson:"updpNotifySubscriptionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpdpNotifyCallbackUri string `json:"updpNotifyCallbackUri" yaml:"updpNotifyCallbackUri" bson:"updpNotifyCallbackUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + UpdpCallbackBinding string `json:"updpCallbackBinding,omitempty" yaml:"updpCallbackBinding" bson:"updpCallbackBinding,omitempty"` +} diff --git a/models/model_upf_cond.go b/models/model_upf_cond.go new file mode 100644 index 00000000..bdbf04f3 --- /dev/null +++ b/models/model_upf_cond.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (UPFs), able to serve a certain service area (i.e. SMF serving area or TAI list) +type UpfCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/model_upf_info.go b/models/model_upf_info.go index 77f85c4c..8cd7405d 100644 --- a/models/model_upf_info.go +++ b/models/model_upf_info.go @@ -1,18 +1,34 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Information of an UPF NF Instance type UpfInfo struct { - SNssaiUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiUpfInfoList" yaml:"sNssaiUpfInfoList" bson:"sNssaiUpfInfoList" mapstructure:"SNssaiUpfInfoList"` - SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea" mapstructure:"SmfServingArea"` - InterfaceUpfInfoList []InterfaceUpfInfoItem `json:"interfaceUpfInfoList,omitempty" yaml:"interfaceUpfInfoList" bson:"interfaceUpfInfoList" mapstructure:"InterfaceUpfInfoList"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd" mapstructure:"IwkEpsInd"` - PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes" mapstructure:"PduSessionTypes"` + SNssaiUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiUpfInfoList" yaml:"sNssaiUpfInfoList" bson:"sNssaiUpfInfoList,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + InterfaceUpfInfoList []InterfaceUpfInfoItem `json:"interfaceUpfInfoList,omitempty" yaml:"interfaceUpfInfoList" bson:"interfaceUpfInfoList,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + AtsssCapability *AtsssCapability `json:"atsssCapability,omitempty" yaml:"atsssCapability" bson:"atsssCapability,omitempty"` + UeIpAddrInd bool `json:"ueIpAddrInd,omitempty" yaml:"ueIpAddrInd" bson:"ueIpAddrInd,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` + TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` + TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + RedundantGtpu bool `json:"redundantGtpu,omitempty" yaml:"redundantGtpu" bson:"redundantGtpu,omitempty"` + Ipups bool `json:"ipups,omitempty" yaml:"ipups" bson:"ipups,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` } diff --git a/models/model_upf_information.go b/models/model_upf_information.go new file mode 100644 index 00000000..85f3cd60 --- /dev/null +++ b/models/model_upf_information.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the ID/address/FQDN of the UPF. +type UpfInformation struct { + UpfId string `json:"upfId,omitempty" yaml:"upfId" bson:"upfId,omitempty"` + UpfAddr *AddrFqdn `json:"upfAddr,omitempty" yaml:"upfAddr" bson:"upfAddr,omitempty"` +} diff --git a/models/model_upu_data.go b/models/model_upu_data.go index 788ff7ba..f6ad6c55 100644 --- a/models/model_upu_data.go +++ b/models/model_upu_data.go @@ -1,15 +1,28 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + +// Used to store the status of the latest UPU data update. type UpuData struct { - SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket" mapstructure:"SecPacket"` - DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai" mapstructure:"DefaultConfNssai"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` } diff --git a/models/model_upu_data_1.go b/models/model_upu_data_1.go new file mode 100644 index 00000000..8835377b --- /dev/null +++ b/models/model_upu_data_1.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpuData1 struct { + SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket,omitempty"` + DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai,omitempty"` + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` +} diff --git a/models/model_upu_info.go b/models/model_upu_info.go index 9a5d86fc..cc7bec2f 100644 --- a/models/model_upu_info.go +++ b/models/model_upu_info.go @@ -1,9 +1,12 @@ /* - * Nudm_SDM + * Nudr_DataRepository API OpenAPI file * - * Nudm Subscriber Data Management Service + * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 2.0.0 + * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.1.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -14,10 +17,10 @@ import ( ) type UpuInfo struct { - UpuDataList []UpuData `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList" mapstructure:"UpuDataList"` - UpuRegInd bool `json:"upuRegInd" yaml:"upuRegInd" bson:"upuRegInd" mapstructure:"UpuRegInd"` - UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd" mapstructure:"UpuAckInd"` - UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf" mapstructure:"UpuMacIausf"` - CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu" mapstructure:"CounterUpu"` - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime" mapstructure:"ProvisioningTime"` + UpuDataList []UpuData1 `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList,omitempty"` + UpuRegInd bool `json:"upuRegInd" yaml:"upuRegInd" bson:"upuRegInd,omitempty"` + UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` + UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` + CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu,omitempty"` + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` } diff --git a/models/model_upu_security_info.go b/models/model_upu_security_info.go index 6338c21d..8ee6435a 100644 --- a/models/model_upu_security_info.go +++ b/models/model_upu_security_info.go @@ -1,16 +1,23 @@ /* * Nausf_UPUProtection Service * - * AUSF UPU Protection Service + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Contains the material generated for securing of UPU. It contains at least the UPU-MAC-IAUSF and CounterUPU. type UpuSecurityInfo struct { - UpuMacIausf string `json:"upuMacIausf" yaml:"upuMacIausf" bson:"upuMacIausf"` - CounterUpu string `json:"counterUpu" yaml:"counterUpu" bson:"counterUpu"` - UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIausf string `json:"upuMacIausf" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` + // CounterUPU. + CounterUpu string `json:"counterUpu" yaml:"counterUpu" bson:"counterUpu,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` } diff --git a/models/model_uri_list.go b/models/model_uri_list.go new file mode 100644 index 00000000..31ab0edd --- /dev/null +++ b/models/model_uri_list.go @@ -0,0 +1,20 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a set of URIs following the 3GPP hypermedia format (containing a \"_links\" attribute). +type UriList struct { + // List of the URI of NF instances. It has two members whose names are item and self. The item attribute contains an array of URIs. + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + TotalItemCount int32 `json:"totalItemCount,omitempty" yaml:"totalItemCount" bson:"totalItemCount,omitempty"` +} diff --git a/models/model_uri_scheme.go b/models/model_uri_scheme.go index 678a60e3..be7ceb02 100644 --- a/models/model_uri_scheme.go +++ b/models/model_uri_scheme.go @@ -1,9 +1,12 @@ /* - * NRF NFManagement Service + * Nnwdaf_DataManagement * - * NRF NFManagement Service + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_ursp_rule_request.go b/models/model_ursp_rule_request.go new file mode 100644 index 00000000..48d44524 --- /dev/null +++ b/models/model_ursp_rule_request.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that can be used to guide the URSP. +type UrspRuleRequest struct { + TrafficDesc *TrafficDescriptorComponents `json:"trafficDesc,omitempty" yaml:"trafficDesc" bson:"trafficDesc,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RelatPrecedence int32 `json:"relatPrecedence,omitempty" yaml:"relatPrecedence" bson:"relatPrecedence,omitempty"` + // Sets of parameters that may be used to guide the Route Selection Descriptors of the URSP. + RouteSelParamSets []RouteSelectionParameterSet `json:"routeSelParamSets,omitempty" yaml:"routeSelParamSets" bson:"routeSelParamSets,omitempty"` +} diff --git a/models/model_usage.go b/models/model_usage.go index 024958bc..f67b6c7e 100644 --- a/models/model_usage.go +++ b/models/model_usage.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_usage_mon_data.go b/models/model_usage_mon_data.go index 0478ff35..bdc9fb7e 100644 --- a/models/model_usage_mon_data.go +++ b/models/model_usage_mon_data.go @@ -1,19 +1,31 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +import ( + "time" +) + // Contains remain allowed usage data for a subscriber. type UsageMonData struct { - LimitId string `json:"limitId" bson:"limitId"` - Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" bson:"scopes"` - UmLevel UsageMonLevel `json:"umLevel,omitempty" bson:"umLevel"` - AllowedUsage *UsageThreshold `json:"allowedUsage,omitempty" bson:"allowedUsage"` - ResetTime *TimePeriod `json:"resetTime,omitempty" bson:"resetTime"` + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + // Identifies the SNSSAI and DNN combinations for remain allowed usage data for a subscriber. The S-NSSAI is the key of the map. + Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` + UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` + AllowedUsage *UsageThreshold `json:"allowedUsage,omitempty" yaml:"allowedUsage" bson:"allowedUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ResetTime *time.Time `json:"resetTime,omitempty" yaml:"resetTime" bson:"resetTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` } diff --git a/models/model_usage_mon_data_limit.go b/models/model_usage_mon_data_limit.go index 80db3f12..9d9fcaaa 100644 --- a/models/model_usage_mon_data_limit.go +++ b/models/model_usage_mon_data_limit.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -15,11 +18,14 @@ import ( // Contains usage monitoring control data for a subscriber. type UsageMonDataLimit struct { - LimitId string `json:"limitId" bson:"limitId"` - Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" bson:"scopes"` - UmLevel UsageMonLevel `json:"umLevel,omitempty" bson:"umLevel"` - StartDate *time.Time `json:"startDate,omitempty" bson:"startDate"` - EndDate *time.Time `json:"endDate,omitempty" bson:"endDate"` - UsageLimit *UsageThreshold `json:"usageLimit,omitempty" bson:"usageLimit"` - ResetPeriod *time.Time `json:"resetPeriod,omitempty" bson:"resetPeriod"` + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + // Identifies the SNSSAI and DNN combinations to which the usage monitoring data limit applies. The S-NSSAI is the key of the map. + Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` + UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartDate *time.Time `json:"startDate,omitempty" yaml:"startDate" bson:"startDate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndDate *time.Time `json:"endDate,omitempty" yaml:"endDate" bson:"endDate,omitempty"` + UsageLimit *UsageThreshold `json:"usageLimit,omitempty" yaml:"usageLimit" bson:"usageLimit,omitempty"` + ResetPeriod *TimePeriod `json:"resetPeriod,omitempty" yaml:"resetPeriod" bson:"resetPeriod,omitempty"` } diff --git a/models/model_usage_mon_data_scope.go b/models/model_usage_mon_data_scope.go index 84145367..b734ea16 100644 --- a/models/model_usage_mon_data_scope.go +++ b/models/model_usage_mon_data_scope.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +14,6 @@ package models // Contains a SNSSAI and DNN combinations to which the UsageMonData instance belongs to. type UsageMonDataScope struct { - Snssai *Snssai `json:"snssai" bson:"snssai"` - Dnn []string `json:"dnn,omitempty" bson:"dnn"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Dnn []string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` } diff --git a/models/model_usage_mon_level.go b/models/model_usage_mon_level.go index bd5ab007..e4fdf869 100644 --- a/models/model_usage_mon_level.go +++ b/models/model_usage_mon_level.go @@ -1,9 +1,12 @@ /* * Nudr_DataRepository API OpenAPI file * - * Unified Data Repository Service + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_usage_monitoring_data.go b/models/model_usage_monitoring_data.go index dc051cda..9c1a19a2 100644 --- a/models/model_usage_monitoring_data.go +++ b/models/model_usage_monitoring_data.go @@ -1,9 +1,12 @@ /* - * Npcf_SMPolicyControl + * Npcf_SMPolicyControl API * - * Session Management Policy Control Service + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,25 +16,30 @@ import ( "time" ) +// Contains usage monitoring related control information. type UsageMonitoringData struct { // Univocally identifies the usage monitoring policy data within a PDU session. - UmId string `json:"umId" yaml:"umId" bson:"umId" mapstructure:"UmId"` + UmId string `json:"umId" yaml:"umId" bson:"umId,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThreshold int64 `json:"volumeThreshold,omitempty" yaml:"volumeThreshold" bson:"volumeThreshold" mapstructure:"VolumeThreshold"` + VolumeThreshold int64 `json:"volumeThreshold,omitempty" yaml:"volumeThreshold" bson:"volumeThreshold,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThresholdUplink int64 `json:"volumeThresholdUplink,omitempty" yaml:"volumeThresholdUplink" bson:"volumeThresholdUplink" mapstructure:"VolumeThresholdUplink"` + VolumeThresholdUplink int64 `json:"volumeThresholdUplink,omitempty" yaml:"volumeThresholdUplink" bson:"volumeThresholdUplink,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThresholdDownlink int64 `json:"volumeThresholdDownlink,omitempty" yaml:"volumeThresholdDownlink" bson:"volumeThresholdDownlink" mapstructure:"VolumeThresholdDownlink"` - TimeThreshold int32 `json:"timeThreshold,omitempty" yaml:"timeThreshold" bson:"timeThreshold" mapstructure:"TimeThreshold"` - MonitoringTime *time.Time `json:"monitoringTime,omitempty" yaml:"monitoringTime" bson:"monitoringTime" mapstructure:"MonitoringTime"` + VolumeThresholdDownlink int64 `json:"volumeThresholdDownlink,omitempty" yaml:"volumeThresholdDownlink" bson:"volumeThresholdDownlink,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + TimeThreshold int32 `json:"timeThreshold,omitempty" yaml:"timeThreshold" bson:"timeThreshold,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + MonitoringTime *time.Time `json:"monitoringTime,omitempty" yaml:"monitoringTime" bson:"monitoringTime,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThreshold int64 `json:"nextVolThreshold,omitempty" yaml:"nextVolThreshold" bson:"nextVolThreshold" mapstructure:"NextVolThreshold"` + NextVolThreshold int64 `json:"nextVolThreshold,omitempty" yaml:"nextVolThreshold" bson:"nextVolThreshold,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThresholdUplink int64 `json:"nextVolThresholdUplink,omitempty" yaml:"nextVolThresholdUplink" bson:"nextVolThresholdUplink" mapstructure:"NextVolThresholdUplink"` + NextVolThresholdUplink int64 `json:"nextVolThresholdUplink,omitempty" yaml:"nextVolThresholdUplink" bson:"nextVolThresholdUplink,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThresholdDownlink int64 `json:"nextVolThresholdDownlink,omitempty" yaml:"nextVolThresholdDownlink" bson:"nextVolThresholdDownlink" mapstructure:"NextVolThresholdDownlink"` - NextTimeThreshold int32 `json:"nextTimeThreshold,omitempty" yaml:"nextTimeThreshold" bson:"nextTimeThreshold" mapstructure:"NextTimeThreshold"` - InactivityTime int32 `json:"inactivityTime,omitempty" yaml:"inactivityTime" bson:"inactivityTime" mapstructure:"InactivityTime"` + NextVolThresholdDownlink int64 `json:"nextVolThresholdDownlink,omitempty" yaml:"nextVolThresholdDownlink" bson:"nextVolThresholdDownlink,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + NextTimeThreshold int32 `json:"nextTimeThreshold,omitempty" yaml:"nextTimeThreshold" bson:"nextTimeThreshold,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + InactivityTime int32 `json:"inactivityTime,omitempty" yaml:"inactivityTime" bson:"inactivityTime,omitempty"` // Contains the PCC rule identifier(s) which corresponding service data flow(s) shall be excluded from PDU Session usage monitoring. It is only included in the UsageMonitoringData instance for session level usage monitoring. - ExUsagePccRuleIds []string `json:"exUsagePccRuleIds,omitempty" yaml:"exUsagePccRuleIds" bson:"exUsagePccRuleIds" mapstructure:"ExUsagePccRuleIds"` + ExUsagePccRuleIds []string `json:"exUsagePccRuleIds,omitempty" yaml:"exUsagePccRuleIds" bson:"exUsagePccRuleIds,omitempty"` } diff --git a/models/model_usage_threshold.go b/models/model_usage_threshold.go index 5fc77eb3..c898a354 100644 --- a/models/model_usage_threshold.go +++ b/models/model_usage_threshold.go @@ -1,21 +1,25 @@ /* - * Npcf_PolicyAuthorization Service API + * 3gpp-as-session-with-qos * - * This is the Policy Authorization Service + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents a usage threshold. type UsageThreshold struct { // Unsigned integer identifying a period of time in units of seconds. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration" mapstructure:"Duration"` + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` // Unsigned integer identifying a volume in units of bytes. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` } diff --git a/models/model_usage_threshold_rm.go b/models/model_usage_threshold_rm.go index 0001651f..47a77493 100644 --- a/models/model_usage_threshold_rm.go +++ b/models/model_usage_threshold_rm.go @@ -1,21 +1,25 @@ /* - * Npcf_PolicyAuthorization Service API + * 3gpp-as-session-with-qos * - * This is the Policy Authorization Service + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the same as the UsageThreshold data type but with the nullable:true property. type UsageThresholdRm struct { // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration" mapstructure:"Duration"` + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` } diff --git a/models/model_used_unit_container.go b/models/model_used_unit_container.go deleted file mode 100644 index 5d1b92a9..00000000 --- a/models/model_used_unit_container.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UsedUnitContainer struct { - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId" mapstructure:"ServiceId"` - QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator" mapstructure:"QuotaManagementIndicator"` - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers" mapstructure:"Triggers"` - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp" mapstructure:"TriggerTimestamp"` - Time int32 `json:"time,omitempty" yaml:"time" bson:"time" mapstructure:"Time"` - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits" mapstructure:"ServiceSpecificUnits"` - EventTimeStamps []*time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps" mapstructure:"EventTimeStamps"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber" mapstructure:"LocalSequenceNumber"` - PDUContainerInformation *PduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation" mapstructure:"PDUContainerInformation"` - NSPAContainerInformation *NspaContainerInformation `json:"nSPAContainerInformation,omitempty" yaml:"nSPAContainerInformation" bson:"nSPAContainerInformation" mapstructure:"NSPAContainerInformation"` -} diff --git a/models/model_user_consent.go b/models/model_user_consent.go new file mode 100644 index 00000000..2037040b --- /dev/null +++ b/models/model_user_consent.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserConsent string + +// List of UserConsent +const ( + UserConsent_NOT_GIVEN UserConsent = "CONSENT_NOT_GIVEN" + UserConsent_GIVEN UserConsent = "CONSENT_GIVEN" +) diff --git a/models/model_user_data_congestion_collection.go b/models/model_user_data_congestion_collection.go new file mode 100644 index 00000000..27c6a943 --- /dev/null +++ b/models/model_user_data_congestion_collection.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains User Data Congestion Analytics related information collection. +type UserDataCongestionCollection struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + TimeInterv *TimeWindow `json:"timeInterv,omitempty" yaml:"timeInterv" bson:"timeInterv,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputPkUl string `json:"thrputPkUl,omitempty" yaml:"thrputPkUl" bson:"thrputPkUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputPkDl string `json:"thrputPkDl,omitempty" yaml:"thrputPkDl" bson:"thrputPkDl,omitempty"` +} diff --git a/models/model_user_data_congestion_info.go b/models/model_user_data_congestion_info.go new file mode 100644 index 00000000..f0470abe --- /dev/null +++ b/models/model_user_data_congestion_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the user data congestion information. +type UserDataCongestionInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea" yaml:"networkArea" bson:"networkArea,omitempty"` + CongestionInfo *CongestionInfo `json:"congestionInfo" yaml:"congestionInfo" bson:"congestionInfo,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/model_user_identifier.go b/models/model_user_identifier.go new file mode 100644 index 00000000..9fc8d047 --- /dev/null +++ b/models/model_user_identifier.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the user identifier. +type UserIdentifier struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/model_user_information.go b/models/model_user_information.go deleted file mode 100644 index e73b5b7b..00000000 --- a/models/model_user_information.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 3.0.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserInformation struct { - ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI" mapstructure:"ServedGPSI"` - ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI" mapstructure:"ServedPEI"` - UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag" mapstructure:"UnauthenticatedFlag"` - RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut" mapstructure:"RoamerInOut"` -} diff --git a/models/model_user_location.go b/models/model_user_location.go index d818136b..15208575 100644 --- a/models/model_user_location.go +++ b/models/model_user_location.go @@ -1,18 +1,22 @@ /* - * Nchf_ConvergedCharging + * Nchf_OfflineOnlyCharging * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// At least one of eutraLocation, nrLocation and n3gaLocation shall be present. Several of them may be present. type UserLocation struct { - EutraLocation *EutraLocation `json:"eutraLocation,omitempty" yaml:"eutraLocation" bson:"eutraLocation" mapstructure:"EutraLocation"` - NrLocation *NrLocation `json:"nrLocation,omitempty" yaml:"nrLocation" bson:"nrLocation" mapstructure:"NrLocation"` - N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation" mapstructure:"N3gaLocation"` - UtraLocation *UtraLocation `json:"utraLocation,omitempty" yaml:"utraLocation" bson:"utraLocation" mapstructure:"UtraLocation"` - GeraLocation *GeraLocation `json:"geraLocation,omitempty" yaml:"geraLocation" bson:"geraLocation" mapstructure:"GeraLocation"` + EutraLocation *EutraLocation `json:"eutraLocation,omitempty" yaml:"eutraLocation" bson:"eutraLocation,omitempty"` + NrLocation *NrLocation `json:"nrLocation,omitempty" yaml:"nrLocation" bson:"nrLocation,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + UtraLocation *UtraLocation `json:"utraLocation,omitempty" yaml:"utraLocation" bson:"utraLocation,omitempty"` + GeraLocation *GeraLocation `json:"geraLocation,omitempty" yaml:"geraLocation" bson:"geraLocation,omitempty"` } diff --git a/models/model_user_plane_event.go b/models/model_user_plane_event.go new file mode 100644 index 00000000..14ca4526 --- /dev/null +++ b/models/model_user_plane_event.go @@ -0,0 +1,31 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserPlaneEvent string + +// List of UserPlaneEvent +const ( + UserPlaneEvent_SESSION_TERMINATION UserPlaneEvent = "SESSION_TERMINATION" + UserPlaneEvent_LOSS_OF_BEARER UserPlaneEvent = "LOSS_OF_BEARER" + UserPlaneEvent_RECOVERY_OF_BEARER UserPlaneEvent = "RECOVERY_OF_BEARER" + UserPlaneEvent_RELEASE_OF_BEARER UserPlaneEvent = "RELEASE_OF_BEARER" + UserPlaneEvent_USAGE_REPORT UserPlaneEvent = "USAGE_REPORT" + UserPlaneEvent_FAILED_RESOURCES_ALLOCATION UserPlaneEvent = "FAILED_RESOURCES_ALLOCATION" + UserPlaneEvent_QOS_GUARANTEED UserPlaneEvent = "QOS_GUARANTEED" + UserPlaneEvent_QOS_NOT_GUARANTEED UserPlaneEvent = "QOS_NOT_GUARANTEED" + UserPlaneEvent_QOS_MONITORING UserPlaneEvent = "QOS_MONITORING" + UserPlaneEvent_SUCCESSFUL_RESOURCES_ALLOCATION UserPlaneEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" + UserPlaneEvent_ACCESS_TYPE_CHANGE UserPlaneEvent = "ACCESS_TYPE_CHANGE" + UserPlaneEvent_PLMN_CHG UserPlaneEvent = "PLMN_CHG" +) diff --git a/models/model_user_plane_event_report.go b/models/model_user_plane_event_report.go new file mode 100644 index 00000000..24ee953d --- /dev/null +++ b/models/model_user_plane_event_report.go @@ -0,0 +1,27 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event report for user plane. +type UserPlaneEventReport struct { + Event UserPlaneEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AccumulatedUsage *AccumulatedUsage `json:"accumulatedUsage,omitempty" yaml:"accumulatedUsage" bson:"accumulatedUsage,omitempty"` + // Identifies the affected flows that were sent during event subscription. It might be omitted when the reported event applies to all the flows sent during the subscription. + FlowIds []int32 `json:"flowIds,omitempty" yaml:"flowIds" bson:"flowIds,omitempty"` + // The currently applied QoS reference. Applicable for event QOS_NOT_GUARANTEED or SUCCESSFUL_RESOURCES_ALLOCATION. + AppliedQosRef string `json:"appliedQosRef,omitempty" yaml:"appliedQosRef" bson:"appliedQosRef,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // Contains the QoS Monitoring Reporting information + QosMonReports []QosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/model_user_plane_location_area.go b/models/model_user_plane_location_area.go new file mode 100644 index 00000000..68287ec9 --- /dev/null +++ b/models/model_user_plane_location_area.go @@ -0,0 +1,20 @@ +/* + * 3gpp-pfd-management + * + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserPlaneLocationArea struct { + LocationArea *AFLocationArea `json:"locationArea,omitempty" yaml:"locationArea" bson:"locationArea"` + LocationArea5G *AFLocationArea5G `json:"locationArea5G,omitempty" yaml:"locationArea5G" bson:"locationArea5G"` + // Identifies a list of DNAI which the user plane functions support. + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais"` +} diff --git a/models/model_user_plane_notification_data.go b/models/model_user_plane_notification_data.go new file mode 100644 index 00000000..af135370 --- /dev/null +++ b/models/model_user_plane_notification_data.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters to be conveyed in a user plane event(s) notification. +type UserPlaneNotificationData struct { + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Transaction string `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` + // Contains the reported event and applicable information + EventReports []UserPlaneEventReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` +} diff --git a/models/model_user_state_cs.go b/models/model_user_state_cs.go new file mode 100644 index 00000000..4ec83210 --- /dev/null +++ b/models/model_user_state_cs.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserStateCs string + +// List of UserStateCs +const ( + UserStateCs_CAMEL_BUSY UserStateCs = "CAMEL_BUSY" + UserStateCs_NETWORK_DETERMINED_NOT_REACHABLE UserStateCs = "NETWORK_DETERMINED_NOT_REACHABLE" + UserStateCs_ASSUMED_IDLE UserStateCs = "ASSUMED_IDLE" + UserStateCs_NOT_PROVIDED_FROM_VLR UserStateCs = "NOT_PROVIDED_FROM_VLR" +) diff --git a/models/model_user_state_ps.go b/models/model_user_state_ps.go new file mode 100644 index 00000000..950dd23a --- /dev/null +++ b/models/model_user_state_ps.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserStatePs string + +// List of UserStatePs +const ( + UserStatePs_DETACHED UserStatePs = "DETACHED" + UserStatePs_ATTACHED_NOT_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_NOT_REACHABLE_FOR_PAGING" + UserStatePs_ATTACHED_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_REACHABLE_FOR_PAGING" + UserStatePs_CONNECTED_NOT_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_NOT_REACHABLE_FOR_PAGING" + UserStatePs_CONNECTED_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_REACHABLE_FOR_PAGING" + UserStatePs_NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF UserStatePs = "NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF" + UserStatePs_NETWORK_DETERMINED_NOT_REACHABLE UserStatePs = "NETWORK_DETERMINED_NOT_REACHABLE" +) diff --git a/models/model_utra_location.go b/models/model_utra_location.go index 1d082691..d9f34a4a 100644 --- a/models/model_utra_location.go +++ b/models/model_utra_location.go @@ -1,9 +1,12 @@ /* - * Nchf_ConvergedCharging + * Nhss_imsSDM * - * ConvergedCharging Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 3.0.3 + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,13 +16,18 @@ import ( "time" ) +// Exactly one of cgi, sai or lai shall be present. type UtraLocation struct { - Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi" mapstructure:"Cgi"` - Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai" mapstructure:"Sai"` - Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai" mapstructure:"Lai"` - Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai" mapstructure:"Rai"` - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation" mapstructure:"AgeOfLocationInformation"` - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp" mapstructure:"UeLocationTimestamp"` - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation" mapstructure:"GeographicalInformation"` - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation" mapstructure:"GeodeticInformation"` + Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` + Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` + Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` + Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` } diff --git a/models/model_uuaa_mm_status.go b/models/model_uuaa_mm_status.go new file mode 100644 index 00000000..28c5aefb --- /dev/null +++ b/models/model_uuaa_mm_status.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UuaaMmStatus string + +// List of UuaaMmStatus +const ( + UuaaMmStatus_SUCCESS UuaaMmStatus = "SUCCESS" + UuaaMmStatus_PENDING UuaaMmStatus = "PENDING" + UuaaMmStatus_FAILED UuaaMmStatus = "FAILED" +) diff --git a/models/model_v2x_capability.go b/models/model_v2x_capability.go new file mode 100644 index 00000000..fcabb497 --- /dev/null +++ b/models/model_v2x_capability.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicate the supported V2X Capability by the PCF. +type V2xCapability struct { + LteV2x bool `json:"lteV2x,omitempty" yaml:"lteV2x" bson:"lteV2x,omitempty"` + NrV2x bool `json:"nrV2x,omitempty" yaml:"nrV2x" bson:"nrV2x,omitempty"` +} diff --git a/models/model_v2x_context.go b/models/model_v2x_context.go new file mode 100644 index 00000000..50729126 --- /dev/null +++ b/models/model_v2x_context.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the V2X services related parameters +type V2xContext struct { + NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` + LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUeSidelinkAmbr string `json:"nrUeSidelinkAmbr,omitempty" yaml:"nrUeSidelinkAmbr" bson:"nrUeSidelinkAmbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + LteUeSidelinkAmbr string `json:"lteUeSidelinkAmbr,omitempty" yaml:"lteUeSidelinkAmbr" bson:"lteUeSidelinkAmbr,omitempty"` + Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` +} diff --git a/models/model_v2x_information.go b/models/model_v2x_information.go new file mode 100644 index 00000000..52a9f0d9 --- /dev/null +++ b/models/model_v2x_information.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// V2X related N2 information +type V2xInformation struct { + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` +} diff --git a/models/model_v2x_subscription_data.go b/models/model_v2x_subscription_data.go new file mode 100644 index 00000000..a9f2fc97 --- /dev/null +++ b/models/model_v2x_subscription_data.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type V2xSubscriptionData struct { + NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` + LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + LtePc5Ambr string `json:"ltePc5Ambr,omitempty" yaml:"ltePc5Ambr" bson:"ltePc5Ambr,omitempty"` +} diff --git a/models/model_valid_time_period.go b/models/model_valid_time_period.go new file mode 100644 index 00000000..3a0d5fe2 --- /dev/null +++ b/models/model_valid_time_period.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ValidTimePeriod struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` +} diff --git a/models/model_var_snssai.go b/models/model_var_snssai.go new file mode 100644 index 00000000..e31f5390 --- /dev/null +++ b/models/model_var_snssai.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VarSnssai struct { +} diff --git a/models/model_variable_part.go b/models/model_variable_part.go new file mode 100644 index 00000000..fdd45ca7 --- /dev/null +++ b/models/model_variable_part.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VariablePart struct { + VariablePartType VariablePartType `json:"variablePartType" yaml:"variablePartType" bson:"variablePartType,omitempty"` + VariablePartValue []string `json:"variablePartValue" yaml:"variablePartValue" bson:"variablePartValue,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VariablePartOrder int32 `json:"variablePartOrder,omitempty" yaml:"variablePartOrder" bson:"variablePartOrder,omitempty"` +} diff --git a/models/model_variable_part_type.go b/models/model_variable_part_type.go new file mode 100644 index 00000000..d80d1cc3 --- /dev/null +++ b/models/model_variable_part_type.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VariablePartType string + +// List of VariablePartType +const ( + VariablePartType_INTEGER VariablePartType = "INTEGER" + VariablePartType_NUMBER VariablePartType = "NUMBER" + VariablePartType_TIME VariablePartType = "TIME" + VariablePartType_DATE VariablePartType = "DATE" + VariablePartType_CURRENCY VariablePartType = "CURRENCY" +) diff --git a/models/model_vector_algorithm.go b/models/model_vector_algorithm.go deleted file mode 100644 index f521ff51..00000000 --- a/models/model_vector_algorithm.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VectorAlgorithm string - -// List of VectorAlgorithm -const ( - VectorAlgorithm_MILENAGE VectorAlgorithm = "MILENAGE" - VectorAlgorithm_TUAK VectorAlgorithm = "TUAK" -) diff --git a/models/model_velocity_estimate.go b/models/model_velocity_estimate.go index ea7ce24f..2e386047 100644 --- a/models/model_velocity_estimate.go +++ b/models/model_velocity_estimate.go @@ -1,19 +1,28 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Velocity estimate. type VelocityEstimate struct { - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed"` - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing"` - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection"` - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty"` - VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty"` + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` + // Indicates value of speed uncertainty. + VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` } diff --git a/models/model_velocity_requested.go b/models/model_velocity_requested.go index 90421cb1..72bad687 100644 --- a/models/model_velocity_requested.go +++ b/models/model_velocity_requested.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_vendor_specific_feature.go b/models/model_vendor_specific_feature.go new file mode 100644 index 00000000..2a6bcb29 --- /dev/null +++ b/models/model_vendor_specific_feature.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about a vendor-specific feature +type VendorSpecificFeature struct { + FeatureName string `json:"featureName" yaml:"featureName" bson:"featureName,omitempty"` + FeatureVersion string `json:"featureVersion" yaml:"featureVersion" bson:"featureVersion,omitempty"` +} diff --git a/models/model_vertical_direction.go b/models/model_vertical_direction.go index 4f206c44..560df095 100644 --- a/models/model_vertical_direction.go +++ b/models/model_vertical_direction.go @@ -1,9 +1,12 @@ /* - * Namf_Location + * LMF Location * - * AMF Location Service + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/models/model_vgmlc_address.go b/models/model_vgmlc_address.go new file mode 100644 index 00000000..850f1257 --- /dev/null +++ b/models/model_vgmlc_address.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VgmlcAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + VgmlcAddressIpv4 string `json:"vgmlcAddressIpv4,omitempty" yaml:"vgmlcAddressIpv4" bson:"vgmlcAddressIpv4,omitempty"` + VgmlcAddressIpv6 string `json:"vgmlcAddressIpv6,omitempty" yaml:"vgmlcAddressIpv6" bson:"vgmlcAddressIpv6,omitempty"` + // Fully Qualified Domain Name + VgmlcFqdn string `json:"vgmlcFqdn,omitempty" yaml:"vgmlcFqdn" bson:"vgmlcFqdn,omitempty"` +} diff --git a/models/model_virtual_resource.go b/models/model_virtual_resource.go new file mode 100644 index 00000000..323ece25 --- /dev/null +++ b/models/model_virtual_resource.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VirtualResource struct { + VirtualMemory int32 `json:"virtualMemory,omitempty" yaml:"virtualMemory" bson:"virtualMemory,omitempty"` + VirtualDisk int32 `json:"virtualDisk,omitempty" yaml:"virtualDisk" bson:"virtualDisk,omitempty"` + VirutalCPU string `json:"virutalCPU,omitempty" yaml:"virutalCPU" bson:"virutalCPU,omitempty"` +} diff --git a/models/model_vn_group_data.go b/models/model_vn_group_data.go new file mode 100644 index 00000000..e0917d50 --- /dev/null +++ b/models/model_vn_group_data.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VnGroupData struct { + PduSessionTypes *PduSessionTypes `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` +} diff --git a/models/model_volume_timed_report.go b/models/model_volume_timed_report.go new file mode 100644 index 00000000..84fe6d21 --- /dev/null +++ b/models/model_volume_timed_report.go @@ -0,0 +1,29 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Usage data information. +type VolumeTimedReport struct { + // string with format 'date-time' as defined in OpenAPI. + StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` + // string with format 'int64' as defined in OpenAPI. + DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // string with format 'int64' as defined in OpenAPI. + UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/model_vplmn_qos.go b/models/model_vplmn_qos.go new file mode 100644 index 00000000..c73314a0 --- /dev/null +++ b/models/model_vplmn_qos.go @@ -0,0 +1,29 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// VPLMN QoS +type VplmnQos struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrDl string `json:"maxFbrDl,omitempty" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrUl string `json:"maxFbrUl,omitempty" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` +} diff --git a/models/model_vsmf_update_data.go b/models/model_vsmf_update_data.go index a7d1da51..fcc29f04 100644 --- a/models/model_vsmf_update_data.go +++ b/models/model_vsmf_update_data.go @@ -1,27 +1,55 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Update Request towards V-SMF, or from SMF to I-SMF type VsmfUpdateData struct { - RequestIndication RequestIndication `json:"requestIndication"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty"` - QosFlowsAddModRequestList []QosFlowAddModifyRequestItem `json:"qosFlowsAddModRequestList,omitempty"` - QosFlowsRelRequestList []QosFlowReleaseRequestItem `json:"qosFlowsRelRequestList,omitempty"` - EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty"` - AssignEbiList []int32 `json:"assignEbiList,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty"` - ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty"` - Pti int32 `json:"pti,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"` - AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty"` - Cause Cause `json:"cause,omitempty"` - N1smCause string `json:"n1smCause,omitempty"` - BackOffTimer int32 `json:"backOffTimer,omitempty"` + RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsAddModRequestList []SmfPduSessionQosFlowAddModifyRequestItem `json:"qosFlowsAddModRequestList,omitempty" yaml:"qosFlowsAddModRequestList" bson:"qosFlowsAddModRequestList,omitempty"` + QosFlowsRelRequestList []QosFlowReleaseRequestItem `json:"qosFlowsRelRequestList,omitempty" yaml:"qosFlowsRelRequestList" bson:"qosFlowsRelRequestList,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + AssignEbiList []Arp `json:"assignEbiList,omitempty" yaml:"assignEbiList" bson:"assignEbiList,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + // String providing an URI formatted according to RFC 3986. + HsmfPduSessionUri string `json:"hsmfPduSessionUri,omitempty" yaml:"hsmfPduSessionUri" bson:"hsmfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NewSmfPduSessionUri string `json:"newSmfPduSessionUri,omitempty" yaml:"newSmfPduSessionUri" bson:"newSmfPduSessionUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` + SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` + QosMonitoringInfo *QosMonitoringInfo `json:"qosMonitoringInfo,omitempty" yaml:"qosMonitoringInfo" bson:"qosMonitoringInfo,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + N9DataForwardingInd bool `json:"n9DataForwardingInd,omitempty" yaml:"n9DataForwardingInd" bson:"n9DataForwardingInd,omitempty"` + // indicating a time in seconds. + N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` } diff --git a/models/model_vsmf_update_error.go b/models/model_vsmf_update_error.go index c2e25d52..8426b261 100644 --- a/models/model_vsmf_update_error.go +++ b/models/model_vsmf_update_error.go @@ -1,9 +1,12 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -13,14 +16,22 @@ import ( "time" ) +// Error within Update Response from V-SMF, or from I-SMF to SMF type VsmfUpdateError struct { - Error *ProblemDetails `json:"error"` - Pti int32 `json:"pti,omitempty"` - N1smCause string `json:"n1smCause,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty"` - FailedToAssignEbiList []int32 `json:"failedToAssignEbiList,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty"` + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` } diff --git a/models/model_vsmf_updated_data.go b/models/model_vsmf_updated_data.go index cc4bd603..16a36f05 100644 --- a/models/model_vsmf_updated_data.go +++ b/models/model_vsmf_updated_data.go @@ -1,26 +1,37 @@ /* * Nsmf_PDUSession * - * SMF PDU Session Service + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.0 + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Data within Update Response from V-SMF, or from I-SMF to SMF type VsmfUpdatedData struct { - QosFlowsAddModList []QosFlowItem `json:"qosFlowsAddModList,omitempty"` - QosFlowsRelList []QosFlowItem `json:"qosFlowsRelList,omitempty"` - QosFlowsFailedtoAddModList []QosFlowItem `json:"qosFlowsFailedtoAddModList,omitempty"` - QosFlowsFailedtoRelList []QosFlowItem `json:"qosFlowsFailedtoRelList,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty"` - AssignedEbiList []EbiArpMapping `json:"assignedEbiList,omitempty"` - FailedToAssignEbiList []int32 `json:"failedToAssignEbiList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty"` - SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty"` + QosFlowsAddModList []QosFlowItem `json:"qosFlowsAddModList,omitempty" yaml:"qosFlowsAddModList" bson:"qosFlowsAddModList,omitempty"` + QosFlowsRelList []QosFlowItem `json:"qosFlowsRelList,omitempty" yaml:"qosFlowsRelList" bson:"qosFlowsRelList,omitempty"` + QosFlowsFailedtoAddModList []QosFlowItem `json:"qosFlowsFailedtoAddModList,omitempty" yaml:"qosFlowsFailedtoAddModList" bson:"qosFlowsFailedtoAddModList,omitempty"` + QosFlowsFailedtoRelList []QosFlowItem `json:"qosFlowsFailedtoRelList,omitempty" yaml:"qosFlowsFailedtoRelList" bson:"qosFlowsFailedtoRelList,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + AssignedEbiList []EbiArpMapping `json:"assignedEbiList,omitempty" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` + FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` + ModifiedEbiListNotDelivered bool `json:"modifiedEbiListNotDelivered,omitempty" yaml:"modifiedEbiListNotDelivered" bson:"modifiedEbiListNotDelivered,omitempty"` } diff --git a/models/model_w_agf_info.go b/models/model_w_agf_info.go new file mode 100644 index 00000000..b737c6b9 --- /dev/null +++ b/models/model_w_agf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of the W-AGF end-points +type WAgfInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/model_websock_notif_config.go b/models/model_websock_notif_config.go index 366f9999..2e5c5240 100644 --- a/models/model_websock_notif_config.go +++ b/models/model_websock_notif_config.go @@ -1,17 +1,21 @@ /* * 3gpp-traffic-influence * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * - * API version: 1.0.1 + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models +// Represents the configuration information for the delivery of notifications over Websockets. type WebsockNotifConfig struct { // string formatted according to IETF RFC 3986 identifying a referenced resource. - WebsocketUri string `json:"websocketUri,omitempty" yaml:"websocketUri" bson:"websocketUri" mapstructure:"WebsocketUri"` + WebsocketUri string `json:"websocketUri,omitempty" yaml:"websocketUri" bson:"websocketUri,omitempty"` // Set by the SCS/AS to indicate that the Websocket delivery is requested. - RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty" yaml:"requestWebsocketUri" bson:"requestWebsocketUri" mapstructure:"RequestWebsocketUri"` + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty" yaml:"requestWebsocketUri" bson:"requestWebsocketUri,omitempty"` } diff --git a/models/model_wireline_area.go b/models/model_wireline_area.go new file mode 100644 index 00000000..b6806e54 --- /dev/null +++ b/models/model_wireline_area.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// One and only one of the \"globLineIds\", \"hfcNIds\", \"areaCodeB\" and \"areaCodeC\" attributes shall be included in a WirelineArea data structure +type WirelineArea struct { + GlobalLineIds []string `json:"globalLineIds,omitempty" yaml:"globalLineIds" bson:"globalLineIds,omitempty"` + HfcNIds []string `json:"hfcNIds,omitempty" yaml:"hfcNIds" bson:"hfcNIds,omitempty"` + // Values are operator specific. + AreaCodeB string `json:"areaCodeB,omitempty" yaml:"areaCodeB" bson:"areaCodeB,omitempty"` + // Values are operator specific. + AreaCodeC string `json:"areaCodeC,omitempty" yaml:"areaCodeC" bson:"areaCodeC,omitempty"` +} diff --git a/models/model_wireline_service_area_restriction.go b/models/model_wireline_service_area_restriction.go new file mode 100644 index 00000000..5e172f28 --- /dev/null +++ b/models/model_wireline_service_area_restriction.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The \"restrictionType\" attribute and the \"areas\" attribute shall be either both present or absent. The empty array of areas is used when service is allowed/restricted nowhere. +type WirelineServiceAreaRestriction struct { + RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` + Areas []WirelineArea `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` +} diff --git a/models/model_wlan_ordering_criterion.go b/models/model_wlan_ordering_criterion.go new file mode 100644 index 00000000..79f527d9 --- /dev/null +++ b/models/model_wlan_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type WlanOrderingCriterion string + +// List of WlanOrderingCriterion +const ( + WlanOrderingCriterion_TIME_SLOT_START WlanOrderingCriterion = "TIME_SLOT_START" + WlanOrderingCriterion_NUMBER_OF_UES WlanOrderingCriterion = "NUMBER_OF_UES" + WlanOrderingCriterion_RSSI WlanOrderingCriterion = "RSSI" + WlanOrderingCriterion_RTT WlanOrderingCriterion = "RTT" + WlanOrderingCriterion_TRAFFIC_INFO WlanOrderingCriterion = "TRAFFIC_INFO" +) diff --git a/models/model_wlan_per_ss_id_performance_info.go b/models/model_wlan_per_ss_id_performance_info.go new file mode 100644 index 00000000..3199fd20 --- /dev/null +++ b/models/model_wlan_per_ss_id_performance_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The WLAN performance per SSID. +type WlanPerSsIdPerformanceInfo struct { + SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` + WlanPerTsInfos []WlanPerTsPerformanceInfo `json:"wlanPerTsInfos" yaml:"wlanPerTsInfos" bson:"wlanPerTsInfos,omitempty"` +} diff --git a/models/model_wlan_per_ts_performance_info.go b/models/model_wlan_per_ts_performance_info.go new file mode 100644 index 00000000..7f5f7c31 --- /dev/null +++ b/models/model_wlan_per_ts_performance_info.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// WLAN performance information per Time Slot during the analytics target period. +type WlanPerTsPerformanceInfo struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + Rssi int32 `json:"rssi,omitempty" yaml:"rssi" bson:"rssi,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Rtt int32 `json:"rtt,omitempty" yaml:"rtt" bson:"rtt,omitempty"` + TrafficInfo *TrafficInformation `json:"trafficInfo,omitempty" yaml:"trafficInfo" bson:"trafficInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/model_wlan_performance_info.go b/models/model_wlan_performance_info.go new file mode 100644 index 00000000..9f1fa892 --- /dev/null +++ b/models/model_wlan_performance_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The WLAN performance related information. +type WlanPerformanceInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + WlanPerSsidInfos []WlanPerSsIdPerformanceInfo `json:"wlanPerSsidInfos" yaml:"wlanPerSsidInfos" bson:"wlanPerSsidInfos,omitempty"` +} diff --git a/models/model_wlan_performance_req.go b/models/model_wlan_performance_req.go new file mode 100644 index 00000000..48fba4c7 --- /dev/null +++ b/models/model_wlan_performance_req.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other WLAN performance analytics requirements. +type WlanPerformanceReq struct { + SsIds []string `json:"ssIds,omitempty" yaml:"ssIds" bson:"ssIds,omitempty"` + BssIds []string `json:"bssIds,omitempty" yaml:"bssIds" bson:"bssIds,omitempty"` + WlanOrderCriter WlanOrderingCriterion `json:"wlanOrderCriter,omitempty" yaml:"wlanOrderCriter" bson:"wlanOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/models/model_3_g_aka_av.go b/models/models/model_3_g_aka_av.go new file mode 100644 index 00000000..4f950f0a --- /dev/null +++ b/models/models/model_3_g_aka_av.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains RAND, XRES, AUTN, CK, and IK +type Model3GAkaAv struct { + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` + Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` +} diff --git a/models/models/model_3_gppps_data_off_status.go b/models/models/model_3_gppps_data_off_status.go new file mode 100644 index 00000000..25fb05d6 --- /dev/null +++ b/models/models/model_3_gppps_data_off_status.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model3GpppsDataOffStatus string + +// List of 3GPPPSDataOffStatus +const ( + Model3GpppsDataOffStatus_ACTIVE Model3GpppsDataOffStatus = "ACTIVE" + Model3GpppsDataOffStatus_INACTIVE Model3GpppsDataOffStatus = "INACTIVE" +) diff --git a/models/models/model_5_g_ddnmf_info.go b/models/models/model_5_g_ddnmf_info.go new file mode 100644 index 00000000..899c642e --- /dev/null +++ b/models/models/model_5_g_ddnmf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an 5G DDNMF NF Instance +type Model5GDdnmfInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/models/model_5_g_srvcc_info.go b/models/models/model_5_g_srvcc_info.go new file mode 100644 index 00000000..4a629b4a --- /dev/null +++ b/models/models/model_5_g_srvcc_info.go @@ -0,0 +1,22 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5G SRVCC information for a UE. +type Model5GSrvccInfo struct { + Ue5GSrvccCapability bool `json:"ue5GSrvccCapability" yaml:"ue5GSrvccCapability" bson:"ue5GSrvccCapability,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` +} diff --git a/models/models/model_5_g_vn_group_configuration.go b/models/models/model_5_g_vn_group_configuration.go new file mode 100644 index 00000000..a8862be8 --- /dev/null +++ b/models/models/model_5_g_vn_group_configuration.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GVnGroupConfiguration struct { + Var5gVnGroupData *Model5GVnGroupData `json:"5gVnGroupData,omitempty" yaml:"5gVnGroupData" bson:"5gVnGroupData,omitempty"` + Members []string `json:"members,omitempty" yaml:"members" bson:"members,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_5_g_vn_group_data.go b/models/models/model_5_g_vn_group_data.go new file mode 100644 index 00000000..582a323a --- /dev/null +++ b/models/models/model_5_g_vn_group_data.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GVnGroupData struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` + SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` + DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` + DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` + // Fully Qualified Domain Name + DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` +} diff --git a/models/models/model_5_glan_type_service.go b/models/models/model_5_glan_type_service.go new file mode 100644 index 00000000..d67004a7 --- /dev/null +++ b/models/models/model_5_glan_type_service.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GlanTypeService struct { + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` +} diff --git a/models/models/model_5_gs_user_state.go b/models/models/model_5_gs_user_state.go new file mode 100644 index 00000000..79a17986 --- /dev/null +++ b/models/models/model_5_gs_user_state.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5GsUserState string + +// List of 5GsUserState +const ( + Model5GsUserState_DEREGISTERED Model5GsUserState = "DEREGISTERED" + Model5GsUserState_CONNECTED_NOT_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_NOT_REACHABLE_FOR_PAGING" + Model5GsUserState_CONNECTED_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_REACHABLE_FOR_PAGING" + Model5GsUserState_NOT_PROVIDED_FROM_AMF Model5GsUserState = "NOT_PROVIDED_FROM_AMF" +) diff --git a/models/models/model_5_gs_user_state_info.go b/models/models/model_5_gs_user_state_info.go new file mode 100644 index 00000000..ee139c26 --- /dev/null +++ b/models/models/model_5_gs_user_state_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the 5GS User state of the UE for an access type +type Model5GsUserStateInfo struct { + Var5gsUserState Model5GsUserState `json:"5gsUserState" yaml:"5gsUserState" bson:"5gsUserState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_5_mbs_authorization_info.go b/models/models/model_5_mbs_authorization_info.go new file mode 100644 index 00000000..dc9c9092 --- /dev/null +++ b/models/models/model_5_mbs_authorization_info.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Model5MbsAuthorizationInfo struct { + Var5mbsSessionIds []MbsSessionId `json:"5mbsSessionIds,omitempty" yaml:"5mbsSessionIds" bson:"5mbsSessionIds,omitempty"` +} diff --git a/models/models/model_aanf_info.go b/models/models/model_aanf_info.go new file mode 100644 index 00000000..9526daf5 --- /dev/null +++ b/models/models/model_aanf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the information relative to an AAnF NF Instance. +type AanfInfo struct { + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` +} diff --git a/models/models/model_abnormal_behaviour.go b/models/models/model_abnormal_behaviour.go new file mode 100644 index 00000000..b8e74442 --- /dev/null +++ b/models/models/model_abnormal_behaviour.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the abnormal behaviour information. +type AbnormalBehaviour struct { + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Excep *Exception `json:"excep" yaml:"excep" bson:"excep,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + AddtMeasInfo *AdditionalMeasurement `json:"addtMeasInfo,omitempty" yaml:"addtMeasInfo" bson:"addtMeasInfo,omitempty"` +} diff --git a/models/models/model_acc_net_ch_id.go b/models/models/model_acc_net_ch_id.go new file mode 100644 index 00000000..c90d8c5c --- /dev/null +++ b/models/models/model_acc_net_ch_id.go @@ -0,0 +1,25 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the access network charging identifier for the PCC rule(s) or for the whole PDU session. +type AccNetChId struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` + // A character string containing the access network charging id. + AccNetChargId string `json:"accNetChargId,omitempty" yaml:"accNetChargId" bson:"accNetChargId,omitempty"` + // Contains the identifier of the PCC rule(s) associated to the provided Access Network Charging Identifier. + RefPccRuleIds []string `json:"refPccRuleIds,omitempty" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + // When it is included and set to true, indicates the Access Network Charging Identifier applies to the whole PDU Session + SessionChScope bool `json:"sessionChScope,omitempty" yaml:"sessionChScope" bson:"sessionChScope,omitempty"` +} diff --git a/models/models/model_acc_net_charging_address.go b/models/models/model_acc_net_charging_address.go new file mode 100644 index 00000000..79c98256 --- /dev/null +++ b/models/models/model_acc_net_charging_address.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the network entity within the access network performing charging +type AccNetChargingAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnChargIpv4Addr string `json:"anChargIpv4Addr,omitempty" yaml:"anChargIpv4Addr" bson:"anChargIpv4Addr,omitempty"` + AnChargIpv6Addr string `json:"anChargIpv6Addr,omitempty" yaml:"anChargIpv6Addr" bson:"anChargIpv6Addr,omitempty"` +} diff --git a/models/models/model_acceptable_mbs_serv_info.go b/models/models/model_acceptable_mbs_serv_info.go new file mode 100644 index 00000000..7db4ae9a --- /dev/null +++ b/models/models/model_acceptable_mbs_serv_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the MBS Service Information that can be accepted by the PCF. +type AcceptableMbsServInfo struct { + AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` +} diff --git a/models/models/model_acceptable_service_info.go b/models/models/model_acceptable_service_info.go new file mode 100644 index 00000000..2ece2ec9 --- /dev/null +++ b/models/models/model_acceptable_service_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the maximum bandwidth that shall be authorized by the PCF. +type AcceptableServiceInfo struct { + // Indicates the maximum bandwidth that shall be authorized by the PCF for each media component of the map. The key of the map is the media component number. + AccBwMedComps map[string]MediaComponent `json:"accBwMedComps,omitempty" yaml:"accBwMedComps" bson:"accBwMedComps,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` +} diff --git a/models/models/model_access_and_mobility_data.go b/models/models/model_access_and_mobility_data.go new file mode 100644 index 00000000..8fd9c471 --- /dev/null +++ b/models/models/model_access_and_mobility_data.go @@ -0,0 +1,54 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents Access and Mobility data for a UE. +type AccessAndMobilityData struct { + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LocationTs *time.Time `json:"locationTs,omitempty" yaml:"locationTs" bson:"locationTs,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeZoneTs *time.Time `json:"timeZoneTs,omitempty" yaml:"timeZoneTs" bson:"timeZoneTs,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RegStates []RmInfo `json:"regStates,omitempty" yaml:"regStates" bson:"regStates,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegStatesTs *time.Time `json:"regStatesTs,omitempty" yaml:"regStatesTs" bson:"regStatesTs,omitempty"` + ConnStates []CmInfo `json:"connStates,omitempty" yaml:"connStates" bson:"connStates,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ConnStatesTs *time.Time `json:"connStatesTs,omitempty" yaml:"connStatesTs" bson:"connStatesTs,omitempty"` + ReachabilityStatus UeReachability `json:"reachabilityStatus,omitempty" yaml:"reachabilityStatus" bson:"reachabilityStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReachabilityStatusTs *time.Time `json:"reachabilityStatusTs,omitempty" yaml:"reachabilityStatusTs" bson:"reachabilityStatusTs,omitempty"` + SmsOverNasStatus SmsSupport `json:"smsOverNasStatus,omitempty" yaml:"smsOverNasStatus" bson:"smsOverNasStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SmsOverNasStatusTs *time.Time `json:"smsOverNasStatusTs,omitempty" yaml:"smsOverNasStatusTs" bson:"smsOverNasStatusTs,omitempty"` + // True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE. + RoamingStatus bool `json:"roamingStatus,omitempty" yaml:"roamingStatus" bson:"roamingStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RoamingStatusTs *time.Time `json:"roamingStatusTs,omitempty" yaml:"roamingStatusTs" bson:"roamingStatusTs,omitempty"` + CurrentPlmn *PlmnId `json:"currentPlmn,omitempty" yaml:"currentPlmn" bson:"currentPlmn,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CurrentPlmnTs *time.Time `json:"currentPlmnTs,omitempty" yaml:"currentPlmnTs" bson:"currentPlmnTs,omitempty"` + RatType []RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RatTypesTs *time.Time `json:"ratTypesTs,omitempty" yaml:"ratTypesTs" bson:"ratTypesTs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_access_and_mobility_subscription_data.go b/models/models/model_access_and_mobility_subscription_data.go new file mode 100644 index 00000000..c7ab0ee8 --- /dev/null +++ b/models/models/model_access_and_mobility_subscription_data.go @@ -0,0 +1,80 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessAndMobilitySubscriptionData struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of SharedDataId + SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` + SubscribedUeAmbr *Ambr `json:"subscribedUeAmbr,omitempty" yaml:"subscribedUeAmbr" bson:"subscribedUeAmbr,omitempty"` + Nssai *Nssai `json:"nssai,omitempty" yaml:"nssai" bson:"nssai,omitempty"` + RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` + ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` + // Unsigned integer representing the 'Subscriber Profile ID for RAT/Frequency Priority' as specified in 3GPP TS 36.413 with the OpenAPI 'nullable: true' property. + RfspIndex int32 `json:"rfspIndex,omitempty" yaml:"rfspIndex" bson:"rfspIndex,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + UeUsageType int32 `json:"ueUsageType,omitempty" yaml:"ueUsageType" bson:"ueUsageType,omitempty"` + MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` + McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` + SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` + SorInfoExpectInd bool `json:"sorInfoExpectInd,omitempty" yaml:"sorInfoExpectInd" bson:"sorInfoExpectInd,omitempty"` + SorafRetrieval bool `json:"sorafRetrieval,omitempty" yaml:"sorafRetrieval" bson:"sorafRetrieval,omitempty"` + SorUpdateIndicatorList []SorUpdateIndicator `json:"sorUpdateIndicatorList,omitempty" yaml:"sorUpdateIndicatorList" bson:"sorUpdateIndicatorList,omitempty"` + UpuInfo *UdmSdmUpuInfo `json:"upuInfo,omitempty" yaml:"upuInfo" bson:"upuInfo,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + MicoAllowed bool `json:"micoAllowed,omitempty" yaml:"micoAllowed" bson:"micoAllowed,omitempty"` + SharedAmDataIds []string `json:"sharedAmDataIds,omitempty" yaml:"sharedAmDataIds" bson:"sharedAmDataIds,omitempty"` + OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` + SubscribedDnnList []interface{} `json:"subscribedDnnList,omitempty" yaml:"subscribedDnnList" bson:"subscribedDnnList,omitempty"` + // indicating a time in seconds. + ServiceGapTime int32 `json:"serviceGapTime,omitempty" yaml:"serviceGapTime" bson:"serviceGapTime,omitempty"` + MdtUserConsent MdtUserConsent `json:"mdtUserConsent,omitempty" yaml:"mdtUserConsent" bson:"mdtUserConsent,omitempty"` + MdtConfiguration *MdtConfiguration `json:"mdtConfiguration,omitempty" yaml:"mdtConfiguration" bson:"mdtConfiguration,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` + NbIoTUePriority int32 `json:"nbIoTUePriority,omitempty" yaml:"nbIoTUePriority" bson:"nbIoTUePriority,omitempty"` + NssaiInclusionAllowed bool `json:"nssaiInclusionAllowed,omitempty" yaml:"nssaiInclusionAllowed" bson:"nssaiInclusionAllowed,omitempty"` + // string with format 'bytes' as defined in OpenAPI + RgWirelineCharacteristics string `json:"rgWirelineCharacteristics,omitempty" yaml:"rgWirelineCharacteristics" bson:"rgWirelineCharacteristics,omitempty"` + EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` + ExpectedUeBehaviourList *ExpectedUeBehaviourData `json:"expectedUeBehaviourList,omitempty" yaml:"expectedUeBehaviourList" bson:"expectedUeBehaviourList,omitempty"` + PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` + SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` + EdrxParametersList []EdrxParameters `json:"edrxParametersList,omitempty" yaml:"edrxParametersList" bson:"edrxParametersList,omitempty"` + PtwParametersList []PtwParameters `json:"ptwParametersList,omitempty" yaml:"ptwParametersList" bson:"ptwParametersList,omitempty"` + IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` + // A map (list of key-value pairs where PlmnId serves as key) of PlmnRestriction + AdjacentPlmnRestrictions map[string]PlmnRestriction `json:"adjacentPlmnRestrictions,omitempty" yaml:"adjacentPlmnRestrictions" bson:"adjacentPlmnRestrictions,omitempty"` + WirelineForbiddenAreas []WirelineArea `json:"wirelineForbiddenAreas,omitempty" yaml:"wirelineForbiddenAreas" bson:"wirelineForbiddenAreas,omitempty"` + WirelineServiceAreaRestriction *WirelineServiceAreaRestriction `json:"wirelineServiceAreaRestriction,omitempty" yaml:"wirelineServiceAreaRestriction" bson:"wirelineServiceAreaRestriction,omitempty"` + PcfSelectionAssistanceInfos []PcfSelectionAssistanceInfo `json:"pcfSelectionAssistanceInfos,omitempty" yaml:"pcfSelectionAssistanceInfos" bson:"pcfSelectionAssistanceInfos,omitempty"` + AerialUeSubInfo *AerialUeSubscriptionInfo `json:"aerialUeSubInfo,omitempty" yaml:"aerialUeSubInfo" bson:"aerialUeSubInfo,omitempty"` + RoamingRestrictions *RoamingRestrictions `json:"roamingRestrictions,omitempty" yaml:"roamingRestrictions" bson:"roamingRestrictions,omitempty"` + RemoteProvInd bool `json:"remoteProvInd,omitempty" yaml:"remoteProvInd" bson:"remoteProvInd,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` +} diff --git a/models/models/model_access_net_charging_identifier.go b/models/models/model_access_net_charging_identifier.go new file mode 100644 index 00000000..45c22e57 --- /dev/null +++ b/models/models/model_access_net_charging_identifier.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the access network charging identifier. +type AccessNetChargingIdentifier struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` + // A character string containing the access network charging identifier. + AccNetChargIdString string `json:"accNetChargIdString,omitempty" yaml:"accNetChargIdString" bson:"accNetChargIdString,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/models/model_access_network_id.go b/models/models/model_access_network_id.go new file mode 100644 index 00000000..6be0ff7b --- /dev/null +++ b/models/models/model_access_network_id.go @@ -0,0 +1,23 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessNetworkId string + +// List of AccessNetworkId +const ( + AccessNetworkId_HRPD AccessNetworkId = "HRPD" + AccessNetworkId_WIMAX AccessNetworkId = "WIMAX" + AccessNetworkId_WLAN AccessNetworkId = "WLAN" + AccessNetworkId_ETHERNET AccessNetworkId = "ETHERNET" +) diff --git a/models/models/model_access_network_info_change.go b/models/models/model_access_network_info_change.go new file mode 100644 index 00000000..398eed05 --- /dev/null +++ b/models/models/model_access_network_info_change.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AccessNetworkInfoChange struct { + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/models/model_access_right_status.go b/models/models/model_access_right_status.go new file mode 100644 index 00000000..9df51636 --- /dev/null +++ b/models/models/model_access_right_status.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessRightStatus string + +// List of AccessRightStatus +const ( + AccessRightStatus_FULLY_ALLOWED AccessRightStatus = "FULLY_ALLOWED" + AccessRightStatus_PREVIEW_ALLOWED AccessRightStatus = "PREVIEW_ALLOWED" + AccessRightStatus_NO_ALLOWED AccessRightStatus = "NO_ALLOWED" +) diff --git a/models/models/model_access_state_transition_type.go b/models/models/model_access_state_transition_type.go new file mode 100644 index 00000000..08a95129 --- /dev/null +++ b/models/models/model_access_state_transition_type.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessStateTransitionType string + +// List of AccessStateTransitionType +const ( + AccessStateTransitionType_ACCESS_TYPE_CHANGE_3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_3GPP" + AccessStateTransitionType_ACCESS_TYPE_CHANGE_N3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_N3GPP" + AccessStateTransitionType_RM_STATE_CHANGE_DEREGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_DEREGISTERED" + AccessStateTransitionType_RM_STATE_CHANGE_REGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_REGISTERED" + AccessStateTransitionType_CM_STATE_CHANGE_IDLE AccessStateTransitionType = "CM_STATE_CHANGE_IDLE" + AccessStateTransitionType_CM_STATE_CHANGE_CONNECTED AccessStateTransitionType = "CM_STATE_CHANGE_CONNECTED" + AccessStateTransitionType_HANDOVER AccessStateTransitionType = "HANDOVER" + AccessStateTransitionType_MOBILITY_REGISTRATION_UPDATE AccessStateTransitionType = "MOBILITY_REGISTRATION_UPDATE" +) diff --git a/models/models/model_access_tech.go b/models/models/model_access_tech.go new file mode 100644 index 00000000..18805325 --- /dev/null +++ b/models/models/model_access_tech.go @@ -0,0 +1,30 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessTech string + +// List of AccessTech +const ( + AccessTech_NR AccessTech = "NR" + AccessTech_EUTRAN_IN_WBS1_MODE_AND_NBS1_MODE AccessTech = "EUTRAN_IN_WBS1_MODE_AND_NBS1_MODE" + AccessTech_EUTRAN_IN_NBS1_MODE_ONLY AccessTech = "EUTRAN_IN_NBS1_MODE_ONLY" + AccessTech_EUTRAN_IN_WBS1_MODE_ONLY AccessTech = "EUTRAN_IN_WBS1_MODE_ONLY" + AccessTech_UTRAN AccessTech = "UTRAN" + AccessTech_GSM_AND_ECGSM_IO_T AccessTech = "GSM_AND_ECGSM_IoT" + AccessTech_GSM_WITHOUT_ECGSM_IO_T AccessTech = "GSM_WITHOUT_ECGSM_IoT" + AccessTech_ECGSM_IO_T_ONLY AccessTech = "ECGSM_IoT_ONLY" + AccessTech_CDMA_1X_RTT AccessTech = "CDMA_1xRTT" + AccessTech_CDMA_HRPD AccessTech = "CDMA_HRPD" + AccessTech_GSM_COMPACT AccessTech = "GSM_COMPACT" +) diff --git a/models/models/model_access_token_err.go b/models/models/model_access_token_err.go new file mode 100644 index 00000000..d6336efe --- /dev/null +++ b/models/models/model_access_token_err.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Error returned in the access token response message +type AccessTokenErr struct { + Error string `json:"error" yaml:"error" bson:"error,omitempty"` + ErrorDescription string `json:"error_description,omitempty" yaml:"error_description" bson:"error_description,omitempty"` + ErrorUri string `json:"error_uri,omitempty" yaml:"error_uri" bson:"error_uri,omitempty"` +} diff --git a/models/models/model_access_transfer_information.go b/models/models/model_access_transfer_information.go new file mode 100644 index 00000000..6a77a49d --- /dev/null +++ b/models/models/model_access_transfer_information.go @@ -0,0 +1,31 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AccessTransferInformation struct { + AccessTransferType AccessTransferType `json:"accessTransferType,omitempty" yaml:"accessTransferType" bson:"accessTransferType,omitempty"` + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + InterUETransfer UeTransferType `json:"interUETransfer,omitempty" yaml:"interUETransfer" bson:"interUETransfer,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` + InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` + RelatedIMSChargingIdentifier string `json:"relatedIMSChargingIdentifier,omitempty" yaml:"relatedIMSChargingIdentifier" bson:"relatedIMSChargingIdentifier,omitempty"` + RelatedIMSChargingIdentifierNode *ImsAddress `json:"relatedIMSChargingIdentifierNode,omitempty" yaml:"relatedIMSChargingIdentifierNode" bson:"relatedIMSChargingIdentifierNode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/models/model_access_transfer_type.go b/models/models/model_access_transfer_type.go new file mode 100644 index 00000000..6b1ba35c --- /dev/null +++ b/models/models/model_access_transfer_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessTransferType string + +// List of AccessTransferType +const ( + AccessTransferType_PS_TO_CS AccessTransferType = "PS_TO_CS" + AccessTransferType_CS_TO_PS AccessTransferType = "CS_TO_PS" + AccessTransferType_PS_TO_PS AccessTransferType = "PS_TO_PS" + AccessTransferType_CS_TO_CS AccessTransferType = "CS_TO_CS" +) diff --git a/models/models/model_access_type.go b/models/models/model_access_type.go new file mode 100644 index 00000000..c833edec --- /dev/null +++ b/models/models/model_access_type.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessType string + +// List of AccessType +const ( + AccessType__3_GPP_ACCESS AccessType = "3GPP_ACCESS" + AccessType_NON_3_GPP_ACCESS AccessType = "NON_3GPP_ACCESS" +) diff --git a/models/models/model_access_type_rm.go b/models/models/model_access_type_rm.go new file mode 100644 index 00000000..2e439675 --- /dev/null +++ b/models/models/model_access_type_rm.go @@ -0,0 +1,16 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccessTypeRm struct { +} diff --git a/models/models/model_accu_usage_report.go b/models/models/model_accu_usage_report.go new file mode 100644 index 00000000..5719d5c2 --- /dev/null +++ b/models/models/model_accu_usage_report.go @@ -0,0 +1,35 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the accumulated usage report information. +type AccuUsageReport struct { + // An id referencing UsageMonitoringData objects associated with this usage report. + RefUmIds string `json:"refUmIds" yaml:"refUmIds" bson:"refUmIds,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + VolUsage int64 `json:"volUsage,omitempty" yaml:"volUsage" bson:"volUsage,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + VolUsageUplink int64 `json:"volUsageUplink,omitempty" yaml:"volUsageUplink" bson:"volUsageUplink,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + VolUsageDownlink int64 `json:"volUsageDownlink,omitempty" yaml:"volUsageDownlink" bson:"volUsageDownlink,omitempty"` + // indicating a time in seconds. + TimeUsage int32 `json:"timeUsage,omitempty" yaml:"timeUsage" bson:"timeUsage,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + NextVolUsage int64 `json:"nextVolUsage,omitempty" yaml:"nextVolUsage" bson:"nextVolUsage,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + NextVolUsageUplink int64 `json:"nextVolUsageUplink,omitempty" yaml:"nextVolUsageUplink" bson:"nextVolUsageUplink,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + NextVolUsageDownlink int64 `json:"nextVolUsageDownlink,omitempty" yaml:"nextVolUsageDownlink" bson:"nextVolUsageDownlink,omitempty"` + // indicating a time in seconds. + NextTimeUsage int32 `json:"nextTimeUsage,omitempty" yaml:"nextTimeUsage" bson:"nextTimeUsage,omitempty"` +} diff --git a/models/models/model_accumulated_usage.go b/models/models/model_accumulated_usage.go new file mode 100644 index 00000000..95fad55b --- /dev/null +++ b/models/models/model_accumulated_usage.go @@ -0,0 +1,25 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an accumulated usage. +type AccumulatedUsage struct { + // Unsigned integer identifying a period of time in units of seconds. + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/models/model_accuracy_fulfilment_indicator.go b/models/models/model_accuracy_fulfilment_indicator.go new file mode 100644 index 00000000..f95178c4 --- /dev/null +++ b/models/models/model_accuracy_fulfilment_indicator.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AccuracyFulfilmentIndicator string + +// List of AccuracyFulfilmentIndicator +const ( + AccuracyFulfilmentIndicator_FULFILLED AccuracyFulfilmentIndicator = "REQUESTED_ACCURACY_FULFILLED" + AccuracyFulfilmentIndicator_NOT_FULFILLED AccuracyFulfilmentIndicator = "REQUESTED_ACCURACY_NOT_FULFILLED" +) diff --git a/models/models/model_ack_of_notify.go b/models/models/model_ack_of_notify.go new file mode 100644 index 00000000..bee6f1ce --- /dev/null +++ b/models/models/model_ack_of_notify.go @@ -0,0 +1,23 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an acknowledgement information of an event notification. +type AckOfNotify struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/models/model_acknowledge_info.go b/models/models/model_acknowledge_info.go new file mode 100644 index 00000000..6fed1f97 --- /dev/null +++ b/models/models/model_acknowledge_info.go @@ -0,0 +1,31 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AcknowledgeInfo struct { + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` + UeNotReachable bool `json:"ueNotReachable,omitempty" yaml:"ueNotReachable" bson:"ueNotReachable,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` +} diff --git a/models/models/model_acs_info.go b/models/models/model_acs_info.go new file mode 100644 index 00000000..1dd11d87 --- /dev/null +++ b/models/models/model_acs_info.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The ACS information for the 5G-RG is defined in BBF TR-069 [42] or in BBF TR-369 +type AcsInfo struct { + // String providing an URI formatted according to RFC 3986. + AcsUrl string `json:"acsUrl,omitempty" yaml:"acsUrl" bson:"acsUrl,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AcsIpv4Addr string `json:"acsIpv4Addr,omitempty" yaml:"acsIpv4Addr" bson:"acsIpv4Addr,omitempty"` + AcsIpv6Addr string `json:"acsIpv6Addr,omitempty" yaml:"acsIpv6Addr" bson:"acsIpv6Addr,omitempty"` +} diff --git a/models/models/model_acs_info_rm.go b/models/models/model_acs_info_rm.go new file mode 100644 index 00000000..0c532d0c --- /dev/null +++ b/models/models/model_acs_info_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AcsInfoRm struct { +} diff --git a/models/models/model_activation_state.go b/models/models/model_activation_state.go new file mode 100644 index 00000000..8e4babea --- /dev/null +++ b/models/models/model_activation_state.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ActivationState string + +// List of ActivationState +const ( + ActivationState_ACTIVE ActivationState = "ACTIVE" + ActivationState_INACTIVE ActivationState = "INACTIVE" +) diff --git a/models/models/model_addition_info_analytics_info_request.go b/models/models/model_addition_info_analytics_info_request.go new file mode 100644 index 00000000..208ec765 --- /dev/null +++ b/models/models/model_addition_info_analytics_info_request.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates additional information why the analytics request is rejected. +type AdditionInfoAnalyticsInfoRequest struct { + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` +} diff --git a/models/models/model_addition_info_enable_ue_reachability.go b/models/models/model_addition_info_enable_ue_reachability.go new file mode 100644 index 00000000..68cb4c07 --- /dev/null +++ b/models/models/model_addition_info_enable_ue_reachability.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information to be returned in EnableUeReachability error response +type AdditionInfoEnableUeReachability struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_additional_access_info.go b/models/models/model_additional_access_info.go new file mode 100644 index 00000000..27048b96 --- /dev/null +++ b/models/models/model_additional_access_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the combination of additional Access Type and RAT Type for a MA PDU session. +type AdditionalAccessInfo struct { + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_additional_ee_subs_info.go b/models/models/model_additional_ee_subs_info.go new file mode 100644 index 00000000..33f3a5d1 --- /dev/null +++ b/models/models/model_additional_ee_subs_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdditionalEeSubsInfo struct { + AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` + SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` +} diff --git a/models/models/model_additional_measurement.go b/models/models/model_additional_measurement.go new file mode 100644 index 00000000..6f53f73f --- /dev/null +++ b/models/models/model_additional_measurement.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents additional measurement information. +type AdditionalMeasurement struct { + UnexpLoc *NetworkAreaInfo `json:"unexpLoc,omitempty" yaml:"unexpLoc" bson:"unexpLoc,omitempty"` + UnexpFlowTeps []IpEthFlowDescription `json:"unexpFlowTeps,omitempty" yaml:"unexpFlowTeps" bson:"unexpFlowTeps,omitempty"` + UnexpWakes []time.Time `json:"unexpWakes,omitempty" yaml:"unexpWakes" bson:"unexpWakes,omitempty"` + DdosAttack *AddressList `json:"ddosAttack,omitempty" yaml:"ddosAttack" bson:"ddosAttack,omitempty"` + WrgDest *AddressList `json:"wrgDest,omitempty" yaml:"wrgDest" bson:"wrgDest,omitempty"` + Circums []CircumstanceDescription `json:"circums,omitempty" yaml:"circums" bson:"circums,omitempty"` +} diff --git a/models/models/model_additional_qos_flow_info.go b/models/models/model_additional_qos_flow_info.go new file mode 100644 index 00000000..0f5806c0 --- /dev/null +++ b/models/models/model_additional_qos_flow_info.go @@ -0,0 +1,16 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdditionalQosFlowInfo struct { +} diff --git a/models/models/model_additional_snssai_data.go b/models/models/model_additional_snssai_data.go new file mode 100644 index 00000000..7baedd27 --- /dev/null +++ b/models/models/model_additional_snssai_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdditionalSnssaiData struct { + RequiredAuthnAuthz bool `json:"requiredAuthnAuthz,omitempty" yaml:"requiredAuthnAuthz" bson:"requiredAuthnAuthz,omitempty"` + SubscribedUeSliceMbr *SliceMbr `json:"subscribedUeSliceMbr,omitempty" yaml:"subscribedUeSliceMbr" bson:"subscribedUeSliceMbr,omitempty"` + SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` +} diff --git a/models/models/model_addr_fqdn.go b/models/models/model_addr_fqdn.go new file mode 100644 index 00000000..ac378729 --- /dev/null +++ b/models/models/model_addr_fqdn.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP address and/or FQDN. +type AddrFqdn struct { + IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` + // Indicates an FQDN. + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` +} diff --git a/models/models/model_address_list.go b/models/models/model_address_list.go new file mode 100644 index 00000000..38a6ac5b --- /dev/null +++ b/models/models/model_address_list.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of IPv4 and/or IPv6 addresses. +type AddressList struct { + Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` +} diff --git a/models/models/model_administrative_state.go b/models/models/model_administrative_state.go new file mode 100644 index 00000000..e6f7e757 --- /dev/null +++ b/models/models/model_administrative_state.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdministrativeState string + +// List of AdministrativeState +const ( + AdministrativeState_LOCKED AdministrativeState = "LOCKED" + AdministrativeState_UNLOCKED AdministrativeState = "UNLOCKED" +) diff --git a/models/models/model_adrf_data_type.go b/models/models/model_adrf_data_type.go new file mode 100644 index 00000000..bfc4a1e2 --- /dev/null +++ b/models/models/model_adrf_data_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AdrfDataType string + +// List of AdrfDataType +const ( + AdrfDataType_ANALYTICS AdrfDataType = "HISTORICAL_ANALYTICS" + AdrfDataType_DATA AdrfDataType = "HISTORICAL_DATA" +) diff --git a/models/models/model_aerial_ue_indication.go b/models/models/model_aerial_ue_indication.go new file mode 100644 index 00000000..1cce65f9 --- /dev/null +++ b/models/models/model_aerial_ue_indication.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AerialUeIndication string + +// List of AerialUeIndication +const ( + AerialUeIndication_ALLOWED AerialUeIndication = "AERIAL_UE_ALLOWED" + AerialUeIndication_NOT_ALLOWED AerialUeIndication = "AERIAL_UE_NOT_ALLOWED" +) diff --git a/models/models/model_aerial_ue_subscription_info.go b/models/models/model_aerial_ue_subscription_info.go new file mode 100644 index 00000000..2e508991 --- /dev/null +++ b/models/models/model_aerial_ue_subscription_info.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Aerial UE Subscription Information, it at least contains the Aerial UE Indication. +type AerialUeSubscriptionInfo struct { + AerialUeInd AerialUeIndication `json:"aerialUeInd" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Var3gppUavId string `json:"3gppUavId,omitempty" yaml:"3gppUavId" bson:"3gppUavId,omitempty"` +} diff --git a/models/models/model_af_ack_info.go b/models/models/model_af_ack_info.go new file mode 100644 index 00000000..84c3a8cb --- /dev/null +++ b/models/models/model_af_ack_info.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents acknowledgement information of a traffic influence event notification. +type AfAckInfo struct { + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/models/model_af_coordination_info.go b/models/models/model_af_coordination_info.go new file mode 100644 index 00000000..6d8377a4 --- /dev/null +++ b/models/models/model_af_coordination_info.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AF Coordination Information +type AfCoordinationInfo struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` + SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` + NotificationInfoList []SmfPduSessionNotificationInfo `json:"notificationInfoList,omitempty" yaml:"notificationInfoList" bson:"notificationInfoList,omitempty"` +} diff --git a/models/models/model_af_event_exposure_af_event.go b/models/models/model_af_event_exposure_af_event.go new file mode 100644 index 00000000..28e5c71a --- /dev/null +++ b/models/models/model_af_event_exposure_af_event.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfEventExposureAfEvent string + +// List of AfEventExposureAfEvent +const ( + AfEventExposureAfEvent_SVC_EXPERIENCE AfEventExposureAfEvent = "SVC_EXPERIENCE" + AfEventExposureAfEvent_UE_MOBILITY AfEventExposureAfEvent = "UE_MOBILITY" + AfEventExposureAfEvent_UE_COMM AfEventExposureAfEvent = "UE_COMM" + AfEventExposureAfEvent_EXCEPTIONS AfEventExposureAfEvent = "EXCEPTIONS" + AfEventExposureAfEvent_USER_DATA_CONGESTION AfEventExposureAfEvent = "USER_DATA_CONGESTION" + AfEventExposureAfEvent_PERF_DATA AfEventExposureAfEvent = "PERF_DATA" + AfEventExposureAfEvent_DISPERSION AfEventExposureAfEvent = "DISPERSION" + AfEventExposureAfEvent_COLLECTIVE_BEHAVIOUR AfEventExposureAfEvent = "COLLECTIVE_BEHAVIOUR" + AfEventExposureAfEvent_MS_QOE_METRICS AfEventExposureAfEvent = "MS_QOE_METRICS" + AfEventExposureAfEvent_MS_CONSUMPTION AfEventExposureAfEvent = "MS_CONSUMPTION" + AfEventExposureAfEvent_MS_NET_ASSIST_INVOCATION AfEventExposureAfEvent = "MS_NET_ASSIST_INVOCATION" + AfEventExposureAfEvent_MS_DYN_POLICY_INVOCATION AfEventExposureAfEvent = "MS_DYN_POLICY_INVOCATION" + AfEventExposureAfEvent_MS_ACCESS_ACTIVITY AfEventExposureAfEvent = "MS_ACCESS_ACTIVITY" +) diff --git a/models/models/model_af_event_exposure_af_event_notification.go b/models/models/model_af_event_exposure_af_event_notification.go new file mode 100644 index 00000000..69688de9 --- /dev/null +++ b/models/models/model_af_event_exposure_af_event_notification.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information related to an event to be reported. +type AfEventExposureAfEventNotification struct { + Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + SvcExprcInfos []ServiceExperienceInfoPerApp `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` + UeMobilityInfos []UeMobilityCollection `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` + UeCommInfos []UeCommunicationCollection `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` + ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` + CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` + PerfDataInfos []PerformanceDataCollection `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` + DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` + CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` + MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` + MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` + MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` + MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` + MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` +} diff --git a/models/models/model_af_event_exposure_data.go b/models/models/model_af_event_exposure_data.go new file mode 100644 index 00000000..8096e345 --- /dev/null +++ b/models/models/model_af_event_exposure_data.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AF Event Exposure data managed by a given NEF Instance +type AfEventExposureData struct { + AfEvents []AfEventExposureAfEvent `json:"afEvents" yaml:"afEvents" bson:"afEvents,omitempty"` + AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` +} diff --git a/models/models/model_af_event_exposure_dispersion_collection.go b/models/models/model_af_event_exposure_dispersion_collection.go new file mode 100644 index 00000000..6217b445 --- /dev/null +++ b/models/models/model_af_event_exposure_dispersion_collection.go @@ -0,0 +1,30 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the dispersion information collected for an AF. +type AfEventExposureDispersionCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UeAddr *IpAddr `json:"ueAddr,omitempty" yaml:"ueAddr" bson:"ueAddr,omitempty"` + DataUsage *UsageThreshold `json:"dataUsage" yaml:"dataUsage" bson:"dataUsage,omitempty"` + // Defines a packet filter of an IP flow. + FlowDesp string `json:"flowDesp,omitempty" yaml:"flowDesp" bson:"flowDesp,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + // indicating a time in seconds. + AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` +} diff --git a/models/models/model_af_event_exposure_event_filter.go b/models/models/model_af_event_exposure_event_filter.go new file mode 100644 index 00000000..74d66016 --- /dev/null +++ b/models/models/model_af_event_exposure_event_filter.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents event filter information for an event. +type AfEventExposureEventFilter struct { + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + ExterGroupIds []string `json:"exterGroupIds,omitempty" yaml:"exterGroupIds" bson:"exterGroupIds,omitempty"` + InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + LocArea *LocationArea5G `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` +} diff --git a/models/models/model_af_event_exposure_notif.go b/models/models/model_af_event_exposure_notif.go new file mode 100644 index 00000000..7f11c332 --- /dev/null +++ b/models/models/model_af_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on application event(s) that occurred for an Individual Application Event Subscription resource. +type AfEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/models/model_af_event_exposure_subsc.go b/models/models/model_af_event_exposure_subsc.go new file mode 100644 index 00000000..8f334f6c --- /dev/null +++ b/models/models/model_af_event_exposure_subsc.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Application Event Subscription resource. +type AfEventExposureSubsc struct { + DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` + EventsSubs []EventsSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_af_event_subscription.go b/models/models/model_af_event_subscription.go new file mode 100644 index 00000000..d5070889 --- /dev/null +++ b/models/models/model_af_event_subscription.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the event information delivered in the subscription. +type AfEventSubscription struct { + Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + NotifMethod AfNotifMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` +} diff --git a/models/models/model_af_external.go b/models/models/model_af_external.go new file mode 100644 index 00000000..6e4ad27e --- /dev/null +++ b/models/models/model_af_external.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfExternal struct { + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/models/model_af_notif_method.go b/models/models/model_af_notif_method.go new file mode 100644 index 00000000..2be916da --- /dev/null +++ b/models/models/model_af_notif_method.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfNotifMethod string + +// List of AfNotifMethod +const ( + AfNotifMethod_EVENT_DETECTION AfNotifMethod = "EVENT_DETECTION" + AfNotifMethod_ONE_TIME AfNotifMethod = "ONE_TIME" + AfNotifMethod_PERIODIC AfNotifMethod = "PERIODIC" +) diff --git a/models/models/model_af_requested_data.go b/models/models/model_af_requested_data.go new file mode 100644 index 00000000..0bb266c2 --- /dev/null +++ b/models/models/model_af_requested_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfRequestedData string + +// List of AfRequestedData +const ( + AfRequestedData_UE_IDENTITY AfRequestedData = "UE_IDENTITY" +) diff --git a/models/models/model_af_result_info.go b/models/models/model_af_result_info.go new file mode 100644 index 00000000..25f0a11b --- /dev/null +++ b/models/models/model_af_result_info.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the result of application layer handling. +type AfResultInfo struct { + AfStatus AfResultStatus `json:"afStatus" yaml:"afStatus" bson:"afStatus,omitempty"` + TrafficRoute *RouteToLocation `json:"trafficRoute,omitempty" yaml:"trafficRoute" bson:"trafficRoute,omitempty"` + // If present and set to \"true\" it indicates that buffering of uplink traffic to the target DNAI is needed. + UpBuffInd bool `json:"upBuffInd,omitempty" yaml:"upBuffInd" bson:"upBuffInd,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` +} diff --git a/models/models/model_af_result_status.go b/models/models/model_af_result_status.go new file mode 100644 index 00000000..d4a74164 --- /dev/null +++ b/models/models/model_af_result_status.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfResultStatus string + +// List of AfResultStatus +const ( + AfResultStatus_SUCCESS AfResultStatus = "SUCCESS" + AfResultStatus_TEMPORARY_CONGESTION AfResultStatus = "TEMPORARY_CONGESTION" + AfResultStatus_RELOC_NO_ALLOWED AfResultStatus = "RELOC_NO_ALLOWED" + AfResultStatus_OTHER AfResultStatus = "OTHER" +) diff --git a/models/models/model_af_routing_requirement.go b/models/models/model_af_routing_requirement.go new file mode 100644 index 00000000..56d57c20 --- /dev/null +++ b/models/models/model_af_routing_requirement.go @@ -0,0 +1,33 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the event information delivered in the subscription. +type AfRoutingRequirement struct { + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` + SpVal *SpatialValidity `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` + TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` + UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` +} diff --git a/models/models/model_af_routing_requirement_rm.go b/models/models/model_af_routing_requirement_rm.go new file mode 100644 index 00000000..e78a9b42 --- /dev/null +++ b/models/models/model_af_routing_requirement_rm.go @@ -0,0 +1,33 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the AfRoutingRequirement data type, but with the OpenAPI nullable property set to true and the spVal and tempVals attributes defined as removable. +type AfRoutingRequirementRm struct { + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` + SpVal *SpatialValidityRm `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` + TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` + UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` +} diff --git a/models/models/model_af_sig_protocol.go b/models/models/model_af_sig_protocol.go new file mode 100644 index 00000000..d0546267 --- /dev/null +++ b/models/models/model_af_sig_protocol.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AfSigProtocol string + +// List of AfSigProtocol +const ( + AfSigProtocol_NO_INFORMATION AfSigProtocol = "NO_INFORMATION" + AfSigProtocol_SIP AfSigProtocol = "SIP" +) diff --git a/models/models/model_affinity_anti_affinity.go b/models/models/model_affinity_anti_affinity.go new file mode 100644 index 00000000..61886add --- /dev/null +++ b/models/models/model_affinity_anti_affinity.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AffinityAntiAffinity struct { + AffinityEAS []string `json:"affinityEAS,omitempty" yaml:"affinityEAS" bson:"affinityEAS,omitempty"` + AntiAffinityEAS []string `json:"antiAffinityEAS,omitempty" yaml:"antiAffinityEAS" bson:"antiAffinityEAS,omitempty"` +} diff --git a/models/models/model_aggregation_level.go b/models/models/model_aggregation_level.go new file mode 100644 index 00000000..02742d5c --- /dev/null +++ b/models/models/model_aggregation_level.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AggregationLevel string + +// List of AggregationLevel +const ( + AggregationLevel_UE AggregationLevel = "UE" + AggregationLevel_AOI AggregationLevel = "AOI" +) diff --git a/models/models/model_alert_limit.go b/models/models/model_alert_limit.go new file mode 100644 index 00000000..44c4faf3 --- /dev/null +++ b/models/models/model_alert_limit.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Alert Limit. +type AlertLimit struct { + // Contains the Horizontal Protection Level + HorizontalProtectionLevel int32 `json:"horizontalProtectionLevel" yaml:"horizontalProtectionLevel" bson:"horizontalProtectionLevel,omitempty"` + // Contains the Vertical Protection Level + VerticalProtectionLevel int32 `json:"verticalProtectionLevel,omitempty" yaml:"verticalProtectionLevel" bson:"verticalProtectionLevel,omitempty"` +} diff --git a/models/models/model_allowed_mbs_info.go b/models/models/model_allowed_mbs_info.go new file mode 100644 index 00000000..6a869d93 --- /dev/null +++ b/models/models/model_allowed_mbs_info.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AllowedMbsInfo struct { + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/models/model_allowed_mtc_provider_info.go b/models/models/model_allowed_mtc_provider_info.go new file mode 100644 index 00000000..079b1756 --- /dev/null +++ b/models/models/model_allowed_mtc_provider_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AllowedMtcProviderInfo struct { + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/models/model_allowed_nssai.go b/models/models/model_allowed_nssai.go new file mode 100644 index 00000000..0d2e3b9c --- /dev/null +++ b/models/models/model_allowed_nssai.go @@ -0,0 +1,19 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an array of allowed S-NSSAI that constitute the allowed NSSAI information for the authorized network slice information +type AllowedNssai struct { + AllowedSnssaiList []AllowedSnssai `json:"allowedSnssaiList" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_allowed_snssai.go b/models/models/model_allowed_snssai.go new file mode 100644 index 00000000..349786aa --- /dev/null +++ b/models/models/model_allowed_snssai.go @@ -0,0 +1,20 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the authorized S-NSSAI and optional mapped home S-NSSAI and network slice instance information +type AllowedSnssai struct { + AllowedSnssai *Snssai `json:"allowedSnssai" yaml:"allowedSnssai" bson:"allowedSnssai,omitempty"` + NsiInformationList []NsiInformation `json:"nsiInformationList,omitempty" yaml:"nsiInformationList" bson:"nsiInformationList,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` +} diff --git a/models/models/model_alternative_qos_profile.go b/models/models/model_alternative_qos_profile.go new file mode 100644 index 00000000..57f4c6f7 --- /dev/null +++ b/models/models/model_alternative_qos_profile.go @@ -0,0 +1,26 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Alternative QoS Profile +type AlternativeQosProfile struct { + Index int32 `json:"index" yaml:"index" bson:"index,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrRate string `json:"packetErrRate,omitempty" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` +} diff --git a/models/models/model_alternative_service_requirements_data.go b/models/models/model_alternative_service_requirements_data.go new file mode 100644 index 00000000..4f748633 --- /dev/null +++ b/models/models/model_alternative_service_requirements_data.go @@ -0,0 +1,25 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an alternative QoS related parameter set. +type AlternativeServiceRequirementsData struct { + // Reference to this alternative QoS related parameter set. + AltQosParamSetRef string `json:"altQosParamSetRef" yaml:"altQosParamSetRef" bson:"altQosParamSetRef,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` +} diff --git a/models/models/model_am_event.go b/models/models/model_am_event.go new file mode 100644 index 00000000..9c2aeb6d --- /dev/null +++ b/models/models/model_am_event.go @@ -0,0 +1,21 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmEvent string + +// List of AmEvent +const ( + AmEvent_SAC_CH AmEvent = "SAC_CH" + AmEvent_PDUID_CH AmEvent = "PDUID_CH" +) diff --git a/models/models/model_am_event_data.go b/models/models/model_am_event_data.go new file mode 100644 index 00000000..5e44c47d --- /dev/null +++ b/models/models/model_am_event_data.go @@ -0,0 +1,30 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// This data type contains the event identifier and the related event reporting information. +type AmEventData struct { + Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/models/model_am_event_notification.go b/models/models/model_am_event_notification.go new file mode 100644 index 00000000..f418fb8c --- /dev/null +++ b/models/models/model_am_event_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the notification of a subscription. +type AmEventNotification struct { + Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` + PduidInfo *PduidInformation `json:"pduidInfo,omitempty" yaml:"pduidInfo" bson:"pduidInfo,omitempty"` +} diff --git a/models/models/model_am_events_notification.go b/models/models/model_am_events_notification.go new file mode 100644 index 00000000..15b30377 --- /dev/null +++ b/models/models/model_am_events_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the notification about the events occurred within an Individual Application AM Context resource. +type AmEventsNotification struct { + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/models/model_am_events_subsc_data.go b/models/models/model_am_events_subsc_data.go new file mode 100644 index 00000000..e206dca7 --- /dev/null +++ b/models/models/model_am_events_subsc_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents the AM Policy Events Subscription subresource and identifies the events the application subscribes to. +type AmEventsSubscData struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/models/model_am_events_subsc_data_rm.go b/models/models/model_am_events_subsc_data_rm.go new file mode 100644 index 00000000..23d3fdab --- /dev/null +++ b/models/models/model_am_events_subsc_data_rm.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the AmEventsSubscData but with the OpenAPI nullable property set to true. +type AmEventsSubscDataRm struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri,omitempty" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/models/model_am_events_subsc_resp_data.go b/models/models/model_am_events_subsc_resp_data.go new file mode 100644 index 00000000..438bf102 --- /dev/null +++ b/models/models/model_am_events_subsc_resp_data.go @@ -0,0 +1,23 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the events the application subscribes to within an AM Policy Events Subscription subresource data. It may contain the notification of the already met events. +type AmEventsSubscRespData struct { + // String providing an URI formatted according to RFC 3986. + EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` + Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/models/model_am_influ_data.go b/models/models/model_am_influ_data.go new file mode 100644 index 00000000..d1af0c49 --- /dev/null +++ b/models/models/model_am_influ_data.go @@ -0,0 +1,46 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the AM Influence Data. +type AmInfluData struct { + // Identifies one or more applications. + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + // Identifies one or more DNN, S-NSSAI combinations. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Indicates whether the data is applicable for any UE. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // indicating a time in seconds. + PolicyDuration int32 `json:"policyDuration,omitempty" yaml:"policyDuration" bson:"policyDuration,omitempty"` + // List of AM related events for which a subscription is required. + EvSubs []AmInfluEvent `json:"evSubs,omitempty" yaml:"evSubs" bson:"evSubs,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + ThruReq bool `json:"thruReq,omitempty" yaml:"thruReq" bson:"thruReq,omitempty"` + // Indicates the service area coverage requirement. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_am_influ_event.go b/models/models/model_am_influ_event.go new file mode 100644 index 00000000..9f3d9b34 --- /dev/null +++ b/models/models/model_am_influ_event.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmInfluEvent string + +// List of AmInfluEvent +const ( + AmInfluEvent_SERVICE_AREA_COVRG_OUTCOME AmInfluEvent = "SERVICE_AREA_COVRG_OUTCOME" +) diff --git a/models/models/model_am_policy_data.go b/models/models/model_am_policy_data.go new file mode 100644 index 00000000..6d1f2028 --- /dev/null +++ b/models/models/model_am_policy_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the AM policy data for a given subscriber. +type AmPolicyData struct { + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` +} diff --git a/models/models/model_am_requested_value_rep.go b/models/models/model_am_requested_value_rep.go new file mode 100644 index 00000000..84c49685 --- /dev/null +++ b/models/models/model_am_requested_value_rep.go @@ -0,0 +1,26 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the current applicable values corresponding to the policy control request triggers. +type AmRequestedValueRep struct { + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` +} diff --git a/models/models/model_am_termination_cause.go b/models/models/model_am_termination_cause.go new file mode 100644 index 00000000..466b4219 --- /dev/null +++ b/models/models/model_am_termination_cause.go @@ -0,0 +1,22 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmTerminationCause string + +// List of AmTerminationCause +const ( + AmTerminationCause_UE_DEREGISTERED AmTerminationCause = "UE_DEREGISTERED" + AmTerminationCause_UNSPECIFIED AmTerminationCause = "UNSPECIFIED" + AmTerminationCause_INSUFFICIENT_RESOURCES AmTerminationCause = "INSUFFICIENT_RESOURCES" +) diff --git a/models/models/model_am_termination_info.go b/models/models/model_am_termination_info.go new file mode 100644 index 00000000..c9d122e2 --- /dev/null +++ b/models/models/model_am_termination_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Includes information related to the termination of the Individual Application AM Context resource. +type AmTerminationInfo struct { + // Contains the Individual application AM context resource identifier related to the termination notification. + AppAmContextId string `json:"appAmContextId" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + TermCause AmTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` +} diff --git a/models/models/model_ambr.go b/models/models/model_ambr.go new file mode 100644 index 00000000..d0c3f017 --- /dev/null +++ b/models/models/model_ambr.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the maximum aggregated uplink and downlink bit rates. +type Ambr struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` +} diff --git a/models/models/model_ambr_rm.go b/models/models/model_ambr_rm.go new file mode 100644 index 00000000..83259b79 --- /dev/null +++ b/models/models/model_ambr_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmbrRm struct { +} diff --git a/models/models/model_amf3_gpp_access_registration.go b/models/models/model_amf3_gpp_access_registration.go new file mode 100644 index 00000000..4336f157 --- /dev/null +++ b/models/models/model_amf3_gpp_access_registration.go @@ -0,0 +1,64 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Amf3GppAccessRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` + InitialRegistrationInd bool `json:"initialRegistrationInd,omitempty" yaml:"initialRegistrationInd" bson:"initialRegistrationInd,omitempty"` + EmergencyRegistrationInd bool `json:"emergencyRegistrationInd,omitempty" yaml:"emergencyRegistrationInd" bson:"emergencyRegistrationInd,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + DrFlag bool `json:"drFlag,omitempty" yaml:"drFlag" bson:"drFlag,omitempty"` + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` + // String providing an URI formatted according to RFC 3986. + AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UeReachableInd UeReachableInd `json:"ueReachableInd,omitempty" yaml:"ueReachableInd" bson:"ueReachableInd,omitempty"` + ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` + AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` + SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` +} diff --git a/models/models/model_amf3_gpp_access_registration_modification.go b/models/models/model_amf3_gpp_access_registration_modification.go new file mode 100644 index 00000000..9ec0535a --- /dev/null +++ b/models/models/model_amf3_gpp_access_registration_modification.go @@ -0,0 +1,25 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Amf3GppAccessRegistrationModification struct { + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` + UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` +} diff --git a/models/models/model_amf_communication_ec_restriction_data_wb.go b/models/models/model_amf_communication_ec_restriction_data_wb.go new file mode 100644 index 00000000..667e2049 --- /dev/null +++ b/models/models/model_amf_communication_ec_restriction_data_wb.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Enhanced Coverage Restriction Data for WB-N1 mode +type AmfCommunicationEcRestrictionDataWb struct { + EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` + EcModeBRestricted bool `json:"ecModeBRestricted" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` +} diff --git a/models/models/model_amf_communication_ngap_ie_type.go b/models/models/model_amf_communication_ngap_ie_type.go new file mode 100644 index 00000000..b78c62e2 --- /dev/null +++ b/models/models/model_amf_communication_ngap_ie_type.go @@ -0,0 +1,37 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfCommunicationNgapIeType string + +// List of AmfCommunicationNgapIeType +const ( + AmfCommunicationNgapIeType_PDU_RES_SETUP_REQ AmfCommunicationNgapIeType = "PDU_RES_SETUP_REQ" + AmfCommunicationNgapIeType_PDU_RES_REL_CMD AmfCommunicationNgapIeType = "PDU_RES_REL_CMD" + AmfCommunicationNgapIeType_PDU_RES_MOD_REQ AmfCommunicationNgapIeType = "PDU_RES_MOD_REQ" + AmfCommunicationNgapIeType_HANDOVER_CMD AmfCommunicationNgapIeType = "HANDOVER_CMD" + AmfCommunicationNgapIeType_HANDOVER_REQUIRED AmfCommunicationNgapIeType = "HANDOVER_REQUIRED" + AmfCommunicationNgapIeType_HANDOVER_PREP_FAIL AmfCommunicationNgapIeType = "HANDOVER_PREP_FAIL" + AmfCommunicationNgapIeType_SRC_TO_TAR_CONTAINER AmfCommunicationNgapIeType = "SRC_TO_TAR_CONTAINER" + AmfCommunicationNgapIeType_TAR_TO_SRC_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_CONTAINER" + AmfCommunicationNgapIeType_TAR_TO_SRC_FAIL_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_FAIL_CONTAINER" + AmfCommunicationNgapIeType_RAN_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "RAN_STATUS_TRANS_CONTAINER" + AmfCommunicationNgapIeType_SON_CONFIG_TRANSFER AmfCommunicationNgapIeType = "SON_CONFIG_TRANSFER" + AmfCommunicationNgapIeType_NRPPA_PDU AmfCommunicationNgapIeType = "NRPPA_PDU" + AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY" + AmfCommunicationNgapIeType_RIM_INFO_TRANSFER AmfCommunicationNgapIeType = "RIM_INFO_TRANSFER" + AmfCommunicationNgapIeType_SECONDARY_RAT_USAGE AmfCommunicationNgapIeType = "SECONDARY_RAT_USAGE" + AmfCommunicationNgapIeType_PC5_QOS_PARA AmfCommunicationNgapIeType = "PC5_QOS_PARA" + AmfCommunicationNgapIeType_EARLY_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "EARLY_STATUS_TRANS_CONTAINER" + AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY_FOR_PAGING AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY_FOR_PAGING" +) diff --git a/models/models/model_amf_communication_release_cause.go b/models/models/model_amf_communication_release_cause.go new file mode 100644 index 00000000..eb301a41 --- /dev/null +++ b/models/models/model_amf_communication_release_cause.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfCommunicationReleaseCause string + +// List of AmfCommunicationReleaseCause +const ( + AmfCommunicationReleaseCause_SNPN_SNPN_MOBILITY AmfCommunicationReleaseCause = "SNPN_SNPN_MOBILITY" + AmfCommunicationReleaseCause_NO_HR_AGREEMENT AmfCommunicationReleaseCause = "NO_HR_AGREEMENT" + AmfCommunicationReleaseCause_UNSPECIFIED AmfCommunicationReleaseCause = "UNSPECIFIED" +) diff --git a/models/models/model_amf_communication_subscription_data.go b/models/models/model_amf_communication_subscription_data.go new file mode 100644 index 00000000..921fb1e4 --- /dev/null +++ b/models/models/model_amf_communication_subscription_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within an AMF Status Change Subscription request and response +type AmfCommunicationSubscriptionData struct { + // String providing an URI formatted according to RFC 3986. + AmfStatusUri string `json:"amfStatusUri" yaml:"amfStatusUri" bson:"amfStatusUri,omitempty"` + GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` +} diff --git a/models/models/model_amf_cond.go b/models/models/model_amf_cond.go new file mode 100644 index 00000000..76ba54e5 --- /dev/null +++ b/models/models/model_amf_cond.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of AMFs, based on AMF Set Id and/or AMF Region Id +type AmfCond struct { + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` +} diff --git a/models/models/model_amf_create_event_subscription.go b/models/models/model_amf_create_event_subscription.go new file mode 100644 index 00000000..02109aec --- /dev/null +++ b/models/models/model_amf_create_event_subscription.go @@ -0,0 +1,21 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a create AMF event subscription request +type AmfCreateEventSubscription struct { + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` +} diff --git a/models/models/model_amf_created_event_subscription.go b/models/models/model_amf_created_event_subscription.go new file mode 100644 index 00000000..288be2e5 --- /dev/null +++ b/models/models/model_amf_created_event_subscription.go @@ -0,0 +1,23 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a create AMF event subscription response +type AmfCreatedEventSubscription struct { + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_amf_dereg_info.go b/models/models/model_amf_dereg_info.go new file mode 100644 index 00000000..d8c8b418 --- /dev/null +++ b/models/models/model_amf_dereg_info.go @@ -0,0 +1,17 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfDeregInfo struct { + DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` +} diff --git a/models/models/model_amf_event.go b/models/models/model_amf_event.go new file mode 100644 index 00000000..df64408a --- /dev/null +++ b/models/models/model_amf_event.go @@ -0,0 +1,46 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Describes an event to be subscribed +type AmfEvent struct { + Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` + AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` + LocationFilterList []LocationFilter `json:"locationFilterList,omitempty" yaml:"locationFilterList" bson:"locationFilterList,omitempty"` + RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` + TrafficDescriptorList []AmfEventExposureTrafficDescriptor `json:"trafficDescriptorList,omitempty" yaml:"trafficDescriptorList" bson:"trafficDescriptorList,omitempty"` + ReportUeReachable bool `json:"reportUeReachable,omitempty" yaml:"reportUeReachable" bson:"reportUeReachable,omitempty"` + ReachabilityFilter ReachabilityFilter `json:"reachabilityFilter,omitempty" yaml:"reachabilityFilter" bson:"reachabilityFilter,omitempty"` + UdmDetectInd bool `json:"udmDetectInd,omitempty" yaml:"udmDetectInd" bson:"udmDetectInd,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList,omitempty" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + TargetArea *TargetArea `json:"targetArea,omitempty" yaml:"targetArea" bson:"targetArea,omitempty"` + SnssaiFilter []ExtSnssai `json:"snssaiFilter,omitempty" yaml:"snssaiFilter" bson:"snssaiFilter,omitempty"` + UeInAreaFilter *UeInAreaFilter `json:"ueInAreaFilter,omitempty" yaml:"ueInAreaFilter" bson:"ueInAreaFilter,omitempty"` + // indicating a time in seconds. + MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NextReport *time.Time `json:"nextReport,omitempty" yaml:"nextReport" bson:"nextReport,omitempty"` + IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` + DispersionArea *DispersionArea `json:"dispersionArea,omitempty" yaml:"dispersionArea" bson:"dispersionArea,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NextPeriodicReportTime *time.Time `json:"nextPeriodicReportTime,omitempty" yaml:"nextPeriodicReportTime" bson:"nextPeriodicReportTime,omitempty"` +} diff --git a/models/models/model_amf_event_area.go b/models/models/model_amf_event_area.go new file mode 100644 index 00000000..b54df414 --- /dev/null +++ b/models/models/model_amf_event_area.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an area to be monitored by an AMF event +type AmfEventArea struct { + PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` + LadnInfo *LadnInfo `json:"ladnInfo,omitempty" yaml:"ladnInfo" bson:"ladnInfo,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` +} diff --git a/models/models/model_amf_event_exposure_traffic_descriptor.go b/models/models/model_amf_event_exposure_traffic_descriptor.go new file mode 100644 index 00000000..d65978ee --- /dev/null +++ b/models/models/model_amf_event_exposure_traffic_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Traffic Descriptor +type AmfEventExposureTrafficDescriptor struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` +} diff --git a/models/models/model_amf_event_mode.go b/models/models/model_amf_event_mode.go new file mode 100644 index 00000000..967dbe17 --- /dev/null +++ b/models/models/model_amf_event_mode.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Describes how the reports shall be generated by a subscribed event +type AmfEventMode struct { + Trigger AmfEventTrigger `json:"trigger" yaml:"trigger" bson:"trigger,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + PartitioningCriteria []PartitioningCriteria `json:"partitioningCriteria,omitempty" yaml:"partitioningCriteria" bson:"partitioningCriteria,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/models/model_amf_event_notification.go b/models/models/model_amf_event_notification.go new file mode 100644 index 00000000..775ca9d0 --- /dev/null +++ b/models/models/model_amf_event_notification.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a AMF Event Notification request +type AmfEventNotification struct { + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` + EventSubsSyncInfo *AmfEventSubsSyncInfo `json:"eventSubsSyncInfo,omitempty" yaml:"eventSubsSyncInfo" bson:"eventSubsSyncInfo,omitempty"` +} diff --git a/models/models/model_amf_event_report.go b/models/models/model_amf_event_report.go new file mode 100644 index 00000000..2e7e6d5c --- /dev/null +++ b/models/models/model_amf_event_report.go @@ -0,0 +1,59 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a report triggered by a subscribed event type +type AmfEventReport struct { + Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` + State *AmfEventState `json:"state" yaml:"state" bson:"state,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` + RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + RmInfoList []RmInfo `json:"rmInfoList,omitempty" yaml:"rmInfoList" bson:"rmInfoList,omitempty"` + CmInfoList []CmInfo `json:"cmInfoList,omitempty" yaml:"cmInfoList" bson:"cmInfoList,omitempty"` + Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` + CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason,omitempty" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + Var5gsUserStateList []Model5GsUserStateInfo `json:"5gsUserStateList,omitempty" yaml:"5gsUserStateList" bson:"5gsUserStateList,omitempty"` + TypeCode string `json:"typeCode,omitempty" yaml:"typeCode" bson:"typeCode,omitempty"` + RegistrationNumber int32 `json:"registrationNumber,omitempty" yaml:"registrationNumber" bson:"registrationNumber,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` + UeIdExt []UeIdExt `json:"ueIdExt,omitempty" yaml:"ueIdExt" bson:"ueIdExt,omitempty"` + SnssaiTaiList []SnssaiTaiMapping `json:"snssaiTaiList,omitempty" yaml:"snssaiTaiList" bson:"snssaiTaiList,omitempty"` + IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` + UeAccessBehaviorTrends []UeAccessBehaviorReportItem `json:"ueAccessBehaviorTrends,omitempty" yaml:"ueAccessBehaviorTrends" bson:"ueAccessBehaviorTrends,omitempty"` + UeLocationTrends []UeLocationTrendsReportItem `json:"ueLocationTrends,omitempty" yaml:"ueLocationTrends" bson:"ueLocationTrends,omitempty"` + MmTransLocationReportList []MmTransactionLocationReportItem `json:"mmTransLocationReportList,omitempty" yaml:"mmTransLocationReportList" bson:"mmTransLocationReportList,omitempty"` + MmTransSliceReportList []MmTransactionSliceReportItem `json:"mmTransSliceReportList,omitempty" yaml:"mmTransSliceReportList" bson:"mmTransSliceReportList,omitempty"` +} diff --git a/models/models/model_amf_event_state.go b/models/models/model_amf_event_state.go new file mode 100644 index 00000000..02c02f16 --- /dev/null +++ b/models/models/model_amf_event_state.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the state of a subscribed event +type AmfEventState struct { + Active bool `json:"active" yaml:"active" bson:"active,omitempty"` + RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` + // indicating a time in seconds. + RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` +} diff --git a/models/models/model_amf_event_subs_sync_info.go b/models/models/model_amf_event_subs_sync_info.go new file mode 100644 index 00000000..02497827 --- /dev/null +++ b/models/models/model_amf_event_subs_sync_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF Event Subscriptions Information for synchronization +type AmfEventSubsSyncInfo struct { + SubscriptionList []AmfEventSubscriptionInfo `json:"subscriptionList" yaml:"subscriptionList" bson:"subscriptionList,omitempty"` +} diff --git a/models/models/model_amf_event_subscription.go b/models/models/model_amf_event_subscription.go new file mode 100644 index 00000000..20a62e7c --- /dev/null +++ b/models/models/model_amf_event_subscription.go @@ -0,0 +1,41 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an individual event subscription resource on AMF +type AmfEventSubscription struct { + EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` + Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` + SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` +} diff --git a/models/models/model_amf_event_subscription_add_info.go b/models/models/model_amf_event_subscription_add_info.go new file mode 100644 index 00000000..c97d6c68 --- /dev/null +++ b/models/models/model_amf_event_subscription_add_info.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information received for an AMF event subscription, e.g. binding indications +type AmfEventSubscriptionAddInfo struct { + BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` + SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` + EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` + NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` + // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. + AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` +} diff --git a/models/models/model_amf_event_subscription_info.go b/models/models/model_amf_event_subscription_info.go new file mode 100644 index 00000000..edc4979b --- /dev/null +++ b/models/models/model_amf_event_subscription_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual AMF Event Subscription Information +type AmfEventSubscriptionInfo struct { + // String providing an URI formatted according to RFC 3986. + SubId string `json:"subId" yaml:"subId" bson:"subId,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + RefIdList []int32 `json:"refIdList" yaml:"refIdList" bson:"refIdList,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSubId string `json:"oldSubId,omitempty" yaml:"oldSubId" bson:"oldSubId,omitempty"` +} diff --git a/models/models/model_amf_event_trigger.go b/models/models/model_amf_event_trigger.go new file mode 100644 index 00000000..c6f4db92 --- /dev/null +++ b/models/models/model_amf_event_trigger.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfEventTrigger string + +// List of AmfEventTrigger +const ( + AmfEventTrigger_ONE_TIME AmfEventTrigger = "ONE_TIME" + AmfEventTrigger_CONTINUOUS AmfEventTrigger = "CONTINUOUS" + AmfEventTrigger_PERIODIC AmfEventTrigger = "PERIODIC" +) diff --git a/models/models/model_amf_event_type.go b/models/models/model_amf_event_type.go new file mode 100644 index 00000000..400dd0d0 --- /dev/null +++ b/models/models/model_amf_event_type.go @@ -0,0 +1,39 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfEventType string + +// List of AmfEventType +const ( + AmfEventType_LOCATION_REPORT AmfEventType = "LOCATION_REPORT" + AmfEventType_PRESENCE_IN_AOI_REPORT AmfEventType = "PRESENCE_IN_AOI_REPORT" + AmfEventType_TIMEZONE_REPORT AmfEventType = "TIMEZONE_REPORT" + AmfEventType_ACCESS_TYPE_REPORT AmfEventType = "ACCESS_TYPE_REPORT" + AmfEventType_REGISTRATION_STATE_REPORT AmfEventType = "REGISTRATION_STATE_REPORT" + AmfEventType_CONNECTIVITY_STATE_REPORT AmfEventType = "CONNECTIVITY_STATE_REPORT" + AmfEventType_REACHABILITY_REPORT AmfEventType = "REACHABILITY_REPORT" + AmfEventType_COMMUNICATION_FAILURE_REPORT AmfEventType = "COMMUNICATION_FAILURE_REPORT" + AmfEventType_UES_IN_AREA_REPORT AmfEventType = "UES_IN_AREA_REPORT" + AmfEventType_SUBSCRIPTION_ID_CHANGE AmfEventType = "SUBSCRIPTION_ID_CHANGE" + AmfEventType_SUBSCRIPTION_ID_ADDITION AmfEventType = "SUBSCRIPTION_ID_ADDITION" + AmfEventType_LOSS_OF_CONNECTIVITY AmfEventType = "LOSS_OF_CONNECTIVITY" + AmfEventType__5_GS_USER_STATE_REPORT AmfEventType = "5GS_USER_STATE_REPORT" + AmfEventType_AVAILABILITY_AFTER_DDN_FAILURE AmfEventType = "AVAILABILITY_AFTER_DDN_FAILURE" + AmfEventType_TYPE_ALLOCATION_CODE_REPORT AmfEventType = "TYPE_ALLOCATION_CODE_REPORT" + AmfEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT AmfEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" + AmfEventType_SNSSAI_TA_MAPPING_REPORT AmfEventType = "SNSSAI_TA_MAPPING_REPORT" + AmfEventType_UE_LOCATION_TRENDS AmfEventType = "UE_LOCATION_TRENDS" + AmfEventType_UE_ACCESS_BEHAVIOR_TRENDS AmfEventType = "UE_ACCESS_BEHAVIOR_TRENDS" + AmfEventType_UE_MM_TRANSACTION_REPORT AmfEventType = "UE_MM_TRANSACTION_REPORT" +) diff --git a/models/models/model_amf_location_data.go b/models/models/model_amf_location_data.go new file mode 100644 index 00000000..e911ae76 --- /dev/null +++ b/models/models/model_amf_location_data.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the AMF serving node +type AmfLocationData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfAddress string `json:"amfAddress" yaml:"amfAddress" bson:"amfAddress,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + AmfLocation *NrLocation `json:"amfLocation,omitempty" yaml:"amfLocation" bson:"amfLocation,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfAddress string `json:"smsfAddress,omitempty" yaml:"smsfAddress" bson:"smsfAddress,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_amf_location_location_event.go b/models/models/model_amf_location_location_event.go new file mode 100644 index 00000000..1beec7dc --- /dev/null +++ b/models/models/model_amf_location_location_event.go @@ -0,0 +1,25 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfLocationLocationEvent string + +// List of AmfLocationLocationEvent +const ( + AmfLocationLocationEvent_EMERGENCY_CALL_ORIGINATION AmfLocationLocationEvent = "EMERGENCY_CALL_ORIGINATION" + AmfLocationLocationEvent_EMERGENCY_CALL_RELEASE AmfLocationLocationEvent = "EMERGENCY_CALL_RELEASE" + AmfLocationLocationEvent_EMERGENCY_CALL_HANDOVER AmfLocationLocationEvent = "EMERGENCY_CALL_HANDOVER" + AmfLocationLocationEvent_ACTIVATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION" + AmfLocationLocationEvent_UE_MOBILITY_FOR_DEFERRED_LOCATION AmfLocationLocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION" + AmfLocationLocationEvent_CANCELLATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION" +) diff --git a/models/models/model_amf_location_location_type.go b/models/models/model_amf_location_location_type.go new file mode 100644 index 00000000..3ae49deb --- /dev/null +++ b/models/models/model_amf_location_location_type.go @@ -0,0 +1,23 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfLocationLocationType string + +// List of AmfLocationLocationType +const ( + AmfLocationLocationType_CURRENT_LOCATION AmfLocationLocationType = "CURRENT_LOCATION" + AmfLocationLocationType_CURRENT_OR_LAST_KNOWN_LOCATION AmfLocationLocationType = "CURRENT_OR_LAST_KNOWN_LOCATION" + AmfLocationLocationType_NOTIFICATION_VERIFICATION_ONLY AmfLocationLocationType = "NOTIFICATION_VERIFICATION_ONLY" + AmfLocationLocationType_DEFERRED_LOCATION AmfLocationLocationType = "DEFERRED_LOCATION" +) diff --git a/models/models/model_amf_mbs_broadcast_context_update_req_data.go b/models/models/model_amf_mbs_broadcast_context_update_req_data.go new file mode 100644 index 00000000..31b97e7a --- /dev/null +++ b/models/models/model_amf_mbs_broadcast_context_update_req_data.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextUpdate Request +type AmfMbsBroadcastContextUpdateReqData struct { + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo,omitempty" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + RanIdList []GlobalRanNodeId `json:"ranIdList,omitempty" yaml:"ranIdList" bson:"ranIdList,omitempty"` + NoNgapSignallingInd bool `json:"noNgapSignallingInd,omitempty" yaml:"noNgapSignallingInd" bson:"noNgapSignallingInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + N2MbsInfoChangeInd bool `json:"n2MbsInfoChangeInd,omitempty" yaml:"n2MbsInfoChangeInd" bson:"n2MbsInfoChangeInd,omitempty"` +} diff --git a/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go b/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go new file mode 100644 index 00000000..92784fc9 --- /dev/null +++ b/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextUpdate Response +type AmfMbsBroadcastContextUpdateRspData struct { + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` +} diff --git a/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go b/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go new file mode 100644 index 00000000..f7df55f3 --- /dev/null +++ b/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N2 MBS Session Management information +type AmfMbsBroadcastN2MbsSmInfo struct { + NgapIeType AmfMbsBroadcastNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` + RanId *GlobalRanNodeId `json:"ranId,omitempty" yaml:"ranId" bson:"ranId,omitempty"` +} diff --git a/models/models/model_amf_mbs_broadcast_ngap_ie_type.go b/models/models/model_amf_mbs_broadcast_ngap_ie_type.go new file mode 100644 index 00000000..4afc364a --- /dev/null +++ b/models/models/model_amf_mbs_broadcast_ngap_ie_type.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfMbsBroadcastNgapIeType string + +// List of AmfMBSBroadcastNgapIeType +const ( + AmfMbsBroadcastNgapIeType_REQ AmfMbsBroadcastNgapIeType = "MBS_SES_REQ" + AmfMbsBroadcastNgapIeType_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_RSP" + AmfMbsBroadcastNgapIeType_FAIL AmfMbsBroadcastNgapIeType = "MBS_SES_FAIL" + AmfMbsBroadcastNgapIeType_REL_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_REL_RSP" +) diff --git a/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go b/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go new file mode 100644 index 00000000..d80617da --- /dev/null +++ b/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N2 MBS Session Management information +type AmfMbsCommunicationN2MbsSmInfo struct { + NgapIeType MbsNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` +} diff --git a/models/models/model_amf_mt_ue_info.go b/models/models/model_amf_mt_ue_info.go new file mode 100644 index 00000000..26a04cb8 --- /dev/null +++ b/models/models/model_amf_mt_ue_info.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// list of UEs requested to be made reachable for the MBS Session +type AmfMtUeInfo struct { + UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` +} diff --git a/models/models/model_amf_non3_gpp_access_registration.go b/models/models/model_amf_non3_gpp_access_registration.go new file mode 100644 index 00000000..c64e2bc1 --- /dev/null +++ b/models/models/model_amf_non3_gpp_access_registration.go @@ -0,0 +1,57 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AmfNon3GppAccessRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` + // String providing an URI formatted according to RFC 3986. + AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` + AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` +} diff --git a/models/models/model_amf_non3_gpp_access_registration_modification.go b/models/models/model_amf_non3_gpp_access_registration_modification.go new file mode 100644 index 00000000..0cdc98cc --- /dev/null +++ b/models/models/model_amf_non3_gpp_access_registration_modification.go @@ -0,0 +1,22 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AmfNon3GppAccessRegistrationModification struct { + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` +} diff --git a/models/models/model_amf_status_change_notification.go b/models/models/model_amf_status_change_notification.go new file mode 100644 index 00000000..0edb404f --- /dev/null +++ b/models/models/model_amf_status_change_notification.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within an AMF Status Change Notification request +type AmfStatusChangeNotification struct { + AmfStatusInfoList []AmfStatusInfo `json:"amfStatusInfoList" yaml:"amfStatusInfoList" bson:"amfStatusInfoList,omitempty"` +} diff --git a/models/models/model_amf_status_info.go b/models/models/model_amf_status_info.go new file mode 100644 index 00000000..5752beeb --- /dev/null +++ b/models/models/model_amf_status_info.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF Status Information +type AmfStatusInfo struct { + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + StatusChange StatusChange `json:"statusChange" yaml:"statusChange" bson:"statusChange,omitempty"` + // Fully Qualified Domain Name + TargetAmfRemoval string `json:"targetAmfRemoval,omitempty" yaml:"targetAmfRemoval" bson:"targetAmfRemoval,omitempty"` + // Fully Qualified Domain Name + TargetAmfFailure string `json:"targetAmfFailure,omitempty" yaml:"targetAmfFailure" bson:"targetAmfFailure,omitempty"` +} diff --git a/models/models/model_amf_subscription_info.go b/models/models/model_amf_subscription_info.go new file mode 100644 index 00000000..d641a221 --- /dev/null +++ b/models/models/model_amf_subscription_info.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information the UDR stores and retrieves related to active subscriptions at the AMF(s). +type AmfSubscriptionInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/models/model_amf_update_event_option_item.go b/models/models/model_amf_update_event_option_item.go new file mode 100644 index 00000000..2b22d636 --- /dev/null +++ b/models/models/model_amf_update_event_option_item.go @@ -0,0 +1,26 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Document describing the modifications to AMF event subscription options +type AmfUpdateEventOptionItem struct { + Op string `json:"op" yaml:"op" bson:"op,omitempty"` + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Value *time.Time `json:"value" yaml:"value" bson:"value,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/models/model_amf_update_event_subscription_item.go b/models/models/model_amf_update_event_subscription_item.go new file mode 100644 index 00000000..1f9f8b02 --- /dev/null +++ b/models/models/model_amf_update_event_subscription_item.go @@ -0,0 +1,25 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Document describing the modification(s) to an AMF Event Subscription +type AmfUpdateEventSubscriptionItem struct { + Op string `json:"op" yaml:"op" bson:"op,omitempty"` + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + Value *AmfEvent `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` + PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` +} diff --git a/models/models/model_amf_updated_event_subscription.go b/models/models/model_amf_updated_event_subscription.go new file mode 100644 index 00000000..da54ed47 --- /dev/null +++ b/models/models/model_amf_updated_event_subscription.go @@ -0,0 +1,19 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a successful update on an AMF Event Subscription +type AmfUpdatedEventSubscription struct { + Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` + ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` +} diff --git a/models/models/model_an_gw_address.go b/models/models/model_an_gw_address.go new file mode 100644 index 00000000..a845ce9e --- /dev/null +++ b/models/models/model_an_gw_address.go @@ -0,0 +1,20 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the address of the access network gateway control node. +type AnGwAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnGwIpv4Addr string `json:"anGwIpv4Addr,omitempty" yaml:"anGwIpv4Addr" bson:"anGwIpv4Addr,omitempty"` + AnGwIpv6Addr string `json:"anGwIpv6Addr,omitempty" yaml:"anGwIpv6Addr" bson:"anGwIpv6Addr,omitempty"` +} diff --git a/models/models/model_an_node_type.go b/models/models/model_an_node_type.go new file mode 100644 index 00000000..c4a4eebc --- /dev/null +++ b/models/models/model_an_node_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnNodeType string + +// List of AnNodeType +const ( + AnNodeType_GNB AnNodeType = "GNB" + AnNodeType_NG_ENB AnNodeType = "NG_ENB" +) diff --git a/models/models/model_analytics_context_identifier.go b/models/models/model_analytics_context_identifier.go new file mode 100644 index 00000000..80d47c83 --- /dev/null +++ b/models/models/model_analytics_context_identifier.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about available analytics contexts. +type AnalyticsContextIdentifier struct { + // The identifier of a subscription. + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // List of analytics types for which NF related analytics contexts can be retrieved. + NfAnaCtxts []NwdafEvent `json:"nfAnaCtxts,omitempty" yaml:"nfAnaCtxts" bson:"nfAnaCtxts,omitempty"` + // List of objects that indicate for which SUPI and analytics types combinations analytics context can be retrieved. + UeAnaCtxts []UeAnalyticsContextDescriptor `json:"ueAnaCtxts,omitempty" yaml:"ueAnaCtxts" bson:"ueAnaCtxts,omitempty"` +} diff --git a/models/models/model_analytics_metadata.go b/models/models/model_analytics_metadata.go new file mode 100644 index 00000000..21cf68b8 --- /dev/null +++ b/models/models/model_analytics_metadata.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnalyticsMetadata string + +// List of AnalyticsMetadata +const ( + AnalyticsMetadata_NUM_OF_SAMPLES AnalyticsMetadata = "NUM_OF_SAMPLES" + AnalyticsMetadata_DATA_WINDOW AnalyticsMetadata = "DATA_WINDOW" + AnalyticsMetadata_DATA_STAT_PROPS AnalyticsMetadata = "DATA_STAT_PROPS" + AnalyticsMetadata_STRATEGY AnalyticsMetadata = "STRATEGY" + AnalyticsMetadata_ACCURACY AnalyticsMetadata = "ACCURACY" +) diff --git a/models/models/model_analytics_metadata_indication.go b/models/models/model_analytics_metadata_indication.go new file mode 100644 index 00000000..ed8496ce --- /dev/null +++ b/models/models/model_analytics_metadata_indication.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains analytics metadata information requested to be used during analytics generation. +type AnalyticsMetadataIndication struct { + DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` + DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` + Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` + AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` +} diff --git a/models/models/model_analytics_metadata_info.go b/models/models/model_analytics_metadata_info.go new file mode 100644 index 00000000..026dc757 --- /dev/null +++ b/models/models/model_analytics_metadata_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains analytics metadata information required for analytics aggregation. +type AnalyticsMetadataInfo struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumSamples int32 `json:"numSamples,omitempty" yaml:"numSamples" bson:"numSamples,omitempty"` + DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` + DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` + Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` + Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` +} diff --git a/models/models/model_analytics_subscription.go b/models/models/model_analytics_subscription.go new file mode 100644 index 00000000..9d9db614 --- /dev/null +++ b/models/models/model_analytics_subscription.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Analytics subscriptions created in the NWDAF. +type AnalyticsSubscription struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafId string `json:"nwdafId,omitempty" yaml:"nwdafId" bson:"nwdafId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + NwdafSubscriptionList []NwdafSubscription `json:"nwdafSubscriptionList" yaml:"nwdafSubscriptionList" bson:"nwdafSubscriptionList,omitempty"` +} diff --git a/models/models/model_analytics_subscriptions_transfer.go b/models/models/model_analytics_subscriptions_transfer.go new file mode 100644 index 00000000..bb54494e --- /dev/null +++ b/models/models/model_analytics_subscriptions_transfer.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about a request to transfer analytics subscriptions. +type AnalyticsSubscriptionsTransfer struct { + SubsTransInfos []SubscriptionTransferInfo `json:"subsTransInfos" yaml:"subsTransInfos" bson:"subsTransInfos,omitempty"` +} diff --git a/models/models/model_analytics_subset.go b/models/models/model_analytics_subset.go new file mode 100644 index 00000000..162cd25a --- /dev/null +++ b/models/models/model_analytics_subset.go @@ -0,0 +1,59 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnalyticsSubset string + +// List of AnalyticsSubset +const ( + AnalyticsSubset_NUM_OF_UE_REG AnalyticsSubset = "NUM_OF_UE_REG" + AnalyticsSubset_NUM_OF_PDU_SESS_ESTBL AnalyticsSubset = "NUM_OF_PDU_SESS_ESTBL" + AnalyticsSubset_RES_USAGE AnalyticsSubset = "RES_USAGE" + AnalyticsSubset_NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" + AnalyticsSubset_PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" + AnalyticsSubset_EXCEED_LOAD_LEVEL_THR_IND AnalyticsSubset = "EXCEED_LOAD_LEVEL_THR_IND" + AnalyticsSubset_LIST_OF_TOP_APP_UL AnalyticsSubset = "LIST_OF_TOP_APP_UL" + AnalyticsSubset_LIST_OF_TOP_APP_DL AnalyticsSubset = "LIST_OF_TOP_APP_DL" + AnalyticsSubset_NF_STATUS AnalyticsSubset = "NF_STATUS" + AnalyticsSubset_NF_RESOURCE_USAGE AnalyticsSubset = "NF_RESOURCE_USAGE" + AnalyticsSubset_NF_LOAD AnalyticsSubset = "NF_LOAD" + AnalyticsSubset_NF_PEAK_LOAD AnalyticsSubset = "NF_PEAK_LOAD" + AnalyticsSubset_NF_LOAD_AVG_IN_AOI AnalyticsSubset = "NF_LOAD_AVG_IN_AOI" + AnalyticsSubset_DISPER_AMOUNT AnalyticsSubset = "DISPER_AMOUNT" + AnalyticsSubset_DISPER_CLASS AnalyticsSubset = "DISPER_CLASS" + AnalyticsSubset_RANKING AnalyticsSubset = "RANKING" + AnalyticsSubset_PERCENTILE_RANKING AnalyticsSubset = "PERCENTILE_RANKING" + AnalyticsSubset_RSSI AnalyticsSubset = "RSSI" + AnalyticsSubset_RTT AnalyticsSubset = "RTT" + AnalyticsSubset_TRAFFIC_INFO AnalyticsSubset = "TRAFFIC_INFO" + AnalyticsSubset_NUMBER_OF_UES AnalyticsSubset = "NUMBER_OF_UES" + AnalyticsSubset_APP_LIST_FOR_UE_COMM AnalyticsSubset = "APP_LIST_FOR_UE_COMM" + AnalyticsSubset_N4_SESS_INACT_TIMER_FOR_UE_COMM AnalyticsSubset = "N4_SESS_INACT_TIMER_FOR_UE_COMM" + AnalyticsSubset_AVG_TRAFFIC_RATE AnalyticsSubset = "AVG_TRAFFIC_RATE" + AnalyticsSubset_MAX_TRAFFIC_RATE AnalyticsSubset = "MAX_TRAFFIC_RATE" + AnalyticsSubset_AVG_PACKET_DELAY AnalyticsSubset = "AVG_PACKET_DELAY" + AnalyticsSubset_MAX_PACKET_DELAY AnalyticsSubset = "MAX_PACKET_DELAY" + AnalyticsSubset_AVG_PACKET_LOSS_RATE AnalyticsSubset = "AVG_PACKET_LOSS_RATE" + AnalyticsSubset_UE_LOCATION AnalyticsSubset = "UE_LOCATION" + AnalyticsSubset_LIST_OF_HIGH_EXP_UE AnalyticsSubset = "LIST_OF_HIGH_EXP_UE" + AnalyticsSubset_LIST_OF_MEDIUM_EXP_UE AnalyticsSubset = "LIST_OF_MEDIUM_EXP_UE" + AnalyticsSubset_LIST_OF_LOW_EXP_UE AnalyticsSubset = "LIST_OF_LOW_EXP_UE" + AnalyticsSubset_AVG_UL_PKT_DROP_RATE AnalyticsSubset = "AVG_UL_PKT_DROP_RATE" + AnalyticsSubset_VAR_UL_PKT_DROP_RATE AnalyticsSubset = "VAR_UL_PKT_DROP_RATE" + AnalyticsSubset_AVG_DL_PKT_DROP_RATE AnalyticsSubset = "AVG_DL_PKT_DROP_RATE" + AnalyticsSubset_VAR_DL_PKT_DROP_RATE AnalyticsSubset = "VAR_DL_PKT_DROP_RATE" + AnalyticsSubset_AVG_UL_PKT_DELAY AnalyticsSubset = "AVG_UL_PKT_DELAY" + AnalyticsSubset_VAR_UL_PKT_DELAY AnalyticsSubset = "VAR_UL_PKT_DELAY" + AnalyticsSubset_AVG_DL_PKT_DELAY AnalyticsSubset = "AVG_DL_PKT_DELAY" + AnalyticsSubset_VAR_DL_PKT_DELAY AnalyticsSubset = "VAR_DL_PKT_DELAY" +) diff --git a/models/models/model_anchor_smf_features.go b/models/models/model_anchor_smf_features.go new file mode 100644 index 00000000..e2f9241d --- /dev/null +++ b/models/models/model_anchor_smf_features.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Anchor SMF supported features +type AnchorSmfFeatures struct { + PsetrSupportInd bool `json:"psetrSupportInd,omitempty" yaml:"psetrSupportInd" bson:"psetrSupportInd,omitempty"` +} diff --git a/models/models/model_announcement_information.go b/models/models/model_announcement_information.go new file mode 100644 index 00000000..bb0ae2d6 --- /dev/null +++ b/models/models/model_announcement_information.go @@ -0,0 +1,29 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnnouncementInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AnnouncementIdentifier int32 `json:"announcementIdentifier,omitempty" yaml:"announcementIdentifier" bson:"announcementIdentifier,omitempty"` + // String providing an URI formatted according to RFC 3986. + AnnouncementReference string `json:"announcementReference,omitempty" yaml:"announcementReference" bson:"announcementReference,omitempty"` + VariableParts []VariablePart `json:"variableParts,omitempty" yaml:"variableParts" bson:"variableParts,omitempty"` + // indicating a time in seconds. + TimeToPlay int32 `json:"timeToPlay,omitempty" yaml:"timeToPlay" bson:"timeToPlay,omitempty"` + QuotaConsumptionIndicator QuotaConsumptionIndicator `json:"quotaConsumptionIndicator,omitempty" yaml:"quotaConsumptionIndicator" bson:"quotaConsumptionIndicator,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AnnouncementPriority int32 `json:"announcementPriority,omitempty" yaml:"announcementPriority" bson:"announcementPriority,omitempty"` + PlayToParty PlayToParty `json:"playToParty,omitempty" yaml:"playToParty" bson:"playToParty,omitempty"` + AnnouncementPrivacyIndicator AnnouncementPrivacyIndicator `json:"announcementPrivacyIndicator,omitempty" yaml:"announcementPrivacyIndicator" bson:"announcementPrivacyIndicator,omitempty"` + Language string `json:"Language,omitempty" yaml:"Language" bson:"Language,omitempty"` +} diff --git a/models/models/model_announcement_privacy_indicator.go b/models/models/model_announcement_privacy_indicator.go new file mode 100644 index 00000000..10d98bb0 --- /dev/null +++ b/models/models/model_announcement_privacy_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AnnouncementPrivacyIndicator string + +// List of AnnouncementPrivacyIndicator +const ( + AnnouncementPrivacyIndicator_NOT_PRIVATE AnnouncementPrivacyIndicator = "NOT_PRIVATE" + AnnouncementPrivacyIndicator_PRIVATE AnnouncementPrivacyIndicator = "PRIVATE" +) diff --git a/models/models/model_api_direction.go b/models/models/model_api_direction.go new file mode 100644 index 00000000..9cb0aae7 --- /dev/null +++ b/models/models/model_api_direction.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ApiDirection string + +// List of APIDirection +const ( + ApiDirection_INVOCATION ApiDirection = "INVOCATION" + ApiDirection_NOTIFICATION ApiDirection = "NOTIFICATION" +) diff --git a/models/models/model_apn_rate_status.go b/models/models/model_apn_rate_status.go new file mode 100644 index 00000000..41c54c2c --- /dev/null +++ b/models/models/model_apn_rate_status.go @@ -0,0 +1,31 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the APN rate control status e.g. of the AMF. +type ApnRateStatus struct { + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. + RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. + RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // When present, it shall indicate the number of additional exception reports the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. + RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` + // When present, it shall indicate the number of additional exception reports the AF is allowed to send downlink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. + RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` +} diff --git a/models/models/model_app_am_context_data.go b/models/models/model_app_am_context_data.go new file mode 100644 index 00000000..9bb514ad --- /dev/null +++ b/models/models/model_app_am_context_data.go @@ -0,0 +1,33 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Application AM Context resource. +type AppAmContextData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // indicating a time in seconds. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/models/model_app_am_context_resp_data.go b/models/models/model_app_am_context_resp_data.go new file mode 100644 index 00000000..f4887dbf --- /dev/null +++ b/models/models/model_app_am_context_resp_data.go @@ -0,0 +1,36 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents a response to a modification or creation request of an Individual Application AM resource. It may contain the notification of the already met events. +type AppAmContextRespData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // indicating a time in seconds. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` + // Contains the AM Policy Events Subscription resource identifier related to the event notification. + AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` + RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` +} diff --git a/models/models/model_app_am_context_update_data.go b/models/models/model_app_am_context_update_data.go new file mode 100644 index 00000000..973ed8eb --- /dev/null +++ b/models/models/model_app_am_context_update_data.go @@ -0,0 +1,27 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the modifications to an Individual Application AM resource. +type AppAmContextUpdateData struct { + // String providing an URI formatted according to RFC 3986. + TermNotifUri string `json:"termNotifUri,omitempty" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` + EvSubsc *AmEventsSubscDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Indicates whether high throughput is desired for the indicated UE traffic. + HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` + // Identifies a list of Tracking Areas per serving network where service is allowed. + CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/models/model_app_descriptor.go b/models/models/model_app_descriptor.go new file mode 100644 index 00000000..4e62dc0f --- /dev/null +++ b/models/models/model_app_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an operation system and the corresponding applications. +type AppDescriptor struct { + // Represents the Operating System of the served UE. + OsId string `json:"osId" yaml:"osId" bson:"osId,omitempty"` + // Identifies applications that are running on the UE's operating system. Any string value can be used as a key of the map. + AppIds map[string]string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` +} diff --git a/models/models/model_app_detection_info.go b/models/models/model_app_detection_info.go new file mode 100644 index 00000000..b41ab6f6 --- /dev/null +++ b/models/models/model_app_detection_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the detected application's traffic information. +type AppDetectionInfo struct { + // A reference to the application detection filter configured at the UPF + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // Identifier sent by the SMF in order to allow correlation of application Start and Stop events to the specific service data flow description, if service data flow descriptions are deducible. + InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` + // Contains the detected service data flow descriptions if they are deducible. + SdfDescriptions []FlowInformation `json:"sdfDescriptions,omitempty" yaml:"sdfDescriptions" bson:"sdfDescriptions,omitempty"` +} diff --git a/models/models/model_app_detection_notif_type.go b/models/models/model_app_detection_notif_type.go new file mode 100644 index 00000000..f2abf412 --- /dev/null +++ b/models/models/model_app_detection_notif_type.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppDetectionNotifType string + +// List of AppDetectionNotifType +const ( + AppDetectionNotifType_START AppDetectionNotifType = "APP_START" + AppDetectionNotifType_STOP AppDetectionNotifType = "APP_STOP" +) diff --git a/models/models/model_app_detection_report.go b/models/models/model_app_detection_report.go new file mode 100644 index 00000000..eecef87b --- /dev/null +++ b/models/models/model_app_detection_report.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the start or stop of the detected application traffic and the application identifier of the detected application traffic. +type AppDetectionReport struct { + AdNotifType AppDetectionNotifType `json:"adNotifType" yaml:"adNotifType" bson:"adNotifType,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` +} diff --git a/models/models/model_app_list_for_ue_comm.go b/models/models/model_app_list_for_ue_comm.go new file mode 100644 index 00000000..bffaff66 --- /dev/null +++ b/models/models/model_app_list_for_ue_comm.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the analytics of the application list used by UE. +type AppListForUeComm struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // indicating a time in seconds. + AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + OccurRatio int32 `json:"occurRatio,omitempty" yaml:"occurRatio" bson:"occurRatio,omitempty"` + SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` +} diff --git a/models/models/model_app_port_id.go b/models/models/model_app_port_id.go new file mode 100644 index 00000000..d99c9b6d --- /dev/null +++ b/models/models/model_app_port_id.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppPortId struct { + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + DestinationPort int32 `json:"destinationPort,omitempty" yaml:"destinationPort" bson:"destinationPort,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + OriginatorPort int32 `json:"originatorPort,omitempty" yaml:"originatorPort" bson:"originatorPort,omitempty"` +} diff --git a/models/models/model_app_session_context.go b/models/models/model_app_session_context.go new file mode 100644 index 00000000..7073bb08 --- /dev/null +++ b/models/models/model_app_session_context.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Application Session Context resource. +type AppSessionContext struct { + AscReqData *AppSessionContextReqData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` + AscRespData *AppSessionContextRespData `json:"ascRespData,omitempty" yaml:"ascRespData" bson:"ascRespData,omitempty"` + EvsNotif *PcfPolicyAuthorizationEventsNotification `json:"evsNotif,omitempty" yaml:"evsNotif" bson:"evsNotif,omitempty"` +} diff --git a/models/models/model_app_session_context_req_data.go b/models/models/model_app_session_context_req_data.go new file mode 100644 index 00000000..85e5daa4 --- /dev/null +++ b/models/models/model_app_session_context_req_data.go @@ -0,0 +1,67 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the service requirements of an Individual Application Session Context. +type AppSessionContextReqData struct { + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` + AfReqData AfRequestedData `json:"afReqData,omitempty" yaml:"afReqData" bson:"afReqData,omitempty"` + AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + // Contains an identity of an application service provider. + AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + EvSubsc *PcfPolicyAuthorizationEventsSubscReqData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // Indication of MCPTT service request. + McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` + // Indication of MCVideo service request. + McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` + // Contains media component information. The key of the map is the medCompN attribute. + MedComponents map[string]MediaComponent `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` + // Indication of MPS service request. + MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` + // Indication of MCS service request. + McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` + PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Contains values of the service URN and may include subservices. + ServUrn string `json:"servUrn,omitempty" yaml:"servUrn" bson:"servUrn,omitempty"` + SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` + // Contains an identity of a sponsor. + SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` + SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/models/model_app_session_context_resp_data.go b/models/models/model_app_session_context_resp_data.go new file mode 100644 index 00000000..652e7b32 --- /dev/null +++ b/models/models/model_app_session_context_resp_data.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the authorization data of an Individual Application Session Context created by the PCF. +type AppSessionContextRespData struct { + ServAuthInfo ServAuthInfo `json:"servAuthInfo,omitempty" yaml:"servAuthInfo" bson:"servAuthInfo,omitempty"` + UeIds []UeIdentityInfo `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_app_session_context_update_data.go b/models/models/model_app_session_context_update_data.go new file mode 100644 index 00000000..c4c8a3dd --- /dev/null +++ b/models/models/model_app_session_context_update_data.go @@ -0,0 +1,46 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the modifications to the \"ascReqData\" property of an Individual Application Session Context which may include the modifications to the sub-resource Events Subscription. +type AppSessionContextUpdateData struct { + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + // Contains an identity of an application service provider. + AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + EvSubsc *PcfPolicyAuthorizationEventsSubscReqDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` + // Indication of MCPTT service request. + McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` + // Indication of modification of MCVideo service. + McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` + // Contains media component information. The key of the map is the medCompN attribute. + MedComponents map[string]*MediaComponentRm `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` + MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` + // Indication of MPS service request. + MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` + // Indication of MCS service request. + McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` + PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` + SipForkInd SipForkingIndication `json:"sipForkInd,omitempty" yaml:"sipForkInd" bson:"sipForkInd,omitempty"` + // Contains an identity of a sponsor. + SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` + SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/models/model_app_session_context_update_data_patch.go b/models/models/model_app_session_context_update_data_patch.go new file mode 100644 index 00000000..71b63ac8 --- /dev/null +++ b/models/models/model_app_session_context_update_data_patch.go @@ -0,0 +1,18 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the modifications to an Individual Application Session Context and/or the modifications to the sub-resource Events Subscription. +type AppSessionContextUpdateDataPatch struct { + AscReqData *AppSessionContextUpdateData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` +} diff --git a/models/models/model_application_data_change_notif.go b/models/models/model_application_data_change_notif.go new file mode 100644 index 00000000..b6c7fb64 --- /dev/null +++ b/models/models/model_application_data_change_notif.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains changed application data for which notification was requested. +type ApplicationDataChangeNotif struct { + IptvConfigData *IptvConfigData `json:"iptvConfigData,omitempty" yaml:"iptvConfigData" bson:"iptvConfigData,omitempty"` + PfdData *PfdChangeNotification `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + BdtPolicyData *BdtPolicyData `json:"bdtPolicyData,omitempty" yaml:"bdtPolicyData" bson:"bdtPolicyData,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` + SerParamData *ServiceParameterData `json:"serParamData,omitempty" yaml:"serParamData" bson:"serParamData,omitempty"` + AmInfluData *AmInfluData `json:"amInfluData,omitempty" yaml:"amInfluData" bson:"amInfluData,omitempty"` +} diff --git a/models/models/model_application_data_subs.go b/models/models/model_application_data_subs.go new file mode 100644 index 00000000..d8fb706d --- /dev/null +++ b/models/models/model_application_data_subs.go @@ -0,0 +1,33 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies a subscription to application data change notification. +type ApplicationDataSubs struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + DataFilters []DataFilter `json:"dataFilters,omitempty" yaml:"dataFilters" bson:"dataFilters,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Immediate reporting indication. + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + // The AM Influence Data entries stored in the UDR that match a subscription. + AmInfluEntries []AmInfluData `json:"amInfluEntries,omitempty" yaml:"amInfluEntries" bson:"amInfluEntries,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_application_for_pfd_request.go b/models/models/model_application_for_pfd_request.go new file mode 100644 index 00000000..e33597b3 --- /dev/null +++ b/models/models/model_application_for_pfd_request.go @@ -0,0 +1,25 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the application identifier(s) for the PFD(s) request. +type ApplicationForPfdRequest struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` +} diff --git a/models/models/model_application_server.go b/models/models/model_application_server.go new file mode 100644 index 00000000..8b9125fe --- /dev/null +++ b/models/models/model_application_server.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Application Server which shall be triggered if the conditions of a certain IFC are met, and its associated data +type ApplicationServer struct { + AsUri string `json:"asUri" yaml:"asUri" bson:"asUri,omitempty"` + SessionContinue bool `json:"sessionContinue,omitempty" yaml:"sessionContinue" bson:"sessionContinue,omitempty"` + ServiceInfoList []ServiceInformation `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` +} diff --git a/models/models/model_application_volume.go b/models/models/model_application_volume.go new file mode 100644 index 00000000..cad9e4dd --- /dev/null +++ b/models/models/model_application_volume.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Application data volume per Application Id. +type ApplicationVolume struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + AppVolume int64 `json:"appVolume" yaml:"appVolume" bson:"appVolume,omitempty"` +} diff --git a/models/models/model_applied_smcc_type.go b/models/models/model_applied_smcc_type.go new file mode 100644 index 00000000..b1f0dedd --- /dev/null +++ b/models/models/model_applied_smcc_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AppliedSmccType string + +// List of AppliedSmccType +const ( + AppliedSmccType_DNN_CC AppliedSmccType = "DNN_CC" + AppliedSmccType_SNSSAI_CC AppliedSmccType = "SNSSAI_CC" +) diff --git a/models/models/model_area.go b/models/models/model_area.go new file mode 100644 index 00000000..5e2d587b --- /dev/null +++ b/models/models/model_area.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides area information. +type Area struct { + Tacs []string `json:"tacs,omitempty" yaml:"tacs" bson:"tacs,omitempty"` + // Values are operator specific. + AreaCode string `json:"areaCode,omitempty" yaml:"areaCode" bson:"areaCode,omitempty"` +} diff --git a/models/models/model_area_event_info.go b/models/models/model_area_event_info.go new file mode 100644 index 00000000..3a263523 --- /dev/null +++ b/models/models/model_area_event_info.go @@ -0,0 +1,28 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of area based event reporting. +type AreaEventInfo struct { + AreaDefinition []ReportingArea `json:"areaDefinition" yaml:"areaDefinition" bson:"areaDefinition,omitempty"` + OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` + // Minimum interval between event reports. + MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` + // Maximum interval between event reports. + MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` + // Maximum time interval between consecutive evaluations by a UE of a trigger event. + SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` + // Maximum duration of event reporting. + ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` + ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` +} diff --git a/models/models/model_area_of_interest_event_state.go b/models/models/model_area_of_interest_event_state.go new file mode 100644 index 00000000..e2853484 --- /dev/null +++ b/models/models/model_area_of_interest_event_state.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Event State of AoI event in old AMF +type AreaOfInterestEventState struct { + Presence PresenceState `json:"presence" yaml:"presence" bson:"presence,omitempty"` + IndividualPraIdList []string `json:"individualPraIdList,omitempty" yaml:"individualPraIdList" bson:"individualPraIdList,omitempty"` +} diff --git a/models/models/model_area_of_validity.go b/models/models/model_area_of_validity.go new file mode 100644 index 00000000..bb044b8e --- /dev/null +++ b/models/models/model_area_of_validity.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Area of validity information for N2 information transfer +type AreaOfValidity struct { + TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/models/model_area_scope.go b/models/models/model_area_scope.go new file mode 100644 index 00000000..af28c794 --- /dev/null +++ b/models/models/model_area_scope.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain the area based on Cells or Tracking Areas. +type AreaScope struct { + EutraCellIdList []string `json:"eutraCellIdList,omitempty" yaml:"eutraCellIdList" bson:"eutraCellIdList,omitempty"` + NrCellIdList []string `json:"nrCellIdList,omitempty" yaml:"nrCellIdList" bson:"nrCellIdList,omitempty"` + TacList []string `json:"tacList,omitempty" yaml:"tacList" bson:"tacList,omitempty"` + // A map (list of key-value pairs) where PlmnId converted to a string serves as key + TacInfoPerPlmn map[string]TacInfo `json:"tacInfoPerPlmn,omitempty" yaml:"tacInfoPerPlmn" bson:"tacInfoPerPlmn,omitempty"` +} diff --git a/models/models/model_arp.go b/models/models/model_arp.go new file mode 100644 index 00000000..ec5274e4 --- /dev/null +++ b/models/models/model_arp.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Allocation and Retention Priority information. +type Arp struct { + // nullable true shall not be used for this attribute. Unsigned integer indicating the ARP Priority Level (see clause 5.7.2.2 of 3GPP TS 23.501, within the range 1 to 15.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 15 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` +} diff --git a/models/models/model_as_session_with_qo_s_subscription.go b/models/models/model_as_session_with_qo_s_subscription.go new file mode 100644 index 00000000..d0c3908c --- /dev/null +++ b/models/models/model_as_session_with_qo_s_subscription.go @@ -0,0 +1,59 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an individual AS session with required QoS subscription resource. +type AsSessionWithQoSSubscription struct { + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + // Identifies the external Application Identifier. + ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` + // Describe the data flow which requires QoS. + FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` + // Identifies Ethernet packet flows. + EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` + // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. + EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` + // Identifies a pre-defined QoS information + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. + AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` + // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. + AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` + // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). Default value is false. The fulfilled situation is either the QoS profile or an Alternative QoS Profile. + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` + UsageThreshold *UsageThreshold `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` + SponsorInfo *SponsorInformation `json:"sponsorInfo,omitempty" yaml:"sponsorInfo" bson:"sponsorInfo,omitempty"` + QosMonInfo *QosMonitoringInformation `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` + // Indicates whether the direct event notification is requested (true) or not (false). Default value is false. + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + TscQosReq *TscQosRequirement `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` + // Set to true by the SCS/AS to request the SCEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. + RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` + // Represents the list of user plane event(s) to which the SCS/AS requests to subscribe to. + Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/models/model_as_session_with_qo_s_subscription_patch.go b/models/models/model_as_session_with_qo_s_subscription_patch.go new file mode 100644 index 00000000..81e13e67 --- /dev/null +++ b/models/models/model_as_session_with_qo_s_subscription_patch.go @@ -0,0 +1,42 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents parameters to modify an AS session with specific QoS subscription. +type AsSessionWithQoSSubscriptionPatch struct { + // Identifies the external Application Identifier. + ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` + // Describe the IP data flow which requires QoS. + FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` + // Identifies Ethernet packet flows. + EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` + // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. + EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` + // Pre-defined QoS reference + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. + AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` + // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. + AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` + // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). The fulfilled situation is either the QoS profile or an Alternative QoS Profile. + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + UsageThreshold *UsageThresholdRm `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` + QosMonInfo *QosMonitoringInformationRm `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` + // Indicates whether the direct event notification is requested (true) or not (false). + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + TscQosReq *TscQosRequirementRm `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` + // Represents the updated list of user plane event(s) to which the SCS/AS requests to subscribe to. + Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` +} diff --git a/models/models/model_assign_ebi_data.go b/models/models/model_assign_ebi_data.go new file mode 100644 index 00000000..3611349c --- /dev/null +++ b/models/models/model_assign_ebi_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within an EBI assignment request +type AssignEbiData struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + ArpList []Arp `json:"arpList,omitempty" yaml:"arpList" bson:"arpList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` +} diff --git a/models/models/model_assign_ebi_error.go b/models/models/model_assign_ebi_error.go new file mode 100644 index 00000000..f6a9792a --- /dev/null +++ b/models/models/model_assign_ebi_error.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a failure response to the EBI assignment request +type AssignEbiError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + FailureDetails *AssignEbiFailed `json:"failureDetails" yaml:"failureDetails" bson:"failureDetails,omitempty"` +} diff --git a/models/models/model_assign_ebi_failed.go b/models/models/model_assign_ebi_failed.go new file mode 100644 index 00000000..3e60610b --- /dev/null +++ b/models/models/model_assign_ebi_failed.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents failed assignment of EBI(s) +type AssignEbiFailed struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` +} diff --git a/models/models/model_assigned_ebi_data.go b/models/models/model_assigned_ebi_data.go new file mode 100644 index 00000000..43a954bf --- /dev/null +++ b/models/models/model_assigned_ebi_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a successful response to an EBI assignment request +type AssignedEbiData struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + AssignedEbiList []EbiArpMapping `json:"assignedEbiList" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` + FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + ModifiedEbiList []int32 `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` +} diff --git a/models/models/model_atom.go b/models/models/model_atom.go new file mode 100644 index 00000000..dd1fb20d --- /dev/null +++ b/models/models/model_atom.go @@ -0,0 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains a search parameter and its positive or negative content. +type Atom struct { + // contains the name of a defined query parameter. + Attr string `json:"attr" yaml:"attr" bson:"attr,omitempty"` + Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` + // indicates whether the negative condition applies for the query condition. + Negative bool `json:"negative,omitempty" yaml:"negative" bson:"negative,omitempty"` +} diff --git a/models/models/model_atsss_capability.go b/models/models/model_atsss_capability.go new file mode 100644 index 00000000..f580399f --- /dev/null +++ b/models/models/model_atsss_capability.go @@ -0,0 +1,23 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Containes Capability to support procedures related to Access Traffic Steering, Switching, Splitting. +type AtsssCapability struct { + // Indicates the ATSSS-LL capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501). true: Supported false (default): Not Supported + AtsssLL bool `json:"atsssLL,omitempty" yaml:"atsssLL" bson:"atsssLL,omitempty"` + // Indicates the MPTCP capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501 true: Supported false (default): Not Supported + Mptcp bool `json:"mptcp,omitempty" yaml:"mptcp" bson:"mptcp,omitempty"` + // This IE is only used by the UPF to indicate whether the UPF supports RTT measurement without PMF (see clauses 5.32.2, 6.3.3.3 of 3GPP TS 23.501 true: Supported false (default): Not Supported + RttWithoutPmf bool `json:"rttWithoutPmf,omitempty" yaml:"rttWithoutPmf" bson:"rttWithoutPmf,omitempty"` +} diff --git a/models/models/model_ausf_info.go b/models/models/model_ausf_info.go new file mode 100644 index 00000000..897d2dc8 --- /dev/null +++ b/models/models/model_ausf_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an AUSF NF Instance +type AusfInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` + SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` +} diff --git a/models/models/model_ausf_so_r_protection_sor_info.go b/models/models/model_ausf_so_r_protection_sor_info.go new file mode 100644 index 00000000..06246e6a --- /dev/null +++ b/models/models/model_ausf_so_r_protection_sor_info.go @@ -0,0 +1,26 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Steering Information. +type AusfSoRProtectionSorInfo struct { + SteeringContainer *AusfSoRProtectionSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` + // Contains indication whether the acknowledgement from UE is needed. + AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorHeader string `json:"sorHeader,omitempty" yaml:"sorHeader" bson:"sorHeader,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentInfo string `json:"sorTransparentInfo,omitempty" yaml:"sorTransparentInfo" bson:"sorTransparentInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ausf_so_r_protection_steering_container.go b/models/models/model_ausf_so_r_protection_steering_container.go new file mode 100644 index 00000000..fc0c7d1c --- /dev/null +++ b/models/models/model_ausf_so_r_protection_steering_container.go @@ -0,0 +1,17 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information sent to UE. +type AusfSoRProtectionSteeringContainer struct { +} diff --git a/models/models/model_ausf_so_r_protection_steering_info.go b/models/models/model_ausf_so_r_protection_steering_info.go new file mode 100644 index 00000000..56c27417 --- /dev/null +++ b/models/models/model_ausf_so_r_protection_steering_info.go @@ -0,0 +1,19 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a combination of one PLMN identity and zero or more access technologies. +type AusfSoRProtectionSteeringInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList,omitempty"` +} diff --git a/models/models/model_ausf_ue_authentication_auth_result.go b/models/models/model_ausf_ue_authentication_auth_result.go new file mode 100644 index 00000000..80b818ba --- /dev/null +++ b/models/models/model_ausf_ue_authentication_auth_result.go @@ -0,0 +1,22 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AusfUeAuthenticationAuthResult string + +// List of AusfUEAuthenticationAuthResult +const ( + AusfUeAuthenticationAuthResult_SUCCESS AusfUeAuthenticationAuthResult = "AUTHENTICATION_SUCCESS" + AusfUeAuthenticationAuthResult_FAILURE AusfUeAuthenticationAuthResult = "AUTHENTICATION_FAILURE" + AusfUeAuthenticationAuthResult_ONGOING AusfUeAuthenticationAuthResult = "AUTHENTICATION_ONGOING" +) diff --git a/models/models/model_ausf_ue_authentication_auth_type.go b/models/models/model_ausf_ue_authentication_auth_type.go new file mode 100644 index 00000000..11605b67 --- /dev/null +++ b/models/models/model_ausf_ue_authentication_auth_type.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AusfUeAuthenticationAuthType string + +// List of AusfUEAuthenticationAuthType +const ( + AusfUeAuthenticationAuthType__5_G_AKA AusfUeAuthenticationAuthType = "5G_AKA" + AusfUeAuthenticationAuthType_EAP_AKA_PRIME AusfUeAuthenticationAuthType = "EAP_AKA_PRIME" + AusfUeAuthenticationAuthType_EAP_TLS AusfUeAuthenticationAuthType = "EAP_TLS" + AusfUeAuthenticationAuthType_EAP_TTLS AusfUeAuthenticationAuthType = "EAP_TTLS" +) diff --git a/models/models/model_ausf_ue_authentication_rg_auth_ctx.go b/models/models/model_ausf_ue_authentication_rg_auth_ctx.go new file mode 100644 index 00000000..0ffdd641 --- /dev/null +++ b/models/models/model_ausf_ue_authentication_rg_auth_ctx.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUPI) and the authentication indication. +type AusfUeAuthenticationRgAuthCtx struct { + AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AuthInd bool `json:"authInd,omitempty" yaml:"authInd" bson:"authInd,omitempty"` +} diff --git a/models/models/model_ausf_upu_protection_upu_data.go b/models/models/model_ausf_upu_protection_upu_data.go new file mode 100644 index 00000000..f81bebc6 --- /dev/null +++ b/models/models/model_ausf_upu_protection_upu_data.go @@ -0,0 +1,22 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE parameters update data set (e.g., the updated Routing ID Data or the Default configured NSSAI). +type AusfUpuProtectionUpuData struct { + // Contains a secure packet. + SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket,omitempty"` + DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai,omitempty"` + // Represents a routing indicator. + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` +} diff --git a/models/models/model_ausf_upu_protection_upu_info.go b/models/models/model_ausf_upu_protection_upu_info.go new file mode 100644 index 00000000..7e61de8b --- /dev/null +++ b/models/models/model_ausf_upu_protection_upu_info.go @@ -0,0 +1,26 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE parameters update Information. +type AusfUpuProtectionUpuInfo struct { + UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList,omitempty"` + // Contains the \"UPU Header\" IE as specified in clause 9.11.3.53A of 3GPP TS 24.501 (octet 4), encoded as 2 hexadecimal characters. + UpuHeader string `json:"upuHeader,omitempty" yaml:"upuHeader" bson:"upuHeader,omitempty"` + // Contains the indication of whether the acknowledgement from UE is needed. + UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentInfo string `json:"upuTransparentInfo,omitempty" yaml:"upuTransparentInfo" bson:"upuTransparentInfo,omitempty"` +} diff --git a/models/models/model_auth_event.go b/models/models/model_auth_event.go new file mode 100644 index 00000000..6cf85d0b --- /dev/null +++ b/models/models/model_auth_event.go @@ -0,0 +1,34 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type AuthEvent struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + Success bool `json:"success" yaml:"success" bson:"success,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + AuthRemovalInd bool `json:"authRemovalInd,omitempty" yaml:"authRemovalInd" bson:"authRemovalInd,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/models/model_auth_method.go b/models/models/model_auth_method.go new file mode 100644 index 00000000..873f1b7d --- /dev/null +++ b/models/models/model_auth_method.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AuthMethod string + +// List of AuthMethod +const ( + AuthMethod__5_G_AKA AuthMethod = "5G_AKA" + AuthMethod_EAP_AKA_PRIME AuthMethod = "EAP_AKA_PRIME" + AuthMethod_EAP_TLS AuthMethod = "EAP_TLS" + AuthMethod_EAP_TTLS AuthMethod = "EAP_TTLS" + AuthMethod_NONE AuthMethod = "NONE" +) diff --git a/models/models/model_auth_notification.go b/models/models/model_auth_notification.go new file mode 100644 index 00000000..d2955dde --- /dev/null +++ b/models/models/model_auth_notification.go @@ -0,0 +1,24 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV related notification +type AuthNotification struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + NotifyCorrId string `json:"notifyCorrId" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + NotifType NotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` +} diff --git a/models/models/model_auth_status.go b/models/models/model_auth_status.go new file mode 100644 index 00000000..84606981 --- /dev/null +++ b/models/models/model_auth_status.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AuthStatus string + +// List of AuthStatus +const ( + AuthStatus_EAP_SUCCESS AuthStatus = "EAP_SUCCESS" + AuthStatus_EAP_FAILURE AuthStatus = "EAP_FAILURE" + AuthStatus_PENDING AuthStatus = "PENDING" +) diff --git a/models/models/model_auth_update_info.go b/models/models/model_auth_update_info.go new file mode 100644 index 00000000..893a028f --- /dev/null +++ b/models/models/model_auth_update_info.go @@ -0,0 +1,20 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents authorization update information. +type AuthUpdateInfo struct { + AuthorizationData *ServiceSpecificAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` + InvalidCause InvalidCause `json:"invalidCause,omitempty" yaml:"invalidCause" bson:"invalidCause,omitempty"` +} diff --git a/models/models/model_auth_update_notification.go b/models/models/model_auth_update_notification.go new file mode 100644 index 00000000..43c9aee2 --- /dev/null +++ b/models/models/model_auth_update_notification.go @@ -0,0 +1,25 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an authorization update notification. +type AuthUpdateNotification struct { + ServiceType ServiceType `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + AuthUpdateInfoList []AuthUpdateInfo `json:"authUpdateInfoList" yaml:"authUpdateInfoList" bson:"authUpdateInfoList,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/models/model_authentication_info.go b/models/models/model_authentication_info.go new file mode 100644 index 00000000..3b54e5e7 --- /dev/null +++ b/models/models/model_authentication_info.go @@ -0,0 +1,34 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUCI or SUPI) and the Serving Network Name. +type AuthenticationInfo struct { + // String identifying a SUPI or a SUCI. + SupiOrSuci string `json:"supiOrSuci" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` + N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` +} diff --git a/models/models/model_authentication_subscription.go b/models/models/model_authentication_subscription.go new file mode 100644 index 00000000..829f82d9 --- /dev/null +++ b/models/models/model_authentication_subscription.go @@ -0,0 +1,34 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A UE's authentication data. +type AuthenticationSubscription struct { + AuthenticationMethod AuthMethod `json:"authenticationMethod" yaml:"authenticationMethod" bson:"authenticationMethod,omitempty"` + EncPermanentKey string `json:"encPermanentKey,omitempty" yaml:"encPermanentKey" bson:"encPermanentKey,omitempty"` + ProtectionParameterId string `json:"protectionParameterId,omitempty" yaml:"protectionParameterId" bson:"protectionParameterId,omitempty"` + SequenceNumber *SequenceNumber `json:"sequenceNumber,omitempty" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` + AuthenticationManagementField string `json:"authenticationManagementField,omitempty" yaml:"authenticationManagementField" bson:"authenticationManagementField,omitempty"` + AlgorithmId string `json:"algorithmId,omitempty" yaml:"algorithmId" bson:"algorithmId,omitempty"` + EncOpcKey string `json:"encOpcKey,omitempty" yaml:"encOpcKey" bson:"encOpcKey,omitempty"` + EncTopcKey string `json:"encTopcKey,omitempty" yaml:"encTopcKey" bson:"encTopcKey,omitempty"` + VectorGenerationInHss bool `json:"vectorGenerationInHss,omitempty" yaml:"vectorGenerationInHss" bson:"vectorGenerationInHss,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` + N5gcAuthMethod AuthMethod `json:"n5gcAuthMethod,omitempty" yaml:"n5gcAuthMethod" bson:"n5gcAuthMethod,omitempty"` + RgAuthenticationInd bool `json:"rgAuthenticationInd,omitempty" yaml:"rgAuthenticationInd" bson:"rgAuthenticationInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AkmaAllowed bool `json:"akmaAllowed,omitempty" yaml:"akmaAllowed" bson:"akmaAllowed,omitempty"` + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` +} diff --git a/models/models/model_authentication_vector.go b/models/models/model_authentication_vector.go new file mode 100644 index 00000000..a69e8dde --- /dev/null +++ b/models/models/model_authentication_vector.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AuthenticationVector struct { + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` + IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` + XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` + Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` +} diff --git a/models/models/model_authorization_data.go b/models/models/model_authorization_data.go new file mode 100644 index 00000000..40eeeed9 --- /dev/null +++ b/models/models/model_authorization_data.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// NIDD Authorization Information +type AuthorizationData struct { + AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + AllowedDnnList []interface{} `json:"allowedDnnList,omitempty" yaml:"allowedDnnList" bson:"allowedDnnList,omitempty"` + AllowedSnssaiList []Snssai `json:"allowedSnssaiList,omitempty" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` + AllowedMtcProviders []MtcProvider `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_authorization_info.go b/models/models/model_authorization_info.go new file mode 100644 index 00000000..9bfb06cf --- /dev/null +++ b/models/models/model_authorization_info.go @@ -0,0 +1,34 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents NIDD authorization information. +type AuthorizationInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthUpdateCallbackUri string `json:"authUpdateCallbackUri" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/models/model_authorization_ue_id.go b/models/models/model_authorization_ue_id.go new file mode 100644 index 00000000..4d895e3e --- /dev/null +++ b/models/models/model_authorization_ue_id.go @@ -0,0 +1,21 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Id of the Authorization Data. +type AuthorizationUeId struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/models/model_authorized_default_qos.go b/models/models/model_authorized_default_qos.go new file mode 100644 index 00000000..0940a5a6 --- /dev/null +++ b/models/models/model_authorized_default_qos.go @@ -0,0 +1,36 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Authorized Default QoS. +type AuthorizedDefaultQos struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` +} diff --git a/models/models/model_authorized_network_slice_info.go b/models/models/model_authorized_network_slice_info.go new file mode 100644 index 00000000..a629938c --- /dev/null +++ b/models/models/model_authorized_network_slice_info.go @@ -0,0 +1,38 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the authorized network slice information +type AuthorizedNetworkSliceInfo struct { + AllowedNssaiList []AllowedNssai `json:"allowedNssaiList,omitempty" yaml:"allowedNssaiList" bson:"allowedNssaiList,omitempty"` + ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` + TargetAmfSet string `json:"targetAmfSet,omitempty" yaml:"targetAmfSet" bson:"targetAmfSet,omitempty"` + CandidateAmfList []string `json:"candidateAmfList,omitempty" yaml:"candidateAmfList" bson:"candidateAmfList,omitempty"` + RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` + RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` + NsiInformation *NsiInformation `json:"nsiInformation,omitempty" yaml:"nsiInformation" bson:"nsiInformation,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSet string `json:"nrfAmfSet,omitempty" yaml:"nrfAmfSet" bson:"nrfAmfSet,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSetNfMgtUri string `json:"nrfAmfSetNfMgtUri,omitempty" yaml:"nrfAmfSetNfMgtUri" bson:"nrfAmfSetNfMgtUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAmfSetAccessTokenUri string `json:"nrfAmfSetAccessTokenUri,omitempty" yaml:"nrfAmfSetAccessTokenUri" bson:"nrfAmfSetAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetAmfServiceSet string `json:"targetAmfServiceSet,omitempty" yaml:"targetAmfServiceSet" bson:"targetAmfServiceSet,omitempty"` + TargetNssai []Snssai `json:"targetNssai,omitempty" yaml:"targetNssai" bson:"targetNssai,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` +} diff --git a/models/models/model_authorized_nssai_availability_data.go b/models/models/model_authorized_nssai_availability_data.go new file mode 100644 index 00000000..3ece8538 --- /dev/null +++ b/models/models/model_authorized_nssai_availability_data.go @@ -0,0 +1,23 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the Nssai availability data information per TA authorized by the NSSF +type AuthorizedNssaiAvailabilityData struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` + RestrictedSnssaiList []RestrictedSnssai `json:"restrictedSnssaiList,omitempty" yaml:"restrictedSnssaiList" bson:"restrictedSnssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` +} diff --git a/models/models/model_authorized_nssai_availability_info.go b/models/models/model_authorized_nssai_availability_info.go new file mode 100644 index 00000000..810f3b8b --- /dev/null +++ b/models/models/model_authorized_nssai_availability_info.go @@ -0,0 +1,20 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the Nssai availability data information authorized by the NSSF +type AuthorizedNssaiAvailabilityInfo struct { + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_av5_g_he_aka.go b/models/models/model_av5_g_he_aka.go new file mode 100644 index 00000000..dfd8f5ec --- /dev/null +++ b/models/models/model_av5_g_he_aka.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Av5GHeAka struct { + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` +} diff --git a/models/models/model_av5g_aka.go b/models/models/model_av5g_aka.go new file mode 100644 index 00000000..7fe0645d --- /dev/null +++ b/models/models/model_av5g_aka.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Authentication Vector for method 5G AKA. +type Av5gAka struct { + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + // Contains the HXRES*. + HxresStar string `json:"hxresStar" yaml:"hxresStar" bson:"hxresStar,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` +} diff --git a/models/models/model_av_eap_aka_prime.go b/models/models/model_av_eap_aka_prime.go new file mode 100644 index 00000000..cb9d25cc --- /dev/null +++ b/models/models/model_av_eap_aka_prime.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvEapAkaPrime struct { + AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` + IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` +} diff --git a/models/models/model_av_eps_aka.go b/models/models/model_av_eps_aka.go new file mode 100644 index 00000000..d582815c --- /dev/null +++ b/models/models/model_av_eps_aka.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvEpsAka struct { + AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Kasme string `json:"kasme" yaml:"kasme" bson:"kasme,omitempty"` +} diff --git a/models/models/model_av_ims_gba_eap_aka.go b/models/models/model_av_ims_gba_eap_aka.go new file mode 100644 index 00000000..08e21837 --- /dev/null +++ b/models/models/model_av_ims_gba_eap_aka.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvImsGbaEapAka struct { + AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` + Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` + Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` + Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` +} diff --git a/models/models/model_av_type.go b/models/models/model_av_type.go new file mode 100644 index 00000000..0841de94 --- /dev/null +++ b/models/models/model_av_type.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type AvType string + +// List of AvType +const ( + AvType__5_G_HE_AKA AvType = "5G_HE_AKA" + AvType_EAP_AKA_PRIME AvType = "EAP_AKA_PRIME" +) diff --git a/models/models/model_backup_amf_info.go b/models/models/model_backup_amf_info.go new file mode 100644 index 00000000..b95d0d08 --- /dev/null +++ b/models/models/model_backup_amf_info.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides details of the Backup AMF. +type BackupAmfInfo struct { + // Fully Qualified Domain Name + BackupAmf string `json:"backupAmf" yaml:"backupAmf" bson:"backupAmf,omitempty"` + // If present, this IE shall contain the list of GUAMI(s) (supported by the AMF) for which the backupAmf IE applies. + GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` +} diff --git a/models/models/model_base_record.go b/models/models/model_base_record.go new file mode 100644 index 00000000..31af1ca0 --- /dev/null +++ b/models/models/model_base_record.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Abstract base data type for UE data reporting records. +type BaseRecord struct { + // string with format 'date-time' as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` +} diff --git a/models/models/model_battery_indication.go b/models/models/model_battery_indication.go new file mode 100644 index 00000000..dafa44f9 --- /dev/null +++ b/models/models/model_battery_indication.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters \"replaceableInd\" and \"rechargeableInd\" are only included if the value of Parameter \"batteryInd\" is true. +type BatteryIndication struct { + // This IE shall indicate whether the UE is battery powered or not. true: the UE is battery powered; false or absent: the UE is not battery powered + BatteryInd bool `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` + // This IE shall indicate whether the battery of the UE is replaceable or not. true: the battery of the UE is replaceable; false or absent: the battery of the UE is not replaceable. + ReplaceableInd bool `json:"replaceableInd,omitempty" yaml:"replaceableInd" bson:"replaceableInd,omitempty"` + // This IE shall indicate whether the battery of the UE is rechargeable or not. true: the battery of UE is rechargeable; false or absent: the battery of the UE is not rechargeable. + RechargeableInd bool `json:"rechargeableInd,omitempty" yaml:"rechargeableInd" bson:"rechargeableInd,omitempty"` +} diff --git a/models/models/model_battery_indication_rm.go b/models/models/model_battery_indication_rm.go new file mode 100644 index 00000000..10195ee0 --- /dev/null +++ b/models/models/model_battery_indication_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BatteryIndicationRm struct { +} diff --git a/models/models/model_bdt_data.go b/models/models/model_bdt_data.go new file mode 100644 index 00000000..cca5c8f1 --- /dev/null +++ b/models/models/model_bdt_data.go @@ -0,0 +1,34 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the background data transfer data. +type BdtData struct { + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` + TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy" yaml:"transPolicy" bson:"transPolicy,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumOfUes int32 `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` + VolPerUe *UsageThreshold `json:"volPerUe,omitempty" yaml:"volPerUe" bson:"volPerUe,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. + TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` + BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_bdt_data_patch.go b/models/models/model_bdt_data_patch.go new file mode 100644 index 00000000..7fb59b3d --- /dev/null +++ b/models/models/model_bdt_data_patch.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the modified background data transfer data. +type BdtDataPatch struct { + TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy,omitempty" yaml:"transPolicy" bson:"transPolicy,omitempty"` + BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` +} diff --git a/models/models/model_bdt_policy.go b/models/models/model_bdt_policy.go new file mode 100644 index 00000000..5cf53d48 --- /dev/null +++ b/models/models/model_bdt_policy.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual BDT policy resource. +type BdtPolicy struct { + BdtPolData *PcfBdtPolicyControlBdtPolicyData `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` + BdtReqData *BdtReqData `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` +} diff --git a/models/models/model_bdt_policy_data.go b/models/models/model_bdt_policy_data.go new file mode 100644 index 00000000..eac7f3bb --- /dev/null +++ b/models/models/model_bdt_policy_data.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents applied BDT policy data. +type BdtPolicyData struct { + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_bdt_policy_data_patch.go b/models/models/model_bdt_policy_data_patch.go new file mode 100644 index 00000000..37ffe449 --- /dev/null +++ b/models/models/model_bdt_policy_data_patch.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents modification instructions to be performed on the applied BDT policy data. +type BdtPolicyDataPatch struct { + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` +} diff --git a/models/models/model_bdt_policy_status.go b/models/models/model_bdt_policy_status.go new file mode 100644 index 00000000..90fdd0de --- /dev/null +++ b/models/models/model_bdt_policy_status.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BdtPolicyStatus string + +// List of BdtPolicyStatus +const ( + BdtPolicyStatus_INVALID BdtPolicyStatus = "INVALID" + BdtPolicyStatus_VALID BdtPolicyStatus = "VALID" +) diff --git a/models/models/model_bdt_req_data.go b/models/models/model_bdt_req_data.go new file mode 100644 index 00000000..a6296d12 --- /dev/null +++ b/models/models/model_bdt_req_data.go @@ -0,0 +1,37 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service requirements for creation a new Individual BDT policy resource. +type BdtReqData struct { + // Contains an identity of an application service provider. + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` + DesTimeInt *TimeWindow `json:"desTimeInt" yaml:"desTimeInt" bson:"desTimeInt,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // Indicates a number of UEs. + NumOfUes int32 `json:"numOfUes" yaml:"numOfUes" bson:"numOfUes,omitempty"` + VolPerUe *UsageThreshold `json:"volPerUe" yaml:"volPerUe" bson:"volPerUe,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. + TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` + // Indicates whether the BDT warning notification is enabled or disabled. + WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` +} diff --git a/models/models/model_bdt_req_data_patch.go b/models/models/model_bdt_req_data_patch.go new file mode 100644 index 00000000..4d65a721 --- /dev/null +++ b/models/models/model_bdt_req_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. +type BdtReqDataPatch struct { + // Indicates whether the BDT warning notification is enabled or disabled. + WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` +} diff --git a/models/models/model_block.go b/models/models/model_block.go new file mode 100644 index 00000000..7d6852aa --- /dev/null +++ b/models/models/model_block.go @@ -0,0 +1,17 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A Block can be of any type +type Block struct { +} diff --git a/models/models/model_bootstrapping_info.go b/models/models/model_bootstrapping_info.go new file mode 100644 index 00000000..1babfaf4 --- /dev/null +++ b/models/models/model_bootstrapping_info.go @@ -0,0 +1,28 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information returned by NRF in the bootstrapping response message +type BootstrappingInfo struct { + Status Status `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // Map of link objects where the keys are the link relations defined in 3GPP TS 29.510 clause 6.4.6.3.3 + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + // Map of features supported by the NRF, where the keys are the NRF services as defined in 3GPP TS 29.510 clause 6.1.6.3.11 + NrfFeatures map[string]string `json:"nrfFeatures,omitempty" yaml:"nrfFeatures" bson:"nrfFeatures,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + Oauth2Required map[string]bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NrfSetId string `json:"nrfSetId,omitempty" yaml:"nrfSetId" bson:"nrfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NrfInstanceId string `json:"nrfInstanceId,omitempty" yaml:"nrfInstanceId" bson:"nrfInstanceId,omitempty"` +} diff --git a/models/models/model_bridge_management_container.go b/models/models/model_bridge_management_container.go new file mode 100644 index 00000000..94db8991 --- /dev/null +++ b/models/models/model_bridge_management_container.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UMIC. +type BridgeManagementContainer struct { + // string with format 'bytes' as defined in OpenAPI + BridgeManCont string `json:"bridgeManCont" yaml:"bridgeManCont" bson:"bridgeManCont,omitempty"` +} diff --git a/models/models/model_bw_requirement.go b/models/models/model_bw_requirement.go new file mode 100644 index 00000000..2ef0c7c1 --- /dev/null +++ b/models/models/model_bw_requirement.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents bandwidth requirements. +type BwRequirement struct { + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` +} diff --git a/models/models/model_cache_status.go b/models/models/model_cache_status.go new file mode 100644 index 00000000..8b8d2f72 --- /dev/null +++ b/models/models/model_cache_status.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CacheStatus string + +// List of CacheStatus +const ( + CacheStatus_HIT CacheStatus = "HIT" + CacheStatus_MISS CacheStatus = "MISS" + CacheStatus_EXPIRED CacheStatus = "EXPIRED" +) diff --git a/models/models/model_cag_ack_data.go b/models/models/model_cag_ack_data.go new file mode 100644 index 00000000..52d36be2 --- /dev/null +++ b/models/models/model_cag_ack_data.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest CAG data update. +type CagAckData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` +} diff --git a/models/models/model_cag_data.go b/models/models/model_cag_data.go new file mode 100644 index 00000000..75eaf22c --- /dev/null +++ b/models/models/model_cag_data.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CagData struct { + // A map (list of key-value pairs where PlmnId serves as key) of CagInfo + CagInfos map[string]CagInfo `json:"cagInfos" yaml:"cagInfos" bson:"cagInfos,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` +} diff --git a/models/models/model_cag_info.go b/models/models/model_cag_info.go new file mode 100644 index 00000000..cef8ab69 --- /dev/null +++ b/models/models/model_cag_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CagInfo struct { + AllowedCagList []string `json:"allowedCagList" yaml:"allowedCagList" bson:"allowedCagList,omitempty"` + CagOnlyIndicator bool `json:"cagOnlyIndicator,omitempty" yaml:"cagOnlyIndicator" bson:"cagOnlyIndicator,omitempty"` +} diff --git a/models/models/model_call_reference_info.go b/models/models/model_call_reference_info.go new file mode 100644 index 00000000..569c385c --- /dev/null +++ b/models/models/model_call_reference_info.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Call Reference Number and the AS-Number; it allows a later retry of the call setup in the context of MTRR +type CallReferenceInfo struct { + // The content is according to CallReferenceNumber type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] + CallRefNumber string `json:"callRefNumber" yaml:"callRefNumber" bson:"callRefNumber,omitempty"` + // The content is according to ISDN-AddressString type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] + AsNumber string `json:"asNumber" yaml:"asNumber" bson:"asNumber,omitempty"` +} diff --git a/models/models/model_called_identity_change.go b/models/models/model_called_identity_change.go new file mode 100644 index 00000000..ad50ca2c --- /dev/null +++ b/models/models/model_called_identity_change.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CalledIdentityChange struct { + CalledIdentity string `json:"calledIdentity,omitempty" yaml:"calledIdentity" bson:"calledIdentity,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` +} diff --git a/models/models/model_cancel_pos_info.go b/models/models/model_cancel_pos_info.go new file mode 100644 index 00000000..5ff8d0e9 --- /dev/null +++ b/models/models/model_cancel_pos_info.go @@ -0,0 +1,27 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Cancel Location Request +type CancelPosInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_cancel_relocate_ue_context_request.go b/models/models/model_cancel_relocate_ue_context_request.go new file mode 100644 index 00000000..2f1d5f04 --- /dev/null +++ b/models/models/model_cancel_relocate_ue_context_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CancelRelocateUeContextRequest struct { + JsonData *UeContextCancelRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataGtpcMessage []byte `json:"binaryDataGtpcMessage,omitempty" yaml:"binaryDataGtpcMessage" bson:"binaryDataGtpcMessage,omitempty"` +} diff --git a/models/models/model_candidate_for_replacement.go b/models/models/model_candidate_for_replacement.go new file mode 100644 index 00000000..5edbaf14 --- /dev/null +++ b/models/models/model_candidate_for_replacement.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of candidate DNNs for replacement for an S-NSSAI. +type CandidateForReplacement struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` +} diff --git a/models/models/model_ce_mode_b_ind.go b/models/models/model_ce_mode_b_ind.go new file mode 100644 index 00000000..4c324310 --- /dev/null +++ b/models/models/model_ce_mode_b_ind.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// CE-mode-B Support Indicator. +type CeModeBInd struct { + CeModeBSupportInd bool `json:"ceModeBSupportInd" yaml:"ceModeBSupportInd" bson:"ceModeBSupportInd,omitempty"` +} diff --git a/models/models/model_cell_global_id.go b/models/models/model_cell_global_id.go new file mode 100644 index 00000000..8947b42c --- /dev/null +++ b/models/models/model_cell_global_id.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Cell Global Identification as defined in 3GPP TS 23.003, clause 4.3.1. +type CellGlobalId struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + CellId string `json:"cellId" yaml:"cellId" bson:"cellId,omitempty"` +} diff --git a/models/models/model_change_item.go b/models/models/model_change_item.go new file mode 100644 index 00000000..ce169dc4 --- /dev/null +++ b/models/models/model_change_item.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It contains data which need to be changed. +type ChangeItem struct { + Op ChangeType `json:"op" yaml:"op" bson:"op,omitempty"` + // contains a JSON pointer value (as defined in IETF RFC 6901) that references a target location within the resource on which the change has been applied. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. It shall be present if the \"op\" attribute is of value \"MOVE\". + From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` + OrigValue map[string]interface{} `json:"origValue,omitempty" yaml:"origValue" bson:"origValue,omitempty"` + NewValue map[string]interface{} `json:"newValue,omitempty" yaml:"newValue" bson:"newValue,omitempty"` +} diff --git a/models/models/model_change_of_supi_pei_association_report.go b/models/models/model_change_of_supi_pei_association_report.go new file mode 100644 index 00000000..7149a1c3 --- /dev/null +++ b/models/models/model_change_of_supi_pei_association_report.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChangeOfSupiPeiAssociationReport struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` +} diff --git a/models/models/model_change_type.go b/models/models/model_change_type.go new file mode 100644 index 00000000..0dae3f75 --- /dev/null +++ b/models/models/model_change_type.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChangeType string + +// List of ChangeType +const ( + ChangeType_ADD ChangeType = "ADD" + ChangeType_MOVE ChangeType = "MOVE" + ChangeType_REMOVE ChangeType = "REMOVE" + ChangeType_REPLACE ChangeType = "REPLACE" +) diff --git a/models/models/model_charging_characteristics_selection_mode.go b/models/models/model_charging_characteristics_selection_mode.go new file mode 100644 index 00000000..b9985fa3 --- /dev/null +++ b/models/models/model_charging_characteristics_selection_mode.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChargingCharacteristicsSelectionMode string + +// List of ChargingCharacteristicsSelectionMode +const ( + ChargingCharacteristicsSelectionMode_HOME_DEFAULT ChargingCharacteristicsSelectionMode = "HOME_DEFAULT" + ChargingCharacteristicsSelectionMode_ROAMING_DEFAULT ChargingCharacteristicsSelectionMode = "ROAMING_DEFAULT" + ChargingCharacteristicsSelectionMode_VISITING_DEFAULT ChargingCharacteristicsSelectionMode = "VISITING_DEFAULT" +) diff --git a/models/models/model_charging_data.go b/models/models/model_charging_data.go new file mode 100644 index 00000000..da5daa9c --- /dev/null +++ b/models/models/model_charging_data.go @@ -0,0 +1,39 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains charging related parameters. +type ChargingData struct { + // Univocally identifies the charging control policy data within a PDU session. + ChgId string `json:"chgId" yaml:"chgId" bson:"chgId,omitempty"` + MeteringMethod MeteringMethod `json:"meteringMethod,omitempty" yaml:"meteringMethod" bson:"meteringMethod,omitempty"` + // Indicates the offline charging is applicable to the PCC rule when it is included and set to true. + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + // Indicates the online charging is applicable to the PCC rule when it is included and set to true. + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + // Indicates whether the service data flow is allowed to start while the SMF is waiting for the response to the credit request. + SdfHandl bool `json:"sdfHandl,omitempty" yaml:"sdfHandl" bson:"sdfHandl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + ReportingLevel ReportingLevel `json:"reportingLevel,omitempty" yaml:"reportingLevel" bson:"reportingLevel,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + // Indicates the sponsor identity. + SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` + // Indicates the application service provider identity. + AppSvcProvId string `json:"appSvcProvId,omitempty" yaml:"appSvcProvId" bson:"appSvcProvId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` +} diff --git a/models/models/model_charging_info.go b/models/models/model_charging_info.go new file mode 100644 index 00000000..6c5d84f1 --- /dev/null +++ b/models/models/model_charging_info.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Diameter addresses of the charging function +type ChargingInfo struct { + // Fully Qualified Domain Name + PrimaryEventChargingFunctionName string `json:"primaryEventChargingFunctionName,omitempty" yaml:"primaryEventChargingFunctionName" bson:"primaryEventChargingFunctionName,omitempty"` + // Fully Qualified Domain Name + SecondaryEventChargingFunctionName string `json:"secondaryEventChargingFunctionName,omitempty" yaml:"secondaryEventChargingFunctionName" bson:"secondaryEventChargingFunctionName,omitempty"` + // Fully Qualified Domain Name + PrimaryChargingCollectionFunctionName string `json:"primaryChargingCollectionFunctionName,omitempty" yaml:"primaryChargingCollectionFunctionName" bson:"primaryChargingCollectionFunctionName,omitempty"` + // Fully Qualified Domain Name + SecondaryChargingCollectionFunctionName string `json:"secondaryChargingCollectionFunctionName,omitempty" yaml:"secondaryChargingCollectionFunctionName" bson:"secondaryChargingCollectionFunctionName,omitempty"` +} diff --git a/models/models/model_charging_information.go b/models/models/model_charging_information.go new file mode 100644 index 00000000..ad8f21ca --- /dev/null +++ b/models/models/model_charging_information.go @@ -0,0 +1,29 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the addresses of the charging functions. +type ChargingInformation struct { + // String providing an URI formatted according to RFC 3986. + PrimaryChfAddress string `json:"primaryChfAddress" yaml:"primaryChfAddress" bson:"primaryChfAddress,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondaryChfAddress string `json:"secondaryChfAddress,omitempty" yaml:"secondaryChfAddress" bson:"secondaryChfAddress,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PrimaryChfSetId string `json:"primaryChfSetId,omitempty" yaml:"primaryChfSetId" bson:"primaryChfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PrimaryChfInstanceId string `json:"primaryChfInstanceId,omitempty" yaml:"primaryChfInstanceId" bson:"primaryChfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SecondaryChfSetId string `json:"secondaryChfSetId,omitempty" yaml:"secondaryChfSetId" bson:"secondaryChfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SecondaryChfInstanceId string `json:"secondaryChfInstanceId,omitempty" yaml:"secondaryChfInstanceId" bson:"secondaryChfInstanceId,omitempty"` +} diff --git a/models/models/model_charging_notify_request.go b/models/models/model_charging_notify_request.go new file mode 100644 index 00000000..9e32ac66 --- /dev/null +++ b/models/models/model_charging_notify_request.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChargingNotifyRequest struct { + NotificationType ChfConvergedChargingNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` + ReauthorizationDetails []ReauthorizationDetails `json:"reauthorizationDetails,omitempty" yaml:"reauthorizationDetails" bson:"reauthorizationDetails,omitempty"` +} diff --git a/models/models/model_charging_notify_response.go b/models/models/model_charging_notify_response.go new file mode 100644 index 00000000..b69ccc77 --- /dev/null +++ b/models/models/model_charging_notify_response.go @@ -0,0 +1,17 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChargingNotifyResponse struct { + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_charging_data_request.go b/models/models/model_chf_converged_charging_charging_data_request.go new file mode 100644 index 00000000..c476cf2a --- /dev/null +++ b/models/models/model_chf_converged_charging_charging_data_request.go @@ -0,0 +1,62 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingChargingDataRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` + TenantIdentifier string `json:"tenantIdentifier,omitempty" yaml:"tenantIdentifier" bson:"tenantIdentifier,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + MnSConsumerIdentifier string `json:"mnSConsumerIdentifier,omitempty" yaml:"mnSConsumerIdentifier" bson:"mnSConsumerIdentifier,omitempty"` + NfConsumerIdentification *ChfConvergedChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` + OneTimeEvent bool `json:"oneTimeEvent,omitempty" yaml:"oneTimeEvent" bson:"oneTimeEvent,omitempty"` + OneTimeEventType OneTimeEventType `json:"oneTimeEventType,omitempty" yaml:"oneTimeEventType" bson:"oneTimeEventType,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` + MultipleUnitUsage []ChfConvergedChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + Easid string `json:"easid,omitempty" yaml:"easid" bson:"easid,omitempty"` + Ednid string `json:"ednid,omitempty" yaml:"ednid" bson:"ednid,omitempty"` + EASProviderIdentifier string `json:"eASProviderIdentifier,omitempty" yaml:"eASProviderIdentifier" bson:"eASProviderIdentifier,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + SMSChargingInformation *SmsChargingInformation `json:"sMSChargingInformation,omitempty" yaml:"sMSChargingInformation" bson:"sMSChargingInformation,omitempty"` + NEFChargingInformation *NefChargingInformation `json:"nEFChargingInformation,omitempty" yaml:"nEFChargingInformation" bson:"nEFChargingInformation,omitempty"` + RegistrationChargingInformation *RegistrationChargingInformation `json:"registrationChargingInformation,omitempty" yaml:"registrationChargingInformation" bson:"registrationChargingInformation,omitempty"` + N2ConnectionChargingInformation *N2ConnectionChargingInformation `json:"n2ConnectionChargingInformation,omitempty" yaml:"n2ConnectionChargingInformation" bson:"n2ConnectionChargingInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` + NSPAChargingInformation *NspaChargingInformation `json:"nSPAChargingInformation,omitempty" yaml:"nSPAChargingInformation" bson:"nSPAChargingInformation,omitempty"` + NSMChargingInformation *NsmChargingInformation `json:"nSMChargingInformation,omitempty" yaml:"nSMChargingInformation" bson:"nSMChargingInformation,omitempty"` + MMTelChargingInformation *MmTelChargingInformation `json:"mMTelChargingInformation,omitempty" yaml:"mMTelChargingInformation" bson:"mMTelChargingInformation,omitempty"` + IMSChargingInformation *ImsChargingInformation `json:"iMSChargingInformation,omitempty" yaml:"iMSChargingInformation" bson:"iMSChargingInformation,omitempty"` + EdgeInfrastructureUsageChargingInformation *EdgeInfrastructureUsageChargingInformation `json:"edgeInfrastructureUsageChargingInformation,omitempty" yaml:"edgeInfrastructureUsageChargingInformation'" bson:"edgeInfrastructureUsageChargingInformation',omitempty"` + EASDeploymentChargingInformation *EasDeploymentChargingInformation `json:"eASDeploymentChargingInformation,omitempty" yaml:"eASDeploymentChargingInformation" bson:"eASDeploymentChargingInformation,omitempty"` + DirectEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"directEdgeEnablingServiceChargingInformation,omitempty" yaml:"directEdgeEnablingServiceChargingInformation" bson:"directEdgeEnablingServiceChargingInformation,omitempty"` + ExposedEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"exposedEdgeEnablingServiceChargingInformation,omitempty" yaml:"exposedEdgeEnablingServiceChargingInformation" bson:"exposedEdgeEnablingServiceChargingInformation,omitempty"` + ProSeChargingInformation *ProseChargingInformation `json:"proSeChargingInformation,omitempty" yaml:"proSeChargingInformation" bson:"proSeChargingInformation,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_charging_data_response.go b/models/models/model_chf_converged_charging_charging_data_response.go new file mode 100644 index 00000000..b2c7f184 --- /dev/null +++ b/models/models/model_chf_converged_charging_charging_data_response.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingChargingDataResponse struct { + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_multiple_qf_icontainer.go b/models/models/model_chf_converged_charging_multiple_qf_icontainer.go new file mode 100644 index 00000000..36c7379a --- /dev/null +++ b/models/models/model_chf_converged_charging_multiple_qf_icontainer.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingMultipleQfIcontainer struct { + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + QFIContainerInformation *ChfConvergedChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_multiple_unit_usage.go b/models/models/model_chf_converged_charging_multiple_unit_usage.go new file mode 100644 index 00000000..a4e2f412 --- /dev/null +++ b/models/models/model_chf_converged_charging_multiple_unit_usage.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingMultipleUnitUsage struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + RequestedUnit *RequestedUnit `json:"requestedUnit,omitempty" yaml:"requestedUnit" bson:"requestedUnit,omitempty"` + UsedUnitContainer []ChfConvergedChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + MultihomedPDUAddress *ChfConvergedChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_nf_identification.go b/models/models/model_chf_converged_charging_nf_identification.go new file mode 100644 index 00000000..3cf40555 --- /dev/null +++ b/models/models/model_chf_converged_charging_nf_identification.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNfIdentification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` + NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` + NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` + NodeFunctionality ChfConvergedChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` + NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_node_functionality.go b/models/models/model_chf_converged_charging_node_functionality.go new file mode 100644 index 00000000..dc8b3705 --- /dev/null +++ b/models/models/model_chf_converged_charging_node_functionality.go @@ -0,0 +1,39 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNodeFunctionality string + +// List of ChfConvergedChargingNodeFunctionality +const ( + ChfConvergedChargingNodeFunctionality_AMF ChfConvergedChargingNodeFunctionality = "AMF" + ChfConvergedChargingNodeFunctionality_SMF ChfConvergedChargingNodeFunctionality = "SMF" + ChfConvergedChargingNodeFunctionality_SMS ChfConvergedChargingNodeFunctionality = "SMS" + ChfConvergedChargingNodeFunctionality_SMSF ChfConvergedChargingNodeFunctionality = "SMSF" + ChfConvergedChargingNodeFunctionality_PGW_C_SMF ChfConvergedChargingNodeFunctionality = "PGW_C_SMF" + ChfConvergedChargingNodeFunctionality_NEFF ChfConvergedChargingNodeFunctionality = "NEFF" + ChfConvergedChargingNodeFunctionality_SGW ChfConvergedChargingNodeFunctionality = "SGW" + ChfConvergedChargingNodeFunctionality_I_SMF ChfConvergedChargingNodeFunctionality = "I_SMF" + ChfConvergedChargingNodeFunctionality_E_PDG ChfConvergedChargingNodeFunctionality = "ePDG" + ChfConvergedChargingNodeFunctionality_CEF ChfConvergedChargingNodeFunctionality = "CEF" + ChfConvergedChargingNodeFunctionality_NEF ChfConvergedChargingNodeFunctionality = "NEF" + ChfConvergedChargingNodeFunctionality_MN_S_PRODUCER ChfConvergedChargingNodeFunctionality = "MnS_Producer" + ChfConvergedChargingNodeFunctionality_SGSN ChfConvergedChargingNodeFunctionality = "SGSN" + ChfConvergedChargingNodeFunctionality_V_SMF ChfConvergedChargingNodeFunctionality = "V_SMF" + ChfConvergedChargingNodeFunctionality__5_G_DDNMF ChfConvergedChargingNodeFunctionality = "5G_DDNMF" + ChfConvergedChargingNodeFunctionality_IMS_NODE ChfConvergedChargingNodeFunctionality = "IMS_Node" + ChfConvergedChargingNodeFunctionality_EES ChfConvergedChargingNodeFunctionality = "EES" + ChfConvergedChargingNodeFunctionality_PCF ChfConvergedChargingNodeFunctionality = "PCF" + ChfConvergedChargingNodeFunctionality_UDM ChfConvergedChargingNodeFunctionality = "UDM" + ChfConvergedChargingNodeFunctionality_UPF ChfConvergedChargingNodeFunctionality = "UPF" +) diff --git a/models/models/model_chf_converged_charging_notification_type.go b/models/models/model_chf_converged_charging_notification_type.go new file mode 100644 index 00000000..65289a65 --- /dev/null +++ b/models/models/model_chf_converged_charging_notification_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingNotificationType string + +// List of ChfConvergedChargingNotificationType +const ( + ChfConvergedChargingNotificationType_REAUTHORIZATION ChfConvergedChargingNotificationType = "REAUTHORIZATION" + ChfConvergedChargingNotificationType_ABORT_CHARGING ChfConvergedChargingNotificationType = "ABORT_CHARGING" +) diff --git a/models/models/model_chf_converged_charging_pdu_address.go b/models/models/model_chf_converged_charging_pdu_address.go new file mode 100644 index 00000000..68188b2d --- /dev/null +++ b/models/models/model_chf_converged_charging_pdu_address.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingPduAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` + PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` + PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` + IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` + IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` + AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` + AddIpv6AddrPrefixList []string `json:"addIpv6AddrPrefixList,omitempty" yaml:"addIpv6AddrPrefixList" bson:"addIpv6AddrPrefixList,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_pdu_container_information.go b/models/models/model_chf_converged_charging_pdu_container_information.go new file mode 100644 index 00000000..042def43 --- /dev/null +++ b/models/models/model_chf_converged_charging_pdu_container_information.go @@ -0,0 +1,44 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduContainerInformation struct { + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` + // Application provided charging identifier allowing correlation of charging information. + AfChargingIdString string `json:"afChargingIdString,omitempty" yaml:"afChargingIdString" bson:"afChargingIdString,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNodeID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` + ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` + ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` + MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` + MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` + TrafficForwardingWay TrafficForwardingWay `json:"trafficForwardingWay,omitempty" yaml:"trafficForwardingWay" bson:"trafficForwardingWay,omitempty"` + QosMonitoringReport []ChfConvergedChargingQosMonitoringReport `json:"qosMonitoringReport,omitempty" yaml:"qosMonitoringReport" bson:"qosMonitoringReport,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_pdu_session_charging_information.go b/models/models/model_chf_converged_charging_pdu_session_charging_information.go new file mode 100644 index 00000000..eacf71d9 --- /dev/null +++ b/models/models/model_chf_converged_charging_pdu_session_charging_information.go @@ -0,0 +1,40 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduSessionChargingInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + SMFchargingId string `json:"sMFchargingId,omitempty" yaml:"sMFchargingId" bson:"sMFchargingId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + HomeProvidedChargingId int32 `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + SMFHomeProvidedChargingId string `json:"sMFHomeProvidedChargingId,omitempty" yaml:"sMFHomeProvidedChargingId" bson:"sMFHomeProvidedChargingId,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Non3GPPUserLocationTime *time.Time `json:"non3GPPUserLocationTime,omitempty" yaml:"non3GPPUserLocationTime" bson:"non3GPPUserLocationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MAPDUNon3GPPUserLocationTime *time.Time `json:"mAPDUNon3GPPUserLocationTime,omitempty" yaml:"mAPDUNon3GPPUserLocationTime" bson:"mAPDUNon3GPPUserLocationTime,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PduSessionInformation *ChfConvergedChargingPduSessionInformation `json:"pduSessionInformation,omitempty" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` + // indicating a time in seconds. + UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` + RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_pdu_session_information.go b/models/models/model_chf_converged_charging_pdu_session_information.go new file mode 100644 index 00000000..ba4fcbce --- /dev/null +++ b/models/models/model_chf_converged_charging_pdu_session_information.go @@ -0,0 +1,56 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingPduSessionInformation struct { + NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` + PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` + SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` + ServingNetworkFunctionID *ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` + DnnSelectionMode DnnSelectionMode `json:"dnnSelectionMode,omitempty" yaml:"dnnSelectionMode" bson:"dnnSelectionMode,omitempty"` + ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` + ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` + PduAddress *ChfConvergedChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` + SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` + AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` + SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` + ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` + MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` + EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` + RedundantTransmissionType RedundantTransmissionType `json:"redundantTransmissionType,omitempty" yaml:"redundantTransmissionType" bson:"redundantTransmissionType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + PDUSessionPairID int32 `json:"pDUSessionPairID,omitempty" yaml:"pDUSessionPairID" bson:"pDUSessionPairID,omitempty"` + CpCIoTOptimisationIndicator bool `json:"cpCIoTOptimisationIndicator,omitempty" yaml:"cpCIoTOptimisationIndicator" bson:"cpCIoTOptimisationIndicator,omitempty"` + Var5GSControlPlaneOnlyIndicator bool `json:"5GSControlPlaneOnlyIndicator,omitempty" yaml:"5GSControlPlaneOnlyIndicator" bson:"5GSControlPlaneOnlyIndicator,omitempty"` + SmallDataRateControlIndicator bool `json:"smallDataRateControlIndicator,omitempty" yaml:"smallDataRateControlIndicator" bson:"smallDataRateControlIndicator,omitempty"` + Var5GLANTypeService *Model5GlanTypeService `json:"5GLANTypeService,omitempty" yaml:"5GLANTypeService" bson:"5GLANTypeService,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_qfi_container_information.go b/models/models/model_chf_converged_charging_qfi_container_information.go new file mode 100644 index 00000000..b2b15949 --- /dev/null +++ b/models/models/model_chf_converged_charging_qfi_container_information.go @@ -0,0 +1,41 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingQfiContainerInformation struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReportTime *time.Time `json:"reportTime" yaml:"reportTime" bson:"reportTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNetworkFunctionID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Var3gppChargingId int32 `json:"3gppChargingId,omitempty" yaml:"3gppChargingId" bson:"3gppChargingId,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + EnhancedDiagnostics []string `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_qos_monitoring_report.go b/models/models/model_chf_converged_charging_qos_monitoring_report.go new file mode 100644 index 00000000..acbd67f4 --- /dev/null +++ b/models/models/model_chf_converged_charging_qos_monitoring_report.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains reporting information on QoS monitoring. +type ChfConvergedChargingQosMonitoringReport struct { + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_redirect_address_type.go b/models/models/model_chf_converged_charging_redirect_address_type.go new file mode 100644 index 00000000..eb9fbd05 --- /dev/null +++ b/models/models/model_chf_converged_charging_redirect_address_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRedirectAddressType string + +// List of ChfConvergedChargingRedirectAddressType +const ( + ChfConvergedChargingRedirectAddressType_IPV4 ChfConvergedChargingRedirectAddressType = "IPV4" + ChfConvergedChargingRedirectAddressType_IPV6 ChfConvergedChargingRedirectAddressType = "IPV6" + ChfConvergedChargingRedirectAddressType_URL ChfConvergedChargingRedirectAddressType = "URL" + ChfConvergedChargingRedirectAddressType_URI ChfConvergedChargingRedirectAddressType = "URI" +) diff --git a/models/models/model_chf_converged_charging_result_code.go b/models/models/model_chf_converged_charging_result_code.go new file mode 100644 index 00000000..06815342 --- /dev/null +++ b/models/models/model_chf_converged_charging_result_code.go @@ -0,0 +1,27 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingResultCode string + +// List of ChfConvergedChargingResultCode +const ( + ChfConvergedChargingResultCode_SUCCESS ChfConvergedChargingResultCode = "SUCCESS" + ChfConvergedChargingResultCode_END_USER_SERVICE_DENIED ChfConvergedChargingResultCode = "END_USER_SERVICE_DENIED" + ChfConvergedChargingResultCode_QUOTA_MANAGEMENT_NOT_APPLICABLE ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT_NOT_APPLICABLE" + ChfConvergedChargingResultCode_QUOTA_LIMIT_REACHED ChfConvergedChargingResultCode = "QUOTA_LIMIT_REACHED" + ChfConvergedChargingResultCode_END_USER_SERVICE_REJECTED ChfConvergedChargingResultCode = "END_USER_SERVICE_REJECTED" + ChfConvergedChargingResultCode_USER_UNKNOWN ChfConvergedChargingResultCode = "USER_UNKNOWN" + ChfConvergedChargingResultCode_RATING_FAILED ChfConvergedChargingResultCode = "RATING_FAILED" + ChfConvergedChargingResultCode_QUOTA_MANAGEMENT ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT" +) diff --git a/models/models/model_chf_converged_charging_roaming_charging_profile.go b/models/models/model_chf_converged_charging_roaming_charging_profile.go new file mode 100644 index 00000000..3e226448 --- /dev/null +++ b/models/models/model_chf_converged_charging_roaming_charging_profile.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRoamingChargingProfile struct { + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_roaming_qbc_information.go b/models/models/model_chf_converged_charging_roaming_qbc_information.go new file mode 100644 index 00000000..232ad3c0 --- /dev/null +++ b/models/models/model_chf_converged_charging_roaming_qbc_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingRoamingQbcInformation struct { + MultipleQFIcontainer []ChfConvergedChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_serving_network_function_id.go b/models/models/model_chf_converged_charging_serving_network_function_id.go new file mode 100644 index 00000000..528ee080 --- /dev/null +++ b/models/models/model_chf_converged_charging_serving_network_function_id.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingServingNetworkFunctionId struct { + ServingNetworkFunctionInformation *ChfConvergedChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_trigger.go b/models/models/model_chf_converged_charging_trigger.go new file mode 100644 index 00000000..a2b4c269 --- /dev/null +++ b/models/models/model_chf_converged_charging_trigger.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingTrigger struct { + TriggerType ChfConvergedChargingTriggerType `json:"triggerType,omitempty" yaml:"triggerType" bson:"triggerType,omitempty"` + TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` + // indicating a time in seconds. + TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_trigger_type.go b/models/models/model_chf_converged_charging_trigger_type.go new file mode 100644 index 00000000..bc45a3e5 --- /dev/null +++ b/models/models/model_chf_converged_charging_trigger_type.go @@ -0,0 +1,63 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingTriggerType string + +// List of ChfConvergedChargingTriggerType +const ( + ChfConvergedChargingTriggerType_QUOTA_THRESHOLD ChfConvergedChargingTriggerType = "QUOTA_THRESHOLD" + ChfConvergedChargingTriggerType_QHT ChfConvergedChargingTriggerType = "QHT" + ChfConvergedChargingTriggerType_FINAL ChfConvergedChargingTriggerType = "FINAL" + ChfConvergedChargingTriggerType_QUOTA_EXHAUSTED ChfConvergedChargingTriggerType = "QUOTA_EXHAUSTED" + ChfConvergedChargingTriggerType_VALIDITY_TIME ChfConvergedChargingTriggerType = "VALIDITY_TIME" + ChfConvergedChargingTriggerType_OTHER_QUOTA_TYPE ChfConvergedChargingTriggerType = "OTHER_QUOTA_TYPE" + ChfConvergedChargingTriggerType_FORCED_REAUTHORISATION ChfConvergedChargingTriggerType = "FORCED_REAUTHORISATION" + ChfConvergedChargingTriggerType_UNUSED_QUOTA_TIMER ChfConvergedChargingTriggerType = "UNUSED_QUOTA_TIMER" + ChfConvergedChargingTriggerType_UNIT_COUNT_INACTIVITY_TIMER ChfConvergedChargingTriggerType = "UNIT_COUNT_INACTIVITY_TIMER" + ChfConvergedChargingTriggerType_ABNORMAL_RELEASE ChfConvergedChargingTriggerType = "ABNORMAL_RELEASE" + ChfConvergedChargingTriggerType_QOS_CHANGE ChfConvergedChargingTriggerType = "QOS_CHANGE" + ChfConvergedChargingTriggerType_VOLUME_LIMIT ChfConvergedChargingTriggerType = "VOLUME_LIMIT" + ChfConvergedChargingTriggerType_TIME_LIMIT ChfConvergedChargingTriggerType = "TIME_LIMIT" + ChfConvergedChargingTriggerType_EVENT_LIMIT ChfConvergedChargingTriggerType = "EVENT_LIMIT" + ChfConvergedChargingTriggerType_PLMN_CHANGE ChfConvergedChargingTriggerType = "PLMN_CHANGE" + ChfConvergedChargingTriggerType_USER_LOCATION_CHANGE ChfConvergedChargingTriggerType = "USER_LOCATION_CHANGE" + ChfConvergedChargingTriggerType_RAT_CHANGE ChfConvergedChargingTriggerType = "RAT_CHANGE" + ChfConvergedChargingTriggerType_SESSION_AMBR_CHANGE ChfConvergedChargingTriggerType = "SESSION_AMBR_CHANGE" + ChfConvergedChargingTriggerType_UE_TIMEZONE_CHANGE ChfConvergedChargingTriggerType = "UE_TIMEZONE_CHANGE" + ChfConvergedChargingTriggerType_TARIFF_TIME_CHANGE ChfConvergedChargingTriggerType = "TARIFF_TIME_CHANGE" + ChfConvergedChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfConvergedChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" + ChfConvergedChargingTriggerType_MANAGEMENT_INTERVENTION ChfConvergedChargingTriggerType = "MANAGEMENT_INTERVENTION" + ChfConvergedChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfConvergedChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" + ChfConvergedChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfConvergedChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" + ChfConvergedChargingTriggerType_SERVING_NODE_CHANGE ChfConvergedChargingTriggerType = "SERVING_NODE_CHANGE" + ChfConvergedChargingTriggerType_REMOVAL_OF_UPF ChfConvergedChargingTriggerType = "REMOVAL_OF_UPF" + ChfConvergedChargingTriggerType_ADDITION_OF_UPF ChfConvergedChargingTriggerType = "ADDITION_OF_UPF" + ChfConvergedChargingTriggerType_INSERTION_OF_ISMF ChfConvergedChargingTriggerType = "INSERTION_OF_ISMF" + ChfConvergedChargingTriggerType_REMOVAL_OF_ISMF ChfConvergedChargingTriggerType = "REMOVAL_OF_ISMF" + ChfConvergedChargingTriggerType_CHANGE_OF_ISMF ChfConvergedChargingTriggerType = "CHANGE_OF_ISMF" + ChfConvergedChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfConvergedChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" + ChfConvergedChargingTriggerType_ECGI_CHANGE ChfConvergedChargingTriggerType = "ECGI_CHANGE" + ChfConvergedChargingTriggerType_TAI_CHANGE ChfConvergedChargingTriggerType = "TAI_CHANGE" + ChfConvergedChargingTriggerType_HANDOVER_CANCEL ChfConvergedChargingTriggerType = "HANDOVER_CANCEL" + ChfConvergedChargingTriggerType_HANDOVER_START ChfConvergedChargingTriggerType = "HANDOVER_START" + ChfConvergedChargingTriggerType_HANDOVER_COMPLETE ChfConvergedChargingTriggerType = "HANDOVER_COMPLETE" + ChfConvergedChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfConvergedChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" + ChfConvergedChargingTriggerType_ADDITION_OF_ACCESS ChfConvergedChargingTriggerType = "ADDITION_OF_ACCESS" + ChfConvergedChargingTriggerType_REMOVAL_OF_ACCESS ChfConvergedChargingTriggerType = "REMOVAL_OF_ACCESS" + ChfConvergedChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfConvergedChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" + ChfConvergedChargingTriggerType_REDUNDANT_TRANSMISSION_CHANGE ChfConvergedChargingTriggerType = "REDUNDANT_TRANSMISSION_CHANGE" + ChfConvergedChargingTriggerType_CGI_SAI_CHANGE ChfConvergedChargingTriggerType = "CGI_SAI_CHANGE" + ChfConvergedChargingTriggerType_RAI_CHANGE ChfConvergedChargingTriggerType = "RAI_CHANGE" + ChfConvergedChargingTriggerType_VSMF_CHANGE ChfConvergedChargingTriggerType = "VSMF_CHANGE" +) diff --git a/models/models/model_chf_converged_charging_used_unit_container.go b/models/models/model_chf_converged_charging_used_unit_container.go new file mode 100644 index 00000000..9922b4f1 --- /dev/null +++ b/models/models/model_chf_converged_charging_used_unit_container.go @@ -0,0 +1,41 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfConvergedChargingUsedUnitContainer struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` + EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + PDUContainerInformation *ChfConvergedChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` + NSPAContainerInformation *NspaContainerInformation `json:"nSPAContainerInformation,omitempty" yaml:"nSPAContainerInformation" bson:"nSPAContainerInformation,omitempty"` + PC5ContainerInformation *Pc5ContainerInformation `json:"pC5ContainerInformation,omitempty" yaml:"pC5ContainerInformation" bson:"pC5ContainerInformation,omitempty"` +} diff --git a/models/models/model_chf_converged_charging_user_information.go b/models/models/model_chf_converged_charging_user_information.go new file mode 100644 index 00000000..4fda5535 --- /dev/null +++ b/models/models/model_chf_converged_charging_user_information.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfConvergedChargingUserInformation struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` + UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` +} diff --git a/models/models/model_chf_info.go b/models/models/model_chf_info.go new file mode 100644 index 00000000..f102cf91 --- /dev/null +++ b/models/models/model_chf_info.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a CHF NF Instance +type ChfInfo struct { + SupiRangeList []SupiRange `json:"supiRangeList,omitempty" yaml:"supiRangeList" bson:"supiRangeList,omitempty"` + GpsiRangeList []IdentityRange `json:"gpsiRangeList,omitempty" yaml:"gpsiRangeList" bson:"gpsiRangeList,omitempty"` + PlmnRangeList []PlmnRange `json:"plmnRangeList,omitempty" yaml:"plmnRangeList" bson:"plmnRangeList,omitempty"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PrimaryChfInstance string `json:"primaryChfInstance,omitempty" yaml:"primaryChfInstance" bson:"primaryChfInstance,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SecondaryChfInstance string `json:"secondaryChfInstance,omitempty" yaml:"secondaryChfInstance" bson:"secondaryChfInstance,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_charging_data_request.go b/models/models/model_chf_offline_only_charging_charging_data_request.go new file mode 100644 index 00000000..d24c6589 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_charging_data_request.go @@ -0,0 +1,33 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingChargingDataRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` + NfConsumerIdentification *ChfOfflineOnlyChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` + ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` + MultipleUnitUsage []ChfOfflineOnlyChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_charging_data_response.go b/models/models/model_chf_offline_only_charging_charging_data_response.go new file mode 100644 index 00000000..aa7ddcfb --- /dev/null +++ b/models/models/model_chf_offline_only_charging_charging_data_response.go @@ -0,0 +1,29 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingChargingDataResponse struct { + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go b/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go new file mode 100644 index 00000000..e5bf1849 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go @@ -0,0 +1,31 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingMultipleQfIcontainer struct { + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + QFIContainerInformation *ChfOfflineOnlyChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_multiple_unit_usage.go b/models/models/model_chf_offline_only_charging_multiple_unit_usage.go new file mode 100644 index 00000000..5028ff4a --- /dev/null +++ b/models/models/model_chf_offline_only_charging_multiple_unit_usage.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingMultipleUnitUsage struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + UsedUnitContainer []ChfOfflineOnlyChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + MultihomedPDUAddress *ChfOfflineOnlyChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_nf_identification.go b/models/models/model_chf_offline_only_charging_nf_identification.go new file mode 100644 index 00000000..997e6918 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_nf_identification.go @@ -0,0 +1,24 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingNfIdentification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` + NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` + NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` + NodeFunctionality ChfOfflineOnlyChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` + NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_node_functionality.go b/models/models/model_chf_offline_only_charging_node_functionality.go new file mode 100644 index 00000000..b5b0a2ac --- /dev/null +++ b/models/models/model_chf_offline_only_charging_node_functionality.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingNodeFunctionality string + +// List of ChfOfflineOnlyChargingNodeFunctionality +const ( + ChfOfflineOnlyChargingNodeFunctionality_SMF ChfOfflineOnlyChargingNodeFunctionality = "SMF" + ChfOfflineOnlyChargingNodeFunctionality_SMSF ChfOfflineOnlyChargingNodeFunctionality = "SMSF" + ChfOfflineOnlyChargingNodeFunctionality_I_SMF ChfOfflineOnlyChargingNodeFunctionality = "I-SMF" +) diff --git a/models/models/model_chf_offline_only_charging_pdu_address.go b/models/models/model_chf_offline_only_charging_pdu_address.go new file mode 100644 index 00000000..68ba6629 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_pdu_address.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingPduAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` + PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` + PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` + IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` + IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_pdu_container_information.go b/models/models/model_chf_offline_only_charging_pdu_container_information.go new file mode 100644 index 00000000..58661195 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_pdu_container_information.go @@ -0,0 +1,39 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduContainerInformation struct { + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + AFCorrelationInformation string `json:"aFCorrelationInformation,omitempty" yaml:"aFCorrelationInformation" bson:"aFCorrelationInformation,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNodeID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` + ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` + ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` + MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` + MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go b/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go new file mode 100644 index 00000000..1c52a27e --- /dev/null +++ b/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go @@ -0,0 +1,35 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduSessionChargingInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + SMFChargingId string `json:"sMFChargingId,omitempty" yaml:"sMFChargingId" bson:"sMFChargingId,omitempty"` + UserInformation *ChfOfflineOnlyChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationTime *time.Time `json:"userLocationTime,omitempty" yaml:"userLocationTime" bson:"userLocationTime,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PduSessionInformation *ChfOfflineOnlyChargingPduSessionInformation `json:"pduSessionInformation" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` + // indicating a time in seconds. + UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` + RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_pdu_session_information.go b/models/models/model_chf_offline_only_charging_pdu_session_information.go new file mode 100644 index 00000000..c8c017fd --- /dev/null +++ b/models/models/model_chf_offline_only_charging_pdu_session_information.go @@ -0,0 +1,48 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingPduSessionInformation struct { + NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` + PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` + SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` + ServingNetworkFunctionID *ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` + ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` + ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` + PduAddress *ChfOfflineOnlyChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` + Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` + AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` + SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` + AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` + SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` + ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` + MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` + EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_qfi_container_information.go b/models/models/model_chf_offline_only_charging_qfi_container_information.go new file mode 100644 index 00000000..f5ce910f --- /dev/null +++ b/models/models/model_chf_offline_only_charging_qfi_container_information.go @@ -0,0 +1,35 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingQfiContainerInformation struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + ServingNetworkFunctionID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_result_code.go b/models/models/model_chf_offline_only_charging_result_code.go new file mode 100644 index 00000000..80c61444 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_result_code.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingResultCode string + +// List of ChfOfflineOnlyChargingResultCode +const ( + ChfOfflineOnlyChargingResultCode_SUCCESS ChfOfflineOnlyChargingResultCode = "SUCCESS" + ChfOfflineOnlyChargingResultCode_END_USER_SERVICE_DENIED ChfOfflineOnlyChargingResultCode = "END_USER_SERVICE_DENIED" +) diff --git a/models/models/model_chf_offline_only_charging_roaming_charging_profile.go b/models/models/model_chf_offline_only_charging_roaming_charging_profile.go new file mode 100644 index 00000000..4b68565c --- /dev/null +++ b/models/models/model_chf_offline_only_charging_roaming_charging_profile.go @@ -0,0 +1,18 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingRoamingChargingProfile struct { + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_roaming_qbc_information.go b/models/models/model_chf_offline_only_charging_roaming_qbc_information.go new file mode 100644 index 00000000..61d2f4d5 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_roaming_qbc_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingRoamingQbcInformation struct { + MultipleQFIcontainer []ChfOfflineOnlyChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + RoamingChargingProfile *ChfOfflineOnlyChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_serving_network_function_id.go b/models/models/model_chf_offline_only_charging_serving_network_function_id.go new file mode 100644 index 00000000..10c5b170 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_serving_network_function_id.go @@ -0,0 +1,19 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingServingNetworkFunctionId struct { + ServingNetworkFunctionInformation *ChfOfflineOnlyChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_trigger.go b/models/models/model_chf_offline_only_charging_trigger.go new file mode 100644 index 00000000..e944f9f3 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_trigger.go @@ -0,0 +1,28 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingTrigger struct { + TriggerType ChfOfflineOnlyChargingTriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType,omitempty"` + TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` + // indicating a time in seconds. + TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_trigger_type.go b/models/models/model_chf_offline_only_charging_trigger_type.go new file mode 100644 index 00000000..9ad31cdd --- /dev/null +++ b/models/models/model_chf_offline_only_charging_trigger_type.go @@ -0,0 +1,49 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingTriggerType string + +// List of ChfOfflineOnlyChargingTriggerType +const ( + ChfOfflineOnlyChargingTriggerType_FINAL ChfOfflineOnlyChargingTriggerType = "FINAL" + ChfOfflineOnlyChargingTriggerType_ABNORMAL_RELEASE ChfOfflineOnlyChargingTriggerType = "ABNORMAL_RELEASE" + ChfOfflineOnlyChargingTriggerType_QOS_CHANGE ChfOfflineOnlyChargingTriggerType = "QOS_CHANGE" + ChfOfflineOnlyChargingTriggerType_VOLUME_LIMIT ChfOfflineOnlyChargingTriggerType = "VOLUME_LIMIT" + ChfOfflineOnlyChargingTriggerType_TIME_LIMIT ChfOfflineOnlyChargingTriggerType = "TIME_LIMIT" + ChfOfflineOnlyChargingTriggerType_EVENT_LIMIT ChfOfflineOnlyChargingTriggerType = "EVENT_LIMIT" + ChfOfflineOnlyChargingTriggerType_PLMN_CHANGE ChfOfflineOnlyChargingTriggerType = "PLMN_CHANGE" + ChfOfflineOnlyChargingTriggerType_USER_LOCATION_CHANGE ChfOfflineOnlyChargingTriggerType = "USER_LOCATION_CHANGE" + ChfOfflineOnlyChargingTriggerType_RAT_CHANGE ChfOfflineOnlyChargingTriggerType = "RAT_CHANGE" + ChfOfflineOnlyChargingTriggerType_SESSION_AMBR_CHANGE ChfOfflineOnlyChargingTriggerType = "SESSION_AMBR_CHANGE" + ChfOfflineOnlyChargingTriggerType_UE_TIMEZONE_CHANGE ChfOfflineOnlyChargingTriggerType = "UE_TIMEZONE_CHANGE" + ChfOfflineOnlyChargingTriggerType_TARIFF_TIME_CHANGE ChfOfflineOnlyChargingTriggerType = "TARIFF_TIME_CHANGE" + ChfOfflineOnlyChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfOfflineOnlyChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" + ChfOfflineOnlyChargingTriggerType_MANAGEMENT_INTERVENTION ChfOfflineOnlyChargingTriggerType = "MANAGEMENT_INTERVENTION" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" + ChfOfflineOnlyChargingTriggerType_SERVING_NODE_CHANGE ChfOfflineOnlyChargingTriggerType = "SERVING_NODE_CHANGE" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_UPF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_UPF" + ChfOfflineOnlyChargingTriggerType_ADDITION_OF_UPF ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_UPF" + ChfOfflineOnlyChargingTriggerType_INSERTION_OF_ISMF ChfOfflineOnlyChargingTriggerType = "INSERTION_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ISMF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_CHANGE_OF_ISMF ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_ISMF" + ChfOfflineOnlyChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfOfflineOnlyChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" + ChfOfflineOnlyChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfOfflineOnlyChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" + ChfOfflineOnlyChargingTriggerType_HANDOVER_CANCEL ChfOfflineOnlyChargingTriggerType = "HANDOVER_CANCEL" + ChfOfflineOnlyChargingTriggerType_HANDOVER_START ChfOfflineOnlyChargingTriggerType = "HANDOVER_START" + ChfOfflineOnlyChargingTriggerType_HANDOVER_COMPLETE ChfOfflineOnlyChargingTriggerType = "HANDOVER_COMPLETE" + ChfOfflineOnlyChargingTriggerType_ADDITION_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_ACCESS" + ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ACCESS" + ChfOfflineOnlyChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfOfflineOnlyChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" +) diff --git a/models/models/model_chf_offline_only_charging_used_unit_container.go b/models/models/model_chf_offline_only_charging_used_unit_container.go new file mode 100644 index 00000000..1a876959 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_used_unit_container.go @@ -0,0 +1,38 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ChfOfflineOnlyChargingUsedUnitContainer struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` + EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` + LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + PDUContainerInformation *ChfOfflineOnlyChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` +} diff --git a/models/models/model_chf_offline_only_charging_user_information.go b/models/models/model_chf_offline_only_charging_user_information.go new file mode 100644 index 00000000..5a8d2818 --- /dev/null +++ b/models/models/model_chf_offline_only_charging_user_information.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfOfflineOnlyChargingUserInformation struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` + UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` +} diff --git a/models/models/model_chf_spending_limit_control_termination_cause.go b/models/models/model_chf_spending_limit_control_termination_cause.go new file mode 100644 index 00000000..1a3ac290 --- /dev/null +++ b/models/models/model_chf_spending_limit_control_termination_cause.go @@ -0,0 +1,20 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ChfSpendingLimitControlTerminationCause string + +// List of ChfSpendingLimitControlTerminationCause +const ( + ChfSpendingLimitControlTerminationCause_REMOVED_SUBSCRIBER ChfSpendingLimitControlTerminationCause = "REMOVED_SUBSCRIBER" +) diff --git a/models/models/model_cipher_request_data.go b/models/models/model_cipher_request_data.go new file mode 100644 index 00000000..dab826be --- /dev/null +++ b/models/models/model_cipher_request_data.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data request. +type CipherRequestData struct { + // String providing an URI formatted according to RFC 3986. + AmfCallBackURI string `json:"amfCallBackURI" yaml:"amfCallBackURI" bson:"amfCallBackURI,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_cipher_response_data.go b/models/models/model_cipher_response_data.go new file mode 100644 index 00000000..39c108d7 --- /dev/null +++ b/models/models/model_cipher_response_data.go @@ -0,0 +1,18 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Response. +type CipherResponseData struct { + DataAvailability DataAvailability `json:"dataAvailability" yaml:"dataAvailability" bson:"dataAvailability,omitempty"` +} diff --git a/models/models/model_ciphering_algorithm.go b/models/models/model_ciphering_algorithm.go new file mode 100644 index 00000000..3d18d561 --- /dev/null +++ b/models/models/model_ciphering_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CipheringAlgorithm string + +// List of CipheringAlgorithm +const ( + CipheringAlgorithm_NEA0 CipheringAlgorithm = "NEA0" + CipheringAlgorithm_NEA1 CipheringAlgorithm = "NEA1" + CipheringAlgorithm_NEA2 CipheringAlgorithm = "NEA2" + CipheringAlgorithm_NEA3 CipheringAlgorithm = "NEA3" +) diff --git a/models/models/model_ciphering_data_set.go b/models/models/model_ciphering_data_set.go new file mode 100644 index 00000000..e6547b2f --- /dev/null +++ b/models/models/model_ciphering_data_set.go @@ -0,0 +1,37 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a Ciphering Data Set. +type CipheringDataSet struct { + // Ciphering Data Set Identifier. + CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` + // Ciphering Key. + CipheringKey string `json:"cipheringKey" yaml:"cipheringKey" bson:"cipheringKey,omitempty"` + // First component of the initial ciphering counter. + C0 string `json:"c0" yaml:"c0" bson:"c0,omitempty"` + // string with format 'bytes' as defined in OpenAPI + LtePosSibTypes string `json:"ltePosSibTypes,omitempty" yaml:"ltePosSibTypes" bson:"ltePosSibTypes,omitempty"` + // string with format 'bytes' as defined in OpenAPI + NrPosSibTypes string `json:"nrPosSibTypes,omitempty" yaml:"nrPosSibTypes" bson:"nrPosSibTypes,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityStartTime *time.Time `json:"validityStartTime" yaml:"validityStartTime" bson:"validityStartTime,omitempty"` + // Validity Duration of the Ciphering Data Set. + ValidityDuration int32 `json:"validityDuration" yaml:"validityDuration" bson:"validityDuration,omitempty"` + // string with format 'bytes' as defined in OpenAPI + TaiList string `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/models/model_ciphering_key_info.go b/models/models/model_ciphering_key_info.go new file mode 100644 index 00000000..29bb5ae6 --- /dev/null +++ b/models/models/model_ciphering_key_info.go @@ -0,0 +1,20 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Notification request. +type CipheringKeyInfo struct { + CipheringData []CipheringDataSet `json:"cipheringData" yaml:"cipheringData" bson:"cipheringData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ciphering_key_response.go b/models/models/model_ciphering_key_response.go new file mode 100644 index 00000000..27395f7a --- /dev/null +++ b/models/models/model_ciphering_key_response.go @@ -0,0 +1,18 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Ciphering Key Data Notification Response. +type CipheringKeyResponse struct { + CipheringDataReport []CipheringSetReport `json:"cipheringDataReport,omitempty" yaml:"cipheringDataReport" bson:"cipheringDataReport,omitempty"` +} diff --git a/models/models/model_ciphering_set_report.go b/models/models/model_ciphering_set_report.go new file mode 100644 index 00000000..f3e84338 --- /dev/null +++ b/models/models/model_ciphering_set_report.go @@ -0,0 +1,20 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a report of Ciphering Data Set storage. +type CipheringSetReport struct { + // Ciphering Data Set Identifier. + CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` + StorageOutcome StorageOutcome `json:"storageOutcome" yaml:"storageOutcome" bson:"storageOutcome,omitempty"` +} diff --git a/models/models/model_circumstance_description.go b/models/models/model_circumstance_description.go new file mode 100644 index 00000000..bb847a74 --- /dev/null +++ b/models/models/model_circumstance_description.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the description of a circumstance. +type CircumstanceDescription struct { + // string with format 'float' as defined in OpenAPI. + Freq float32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Tm *time.Time `json:"tm,omitempty" yaml:"tm" bson:"tm,omitempty"` + LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + Vol int64 `json:"vol,omitempty" yaml:"vol" bson:"vol,omitempty"` +} diff --git a/models/models/model_civic_address.go b/models/models/model_civic_address.go new file mode 100644 index 00000000..b21c0701 --- /dev/null +++ b/models/models/model_civic_address.go @@ -0,0 +1,51 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates a Civic address. +type CivicAddress struct { + Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` + A1 string `json:"A1,omitempty" yaml:"A1" bson:"A1,omitempty"` + A2 string `json:"A2,omitempty" yaml:"A2" bson:"A2,omitempty"` + A3 string `json:"A3,omitempty" yaml:"A3" bson:"A3,omitempty"` + A4 string `json:"A4,omitempty" yaml:"A4" bson:"A4,omitempty"` + A5 string `json:"A5,omitempty" yaml:"A5" bson:"A5,omitempty"` + A6 string `json:"A6,omitempty" yaml:"A6" bson:"A6,omitempty"` + PRD string `json:"PRD,omitempty" yaml:"PRD" bson:"PRD,omitempty"` + POD string `json:"POD,omitempty" yaml:"POD" bson:"POD,omitempty"` + STS string `json:"STS,omitempty" yaml:"STS" bson:"STS,omitempty"` + HNO string `json:"HNO,omitempty" yaml:"HNO" bson:"HNO,omitempty"` + HNS string `json:"HNS,omitempty" yaml:"HNS" bson:"HNS,omitempty"` + LMK string `json:"LMK,omitempty" yaml:"LMK" bson:"LMK,omitempty"` + LOC string `json:"LOC,omitempty" yaml:"LOC" bson:"LOC,omitempty"` + NAM string `json:"NAM,omitempty" yaml:"NAM" bson:"NAM,omitempty"` + PC string `json:"PC,omitempty" yaml:"PC" bson:"PC,omitempty"` + BLD string `json:"BLD,omitempty" yaml:"BLD" bson:"BLD,omitempty"` + UNIT string `json:"UNIT,omitempty" yaml:"UNIT" bson:"UNIT,omitempty"` + FLR string `json:"FLR,omitempty" yaml:"FLR" bson:"FLR,omitempty"` + ROOM string `json:"ROOM,omitempty" yaml:"ROOM" bson:"ROOM,omitempty"` + PLC string `json:"PLC,omitempty" yaml:"PLC" bson:"PLC,omitempty"` + PCN string `json:"PCN,omitempty" yaml:"PCN" bson:"PCN,omitempty"` + POBOX string `json:"POBOX,omitempty" yaml:"POBOX" bson:"POBOX,omitempty"` + ADDCODE string `json:"ADDCODE,omitempty" yaml:"ADDCODE" bson:"ADDCODE,omitempty"` + SEAT string `json:"SEAT,omitempty" yaml:"SEAT" bson:"SEAT,omitempty"` + RD string `json:"RD,omitempty" yaml:"RD" bson:"RD,omitempty"` + RDSEC string `json:"RDSEC,omitempty" yaml:"RDSEC" bson:"RDSEC,omitempty"` + RDBR string `json:"RDBR,omitempty" yaml:"RDBR" bson:"RDBR,omitempty"` + RDSUBBR string `json:"RDSUBBR,omitempty" yaml:"RDSUBBR" bson:"RDSUBBR,omitempty"` + PRM string `json:"PRM,omitempty" yaml:"PRM" bson:"PRM,omitempty"` + POM string `json:"POM,omitempty" yaml:"POM" bson:"POM,omitempty"` + UsageRules string `json:"usageRules,omitempty" yaml:"usageRules" bson:"usageRules,omitempty"` + Method string `json:"method,omitempty" yaml:"method" bson:"method,omitempty"` + ProvidedBy string `json:"providedBy,omitempty" yaml:"providedBy" bson:"providedBy,omitempty"` +} diff --git a/models/models/model_class_criterion.go b/models/models/model_class_criterion.go new file mode 100644 index 00000000..b626097e --- /dev/null +++ b/models/models/model_class_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the dispersion class criterion for fixed, camper and/or traveller UE, and/or the top-heavy UE dispersion class criterion. +type ClassCriterion struct { + DisperClass *DispersionClass `json:"disperClass" yaml:"disperClass" bson:"disperClass,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + ClassThreshold int32 `json:"classThreshold" yaml:"classThreshold" bson:"classThreshold,omitempty"` + ThresMatch MatchingDirection `json:"thresMatch" yaml:"thresMatch" bson:"thresMatch,omitempty"` +} diff --git a/models/models/model_class_identifier.go b/models/models/model_class_identifier.go new file mode 100644 index 00000000..a945e454 --- /dev/null +++ b/models/models/model_class_identifier.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ClassIdentifier string + +// List of ClassIdentifier +const ( + ClassIdentifier_PERSONAL ClassIdentifier = "PERSONAL" + ClassIdentifier_ADVERTISEMENT ClassIdentifier = "ADVERTISEMENT" + ClassIdentifier_INFORMATIONAL ClassIdentifier = "INFORMATIONAL" + ClassIdentifier_AUTO ClassIdentifier = "AUTO" +) diff --git a/models/models/model_client_id.go b/models/models/model_client_id.go new file mode 100644 index 00000000..00f86dd3 --- /dev/null +++ b/models/models/model_client_id.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the identity of the NF Consumer +type ClientId struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/models/model_cm_info.go b/models/models/model_cm_info.go new file mode 100644 index 00000000..a247114b --- /dev/null +++ b/models/models/model_cm_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the connection management state of a UE for an access type +type CmInfo struct { + CmState CmState `json:"cmState" yaml:"cmState" bson:"cmState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_cm_info_report.go b/models/models/model_cm_info_report.go new file mode 100644 index 00000000..f8edded2 --- /dev/null +++ b/models/models/model_cm_info_report.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CmInfoReport struct { + OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` + NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` +} diff --git a/models/models/model_cm_state.go b/models/models/model_cm_state.go new file mode 100644 index 00000000..b57b5ed8 --- /dev/null +++ b/models/models/model_cm_state.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CmState string + +// List of CmState +const ( + CmState_IDLE CmState = "IDLE" + CmState_CONNECTED CmState = "CONNECTED" +) diff --git a/models/models/model_cn_assisted_ran_para.go b/models/models/model_cn_assisted_ran_para.go new file mode 100644 index 00000000..74b4b07d --- /dev/null +++ b/models/models/model_cn_assisted_ran_para.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMF derived CN assisted RAN parameters tuning +type CnAssistedRanPara struct { + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` +} diff --git a/models/models/model_cn_type.go b/models/models/model_cn_type.go new file mode 100644 index 00000000..795b7667 --- /dev/null +++ b/models/models/model_cn_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CnType string + +// List of CnType +const ( + CnType_SINGLE_4_G CnType = "SINGLE_4G" + CnType_SINGLE_5_G CnType = "SINGLE_5G" + CnType_DUAL_4_G5_G CnType = "DUAL_4G5G" +) diff --git a/models/models/model_cn_type_change_report.go b/models/models/model_cn_type_change_report.go new file mode 100644 index 00000000..225a3d4f --- /dev/null +++ b/models/models/model_cn_type_change_report.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CnTypeChangeReport struct { + NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` + OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` +} diff --git a/models/models/model_cnf.go b/models/models/model_cnf.go new file mode 100644 index 00000000..7e2fd8d7 --- /dev/null +++ b/models/models/model_cnf.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A conjunctive normal form +type Cnf struct { + CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` +} diff --git a/models/models/model_cnf_unit.go b/models/models/model_cnf_unit.go new file mode 100644 index 00000000..37193831 --- /dev/null +++ b/models/models/model_cnf_unit.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// During the processing of cnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"AND\". +type CnfUnit struct { + CnfUnit []Atom `json:"cnfUnit" yaml:"cnfUnit" bson:"cnfUnit,omitempty"` +} diff --git a/models/models/model_code_word_ind.go b/models/models/model_code_word_ind.go new file mode 100644 index 00000000..0dd5032f --- /dev/null +++ b/models/models/model_code_word_ind.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CodeWordInd string + +// List of CodeWordInd +const ( + CodeWordInd_UE CodeWordInd = "CODEWORD_CHECK_IN_UE" + CodeWordInd_GMLC CodeWordInd = "CODEWORD_CHECK_IN_GMLC" +) diff --git a/models/models/model_collection_period_rmm_lte_mdt.go b/models/models/model_collection_period_rmm_lte_mdt.go new file mode 100644 index 00000000..aabd1e28 --- /dev/null +++ b/models/models/model_collection_period_rmm_lte_mdt.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectionPeriodRmmLteMdt string + +// List of CollectionPeriodRmmLteMdt +const ( + CollectionPeriodRmmLteMdt__1024 CollectionPeriodRmmLteMdt = "1024" + CollectionPeriodRmmLteMdt__1280 CollectionPeriodRmmLteMdt = "1280" + CollectionPeriodRmmLteMdt__2048 CollectionPeriodRmmLteMdt = "2048" + CollectionPeriodRmmLteMdt__2560 CollectionPeriodRmmLteMdt = "2560" + CollectionPeriodRmmLteMdt__5120 CollectionPeriodRmmLteMdt = "5120" + CollectionPeriodRmmLteMdt__10240 CollectionPeriodRmmLteMdt = "10240" + CollectionPeriodRmmLteMdt__60000 CollectionPeriodRmmLteMdt = "60000" +) diff --git a/models/models/model_collection_period_rmm_nr_mdt.go b/models/models/model_collection_period_rmm_nr_mdt.go new file mode 100644 index 00000000..4bce36ff --- /dev/null +++ b/models/models/model_collection_period_rmm_nr_mdt.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectionPeriodRmmNrMdt string + +// List of CollectionPeriodRmmNrMdt +const ( + CollectionPeriodRmmNrMdt__1024 CollectionPeriodRmmNrMdt = "1024" + CollectionPeriodRmmNrMdt__2048 CollectionPeriodRmmNrMdt = "2048" + CollectionPeriodRmmNrMdt__5120 CollectionPeriodRmmNrMdt = "5120" + CollectionPeriodRmmNrMdt__10240 CollectionPeriodRmmNrMdt = "10240" + CollectionPeriodRmmNrMdt__60000 CollectionPeriodRmmNrMdt = "60000" +) diff --git a/models/models/model_collective_behaviour_filter.go b/models/models/model_collective_behaviour_filter.go new file mode 100644 index 00000000..284f4f4e --- /dev/null +++ b/models/models/model_collective_behaviour_filter.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the collective behaviour filter information to be collected from UE. +type CollectiveBehaviourFilter struct { + Type CollectiveBehaviourFilterType `json:"type" yaml:"type" bson:"type,omitempty"` + // Value of the parameter type as in the type attribute. + Value string `json:"value" yaml:"value" bson:"value,omitempty"` + // Indicates whether request list of UE IDs that fulfill a collective behaviour within the area of interest. This attribute shall set to \"true\" if request the list of UE IDs, otherwise, set to \"false\". May only be present and sets to \"true\" if \"AfEvent\" sets to \"COLLECTIVE_BEHAVIOUR\". + ListOfUeInd bool `json:"listOfUeInd,omitempty" yaml:"listOfUeInd" bson:"listOfUeInd,omitempty"` +} diff --git a/models/models/model_collective_behaviour_filter_type.go b/models/models/model_collective_behaviour_filter_type.go new file mode 100644 index 00000000..8f256f66 --- /dev/null +++ b/models/models/model_collective_behaviour_filter_type.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollectiveBehaviourFilterType string + +// List of CollectiveBehaviourFilterType +const ( + CollectiveBehaviourFilterType_COLLECTIVE_ATTRIBUTE CollectiveBehaviourFilterType = "COLLECTIVE_ATTRIBUTE" + CollectiveBehaviourFilterType_DATA_PROCESSING CollectiveBehaviourFilterType = "DATA_PROCESSING" +) diff --git a/models/models/model_collective_behaviour_info.go b/models/models/model_collective_behaviour_info.go new file mode 100644 index 00000000..10ddd265 --- /dev/null +++ b/models/models/model_collective_behaviour_info.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the collective behaviour information to be reported to the subscriber. +type CollectiveBehaviourInfo struct { + ColAttrib []PerUeAttribute `json:"colAttrib" yaml:"colAttrib" bson:"colAttrib,omitempty"` + // Total number of UEs that fulfil a collective within the area of interest. + NoOfUes int32 `json:"noOfUes,omitempty" yaml:"noOfUes" bson:"noOfUes,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + ExtUeIds []string `json:"extUeIds,omitempty" yaml:"extUeIds" bson:"extUeIds,omitempty"` + UeIds []string `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` +} diff --git a/models/models/model_collocated_nf_instance.go b/models/models/model_collocated_nf_instance.go new file mode 100644 index 00000000..e7888957 --- /dev/null +++ b/models/models/model_collocated_nf_instance.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an collocated NF Instance registered in the NRF +type CollocatedNfInstance struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType CollocatedNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/models/model_collocated_nf_type.go b/models/models/model_collocated_nf_type.go new file mode 100644 index 00000000..729d3388 --- /dev/null +++ b/models/models/model_collocated_nf_type.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CollocatedNfType string + +// List of CollocatedNfType +const ( + CollocatedNfType_UPF CollocatedNfType = "UPF" + CollocatedNfType_SMF CollocatedNfType = "SMF" + CollocatedNfType_MB_UPF CollocatedNfType = "MB_UPF" + CollocatedNfType_MB_SMF CollocatedNfType = "MB_SMF" +) diff --git a/models/models/model_communication_characteristics.go b/models/models/model_communication_characteristics.go new file mode 100644 index 00000000..bbebf971 --- /dev/null +++ b/models/models/model_communication_characteristics.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CommunicationCharacteristics struct { + PpSubsRegTimer *PpSubsRegTimer `json:"ppSubsRegTimer,omitempty" yaml:"ppSubsRegTimer" bson:"ppSubsRegTimer,omitempty"` + PpActiveTime *PpActiveTime `json:"ppActiveTime,omitempty" yaml:"ppActiveTime" bson:"ppActiveTime,omitempty"` + PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` + PpDlPacketCountExt *PpDlPacketCountExt `json:"ppDlPacketCountExt,omitempty" yaml:"ppDlPacketCountExt" bson:"ppDlPacketCountExt,omitempty"` + PpMaximumResponseTime *PpMaximumResponseTime `json:"ppMaximumResponseTime,omitempty" yaml:"ppMaximumResponseTime" bson:"ppMaximumResponseTime,omitempty"` + PpMaximumLatency *PpMaximumLatency `json:"ppMaximumLatency,omitempty" yaml:"ppMaximumLatency" bson:"ppMaximumLatency,omitempty"` +} diff --git a/models/models/model_communication_characteristics_af.go b/models/models/model_communication_characteristics_af.go new file mode 100644 index 00000000..49099b37 --- /dev/null +++ b/models/models/model_communication_characteristics_af.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CommunicationCharacteristicsAf struct { + PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` +} diff --git a/models/models/model_communication_collection.go b/models/models/model_communication_collection.go new file mode 100644 index 00000000..b6857089 --- /dev/null +++ b/models/models/model_communication_collection.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains communication information. +type CommunicationCollection struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime" yaml:"endTime" bson:"endTime,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UlVol int64 `json:"ulVol" yaml:"ulVol" bson:"ulVol,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DlVol int64 `json:"dlVol" yaml:"dlVol" bson:"dlVol,omitempty"` +} diff --git a/models/models/model_communication_failure.go b/models/models/model_communication_failure.go new file mode 100644 index 00000000..e503907d --- /dev/null +++ b/models/models/model_communication_failure.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a communication failure detected by AMF +type CommunicationFailure struct { + NasReleaseCode string `json:"nasReleaseCode,omitempty" yaml:"nasReleaseCode" bson:"nasReleaseCode,omitempty"` + RanReleaseCode *NgApCause `json:"ranReleaseCode,omitempty" yaml:"ranReleaseCode" bson:"ranReleaseCode,omitempty"` +} diff --git a/models/models/model_comparison_operator.go b/models/models/model_comparison_operator.go new file mode 100644 index 00000000..2237c287 --- /dev/null +++ b/models/models/model_comparison_operator.go @@ -0,0 +1,25 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ComparisonOperator string + +// List of ComparisonOperator +const ( + ComparisonOperator_EQ ComparisonOperator = "EQ" + ComparisonOperator_NEQ ComparisonOperator = "NEQ" + ComparisonOperator_GT ComparisonOperator = "GT" + ComparisonOperator_GTE ComparisonOperator = "GTE" + ComparisonOperator_LT ComparisonOperator = "LT" + ComparisonOperator_LTE ComparisonOperator = "LTE" +) diff --git a/models/models/model_complex_query.go b/models/models/model_complex_query.go new file mode 100644 index 00000000..4ae51ce2 --- /dev/null +++ b/models/models/model_complex_query.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The ComplexQuery data type is either a conjunctive normal form or a disjunctive normal form. The attribute names \"cnfUnits\" and \"dnfUnits\" (see clause 5.2.4.11 and clause 5.2.4.12) serve as discriminator. +type ComplexQuery struct { + CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` + DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` +} diff --git a/models/models/model_condition_data.go b/models/models/model_condition_data.go new file mode 100644 index 00000000..b9c86aa8 --- /dev/null +++ b/models/models/model_condition_data.go @@ -0,0 +1,29 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains conditions of applicability for a rule. +type ConditionData struct { + // Uniquely identifies the condition data within a PDU session. + CondId string `json:"condId" yaml:"condId" bson:"condId,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + ActivationTime *time.Time `json:"activationTime,omitempty" yaml:"activationTime" bson:"activationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + DeactivationTime *time.Time `json:"deactivationTime,omitempty" yaml:"deactivationTime" bson:"deactivationTime,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_condition_event_type.go b/models/models/model_condition_event_type.go new file mode 100644 index 00000000..505c3f28 --- /dev/null +++ b/models/models/model_condition_event_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConditionEventType string + +// List of ConditionEventType +const ( + ConditionEventType_ADDED ConditionEventType = "NF_ADDED" + ConditionEventType_REMOVED ConditionEventType = "NF_REMOVED" +) diff --git a/models/models/model_condition_operator.go b/models/models/model_condition_operator.go new file mode 100644 index 00000000..98d46c2d --- /dev/null +++ b/models/models/model_condition_operator.go @@ -0,0 +1,22 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConditionOperator string + +// List of ConditionOperator +const ( + ConditionOperator_AND ConditionOperator = "AND" + ConditionOperator_OR ConditionOperator = "OR" + ConditionOperator_NOT ConditionOperator = "NOT" +) diff --git a/models/models/model_configured_snssai.go b/models/models/model_configured_snssai.go new file mode 100644 index 00000000..bd911b6d --- /dev/null +++ b/models/models/model_configured_snssai.go @@ -0,0 +1,19 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the configured S-NSSAI(s) authorized by the NSSF in the serving PLMN and optional mapped home S-NSSAI +type ConfiguredSnssai struct { + ConfiguredSnssai *Snssai `json:"configuredSnssai" yaml:"configuredSnssai" bson:"configuredSnssai,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` +} diff --git a/models/models/model_confirmation_data.go b/models/models/model_confirmation_data.go new file mode 100644 index 00000000..f12e20e6 --- /dev/null +++ b/models/models/model_confirmation_data.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the result of the authentication. +type ConfirmationData struct { + // Contains the RES*. + ResStar string `json:"resStar" yaml:"resStar" bson:"resStar,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_confirmation_data_response.go b/models/models/model_confirmation_data_response.go new file mode 100644 index 00000000..30347834 --- /dev/null +++ b/models/models/model_confirmation_data_response.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the result of the authentication +type ConfirmationDataResponse struct { + AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Contains the Kseaf. + Kseaf string `json:"kseaf,omitempty" yaml:"kseaf" bson:"kseaf,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` +} diff --git a/models/models/model_congestion_info.go b/models/models/model_congestion_info.go new file mode 100644 index 00000000..b68fcfee --- /dev/null +++ b/models/models/model_congestion_info.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the congestion information. +type CongestionInfo struct { + CongType NwdafEventsSubscriptionCongestionType `json:"congType" yaml:"congType" bson:"congType,omitempty"` + TimeIntev *TimeWindow `json:"timeIntev" yaml:"timeIntev" bson:"timeIntev,omitempty"` + Nsi *ThresholdLevel `json:"nsi" yaml:"nsi" bson:"nsi,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + TopAppListUl []TopApplication `json:"topAppListUl,omitempty" yaml:"topAppListUl" bson:"topAppListUl,omitempty"` + TopAppListDl []TopApplication `json:"topAppListDl,omitempty" yaml:"topAppListDl" bson:"topAppListDl,omitempty"` +} diff --git a/models/models/model_connection_capabilities.go b/models/models/model_connection_capabilities.go new file mode 100644 index 00000000..bdecf22c --- /dev/null +++ b/models/models/model_connection_capabilities.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ConnectionCapabilities string + +// List of ConnectionCapabilities +const ( + ConnectionCapabilities_IMS ConnectionCapabilities = "IMS" + ConnectionCapabilities_MMS ConnectionCapabilities = "MMS" + ConnectionCapabilities_SUPL ConnectionCapabilities = "SUPL" + ConnectionCapabilities_INTERNET ConnectionCapabilities = "INTERNET" +) diff --git a/models/models/model_consumer_nf_information.go b/models/models/model_consumer_nf_information.go new file mode 100644 index 00000000..dd7bd214 --- /dev/null +++ b/models/models/model_consumer_nf_information.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the analytics consumer NF Information. +type ConsumerNfInformation struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/models/model_context_create_req_data.go b/models/models/model_context_create_req_data.go new file mode 100644 index 00000000..29faaca7 --- /dev/null +++ b/models/models/model_context_create_req_data.go @@ -0,0 +1,29 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextCreate Request +type ContextCreateReqData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` + N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // indicating a time in seconds. + MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + MbsmfId string `json:"mbsmfId,omitempty" yaml:"mbsmfId" bson:"mbsmfId,omitempty"` + MbsmfServiceInstId string `json:"mbsmfServiceInstId,omitempty" yaml:"mbsmfServiceInstId" bson:"mbsmfServiceInstId,omitempty"` +} diff --git a/models/models/model_context_create_request.go b/models/models/model_context_create_request.go new file mode 100644 index 00000000..3c73c16c --- /dev/null +++ b/models/models/model_context_create_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextCreateRequest struct { + JsonData *ContextCreateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_context_create_response_201.go b/models/models/model_context_create_response_201.go new file mode 100644 index 00000000..858c6ea2 --- /dev/null +++ b/models/models/model_context_create_response_201.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextCreateResponse201 struct { + JsonData *ContextCreateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/models/model_context_create_rsp_data.go b/models/models/model_context_create_rsp_data.go new file mode 100644 index 00000000..120fbc42 --- /dev/null +++ b/models/models/model_context_create_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextCreate Response +type ContextCreateRspData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` +} diff --git a/models/models/model_context_data.go b/models/models/model_context_data.go new file mode 100644 index 00000000..40c6f7a7 --- /dev/null +++ b/models/models/model_context_data.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains context information related to analytics subscriptions corresponding with one or more context identifiers. +type ContextData struct { + // List of items that contain context information corresponding with a context identifier. + ContextElems []ContextElement `json:"contextElems" yaml:"contextElems" bson:"contextElems,omitempty"` +} diff --git a/models/models/model_context_data_set_name.go b/models/models/model_context_data_set_name.go new file mode 100644 index 00000000..0b62c320 --- /dev/null +++ b/models/models/model_context_data_set_name.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextDataSetName string + +// List of ContextDataSetName +const ( + ContextDataSetName_AMF_3_GPP ContextDataSetName = "AMF_3GPP" + ContextDataSetName_AMF_NON_3_GPP ContextDataSetName = "AMF_NON_3GPP" + ContextDataSetName_SDM_SUBSCRIPTIONS ContextDataSetName = "SDM_SUBSCRIPTIONS" + ContextDataSetName_EE_SUBSCRIPTIONS ContextDataSetName = "EE_SUBSCRIPTIONS" + ContextDataSetName_SMSF_3_GPP ContextDataSetName = "SMSF_3GPP" + ContextDataSetName_SMSF_NON_3_GPP ContextDataSetName = "SMSF_NON_3GPP" + ContextDataSetName_SUBS_TO_NOTIFY ContextDataSetName = "SUBS_TO_NOTIFY" + ContextDataSetName_SMF_REG ContextDataSetName = "SMF_REG" + ContextDataSetName_IP_SM_GW ContextDataSetName = "IP_SM_GW" + ContextDataSetName_ROAMING_INFO ContextDataSetName = "ROAMING_INFO" + ContextDataSetName_PEI_INFO ContextDataSetName = "PEI_INFO" +) diff --git a/models/models/model_context_data_sets.go b/models/models/model_context_data_sets.go new file mode 100644 index 00000000..9d5e5a6b --- /dev/null +++ b/models/models/model_context_data_sets.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the context data sets. +type ContextDataSets struct { + Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` + AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` + SdmSubscriptions []SdmSubscription `json:"sdmSubscriptions,omitempty" yaml:"sdmSubscriptions" bson:"sdmSubscriptions,omitempty"` + EeSubscriptions []UdmEeEeSubscription `json:"eeSubscriptions,omitempty" yaml:"eeSubscriptions" bson:"eeSubscriptions,omitempty"` + Smsf3GppAccess *SmsfRegistration `json:"smsf3GppAccess,omitempty" yaml:"smsf3GppAccess" bson:"smsf3GppAccess,omitempty"` + SmsfNon3GppAccess *SmsfRegistration `json:"smsfNon3GppAccess,omitempty" yaml:"smsfNon3GppAccess" bson:"smsfNon3GppAccess,omitempty"` + SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` + // The list of all the SMF registrations of a UE. + SmfRegistrations []SmfRegistration `json:"smfRegistrations,omitempty" yaml:"smfRegistrations" bson:"smfRegistrations,omitempty"` + IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + RoamingInfo *RoamingInfoUpdate `json:"roamingInfo,omitempty" yaml:"roamingInfo" bson:"roamingInfo,omitempty"` + PeiInfo *PeiUpdateInfo `json:"peiInfo,omitempty" yaml:"peiInfo" bson:"peiInfo,omitempty"` +} diff --git a/models/models/model_context_element.go b/models/models/model_context_element.go new file mode 100644 index 00000000..1f265f11 --- /dev/null +++ b/models/models/model_context_element.go @@ -0,0 +1,40 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains context information corresponding with a specific context identifier. +type ContextElement struct { + ContextId *AnalyticsContextIdentifier `json:"contextId" yaml:"contextId" bson:"contextId,omitempty"` + // Output analytics for the analytics subscription which have not yet been sent to the analytics consumer. + PendAnalytics []NwdafEventsSubscriptionEventNotification `json:"pendAnalytics,omitempty" yaml:"pendAnalytics" bson:"pendAnalytics,omitempty"` + // Historical output analytics. + HistAnalytics []NwdafEventsSubscriptionEventNotification `json:"histAnalytics,omitempty" yaml:"histAnalytics" bson:"histAnalytics,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastOutputTime *time.Time `json:"lastOutputTime,omitempty" yaml:"lastOutputTime" bson:"lastOutputTime,omitempty"` + // Information about analytics subscriptions that the NWDAF has with other NWDAFs to perform aggregation. + AggrSubs []SpecificAnalyticsSubscription `json:"aggrSubs,omitempty" yaml:"aggrSubs" bson:"aggrSubs,omitempty"` + // Historical data related to the analytics subscription. + HistData []HistoricalData `json:"histData,omitempty" yaml:"histData" bson:"histData,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` + // Type(s) of data stored in the ADRF by the NWDAF. + AdrfDataTypes []AdrfDataType `json:"adrfDataTypes,omitempty" yaml:"adrfDataTypes" bson:"adrfDataTypes,omitempty"` + // NWDAF identifiers of NWDAF instances used by the NWDAF service consumer when aggregating multiple analytics subscriptions. + AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` + // Contains information identifying the ML model(s) that the consumer NWDAF is currently subscribing for the analytics. + ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` +} diff --git a/models/models/model_context_id_list.go b/models/models/model_context_id_list.go new file mode 100644 index 00000000..3486cda2 --- /dev/null +++ b/models/models/model_context_id_list.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of context identifiers of context information of analytics subscriptions. +type ContextIdList struct { + ContextIds []AnalyticsContextIdentifier `json:"contextIds" yaml:"contextIds" bson:"contextIds,omitempty"` +} diff --git a/models/models/model_context_info.go b/models/models/model_context_info.go new file mode 100644 index 00000000..6fe16983 --- /dev/null +++ b/models/models/model_context_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextInfo struct { + OrigHeaders []string `json:"origHeaders,omitempty" yaml:"origHeaders" bson:"origHeaders,omitempty"` + RequestHeaders []string `json:"requestHeaders,omitempty" yaml:"requestHeaders" bson:"requestHeaders,omitempty"` +} diff --git a/models/models/model_context_status_notification.go b/models/models/model_context_status_notification.go new file mode 100644 index 00000000..ea285de0 --- /dev/null +++ b/models/models/model_context_status_notification.go @@ -0,0 +1,24 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within ContextStatusNotify Request +type ContextStatusNotification struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` + OperationEvents []OperationEvent `json:"operationEvents,omitempty" yaml:"operationEvents" bson:"operationEvents,omitempty"` + OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` + ReleasedInd bool `json:"releasedInd,omitempty" yaml:"releasedInd" bson:"releasedInd,omitempty"` +} diff --git a/models/models/model_context_type.go b/models/models/model_context_type.go new file mode 100644 index 00000000..105798cc --- /dev/null +++ b/models/models/model_context_type.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextType string + +// List of ContextType +const ( + ContextType_PENDING_ANALYTICS ContextType = "PENDING_ANALYTICS" + ContextType_HISTORICAL_ANALYTICS ContextType = "HISTORICAL_ANALYTICS" + ContextType_AGGR_SUBS ContextType = "AGGR_SUBS" + ContextType_DATA ContextType = "DATA" + ContextType_AGGR_INFO ContextType = "AGGR_INFO" + ContextType_ML_MODELS ContextType = "ML_MODELS" +) diff --git a/models/models/model_context_update_request.go b/models/models/model_context_update_request.go new file mode 100644 index 00000000..eeae29ca --- /dev/null +++ b/models/models/model_context_update_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextUpdateRequest struct { + JsonData *AmfMbsBroadcastContextUpdateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_context_update_response_200.go b/models/models/model_context_update_response_200.go new file mode 100644 index 00000000..b7434e8f --- /dev/null +++ b/models/models/model_context_update_response_200.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ContextUpdateResponse200 struct { + JsonData *AmfMbsBroadcastContextUpdateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/models/model_core_network_service_authorization.go b/models/models/model_core_network_service_authorization.go new file mode 100644 index 00000000..1cb1970f --- /dev/null +++ b/models/models/model_core_network_service_authorization.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Core Network Service Authorization +type CoreNetworkServiceAuthorization struct { + SubscribedMediaProfileId int32 `json:"subscribedMediaProfileId,omitempty" yaml:"subscribedMediaProfileId" bson:"subscribedMediaProfileId,omitempty"` +} diff --git a/models/models/model_core_network_type.go b/models/models/model_core_network_type.go new file mode 100644 index 00000000..1c6dcb93 --- /dev/null +++ b/models/models/model_core_network_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CoreNetworkType string + +// List of CoreNetworkType +const ( + CoreNetworkType__5_GC CoreNetworkType = "5GC" + CoreNetworkType_EPC CoreNetworkType = "EPC" +) diff --git a/models/models/model_coverage_info.go b/models/models/model_coverage_info.go new file mode 100644 index 00000000..73545cbe --- /dev/null +++ b/models/models/model_coverage_info.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type CoverageInfo struct { + CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + LocationInfo []UserLocation `json:"locationInfo,omitempty" yaml:"locationInfo" bson:"locationInfo,omitempty"` +} diff --git a/models/models/model_create_ue_context_request.go b/models/models/model_create_ue_context_request.go new file mode 100644 index 00000000..0dc97017 --- /dev/null +++ b/models/models/model_create_ue_context_request.go @@ -0,0 +1,35 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreateUeContextRequest struct { + JsonData *UeContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` + BinaryDataN2InformationExt17 []byte `json:"binaryDataN2InformationExt17,omitempty" yaml:"binaryDataN2InformationExt17" bson:"binaryDataN2InformationExt17,omitempty"` +} diff --git a/models/models/model_create_ue_context_response_201.go b/models/models/model_create_ue_context_response_201.go new file mode 100644 index 00000000..36615635 --- /dev/null +++ b/models/models/model_create_ue_context_response_201.go @@ -0,0 +1,33 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreateUeContextResponse201 struct { + JsonData *UeContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` +} diff --git a/models/models/model_create_ue_context_response_403.go b/models/models/model_create_ue_context_response_403.go new file mode 100644 index 00000000..a4db8232 --- /dev/null +++ b/models/models/model_create_ue_context_response_403.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreateUeContextResponse403 struct { + JsonData *UeContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_created_ue_reachability_subscription.go b/models/models/model_created_ue_reachability_subscription.go new file mode 100644 index 00000000..a838032c --- /dev/null +++ b/models/models/model_created_ue_reachability_subscription.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the response data returned by HSS after the subscription to notifications of UE reachability for IP was created +type CreatedUeReachabilitySubscription struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` +} diff --git a/models/models/model_credit_management_status.go b/models/models/model_credit_management_status.go new file mode 100644 index 00000000..918764c8 --- /dev/null +++ b/models/models/model_credit_management_status.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type CreditManagementStatus string + +// List of CreditManagementStatus +const ( + CreditManagementStatus_END_USER_SER_DENIED CreditManagementStatus = "END_USER_SER_DENIED" // #nosec G101 + CreditManagementStatus_CREDIT_CTRL_NOT_APP CreditManagementStatus = "CREDIT_CTRL_NOT_APP" // #nosec G101 + CreditManagementStatus_AUTH_REJECTED CreditManagementStatus = "AUTH_REJECTED" + CreditManagementStatus_USER_UNKNOWN CreditManagementStatus = "USER_UNKNOWN" + CreditManagementStatus_RATING_FAILED CreditManagementStatus = "RATING_FAILED" +) diff --git a/models/models/model_cs_location.go b/models/models/model_cs_location.go new file mode 100644 index 00000000..2c831218 --- /dev/null +++ b/models/models/model_cs_location.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location data in CS domain +type CsLocation struct { + MscNumber string `json:"mscNumber" yaml:"mscNumber" bson:"mscNumber,omitempty"` + VlrNumber string `json:"vlrNumber" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + VlrLocation *GeraLocation `json:"vlrLocation,omitempty" yaml:"vlrLocation" bson:"vlrLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + EUtranCgi *Ecgi `json:"eUtranCgi,omitempty" yaml:"eUtranCgi" bson:"eUtranCgi,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` +} diff --git a/models/models/model_cs_user_state.go b/models/models/model_cs_user_state.go new file mode 100644 index 00000000..9ecf9120 --- /dev/null +++ b/models/models/model_cs_user_state.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User state in CS domain +type CsUserState struct { + MscVlrUserState UserStateCs `json:"mscVlrUserState" yaml:"mscVlrUserState" bson:"mscVlrUserState,omitempty"` +} diff --git a/models/models/model_csg_information.go b/models/models/model_csg_information.go new file mode 100644 index 00000000..c5377e33 --- /dev/null +++ b/models/models/model_csg_information.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about a Closed Subscriber Group (CSG) +type CsgInformation struct { + CsgId string `json:"csgId" yaml:"csgId" bson:"csgId,omitempty"` + AccessMode string `json:"accessMode,omitempty" yaml:"accessMode" bson:"accessMode,omitempty"` + CMi bool `json:"cMi,omitempty" yaml:"cMi" bson:"cMi,omitempty"` +} diff --git a/models/models/model_csrn.go b/models/models/model_csrn.go new file mode 100644 index 00000000..d4d1df80 --- /dev/null +++ b/models/models/model_csrn.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// CS domain routeing number +type Csrn struct { + // String containing an additional or basic MSISDN + Csrn string `json:"csrn" yaml:"csrn" bson:"csrn,omitempty"` +} diff --git a/models/models/model_data_availability.go b/models/models/model_data_availability.go new file mode 100644 index 00000000..6e630a98 --- /dev/null +++ b/models/models/model_data_availability.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataAvailability string + +// List of DataAvailability +const ( + DataAvailability_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_AVAILABLE" + DataAvailability_NOT_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_NOT_AVAILABLE" +) diff --git a/models/models/model_data_change_notify.go b/models/models/model_data_change_notify.go new file mode 100644 index 00000000..f195bf7d --- /dev/null +++ b/models/models/model_data_change_notify.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Container for data which have changed and notification was requested when changed. +type DataChangeNotify struct { + OriginalCallbackReference []string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + NotifyItems []NotifyItem `json:"notifyItems,omitempty" yaml:"notifyItems" bson:"notifyItems,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + AdditionalSdmSubscriptions []SdmSubscription `json:"additionalSdmSubscriptions,omitempty" yaml:"additionalSdmSubscriptions" bson:"additionalSdmSubscriptions,omitempty"` + SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` +} diff --git a/models/models/model_data_collection_purpose.go b/models/models/model_data_collection_purpose.go new file mode 100644 index 00000000..26cf0b7a --- /dev/null +++ b/models/models/model_data_collection_purpose.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataCollectionPurpose string + +// List of DataCollectionPurpose +const ( + DataCollectionPurpose_ANALYTICS_GENERATION DataCollectionPurpose = "ANALYTICS_GENERATION" + DataCollectionPurpose_MODEL_TRAINING DataCollectionPurpose = "MODEL_TRAINING" +) diff --git a/models/models/model_data_filter.go b/models/models/model_data_filter.go new file mode 100644 index 00000000..c4ca1061 --- /dev/null +++ b/models/models/model_data_filter.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a data filter. +type DataFilter struct { + DataInd DataInd `json:"dataInd" yaml:"dataInd" bson:"dataInd,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + UeIpv4s []string `json:"ueIpv4s,omitempty" yaml:"ueIpv4s" bson:"ueIpv4s,omitempty"` + UeIpv6s []string `json:"ueIpv6s,omitempty" yaml:"ueIpv6s" bson:"ueIpv6s,omitempty"` + UeMacs []string `json:"ueMacs,omitempty" yaml:"ueMacs" bson:"ueMacs,omitempty"` + // Indicates the request is for any UE. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Indicates the request is for any DNN and S-NSSAI combination present in the array. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` +} diff --git a/models/models/model_data_ind.go b/models/models/model_data_ind.go new file mode 100644 index 00000000..800136bc --- /dev/null +++ b/models/models/model_data_ind.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataInd string + +// List of DataInd +const ( + DataInd_PFD DataInd = "PFD" + DataInd_IPTV DataInd = "IPTV" + DataInd_BDT DataInd = "BDT" + DataInd_SVC_PARAM DataInd = "SVC_PARAM" + DataInd_AM DataInd = "AM" +) diff --git a/models/models/model_data_notification.go b/models/models/model_data_notification.go new file mode 100644 index 00000000..2e02f558 --- /dev/null +++ b/models/models/model_data_notification.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a Data Subscription Notification. +type DataNotification struct { + // List of notifications of AMF events. + AmfEventNotifs []AmfEventNotification `json:"amfEventNotifs,omitempty" yaml:"amfEventNotifs" bson:"amfEventNotifs,omitempty"` + // List of notifications of SMF events. + SmfEventNotifs []NsmfEventExposureNotification `json:"smfEventNotifs,omitempty" yaml:"smfEventNotifs" bson:"smfEventNotifs,omitempty"` + // List of notifications of UDM events. + UdmEventNotifs []UdmEeMonitoringReport `json:"udmEventNotifs,omitempty" yaml:"udmEventNotifs" bson:"udmEventNotifs,omitempty"` + // List of notifications of NEF events. + NefEventNotifs []NefEventExposureNotif `json:"nefEventNotifs,omitempty" yaml:"nefEventNotifs" bson:"nefEventNotifs,omitempty"` + // List of notifications of AF events. + AfEventNotifs []AfEventExposureNotif `json:"afEventNotifs,omitempty" yaml:"afEventNotifs" bson:"afEventNotifs,omitempty"` + // List of notifications of NRF events. + NrfEventNotifs []NrfNfManagementNotificationData `json:"nrfEventNotifs,omitempty" yaml:"nrfEventNotifs" bson:"nrfEventNotifs,omitempty"` + // List of notifications of NSACF events. + NsacfEventNotifs []SacEventReport `json:"nsacfEventNotifs,omitempty" yaml:"nsacfEventNotifs" bson:"nsacfEventNotifs,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/models/model_data_set_id.go b/models/models/model_data_set_id.go new file mode 100644 index 00000000..8434c992 --- /dev/null +++ b/models/models/model_data_set_id.go @@ -0,0 +1,36 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataSetId string + +// List of DataSetId +const ( + DataSetId_SUBSCRIPTION DataSetId = "SUBSCRIPTION" + DataSetId_POLICY DataSetId = "POLICY" + DataSetId_EXPOSURE DataSetId = "EXPOSURE" + DataSetId_APPLICATION DataSetId = "APPLICATION" + DataSetId_A_PFD DataSetId = "A_PFD" + DataSetId_A_AFTI DataSetId = "A_AFTI" + DataSetId_A_IPTV DataSetId = "A_IPTV" + DataSetId_A_BDT DataSetId = "A_BDT" + DataSetId_A_SPD DataSetId = "A_SPD" + DataSetId_A_EASD DataSetId = "A_EASD" + DataSetId_A_AMI DataSetId = "A_AMI" + DataSetId_P_UE DataSetId = "P_UE" + DataSetId_P_SCD DataSetId = "P_SCD" + DataSetId_P_BDT DataSetId = "P_BDT" + DataSetId_P_PLMNUE DataSetId = "P_PLMNUE" + DataSetId_P_NSSCD DataSetId = "P_NSSCD" + DataSetId_P_MBSCD DataSetId = "P_MBSCD" +) diff --git a/models/models/model_data_set_name.go b/models/models/model_data_set_name.go new file mode 100644 index 00000000..2a39b0a4 --- /dev/null +++ b/models/models/model_data_set_name.go @@ -0,0 +1,36 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DataSetName string + +// List of DataSetName +const ( + DataSetName_AM DataSetName = "AM" + DataSetName_SMF_SEL DataSetName = "SMF_SEL" + DataSetName_SMS_SUB DataSetName = "SMS_SUB" + DataSetName_SM DataSetName = "SM" + DataSetName_TRACE DataSetName = "TRACE" + DataSetName_SMS_MNG DataSetName = "SMS_MNG" + DataSetName_LCS_PRIVACY DataSetName = "LCS_PRIVACY" + DataSetName_LCS_MO DataSetName = "LCS_MO" + DataSetName_LCS_BCA DataSetName = "LCS_BCA" + DataSetName_V2_X DataSetName = "V2X" + DataSetName_PROSE DataSetName = "PROSE" + DataSetName_ODB DataSetName = "ODB" + DataSetName_EE_PROF DataSetName = "EE_PROF" + DataSetName_PP_PROF DataSetName = "PP_PROF" + DataSetName_NIDD_AUTH DataSetName = "NIDD_AUTH" + DataSetName_USER_CONSENT DataSetName = "USER_CONSENT" + DataSetName_MBS DataSetName = "MBS" +) diff --git a/models/models/model_data_subscription.go b/models/models/model_data_subscription.go new file mode 100644 index 00000000..4a8f313b --- /dev/null +++ b/models/models/model_data_subscription.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a data specification. +type DataSubscription struct { + AmfDataSub *AmfEventSubscription `json:"amfDataSub,omitempty" yaml:"amfDataSub" bson:"amfDataSub,omitempty"` + SmfDataSub *NsmfEventExposure `json:"smfDataSub,omitempty" yaml:"smfDataSub" bson:"smfDataSub,omitempty"` + UdmDataSub *UdmEeEeSubscription `json:"udmDataSub,omitempty" yaml:"udmDataSub" bson:"udmDataSub,omitempty"` + AfDataSub *AfEventExposureSubsc `json:"afDataSub,omitempty" yaml:"afDataSub" bson:"afDataSub,omitempty"` + NefDataSub *NefEventExposureSubsc `json:"nefDataSub,omitempty" yaml:"nefDataSub" bson:"nefDataSub,omitempty"` + NrfDataSub *NrfNfManagementSubscriptionData `json:"nrfDataSub,omitempty" yaml:"nrfDataSub" bson:"nrfDataSub,omitempty"` + NsacfDataSub *SacEventSubscription `json:"nsacfDataSub,omitempty" yaml:"nsacfDataSub" bson:"nsacfDataSub,omitempty"` +} diff --git a/models/models/model_datalink_reporting_configuration.go b/models/models/model_datalink_reporting_configuration.go new file mode 100644 index 00000000..921ea99c --- /dev/null +++ b/models/models/model_datalink_reporting_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DatalinkReportingConfiguration struct { + DddTrafficDes []DddTrafficDescriptor `json:"dddTrafficDes,omitempty" yaml:"dddTrafficDes" bson:"dddTrafficDes,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Slice *Snssai `json:"slice,omitempty" yaml:"slice" bson:"slice,omitempty"` + DddStatusList []DlDataDeliveryStatus `json:"dddStatusList,omitempty" yaml:"dddStatusList" bson:"dddStatusList,omitempty"` +} diff --git a/models/models/model_dataset_statistical_property.go b/models/models/model_dataset_statistical_property.go new file mode 100644 index 00000000..def32c1c --- /dev/null +++ b/models/models/model_dataset_statistical_property.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DatasetStatisticalProperty string + +// List of DatasetStatisticalProperty +const ( + DatasetStatisticalProperty_UNIFORM_DIST_DATA DatasetStatisticalProperty = "UNIFORM_DIST_DATA" + DatasetStatisticalProperty_NO_OUTLIERS DatasetStatisticalProperty = "NO_OUTLIERS" +) diff --git a/models/models/model_dccf_cond.go b/models/models/model_dccf_cond.go new file mode 100644 index 00000000..3c36b9c2 --- /dev/null +++ b/models/models/model_dccf_cond.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (DCCFs), identified by NF types, NF Set Id(s) or DCCF Serving Area information, i.e. list of TAIs served by the DCCF +type DccfCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` +} diff --git a/models/models/model_dccf_data_management_reporting_options.go b/models/models/model_dccf_data_management_reporting_options.go new file mode 100644 index 00000000..4e812fc6 --- /dev/null +++ b/models/models/model_dccf_data_management_reporting_options.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents reporting options for processed notifications. +type DccfDataManagementReportingOptions struct { + NotifyWindow *TimeWindow `json:"notifyWindow,omitempty" yaml:"notifyWindow" bson:"notifyWindow,omitempty"` + // indicating a time in seconds. + NotifyPeriod int32 `json:"notifyPeriod,omitempty" yaml:"notifyPeriod" bson:"notifyPeriod,omitempty"` + // indicating a time in seconds. + NotifyPeriodInc int32 `json:"notifyPeriodInc,omitempty" yaml:"notifyPeriodInc" bson:"notifyPeriodInc,omitempty"` + // Notifications for the present subscription are sent only upon occurrence of events of the subscription with identifier that matches this attribute. + DepEventSubId string `json:"depEventSubId,omitempty" yaml:"depEventSubId" bson:"depEventSubId,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MinClubbedNotif int32 `json:"minClubbedNotif,omitempty" yaml:"minClubbedNotif" bson:"minClubbedNotif,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxClubbedNotif int32 `json:"maxClubbedNotif,omitempty" yaml:"maxClubbedNotif" bson:"maxClubbedNotif,omitempty"` +} diff --git a/models/models/model_dccf_event.go b/models/models/model_dccf_event.go new file mode 100644 index 00000000..94108bc8 --- /dev/null +++ b/models/models/model_dccf_event.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the (event exposure or analytics) event that the processing instructions shall apply to. Contains all event IDs related to DCCF. +type DccfEvent struct { + NwdafEvent NwdafEvent `json:"nwdafEvent,omitempty" yaml:"nwdafEvent" bson:"nwdafEvent,omitempty"` + SmfEvent SmfEvent `json:"smfEvent,omitempty" yaml:"smfEvent" bson:"smfEvent,omitempty"` + AmfEvent AmfEventType `json:"amfEvent,omitempty" yaml:"amfEvent" bson:"amfEvent,omitempty"` + NefEvent NefEvent `json:"nefEvent,omitempty" yaml:"nefEvent" bson:"nefEvent,omitempty"` + UdmEvent UdmEeEventType `json:"udmEvent,omitempty" yaml:"udmEvent" bson:"udmEvent,omitempty"` + AfEvent AfEventExposureAfEvent `json:"afEvent,omitempty" yaml:"afEvent" bson:"afEvent,omitempty"` + SacEvent *SacEvent `json:"sacEvent,omitempty" yaml:"sacEvent" bson:"sacEvent,omitempty"` + NrfEvent NotificationEventType `json:"nrfEvent,omitempty" yaml:"nrfEvent" bson:"nrfEvent,omitempty"` +} diff --git a/models/models/model_dccf_info.go b/models/models/model_dccf_info.go new file mode 100644 index 00000000..f9e8d12a --- /dev/null +++ b/models/models/model_dccf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a DCCF NF Instance +type DccfInfo struct { + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/models/model_ddd_traffic_descriptor.go b/models/models/model_ddd_traffic_descriptor.go new file mode 100644 index 00000000..bb929f4b --- /dev/null +++ b/models/models/model_ddd_traffic_descriptor.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Traffic Descriptor. +type DddTrafficDescriptor struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` +} diff --git a/models/models/model_ddn_failure_sub_info.go b/models/models/model_ddn_failure_sub_info.go new file mode 100644 index 00000000..0bfc28c1 --- /dev/null +++ b/models/models/model_ddn_failure_sub_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DDN Failure Subscription Information +type DdnFailureSubInfo struct { + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` +} diff --git a/models/models/model_ddn_failure_subs.go b/models/models/model_ddn_failure_subs.go new file mode 100644 index 00000000..567b03f6 --- /dev/null +++ b/models/models/model_ddn_failure_subs.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DDN Failure Subscription +type DdnFailureSubs struct { + DdnFailureSubsInd bool `json:"ddnFailureSubsInd,omitempty" yaml:"ddnFailureSubsInd" bson:"ddnFailureSubsInd,omitempty"` + DdnFailureSubsInfoList []DdnFailureSubInfo `json:"ddnFailureSubsInfoList,omitempty" yaml:"ddnFailureSubsInfoList" bson:"ddnFailureSubsInfoList,omitempty"` +} diff --git a/models/models/model_deconceal_req_data.go b/models/models/model_deconceal_req_data.go new file mode 100644 index 00000000..624ace77 --- /dev/null +++ b/models/models/model_deconceal_req_data.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Deconceal Request Data +type DeconcealReqData struct { + // Contains the SUCI. + Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` +} diff --git a/models/models/model_deconceal_rsp_data.go b/models/models/model_deconceal_rsp_data.go new file mode 100644 index 00000000..03dfa502 --- /dev/null +++ b/models/models/model_deconceal_rsp_data.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Deconceal Response Data +type DeconcealRspData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` +} diff --git a/models/models/model_def_sub_service_info.go b/models/models/model_def_sub_service_info.go new file mode 100644 index 00000000..e7dd347a --- /dev/null +++ b/models/models/model_def_sub_service_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Service Specific information for Default Notification Subscription. +type DefSubServiceInfo struct { + Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_default_notification_subscription.go b/models/models/model_default_notification_subscription.go new file mode 100644 index 00000000..2e00943f --- /dev/null +++ b/models/models/model_default_notification_subscription.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data structure for specifying the notifications the NF service subscribes by default, along with callback URI +type DefaultNotificationSubscription struct { + NotificationType NrfNfManagementNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnCallbackUri string `json:"interPlmnCallbackUri,omitempty" yaml:"interPlmnCallbackUri" bson:"interPlmnCallbackUri,omitempty"` + N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` + Binding string `json:"binding,omitempty" yaml:"binding" bson:"binding,omitempty"` + AcceptedEncoding string `json:"acceptedEncoding,omitempty" yaml:"acceptedEncoding" bson:"acceptedEncoding,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map of service specific information. The name of the corresponding service (as specified in ServiceName data type) is the key. + ServiceInfoList map[string]DefSubServiceInfo `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` +} diff --git a/models/models/model_default_unrelated_class.go b/models/models/model_default_unrelated_class.go new file mode 100644 index 00000000..9dc0eb1a --- /dev/null +++ b/models/models/model_default_unrelated_class.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DefaultUnrelatedClass struct { + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` + CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` +} diff --git a/models/models/model_deliver_add_info.go b/models/models/model_deliver_add_info.go new file mode 100644 index 00000000..665302f5 --- /dev/null +++ b/models/models/model_deliver_add_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional information in an error response to a Deliver Request. +type DeliverAddInfo struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_deliver_error.go b/models/models/model_deliver_error.go new file mode 100644 index 00000000..4c3d2d0f --- /dev/null +++ b/models/models/model_deliver_error.go @@ -0,0 +1,36 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the payload in an error response to a Deliver Request. +type DeliverError struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_deliver_request.go b/models/models/model_deliver_request.go new file mode 100644 index 00000000..e9d25b26 --- /dev/null +++ b/models/models/model_deliver_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DeliverRequest struct { + JsonData *SmfNiddDeliverReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/models/model_delivery_report_requested.go b/models/models/model_delivery_report_requested.go new file mode 100644 index 00000000..32c5299f --- /dev/null +++ b/models/models/model_delivery_report_requested.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DeliveryReportRequested string + +// List of DeliveryReportRequested +const ( + DeliveryReportRequested_TRUE DeliveryReportRequested = "true" + DeliveryReportRequested_FALSE DeliveryReportRequested = "false" +) diff --git a/models/models/model_deregistration_info.go b/models/models/model_deregistration_info.go new file mode 100644 index 00000000..bfa89221 --- /dev/null +++ b/models/models/model_deregistration_info.go @@ -0,0 +1,21 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUPI). +type DeregistrationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_detecting_node.go b/models/models/model_detecting_node.go new file mode 100644 index 00000000..880ab0d1 --- /dev/null +++ b/models/models/model_detecting_node.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DetectingNode string + +// List of DetectingNode +const ( + DetectingNode_SGSN DetectingNode = "SGSN" + DetectingNode_MME DetectingNode = "MME" + DetectingNode_AMF DetectingNode = "AMF" +) diff --git a/models/models/model_determine_location_request.go b/models/models/model_determine_location_request.go new file mode 100644 index 00000000..20e2631c --- /dev/null +++ b/models/models/model_determine_location_request.go @@ -0,0 +1,18 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DetermineLocationRequest struct { + JsonData *LmfLocationInputData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataLppMessage []byte `json:"binaryDataLppMessage,omitempty" yaml:"binaryDataLppMessage" bson:"binaryDataLppMessage,omitempty"` +} diff --git a/models/models/model_direct_discovery_model.go b/models/models/model_direct_discovery_model.go new file mode 100644 index 00000000..2aa9fe4d --- /dev/null +++ b/models/models/model_direct_discovery_model.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DirectDiscoveryModel string + +// List of DirectDiscoveryModel +const ( + DirectDiscoveryModel_A DirectDiscoveryModel = "MODEL_A" + DirectDiscoveryModel_B DirectDiscoveryModel = "MODEL_B" +) diff --git a/models/models/model_dispersion_area.go b/models/models/model_dispersion_area.go new file mode 100644 index 00000000..ff74c91b --- /dev/null +++ b/models/models/model_dispersion_area.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Dispersion Area +type DispersionArea struct { + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + N3gaInd bool `json:"n3gaInd,omitempty" yaml:"n3gaInd" bson:"n3gaInd,omitempty"` +} diff --git a/models/models/model_dispersion_class.go b/models/models/model_dispersion_class.go new file mode 100644 index 00000000..88b10850 --- /dev/null +++ b/models/models/model_dispersion_class.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - FIXED: Dispersion class as fixed UE its data or transaction usage at a location or a slice, is higher than its class threshold set for its all data or transaction usage. - CAMPER: Dispersion class as camper UE, its data or transaction usage at a location or a slice, is higher than its class threshold and lower than the fixed class threshold set for its all data or transaction usage.. - TRAVELLER: Dispersion class as traveller UE, its data or transaction usage at a location or a slice, is lower than the camper class threshold set for its all data or transaction usage. - TOP_HEAVY: Dispersion class as Top_Heavy UE, who's dispersion percentile rating at a location or a slice, is higher than its class threshold. +type DispersionClass struct { +} diff --git a/models/models/model_dispersion_info.go b/models/models/model_dispersion_info.go new file mode 100644 index 00000000..3b37d5dd --- /dev/null +++ b/models/models/model_dispersion_info.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the Dispersion information. When subscribed event is \"DISPERSION\", the \"disperInfos\" attribute shall be included. +type DispersionInfo struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + DisperCollects []NwdafEventsSubscriptionDispersionCollection `json:"disperCollects" yaml:"disperCollects" bson:"disperCollects,omitempty"` + DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` +} diff --git a/models/models/model_dispersion_ordering_criterion.go b/models/models/model_dispersion_ordering_criterion.go new file mode 100644 index 00000000..4e2f2b97 --- /dev/null +++ b/models/models/model_dispersion_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DispersionOrderingCriterion string + +// List of DispersionOrderingCriterion +const ( + DispersionOrderingCriterion_TIME_SLOT_START DispersionOrderingCriterion = "TIME_SLOT_START" + DispersionOrderingCriterion_DISPERSION DispersionOrderingCriterion = "DISPERSION" + DispersionOrderingCriterion_CLASSIFICATION DispersionOrderingCriterion = "CLASSIFICATION" + DispersionOrderingCriterion_RANKING DispersionOrderingCriterion = "RANKING" + DispersionOrderingCriterion_PERCENTILE_RANKING DispersionOrderingCriterion = "PERCENTILE_RANKING" +) diff --git a/models/models/model_dispersion_requirement.go b/models/models/model_dispersion_requirement.go new file mode 100644 index 00000000..ae7b2d18 --- /dev/null +++ b/models/models/model_dispersion_requirement.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the dispersion analytics requirements. +type DispersionRequirement struct { + DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` + ClassCriters []ClassCriterion `json:"classCriters,omitempty" yaml:"classCriters" bson:"classCriters,omitempty"` + RankCriters []RankingCriterion `json:"rankCriters,omitempty" yaml:"rankCriters" bson:"rankCriters,omitempty"` + DispOrderCriter DispersionOrderingCriterion `json:"dispOrderCriter,omitempty" yaml:"dispOrderCriter" bson:"dispOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/models/model_dispersion_type.go b/models/models/model_dispersion_type.go new file mode 100644 index 00000000..579989ce --- /dev/null +++ b/models/models/model_dispersion_type.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - DVDA: Data Volume Dispersion Analytics. - TDA: Transactions Dispersion Analytics. - DVDA_AND_TDA: Data Volume Dispersion Analytics and Transactions Dispersion Analytics. +type DispersionType struct { +} diff --git a/models/models/model_dl_data_delivery_status.go b/models/models/model_dl_data_delivery_status.go new file mode 100644 index 00000000..4d8c0b69 --- /dev/null +++ b/models/models/model_dl_data_delivery_status.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DlDataDeliveryStatus string + +// List of DlDataDeliveryStatus +const ( + DlDataDeliveryStatus_BUFFERED DlDataDeliveryStatus = "BUFFERED" + DlDataDeliveryStatus_TRANSMITTED DlDataDeliveryStatus = "TRANSMITTED" + DlDataDeliveryStatus_DISCARDED DlDataDeliveryStatus = "DISCARDED" +) diff --git a/models/models/model_dn_perf.go b/models/models/model_dn_perf.go new file mode 100644 index 00000000..301bad30 --- /dev/null +++ b/models/models/model_dn_perf.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance for the application. +type DnPerf struct { + AppServerInsAddr *AddrFqdn `json:"appServerInsAddr,omitempty" yaml:"appServerInsAddr" bson:"appServerInsAddr,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + PerfData *PerfData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` + TemporalValidCon *TimeWindow `json:"temporalValidCon,omitempty" yaml:"temporalValidCon" bson:"temporalValidCon,omitempty"` +} diff --git a/models/models/model_dn_perf_info.go b/models/models/model_dn_perf_info.go new file mode 100644 index 00000000..3b7df57c --- /dev/null +++ b/models/models/model_dn_perf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance information. +type DnPerfInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + DnPerf []DnPerf `json:"dnPerf" yaml:"dnPerf" bson:"dnPerf,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_dn_perf_ordering_criterion.go b/models/models/model_dn_perf_ordering_criterion.go new file mode 100644 index 00000000..0a8d3307 --- /dev/null +++ b/models/models/model_dn_perf_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnPerfOrderingCriterion string + +// List of DnPerfOrderingCriterion +const ( + DnPerfOrderingCriterion_AVERAGE_TRAFFIC_RATE DnPerfOrderingCriterion = "AVERAGE_TRAFFIC_RATE" + DnPerfOrderingCriterion_MAXIMUM_TRAFFIC_RATE DnPerfOrderingCriterion = "MAXIMUM_TRAFFIC_RATE" + DnPerfOrderingCriterion_AVERAGE_PACKET_DELAY DnPerfOrderingCriterion = "AVERAGE_PACKET_DELAY" + DnPerfOrderingCriterion_MAXIMUM_PACKET_DELAY DnPerfOrderingCriterion = "MAXIMUM_PACKET_DELAY" + DnPerfOrderingCriterion_AVERAGE_PACKET_LOSS_RATE DnPerfOrderingCriterion = "AVERAGE_PACKET_LOSS_RATE" +) diff --git a/models/models/model_dn_performance_req.go b/models/models/model_dn_performance_req.go new file mode 100644 index 00000000..57388813 --- /dev/null +++ b/models/models/model_dn_performance_req.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other DN performance analytics requirements. +type DnPerformanceReq struct { + DnPerfOrderCriter DnPerfOrderingCriterion `json:"dnPerfOrderCriter,omitempty" yaml:"dnPerfOrderCriter" bson:"dnPerfOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` + ReportThresholds []ThresholdLevel `json:"reportThresholds,omitempty" yaml:"reportThresholds" bson:"reportThresholds,omitempty"` +} diff --git a/models/models/model_dnai_change_type.go b/models/models/model_dnai_change_type.go new file mode 100644 index 00000000..dc7955c9 --- /dev/null +++ b/models/models/model_dnai_change_type.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnaiChangeType string + +// List of DnaiChangeType +const ( + DnaiChangeType_EARLY DnaiChangeType = "EARLY" + DnaiChangeType_EARLY_LATE DnaiChangeType = "EARLY_LATE" + DnaiChangeType_LATE DnaiChangeType = "LATE" +) diff --git a/models/models/model_dnai_information.go b/models/models/model_dnai_information.go new file mode 100644 index 00000000..306dab7d --- /dev/null +++ b/models/models/model_dnai_information.go @@ -0,0 +1,21 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DNAI information. +type DnaiInformation struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + DnsServIds []DnsServerIdentifier `json:"dnsServIds,omitempty" yaml:"dnsServIds" bson:"dnsServIds,omitempty"` + EasIpAddrs []IpAddr `json:"easIpAddrs,omitempty" yaml:"easIpAddrs" bson:"easIpAddrs,omitempty"` +} diff --git a/models/models/model_dnf.go b/models/models/model_dnf.go new file mode 100644 index 00000000..2ca7f1ef --- /dev/null +++ b/models/models/model_dnf.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A disjunctive normal form. +type Dnf struct { + DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` +} diff --git a/models/models/model_dnf_unit.go b/models/models/model_dnf_unit.go new file mode 100644 index 00000000..e2724750 --- /dev/null +++ b/models/models/model_dnf_unit.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// During the processing of dnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"OR\". +type DnfUnit struct { + DnfUnit []Atom `json:"dnfUnit" yaml:"dnfUnit" bson:"dnfUnit,omitempty"` +} diff --git a/models/models/model_dnn_configuration.go b/models/models/model_dnn_configuration.go new file mode 100644 index 00000000..fa067590 --- /dev/null +++ b/models/models/model_dnn_configuration.go @@ -0,0 +1,51 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnnConfiguration struct { + PduSessionTypes *PduSessionTypes `json:"pduSessionTypes" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + SscModes *SscModes `json:"sscModes" yaml:"sscModes" bson:"sscModes,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + Var5gQosProfile *SubscribedDefaultQos `json:"5gQosProfile,omitempty" yaml:"5gQosProfile" bson:"5gQosProfile,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` + StaticIpAddress []UdmSdmIpAddress `json:"staticIpAddress,omitempty" yaml:"staticIpAddress" bson:"staticIpAddress,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + PduSessionContinuityInd PduSessionContinuityInd `json:"pduSessionContinuityInd,omitempty" yaml:"pduSessionContinuityInd" bson:"pduSessionContinuityInd,omitempty"` + // Identity of the NEF + NiddNefId string `json:"niddNefId,omitempty" yaml:"niddNefId" bson:"niddNefId,omitempty"` + NiddInfo *UdmSdmNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` + RedundantSessionAllowed bool `json:"redundantSessionAllowed,omitempty" yaml:"redundantSessionAllowed" bson:"redundantSessionAllowed,omitempty"` + AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` + Ipv4FrameRouteList []FrameRouteInfo `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` + Ipv6FrameRouteList []FrameRouteInfo `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` + AtsssAllowed bool `json:"atsssAllowed,omitempty" yaml:"atsssAllowed" bson:"atsssAllowed,omitempty"` + SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` + UavSecondaryAuth bool `json:"uavSecondaryAuth,omitempty" yaml:"uavSecondaryAuth" bson:"uavSecondaryAuth,omitempty"` + DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` + DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` + // Fully Qualified Domain Name + DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` + IptvAccCtrlInfo string `json:"iptvAccCtrlInfo,omitempty" yaml:"iptvAccCtrlInfo" bson:"iptvAccCtrlInfo,omitempty"` + Ipv4Index *UdmSdmIpIndex `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + Ipv6Index *UdmSdmIpIndex `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` + AdditionalEcsAddrConfigInfos []*EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` + SharedEcsAddrConfigInfo string `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` + AdditionalSharedEcsAddrConfigInfoIds []string `json:"additionalSharedEcsAddrConfigInfoIds,omitempty" yaml:"additionalSharedEcsAddrConfigInfoIds" bson:"additionalSharedEcsAddrConfigInfoIds,omitempty"` + EasDiscoveryAuthorized bool `json:"easDiscoveryAuthorized,omitempty" yaml:"easDiscoveryAuthorized" bson:"easDiscoveryAuthorized,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` + AerialUeInd AerialUeIndication `json:"aerialUeInd,omitempty" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` + SubscribedMaxIpv6PrefixSize int32 `json:"subscribedMaxIpv6PrefixSize,omitempty" yaml:"subscribedMaxIpv6PrefixSize" bson:"subscribedMaxIpv6PrefixSize,omitempty"` +} diff --git a/models/models/model_dnn_easdf_info_item.go b/models/models/model_dnn_easdf_info_item.go new file mode 100644 index 00000000..13d102df --- /dev/null +++ b/models/models/model_dnn_easdf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by EASDF for a given DNN +type DnnEasdfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` +} diff --git a/models/models/model_dnn_info.go b/models/models/model_dnn_info.go new file mode 100644 index 00000000..ef9994eb --- /dev/null +++ b/models/models/model_dnn_info.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnnInfo struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DefaultDnnIndicator bool `json:"defaultDnnIndicator,omitempty" yaml:"defaultDnnIndicator" bson:"defaultDnnIndicator,omitempty"` + LboRoamingAllowed bool `json:"lboRoamingAllowed,omitempty" yaml:"lboRoamingAllowed" bson:"lboRoamingAllowed,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + DnnBarred bool `json:"dnnBarred,omitempty" yaml:"dnnBarred" bson:"dnnBarred,omitempty"` + InvokeNefInd bool `json:"invokeNefInd,omitempty" yaml:"invokeNefInd" bson:"invokeNefInd,omitempty"` + SmfList []string `json:"smfList,omitempty" yaml:"smfList" bson:"smfList,omitempty"` + SameSmfInd bool `json:"sameSmfInd,omitempty" yaml:"sameSmfInd" bson:"sameSmfInd,omitempty"` +} diff --git a/models/models/model_dnn_info_item.go b/models/models/model_dnn_info_item.go new file mode 100644 index 00000000..bde507ed --- /dev/null +++ b/models/models/model_dnn_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by NF for a given DNN +type DnnInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_dnn_mb_smf_info_item.go b/models/models/model_dnn_mb_smf_info_item.go new file mode 100644 index 00000000..ca5654c0 --- /dev/null +++ b/models/models/model_dnn_mb_smf_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an MB-SMF for a given DNN +type DnnMbSmfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_dnn_route_selection_descriptor.go b/models/models/model_dnn_route_selection_descriptor.go new file mode 100644 index 00000000..282990e5 --- /dev/null +++ b/models/models/model_dnn_route_selection_descriptor.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selector parameters (PDU session types, SSC modes and ATSSS information) per DNN +type DnnRouteSelectionDescriptor struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SscModes []SscMode `json:"sscModes,omitempty" yaml:"sscModes" bson:"sscModes,omitempty"` + PduSessTypes []PduSessionType `json:"pduSessTypes,omitempty" yaml:"pduSessTypes" bson:"pduSessTypes,omitempty"` + // Indicates whether MA PDU session establishment is allowed for this DNN. When set to value true MA PDU session establishment is allowed for this DNN. + AtsssInfo bool `json:"atsssInfo,omitempty" yaml:"atsssInfo" bson:"atsssInfo,omitempty"` +} diff --git a/models/models/model_dnn_selection_mode.go b/models/models/model_dnn_selection_mode.go new file mode 100644 index 00000000..2d67f3e9 --- /dev/null +++ b/models/models/model_dnn_selection_mode.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DnnSelectionMode string + +// List of dnnSelectionMode +const ( + DnnSelectionMode_VERIFIED DnnSelectionMode = "VERIFIED" + DnnSelectionMode_UE_DNN_NOT_VERIFIED DnnSelectionMode = "UE_DNN_NOT_VERIFIED" + DnnSelectionMode_NW_DNN_NOT_VERIFIED DnnSelectionMode = "NW_DNN_NOT_VERIFIED" +) diff --git a/models/models/model_dnn_smf_info_item.go b/models/models/model_dnn_smf_info_item.go new file mode 100644 index 00000000..584d263f --- /dev/null +++ b/models/models/model_dnn_smf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by SMF for a given DNN +type DnnSmfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []interface{} `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` +} diff --git a/models/models/model_dnn_snssai_information.go b/models/models/model_dnn_snssai_information.go new file mode 100644 index 00000000..53ab20af --- /dev/null +++ b/models/models/model_dnn_snssai_information.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a (DNN, SNSSAI) combination. +type DnnSnssaiInformation struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/models/model_dnn_tsctsf_info_item.go b/models/models/model_dnn_tsctsf_info_item.go new file mode 100644 index 00000000..a8db787b --- /dev/null +++ b/models/models/model_dnn_tsctsf_info_item.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an TSCTSF for a given DNN +type DnnTsctsfInfoItem struct { + Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_dnn_upf_info_item.go b/models/models/model_dnn_upf_info_item.go new file mode 100644 index 00000000..933252f0 --- /dev/null +++ b/models/models/model_dnn_upf_info_item.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by UPF for a given DNN +type DnnUpfInfoItem struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + Ipv4IndexList []UdmSdmIpIndex `json:"ipv4IndexList,omitempty" yaml:"ipv4IndexList" bson:"ipv4IndexList,omitempty"` + Ipv6IndexList []UdmSdmIpIndex `json:"ipv6IndexList,omitempty" yaml:"ipv6IndexList" bson:"ipv6IndexList,omitempty"` + // Map of network instance per DNAI for the DNN, where the key of the map is the DNAI. When present, the value of each entry of the map shall contain a N6 network instance that is configured for the DNAI indicated by the key. + DnaiNwInstanceList map[string]string `json:"dnaiNwInstanceList,omitempty" yaml:"dnaiNwInstanceList" bson:"dnaiNwInstanceList,omitempty"` +} diff --git a/models/models/model_dns_server_identifier.go b/models/models/model_dns_server_identifier.go new file mode 100644 index 00000000..e1a071bf --- /dev/null +++ b/models/models/model_dns_server_identifier.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DNS server identifier (consisting of IP address and port). +type DnsServerIdentifier struct { + DnsServIpAddr *IpAddr `json:"dnsServIpAddr" yaml:"dnsServIpAddr" bson:"dnsServIpAddr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` +} diff --git a/models/models/model_domain_name_protocol.go b/models/models/model_domain_name_protocol.go new file mode 100644 index 00000000..930882c7 --- /dev/null +++ b/models/models/model_domain_name_protocol.go @@ -0,0 +1,23 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type DomainNameProtocol string + +// List of DomainNameProtocol +const ( + DomainNameProtocol_DNS_QNAME DomainNameProtocol = "DNS_QNAME" + DomainNameProtocol_TLS_SNI DomainNameProtocol = "TLS_SNI" + DomainNameProtocol_TLS_SAN DomainNameProtocol = "TLS_SAN" + DomainNameProtocol_TSL_SCN DomainNameProtocol = "TSL_SCN" +) diff --git a/models/models/model_downlink_data_notification_control.go b/models/models/model_downlink_data_notification_control.go new file mode 100644 index 00000000..756ea050 --- /dev/null +++ b/models/models/model_downlink_data_notification_control.go @@ -0,0 +1,19 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the downlink data notification control information. +type DownlinkDataNotificationControl struct { + NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` +} diff --git a/models/models/model_downlink_data_notification_control_rm.go b/models/models/model_downlink_data_notification_control_rm.go new file mode 100644 index 00000000..d798e283 --- /dev/null +++ b/models/models/model_downlink_data_notification_control_rm.go @@ -0,0 +1,19 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the DownlinkDataNotificationControl data type, but with the nullable:true property. +type DownlinkDataNotificationControlRm struct { + NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` +} diff --git a/models/models/model_dsai_tag_information.go b/models/models/model_dsai_tag_information.go new file mode 100644 index 00000000..7f686ea0 --- /dev/null +++ b/models/models/model_dsai_tag_information.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DSAI tag information (list of DSAI tags activation state for an Application Server) +type DsaiTagInformation struct { + DsaiTagStatusList []DsaiTagStatus `json:"dsaiTagStatusList" yaml:"dsaiTagStatusList" bson:"dsaiTagStatusList,omitempty"` +} diff --git a/models/models/model_dsai_tag_status.go b/models/models/model_dsai_tag_status.go new file mode 100644 index 00000000..333d34ce --- /dev/null +++ b/models/models/model_dsai_tag_status.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DSAI tag status (DSAI tag and activation state) +type DsaiTagStatus struct { + DsaiTag string `json:"dsaiTag" yaml:"dsaiTag" bson:"dsaiTag,omitempty"` + DsaiState ActivationState `json:"dsaiState" yaml:"dsaiState" bson:"dsaiState,omitempty"` +} diff --git a/models/models/model_dynamic5_qi.go b/models/models/model_dynamic5_qi.go new file mode 100644 index 00000000..b89634e0 --- /dev/null +++ b/models/models/model_dynamic5_qi.go @@ -0,0 +1,36 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It indicates the QoS Characteristics for a Non-standardised or not pre-configured 5QI for downlink and uplink. +type Dynamic5Qi struct { + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrRate string `json:"packetErrRate" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + ExtPacketDelBudget int32 `json:"extPacketDelBudget,omitempty" yaml:"extPacketDelBudget" bson:"extPacketDelBudget,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` +} diff --git a/models/models/model_dynamic_policy.go b/models/models/model_dynamic_policy.go new file mode 100644 index 00000000..cebec18f --- /dev/null +++ b/models/models/model_dynamic_policy.go @@ -0,0 +1,28 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A representation of a Dynamic Policy resource. +type DynamicPolicy struct { + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + DynamicPolicyId string `json:"dynamicPolicyId" yaml:"dynamicPolicyId" bson:"dynamicPolicyId,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + PolicyTemplateId string `json:"policyTemplateId" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` + ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` + MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` + QosSpecification *M5QoSSpecification `json:"qosSpecification,omitempty" yaml:"qosSpecification" bson:"qosSpecification,omitempty"` + EnforcementMethod string `json:"enforcementMethod,omitempty" yaml:"enforcementMethod" bson:"enforcementMethod,omitempty"` + EnforcementBitRate int32 `json:"enforcementBitRate,omitempty" yaml:"enforcementBitRate" bson:"enforcementBitRate,omitempty"` +} diff --git a/models/models/model_eap_auth_method_response_200.go b/models/models/model_eap_auth_method_response_200.go new file mode 100644 index 00000000..39c1a522 --- /dev/null +++ b/models/models/model_eap_auth_method_response_200.go @@ -0,0 +1,20 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EapAuthMethodResponse200 struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` +} diff --git a/models/models/model_eap_session.go b/models/models/model_eap_session.go new file mode 100644 index 00000000..c9c83e78 --- /dev/null +++ b/models/models/model_eap_session.go @@ -0,0 +1,31 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the EAP session. +type EapSession struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // Contains the Kseaf. + KSeaf string `json:"kSeaf,omitempty" yaml:"kSeaf" bson:"kSeaf,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + // Contains the Master Session Key. + Msk string `json:"msk,omitempty" yaml:"msk" bson:"msk,omitempty"` +} diff --git a/models/models/model_early_media_description.go b/models/models/model_early_media_description.go new file mode 100644 index 00000000..9500171d --- /dev/null +++ b/models/models/model_early_media_description.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EarlyMediaDescription struct { + SDPTimeStamps *SdpTimeStamps `json:"sDPTimeStamps,omitempty" yaml:"sDPTimeStamps" bson:"sDPTimeStamps,omitempty"` + SDPMediaComponent []SdpMediaComponent `json:"sDPMediaComponent,omitempty" yaml:"sDPMediaComponent" bson:"sDPMediaComponent,omitempty"` + SDPSessionDescription []string `json:"sDPSessionDescription,omitempty" yaml:"sDPSessionDescription" bson:"sDPSessionDescription,omitempty"` +} diff --git a/models/models/model_eas_dep_notification.go b/models/models/model_eas_dep_notification.go new file mode 100644 index 00000000..d072a8d5 --- /dev/null +++ b/models/models/model_eas_dep_notification.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the EAS Deployment Notifcation. +type EasDepNotification struct { + EasDepInfo *EasDeployInfoData `json:"easDepInfo" yaml:"easDepInfo" bson:"easDepInfo,omitempty"` + EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` +} diff --git a/models/models/model_eas_deploy_info_data.go b/models/models/model_eas_deploy_info_data.go new file mode 100644 index 00000000..d0bb6aec --- /dev/null +++ b/models/models/model_eas_deploy_info_data.go @@ -0,0 +1,26 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the EAS Deployment Information to be reported. +type EasDeployInfoData struct { + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // list of DNS server identifier (consisting of IP address and port) and/or IP address(s) of the EAS in the local DN for each DNAI. The key of map is the DNAI. + DnaiInfos map[string]DnaiInformation `json:"dnaiInfos,omitempty" yaml:"dnaiInfos" bson:"dnaiInfos,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + FqdnPatternList []FqdnPatternMatchingRule `json:"fqdnPatternList" yaml:"fqdnPatternList" bson:"fqdnPatternList,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupId string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/models/model_eas_deploy_info_notif.go b/models/models/model_eas_deploy_info_notif.go new file mode 100644 index 00000000..f517efaa --- /dev/null +++ b/models/models/model_eas_deploy_info_notif.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on EAS Deployment Information changes event(s) that occurred for an Individual EAS Deployment Event Subscription resource. +type EasDeployInfoNotif struct { + EasDepNotifs []EasDepNotification `json:"easDepNotifs" yaml:"easDepNotifs" bson:"easDepNotifs,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` +} diff --git a/models/models/model_eas_deploy_sub_data.go b/models/models/model_eas_deploy_sub_data.go new file mode 100644 index 00000000..27e03e91 --- /dev/null +++ b/models/models/model_eas_deploy_sub_data.go @@ -0,0 +1,30 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual EAS Deployment Event Subscription resource. +type EasDeploySubData struct { + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // Each of the element identifies a (DNN, S-NSSAI) combination. + DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` + EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // Represents the EAS Deployment Information changes event(s) to be reported. Shall only be present if the \"immRep\" attribute is included and sets to true, and the current status of EAS Deployment Information is available. + EventsNotifs []EasDeployInfoData `json:"eventsNotifs,omitempty" yaml:"eventsNotifs" bson:"eventsNotifs,omitempty"` + // Indication of immediate reporting. Set to true: requires the immediate reporting of the current status of EAS Deployment Information, if available. Set to false (default): EAS Deployment Information event report occurs when the event is met. + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` +} diff --git a/models/models/model_eas_deployment_charging_information.go b/models/models/model_eas_deployment_charging_information.go new file mode 100644 index 00000000..5062d623 --- /dev/null +++ b/models/models/model_eas_deployment_charging_information.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type EasDeploymentChargingInformation struct { + EEASDeploymentRequirements *EasRequirements `json:"eEASDeploymentRequirements,omitempty" yaml:"eEASDeploymentRequirements" bson:"eEASDeploymentRequirements,omitempty"` + LCMEventType ManagementOperation `json:"lCMEventType,omitempty" yaml:"lCMEventType" bson:"lCMEventType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LCMStartTime *time.Time `json:"lCMStartTime,omitempty" yaml:"lCMStartTime" bson:"lCMStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LCMEndTime *time.Time `json:"lCMEndTime,omitempty" yaml:"lCMEndTime" bson:"lCMEndTime,omitempty"` +} diff --git a/models/models/model_eas_event.go b/models/models/model_eas_event.go new file mode 100644 index 00000000..286e0995 --- /dev/null +++ b/models/models/model_eas_event.go @@ -0,0 +1,20 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EasEvent string + +// List of EasEvent +const ( + EasEvent_EAS_INFO_CHG EasEvent = "EAS_INFO_CHG" +) diff --git a/models/models/model_eas_ip_replacement_info.go b/models/models/model_eas_ip_replacement_info.go new file mode 100644 index 00000000..131b5b11 --- /dev/null +++ b/models/models/model_eas_ip_replacement_info.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains EAS IP replacement information for a Source and a Target EAS. +type EasIpReplacementInfo struct { + Source *EasServerAddress `json:"source" yaml:"source" bson:"source,omitempty"` + Target *EasServerAddress `json:"target" yaml:"target" bson:"target,omitempty"` +} diff --git a/models/models/model_eas_requirements.go b/models/models/model_eas_requirements.go new file mode 100644 index 00000000..0972a1af --- /dev/null +++ b/models/models/model_eas_requirements.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EasRequirements struct { + RequiredEASservingLocation *ServingLocation `json:"requiredEASservingLocation,omitempty" yaml:"requiredEASservingLocation" bson:"requiredEASservingLocation,omitempty"` + SoftwareImageInfo *SoftwareImageInfo `json:"softwareImageInfo,omitempty" yaml:"softwareImageInfo" bson:"softwareImageInfo,omitempty"` + AffinityAntiAffinity *AffinityAntiAffinity `json:"affinityAntiAffinity,omitempty" yaml:"affinityAntiAffinity" bson:"affinityAntiAffinity,omitempty"` + ServiceContinuity bool `json:"serviceContinuity,omitempty" yaml:"serviceContinuity" bson:"serviceContinuity,omitempty"` + VirtualResource *VirtualResource `json:"virtualResource,omitempty" yaml:"virtualResource" bson:"virtualResource,omitempty"` +} diff --git a/models/models/model_eas_server_address.go b/models/models/model_eas_server_address.go new file mode 100644 index 00000000..d2476bfb --- /dev/null +++ b/models/models/model_eas_server_address.go @@ -0,0 +1,20 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the IP address and port of an EAS server. +type EasServerAddress struct { + Ip *IpAddr `json:"ip" yaml:"ip" bson:"ip,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Port int32 `json:"port" yaml:"port" bson:"port,omitempty"` +} diff --git a/models/models/model_easdf_info.go b/models/models/model_easdf_info.go new file mode 100644 index 00000000..76917149 --- /dev/null +++ b/models/models/model_easdf_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an EASDF NF Instance +type EasdfInfo struct { + SNssaiEasdfInfoList []SnssaiEasdfInfoItem `json:"sNssaiEasdfInfoList,omitempty" yaml:"sNssaiEasdfInfoList" bson:"sNssaiEasdfInfoList,omitempty"` + EasdfN6IpAddressList []IpAddr `json:"easdfN6IpAddressList,omitempty" yaml:"easdfN6IpAddressList" bson:"easdfN6IpAddressList,omitempty"` + UpfN6IpAddressList []IpAddr `json:"upfN6IpAddressList,omitempty" yaml:"upfN6IpAddressList" bson:"upfN6IpAddressList,omitempty"` +} diff --git a/models/models/model_ebi_arp_mapping.go b/models/models/model_ebi_arp_mapping.go new file mode 100644 index 00000000..719aef59 --- /dev/null +++ b/models/models/model_ebi_arp_mapping.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// EBI to ARP mapping +type EbiArpMapping struct { + // EPS Bearer Identifier + EpsBearerId int32 `json:"epsBearerId" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` +} diff --git a/models/models/model_ec_restriction.go b/models/models/model_ec_restriction.go new file mode 100644 index 00000000..9ee7b997 --- /dev/null +++ b/models/models/model_ec_restriction.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EcRestriction struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + PlmnEcInfos []PlmnEcInfo `json:"plmnEcInfos,omitempty" yaml:"plmnEcInfos" bson:"plmnEcInfos,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_ecgi.go b/models/models/model_ecgi.go new file mode 100644 index 00000000..16264e85 --- /dev/null +++ b/models/models/model_ecgi.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the ECGI (E-UTRAN Cell Global Identity), as described in 3GPP 23.003 +type Ecgi struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 28-bit string identifying an E-UTRA Cell Id as specified in clause 9.3.1.9 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. + EutraCellId string `json:"eutraCellId" yaml:"eutraCellId" bson:"eutraCellId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_ecs_addr_config_info.go b/models/models/model_ecs_addr_config_info.go new file mode 100644 index 00000000..8ca61f5d --- /dev/null +++ b/models/models/model_ecs_addr_config_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EcsAddrConfigInfo struct { + EcsServerAddr *EcsServerAddr `json:"ecsServerAddr,omitempty" yaml:"ecsServerAddr" bson:"ecsServerAddr,omitempty"` + SpatialValidityCond *SpatialValidityCond `json:"spatialValidityCond,omitempty" yaml:"spatialValidityCond" bson:"spatialValidityCond,omitempty"` +} diff --git a/models/models/model_ecs_server_addr.go b/models/models/model_ecs_server_addr.go new file mode 100644 index 00000000..e968ffaf --- /dev/null +++ b/models/models/model_ecs_server_addr.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Edge Configuration Server Address Configuration Information as defined in clause 5.2.3.6.1 of 3GPP TS 23.502. +type EcsServerAddr struct { + EcsFqdnList []string `json:"ecsFqdnList,omitempty" yaml:"ecsFqdnList" bson:"ecsFqdnList,omitempty"` + EcsIpAddressList []IpAddr `json:"ecsIpAddressList,omitempty" yaml:"ecsIpAddressList" bson:"ecsIpAddressList,omitempty"` + EcsUriList []string `json:"ecsUriList,omitempty" yaml:"ecsUriList" bson:"ecsUriList,omitempty"` + EcsProviderId string `json:"ecsProviderId,omitempty" yaml:"ecsProviderId" bson:"ecsProviderId,omitempty"` +} diff --git a/models/models/model_edge_infrastructure_usage_charging_information.go b/models/models/model_edge_infrastructure_usage_charging_information.go new file mode 100644 index 00000000..84b523fe --- /dev/null +++ b/models/models/model_edge_infrastructure_usage_charging_information.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type EdgeInfrastructureUsageChargingInformation struct { + // string with format 'float' as defined in OpenAPI. + MeanVirtualCPUUsage float32 `json:"meanVirtualCPUUsage,omitempty" yaml:"meanVirtualCPUUsage" bson:"meanVirtualCPUUsage,omitempty"` + // string with format 'float' as defined in OpenAPI. + MeanVirtualMemoryUsage float32 `json:"meanVirtualMemoryUsage,omitempty" yaml:"meanVirtualMemoryUsage" bson:"meanVirtualMemoryUsage,omitempty"` + // string with format 'float' as defined in OpenAPI. + MeanVirtualDiskUsage float32 `json:"meanVirtualDiskUsage,omitempty" yaml:"meanVirtualDiskUsage" bson:"meanVirtualDiskUsage,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + MeasuredInBytes int32 `json:"measuredInBytes,omitempty" yaml:"measuredInBytes" bson:"measuredInBytes,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + MeasuredOutBytes int32 `json:"measuredOutBytes,omitempty" yaml:"measuredOutBytes" bson:"measuredOutBytes,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DurationStartTime *time.Time `json:"durationStartTime,omitempty" yaml:"durationStartTime" bson:"durationStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DurationEndTime *time.Time `json:"durationEndTime,omitempty" yaml:"durationEndTime" bson:"durationEndTime,omitempty"` +} diff --git a/models/models/model_edrx_parameters.go b/models/models/model_edrx_parameters.go new file mode 100644 index 00000000..20f5e88c --- /dev/null +++ b/models/models/model_edrx_parameters.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EdrxParameters struct { + RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` + EdrxValue string `json:"edrxValue" yaml:"edrxValue" bson:"edrxValue,omitempty"` +} diff --git a/models/models/model_ee_group_profile_data.go b/models/models/model_ee_group_profile_data.go new file mode 100644 index 00000000..2da2f9d7 --- /dev/null +++ b/models/models/model_ee_group_profile_data.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeGroupProfileData struct { + RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` + // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. + AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` +} diff --git a/models/models/model_ee_monitoring_revoked.go b/models/models/model_ee_monitoring_revoked.go new file mode 100644 index 00000000..00296063 --- /dev/null +++ b/models/models/model_ee_monitoring_revoked.go @@ -0,0 +1,21 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeMonitoringRevoked struct { + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringEvents + RevokedMonitoringEventList map[string]MonitoringEvent `json:"revokedMonitoringEventList" yaml:"revokedMonitoringEventList" bson:"revokedMonitoringEventList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + RemovedGpsi string `json:"removedGpsi,omitempty" yaml:"removedGpsi" bson:"removedGpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` +} diff --git a/models/models/model_ee_profile_data.go b/models/models/model_ee_profile_data.go new file mode 100644 index 00000000..c9c6c108 --- /dev/null +++ b/models/models/model_ee_profile_data.go @@ -0,0 +1,26 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Event Exposure Profile Data. +type EeProfileData struct { + RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. + AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` + IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` + Imsi string `json:"imsi,omitempty" yaml:"imsi" bson:"imsi,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` +} diff --git a/models/models/model_ee_subscription.go b/models/models/model_ee_subscription.go new file mode 100644 index 00000000..e44a8768 --- /dev/null +++ b/models/models/model_ee_subscription.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeSubscription struct { +} diff --git a/models/models/model_ee_subscription_ext.go b/models/models/model_ee_subscription_ext.go new file mode 100644 index 00000000..3c41df18 --- /dev/null +++ b/models/models/model_ee_subscription_ext.go @@ -0,0 +1,43 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EeSubscriptionExt struct { + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations + MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` + ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` + // Fully Qualified Domain Name + ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` + // Fully Qualified Domain Name + ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` + SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` +} diff --git a/models/models/model_ellipsoid_arc.go b/models/models/model_ellipsoid_arc.go new file mode 100644 index 00000000..e937f9a8 --- /dev/null +++ b/models/models/model_ellipsoid_arc.go @@ -0,0 +1,29 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid Arc. +type EllipsoidArc struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of the inner radius. + InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` + // Indicates value of uncertainty. + UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` + // Indicates value of angle. + OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` + // Indicates value of angle. + IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_emergency_info.go b/models/models/model_emergency_info.go new file mode 100644 index 00000000..10ddc470 --- /dev/null +++ b/models/models/model_emergency_info.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EmergencyInfo struct { + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddress *UdmSdmIpAddress `json:"pgwIpAddress,omitempty" yaml:"pgwIpAddress" bson:"pgwIpAddress,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/models/model_enable_group_reachability_req_data.go b/models/models/model_enable_group_reachability_req_data.go new file mode 100644 index 00000000..694e62da --- /dev/null +++ b/models/models/model_enable_group_reachability_req_data.go @@ -0,0 +1,27 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable Group Reachability Request +type EnableGroupReachabilityReqData struct { + UeInfoList []AmfMtUeInfo `json:"ueInfoList" yaml:"ueInfoList" bson:"ueInfoList,omitempty"` + Tmgi *Tmgi `json:"tmgi" yaml:"tmgi" bson:"tmgi,omitempty"` + // String providing an URI formatted according to RFC 3986. + ReachabilityNotifyUri string `json:"reachabilityNotifyUri,omitempty" yaml:"reachabilityNotifyUri" bson:"reachabilityNotifyUri,omitempty"` + MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_enable_group_reachability_rsp_data.go b/models/models/model_enable_group_reachability_rsp_data.go new file mode 100644 index 00000000..b9aa5043 --- /dev/null +++ b/models/models/model_enable_group_reachability_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable Group Reachability Response +type EnableGroupReachabilityRspData struct { + UeConnectedList []string `json:"ueConnectedList,omitempty" yaml:"ueConnectedList" bson:"ueConnectedList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_enable_ue_reachability_req_data.go b/models/models/model_enable_ue_reachability_req_data.go new file mode 100644 index 00000000..501db51b --- /dev/null +++ b/models/models/model_enable_ue_reachability_req_data.go @@ -0,0 +1,22 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable UE Reachability Request +type EnableUeReachabilityReqData struct { + Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` +} diff --git a/models/models/model_enable_ue_reachability_rsp_data.go b/models/models/model_enable_ue_reachability_rsp_data.go new file mode 100644 index 00000000..65682d14 --- /dev/null +++ b/models/models/model_enable_ue_reachability_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the Enable UE Reachability Response +type EnableUeReachabilityRspData struct { + Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_endpoint_address.go b/models/models/model_endpoint_address.go new file mode 100644 index 00000000..a41df5bd --- /dev/null +++ b/models/models/model_endpoint_address.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EndpointAddress struct { + Hostname string `json:"hostname,omitempty" yaml:"hostname" bson:"hostname,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` +} diff --git a/models/models/model_enhanced_coverage_restriction_data.go b/models/models/model_enhanced_coverage_restriction_data.go new file mode 100644 index 00000000..bd597e3c --- /dev/null +++ b/models/models/model_enhanced_coverage_restriction_data.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EnhancedCoverageRestrictionData struct { + PlmnEcInfoList []PlmnEcInfo `json:"plmnEcInfoList,omitempty" yaml:"plmnEcInfoList" bson:"plmnEcInfoList,omitempty"` +} diff --git a/models/models/model_enhanced_diagnostics5_g.go b/models/models/model_enhanced_diagnostics5_g.go new file mode 100644 index 00000000..6f398b36 --- /dev/null +++ b/models/models/model_enhanced_diagnostics5_g.go @@ -0,0 +1,16 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EnhancedDiagnostics5G struct { +} diff --git a/models/models/model_eps_bearer_info.go b/models/models/model_eps_bearer_info.go new file mode 100644 index 00000000..eb4ad7fc --- /dev/null +++ b/models/models/model_eps_bearer_info.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// EPS Bearer Information from H-SMF to V-SMF, or from SMF to I-SMF +type EpsBearerInfo struct { + // EPS Bearer Identifier + Ebi int32 `json:"ebi" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwS8uFteid string `json:"pgwS8uFteid" yaml:"pgwS8uFteid" bson:"pgwS8uFteid,omitempty"` + // string with format 'bytes' as defined in OpenAPI + BearerLevelQoS string `json:"bearerLevelQoS" yaml:"bearerLevelQoS" bson:"bearerLevelQoS,omitempty"` +} diff --git a/models/models/model_eps_interworking_indication.go b/models/models/model_eps_interworking_indication.go new file mode 100644 index 00000000..6f4ae078 --- /dev/null +++ b/models/models/model_eps_interworking_indication.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsInterworkingIndication string + +// List of EpsInterworkingIndication +const ( + EpsInterworkingIndication_NONE EpsInterworkingIndication = "NONE" + EpsInterworkingIndication_WITH_N26 EpsInterworkingIndication = "WITH_N26" + EpsInterworkingIndication_WITHOUT_N26 EpsInterworkingIndication = "WITHOUT_N26" + EpsInterworkingIndication_IWK_NON_3_GPP EpsInterworkingIndication = "IWK_NON_3GPP" +) diff --git a/models/models/model_eps_interworking_info.go b/models/models/model_eps_interworking_info.go new file mode 100644 index 00000000..91403320 --- /dev/null +++ b/models/models/model_eps_interworking_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsInterworkingInfo struct { + // A map (list of key-value pairs where Dnn serves as key) of EpsIwkPgws + EpsIwkPgws map[string]EpsIwkPgw `json:"epsIwkPgws,omitempty" yaml:"epsIwkPgws" bson:"epsIwkPgws,omitempty"` +} diff --git a/models/models/model_eps_iwk_pgw.go b/models/models/model_eps_iwk_pgw.go new file mode 100644 index 00000000..c28683d8 --- /dev/null +++ b/models/models/model_eps_iwk_pgw.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsIwkPgw struct { + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/models/model_eps_nas_ciphering_algorithm.go b/models/models/model_eps_nas_ciphering_algorithm.go new file mode 100644 index 00000000..54a20a36 --- /dev/null +++ b/models/models/model_eps_nas_ciphering_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsNasCipheringAlgorithm string + +// List of EpsNasCipheringAlgorithm +const ( + EpsNasCipheringAlgorithm_EEA0 EpsNasCipheringAlgorithm = "EEA0" + EpsNasCipheringAlgorithm_EEA1 EpsNasCipheringAlgorithm = "EEA1" + EpsNasCipheringAlgorithm_EEA2 EpsNasCipheringAlgorithm = "EEA2" + EpsNasCipheringAlgorithm_EEA3 EpsNasCipheringAlgorithm = "EEA3" +) diff --git a/models/models/model_eps_nas_integrity_algorithm.go b/models/models/model_eps_nas_integrity_algorithm.go new file mode 100644 index 00000000..6e218543 --- /dev/null +++ b/models/models/model_eps_nas_integrity_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EpsNasIntegrityAlgorithm string + +// List of EpsNasIntegrityAlgorithm +const ( + EpsNasIntegrityAlgorithm_EIA0 EpsNasIntegrityAlgorithm = "EIA0" + EpsNasIntegrityAlgorithm_EIA1 EpsNasIntegrityAlgorithm = "EIA1" + EpsNasIntegrityAlgorithm_EIA2 EpsNasIntegrityAlgorithm = "EIA2" + EpsNasIntegrityAlgorithm_EIA3 EpsNasIntegrityAlgorithm = "EIA3" +) diff --git a/models/models/model_eps_nas_security_mode.go b/models/models/model_eps_nas_security_mode.go new file mode 100644 index 00000000..b5477c5a --- /dev/null +++ b/models/models/model_eps_nas_security_mode.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the EPS NAS Security Mode +type EpsNasSecurityMode struct { + IntegrityAlgorithm EpsNasIntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` + CipheringAlgorithm EpsNasCipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` +} diff --git a/models/models/model_eps_pdn_cnx_info.go b/models/models/model_eps_pdn_cnx_info.go new file mode 100644 index 00000000..10ebb1d5 --- /dev/null +++ b/models/models/model_eps_pdn_cnx_info.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// EPS PDN Connection Information from H-SMF to V-SMF, or from SMF to I-SMF +type EpsPdnCnxInfo struct { + // string with format 'bytes' as defined in OpenAPI + PgwS8cFteid string `json:"pgwS8cFteid" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwNodeName string `json:"pgwNodeName,omitempty" yaml:"pgwNodeName" bson:"pgwNodeName,omitempty"` + // EPS Bearer Identifier + LinkedBearerId int32 `json:"linkedBearerId,omitempty" yaml:"linkedBearerId" bson:"linkedBearerId,omitempty"` +} diff --git a/models/models/model_error_report.go b/models/models/model_error_report.go new file mode 100644 index 00000000..b6dde291 --- /dev/null +++ b/models/models/model_error_report.go @@ -0,0 +1,26 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the rule error reports. +type ErrorReport struct { + Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` + // Used to report the PCC rule failure. + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` + // Used to report the session rule failure. + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` + // Used to report failure of the policy decision and/or condition data. + PolDecFailureReports []PolicyDecisionFailureCode `json:"polDecFailureReports,omitempty" yaml:"polDecFailureReports" bson:"polDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` +} diff --git a/models/models/model_eth_flow_description.go b/models/models/model_eth_flow_description.go new file mode 100644 index 00000000..1f2cbb37 --- /dev/null +++ b/models/models/model_eth_flow_description.go @@ -0,0 +1,30 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an Ethernet flow. +type EthFlowDescription struct { + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DestMacAddr string `json:"destMacAddr,omitempty" yaml:"destMacAddr" bson:"destMacAddr,omitempty"` + EthType string `json:"ethType" yaml:"ethType" bson:"ethType,omitempty"` + // Defines a packet filter of an IP flow. + FDesc string `json:"fDesc,omitempty" yaml:"fDesc" bson:"fDesc,omitempty"` + FDir FlowDirection `json:"fDir,omitempty" yaml:"fDir" bson:"fDir,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + SourceMacAddr string `json:"sourceMacAddr,omitempty" yaml:"sourceMacAddr" bson:"sourceMacAddr,omitempty"` + VlanTags []string `json:"vlanTags,omitempty" yaml:"vlanTags" bson:"vlanTags,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + SrcMacAddrEnd string `json:"srcMacAddrEnd,omitempty" yaml:"srcMacAddrEnd" bson:"srcMacAddrEnd,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DestMacAddrEnd string `json:"destMacAddrEnd,omitempty" yaml:"destMacAddrEnd" bson:"destMacAddrEnd,omitempty"` +} diff --git a/models/models/model_eth_flow_info.go b/models/models/model_eth_flow_info.go new file mode 100644 index 00000000..c8dd6f5d --- /dev/null +++ b/models/models/model_eth_flow_info.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents Ethernet flow information. +type EthFlowInfo struct { + // Indicates the Ethernet flow identifier. + FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` + // Indicates the packet filters of the Ethernet flow. It shall contain UL and/or DL Ethernet flow description. + EthFlowDescriptions []EthFlowDescription `json:"ethFlowDescriptions,omitempty" yaml:"ethFlowDescriptions" bson:"ethFlowDescriptions,omitempty"` +} diff --git a/models/models/model_ethernet_flow_info.go b/models/models/model_ethernet_flow_info.go new file mode 100644 index 00000000..0e585533 --- /dev/null +++ b/models/models/model_ethernet_flow_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an UL/DL ethernet flow. +type EthernetFlowInfo struct { + EthFlows []EthFlowDescription `json:"ethFlows,omitempty" yaml:"ethFlows" bson:"ethFlows,omitempty"` + FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` +} diff --git a/models/models/model_eutra_location.go b/models/models/model_eutra_location.go new file mode 100644 index 00000000..f2643154 --- /dev/null +++ b/models/models/model_eutra_location.go @@ -0,0 +1,36 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the E-UTRA user location. +type EutraLocation struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + IgnoreTai bool `json:"ignoreTai,omitempty" yaml:"ignoreTai" bson:"ignoreTai,omitempty"` + Ecgi *Ecgi `json:"ecgi" yaml:"ecgi" bson:"ecgi,omitempty"` + // This flag when present shall indicate that the Ecgi shall be ignored When present, it shall be set as follows: - true: ecgi shall be ignored. - false (default): ecgi shall not be ignored. + IgnoreEcgi bool `json:"ignoreEcgi,omitempty" yaml:"ignoreEcgi" bson:"ignoreEcgi,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` + GlobalNgenbId *GlobalRanNodeId `json:"globalNgenbId,omitempty" yaml:"globalNgenbId" bson:"globalNgenbId,omitempty"` + GlobalENbId *GlobalRanNodeId `json:"globalENbId,omitempty" yaml:"globalENbId" bson:"globalENbId,omitempty"` +} diff --git a/models/models/model_event.go b/models/models/model_event.go new file mode 100644 index 00000000..26881d5e --- /dev/null +++ b/models/models/model_event.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Event string + +// List of Event +const ( + Event_SUCCESS_UE_POL_DEL_SP Event = "SUCCESS_UE_POL_DEL_SP" + Event_UNSUCCESS_UE_POL_DEL_SP Event = "UNSUCCESS_UE_POL_DEL_SP" +) diff --git a/models/models/model_event_class.go b/models/models/model_event_class.go new file mode 100644 index 00000000..25d20c0f --- /dev/null +++ b/models/models/model_event_class.go @@ -0,0 +1,20 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventClass string + +// List of EventClass +const ( + EventClass_SUPPLEMENTARY_SERVICES EventClass = "SUPPLEMENTARY_SERVICES" +) diff --git a/models/models/model_event_for_mdt.go b/models/models/model_event_for_mdt.go new file mode 100644 index 00000000..f0170952 --- /dev/null +++ b/models/models/model_event_for_mdt.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventForMdt string + +// List of EventForMdt +const ( + EventForMdt_OUT_OF_COVERAG EventForMdt = "OUT_OF_COVERAG" + EventForMdt_A2_EVENT EventForMdt = "A2_EVENT" +) diff --git a/models/models/model_event_id.go b/models/models/model_event_id.go new file mode 100644 index 00000000..4b9700a5 --- /dev/null +++ b/models/models/model_event_id.go @@ -0,0 +1,34 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventId string + +// List of EventId +const ( + EventId_LOAD_LEVEL_INFORMATION EventId = "LOAD_LEVEL_INFORMATION" + EventId_NETWORK_PERFORMANCE EventId = "NETWORK_PERFORMANCE" + EventId_NF_LOAD EventId = "NF_LOAD" + EventId_SERVICE_EXPERIENCE EventId = "SERVICE_EXPERIENCE" + EventId_UE_MOBILITY EventId = "UE_MOBILITY" + EventId_UE_COMMUNICATION EventId = "UE_COMMUNICATION" + EventId_QOS_SUSTAINABILITY EventId = "QOS_SUSTAINABILITY" + EventId_ABNORMAL_BEHAVIOUR EventId = "ABNORMAL_BEHAVIOUR" + EventId_USER_DATA_CONGESTION EventId = "USER_DATA_CONGESTION" + EventId_NSI_LOAD_LEVEL EventId = "NSI_LOAD_LEVEL" + EventId_SM_CONGESTION EventId = "SM_CONGESTION" + EventId_DISPERSION EventId = "DISPERSION" + EventId_RED_TRANS_EXP EventId = "RED_TRANS_EXP" + EventId_WLAN_PERFORMANCE EventId = "WLAN_PERFORMANCE" + EventId_DN_PERFORMANCE EventId = "DN_PERFORMANCE" +) diff --git a/models/models/model_event_notification.go b/models/models/model_event_notification.go new file mode 100644 index 00000000..56364e05 --- /dev/null +++ b/models/models/model_event_notification.go @@ -0,0 +1,39 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a traffic influence event notification. +type EventNotification struct { + // Identifies an NEF Northbound interface transaction, generated by the AF. + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + SourceTrafficRoute *RouteToLocation `json:"sourceTrafficRoute,omitempty" yaml:"sourceTrafficRoute" bson:"sourceTrafficRoute,omitempty"` + SubscribedEvent SubscribedEvent `json:"subscribedEvent" yaml:"subscribedEvent" bson:"subscribedEvent,omitempty"` + TargetTrafficRoute *RouteToLocation `json:"targetTrafficRoute,omitempty" yaml:"targetTrafficRoute" bson:"targetTrafficRoute,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + SrcUeIpv4Addr string `json:"srcUeIpv4Addr,omitempty" yaml:"srcUeIpv4Addr" bson:"srcUeIpv4Addr,omitempty"` + SrcUeIpv6Prefix string `json:"srcUeIpv6Prefix,omitempty" yaml:"srcUeIpv6Prefix" bson:"srcUeIpv6Prefix,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + TgtUeIpv4Addr string `json:"tgtUeIpv4Addr,omitempty" yaml:"tgtUeIpv4Addr" bson:"tgtUeIpv4Addr,omitempty"` + TgtUeIpv6Prefix string `json:"tgtUeIpv6Prefix,omitempty" yaml:"tgtUeIpv6Prefix" bson:"tgtUeIpv6Prefix,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + AfAckUri string `json:"afAckUri,omitempty" yaml:"afAckUri" bson:"afAckUri,omitempty"` +} diff --git a/models/models/model_event_param_report.go b/models/models/model_event_param_report.go new file mode 100644 index 00000000..5568c930 --- /dev/null +++ b/models/models/model_event_param_report.go @@ -0,0 +1,35 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a summarized report for one event parameter. +type EventParamReport struct { + // The name of the reported parameter. + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // The list of values of the reported parameter. + Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + Area *NetworkAreaInfo `json:"area,omitempty" yaml:"area" bson:"area,omitempty"` + Spacing *NumberAverage `json:"spacing,omitempty" yaml:"spacing" bson:"spacing,omitempty"` + Duration *NumberAverage `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + AvgAndVar *NumberAverage `json:"avgAndVar,omitempty" yaml:"avgAndVar" bson:"avgAndVar,omitempty"` + MostFreqVal map[string]interface{} `json:"mostFreqVal,omitempty" yaml:"mostFreqVal" bson:"mostFreqVal,omitempty"` + LeastFreqVal map[string]interface{} `json:"leastFreqVal,omitempty" yaml:"leastFreqVal" bson:"leastFreqVal,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Count int32 `json:"count,omitempty" yaml:"count" bson:"count,omitempty"` + // The minimum value of the parameter. + MinValue string `json:"minValue,omitempty" yaml:"minValue" bson:"minValue,omitempty"` + // The maximum value of the parameter. + MaxValue string `json:"maxValue,omitempty" yaml:"maxValue" bson:"maxValue,omitempty"` +} diff --git a/models/models/model_event_report_message.go b/models/models/model_event_report_message.go new file mode 100644 index 00000000..ad4e5e82 --- /dev/null +++ b/models/models/model_event_report_message.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates an event report message. +type EventReportMessage struct { + EventClass EventClass `json:"eventClass" yaml:"eventClass" bson:"eventClass,omitempty"` + EventContent *RefToBinaryData `json:"eventContent" yaml:"eventContent" bson:"eventContent,omitempty"` +} diff --git a/models/models/model_event_report_mode.go b/models/models/model_event_report_mode.go new file mode 100644 index 00000000..cde5ecc4 --- /dev/null +++ b/models/models/model_event_report_mode.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type EventReportMode string + +// List of EventReportMode +const ( + EventReportMode_PERIODIC EventReportMode = "PERIODIC" + EventReportMode_ON_EVENT_DETECTION EventReportMode = "ON_EVENT_DETECTION" +) diff --git a/models/models/model_event_reporting_requirement.go b/models/models/model_event_reporting_requirement.go new file mode 100644 index 00000000..e7417b4e --- /dev/null +++ b/models/models/model_event_reporting_requirement.go @@ -0,0 +1,41 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the type of reporting that the subscription requires. +type EventReportingRequirement struct { + Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` + // Each element indicates the preferred accuracy level per analytics subset. It may be present if the \"listOfAnaSubsets\" attribute is present in the subscription request when the subscription event is NF_LOAD, UE_COMM, DISPERSION, NETWORK_PERFORMANCE, WLAN_PERFORMANCE, DN_PERFORMANCE or SERVICE_EXPERIENCE. + AccPerSubset []NwdafEventsSubscriptionAccuracy `json:"accPerSubset,omitempty" yaml:"accPerSubset" bson:"accPerSubset,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` + // Offset period in units of seconds to the reporting time, if the value is negative means statistics in the past offset period, otherwise a positive value means prediction in the future offset period. May be present if the \"repPeriod\" attribute is included within the \"evtReq\" attribute. + OffsetPeriod int32 `json:"offsetPeriod,omitempty" yaml:"offsetPeriod" bson:"offsetPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxObjectNbr int32 `json:"maxObjectNbr,omitempty" yaml:"maxObjectNbr" bson:"maxObjectNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxSupiNbr int32 `json:"maxSupiNbr,omitempty" yaml:"maxSupiNbr" bson:"maxSupiNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeAnaNeeded *time.Time `json:"timeAnaNeeded,omitempty" yaml:"timeAnaNeeded" bson:"timeAnaNeeded,omitempty"` + AnaMeta []AnalyticsMetadata `json:"anaMeta,omitempty" yaml:"anaMeta" bson:"anaMeta,omitempty"` + AnaMetaInd *AnalyticsMetadataIndication `json:"anaMetaInd,omitempty" yaml:"anaMetaInd" bson:"anaMetaInd,omitempty"` + HistAnaTimePeriod *TimeWindow `json:"histAnaTimePeriod,omitempty" yaml:"histAnaTimePeriod" bson:"histAnaTimePeriod,omitempty"` +} diff --git a/models/models/model_event_reporting_status.go b/models/models/model_event_reporting_status.go new file mode 100644 index 00000000..72424a7a --- /dev/null +++ b/models/models/model_event_reporting_status.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the status of event reporting. +type EventReportingStatus struct { + // Number of event reports received from the target UE. + EventReportCounter int32 `json:"eventReportCounter,omitempty" yaml:"eventReportCounter" bson:"eventReportCounter,omitempty"` + // Duration of event reporting. + EventReportDuration int32 `json:"eventReportDuration,omitempty" yaml:"eventReportDuration" bson:"eventReportDuration,omitempty"` +} diff --git a/models/models/model_events_subs.go b/models/models/model_events_subs.go new file mode 100644 index 00000000..de50f028 --- /dev/null +++ b/models/models/model_events_subs.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event to be subscribed and the related event filter information. +type EventsSubs struct { + Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + EventFilter *AfEventExposureEventFilter `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` +} diff --git a/models/models/model_events_subsc_put_data.go b/models/models/model_events_subsc_put_data.go new file mode 100644 index 00000000..0a567215 --- /dev/null +++ b/models/models/model_events_subsc_put_data.go @@ -0,0 +1,62 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies the events the application subscribes to within an Events Subscription sub-resource data. It may contain the notification of the already met events. +type EventsSubscPutData struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` + // Includes the detected application report. + AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` + AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + // String providing an URI formatted according to RFC 3986. + EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` + EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` + FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` + SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` + NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` + OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/models/model_exception.go b/models/models/model_exception.go new file mode 100644 index 00000000..364a0628 --- /dev/null +++ b/models/models/model_exception.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Exception information. +type Exception struct { + ExcepId ExceptionId `json:"excepId" yaml:"excepId" bson:"excepId,omitempty"` + ExcepLevel int32 `json:"excepLevel,omitempty" yaml:"excepLevel" bson:"excepLevel,omitempty"` + ExcepTrend ExceptionTrend `json:"excepTrend,omitempty" yaml:"excepTrend" bson:"excepTrend,omitempty"` +} diff --git a/models/models/model_exception_id.go b/models/models/model_exception_id.go new file mode 100644 index 00000000..545c2440 --- /dev/null +++ b/models/models/model_exception_id.go @@ -0,0 +1,28 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExceptionId string + +// List of ExceptionId +const ( + ExceptionId_UNEXPECTED_UE_LOCATION ExceptionId = "UNEXPECTED_UE_LOCATION" + ExceptionId_UNEXPECTED_LONG_LIVE_FLOW ExceptionId = "UNEXPECTED_LONG_LIVE_FLOW" + ExceptionId_UNEXPECTED_LARGE_RATE_FLOW ExceptionId = "UNEXPECTED_LARGE_RATE_FLOW" + ExceptionId_UNEXPECTED_WAKEUP ExceptionId = "UNEXPECTED_WAKEUP" + ExceptionId_SUSPICION_OF_DDOS_ATTACK ExceptionId = "SUSPICION_OF_DDOS_ATTACK" + ExceptionId_WRONG_DESTINATION_ADDRESS ExceptionId = "WRONG_DESTINATION_ADDRESS" + ExceptionId_TOO_FREQUENT_SERVICE_ACCESS ExceptionId = "TOO_FREQUENT_SERVICE_ACCESS" + ExceptionId_UNEXPECTED_RADIO_LINK_FAILURES ExceptionId = "UNEXPECTED_RADIO_LINK_FAILURES" + ExceptionId_PING_PONG_ACROSS_CELLS ExceptionId = "PING_PONG_ACROSS_CELLS" +) diff --git a/models/models/model_exception_info.go b/models/models/model_exception_info.go new file mode 100644 index 00000000..3e281f37 --- /dev/null +++ b/models/models/model_exception_info.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the exceptions information provided by the AF. +type ExceptionInfo struct { + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` + Exceps []Exception `json:"exceps" yaml:"exceps" bson:"exceps,omitempty"` +} diff --git a/models/models/model_exception_trend.go b/models/models/model_exception_trend.go new file mode 100644 index 00000000..59a95091 --- /dev/null +++ b/models/models/model_exception_trend.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExceptionTrend string + +// List of ExceptionTrend +const ( + ExceptionTrend_UP ExceptionTrend = "UP" + ExceptionTrend_DOWN ExceptionTrend = "DOWN" + ExceptionTrend_UNKNOW ExceptionTrend = "UNKNOW" + ExceptionTrend_STABLE ExceptionTrend = "STABLE" +) diff --git a/models/models/model_exemption_ind.go b/models/models/model_exemption_ind.go new file mode 100644 index 00000000..068864cc --- /dev/null +++ b/models/models/model_exemption_ind.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Exemption Indication +type ExemptionInd struct { + DnnCongestion bool `json:"dnnCongestion,omitempty" yaml:"dnnCongestion" bson:"dnnCongestion,omitempty"` + SnssaiOnlyCongestion bool `json:"snssaiOnlyCongestion,omitempty" yaml:"snssaiOnlyCongestion" bson:"snssaiOnlyCongestion,omitempty"` + SnssaiDnnCongestion bool `json:"snssaiDnnCongestion,omitempty" yaml:"snssaiDnnCongestion" bson:"snssaiDnnCongestion,omitempty"` +} diff --git a/models/models/model_expected_analytics_type.go b/models/models/model_expected_analytics_type.go new file mode 100644 index 00000000..930b647d --- /dev/null +++ b/models/models/model_expected_analytics_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExpectedAnalyticsType string + +// List of ExpectedAnalyticsType +const ( + ExpectedAnalyticsType_MOBILITY ExpectedAnalyticsType = "MOBILITY" + ExpectedAnalyticsType_COMMUN ExpectedAnalyticsType = "COMMUN" + ExpectedAnalyticsType_MOBILITY_AND_COMMUN ExpectedAnalyticsType = "MOBILITY_AND_COMMUN" +) diff --git a/models/models/model_expected_ue_behavior.go b/models/models/model_expected_ue_behavior.go new file mode 100644 index 00000000..5ae2c1f7 --- /dev/null +++ b/models/models/model_expected_ue_behavior.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the expected UE behavior (e.g. UE moving trajectory) and its validity period +type ExpectedUeBehavior struct { + ExpMoveTrajectory []UserLocation `json:"expMoveTrajectory" yaml:"expMoveTrajectory" bson:"expMoveTrajectory,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_expected_ue_behaviour.go b/models/models/model_expected_ue_behaviour.go new file mode 100644 index 00000000..d88dfe1c --- /dev/null +++ b/models/models/model_expected_ue_behaviour.go @@ -0,0 +1,37 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ExpectedUeBehaviour struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. + ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_expected_ue_behaviour_data.go b/models/models/model_expected_ue_behaviour_data.go new file mode 100644 index 00000000..c928905d --- /dev/null +++ b/models/models/model_expected_ue_behaviour_data.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ExpectedUeBehaviourData struct { + StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` + // indicating a time in seconds. + CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` + ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` + // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. + ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_exposure_data_change_notification.go b/models/models/model_exposure_data_change_notification.go new file mode 100644 index 00000000..b8d60387 --- /dev/null +++ b/models/models/model_exposure_data_change_notification.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents changed exposure data for one UE for which Notification was requested. +type ExposureDataChangeNotification struct { + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + AccessAndMobilityData *AccessAndMobilityData `json:"accessAndMobilityData,omitempty" yaml:"accessAndMobilityData" bson:"accessAndMobilityData,omitempty"` + PduSessionManagementData []PduSessionManagementData `json:"pduSessionManagementData,omitempty" yaml:"pduSessionManagementData" bson:"pduSessionManagementData,omitempty"` + DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` +} diff --git a/models/models/model_exposure_data_subscription.go b/models/models/model_exposure_data_subscription.go new file mode 100644 index 00000000..630e5057 --- /dev/null +++ b/models/models/model_exposure_data_subscription.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a Subscription to Notifications about Exposure Data. +type ExposureDataSubscription struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_ext_amf_event_subscription.go b/models/models/model_ext_amf_event_subscription.go new file mode 100644 index 00000000..5e9dd01b --- /dev/null +++ b/models/models/model_ext_amf_event_subscription.go @@ -0,0 +1,47 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF event subscription extended with additional information received for the subscription +type ExtAmfEventSubscription struct { + EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` + SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` + Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` + SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` + BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` + SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` + EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` + NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` + // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. + AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` +} diff --git a/models/models/model_ext_snssai.go b/models/models/model_ext_snssai.go new file mode 100644 index 00000000..75699ce9 --- /dev/null +++ b/models/models/model_ext_snssai.go @@ -0,0 +1,25 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The sdRanges and wildcardSd attributes shall be exclusive from each other. If one of these attributes is present, the sd attribute shall also be present and it shall contain one Slice Differentiator value within the range of SD (if the sdRanges attribute is present) or with any value (if the wildcardSd attribute is present). +type ExtSnssai struct { + // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. + Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` + // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. + Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` + // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type + SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` + // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. + WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` +} diff --git a/models/models/model_extended_sm_subs_data.go b/models/models/model_extended_sm_subs_data.go new file mode 100644 index 00000000..f8b4309f --- /dev/null +++ b/models/models/model_extended_sm_subs_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains identifiers of shared Session Management Subscription Data and optionally individual Session Management Subscription Data. +type ExtendedSmSubsData struct { + SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` + IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` +} diff --git a/models/models/model_external_client_type.go b/models/models/model_external_client_type.go new file mode 100644 index 00000000..67a1f101 --- /dev/null +++ b/models/models/model_external_client_type.go @@ -0,0 +1,27 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExternalClientType string + +// List of ExternalClientType +const ( + ExternalClientType_EMERGENCY_SERVICES ExternalClientType = "EMERGENCY_SERVICES" + ExternalClientType_VALUE_ADDED_SERVICES ExternalClientType = "VALUE_ADDED_SERVICES" + ExternalClientType_PLMN_OPERATOR_SERVICES ExternalClientType = "PLMN_OPERATOR_SERVICES" + ExternalClientType_LAWFUL_INTERCEPT_SERVICES ExternalClientType = "LAWFUL_INTERCEPT_SERVICES" + ExternalClientType_PLMN_OPERATOR_BROADCAST_SERVICES ExternalClientType = "PLMN_OPERATOR_BROADCAST_SERVICES" + ExternalClientType_PLMN_OPERATOR_OM ExternalClientType = "PLMN_OPERATOR_OM" + ExternalClientType_PLMN_OPERATOR_ANONYMOUS_STATISTICS ExternalClientType = "PLMN_OPERATOR_ANONYMOUS_STATISTICS" + ExternalClientType_PLMN_OPERATOR_TARGET_MS_SERVICE_SUPPORT ExternalClientType = "PLMN_OPERATOR_TARGET_MS_SERVICE_SUPPORT" +) diff --git a/models/models/model_external_unrelated_class.go b/models/models/model_external_unrelated_class.go new file mode 100644 index 00000000..d5e6e5b0 --- /dev/null +++ b/models/models/model_external_unrelated_class.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ExternalUnrelatedClass struct { + LcsClientExternals []LcsClientExternal `json:"lcsClientExternals,omitempty" yaml:"lcsClientExternals" bson:"lcsClientExternals,omitempty"` + AfExternals []AfExternal `json:"afExternals,omitempty" yaml:"afExternals" bson:"afExternals,omitempty"` + LcsClientGroupExternals []LcsClientGroupExternal `json:"lcsClientGroupExternals,omitempty" yaml:"lcsClientGroupExternals" bson:"lcsClientGroupExternals,omitempty"` +} diff --git a/models/models/model_failure.go b/models/models/model_failure.go new file mode 100644 index 00000000..21becba9 --- /dev/null +++ b/models/models/model_failure.go @@ -0,0 +1,17 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Possible values are: - UNSPECIFIED: Indicates the PCF received the UE sent UE policy delivery service cause #111 (Protocol error, unspecified). - UE_NOT_REACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable. - UNKNOWN: Indicates unknown reasons upon no response from the UE, e.g. UPDS message type is not defined or not implemented by the UE, or not compatible with the UPDS state, in which the UE shall ignore the UPDS message. - UE_TEMP_UNREACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable but the PCF will retry again. +type Failure struct { +} diff --git a/models/models/model_failure_event_info.go b/models/models/model_failure_event_info.go new file mode 100644 index 00000000..e7c6eb57 --- /dev/null +++ b/models/models/model_failure_event_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on the event for which the subscription is not successful. +type FailureEventInfo struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + FailureCode NwdafFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/models/model_failure_event_info_for_ml_model.go b/models/models/model_failure_event_info_for_ml_model.go new file mode 100644 index 00000000..aed453e2 --- /dev/null +++ b/models/models/model_failure_event_info_for_ml_model.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the event(s) that the subscription is not successful including the failure reason(s). +type FailureEventInfoForMlModel struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + FailureCode NwdafMlModelProvisionFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/models/model_failure_handling.go b/models/models/model_failure_handling.go new file mode 100644 index 00000000..19ded2f3 --- /dev/null +++ b/models/models/model_failure_handling.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FailureHandling string + +// List of FailureHandling +const ( + FailureHandling_TERMINATE FailureHandling = "TERMINATE" + FailureHandling_CONTINUE FailureHandling = "CONTINUE" + FailureHandling_RETRY_AND_TERMINATE FailureHandling = "RETRY_AND_TERMINATE" +) diff --git a/models/models/model_fetch_instruction.go b/models/models/model_fetch_instruction.go new file mode 100644 index 00000000..16df3f1e --- /dev/null +++ b/models/models/model_fetch_instruction.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The fetch instructions indicate whether the data or analytics are to be fetched by the consumer. +type FetchInstruction struct { + // String providing an URI formatted according to RFC 3986. + FetchUri string `json:"fetchUri" yaml:"fetchUri" bson:"fetchUri,omitempty"` + // The fetch correlation identifier(s) of the MFAF Data or Analytics. + FetchCorrIds []string `json:"fetchCorrIds" yaml:"fetchCorrIds" bson:"fetchCorrIds,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` +} diff --git a/models/models/model_final_unit_action.go b/models/models/model_final_unit_action.go new file mode 100644 index 00000000..afb78734 --- /dev/null +++ b/models/models/model_final_unit_action.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FinalUnitAction string + +// List of FinalUnitAction +const ( + FinalUnitAction_TERMINATE FinalUnitAction = "TERMINATE" + FinalUnitAction_REDIRECT FinalUnitAction = "REDIRECT" + FinalUnitAction_RESTRICT_ACCESS FinalUnitAction = "RESTRICT_ACCESS" +) diff --git a/models/models/model_final_unit_indication.go b/models/models/model_final_unit_indication.go new file mode 100644 index 00000000..4f6be3ca --- /dev/null +++ b/models/models/model_final_unit_indication.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FinalUnitIndication struct { + FinalUnitAction FinalUnitAction `json:"finalUnitAction" yaml:"finalUnitAction" bson:"finalUnitAction,omitempty"` + RestrictionFilterRule string `json:"restrictionFilterRule,omitempty" yaml:"restrictionFilterRule" bson:"restrictionFilterRule,omitempty"` + RestrictionFilterRuleList []string `json:"restrictionFilterRuleList,omitempty" yaml:"restrictionFilterRuleList" bson:"restrictionFilterRuleList,omitempty"` + FilterId string `json:"filterId,omitempty" yaml:"filterId" bson:"filterId,omitempty"` + FilterIdList []string `json:"filterIdList,omitempty" yaml:"filterIdList" bson:"filterIdList,omitempty"` + RedirectServer *RedirectServer `json:"redirectServer,omitempty" yaml:"redirectServer" bson:"redirectServer,omitempty"` +} diff --git a/models/models/model_fix_type.go b/models/models/model_fix_type.go new file mode 100644 index 00000000..c8390490 --- /dev/null +++ b/models/models/model_fix_type.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FixType string + +// List of FixType +const ( + FixType_FLOAT FixType = "CARRIER_PHASE_FLOAT" + FixType_FIX FixType = "CARRIER_PHASE_FIX" +) diff --git a/models/models/model_flow_direction.go b/models/models/model_flow_direction.go new file mode 100644 index 00000000..f9eec42e --- /dev/null +++ b/models/models/model_flow_direction.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FlowDirection string + +// List of FlowDirection +const ( + FlowDirection_DOWNLINK FlowDirection = "DOWNLINK" + FlowDirection_UPLINK FlowDirection = "UPLINK" + FlowDirection_BIDIRECTIONAL FlowDirection = "BIDIRECTIONAL" + FlowDirection_UNSPECIFIED FlowDirection = "UNSPECIFIED" +) diff --git a/models/models/model_flow_direction_rm.go b/models/models/model_flow_direction_rm.go new file mode 100644 index 00000000..750d3021 --- /dev/null +++ b/models/models/model_flow_direction_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FlowDirectionRm struct { +} diff --git a/models/models/model_flow_info.go b/models/models/model_flow_info.go new file mode 100644 index 00000000..623411b2 --- /dev/null +++ b/models/models/model_flow_info.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents IP flow information. +type FlowInfo struct { + // Indicates the IP flow identifier. + FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` + // Indicates the packet filters of the IP flow. Refer to clause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description. + FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` +} diff --git a/models/models/model_flow_information.go b/models/models/model_flow_information.go new file mode 100644 index 00000000..59b9b75a --- /dev/null +++ b/models/models/model_flow_information.go @@ -0,0 +1,31 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the flow information. +type FlowInformation struct { + // Defines a packet filter for an IP flow. + FlowDescription string `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` + EthFlowDescription *EthFlowDescription `json:"ethFlowDescription,omitempty" yaml:"ethFlowDescription" bson:"ethFlowDescription,omitempty"` + // An identifier of packet filter. + PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` + // The packet shall be sent to the UE. + PacketFilterUsage bool `json:"packetFilterUsage,omitempty" yaml:"packetFilterUsage" bson:"packetFilterUsage,omitempty"` + // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. + TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` + // the security parameter index of the IPSec packet. + Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` + // the Ipv6 flow label header field. + FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` +} diff --git a/models/models/model_flow_status.go b/models/models/model_flow_status.go new file mode 100644 index 00000000..26b95090 --- /dev/null +++ b/models/models/model_flow_status.go @@ -0,0 +1,24 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FlowStatus string + +// List of FlowStatus +const ( + FlowStatus_ENABLED_UPLINK FlowStatus = "ENABLED-UPLINK" + FlowStatus_ENABLED_DOWNLINK FlowStatus = "ENABLED-DOWNLINK" + FlowStatus_ENABLED FlowStatus = "ENABLED" + FlowStatus_DISABLED FlowStatus = "DISABLED" + FlowStatus_REMOVED FlowStatus = "REMOVED" +) diff --git a/models/models/model_flow_usage.go b/models/models/model_flow_usage.go new file mode 100644 index 00000000..bcf7f931 --- /dev/null +++ b/models/models/model_flow_usage.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FlowUsage string + +// List of FlowUsage +const ( + FlowUsage_NO_INFO FlowUsage = "NO_INFO" + FlowUsage_RTCP FlowUsage = "RTCP" + FlowUsage_AF_SIGNALLING FlowUsage = "AF_SIGNALLING" +) diff --git a/models/models/model_flows.go b/models/models/model_flows.go new file mode 100644 index 00000000..c433d92a --- /dev/null +++ b/models/models/model_flows.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the flows. +type Flows struct { + ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` + FNums []int32 `json:"fNums,omitempty" yaml:"fNums" bson:"fNums,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` +} diff --git a/models/models/model_formatting_instruction.go b/models/models/model_formatting_instruction.go new file mode 100644 index 00000000..cdf3f380 --- /dev/null +++ b/models/models/model_formatting_instruction.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains data or analytics formatting instructions. +type FormattingInstruction struct { + // Indicates that notifications shall be buffered until the NF service consumer requests their delivery. + ConsTrigNotif bool `json:"consTrigNotif,omitempty" yaml:"consTrigNotif" bson:"consTrigNotif,omitempty"` + ReportingOptions *DccfDataManagementReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` +} diff --git a/models/models/model_fqdn_pattern_matching_rule.go b/models/models/model_fqdn_pattern_matching_rule.go new file mode 100644 index 00000000..aa65e089 --- /dev/null +++ b/models/models/model_fqdn_pattern_matching_rule.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// a matching rule for a FQDN pattern +type FqdnPatternMatchingRule struct { + Regex string `json:"regex,omitempty" yaml:"regex" bson:"regex,omitempty"` + StringMatchingRule *StringMatchingRule `json:"stringMatchingRule,omitempty" yaml:"stringMatchingRule" bson:"stringMatchingRule,omitempty"` +} diff --git a/models/models/model_frame_route_info.go b/models/models/model_frame_route_info.go new file mode 100644 index 00000000..39706741 --- /dev/null +++ b/models/models/model_frame_route_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type FrameRouteInfo struct { + // \"String identifying a IPv4 address mask formatted in the 'dotted decimal' notation as defined in RFC 1166.\" + Ipv4Mask string `json:"ipv4Mask,omitempty" yaml:"ipv4Mask" bson:"ipv4Mask,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/models/model_g_nb_id.go b/models/models/model_g_nb_id.go new file mode 100644 index 00000000..7e26e8fc --- /dev/null +++ b/models/models/model_g_nb_id.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides the G-NB identifier. +type GNbId struct { + // Unsigned integer representing the bit length of the gNB ID as defined in clause 9.3.1.6 of 3GPP TS 38.413 [11], within the range 22 to 32. + BitLength int32 `json:"bitLength" yaml:"bitLength" bson:"bitLength,omitempty"` + // This represents the identifier of the gNB. The value of the gNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, the most significant character representing the padding 0 if required together with the 4 most significant bits of the gNB ID shall appear first in the string, and the character representing the 4 least significant bit of the gNB ID shall appear last in the string. + GNBValue string `json:"gNBValue" yaml:"gNBValue" bson:"gNBValue,omitempty"` +} diff --git a/models/models/model_gad_shape.go b/models/models/model_gad_shape.go new file mode 100644 index 00000000..9f5c73c3 --- /dev/null +++ b/models/models/model_gad_shape.go @@ -0,0 +1,18 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Common base type for GAD shapes. +type GadShape struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` +} diff --git a/models/models/model_gba_auth_type.go b/models/models/model_gba_auth_type.go new file mode 100644 index 00000000..cffd1f4e --- /dev/null +++ b/models/models/model_gba_auth_type.go @@ -0,0 +1,20 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthType string + +// List of GbaAuthType +const ( + GbaAuthType_DIGEST_AKAV1_MD5 GbaAuthType = "DIGEST_AKAV1_MD5" +) diff --git a/models/models/model_gba_authentication_info_request.go b/models/models/model_gba_authentication_info_request.go new file mode 100644 index 00000000..79b4d88f --- /dev/null +++ b/models/models/model_gba_authentication_info_request.go @@ -0,0 +1,20 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthenticationInfoRequest struct { + AuthType GbaAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_gba_authentication_info_result.go b/models/models/model_gba_authentication_info_result.go new file mode 100644 index 00000000..82c91036 --- /dev/null +++ b/models/models/model_gba_authentication_info_result.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GbaAuthenticationInfoResult struct { + Var3gAkaAv *Model3GAkaAv `json:"3gAkaAv,omitempty" yaml:"3gAkaAv" bson:"3gAkaAv,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_geo_loc.go b/models/models/model_geo_loc.go new file mode 100644 index 00000000..dca19d9c --- /dev/null +++ b/models/models/model_geo_loc.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GeoLoc struct { + GeographicalCoordinates *GeographicalCoordinates `json:"geographicalCoordinates,omitempty" yaml:"geographicalCoordinates" bson:"geographicalCoordinates,omitempty"` + CivicLocation string `json:"civicLocation,omitempty" yaml:"civicLocation" bson:"civicLocation,omitempty"` +} diff --git a/models/models/model_geo_service_area.go b/models/models/model_geo_service_area.go new file mode 100644 index 00000000..2a7c81ac --- /dev/null +++ b/models/models/model_geo_service_area.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of geographic area or list of civic address info +type GeoServiceArea struct { + GeographicAreaList []GeographicArea `json:"geographicAreaList,omitempty" yaml:"geographicAreaList" bson:"geographicAreaList,omitempty"` + CivicAddressList []CivicAddress `json:"civicAddressList,omitempty" yaml:"civicAddressList" bson:"civicAddressList,omitempty"` +} diff --git a/models/models/model_geographic_area.go b/models/models/model_geographic_area.go new file mode 100644 index 00000000..9bc925df --- /dev/null +++ b/models/models/model_geographic_area.go @@ -0,0 +1,38 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Geographic area specified by different shape. +type GeographicArea struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of uncertainty. + Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` + // List of points. + PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` + // Indicates value of uncertainty. + UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` + // Indicates value of the inner radius. + InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` + // Indicates value of uncertainty. + UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` + // Indicates value of angle. + OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` + // Indicates value of angle. + IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` +} diff --git a/models/models/model_geographical_area.go b/models/models/model_geographical_area.go new file mode 100644 index 00000000..f3197fc5 --- /dev/null +++ b/models/models/model_geographical_area.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains geographical area information (e.g.a civic address or shapes). +type GeographicalArea struct { + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + Shapes *GeographicArea `json:"shapes,omitempty" yaml:"shapes" bson:"shapes,omitempty"` +} diff --git a/models/models/model_geographical_coordinates.go b/models/models/model_geographical_coordinates.go new file mode 100644 index 00000000..057d1c67 --- /dev/null +++ b/models/models/model_geographical_coordinates.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GeographicalCoordinates struct { + Lattitude int32 `json:"lattitude,omitempty" yaml:"lattitude" bson:"lattitude,omitempty"` + Longitude int32 `json:"longitude,omitempty" yaml:"longitude" bson:"longitude,omitempty"` +} diff --git a/models/models/model_gera_location.go b/models/models/model_gera_location.go new file mode 100644 index 00000000..b64a24f3 --- /dev/null +++ b/models/models/model_gera_location.go @@ -0,0 +1,39 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Exactly one of cgi, sai or lai shall be present. +type GeraLocation struct { + // Location number within the PLMN. See 3GPP TS 23.003, clause 4.5. + LocationNumber string `json:"locationNumber,omitempty" yaml:"locationNumber" bson:"locationNumber,omitempty"` + Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` + Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` + Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` + Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` + // VLR number. See 3GPP TS 23.003 clause 5.1. + VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + // MSC number. See 3GPP TS 23.003 clause 5.1. + MscNumber string `json:"mscNumber,omitempty" yaml:"mscNumber" bson:"mscNumber,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location.See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` +} diff --git a/models/models/model_global_ran_node_id.go b/models/models/model_global_ran_node_id.go new file mode 100644 index 00000000..4d6ae95d --- /dev/null +++ b/models/models/model_global_ran_node_id.go @@ -0,0 +1,31 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// One of the six attributes n3IwfId, gNbIdm, ngeNbId, wagfId, tngfId, eNbId shall be present. +type GlobalRanNodeId struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the identifier of the N3IWF ID as specified in clause 9.3.1.57 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. + N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + GNbId *GNbId `json:"gNbId,omitempty" yaml:"gNbId" bson:"gNbId,omitempty"` + // This represents the identifier of the ng-eNB ID as specified in clause 9.3.1.8 of 3GPP TS 38.413. The value of the ng-eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the ng-eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the ng-eNB ID (to form a nibble) shall appear last in the string. + NgeNbId string `json:"ngeNbId,omitempty" yaml:"ngeNbId" bson:"ngeNbId,omitempty"` + // This represents the identifier of the W-AGF ID as specified in clause 9.3.1.162 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the W-AGF ID shall appear first in the string, and the character representing the 4 least significant bit of the W-AGF ID shall appear last in the string. + WagfId string `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` + // This represents the identifier of the TNGF ID as specified in clause 9.3.1.161 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TNGF ID shall appear first in the string, and the character representing the 4 least significant bit of the TNGF ID shall appear last in the string. + TngfId string `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` + // This represents the identifier of the eNB ID as specified in clause 9.2.1.37 of 3GPP TS 36.413. The string shall be formatted with the following pattern '^('MacroeNB-[A-Fa-f0-9]{5}|LMacroeNB-[A-Fa-f0-9]{6}|SMacroeNB-[A-Fa-f0-9]{5} |HomeeNB-[A-Fa-f0-9]{7})$'. The value of the eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the eNB ID (to form a nibble) shall appear last in the string. + ENbId string `json:"eNbId,omitempty" yaml:"eNbId" bson:"eNbId,omitempty"` +} diff --git a/models/models/model_gmlc_info.go b/models/models/model_gmlc_info.go new file mode 100644 index 00000000..369a3eac --- /dev/null +++ b/models/models/model_gmlc_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a GMLC NF Instance +type GmlcInfo struct { + ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` + GmlcNumbers []string `json:"gmlcNumbers,omitempty" yaml:"gmlcNumbers" bson:"gmlcNumbers,omitempty"` +} diff --git a/models/models/model_gnss_id.go b/models/models/model_gnss_id.go new file mode 100644 index 00000000..fec61bbd --- /dev/null +++ b/models/models/model_gnss_id.go @@ -0,0 +1,27 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GnssId string + +// List of GnssId +const ( + GnssId_GPS GnssId = "GPS" + GnssId_GALILEO GnssId = "GALILEO" + GnssId_SBAS GnssId = "SBAS" + GnssId_MODERNIZED_GPS GnssId = "MODERNIZED_GPS" + GnssId_QZSS GnssId = "QZSS" + GnssId_GLONASS GnssId = "GLONASS" + GnssId_BDS GnssId = "BDS" + GnssId_NAVIC GnssId = "NAVIC" +) diff --git a/models/models/model_gnss_positioning_method_and_usage.go b/models/models/model_gnss_positioning_method_and_usage.go new file mode 100644 index 00000000..e5adff36 --- /dev/null +++ b/models/models/model_gnss_positioning_method_and_usage.go @@ -0,0 +1,20 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the usage of a Global Navigation Satellite System (GNSS) positioning method. +type GnssPositioningMethodAndUsage struct { + Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` + Gnss GnssId `json:"gnss" yaml:"gnss" bson:"gnss,omitempty"` + Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` +} diff --git a/models/models/model_gpsi_type.go b/models/models/model_gpsi_type.go new file mode 100644 index 00000000..95fe313f --- /dev/null +++ b/models/models/model_gpsi_type.go @@ -0,0 +1,22 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type GpsiType string + +// List of GpsiType +const ( + GpsiType_MSISDN GpsiType = "MSISDN" + GpsiType_EXT_ID GpsiType = "EXT_ID" + GpsiType_EXT_GROUP_ID GpsiType = "EXT_GROUP_ID" +) diff --git a/models/models/model_granted_unit.go b/models/models/model_granted_unit.go new file mode 100644 index 00000000..041d9880 --- /dev/null +++ b/models/models/model_granted_unit.go @@ -0,0 +1,32 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type GrantedUnit struct { + // string with format 'date-time' as defined in OpenAPI. + TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` +} diff --git a/models/models/model_group_identifiers.go b/models/models/model_group_identifiers.go new file mode 100644 index 00000000..32ba255e --- /dev/null +++ b/models/models/model_group_identifiers.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// External or Internal Group Identifier with a list of group members +type GroupIdentifiers struct { + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` + AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` +} diff --git a/models/models/model_guami.go b/models/models/model_guami.go new file mode 100644 index 00000000..11d7e601 --- /dev/null +++ b/models/models/model_guami.go @@ -0,0 +1,20 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Globally Unique AMF Identifier constructed out of PLMN, Network and AMF identity. +type Guami struct { + PlmnId *PlmnIdNid `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). + AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` +} diff --git a/models/models/model_guami_list_cond.go b/models/models/model_guami_list_cond.go new file mode 100644 index 00000000..5055086c --- /dev/null +++ b/models/models/model_guami_list_cond.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of AMFs, based on their GUAMIs +type GuamiListCond struct { + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` +} diff --git a/models/models/model_header_sip_request.go b/models/models/model_header_sip_request.go new file mode 100644 index 00000000..c63ba68a --- /dev/null +++ b/models/models/model_header_sip_request.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a header (and optionally value of the header) in the SIP request +type HeaderSipRequest struct { + Header string `json:"header" yaml:"header" bson:"header,omitempty"` + Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` +} diff --git a/models/models/model_hfc_node_id.go b/models/models/model_hfc_node_id.go new file mode 100644 index 00000000..783a6261 --- /dev/null +++ b/models/models/model_hfc_node_id.go @@ -0,0 +1,19 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// REpresents the HFC Node Identifer received over NGAP. +type HfcNodeId struct { + // This IE represents the identifier of the HFC node Id as specified in CableLabs WR-TR-5WWC-ARCH. It is provisioned by the wireline operator as part of wireline operations and may contain up to six characters. + HfcNId string `json:"hfcNId" yaml:"hfcNId" bson:"hfcNId,omitempty"` +} diff --git a/models/models/model_high_accuracy_gnss_metrics.go b/models/models/model_high_accuracy_gnss_metrics.go new file mode 100644 index 00000000..7f341a03 --- /dev/null +++ b/models/models/model_high_accuracy_gnss_metrics.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// High Accuracy GNSS Positioning Metrics. +type HighAccuracyGnssMetrics struct { + NrOfUsedSatellites int32 `json:"nrOfUsedSatellites,omitempty" yaml:"nrOfUsedSatellites" bson:"nrOfUsedSatellites,omitempty"` + Hdopi int32 `json:"hdopi,omitempty" yaml:"hdopi" bson:"hdopi,omitempty"` + Pdopi int32 `json:"pdopi,omitempty" yaml:"pdopi" bson:"pdopi,omitempty"` + Age int32 `json:"age,omitempty" yaml:"age" bson:"age,omitempty"` + FixType FixType `json:"fixType,omitempty" yaml:"fixType" bson:"fixType,omitempty"` +} diff --git a/models/models/model_historical_data.go b/models/models/model_historical_data.go new file mode 100644 index 00000000..3c16b648 --- /dev/null +++ b/models/models/model_historical_data.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains historical data related to an analytics subscription. +type HistoricalData struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` + // Information about subscriptions with the data sources. + SubsWithSources []SpecificDataSubscription `json:"subsWithSources,omitempty" yaml:"subsWithSources" bson:"subsWithSources,omitempty"` + // Historical data related to the analytics. + Data []DataNotification `json:"data" yaml:"data" bson:"data,omitempty"` +} diff --git a/models/models/model_ho_state.go b/models/models/model_ho_state.go new file mode 100644 index 00000000..9e081f47 --- /dev/null +++ b/models/models/model_ho_state.go @@ -0,0 +1,24 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HoState string + +// List of HoState +const ( + HoState_NONE HoState = "NONE" + HoState_PREPARING HoState = "PREPARING" + HoState_PREPARED HoState = "PREPARED" + HoState_COMPLETED HoState = "COMPLETED" + HoState_CANCELLED HoState = "CANCELLED" +) diff --git a/models/models/model_horizontal_velocity.go b/models/models/model_horizontal_velocity.go new file mode 100644 index 00000000..9e3d0c13 --- /dev/null +++ b/models/models/model_horizontal_velocity.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Horizontal velocity. +type HorizontalVelocity struct { + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` +} diff --git a/models/models/model_horizontal_velocity_with_uncertainty.go b/models/models/model_horizontal_velocity_with_uncertainty.go new file mode 100644 index 00000000..e0acf48e --- /dev/null +++ b/models/models/model_horizontal_velocity_with_uncertainty.go @@ -0,0 +1,23 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Horizontal velocity with speed uncertainty. +type HorizontalVelocityWithUncertainty struct { + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` +} diff --git a/models/models/model_horizontal_with_vertical_velocity.go b/models/models/model_horizontal_with_vertical_velocity.go new file mode 100644 index 00000000..5ccbe403 --- /dev/null +++ b/models/models/model_horizontal_with_vertical_velocity.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Horizontal and vertical velocity. +type HorizontalWithVerticalVelocity struct { + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` +} diff --git a/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go b/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go new file mode 100644 index 00000000..7176b174 --- /dev/null +++ b/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go @@ -0,0 +1,28 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Horizontal and vertical velocity with speed uncertainty. +type HorizontalWithVerticalVelocityAndUncertainty struct { + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` + // Indicates value of speed uncertainty. + VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` +} diff --git a/models/models/model_hsmf_update_data.go b/models/models/model_hsmf_update_data.go new file mode 100644 index 00000000..d61607f0 --- /dev/null +++ b/models/models/model_hsmf_update_data.go @@ -0,0 +1,91 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update Request towards H-SMF, or from I-SMF to SMF +type HsmfUpdateData struct { + RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` + IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + PauseCharging bool `json:"pauseCharging,omitempty" yaml:"pauseCharging" bson:"pauseCharging,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + QosFlowsRelNotifyList []QosFlowItem `json:"qosFlowsRelNotifyList,omitempty" yaml:"qosFlowsRelNotifyList" bson:"qosFlowsRelNotifyList,omitempty"` + QosFlowsNotifyList []QosFlowNotifyItem `json:"qosFlowsNotifyList,omitempty" yaml:"qosFlowsNotifyList" bson:"qosFlowsNotifyList,omitempty"` + NotifyList []PduSessionNotifyItem `json:"NotifyList,omitempty" yaml:"NotifyList" bson:"NotifyList,omitempty"` + EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + UnavailableAccessInd UnavailableAccessIndication `json:"unavailableAccessInd,omitempty" yaml:"unavailableAccessInd" bson:"unavailableAccessInd,omitempty"` + PsaInfo []PsaInformation `json:"psaInfo,omitempty" yaml:"psaInfo" bson:"psaInfo,omitempty"` + UlclBpInfo *UlclBpInformation `json:"ulclBpInfo,omitempty" yaml:"ulclBpInfo" bson:"ulclBpInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + // String providing an URI formatted according to RFC 3986. + VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` + DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` + UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` +} diff --git a/models/models/model_hsmf_update_error.go b/models/models/model_hsmf_update_error.go new file mode 100644 index 00000000..5323ab2d --- /dev/null +++ b/models/models/model_hsmf_update_error.go @@ -0,0 +1,30 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Error within Update Response from H-SMF, or from SMF to I-SMF +type HsmfUpdateError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` +} diff --git a/models/models/model_hsmf_updated_data.go b/models/models/model_hsmf_updated_data.go new file mode 100644 index 00000000..63f7b798 --- /dev/null +++ b/models/models/model_hsmf_updated_data.go @@ -0,0 +1,40 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update Response from H-SMF, or from SMF to I-SMF +type HsmfUpdatedData struct { + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` + QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` +} diff --git a/models/models/model_hss_auth_type.go b/models/models/model_hss_auth_type.go new file mode 100644 index 00000000..9f2c7d2d --- /dev/null +++ b/models/models/model_hss_auth_type.go @@ -0,0 +1,25 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthType string + +// List of HssAuthType +const ( + HssAuthType_EPS_AKA HssAuthType = "EPS_AKA" + HssAuthType_EAP_AKA HssAuthType = "EAP_AKA" + HssAuthType_EAP_AKA_PRIME HssAuthType = "EAP_AKA_PRIME" + HssAuthType_IMS_AKA HssAuthType = "IMS_AKA" + HssAuthType_GBA_AKA HssAuthType = "GBA_AKA" + HssAuthType_UMTS_AKA HssAuthType = "UMTS_AKA" +) diff --git a/models/models/model_hss_auth_type_in_uri.go b/models/models/model_hss_auth_type_in_uri.go new file mode 100644 index 00000000..7e9fcf68 --- /dev/null +++ b/models/models/model_hss_auth_type_in_uri.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthTypeInUri string + +// List of HssAuthTypeInUri +const ( + HssAuthTypeInUri_EPS_AKA HssAuthTypeInUri = "eps-aka" + HssAuthTypeInUri_EAP_AKA HssAuthTypeInUri = "eap-aka" + HssAuthTypeInUri_EAP_AKA_PRIME HssAuthTypeInUri = "eap-aka-prime" + HssAuthTypeInUri_IMS_AKA HssAuthTypeInUri = "ims-aka" + HssAuthTypeInUri_GBA_AKA HssAuthTypeInUri = "gba-aka" +) diff --git a/models/models/model_hss_authentication_info_request.go b/models/models/model_hss_authentication_info_request.go new file mode 100644 index 00000000..32887bcb --- /dev/null +++ b/models/models/model_hss_authentication_info_request.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationInfoRequest struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HssAuthType HssAuthType `json:"hssAuthType" yaml:"hssAuthType" bson:"hssAuthType,omitempty"` + NumOfRequestedVectors int32 `json:"numOfRequestedVectors" yaml:"numOfRequestedVectors" bson:"numOfRequestedVectors,omitempty"` + RequestingNodeType NodeType `json:"requestingNodeType,omitempty" yaml:"requestingNodeType" bson:"requestingNodeType,omitempty"` + ServingNetworkId *PlmnId `json:"servingNetworkId,omitempty" yaml:"servingNetworkId" bson:"servingNetworkId,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + AnId AccessNetworkId `json:"anId,omitempty" yaml:"anId" bson:"anId,omitempty"` +} diff --git a/models/models/model_hss_authentication_info_result.go b/models/models/model_hss_authentication_info_result.go new file mode 100644 index 00000000..9e244a5e --- /dev/null +++ b/models/models/model_hss_authentication_info_result.go @@ -0,0 +1,19 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationInfoResult struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HssAuthenticationVectors *HssAuthenticationVectors `json:"hssAuthenticationVectors" yaml:"hssAuthenticationVectors" bson:"hssAuthenticationVectors,omitempty"` +} diff --git a/models/models/model_hss_authentication_vectors.go b/models/models/model_hss_authentication_vectors.go new file mode 100644 index 00000000..ea10b89d --- /dev/null +++ b/models/models/model_hss_authentication_vectors.go @@ -0,0 +1,16 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAuthenticationVectors struct { +} diff --git a/models/models/model_hss_av_type.go b/models/models/model_hss_av_type.go new file mode 100644 index 00000000..9014bf0b --- /dev/null +++ b/models/models/model_hss_av_type.go @@ -0,0 +1,24 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssAvType string + +// List of HssAvType +const ( + HssAvType_EPS_AKA HssAvType = "EPS_AKA" + HssAvType_EAP_AKA HssAvType = "EAP_AKA" + HssAvType_IMS_AKA HssAvType = "IMS_AKA" + HssAvType_GBA_AKA HssAvType = "GBA_AKA" + HssAvType_UMTS_AKA HssAvType = "UMTS_AKA" +) diff --git a/models/models/model_hss_info.go b/models/models/model_hss_info.go new file mode 100644 index 00000000..198f7598 --- /dev/null +++ b/models/models/model_hss_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an HSS NF Instance +type HssInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + ImsiRanges []ImsiRange `json:"imsiRanges,omitempty" yaml:"imsiRanges" bson:"imsiRanges,omitempty"` + ImsPrivateIdentityRanges []IdentityRange `json:"imsPrivateIdentityRanges,omitempty" yaml:"imsPrivateIdentityRanges" bson:"imsPrivateIdentityRanges,omitempty"` + ImsPublicIdentityRanges []IdentityRange `json:"imsPublicIdentityRanges,omitempty" yaml:"imsPublicIdentityRanges" bson:"imsPublicIdentityRanges,omitempty"` + MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + HssDiameterAddress *NetworkNodeDiameterAddress `json:"hssDiameterAddress,omitempty" yaml:"hssDiameterAddress" bson:"hssDiameterAddress,omitempty"` +} diff --git a/models/models/model_hss_subscription_info.go b/models/models/model_hss_subscription_info.go new file mode 100644 index 00000000..a11ee1f2 --- /dev/null +++ b/models/models/model_hss_subscription_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active subscriptions at the HSS(s) +type HssSubscriptionInfo struct { + HssSubscriptionList []HssSubscriptionItem `json:"hssSubscriptionList" yaml:"hssSubscriptionList" bson:"hssSubscriptionList,omitempty"` +} diff --git a/models/models/model_hss_subscription_item.go b/models/models/model_hss_subscription_item.go new file mode 100644 index 00000000..62ab43ca --- /dev/null +++ b/models/models/model_hss_subscription_item.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains info about a single HSS event subscription +type HssSubscriptionItem struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HssInstanceId string `json:"hssInstanceId" yaml:"hssInstanceId" bson:"hssInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/models/model_hssims_sdm_access_type.go b/models/models/model_hssims_sdm_access_type.go new file mode 100644 index 00000000..f2a7de96 --- /dev/null +++ b/models/models/model_hssims_sdm_access_type.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssimsSdmAccessType string + +// List of HssimsSDMAccessType +const ( + HssimsSdmAccessType__3_GPP_ACCESS HssimsSdmAccessType = "3GPP_ACCESS" + HssimsSdmAccessType_NON_3_GPP_ACCESS HssimsSdmAccessType = "NON_3GPP_ACCESS" +) diff --git a/models/models/model_hssims_sdm_data_set_name.go b/models/models/model_hssims_sdm_data_set_name.go new file mode 100644 index 00000000..81280391 --- /dev/null +++ b/models/models/model_hssims_sdm_data_set_name.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type HssimsSdmDataSetName string + +// List of HssimsSDMDataSetName +const ( + HssimsSdmDataSetName_CHARGING_DATA HssimsSdmDataSetName = "CHARGING_DATA" + HssimsSdmDataSetName_IFC_DATA HssimsSdmDataSetName = "IFC_DATA" + HssimsSdmDataSetName_TRACE_DATA HssimsSdmDataSetName = "TRACE_DATA" + HssimsSdmDataSetName_PRIORITY_DATA HssimsSdmDataSetName = "PRIORITY_DATA" +) diff --git a/models/models/model_hssims_sdm_shared_data.go b/models/models/model_hssims_sdm_shared_data.go new file mode 100644 index 00000000..b763e6ed --- /dev/null +++ b/models/models/model_hssims_sdm_shared_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a part of the IMS Profile data shared by several UEs +type HssimsSdmSharedData struct { + // Identifies globally and uniquely a piece of subscription data shared by multiple UEs; the value shall start with the HPLMN id (MCC/MNC) followed by a hyphen followed by a local Id as allocated by the home network operator + SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` + SharedImsIfcData *Ifcs `json:"sharedImsIfcData,omitempty" yaml:"sharedImsIfcData" bson:"sharedImsIfcData,omitempty"` +} diff --git a/models/models/model_hssims_uecm_extended_problem_details.go b/models/models/model_hssims_uecm_extended_problem_details.go new file mode 100644 index 00000000..b17f57ac --- /dev/null +++ b/models/models/model_hssims_uecm_extended_problem_details.go @@ -0,0 +1,35 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extension of the ProblemDetails data type, to include additional information in an error response message +type HssimsUecmExtendedProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + ScscfServerName string `json:"scscfServerName,omitempty" yaml:"scscfServerName" bson:"scscfServerName,omitempty"` +} diff --git a/models/models/model_id_translation_result.go b/models/models/model_id_translation_result.go new file mode 100644 index 00000000..48c8c6f5 --- /dev/null +++ b/models/models/model_id_translation_result.go @@ -0,0 +1,24 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IdTranslationResult struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AdditionalSupis []string `json:"additionalSupis,omitempty" yaml:"additionalSupis" bson:"additionalSupis,omitempty"` + AdditionalGpsis []string `json:"additionalGpsis,omitempty" yaml:"additionalGpsis" bson:"additionalGpsis,omitempty"` +} diff --git a/models/models/model_identity_data.go b/models/models/model_identity_data.go new file mode 100644 index 00000000..b5c963b3 --- /dev/null +++ b/models/models/model_identity_data.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identity data corresponds to the provided ueId. +type IdentityData struct { + SupiList []string `json:"supiList,omitempty" yaml:"supiList" bson:"supiList,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` + AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` + // A map (list of key-value pairs where AppPortId serves as key) of GPSIs. + ApplicationPortIds map[string]string `json:"applicationPortIds,omitempty" yaml:"applicationPortIds" bson:"applicationPortIds,omitempty"` +} diff --git a/models/models/model_identity_range.go b/models/models/model_identity_range.go new file mode 100644 index 00000000..409eb25a --- /dev/null +++ b/models/models/model_identity_range.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of GPSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching +type IdentityRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_identity_type.go b/models/models/model_identity_type.go new file mode 100644 index 00000000..f404ee18 --- /dev/null +++ b/models/models/model_identity_type.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IdentityType string + +// List of IdentityType +const ( + IdentityType_DISTINCT_IMPU IdentityType = "DISTINCT_IMPU" + IdentityType_DISTINCT_PSI IdentityType = "DISTINCT_PSI" + IdentityType_WILDCARDED_IMPU IdentityType = "WILDCARDED_IMPU" + IdentityType_WILDCARDED_PSI IdentityType = "WILDCARDED_PSI" +) diff --git a/models/models/model_idle_status_indication.go b/models/models/model_idle_status_indication.go new file mode 100644 index 00000000..8ec8cd5d --- /dev/null +++ b/models/models/model_idle_status_indication.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the idle status indication. +type IdleStatusIndication struct { + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // indicating a time in seconds. + ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` + // indicating a time in seconds. + SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + EdrxCycleLength int32 `json:"edrxCycleLength,omitempty" yaml:"edrxCycleLength" bson:"edrxCycleLength,omitempty"` + SuggestedNumOfDlPackets int32 `json:"suggestedNumOfDlPackets,omitempty" yaml:"suggestedNumOfDlPackets" bson:"suggestedNumOfDlPackets,omitempty"` +} diff --git a/models/models/model_ifc.go b/models/models/model_ifc.go new file mode 100644 index 00000000..408fd0e1 --- /dev/null +++ b/models/models/model_ifc.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data associated to an individual IFC (Initial Filter Criteria) +type Ifc struct { + Priority int32 `json:"priority" yaml:"priority" bson:"priority,omitempty"` + Trigger *TriggerPoint `json:"trigger,omitempty" yaml:"trigger" bson:"trigger,omitempty"` + AppServer *ApplicationServer `json:"appServer" yaml:"appServer" bson:"appServer,omitempty"` +} diff --git a/models/models/model_ifcs.go b/models/models/model_ifcs.go new file mode 100644 index 00000000..097a2a2d --- /dev/null +++ b/models/models/model_ifcs.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of IFCs associated to the IMS public Identity +type Ifcs struct { + IfcList []Ifc `json:"ifcList,omitempty" yaml:"ifcList" bson:"ifcList,omitempty"` + CscfFilterSetIdList []int32 `json:"cscfFilterSetIdList,omitempty" yaml:"cscfFilterSetIdList" bson:"cscfFilterSetIdList,omitempty"` +} diff --git a/models/models/model_imei_sv_information.go b/models/models/model_imei_sv_information.go new file mode 100644 index 00000000..a07f90d6 --- /dev/null +++ b/models/models/model_imei_sv_information.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMEI(SV) information +type ImeiSvInformation struct { + // IMEI of the UE + Imei string `json:"imei,omitempty" yaml:"imei" bson:"imei,omitempty"` + // IMEISV of the UE + ImeiSv string `json:"imeiSv,omitempty" yaml:"imeiSv" bson:"imeiSv,omitempty"` +} diff --git a/models/models/model_immediate_mdt_conf.go b/models/models/model_immediate_mdt_conf.go new file mode 100644 index 00000000..f751a19b --- /dev/null +++ b/models/models/model_immediate_mdt_conf.go @@ -0,0 +1,36 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Immediate MDT Configuration +type ImmediateMdtConf struct { + JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` + MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` + MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` + ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` + ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` + ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` + ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` + EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` + EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` + EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` + EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` + CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` + CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` + MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` + AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` + PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` + AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` + MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` + SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` +} diff --git a/models/models/model_immediate_report.go b/models/models/model_immediate_report.go new file mode 100644 index 00000000..6eb8e511 --- /dev/null +++ b/models/models/model_immediate_report.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImmediateReport struct { + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` + UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` + UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` + UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` +} diff --git a/models/models/model_ims_address.go b/models/models/model_ims_address.go new file mode 100644 index 00000000..272f2006 --- /dev/null +++ b/models/models/model_ims_address.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + E164 string `json:"e164,omitempty" yaml:"e164" bson:"e164,omitempty"` +} diff --git a/models/models/model_ims_associated_identities.go b/models/models/model_ims_associated_identities.go new file mode 100644 index 00000000..fa76b706 --- /dev/null +++ b/models/models/model_ims_associated_identities.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of identities belonging to the same Implicit Registration Set (IRS), along with the registration state of the IRS +type ImsAssociatedIdentities struct { + IrsState ImsRegistrationState `json:"irsState" yaml:"irsState" bson:"irsState,omitempty"` + PublicIdentities *PublicIdentities `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` +} diff --git a/models/models/model_ims_charging_information.go b/models/models/model_ims_charging_information.go new file mode 100644 index 00000000..40b17a12 --- /dev/null +++ b/models/models/model_ims_charging_information.go @@ -0,0 +1,80 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ImsChargingInformation struct { + EventType *SipEventType `json:"eventType,omitempty" yaml:"eventType" bson:"eventType,omitempty"` + IMSNodeFunctionality ImsNodeFunctionality `json:"iMSNodeFunctionality,omitempty" yaml:"iMSNodeFunctionality" bson:"iMSNodeFunctionality,omitempty"` + RoleOfNode RoleOfImsNode `json:"roleOfNode,omitempty" yaml:"roleOfNode" bson:"roleOfNode,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` + IsupCause *IsupCause `json:"isupCause,omitempty" yaml:"isupCause" bson:"isupCause,omitempty"` + ControlPlaneAddress *ImsAddress `json:"controlPlaneAddress,omitempty" yaml:"controlPlaneAddress" bson:"controlPlaneAddress,omitempty"` + VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` + MscAddress string `json:"mscAddress,omitempty" yaml:"mscAddress" bson:"mscAddress,omitempty"` + UserSessionID string `json:"userSessionID,omitempty" yaml:"userSessionID" bson:"userSessionID,omitempty"` + OutgoingSessionID string `json:"outgoingSessionID,omitempty" yaml:"outgoingSessionID" bson:"outgoingSessionID,omitempty"` + SessionPriority ImsSessionPriority `json:"sessionPriority,omitempty" yaml:"sessionPriority" bson:"sessionPriority,omitempty"` + CallingPartyAddresses []string `json:"callingPartyAddresses,omitempty" yaml:"callingPartyAddresses" bson:"callingPartyAddresses,omitempty"` + CalledPartyAddress string `json:"calledPartyAddress,omitempty" yaml:"calledPartyAddress" bson:"calledPartyAddress,omitempty"` + NumberPortabilityRoutinginformation string `json:"numberPortabilityRoutinginformation,omitempty" yaml:"numberPortabilityRoutinginformation" bson:"numberPortabilityRoutinginformation,omitempty"` + CarrierSelectRoutingInformation string `json:"carrierSelectRoutingInformation,omitempty" yaml:"carrierSelectRoutingInformation" bson:"carrierSelectRoutingInformation,omitempty"` + AlternateChargedPartyAddress string `json:"alternateChargedPartyAddress,omitempty" yaml:"alternateChargedPartyAddress" bson:"alternateChargedPartyAddress,omitempty"` + RequestedPartyAddress []string `json:"requestedPartyAddress,omitempty" yaml:"requestedPartyAddress" bson:"requestedPartyAddress,omitempty"` + CalledAssertedIdentities []string `json:"calledAssertedIdentities,omitempty" yaml:"calledAssertedIdentities" bson:"calledAssertedIdentities,omitempty"` + CalledIdentityChanges []CalledIdentityChange `json:"calledIdentityChanges,omitempty" yaml:"calledIdentityChanges" bson:"calledIdentityChanges,omitempty"` + AssociatedURI []string `json:"associatedURI,omitempty" yaml:"associatedURI" bson:"associatedURI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamps *time.Time `json:"timeStamps,omitempty" yaml:"timeStamps" bson:"timeStamps,omitempty"` + ApplicationServerInformation []string `json:"applicationServerInformation,omitempty" yaml:"applicationServerInformation" bson:"applicationServerInformation,omitempty"` + InterOperatorIdentifier []InterOperatorIdentifier `json:"interOperatorIdentifier,omitempty" yaml:"interOperatorIdentifier" bson:"interOperatorIdentifier,omitempty"` + ImsChargingIdentifier string `json:"imsChargingIdentifier,omitempty" yaml:"imsChargingIdentifier" bson:"imsChargingIdentifier,omitempty"` + RelatedICID string `json:"relatedICID,omitempty" yaml:"relatedICID" bson:"relatedICID,omitempty"` + RelatedICIDGenerationNode string `json:"relatedICIDGenerationNode,omitempty" yaml:"relatedICIDGenerationNode" bson:"relatedICIDGenerationNode,omitempty"` + TransitIOIList []string `json:"transitIOIList,omitempty" yaml:"transitIOIList" bson:"transitIOIList,omitempty"` + EarlyMediaDescription []EarlyMediaDescription `json:"earlyMediaDescription,omitempty" yaml:"earlyMediaDescription" bson:"earlyMediaDescription,omitempty"` + SdpSessionDescription []string `json:"sdpSessionDescription,omitempty" yaml:"sdpSessionDescription" bson:"sdpSessionDescription,omitempty"` + SdpMediaComponent []SdpMediaComponent `json:"sdpMediaComponent,omitempty" yaml:"sdpMediaComponent" bson:"sdpMediaComponent,omitempty"` + ServedPartyIPAddress *ImsAddress `json:"servedPartyIPAddress,omitempty" yaml:"servedPartyIPAddress" bson:"servedPartyIPAddress,omitempty"` + ServerCapabilities *ServerCapabilities `json:"serverCapabilities,omitempty" yaml:"serverCapabilities" bson:"serverCapabilities,omitempty"` + TrunkGroupID *TrunkGroupId `json:"trunkGroupID,omitempty" yaml:"trunkGroupID" bson:"trunkGroupID,omitempty"` + BearerService string `json:"bearerService,omitempty" yaml:"bearerService" bson:"bearerService,omitempty"` + ImsServiceId string `json:"imsServiceId,omitempty" yaml:"imsServiceId" bson:"imsServiceId,omitempty"` + MessageBodies []MessageBody `json:"messageBodies,omitempty" yaml:"messageBodies" bson:"messageBodies,omitempty"` + AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` + AdditionalAccessNetworkInformation string `json:"additionalAccessNetworkInformation,omitempty" yaml:"additionalAccessNetworkInformation" bson:"additionalAccessNetworkInformation,omitempty"` + CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` + AccessTransferInformation []AccessTransferInformation `json:"accessTransferInformation,omitempty" yaml:"accessTransferInformation" bson:"accessTransferInformation,omitempty"` + AccessNetworkInfoChange []AccessNetworkInfoChange `json:"accessNetworkInfoChange,omitempty" yaml:"accessNetworkInfoChange" bson:"accessNetworkInfoChange,omitempty"` + ImsCommunicationServiceID string `json:"imsCommunicationServiceID,omitempty" yaml:"imsCommunicationServiceID" bson:"imsCommunicationServiceID,omitempty"` + ImsApplicationReferenceID string `json:"imsApplicationReferenceID,omitempty" yaml:"imsApplicationReferenceID" bson:"imsApplicationReferenceID,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + CauseCode int32 `json:"causeCode,omitempty" yaml:"causeCode" bson:"causeCode,omitempty"` + ReasonHeader []string `json:"reasonHeader,omitempty" yaml:"reasonHeader" bson:"reasonHeader,omitempty"` + InitialIMSChargingIdentifier string `json:"initialIMSChargingIdentifier,omitempty" yaml:"initialIMSChargingIdentifier" bson:"initialIMSChargingIdentifier,omitempty"` + NniInformation []NniInformation `json:"nniInformation,omitempty" yaml:"nniInformation" bson:"nniInformation,omitempty"` + FromAddress string `json:"fromAddress,omitempty" yaml:"fromAddress" bson:"fromAddress,omitempty"` + ImsEmergencyIndication bool `json:"imsEmergencyIndication,omitempty" yaml:"imsEmergencyIndication" bson:"imsEmergencyIndication,omitempty"` + ImsVisitedNetworkIdentifier string `json:"imsVisitedNetworkIdentifier,omitempty" yaml:"imsVisitedNetworkIdentifier" bson:"imsVisitedNetworkIdentifier,omitempty"` + SipRouteHeaderReceived string `json:"sipRouteHeaderReceived,omitempty" yaml:"sipRouteHeaderReceived" bson:"sipRouteHeaderReceived,omitempty"` + SipRouteHeaderTransmitted string `json:"sipRouteHeaderTransmitted,omitempty" yaml:"sipRouteHeaderTransmitted" bson:"sipRouteHeaderTransmitted,omitempty"` + TadIdentifier TadIdentifier `json:"tadIdentifier,omitempty" yaml:"tadIdentifier" bson:"tadIdentifier,omitempty"` + FeIdentifierList string `json:"feIdentifierList,omitempty" yaml:"feIdentifierList" bson:"feIdentifierList,omitempty"` +} diff --git a/models/models/model_ims_location_data.go b/models/models/model_ims_location_data.go new file mode 100644 index 00000000..f4a781b5 --- /dev/null +++ b/models/models/model_ims_location_data.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Location Data (S-CSCF name) +type ImsLocationData struct { + ScscfName string `json:"scscfName" yaml:"scscfName" bson:"scscfName,omitempty"` +} diff --git a/models/models/model_ims_node_functionality.go b/models/models/model_ims_node_functionality.go new file mode 100644 index 00000000..156334b2 --- /dev/null +++ b/models/models/model_ims_node_functionality.go @@ -0,0 +1,42 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsNodeFunctionality string + +// List of IMSNodeFunctionality +const ( + ImsNodeFunctionality_S_CSCF ImsNodeFunctionality = "S_CSCF" + ImsNodeFunctionality_P_CSCF ImsNodeFunctionality = "P_CSCF" + ImsNodeFunctionality_I_CSCF ImsNodeFunctionality = "I_CSCF" + ImsNodeFunctionality_MRFC ImsNodeFunctionality = "MRFC" + ImsNodeFunctionality_MGCF ImsNodeFunctionality = "MGCF" + ImsNodeFunctionality_BGCF ImsNodeFunctionality = "BGCF" + ImsNodeFunctionality_AS ImsNodeFunctionality = "AS" + ImsNodeFunctionality_IBCF ImsNodeFunctionality = "IBCF" + ImsNodeFunctionality_S_GW ImsNodeFunctionality = "S-GW" + ImsNodeFunctionality_P_GW ImsNodeFunctionality = "P-GW" + ImsNodeFunctionality_HSGW ImsNodeFunctionality = "HSGW" + ImsNodeFunctionality_E_CSCF ImsNodeFunctionality = "E-CSCF" + ImsNodeFunctionality_MME ImsNodeFunctionality = "MME" + ImsNodeFunctionality_TRF ImsNodeFunctionality = "TRF" + ImsNodeFunctionality_TF ImsNodeFunctionality = "TF" + ImsNodeFunctionality_ATCF ImsNodeFunctionality = "ATCF" + ImsNodeFunctionality_PROXY ImsNodeFunctionality = "PROXY" + ImsNodeFunctionality_EPDG ImsNodeFunctionality = "EPDG" + ImsNodeFunctionality_TDF ImsNodeFunctionality = "TDF" + ImsNodeFunctionality_TWAG ImsNodeFunctionality = "TWAG" + ImsNodeFunctionality_SCEF ImsNodeFunctionality = "SCEF" + ImsNodeFunctionality_IWK_SCEF ImsNodeFunctionality = "IWK_SCEF" + ImsNodeFunctionality_IMS_GWF ImsNodeFunctionality = "IMS_GWF" +) diff --git a/models/models/model_ims_profile_data.go b/models/models/model_ims_profile_data.go new file mode 100644 index 00000000..15cea482 --- /dev/null +++ b/models/models/model_ims_profile_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User's IMS profile data +type ImsProfileData struct { + ImsServiceProfiles []ImsServiceProfile `json:"imsServiceProfiles" yaml:"imsServiceProfiles" bson:"imsServiceProfiles,omitempty"` + ChargingInfo *ChargingInfo `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` + ServicePriorityLevelList []string `json:"servicePriorityLevelList,omitempty" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxAllowedSimulReg int32 `json:"maxAllowedSimulReg,omitempty" yaml:"maxAllowedSimulReg" bson:"maxAllowedSimulReg,omitempty"` + ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` +} diff --git a/models/models/model_ims_registration_state.go b/models/models/model_ims_registration_state.go new file mode 100644 index 00000000..391e3f27 --- /dev/null +++ b/models/models/model_ims_registration_state.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsRegistrationState string + +// List of ImsRegistrationState +const ( + ImsRegistrationState_REGISTERED ImsRegistrationState = "REGISTERED" + ImsRegistrationState_NOT_REGISTERED ImsRegistrationState = "NOT_REGISTERED" + ImsRegistrationState_AUTHENTICATION_PENDING ImsRegistrationState = "AUTHENTICATION_PENDING" + ImsRegistrationState_REGISTERED_UNREG_SERVICES ImsRegistrationState = "REGISTERED_UNREG_SERVICES" +) diff --git a/models/models/model_ims_registration_status.go b/models/models/model_ims_registration_status.go new file mode 100644 index 00000000..085eeec0 --- /dev/null +++ b/models/models/model_ims_registration_status.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Registration status of the user +type ImsRegistrationStatus struct { + ImsUserStatus ImsRegistrationState `json:"imsUserStatus" yaml:"imsUserStatus" bson:"imsUserStatus,omitempty"` +} diff --git a/models/models/model_ims_registration_type.go b/models/models/model_ims_registration_type.go new file mode 100644 index 00000000..fff25fc0 --- /dev/null +++ b/models/models/model_ims_registration_type.go @@ -0,0 +1,27 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsRegistrationType string + +// List of ImsRegistrationType +const ( + ImsRegistrationType_INITIAL_REGISTRATION ImsRegistrationType = "INITIAL_REGISTRATION" + ImsRegistrationType_RE_REGISTRATION ImsRegistrationType = "RE_REGISTRATION" + ImsRegistrationType_TIMEOUT_DEREGISTRATION ImsRegistrationType = "TIMEOUT_DEREGISTRATION" + ImsRegistrationType_USER_DEREGISTRATION ImsRegistrationType = "USER_DEREGISTRATION" + ImsRegistrationType_ADMINISTRATIVE_DEREGISTRATION ImsRegistrationType = "ADMINISTRATIVE_DEREGISTRATION" + ImsRegistrationType_AUTHENTICATION_FAILURE ImsRegistrationType = "AUTHENTICATION_FAILURE" + ImsRegistrationType_AUTHENTICATION_TIMEOUT ImsRegistrationType = "AUTHENTICATION_TIMEOUT" + ImsRegistrationType_UNREGISTERED_USER ImsRegistrationType = "UNREGISTERED_USER" +) diff --git a/models/models/model_ims_sdm_subscription.go b/models/models/model_ims_sdm_subscription.go new file mode 100644 index 00000000..a48de04f --- /dev/null +++ b/models/models/model_ims_sdm_subscription.go @@ -0,0 +1,28 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// A subscription to notifications of data change +type ImsSdmSubscription struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` +} diff --git a/models/models/model_ims_service_profile.go b/models/models/model_ims_service_profile.go new file mode 100644 index 00000000..14d3a0cf --- /dev/null +++ b/models/models/model_ims_service_profile.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Service Profile of the UE, containing the list of Public Identifiers and optionally a list of IFCs +type ImsServiceProfile struct { + PublicIdentifierList []PublicIdentifier `json:"publicIdentifierList" yaml:"publicIdentifierList" bson:"publicIdentifierList,omitempty"` + Ifcs *Ifcs `json:"ifcs,omitempty" yaml:"ifcs" bson:"ifcs,omitempty"` + CnServiceAuthorization *CoreNetworkServiceAuthorization `json:"cnServiceAuthorization,omitempty" yaml:"cnServiceAuthorization" bson:"cnServiceAuthorization,omitempty"` +} diff --git a/models/models/model_ims_session_priority.go b/models/models/model_ims_session_priority.go new file mode 100644 index 00000000..9c163969 --- /dev/null +++ b/models/models/model_ims_session_priority.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsSessionPriority string + +// List of IMSSessionPriority +const ( + ImsSessionPriority__0 ImsSessionPriority = "PRIORITY_0" + ImsSessionPriority__1 ImsSessionPriority = "PRIORITY_1" + ImsSessionPriority__2 ImsSessionPriority = "PRIORITY_2" + ImsSessionPriority__3 ImsSessionPriority = "PRIORITY_3" + ImsSessionPriority__4 ImsSessionPriority = "PRIORITY_4" +) diff --git a/models/models/model_ims_vo_ps.go b/models/models/model_ims_vo_ps.go new file mode 100644 index 00000000..6f2150bd --- /dev/null +++ b/models/models/model_ims_vo_ps.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsVoPs string + +// List of ImsVoPs +const ( + ImsVoPs_HOMOGENEOUS_SUPPORT ImsVoPs = "HOMOGENEOUS_SUPPORT" + ImsVoPs_HOMOGENEOUS_NON_SUPPORT ImsVoPs = "HOMOGENEOUS_NON_SUPPORT" + ImsVoPs_NON_HOMOGENEOUS_OR_UNKNOWN ImsVoPs = "NON_HOMOGENEOUS_OR_UNKNOWN" +) diff --git a/models/models/model_ims_voice_over_ps_session_support.go b/models/models/model_ims_voice_over_ps_session_support.go new file mode 100644 index 00000000..f1719110 --- /dev/null +++ b/models/models/model_ims_voice_over_ps_session_support.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ImsVoiceOverPsSessionSupport string + +// List of ImsVoiceOverPsSessionSupport +const ( + ImsVoiceOverPsSessionSupport_NOT_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_NOT_SUPPORTED" + ImsVoiceOverPsSessionSupport_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORTED" + ImsVoiceOverPsSessionSupport_SUPPORT_UNKNOWN ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORT_UNKNOWN" +) diff --git a/models/models/model_imsi_range.go b/models/models/model_imsi_range.go new file mode 100644 index 00000000..be3976e7 --- /dev/null +++ b/models/models/model_imsi_range.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of IMSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching +type ImsiRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_indirect_data_forwarding_tunnel_info.go b/models/models/model_indirect_data_forwarding_tunnel_info.go new file mode 100644 index 00000000..eea678f1 --- /dev/null +++ b/models/models/model_indirect_data_forwarding_tunnel_info.go @@ -0,0 +1,26 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indirect Data Forwarding Tunnel Information +type IndirectDataForwardingTunnelInfo struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // GTP Tunnel Endpoint Identifier + GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` + // Data Radio Bearer Identity + DrbId int32 `json:"drbId,omitempty" yaml:"drbId" bson:"drbId,omitempty"` + // indicates first, second or third additional indirect data forwarding tunnel + AdditionalTnlNb int32 `json:"additionalTnlNb,omitempty" yaml:"additionalTnlNb" bson:"additionalTnlNb,omitempty"` +} diff --git a/models/models/model_integrity_algorithm.go b/models/models/model_integrity_algorithm.go new file mode 100644 index 00000000..a54c8a31 --- /dev/null +++ b/models/models/model_integrity_algorithm.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IntegrityAlgorithm string + +// List of IntegrityAlgorithm +const ( + IntegrityAlgorithm_NIA0 IntegrityAlgorithm = "NIA0" + IntegrityAlgorithm_NIA1 IntegrityAlgorithm = "NIA1" + IntegrityAlgorithm_NIA2 IntegrityAlgorithm = "NIA2" + IntegrityAlgorithm_NIA3 IntegrityAlgorithm = "NIA3" +) diff --git a/models/models/model_integrity_requirements.go b/models/models/model_integrity_requirements.go new file mode 100644 index 00000000..af72c5a9 --- /dev/null +++ b/models/models/model_integrity_requirements.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// integrity requirements. +type IntegrityRequirements struct { + // Contains the time-to-alert + TimeToAlert int32 `json:"timeToAlert,omitempty" yaml:"timeToAlert" bson:"timeToAlert,omitempty"` + // Contains the target integrity risk + TargetIntegrityRisk int32 `json:"targetIntegrityRisk,omitempty" yaml:"targetIntegrityRisk" bson:"targetIntegrityRisk,omitempty"` + AlertLimit *AlertLimit `json:"alertLimit,omitempty" yaml:"alertLimit" bson:"alertLimit,omitempty"` +} diff --git a/models/models/model_inter_freq_target_info.go b/models/models/model_inter_freq_target_info.go new file mode 100644 index 00000000..aeedad41 --- /dev/null +++ b/models/models/model_inter_freq_target_info.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the Inter Frequency Target information. +type InterFreqTargetInfo struct { + // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. + DlCarrierFreq int32 `json:"dlCarrierFreq" yaml:"dlCarrierFreq" bson:"dlCarrierFreq,omitempty"` + // When present, this IE shall contain a list of the physical cell identities where the UE is requested to perform measurement logging for the indicated frequency. + CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` +} diff --git a/models/models/model_inter_operator_identifier.go b/models/models/model_inter_operator_identifier.go new file mode 100644 index 00000000..e8b47de0 --- /dev/null +++ b/models/models/model_inter_operator_identifier.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InterOperatorIdentifier struct { + OriginatingIOI string `json:"originatingIOI,omitempty" yaml:"originatingIOI" bson:"originatingIOI,omitempty"` + TerminatingIOI string `json:"terminatingIOI,omitempty" yaml:"terminatingIOI" bson:"terminatingIOI,omitempty"` +} diff --git a/models/models/model_interface_type.go b/models/models/model_interface_type.go new file mode 100644 index 00000000..98719c60 --- /dev/null +++ b/models/models/model_interface_type.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InterfaceType string + +// List of InterfaceType +const ( + InterfaceType_UNKNOWN InterfaceType = "UNKNOWN" + InterfaceType_MOBILE_ORIGINATING InterfaceType = "MOBILE_ORIGINATING" + InterfaceType_MOBILE_TERMINATING InterfaceType = "MOBILE_TERMINATING" + InterfaceType_APPLICATION_ORIGINATING InterfaceType = "APPLICATION_ORIGINATING" + InterfaceType_APPLICATION_TERMINATING InterfaceType = "APPLICATION_TERMINATING" +) diff --git a/models/models/model_interface_upf_info_item.go b/models/models/model_interface_upf_info_item.go new file mode 100644 index 00000000..55025351 --- /dev/null +++ b/models/models/model_interface_upf_info_item.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a given IP interface of an UPF +type InterfaceUpfInfoItem struct { + InterfaceType UpInterfaceType `json:"interfaceType" yaml:"interfaceType" bson:"interfaceType,omitempty"` + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` + NetworkInstance string `json:"networkInstance,omitempty" yaml:"networkInstance" bson:"networkInstance,omitempty"` +} diff --git a/models/models/model_internal_group_id_range.go b/models/models/model_internal_group_id_range.go new file mode 100644 index 00000000..6dfe8216 --- /dev/null +++ b/models/models/model_internal_group_id_range.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of Group IDs (internal group identities), either based on a numeric range, or based on regular-expression matching +type InternalGroupIdRange struct { + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_invalid_cause.go b/models/models/model_invalid_cause.go new file mode 100644 index 00000000..80bce7da --- /dev/null +++ b/models/models/model_invalid_cause.go @@ -0,0 +1,23 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InvalidCause string + +// List of InvalidCause +const ( + InvalidCause_SUBSRIPTION_WITHDRAWAL InvalidCause = "SUBSRIPTION_WITHDRAWAL" + InvalidCause_DNN_REMOVED InvalidCause = "DNN_REMOVED" + InvalidCause_SLICE_REMOVED InvalidCause = "SLICE_REMOVED" + InvalidCause_AUTHORIZATION_REVOKED InvalidCause = "AUTHORIZATION_REVOKED" +) diff --git a/models/models/model_invalid_param.go b/models/models/model_invalid_param.go new file mode 100644 index 00000000..dcf60ec7 --- /dev/null +++ b/models/models/model_invalid_param.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the description of invalid parameters, for a request rejected due to invalid parameters. +type InvalidParam struct { + // Attribute's name encoded as a JSON Pointer, or header's name. + Param string `json:"param" yaml:"param" bson:"param,omitempty"` + // A human-readable reason, e.g. \"must be a positive integer\". + Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` +} diff --git a/models/models/model_invocation_result.go b/models/models/model_invocation_result.go new file mode 100644 index 00000000..940c1274 --- /dev/null +++ b/models/models/model_invocation_result.go @@ -0,0 +1,18 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type InvocationResult struct { + Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` + FailureHandling FailureHandling `json:"failureHandling,omitempty" yaml:"failureHandling" bson:"failureHandling,omitempty"` +} diff --git a/models/models/model_ip_addr.go b/models/models/model_ip_addr.go new file mode 100644 index 00000000..df9329ab --- /dev/null +++ b/models/models/model_ip_addr.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an IP adresse. +type IpAddr struct { + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/models/model_ip_end_point.go b/models/models/model_ip_end_point.go new file mode 100644 index 00000000..c904096f --- /dev/null +++ b/models/models/model_ip_end_point.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP addressing information of a given NFService; it consists on, e.g. IP address, TCP port, transport protocol... +type IpEndPoint struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + Ipv6Address string `json:"ipv6Address,omitempty" yaml:"ipv6Address" bson:"ipv6Address,omitempty"` + Transport NrfNfManagementTransportProtocol `json:"transport,omitempty" yaml:"transport" bson:"transport,omitempty"` + Port int32 `json:"port,omitempty" yaml:"port" bson:"port,omitempty"` +} diff --git a/models/models/model_ip_eth_flow_description.go b/models/models/model_ip_eth_flow_description.go new file mode 100644 index 00000000..43fb6880 --- /dev/null +++ b/models/models/model_ip_eth_flow_description.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the description of an Uplink and/or Downlink Ethernet flow. +type IpEthFlowDescription struct { + // Defines a packet filter of an IP flow. + IpTrafficFilter string `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` +} diff --git a/models/models/model_ip_flow_info.go b/models/models/model_ip_flow_info.go new file mode 100644 index 00000000..42e39b3b --- /dev/null +++ b/models/models/model_ip_flow_info.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an UL/DL IP flow. +type IpFlowInfo struct { + IpFlows []string `json:"ipFlows,omitempty" yaml:"ipFlows" bson:"ipFlows,omitempty"` + FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` +} diff --git a/models/models/model_ip_multicast_address_info.go b/models/models/model_ip_multicast_address_info.go new file mode 100644 index 00000000..6bbdc2f7 --- /dev/null +++ b/models/models/model_ip_multicast_address_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the IP multicast addressing information. +type IpMulticastAddressInfo struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4MulAddr string `json:"ipv4MulAddr,omitempty" yaml:"ipv4MulAddr" bson:"ipv4MulAddr,omitempty"` + SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` + Ipv6MulAddr string `json:"ipv6MulAddr,omitempty" yaml:"ipv6MulAddr" bson:"ipv6MulAddr,omitempty"` +} diff --git a/models/models/model_ip_packet_filter_set.go b/models/models/model_ip_packet_filter_set.go new file mode 100644 index 00000000..29a762dc --- /dev/null +++ b/models/models/model_ip_packet_filter_set.go @@ -0,0 +1,25 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpPacketFilterSet struct { + SrcIp string `json:"srcIp,omitempty" yaml:"srcIp" bson:"srcIp,omitempty"` + DstIp string `json:"dstIp,omitempty" yaml:"dstIp" bson:"dstIp,omitempty"` + Protocol int32 `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` + SrcPort int32 `json:"srcPort,omitempty" yaml:"srcPort" bson:"srcPort,omitempty"` + DstPort int32 `json:"dstPort,omitempty" yaml:"dstPort" bson:"dstPort,omitempty"` + ToSTc string `json:"toSTc,omitempty" yaml:"toSTc" bson:"toSTc,omitempty"` + FlowLabel int32 `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + Spi int32 `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` + Direction string `json:"direction" yaml:"direction" bson:"direction,omitempty"` +} diff --git a/models/models/model_ip_reachability.go b/models/models/model_ip_reachability.go new file mode 100644 index 00000000..26cda35e --- /dev/null +++ b/models/models/model_ip_reachability.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpReachability string + +// List of IpReachability +const ( + IpReachability_IPV4 IpReachability = "IPV4" + IpReachability_IPV6 IpReachability = "IPV6" + IpReachability_IPV4_V6 IpReachability = "IPV4V6" +) diff --git a/models/models/model_ip_sm_gw_address.go b/models/models/model_ip_sm_gw_address.go new file mode 100644 index 00000000..9f078704 --- /dev/null +++ b/models/models/model_ip_sm_gw_address.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP-SM-GW number and diameter URI/realm +type IpSmGwAddress struct { + // String containing an additional or basic MSISDN + IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` + // Fully Qualified Domain Name + IpSmGwDiaUri string `json:"ipSmGwDiaUri,omitempty" yaml:"ipSmGwDiaUri" bson:"ipSmGwDiaUri,omitempty"` + // Fully Qualified Domain Name + IpSmGwDiaRealm string `json:"ipSmGwDiaRealm,omitempty" yaml:"ipSmGwDiaRealm" bson:"ipSmGwDiaRealm,omitempty"` + IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` +} diff --git a/models/models/model_ip_sm_gw_guidance.go b/models/models/model_ip_sm_gw_guidance.go new file mode 100644 index 00000000..08631f6b --- /dev/null +++ b/models/models/model_ip_sm_gw_guidance.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains guidance information (e.g. minimum and recommended delivery times) of the IP-SM-GW +type IpSmGwGuidance struct { + MinDeliveryTime int32 `json:"minDeliveryTime" yaml:"minDeliveryTime" bson:"minDeliveryTime,omitempty"` + RecommDeliveryTime int32 `json:"recommDeliveryTime" yaml:"recommDeliveryTime" bson:"recommDeliveryTime,omitempty"` +} diff --git a/models/models/model_ip_sm_gw_info.go b/models/models/model_ip_sm_gw_info.go new file mode 100644 index 00000000..3844cc0f --- /dev/null +++ b/models/models/model_ip_sm_gw_info.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the IP-SM-GW Information +type IpSmGwInfo struct { + IpSmGwRegistration *IpSmGwRegistration `json:"ipSmGwRegistration,omitempty" yaml:"ipSmGwRegistration" bson:"ipSmGwRegistration,omitempty"` + IpSmGwGuidance *IpSmGwGuidance `json:"ipSmGwGuidance,omitempty" yaml:"ipSmGwGuidance" bson:"ipSmGwGuidance,omitempty"` +} diff --git a/models/models/model_ip_sm_gw_registration.go b/models/models/model_ip_sm_gw_registration.go new file mode 100644 index 00000000..89325d66 --- /dev/null +++ b/models/models/model_ip_sm_gw_registration.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IpSmGwRegistration struct { + IpSmGwMapAddress string `json:"ipSmGwMapAddress,omitempty" yaml:"ipSmGwMapAddress" bson:"ipSmGwMapAddress,omitempty"` + IpSmGwDiameterAddress *NetworkNodeDiameterAddress `json:"ipSmGwDiameterAddress,omitempty" yaml:"ipSmGwDiameterAddress" bson:"ipSmGwDiameterAddress,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + IpsmgwIpv4 string `json:"ipsmgwIpv4,omitempty" yaml:"ipsmgwIpv4" bson:"ipsmgwIpv4,omitempty"` + IpsmgwIpv6 string `json:"ipsmgwIpv6,omitempty" yaml:"ipsmgwIpv6" bson:"ipsmgwIpv6,omitempty"` + // Fully Qualified Domain Name + IpsmgwFqdn string `json:"ipsmgwFqdn,omitempty" yaml:"ipsmgwFqdn" bson:"ipsmgwFqdn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + UnriIndicator bool `json:"unriIndicator,omitempty" yaml:"unriIndicator" bson:"unriIndicator,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` +} diff --git a/models/models/model_iptv_config_data.go b/models/models/model_iptv_config_data.go new file mode 100644 index 00000000..0c6d2b09 --- /dev/null +++ b/models/models/model_iptv_config_data.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents IPTV configuration data information. +type IptvConfigData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Identifies a group of users. + InterGroupId map[string]interface{} `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` + // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. + MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_iptv_config_data_patch.go b/models/models/model_iptv_config_data_patch.go new file mode 100644 index 00000000..6ae894f3 --- /dev/null +++ b/models/models/model_iptv_config_data_patch.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters to request the modification of an IPTV Configuration resource. +type IptvConfigDataPatch struct { + // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. + MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls,omitempty" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` +} diff --git a/models/models/model_isup_cause.go b/models/models/model_isup_cause.go new file mode 100644 index 00000000..7fca8526 --- /dev/null +++ b/models/models/model_isup_cause.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type IsupCause struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ISUPCauseLocation int32 `json:"iSUPCauseLocation,omitempty" yaml:"iSUPCauseLocation" bson:"iSUPCauseLocation,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ISUPCauseValue int32 `json:"iSUPCauseValue,omitempty" yaml:"iSUPCauseValue" bson:"iSUPCauseValue,omitempty"` + ISUPCauseDiagnostics string `json:"iSUPCauseDiagnostics,omitempty" yaml:"iSUPCauseDiagnostics" bson:"iSUPCauseDiagnostics,omitempty"` +} diff --git a/models/models/model_iwmsc_info.go b/models/models/model_iwmsc_info.go new file mode 100644 index 00000000..3f35ffbc --- /dev/null +++ b/models/models/model_iwmsc_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an SMS-IWMSC NF Instance +type IwmscInfo struct { + MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ScNumber string `json:"scNumber,omitempty" yaml:"scNumber" bson:"scNumber,omitempty"` +} diff --git a/models/models/model_job_type.go b/models/models/model_job_type.go new file mode 100644 index 00000000..cb7528eb --- /dev/null +++ b/models/models/model_job_type.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type JobType string + +// List of JobType +const ( + JobType_IMMEDIATE_MDT_ONLY JobType = "IMMEDIATE_MDT_ONLY" + JobType_LOGGED_MDT_ONLY JobType = "LOGGED_MDT_ONLY" + JobType_TRACE_ONLY JobType = "TRACE_ONLY" + JobType_IMMEDIATE_MDT_AND_TRACE JobType = "IMMEDIATE_MDT_AND_TRACE" + JobType_RLF_REPORTS_ONLY JobType = "RLF_REPORTS_ONLY" + JobType_RCEF_REPORTS_ONLY JobType = "RCEF_REPORTS_ONLY" + JobType_LOGGED_MBSFN_MDT JobType = "LOGGED_MBSFN_MDT" +) diff --git a/models/models/model_key_amf.go b/models/models/model_key_amf.go new file mode 100644 index 00000000..1d83d88d --- /dev/null +++ b/models/models/model_key_amf.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Kamf or K'amf +type KeyAmf struct { + KeyType KeyAmfType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` + KeyVal string `json:"keyVal" yaml:"keyVal" bson:"keyVal,omitempty"` +} diff --git a/models/models/model_key_amf_type.go b/models/models/model_key_amf_type.go new file mode 100644 index 00000000..e6cffd58 --- /dev/null +++ b/models/models/model_key_amf_type.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type KeyAmfType string + +// List of KeyAmfType +const ( + KeyAmfType_KAMF KeyAmfType = "KAMF" + KeyAmfType_KPRIMEAMF KeyAmfType = "KPRIMEAMF" +) diff --git a/models/models/model_key_type.go b/models/models/model_key_type.go new file mode 100644 index 00000000..c831439c --- /dev/null +++ b/models/models/model_key_type.go @@ -0,0 +1,24 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type KeyType string + +// List of KeyType +const ( + KeyType_UNIQUE_KEY KeyType = "UNIQUE_KEY" + KeyType_SEARCH_KEY KeyType = "SEARCH_KEY" + KeyType_COUNT_KEY KeyType = "COUNT_KEY" + KeyType_SEARCH_AND_COUNT_KEY KeyType = "SEARCH_AND_COUNT_KEY" + KeyType_OTHER_TAG KeyType = "OTHER_TAG" +) diff --git a/models/models/model_ladn_info.go b/models/models/model_ladn_info.go new file mode 100644 index 00000000..bfd05c81 --- /dev/null +++ b/models/models/model_ladn_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// LADN Information +type LadnInfo struct { + Ladn string `json:"ladn" yaml:"ladn" bson:"ladn,omitempty"` + Presence PresenceState `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` +} diff --git a/models/models/model_lcs_broadcast_assistance_types_data.go b/models/models/model_lcs_broadcast_assistance_types_data.go new file mode 100644 index 00000000..ead8896e --- /dev/null +++ b/models/models/model_lcs_broadcast_assistance_types_data.go @@ -0,0 +1,18 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsBroadcastAssistanceTypesData struct { + // string with format 'binary' as defined in OpenAPI. + LocationAssistanceType []byte `json:"locationAssistanceType" yaml:"locationAssistanceType" bson:"locationAssistanceType,omitempty"` +} diff --git a/models/models/model_lcs_client_class.go b/models/models/model_lcs_client_class.go new file mode 100644 index 00000000..b75b0682 --- /dev/null +++ b/models/models/model_lcs_client_class.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientClass string + +// List of LcsClientClass +const ( + LcsClientClass_BROADCAST_SERVICE LcsClientClass = "BROADCAST_SERVICE" + LcsClientClass_OM_IN_HPLMN LcsClientClass = "OM_IN_HPLMN" + LcsClientClass_OM_IN_VPLMN LcsClientClass = "OM_IN_VPLMN" + LcsClientClass_ANONYMOUS_LOCATION_SERVICE LcsClientClass = "ANONYMOUS_LOCATION_SERVICE" + LcsClientClass_SPECIFIC_SERVICE LcsClientClass = "SPECIFIC_SERVICE" +) diff --git a/models/models/model_lcs_client_external.go b/models/models/model_lcs_client_external.go new file mode 100644 index 00000000..7ccf495a --- /dev/null +++ b/models/models/model_lcs_client_external.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientExternal struct { + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/models/model_lcs_client_group_external.go b/models/models/model_lcs_client_group_external.go new file mode 100644 index 00000000..2a5bdcb2 --- /dev/null +++ b/models/models/model_lcs_client_group_external.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsClientGroupExternal struct { + LcsClientGroupId string `json:"lcsClientGroupId,omitempty" yaml:"lcsClientGroupId" bson:"lcsClientGroupId,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/models/model_lcs_mo_data.go b/models/models/model_lcs_mo_data.go new file mode 100644 index 00000000..7e9187bb --- /dev/null +++ b/models/models/model_lcs_mo_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsMoData struct { + AllowedServiceClasses []LcsMoServiceClass `json:"allowedServiceClasses" yaml:"allowedServiceClasses" bson:"allowedServiceClasses,omitempty"` + MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` +} diff --git a/models/models/model_lcs_mo_service_class.go b/models/models/model_lcs_mo_service_class.go new file mode 100644 index 00000000..251bd9ec --- /dev/null +++ b/models/models/model_lcs_mo_service_class.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsMoServiceClass string + +// List of LcsMoServiceClass +const ( + LcsMoServiceClass_BASIC_SELF_LOCATION LcsMoServiceClass = "BASIC_SELF_LOCATION" + LcsMoServiceClass_AUTONOMOUS_SELF_LOCATION LcsMoServiceClass = "AUTONOMOUS_SELF_LOCATION" + LcsMoServiceClass_TRANSFER_TO_THIRD_PARTY LcsMoServiceClass = "TRANSFER_TO_THIRD_PARTY" +) diff --git a/models/models/model_lcs_priority.go b/models/models/model_lcs_priority.go new file mode 100644 index 00000000..89a796dd --- /dev/null +++ b/models/models/model_lcs_priority.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsPriority string + +// List of LcsPriority +const ( + LcsPriority_HIGHEST_PRIORITY LcsPriority = "HIGHEST_PRIORITY" + LcsPriority_NORMAL_PRIORITY LcsPriority = "NORMAL_PRIORITY" +) diff --git a/models/models/model_lcs_privacy.go b/models/models/model_lcs_privacy.go new file mode 100644 index 00000000..028d4ffc --- /dev/null +++ b/models/models/model_lcs_privacy.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsPrivacy struct { + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_lcs_privacy_data.go b/models/models/model_lcs_privacy_data.go new file mode 100644 index 00000000..26e6c301 --- /dev/null +++ b/models/models/model_lcs_privacy_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsPrivacyData struct { + Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` + UnrelatedClass *UnrelatedClass `json:"unrelatedClass,omitempty" yaml:"unrelatedClass" bson:"unrelatedClass,omitempty"` + PlmnOperatorClasses []PlmnOperatorClass `json:"plmnOperatorClasses,omitempty" yaml:"plmnOperatorClasses" bson:"plmnOperatorClasses,omitempty"` +} diff --git a/models/models/model_lcs_qos_class.go b/models/models/model_lcs_qos_class.go new file mode 100644 index 00000000..9f0898d5 --- /dev/null +++ b/models/models/model_lcs_qos_class.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsQosClass string + +// List of LcsQosClass +const ( + LcsQosClass_BEST_EFFORT LcsQosClass = "BEST_EFFORT" + LcsQosClass_ASSURED LcsQosClass = "ASSURED" + LcsQosClass_MULTIPLE_QOS LcsQosClass = "MULTIPLE_QOS" +) diff --git a/models/models/model_lcs_service_auth.go b/models/models/model_lcs_service_auth.go new file mode 100644 index 00000000..b1f89c90 --- /dev/null +++ b/models/models/model_lcs_service_auth.go @@ -0,0 +1,25 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LcsServiceAuth string + +// List of LcsServiceAuth +const ( + LcsServiceAuth_LOCATION_ALLOWED_WITH_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITH_NOTIFICATION" + LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" + LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_RESPONSE" + LcsServiceAuth_LOCATION_RESTRICTED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" + LcsServiceAuth_NOTIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_ONLY" + LcsServiceAuth_NOTIFICATION_AND_VERIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_AND_VERIFICATION_ONLY" +) diff --git a/models/models/model_ldr_type.go b/models/models/model_ldr_type.go new file mode 100644 index 00000000..7465c621 --- /dev/null +++ b/models/models/model_ldr_type.go @@ -0,0 +1,25 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LdrType string + +// List of LdrType +const ( + LdrType_UE_AVAILABLE LdrType = "UE_AVAILABLE" + LdrType_PERIODIC LdrType = "PERIODIC" + LdrType_ENTERING_INTO_AREA LdrType = "ENTERING_INTO_AREA" + LdrType_LEAVING_FROM_AREA LdrType = "LEAVING_FROM_AREA" + LdrType_BEING_INSIDE_AREA LdrType = "BEING_INSIDE_AREA" + LdrType_MOTION LdrType = "MOTION" +) diff --git a/models/models/model_limit_id_to_monitoring_key.go b/models/models/model_limit_id_to_monitoring_key.go new file mode 100644 index 00000000..3e58f8b5 --- /dev/null +++ b/models/models/model_limit_id_to_monitoring_key.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the limit identifier and the corresponding monitoring key for a given S-NSSAI and DNN. +type LimitIdToMonitoringKey struct { + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + Monkey []string `json:"monkey,omitempty" yaml:"monkey" bson:"monkey,omitempty"` +} diff --git a/models/models/model_line_type.go b/models/models/model_line_type.go new file mode 100644 index 00000000..7500cb5c --- /dev/null +++ b/models/models/model_line_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LineType string + +// List of LineType +const ( + LineType_DSL LineType = "DSL" + LineType_PON LineType = "PON" +) diff --git a/models/models/model_link.go b/models/models/model_link.go new file mode 100644 index 00000000..c0f0c611 --- /dev/null +++ b/models/models/model_link.go @@ -0,0 +1,19 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It contains the URI of the linked resource. +type Link struct { + // String providing an URI formatted according to RFC 3986. + Href string `json:"href,omitempty" yaml:"href" bson:"href,omitempty"` +} diff --git a/models/models/model_lmf_info.go b/models/models/model_lmf_info.go new file mode 100644 index 00000000..dfe3dcf5 --- /dev/null +++ b/models/models/model_lmf_info.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an LMF NF Instance +type LmfInfo struct { + ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` + // LMF identification. + LmfId string `json:"lmfId,omitempty" yaml:"lmfId" bson:"lmfId,omitempty"` + ServingAccessTypes []AccessType `json:"servingAccessTypes,omitempty" yaml:"servingAccessTypes" bson:"servingAccessTypes,omitempty"` + ServingAnNodeTypes []AnNodeType `json:"servingAnNodeTypes,omitempty" yaml:"servingAnNodeTypes" bson:"servingAnNodeTypes,omitempty"` + ServingRatTypes []RatType `json:"servingRatTypes,omitempty" yaml:"servingRatTypes" bson:"servingRatTypes,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` +} diff --git a/models/models/model_lmf_location_cancel_loc_data.go b/models/models/model_lmf_location_cancel_loc_data.go new file mode 100644 index 00000000..ae22cfd5 --- /dev/null +++ b/models/models/model_lmf_location_cancel_loc_data.go @@ -0,0 +1,23 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within Cancel Location Request. +type LmfLocationCancelLocData struct { + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_lmf_location_event_notify_data.go b/models/models/model_lmf_location_event_notify_data.go new file mode 100644 index 00000000..c76737e1 --- /dev/null +++ b/models/models/model_lmf_location_event_notify_data.go @@ -0,0 +1,49 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Event Notify Request. +type LmfLocationEventNotifyData struct { + ReportedEventType ReportedEventType `json:"reportedEventType" yaml:"reportedEventType" bson:"reportedEventType,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + // LMF identification. + ServingLMFidentification string `json:"servingLMFidentification,omitempty" yaml:"servingLMFidentification" bson:"servingLMFidentification,omitempty"` + TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/models/model_lmf_location_geographical_coordinates.go b/models/models/model_lmf_location_geographical_coordinates.go new file mode 100644 index 00000000..2b14779f --- /dev/null +++ b/models/models/model_lmf_location_geographical_coordinates.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Geographical coordinates. +type LmfLocationGeographicalCoordinates struct { + Lon float64 `json:"lon" yaml:"lon" bson:"lon,omitempty"` + Lat float64 `json:"lat" yaml:"lat" bson:"lat,omitempty"` +} diff --git a/models/models/model_lmf_location_input_data.go b/models/models/model_lmf_location_input_data.go new file mode 100644 index 00000000..45a8dea4 --- /dev/null +++ b/models/models/model_lmf_location_input_data.go @@ -0,0 +1,71 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Determine Location Request. +type LmfLocationInputData struct { + ExternalClientType ExternalClientType `json:"externalClientType,omitempty" yaml:"externalClientType" bson:"externalClientType,omitempty"` + // LCS Correlation ID. + CorrelationID string `json:"correlationID,omitempty" yaml:"correlationID" bson:"correlationID,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + EcgiOnSecondNode *Ecgi `json:"ecgiOnSecondNode,omitempty" yaml:"ecgiOnSecondNode" bson:"ecgiOnSecondNode,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + NcgiOnSecondNode *Ncgi `json:"ncgiOnSecondNode,omitempty" yaml:"ncgiOnSecondNode" bson:"ncgiOnSecondNode,omitempty"` + Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` + UeLcsCap *UeLcsCapability `json:"ueLcsCap,omitempty" yaml:"ueLcsCap" bson:"ueLcsCap,omitempty"` + // LCS service type. + LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` + LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // String providing an URI formatted according to RFC 3986. + VgmlcAddress string `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + ReportingAccessTypes []ReportingAccessType `json:"reportingAccessTypes,omitempty" yaml:"reportingAccessTypes" bson:"reportingAccessTypes,omitempty"` + UeConnectivityStates *UeConnectivityState `json:"ueConnectivityStates,omitempty" yaml:"ueConnectivityStates" bson:"ueConnectivityStates,omitempty"` + UeLocationServiceInd UeLocationServiceInd `json:"ueLocationServiceInd,omitempty" yaml:"ueLocationServiceInd" bson:"ueLocationServiceInd,omitempty"` + MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` + LppMessage *RefToBinaryData `json:"lppMessage,omitempty" yaml:"lppMessage" bson:"lppMessage,omitempty"` + // Indicates the lpp message extension. + LppMessageExt []RefToBinaryData `json:"lppMessageExt,omitempty" yaml:"lppMessageExt" bson:"lppMessageExt,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` + TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` + UeCountryDetInd bool `json:"ueCountryDetInd,omitempty" yaml:"ueCountryDetInd" bson:"ueCountryDetInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` + ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` + IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` +} diff --git a/models/models/model_lmf_location_location_data.go b/models/models/model_lmf_location_location_data.go new file mode 100644 index 00000000..8333d480 --- /dev/null +++ b/models/models/model_lmf_location_location_data.go @@ -0,0 +1,48 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Determine Location Response. +type LmfLocationLocationData struct { + LocationEstimate *GeographicArea `json:"locationEstimate" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + UeAreaInd *UeAreaIndication `json:"ueAreaInd,omitempty" yaml:"ueAreaInd" bson:"ueAreaInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/models/model_lmf_location_termination_cause.go b/models/models/model_lmf_location_termination_cause.go new file mode 100644 index 00000000..3e3684ad --- /dev/null +++ b/models/models/model_lmf_location_termination_cause.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LmfLocationTerminationCause string + +// List of LmfLocationTerminationCause +const ( + LmfLocationTerminationCause_TERMINATION_BY_UE LmfLocationTerminationCause = "TERMINATION_BY_UE" + LmfLocationTerminationCause_TERMINATION_BY_NETWORK LmfLocationTerminationCause = "TERMINATION_BY_NETWORK" + LmfLocationTerminationCause_NORMAL_TERMINATION LmfLocationTerminationCause = "NORMAL_TERMINATION" +) diff --git a/models/models/model_loc_context_data.go b/models/models/model_loc_context_data.go new file mode 100644 index 00000000..e2fa6232 --- /dev/null +++ b/models/models/model_loc_context_data.go @@ -0,0 +1,50 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information within Transfer Location Context Request. +type LocContextData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` + LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` + SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + LdrType LdrType `json:"ldrType" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + EventReportMessage *EventReportMessage `json:"eventReportMessage" yaml:"eventReportMessage" bson:"eventReportMessage,omitempty"` + EventReportingStatus *EventReportingStatus `json:"eventReportingStatus,omitempty" yaml:"eventReportingStatus" bson:"eventReportingStatus,omitempty"` + UeLocationInfo *UeLocationInfo `json:"ueLocationInfo,omitempty" yaml:"ueLocationInfo" bson:"ueLocationInfo,omitempty"` + CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` +} diff --git a/models/models/model_local2d_point_uncertainty_ellipse.go b/models/models/model_local2d_point_uncertainty_ellipse.go new file mode 100644 index 00000000..28281f00 --- /dev/null +++ b/models/models/model_local2d_point_uncertainty_ellipse.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local 2D point with uncertainty ellipse +type Local2dPointUncertaintyEllipse struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_local3d_point_uncertainty_ellipsoid.go b/models/models/model_local3d_point_uncertainty_ellipsoid.go new file mode 100644 index 00000000..af915926 --- /dev/null +++ b/models/models/model_local3d_point_uncertainty_ellipsoid.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local 3D point with uncertainty ellipsoid +type Local3dPointUncertaintyEllipsoid struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_local_area.go b/models/models/model_local_area.go new file mode 100644 index 00000000..b88207d1 --- /dev/null +++ b/models/models/model_local_area.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Local area specified by different shape +type LocalArea struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` + Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` + UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` +} diff --git a/models/models/model_local_origin.go b/models/models/model_local_origin.go new file mode 100644 index 00000000..cffe0b24 --- /dev/null +++ b/models/models/model_local_origin.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates a Local origin in a reference system +type LocalOrigin struct { + CoordinateId string `json:"coordinateId,omitempty" yaml:"coordinateId" bson:"coordinateId,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point,omitempty" yaml:"point" bson:"point,omitempty"` +} diff --git a/models/models/model_location_area5_g.go b/models/models/model_location_area5_g.go new file mode 100644 index 00000000..b680cf00 --- /dev/null +++ b/models/models/model_location_area5_g.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a user location area when the UE is attached to 5G. +type LocationArea5G struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` +} diff --git a/models/models/model_location_area_id.go b/models/models/model_location_area_id.go new file mode 100644 index 00000000..ebce9d2c --- /dev/null +++ b/models/models/model_location_area_id.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Location area identification as defined in 3GPP TS 23.003, clause 4.1. +type LocationAreaId struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code. + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` +} diff --git a/models/models/model_location_filter.go b/models/models/model_location_filter.go new file mode 100644 index 00000000..9b34c459 --- /dev/null +++ b/models/models/model_location_filter.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationFilter string + +// List of LocationFilter +const ( + LocationFilter_TAI LocationFilter = "TAI" + LocationFilter_CELL_ID LocationFilter = "CELL_ID" + LocationFilter_RAN_NODE LocationFilter = "RAN_NODE" + LocationFilter_N3_IWF LocationFilter = "N3IWF" + LocationFilter_UE_IP LocationFilter = "UE_IP" + LocationFilter_UDP_PORT LocationFilter = "UDP_PORT" + LocationFilter_TNAP_ID LocationFilter = "TNAP_ID" + LocationFilter_GLI LocationFilter = "GLI" + LocationFilter_TWAP_ID LocationFilter = "TWAP_ID" +) diff --git a/models/models/model_location_info.go b/models/models/model_location_info.go new file mode 100644 index 00000000..027fb002 --- /dev/null +++ b/models/models/model_location_info.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationInfo struct { +} diff --git a/models/models/model_location_info_request.go b/models/models/model_location_info_request.go new file mode 100644 index 00000000..21c81c9f --- /dev/null +++ b/models/models/model_location_info_request.go @@ -0,0 +1,24 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information to be sent in a location information request. It contains the requested information, i.e. current location, local time zone, RAT type, or serving node identity only. +type LocationInfoRequest struct { + Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` + ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` + ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` + ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` + ReqServingNode bool `json:"reqServingNode,omitempty" yaml:"reqServingNode" bson:"reqServingNode,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_location_info_result.go b/models/models/model_location_info_result.go new file mode 100644 index 00000000..4724aecd --- /dev/null +++ b/models/models/model_location_info_result.go @@ -0,0 +1,34 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the requested location information. +type LocationInfoResult struct { + VPlmnId *PlmnId `json:"vPlmnId,omitempty" yaml:"vPlmnId" bson:"vPlmnId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId,omitempty" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` + GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` + // Indicates value of the age of the location estimate. + LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_location_privacy_ind.go b/models/models/model_location_privacy_ind.go new file mode 100644 index 00000000..caf3b5c6 --- /dev/null +++ b/models/models/model_location_privacy_ind.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationPrivacyInd string + +// List of LocationPrivacyInd +const ( + LocationPrivacyInd_DISALLOWED LocationPrivacyInd = "LOCATION_DISALLOWED" + LocationPrivacyInd_ALLOWED LocationPrivacyInd = "LOCATION_ALLOWED" +) diff --git a/models/models/model_location_privacy_ver_result.go b/models/models/model_location_privacy_ver_result.go new file mode 100644 index 00000000..15fbaeea --- /dev/null +++ b/models/models/model_location_privacy_ver_result.go @@ -0,0 +1,22 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationPrivacyVerResult string + +// List of LocationPrivacyVerResult +const ( + LocationPrivacyVerResult_LOCATION_ALLOWED LocationPrivacyVerResult = "LOCATION_ALLOWED" + LocationPrivacyVerResult_LOCATION_NOT_ALLOWED LocationPrivacyVerResult = "LOCATION_NOT_ALLOWED" + LocationPrivacyVerResult_RESPONSE_TIME_OUT LocationPrivacyVerResult = "RESPONSE_TIME_OUT" +) diff --git a/models/models/model_location_qo_s.go b/models/models/model_location_qo_s.go new file mode 100644 index 00000000..ab543a7f --- /dev/null +++ b/models/models/model_location_qo_s.go @@ -0,0 +1,25 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS of Location request. +type LocationQoS struct { + // Indicates value of accuracy. + HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` + // Indicates value of accuracy. + VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` + VerticalRequested bool `json:"verticalRequested,omitempty" yaml:"verticalRequested" bson:"verticalRequested,omitempty"` + ResponseTime ResponseTime `json:"responseTime,omitempty" yaml:"responseTime" bson:"responseTime,omitempty"` + MinorLocQoses []MinorLocationQoS `json:"minorLocQoses,omitempty" yaml:"minorLocQoses" bson:"minorLocQoses,omitempty"` + LcsQosClass LcsQosClass `json:"lcsQosClass,omitempty" yaml:"lcsQosClass" bson:"lcsQosClass,omitempty"` +} diff --git a/models/models/model_location_report.go b/models/models/model_location_report.go new file mode 100644 index 00000000..26aebf18 --- /dev/null +++ b/models/models/model_location_report.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationReport struct { + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` +} diff --git a/models/models/model_location_reporting_charging_information.go b/models/models/model_location_reporting_charging_information.go new file mode 100644 index 00000000..a1121b55 --- /dev/null +++ b/models/models/model_location_reporting_charging_information.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LocationReportingChargingInformation struct { + LocationReportingMessageType int32 `json:"locationReportingMessageType" yaml:"locationReportingMessageType" bson:"locationReportingMessageType,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` +} diff --git a/models/models/model_logging_duration_mdt.go b/models/models/model_logging_duration_mdt.go new file mode 100644 index 00000000..467b2d76 --- /dev/null +++ b/models/models/model_logging_duration_mdt.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingDurationMdt string + +// List of LoggingDurationMdt +const ( + LoggingDurationMdt__600 LoggingDurationMdt = "600" + LoggingDurationMdt__1200 LoggingDurationMdt = "1200" + LoggingDurationMdt__2400 LoggingDurationMdt = "2400" + LoggingDurationMdt__3600 LoggingDurationMdt = "3600" + LoggingDurationMdt__5400 LoggingDurationMdt = "5400" + LoggingDurationMdt__7200 LoggingDurationMdt = "7200" +) diff --git a/models/models/model_logging_duration_nr_mdt.go b/models/models/model_logging_duration_nr_mdt.go new file mode 100644 index 00000000..55b8f1cd --- /dev/null +++ b/models/models/model_logging_duration_nr_mdt.go @@ -0,0 +1,25 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingDurationNrMdt string + +// List of LoggingDurationNrMdt +const ( + LoggingDurationNrMdt__600 LoggingDurationNrMdt = "600" + LoggingDurationNrMdt__1200 LoggingDurationNrMdt = "1200" + LoggingDurationNrMdt__2400 LoggingDurationNrMdt = "2400" + LoggingDurationNrMdt__3600 LoggingDurationNrMdt = "3600" + LoggingDurationNrMdt__5400 LoggingDurationNrMdt = "5400" + LoggingDurationNrMdt__7200 LoggingDurationNrMdt = "7200" +) diff --git a/models/models/model_logging_interval_mdt.go b/models/models/model_logging_interval_mdt.go new file mode 100644 index 00000000..7dea9c62 --- /dev/null +++ b/models/models/model_logging_interval_mdt.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingIntervalMdt string + +// List of LoggingIntervalMdt +const ( + LoggingIntervalMdt__128 LoggingIntervalMdt = "128" + LoggingIntervalMdt__256 LoggingIntervalMdt = "256" + LoggingIntervalMdt__512 LoggingIntervalMdt = "512" + LoggingIntervalMdt__1024 LoggingIntervalMdt = "1024" + LoggingIntervalMdt__2048 LoggingIntervalMdt = "2048" + LoggingIntervalMdt__3072 LoggingIntervalMdt = "3072" + LoggingIntervalMdt__4096 LoggingIntervalMdt = "4096" + LoggingIntervalMdt__6144 LoggingIntervalMdt = "6144" +) diff --git a/models/models/model_logging_interval_nr_mdt.go b/models/models/model_logging_interval_nr_mdt.go new file mode 100644 index 00000000..36e50bd2 --- /dev/null +++ b/models/models/model_logging_interval_nr_mdt.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LoggingIntervalNrMdt string + +// List of LoggingIntervalNrMdt +const ( + LoggingIntervalNrMdt__128 LoggingIntervalNrMdt = "128" + LoggingIntervalNrMdt__256 LoggingIntervalNrMdt = "256" + LoggingIntervalNrMdt__512 LoggingIntervalNrMdt = "512" + LoggingIntervalNrMdt__1024 LoggingIntervalNrMdt = "1024" + LoggingIntervalNrMdt__2048 LoggingIntervalNrMdt = "2048" + LoggingIntervalNrMdt__3072 LoggingIntervalNrMdt = "3072" + LoggingIntervalNrMdt__4096 LoggingIntervalNrMdt = "4096" + LoggingIntervalNrMdt__6144 LoggingIntervalNrMdt = "6144" + LoggingIntervalNrMdt__320 LoggingIntervalNrMdt = "320" + LoggingIntervalNrMdt__640 LoggingIntervalNrMdt = "640" + LoggingIntervalNrMdt_INFINITY LoggingIntervalNrMdt = "infinity" +) diff --git a/models/models/model_loose_route_indication.go b/models/models/model_loose_route_indication.go new file mode 100644 index 00000000..15d33c2d --- /dev/null +++ b/models/models/model_loose_route_indication.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LooseRouteIndication string + +// List of LooseRouteIndication +const ( + LooseRouteIndication_NOT_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_NOT_REQUIRED" + LooseRouteIndication_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_REQUIRED" +) diff --git a/models/models/model_loss_connectivity_cfg.go b/models/models/model_loss_connectivity_cfg.go new file mode 100644 index 00000000..11590622 --- /dev/null +++ b/models/models/model_loss_connectivity_cfg.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossConnectivityCfg struct { + // indicating a time in seconds. + MaxDetectionTime int32 `json:"maxDetectionTime,omitempty" yaml:"maxDetectionTime" bson:"maxDetectionTime,omitempty"` +} diff --git a/models/models/model_loss_connectivity_report.go b/models/models/model_loss_connectivity_report.go new file mode 100644 index 00000000..441f57e8 --- /dev/null +++ b/models/models/model_loss_connectivity_report.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossConnectivityReport struct { + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` +} diff --git a/models/models/model_loss_of_connectivity_reason.go b/models/models/model_loss_of_connectivity_reason.go new file mode 100644 index 00000000..45eac9e7 --- /dev/null +++ b/models/models/model_loss_of_connectivity_reason.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type LossOfConnectivityReason string + +// List of LossOfConnectivityReason +const ( + LossOfConnectivityReason_DEREGISTERED LossOfConnectivityReason = "DEREGISTERED" + LossOfConnectivityReason_MAX_DETECTION_TIME_EXPIRED LossOfConnectivityReason = "MAX_DETECTION_TIME_EXPIRED" + LossOfConnectivityReason_PURGED LossOfConnectivityReason = "PURGED" +) diff --git a/models/models/model_lpi.go b/models/models/model_lpi.go new file mode 100644 index 00000000..6f1666fe --- /dev/null +++ b/models/models/model_lpi.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Lpi struct { + LocationPrivacyInd LocationPrivacyInd `json:"locationPrivacyInd" yaml:"locationPrivacyInd" bson:"locationPrivacyInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` +} diff --git a/models/models/model_lte_m_ind.go b/models/models/model_lte_m_ind.go new file mode 100644 index 00000000..8880e659 --- /dev/null +++ b/models/models/model_lte_m_ind.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// LTE-M Indication. +type LteMInd struct { + LteCatMInd bool `json:"lteCatMInd" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` +} diff --git a/models/models/model_lte_v2x_auth.go b/models/models/model_lte_v2x_auth.go new file mode 100644 index 00000000..a9ac00c9 --- /dev/null +++ b/models/models/model_lte_v2x_auth.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains LTE V2X services authorized information. +type LteV2xAuth struct { + VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` + PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` +} diff --git a/models/models/model_m5_qo_s_specification.go b/models/models/model_m5_qo_s_specification.go new file mode 100644 index 00000000..6c121e47 --- /dev/null +++ b/models/models/model_m5_qo_s_specification.go @@ -0,0 +1,30 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type M5QoSSpecification struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDlBitRate string `json:"marBwDlBitRate" yaml:"marBwDlBitRate" bson:"marBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUlBitRate string `json:"marBwUlBitRate" yaml:"marBwUlBitRate" bson:"marBwUlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwDlBitRate string `json:"minDesBwDlBitRate,omitempty" yaml:"minDesBwDlBitRate" bson:"minDesBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwUlBitRate string `json:"minDesBwUlBitRate,omitempty" yaml:"minDesBwUlBitRate" bson:"minDesBwUlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDlBitRate string `json:"mirBwDlBitRate" yaml:"mirBwDlBitRate" bson:"mirBwDlBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUlBitRate string `json:"mirBwUlBitRate" yaml:"mirBwUlBitRate" bson:"mirBwUlBitRate,omitempty"` + DesLatency int32 `json:"desLatency,omitempty" yaml:"desLatency" bson:"desLatency,omitempty"` + DesLoss int32 `json:"desLoss,omitempty" yaml:"desLoss" bson:"desLoss,omitempty"` +} diff --git a/models/models/model_ma_pdu_indication.go b/models/models/model_ma_pdu_indication.go new file mode 100644 index 00000000..6f555bc2 --- /dev/null +++ b/models/models/model_ma_pdu_indication.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MaPduIndication string + +// List of MaPduIndication +const ( + MaPduIndication_REQUEST MaPduIndication = "MA_PDU_REQUEST" + MaPduIndication_NETWORK_UPGRADE_ALLOWED MaPduIndication = "MA_PDU_NETWORK_UPGRADE_ALLOWED" +) diff --git a/models/models/model_ma_release_indication.go b/models/models/model_ma_release_indication.go new file mode 100644 index 00000000..c7cc547d --- /dev/null +++ b/models/models/model_ma_release_indication.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MaReleaseIndication string + +// List of MaReleaseIndication +const ( + MaReleaseIndication__3_GPP MaReleaseIndication = "REL_MAPDU_OVER_3GPP" + MaReleaseIndication_N3_GPP MaReleaseIndication = "REL_MAPDU_OVER_N3GPP" +) diff --git a/models/models/model_management_operation.go b/models/models/model_management_operation.go new file mode 100644 index 00000000..00499562 --- /dev/null +++ b/models/models/model_management_operation.go @@ -0,0 +1,28 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ManagementOperation string + +// List of ManagementOperation +const ( + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_CREATE_MOI ManagementOperation = "CreateMOI" + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_MODIFY_MOI_ATTRIBUTES ManagementOperation = "ModifyMOIAttributes" + ManagementOperation_FOR_BACKWARD_COMPATIBILITY_DELETE_MOI ManagementOperation = "DeleteMOI" + ManagementOperation_CREATE_MOI ManagementOperation = "CREATE_MOI" + ManagementOperation_MODIFY_MOI_ATTR ManagementOperation = "MODIFY_MOI_ATTR" + ManagementOperation_DELETE_MOI ManagementOperation = "DELETE_MOI" + ManagementOperation_NOTIFY_MOI_CREATION ManagementOperation = "NOTIFY_MOI_CREATION" + ManagementOperation_NOTIFY_MOI_ATTR_CHANGE ManagementOperation = "NOTIFY_MOI_ATTR_CHANGE" + ManagementOperation_NOTIFY_MOI_DELETION ManagementOperation = "NOTIFY_MOI_DELETION" +) diff --git a/models/models/model_management_operation_status.go b/models/models/model_management_operation_status.go new file mode 100644 index 00000000..2649c421 --- /dev/null +++ b/models/models/model_management_operation_status.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ManagementOperationStatus string + +// List of ManagementOperationStatus +const ( + ManagementOperationStatus_SUCCEEDED ManagementOperationStatus = "OPERATION_SUCCEEDED" + ManagementOperationStatus_FAILED ManagementOperationStatus = "OPERATION_FAILED" +) diff --git a/models/models/model_mapdu_session_information.go b/models/models/model_mapdu_session_information.go new file mode 100644 index 00000000..092185c3 --- /dev/null +++ b/models/models/model_mapdu_session_information.go @@ -0,0 +1,18 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MapduSessionInformation struct { + MAPDUSessionIndicator MaPduIndication `json:"mAPDUSessionIndicator,omitempty" yaml:"mAPDUSessionIndicator" bson:"mAPDUSessionIndicator,omitempty"` + ATSSSCapability *AtsssCapability `json:"aTSSSCapability,omitempty" yaml:"aTSSSCapability" bson:"aTSSSCapability,omitempty"` +} diff --git a/models/models/model_mapping_of_snssai.go b/models/models/model_mapping_of_snssai.go new file mode 100644 index 00000000..141401f0 --- /dev/null +++ b/models/models/model_mapping_of_snssai.go @@ -0,0 +1,19 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the mapping of S-NSSAI in the serving network and the value of the home network +type MappingOfSnssai struct { + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` +} diff --git a/models/models/model_matching_direction.go b/models/models/model_matching_direction.go new file mode 100644 index 00000000..da3d8b31 --- /dev/null +++ b/models/models/model_matching_direction.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MatchingDirection string + +// List of MatchingDirection +const ( + MatchingDirection_ASCENDING MatchingDirection = "ASCENDING" + MatchingDirection_DESCENDING MatchingDirection = "DESCENDING" + MatchingDirection_CROSSED MatchingDirection = "CROSSED" +) diff --git a/models/models/model_matching_operator.go b/models/models/model_matching_operator.go new file mode 100644 index 00000000..18f63ec9 --- /dev/null +++ b/models/models/model_matching_operator.go @@ -0,0 +1,27 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MatchingOperator string + +// List of MatchingOperator +const ( + MatchingOperator_FULL_MATCH MatchingOperator = "FULL_MATCH" + MatchingOperator_MATCH_ALL MatchingOperator = "MATCH_ALL" + MatchingOperator_STARTS_WITH MatchingOperator = "STARTS_WITH" + MatchingOperator_NOT_START_WITH MatchingOperator = "NOT_START_WITH" + MatchingOperator_ENDS_WITH MatchingOperator = "ENDS_WITH" + MatchingOperator_NOT_END_WITH MatchingOperator = "NOT_END_WITH" + MatchingOperator_CONTAINS MatchingOperator = "CONTAINS" + MatchingOperator_NOT_CONTAIN MatchingOperator = "NOT_CONTAIN" +) diff --git a/models/models/model_max_integrity_protected_data_rate.go b/models/models/model_max_integrity_protected_data_rate.go new file mode 100644 index 00000000..764b2eb9 --- /dev/null +++ b/models/models/model_max_integrity_protected_data_rate.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MaxIntegrityProtectedDataRate string + +// List of MaxIntegrityProtectedDataRate +const ( + MaxIntegrityProtectedDataRate__64_KBPS MaxIntegrityProtectedDataRate = "64_KBPS" + MaxIntegrityProtectedDataRate_MAX_UE_RATE MaxIntegrityProtectedDataRate = "MAX_UE_RATE" +) diff --git a/models/models/model_mb_smf_info.go b/models/models/model_mb_smf_info.go new file mode 100644 index 00000000..f1b518c2 --- /dev/null +++ b/models/models/model_mb_smf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MB-SMF NF Instance +type MbSmfInfo struct { + // A map (list of key-value pairs) where a valid JSON string serves as key + SNssaiInfoList map[string]SnssaiMbSmfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + // A map (list of key-value pairs) where a valid JSON string serves as key + TmgiRangeList map[string]TmgiRange `json:"tmgiRangeList,omitempty" yaml:"tmgiRangeList" bson:"tmgiRangeList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // A map (list of key-value pairs) where a valid JSON string serves as key + MbsSessionList map[string]NrfNfManagementMbsSession `json:"mbsSessionList,omitempty" yaml:"mbsSessionList" bson:"mbsSessionList,omitempty"` +} diff --git a/models/models/model_mb_upf_info.go b/models/models/model_mb_upf_info.go new file mode 100644 index 00000000..122f9249 --- /dev/null +++ b/models/models/model_mb_upf_info.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MB-UPF NF Instance +type MbUpfInfo struct { + SNssaiMbUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiMbUpfInfoList" yaml:"sNssaiMbUpfInfoList" bson:"sNssaiMbUpfInfoList,omitempty"` + MbSmfServingArea []string `json:"mbSmfServingArea,omitempty" yaml:"mbSmfServingArea" bson:"mbSmfServingArea,omitempty"` + InterfaceMbUpfInfoList []InterfaceUpfInfoItem `json:"interfaceMbUpfInfoList,omitempty" yaml:"interfaceMbUpfInfoList" bson:"interfaceMbUpfInfoList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` +} diff --git a/models/models/model_mbs_app_session_ctxt.go b/models/models/model_mbs_app_session_ctxt.go new file mode 100644 index 00000000..4aa057b0 --- /dev/null +++ b/models/models/model_mbs_app_session_ctxt.go @@ -0,0 +1,28 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameter of an MBS Application Session Context. +type MbsAppSessionCtxt struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` + ReqForLocDepMbs bool `json:"reqForLocDepMbs,omitempty" yaml:"reqForLocDepMbs" bson:"reqForLocDepMbs,omitempty"` + ContactPcfInd bool `json:"contactPcfInd,omitempty" yaml:"contactPcfInd" bson:"contactPcfInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_mbs_app_session_ctxt_patch.go b/models/models/model_mbs_app_session_ctxt_patch.go new file mode 100644 index 00000000..907b3d22 --- /dev/null +++ b/models/models/model_mbs_app_session_ctxt_patch.go @@ -0,0 +1,18 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the modifications to an existing MBS Application Session Context resource. +type MbsAppSessionCtxtPatch struct { + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` +} diff --git a/models/models/model_mbs_error_report.go b/models/models/model_mbs_error_report.go new file mode 100644 index 00000000..220e42b9 --- /dev/null +++ b/models/models/model_mbs_error_report.go @@ -0,0 +1,18 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the reporting of MBS Policy decision level failure(s) and/or MBS PCC rule level failure(s). +type MbsErrorReport struct { + MbsReports []MbsReport `json:"mbsReports,omitempty" yaml:"mbsReports" bson:"mbsReports,omitempty"` +} diff --git a/models/models/model_mbs_failure_code.go b/models/models/model_mbs_failure_code.go new file mode 100644 index 00000000..dddc5967 --- /dev/null +++ b/models/models/model_mbs_failure_code.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsFailureCode string + +// List of MbsFailureCode +const ( + MbsFailureCode_NF_MALFUNCTION MbsFailureCode = "NF_MALFUNCTION" + MbsFailureCode_NF_RESOURCES_UNAVAILABLE MbsFailureCode = "NF_RESOURCES_UNAVAILABLE" + MbsFailureCode_RESOURCE_ALLOCATION_FAILURE MbsFailureCode = "RESOURCE_ALLOCATION_FAILURE" + MbsFailureCode_MBS_QOS_VALIDATION_FAILURE MbsFailureCode = "MBS_QOS_VALIDATION_FAILURE" + MbsFailureCode_NO_MBS_QOS_FLOW MbsFailureCode = "NO_MBS_QOS_FLOW" + MbsFailureCode_MBS_QOS_DECISION_ERROR MbsFailureCode = "MBS_QOS_DECISION_ERROR" + MbsFailureCode_MBS_POLICY_PARAM_ERROR MbsFailureCode = "MBS_POLICY_PARAM_ERROR" +) diff --git a/models/models/model_mbs_media_comp.go b/models/models/model_mbs_media_comp.go new file mode 100644 index 00000000..56753566 --- /dev/null +++ b/models/models/model_mbs_media_comp.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an MBS Media Component. +type MbsMediaComp struct { + MbsMedCompNum int32 `json:"mbsMedCompNum" yaml:"mbsMedCompNum" bson:"mbsMedCompNum,omitempty"` + MbsFlowDescs []string `json:"mbsFlowDescs,omitempty" yaml:"mbsFlowDescs" bson:"mbsFlowDescs,omitempty"` + MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` + MbsMediaInfo *MbsMediaInfo `json:"mbsMediaInfo,omitempty" yaml:"mbsMediaInfo" bson:"mbsMediaInfo,omitempty"` + QosRef string `json:"qosRef,omitempty" yaml:"qosRef" bson:"qosRef,omitempty"` + MbsQoSReq *MbsQoSReq `json:"mbsQoSReq,omitempty" yaml:"mbsQoSReq" bson:"mbsQoSReq,omitempty"` +} diff --git a/models/models/model_mbs_media_comp_rm.go b/models/models/model_mbs_media_comp_rm.go new file mode 100644 index 00000000..730a898b --- /dev/null +++ b/models/models/model_mbs_media_comp_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsMediaCompRm struct { +} diff --git a/models/models/model_mbs_media_info.go b/models/models/model_mbs_media_info.go new file mode 100644 index 00000000..8d800bb5 --- /dev/null +++ b/models/models/model_mbs_media_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS Media Information. +type MbsMediaInfo struct { + MbsMedType MediaType `json:"mbsMedType,omitempty" yaml:"mbsMedType" bson:"mbsMedType,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxReqMbsBwDl string `json:"maxReqMbsBwDl,omitempty" yaml:"maxReqMbsBwDl" bson:"maxReqMbsBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinReqMbsBwDl string `json:"minReqMbsBwDl,omitempty" yaml:"minReqMbsBwDl" bson:"minReqMbsBwDl,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` +} diff --git a/models/models/model_mbs_n2_message_transfer_req_data.go b/models/models/model_mbs_n2_message_transfer_req_data.go new file mode 100644 index 00000000..f35219a8 --- /dev/null +++ b/models/models/model_mbs_n2_message_transfer_req_data.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within MBS N2 Message Transfer Request +type MbsN2MessageTransferReqData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + N2MbsSmInfo *AmfMbsCommunicationN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_mbs_n2_message_transfer_rsp_data.go b/models/models/model_mbs_n2_message_transfer_rsp_data.go new file mode 100644 index 00000000..b724e843 --- /dev/null +++ b/models/models/model_mbs_n2_message_transfer_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within MBS N2 Message Transfer Response +type MbsN2MessageTransferRspData struct { + Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_mbs_ngap_ie_type.go b/models/models/model_mbs_ngap_ie_type.go new file mode 100644 index 00000000..370c2091 --- /dev/null +++ b/models/models/model_mbs_ngap_ie_type.go @@ -0,0 +1,22 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsNgapIeType string + +// List of MbsNgapIeType +const ( + MbsNgapIeType_ACT_REQ MbsNgapIeType = "MBS_SES_ACT_REQ" + MbsNgapIeType_DEACT_REQ MbsNgapIeType = "MBS_SES_DEACT_REQ" + MbsNgapIeType_UPD_REQ MbsNgapIeType = "MBS_SES_UPD_REQ" +) diff --git a/models/models/model_mbs_pcc_rule.go b/models/models/model_mbs_pcc_rule.go new file mode 100644 index 00000000..3a1505d7 --- /dev/null +++ b/models/models/model_mbs_pcc_rule.go @@ -0,0 +1,22 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS PCC rule. +type MbsPccRule struct { + MbsPccRuleId string `json:"mbsPccRuleId" yaml:"mbsPccRuleId" bson:"mbsPccRuleId,omitempty"` + MbsDlIpFlowInfo []string `json:"mbsDlIpFlowInfo,omitempty" yaml:"mbsDlIpFlowInfo" bson:"mbsDlIpFlowInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + RefMbsQosDec []string `json:"refMbsQosDec,omitempty" yaml:"refMbsQosDec" bson:"refMbsQosDec,omitempty"` +} diff --git a/models/models/model_mbs_pcc_rule_status.go b/models/models/model_mbs_pcc_rule_status.go new file mode 100644 index 00000000..f97ccf34 --- /dev/null +++ b/models/models/model_mbs_pcc_rule_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsPccRuleStatus string + +// List of MbsPccRuleStatus +const ( + MbsPccRuleStatus_ACTIVE MbsPccRuleStatus = "ACTIVE" + MbsPccRuleStatus_INACTIVE MbsPccRuleStatus = "INACTIVE" +) diff --git a/models/models/model_mbs_pcrt.go b/models/models/model_mbs_pcrt.go new file mode 100644 index 00000000..a738c195 --- /dev/null +++ b/models/models/model_mbs_pcrt.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MbsPcrt string + +// List of MbsPcrt +const ( + MbsPcrt_MBS_SESSION_UPDATE MbsPcrt = "MBS_SESSION_UPDATE" +) diff --git a/models/models/model_mbs_policy_ctxt_data.go b/models/models/model_mbs_policy_ctxt_data.go new file mode 100644 index 00000000..73cf54a9 --- /dev/null +++ b/models/models/model_mbs_policy_ctxt_data.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the parameters used to request the creation of an MBS Policy Association. +type MbsPolicyCtxtData struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_mbs_policy_ctxt_data_update.go b/models/models/model_mbs_policy_ctxt_data_update.go new file mode 100644 index 00000000..471c0c0a --- /dev/null +++ b/models/models/model_mbs_policy_ctxt_data_update.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the parameters to request the modification of an existing MBS Policy Association. +type MbsPolicyCtxtDataUpdate struct { + MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` + MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` + MbsErrorReport *MbsErrorReport `json:"mbsErrorReport,omitempty" yaml:"mbsErrorReport" bson:"mbsErrorReport,omitempty"` +} diff --git a/models/models/model_mbs_policy_data.go b/models/models/model_mbs_policy_data.go new file mode 100644 index 00000000..4fe07a5b --- /dev/null +++ b/models/models/model_mbs_policy_data.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the MBS policy data provisioned as part of an MBS Policy Association. +type MbsPolicyData struct { + MbsPolicyCtxtData *MbsPolicyCtxtData `json:"mbsPolicyCtxtData" yaml:"mbsPolicyCtxtData" bson:"mbsPolicyCtxtData,omitempty"` + MbsPolicies *MbsPolicyDecision `json:"mbsPolicies,omitempty" yaml:"mbsPolicies" bson:"mbsPolicies,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_mbs_policy_decision.go b/models/models/model_mbs_policy_decision.go new file mode 100644 index 00000000..fb2b2a1c --- /dev/null +++ b/models/models/model_mbs_policy_decision.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS Policy Decision. +type MbsPolicyDecision struct { + // A map of MBS PCC rule(s) with each map entry containing the MbsPccRule data structure. The key of the map for each entry is the mbsPccRuleId attribute of the corresponding MbsPccRule data structure. + MbsPccRules map[string]MbsPccRule `json:"mbsPccRules,omitempty" yaml:"mbsPccRules" bson:"mbsPccRules,omitempty"` + // A map of MBS QoS Decision(s) with each map entry containing the MbsQosDec data structure. The key of the map for each entry is the mbsQosId attribute of the corresponding MbsQosDec data structure. + MbsQosDecs map[string]MbsQosDec `json:"mbsQosDecs,omitempty" yaml:"mbsQosDecs" bson:"mbsQosDecs,omitempty"` + // A map of MBS QoS Characteristics set(s) with each map entry containing the MbsQosChar data structure. The key of the map for each entry is the 5QI attribute of the corresponding MbsQosDec data structure. + MbsQosChars map[string]MbsQosChar `json:"mbsQosChars,omitempty" yaml:"mbsQosChars" bson:"mbsQosChars,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AuthMbsSessAmbr string `json:"authMbsSessAmbr,omitempty" yaml:"authMbsSessAmbr" bson:"authMbsSessAmbr,omitempty"` + MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` +} diff --git a/models/models/model_mbs_qo_s_req.go b/models/models/model_mbs_qo_s_req.go new file mode 100644 index 00000000..a3305e19 --- /dev/null +++ b/models/models/model_mbs_qo_s_req.go @@ -0,0 +1,26 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS QoS requirements. +type MbsQoSReq struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuarBitRate string `json:"guarBitRate,omitempty" yaml:"guarBitRate" bson:"guarBitRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRate string `json:"maxBitRate,omitempty" yaml:"maxBitRate" bson:"maxBitRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + ReqMbsArp *Arp `json:"reqMbsArp,omitempty" yaml:"reqMbsArp" bson:"reqMbsArp,omitempty"` +} diff --git a/models/models/model_mbs_qos_char.go b/models/models/model_mbs_qos_char.go new file mode 100644 index 00000000..efadf56d --- /dev/null +++ b/models/models/model_mbs_qos_char.go @@ -0,0 +1,30 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting a set of explicitly signalled QoS characteristics. +type MbsQosChar struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Represents the MBS Maximum Data Burst Volume expressed in Bytes. + MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` +} diff --git a/models/models/model_mbs_qos_dec.go b/models/models/model_mbs_qos_dec.go new file mode 100644 index 00000000..d4459db2 --- /dev/null +++ b/models/models/model_mbs_qos_dec.go @@ -0,0 +1,31 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters constituting an MBS QoS Decision. +type MbsQosDec struct { + MbsQosId string `json:"mbsQosId" yaml:"mbsQosId" bson:"mbsQosId,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Represents the MBS Maximum Data Burst Volume expressed in Bytes. + MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol,omitempty" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` +} diff --git a/models/models/model_mbs_report.go b/models/models/model_mbs_report.go new file mode 100644 index 00000000..53a5591b --- /dev/null +++ b/models/models/model_mbs_report.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about the MBS Policy Decision level failure(s) and/or the MBS PCC rule level failure(s). +type MbsReport struct { + MbsPccRuleIds []string `json:"mbsPccRuleIds,omitempty" yaml:"mbsPccRuleIds" bson:"mbsPccRuleIds,omitempty"` + MbsPccRuleStatus MbsPccRuleStatus `json:"mbsPccRuleStatus,omitempty" yaml:"mbsPccRuleStatus" bson:"mbsPccRuleStatus,omitempty"` + FailureCode MbsFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` +} diff --git a/models/models/model_mbs_service_area.go b/models/models/model_mbs_service_area.go new file mode 100644 index 00000000..3df9fdc3 --- /dev/null +++ b/models/models/model_mbs_service_area.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Service Area +type MbsServiceArea struct { + // List of NR cell Ids + NcgiList []NcgiTai `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // List of tracking area Ids + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/models/model_mbs_service_area_info.go b/models/models/model_mbs_service_area_info.go new file mode 100644 index 00000000..aef4d187 --- /dev/null +++ b/models/models/model_mbs_service_area_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Service Area Information for location dependent MBS session +type MbsServiceAreaInfo struct { + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + AreaSessionId int32 `json:"areaSessionId" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` + MbsServiceArea *MbsServiceArea `json:"mbsServiceArea" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` +} diff --git a/models/models/model_mbs_service_info.go b/models/models/model_mbs_service_info.go new file mode 100644 index 00000000..64925acb --- /dev/null +++ b/models/models/model_mbs_service_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represent MBS Service Information. +type MbsServiceInfo struct { + MbsMediaComps map[string]*MbsMediaComp `json:"mbsMediaComps" yaml:"mbsMediaComps" bson:"mbsMediaComps,omitempty"` + MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbsSessionAmbr string `json:"mbsSessionAmbr,omitempty" yaml:"mbsSessionAmbr" bson:"mbsSessionAmbr,omitempty"` +} diff --git a/models/models/model_mbs_session_id.go b/models/models/model_mbs_session_id.go new file mode 100644 index 00000000..eaca5ca1 --- /dev/null +++ b/models/models/model_mbs_session_id.go @@ -0,0 +1,21 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Session Identifier +type MbsSessionId struct { + Tmgi *Tmgi `json:"tmgi,omitempty" yaml:"tmgi" bson:"tmgi,omitempty"` + Ssm *Ssm `json:"ssm,omitempty" yaml:"ssm" bson:"ssm,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_mbs_subscription_data.go b/models/models/model_mbs_subscription_data.go new file mode 100644 index 00000000..24fd723a --- /dev/null +++ b/models/models/model_mbs_subscription_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the 5MBS Subscription Data. +type MbsSubscriptionData struct { + MbsAllowed bool `json:"mbsAllowed,omitempty" yaml:"mbsAllowed" bson:"mbsAllowed,omitempty"` + MbsSessionIdList []MbsSessionId `json:"mbsSessionIdList,omitempty" yaml:"mbsSessionIdList" bson:"mbsSessionIdList,omitempty"` +} diff --git a/models/models/model_mbsfn_area.go b/models/models/model_mbsfn_area.go new file mode 100644 index 00000000..d2ed59e6 --- /dev/null +++ b/models/models/model_mbsfn_area.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an MBSFN area information. +type MbsfnArea struct { + // This IE shall contain the MBSFN Area ID. + MbsfnAreaId int32 `json:"mbsfnAreaId,omitempty" yaml:"mbsfnAreaId" bson:"mbsfnAreaId,omitempty"` + // When present, this IE shall contain the Carrier Frequency (EARFCN). + CarrierFrequency int32 `json:"carrierFrequency,omitempty" yaml:"carrierFrequency" bson:"carrierFrequency,omitempty"` +} diff --git a/models/models/model_mdt_configuration.go b/models/models/model_mdt_configuration.go new file mode 100644 index 00000000..50599a0a --- /dev/null +++ b/models/models/model_mdt_configuration.go @@ -0,0 +1,48 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains contain MDT configuration data. +type MdtConfiguration struct { + JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` + ReportType ReportTypeMdt `json:"reportType,omitempty" yaml:"reportType" bson:"reportType,omitempty"` + AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` + MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` + MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` + SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` + ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` + ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` + ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` + ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-97. + EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-127. + EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-34. + EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` + // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-127. + EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` + EventList []EventForMdt `json:"eventList,omitempty" yaml:"eventList" bson:"eventList,omitempty"` + LoggingInterval LoggingIntervalMdt `json:"loggingInterval,omitempty" yaml:"loggingInterval" bson:"loggingInterval,omitempty"` + LoggingIntervalNr LoggingIntervalNrMdt `json:"loggingIntervalNr,omitempty" yaml:"loggingIntervalNr" bson:"loggingIntervalNr,omitempty"` + LoggingDuration LoggingDurationMdt `json:"loggingDuration,omitempty" yaml:"loggingDuration" bson:"loggingDuration,omitempty"` + LoggingDurationNr LoggingDurationNrMdt `json:"loggingDurationNr,omitempty" yaml:"loggingDurationNr" bson:"loggingDurationNr,omitempty"` + PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` + AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` + CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` + CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` + MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` + MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` + MbsfnAreaList []MbsfnArea `json:"mbsfnAreaList,omitempty" yaml:"mbsfnAreaList" bson:"mbsfnAreaList,omitempty"` + InterFreqTargetList []InterFreqTargetInfo `json:"interFreqTargetList,omitempty" yaml:"interFreqTargetList" bson:"interFreqTargetList,omitempty"` +} diff --git a/models/models/model_mdt_user_consent.go b/models/models/model_mdt_user_consent.go new file mode 100644 index 00000000..f4a0ddfb --- /dev/null +++ b/models/models/model_mdt_user_consent.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MdtUserConsent string + +// List of MdtUserConsent +const ( + MdtUserConsent_NOT_GIVEN MdtUserConsent = "CONSENT_NOT_GIVEN" + MdtUserConsent_GIVEN MdtUserConsent = "CONSENT_GIVEN" +) diff --git a/models/models/model_measurement_lte_for_mdt.go b/models/models/model_measurement_lte_for_mdt.go new file mode 100644 index 00000000..40c91aac --- /dev/null +++ b/models/models/model_measurement_lte_for_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementLteForMdt string + +// List of MeasurementLteForMdt +const ( + MeasurementLteForMdt_M1 MeasurementLteForMdt = "M1" + MeasurementLteForMdt_M2 MeasurementLteForMdt = "M2" + MeasurementLteForMdt_M3 MeasurementLteForMdt = "M3" + MeasurementLteForMdt_M4_DL MeasurementLteForMdt = "M4_DL" + MeasurementLteForMdt_M4_UL MeasurementLteForMdt = "M4_UL" + MeasurementLteForMdt_M5_DL MeasurementLteForMdt = "M5_DL" + MeasurementLteForMdt_M5_UL MeasurementLteForMdt = "M5_UL" + MeasurementLteForMdt_M6_DL MeasurementLteForMdt = "M6_DL" + MeasurementLteForMdt_M6_UL MeasurementLteForMdt = "M6_UL" + MeasurementLteForMdt_M7_DL MeasurementLteForMdt = "M7_DL" + MeasurementLteForMdt_M7_UL MeasurementLteForMdt = "M7_UL" + MeasurementLteForMdt_M8 MeasurementLteForMdt = "M8" + MeasurementLteForMdt_M9 MeasurementLteForMdt = "M9" +) diff --git a/models/models/model_measurement_nr_for_mdt.go b/models/models/model_measurement_nr_for_mdt.go new file mode 100644 index 00000000..b715d553 --- /dev/null +++ b/models/models/model_measurement_nr_for_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementNrForMdt string + +// List of MeasurementNrForMdt +const ( + MeasurementNrForMdt_M1 MeasurementNrForMdt = "M1" + MeasurementNrForMdt_M2 MeasurementNrForMdt = "M2" + MeasurementNrForMdt_M3 MeasurementNrForMdt = "M3" + MeasurementNrForMdt_M4_DL MeasurementNrForMdt = "M4_DL" + MeasurementNrForMdt_M4_UL MeasurementNrForMdt = "M4_UL" + MeasurementNrForMdt_M5_DL MeasurementNrForMdt = "M5_DL" + MeasurementNrForMdt_M5_UL MeasurementNrForMdt = "M5_UL" + MeasurementNrForMdt_M6_DL MeasurementNrForMdt = "M6_DL" + MeasurementNrForMdt_M6_UL MeasurementNrForMdt = "M6_UL" + MeasurementNrForMdt_M7_DL MeasurementNrForMdt = "M7_DL" + MeasurementNrForMdt_M7_UL MeasurementNrForMdt = "M7_UL" + MeasurementNrForMdt_M8 MeasurementNrForMdt = "M8" + MeasurementNrForMdt_M9 MeasurementNrForMdt = "M9" +) diff --git a/models/models/model_measurement_period_lte_mdt.go b/models/models/model_measurement_period_lte_mdt.go new file mode 100644 index 00000000..5a059d72 --- /dev/null +++ b/models/models/model_measurement_period_lte_mdt.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeasurementPeriodLteMdt string + +// List of MeasurementPeriodLteMdt +const ( + MeasurementPeriodLteMdt__1024 MeasurementPeriodLteMdt = "1024" + MeasurementPeriodLteMdt__1280 MeasurementPeriodLteMdt = "1280" + MeasurementPeriodLteMdt__2048 MeasurementPeriodLteMdt = "2048" + MeasurementPeriodLteMdt__2560 MeasurementPeriodLteMdt = "2560" + MeasurementPeriodLteMdt__5120 MeasurementPeriodLteMdt = "5120" + MeasurementPeriodLteMdt__10240 MeasurementPeriodLteMdt = "10240" + MeasurementPeriodLteMdt__60000 MeasurementPeriodLteMdt = "60000" +) diff --git a/models/models/model_media_component.go b/models/models/model_media_component.go new file mode 100644 index 00000000..2b92057f --- /dev/null +++ b/models/models/model_media_component.go @@ -0,0 +1,75 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a media component. +type MediaComponent struct { + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` + // Contains alternative service requirements that include individual QoS parameter sets. + AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` + // string with format 'float' as defined in OpenAPI. + DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` + // string with format 'float' as defined in OpenAPI. + DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` + FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` + // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. + MedSubComps map[string]MediaSubComponent `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` + MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` + PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + TsnQos *TsnQosContainer `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` +} diff --git a/models/models/model_media_component_resources_status.go b/models/models/model_media_component_resources_status.go new file mode 100644 index 00000000..ccf27eb4 --- /dev/null +++ b/models/models/model_media_component_resources_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MediaComponentResourcesStatus string + +// List of MediaComponentResourcesStatus +const ( + MediaComponentResourcesStatus_ACTIVE MediaComponentResourcesStatus = "ACTIVE" + MediaComponentResourcesStatus_INACTIVE MediaComponentResourcesStatus = "INACTIVE" +) diff --git a/models/models/model_media_component_rm.go b/models/models/model_media_component_rm.go new file mode 100644 index 00000000..4fb9bddd --- /dev/null +++ b/models/models/model_media_component_rm.go @@ -0,0 +1,75 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the MediaComponent data type, but with the OpenAPI nullable property set to true. +type MediaComponentRm struct { + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` + QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` + AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` + // Contains removable alternative service requirements that include individual QoS parameter sets. + AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` + // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. + DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` + // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. + DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` + FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` + MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` + // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. + MedSubComps map[string]*MediaSubComponentRm `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` + MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` + PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` + PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` + PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` + ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. + SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. + SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + TsnQos *TsnQosContainerRm `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` +} diff --git a/models/models/model_media_initiator_flag.go b/models/models/model_media_initiator_flag.go new file mode 100644 index 00000000..8007146b --- /dev/null +++ b/models/models/model_media_initiator_flag.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MediaInitiatorFlag string + +// List of MediaInitiatorFlag +const ( + MediaInitiatorFlag_CALLED_PARTY MediaInitiatorFlag = "CALLED_PARTY" + MediaInitiatorFlag_CALLING_PARTY MediaInitiatorFlag = "CALLING_PARTY" + MediaInitiatorFlag_UNKNOWN MediaInitiatorFlag = "UNKNOWN" +) diff --git a/models/models/model_media_streaming_access_record.go b/models/models/model_media_streaming_access_record.go new file mode 100644 index 00000000..3ad0493b --- /dev/null +++ b/models/models/model_media_streaming_access_record.go @@ -0,0 +1,31 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type MediaStreamingAccessRecord struct { + // string with format 'date-time' as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + MediaStreamHandlerEndpointAddress *EndpointAddress `json:"mediaStreamHandlerEndpointAddress" yaml:"mediaStreamHandlerEndpointAddress" bson:"mediaStreamHandlerEndpointAddress,omitempty"` + ApplicationServerEndpointAddress *EndpointAddress `json:"applicationServerEndpointAddress" yaml:"applicationServerEndpointAddress" bson:"applicationServerEndpointAddress,omitempty"` + SessionIdentifier string `json:"sessionIdentifier,omitempty" yaml:"sessionIdentifier" bson:"sessionIdentifier,omitempty"` + RequestMessage map[string]interface{} `json:"requestMessage" yaml:"requestMessage" bson:"requestMessage,omitempty"` + CacheStatus CacheStatus `json:"cacheStatus,omitempty" yaml:"cacheStatus" bson:"cacheStatus,omitempty"` + ResponseMessage map[string]interface{} `json:"responseMessage" yaml:"responseMessage" bson:"responseMessage,omitempty"` + // string with format 'float' as defined in OpenAPI. + ProcessingLatency float32 `json:"processingLatency" yaml:"processingLatency" bson:"processingLatency,omitempty"` + ConnectionMetrics map[string]interface{} `json:"connectionMetrics,omitempty" yaml:"connectionMetrics" bson:"connectionMetrics,omitempty"` +} diff --git a/models/models/model_media_sub_component.go b/models/models/model_media_sub_component.go new file mode 100644 index 00000000..b50e9542 --- /dev/null +++ b/models/models/model_media_sub_component.go @@ -0,0 +1,29 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a media subcomponent. +type MediaSubComponent struct { + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // 2-octet string, where each octet is encoded in hexadecimal representation. The first octet contains the IPv4 Type-of-Service or the IPv6 Traffic-Class field and the second octet contains the ToS/Traffic Class mask field. + TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` + FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` +} diff --git a/models/models/model_media_sub_component_rm.go b/models/models/model_media_sub_component_rm.go new file mode 100644 index 00000000..af29e34e --- /dev/null +++ b/models/models/model_media_sub_component_rm.go @@ -0,0 +1,29 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the MediaSubComponent data type, but with the OpenAPI nullable property set to true. Removable attributes marBwDl and marBwUl are defined with the corresponding removable data type. +type MediaSubComponentRm struct { + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` + // This data type is defined in the same way as the TosTrafficClass data type, but with the OpenAPI nullable property set to true. + TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` + FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` +} diff --git a/models/models/model_media_type.go b/models/models/model_media_type.go new file mode 100644 index 00000000..22b4533d --- /dev/null +++ b/models/models/model_media_type.go @@ -0,0 +1,27 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MediaType string + +// List of MediaType +const ( + MediaType_AUDIO MediaType = "AUDIO" + MediaType_VIDEO MediaType = "VIDEO" + MediaType_DATA MediaType = "DATA" + MediaType_APPLICATION MediaType = "APPLICATION" + MediaType_CONTROL MediaType = "CONTROL" + MediaType_TEXT MediaType = "TEXT" + MediaType_MESSAGE MediaType = "MESSAGE" + MediaType_OTHER MediaType = "OTHER" +) diff --git a/models/models/model_message_body.go b/models/models/model_message_body.go new file mode 100644 index 00000000..03c5a05f --- /dev/null +++ b/models/models/model_message_body.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MessageBody struct { + ContentType string `json:"contentType" yaml:"contentType" bson:"contentType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ContentLength int32 `json:"contentLength" yaml:"contentLength" bson:"contentLength,omitempty"` + ContentDisposition string `json:"contentDisposition,omitempty" yaml:"contentDisposition" bson:"contentDisposition,omitempty"` + Originator OriginatorPartyType `json:"originator,omitempty" yaml:"originator" bson:"originator,omitempty"` +} diff --git a/models/models/model_message_class.go b/models/models/model_message_class.go new file mode 100644 index 00000000..69193623 --- /dev/null +++ b/models/models/model_message_class.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MessageClass struct { + ClassIdentifier ClassIdentifier `json:"classIdentifier,omitempty" yaml:"classIdentifier" bson:"classIdentifier,omitempty"` + TokenText string `json:"tokenText,omitempty" yaml:"tokenText" bson:"tokenText,omitempty"` +} diff --git a/models/models/model_message_waiting_data.go b/models/models/model_message_waiting_data.go new file mode 100644 index 00000000..b3b0e326 --- /dev/null +++ b/models/models/model_message_waiting_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Message Waiting Data list. +type MessageWaitingData struct { + MwdList []SmscData `json:"mwdList,omitempty" yaml:"mwdList" bson:"mwdList,omitempty"` +} diff --git a/models/models/model_meta_schema.go b/models/models/model_meta_schema.go new file mode 100644 index 00000000..b980f7ff --- /dev/null +++ b/models/models/model_meta_schema.go @@ -0,0 +1,20 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the Meta Schema +type MetaSchema struct { + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId" yaml:"schemaId" bson:"schemaId,omitempty"` + MetaTags []TagType `json:"metaTags" yaml:"metaTags" bson:"metaTags,omitempty"` +} diff --git a/models/models/model_metering_method.go b/models/models/model_metering_method.go new file mode 100644 index 00000000..3ceb8b77 --- /dev/null +++ b/models/models/model_metering_method.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MeteringMethod string + +// List of MeteringMethod +const ( + MeteringMethod_DURATION MeteringMethod = "DURATION" + MeteringMethod_VOLUME MeteringMethod = "VOLUME" + MeteringMethod_DURATION_VOLUME MeteringMethod = "DURATION_VOLUME" + MeteringMethod_EVENT MeteringMethod = "EVENT" +) diff --git a/models/models/model_mfaf_info.go b/models/models/model_mfaf_info.go new file mode 100644 index 00000000..7141153e --- /dev/null +++ b/models/models/model_mfaf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a MFAF NF Instance +type MfafInfo struct { + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/models/model_mico_mode_indication.go b/models/models/model_mico_mode_indication.go new file mode 100644 index 00000000..e3830da3 --- /dev/null +++ b/models/models/model_mico_mode_indication.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MicoModeIndication string + +// List of MICOModeIndication +const ( + MicoModeIndication_MICO_MODE MicoModeIndication = "MICO_MODE" + MicoModeIndication_NO_MICO_MODE MicoModeIndication = "NO_MICO_MODE" +) diff --git a/models/models/model_minor_location_qo_s.go b/models/models/model_minor_location_qo_s.go new file mode 100644 index 00000000..9afc5688 --- /dev/null +++ b/models/models/model_minor_location_qo_s.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain Minor Location QoS. +type MinorLocationQoS struct { + // Indicates value of accuracy. + HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` + // Indicates value of accuracy. + VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` +} diff --git a/models/models/model_ml_analytics_info.go b/models/models/model_ml_analytics_info.go new file mode 100644 index 00000000..349f9a09 --- /dev/null +++ b/models/models/model_ml_analytics_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// ML Analytics Filter information supported by the Nnwdaf_MLModelProvision service +type MlAnalyticsInfo struct { + MlAnalyticsIds []NwdafEvent `json:"mlAnalyticsIds,omitempty" yaml:"mlAnalyticsIds" bson:"mlAnalyticsIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` +} diff --git a/models/models/model_ml_event_notif.go b/models/models/model_ml_event_notif.go new file mode 100644 index 00000000..bdb18d49 --- /dev/null +++ b/models/models/model_ml_event_notif.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a notification related to a single event that occurred. +type MlEventNotif struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + MLFileAddr *MlModelAddr `json:"mLFileAddr" yaml:"mLFileAddr" bson:"mLFileAddr,omitempty"` + ValidityPeriod *TimeWindow `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` +} diff --git a/models/models/model_ml_event_subscription.go b/models/models/model_ml_event_subscription.go new file mode 100644 index 00000000..5c2bbc63 --- /dev/null +++ b/models/models/model_ml_event_subscription.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a subscription to a single event. +type MlEventSubscription struct { + MLEvent NwdafEvent `json:"mLEvent" yaml:"mLEvent" bson:"mLEvent,omitempty"` + MLEventFilter *NwdafAnalyticsInfoEventFilter `json:"mLEventFilter" yaml:"mLEventFilter" bson:"mLEventFilter,omitempty"` + TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` + MLTargetPeriod *TimeWindow `json:"mLTargetPeriod,omitempty" yaml:"mLTargetPeriod" bson:"mLTargetPeriod,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ExpiryTime *time.Time `json:"expiryTime,omitempty" yaml:"expiryTime" bson:"expiryTime,omitempty"` +} diff --git a/models/models/model_ml_model_addr.go b/models/models/model_ml_model_addr.go new file mode 100644 index 00000000..d1fcfa3d --- /dev/null +++ b/models/models/model_ml_model_addr.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addresses of ML model files. +type MlModelAddr struct { + // String providing an URI formatted according to RFC 3986. + MLModelUrl string `json:"mLModelUrl,omitempty" yaml:"mLModelUrl" bson:"mLModelUrl,omitempty"` + // The FQDN of the ML Model file. + MlFileFqdn string `json:"mlFileFqdn,omitempty" yaml:"mlFileFqdn" bson:"mlFileFqdn,omitempty"` +} diff --git a/models/models/model_ml_model_info.go b/models/models/model_ml_model_info.go new file mode 100644 index 00000000..5af1341a --- /dev/null +++ b/models/models/model_ml_model_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about an ML models. +type MlModelInfo struct { + MlFileAddrs []MlModelAddr `json:"mlFileAddrs,omitempty" yaml:"mlFileAddrs" bson:"mlFileAddrs,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ModelProvId string `json:"modelProvId,omitempty" yaml:"modelProvId" bson:"modelProvId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ModelProvSetId string `json:"modelProvSetId,omitempty" yaml:"modelProvSetId" bson:"modelProvSetId,omitempty"` +} diff --git a/models/models/model_mm_context.go b/models/models/model_mm_context.go new file mode 100644 index 00000000..511c73be --- /dev/null +++ b/models/models/model_mm_context.go @@ -0,0 +1,46 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a Mobility Management Context in UE Context +type MmContext struct { + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + NasSecurityMode *NasSecurityMode `json:"nasSecurityMode,omitempty" yaml:"nasSecurityMode" bson:"nasSecurityMode,omitempty"` + EpsNasSecurityMode *EpsNasSecurityMode `json:"epsNasSecurityMode,omitempty" yaml:"epsNasSecurityMode" bson:"epsNasSecurityMode,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NasDownlinkCount int32 `json:"nasDownlinkCount,omitempty" yaml:"nasDownlinkCount" bson:"nasDownlinkCount,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NasUplinkCount int32 `json:"nasUplinkCount,omitempty" yaml:"nasUplinkCount" bson:"nasUplinkCount,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UeSecurityCapability string `json:"ueSecurityCapability,omitempty" yaml:"ueSecurityCapability" bson:"ueSecurityCapability,omitempty"` + // string with format 'bytes' as defined in OpenAPI + S1UeNetworkCapability string `json:"s1UeNetworkCapability,omitempty" yaml:"s1UeNetworkCapability" bson:"s1UeNetworkCapability,omitempty"` + AllowedNssai []Snssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` + NssaiMappingList []NssaiMapping `json:"nssaiMappingList,omitempty" yaml:"nssaiMappingList" bson:"nssaiMappingList,omitempty"` + AllowedHomeNssai []Snssai `json:"allowedHomeNssai,omitempty" yaml:"allowedHomeNssai" bson:"allowedHomeNssai,omitempty"` + NsInstanceList []string `json:"nsInstanceList,omitempty" yaml:"nsInstanceList" bson:"nsInstanceList,omitempty"` + ExpectedUEbehavior *ExpectedUeBehavior `json:"expectedUEbehavior,omitempty" yaml:"expectedUEbehavior" bson:"expectedUEbehavior,omitempty"` + UeDifferentiationInfo *UeDifferentiationInfo `json:"ueDifferentiationInfo,omitempty" yaml:"ueDifferentiationInfo" bson:"ueDifferentiationInfo,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PlmnAssiUeRadioCapId string `json:"plmnAssiUeRadioCapId,omitempty" yaml:"plmnAssiUeRadioCapId" bson:"plmnAssiUeRadioCapId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ManAssiUeRadioCapId string `json:"manAssiUeRadioCapId,omitempty" yaml:"manAssiUeRadioCapId" bson:"manAssiUeRadioCapId,omitempty"` + UcmfDicEntryId string `json:"ucmfDicEntryId,omitempty" yaml:"ucmfDicEntryId" bson:"ucmfDicEntryId,omitempty"` + N3IwfId *GlobalRanNodeId `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + WagfId *GlobalRanNodeId `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` + TngfId *GlobalRanNodeId `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` + AnN2ApId int32 `json:"anN2ApId,omitempty" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` + NssaaStatusList []NssaaStatus `json:"nssaaStatusList,omitempty" yaml:"nssaaStatusList" bson:"nssaaStatusList,omitempty"` + PendingNssaiMappingList []NssaiMapping `json:"pendingNssaiMappingList,omitempty" yaml:"pendingNssaiMappingList" bson:"pendingNssaiMappingList,omitempty"` + UuaaMmStatus UuaaMmStatus `json:"uuaaMmStatus,omitempty" yaml:"uuaaMmStatus" bson:"uuaaMmStatus,omitempty"` +} diff --git a/models/models/model_mm_tel_charging_information.go b/models/models/model_mm_tel_charging_information.go new file mode 100644 index 00000000..5f51c747 --- /dev/null +++ b/models/models/model_mm_tel_charging_information.go @@ -0,0 +1,17 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MmTelChargingInformation struct { + SupplementaryServices []SupplementaryService `json:"supplementaryServices,omitempty" yaml:"supplementaryServices" bson:"supplementaryServices,omitempty"` +} diff --git a/models/models/model_mm_transaction_location_report_item.go b/models/models/model_mm_transaction_location_report_item.go new file mode 100644 index 00000000..74e145cb --- /dev/null +++ b/models/models/model_mm_transaction_location_report_item.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE MM Transaction Report Item per Location +type MmTransactionLocationReportItem struct { + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` +} diff --git a/models/models/model_mm_transaction_slice_report_item.go b/models/models/model_mm_transaction_slice_report_item.go new file mode 100644 index 00000000..befae9e9 --- /dev/null +++ b/models/models/model_mm_transaction_slice_report_item.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE MM Transaction Report Item per Slice +type MmTransactionSliceReportItem struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` + Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` +} diff --git a/models/models/model_mme_capabilities.go b/models/models/model_mme_capabilities.go new file mode 100644 index 00000000..b70effc0 --- /dev/null +++ b/models/models/model_mme_capabilities.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MME capabilities +type MmeCapabilities struct { + NonIpSupported bool `json:"nonIpSupported,omitempty" yaml:"nonIpSupported" bson:"nonIpSupported,omitempty"` + EthernetSupported bool `json:"ethernetSupported,omitempty" yaml:"ethernetSupported" bson:"ethernetSupported,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` +} diff --git a/models/models/model_mme_location_data.go b/models/models/model_mme_location_data.go new file mode 100644 index 00000000..dcba8aa7 --- /dev/null +++ b/models/models/model_mme_location_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the MME serving node +type MmeLocationData struct { + // Fully Qualified Domain Name + MmeAddress string `json:"mmeAddress" yaml:"mmeAddress" bson:"mmeAddress,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + MmeLocation *EutraLocation `json:"mmeLocation,omitempty" yaml:"mmeLocation" bson:"mmeLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_mnpf_info.go b/models/models/model_mnpf_info.go new file mode 100644 index 00000000..d7081393 --- /dev/null +++ b/models/models/model_mnpf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an MNPF Instance +type MnpfInfo struct { + MsisdnRanges []IdentityRange `json:"msisdnRanges" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` +} diff --git a/models/models/model_mo_exp_data_counter.go b/models/models/model_mo_exp_data_counter.go new file mode 100644 index 00000000..cac11c1f --- /dev/null +++ b/models/models/model_mo_exp_data_counter.go @@ -0,0 +1,25 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contain the MO Exception Data Counter. +type MoExpDataCounter struct { + // Unsigned integer identifying the MO Exception Data Counter, as specified in clause 5.31.14.3 of 3GPP TS 23.501. + Counter int32 `json:"counter" yaml:"counter" bson:"counter,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/models/model_model_info.go b/models/models/model_model_info.go new file mode 100644 index 00000000..03548d7d --- /dev/null +++ b/models/models/model_model_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about an ML model. +type ModelInfo struct { + AnalyticsId NwdafEvent `json:"analyticsId" yaml:"analyticsId" bson:"analyticsId,omitempty"` + MlModelInfos []MlModelInfo `json:"mlModelInfos" yaml:"mlModelInfos" bson:"mlModelInfos,omitempty"` +} diff --git a/models/models/model_modification_notification.go b/models/models/model_modification_notification.go new file mode 100644 index 00000000..abba4833 --- /dev/null +++ b/models/models/model_modification_notification.go @@ -0,0 +1,17 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModificationNotification struct { + NotifyItems []NotifyItem `json:"notifyItems" yaml:"notifyItems" bson:"notifyItems,omitempty"` +} diff --git a/models/models/model_modify_pdu_session_request.go b/models/models/model_modify_pdu_session_request.go new file mode 100644 index 00000000..35bfbc33 --- /dev/null +++ b/models/models/model_modify_pdu_session_request.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionRequest struct { + JsonData *VsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/models/model_modify_pdu_session_response_200.go b/models/models/model_modify_pdu_session_response_200.go new file mode 100644 index 00000000..42b9bec2 --- /dev/null +++ b/models/models/model_modify_pdu_session_response_200.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionResponse200 struct { + JsonData *VsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/models/model_modify_pdu_session_response_400.go b/models/models/model_modify_pdu_session_response_400.go new file mode 100644 index 00000000..633b9d59 --- /dev/null +++ b/models/models/model_modify_pdu_session_response_400.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifyPduSessionResponse400 struct { + JsonData *VsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` +} diff --git a/models/models/model_modify_response_200.go b/models/models/model_modify_response_200.go new file mode 100644 index 00000000..e1e873fc --- /dev/null +++ b/models/models/model_modify_response_200.go @@ -0,0 +1,47 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifyResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/models/model_modify_shared_data_subs_response_200.go b/models/models/model_modify_shared_data_subs_response_200.go new file mode 100644 index 00000000..cf4c6fae --- /dev/null +++ b/models/models/model_modify_shared_data_subs_response_200.go @@ -0,0 +1,47 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifySharedDataSubsResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/models/model_modify_subscription_request.go b/models/models/model_modify_subscription_request.go new file mode 100644 index 00000000..9fb8bc83 --- /dev/null +++ b/models/models/model_modify_subscription_request.go @@ -0,0 +1,16 @@ +/* + * Namf_EventExposure + * + * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ModifySubscriptionRequest struct { +} diff --git a/models/models/model_modifysubscription_data_subscription_response_200.go b/models/models/model_modifysubscription_data_subscription_response_200.go new file mode 100644 index 00000000..09735791 --- /dev/null +++ b/models/models/model_modifysubscription_data_subscription_response_200.go @@ -0,0 +1,37 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ModifysubscriptionDataSubscriptionResponse200 struct { + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_monitoring_event.go b/models/models/model_monitoring_event.go new file mode 100644 index 00000000..d44bebbd --- /dev/null +++ b/models/models/model_monitoring_event.go @@ -0,0 +1,18 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MonitoringEvent struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + RevokedCause RevokedCause `json:"revokedCause,omitempty" yaml:"revokedCause" bson:"revokedCause,omitempty"` +} diff --git a/models/models/model_motion_event_info.go b/models/models/model_motion_event_info.go new file mode 100644 index 00000000..2056b1f8 --- /dev/null +++ b/models/models/model_motion_event_info.go @@ -0,0 +1,29 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of motion based event reporting. +type MotionEventInfo struct { + // Minimum straight line distance moved by a UE to trigger a motion event report. + LinearDistance int32 `json:"linearDistance" yaml:"linearDistance" bson:"linearDistance,omitempty"` + OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` + // Minimum interval between event reports. + MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` + // Maximum interval between event reports. + MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` + // Maximum time interval between consecutive evaluations by a UE of a trigger event. + SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` + // Maximum duration of event reporting. + ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` + ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` +} diff --git a/models/models/model_mps_action.go b/models/models/model_mps_action.go new file mode 100644 index 00000000..e739c6c2 --- /dev/null +++ b/models/models/model_mps_action.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MpsAction string + +// List of MpsAction +const ( + MpsAction_DISABLE_MPS_FOR_DTS MpsAction = "DISABLE_MPS_FOR_DTS" + MpsAction_ENABLE_MPS_FOR_DTS MpsAction = "ENABLE_MPS_FOR_DTS" + MpsAction_AUTHORIZE_AND_ENABLE_MPS_FOR_DTS MpsAction = "AUTHORIZE_AND_ENABLE_MPS_FOR_DTS" +) diff --git a/models/models/model_ms_access_activity_collection.go b/models/models/model_ms_access_activity_collection.go new file mode 100644 index 00000000..d61f5140 --- /dev/null +++ b/models/models/model_ms_access_activity_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Media Streaming access activity collected for an UE Application via AF. +type MsAccessActivityCollection struct { + MsAccActs []MediaStreamingAccessRecord `json:"msAccActs" yaml:"msAccActs" bson:"msAccActs,omitempty"` +} diff --git a/models/models/model_ms_consumption_collection.go b/models/models/model_ms_consumption_collection.go new file mode 100644 index 00000000..1c00b6f8 --- /dev/null +++ b/models/models/model_ms_consumption_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Consumption information collected for an UE Application via AF. +type MsConsumptionCollection struct { + MsConsumps []string `json:"msConsumps" yaml:"msConsumps" bson:"msConsumps,omitempty"` +} diff --git a/models/models/model_ms_dyn_policy_invocation_collection.go b/models/models/model_ms_dyn_policy_invocation_collection.go new file mode 100644 index 00000000..9323b0b1 --- /dev/null +++ b/models/models/model_ms_dyn_policy_invocation_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Dynamic Policy invocation collected for an UE Application via AF. +type MsDynPolicyInvocationCollection struct { + MsDynPlyInvocs []DynamicPolicy `json:"msDynPlyInvocs" yaml:"msDynPlyInvocs" bson:"msDynPlyInvocs,omitempty"` +} diff --git a/models/models/model_ms_net_ass_invocation_collection.go b/models/models/model_ms_net_ass_invocation_collection.go new file mode 100644 index 00000000..7b5ee150 --- /dev/null +++ b/models/models/model_ms_net_ass_invocation_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming Network Assistance invocation collected for an UE Application via AF. +type MsNetAssInvocationCollection struct { + MsNetAssInvocs []NetworkAssistanceSession `json:"msNetAssInvocs" yaml:"msNetAssInvocs" bson:"msNetAssInvocs,omitempty"` +} diff --git a/models/models/model_ms_qoe_metrics_collection.go b/models/models/model_ms_qoe_metrics_collection.go new file mode 100644 index 00000000..ff84bfa7 --- /dev/null +++ b/models/models/model_ms_qoe_metrics_collection.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Media Streaming QoE metrics information collected for an UE Application via AF. +type MsQoeMetricsCollection struct { + MsQoeMetrics []string `json:"msQoeMetrics" yaml:"msQoeMetrics" bson:"msQoeMetrics,omitempty"` +} diff --git a/models/models/model_msisdn_list.go b/models/models/model_msisdn_list.go new file mode 100644 index 00000000..946a6344 --- /dev/null +++ b/models/models/model_msisdn_list.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of MSISDNs associated to the IMS public Identity +type MsisdnList struct { + // String containing an additional or basic MSISDN + BasicMsisdn string `json:"basicMsisdn" yaml:"basicMsisdn" bson:"basicMsisdn,omitempty"` + AdditionalMsisdns []string `json:"additionalMsisdns,omitempty" yaml:"additionalMsisdns" bson:"additionalMsisdns,omitempty"` +} diff --git a/models/models/model_mtc_provider.go b/models/models/model_mtc_provider.go new file mode 100644 index 00000000..aadba2ce --- /dev/null +++ b/models/models/model_mtc_provider.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MTC provider information. +type MtcProvider struct { + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/models/model_multicast_access_control.go b/models/models/model_multicast_access_control.go new file mode 100644 index 00000000..d24985bd --- /dev/null +++ b/models/models/model_multicast_access_control.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents multicast address access control information. +type MulticastAccessControl struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` + SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + MulticastV4Addr string `json:"multicastV4Addr,omitempty" yaml:"multicastV4Addr" bson:"multicastV4Addr,omitempty"` + MulticastV6Addr string `json:"multicastV6Addr,omitempty" yaml:"multicastV6Addr" bson:"multicastV6Addr,omitempty"` + AccStatus AccessRightStatus `json:"accStatus" yaml:"accStatus" bson:"accStatus,omitempty"` +} diff --git a/models/models/model_multicast_mbs_group_memb.go b/models/models/model_multicast_mbs_group_memb.go new file mode 100644 index 00000000..31b66f1c --- /dev/null +++ b/models/models/model_multicast_mbs_group_memb.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MulticastMbsGroupMemb struct { + MulticastGroupMemb []string `json:"multicastGroupMemb" yaml:"multicastGroupMemb" bson:"multicastGroupMemb,omitempty"` + AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` +} diff --git a/models/models/model_multiple_unit_information.go b/models/models/model_multiple_unit_information.go new file mode 100644 index 00000000..c5081526 --- /dev/null +++ b/models/models/model_multiple_unit_information.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type MultipleUnitInformation struct { + ResultCode ChfConvergedChargingResultCode `json:"resultCode,omitempty" yaml:"resultCode" bson:"resultCode,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + GrantedUnit *GrantedUnit `json:"grantedUnit,omitempty" yaml:"grantedUnit" bson:"grantedUnit,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // indicating a time in seconds. + ValidityTime int32 `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // indicating a time in seconds. + QuotaHoldingTime int32 `json:"quotaHoldingTime,omitempty" yaml:"quotaHoldingTime" bson:"quotaHoldingTime,omitempty"` + FinalUnitIndication *FinalUnitIndication `json:"finalUnitIndication,omitempty" yaml:"finalUnitIndication" bson:"finalUnitIndication,omitempty"` + TimeQuotaThreshold int32 `json:"timeQuotaThreshold,omitempty" yaml:"timeQuotaThreshold" bson:"timeQuotaThreshold,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + VolumeQuotaThreshold int32 `json:"volumeQuotaThreshold,omitempty" yaml:"volumeQuotaThreshold" bson:"volumeQuotaThreshold,omitempty"` + UnitQuotaThreshold int32 `json:"unitQuotaThreshold,omitempty" yaml:"unitQuotaThreshold" bson:"unitQuotaThreshold,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` + AnnouncementInformation *AnnouncementInformation `json:"announcementInformation,omitempty" yaml:"announcementInformation" bson:"announcementInformation,omitempty"` +} diff --git a/models/models/model_n1_message_class.go b/models/models/model_n1_message_class.go new file mode 100644 index 00000000..7bfe8c9c --- /dev/null +++ b/models/models/model_n1_message_class.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N1MessageClass string + +// List of N1MessageClass +const ( + N1MessageClass__5_GMM N1MessageClass = "5GMM" + N1MessageClass_SM N1MessageClass = "SM" + N1MessageClass_LPP N1MessageClass = "LPP" + N1MessageClass_SMS N1MessageClass = "SMS" + N1MessageClass_UPDP N1MessageClass = "UPDP" + N1MessageClass_LCS N1MessageClass = "LCS" +) diff --git a/models/models/model_n1_message_container.go b/models/models/model_n1_message_container.go new file mode 100644 index 00000000..f83222dc --- /dev/null +++ b/models/models/model_n1_message_container.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N1 Message container +type N1MessageContainer struct { + N1MessageClass N1MessageClass `json:"n1MessageClass" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + N1MessageContent *RefToBinaryData `json:"n1MessageContent" yaml:"n1MessageContent" bson:"n1MessageContent,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` +} diff --git a/models/models/model_n1_message_notification.go b/models/models/model_n1_message_notification.go new file mode 100644 index 00000000..b3b57178 --- /dev/null +++ b/models/models/model_n1_message_notification.go @@ -0,0 +1,28 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N1 message notification request +type N1MessageNotification struct { + N1NotifySubscriptionId string `json:"n1NotifySubscriptionId,omitempty" yaml:"n1NotifySubscriptionId" bson:"n1NotifySubscriptionId,omitempty"` + N1MessageContainer *N1MessageContainer `json:"n1MessageContainer" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + RegistrationCtxtContainer *RegistrationContextContainer `json:"registrationCtxtContainer,omitempty" yaml:"registrationCtxtContainer" bson:"registrationCtxtContainer,omitempty"` + // LMF identification. + NewLmfIdentification string `json:"newLmfIdentification,omitempty" yaml:"newLmfIdentification" bson:"newLmfIdentification,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` +} diff --git a/models/models/model_n1_message_notify_request.go b/models/models/model_n1_message_notify_request.go new file mode 100644 index 00000000..22adeb40 --- /dev/null +++ b/models/models/model_n1_message_notify_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N1MessageNotifyRequest struct { + JsonData *N1MessageNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` +} diff --git a/models/models/model_n1_n2_message_transfer_cause.go b/models/models/model_n1_n2_message_transfer_cause.go new file mode 100644 index 00000000..41b665fa --- /dev/null +++ b/models/models/model_n1_n2_message_transfer_cause.go @@ -0,0 +1,31 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N1N2MessageTransferCause string + +// List of N1N2MessageTransferCause +const ( + N1N2MessageTransferCause_ATTEMPTING_TO_REACH_UE N1N2MessageTransferCause = "ATTEMPTING_TO_REACH_UE" + N1N2MessageTransferCause_N1_N2_TRANSFER_INITIATED N1N2MessageTransferCause = "N1_N2_TRANSFER_INITIATED" + N1N2MessageTransferCause_WAITING_FOR_ASYNCHRONOUS_TRANSFER N1N2MessageTransferCause = "WAITING_FOR_ASYNCHRONOUS_TRANSFER" + N1N2MessageTransferCause_UE_NOT_RESPONDING N1N2MessageTransferCause = "UE_NOT_RESPONDING" + N1N2MessageTransferCause_N1_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N1_MSG_NOT_TRANSFERRED" + N1N2MessageTransferCause_N2_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N2_MSG_NOT_TRANSFERRED" + N1N2MessageTransferCause_UE_NOT_REACHABLE_FOR_SESSION N1N2MessageTransferCause = "UE_NOT_REACHABLE_FOR_SESSION" + N1N2MessageTransferCause_TEMPORARY_REJECT_REGISTRATION_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_REGISTRATION_ONGOING" + N1N2MessageTransferCause_TEMPORARY_REJECT_HANDOVER_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_HANDOVER_ONGOING" + N1N2MessageTransferCause_REJECTION_DUE_TO_PAGING_RESTRICTION N1N2MessageTransferCause = "REJECTION_DUE_TO_PAGING_RESTRICTION" + N1N2MessageTransferCause_AN_NOT_RESPONDING N1N2MessageTransferCause = "AN_NOT_RESPONDING" + N1N2MessageTransferCause_FAILURE_CAUSE_UNSPECIFIED N1N2MessageTransferCause = "FAILURE_CAUSE_UNSPECIFIED" +) diff --git a/models/models/model_n1_n2_message_transfer_error.go b/models/models/model_n1_n2_message_transfer_error.go new file mode 100644 index 00000000..f5e63b6f --- /dev/null +++ b/models/models/model_n1_n2_message_transfer_error.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N1/N2 Message Transfer Error response +type N1N2MessageTransferError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + ErrInfo *N1N2MsgTxfrErrDetail `json:"errInfo,omitempty" yaml:"errInfo" bson:"errInfo,omitempty"` +} diff --git a/models/models/model_n1_n2_message_transfer_req_data.go b/models/models/model_n1_n2_message_transfer_req_data.go new file mode 100644 index 00000000..f311eba5 --- /dev/null +++ b/models/models/model_n1_n2_message_transfer_req_data.go @@ -0,0 +1,43 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N1/N2 message transfer request +type N1N2MessageTransferReqData struct { + N1MessageContainer *N1MessageContainer `json:"n1MessageContainer,omitempty" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` + N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` + MtData *RefToBinaryData `json:"mtData,omitempty" yaml:"mtData" bson:"mtData,omitempty"` + SkipInd bool `json:"skipInd,omitempty" yaml:"skipInd" bson:"skipInd,omitempty"` + LastMsgIndication bool `json:"lastMsgIndication,omitempty" yaml:"lastMsgIndication" bson:"lastMsgIndication,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + // Paging Policy Indicator + Ppi int32 `json:"ppi,omitempty" yaml:"ppi" bson:"ppi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1n2FailureTxfNotifURI string `json:"n1n2FailureTxfNotifURI,omitempty" yaml:"n1n2FailureTxfNotifURI" bson:"n1n2FailureTxfNotifURI,omitempty"` + SmfReallocationInd bool `json:"smfReallocationInd,omitempty" yaml:"smfReallocationInd" bson:"smfReallocationInd,omitempty"` + AreaOfValidity *AreaOfValidity `json:"areaOfValidity,omitempty" yaml:"areaOfValidity" bson:"areaOfValidity,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` + TargetAccess AccessType `json:"targetAccess,omitempty" yaml:"targetAccess" bson:"targetAccess,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` +} diff --git a/models/models/model_n1_n2_message_transfer_request.go b/models/models/model_n1_n2_message_transfer_request.go new file mode 100644 index 00000000..e9c662bc --- /dev/null +++ b/models/models/model_n1_n2_message_transfer_request.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N1N2MessageTransferRequest struct { + JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/models/model_n1_n2_message_transfer_rsp_data.go b/models/models/model_n1_n2_message_transfer_rsp_data.go new file mode 100644 index 00000000..e37c83d9 --- /dev/null +++ b/models/models/model_n1_n2_message_transfer_rsp_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N1/N2 message transfer response +type N1N2MessageTransferRspData struct { + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_n1_n2_msg_txfr_err_detail.go b/models/models/model_n1_n2_msg_txfr_err_detail.go new file mode 100644 index 00000000..959a603e --- /dev/null +++ b/models/models/model_n1_n2_msg_txfr_err_detail.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N1/N2 Message Transfer Error Details +type N1N2MsgTxfrErrDetail struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RetryAfter int32 `json:"retryAfter,omitempty" yaml:"retryAfter" bson:"retryAfter,omitempty"` + HighestPrioArp *Arp `json:"highestPrioArp,omitempty" yaml:"highestPrioArp" bson:"highestPrioArp,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_n1_n2_msg_txfr_failure_notification.go b/models/models/model_n1_n2_msg_txfr_failure_notification.go new file mode 100644 index 00000000..c1c7d131 --- /dev/null +++ b/models/models/model_n1_n2_msg_txfr_failure_notification.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N1/N2 Message Transfer Failure Notification request +type N1N2MsgTxfrFailureNotification struct { + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1n2MsgDataUri string `json:"n1n2MsgDataUri" yaml:"n1n2MsgDataUri" bson:"n1n2MsgDataUri,omitempty"` +} diff --git a/models/models/model_n2_connection_charging_information.go b/models/models/model_n2_connection_charging_information.go new file mode 100644 index 00000000..16f11f86 --- /dev/null +++ b/models/models/model_n2_connection_charging_information.go @@ -0,0 +1,32 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2ConnectionChargingInformation struct { + N2ConnectionMessageType int32 `json:"n2ConnectionMessageType" yaml:"n2ConnectionMessageType" bson:"n2ConnectionMessageType,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` + RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` + ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` + ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RestrictedCnList []CoreNetworkType `json:"restrictedCnList,omitempty" yaml:"restrictedCnList" bson:"restrictedCnList,omitempty"` + AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` + RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` +} diff --git a/models/models/model_n2_info_container.go b/models/models/model_n2_info_container.go new file mode 100644 index 00000000..084a1a17 --- /dev/null +++ b/models/models/model_n2_info_container.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N2 information container +type N2InfoContainer struct { + N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + SmInfo *N2SmInformation `json:"smInfo,omitempty" yaml:"smInfo" bson:"smInfo,omitempty"` + RanInfo *N2RanInformation `json:"ranInfo,omitempty" yaml:"ranInfo" bson:"ranInfo,omitempty"` + NrppaInfo *NrppaInformation `json:"nrppaInfo,omitempty" yaml:"nrppaInfo" bson:"nrppaInfo,omitempty"` + PwsInfo *PwsInformation `json:"pwsInfo,omitempty" yaml:"pwsInfo" bson:"pwsInfo,omitempty"` + V2xInfo *V2xInformation `json:"v2xInfo,omitempty" yaml:"v2xInfo" bson:"v2xInfo,omitempty"` + ProseInfo *ProSeInformation `json:"proseInfo,omitempty" yaml:"proseInfo" bson:"proseInfo,omitempty"` +} diff --git a/models/models/model_n2_info_content.go b/models/models/model_n2_info_content.go new file mode 100644 index 00000000..dd747197 --- /dev/null +++ b/models/models/model_n2_info_content.go @@ -0,0 +1,21 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a transparent N2 information content to be relayed by AMF +type N2InfoContent struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NgapMessageType int32 `json:"ngapMessageType,omitempty" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` + NgapIeType AmfCommunicationNgapIeType `json:"ngapIeType,omitempty" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` + NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` +} diff --git a/models/models/model_n2_info_notification_rsp_data.go b/models/models/model_n2_info_notification_rsp_data.go new file mode 100644 index 00000000..6bd06c49 --- /dev/null +++ b/models/models/model_n2_info_notification_rsp_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N2 information notification response +type N2InfoNotificationRspData struct { + SecRatDataUsageList []N2SmInformation `json:"secRatDataUsageList,omitempty" yaml:"secRatDataUsageList" bson:"secRatDataUsageList,omitempty"` +} diff --git a/models/models/model_n2_info_notify_handover_complete_response_200.go b/models/models/model_n2_info_notify_handover_complete_response_200.go new file mode 100644 index 00000000..ea702e87 --- /dev/null +++ b/models/models/model_n2_info_notify_handover_complete_response_200.go @@ -0,0 +1,33 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InfoNotifyHandoverCompleteResponse200 struct { + JsonData *N2InfoNotificationRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` +} diff --git a/models/models/model_n2_info_notify_reason.go b/models/models/model_n2_info_notify_reason.go new file mode 100644 index 00000000..813aa3ce --- /dev/null +++ b/models/models/model_n2_info_notify_reason.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InfoNotifyReason string + +// List of N2InfoNotifyReason +const ( + N2InfoNotifyReason_HANDOVER_COMPLETED N2InfoNotifyReason = "HANDOVER_COMPLETED" +) diff --git a/models/models/model_n2_info_notify_request.go b/models/models/model_n2_info_notify_request.go new file mode 100644 index 00000000..35ebac87 --- /dev/null +++ b/models/models/model_n2_info_notify_request.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InfoNotifyRequest struct { + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_n2_information_class.go b/models/models/model_n2_information_class.go new file mode 100644 index 00000000..16fc3192 --- /dev/null +++ b/models/models/model_n2_information_class.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InformationClass string + +// List of N2InformationClass +const ( + N2InformationClass_SM N2InformationClass = "SM" + N2InformationClass_NRP_PA N2InformationClass = "NRPPa" + N2InformationClass_PWS N2InformationClass = "PWS" + N2InformationClass_PWS_BCAL N2InformationClass = "PWS-BCAL" // #nosec G101 + N2InformationClass_PWS_RF N2InformationClass = "PWS-RF" + N2InformationClass_RAN N2InformationClass = "RAN" + N2InformationClass_V2_X N2InformationClass = "V2X" + N2InformationClass_PROSE N2InformationClass = "PROSE" +) diff --git a/models/models/model_n2_information_notification.go b/models/models/model_n2_information_notification.go new file mode 100644 index 00000000..3bae4e75 --- /dev/null +++ b/models/models/model_n2_information_notification.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N2 information notification request +type N2InformationNotification struct { + N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` + N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` + ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` + // LCS Correlation ID. + LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` + NotifyReason N2InfoNotifyReason `json:"notifyReason,omitempty" yaml:"notifyReason" bson:"notifyReason,omitempty"` + SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + // Fully Qualified Domain Name + InitialAmfName string `json:"initialAmfName,omitempty" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` + AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + NotifySourceNgRan bool `json:"notifySourceNgRan,omitempty" yaml:"notifySourceNgRan" bson:"notifySourceNgRan,omitempty"` +} diff --git a/models/models/model_n2_information_transfer_error.go b/models/models/model_n2_information_transfer_error.go new file mode 100644 index 00000000..16bafd2f --- /dev/null +++ b/models/models/model_n2_information_transfer_error.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a failure response for a non-UE related N2 Information Transfer +type N2InformationTransferError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + PwsErrorInfo *PwsErrorData `json:"pwsErrorInfo,omitempty" yaml:"pwsErrorInfo" bson:"pwsErrorInfo,omitempty"` +} diff --git a/models/models/model_n2_information_transfer_req_data.go b/models/models/model_n2_information_transfer_req_data.go new file mode 100644 index 00000000..bb91440e --- /dev/null +++ b/models/models/model_n2_information_transfer_req_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a N2 Information Transfer request containing the N2 information requested to be transferred to 5G AN +type N2InformationTransferReqData struct { + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + RatSelector RatSelector `json:"ratSelector,omitempty" yaml:"ratSelector" bson:"ratSelector,omitempty"` + GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` + N2Information *N2InfoContainer `json:"n2Information" yaml:"n2Information" bson:"n2Information,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_n2_information_transfer_result.go b/models/models/model_n2_information_transfer_result.go new file mode 100644 index 00000000..65e6958b --- /dev/null +++ b/models/models/model_n2_information_transfer_result.go @@ -0,0 +1,20 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2InformationTransferResult string + +// List of N2InformationTransferResult +const ( + N2InformationTransferResult_N2_INFO_TRANSFER_INITIATED N2InformationTransferResult = "N2_INFO_TRANSFER_INITIATED" +) diff --git a/models/models/model_n2_information_transfer_rsp_data.go b/models/models/model_n2_information_transfer_rsp_data.go new file mode 100644 index 00000000..e59444aa --- /dev/null +++ b/models/models/model_n2_information_transfer_rsp_data.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a successful response to the N2 Information Transfer request to transfer N2 Information to the AN +type N2InformationTransferRspData struct { + Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` + PwsRspData *PwsResponseData `json:"pwsRspData,omitempty" yaml:"pwsRspData" bson:"pwsRspData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_n2_interface_amf_info.go b/models/models/model_n2_interface_amf_info.go new file mode 100644 index 00000000..efd8b34e --- /dev/null +++ b/models/models/model_n2_interface_amf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// AMF N2 interface information +type N2InterfaceAmfInfo struct { + Ipv4EndpointAddress []string `json:"ipv4EndpointAddress,omitempty" yaml:"ipv4EndpointAddress" bson:"ipv4EndpointAddress,omitempty"` + Ipv6EndpointAddress []string `json:"ipv6EndpointAddress,omitempty" yaml:"ipv6EndpointAddress" bson:"ipv6EndpointAddress,omitempty"` + // Fully Qualified Domain Name + AmfName string `json:"amfName,omitempty" yaml:"amfName" bson:"amfName,omitempty"` +} diff --git a/models/models/model_n2_message_transfer_request.go b/models/models/model_n2_message_transfer_request.go new file mode 100644 index 00000000..453ab6c8 --- /dev/null +++ b/models/models/model_n2_message_transfer_request.go @@ -0,0 +1,18 @@ +/* + * Namf_MBSCommunication + * + * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2MessageTransferRequest struct { + JsonData *MbsN2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_n2_ran_information.go b/models/models/model_n2_ran_information.go new file mode 100644 index 00000000..66fcd60f --- /dev/null +++ b/models/models/model_n2_ran_information.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the RAN related N2 information data part +type N2RanInformation struct { + N2InfoContent *N2InfoContent `json:"n2InfoContent" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` +} diff --git a/models/models/model_n2_sm_info_type.go b/models/models/model_n2_sm_info_type.go new file mode 100644 index 00000000..e7ee2d25 --- /dev/null +++ b/models/models/model_n2_sm_info_type.go @@ -0,0 +1,45 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N2SmInfoType string + +// List of N2SmInfoType +const ( + N2SmInfoType_PDU_RES_SETUP_REQ N2SmInfoType = "PDU_RES_SETUP_REQ" + N2SmInfoType_PDU_RES_SETUP_RSP N2SmInfoType = "PDU_RES_SETUP_RSP" + N2SmInfoType_PDU_RES_SETUP_FAIL N2SmInfoType = "PDU_RES_SETUP_FAIL" + N2SmInfoType_PDU_RES_REL_CMD N2SmInfoType = "PDU_RES_REL_CMD" + N2SmInfoType_PDU_RES_REL_RSP N2SmInfoType = "PDU_RES_REL_RSP" + N2SmInfoType_PDU_RES_MOD_REQ N2SmInfoType = "PDU_RES_MOD_REQ" + N2SmInfoType_PDU_RES_MOD_RSP N2SmInfoType = "PDU_RES_MOD_RSP" + N2SmInfoType_PDU_RES_MOD_FAIL N2SmInfoType = "PDU_RES_MOD_FAIL" + N2SmInfoType_PDU_RES_NTY N2SmInfoType = "PDU_RES_NTY" + N2SmInfoType_PDU_RES_NTY_REL N2SmInfoType = "PDU_RES_NTY_REL" + N2SmInfoType_PDU_RES_MOD_IND N2SmInfoType = "PDU_RES_MOD_IND" + N2SmInfoType_PDU_RES_MOD_CFM N2SmInfoType = "PDU_RES_MOD_CFM" + N2SmInfoType_PATH_SWITCH_REQ N2SmInfoType = "PATH_SWITCH_REQ" + N2SmInfoType_PATH_SWITCH_SETUP_FAIL N2SmInfoType = "PATH_SWITCH_SETUP_FAIL" + N2SmInfoType_PATH_SWITCH_REQ_ACK N2SmInfoType = "PATH_SWITCH_REQ_ACK" + N2SmInfoType_PATH_SWITCH_REQ_FAIL N2SmInfoType = "PATH_SWITCH_REQ_FAIL" + N2SmInfoType_HANDOVER_REQUIRED N2SmInfoType = "HANDOVER_REQUIRED" + N2SmInfoType_HANDOVER_CMD N2SmInfoType = "HANDOVER_CMD" + N2SmInfoType_HANDOVER_PREP_FAIL N2SmInfoType = "HANDOVER_PREP_FAIL" + N2SmInfoType_HANDOVER_REQ_ACK N2SmInfoType = "HANDOVER_REQ_ACK" + N2SmInfoType_HANDOVER_RES_ALLOC_FAIL N2SmInfoType = "HANDOVER_RES_ALLOC_FAIL" + N2SmInfoType_SECONDARY_RAT_USAGE N2SmInfoType = "SECONDARY_RAT_USAGE" + N2SmInfoType_PDU_RES_MOD_IND_FAIL N2SmInfoType = "PDU_RES_MOD_IND_FAIL" + N2SmInfoType_UE_CONTEXT_RESUME_REQ N2SmInfoType = "UE_CONTEXT_RESUME_REQ" + N2SmInfoType_UE_CONTEXT_RESUME_RSP N2SmInfoType = "UE_CONTEXT_RESUME_RSP" + N2SmInfoType_UE_CONTEXT_SUSPEND_REQ N2SmInfoType = "UE_CONTEXT_SUSPEND_REQ" +) diff --git a/models/models/model_n2_sm_information.go b/models/models/model_n2_sm_information.go new file mode 100644 index 00000000..de435990 --- /dev/null +++ b/models/models/model_n2_sm_information.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the session management SMF related N2 information data part +type N2SmInformation struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + N2InfoContent *N2InfoContent `json:"n2InfoContent,omitempty" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HomePlmnSnssai *Snssai `json:"homePlmnSnssai,omitempty" yaml:"homePlmnSnssai" bson:"homePlmnSnssai,omitempty"` + IwkSnssai *Snssai `json:"iwkSnssai,omitempty" yaml:"iwkSnssai" bson:"iwkSnssai,omitempty"` + SubjectToHo bool `json:"subjectToHo,omitempty" yaml:"subjectToHo" bson:"subjectToHo,omitempty"` +} diff --git a/models/models/model_n3ga_location.go b/models/models/model_n3ga_location.go new file mode 100644 index 00000000..1c024427 --- /dev/null +++ b/models/models/model_n3ga_location.go @@ -0,0 +1,34 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Non-3GPP access user location. +type N3gaLocation struct { + N3gppTai *Tai `json:"n3gppTai,omitempty" yaml:"n3gppTai" bson:"n3gppTai,omitempty"` + // This IE shall contain the N3IWF identifier received over NGAP and shall be encoded as a string of hexadecimal characters. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. + N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` + Protocol TransportProtocol `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` + TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` + TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` + HfcNodeId *HfcNodeId `json:"hfcNodeId,omitempty" yaml:"hfcNodeId" bson:"hfcNodeId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Gli string `json:"gli,omitempty" yaml:"gli" bson:"gli,omitempty"` + W5gbanLineType LineType `json:"w5gbanLineType,omitempty" yaml:"w5gbanLineType" bson:"w5gbanLineType,omitempty"` + // Global Cable Identifier uniquely identifying the connection between the 5G-CRG or FN-CRG to the 5GS. See clause 28.15.4 of 3GPP TS 23.003. This shall be encoded as a string per clause 28.15.4 of 3GPP TS 23.003, and compliant with the syntax specified in clause 2.2 of IETF RFC 7542 for the username part of a NAI. The GCI value is specified in CableLabs WR-TR-5WWC-ARCH. + Gci string `json:"gci,omitempty" yaml:"gci" bson:"gci,omitempty"` +} diff --git a/models/models/model_n4_information.go b/models/models/model_n4_information.go new file mode 100644 index 00000000..612f67ae --- /dev/null +++ b/models/models/model_n4_information.go @@ -0,0 +1,25 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// N4 Information +type N4Information struct { + N4MessageType N4MessageType `json:"n4MessageType" yaml:"n4MessageType" bson:"n4MessageType,omitempty"` + N4MessagePayload *RefToBinaryData `json:"n4MessagePayload" yaml:"n4MessagePayload" bson:"n4MessagePayload,omitempty"` + N4DnaiInfo *SmfPduSessionDnaiInformation `json:"n4DnaiInfo,omitempty" yaml:"n4DnaiInfo" bson:"n4DnaiInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UlClBpId string `json:"ulClBpId,omitempty" yaml:"ulClBpId" bson:"ulClBpId,omitempty"` + N9UlPdrIdList []int32 `json:"n9UlPdrIdList,omitempty" yaml:"n9UlPdrIdList" bson:"n9UlPdrIdList,omitempty"` +} diff --git a/models/models/model_n4_message_type.go b/models/models/model_n4_message_type.go new file mode 100644 index 00000000..bf02e69c --- /dev/null +++ b/models/models/model_n4_message_type.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type N4MessageType string + +// List of N4MessageType +const ( + N4MessageType_EST_REQ N4MessageType = "PFCP_SES_EST_REQ" + N4MessageType_EST_RSP N4MessageType = "PFCP_SES_EST_RSP" + N4MessageType_MOD_REQ N4MessageType = "PFCP_SES_MOD_REQ" + N4MessageType_MOD_RSP N4MessageType = "PFCP_SES_MOD_RSP" + N4MessageType_DEL_REQ N4MessageType = "PFCP_SES_DEL_REQ" + N4MessageType_DEL_RSP N4MessageType = "PFCP_SES_DEL_RSP" + N4MessageType_REP_REQ N4MessageType = "PFCP_SES_REP_REQ" + N4MessageType_REP_RSP N4MessageType = "PFCP_SES_REP_RSP" +) diff --git a/models/models/model_nas_security_mode.go b/models/models/model_nas_security_mode.go new file mode 100644 index 00000000..7ad983aa --- /dev/null +++ b/models/models/model_nas_security_mode.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the NAS Security Mode +type NasSecurityMode struct { + IntegrityAlgorithm IntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` + CipheringAlgorithm CipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` +} diff --git a/models/models/model_ncgi.go b/models/models/model_ncgi.go new file mode 100644 index 00000000..de7a0c35 --- /dev/null +++ b/models/models/model_ncgi.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the NCGI (NR Cell Global Identity), as described in 3GPP 23.003 +type Ncgi struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 36-bit string identifying an NR Cell Id as specified in clause 9.3.1.7 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. + NrCellId string `json:"nrCellId" yaml:"nrCellId" bson:"nrCellId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_ncgi_tai.go b/models/models/model_ncgi_tai.go new file mode 100644 index 00000000..0a1025a2 --- /dev/null +++ b/models/models/model_ncgi_tai.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of NR cell ids, with their pertaining TAIs +type NcgiTai struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + // List of List of NR cell ids + CellList []Ncgi `json:"cellList" yaml:"cellList" bson:"cellList,omitempty"` +} diff --git a/models/models/model_nef_authentication_auth_container.go b/models/models/model_nef_authentication_auth_container.go new file mode 100644 index 00000000..b7de2064 --- /dev/null +++ b/models/models/model_nef_authentication_auth_container.go @@ -0,0 +1,21 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authentication/Authorization data +type NefAuthenticationAuthContainer struct { + // string with format 'bytes' as defined in OpenAPI + AuthMsgType string `json:"authMsgType,omitempty" yaml:"authMsgType" bson:"authMsgType,omitempty"` + AuthMsgPayload *RefToBinaryData `json:"authMsgPayload,omitempty" yaml:"authMsgPayload" bson:"authMsgPayload,omitempty"` + AuthResult NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` +} diff --git a/models/models/model_nef_authentication_auth_result.go b/models/models/model_nef_authentication_auth_result.go new file mode 100644 index 00000000..323c9464 --- /dev/null +++ b/models/models/model_nef_authentication_auth_result.go @@ -0,0 +1,21 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefAuthenticationAuthResult string + +// List of NefAuthenticationAuthResult +const ( + NefAuthenticationAuthResult_SUCCESS NefAuthenticationAuthResult = "AUTH_SUCCESS" + NefAuthenticationAuthResult_FAIL NefAuthenticationAuthResult = "AUTH_FAIL" +) diff --git a/models/models/model_nef_authentication_uav_auth_info.go b/models/models/model_nef_authentication_uav_auth_info.go new file mode 100644 index 00000000..c29da094 --- /dev/null +++ b/models/models/model_nef_authentication_uav_auth_info.go @@ -0,0 +1,33 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth data +type NefAuthenticationUavAuthInfo struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthNotificationURI string `json:"authNotificationURI,omitempty" yaml:"authNotificationURI" bson:"authNotificationURI,omitempty"` + IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + AuthServerAddress string `json:"authServerAddress,omitempty" yaml:"authServerAddress" bson:"authServerAddress,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + UeLocInfo *UserLocation `json:"ueLocInfo,omitempty" yaml:"ueLocInfo" bson:"ueLocInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SNssai *ExtSnssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/models/model_nef_authentication_uav_auth_response.go b/models/models/model_nef_authentication_uav_auth_response.go new file mode 100644 index 00000000..86d0bcf0 --- /dev/null +++ b/models/models/model_nef_authentication_uav_auth_response.go @@ -0,0 +1,24 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth response data +type NefAuthenticationUavAuthResponse struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + ServiceLevelId string `json:"serviceLevelId,omitempty" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` + AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` + AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` + AuthResult *NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + NotifyCorrId string `json:"notifyCorrId,omitempty" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` +} diff --git a/models/models/model_nef_charging_information.go b/models/models/model_nef_charging_information.go new file mode 100644 index 00000000..c1b1261c --- /dev/null +++ b/models/models/model_nef_charging_information.go @@ -0,0 +1,31 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefChargingInformation struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + ExternalIndividualIdentifier string `json:"externalIndividualIdentifier,omitempty" yaml:"externalIndividualIdentifier" bson:"externalIndividualIdentifier,omitempty"` + ExternalIndividualIdList []string `json:"externalIndividualIdList,omitempty" yaml:"externalIndividualIdList" bson:"externalIndividualIdList,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExternalGroupIdentifier string `json:"externalGroupIdentifier,omitempty" yaml:"externalGroupIdentifier" bson:"externalGroupIdentifier,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupIdentifier string `json:"groupIdentifier,omitempty" yaml:"groupIdentifier" bson:"groupIdentifier,omitempty"` + APIDirection ApiDirection `json:"aPIDirection,omitempty" yaml:"aPIDirection" bson:"aPIDirection,omitempty"` + APITargetNetworkFunction *ChfConvergedChargingNfIdentification `json:"aPITargetNetworkFunction,omitempty" yaml:"aPITargetNetworkFunction" bson:"aPITargetNetworkFunction,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + APIResultCode int32 `json:"aPIResultCode,omitempty" yaml:"aPIResultCode" bson:"aPIResultCode,omitempty"` + APIName string `json:"aPIName" yaml:"aPIName" bson:"aPIName,omitempty"` + // String providing an URI formatted according to RFC 3986. + APIReference string `json:"aPIReference,omitempty" yaml:"aPIReference" bson:"aPIReference,omitempty"` + APIContent string `json:"aPIContent,omitempty" yaml:"aPIContent" bson:"aPIContent,omitempty"` +} diff --git a/models/models/model_nef_cond.go b/models/models/model_nef_cond.go new file mode 100644 index 00000000..d04c0f07 --- /dev/null +++ b/models/models/model_nef_cond.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (NEFs), identified by Event ID(s) provided by AF, S-NSSAI(s), AF Instance ID, Application Identifier, External Identifier, External Group Identifier, or domain name. +type NefCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` +} diff --git a/models/models/model_nef_event.go b/models/models/model_nef_event.go new file mode 100644 index 00000000..eeb09358 --- /dev/null +++ b/models/models/model_nef_event.go @@ -0,0 +1,32 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefEvent string + +// List of NefEvent +const ( + NefEvent_SVC_EXPERIENCE NefEvent = "SVC_EXPERIENCE" + NefEvent_UE_MOBILITY NefEvent = "UE_MOBILITY" + NefEvent_UE_COMM NefEvent = "UE_COMM" + NefEvent_EXCEPTIONS NefEvent = "EXCEPTIONS" + NefEvent_USER_DATA_CONGESTION NefEvent = "USER_DATA_CONGESTION" + NefEvent_PERF_DATA NefEvent = "PERF_DATA" + NefEvent_DISPERSION NefEvent = "DISPERSION" + NefEvent_COLLECTIVE_BEHAVIOUR NefEvent = "COLLECTIVE_BEHAVIOUR" + NefEvent_MS_QOE_METRICS NefEvent = "MS_QOE_METRICS" + NefEvent_MS_CONSUMPTION NefEvent = "MS_CONSUMPTION" + NefEvent_MS_NET_ASSIST_INVOCATION NefEvent = "MS_NET_ASSIST_INVOCATION" + NefEvent_MS_DYN_POLICY_INVOCATION NefEvent = "MS_DYN_POLICY_INVOCATION" + NefEvent_MS_ACCESS_ACTIVITY NefEvent = "MS_ACCESS_ACTIVITY" +) diff --git a/models/models/model_nef_event_exposure_notif.go b/models/models/model_nef_event_exposure_notif.go new file mode 100644 index 00000000..6fe550fe --- /dev/null +++ b/models/models/model_nef_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on network exposure event(s) that occurred for an Individual Network Exposure Event Subscription resource. +type NefEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []NefEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/models/model_nef_event_exposure_service_experience_info.go b/models/models/model_nef_event_exposure_service_experience_info.go new file mode 100644 index 00000000..fb85da16 --- /dev/null +++ b/models/models/model_nef_event_exposure_service_experience_info.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with an application. +type NefEventExposureServiceExperienceInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` +} diff --git a/models/models/model_nef_event_exposure_subsc.go b/models/models/model_nef_event_exposure_subsc.go new file mode 100644 index 00000000..be1c09f6 --- /dev/null +++ b/models/models/model_nef_event_exposure_subsc.go @@ -0,0 +1,26 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Network Exposure Event Subscription resource. +type NefEventExposureSubsc struct { + DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` + EventsSubs []NefEventSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []NefEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_nef_event_exposure_target_ue_identification.go b/models/models/model_nef_event_exposure_target_ue_identification.go new file mode 100644 index 00000000..bd0a54dd --- /dev/null +++ b/models/models/model_nef_event_exposure_target_ue_identification.go @@ -0,0 +1,20 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the UE to which the request applies. +type NefEventExposureTargetUeIdentification struct { + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` + AnyUeId bool `json:"anyUeId,omitempty" yaml:"anyUeId" bson:"anyUeId,omitempty"` +} diff --git a/models/models/model_nef_event_filter.go b/models/models/model_nef_event_filter.go new file mode 100644 index 00000000..e032dba9 --- /dev/null +++ b/models/models/model_nef_event_filter.go @@ -0,0 +1,21 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents event filter information for an event. +type NefEventFilter struct { + TgtUe *NefEventExposureTargetUeIdentification `json:"tgtUe" yaml:"tgtUe" bson:"tgtUe,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` + CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` +} diff --git a/models/models/model_nef_event_notification.go b/models/models/model_nef_event_notification.go new file mode 100644 index 00000000..fefc2483 --- /dev/null +++ b/models/models/model_nef_event_notification.go @@ -0,0 +1,37 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information related to an event to be reported. +type NefEventNotification struct { + Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + SvcExprcInfos []NefEventExposureServiceExperienceInfo `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` + UeMobilityInfos []UeMobilityInfo `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` + UeCommInfos []UeCommunicationInfo `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` + ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` + CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` + PerfDataInfos []PerformanceDataInfo `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` + DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` + CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` + MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` + MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` + MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` + MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` + MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` +} diff --git a/models/models/model_nef_event_subs.go b/models/models/model_nef_event_subs.go new file mode 100644 index 00000000..f4ea251a --- /dev/null +++ b/models/models/model_nef_event_subs.go @@ -0,0 +1,19 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event to be subscribed and the related event filter information. +type NefEventSubs struct { + Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` + EventFilter *NefEventFilter `json:"eventFilter,omitempty" yaml:"eventFilter" bson:"eventFilter,omitempty"` +} diff --git a/models/models/model_nef_info.go b/models/models/model_nef_info.go new file mode 100644 index 00000000..5f2d774c --- /dev/null +++ b/models/models/model_nef_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an NEF NF Instance +type NefInfo struct { + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + AfEeData *AfEventExposureData `json:"afEeData,omitempty" yaml:"afEeData" bson:"afEeData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + UnTrustAfInfoList []UnTrustAfInfo `json:"unTrustAfInfoList,omitempty" yaml:"unTrustAfInfoList" bson:"unTrustAfInfoList,omitempty"` + UasNfFunctionalityInd bool `json:"uasNfFunctionalityInd,omitempty" yaml:"uasNfFunctionalityInd" bson:"uasNfFunctionalityInd,omitempty"` +} diff --git a/models/models/model_nef_sm_context_deliver_req_data.go b/models/models/model_nef_sm_context_deliver_req_data.go new file mode 100644 index 00000000..f284b333 --- /dev/null +++ b/models/models/model_nef_sm_context_deliver_req_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The data for Deliver service request, including the Mobile Originated data to be delivered via NEF. +type NefSmContextDeliverReqData struct { + Data *RefToBinaryData `json:"data" yaml:"data" bson:"data,omitempty"` +} diff --git a/models/models/model_nef_sm_context_nidd_information.go b/models/models/model_nef_sm_context_nidd_information.go new file mode 100644 index 00000000..31aec26b --- /dev/null +++ b/models/models/model_nef_sm_context_nidd_information.go @@ -0,0 +1,23 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Informaiton related to NIDD used for the SM Context. +type NefSmContextNiddInformation struct { + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // When present, this IE shall contain the AF Id used for the SM Context. + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` +} diff --git a/models/models/model_nef_sm_context_release_cause.go b/models/models/model_nef_sm_context_release_cause.go new file mode 100644 index 00000000..df21e3c3 --- /dev/null +++ b/models/models/model_nef_sm_context_release_cause.go @@ -0,0 +1,20 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NefSmContextReleaseCause string + +// List of NefSMContextReleaseCause +const ( + NefSmContextReleaseCause_PDU_SESSION_RELEASED NefSmContextReleaseCause = "PDU_SESSION_RELEASED" +) diff --git a/models/models/model_nef_sm_context_sm_context_create_data.go b/models/models/model_nef_sm_context_sm_context_create_data.go new file mode 100644 index 00000000..172627d4 --- /dev/null +++ b/models/models/model_nef_sm_context_sm_context_create_data.go @@ -0,0 +1,36 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the Individual SM context to be created. +type NefSmContextSmContextCreateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // This IE shall contain the NEF ID of the target NEF. + NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DlNiddEndPoint string `json:"dlNiddEndPoint" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + NiddInfo *NefSmContextNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` + // When present, this IE shall indicate the UE capability to support RDS. The value of this IE shall be set as following - true UE supports RDS - false (default) UE does not support RDS + RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` + SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_nef_sm_context_sm_context_created_data.go b/models/models/model_nef_sm_context_sm_context_created_data.go new file mode 100644 index 00000000..b915a0da --- /dev/null +++ b/models/models/model_nef_sm_context_sm_context_created_data.go @@ -0,0 +1,33 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of an Individual SM context successfully created. +type NefSmContextSmContextCreatedData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // This IE shall contain the NEF ID of the target NEF. + NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` + // When present, this IE shall indicate the NEF capability to support RDS. The value of this IE shall be set as following - true NEF supports RDS - false (default) NEF does not support RDS + RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` + // When present, this IE shall indicate whether Extended Buffering applies or not. The value of this IE shall be set as following - true Extended Buffering applies - false (default) Extended Buffering does not apply + ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxPacketSize int32 `json:"maxPacketSize,omitempty" yaml:"maxPacketSize" bson:"maxPacketSize,omitempty"` +} diff --git a/models/models/model_nef_sm_context_sm_context_release_data.go b/models/models/model_nef_sm_context_sm_context_release_data.go new file mode 100644 index 00000000..7b958a04 --- /dev/null +++ b/models/models/model_nef_sm_context_sm_context_release_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the information to release the Individual SM context. +type NefSmContextSmContextReleaseData struct { + Cause NefSmContextReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/models/model_nef_sm_context_sm_context_status_notification.go b/models/models/model_nef_sm_context_sm_context_status_notification.go new file mode 100644 index 00000000..17235454 --- /dev/null +++ b/models/models/model_nef_sm_context_sm_context_status_notification.go @@ -0,0 +1,23 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the SM Context status notification. +type NefSmContextSmContextStatusNotification struct { + Status SmContextStatus `json:"status" yaml:"status" bson:"status,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextId string `json:"smContextId" yaml:"smContextId" bson:"smContextId,omitempty"` + Cause NefSmContextReleaseCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` +} diff --git a/models/models/model_nef_sm_context_sm_context_update_data.go b/models/models/model_nef_sm_context_sm_context_update_data.go new file mode 100644 index 00000000..bf14aba2 --- /dev/null +++ b/models/models/model_nef_sm_context_sm_context_update_data.go @@ -0,0 +1,22 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the updates to apply to the Individual SM context. +type NefSmContextSmContextUpdateData struct { + // String providing an URI formatted according to RFC 3986. + DlNiddEndPoint string `json:"dlNiddEndPoint,omitempty" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` +} diff --git a/models/models/model_nef_traffic_influ_sub.go b/models/models/model_nef_traffic_influ_sub.go new file mode 100644 index 00000000..1df78633 --- /dev/null +++ b/models/models/model_nef_traffic_influ_sub.go @@ -0,0 +1,79 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a traffic influence subscription. +type NefTrafficInfluSub struct { + // Identifies a service on behalf of which the AF is issuing the request. + AfServiceId string `json:"afServiceId,omitempty" yaml:"afServiceId" bson:"afServiceId,omitempty"` + // Identifies an application. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` + // Identifies an NEF Northbound interface transaction, generated by the AF. + AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information. + ExternalGroupId string `json:"externalGroupId,omitempty" yaml:"externalGroupId" bson:"externalGroupId,omitempty"` + // Identifies whether the AF request applies to any UE. This attribute shall set to \"true\" if applicable for any UE, otherwise, set to \"false\". + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Identifies the requirement to be notified of the event(s). + SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + // Set to true by the SCS/AS to request the NEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. + RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` + // Identifies IP packet filters. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies Ethernet packet filters. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. + ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` + // Identifies geographical areas within which the AF request applies. + GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` + EventReports []EventNotification `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_nef_traffic_influ_sub_patch.go b/models/models/model_nef_traffic_influ_sub_patch.go new file mode 100644 index 00000000..6fbda8ae --- /dev/null +++ b/models/models/model_nef_traffic_influ_sub_patch.go @@ -0,0 +1,46 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents parameters to request the modification of a traffic influence subscription resource. +type NefTrafficInfluSubPatch struct { + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // Identifies IP packet filters. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies Ethernet packet filters. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. + ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` + // Identifies geographical areas within which the AF request applies. + GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Contains EAS IP replacement information. + EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` + // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // string formatted according to IETF RFC 3986 identifying a referenced resource. + NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` +} diff --git a/models/models/model_net_loc_access_support.go b/models/models/model_net_loc_access_support.go new file mode 100644 index 00000000..dc043412 --- /dev/null +++ b/models/models/model_net_loc_access_support.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetLocAccessSupport string + +// List of NetLocAccessSupport +const ( + NetLocAccessSupport_ANR_NOT_SUPPORTED NetLocAccessSupport = "ANR_NOT_SUPPORTED" + NetLocAccessSupport_TZR_NOT_SUPPORTED NetLocAccessSupport = "TZR_NOT_SUPPORTED" + NetLocAccessSupport_LOC_NOT_SUPPORTED NetLocAccessSupport = "LOC_NOT_SUPPORTED" +) diff --git a/models/models/model_network_area_info.go b/models/models/model_network_area_info.go new file mode 100644 index 00000000..d1aef601 --- /dev/null +++ b/models/models/model_network_area_info.go @@ -0,0 +1,25 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a network area information in which the NF service consumer requests the number of UEs. +type NetworkAreaInfo struct { + // Contains a list of E-UTRA cell identities. + Ecgis []Ecgi `json:"ecgis,omitempty" yaml:"ecgis" bson:"ecgis,omitempty"` + // Contains a list of NR cell identities. + Ncgis []Ncgi `json:"ncgis,omitempty" yaml:"ncgis" bson:"ncgis,omitempty"` + // Contains a list of NG RAN nodes. + GRanNodeIds []GlobalRanNodeId `json:"gRanNodeIds,omitempty" yaml:"gRanNodeIds" bson:"gRanNodeIds,omitempty"` + // Contains a list of tracking area identities. + Tais []Tai `json:"tais,omitempty" yaml:"tais" bson:"tais,omitempty"` +} diff --git a/models/models/model_network_assistance_session.go b/models/models/model_network_assistance_session.go new file mode 100644 index 00000000..4be3d572 --- /dev/null +++ b/models/models/model_network_assistance_session.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A representation of a Network Assistance Session resource. +type NetworkAssistanceSession struct { + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + NaSessionId string `json:"naSessionId" yaml:"naSessionId" bson:"naSessionId,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` + ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` + MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` + // String chosen by the 5GMS AF to serve as an identifier in a resource URI. + PolicyTemplateId string `json:"policyTemplateId,omitempty" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` + RequestedQoS *M5QoSSpecification `json:"requestedQoS,omitempty" yaml:"requestedQoS" bson:"requestedQoS,omitempty"` + RecommendedQoS *M5QoSSpecification `json:"recommendedQoS,omitempty" yaml:"recommendedQoS" bson:"recommendedQoS,omitempty"` + // Absolute Uniform Resource Locator, conforming with the \"absolute-URI\" production specified in IETF RFC 3986, section 4.3 in which the scheme part is \"http\" or \"https\". Note that the \"query\" suffix is permitted by this production but the \"fragment\" suffix is not. + NotficationURL string `json:"notficationURL,omitempty" yaml:"notficationURL" bson:"notficationURL,omitempty"` +} diff --git a/models/models/model_network_node_diameter_address.go b/models/models/model_network_node_diameter_address.go new file mode 100644 index 00000000..f66952cf --- /dev/null +++ b/models/models/model_network_node_diameter_address.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetworkNodeDiameterAddress struct { + // Fully Qualified Domain Name + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // Fully Qualified Domain Name + Realm string `json:"realm" yaml:"realm" bson:"realm,omitempty"` +} diff --git a/models/models/model_network_perf_info.go b/models/models/model_network_perf_info.go new file mode 100644 index 00000000..8bff531b --- /dev/null +++ b/models/models/model_network_perf_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the network performance information. +type NetworkPerfInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + NwPerfType NetworkPerfType `json:"nwPerfType,omitempty" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_network_perf_requirement.go b/models/models/model_network_perf_requirement.go new file mode 100644 index 00000000..e5f05b04 --- /dev/null +++ b/models/models/model_network_perf_requirement.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a network performance requirement. +type NetworkPerfRequirement struct { + NwPerfType NetworkPerfType `json:"nwPerfType" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` +} diff --git a/models/models/model_network_perf_type.go b/models/models/model_network_perf_type.go new file mode 100644 index 00000000..333a5953 --- /dev/null +++ b/models/models/model_network_perf_type.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetworkPerfType string + +// List of NetworkPerfType +const ( + NetworkPerfType_GNB_ACTIVE_RATIO NetworkPerfType = "GNB_ACTIVE_RATIO" + NetworkPerfType_GNB_COMPUTING_USAGE NetworkPerfType = "GNB_COMPUTING_USAGE" + NetworkPerfType_GNB_MEMORY_USAGE NetworkPerfType = "GNB_MEMORY_USAGE" + NetworkPerfType_GNB_DISK_USAGE NetworkPerfType = "GNB_DISK_USAGE" + NetworkPerfType_NUM_OF_UE NetworkPerfType = "NUM_OF_UE" + NetworkPerfType_SESS_SUCC_RATIO NetworkPerfType = "SESS_SUCC_RATIO" + NetworkPerfType_HO_SUCC_RATIO NetworkPerfType = "HO_SUCC_RATIO" +) diff --git a/models/models/model_network_slice_cond.go b/models/models/model_network_slice_cond.go new file mode 100644 index 00000000..ebf41344 --- /dev/null +++ b/models/models/model_network_slice_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs, based on the slices (S-NSSAI and NSI) they support +type NetworkSliceCond struct { + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` +} diff --git a/models/models/model_network_slicing_info.go b/models/models/model_network_slicing_info.go new file mode 100644 index 00000000..7ecbb3a2 --- /dev/null +++ b/models/models/model_network_slicing_info.go @@ -0,0 +1,17 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NetworkSlicingInfo struct { + SNSSAI *Snssai `json:"sNSSAI" yaml:"sNSSAI" bson:"sNSSAI,omitempty"` +} diff --git a/models/models/model_nf_group_cond.go b/models/models/model_nf_group_cond.go new file mode 100644 index 00000000..daa1e400 --- /dev/null +++ b/models/models/model_nf_group_cond.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Group Id +type NfGroupCond struct { + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + // Identifier of a group of NFs. + NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` +} diff --git a/models/models/model_nf_group_list_cond.go b/models/models/model_nf_group_list_cond.go new file mode 100644 index 00000000..2cc6bf33 --- /dev/null +++ b/models/models/model_nf_group_list_cond.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Group Ids +type NfGroupListCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` +} diff --git a/models/models/model_nf_identifier.go b/models/models/model_nf_identifier.go new file mode 100644 index 00000000..c20ed11a --- /dev/null +++ b/models/models/model_nf_identifier.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NfIdentifier struct { + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` +} diff --git a/models/models/model_nf_info.go b/models/models/model_nf_info.go new file mode 100644 index 00000000..9157a62a --- /dev/null +++ b/models/models/model_nf_info.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a generic NF Instance +type NfInfo struct { + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/models/model_nf_instance_id_cond.go b/models/models/model_nf_instance_id_cond.go new file mode 100644 index 00000000..e5c0a4e8 --- /dev/null +++ b/models/models/model_nf_instance_id_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a given NF Instance Id +type NfInstanceIdCond struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` +} diff --git a/models/models/model_nf_instance_id_list_cond.go b/models/models/model_nf_instance_id_list_cond.go new file mode 100644 index 00000000..f7c2cb36 --- /dev/null +++ b/models/models/model_nf_instance_id_list_cond.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a list of NF Instances +type NfInstanceIdListCond struct { + NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` +} diff --git a/models/models/model_nf_instance_info.go b/models/models/model_nf_instance_info.go new file mode 100644 index 00000000..ec4b467a --- /dev/null +++ b/models/models/model_nf_instance_info.go @@ -0,0 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on an NF profile matching a discovery request +type NfInstanceInfo struct { + // String providing an URI formatted according to RFC 3986. + NrfDiscApiUri string `json:"nrfDiscApiUri,omitempty" yaml:"nrfDiscApiUri" bson:"nrfDiscApiUri,omitempty"` + PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` + // The key of the map is the JSON Pointer of the priority IE in the NFProfile data type that is altered by the NRF + NrfAlteredPriorities map[string]int32 `json:"nrfAlteredPriorities,omitempty" yaml:"nrfAlteredPriorities" bson:"nrfAlteredPriorities,omitempty"` +} diff --git a/models/models/model_nf_load_level_information.go b/models/models/model_nf_load_level_information.go new file mode 100644 index 00000000..290929c3 --- /dev/null +++ b/models/models/model_nf_load_level_information.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents load level information of a given NF instance. +type NfLoadLevelInformation struct { + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` + NfStatus *NwdafEventsSubscriptionNfStatus `json:"nfStatus,omitempty" yaml:"nfStatus" bson:"nfStatus,omitempty"` + NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` + NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` + NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` + NfLoadLevelAverage int32 `json:"nfLoadLevelAverage,omitempty" yaml:"nfLoadLevelAverage" bson:"nfLoadLevelAverage,omitempty"` + NfLoadLevelpeak int32 `json:"nfLoadLevelpeak,omitempty" yaml:"nfLoadLevelpeak" bson:"nfLoadLevelpeak,omitempty"` + NfLoadAvgInAoi int32 `json:"nfLoadAvgInAoi,omitempty" yaml:"nfLoadAvgInAoi" bson:"nfLoadAvgInAoi,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_nf_service_instance.go b/models/models/model_nf_service_instance.go new file mode 100644 index 00000000..f6ccfd43 --- /dev/null +++ b/models/models/model_nf_service_instance.go @@ -0,0 +1,22 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NF service instance +type NfServiceInstance struct { + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId,omitempty" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` +} diff --git a/models/models/model_nf_service_set_cond.go b/models/models/model_nf_service_set_cond.go new file mode 100644 index 00000000..1333d86f --- /dev/null +++ b/models/models/model_nf_service_set_cond.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Service Set Id +type NfServiceSetCond struct { + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/models/model_nf_service_status.go b/models/models/model_nf_service_status.go new file mode 100644 index 00000000..6c525de8 --- /dev/null +++ b/models/models/model_nf_service_status.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NfServiceStatus string + +// List of NFServiceStatus +const ( + NfServiceStatus_REGISTERED NfServiceStatus = "REGISTERED" + NfServiceStatus_SUSPENDED NfServiceStatus = "SUSPENDED" + NfServiceStatus_UNDISCOVERABLE NfServiceStatus = "UNDISCOVERABLE" +) diff --git a/models/models/model_nf_service_version.go b/models/models/model_nf_service_version.go new file mode 100644 index 00000000..9c297f00 --- /dev/null +++ b/models/models/model_nf_service_version.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the version details of an NF service +type NfServiceVersion struct { + ApiVersionInUri string `json:"apiVersionInUri" yaml:"apiVersionInUri" bson:"apiVersionInUri,omitempty"` + ApiFullVersion string `json:"apiFullVersion" yaml:"apiFullVersion" bson:"apiFullVersion,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` +} diff --git a/models/models/model_nf_set_cond.go b/models/models/model_nf_set_cond.go new file mode 100644 index 00000000..e1fd3baa --- /dev/null +++ b/models/models/model_nf_set_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their Set Id +type NfSetCond struct { + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` +} diff --git a/models/models/model_nf_type_cond.go b/models/models/model_nf_type_cond.go new file mode 100644 index 00000000..b464b0a1 --- /dev/null +++ b/models/models/model_nf_type_cond.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their NF Type +type NfTypeCond struct { + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` +} diff --git a/models/models/model_ng_ap_cause.go b/models/models/model_ng_ap_cause.go new file mode 100644 index 00000000..615b0b4a --- /dev/null +++ b/models/models/model_ng_ap_cause.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the NGAP cause. +type NgApCause struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Group int32 `json:"group" yaml:"group" bson:"group,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Value int32 `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/models/model_ng_ksi.go b/models/models/model_ng_ksi.go new file mode 100644 index 00000000..01dc9742 --- /dev/null +++ b/models/models/model_ng_ksi.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the ngKSI +type NgKsi struct { + Tsc ScType `json:"tsc" yaml:"tsc" bson:"tsc,omitempty"` + Ksi int32 `json:"ksi" yaml:"ksi" bson:"ksi,omitempty"` +} diff --git a/models/models/model_ng_ran_target_id.go b/models/models/model_ng_ran_target_id.go new file mode 100644 index 00000000..32f35750 --- /dev/null +++ b/models/models/model_ng_ran_target_id.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates a NG RAN as target of the handover +type NgRanTargetId struct { + RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` +} diff --git a/models/models/model_ngran_failure_event.go b/models/models/model_ngran_failure_event.go new file mode 100644 index 00000000..42dafbae --- /dev/null +++ b/models/models/model_ngran_failure_event.go @@ -0,0 +1,19 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NG-RAN failure event for a NG-RAN +type NgranFailureEvent struct { + NgranId *GlobalRanNodeId `json:"ngranId" yaml:"ngranId" bson:"ngranId,omitempty"` + NgranFailureIndication NgranFailureIndication `json:"ngranFailureIndication" yaml:"ngranFailureIndication" bson:"ngranFailureIndication,omitempty"` +} diff --git a/models/models/model_ngran_failure_indication.go b/models/models/model_ngran_failure_indication.go new file mode 100644 index 00000000..dd2c0172 --- /dev/null +++ b/models/models/model_ngran_failure_indication.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NgranFailureIndication string + +// List of NgranFailureIndication +const ( + NgranFailureIndication_RESTART_OR_START NgranFailureIndication = "NG_RAN_RESTART_OR_START" + NgranFailureIndication_FAILURE_WITHOUT_RESTART NgranFailureIndication = "NG_RAN_FAILURE_WITHOUT_RESTART" + NgranFailureIndication_NOT_REACHABLE NgranFailureIndication = "NG_RAN_NOT_REACHABLE" + NgranFailureIndication_REQUIRED_RELEASE NgranFailureIndication = "NG_RAN_REQUIRED_RELEASE" +) diff --git a/models/models/model_nidd_auth_update_info.go b/models/models/model_nidd_auth_update_info.go new file mode 100644 index 00000000..fb7efbbf --- /dev/null +++ b/models/models/model_nidd_auth_update_info.go @@ -0,0 +1,23 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents NIDD authorization update information. +type NiddAuthUpdateInfo struct { + AuthorizationData *UdmNiddauAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + NiddCause NiddCause `json:"niddCause,omitempty" yaml:"niddCause" bson:"niddCause,omitempty"` +} diff --git a/models/models/model_nidd_auth_update_notification.go b/models/models/model_nidd_auth_update_notification.go new file mode 100644 index 00000000..a9a2da56 --- /dev/null +++ b/models/models/model_nidd_auth_update_notification.go @@ -0,0 +1,18 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a NIDD authorization update notification. +type NiddAuthUpdateNotification struct { + NiddAuthUpdateInfoList []NiddAuthUpdateInfo `json:"niddAuthUpdateInfoList" yaml:"niddAuthUpdateInfoList" bson:"niddAuthUpdateInfoList,omitempty"` +} diff --git a/models/models/model_nidd_authorization_info.go b/models/models/model_nidd_authorization_info.go new file mode 100644 index 00000000..e41c3cd2 --- /dev/null +++ b/models/models/model_nidd_authorization_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active NIDD Authorizations +type NiddAuthorizationInfo struct { + NiddAuthorizationList []AuthorizationInfo `json:"niddAuthorizationList" yaml:"niddAuthorizationList" bson:"niddAuthorizationList,omitempty"` +} diff --git a/models/models/model_nidd_cause.go b/models/models/model_nidd_cause.go new file mode 100644 index 00000000..1e386996 --- /dev/null +++ b/models/models/model_nidd_cause.go @@ -0,0 +1,21 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NiddCause string + +// List of NiddCause +const ( + NiddCause_SUBSCRIPTION_WITHDRAWAL NiddCause = "SUBSCRIPTION_WITHDRAWAL" + NiddCause_DNN_REMOVED NiddCause = "DNN_REMOVED" +) diff --git a/models/models/model_nni_information.go b/models/models/model_nni_information.go new file mode 100644 index 00000000..824370db --- /dev/null +++ b/models/models/model_nni_information.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniInformation struct { + SessionDirection NniSessionDirection `json:"sessionDirection,omitempty" yaml:"sessionDirection" bson:"sessionDirection,omitempty"` + NNIType NniType `json:"nNIType,omitempty" yaml:"nNIType" bson:"nNIType,omitempty"` + RelationshipMode NniRelationshipMode `json:"relationshipMode,omitempty" yaml:"relationshipMode" bson:"relationshipMode,omitempty"` + NeighbourNodeAddress *ImsAddress `json:"neighbourNodeAddress,omitempty" yaml:"neighbourNodeAddress" bson:"neighbourNodeAddress,omitempty"` +} diff --git a/models/models/model_nni_relationship_mode.go b/models/models/model_nni_relationship_mode.go new file mode 100644 index 00000000..22e5e2eb --- /dev/null +++ b/models/models/model_nni_relationship_mode.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniRelationshipMode string + +// List of NNIRelationshipMode +const ( + NniRelationshipMode_TRUSTED NniRelationshipMode = "TRUSTED" + NniRelationshipMode_NON_TRUSTED NniRelationshipMode = "NON_TRUSTED" +) diff --git a/models/models/model_nni_session_direction.go b/models/models/model_nni_session_direction.go new file mode 100644 index 00000000..2ca649d2 --- /dev/null +++ b/models/models/model_nni_session_direction.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniSessionDirection string + +// List of NNISessionDirection +const ( + NniSessionDirection_INBOUND NniSessionDirection = "INBOUND" + NniSessionDirection_OUTBOUND NniSessionDirection = "OUTBOUND" +) diff --git a/models/models/model_nni_type.go b/models/models/model_nni_type.go new file mode 100644 index 00000000..783faa3d --- /dev/null +++ b/models/models/model_nni_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NniType string + +// List of NNIType +const ( + NniType_NON_ROAMING NniType = "NON_ROAMING" + NniType_ROAMING_NO_LOOPBACK NniType = "ROAMING_NO_LOOPBACK" + NniType_ROAMING_LOOPBACK NniType = "ROAMING_LOOPBACK" +) diff --git a/models/models/model_nnwdaf_data_management_notif.go b/models/models/model_nnwdaf_data_management_notif.go new file mode 100644 index 00000000..ad99972d --- /dev/null +++ b/models/models/model_nnwdaf_data_management_notif.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents an Individual Notification. +type NnwdafDataManagementNotif struct { + DataNotification *DataNotification `json:"dataNotification,omitempty" yaml:"dataNotification" bson:"dataNotification,omitempty"` + // List of summary reports of processed notifications. + DataReports []NotifSummaryReport `json:"dataReports,omitempty" yaml:"dataReports" bson:"dataReports,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // It indicates that the termination of the data management subscription is requested by the NWDAF. + TerminationReq string `json:"terminationReq,omitempty" yaml:"terminationReq" bson:"terminationReq,omitempty"` + FetchInstruct *FetchInstruction `json:"fetchInstruct,omitempty" yaml:"fetchInstruct" bson:"fetchInstruct,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + NotifTimestamp *time.Time `json:"notifTimestamp" yaml:"notifTimestamp" bson:"notifTimestamp,omitempty"` +} diff --git a/models/models/model_nnwdaf_data_management_subsc.go b/models/models/model_nnwdaf_data_management_subsc.go new file mode 100644 index 00000000..e9660bbd --- /dev/null +++ b/models/models/model_nnwdaf_data_management_subsc.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Data Management Subscription resource. +type NnwdafDataManagementSubsc struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + AdrfSetId string `json:"adrfSetId,omitempty" yaml:"adrfSetId" bson:"adrfSetId,omitempty"` + AnaSub *NnwdafEventsSubscription `json:"anaSub,omitempty" yaml:"anaSub" bson:"anaSub,omitempty"` + // The purposes of data collection. This attribute may only be provided if user consent is reqiured depending on local policy and regulations and the consumer has not checked user consent. + DataCollectPurposes []DataCollectionPurpose `json:"dataCollectPurposes,omitempty" yaml:"dataCollectPurposes" bson:"dataCollectPurposes,omitempty"` + DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` + FormatInstruct *FormattingInstruction `json:"formatInstruct,omitempty" yaml:"formatInstruct" bson:"formatInstruct,omitempty"` + NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificURI string `json:"notificURI" yaml:"notificURI" bson:"notificURI,omitempty"` + ProcInstruct *ProcessingInstruction `json:"procInstruct,omitempty" yaml:"procInstruct" bson:"procInstruct,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetNfId string `json:"targetNfId,omitempty" yaml:"targetNfId" bson:"targetNfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` +} diff --git a/models/models/model_nnwdaf_events_subscription.go b/models/models/model_nnwdaf_events_subscription.go new file mode 100644 index 00000000..fbd777f4 --- /dev/null +++ b/models/models/model_nnwdaf_events_subscription.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Event Subscription resource. +type NnwdafEventsSubscription struct { + // Subscribed events + EventSubscriptions []NwdafEventsSubscriptionEventSubscription `json:"eventSubscriptions" yaml:"eventSubscriptions" bson:"eventSubscriptions,omitempty"` + EvtReq *ReportingInformation `json:"evtReq,omitempty" yaml:"evtReq" bson:"evtReq,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationURI string `json:"notificationURI,omitempty" yaml:"notificationURI" bson:"notificationURI,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` + FailEventReports []FailureEventInfo `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` + PrevSub *PrevSubInfo `json:"prevSub,omitempty" yaml:"prevSub" bson:"prevSub,omitempty"` + ConsNfInfo *ConsumerNfInformation `json:"consNfInfo,omitempty" yaml:"consNfInfo" bson:"consNfInfo,omitempty"` +} diff --git a/models/models/model_nnwdaf_events_subscription_notification.go b/models/models/model_nnwdaf_events_subscription_notification.go new file mode 100644 index 00000000..31450c5d --- /dev/null +++ b/models/models/model_nnwdaf_events_subscription_notification.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual NWDAF Event Subscription Notification resource. +type NnwdafEventsSubscriptionNotification struct { + // Notifications about Individual Events + EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` + // String identifying a subscription to the Nnwdaf_EventsSubscription Service + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // Notification correlation identifier. + NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` + // Subscription ID which was allocated by the source NWDAF. This parameter shall be present if the notification is for informing the assignment of a new Subscription Id by the target NWDAF. + OldSubscriptionId string `json:"oldSubscriptionId,omitempty" yaml:"oldSubscriptionId" bson:"oldSubscriptionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` +} diff --git a/models/models/model_no_profile_match_info.go b/models/models/model_no_profile_match_info.go new file mode 100644 index 00000000..946f3e6f --- /dev/null +++ b/models/models/model_no_profile_match_info.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides the reason for not finding NF matching the search criteria +type NoProfileMatchInfo struct { + Reason NoProfileMatchReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` + QueryParamCombinationList []QueryParamCombination `json:"queryParamCombinationList,omitempty" yaml:"queryParamCombinationList" bson:"queryParamCombinationList,omitempty"` +} diff --git a/models/models/model_no_profile_match_reason.go b/models/models/model_no_profile_match_reason.go new file mode 100644 index 00000000..f50eb94b --- /dev/null +++ b/models/models/model_no_profile_match_reason.go @@ -0,0 +1,24 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NoProfileMatchReason string + +// List of NoProfileMatchReason +const ( + NoProfileMatchReason_REQUESTER_PLMN_NOT_ALLOWED NoProfileMatchReason = "REQUESTER_PLMN_NOT_ALLOWED" + NoProfileMatchReason_TARGET_NF_SUSPENDED NoProfileMatchReason = "TARGET_NF_SUSPENDED" + NoProfileMatchReason_TARGET_NF_UNDISCOVERABLE NoProfileMatchReason = "TARGET_NF_UNDISCOVERABLE" + NoProfileMatchReason_QUERY_PARAMS_COMBINATION_NO_MATCH NoProfileMatchReason = "QUERY_PARAMS_COMBINATION_NO_MATCH" + NoProfileMatchReason_UNSPECIFIED NoProfileMatchReason = "UNSPECIFIED" +) diff --git a/models/models/model_node_type.go b/models/models/model_node_type.go new file mode 100644 index 00000000..bb389bb0 --- /dev/null +++ b/models/models/model_node_type.go @@ -0,0 +1,27 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NodeType string + +// List of NodeType +const ( + NodeType_AUSF NodeType = "AUSF" + NodeType_VLR NodeType = "VLR" + NodeType_SGSN NodeType = "SGSN" + NodeType_S_CSCF NodeType = "S_CSCF" + NodeType_BSF NodeType = "BSF" + NodeType_GAN_AAA_SERVER NodeType = "GAN_AAA_SERVER" + NodeType_WLAN_AAA_SERVER NodeType = "WLAN_AAA_SERVER" + NodeType_MME NodeType = "MME" +) diff --git a/models/models/model_non_dynamic5_qi.go b/models/models/model_non_dynamic5_qi.go new file mode 100644 index 00000000..b47aafd6 --- /dev/null +++ b/models/models/model_non_dynamic5_qi.go @@ -0,0 +1,29 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It indicates the QoS Characteristics for a standardized or pre-configured 5QI for downlink and uplink. +type NonDynamic5Qi struct { + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. + CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` +} diff --git a/models/models/model_non_ue_n2_info_notify_request.go b/models/models/model_non_ue_n2_info_notify_request.go new file mode 100644 index 00000000..c2308d23 --- /dev/null +++ b/models/models/model_non_ue_n2_info_notify_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NonUeN2InfoNotifyRequest struct { + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_non_ue_n2_info_subscription_create_data.go b/models/models/model_non_ue_n2_info_subscription_create_data.go new file mode 100644 index 00000000..6f3ec3ca --- /dev/null +++ b/models/models/model_non_ue_n2_info_subscription_create_data.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a create subscription request for non-UE specific N2 information notification +type NonUeN2InfoSubscriptionCreateData struct { + GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` + AnTypeList []AccessType `json:"anTypeList,omitempty" yaml:"anTypeList" bson:"anTypeList,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyCallbackUri string `json:"n2NotifyCallbackUri" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_non_ue_n2_info_subscription_created_data.go b/models/models/model_non_ue_n2_info_subscription_created_data.go new file mode 100644 index 00000000..ad310273 --- /dev/null +++ b/models/models/model_non_ue_n2_info_subscription_created_data.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data for the created subscription for non-UE specific N2 information notification +type NonUeN2InfoSubscriptionCreatedData struct { + N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` +} diff --git a/models/models/model_non_ue_n2_message_transfer_request.go b/models/models/model_non_ue_n2_message_transfer_request.go new file mode 100644 index 00000000..5f27ed6e --- /dev/null +++ b/models/models/model_non_ue_n2_message_transfer_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NonUeN2MessageTransferRequest struct { + JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` +} diff --git a/models/models/model_notif_condition.go b/models/models/model_notif_condition.go new file mode 100644 index 00000000..8855e62b --- /dev/null +++ b/models/models/model_notif_condition.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Condition (list of attributes in the NF Profile) to determine whether a notification must be sent by NRF +type NotifCondition struct { + MonitoredAttributes []string `json:"monitoredAttributes,omitempty" yaml:"monitoredAttributes" bson:"monitoredAttributes,omitempty"` + UnmonitoredAttributes []string `json:"unmonitoredAttributes,omitempty" yaml:"unmonitoredAttributes" bson:"unmonitoredAttributes,omitempty"` +} diff --git a/models/models/model_notif_summary_report.go b/models/models/model_notif_summary_report.go new file mode 100644 index 00000000..26ff290d --- /dev/null +++ b/models/models/model_notif_summary_report.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents summarized notifications based on processing instructions. +type NotifSummaryReport struct { + EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // indicating a time in seconds. + ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` + // List of event parameter reports. + EventReports []EventParamReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` +} diff --git a/models/models/model_notif_type.go b/models/models/model_notif_type.go new file mode 100644 index 00000000..6824339b --- /dev/null +++ b/models/models/model_notif_type.go @@ -0,0 +1,22 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotifType string + +// List of NotifType +const ( + NotifType_REAUTH NotifType = "REAUTH" + NotifType_UPDATEAUTH NotifType = "UPDATEAUTH" + NotifType_REVOKE NotifType = "REVOKE" +) diff --git a/models/models/model_notification_cause.go b/models/models/model_notification_cause.go new file mode 100644 index 00000000..243fe5a1 --- /dev/null +++ b/models/models/model_notification_cause.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationCause string + +// List of NotificationCause +const ( + NotificationCause_QOS_FULFILLED NotificationCause = "QOS_FULFILLED" + NotificationCause_QOS_NOT_FULFILLED NotificationCause = "QOS_NOT_FULFILLED" + NotificationCause_UP_SEC_FULFILLED NotificationCause = "UP_SEC_FULFILLED" + NotificationCause_UP_SEC_NOT_FULFILLED NotificationCause = "UP_SEC_NOT_FULFILLED" +) diff --git a/models/models/model_notification_control.go b/models/models/model_notification_control.go new file mode 100644 index 00000000..e95f9578 --- /dev/null +++ b/models/models/model_notification_control.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationControl string + +// List of NotificationControl +const ( + NotificationControl_REQUESTED NotificationControl = "REQUESTED" + NotificationControl_NOT_REQUESTED NotificationControl = "NOT_REQUESTED" +) diff --git a/models/models/model_notification_control_indication.go b/models/models/model_notification_control_indication.go new file mode 100644 index 00000000..bf8d7ff9 --- /dev/null +++ b/models/models/model_notification_control_indication.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationControlIndication string + +// List of NotificationControlIndication +const ( + NotificationControlIndication_DDN_FAILURE NotificationControlIndication = "DDN_FAILURE" + NotificationControlIndication_DDD_STATUS NotificationControlIndication = "DDD_STATUS" +) diff --git a/models/models/model_notification_description.go b/models/models/model_notification_description.go new file mode 100644 index 00000000..d3adaee3 --- /dev/null +++ b/models/models/model_notification_description.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Description of a record notification +type NotificationDescription struct { + // String providing an URI formatted according to RFC 3986. + RecordRef string `json:"recordRef" yaml:"recordRef" bson:"recordRef,omitempty"` + OperationType RecordOperation `json:"operationType" yaml:"operationType" bson:"operationType,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` +} diff --git a/models/models/model_notification_event_type.go b/models/models/model_notification_event_type.go new file mode 100644 index 00000000..5cff2496 --- /dev/null +++ b/models/models/model_notification_event_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationEventType string + +// List of NotificationEventType +const ( + NotificationEventType_REGISTERED NotificationEventType = "NF_REGISTERED" + NotificationEventType_DEREGISTERED NotificationEventType = "NF_DEREGISTERED" + NotificationEventType_PROFILE_CHANGED NotificationEventType = "NF_PROFILE_CHANGED" +) diff --git a/models/models/model_notification_flag.go b/models/models/model_notification_flag.go new file mode 100644 index 00000000..e5106b9a --- /dev/null +++ b/models/models/model_notification_flag.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NotificationFlag string + +// List of NotificationFlag +const ( + NotificationFlag_ACTIVATE NotificationFlag = "ACTIVATE" + NotificationFlag_DEACTIVATE NotificationFlag = "DEACTIVATE" + NotificationFlag_RETRIEVAL NotificationFlag = "RETRIEVAL" +) diff --git a/models/models/model_notification_item.go b/models/models/model_notification_item.go new file mode 100644 index 00000000..32ea02f4 --- /dev/null +++ b/models/models/model_notification_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a data change notification when the change occurs in a fragment (subset of resource data) of a given resource. +type NotificationItem struct { + // String providing an URI formatted according to RFC 3986. + ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` + NotifItems []UpdatedItem `json:"notifItems" yaml:"notifItems" bson:"notifItems,omitempty"` +} diff --git a/models/models/model_notification_push.go b/models/models/model_notification_push.go new file mode 100644 index 00000000..132b4d5d --- /dev/null +++ b/models/models/model_notification_push.go @@ -0,0 +1,21 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the information to be used by the NF service consumer to retrieve the PFDs and/or remove the PFDs of the applicable application identifier(s). +type NotificationPush struct { + AppIds []string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` + // indicating a time in seconds. + AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` + PfdOp PfdOperation `json:"pfdOp,omitempty" yaml:"pfdOp" bson:"pfdOp,omitempty"` +} diff --git a/models/models/model_notification_subscription.go b/models/models/model_notification_subscription.go new file mode 100644 index 00000000..4ee91528 --- /dev/null +++ b/models/models/model_notification_subscription.go @@ -0,0 +1,33 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Definition of a notification subscription +type NotificationSubscription struct { + ClientId *ClientId `json:"clientId" yaml:"clientId" bson:"clientId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + ExpiryCallbackReference string `json:"expiryCallbackReference,omitempty" yaml:"expiryCallbackReference" bson:"expiryCallbackReference,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + ExpiryNotification int32 `json:"expiryNotification,omitempty" yaml:"expiryNotification" bson:"expiryNotification,omitempty"` + SubFilter *SubscriptionFilter `json:"subFilter,omitempty" yaml:"subFilter" bson:"subFilter,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_notified_pos_info.go b/models/models/model_notified_pos_info.go new file mode 100644 index 00000000..3890aeb8 --- /dev/null +++ b/models/models/model_notified_pos_info.go @@ -0,0 +1,61 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within EventNotify notification +type NotifiedPosInfo struct { + LocationEvent AmfLocationLocationEvent `json:"locationEvent" yaml:"locationEvent" bson:"locationEvent,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNode string `json:"servingNode,omitempty" yaml:"servingNode" bson:"servingNode,omitempty"` + // Fully Qualified Domain Name + TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` + // Fully Qualified Domain Name + TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` + UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + MscServerId string `json:"mscServerId,omitempty" yaml:"mscServerId" bson:"mscServerId,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/models/model_notify_item.go b/models/models/model_notify_item.go new file mode 100644 index 00000000..a621c938 --- /dev/null +++ b/models/models/model_notify_item.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates changes on a resource. +type NotifyItem struct { + // String providing an URI formatted according to RFC 3986. + ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` + Changes []ChangeItem `json:"changes" yaml:"changes" bson:"changes,omitempty"` +} diff --git a/models/models/model_npn_access_info.go b/models/models/model_npn_access_info.go new file mode 100644 index 00000000..c1ea0fa6 --- /dev/null +++ b/models/models/model_npn_access_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NPN Access Information. +type NpnAccessInfo struct { + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` +} diff --git a/models/models/model_nr_location.go b/models/models/model_nr_location.go new file mode 100644 index 00000000..024cc071 --- /dev/null +++ b/models/models/model_nr_location.go @@ -0,0 +1,33 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the NR user location. +type NrLocation struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi" yaml:"ncgi" bson:"ncgi,omitempty"` + IgnoreNcgi bool `json:"ignoreNcgi,omitempty" yaml:"ignoreNcgi" bson:"ignoreNcgi,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` + GlobalGnbId *GlobalRanNodeId `json:"globalGnbId,omitempty" yaml:"globalGnbId" bson:"globalGnbId,omitempty"` +} diff --git a/models/models/model_nr_v2x_auth.go b/models/models/model_nr_v2x_auth.go new file mode 100644 index 00000000..10d82a4e --- /dev/null +++ b/models/models/model_nr_v2x_auth.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains NR V2X services authorized information. +type NrV2xAuth struct { + VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` + PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` +} diff --git a/models/models/model_nrf_access_token_access_token_claims.go b/models/models/model_nrf_access_token_access_token_claims.go new file mode 100644 index 00000000..663af312 --- /dev/null +++ b/models/models/model_nrf_access_token_access_token_claims.go @@ -0,0 +1,36 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The claims data structure for the access token +type NrfAccessTokenAccessTokenClaims struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + Iss string `json:"iss" yaml:"iss" bson:"iss,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + Sub string `json:"sub" yaml:"sub" bson:"sub,omitempty"` + Aud interface{} `json:"aud" yaml:"aud" bson:"aud,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + Exp int32 `json:"exp" yaml:"exp" bson:"exp,omitempty"` + ConsumerPlmnId *PlmnId `json:"consumerPlmnId,omitempty" yaml:"consumerPlmnId" bson:"consumerPlmnId,omitempty"` + ConsumerSnpnId *PlmnIdNid `json:"consumerSnpnId,omitempty" yaml:"consumerSnpnId" bson:"consumerSnpnId,omitempty"` + ProducerPlmnId *PlmnId `json:"producerPlmnId,omitempty" yaml:"producerPlmnId" bson:"producerPlmnId,omitempty"` + ProducerSnpnId *PlmnIdNid `json:"producerSnpnId,omitempty" yaml:"producerSnpnId" bson:"producerSnpnId,omitempty"` + ProducerSnssaiList []Snssai `json:"producerSnssaiList,omitempty" yaml:"producerSnssaiList" bson:"producerSnssaiList,omitempty"` + ProducerNsiList []string `json:"producerNsiList,omitempty" yaml:"producerNsiList" bson:"producerNsiList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerNfSetId string `json:"producerNfSetId,omitempty" yaml:"producerNfSetId" bson:"producerNfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerNfServiceSetId string `json:"producerNfServiceSetId,omitempty" yaml:"producerNfServiceSetId" bson:"producerNfServiceSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` +} diff --git a/models/models/model_nrf_access_token_access_token_req.go b/models/models/model_nrf_access_token_access_token_req.go new file mode 100644 index 00000000..b5af99af --- /dev/null +++ b/models/models/model_nrf_access_token_access_token_req.go @@ -0,0 +1,43 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the access token request +type NrfAccessTokenAccessTokenReq struct { + GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` + TargetNfType NrfNfManagementNfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` + Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` + RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` + RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` + RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` + // Fully Qualified Domain Name + RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` + RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` + TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` + TargetSnpn *PlmnIdNid `json:"targetSnpn,omitempty" yaml:"targetSnpn" bson:"targetSnpn,omitempty"` + TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` + TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` + // String providing an URI formatted according to RFC 3986. + HnrfAccessTokenUri string `json:"hnrfAccessTokenUri,omitempty" yaml:"hnrfAccessTokenUri" bson:"hnrfAccessTokenUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` +} diff --git a/models/models/model_nrf_access_token_access_token_rsp.go b/models/models/model_nrf_access_token_access_token_rsp.go new file mode 100644 index 00000000..6adba2fe --- /dev/null +++ b/models/models/model_nrf_access_token_access_token_rsp.go @@ -0,0 +1,22 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the access token response +type NrfAccessTokenAccessTokenRsp struct { + // JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) + AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token,omitempty"` + TokenType string `json:"token_type" yaml:"token_type" bson:"token_type,omitempty"` + ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in,omitempty"` + Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope,omitempty"` +} diff --git a/models/models/model_nrf_info.go b/models/models/model_nrf_info.go new file mode 100644 index 00000000..78d2ddab --- /dev/null +++ b/models/models/model_nrf_info.go @@ -0,0 +1,96 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an NRF NF Instance, used in hierarchical NRF deployments +type NrfInfo struct { + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdrInfo map[string]interface{} `json:"servedUdrInfo,omitempty" yaml:"servedUdrInfo" bson:"servedUdrInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdrInfoList map[string]map[string]interface{} `json:"servedUdrInfoList,omitempty" yaml:"servedUdrInfoList" bson:"servedUdrInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdmInfo map[string]interface{} `json:"servedUdmInfo,omitempty" yaml:"servedUdmInfo" bson:"servedUdmInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdmInfoList map[string]map[string]interface{} `json:"servedUdmInfoList,omitempty" yaml:"servedUdmInfoList" bson:"servedUdmInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAusfInfo map[string]interface{} `json:"servedAusfInfo,omitempty" yaml:"servedAusfInfo" bson:"servedAusfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAusfInfoList map[string]map[string]interface{} `json:"servedAusfInfoList,omitempty" yaml:"servedAusfInfoList" bson:"servedAusfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAmfInfo map[string]interface{} `json:"servedAmfInfo,omitempty" yaml:"servedAmfInfo" bson:"servedAmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedAmfInfoList map[string]map[string]interface{} `json:"servedAmfInfoList,omitempty" yaml:"servedAmfInfoList" bson:"servedAmfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSmfInfo map[string]interface{} `json:"servedSmfInfo,omitempty" yaml:"servedSmfInfo" bson:"servedSmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSmfInfoList map[string]map[string]interface{} `json:"servedSmfInfoList,omitempty" yaml:"servedSmfInfoList" bson:"servedSmfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUpfInfo map[string]interface{} `json:"servedUpfInfo,omitempty" yaml:"servedUpfInfo" bson:"servedUpfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUpfInfoList map[string]map[string]interface{} `json:"servedUpfInfoList,omitempty" yaml:"servedUpfInfoList" bson:"servedUpfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcfInfo map[string]interface{} `json:"servedPcfInfo,omitempty" yaml:"servedPcfInfo" bson:"servedPcfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcfInfoList map[string]map[string]interface{} `json:"servedPcfInfoList,omitempty" yaml:"servedPcfInfoList" bson:"servedPcfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedBsfInfo map[string]interface{} `json:"servedBsfInfo,omitempty" yaml:"servedBsfInfo" bson:"servedBsfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedBsfInfoList map[string]map[string]interface{} `json:"servedBsfInfoList,omitempty" yaml:"servedBsfInfoList" bson:"servedBsfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedChfInfo map[string]interface{} `json:"servedChfInfo,omitempty" yaml:"servedChfInfo" bson:"servedChfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedChfInfoList map[string]map[string]interface{} `json:"servedChfInfoList,omitempty" yaml:"servedChfInfoList" bson:"servedChfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNefInfo map[string]interface{} `json:"servedNefInfo,omitempty" yaml:"servedNefInfo" bson:"servedNefInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNwdafInfo map[string]interface{} `json:"servedNwdafInfo,omitempty" yaml:"servedNwdafInfo" bson:"servedNwdafInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedNwdafInfoList map[string]map[string]NwdafInfo `json:"servedNwdafInfoList,omitempty" yaml:"servedNwdafInfoList" bson:"servedNwdafInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedPcscfInfoList map[string]map[string]interface{} `json:"servedPcscfInfoList,omitempty" yaml:"servedPcscfInfoList" bson:"servedPcscfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedGmlcInfo map[string]interface{} `json:"servedGmlcInfo,omitempty" yaml:"servedGmlcInfo" bson:"servedGmlcInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedLmfInfo map[string]interface{} `json:"servedLmfInfo,omitempty" yaml:"servedLmfInfo" bson:"servedLmfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedNfInfo map[string]NfInfo `json:"servedNfInfo,omitempty" yaml:"servedNfInfo" bson:"servedNfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedHssInfoList map[string]map[string]interface{} `json:"servedHssInfoList,omitempty" yaml:"servedHssInfoList" bson:"servedHssInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdsfInfo map[string]interface{} `json:"servedUdsfInfo,omitempty" yaml:"servedUdsfInfo" bson:"servedUdsfInfo,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedUdsfInfoList map[string]map[string]interface{} `json:"servedUdsfInfoList,omitempty" yaml:"servedUdsfInfoList" bson:"servedUdsfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedScpInfoList map[string]interface{} `json:"servedScpInfoList,omitempty" yaml:"servedScpInfoList" bson:"servedScpInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedSeppInfoList map[string]interface{} `json:"servedSeppInfoList,omitempty" yaml:"servedSeppInfoList" bson:"servedSeppInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedAanfInfoList map[string]map[string]interface{} `json:"servedAanfInfoList,omitempty" yaml:"servedAanfInfoList" bson:"servedAanfInfoList,omitempty"` + Served5gDdnmfInfo map[string]Model5GDdnmfInfo `json:"served5gDdnmfInfo,omitempty" yaml:"served5gDdnmfInfo" bson:"served5gDdnmfInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedMfafInfoList map[string]MfafInfo `json:"servedMfafInfoList,omitempty" yaml:"servedMfafInfoList" bson:"servedMfafInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedEasdfInfoList map[string]map[string]EasdfInfo `json:"servedEasdfInfoList,omitempty" yaml:"servedEasdfInfoList" bson:"servedEasdfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedDccfInfoList map[string]DccfInfo `json:"servedDccfInfoList,omitempty" yaml:"servedDccfInfoList" bson:"servedDccfInfoList,omitempty"` + // A map (list of key-value pairs) where nfInstanceId serves as key + ServedMbSmfInfoList map[string]map[string]interface{} `json:"servedMbSmfInfoList,omitempty" yaml:"servedMbSmfInfoList" bson:"servedMbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedTsctsfInfoList map[string]map[string]TsctsfInfo `json:"servedTsctsfInfoList,omitempty" yaml:"servedTsctsfInfoList" bson:"servedTsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedMbUpfInfoList map[string]map[string]MbUpfInfo `json:"servedMbUpfInfoList,omitempty" yaml:"servedMbUpfInfoList" bson:"servedMbUpfInfoList,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedTrustAfInfo map[string]TrustAfInfo `json:"servedTrustAfInfo,omitempty" yaml:"servedTrustAfInfo" bson:"servedTrustAfInfo,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + ServedNssaafInfo map[string]NssaafInfo `json:"servedNssaafInfo,omitempty" yaml:"servedNssaafInfo" bson:"servedNssaafInfo,omitempty"` +} diff --git a/models/models/model_nrf_nf_discovery_nf_profile.go b/models/models/model_nrf_nf_discovery_nf_profile.go new file mode 100644 index 00000000..354bdfff --- /dev/null +++ b/models/models/model_nrf_nf_discovery_nf_profile.go @@ -0,0 +1,126 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of an NF Instance discovered by the NRF +type NrfNfDiscoveryNfProfile struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo + AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo + BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo + NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NrfNfDiscoveryNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService + NfServiceList map[string]NrfNfDiscoveryNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + // A map (list of key-value pairs) where NfSetId serves as key of DateTime + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` + SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo + AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` + MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` + // A map(list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo + EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` + DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo + NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo + MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo + TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo + MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` + TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` + NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` + HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` + IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` + MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` +} diff --git a/models/models/model_nrf_nf_discovery_nf_service.go b/models/models/model_nrf_nf_discovery_nf_service.go new file mode 100644 index 00000000..aff80b0a --- /dev/null +++ b/models/models/model_nrf_nf_discovery_nf_service.go @@ -0,0 +1,54 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance discovered by the NRF +type NrfNfDiscoveryNfService struct { + ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` + Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` + NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` + ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + // A map (list of key-value pairs) where NF Type serves as key + AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_amf_info.go b/models/models/model_nrf_nf_management_amf_info.go new file mode 100644 index 00000000..d0b986f2 --- /dev/null +++ b/models/models/model_nrf_nf_management_amf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an AMF NF Instance +type NrfNfManagementAmfInfo struct { + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + BackupInfoAmfFailure []Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure,omitempty"` + BackupInfoAmfRemoval []Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval,omitempty"` + N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo,omitempty"` + AmfOnboardingCapability bool `json:"amfOnboardingCapability,omitempty" yaml:"amfOnboardingCapability" bson:"amfOnboardingCapability,omitempty"` + HighLatencyCom bool `json:"highLatencyCom,omitempty" yaml:"highLatencyCom" bson:"highLatencyCom,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_bsf_info.go b/models/models/model_nrf_nf_management_bsf_info.go new file mode 100644 index 00000000..70fc6c81 --- /dev/null +++ b/models/models/model_nrf_nf_management_bsf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a BSF NF Instance +type NrfNfManagementBsfInfo struct { + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList,omitempty"` + Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + // Fully Qualified Domain Name + RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` + // Fully Qualified Domain Name + RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_ipv4_address_range.go b/models/models/model_nrf_nf_management_ipv4_address_range.go new file mode 100644 index 00000000..1e1910e5 --- /dev/null +++ b/models/models/model_nrf_nf_management_ipv4_address_range.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of IPv4 addresses +type NrfNfManagementIpv4AddressRange struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_ipv6_prefix_range.go b/models/models/model_nrf_nf_management_ipv6_prefix_range.go new file mode 100644 index 00000000..fcd0bceb --- /dev/null +++ b/models/models/model_nrf_nf_management_ipv6_prefix_range.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of IPv6 prefixes +type NrfNfManagementIpv6PrefixRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_mbs_session.go b/models/models/model_nrf_nf_management_mbs_session.go new file mode 100644 index 00000000..fe072ff5 --- /dev/null +++ b/models/models/model_nrf_nf_management_mbs_session.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBS Session currently served by an MB-SMF +type NrfNfManagementMbsSession struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // A map (list of key-value pairs) where the key identifies an areaSessionId + MbsAreaSessions map[string]MbsServiceAreaInfo `json:"mbsAreaSessions,omitempty" yaml:"mbsAreaSessions" bson:"mbsAreaSessions,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_nf_profile.go b/models/models/model_nrf_nf_management_nf_profile.go new file mode 100644 index 00000000..4ef26e38 --- /dev/null +++ b/models/models/model_nrf_nf_management_nf_profile.go @@ -0,0 +1,136 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of an NF Instance registered in the NRF +type NrfNfManagementNfProfile struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` + NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` + CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` + HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` + PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` + SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` + UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo + UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` + UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo + UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` + AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo + AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` + AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo + AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` + SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo + SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` + UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo + UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` + PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo + PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` + BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo + BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` + ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo + ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` + NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` + NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` + UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo + UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` + NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo + NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo + PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo + HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` + CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` + NfServices []NrfNfManagementNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` + // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService + NfServiceList map[string]NrfNfManagementNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` + NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` + NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` + GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` + NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` + OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` + // A map (list of key-value pairs) where NfSetId serves as key of DateTime + NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` + // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime + ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` + ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` + ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` + SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo + AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` + Var5gDdnmfInfo *Model5GDdnmfInfo `json:"5gDdnmfInfo,omitempty" yaml:"5gDdnmfInfo" bson:"5gDdnmfInfo,omitempty"` + MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo + EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` + DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo + NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo + MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo + TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` + // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo + MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` + TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` + NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` + HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` + IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` + MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_nf_service.go b/models/models/model_nrf_nf_management_nf_service.go new file mode 100644 index 00000000..d0bf0f81 --- /dev/null +++ b/models/models/model_nrf_nf_management_nf_service.go @@ -0,0 +1,60 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance +type NrfNfManagementNfService struct { + ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` + Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` + NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` + // Fully Qualified Domain Name + InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` + IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` + ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` + DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` + AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` + AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` + AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` + AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` + AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` + // A map (list of key-value pairs) where NF Type serves as key + AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` + // A map (list of key-value pairs) where NF Instance Id serves as key + AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` + Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` + SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` + PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` + // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) + VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` + // A map (list of key-value pairs) where IANA-assigned SMI Network Management Private Enterprise Codes serves as key + SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` + Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` + PerPlmnOauth2ReqList *PlmnOauth2 `json:"perPlmnOauth2ReqList,omitempty" yaml:"perPlmnOauth2ReqList" bson:"perPlmnOauth2ReqList,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_nf_status.go b/models/models/model_nrf_nf_management_nf_status.go new file mode 100644 index 00000000..88adeb6c --- /dev/null +++ b/models/models/model_nrf_nf_management_nf_status.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNfStatus string + +// List of NrfNFManagementNfStatus +const ( + NrfNfManagementNfStatus_REGISTERED NrfNfManagementNfStatus = "REGISTERED" + NrfNfManagementNfStatus_SUSPENDED NrfNfManagementNfStatus = "SUSPENDED" + NrfNfManagementNfStatus_UNDISCOVERABLE NrfNfManagementNfStatus = "UNDISCOVERABLE" +) diff --git a/models/models/model_nrf_nf_management_nf_type.go b/models/models/model_nrf_nf_management_nf_type.go new file mode 100644 index 00000000..7d24317d --- /dev/null +++ b/models/models/model_nrf_nf_management_nf_type.go @@ -0,0 +1,75 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNfType string + +// List of NrfNFManagementNFType +const ( + NrfNfManagementNfType_NRF NrfNfManagementNfType = "NRF" + NrfNfManagementNfType_UDM NrfNfManagementNfType = "UDM" + NrfNfManagementNfType_AMF NrfNfManagementNfType = "AMF" + NrfNfManagementNfType_SMF NrfNfManagementNfType = "SMF" + NrfNfManagementNfType_AUSF NrfNfManagementNfType = "AUSF" + NrfNfManagementNfType_NEF NrfNfManagementNfType = "NEF" + NrfNfManagementNfType_PCF NrfNfManagementNfType = "PCF" + NrfNfManagementNfType_SMSF NrfNfManagementNfType = "SMSF" + NrfNfManagementNfType_NSSF NrfNfManagementNfType = "NSSF" + NrfNfManagementNfType_UDR NrfNfManagementNfType = "UDR" + NrfNfManagementNfType_LMF NrfNfManagementNfType = "LMF" + NrfNfManagementNfType_GMLC NrfNfManagementNfType = "GMLC" + NrfNfManagementNfType__5_G_EIR NrfNfManagementNfType = "5G_EIR" + NrfNfManagementNfType_SEPP NrfNfManagementNfType = "SEPP" + NrfNfManagementNfType_UPF NrfNfManagementNfType = "UPF" + NrfNfManagementNfType_N3_IWF NrfNfManagementNfType = "N3IWF" + NrfNfManagementNfType_AF NrfNfManagementNfType = "AF" + NrfNfManagementNfType_UDSF NrfNfManagementNfType = "UDSF" + NrfNfManagementNfType_BSF NrfNfManagementNfType = "BSF" + NrfNfManagementNfType_CHF NrfNfManagementNfType = "CHF" + NrfNfManagementNfType_NWDAF NrfNfManagementNfType = "NWDAF" + NrfNfManagementNfType_PCSCF NrfNfManagementNfType = "PCSCF" + NrfNfManagementNfType_CBCF NrfNfManagementNfType = "CBCF" + NrfNfManagementNfType_HSS NrfNfManagementNfType = "HSS" + NrfNfManagementNfType_UCMF NrfNfManagementNfType = "UCMF" + NrfNfManagementNfType_SOR_AF NrfNfManagementNfType = "SOR_AF" + NrfNfManagementNfType_SPAF NrfNfManagementNfType = "SPAF" + NrfNfManagementNfType_MME NrfNfManagementNfType = "MME" + NrfNfManagementNfType_SCSAS NrfNfManagementNfType = "SCSAS" + NrfNfManagementNfType_SCEF NrfNfManagementNfType = "SCEF" + NrfNfManagementNfType_SCP NrfNfManagementNfType = "SCP" + NrfNfManagementNfType_NSSAAF NrfNfManagementNfType = "NSSAAF" + NrfNfManagementNfType_ICSCF NrfNfManagementNfType = "ICSCF" + NrfNfManagementNfType_SCSCF NrfNfManagementNfType = "SCSCF" + NrfNfManagementNfType_DRA NrfNfManagementNfType = "DRA" + NrfNfManagementNfType_IMS_AS NrfNfManagementNfType = "IMS_AS" + NrfNfManagementNfType_AANF NrfNfManagementNfType = "AANF" + NrfNfManagementNfType__5_G_DDNMF NrfNfManagementNfType = "5G_DDNMF" + NrfNfManagementNfType_NSACF NrfNfManagementNfType = "NSACF" + NrfNfManagementNfType_MFAF NrfNfManagementNfType = "MFAF" + NrfNfManagementNfType_EASDF NrfNfManagementNfType = "EASDF" + NrfNfManagementNfType_DCCF NrfNfManagementNfType = "DCCF" + NrfNfManagementNfType_MB_SMF NrfNfManagementNfType = "MB_SMF" + NrfNfManagementNfType_TSCTSF NrfNfManagementNfType = "TSCTSF" + NrfNfManagementNfType_ADRF NrfNfManagementNfType = "ADRF" + NrfNfManagementNfType_GBA_BSF NrfNfManagementNfType = "GBA_BSF" + NrfNfManagementNfType_CEF NrfNfManagementNfType = "CEF" + NrfNfManagementNfType_MB_UPF NrfNfManagementNfType = "MB_UPF" + NrfNfManagementNfType_NSWOF NrfNfManagementNfType = "NSWOF" + NrfNfManagementNfType_PKMF NrfNfManagementNfType = "PKMF" + NrfNfManagementNfType_MNPF NrfNfManagementNfType = "MNPF" + NrfNfManagementNfType_SMS_GMSC NrfNfManagementNfType = "SMS_GMSC" + NrfNfManagementNfType_SMS_IWMSC NrfNfManagementNfType = "SMS_IWMSC" + NrfNfManagementNfType_MBSF NrfNfManagementNfType = "MBSF" + NrfNfManagementNfType_MBSTF NrfNfManagementNfType = "MBSTF" + NrfNfManagementNfType_PANF NrfNfManagementNfType = "PANF" +) diff --git a/models/models/model_nrf_nf_management_notification_data.go b/models/models/model_nrf_nf_management_notification_data.go new file mode 100644 index 00000000..659ca5a5 --- /dev/null +++ b/models/models/model_nrf_nf_management_notification_data.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data sent in notifications from NRF to subscribed NF Instances +type NrfNfManagementNotificationData struct { + Event NotificationEventType `json:"event" yaml:"event" bson:"event,omitempty"` + // String providing an URI formatted according to RFC 3986. + NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri,omitempty"` + NfProfile *NrfNfManagementNfProfile `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile,omitempty"` + ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges,omitempty"` + ConditionEvent ConditionEventType `json:"conditionEvent,omitempty" yaml:"conditionEvent" bson:"conditionEvent,omitempty"` + SubscriptionContext *SubscriptionContext `json:"subscriptionContext,omitempty" yaml:"subscriptionContext" bson:"subscriptionContext,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_notification_type.go b/models/models/model_nrf_nf_management_notification_type.go new file mode 100644 index 00000000..923ea1f8 --- /dev/null +++ b/models/models/model_nrf_nf_management_notification_type.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementNotificationType string + +// List of NrfNFManagementNotificationType +const ( + NrfNfManagementNotificationType_N1_MESSAGES NrfNfManagementNotificationType = "N1_MESSAGES" + NrfNfManagementNotificationType_N2_INFORMATION NrfNfManagementNotificationType = "N2_INFORMATION" + NrfNfManagementNotificationType_LOCATION_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_NOTIFICATION" + NrfNfManagementNotificationType_DATA_REMOVAL_NOTIFICATION NrfNfManagementNotificationType = "DATA_REMOVAL_NOTIFICATION" + NrfNfManagementNotificationType_DATA_CHANGE_NOTIFICATION NrfNfManagementNotificationType = "DATA_CHANGE_NOTIFICATION" + NrfNfManagementNotificationType_LOCATION_UPDATE_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_UPDATE_NOTIFICATION" + NrfNfManagementNotificationType_NSSAA_REAUTH_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REAUTH_NOTIFICATION" + NrfNfManagementNotificationType_NSSAA_REVOC_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REVOC_NOTIFICATION" + NrfNfManagementNotificationType_MATCH_INFO_NOTIFICATION NrfNfManagementNotificationType = "MATCH_INFO_NOTIFICATION" + NrfNfManagementNotificationType_DATA_RESTORATION_NOTIFICATION NrfNfManagementNotificationType = "DATA_RESTORATION_NOTIFICATION" + NrfNfManagementNotificationType_TSCTS_NOTIFICATION NrfNfManagementNotificationType = "TSCTS_NOTIFICATION" + NrfNfManagementNotificationType_LCS_KEY_DELIVERY_NOTIFICATION NrfNfManagementNotificationType = "LCS_KEY_DELIVERY_NOTIFICATION" + NrfNfManagementNotificationType_UUAA_MM_AUTH_NOTIFICATION NrfNfManagementNotificationType = "UUAA_MM_AUTH_NOTIFICATION" +) diff --git a/models/models/model_nrf_nf_management_pfd_data.go b/models/models/model_nrf_nf_management_pfd_data.go new file mode 100644 index 00000000..2181fa81 --- /dev/null +++ b/models/models/model_nrf_nf_management_pfd_data.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Application IDs and/or AF IDs managed by a given NEF Instance +type NrfNfManagementPfdData struct { + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_pro_se_capability.go b/models/models/model_nrf_nf_management_pro_se_capability.go new file mode 100644 index 00000000..5993399d --- /dev/null +++ b/models/models/model_nrf_nf_management_pro_se_capability.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicate the supported ProSe Capability by the PCF. +type NrfNfManagementProSeCapability struct { + ProseDirectDiscovey bool `json:"proseDirectDiscovey,omitempty" yaml:"proseDirectDiscovey" bson:"proseDirectDiscovey,omitempty"` + ProseDirectCommunication bool `json:"proseDirectCommunication,omitempty" yaml:"proseDirectCommunication" bson:"proseDirectCommunication,omitempty"` + ProseL2UetoNetworkRelay bool `json:"proseL2UetoNetworkRelay,omitempty" yaml:"proseL2UetoNetworkRelay" bson:"proseL2UetoNetworkRelay,omitempty"` + ProseL3UetoNetworkRelay bool `json:"proseL3UetoNetworkRelay,omitempty" yaml:"proseL3UetoNetworkRelay" bson:"proseL3UetoNetworkRelay,omitempty"` + ProseL2RemoteUe bool `json:"proseL2RemoteUe,omitempty" yaml:"proseL2RemoteUe" bson:"proseL2RemoteUe,omitempty"` + ProseL3RemoteUe bool `json:"proseL3RemoteUe,omitempty" yaml:"proseL3RemoteUe" bson:"proseL3RemoteUe,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_subscription_data.go b/models/models/model_nrf_nf_management_subscription_data.go new file mode 100644 index 00000000..e37c0bd9 --- /dev/null +++ b/models/models/model_nrf_nf_management_subscription_data.go @@ -0,0 +1,51 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Information of a subscription to notifications to NRF events, included in subscription requests and responses +type NrfNfManagementSubscriptionData struct { + NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ReqNfInstanceId string `json:"reqNfInstanceId,omitempty" yaml:"reqNfInstanceId" bson:"reqNfInstanceId,omitempty"` + SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` + NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition,omitempty"` + ReqNfType NrfNfManagementNfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType,omitempty"` + // Fully Qualified Domain Name + ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn,omitempty"` + ReqSnssais []ExtSnssai `json:"reqSnssais,omitempty" yaml:"reqSnssais" bson:"reqSnssais,omitempty"` + ReqPerPlmnSnssais []PlmnSnssai `json:"reqPerPlmnSnssais,omitempty" yaml:"reqPerPlmnSnssais" bson:"reqPerPlmnSnssais,omitempty"` + ReqPlmnList []PlmnId `json:"reqPlmnList,omitempty" yaml:"reqPlmnList" bson:"reqPlmnList,omitempty"` + ReqSnpnList []PlmnIdNid `json:"reqSnpnList,omitempty" yaml:"reqSnpnList" bson:"reqSnpnList,omitempty"` + ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + RequesterFeatures string `json:"requesterFeatures,omitempty" yaml:"requesterFeatures" bson:"requesterFeatures,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + HnrfUri string `json:"hnrfUri,omitempty" yaml:"hnrfUri" bson:"hnrfUri,omitempty"` + OnboardingCapability bool `json:"onboardingCapability,omitempty" yaml:"onboardingCapability" bson:"onboardingCapability,omitempty"` + // Fully Qualified Domain Name + TargetHni string `json:"targetHni,omitempty" yaml:"targetHni" bson:"targetHni,omitempty"` + PreferredLocality string `json:"preferredLocality,omitempty" yaml:"preferredLocality" bson:"preferredLocality,omitempty"` +} diff --git a/models/models/model_nrf_nf_management_transport_protocol.go b/models/models/model_nrf_nf_management_transport_protocol.go new file mode 100644 index 00000000..10fb4bae --- /dev/null +++ b/models/models/model_nrf_nf_management_transport_protocol.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NrfNfManagementTransportProtocol string + +// List of NrfNFManagementTransportProtocol +const ( + NrfNfManagementTransportProtocol_TCP NrfNfManagementTransportProtocol = "TCP" +) diff --git a/models/models/model_nrppa_information.go b/models/models/model_nrppa_information.go new file mode 100644 index 00000000..922da60c --- /dev/null +++ b/models/models/model_nrppa_information.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a NRPPa related N2 information data part +type NrppaInformation struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + NrppaPdu *N2InfoContent `json:"nrppaPdu" yaml:"nrppaPdu" bson:"nrppaPdu,omitempty"` + ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` +} diff --git a/models/models/model_nsacf_capability.go b/models/models/model_nsacf_capability.go new file mode 100644 index 00000000..60b0bdf9 --- /dev/null +++ b/models/models/model_nsacf_capability.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NSACF service capabilities (e.g. to monitor and control the number of registered UEs or established PDU sessions per network slice) +type NsacfCapability struct { + // Indicates the service capability of the NSACF to monitor and control the number of registered UEs per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported + SupportUeSAC bool `json:"supportUeSAC,omitempty" yaml:"supportUeSAC" bson:"supportUeSAC,omitempty"` + // Indicates the service capability of the NSACF to monitor and control the number of established PDU sessions per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported + SupportPduSAC bool `json:"supportPduSAC,omitempty" yaml:"supportPduSAC" bson:"supportPduSAC,omitempty"` +} diff --git a/models/models/model_nsacf_info.go b/models/models/model_nsacf_info.go new file mode 100644 index 00000000..3887bac9 --- /dev/null +++ b/models/models/model_nsacf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NSACF NF Instance +type NsacfInfo struct { + NsacfCapability *NsacfCapability `json:"nsacfCapability" yaml:"nsacfCapability" bson:"nsacfCapability,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsacSaiList []string `json:"nsacSaiList,omitempty" yaml:"nsacSaiList" bson:"nsacSaiList,omitempty"` +} diff --git a/models/models/model_nsag_info.go b/models/models/model_nsag_info.go new file mode 100644 index 00000000..66b133cf --- /dev/null +++ b/models/models/model_nsag_info.go @@ -0,0 +1,21 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the association of NSAGs and S-NSSAI(s) along with the TA(s) within which the association is valid. +type NsagInfo struct { + NsagIds []int32 `json:"nsagIds" yaml:"nsagIds" bson:"nsagIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` +} diff --git a/models/models/model_nsi_id_info.go b/models/models/model_nsi_id_info.go new file mode 100644 index 00000000..78ec3936 --- /dev/null +++ b/models/models/model_nsi_id_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the S-NSSAI and the optionally associated Network Slice Instance(s). +type NsiIdInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + NsiIds []string `json:"nsiIds,omitempty" yaml:"nsiIds" bson:"nsiIds,omitempty"` +} diff --git a/models/models/model_nsi_information.go b/models/models/model_nsi_information.go new file mode 100644 index 00000000..89bb78aa --- /dev/null +++ b/models/models/model_nsi_information.go @@ -0,0 +1,27 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the API URIs of NRF services to be used to discover NFs/services, subscribe to NF status changes and/or request access tokens within the selected Network Slice instance and optional the Identifier of the selected Network Slice instance +type NsiInformation struct { + // String providing an URI formatted according to RFC 3986. + NrfId string `json:"nrfId" yaml:"nrfId" bson:"nrfId,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfNfMgtUri string `json:"nrfNfMgtUri,omitempty" yaml:"nrfNfMgtUri" bson:"nrfNfMgtUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` +} diff --git a/models/models/model_nsi_load_level_info.go b/models/models/model_nsi_load_level_info.go new file mode 100644 index 00000000..8f7bcfa9 --- /dev/null +++ b/models/models/model_nsi_load_level_info.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the network slice and optionally the associated network slice instance and the load level information. +type NsiLoadLevelInfo struct { + // Load level information of the network slice and the optionally associated network slice instance. + LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + ResUsage *ResourceUsage `json:"resUsage,omitempty" yaml:"resUsage" bson:"resUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumOfExceedLoadLevelThr int32 `json:"numOfExceedLoadLevelThr,omitempty" yaml:"numOfExceedLoadLevelThr" bson:"numOfExceedLoadLevelThr,omitempty"` + ExceedLoadLevelThrInd bool `json:"exceedLoadLevelThrInd,omitempty" yaml:"exceedLoadLevelThrInd" bson:"exceedLoadLevelThrInd,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` + // Each element indicates the time elapsed between times each threshold is met or exceeded or crossed. The start time and end time are the exact time stamps of the resource usage threshold is reached or exceeded. May be present if the \"listOfAnaSubsets\" attribute is provided and the maximum number of instances shall not exceed the value provided in the \"numOfExceedLoadLevelThr\" attribute. + ResUsgThrCrossTimePeriod []TimeWindow `json:"resUsgThrCrossTimePeriod,omitempty" yaml:"resUsgThrCrossTimePeriod" bson:"resUsgThrCrossTimePeriod,omitempty"` + NumOfUes *NumberAverage `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` + NumOfPduSess *NumberAverage `json:"numOfPduSess,omitempty" yaml:"numOfPduSess" bson:"numOfPduSess,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_nsm_charging_information.go b/models/models/model_nsm_charging_information.go new file mode 100644 index 00000000..9a13af1a --- /dev/null +++ b/models/models/model_nsm_charging_information.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NsmChargingInformation struct { + ManagementOperation ManagementOperation `json:"managementOperation" yaml:"managementOperation" bson:"managementOperation,omitempty"` + IdNetworkSliceInstance string `json:"idNetworkSliceInstance,omitempty" yaml:"idNetworkSliceInstance" bson:"idNetworkSliceInstance,omitempty"` + ListOfserviceProfileChargingInformation []ServiceProfileChargingInformation `json:"listOfserviceProfileChargingInformation,omitempty" yaml:"listOfserviceProfileChargingInformation" bson:"listOfserviceProfileChargingInformation,omitempty"` + ManagementOperationStatus ManagementOperationStatus `json:"managementOperationStatus,omitempty" yaml:"managementOperationStatus" bson:"managementOperationStatus,omitempty"` + ManagementOperationalState OperationalState `json:"managementOperationalState,omitempty" yaml:"managementOperationalState" bson:"managementOperationalState,omitempty"` + ManagementAdministrativeState AdministrativeState `json:"managementAdministrativeState,omitempty" yaml:"managementAdministrativeState" bson:"managementAdministrativeState,omitempty"` +} diff --git a/models/models/model_nsmf_event_exposure.go b/models/models/model_nsmf_event_exposure.go new file mode 100644 index 00000000..38f4d025 --- /dev/null +++ b/models/models/model_nsmf_event_exposure.go @@ -0,0 +1,68 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents an Individual SMF Notification Subscription resource. The serviveName property corresponds to the serviceName in the main body of the specification. +type NsmfEventExposure struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // Any UE indication. This IE shall be present if the event subscription is applicable to any UE. Default value \"false\" is used, if not present. + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Identifies an Individual SMF Notification Subscription. To enable that the value is used as part of a URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. In an OpenAPI schema, the format shall be designated as \"SubId\". + SubId string `json:"subId,omitempty" yaml:"subId" bson:"subId,omitempty"` + // Notification Correlation ID assigned by the NF service consumer. + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Alternate or backup IPv4 address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Subscribed events + EventSubs []SmfEventExposureEventSubscription `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` + EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + ImmeRep bool `json:"ImmeRep,omitempty" yaml:"ImmeRep" bson:"ImmeRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Criteria for partitioning the UEs before applying the sampling ratio. + PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` + // indicating a time in seconds. + GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/models/model_nsmf_event_exposure_notification.go b/models/models/model_nsmf_event_exposure_notification.go new file mode 100644 index 00000000..424c1d8d --- /dev/null +++ b/models/models/model_nsmf_event_exposure_notification.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on events that occurred. +type NsmfEventExposureNotification struct { + // Notification correlation ID + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // Notifications about Individual Events + EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // String providing an URI formatted according to RFC 3986. + AckUri string `json:"ackUri,omitempty" yaml:"ackUri" bson:"ackUri,omitempty"` +} diff --git a/models/models/model_nspa_charging_information.go b/models/models/model_nspa_charging_information.go new file mode 100644 index 00000000..ae4c0032 --- /dev/null +++ b/models/models/model_nspa_charging_information.go @@ -0,0 +1,17 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NspaChargingInformation struct { + SingleNSSAI *Snssai `json:"singleNSSAI" yaml:"singleNSSAI" bson:"singleNSSAI,omitempty"` +} diff --git a/models/models/model_nspa_container_information.go b/models/models/model_nspa_container_information.go new file mode 100644 index 00000000..2921de29 --- /dev/null +++ b/models/models/model_nspa_container_information.go @@ -0,0 +1,29 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NspaContainerInformation struct { + Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` + UplinkLatency int32 `json:"uplinkLatency,omitempty" yaml:"uplinkLatency" bson:"uplinkLatency,omitempty"` + DownlinkLatency int32 `json:"downlinkLatency,omitempty" yaml:"downlinkLatency" bson:"downlinkLatency,omitempty"` + Throughput *Throughput `json:"throughput,omitempty" yaml:"throughput" bson:"throughput,omitempty"` + UplinkThroughput *Throughput `json:"uplinkThroughput,omitempty" yaml:"uplinkThroughput" bson:"uplinkThroughput,omitempty"` + DownlinkThroughput *Throughput `json:"downlinkThroughput,omitempty" yaml:"downlinkThroughput" bson:"downlinkThroughput,omitempty"` + MaximumPacketLossRate string `json:"maximumPacketLossRate,omitempty" yaml:"maximumPacketLossRate" bson:"maximumPacketLossRate,omitempty"` + MaximumPacketLossRateUL int32 `json:"maximumPacketLossRateUL,omitempty" yaml:"maximumPacketLossRateUL" bson:"maximumPacketLossRateUL,omitempty"` + MaximumPacketLossRateDL int32 `json:"maximumPacketLossRateDL,omitempty" yaml:"maximumPacketLossRateDL" bson:"maximumPacketLossRateDL,omitempty"` + ServiceExperienceStatisticsData *NwdafEventsSubscriptionServiceExperienceInfo `json:"serviceExperienceStatisticsData,omitempty" yaml:"serviceExperienceStatisticsData" bson:"serviceExperienceStatisticsData,omitempty"` + TheNumberOfPDUSessions int32 `json:"theNumberOfPDUSessions,omitempty" yaml:"theNumberOfPDUSessions" bson:"theNumberOfPDUSessions,omitempty"` + TheNumberOfRegisteredSubscribers int32 `json:"theNumberOfRegisteredSubscribers,omitempty" yaml:"theNumberOfRegisteredSubscribers" bson:"theNumberOfRegisteredSubscribers,omitempty"` + LoadLevel *NsiLoadLevelInfo `json:"loadLevel,omitempty" yaml:"loadLevel" bson:"loadLevel,omitempty"` +} diff --git a/models/models/model_nssaa_status.go b/models/models/model_nssaa_status.go new file mode 100644 index 00000000..57a53c8f --- /dev/null +++ b/models/models/model_nssaa_status.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains the Subscribed S-NSSAI subject to NSSAA procedure and the status. +type NssaaStatus struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Status AuthStatus `json:"status" yaml:"status" bson:"status,omitempty"` +} diff --git a/models/models/model_nssaaf_info.go b/models/models/model_nssaaf_info.go new file mode 100644 index 00000000..7ed47259 --- /dev/null +++ b/models/models/model_nssaaf_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NSSAAF Instance +type NssaafInfo struct { + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` +} diff --git a/models/models/model_nssai.go b/models/models/model_nssai.go new file mode 100644 index 00000000..f55bb2aa --- /dev/null +++ b/models/models/model_nssai.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Nssai struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + DefaultSingleNssais []Snssai `json:"defaultSingleNssais" yaml:"defaultSingleNssais" bson:"defaultSingleNssais,omitempty"` + SingleNssais []Snssai `json:"singleNssais,omitempty" yaml:"singleNssais" bson:"singleNssais,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of AdditionalSnssaiData + AdditionalSnssaiData map[string]AdditionalSnssaiData `json:"additionalSnssaiData,omitempty" yaml:"additionalSnssaiData" bson:"additionalSnssaiData,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` +} diff --git a/models/models/model_nssai_ack_data.go b/models/models/model_nssai_ack_data.go new file mode 100644 index 00000000..bf65aed7 --- /dev/null +++ b/models/models/model_nssai_ack_data.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest NSSAI data update. +type NssaiAckData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` +} diff --git a/models/models/model_nssai_availability_info.go b/models/models/model_nssai_availability_info.go new file mode 100644 index 00000000..0c97a3b1 --- /dev/null +++ b/models/models/model_nssai_availability_info.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the Nssai availability information requested by the AMF +type NssaiAvailabilityInfo struct { + SupportedNssaiAvailabilityData []SupportedNssaiAvailabilityData `json:"supportedNssaiAvailabilityData" yaml:"supportedNssaiAvailabilityData" bson:"supportedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` +} diff --git a/models/models/model_nssai_map.go b/models/models/model_nssai_map.go new file mode 100644 index 00000000..d2da2b58 --- /dev/null +++ b/models/models/model_nssai_map.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NssaiMap struct { + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` +} diff --git a/models/models/model_nssai_mapping.go b/models/models/model_nssai_mapping.go new file mode 100644 index 00000000..1727d872 --- /dev/null +++ b/models/models/model_nssai_mapping.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the mapping between a S-NSSAI in serving PLMN to a S-NSSAI in home PLMN +type NssaiMapping struct { + MappedSnssai *Snssai `json:"mappedSnssai" yaml:"mappedSnssai" bson:"mappedSnssai,omitempty"` + HSnssai *Snssai `json:"hSnssai" yaml:"hSnssai" bson:"hSnssai,omitempty"` +} diff --git a/models/models/model_nssf_event_notification.go b/models/models/model_nssf_event_notification.go new file mode 100644 index 00000000..24ec1af0 --- /dev/null +++ b/models/models/model_nssf_event_notification.go @@ -0,0 +1,19 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the notification for created event subscription +type NssfEventNotification struct { + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` +} diff --git a/models/models/model_nssf_event_subscription_create_data.go b/models/models/model_nssf_event_subscription_create_data.go new file mode 100644 index 00000000..8b77a4b2 --- /dev/null +++ b/models/models/model_nssf_event_subscription_create_data.go @@ -0,0 +1,33 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// This contains the information for event subscription +type NssfEventSubscriptionCreateData struct { + // String providing an URI formatted according to RFC 3986. + NfNssaiAvailabilityUri string `json:"nfNssaiAvailabilityUri" yaml:"nfNssaiAvailabilityUri" bson:"nfNssaiAvailabilityUri,omitempty"` + TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` + Event NssfEventType `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_nssf_event_subscription_created_data.go b/models/models/model_nssf_event_subscription_created_data.go new file mode 100644 index 00000000..a66c2a7f --- /dev/null +++ b/models/models/model_nssf_event_subscription_created_data.go @@ -0,0 +1,27 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// This contains the information for created event subscription +type NssfEventSubscriptionCreatedData struct { + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData,omitempty" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_nssf_event_type.go b/models/models/model_nssf_event_type.go new file mode 100644 index 00000000..5fae5fb9 --- /dev/null +++ b/models/models/model_nssf_event_type.go @@ -0,0 +1,20 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NssfEventType string + +// List of NssfEventType +const ( + NssfEventType_SNSSAI_STATUS_CHANGE_REPORT NssfEventType = "SNSSAI_STATUS_CHANGE_REPORT" +) diff --git a/models/models/model_null_request.go b/models/models/model_null_request.go new file mode 100644 index 00000000..5c593af5 --- /dev/null +++ b/models/models/model_null_request.go @@ -0,0 +1,27 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NullRequest struct { + JsonData *ContextStatusNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` +} diff --git a/models/models/model_number_average.go b/models/models/model_number_average.go new file mode 100644 index 00000000..852b849f --- /dev/null +++ b/models/models/model_number_average.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents average and variance information. +type NumberAverage struct { + // string with format 'float' as defined in OpenAPI. + Number float32 `json:"number" yaml:"number" bson:"number,omitempty"` + // string with format 'float' as defined in OpenAPI. + Variance float32 `json:"variance" yaml:"variance" bson:"variance,omitempty"` + // string with format 'float' as defined in OpenAPI. + Skewness float32 `json:"skewness,omitempty" yaml:"skewness" bson:"skewness,omitempty"` +} diff --git a/models/models/model_nwdaf_analytics_info_analytics_data.go b/models/models/model_nwdaf_analytics_info_analytics_data.go new file mode 100644 index 00000000..b10b4932 --- /dev/null +++ b/models/models/model_nwdaf_analytics_info_analytics_data.go @@ -0,0 +1,46 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the description of analytics with parameters as relevant for the requesting NF service consumer. +type NwdafAnalyticsInfoAnalyticsData struct { + // string with format 'date-time' as defined in OpenAPI. + Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` + AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` + // The slices and their load level information. + SliceLoadLevelInfos []SliceLoadLevelInformation `json:"sliceLoadLevelInfos,omitempty" yaml:"sliceLoadLevelInfos" bson:"sliceLoadLevelInfos,omitempty"` + NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` + NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` + NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` + SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` + QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` + UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` + UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` + UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` + AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` + SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` + DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` + RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` + WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` + DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_nwdaf_analytics_info_event_filter.go b/models/models/model_nwdaf_analytics_info_event_filter.go new file mode 100644 index 00000000..b1ca1da6 --- /dev/null +++ b/models/models/model_nwdaf_analytics_info_event_filter.go @@ -0,0 +1,50 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the event filters used to identify the requested analytics. +type NwdafAnalyticsInfoEventFilter struct { + // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. + AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` + // Identification(s) of network slice. + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. + LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` + NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` + NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` + NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` + NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` + QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` + NwPerfTypes []NetworkPerfType `json:"nwPerfTypes,omitempty" yaml:"nwPerfTypes" bson:"nwPerfTypes,omitempty"` + BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` + ExcepIds []ExceptionId `json:"excepIds,omitempty" yaml:"excepIds" bson:"excepIds,omitempty"` + ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` + ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` + RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` + DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` + RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` + WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` + ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` + DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` +} diff --git a/models/models/model_nwdaf_capability.go b/models/models/model_nwdaf_capability.go new file mode 100644 index 00000000..6dfc151f --- /dev/null +++ b/models/models/model_nwdaf_capability.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the capability supported by the NWDAF +type NwdafCapability struct { + AnalyticsAggregation bool `json:"analyticsAggregation,omitempty" yaml:"analyticsAggregation" bson:"analyticsAggregation,omitempty"` + AnalyticsMetadataProvisioning bool `json:"analyticsMetadataProvisioning,omitempty" yaml:"analyticsMetadataProvisioning" bson:"analyticsMetadataProvisioning,omitempty"` +} diff --git a/models/models/model_nwdaf_cond.go b/models/models/model_nwdaf_cond.go new file mode 100644 index 00000000..efa0da8e --- /dev/null +++ b/models/models/model_nwdaf_cond.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (NWDAFs), identified by Analytics ID(s), S-NSSAI(s) or NWDAF Serving Area information, i.e. list of TAIs for which the NWDAF can provide analytics. +type NwdafCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` +} diff --git a/models/models/model_nwdaf_data.go b/models/models/model_nwdaf_data.go new file mode 100644 index 00000000..7a89d02f --- /dev/null +++ b/models/models/model_nwdaf_data.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the list of Analytic ID(s) per NWDAF instance ID used for the PDU Session consumed by the SMF. +type NwdafData struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` +} diff --git a/models/models/model_nwdaf_event.go b/models/models/model_nwdaf_event.go new file mode 100644 index 00000000..e0f22dbb --- /dev/null +++ b/models/models/model_nwdaf_event.go @@ -0,0 +1,34 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEvent string + +// List of NwdafEvent +const ( + NwdafEvent_SLICE_LOAD_LEVEL NwdafEvent = "SLICE_LOAD_LEVEL" + NwdafEvent_NETWORK_PERFORMANCE NwdafEvent = "NETWORK_PERFORMANCE" + NwdafEvent_NF_LOAD NwdafEvent = "NF_LOAD" + NwdafEvent_SERVICE_EXPERIENCE NwdafEvent = "SERVICE_EXPERIENCE" + NwdafEvent_UE_MOBILITY NwdafEvent = "UE_MOBILITY" + NwdafEvent_UE_COMMUNICATION NwdafEvent = "UE_COMMUNICATION" + NwdafEvent_QOS_SUSTAINABILITY NwdafEvent = "QOS_SUSTAINABILITY" + NwdafEvent_ABNORMAL_BEHAVIOUR NwdafEvent = "ABNORMAL_BEHAVIOUR" + NwdafEvent_USER_DATA_CONGESTION NwdafEvent = "USER_DATA_CONGESTION" + NwdafEvent_NSI_LOAD_LEVEL NwdafEvent = "NSI_LOAD_LEVEL" + NwdafEvent_DN_PERFORMANCE NwdafEvent = "DN_PERFORMANCE" + NwdafEvent_DISPERSION NwdafEvent = "DISPERSION" + NwdafEvent_RED_TRANS_EXP NwdafEvent = "RED_TRANS_EXP" + NwdafEvent_WLAN_PERFORMANCE NwdafEvent = "WLAN_PERFORMANCE" + NwdafEvent_SM_CONGESTION NwdafEvent = "SM_CONGESTION" +) diff --git a/models/models/model_nwdaf_events_subscription_accuracy.go b/models/models/model_nwdaf_events_subscription_accuracy.go new file mode 100644 index 00000000..b9627f02 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_accuracy.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionAccuracy string + +// List of NwdafEventsSubscriptionAccuracy +const ( + NwdafEventsSubscriptionAccuracy_LOW NwdafEventsSubscriptionAccuracy = "LOW" + NwdafEventsSubscriptionAccuracy_HIGH NwdafEventsSubscriptionAccuracy = "HIGH" +) diff --git a/models/models/model_nwdaf_events_subscription_congestion_type.go b/models/models/model_nwdaf_events_subscription_congestion_type.go new file mode 100644 index 00000000..2a31fdf6 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_congestion_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionCongestionType string + +// List of NwdafEventsSubscriptionCongestionType +const ( + NwdafEventsSubscriptionCongestionType_USER_PLANE NwdafEventsSubscriptionCongestionType = "USER_PLANE" + NwdafEventsSubscriptionCongestionType_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "CONTROL_PLANE" + NwdafEventsSubscriptionCongestionType_USER_AND_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "USER_AND_CONTROL_PLANE" +) diff --git a/models/models/model_nwdaf_events_subscription_dispersion_collection.go b/models/models/model_nwdaf_events_subscription_dispersion_collection.go new file mode 100644 index 00000000..65e481c4 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_dispersion_collection.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Dispersion collection per UE location or per slice. +type NwdafEventsSubscriptionDispersionCollection struct { + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + AppVolumes []ApplicationVolume `json:"appVolumes,omitempty" yaml:"appVolumes" bson:"appVolumes,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DisperAmount int32 `json:"disperAmount,omitempty" yaml:"disperAmount" bson:"disperAmount,omitempty"` + DisperClass *DispersionClass `json:"disperClass,omitempty" yaml:"disperClass" bson:"disperClass,omitempty"` + // Integer where the allowed values correspond to 1, 2, 3 only. + UsageRank int32 `json:"usageRank,omitempty" yaml:"usageRank" bson:"usageRank,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + PercentileRank int32 `json:"percentileRank,omitempty" yaml:"percentileRank" bson:"percentileRank,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_nwdaf_events_subscription_event_notification.go b/models/models/model_nwdaf_events_subscription_event_notification.go new file mode 100644 index 00000000..a604bc82 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_event_notification.go @@ -0,0 +1,47 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a notification on events that occurred. +type NwdafEventsSubscriptionEventNotification struct { + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` + FailNotifyCode NwdafFailureCode `json:"failNotifyCode,omitempty" yaml:"failNotifyCode" bson:"failNotifyCode,omitempty"` + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` + AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` + NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` + NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` + SliceLoadLevelInfo *SliceLoadLevelInformation `json:"sliceLoadLevelInfo,omitempty" yaml:"sliceLoadLevelInfo" bson:"sliceLoadLevelInfo,omitempty"` + SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` + QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` + UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` + UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` + UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` + AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` + NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` + DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` + DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` + RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` + WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` + SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` +} diff --git a/models/models/model_nwdaf_events_subscription_event_subscription.go b/models/models/model_nwdaf_events_subscription_event_subscription.go new file mode 100644 index 00000000..1cd7e252 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_event_subscription.go @@ -0,0 +1,67 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a subscription to a single event. +type NwdafEventsSubscriptionEventSubscription struct { + // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. + AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` + // Identification(s) of application to which the subscription applies. + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + // Identification(s) of DNN to which the subscription applies. + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` + Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` + ExtraReportReq *EventReportingRequirement `json:"extraReportReq,omitempty" yaml:"extraReportReq" bson:"extraReportReq,omitempty"` + // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. + LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` + // Indicates that the NWDAF shall report the corresponding network slice load level to the NF service consumer where the load level of the network slice identified by snssais is reached. + LoadLevelThreshold int32 `json:"loadLevelThreshold,omitempty" yaml:"loadLevelThreshold" bson:"loadLevelThreshold,omitempty"` + NotificationMethod NwdafEventsSubscriptionNotificationMethod `json:"notificationMethod,omitempty" yaml:"notificationMethod" bson:"notificationMethod,omitempty"` + MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` + // Shall be supplied in order to start reporting when an average load level is reached. + NfLoadLvlThds []ThresholdLevel `json:"nfLoadLvlThds,omitempty" yaml:"nfLoadLvlThds" bson:"nfLoadLvlThds,omitempty"` + NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` + NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` + NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` + NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` + NsiLevelThrds []int32 `json:"nsiLevelThrds,omitempty" yaml:"nsiLevelThrds" bson:"nsiLevelThrds,omitempty"` + QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` + QosFlowRetThds []RetainabilityThreshold `json:"qosFlowRetThds,omitempty" yaml:"qosFlowRetThds" bson:"qosFlowRetThds,omitempty"` + RanUeThrouThds []string `json:"ranUeThrouThds,omitempty" yaml:"ranUeThrouThds" bson:"ranUeThrouThds,omitempty"` + // indicating a time in seconds. + RepetitionPeriod int32 `json:"repetitionPeriod,omitempty" yaml:"repetitionPeriod" bson:"repetitionPeriod,omitempty"` + // Identification(s) of network slice to which the subscription applies. It corresponds to snssais in the data model definition of 3GPP TS 29.520. + Snssaia []Snssai `json:"snssaia,omitempty" yaml:"snssaia" bson:"snssaia,omitempty"` + TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` + CongThresholds []ThresholdLevel `json:"congThresholds,omitempty" yaml:"congThresholds" bson:"congThresholds,omitempty"` + NwPerfRequs []NetworkPerfRequirement `json:"nwPerfRequs,omitempty" yaml:"nwPerfRequs" bson:"nwPerfRequs,omitempty"` + BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` + ExcepRequs []Exception `json:"excepRequs,omitempty" yaml:"excepRequs" bson:"excepRequs,omitempty"` + ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` + ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` + RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` + ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` + DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` + RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` + WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` + DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` +} diff --git a/models/models/model_nwdaf_events_subscription_location_info.go b/models/models/model_nwdaf_events_subscription_location_info.go new file mode 100644 index 00000000..eec77418 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_location_info.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents UE location information. +type NwdafEventsSubscriptionLocationInfo struct { + Loc *UserLocation `json:"loc" yaml:"loc" bson:"loc,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_nwdaf_events_subscription_nf_status.go b/models/models/model_nwdaf_events_subscription_nf_status.go new file mode 100644 index 00000000..e16e0829 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_nf_status.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the percentage of time spent on various NF states. +type NwdafEventsSubscriptionNfStatus struct { + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusRegistered int32 `json:"statusRegistered,omitempty" yaml:"statusRegistered" bson:"statusRegistered,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusUnregistered int32 `json:"statusUnregistered,omitempty" yaml:"statusUnregistered" bson:"statusUnregistered,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + StatusUndiscoverable int32 `json:"statusUndiscoverable,omitempty" yaml:"statusUndiscoverable" bson:"statusUndiscoverable,omitempty"` +} diff --git a/models/models/model_nwdaf_events_subscription_notification_method.go b/models/models/model_nwdaf_events_subscription_notification_method.go new file mode 100644 index 00000000..f591e16e --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_notification_method.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafEventsSubscriptionNotificationMethod string + +// List of NwdafEventsSubscriptionNotificationMethod +const ( + NwdafEventsSubscriptionNotificationMethod_PERIODIC NwdafEventsSubscriptionNotificationMethod = "PERIODIC" + NwdafEventsSubscriptionNotificationMethod_THRESHOLD NwdafEventsSubscriptionNotificationMethod = "THRESHOLD" +) diff --git a/models/models/model_nwdaf_events_subscription_service_experience_info.go b/models/models/model_nwdaf_events_subscription_service_experience_info.go new file mode 100644 index 00000000..10ea6df1 --- /dev/null +++ b/models/models/model_nwdaf_events_subscription_service_experience_info.go @@ -0,0 +1,40 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents service experience information. +type NwdafEventsSubscriptionServiceExperienceInfo struct { + SvcExprc *SvcExperience `json:"svcExprc" yaml:"svcExprc" bson:"svcExprc,omitempty"` + // string with format 'float' as defined in OpenAPI. + SvcExprcVariance float32 `json:"svcExprcVariance,omitempty" yaml:"svcExprcVariance" bson:"svcExprcVariance,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + SrvExpcType ServiceExperienceType `json:"srvExpcType,omitempty" yaml:"srvExpcType" bson:"srvExpcType,omitempty"` + UeLocs []NwdafEventsSubscriptionLocationInfo `json:"ueLocs,omitempty" yaml:"ueLocs" bson:"ueLocs,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + AppServerInst *AddrFqdn `json:"appServerInst,omitempty" yaml:"appServerInst" bson:"appServerInst,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + RatFreq *RatFreqInformation `json:"ratFreq,omitempty" yaml:"ratFreq" bson:"ratFreq,omitempty"` +} diff --git a/models/models/model_nwdaf_failure_code.go b/models/models/model_nwdaf_failure_code.go new file mode 100644 index 00000000..b7232299 --- /dev/null +++ b/models/models/model_nwdaf_failure_code.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafFailureCode string + +// List of NwdafFailureCode +const ( + NwdafFailureCode_UNAVAILABLE_DATA NwdafFailureCode = "UNAVAILABLE_DATA" + NwdafFailureCode_BOTH_STAT_PRED_NOT_ALLOWED NwdafFailureCode = "BOTH_STAT_PRED_NOT_ALLOWED" + NwdafFailureCode_UNSATISFIED_REQUESTED_ANALYTICS_TIME NwdafFailureCode = "UNSATISFIED_REQUESTED_ANALYTICS_TIME" + NwdafFailureCode_OTHER NwdafFailureCode = "OTHER" +) diff --git a/models/models/model_nwdaf_info.go b/models/models/model_nwdaf_info.go new file mode 100644 index 00000000..b68fc2a3 --- /dev/null +++ b/models/models/model_nwdaf_info.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a NWDAF NF Instance +type NwdafInfo struct { + EventIds []EventId `json:"eventIds,omitempty" yaml:"eventIds" bson:"eventIds,omitempty"` + NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NwdafCapability *NwdafCapability `json:"nwdafCapability,omitempty" yaml:"nwdafCapability" bson:"nwdafCapability,omitempty"` + // indicating a time in seconds. + AnalyticsDelay int32 `json:"analyticsDelay,omitempty" yaml:"analyticsDelay" bson:"analyticsDelay,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` +} diff --git a/models/models/model_nwdaf_ml_model_prov_notif.go b/models/models/model_nwdaf_ml_model_prov_notif.go new file mode 100644 index 00000000..9f27fb84 --- /dev/null +++ b/models/models/model_nwdaf_ml_model_prov_notif.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications on events that occurred. +type NwdafMlModelProvNotif struct { + // Notifications about Individual Events. + EventNotifs []MlEventNotif `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // String identifying a subscription to the Nnwdaf_MLModelProvision Service. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` +} diff --git a/models/models/model_nwdaf_ml_model_prov_subsc.go b/models/models/model_nwdaf_ml_model_prov_subsc.go new file mode 100644 index 00000000..b3cf0a04 --- /dev/null +++ b/models/models/model_nwdaf_ml_model_prov_subsc.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents NWDAF Event Subscription resources. +type NwdafMlModelProvSubsc struct { + // Subscribed events + MLEventSubscs []MlEventSubscription `json:"mLEventSubscs" yaml:"mLEventSubscs" bson:"mLEventSubscs,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + MLEventNotifs []MlEventNotif `json:"mLEventNotifs,omitempty" yaml:"mLEventNotifs" bson:"mLEventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeats string `json:"suppFeats,omitempty" yaml:"suppFeats" bson:"suppFeats,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` + FailEventReports []FailureEventInfoForMlModel `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` +} diff --git a/models/models/model_nwdaf_ml_model_provision_failure_code.go b/models/models/model_nwdaf_ml_model_provision_failure_code.go new file mode 100644 index 00000000..58972d23 --- /dev/null +++ b/models/models/model_nwdaf_ml_model_provision_failure_code.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type NwdafMlModelProvisionFailureCode string + +// List of NwdafMLModelProvisionFailureCode +const ( + NwdafMlModelProvisionFailureCode_UNAVAILABLE_ML_MODEL NwdafMlModelProvisionFailureCode = "UNAVAILABLE_ML_MODEL" +) diff --git a/models/models/model_nwdaf_registration.go b/models/models/model_nwdaf_registration.go new file mode 100644 index 00000000..87695349 --- /dev/null +++ b/models/models/model_nwdaf_registration.go @@ -0,0 +1,32 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The complete set of information relevant to an NWDAF serving the UE +type NwdafRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_nwdaf_registration_info.go b/models/models/model_nwdaf_registration_info.go new file mode 100644 index 00000000..4957c0ce --- /dev/null +++ b/models/models/model_nwdaf_registration_info.go @@ -0,0 +1,18 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of NwdafRegistration +type NwdafRegistrationInfo struct { + NwdafRegistrationList []NwdafRegistration `json:"nwdafRegistrationList" yaml:"nwdafRegistrationList" bson:"nwdafRegistrationList,omitempty"` +} diff --git a/models/models/model_nwdaf_registration_modification.go b/models/models/model_nwdaf_registration_modification.go new file mode 100644 index 00000000..2059d798 --- /dev/null +++ b/models/models/model_nwdaf_registration_modification.go @@ -0,0 +1,24 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains attributes of NwdafRegistration that can be modified using PATCH +type NwdafRegistrationModification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_nwdaf_subscription.go b/models/models/model_nwdaf_subscription.go new file mode 100644 index 00000000..38ab69ea --- /dev/null +++ b/models/models/model_nwdaf_subscription.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual NWDAF subscription identified by the subscription Id. +type NwdafSubscription struct { + // String providing an URI formatted according to RFC 3986. + NwdafEvtSubsServiceUri string `json:"nwdafEvtSubsServiceUri" yaml:"nwdafEvtSubsServiceUri" bson:"nwdafEvtSubsServiceUri,omitempty"` + NwdafEventsSubscription *NnwdafEventsSubscription `json:"nwdafEventsSubscription" yaml:"nwdafEventsSubscription" bson:"nwdafEventsSubscription,omitempty"` +} diff --git a/models/models/model_observed_redundant_trans_exp.go b/models/models/model_observed_redundant_trans_exp.go new file mode 100644 index 00000000..efe072dd --- /dev/null +++ b/models/models/model_observed_redundant_trans_exp.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the observed redundant transmission experience related information. +type ObservedRedundantTransExp struct { + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPktDropRateUl int32 `json:"avgPktDropRateUl,omitempty" yaml:"avgPktDropRateUl" bson:"avgPktDropRateUl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDropRateUl float32 `json:"varPktDropRateUl,omitempty" yaml:"varPktDropRateUl" bson:"varPktDropRateUl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPktDropRateDl int32 `json:"avgPktDropRateDl,omitempty" yaml:"avgPktDropRateDl" bson:"avgPktDropRateDl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDropRateDl float32 `json:"varPktDropRateDl,omitempty" yaml:"varPktDropRateDl" bson:"varPktDropRateDl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPktDelayUl int32 `json:"avgPktDelayUl,omitempty" yaml:"avgPktDelayUl" bson:"avgPktDelayUl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDelayUl float32 `json:"varPktDelayUl,omitempty" yaml:"varPktDelayUl" bson:"varPktDelayUl,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPktDelayDl int32 `json:"avgPktDelayDl,omitempty" yaml:"avgPktDelayDl" bson:"avgPktDelayDl,omitempty"` + // string with format 'float' as defined in OpenAPI. + VarPktDelayDl float32 `json:"varPktDelayDl,omitempty" yaml:"varPktDelayDl" bson:"varPktDelayDl,omitempty"` +} diff --git a/models/models/model_occurrence_info.go b/models/models/model_occurrence_info.go new file mode 100644 index 00000000..642c2747 --- /dev/null +++ b/models/models/model_occurrence_info.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OccurrenceInfo string + +// List of OccurrenceInfo +const ( + OccurrenceInfo_ONE_TIME_EVENT OccurrenceInfo = "ONE_TIME_EVENT" + OccurrenceInfo_MULTIPLE_TIME_EVENT OccurrenceInfo = "MULTIPLE_TIME_EVENT" +) diff --git a/models/models/model_odb_data.go b/models/models/model_odb_data.go new file mode 100644 index 00000000..bc2cfafa --- /dev/null +++ b/models/models/model_odb_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information regarding operater determined barring. +type OdbData struct { + RoamingOdb RoamingOdb `json:"roamingOdb,omitempty" yaml:"roamingOdb" bson:"roamingOdb,omitempty"` +} diff --git a/models/models/model_odb_packet_services.go b/models/models/model_odb_packet_services.go new file mode 100644 index 00000000..59e161c6 --- /dev/null +++ b/models/models/model_odb_packet_services.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OdbPacketServices struct { +} diff --git a/models/models/model_one_time_event_type.go b/models/models/model_one_time_event_type.go new file mode 100644 index 00000000..0c32d423 --- /dev/null +++ b/models/models/model_one_time_event_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OneTimeEventType string + +// List of oneTimeEventType +const ( + OneTimeEventType_IEC OneTimeEventType = "IEC" + OneTimeEventType_PEC OneTimeEventType = "PEC" +) diff --git a/models/models/model_op_event_type.go b/models/models/model_op_event_type.go new file mode 100644 index 00000000..66ae476b --- /dev/null +++ b/models/models/model_op_event_type.go @@ -0,0 +1,21 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OpEventType string + +// List of OpEventType +const ( + OpEventType_AMF_CHANGE OpEventType = "AMF_CHANGE" + OpEventType_NG_RAN_EVENT OpEventType = "NG_RAN_EVENT" +) diff --git a/models/models/model_operation_event.go b/models/models/model_operation_event.go new file mode 100644 index 00000000..551a884d --- /dev/null +++ b/models/models/model_operation_event.go @@ -0,0 +1,21 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Operation Event for a Broadcast MBS Session. +type OperationEvent struct { + OpEventType OpEventType `json:"opEventType" yaml:"opEventType" bson:"opEventType,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` + NgranFailureEventList []NgranFailureEvent `json:"ngranFailureEventList,omitempty" yaml:"ngranFailureEventList" bson:"ngranFailureEventList,omitempty"` +} diff --git a/models/models/model_operation_mode.go b/models/models/model_operation_mode.go new file mode 100644 index 00000000..73210dfb --- /dev/null +++ b/models/models/model_operation_mode.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationMode string + +// List of OperationMode +const ( + OperationMode_WB_S1 OperationMode = "WB_S1" + OperationMode_NB_S1 OperationMode = "NB_S1" + OperationMode_WB_N1 OperationMode = "WB_N1" + OperationMode_NB_N1 OperationMode = "NB_N1" + OperationMode_NR_N1 OperationMode = "NR_N1" +) diff --git a/models/models/model_operation_status.go b/models/models/model_operation_status.go new file mode 100644 index 00000000..38042b16 --- /dev/null +++ b/models/models/model_operation_status.go @@ -0,0 +1,23 @@ +/* + * Namf_MBSBroadcast + * + * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.0.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationStatus string + +// List of OperationStatus +const ( + OperationStatus_START_COMPLETE OperationStatus = "MBS_SESSION_START_COMPLETE" + OperationStatus_START_INCOMPLETE OperationStatus = "MBS_SESSION_START_INCOMPLETE" + OperationStatus_UPDATE_COMPLETE OperationStatus = "MBS_SESSION_UPDATE_COMPLETE" + OperationStatus_UPDATE_INCOMPLETE OperationStatus = "MBS_SESSION_UPDATE_INCOMPLETE" +) diff --git a/models/models/model_operational_state.go b/models/models/model_operational_state.go new file mode 100644 index 00000000..d0c6cc8c --- /dev/null +++ b/models/models/model_operational_state.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OperationalState string + +// List of OperationalState +const ( + OperationalState_ENABLED OperationalState = "ENABLED" + OperationalState_DISABLED OperationalState = "DISABLED" +) diff --git a/models/models/model_operator_specific_data_container.go b/models/models/model_operator_specific_data_container.go new file mode 100644 index 00000000..ecb8bfd1 --- /dev/null +++ b/models/models/model_operator_specific_data_container.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Container for operator specific data. +type OperatorSpecificDataContainer struct { + DataType string `json:"dataType" yaml:"dataType" bson:"dataType,omitempty"` + DataTypeDefinition string `json:"dataTypeDefinition,omitempty" yaml:"dataTypeDefinition" bson:"dataTypeDefinition,omitempty"` + Value interface{} `json:"value" yaml:"value" bson:"value,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_options_response.go b/models/models/model_options_response.go new file mode 100644 index 00000000..4e5f4039 --- /dev/null +++ b/models/models/model_options_response.go @@ -0,0 +1,19 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Communication options of the NRF sent in response payload of OPTIONS method +type OptionsResponse struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_originator_info.go b/models/models/model_originator_info.go new file mode 100644 index 00000000..1c1cde9a --- /dev/null +++ b/models/models/model_originator_info.go @@ -0,0 +1,25 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OriginatorInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + OriginatorSUPI string `json:"originatorSUPI,omitempty" yaml:"originatorSUPI" bson:"originatorSUPI,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + OriginatorGPSI string `json:"originatorGPSI,omitempty" yaml:"originatorGPSI" bson:"originatorGPSI,omitempty"` + OriginatorOtherAddress *SmAddressInfo `json:"originatorOtherAddress,omitempty" yaml:"originatorOtherAddress" bson:"originatorOtherAddress,omitempty"` + OriginatorReceivedAddress *SmAddressInfo `json:"originatorReceivedAddress,omitempty" yaml:"originatorReceivedAddress" bson:"originatorReceivedAddress,omitempty"` + OriginatorSCCPAddress string `json:"originatorSCCPAddress,omitempty" yaml:"originatorSCCPAddress" bson:"originatorSCCPAddress,omitempty"` + SMOriginatorInterface *SmInterface `json:"sMOriginatorInterface,omitempty" yaml:"sMOriginatorInterface" bson:"sMOriginatorInterface,omitempty"` + SMOriginatorProtocolId string `json:"sMOriginatorProtocolId,omitempty" yaml:"sMOriginatorProtocolId" bson:"sMOriginatorProtocolId,omitempty"` +} diff --git a/models/models/model_originator_party_type.go b/models/models/model_originator_party_type.go new file mode 100644 index 00000000..a1539266 --- /dev/null +++ b/models/models/model_originator_party_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OriginatorPartyType string + +// List of OriginatorPartyType +const ( + OriginatorPartyType_CALLING OriginatorPartyType = "CALLING" + OriginatorPartyType_CALLED OriginatorPartyType = "CALLED" +) diff --git a/models/models/model_out_of_credit_information.go b/models/models/model_out_of_credit_information.go new file mode 100644 index 00000000..5370a1c6 --- /dev/null +++ b/models/models/model_out_of_credit_information.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the SDFs without available credit and the corresponding termination action. +type OutOfCreditInformation struct { + FinUnitAct FinalUnitAction `json:"finUnitAct" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/models/model_output_strategy.go b/models/models/model_output_strategy.go new file mode 100644 index 00000000..3ae4aec5 --- /dev/null +++ b/models/models/model_output_strategy.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type OutputStrategy string + +// List of OutputStrategy +const ( + OutputStrategy_BINARY OutputStrategy = "BINARY" + OutputStrategy_GRADIENT OutputStrategy = "GRADIENT" +) diff --git a/models/models/model_packet_filter_info.go b/models/models/model_packet_filter_info.go new file mode 100644 index 00000000..7ed8b6bd --- /dev/null +++ b/models/models/model_packet_filter_info.go @@ -0,0 +1,28 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information from a single packet filter sent from the SMF to the PCF. +type PacketFilterInfo struct { + // An identifier of packet filter. + PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` + // Defines a packet filter for an IP flow. + PackFiltCont string `json:"packFiltCont,omitempty" yaml:"packFiltCont" bson:"packFiltCont,omitempty"` + // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. + TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` + // The security parameter index of the IPSec packet. + Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` + // The Ipv6 flow label header field. + FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` + FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` +} diff --git a/models/models/model_parameter_processing_instruction.go b/models/models/model_parameter_processing_instruction.go new file mode 100644 index 00000000..3cfaf410 --- /dev/null +++ b/models/models/model_parameter_processing_instruction.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an event parameter name and the respective event parameter values and sets of attributes to be used in summarized reports. +type ParameterProcessingInstruction struct { + // A JSON pointer value that references an attribute within the notification object to which the processing instruction is applied. + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + // A list of values for the attribute identified by the name attribute. + Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` + // Attributes requested to be used in the summarized reports. + SumAttrs []SummarizationAttribute `json:"sumAttrs" yaml:"sumAttrs" bson:"sumAttrs,omitempty"` + AggrLevel AggregationLevel `json:"aggrLevel,omitempty" yaml:"aggrLevel" bson:"aggrLevel,omitempty"` + // Indicates the UEs for which processed reports are requested. + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + // Indicates the Areas of Interest for which processed reports are requested. + Areas []NetworkAreaInfo `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` +} diff --git a/models/models/model_partial_record_method.go b/models/models/model_partial_record_method.go new file mode 100644 index 00000000..e2194e6a --- /dev/null +++ b/models/models/model_partial_record_method.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PartialRecordMethod string + +// List of PartialRecordMethod +const ( + PartialRecordMethod_DEFAULT PartialRecordMethod = "DEFAULT" + PartialRecordMethod_INDIVIDUAL PartialRecordMethod = "INDIVIDUAL" +) diff --git a/models/models/model_partial_success_report.go b/models/models/model_partial_success_report.go new file mode 100644 index 00000000..325ec1f3 --- /dev/null +++ b/models/models/model_partial_success_report.go @@ -0,0 +1,27 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Includes the information reported by the SMF when some of the PCC rules and/or session rules are not successfully installed/activated. +type PartialSuccessReport struct { + FailureCause PcfSmPolicyControlFailureCause `json:"failureCause" yaml:"failureCause" bson:"failureCause,omitempty"` + // Information about the PCC rules provisioned by the PCF not successfully installed/activated. + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` + // Information about the session rules provisioned by the PCF not successfully installed. + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` + UeCampingRep *UeCampingRep `json:"ueCampingRep,omitempty" yaml:"ueCampingRep" bson:"ueCampingRep,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` +} diff --git a/models/models/model_participant_action_type.go b/models/models/model_participant_action_type.go new file mode 100644 index 00000000..ece49d24 --- /dev/null +++ b/models/models/model_participant_action_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ParticipantActionType string + +// List of ParticipantActionType +const ( + ParticipantActionType_CREATE ParticipantActionType = "CREATE" + ParticipantActionType_JOIN ParticipantActionType = "JOIN" + ParticipantActionType_INVITE_INTO ParticipantActionType = "INVITE_INTO" + ParticipantActionType_QUIT ParticipantActionType = "QUIT" +) diff --git a/models/models/model_partitioning_criteria.go b/models/models/model_partitioning_criteria.go new file mode 100644 index 00000000..c0dd0d11 --- /dev/null +++ b/models/models/model_partitioning_criteria.go @@ -0,0 +1,24 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PartitioningCriteria string + +// List of PartitioningCriteria +const ( + PartitioningCriteria_TAC PartitioningCriteria = "TAC" + PartitioningCriteria_SUBPLMN PartitioningCriteria = "SUBPLMN" + PartitioningCriteria_GEOAREA PartitioningCriteria = "GEOAREA" + PartitioningCriteria_SNSSAI PartitioningCriteria = "SNSSAI" + PartitioningCriteria_DNN PartitioningCriteria = "DNN" +) diff --git a/models/models/model_patch_bdt_policy.go b/models/models/model_patch_bdt_policy.go new file mode 100644 index 00000000..1985cf80 --- /dev/null +++ b/models/models/model_patch_bdt_policy.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the updates in authorization data of an Individual BDT Policy created by the PCF. +type PatchBdtPolicy struct { + BdtPolData *PcfBdtPolicyControlBdtPolicyDataPatch `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` + BdtReqData *BdtReqDataPatch `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` +} diff --git a/models/models/model_patch_item.go b/models/models/model_patch_item.go new file mode 100644 index 00000000..84da486a --- /dev/null +++ b/models/models/model_patch_item.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// it contains information on data to be changed. +type PatchItem struct { + Op PatchOperation `json:"op" yaml:"op" bson:"op,omitempty"` + // contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource on which the patch operation shall be performed. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. + From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` + Value interface{} `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/models/model_patch_operation.go b/models/models/model_patch_operation.go new file mode 100644 index 00000000..591e5813 --- /dev/null +++ b/models/models/model_patch_operation.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PatchOperation string + +// List of PatchOperation +const ( + PatchOperation_ADD PatchOperation = "add" + PatchOperation_COPY PatchOperation = "copy" + PatchOperation_MOVE PatchOperation = "move" + PatchOperation_REMOVE PatchOperation = "remove" + PatchOperation_REPLACE PatchOperation = "replace" + PatchOperation_TEST PatchOperation = "test" +) diff --git a/models/models/model_patch_result.go b/models/models/model_patch_result.go new file mode 100644 index 00000000..920f2dd4 --- /dev/null +++ b/models/models/model_patch_result.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The execution report result on failed modification. +type PatchResult struct { + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` +} diff --git a/models/models/model_pc5_capability.go b/models/models/model_pc5_capability.go new file mode 100644 index 00000000..4686f51b --- /dev/null +++ b/models/models/model_pc5_capability.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pc5Capability string + +// List of Pc5Capability +const ( + Pc5Capability_LTE_PC5 Pc5Capability = "LTE_PC5" + Pc5Capability_NR_PC5 Pc5Capability = "NR_PC5" + Pc5Capability_LTE_NR_PC5 Pc5Capability = "LTE_NR_PC5" +) diff --git a/models/models/model_pc5_container_information.go b/models/models/model_pc5_container_information.go new file mode 100644 index 00000000..d7f6e200 --- /dev/null +++ b/models/models/model_pc5_container_information.go @@ -0,0 +1,27 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Pc5ContainerInformation struct { + CoverageInfoList []CoverageInfo `json:"coverageInfoList,omitempty" yaml:"coverageInfoList" bson:"coverageInfoList,omitempty"` + RadioParameterSetInfoList []RadioParameterSetInfo `json:"radioParameterSetInfoList,omitempty" yaml:"radioParameterSetInfoList" bson:"radioParameterSetInfoList,omitempty"` + TransmitterInfoList []TransmitterInfo `json:"transmitterInfoList,omitempty" yaml:"transmitterInfoList" bson:"transmitterInfoList,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfFirstTransmission *time.Time `json:"timeOfFirst Transmission,omitempty" yaml:"timeOfFirst Transmission" bson:"timeOfFirst Transmission,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfFirstReception *time.Time `json:"timeOfFirst Reception,omitempty" yaml:"timeOfFirst Reception" bson:"timeOfFirst Reception,omitempty"` +} diff --git a/models/models/model_pc5_data_container.go b/models/models/model_pc5_data_container.go new file mode 100644 index 00000000..9f7f49a0 --- /dev/null +++ b/models/models/model_pc5_data_container.go @@ -0,0 +1,31 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type Pc5DataContainer struct { + LocalSequenceNumber string `json:"localSequenceNumber,omitempty" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DataVolume int32 `json:"dataVolume,omitempty" yaml:"dataVolume" bson:"dataVolume,omitempty"` + ChangeCondition string `json:"changeCondition,omitempty" yaml:"changeCondition" bson:"changeCondition,omitempty"` + RadioResourcesId RadioResourcesId `json:"radioResourcesId,omitempty" yaml:"radioResourcesId" bson:"radioResourcesId,omitempty"` + RadioFrequency string `json:"radioFrequency,omitempty" yaml:"radioFrequency" bson:"radioFrequency,omitempty"` + PC5RadioTechnology string `json:"pC5RadioTechnology,omitempty" yaml:"pC5RadioTechnology" bson:"pC5RadioTechnology,omitempty"` +} diff --git a/models/models/model_pc5_flow_bit_rates.go b/models/models/model_pc5_flow_bit_rates.go new file mode 100644 index 00000000..f4134c62 --- /dev/null +++ b/models/models/model_pc5_flow_bit_rates.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// it shall represent the PC5 Flow Bit Rates +type Pc5FlowBitRates struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbr string `json:"guaFbr,omitempty" yaml:"guaFbr" bson:"guaFbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbr string `json:"maxFbr,omitempty" yaml:"maxFbr" bson:"maxFbr,omitempty"` +} diff --git a/models/models/model_pc5_qo_s_para.go b/models/models/model_pc5_qo_s_para.go new file mode 100644 index 00000000..4cdc0d92 --- /dev/null +++ b/models/models/model_pc5_qo_s_para.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains policy data on the PC5 QoS parameters. +type Pc5QoSPara struct { + Pc5QosFlowList []Pc5QosFlowItem `json:"pc5QosFlowList" yaml:"pc5QosFlowList" bson:"pc5QosFlowList,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Pc5LinkAmbr string `json:"pc5LinkAmbr,omitempty" yaml:"pc5LinkAmbr" bson:"pc5LinkAmbr,omitempty"` +} diff --git a/models/models/model_pc5_qos_flow_item.go b/models/models/model_pc5_qos_flow_item.go new file mode 100644 index 00000000..a9b20d2b --- /dev/null +++ b/models/models/model_pc5_qos_flow_item.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a PC5 QOS flow. +type Pc5QosFlowItem struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Pqi int32 `json:"pqi" yaml:"pqi" bson:"pqi,omitempty"` + Pc5FlowBitRates *Pc5FlowBitRates `json:"pc5FlowBitRates,omitempty" yaml:"pc5FlowBitRates" bson:"pc5FlowBitRates,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Range int32 `json:"range,omitempty" yaml:"range" bson:"range,omitempty"` +} diff --git a/models/models/model_pc_event.go b/models/models/model_pc_event.go new file mode 100644 index 00000000..adbc56bc --- /dev/null +++ b/models/models/model_pc_event.go @@ -0,0 +1,25 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcEvent string + +// List of PcEvent +const ( + PcEvent_AC_TY_CH PcEvent = "AC_TY_CH" + PcEvent_PLMN_CH PcEvent = "PLMN_CH" + PcEvent_SAC_CH PcEvent = "SAC_CH" + PcEvent_SAT_CATEGORY_CH PcEvent = "SAT_CATEGORY_CH" + PcEvent_SUCCESS_UE_POL_DEL_SP PcEvent = "SUCCESS_UE_POL_DEL_SP" + PcEvent_UNSUCCESS_UE_POL_DEL_SP PcEvent = "UNSUCCESS_UE_POL_DEL_SP" +) diff --git a/models/models/model_pc_event_exposure_notif.go b/models/models/model_pc_event_exposure_notif.go new file mode 100644 index 00000000..47b155b4 --- /dev/null +++ b/models/models/model_pc_event_exposure_notif.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents notifications about Policy Control events related to an Individual Policy Events Subscription resource. +type PcEventExposureNotif struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []PcEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/models/model_pc_event_exposure_subsc.go b/models/models/model_pc_event_exposure_subsc.go new file mode 100644 index 00000000..8bac63aa --- /dev/null +++ b/models/models/model_pc_event_exposure_subsc.go @@ -0,0 +1,31 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an Individual Policy Events Subscription resource. +type PcEventExposureSubsc struct { + EventSubs []PcEvent `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` + EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + FilterDnns []string `json:"filterDnns,omitempty" yaml:"filterDnns" bson:"filterDnns,omitempty"` + FilterSnssais []Snssai `json:"filterSnssais,omitempty" yaml:"filterSnssais" bson:"filterSnssais,omitempty"` + SnssaiDnns []SnssaiDnnCombination `json:"snssaiDnns,omitempty" yaml:"snssaiDnns" bson:"snssaiDnns,omitempty"` + FilterServices []ServiceIdentification `json:"filterServices,omitempty" yaml:"filterServices" bson:"filterServices,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + EventNotifs []PcEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_pc_event_notification.go b/models/models/model_pc_event_notification.go new file mode 100644 index 00000000..e12c826c --- /dev/null +++ b/models/models/model_pc_event_notification.go @@ -0,0 +1,39 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the information reported for a Policy Control event. +type PcEventNotification struct { + Event PcEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + PduSessionInfo *PcfEventExposurePduSessionInformation `json:"pduSessionInfo,omitempty" yaml:"pduSessionInfo" bson:"pduSessionInfo,omitempty"` + RepServices *ServiceIdentification `json:"repServices,omitempty" yaml:"repServices" bson:"repServices,omitempty"` + DelivFailure *Failure `json:"delivFailure,omitempty" yaml:"delivFailure" bson:"delivFailure,omitempty"` +} diff --git a/models/models/model_pcc_rule.go b/models/models/model_pcc_rule.go new file mode 100644 index 00000000..5ee7984c --- /dev/null +++ b/models/models/model_pcc_rule.go @@ -0,0 +1,62 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a PCC rule information. +type PccRule struct { + // An array of IP flow packet filter information. + FlowInfos []FlowInformation `json:"flowInfos,omitempty" yaml:"flowInfos" bson:"flowInfos,omitempty"` + // A reference to the application detection filter configured at the UPF. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + AppDescriptor string `json:"appDescriptor,omitempty" yaml:"appDescriptor" bson:"appDescriptor,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + // Univocally identifies the PCC rule within a PDU session. + PccRuleId string `json:"pccRuleId" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` + // Indication of application relocation possibility. + AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` + // Indicates the EAS rediscovery is required. + EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` + // A reference to the QosData policy decision type. It is the qosId described in clause 5.6.2.8. + RefQosData []string `json:"refQosData,omitempty" yaml:"refQosData" bson:"refQosData,omitempty"` + // A Reference to the QosData policy decision type for the Alternative QoS parameter sets of the service data flow. + RefAltQosParams []string `json:"refAltQosParams,omitempty" yaml:"refAltQosParams" bson:"refAltQosParams,omitempty"` + // A reference to the TrafficControlData policy decision type. It is the tcId described in clause 5.6.2.10. + RefTcData []string `json:"refTcData,omitempty" yaml:"refTcData" bson:"refTcData,omitempty"` + // A reference to the ChargingData policy decision type. It is the chgId described in clause 5.6.2.11. + RefChgData []string `json:"refChgData,omitempty" yaml:"refChgData" bson:"refChgData,omitempty"` + // A reference to the ChargingData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the chgId described in clause 5.6.2.11. + RefChgN3gData []string `json:"refChgN3gData,omitempty" yaml:"refChgN3gData" bson:"refChgN3gData,omitempty"` + // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. + RefUmData []string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` + // A reference to UsageMonitoringData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the umId described in clause 5.6.2.12. + RefUmN3gData []string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` + // A reference to the condition data. It is the condId described in clause 5.6.2.9. + RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` + // A reference to the QosMonitoringData policy decision type. It is the qmId described in clause 5.6.2.40. + RefQosMon []string `json:"refQosMon,omitempty" yaml:"refQosMon" bson:"refQosMon,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + DdNotifCtrl *DownlinkDataNotificationControl `json:"ddNotifCtrl,omitempty" yaml:"ddNotifCtrl" bson:"ddNotifCtrl,omitempty"` + DdNotifCtrl2 *DownlinkDataNotificationControlRm `json:"ddNotifCtrl2,omitempty" yaml:"ddNotifCtrl2" bson:"ddNotifCtrl2,omitempty"` + DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PackFiltAllPrec int32 `json:"packFiltAllPrec,omitempty" yaml:"packFiltAllPrec" bson:"packFiltAllPrec,omitempty"` +} diff --git a/models/models/model_pcf_addressing_info.go b/models/models/model_pcf_addressing_info.go new file mode 100644 index 00000000..955a7010 --- /dev/null +++ b/models/models/model_pcf_addressing_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains PCF address information. +type PcfAddressingInfo struct { + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // contains the binding indications of the PCF. + BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_as_time_distribution_param.go b/models/models/model_pcf_am_policy_control_as_time_distribution_param.go new file mode 100644 index 00000000..00a8fe1d --- /dev/null +++ b/models/models/model_pcf_am_policy_control_as_time_distribution_param.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the 5G acess stratum time distribution parameters. +type PcfAmPolicyControlAsTimeDistributionParam struct { + AsTimeDistInd bool `json:"asTimeDistInd,omitempty" yaml:"asTimeDistInd" bson:"asTimeDistInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + UuErrorBudget int32 `json:"uuErrorBudget,omitempty" yaml:"uuErrorBudget" bson:"uuErrorBudget,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_policy_association.go b/models/models/model_pcf_am_policy_control_policy_association.go new file mode 100644 index 00000000..6d3e824f --- /dev/null +++ b/models/models/model_pcf_am_policy_control_policy_association.go @@ -0,0 +1,37 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an individual AM Policy Association resource. +type PcfAmPolicyControlPolicyAssociation struct { + Request *PcfAmPolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN as part of the AMF Access and Mobility Policy as determined by the PCF. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_policy_association_request.go b/models/models/model_pcf_am_policy_control_policy_association_request.go new file mode 100644 index 00000000..0b862ebc --- /dev/null +++ b/models/models/model_pcf_am_policy_control_policy_association_request.go @@ -0,0 +1,61 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information which the NF service consumer provides when requesting the creation of a policy association. The serviveName property corresponds to the serviceName in the main body of the specification. +type PcfAmPolicyControlPolicyAssociationRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // The subscribed UE Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided when available. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of target S-NSSAIs. + TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_policy_association_update_request.go b/models/models/model_pcf_am_policy_control_policy_association_update_request.go new file mode 100644 index 00000000..77119ded --- /dev/null +++ b/models/models/model_pcf_am_policy_control_policy_association_update_request.go @@ -0,0 +1,51 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information that the NF service consumer provides when requesting the update of a policy association. +type PcfAmPolicyControlPolicyAssociationUpdateRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // The subscribed UE-Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided for the \"UE_SLICE_MBR_CH\" policy control request trigger. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // array of allowed S-NSSAIs for the 3GPP access. + AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` + // array of target S-NSSAIs. + TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` + // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. + MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` + AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` + RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` + // array of allowed S-NSSAIs for the Non-3GPP access. + N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_policy_update.go b/models/models/model_pcf_am_policy_control_policy_update.go new file mode 100644 index 00000000..80039f5e --- /dev/null +++ b/models/models/model_pcf_am_policy_control_policy_update.go @@ -0,0 +1,36 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents updated policies that the PCF provides in a notification or in a reply to an Update Request. +type PcfAmPolicyControlPolicyUpdate struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + // Request Triggers that the PCF subscribes. + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN the allowed NSSAI as part of the AMF Access and Mobility Policy as determined by the PCF. + UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/models/model_pcf_am_policy_control_request_trigger.go b/models/models/model_pcf_am_policy_control_request_trigger.go new file mode 100644 index 00000000..10e9d3db --- /dev/null +++ b/models/models/model_pcf_am_policy_control_request_trigger.go @@ -0,0 +1,30 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfAmPolicyControlRequestTrigger string + +// List of PcfAMPolicyControlRequestTrigger +const ( + PcfAmPolicyControlRequestTrigger_LOC_CH PcfAmPolicyControlRequestTrigger = "LOC_CH" + PcfAmPolicyControlRequestTrigger_PRA_CH PcfAmPolicyControlRequestTrigger = "PRA_CH" + PcfAmPolicyControlRequestTrigger_SERV_AREA_CH PcfAmPolicyControlRequestTrigger = "SERV_AREA_CH" + PcfAmPolicyControlRequestTrigger_RFSP_CH PcfAmPolicyControlRequestTrigger = "RFSP_CH" + PcfAmPolicyControlRequestTrigger_ALLOWED_NSSAI_CH PcfAmPolicyControlRequestTrigger = "ALLOWED_NSSAI_CH" + PcfAmPolicyControlRequestTrigger_UE_AMBR_CH PcfAmPolicyControlRequestTrigger = "UE_AMBR_CH" + PcfAmPolicyControlRequestTrigger_UE_SLICE_MBR_CH PcfAmPolicyControlRequestTrigger = "UE_SLICE_MBR_CH" + PcfAmPolicyControlRequestTrigger_SMF_SELECT_CH PcfAmPolicyControlRequestTrigger = "SMF_SELECT_CH" + PcfAmPolicyControlRequestTrigger_ACCESS_TYPE_CH PcfAmPolicyControlRequestTrigger = "ACCESS_TYPE_CH" + PcfAmPolicyControlRequestTrigger_NWDAF_DATA_CH PcfAmPolicyControlRequestTrigger = "NWDAF_DATA_CH" + PcfAmPolicyControlRequestTrigger_TARGET_NSSAI PcfAmPolicyControlRequestTrigger = "TARGET_NSSAI" +) diff --git a/models/models/model_pcf_am_policy_control_termination_notification.go b/models/models/model_pcf_am_policy_control_termination_notification.go new file mode 100644 index 00000000..ae7d3a34 --- /dev/null +++ b/models/models/model_pcf_am_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a request to terminate a policy Association that the PCF provides in a notification. +type PcfAmPolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go b/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go new file mode 100644 index 00000000..3b22e921 --- /dev/null +++ b/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go @@ -0,0 +1,25 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the authorization data of an Individual BDT policy resource. +type PcfBdtPolicyControlBdtPolicyData struct { + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains transfer policies. + TransfPolicies []PcfBdtPolicyControlTransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies,omitempty"` + // Contains an identity of the selected transfer policy. + SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go b/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go new file mode 100644 index 00000000..60606f21 --- /dev/null +++ b/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go @@ -0,0 +1,19 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. +type PcfBdtPolicyControlBdtPolicyDataPatch struct { + // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. + SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` +} diff --git a/models/models/model_pcf_bdt_policy_control_notification.go b/models/models/model_pcf_bdt_policy_control_notification.go new file mode 100644 index 00000000..4b19971d --- /dev/null +++ b/models/models/model_pcf_bdt_policy_control_notification.go @@ -0,0 +1,23 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a BDT notification. +type PcfBdtPolicyControlNotification struct { + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + // Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. + CandPolicies []PcfBdtPolicyControlTransferPolicy `json:"candPolicies,omitempty" yaml:"candPolicies" bson:"candPolicies,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` +} diff --git a/models/models/model_pcf_bdt_policy_control_transfer_policy.go b/models/models/model_pcf_bdt_policy_control_transfer_policy.go new file mode 100644 index 00000000..5166dca2 --- /dev/null +++ b/models/models/model_pcf_bdt_policy_control_transfer_policy.go @@ -0,0 +1,26 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes a transfer policy. +type PcfBdtPolicyControlTransferPolicy struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl,omitempty"` + // Indicates a rating group for the recommended time window. + RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt,omitempty"` + // Contains an identity of a transfer policy. + TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId,omitempty"` +} diff --git a/models/models/model_pcf_event_exposure_pdu_session_information.go b/models/models/model_pcf_event_exposure_pdu_session_information.go new file mode 100644 index 00000000..13b8299f --- /dev/null +++ b/models/models/model_pcf_event_exposure_pdu_session_information.go @@ -0,0 +1,26 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents PDU session identification information. +type PcfEventExposurePduSessionInformation struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` +} diff --git a/models/models/model_pcf_info.go b/models/models/model_pcf_info.go new file mode 100644 index 00000000..941ccb66 --- /dev/null +++ b/models/models/model_pcf_info.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a PCF NF Instance +type PcfInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + // Fully Qualified Domain Name + RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` + // Fully Qualified Domain Name + RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` + V2xSupportInd bool `json:"v2xSupportInd,omitempty" yaml:"v2xSupportInd" bson:"v2xSupportInd,omitempty"` + ProseSupportInd bool `json:"proseSupportInd,omitempty" yaml:"proseSupportInd" bson:"proseSupportInd,omitempty"` + ProseCapability *NrfNfManagementProSeCapability `json:"proseCapability,omitempty" yaml:"proseCapability" bson:"proseCapability,omitempty"` + V2xCapability *V2xCapability `json:"v2xCapability,omitempty" yaml:"v2xCapability" bson:"v2xCapability,omitempty"` +} diff --git a/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go b/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go new file mode 100644 index 00000000..ef1a0425 --- /dev/null +++ b/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go @@ -0,0 +1,37 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the MBS related extensions to the ProblemDetails data structure. +type PcfMbsPolicyAuthorizationMbsExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_af_event.go b/models/models/model_pcf_policy_authorization_af_event.go new file mode 100644 index 00000000..6642a2a0 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_af_event.go @@ -0,0 +1,39 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationAfEvent string + +// List of PcfPolicyAuthorizationAfEvent +const ( + PcfPolicyAuthorizationAfEvent_ACCESS_TYPE_CHANGE PcfPolicyAuthorizationAfEvent = "ACCESS_TYPE_CHANGE" + PcfPolicyAuthorizationAfEvent_ANI_REPORT PcfPolicyAuthorizationAfEvent = "ANI_REPORT" + PcfPolicyAuthorizationAfEvent_APP_DETECTION PcfPolicyAuthorizationAfEvent = "APP_DETECTION" + PcfPolicyAuthorizationAfEvent_CHARGING_CORRELATION PcfPolicyAuthorizationAfEvent = "CHARGING_CORRELATION" + PcfPolicyAuthorizationAfEvent_EPS_FALLBACK PcfPolicyAuthorizationAfEvent = "EPS_FALLBACK" + PcfPolicyAuthorizationAfEvent_FAILED_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "FAILED_QOS_UPDATE" + PcfPolicyAuthorizationAfEvent_FAILED_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "FAILED_RESOURCES_ALLOCATION" + PcfPolicyAuthorizationAfEvent_OUT_OF_CREDIT PcfPolicyAuthorizationAfEvent = "OUT_OF_CREDIT" + PcfPolicyAuthorizationAfEvent_PDU_SESSION_STATUS PcfPolicyAuthorizationAfEvent = "PDU_SESSION_STATUS" + PcfPolicyAuthorizationAfEvent_PLMN_CHG PcfPolicyAuthorizationAfEvent = "PLMN_CHG" + PcfPolicyAuthorizationAfEvent_QOS_MONITORING PcfPolicyAuthorizationAfEvent = "QOS_MONITORING" + PcfPolicyAuthorizationAfEvent_QOS_NOTIF PcfPolicyAuthorizationAfEvent = "QOS_NOTIF" + PcfPolicyAuthorizationAfEvent_RAN_NAS_CAUSE PcfPolicyAuthorizationAfEvent = "RAN_NAS_CAUSE" + PcfPolicyAuthorizationAfEvent_REALLOCATION_OF_CREDIT PcfPolicyAuthorizationAfEvent = "REALLOCATION_OF_CREDIT" + PcfPolicyAuthorizationAfEvent_SAT_CATEGORY_CHG PcfPolicyAuthorizationAfEvent = "SAT_CATEGORY_CHG" + PcfPolicyAuthorizationAfEvent_SUCCESSFUL_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_QOS_UPDATE" + PcfPolicyAuthorizationAfEvent_SUCCESSFUL_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" + PcfPolicyAuthorizationAfEvent_TSN_BRIDGE_INFO PcfPolicyAuthorizationAfEvent = "TSN_BRIDGE_INFO" + PcfPolicyAuthorizationAfEvent_UP_PATH_CHG_FAILURE PcfPolicyAuthorizationAfEvent = "UP_PATH_CHG_FAILURE" + PcfPolicyAuthorizationAfEvent_USAGE_REPORT PcfPolicyAuthorizationAfEvent = "USAGE_REPORT" +) diff --git a/models/models/model_pcf_policy_authorization_af_event_notification.go b/models/models/model_pcf_policy_authorization_af_event_notification.go new file mode 100644 index 00000000..c50a1d6f --- /dev/null +++ b/models/models/model_pcf_policy_authorization_af_event_notification.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the event information delivered in the notification. +type PcfPolicyAuthorizationAfEventNotification struct { + Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_events_notification.go b/models/models/model_pcf_policy_authorization_events_notification.go new file mode 100644 index 00000000..b0448a31 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_events_notification.go @@ -0,0 +1,52 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Describes the notification of a matched event. +type PcfPolicyAuthorizationEventsNotification struct { + // Includes the detected application report. + AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` + AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + // String providing an URI formatted according to RFC 3986. + EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` + EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` + FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` + SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` + NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` + OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_events_subsc_req_data.go b/models/models/model_pcf_policy_authorization_events_subsc_req_data.go new file mode 100644 index 00000000..6b3c3046 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_events_subsc_req_data.go @@ -0,0 +1,27 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the events the application subscribes to. +type PcfPolicyAuthorizationEventsSubscReqData struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go b/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go new file mode 100644 index 00000000..6e106808 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go @@ -0,0 +1,26 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the EventsSubscReqData data type, but with the OpenAPI nullable property set to true. +type PcfPolicyAuthorizationEventsSubscReqDataRm struct { + Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + QosMon *PcfPolicyAuthorizationQosMonitoringInformationRm `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` + ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` + UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` + NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_extended_problem_details.go b/models/models/model_pcf_policy_authorization_extended_problem_details.go new file mode 100644 index 00000000..afb359c7 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_extended_problem_details.go @@ -0,0 +1,35 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extends ProblemDetails to also include the acceptable service info. +type PcfPolicyAuthorizationExtendedProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + AcceptableServInfo *AcceptableServiceInfo `json:"acceptableServInfo,omitempty" yaml:"acceptableServInfo" bson:"acceptableServInfo,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_pdu_session_status.go b/models/models/model_pcf_policy_authorization_pdu_session_status.go new file mode 100644 index 00000000..06abadb9 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_pdu_session_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationPduSessionStatus string + +// List of PcfPolicyAuthorizationPduSessionStatus +const ( + PcfPolicyAuthorizationPduSessionStatus_ESTABLISHED PcfPolicyAuthorizationPduSessionStatus = "ESTABLISHED" + PcfPolicyAuthorizationPduSessionStatus_TERMINATED PcfPolicyAuthorizationPduSessionStatus = "TERMINATED" +) diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_information.go b/models/models/model_pcf_policy_authorization_qos_monitoring_information.go new file mode 100644 index 00000000..0cc47924 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_qos_monitoring_information.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the QoS Monitoring information to report, i.e. UL and/or DL and or round trip delay. +type PcfPolicyAuthorizationQosMonitoringInformation struct { + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go b/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go new file mode 100644 index 00000000..c3b78195 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the QosMonitoringInformation data type, but with the OpenAPI nullable property set to true. +type PcfPolicyAuthorizationQosMonitoringInformationRm struct { + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_report.go b/models/models/model_pcf_policy_authorization_qos_monitoring_report.go new file mode 100644 index 00000000..a76a8bd2 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_qos_monitoring_report.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS Monitoring reporting information. +type PcfPolicyAuthorizationQosMonitoringReport struct { + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_qos_notification_control_info.go b/models/models/model_pcf_policy_authorization_qos_notification_control_info.go new file mode 100644 index 00000000..82f8626e --- /dev/null +++ b/models/models/model_pcf_policy_authorization_qos_notification_control_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates whether the QoS targets for a GRB flow are not guaranteed or guaranteed again. +type PcfPolicyAuthorizationQosNotificationControlInfo struct { + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` +} diff --git a/models/models/model_pcf_policy_authorization_termination_cause.go b/models/models/model_pcf_policy_authorization_termination_cause.go new file mode 100644 index 00000000..106b8c40 --- /dev/null +++ b/models/models/model_pcf_policy_authorization_termination_cause.go @@ -0,0 +1,25 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfPolicyAuthorizationTerminationCause string + +// List of PcfPolicyAuthorizationTerminationCause +const ( + PcfPolicyAuthorizationTerminationCause_ALL_SDF_DEACTIVATION PcfPolicyAuthorizationTerminationCause = "ALL_SDF_DEACTIVATION" + PcfPolicyAuthorizationTerminationCause_PDU_SESSION_TERMINATION PcfPolicyAuthorizationTerminationCause = "PDU_SESSION_TERMINATION" + PcfPolicyAuthorizationTerminationCause_PS_TO_CS_HO PcfPolicyAuthorizationTerminationCause = "PS_TO_CS_HO" + PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_SERVER_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_SERVER_RESOURCES" + PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_QOS_FLOW_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_QOS_FLOW_RESOURCES" + PcfPolicyAuthorizationTerminationCause_SPONSORED_DATA_CONNECTIVITY_DISALLOWED PcfPolicyAuthorizationTerminationCause = "SPONSORED_DATA_CONNECTIVITY_DISALLOWED" +) diff --git a/models/models/model_pcf_selection_assistance_info.go b/models/models/model_pcf_selection_assistance_info.go new file mode 100644 index 00000000..c72d06b5 --- /dev/null +++ b/models/models/model_pcf_selection_assistance_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSelectionAssistanceInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` +} diff --git a/models/models/model_pcf_sm_policy_control_atsss_capability.go b/models/models/model_pcf_sm_policy_control_atsss_capability.go new file mode 100644 index 00000000..52d9d6a7 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_atsss_capability.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlAtsssCapability string + +// List of PcfSMPolicyControlAtsssCapability +const ( + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_UL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_DLUL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_DLUL" + PcfSmPolicyControlAtsssCapability_ATSSS_LL PcfSmPolicyControlAtsssCapability = "ATSSS_LL" + PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL" +) diff --git a/models/models/model_pcf_sm_policy_control_failure_cause.go b/models/models/model_pcf_sm_policy_control_failure_cause.go new file mode 100644 index 00000000..3b7807a4 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_failure_cause.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlFailureCause string + +// List of PcfSMPolicyControlFailureCause +const ( + PcfSmPolicyControlFailureCause_PCC_RULE_EVENT PcfSmPolicyControlFailureCause = "PCC_RULE_EVENT" + PcfSmPolicyControlFailureCause_PCC_QOS_FLOW_EVENT PcfSmPolicyControlFailureCause = "PCC_QOS_FLOW_EVENT" + PcfSmPolicyControlFailureCause_RULE_PERMANENT_ERROR PcfSmPolicyControlFailureCause = "RULE_PERMANENT_ERROR" + PcfSmPolicyControlFailureCause_RULE_TEMPORARY_ERROR PcfSmPolicyControlFailureCause = "RULE_TEMPORARY_ERROR" + PcfSmPolicyControlFailureCause_POL_DEC_ERROR PcfSmPolicyControlFailureCause = "POL_DEC_ERROR" +) diff --git a/models/models/model_pcf_sm_policy_control_failure_code.go b/models/models/model_pcf_sm_policy_control_failure_code.go new file mode 100644 index 00000000..fd70aaf1 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_failure_code.go @@ -0,0 +1,49 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlFailureCode string + +// List of PcfSMPolicyControlFailureCode +const ( + PcfSmPolicyControlFailureCode_UNK_RULE_ID PcfSmPolicyControlFailureCode = "UNK_RULE_ID" + PcfSmPolicyControlFailureCode_RA_GR_ERR PcfSmPolicyControlFailureCode = "RA_GR_ERR" + PcfSmPolicyControlFailureCode_SER_ID_ERR PcfSmPolicyControlFailureCode = "SER_ID_ERR" + PcfSmPolicyControlFailureCode_NF_MAL PcfSmPolicyControlFailureCode = "NF_MAL" + PcfSmPolicyControlFailureCode_RES_LIM PcfSmPolicyControlFailureCode = "RES_LIM" + PcfSmPolicyControlFailureCode_MAX_NR_QO_S_FLOW PcfSmPolicyControlFailureCode = "MAX_NR_QoS_FLOW" + PcfSmPolicyControlFailureCode_MISS_FLOW_INFO PcfSmPolicyControlFailureCode = "MISS_FLOW_INFO" + PcfSmPolicyControlFailureCode_RES_ALLO_FAIL PcfSmPolicyControlFailureCode = "RES_ALLO_FAIL" + PcfSmPolicyControlFailureCode_UNSUCC_QOS_VAL PcfSmPolicyControlFailureCode = "UNSUCC_QOS_VAL" + PcfSmPolicyControlFailureCode_INCOR_FLOW_INFO PcfSmPolicyControlFailureCode = "INCOR_FLOW_INFO" + PcfSmPolicyControlFailureCode_PS_TO_CS_HAN PcfSmPolicyControlFailureCode = "PS_TO_CS_HAN" + PcfSmPolicyControlFailureCode_APP_ID_ERR PcfSmPolicyControlFailureCode = "APP_ID_ERR" + PcfSmPolicyControlFailureCode_NO_QOS_FLOW_BOUND PcfSmPolicyControlFailureCode = "NO_QOS_FLOW_BOUND" + PcfSmPolicyControlFailureCode_FILTER_RES PcfSmPolicyControlFailureCode = "FILTER_RES" + PcfSmPolicyControlFailureCode_MISS_REDI_SER_ADDR PcfSmPolicyControlFailureCode = "MISS_REDI_SER_ADDR" + PcfSmPolicyControlFailureCode_CM_END_USER_SER_DENIED PcfSmPolicyControlFailureCode = "CM_END_USER_SER_DENIED" + PcfSmPolicyControlFailureCode_CM_CREDIT_CON_NOT_APP PcfSmPolicyControlFailureCode = "CM_CREDIT_CON_NOT_APP" // #nosec G101 + PcfSmPolicyControlFailureCode_CM_AUTH_REJ PcfSmPolicyControlFailureCode = "CM_AUTH_REJ" + PcfSmPolicyControlFailureCode_CM_USER_UNK PcfSmPolicyControlFailureCode = "CM_USER_UNK" + PcfSmPolicyControlFailureCode_CM_RAT_FAILED PcfSmPolicyControlFailureCode = "CM_RAT_FAILED" + PcfSmPolicyControlFailureCode_UE_STA_SUSP PcfSmPolicyControlFailureCode = "UE_STA_SUSP" + PcfSmPolicyControlFailureCode_UNKNOWN_REF_ID PcfSmPolicyControlFailureCode = "UNKNOWN_REF_ID" + PcfSmPolicyControlFailureCode_INCORRECT_COND_DATA PcfSmPolicyControlFailureCode = "INCORRECT_COND_DATA" + PcfSmPolicyControlFailureCode_REF_ID_COLLISION PcfSmPolicyControlFailureCode = "REF_ID_COLLISION" + PcfSmPolicyControlFailureCode_TRAFFIC_STEERING_ERROR PcfSmPolicyControlFailureCode = "TRAFFIC_STEERING_ERROR" + PcfSmPolicyControlFailureCode_DNAI_STEERING_ERROR PcfSmPolicyControlFailureCode = "DNAI_STEERING_ERROR" + PcfSmPolicyControlFailureCode_AN_GW_FAILE PcfSmPolicyControlFailureCode = "AN_GW_FAILE" + PcfSmPolicyControlFailureCode_MAX_NR_PACKET_FILTERS_EXCEEDED PcfSmPolicyControlFailureCode = "MAX_NR_PACKET_FILTERS_EXCEEDED" + PcfSmPolicyControlFailureCode_PACKET_FILTER_TFT_ALLOCATION_EXCEEDED PcfSmPolicyControlFailureCode = "PACKET_FILTER_TFT_ALLOCATION_EXCEEDED" + PcfSmPolicyControlFailureCode_MUTE_CHG_NOT_ALLOWED PcfSmPolicyControlFailureCode = "MUTE_CHG_NOT_ALLOWED" +) diff --git a/models/models/model_pcf_sm_policy_control_multicast_access_control.go b/models/models/model_pcf_sm_policy_control_multicast_access_control.go new file mode 100644 index 00000000..72f94e71 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_multicast_access_control.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlMulticastAccessControl string + +// List of PcfSMPolicyControlMulticastAccessControl +const ( + PcfSmPolicyControlMulticastAccessControl_ALLOWED PcfSmPolicyControlMulticastAccessControl = "ALLOWED" + PcfSmPolicyControlMulticastAccessControl_NOT_ALLOWED PcfSmPolicyControlMulticastAccessControl = "NOT_ALLOWED" +) diff --git a/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go b/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go new file mode 100644 index 00000000..9431e213 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains reporting information on QoS monitoring. +type PcfSmPolicyControlQosMonitoringReport struct { + // An array of PCC rule id references to the PCC rules associated with the QoS monitoring report. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go b/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go new file mode 100644 index 00000000..aeea92d6 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the QoS Notification Control Information. +type PcfSmPolicyControlQosNotificationControlInfo struct { + // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` + // Represents the content version of some content. + ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` + AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` +} diff --git a/models/models/model_pcf_sm_policy_control_redirect_address_type.go b/models/models/model_pcf_sm_policy_control_redirect_address_type.go new file mode 100644 index 00000000..3e0c631c --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_redirect_address_type.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfSmPolicyControlRedirectAddressType string + +// List of PcfSMPolicyControlRedirectAddressType +const ( + PcfSmPolicyControlRedirectAddressType_IPV4_ADDR PcfSmPolicyControlRedirectAddressType = "IPV4_ADDR" + PcfSmPolicyControlRedirectAddressType_IPV6_ADDR PcfSmPolicyControlRedirectAddressType = "IPV6_ADDR" + PcfSmPolicyControlRedirectAddressType_URL PcfSmPolicyControlRedirectAddressType = "URL" + PcfSmPolicyControlRedirectAddressType_SIP_URI PcfSmPolicyControlRedirectAddressType = "SIP_URI" +) diff --git a/models/models/model_pcf_sm_policy_control_termination_notification.go b/models/models/model_pcf_sm_policy_control_termination_notification.go new file mode 100644 index 00000000..552b69e1 --- /dev/null +++ b/models/models/model_pcf_sm_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a Termination Notification. +type PcfSmPolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause SmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/models/model_pcf_ue_callback_info.go b/models/models/model_pcf_ue_callback_info.go new file mode 100644 index 00000000..f918d4d0 --- /dev/null +++ b/models/models/model_pcf_ue_callback_info.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the PCF for the UE information necessary for the PCF for the PDU session to send SM Policy Association Establishment and Termination events. +type PcfUeCallbackInfo struct { + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` +} diff --git a/models/models/model_pcf_ue_policy_control_policy_association.go b/models/models/model_pcf_ue_policy_control_policy_association.go new file mode 100644 index 00000000..9fb646cb --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_policy_association.go @@ -0,0 +1,28 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the description of a policy association that is returned by the PCF when a policy Association is created, updated, or read. +type PcfUePolicyControlPolicyAssociation struct { + Request *PcfUePolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_pcf_ue_policy_control_policy_association_request.go b/models/models/model_pcf_ue_policy_control_policy_association_request.go new file mode 100644 index 00000000..aa6298d8 --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_policy_association_request.go @@ -0,0 +1,50 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information that the NF service consumer provides when requesting the creation of a policy association. +type PcfUePolicyControlPolicyAssociationRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Pc5Capab Pc5Capability `json:"pc5Capab,omitempty" yaml:"pc5Capab" bson:"pc5Capab,omitempty"` + ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/models/model_pcf_ue_policy_control_policy_association_update_request.go b/models/models/model_pcf_ue_policy_control_policy_association_update_request.go new file mode 100644 index 00000000..c238e058 --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_policy_association_update_request.go @@ -0,0 +1,42 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents Information that the NF service consumer provides when requesting the update of a policy association. +type PcfUePolicyControlPolicyAssociationUpdateRequest struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // Alternate or backup IPv4 Address(es) where to send Notifications. + AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` + // Alternate or backup IPv6 Address(es) where to send Notifications. + AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` + // Alternate or backup FQDN(s) where to send Notifications. + AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` + // Request Triggers that the NF service consumer observes. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolDelResult string `json:"uePolDelResult,omitempty" yaml:"uePolDelResult" bson:"uePolDelResult,omitempty"` + UePolTransFailNotif *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty" yaml:"uePolTransFailNotif" bson:"uePolTransFailNotif,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` + GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` + ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` +} diff --git a/models/models/model_pcf_ue_policy_control_policy_update.go b/models/models/model_pcf_ue_policy_control_policy_update.go new file mode 100644 index 00000000..2176ed6c --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_policy_update.go @@ -0,0 +1,27 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents updated policies that the PCF provides in a notification or in the reply to an Update Request. +type PcfUePolicyControlPolicyUpdate struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` + // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. + Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` +} diff --git a/models/models/model_pcf_ue_policy_control_pro_se_capability.go b/models/models/model_pcf_ue_policy_control_pro_se_capability.go new file mode 100644 index 00000000..b3fec67c --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_pro_se_capability.go @@ -0,0 +1,25 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfUePolicyControlProSeCapability string + +// List of PcfUEPolicyControlProSeCapability +const ( + PcfUePolicyControlProSeCapability_DD PcfUePolicyControlProSeCapability = "PROSE_DD" + PcfUePolicyControlProSeCapability_DC PcfUePolicyControlProSeCapability = "PROSE_DC" + PcfUePolicyControlProSeCapability_L2_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L2_U2N_RELAY" + PcfUePolicyControlProSeCapability_L3_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L3_U2N_RELAY" + PcfUePolicyControlProSeCapability_L2_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L2_REMOTE_UE" + PcfUePolicyControlProSeCapability_L3_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L3_REMOTE_UE" +) diff --git a/models/models/model_pcf_ue_policy_control_request_trigger.go b/models/models/model_pcf_ue_policy_control_request_trigger.go new file mode 100644 index 00000000..69a8b951 --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_request_trigger.go @@ -0,0 +1,26 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcfUePolicyControlRequestTrigger string + +// List of PcfUEPolicyControlRequestTrigger +const ( + PcfUePolicyControlRequestTrigger_LOC_CH PcfUePolicyControlRequestTrigger = "LOC_CH" + PcfUePolicyControlRequestTrigger_PRA_CH PcfUePolicyControlRequestTrigger = "PRA_CH" + PcfUePolicyControlRequestTrigger_UE_POLICY PcfUePolicyControlRequestTrigger = "UE_POLICY" + PcfUePolicyControlRequestTrigger_PLMN_CH PcfUePolicyControlRequestTrigger = "PLMN_CH" + PcfUePolicyControlRequestTrigger_CON_STATE_CH PcfUePolicyControlRequestTrigger = "CON_STATE_CH" + PcfUePolicyControlRequestTrigger_GROUP_ID_LIST_CHG PcfUePolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" + PcfUePolicyControlRequestTrigger_UE_CAP_CH PcfUePolicyControlRequestTrigger = "UE_CAP_CH" +) diff --git a/models/models/model_pcf_ue_policy_control_termination_notification.go b/models/models/model_pcf_ue_policy_control_termination_notification.go new file mode 100644 index 00000000..9e28166b --- /dev/null +++ b/models/models/model_pcf_ue_policy_control_termination_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a request to terminate a policy association that the PCF provides in a notification. +type PcfUePolicyControlTerminationNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` + Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` +} diff --git a/models/models/model_pcscf_address.go b/models/models/model_pcscf_address.go new file mode 100644 index 00000000..0c4edddb --- /dev/null +++ b/models/models/model_pcscf_address.go @@ -0,0 +1,21 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the addressing information (IP addresses and/or FQDN) of the P-CSCF +type PcscfAddress struct { + Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + // Fully Qualified Domain Name + Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` +} diff --git a/models/models/model_pcscf_info.go b/models/models/model_pcscf_info.go new file mode 100644 index 00000000..f571486b --- /dev/null +++ b/models/models/model_pcscf_info.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a P-CSCF NF Instance +type PcscfInfo struct { + AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Fully Qualified Domain Name + GmFqdn string `json:"gmFqdn,omitempty" yaml:"gmFqdn" bson:"gmFqdn,omitempty"` + GmIpv4Addresses []string `json:"gmIpv4Addresses,omitempty" yaml:"gmIpv4Addresses" bson:"gmIpv4Addresses,omitempty"` + GmIpv6Addresses []string `json:"gmIpv6Addresses,omitempty" yaml:"gmIpv6Addresses" bson:"gmIpv6Addresses,omitempty"` + // Fully Qualified Domain Name + MwFqdn string `json:"mwFqdn,omitempty" yaml:"mwFqdn" bson:"mwFqdn,omitempty"` + MwIpv4Addresses []string `json:"mwIpv4Addresses,omitempty" yaml:"mwIpv4Addresses" bson:"mwIpv4Addresses,omitempty"` + MwIpv6Addresses []string `json:"mwIpv6Addresses,omitempty" yaml:"mwIpv6Addresses" bson:"mwIpv6Addresses,omitempty"` + ServedIpv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"servedIpv4AddressRanges,omitempty" yaml:"servedIpv4AddressRanges" bson:"servedIpv4AddressRanges,omitempty"` + ServedIpv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"servedIpv6PrefixRanges,omitempty" yaml:"servedIpv6PrefixRanges" bson:"servedIpv6PrefixRanges,omitempty"` +} diff --git a/models/models/model_pcscf_restoration_notification.go b/models/models/model_pcscf_restoration_notification.go new file mode 100644 index 00000000..4ee55d14 --- /dev/null +++ b/models/models/model_pcscf_restoration_notification.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PcscfRestorationNotification struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` +} diff --git a/models/models/model_pcscf_restoration_request_data.go b/models/models/model_pcscf_restoration_request_data.go new file mode 100644 index 00000000..c0804382 --- /dev/null +++ b/models/models/model_pcscf_restoration_request_data.go @@ -0,0 +1,26 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates P-CSCF restoration. +type PcscfRestorationRequestData struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` +} diff --git a/models/models/model_pdn_connectivity_stat_report.go b/models/models/model_pdn_connectivity_stat_report.go new file mode 100644 index 00000000..c5a188b6 --- /dev/null +++ b/models/models/model_pdn_connectivity_stat_report.go @@ -0,0 +1,26 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PdnConnectivityStatReport struct { + PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` +} diff --git a/models/models/model_pdn_connectivity_status.go b/models/models/model_pdn_connectivity_status.go new file mode 100644 index 00000000..7ddba511 --- /dev/null +++ b/models/models/model_pdn_connectivity_status.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PdnConnectivityStatus string + +// List of PdnConnectivityStatus +const ( + PdnConnectivityStatus_ESTABLISHED PdnConnectivityStatus = "ESTABLISHED" + PdnConnectivityStatus_RELEASED PdnConnectivityStatus = "RELEASED" +) diff --git a/models/models/model_pdu_session.go b/models/models/model_pdu_session.go new file mode 100644 index 00000000..fafb6353 --- /dev/null +++ b/models/models/model_pdu_session.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSession struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` +} diff --git a/models/models/model_pdu_session_context.go b/models/models/model_pdu_session_context.go new file mode 100644 index 00000000..afe12690 --- /dev/null +++ b/models/models/model_pdu_session_context.go @@ -0,0 +1,74 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a PDU Session Context in UE Context +type PduSessionContext struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextRef string `json:"smContextRef" yaml:"smContextRef" bson:"smContextRef,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + AdditionalAccessType AccessType `json:"additionalAccessType,omitempty" yaml:"additionalAccessType" bson:"additionalAccessType,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HsmfId string `json:"hsmfId,omitempty" yaml:"hsmfId" bson:"hsmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HsmfSetId string `json:"hsmfSetId,omitempty" yaml:"hsmfSetId" bson:"hsmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HsmfServiceSetId string `json:"hsmfServiceSetId,omitempty" yaml:"hsmfServiceSetId" bson:"hsmfServiceSetId,omitempty"` + SmfBinding SbiBindingLevel `json:"smfBinding,omitempty" yaml:"smfBinding" bson:"smfBinding,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + VsmfSetId string `json:"vsmfSetId,omitempty" yaml:"vsmfSetId" bson:"vsmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + VsmfServiceSetId string `json:"vsmfServiceSetId,omitempty" yaml:"vsmfServiceSetId" bson:"vsmfServiceSetId,omitempty"` + VsmfBinding SbiBindingLevel `json:"vsmfBinding,omitempty" yaml:"vsmfBinding" bson:"vsmfBinding,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + IsmfSetId string `json:"ismfSetId,omitempty" yaml:"ismfSetId" bson:"ismfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + IsmfServiceSetId string `json:"ismfServiceSetId,omitempty" yaml:"ismfServiceSetId" bson:"ismfServiceSetId,omitempty"` + IsmfBinding SbiBindingLevel `json:"ismfBinding,omitempty" yaml:"ismfBinding" bson:"ismfBinding,omitempty"` + // Contains the Identifier of the selected Network Slice instance + NsInstance string `json:"nsInstance,omitempty" yaml:"nsInstance" bson:"nsInstance,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + MaPduSession bool `json:"maPduSession,omitempty" yaml:"maPduSession" bson:"maPduSession,omitempty"` + CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + VsmfBindingInfo string `json:"vsmfBindingInfo,omitempty" yaml:"vsmfBindingInfo" bson:"vsmfBindingInfo,omitempty"` + IsmfBindingInfo string `json:"ismfBindingInfo,omitempty" yaml:"ismfBindingInfo" bson:"ismfBindingInfo,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + AnchorSmfSupportedFeatures string `json:"anchorSmfSupportedFeatures,omitempty" yaml:"anchorSmfSupportedFeatures" bson:"anchorSmfSupportedFeatures,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` +} diff --git a/models/models/model_pdu_session_context_type.go b/models/models/model_pdu_session_context_type.go new file mode 100644 index 00000000..568d86ea --- /dev/null +++ b/models/models/model_pdu_session_context_type.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionContextType string + +// List of PduSessionContextType +const ( + PduSessionContextType_AF_COORDINATION_INFO PduSessionContextType = "AF_COORDINATION_INFO" +) diff --git a/models/models/model_pdu_session_continuity_ind.go b/models/models/model_pdu_session_continuity_ind.go new file mode 100644 index 00000000..d7af32df --- /dev/null +++ b/models/models/model_pdu_session_continuity_ind.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionContinuityInd string + +// List of PduSessionContinuityInd +const ( + PduSessionContinuityInd_MAINTAIN_PDUSESSION PduSessionContinuityInd = "MAINTAIN_PDUSESSION" + PduSessionContinuityInd_RECONNECT_PDUSESSION PduSessionContinuityInd = "RECONNECT_PDUSESSION" + PduSessionContinuityInd_RELEASE_PDUSESSION PduSessionContinuityInd = "RELEASE_PDUSESSION" +) diff --git a/models/models/model_pdu_session_create_data.go b/models/models/model_pdu_session_create_data.go new file mode 100644 index 00000000..fbfa6993 --- /dev/null +++ b/models/models/model_pdu_session_create_data.go @@ -0,0 +1,119 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Create Request +type PduSessionCreateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` + EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + PgwS8cFteid string `json:"pgwS8cFteid,omitempty" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` + // String providing an URI formatted according to RFC 3986. + VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` + VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` + IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` + N9ForwardingTunnelInfo *TunnelInfo `json:"n9ForwardingTunnelInfo,omitempty" yaml:"n9ForwardingTunnelInfo" bson:"n9ForwardingTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` + ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` + // EPS bearer context status + EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` + CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` + InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` + UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` +} diff --git a/models/models/model_pdu_session_create_error.go b/models/models/model_pdu_session_create_error.go new file mode 100644 index 00000000..5cb6498a --- /dev/null +++ b/models/models/model_pdu_session_create_error.go @@ -0,0 +1,28 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Error within Create Response +type PduSessionCreateError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` +} diff --git a/models/models/model_pdu_session_created_data.go b/models/models/model_pdu_session_created_data.go new file mode 100644 index 00000000..2aa16669 --- /dev/null +++ b/models/models/model_pdu_session_created_data.go @@ -0,0 +1,72 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Create Response +type PduSessionCreatedData struct { + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + SscMode string `json:"sscMode" yaml:"sscMode" bson:"sscMode,omitempty"` + HcnTunnelInfo *TunnelInfo `json:"hcnTunnelInfo,omitempty" yaml:"hcnTunnelInfo" bson:"hcnTunnelInfo,omitempty"` + CnTunnelInfo *TunnelInfo `json:"cnTunnelInfo,omitempty" yaml:"cnTunnelInfo" bson:"cnTunnelInfo,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` + NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` + SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` + UeIpv6InterfaceId string `json:"ueIpv6InterfaceId,omitempty" yaml:"ueIpv6InterfaceId" bson:"ueIpv6InterfaceId,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` +} diff --git a/models/models/model_pdu_session_event_notification.go b/models/models/model_pdu_session_event_notification.go new file mode 100644 index 00000000..c747a038 --- /dev/null +++ b/models/models/model_pdu_session_event_notification.go @@ -0,0 +1,32 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates PDU session information for the concerned established/terminated PDU session. +type PduSessionEventNotification struct { + EvNotif *PcfPolicyAuthorizationAfEventNotification `json:"evNotif" yaml:"evNotif" bson:"evNotif,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + Status PcfPolicyAuthorizationPduSessionStatus `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + PcfInfo *PcfAddressingInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/models/model_pdu_session_info.go b/models/models/model_pdu_session_info.go new file mode 100644 index 00000000..c0ea59aa --- /dev/null +++ b/models/models/model_pdu_session_info.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// indicates the DNN and S-NSSAI combination of a PDU session. +type PduSessionInfo struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_pdu_session_management_data.go b/models/models/model_pdu_session_management_data.go new file mode 100644 index 00000000..6478b97d --- /dev/null +++ b/models/models/model_pdu_session_management_data.go @@ -0,0 +1,46 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents Session management data for a UE and a PDU session. +type PduSessionManagementData struct { + PduSessionStatus PduSessionStatus `json:"pduSessionStatus,omitempty" yaml:"pduSessionStatus" bson:"pduSessionStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PduSessionStatusTs *time.Time `json:"pduSessionStatusTs,omitempty" yaml:"pduSessionStatusTs" bson:"pduSessionStatusTs,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + DnaiTs *time.Time `json:"dnaiTs,omitempty" yaml:"dnaiTs" bson:"dnaiTs,omitempty"` + N6TrafficRoutingInfo []*RouteToLocation `json:"n6TrafficRoutingInfo,omitempty" yaml:"n6TrafficRoutingInfo" bson:"n6TrafficRoutingInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + N6TrafficRoutingInfoTs *time.Time `json:"n6TrafficRoutingInfoTs,omitempty" yaml:"n6TrafficRoutingInfoTs" bson:"n6TrafficRoutingInfoTs,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + // UE IPv6 prefix. + Ipv6Prefix []string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + IpAddrTs *time.Time `json:"ipAddrTs,omitempty" yaml:"ipAddrTs" bson:"ipAddrTs,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_pdu_session_notify_item.go b/models/models/model_pdu_session_notify_item.go new file mode 100644 index 00000000..4f43cab3 --- /dev/null +++ b/models/models/model_pdu_session_notify_item.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Notification related to a PDU session +type PduSessionNotifyItem struct { + NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` +} diff --git a/models/models/model_pdu_session_rel_cause.go b/models/models/model_pdu_session_rel_cause.go new file mode 100644 index 00000000..c0f25cc4 --- /dev/null +++ b/models/models/model_pdu_session_rel_cause.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionRelCause string + +// List of PduSessionRelCause +const ( + PduSessionRelCause_PS_TO_CS_HO PduSessionRelCause = "PS_TO_CS_HO" + PduSessionRelCause_RULE_ERROR PduSessionRelCause = "RULE_ERROR" +) diff --git a/models/models/model_pdu_session_status.go b/models/models/model_pdu_session_status.go new file mode 100644 index 00000000..26d39b4a --- /dev/null +++ b/models/models/model_pdu_session_status.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionStatus string + +// List of PduSessionStatus +const ( + PduSessionStatus_ACTIVE PduSessionStatus = "ACTIVE" + PduSessionStatus_RELEASED PduSessionStatus = "RELEASED" +) diff --git a/models/models/model_pdu_session_tsn_bridge.go b/models/models/model_pdu_session_tsn_bridge.go new file mode 100644 index 00000000..4a07ea22 --- /dev/null +++ b/models/models/model_pdu_session_tsn_bridge.go @@ -0,0 +1,29 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the new TSC user plane node information and may contain the DS-TT port and/or NW-TT port management information. +type PduSessionTsnBridge struct { + TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // IPv4 address domain identifier. + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + UeIpv6AddrPrefix string `json:"ueIpv6AddrPrefix,omitempty" yaml:"ueIpv6AddrPrefix" bson:"ueIpv6AddrPrefix,omitempty"` +} diff --git a/models/models/model_pdu_session_type.go b/models/models/model_pdu_session_type.go new file mode 100644 index 00000000..240f9239 --- /dev/null +++ b/models/models/model_pdu_session_type.go @@ -0,0 +1,24 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionType string + +// List of PduSessionType +const ( + PduSessionType_IPV4 PduSessionType = "IPV4" + PduSessionType_IPV6 PduSessionType = "IPV6" + PduSessionType_IPV4_V6 PduSessionType = "IPV4V6" + PduSessionType_UNSTRUCTURED PduSessionType = "UNSTRUCTURED" + PduSessionType_ETHERNET PduSessionType = "ETHERNET" +) diff --git a/models/models/model_pdu_session_types.go b/models/models/model_pdu_session_types.go new file mode 100644 index 00000000..d89219e0 --- /dev/null +++ b/models/models/model_pdu_session_types.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PduSessionTypes struct { + DefaultSessionType PduSessionType `json:"defaultSessionType,omitempty" yaml:"defaultSessionType" bson:"defaultSessionType,omitempty"` + AllowedSessionTypes []PduSessionType `json:"allowedSessionTypes,omitempty" yaml:"allowedSessionTypes" bson:"allowedSessionTypes,omitempty"` +} diff --git a/models/models/model_pduid_information.go b/models/models/model_pduid_information.go new file mode 100644 index 00000000..6096ec29 --- /dev/null +++ b/models/models/model_pduid_information.go @@ -0,0 +1,25 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the ProSe Discovery UE ID and its validity timer. +type PduidInformation struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` + // Contains the PDUID. + Pduid string `json:"pduid" yaml:"pduid" bson:"pduid,omitempty"` +} diff --git a/models/models/model_pei_update_info.go b/models/models/model_pei_update_info.go new file mode 100644 index 00000000..fee9454b --- /dev/null +++ b/models/models/model_pei_update_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PeiUpdateInfo struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei" yaml:"pei" bson:"pei,omitempty"` +} diff --git a/models/models/model_pending_policy_counter_status.go b/models/models/model_pending_policy_counter_status.go new file mode 100644 index 00000000..b31d7bb1 --- /dev/null +++ b/models/models/model_pending_policy_counter_status.go @@ -0,0 +1,25 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the data structure presenting the pending policy counter status. +type PendingPolicyCounterStatus struct { + // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. + PolicyCounterStatus string `json:"policyCounterStatus" yaml:"policyCounterStatus" bson:"policyCounterStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ActivationTime *time.Time `json:"activationTime" yaml:"activationTime" bson:"activationTime,omitempty"` +} diff --git a/models/models/model_per_ue_attribute.go b/models/models/model_per_ue_attribute.go new file mode 100644 index 00000000..9fd1b2e3 --- /dev/null +++ b/models/models/model_per_ue_attribute.go @@ -0,0 +1,27 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE application data collected per UE. +type PerUeAttribute struct { + UeDest *LocationArea5G `json:"ueDest,omitempty" yaml:"ueDest" bson:"ueDest,omitempty"` + Route string `json:"route,omitempty" yaml:"route" bson:"route,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgSpeed string `json:"avgSpeed,omitempty" yaml:"avgSpeed" bson:"avgSpeed,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeOfArrival *time.Time `json:"timeOfArrival,omitempty" yaml:"timeOfArrival" bson:"timeOfArrival,omitempty"` +} diff --git a/models/models/model_perf_data.go b/models/models/model_perf_data.go new file mode 100644 index 00000000..a4fe0428 --- /dev/null +++ b/models/models/model_perf_data.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents DN performance data. +type PerfData struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvePacketDelay int32 `json:"avePacketDelay,omitempty" yaml:"avePacketDelay" bson:"avePacketDelay,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` +} diff --git a/models/models/model_performance_data.go b/models/models/model_performance_data.go new file mode 100644 index 00000000..4feb33b9 --- /dev/null +++ b/models/models/model_performance_data.go @@ -0,0 +1,25 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Performance Data. +type PerformanceData struct { + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + Plr int32 `json:"plr,omitempty" yaml:"plr" bson:"plr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` +} diff --git a/models/models/model_performance_data_collection.go b/models/models/model_performance_data_collection.go new file mode 100644 index 00000000..686878a6 --- /dev/null +++ b/models/models/model_performance_data_collection.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Performance Data Analytics related information collection. +type PerformanceDataCollection struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + UeLoc *LocationArea5G `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` + AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` + AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` + PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/models/model_performance_data_info.go b/models/models/model_performance_data_info.go new file mode 100644 index 00000000..a36a43e3 --- /dev/null +++ b/models/models/model_performance_data_info.go @@ -0,0 +1,31 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Performance Data Analytics related information collection. +type PerformanceDataInfo struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` + AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` + PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/models/model_periodic_communication_indicator.go b/models/models/model_periodic_communication_indicator.go new file mode 100644 index 00000000..23b9ce6c --- /dev/null +++ b/models/models/model_periodic_communication_indicator.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PeriodicCommunicationIndicator string + +// List of PeriodicCommunicationIndicator +const ( + PeriodicCommunicationIndicator_PIORIODICALLY PeriodicCommunicationIndicator = "PIORIODICALLY" + PeriodicCommunicationIndicator_ON_DEMAND PeriodicCommunicationIndicator = "ON_DEMAND" +) diff --git a/models/models/model_periodic_event_info.go b/models/models/model_periodic_event_info.go new file mode 100644 index 00000000..c4371f93 --- /dev/null +++ b/models/models/model_periodic_event_info.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the information of periodic event reporting. +type PeriodicEventInfo struct { + // Number of required periodic event reports. + ReportingAmount int32 `json:"reportingAmount" yaml:"reportingAmount" bson:"reportingAmount,omitempty"` + // Event reporting periodic interval in seconds. + ReportingInterval int32 `json:"reportingInterval" yaml:"reportingInterval" bson:"reportingInterval,omitempty"` + ReportingInfiniteInd bool `json:"reportingInfiniteInd,omitempty" yaml:"reportingInfiniteInd" bson:"reportingInfiniteInd,omitempty"` + // Event reporting periodic interval in milliseconds. + ReportingIntervalMs int32 `json:"reportingIntervalMs,omitempty" yaml:"reportingIntervalMs" bson:"reportingIntervalMs,omitempty"` +} diff --git a/models/models/model_periodicity.go b/models/models/model_periodicity.go new file mode 100644 index 00000000..4493ef76 --- /dev/null +++ b/models/models/model_periodicity.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Periodicity string + +// List of Periodicity +const ( + Periodicity_YEARLY Periodicity = "YEARLY" + Periodicity_MONTHLY Periodicity = "MONTHLY" + Periodicity_WEEKLY Periodicity = "WEEKLY" + Periodicity_DAILY Periodicity = "DAILY" + Periodicity_HOURLY Periodicity = "HOURLY" +) diff --git a/models/models/model_pfd_change_notification.go b/models/models/model_pfd_change_notification.go new file mode 100644 index 00000000..0e446619 --- /dev/null +++ b/models/models/model_pfd_change_notification.go @@ -0,0 +1,24 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information related to a notification of PFD change. +type PfdChangeNotification struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + // Indication of removal of PFDs for an existing application identifier. Set to true indicates the PFDs are removed. Set to false indicates the PFDs are not removed. Default value is false if omitted. + RemovalFlag bool `json:"removalFlag,omitempty" yaml:"removalFlag" bson:"removalFlag,omitempty"` + // Indication of partial update of PFDs for an existing application identifier if this operation is supported according to feature negotiation. Set to true indicates partial update PFDs for the included application identifier. Set to false indicates not partial update PFDs for the included application identifier. Default value is \"false\" if omitted. + PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` + Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` +} diff --git a/models/models/model_pfd_change_report.go b/models/models/model_pfd_change_report.go new file mode 100644 index 00000000..c0da961a --- /dev/null +++ b/models/models/model_pfd_change_report.go @@ -0,0 +1,19 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an error report on PFD change. +type PfdChangeReport struct { + PfdError *ProblemDetails `json:"pfdError" yaml:"pfdError" bson:"pfdError,omitempty"` + ApplicationId []string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` +} diff --git a/models/models/model_pfd_content.go b/models/models/model_pfd_content.go new file mode 100644 index 00000000..2b1c6c88 --- /dev/null +++ b/models/models/model_pfd_content.go @@ -0,0 +1,26 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the content of a PFD for an application identifier. +type PfdContent struct { + // Identifies a PDF of an application identifier. + PfdId string `json:"pfdId,omitempty" yaml:"pfdId" bson:"pfdId,omitempty"` + // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. + FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` + // Indicates a URL or a regular expression which is used to match the significant parts of the URL. + Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls,omitempty"` + // Indicates an FQDN or a regular expression as a domain name matching criteria. + DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames,omitempty"` + DnProtocol DomainNameProtocol `json:"dnProtocol,omitempty" yaml:"dnProtocol" bson:"dnProtocol,omitempty"` +} diff --git a/models/models/model_pfd_data_for_app.go b/models/models/model_pfd_data_for_app.go new file mode 100644 index 00000000..b9d53dc7 --- /dev/null +++ b/models/models/model_pfd_data_for_app.go @@ -0,0 +1,34 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the PFDs for an application identifier. +type PfdDataForApp struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` + // indicating a time in seconds. + CachingTimer int32 `json:"cachingTimer,omitempty" yaml:"cachingTimer" bson:"cachingTimer,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` + // Indication of partial update of PFDs for an existing application identifier if it is included and set to true. Otherwise set to false indicates not supporting partial update of PFDs for an existing application identifier. The default value false applies if the attribute is not present. + PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pfd_data_for_app_ext.go b/models/models/model_pfd_data_for_app_ext.go new file mode 100644 index 00000000..94520629 --- /dev/null +++ b/models/models/model_pfd_data_for_app_ext.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the PFDs and related data for the application. +type PfdDataForAppExt struct { + // String providing an application identifier. + ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` + Pfds []PfdContent `json:"pfds" yaml:"pfds" bson:"pfds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // indicating a time in seconds. + AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` +} diff --git a/models/models/model_pfd_operation.go b/models/models/model_pfd_operation.go new file mode 100644 index 00000000..9b5a13db --- /dev/null +++ b/models/models/model_pfd_operation.go @@ -0,0 +1,23 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PfdOperation string + +// List of PfdOperation +const ( + PfdOperation_RETRIEVE PfdOperation = "RETRIEVE" + PfdOperation_FULLPULL PfdOperation = "FULLPULL" + PfdOperation_PARTIALPULL PfdOperation = "PARTIALPULL" + PfdOperation_REMOVE PfdOperation = "REMOVE" +) diff --git a/models/models/model_pfd_subscription.go b/models/models/model_pfd_subscription.go new file mode 100644 index 00000000..87b9dd3b --- /dev/null +++ b/models/models/model_pfd_subscription.go @@ -0,0 +1,22 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a PFD subscription. +type PfdSubscription struct { + ApplicationIds []string `json:"applicationIds,omitempty" yaml:"applicationIds" bson:"applicationIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pfi_container_information.go b/models/models/model_pfi_container_information.go new file mode 100644 index 00000000..fd8e4f50 --- /dev/null +++ b/models/models/model_pfi_container_information.go @@ -0,0 +1,33 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PfiContainerInformation struct { + PFI string `json:"pFI,omitempty" yaml:"pFI" bson:"pFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ReportTime *time.Time `json:"reportTime,omitempty" yaml:"reportTime" bson:"reportTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` + QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` + QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` + UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` +} diff --git a/models/models/model_pgw_info.go b/models/models/model_pgw_info.go new file mode 100644 index 00000000..05bf66d6 --- /dev/null +++ b/models/models/model_pgw_info.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PgwInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` +} diff --git a/models/models/model_play_to_party.go b/models/models/model_play_to_party.go new file mode 100644 index 00000000..f5e5a765 --- /dev/null +++ b/models/models/model_play_to_party.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlayToParty string + +// List of PlayToParty +const ( + PlayToParty_SERVED PlayToParty = "SERVED" + PlayToParty_REMOTE PlayToParty = "REMOTE" +) diff --git a/models/models/model_plmn_ec_info.go b/models/models/model_plmn_ec_info.go new file mode 100644 index 00000000..3184afb4 --- /dev/null +++ b/models/models/model_plmn_ec_info.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnEcInfo struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` +} diff --git a/models/models/model_plmn_id.go b/models/models/model_plmn_id.go new file mode 100644 index 00000000..68fe5d32 --- /dev/null +++ b/models/models/model_plmn_id.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// When PlmnId needs to be converted to string (e.g. when used in maps as key), the string shall be composed of three digits \"mcc\" followed by \"-\" and two or three digits \"mnc\". +type PlmnId struct { + // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` + // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` +} diff --git a/models/models/model_plmn_id_nid.go b/models/models/model_plmn_id_nid.go new file mode 100644 index 00000000..b45183d8 --- /dev/null +++ b/models/models/model_plmn_id_nid.go @@ -0,0 +1,23 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the serving core network operator PLMN ID and, for an SNPN, the NID that together with the PLMN ID identifies the SNPN. +type PlmnIdNid struct { + // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` + // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. + Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_plmn_oauth2.go b/models/models/model_plmn_oauth2.go new file mode 100644 index 00000000..b1b6408d --- /dev/null +++ b/models/models/model_plmn_oauth2.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Oauth2.0 required indication for a given PLMN ID +type PlmnOauth2 struct { + Oauth2RequiredPlmnIdList []PlmnId `json:"oauth2RequiredPlmnIdList,omitempty" yaml:"oauth2RequiredPlmnIdList" bson:"oauth2RequiredPlmnIdList,omitempty"` + Oauth2NotRequiredPlmnIdList []PlmnId `json:"oauth2NotRequiredPlmnIdList,omitempty" yaml:"oauth2NotRequiredPlmnIdList" bson:"oauth2NotRequiredPlmnIdList,omitempty"` +} diff --git a/models/models/model_plmn_operator_class.go b/models/models/model_plmn_operator_class.go new file mode 100644 index 00000000..a70e0786 --- /dev/null +++ b/models/models/model_plmn_operator_class.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnOperatorClass struct { + LcsClientClass LcsClientClass `json:"lcsClientClass" yaml:"lcsClientClass" bson:"lcsClientClass,omitempty"` + LcsClientIds []string `json:"lcsClientIds" yaml:"lcsClientIds" bson:"lcsClientIds,omitempty"` +} diff --git a/models/models/model_plmn_range.go b/models/models/model_plmn_range.go new file mode 100644 index 00000000..5e19e0a6 --- /dev/null +++ b/models/models/model_plmn_range.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of PLMN IDs +type PlmnRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_plmn_restriction.go b/models/models/model_plmn_restriction.go new file mode 100644 index 00000000..29160321 --- /dev/null +++ b/models/models/model_plmn_restriction.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PlmnRestriction struct { + RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` + ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` + PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` + SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` +} diff --git a/models/models/model_plmn_route_selection_descriptor.go b/models/models/model_plmn_route_selection_descriptor.go new file mode 100644 index 00000000..da88f3d6 --- /dev/null +++ b/models/models/model_plmn_route_selection_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selection descriptors (combinations of SNSSAI, DNNs, PDU session types, SSC modes and ATSSS information) allowed by subscription to the UE for a serving PLMN +type PlmnRouteSelectionDescriptor struct { + ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` + SnssaiRouteSelDescs []SnssaiRouteSelectionDescriptor `json:"snssaiRouteSelDescs,omitempty" yaml:"snssaiRouteSelDescs" bson:"snssaiRouteSelDescs,omitempty"` +} diff --git a/models/models/model_plmn_snssai.go b/models/models/model_plmn_snssai.go new file mode 100644 index 00000000..a05036ff --- /dev/null +++ b/models/models/model_plmn_snssai.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of network slices (S-NSSAIs) for a given PLMN ID +type PlmnSnssai struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_point.go b/models/models/model_point.go new file mode 100644 index 00000000..482fbb03 --- /dev/null +++ b/models/models/model_point.go @@ -0,0 +1,19 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid Point. +type Point struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` +} diff --git a/models/models/model_point_altitude.go b/models/models/model_point_altitude.go new file mode 100644 index 00000000..58688271 --- /dev/null +++ b/models/models/model_point_altitude.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid point with altitude. +type PointAltitude struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` +} diff --git a/models/models/model_point_altitude_uncertainty.go b/models/models/model_point_altitude_uncertainty.go new file mode 100644 index 00000000..28300fb3 --- /dev/null +++ b/models/models/model_point_altitude_uncertainty.go @@ -0,0 +1,26 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid point with altitude and uncertainty ellipsoid. +type PointAltitudeUncertainty struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of uncertainty. + UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_point_uncertainty_circle.go b/models/models/model_point_uncertainty_circle.go new file mode 100644 index 00000000..7ad5cb79 --- /dev/null +++ b/models/models/model_point_uncertainty_circle.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid point with uncertainty circle. +type PointUncertaintyCircle struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + // Indicates value of uncertainty. + Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` +} diff --git a/models/models/model_point_uncertainty_ellipse.go b/models/models/model_point_uncertainty_ellipse.go new file mode 100644 index 00000000..1f7e29e9 --- /dev/null +++ b/models/models/model_point_uncertainty_ellipse.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid point with uncertainty ellipse. +type PointUncertaintyEllipse struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` + UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` + // Indicates value of confidence. + Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_policy_association_release_cause.go b/models/models/model_policy_association_release_cause.go new file mode 100644 index 00000000..969b8e32 --- /dev/null +++ b/models/models/model_policy_association_release_cause.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyAssociationReleaseCause string + +// List of PolicyAssociationReleaseCause +const ( + PolicyAssociationReleaseCause_UNSPECIFIED PolicyAssociationReleaseCause = "UNSPECIFIED" + PolicyAssociationReleaseCause_UE_SUBSCRIPTION PolicyAssociationReleaseCause = "UE_SUBSCRIPTION" + PolicyAssociationReleaseCause_INSUFFICIENT_RES PolicyAssociationReleaseCause = "INSUFFICIENT_RES" +) diff --git a/models/models/model_policy_control_request_trigger.go b/models/models/model_policy_control_request_trigger.go new file mode 100644 index 00000000..0a4a7469 --- /dev/null +++ b/models/models/model_policy_control_request_trigger.go @@ -0,0 +1,67 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyControlRequestTrigger string + +// List of PolicyControlRequestTrigger +const ( + PolicyControlRequestTrigger_PLMN_CH PolicyControlRequestTrigger = "PLMN_CH" + PolicyControlRequestTrigger_RES_MO_RE PolicyControlRequestTrigger = "RES_MO_RE" + PolicyControlRequestTrigger_AC_TY_CH PolicyControlRequestTrigger = "AC_TY_CH" + PolicyControlRequestTrigger_UE_IP_CH PolicyControlRequestTrigger = "UE_IP_CH" + PolicyControlRequestTrigger_UE_MAC_CH PolicyControlRequestTrigger = "UE_MAC_CH" + PolicyControlRequestTrigger_AN_CH_COR PolicyControlRequestTrigger = "AN_CH_COR" + PolicyControlRequestTrigger_US_RE PolicyControlRequestTrigger = "US_RE" + PolicyControlRequestTrigger_APP_STA PolicyControlRequestTrigger = "APP_STA" + PolicyControlRequestTrigger_APP_STO PolicyControlRequestTrigger = "APP_STO" + PolicyControlRequestTrigger_AN_INFO PolicyControlRequestTrigger = "AN_INFO" + PolicyControlRequestTrigger_CM_SES_FAIL PolicyControlRequestTrigger = "CM_SES_FAIL" + PolicyControlRequestTrigger_PS_DA_OFF PolicyControlRequestTrigger = "PS_DA_OFF" + PolicyControlRequestTrigger_DEF_QOS_CH PolicyControlRequestTrigger = "DEF_QOS_CH" + PolicyControlRequestTrigger_SE_AMBR_CH PolicyControlRequestTrigger = "SE_AMBR_CH" + PolicyControlRequestTrigger_QOS_NOTIF PolicyControlRequestTrigger = "QOS_NOTIF" + PolicyControlRequestTrigger_NO_CREDIT PolicyControlRequestTrigger = "NO_CREDIT" + PolicyControlRequestTrigger_REALLO_OF_CREDIT PolicyControlRequestTrigger = "REALLO_OF_CREDIT" + PolicyControlRequestTrigger_PRA_CH PolicyControlRequestTrigger = "PRA_CH" + PolicyControlRequestTrigger_SAREA_CH PolicyControlRequestTrigger = "SAREA_CH" + PolicyControlRequestTrigger_SCNN_CH PolicyControlRequestTrigger = "SCNN_CH" + PolicyControlRequestTrigger_RE_TIMEOUT PolicyControlRequestTrigger = "RE_TIMEOUT" + PolicyControlRequestTrigger_RES_RELEASE PolicyControlRequestTrigger = "RES_RELEASE" + PolicyControlRequestTrigger_SUCC_RES_ALLO PolicyControlRequestTrigger = "SUCC_RES_ALLO" + PolicyControlRequestTrigger_RAI_CH PolicyControlRequestTrigger = "RAI_CH" + PolicyControlRequestTrigger_RAT_TY_CH PolicyControlRequestTrigger = "RAT_TY_CH" + PolicyControlRequestTrigger_REF_QOS_IND_CH PolicyControlRequestTrigger = "REF_QOS_IND_CH" + PolicyControlRequestTrigger_NUM_OF_PACKET_FILTER PolicyControlRequestTrigger = "NUM_OF_PACKET_FILTER" + PolicyControlRequestTrigger_UE_STATUS_RESUME PolicyControlRequestTrigger = "UE_STATUS_RESUME" + PolicyControlRequestTrigger_UE_TZ_CH PolicyControlRequestTrigger = "UE_TZ_CH" + PolicyControlRequestTrigger_AUTH_PROF_CH PolicyControlRequestTrigger = "AUTH_PROF_CH" + PolicyControlRequestTrigger_QOS_MONITORING PolicyControlRequestTrigger = "QOS_MONITORING" + PolicyControlRequestTrigger_SCELL_CH PolicyControlRequestTrigger = "SCELL_CH" + PolicyControlRequestTrigger_USER_LOCATION_CH PolicyControlRequestTrigger = "USER_LOCATION_CH" + PolicyControlRequestTrigger_EPS_FALLBACK PolicyControlRequestTrigger = "EPS_FALLBACK" + PolicyControlRequestTrigger_MA_PDU PolicyControlRequestTrigger = "MA_PDU" + PolicyControlRequestTrigger_TSN_BRIDGE_INFO PolicyControlRequestTrigger = "TSN_BRIDGE_INFO" + PolicyControlRequestTrigger__5_G_RG_JOIN PolicyControlRequestTrigger = "5G_RG_JOIN" + PolicyControlRequestTrigger__5_G_RG_LEAVE PolicyControlRequestTrigger = "5G_RG_LEAVE" + PolicyControlRequestTrigger_DDN_FAILURE PolicyControlRequestTrigger = "DDN_FAILURE" + PolicyControlRequestTrigger_DDN_DELIVERY_STATUS PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS" + PolicyControlRequestTrigger_GROUP_ID_LIST_CHG PolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" + PolicyControlRequestTrigger_DDN_FAILURE_CANCELLATION PolicyControlRequestTrigger = "DDN_FAILURE_CANCELLATION" + PolicyControlRequestTrigger_DDN_DELIVERY_STATUS_CANCELLATION PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS_CANCELLATION" + PolicyControlRequestTrigger_VPLMN_QOS_CH PolicyControlRequestTrigger = "VPLMN_QOS_CH" + PolicyControlRequestTrigger_SUCC_QOS_UPDATE PolicyControlRequestTrigger = "SUCC_QOS_UPDATE" + PolicyControlRequestTrigger_SAT_CATEGORY_CHG PolicyControlRequestTrigger = "SAT_CATEGORY_CHG" + PolicyControlRequestTrigger_PCF_UE_NOTIF_IND PolicyControlRequestTrigger = "PCF_UE_NOTIF_IND" + PolicyControlRequestTrigger_NWDAF_DATA_CHG PolicyControlRequestTrigger = "NWDAF_DATA_CHG" +) diff --git a/models/models/model_policy_counter_info.go b/models/models/model_policy_counter_info.go new file mode 100644 index 00000000..a98b042d --- /dev/null +++ b/models/models/model_policy_counter_info.go @@ -0,0 +1,23 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the data structure presenting the policy counter status. +type PolicyCounterInfo struct { + // Identifies a policy counter. + PolicyCounterId string `json:"policyCounterId" yaml:"policyCounterId" bson:"policyCounterId,omitempty"` + // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. + CurrentStatus string `json:"currentStatus" yaml:"currentStatus" bson:"currentStatus,omitempty"` + // Provides the pending policy counter status. + PenPolCounterStatuses []PendingPolicyCounterStatus `json:"penPolCounterStatuses,omitempty" yaml:"penPolCounterStatuses" bson:"penPolCounterStatuses,omitempty"` +} diff --git a/models/models/model_policy_data_change_notification.go b/models/models/model_policy_data_change_notification.go new file mode 100644 index 00000000..c25dfe3f --- /dev/null +++ b/models/models/model_policy_data_change_notification.go @@ -0,0 +1,39 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains changed policy data for which notification was requested. +type PolicyDataChangeNotification struct { + AmPolicyData *AmPolicyData `json:"amPolicyData,omitempty" yaml:"amPolicyData" bson:"amPolicyData,omitempty"` + UePolicySet *UePolicySet `json:"uePolicySet,omitempty" yaml:"uePolicySet" bson:"uePolicySet,omitempty"` + PlmnUePolicySet *UePolicySet `json:"plmnUePolicySet,omitempty" yaml:"plmnUePolicySet" bson:"plmnUePolicySet,omitempty"` + SmPolicyData *SmPolicyData `json:"smPolicyData,omitempty" yaml:"smPolicyData" bson:"smPolicyData,omitempty"` + UsageMonData *UsageMonData `json:"usageMonData,omitempty" yaml:"usageMonData" bson:"usageMonData,omitempty"` + SponsorConnectivityData *SponsorConnectivityData `json:"SponsorConnectivityData,omitempty" yaml:"SponsorConnectivityData" bson:"SponsorConnectivityData,omitempty"` + BdtData *BdtData `json:"bdtData,omitempty" yaml:"bdtData" bson:"bdtData,omitempty"` + OpSpecData *OperatorSpecificDataContainer `json:"opSpecData,omitempty" yaml:"opSpecData" bson:"opSpecData,omitempty"` + // Operator Specific Data resource data, if changed and notification was requested. The key of the map is operator specific data element name and the value is the operator specific data of the UE. + OpSpecDataMap map[string]OperatorSpecificDataContainer `json:"opSpecDataMap,omitempty" yaml:"opSpecDataMap" bson:"opSpecDataMap,omitempty"` + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` + // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. + BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` + UsageMonId string `json:"usageMonId,omitempty" yaml:"usageMonId" bson:"usageMonId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + ReportedFragments []NotificationItem `json:"reportedFragments,omitempty" yaml:"reportedFragments" bson:"reportedFragments,omitempty"` + SlicePolicyData *SlicePolicyData `json:"slicePolicyData,omitempty" yaml:"slicePolicyData" bson:"slicePolicyData,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/models/model_policy_data_for_individual_ue.go b/models/models/model_policy_data_for_individual_ue.go new file mode 100644 index 00000000..c47643bc --- /dev/null +++ b/models/models/model_policy_data_for_individual_ue.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains policy data for a given subscriber. +type PolicyDataForIndividualUe struct { + UePolicyDataSet *UePolicySet `json:"uePolicyDataSet,omitempty" yaml:"uePolicyDataSet" bson:"uePolicyDataSet,omitempty"` + SmPolicyDataSet *SmPolicyData `json:"smPolicyDataSet,omitempty" yaml:"smPolicyDataSet" bson:"smPolicyDataSet,omitempty"` + AmPolicyDataSet *AmPolicyData `json:"amPolicyDataSet,omitempty" yaml:"amPolicyDataSet" bson:"amPolicyDataSet,omitempty"` + // Contains UM policies. The value of the limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // Contains Operator Specific Data resource data. The key of the map is operator specific data element name and the value is the operator specific data of the UE. + OperatorSpecificDataSet map[string]OperatorSpecificDataContainer `json:"operatorSpecificDataSet,omitempty" yaml:"operatorSpecificDataSet" bson:"operatorSpecificDataSet,omitempty"` +} diff --git a/models/models/model_policy_data_subscription.go b/models/models/model_policy_data_subscription.go new file mode 100644 index 00000000..cf78ac81 --- /dev/null +++ b/models/models/model_policy_data_subscription.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies a subscription to policy data change notification. +type PolicyDataSubscription struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + MonResItems []ResourceItem `json:"monResItems,omitempty" yaml:"monResItems" bson:"monResItems,omitempty"` + ExcludedResItems []ResourceItem `json:"excludedResItems,omitempty" yaml:"excludedResItems" bson:"excludedResItems,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_policy_data_subset.go b/models/models/model_policy_data_subset.go new file mode 100644 index 00000000..1780540b --- /dev/null +++ b/models/models/model_policy_data_subset.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyDataSubset string + +// List of PolicyDataSubset +const ( + PolicyDataSubset_AM_POLICY_DATA PolicyDataSubset = "AM_POLICY_DATA" + PolicyDataSubset_SM_POLICY_DATA PolicyDataSubset = "SM_POLICY_DATA" + PolicyDataSubset_UE_POLICY_DATA PolicyDataSubset = "UE_POLICY_DATA" + PolicyDataSubset_UM_DATA PolicyDataSubset = "UM_DATA" + PolicyDataSubset_OPERATOR_SPECIFIC_DATA PolicyDataSubset = "OPERATOR_SPECIFIC_DATA" +) diff --git a/models/models/model_policy_decision_failure_code.go b/models/models/model_policy_decision_failure_code.go new file mode 100644 index 00000000..0228fb2c --- /dev/null +++ b/models/models/model_policy_decision_failure_code.go @@ -0,0 +1,26 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyDecisionFailureCode string + +// List of PolicyDecisionFailureCode +const ( + PolicyDecisionFailureCode_TRA_CTRL_DECS_ERR PolicyDecisionFailureCode = "TRA_CTRL_DECS_ERR" + PolicyDecisionFailureCode_QOS_DECS_ERR PolicyDecisionFailureCode = "QOS_DECS_ERR" + PolicyDecisionFailureCode_CHG_DECS_ERR PolicyDecisionFailureCode = "CHG_DECS_ERR" + PolicyDecisionFailureCode_USA_MON_DECS_ERR PolicyDecisionFailureCode = "USA_MON_DECS_ERR" + PolicyDecisionFailureCode_QOS_MON_DECS_ERR PolicyDecisionFailureCode = "QOS_MON_DECS_ERR" + PolicyDecisionFailureCode_CON_DATA_ERR PolicyDecisionFailureCode = "CON_DATA_ERR" + PolicyDecisionFailureCode_POLICY_PARAM_ERR PolicyDecisionFailureCode = "POLICY_PARAM_ERR" +) diff --git a/models/models/model_policy_req_trigger.go b/models/models/model_policy_req_trigger.go new file mode 100644 index 00000000..4dab1229 --- /dev/null +++ b/models/models/model_policy_req_trigger.go @@ -0,0 +1,27 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PolicyReqTrigger string + +// List of PolicyReqTrigger +const ( + PolicyReqTrigger_LOCATION_CHANGE PolicyReqTrigger = "LOCATION_CHANGE" + PolicyReqTrigger_PRA_CHANGE PolicyReqTrigger = "PRA_CHANGE" + PolicyReqTrigger_ALLOWED_NSSAI_CHANGE PolicyReqTrigger = "ALLOWED_NSSAI_CHANGE" + PolicyReqTrigger_NWDAF_DATA_CHANGE PolicyReqTrigger = "NWDAF_DATA_CHANGE" + PolicyReqTrigger_PLMN_CHANGE PolicyReqTrigger = "PLMN_CHANGE" + PolicyReqTrigger_CON_STATE_CHANGE PolicyReqTrigger = "CON_STATE_CHANGE" + PolicyReqTrigger_SMF_SELECT_CHANGE PolicyReqTrigger = "SMF_SELECT_CHANGE" + PolicyReqTrigger_ACCESS_TYPE_CHANGE PolicyReqTrigger = "ACCESS_TYPE_CHANGE" +) diff --git a/models/models/model_polygon.go b/models/models/model_polygon.go new file mode 100644 index 00000000..7fc3986a --- /dev/null +++ b/models/models/model_polygon.go @@ -0,0 +1,20 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Polygon. +type Polygon struct { + Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` + // List of points. + PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` +} diff --git a/models/models/model_port_management_container.go b/models/models/model_port_management_container.go new file mode 100644 index 00000000..cdfc84d4 --- /dev/null +++ b/models/models/model_port_management_container.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the port management information container for a port. +type PortManagementContainer struct { + // string with format 'bytes' as defined in OpenAPI + PortManCont string `json:"portManCont" yaml:"portManCont" bson:"portManCont,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNum int32 `json:"portNum" yaml:"portNum" bson:"portNum,omitempty"` +} diff --git a/models/models/model_positioning_method.go b/models/models/model_positioning_method.go new file mode 100644 index 00000000..648307da --- /dev/null +++ b/models/models/model_positioning_method.go @@ -0,0 +1,34 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PositioningMethod string + +// List of PositioningMethod +const ( + PositioningMethod_CELLID PositioningMethod = "CELLID" + PositioningMethod_ECID PositioningMethod = "ECID" + PositioningMethod_OTDOA PositioningMethod = "OTDOA" + PositioningMethod_BAROMETRIC_PRESSURE PositioningMethod = "BAROMETRIC_PRESSURE" + PositioningMethod_WLAN PositioningMethod = "WLAN" + PositioningMethod_BLUETOOTH PositioningMethod = "BLUETOOTH" + PositioningMethod_MBS PositioningMethod = "MBS" + PositioningMethod_MOTION_SENSOR PositioningMethod = "MOTION_SENSOR" + PositioningMethod_DL_TDOA PositioningMethod = "DL_TDOA" + PositioningMethod_DL_AOD PositioningMethod = "DL_AOD" + PositioningMethod_MULTI_RTT PositioningMethod = "MULTI-RTT" + PositioningMethod_NR_ECID PositioningMethod = "NR_ECID" + PositioningMethod_UL_TDOA PositioningMethod = "UL_TDOA" + PositioningMethod_UL_AOA PositioningMethod = "UL_AOA" + PositioningMethod_NETWORK_SPECIFIC PositioningMethod = "NETWORK_SPECIFIC" +) diff --git a/models/models/model_positioning_method_and_usage.go b/models/models/model_positioning_method_and_usage.go new file mode 100644 index 00000000..df11072e --- /dev/null +++ b/models/models/model_positioning_method_and_usage.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the usage of a positioning method. +type PositioningMethodAndUsage struct { + Method PositioningMethod `json:"method" yaml:"method" bson:"method,omitempty"` + Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` + Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` + MethodCode int32 `json:"methodCode,omitempty" yaml:"methodCode" bson:"methodCode,omitempty"` +} diff --git a/models/models/model_positioning_method_mdt.go b/models/models/model_positioning_method_mdt.go new file mode 100644 index 00000000..b79d4ff7 --- /dev/null +++ b/models/models/model_positioning_method_mdt.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PositioningMethodMdt string + +// List of PositioningMethodMdt +const ( + PositioningMethodMdt_GNSS PositioningMethodMdt = "GNSS" + PositioningMethodMdt_E_CELL_ID PositioningMethodMdt = "E_CELL_ID" +) diff --git a/models/models/model_positioning_mode.go b/models/models/model_positioning_mode.go new file mode 100644 index 00000000..d487d4f9 --- /dev/null +++ b/models/models/model_positioning_mode.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PositioningMode string + +// List of PositioningMode +const ( + PositioningMode_UE_BASED PositioningMode = "UE_BASED" + PositioningMode_UE_ASSISTED PositioningMode = "UE_ASSISTED" + PositioningMode_CONVENTIONAL PositioningMode = "CONVENTIONAL" +) diff --git a/models/models/model_post_charging_data_response_400.go b/models/models/model_post_charging_data_response_400.go new file mode 100644 index 00000000..efb1671f --- /dev/null +++ b/models/models/model_post_charging_data_response_400.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_post_charging_data_response_403.go b/models/models/model_post_charging_data_response_403.go new file mode 100644 index 00000000..78af9203 --- /dev/null +++ b/models/models/model_post_charging_data_response_403.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse403 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_post_charging_data_response_404.go b/models/models/model_post_charging_data_response_404.go new file mode 100644 index 00000000..e2cc1d55 --- /dev/null +++ b/models/models/model_post_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PostChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_post_charging_notification_response_400.go b/models/models/model_post_charging_notification_response_400.go new file mode 100644 index 00000000..8e08729c --- /dev/null +++ b/models/models/model_post_charging_notification_response_400.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostChargingNotificationResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` +} diff --git a/models/models/model_post_pdu_sessions_request.go b/models/models/model_post_pdu_sessions_request.go new file mode 100644 index 00000000..02990c5e --- /dev/null +++ b/models/models/model_post_pdu_sessions_request.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostPduSessionsRequest struct { + JsonData *PduSessionCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` +} diff --git a/models/models/model_post_pdu_sessions_response_201.go b/models/models/model_post_pdu_sessions_response_201.go new file mode 100644 index 00000000..d3cb9c2e --- /dev/null +++ b/models/models/model_post_pdu_sessions_response_201.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostPduSessionsResponse201 struct { + JsonData *PduSessionCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/models/model_post_pdu_sessions_response_400.go b/models/models/model_post_pdu_sessions_response_400.go new file mode 100644 index 00000000..d20a69bf --- /dev/null +++ b/models/models/model_post_pdu_sessions_response_400.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostPduSessionsResponse400 struct { + JsonData *PduSessionCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/models/model_post_sm_contexts_request.go b/models/models/model_post_sm_contexts_request.go new file mode 100644 index 00000000..5ee5d1ae --- /dev/null +++ b/models/models/model_post_sm_contexts_request.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsRequest struct { + JsonData *SmfPduSessionSmContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` +} diff --git a/models/models/model_post_sm_contexts_response_201.go b/models/models/model_post_sm_contexts_response_201.go new file mode 100644 index 00000000..904c981a --- /dev/null +++ b/models/models/model_post_sm_contexts_response_201.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsResponse201 struct { + JsonData *SmfPduSessionSmContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/models/model_post_sm_contexts_response_400.go b/models/models/model_post_sm_contexts_response_400.go new file mode 100644 index 00000000..8cc87d09 --- /dev/null +++ b/models/models/model_post_sm_contexts_response_400.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PostSmContextsResponse400 struct { + JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty"` +} diff --git a/models/models/model_pp5g_mbs_group_profile_data.go b/models/models/model_pp5g_mbs_group_profile_data.go new file mode 100644 index 00000000..411507f5 --- /dev/null +++ b/models/models/model_pp5g_mbs_group_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pp5gMbsGroupProfileData struct { + // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMbsInfos lists. In addition to defined external MBS group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMbsInfo that are allowed operating all the external group identifiers. + AllowedMbsInfos map[string][]AllowedMbsInfo `json:"allowedMbsInfos,omitempty" yaml:"allowedMbsInfos" bson:"allowedMbsInfos,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pp5g_vn_group_profile_data.go b/models/models/model_pp5g_vn_group_profile_data.go new file mode 100644 index 00000000..7193aa9b --- /dev/null +++ b/models/models/model_pp5g_vn_group_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Pp5gVnGroupProfileData struct { + // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMtcProviderInfo lists. In addition to defined external VN group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed operating all the external group identifiers. + AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pp_active_time.go b/models/models/model_pp_active_time.go new file mode 100644 index 00000000..43d9e8ae --- /dev/null +++ b/models/models/model_pp_active_time.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpActiveTime struct { + // indicating a time in seconds. + ActiveTime int32 `json:"activeTime" yaml:"activeTime" bson:"activeTime,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_pp_data.go b/models/models/model_pp_data.go new file mode 100644 index 00000000..bfa4dc26 --- /dev/null +++ b/models/models/model_pp_data.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PpData struct { + CommunicationCharacteristics *CommunicationCharacteristics `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ExpectedUeBehaviourParameters *ExpectedUeBehaviour `json:"expectedUeBehaviourParameters,omitempty" yaml:"expectedUeBehaviourParameters" bson:"expectedUeBehaviourParameters,omitempty"` + EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` + AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003 with the OpenAPI 'nullable: true' property. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + LcsPrivacy *LcsPrivacy `json:"lcsPrivacy,omitempty" yaml:"lcsPrivacy" bson:"lcsPrivacy,omitempty"` + SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` + Var5mbsAuthorizationInfo *Model5MbsAuthorizationInfo `json:"5mbsAuthorizationInfo,omitempty" yaml:"5mbsAuthorizationInfo" bson:"5mbsAuthorizationInfo,omitempty"` +} diff --git a/models/models/model_pp_data_entry.go b/models/models/model_pp_data_entry.go new file mode 100644 index 00000000..d0864086 --- /dev/null +++ b/models/models/model_pp_data_entry.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpDataEntry struct { + CommunicationCharacteristics *CommunicationCharacteristicsAf `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` + ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` + AdditionalEcsAddrConfigInfos []EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` + EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` +} diff --git a/models/models/model_pp_data_entry_list.go b/models/models/model_pp_data_entry_list.go new file mode 100644 index 00000000..fc1ea1a9 --- /dev/null +++ b/models/models/model_pp_data_entry_list.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of the Provisioned Parameters entries +type PpDataEntryList struct { + PpDataEntryList []*PpDataEntry `json:"ppDataEntryList,omitempty" yaml:"ppDataEntryList" bson:"ppDataEntryList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pp_dl_packet_count_ext.go b/models/models/model_pp_dl_packet_count_ext.go new file mode 100644 index 00000000..87907ac3 --- /dev/null +++ b/models/models/model_pp_dl_packet_count_ext.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpDlPacketCountExt struct { + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_pp_maximum_latency.go b/models/models/model_pp_maximum_latency.go new file mode 100644 index 00000000..dd5a3927 --- /dev/null +++ b/models/models/model_pp_maximum_latency.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpMaximumLatency struct { + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_pp_maximum_response_time.go b/models/models/model_pp_maximum_response_time.go new file mode 100644 index 00000000..aef5a545 --- /dev/null +++ b/models/models/model_pp_maximum_response_time.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpMaximumResponseTime struct { + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_pp_profile_data.go b/models/models/model_pp_profile_data.go new file mode 100644 index 00000000..24a9b828 --- /dev/null +++ b/models/models/model_pp_profile_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PpProfileData struct { + // A map (list of key-value pairs where PpDataType serves as key) of AllowedMtcProviderInfo lists. In addition to defined PpDataType, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed to provision all types of the PP data for the user using UDM ParameterProvision service. + AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pp_subs_reg_timer.go b/models/models/model_pp_subs_reg_timer.go new file mode 100644 index 00000000..d329b7c9 --- /dev/null +++ b/models/models/model_pp_subs_reg_timer.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type PpSubsRegTimer struct { + // indicating a time in seconds. + SubsRegTimer int32 `json:"subsRegTimer" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` + AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` +} diff --git a/models/models/model_preemption_capability.go b/models/models/model_preemption_capability.go new file mode 100644 index 00000000..c74eea74 --- /dev/null +++ b/models/models/model_preemption_capability.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionCapability string + +// List of PreemptionCapability +const ( + PreemptionCapability_NOT_PREEMPT PreemptionCapability = "NOT_PREEMPT" + PreemptionCapability_MAY_PREEMPT PreemptionCapability = "MAY_PREEMPT" +) diff --git a/models/models/model_preemption_capability_rm.go b/models/models/model_preemption_capability_rm.go new file mode 100644 index 00000000..fb64ce74 --- /dev/null +++ b/models/models/model_preemption_capability_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionCapabilityRm struct { +} diff --git a/models/models/model_preemption_control_information.go b/models/models/model_preemption_control_information.go new file mode 100644 index 00000000..f2b8ddf9 --- /dev/null +++ b/models/models/model_preemption_control_information.go @@ -0,0 +1,22 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionControlInformation string + +// List of PreemptionControlInformation +const ( + PreemptionControlInformation_MOST_RECENT PreemptionControlInformation = "MOST_RECENT" + PreemptionControlInformation_LEAST_RECENT PreemptionControlInformation = "LEAST_RECENT" + PreemptionControlInformation_HIGHEST_BW PreemptionControlInformation = "HIGHEST_BW" +) diff --git a/models/models/model_preemption_control_information_rm.go b/models/models/model_preemption_control_information_rm.go new file mode 100644 index 00000000..75132ca9 --- /dev/null +++ b/models/models/model_preemption_control_information_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionControlInformationRm struct { +} diff --git a/models/models/model_preemption_vulnerability.go b/models/models/model_preemption_vulnerability.go new file mode 100644 index 00000000..8065c485 --- /dev/null +++ b/models/models/model_preemption_vulnerability.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionVulnerability string + +// List of PreemptionVulnerability +const ( + PreemptionVulnerability_NOT_PREEMPTABLE PreemptionVulnerability = "NOT_PREEMPTABLE" + PreemptionVulnerability_PREEMPTABLE PreemptionVulnerability = "PREEMPTABLE" +) diff --git a/models/models/model_preemption_vulnerability_rm.go b/models/models/model_preemption_vulnerability_rm.go new file mode 100644 index 00000000..56cc8a1d --- /dev/null +++ b/models/models/model_preemption_vulnerability_rm.go @@ -0,0 +1,16 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PreemptionVulnerabilityRm struct { +} diff --git a/models/models/model_preferred_search.go b/models/models/model_preferred_search.go new file mode 100644 index 00000000..465f2ac7 --- /dev/null +++ b/models/models/model_preferred_search.go @@ -0,0 +1,27 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information on whether the returned NFProfiles match the preferred query parameters +type PreferredSearch struct { + PreferredTaiMatchInd bool `json:"preferredTaiMatchInd,omitempty" yaml:"preferredTaiMatchInd" bson:"preferredTaiMatchInd,omitempty"` + PreferredFullPlmnMatchInd bool `json:"preferredFullPlmnMatchInd,omitempty" yaml:"preferredFullPlmnMatchInd" bson:"preferredFullPlmnMatchInd,omitempty"` + PreferredApiVersionsMatchInd bool `json:"preferredApiVersionsMatchInd,omitempty" yaml:"preferredApiVersionsMatchInd" bson:"preferredApiVersionsMatchInd,omitempty"` + OtherApiVersionsInd bool `json:"otherApiVersionsInd,omitempty" yaml:"otherApiVersionsInd" bson:"otherApiVersionsInd,omitempty"` + PreferredLocalityMatchInd bool `json:"preferredLocalityMatchInd,omitempty" yaml:"preferredLocalityMatchInd" bson:"preferredLocalityMatchInd,omitempty"` + OtherLocalityInd bool `json:"otherLocalityInd,omitempty" yaml:"otherLocalityInd" bson:"otherLocalityInd,omitempty"` + PreferredVendorSpecificFeaturesInd bool `json:"preferredVendorSpecificFeaturesInd,omitempty" yaml:"preferredVendorSpecificFeaturesInd" bson:"preferredVendorSpecificFeaturesInd,omitempty"` + PreferredCollocatedNfTypeInd bool `json:"preferredCollocatedNfTypeInd,omitempty" yaml:"preferredCollocatedNfTypeInd" bson:"preferredCollocatedNfTypeInd,omitempty"` + PreferredPgwMatchInd bool `json:"preferredPgwMatchInd,omitempty" yaml:"preferredPgwMatchInd" bson:"preferredPgwMatchInd,omitempty"` + PreferredAnalyticsDelaysInd bool `json:"preferredAnalyticsDelaysInd,omitempty" yaml:"preferredAnalyticsDelaysInd" bson:"preferredAnalyticsDelaysInd,omitempty"` +} diff --git a/models/models/model_presence_info.go b/models/models/model_presence_info.go new file mode 100644 index 00000000..8bb08daf --- /dev/null +++ b/models/models/model_presence_info.go @@ -0,0 +1,32 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. +type PresenceInfo struct { + // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: 0 to 8 388 607 for UE-dedicated PRA 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" + PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` + // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. + AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` + PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` + // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. + GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` + // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. + GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` +} diff --git a/models/models/model_presence_info_rm.go b/models/models/model_presence_info_rm.go new file mode 100644 index 00000000..16674d99 --- /dev/null +++ b/models/models/model_presence_info_rm.go @@ -0,0 +1,32 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the 'PresenceInfo' data type, but with the OpenAPI 'nullable: true' property. If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. +type PresenceInfoRm struct { + // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: - 0 to 8 388 607 for UE-dedicated PRA - 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" + PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` + // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. + AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` + PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` + // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. + EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` + // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. + NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` + // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. + GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` + // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. + GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` +} diff --git a/models/models/model_presence_state.go b/models/models/model_presence_state.go new file mode 100644 index 00000000..4c4b9eae --- /dev/null +++ b/models/models/model_presence_state.go @@ -0,0 +1,23 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PresenceState string + +// List of PresenceState +const ( + PresenceState_IN_AREA PresenceState = "IN_AREA" + PresenceState_OUT_OF_AREA PresenceState = "OUT_OF_AREA" + PresenceState_UNKNOWN PresenceState = "UNKNOWN" + PresenceState_INACTIVE PresenceState = "INACTIVE" +) diff --git a/models/models/model_prev_sub_info.go b/models/models/model_prev_sub_info.go new file mode 100644 index 00000000..bc1eeee8 --- /dev/null +++ b/models/models/model_prev_sub_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of the previous subscription. +type PrevSubInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + // The identifier of a subscription. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + NfAnaEvents []NwdafEvent `json:"nfAnaEvents,omitempty" yaml:"nfAnaEvents" bson:"nfAnaEvents,omitempty"` + UeAnaEvents []UeAnalyticsContextDescriptor `json:"ueAnaEvents,omitempty" yaml:"ueAnaEvents" bson:"ueAnaEvents,omitempty"` +} diff --git a/models/models/model_priority_levels.go b/models/models/model_priority_levels.go new file mode 100644 index 00000000..3975983d --- /dev/null +++ b/models/models/model_priority_levels.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Namespaces and priority levels allowed for the IMS public Identity +type PriorityLevels struct { + ServicePriorityLevelList []string `json:"servicePriorityLevelList" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` + ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` +} diff --git a/models/models/model_priority_sharing_indicator.go b/models/models/model_priority_sharing_indicator.go new file mode 100644 index 00000000..07036e7b --- /dev/null +++ b/models/models/model_priority_sharing_indicator.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrioritySharingIndicator string + +// List of PrioritySharingIndicator +const ( + PrioritySharingIndicator_ENABLED PrioritySharingIndicator = "ENABLED" + PrioritySharingIndicator_DISABLED PrioritySharingIndicator = "DISABLED" +) diff --git a/models/models/model_privacy_check_related_action.go b/models/models/model_privacy_check_related_action.go new file mode 100644 index 00000000..86bee3f3 --- /dev/null +++ b/models/models/model_privacy_check_related_action.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrivacyCheckRelatedAction string + +// List of PrivacyCheckRelatedAction +const ( + PrivacyCheckRelatedAction_NOT_ALLOWED PrivacyCheckRelatedAction = "LOCATION_NOT_ALLOWED" + PrivacyCheckRelatedAction_ALLOWED_WITH_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITH_NOTIFICATION" + PrivacyCheckRelatedAction_ALLOWED_WITHOUT_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" + PrivacyCheckRelatedAction_ALLOWED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_RESPONSE" + PrivacyCheckRelatedAction_RESTRICTED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" +) diff --git a/models/models/model_private_identities.go b/models/models/model_private_identities.go new file mode 100644 index 00000000..52e7b3ef --- /dev/null +++ b/models/models/model_private_identities.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of IMS Private Identities +type PrivateIdentities struct { + PrivateIdentities []PrivateIdentity `json:"privateIdentities" yaml:"privateIdentities" bson:"privateIdentities,omitempty"` +} diff --git a/models/models/model_private_identity.go b/models/models/model_private_identity.go new file mode 100644 index 00000000..d099ddb7 --- /dev/null +++ b/models/models/model_private_identity.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Private Identity and its identity type (IMPI or IMSI) +type PrivateIdentity struct { + // String containing a Private User Identity or a Private Service Identity + PrivateIdentity string `json:"privateIdentity" yaml:"privateIdentity" bson:"privateIdentity,omitempty"` + PrivateIdentityType PrivateIdentityType `json:"privateIdentityType" yaml:"privateIdentityType" bson:"privateIdentityType,omitempty"` +} diff --git a/models/models/model_private_identity_type.go b/models/models/model_private_identity_type.go new file mode 100644 index 00000000..5e07e9c0 --- /dev/null +++ b/models/models/model_private_identity_type.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PrivateIdentityType string + +// List of PrivateIdentityType +const ( + PrivateIdentityType_IMPI PrivateIdentityType = "IMPI" + PrivateIdentityType_IMSI PrivateIdentityType = "IMSI" +) diff --git a/models/models/model_pro_se_allowed_plmn.go b/models/models/model_pro_se_allowed_plmn.go new file mode 100644 index 00000000..4c4f73e1 --- /dev/null +++ b/models/models/model_pro_se_allowed_plmn.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the PLMN identities where the Prose services are authorised to use and the authorised Prose services on this given PLMNs. +type ProSeAllowedPlmn struct { + VisitedPlmn *PlmnId `json:"visitedPlmn" yaml:"visitedPlmn" bson:"visitedPlmn,omitempty"` + ProseDirectAllowed []ProseDirectAllowed `json:"proseDirectAllowed,omitempty" yaml:"proseDirectAllowed" bson:"proseDirectAllowed,omitempty"` +} diff --git a/models/models/model_pro_se_auth_data.go b/models/models/model_pro_se_auth_data.go new file mode 100644 index 00000000..c871d992 --- /dev/null +++ b/models/models/model_pro_se_auth_data.go @@ -0,0 +1,16 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthData struct { +} diff --git a/models/models/model_pro_se_authentication_ctx.go b/models/models/model_pro_se_authentication_ctx.go new file mode 100644 index 00000000..b0370f70 --- /dev/null +++ b/models/models/model_pro_se_authentication_ctx.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information related to the resource generated to handle the ProSe authentication. +type ProSeAuthenticationCtx struct { + AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + ProSeAuthData *ProSeAuthData `json:"proSeAuthData" yaml:"proSeAuthData" bson:"proSeAuthData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pro_se_authentication_info.go b/models/models/model_pro_se_authentication_info.go new file mode 100644 index 00000000..8fc02836 --- /dev/null +++ b/models/models/model_pro_se_authentication_info.go @@ -0,0 +1,28 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUCI) or CP-PRUK ID (in 5gPrukId IE), Relay Service Code and Nonce_1. +type ProSeAuthenticationInfo struct { + // String identifying a SUPI or a SUCI. + SupiOrSuci string `json:"supiOrSuci,omitempty" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` + // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. + Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` + // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. + RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` + // contains an Nonce1 + Nonce1 string `json:"nonce1" yaml:"nonce1" bson:"nonce1,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pro_se_authentication_info_request.go b/models/models/model_pro_se_authentication_info_request.go new file mode 100644 index 00000000..af38826f --- /dev/null +++ b/models/models/model_pro_se_authentication_info_request.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationInfoRequest struct { + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. + RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pro_se_authentication_info_result.go b/models/models/model_pro_se_authentication_info_result.go new file mode 100644 index 00000000..dff87986 --- /dev/null +++ b/models/models/model_pro_se_authentication_info_result.go @@ -0,0 +1,22 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationInfoResult struct { + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + ProseAuthenticationVectors *ProSeAuthenticationVectors `json:"proseAuthenticationVectors,omitempty" yaml:"proseAuthenticationVectors" bson:"proseAuthenticationVectors,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pro_se_authentication_result.go b/models/models/model_pro_se_authentication_result.go new file mode 100644 index 00000000..ebaa398d --- /dev/null +++ b/models/models/model_pro_se_authentication_result.go @@ -0,0 +1,23 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Successful authentication for CP-PRUK ID. +type ProSeAuthenticationResult struct { + // Contains the KNR_ProSe. + KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` + // contains an Nonce2 + Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_pro_se_authentication_vectors.go b/models/models/model_pro_se_authentication_vectors.go new file mode 100644 index 00000000..953c6e8b --- /dev/null +++ b/models/models/model_pro_se_authentication_vectors.go @@ -0,0 +1,16 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProSeAuthenticationVectors struct { +} diff --git a/models/models/model_pro_se_eap_session.go b/models/models/model_pro_se_eap_session.go new file mode 100644 index 00000000..c4dbbe5f --- /dev/null +++ b/models/models/model_pro_se_eap_session.go @@ -0,0 +1,30 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information related to the EAP session. If present the 5gPrukId IE shall carry the CP-PRUK ID. +type ProSeEapSession struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // Contains the KNR_ProSe. + KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // contains an Nonce2 + Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` + // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. + Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` +} diff --git a/models/models/model_pro_se_information.go b/models/models/model_pro_se_information.go new file mode 100644 index 00000000..61c12fd1 --- /dev/null +++ b/models/models/model_pro_se_information.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5G ProSe related N2 information. +type ProSeInformation struct { + N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` +} diff --git a/models/models/model_problem_details.go b/models/models/model_problem_details.go new file mode 100644 index 00000000..17bf75a0 --- /dev/null +++ b/models/models/model_problem_details.go @@ -0,0 +1,34 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides additional information in an error response. +type ProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` +} diff --git a/models/models/model_problem_details_add_info.go b/models/models/model_problem_details_add_info.go new file mode 100644 index 00000000..9f1b7623 --- /dev/null +++ b/models/models/model_problem_details_add_info.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Problem Details Additional Information +type ProblemDetailsAddInfo struct { + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` +} diff --git a/models/models/model_problem_details_analytics_info_request.go b/models/models/model_problem_details_analytics_info_request.go new file mode 100644 index 00000000..94267454 --- /dev/null +++ b/models/models/model_problem_details_analytics_info_request.go @@ -0,0 +1,36 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extends ProblemDetails to indicate more details why the analytics request is rejected. +type ProblemDetailsAnalyticsInfoRequest struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` +} diff --git a/models/models/model_problem_details_enable_ue_reachability.go b/models/models/model_problem_details_enable_ue_reachability.go new file mode 100644 index 00000000..41c49ac3 --- /dev/null +++ b/models/models/model_problem_details_enable_ue_reachability.go @@ -0,0 +1,36 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Enable UE Reachability Error Detail +type ProblemDetailsEnableUeReachability struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_processing_instruction.go b/models/models/model_processing_instruction.go new file mode 100644 index 00000000..a2d5d107 --- /dev/null +++ b/models/models/model_processing_instruction.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains instructions related to the processing of notifications. +type ProcessingInstruction struct { + EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` + // indicating a time in seconds. + ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` + // List of event parameter names, and for each event parameter name, respective event parameter values and sets of the attributes to be used in the summarized reports. + ParamProcInstructs []ParameterProcessingInstruction `json:"paramProcInstructs,omitempty" yaml:"paramProcInstructs" bson:"paramProcInstructs,omitempty"` +} diff --git a/models/models/model_prose_auth_response_200.go b/models/models/model_prose_auth_response_200.go new file mode 100644 index 00000000..557f1fc9 --- /dev/null +++ b/models/models/model_prose_auth_response_200.go @@ -0,0 +1,20 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseAuthResponse200 struct { + // contains an EAP packet + EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` + // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` +} diff --git a/models/models/model_prose_charging_information.go b/models/models/model_prose_charging_information.go new file mode 100644 index 00000000..7314df4f --- /dev/null +++ b/models/models/model_prose_charging_information.go @@ -0,0 +1,57 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ProseChargingInformation struct { + AnnouncingPlmnID *PlmnId `json:"announcingPlmnID,omitempty" yaml:"announcingPlmnID" bson:"announcingPlmnID,omitempty"` + AnnouncingUeHplmnIdentifier *PlmnId `json:"announcingUeHplmnIdentifier,omitempty" yaml:"announcingUeHplmnIdentifier" bson:"announcingUeHplmnIdentifier,omitempty"` + AnnouncingUeVplmnIdentifier *PlmnId `json:"announcingUeVplmnIdentifier,omitempty" yaml:"announcingUeVplmnIdentifier" bson:"announcingUeVplmnIdentifier,omitempty"` + MonitoringUeHplmnIdentifier *PlmnId `json:"monitoringUeHplmnIdentifier,omitempty" yaml:"monitoringUeHplmnIdentifier" bson:"monitoringUeHplmnIdentifier,omitempty"` + MonitoringUeVplmnIdentifier *PlmnId `json:"monitoringUeVplmnIdentifier,omitempty" yaml:"monitoringUeVplmnIdentifier" bson:"monitoringUeVplmnIdentifier,omitempty"` + DiscovererUeHplmnIdentifier *PlmnId `json:"discovererUeHplmnIdentifier,omitempty" yaml:"discovererUeHplmnIdentifier" bson:"discovererUeHplmnIdentifier,omitempty"` + DiscovererUeVplmnIdentifier *PlmnId `json:"discovererUeVplmnIdentifier,omitempty" yaml:"discovererUeVplmnIdentifier" bson:"discovererUeVplmnIdentifier,omitempty"` + DiscovereeUeHplmnIdentifier *PlmnId `json:"discovereeUeHplmnIdentifier,omitempty" yaml:"discovereeUeHplmnIdentifier" bson:"discovereeUeHplmnIdentifier,omitempty"` + DiscovereeUeVplmnIdentifier *PlmnId `json:"discovereeUeVplmnIdentifier,omitempty" yaml:"discovereeUeVplmnIdentifier" bson:"discovereeUeVplmnIdentifier,omitempty"` + MonitoredPlmnIdentifier *PlmnId `json:"monitoredPlmnIdentifier,omitempty" yaml:"monitoredPlmnIdentifier" bson:"monitoredPlmnIdentifier,omitempty"` + ProseApplicationID string `json:"proseApplicationID,omitempty" yaml:"proseApplicationID" bson:"proseApplicationID,omitempty"` + ApplicationId string `json:"ApplicationId,omitempty" yaml:"ApplicationId" bson:"ApplicationId,omitempty"` + ApplicationSpecificDataList []string `json:"applicationSpecificDataList,omitempty" yaml:"applicationSpecificDataList" bson:"applicationSpecificDataList,omitempty"` + ProseFunctionality ProseFunctionality `json:"proseFunctionality,omitempty" yaml:"proseFunctionality" bson:"proseFunctionality,omitempty"` + ProseEventType ProseEventType `json:"proseEventType,omitempty" yaml:"proseEventType" bson:"proseEventType,omitempty"` + DirectDiscoveryModel DirectDiscoveryModel `json:"directDiscoveryModel,omitempty" yaml:"directDiscoveryModel" bson:"directDiscoveryModel,omitempty"` + ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + RoleOfUE RoleOfUe `json:"roleOfUE,omitempty" yaml:"roleOfUE" bson:"roleOfUE,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProseRequestTimestamp *time.Time `json:"proseRequestTimestamp,omitempty" yaml:"proseRequestTimestamp" bson:"proseRequestTimestamp,omitempty"` + PC3ProtocolCause int32 `json:"pC3ProtocolCause,omitempty" yaml:"pC3ProtocolCause" bson:"pC3ProtocolCause,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + MonitoringUEIdentifier string `json:"monitoringUEIdentifier,omitempty" yaml:"monitoringUEIdentifier" bson:"monitoringUEIdentifier,omitempty"` + RequestedPLMNIdentifier *PlmnId `json:"requestedPLMNIdentifier,omitempty" yaml:"requestedPLMNIdentifier" bson:"requestedPLMNIdentifier,omitempty"` + TimeWindow int32 `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` + RangeClass RangeClass `json:"rangeClass,omitempty" yaml:"rangeClass" bson:"rangeClass,omitempty"` + ProximityAlertIndication bool `json:"proximityAlertIndication,omitempty" yaml:"proximityAlertIndication" bson:"proximityAlertIndication,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProximityAlertTimestamp *time.Time `json:"proximityAlertTimestamp,omitempty" yaml:"proximityAlertTimestamp" bson:"proximityAlertTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProximityCancellationTimestamp *time.Time `json:"proximityCancellationTimestamp,omitempty" yaml:"proximityCancellationTimestamp" bson:"proximityCancellationTimestamp,omitempty"` + RelayIPAddress *IpAddr `json:"relayIPAddress,omitempty" yaml:"relayIPAddress" bson:"relayIPAddress,omitempty"` + ProseUEToNetworkRelayUEID string `json:"proseUEToNetworkRelayUEID,omitempty" yaml:"proseUEToNetworkRelayUEID" bson:"proseUEToNetworkRelayUEID,omitempty"` + ProseDestinationLayer2ID string `json:"proseDestinationLayer2ID,omitempty" yaml:"proseDestinationLayer2ID" bson:"proseDestinationLayer2ID,omitempty"` + PFIContainerInformation []PfiContainerInformation `json:"pFIContainerInformation,omitempty" yaml:"pFIContainerInformation" bson:"pFIContainerInformation,omitempty"` + TransmissionDataContainer []Pc5DataContainer `json:"transmissionDataContainer,omitempty" yaml:"transmissionDataContainer" bson:"transmissionDataContainer,omitempty"` + ReceptionDataContainer []Pc5DataContainer `json:"receptionDataContainer,omitempty" yaml:"receptionDataContainer" bson:"receptionDataContainer,omitempty"` +} diff --git a/models/models/model_prose_context.go b/models/models/model_prose_context.go new file mode 100644 index 00000000..da781690 --- /dev/null +++ b/models/models/model_prose_context.go @@ -0,0 +1,25 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the ProSe services related parameters. +type ProseContext struct { + DirectDiscovery UeAuth `json:"directDiscovery,omitempty" yaml:"directDiscovery" bson:"directDiscovery,omitempty"` + DirectComm UeAuth `json:"directComm,omitempty" yaml:"directComm" bson:"directComm,omitempty"` + L2Relay UeAuth `json:"l2Relay,omitempty" yaml:"l2Relay" bson:"l2Relay,omitempty"` + L3Relay UeAuth `json:"l3Relay,omitempty" yaml:"l3Relay" bson:"l3Relay,omitempty"` + L2Remote UeAuth `json:"l2Remote,omitempty" yaml:"l2Remote" bson:"l2Remote,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` +} diff --git a/models/models/model_prose_direct_allowed.go b/models/models/model_prose_direct_allowed.go new file mode 100644 index 00000000..b0c0b1d7 --- /dev/null +++ b/models/models/model_prose_direct_allowed.go @@ -0,0 +1,30 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseDirectAllowed string + +// List of ProseDirectAllowed +const ( + ProseDirectAllowed_ANNOUNCE ProseDirectAllowed = "ANNOUNCE" + ProseDirectAllowed_MONITOR ProseDirectAllowed = "MONITOR" + ProseDirectAllowed_RESTRICTD_ANNOUNCE ProseDirectAllowed = "RESTRICTD_ANNOUNCE" + ProseDirectAllowed_RESTRICTD_MONITOR ProseDirectAllowed = "RESTRICTD_MONITOR" + ProseDirectAllowed_DISCOVERER ProseDirectAllowed = "DISCOVERER" + ProseDirectAllowed_DISCOVEREE ProseDirectAllowed = "DISCOVEREE" + ProseDirectAllowed_BROADCAST ProseDirectAllowed = "BROADCAST" + ProseDirectAllowed_GROUPCAST ProseDirectAllowed = "GROUPCAST" + ProseDirectAllowed_UNICAST ProseDirectAllowed = "UNICAST" + ProseDirectAllowed_LAYER2_RELAY ProseDirectAllowed = "LAYER2_RELAY" + ProseDirectAllowed_LAYER3_RELAY ProseDirectAllowed = "LAYER3_RELAY" +) diff --git a/models/models/model_prose_event_type.go b/models/models/model_prose_event_type.go new file mode 100644 index 00000000..47a0ff77 --- /dev/null +++ b/models/models/model_prose_event_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseEventType string + +// List of ProseEventType +const ( + ProseEventType_ANNOUNCING ProseEventType = "ANNOUNCING" + ProseEventType_MONITORING ProseEventType = "MONITORING" + ProseEventType_MATCH_REPORT ProseEventType = "MATCH_REPORT" +) diff --git a/models/models/model_prose_functionality.go b/models/models/model_prose_functionality.go new file mode 100644 index 00000000..1a79ed9c --- /dev/null +++ b/models/models/model_prose_functionality.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProseFunctionality string + +// List of ProseFunctionality +const ( + ProseFunctionality_DISCOVERY ProseFunctionality = "DIRECT_DISCOVERY" + ProseFunctionality_COMMUNICATION ProseFunctionality = "DIRECT_COMMUNICATION" +) diff --git a/models/models/model_prose_service_auth.go b/models/models/model_prose_service_auth.go new file mode 100644 index 00000000..c4d332de --- /dev/null +++ b/models/models/model_prose_service_auth.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates whether the UE is authorized to use ProSe related services. +type ProseServiceAuth struct { + ProseDirectDiscoveryAuth UeAuth `json:"proseDirectDiscoveryAuth,omitempty" yaml:"proseDirectDiscoveryAuth" bson:"proseDirectDiscoveryAuth,omitempty"` + ProseDirectCommunicationAuth UeAuth `json:"proseDirectCommunicationAuth,omitempty" yaml:"proseDirectCommunicationAuth" bson:"proseDirectCommunicationAuth,omitempty"` + ProseL2RelayAuth UeAuth `json:"proseL2RelayAuth,omitempty" yaml:"proseL2RelayAuth" bson:"proseL2RelayAuth,omitempty"` + ProseL3RelayAuth UeAuth `json:"proseL3RelayAuth,omitempty" yaml:"proseL3RelayAuth" bson:"proseL3RelayAuth,omitempty"` + ProseL2RemoteAuth UeAuth `json:"proseL2RemoteAuth,omitempty" yaml:"proseL2RemoteAuth" bson:"proseL2RemoteAuth,omitempty"` + ProseL3RemoteAuth UeAuth `json:"proseL3RemoteAuth,omitempty" yaml:"proseL3RemoteAuth" bson:"proseL3RemoteAuth,omitempty"` +} diff --git a/models/models/model_prose_subscription_data.go b/models/models/model_prose_subscription_data.go new file mode 100644 index 00000000..d87e423c --- /dev/null +++ b/models/models/model_prose_subscription_data.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the ProSe Subscription Data. +type ProseSubscriptionData struct { + ProseServiceAuth *ProseServiceAuth `json:"proseServiceAuth,omitempty" yaml:"proseServiceAuth" bson:"proseServiceAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + ProseAllowedPlmn []ProSeAllowedPlmn `json:"proseAllowedPlmn,omitempty" yaml:"proseAllowedPlmn" bson:"proseAllowedPlmn,omitempty"` +} diff --git a/models/models/model_protection_result.go b/models/models/model_protection_result.go new file mode 100644 index 00000000..2ae18b6e --- /dev/null +++ b/models/models/model_protection_result.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ProtectionResult string + +// List of ProtectionResult +const ( + ProtectionResult_PERFORMED ProtectionResult = "PERFORMED" + ProtectionResult_NOT_PERFORMED ProtectionResult = "NOT_PERFORMED" +) diff --git a/models/models/model_provide_loc_info.go b/models/models/model_provide_loc_info.go new file mode 100644 index 00000000..02b37f8e --- /dev/null +++ b/models/models/model_provide_loc_info.go @@ -0,0 +1,29 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Provide Location Information Response +type ProvideLocInfo struct { + CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` + Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` + AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` + GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` + // Indicates value of the age of the location estimate. + LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` +} diff --git a/models/models/model_provide_pos_info.go b/models/models/model_provide_pos_info.go new file mode 100644 index 00000000..db72637b --- /dev/null +++ b/models/models/model_provide_pos_info.go @@ -0,0 +1,53 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Provide Positioning Information Response +type ProvidePosInfo struct { + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` + AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` + GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetServingNode string `json:"targetServingNode,omitempty" yaml:"targetServingNode" bson:"targetServingNode,omitempty"` + // Fully Qualified Domain Name + TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` + // Fully Qualified Domain Name + TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` + UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` + CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + // Specifies the measured uncompensated atmospheric pressure. + BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` + // Indicates value of altitude. + Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // LMF identification. + ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` + LocationPrivacyVerResult LocationPrivacyVerResult `json:"locationPrivacyVerResult,omitempty" yaml:"locationPrivacyVerResult" bson:"locationPrivacyVerResult,omitempty"` + AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` + AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` + HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` +} diff --git a/models/models/model_provisioned_data_sets.go b/models/models/model_provisioned_data_sets.go new file mode 100644 index 00000000..f569e2a2 --- /dev/null +++ b/models/models/model_provisioned_data_sets.go @@ -0,0 +1,33 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the provisioned data sets. +type ProvisionedDataSets struct { + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + LcsBcaData *LcsBroadcastAssistanceTypesData `json:"lcsBcaData,omitempty" yaml:"lcsBcaData" bson:"lcsBcaData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + OdbData *OdbData `json:"odbData,omitempty" yaml:"odbData" bson:"odbData,omitempty"` + EeProfileData *EeProfileData `json:"eeProfileData,omitempty" yaml:"eeProfileData" bson:"eeProfileData,omitempty"` + PpProfileData *PpProfileData `json:"ppProfileData,omitempty" yaml:"ppProfileData" bson:"ppProfileData,omitempty"` + NiddAuthData *AuthorizationData `json:"niddAuthData,omitempty" yaml:"niddAuthData" bson:"niddAuthData,omitempty"` + MbsSubscriptionData *MbsSubscriptionData `json:"mbsSubscriptionData,omitempty" yaml:"mbsSubscriptionData" bson:"mbsSubscriptionData,omitempty"` +} diff --git a/models/models/model_ps_cell_information.go b/models/models/model_ps_cell_information.go new file mode 100644 index 00000000..2fc5f31f --- /dev/null +++ b/models/models/model_ps_cell_information.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PsCellInformation struct { + Nrcgi *Ncgi `json:"nrcgi,omitempty" yaml:"nrcgi" bson:"nrcgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` +} diff --git a/models/models/model_ps_location.go b/models/models/model_ps_location.go new file mode 100644 index 00000000..98bb51d6 --- /dev/null +++ b/models/models/model_ps_location.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location data in PS domain +type PsLocation struct { + SgsnLocationData *SgsnLocationData `json:"sgsnLocationData,omitempty" yaml:"sgsnLocationData" bson:"sgsnLocationData,omitempty"` + MmeLocationData *MmeLocationData `json:"mmeLocationData,omitempty" yaml:"mmeLocationData" bson:"mmeLocationData,omitempty"` + AmfLocationData *AmfLocationData `json:"amfLocationData,omitempty" yaml:"amfLocationData" bson:"amfLocationData,omitempty"` + TwanLocationData *TwanLocationData `json:"twanLocationData,omitempty" yaml:"twanLocationData" bson:"twanLocationData,omitempty"` +} diff --git a/models/models/model_ps_user_state.go b/models/models/model_ps_user_state.go new file mode 100644 index 00000000..658d1a60 --- /dev/null +++ b/models/models/model_ps_user_state.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User state in PS domain +type PsUserState struct { + SgsnUserState UserStatePs `json:"sgsnUserState,omitempty" yaml:"sgsnUserState" bson:"sgsnUserState,omitempty"` + MmeUserState UserStatePs `json:"mmeUserState,omitempty" yaml:"mmeUserState" bson:"mmeUserState,omitempty"` + AmfUserState UserStatePs `json:"amfUserState,omitempty" yaml:"amfUserState" bson:"amfUserState,omitempty"` +} diff --git a/models/models/model_psa_indication.go b/models/models/model_psa_indication.go new file mode 100644 index 00000000..55982c56 --- /dev/null +++ b/models/models/model_psa_indication.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PsaIndication string + +// List of PsaIndication +const ( + PsaIndication_INSERTED PsaIndication = "PSA_INSERTED" + PsaIndication_REMOVED PsaIndication = "PSA_REMOVED" + PsaIndication_INSERTED_ONLY PsaIndication = "PSA_INSERTED_ONLY" + PsaIndication_REMOVED_ONLY PsaIndication = "PSA_REMOVED_ONLY" +) diff --git a/models/models/model_psa_information.go b/models/models/model_psa_information.go new file mode 100644 index 00000000..aa5ba727 --- /dev/null +++ b/models/models/model_psa_information.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// PSA Information +type PsaInformation struct { + PsaInd PsaIndication `json:"psaInd,omitempty" yaml:"psaInd" bson:"psaInd,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` +} diff --git a/models/models/model_psi_activation_state.go b/models/models/model_psi_activation_state.go new file mode 100644 index 00000000..57ed1a35 --- /dev/null +++ b/models/models/model_psi_activation_state.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Public Service Identity activation state +type PsiActivationState struct { + ActivationState ActivationState `json:"activationState" yaml:"activationState" bson:"activationState,omitempty"` +} diff --git a/models/models/model_ptw_parameters.go b/models/models/model_ptw_parameters.go new file mode 100644 index 00000000..e31f0abb --- /dev/null +++ b/models/models/model_ptw_parameters.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PtwParameters struct { + OperationMode OperationMode `json:"operationMode" yaml:"operationMode" bson:"operationMode,omitempty"` + PtwValue string `json:"ptwValue" yaml:"ptwValue" bson:"ptwValue,omitempty"` + ExtendedPtwValue string `json:"extendedPtwValue,omitempty" yaml:"extendedPtwValue" bson:"extendedPtwValue,omitempty"` +} diff --git a/models/models/model_public_identifier.go b/models/models/model_public_identifier.go new file mode 100644 index 00000000..0e2c314b --- /dev/null +++ b/models/models/model_public_identifier.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Distinct or wildcarded public identity and its associated priority, trace and barring information +type PublicIdentifier struct { + PublicIdentity *PublicIdentity `json:"publicIdentity" yaml:"publicIdentity" bson:"publicIdentity,omitempty"` + DisplayName string `json:"displayName,omitempty" yaml:"displayName" bson:"displayName,omitempty"` + ImsServicePriority *PriorityLevels `json:"imsServicePriority,omitempty" yaml:"imsServicePriority" bson:"imsServicePriority,omitempty"` + ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` + BarringIndicator bool `json:"barringIndicator,omitempty" yaml:"barringIndicator" bson:"barringIndicator,omitempty"` + WildcardedImpu string `json:"wildcardedImpu,omitempty" yaml:"wildcardedImpu" bson:"wildcardedImpu,omitempty"` +} diff --git a/models/models/model_public_identities.go b/models/models/model_public_identities.go new file mode 100644 index 00000000..871b7a31 --- /dev/null +++ b/models/models/model_public_identities.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Public Identities which belong to the same Implicit Registration Set (if any) as the requested IMS Public Identity +type PublicIdentities struct { + PublicIdentities []PublicIdentity `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` +} diff --git a/models/models/model_public_identity.go b/models/models/model_public_identity.go new file mode 100644 index 00000000..37dfa9e7 --- /dev/null +++ b/models/models/model_public_identity.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Public Identity and related data (Alias Group Id, IRS default indication, Identity Type) +type PublicIdentity struct { + // String containing an IMS Public Identity in SIP URI format or TEL URI format + ImsPublicId string `json:"imsPublicId" yaml:"imsPublicId" bson:"imsPublicId,omitempty"` + IdentityType IdentityType `json:"identityType" yaml:"identityType" bson:"identityType,omitempty"` + IrsIsDefault bool `json:"irsIsDefault,omitempty" yaml:"irsIsDefault" bson:"irsIsDefault,omitempty"` + AliasGroupId string `json:"aliasGroupId,omitempty" yaml:"aliasGroupId" bson:"aliasGroupId,omitempty"` +} diff --git a/models/models/model_pws_error_data.go b/models/models/model_pws_error_data.go new file mode 100644 index 00000000..9426cb2f --- /dev/null +++ b/models/models/model_pws_error_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data related to PWS error included in a N2 Information Transfer failure response +type PwsErrorData struct { + NamfCause int32 `json:"namfCause" yaml:"namfCause" bson:"namfCause,omitempty"` +} diff --git a/models/models/model_pws_information.go b/models/models/model_pws_information.go new file mode 100644 index 00000000..2aa3d3ab --- /dev/null +++ b/models/models/model_pws_information.go @@ -0,0 +1,28 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a PWS related information data part +type PwsInformation struct { + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` + PwsContainer *N2InfoContent `json:"pwsContainer" yaml:"pwsContainer" bson:"pwsContainer,omitempty"` + BcEmptyAreaList []GlobalRanNodeId `json:"bcEmptyAreaList,omitempty" yaml:"bcEmptyAreaList" bson:"bcEmptyAreaList,omitempty"` + SendRanResponse bool `json:"sendRanResponse,omitempty" yaml:"sendRanResponse" bson:"sendRanResponse,omitempty"` + // Represents the OMC Identifier + OmcId string `json:"omcId,omitempty" yaml:"omcId" bson:"omcId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` +} diff --git a/models/models/model_pws_response_data.go b/models/models/model_pws_response_data.go new file mode 100644 index 00000000..1a563952 --- /dev/null +++ b/models/models/model_pws_response_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data related PWS included in a N2 Information Transfer response +type PwsResponseData struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NgapMessageType int32 `json:"ngapMessageType" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. + SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` + MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` + UnknownTaiList []Tai `json:"unknownTaiList,omitempty" yaml:"unknownTaiList" bson:"unknownTaiList,omitempty"` +} diff --git a/models/models/model_qos_characteristics.go b/models/models/model_qos_characteristics.go new file mode 100644 index 00000000..0053e81f --- /dev/null +++ b/models/models/model_qos_characteristics.go @@ -0,0 +1,32 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains QoS characteristics for a non-standardized or a non-configured 5QI. +type QosCharacteristics struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` + // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AveragingWindow int32 `json:"averagingWindow,omitempty" yaml:"averagingWindow" bson:"averagingWindow,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` +} diff --git a/models/models/model_qos_data.go b/models/models/model_qos_data.go new file mode 100644 index 00000000..8102b7b0 --- /dev/null +++ b/models/models/model_qos_data.go @@ -0,0 +1,56 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the QoS parameters. +type QosData struct { + // Univocally identifies the QoS control policy data within a PDU session. + QosId string `json:"qosId" yaml:"qosId" bson:"qosId,omitempty"` + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + // Indicates whether notifications are requested from 3GPP NG-RAN when the GFBR can no longer (or again) be guaranteed for a QoS Flow during the lifetime of the QoS Flow. + Qnc bool `json:"qnc,omitempty" yaml:"qnc" bson:"qnc,omitempty"` + // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` + // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. + AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` + // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` + // Indicates whether the QoS information is reflective for the corresponding service data flow. + ReflectiveQos bool `json:"reflectiveQos,omitempty" yaml:"reflectiveQos" bson:"reflectiveQos,omitempty"` + // Indicates, by containing the same value, what PCC rules may share resource in downlink direction. + SharingKeyDl string `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` + // Indicates, by containing the same value, what PCC rules may share resource in uplink direction. + SharingKeyUl string `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + // Indicates that the dynamic PCC rule shall always have its binding with the QoS Flow associated with the default QoS rule + DefQosFlowIndication bool `json:"defQosFlowIndication,omitempty" yaml:"defQosFlowIndication" bson:"defQosFlowIndication,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + PacketErrorRate string `json:"packetErrorRate,omitempty" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` +} diff --git a/models/models/model_qos_flow_access_type.go b/models/models/model_qos_flow_access_type.go new file mode 100644 index 00000000..c1c65928 --- /dev/null +++ b/models/models/model_qos_flow_access_type.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosFlowAccessType string + +// List of QosFlowAccessType +const ( + QosFlowAccessType__3_GPP QosFlowAccessType = "3GPP" + QosFlowAccessType_NON_3_GPP QosFlowAccessType = "NON_3GPP" + QosFlowAccessType__3_GPP_AND_NON_3_GPP QosFlowAccessType = "3GPP_AND_NON_3GPP" +) diff --git a/models/models/model_qos_flow_item.go b/models/models/model_qos_flow_item.go new file mode 100644 index 00000000..8e15a112 --- /dev/null +++ b/models/models/model_qos_flow_item.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual QoS flow +type QosFlowItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` + NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` +} diff --git a/models/models/model_qos_flow_notify_item.go b/models/models/model_qos_flow_notify_item.go new file mode 100644 index 00000000..cc85620f --- /dev/null +++ b/models/models/model_qos_flow_notify_item.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Notification related to a QoS flow +type QosFlowNotifyItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` + CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` + NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` +} diff --git a/models/models/model_qos_flow_release_request_item.go b/models/models/model_qos_flow_release_request_item.go new file mode 100644 index 00000000..18d7addf --- /dev/null +++ b/models/models/model_qos_flow_release_request_item.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual QoS flow requested to be released +type QosFlowReleaseRequestItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` +} diff --git a/models/models/model_qos_flow_setup_item.go b/models/models/model_qos_flow_setup_item.go new file mode 100644 index 00000000..0a0de06d --- /dev/null +++ b/models/models/model_qos_flow_setup_item.go @@ -0,0 +1,28 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual QoS flow to setup +type QosFlowSetupItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules" yaml:"qosRules" bson:"qosRules,omitempty"` + // EPS Bearer Identifier + Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` + QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` + AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` + DefaultQosRuleInd bool `json:"defaultQosRuleInd,omitempty" yaml:"defaultQosRuleInd" bson:"defaultQosRuleInd,omitempty"` +} diff --git a/models/models/model_qos_flow_tunnel.go b/models/models/model_qos_flow_tunnel.go new file mode 100644 index 00000000..3479c5df --- /dev/null +++ b/models/models/model_qos_flow_tunnel.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Tunnel Information per QoS Flow +type QosFlowTunnel struct { + QfiList []int32 `json:"qfiList" yaml:"qfiList" bson:"qfiList,omitempty"` + TunnelInfo *TunnelInfo `json:"tunnelInfo" yaml:"tunnelInfo" bson:"tunnelInfo,omitempty"` +} diff --git a/models/models/model_qos_flow_usage.go b/models/models/model_qos_flow_usage.go new file mode 100644 index 00000000..b5984aff --- /dev/null +++ b/models/models/model_qos_flow_usage.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosFlowUsage string + +// List of QosFlowUsage +const ( + QosFlowUsage_GENERAL QosFlowUsage = "GENERAL" + QosFlowUsage_IMS_SIG QosFlowUsage = "IMS_SIG" +) diff --git a/models/models/model_qos_flow_usage_report.go b/models/models/model_qos_flow_usage_report.go new file mode 100644 index 00000000..9905f800 --- /dev/null +++ b/models/models/model_qos_flow_usage_report.go @@ -0,0 +1,31 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains QoS flows usage data information. +type QosFlowUsageReport struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` + // string with format 'int64' as defined in OpenAPI. + DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // string with format 'int64' as defined in OpenAPI. + UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/models/model_qos_flows_usage_report.go b/models/models/model_qos_flows_usage_report.go new file mode 100644 index 00000000..64ef3b37 --- /dev/null +++ b/models/models/model_qos_flows_usage_report.go @@ -0,0 +1,30 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type QosFlowsUsageReport struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTimestamp *time.Time `json:"startTimestamp,omitempty" yaml:"startTimestamp" bson:"startTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimestamp *time.Time `json:"endTimestamp,omitempty" yaml:"endTimestamp" bson:"endTimestamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` +} diff --git a/models/models/model_qos_monitoring_data.go b/models/models/model_qos_monitoring_data.go new file mode 100644 index 00000000..87518147 --- /dev/null +++ b/models/models/model_qos_monitoring_data.go @@ -0,0 +1,37 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains QoS monitoring related control information. +type QosMonitoringData struct { + // Univocally identifies the QoS monitoring policy data within a PDU session. + QmId string `json:"qmId" yaml:"qmId" bson:"qmId,omitempty"` + // indicates the UL packet delay, DL packet delay and/or round trip packet delay between the UE and the UPF is to be monitored when the QoS Monitoring for URLLC is enabled for the service data flow. + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Indicates the period of time in units of miliiseconds for DL packet delay. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Indicates the period of time in units of miliiseconds for UL packet delay. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Indicates the period of time in units of miliiseconds for round trip packet delay. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // String providing an URI formatted according to RFC 3986 with the OpenAPI 'nullable: true' property. + NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` + NotifyCorreId string `json:"notifyCorreId,omitempty" yaml:"notifyCorreId" bson:"notifyCorreId,omitempty"` + // Indicates that the direct event notification sent by UPF to the Local NEF or AF is requested if it is included and set to true. + DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` +} diff --git a/models/models/model_qos_monitoring_info.go b/models/models/model_qos_monitoring_info.go new file mode 100644 index 00000000..b259aad0 --- /dev/null +++ b/models/models/model_qos_monitoring_info.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS Monitoring Information +type QosMonitoringInfo struct { + QosMonitoringInd bool `json:"qosMonitoringInd,omitempty" yaml:"qosMonitoringInd" bson:"qosMonitoringInd,omitempty"` +} diff --git a/models/models/model_qos_monitoring_information.go b/models/models/model_qos_monitoring_information.go new file mode 100644 index 00000000..484b4f91 --- /dev/null +++ b/models/models/model_qos_monitoring_information.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents QoS monitoring information. +type QosMonitoringInformation struct { + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // Unsigned integer identifying a period of time in units of seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/models/model_qos_monitoring_information_rm.go b/models/models/model_qos_monitoring_information_rm.go new file mode 100644 index 00000000..fddb7158 --- /dev/null +++ b/models/models/model_qos_monitoring_information_rm.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the same as the QosMonitoringInformation data type but with the nullable:true property. +type QosMonitoringInformationRm struct { + ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` + RepFreqs []ReportingFrequency `json:"repFreqs,omitempty" yaml:"repFreqs" bson:"repFreqs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` +} diff --git a/models/models/model_qos_monitoring_report.go b/models/models/model_qos_monitoring_report.go new file mode 100644 index 00000000..92e49022 --- /dev/null +++ b/models/models/model_qos_monitoring_report.go @@ -0,0 +1,22 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a QoS monitoring report. +type QosMonitoringReport struct { + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` +} diff --git a/models/models/model_qos_monitoring_req.go b/models/models/model_qos_monitoring_req.go new file mode 100644 index 00000000..45c483e7 --- /dev/null +++ b/models/models/model_qos_monitoring_req.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosMonitoringReq string + +// List of QosMonitoringReq +const ( + QosMonitoringReq_UL QosMonitoringReq = "UL" + QosMonitoringReq_DL QosMonitoringReq = "DL" + QosMonitoringReq_BOTH QosMonitoringReq = "BOTH" + QosMonitoringReq_NONE QosMonitoringReq = "NONE" +) diff --git a/models/models/model_qos_notif_type.go b/models/models/model_qos_notif_type.go new file mode 100644 index 00000000..65dcf34a --- /dev/null +++ b/models/models/model_qos_notif_type.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosNotifType string + +// List of QosNotifType +const ( + QosNotifType_GUARANTEED QosNotifType = "GUARANTEED" + QosNotifType_NOT_GUARANTEED QosNotifType = "NOT_GUARANTEED" +) diff --git a/models/models/model_qos_requirement.go b/models/models/model_qos_requirement.go new file mode 100644 index 00000000..744654ab --- /dev/null +++ b/models/models/model_qos_requirement.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the QoS requirements. +type QosRequirement struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GfbrUl string `json:"gfbrUl,omitempty" yaml:"gfbrUl" bson:"gfbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GfbrDl string `json:"gfbrDl,omitempty" yaml:"gfbrDl" bson:"gfbrDl,omitempty"` + ResType QosResourceType `json:"resType,omitempty" yaml:"resType" bson:"resType,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` + // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. + Per string `json:"per,omitempty" yaml:"per" bson:"per,omitempty"` +} diff --git a/models/models/model_qos_resource_type.go b/models/models/model_qos_resource_type.go new file mode 100644 index 00000000..496278d2 --- /dev/null +++ b/models/models/model_qos_resource_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QosResourceType string + +// List of QosResourceType +const ( + QosResourceType_NON_GBR QosResourceType = "NON_GBR" + QosResourceType_NON_CRITICAL_GBR QosResourceType = "NON_CRITICAL_GBR" + QosResourceType_CRITICAL_GBR QosResourceType = "CRITICAL_GBR" +) diff --git a/models/models/model_qos_sustainability_info.go b/models/models/model_qos_sustainability_info.go new file mode 100644 index 00000000..073031fa --- /dev/null +++ b/models/models/model_qos_sustainability_info.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the QoS Sustainability information. +type QosSustainabilityInfo struct { + AreaInfo *NetworkAreaInfo `json:"areaInfo,omitempty" yaml:"areaInfo" bson:"areaInfo,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` + QosFlowRetThd *RetainabilityThreshold `json:"qosFlowRetThd,omitempty" yaml:"qosFlowRetThd" bson:"qosFlowRetThd,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RanUeThrouThd string `json:"ranUeThrouThd,omitempty" yaml:"ranUeThrouThd" bson:"ranUeThrouThd,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_query_param_combination.go b/models/models/model_query_param_combination.go new file mode 100644 index 00000000..d74ff698 --- /dev/null +++ b/models/models/model_query_param_combination.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a list of Query Parameters +type QueryParamCombination struct { + QueryParams []QueryParameter `json:"queryParams" yaml:"queryParams" bson:"queryParams,omitempty"` +} diff --git a/models/models/model_query_parameter.go b/models/models/model_query_parameter.go new file mode 100644 index 00000000..e160311f --- /dev/null +++ b/models/models/model_query_parameter.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the name and value of a query parameter +type QueryParameter struct { + Name string `json:"name" yaml:"name" bson:"name,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/models/model_quota_consumption_indicator.go b/models/models/model_quota_consumption_indicator.go new file mode 100644 index 00000000..c85ee0fb --- /dev/null +++ b/models/models/model_quota_consumption_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QuotaConsumptionIndicator string + +// List of QuotaConsumptionIndicator +const ( + QuotaConsumptionIndicator_NOT_USED QuotaConsumptionIndicator = "QUOTA_NOT_USED" + QuotaConsumptionIndicator_IS_USED QuotaConsumptionIndicator = "QUOTA_IS_USED" +) diff --git a/models/models/model_quota_management_indicator.go b/models/models/model_quota_management_indicator.go new file mode 100644 index 00000000..643dfc4c --- /dev/null +++ b/models/models/model_quota_management_indicator.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type QuotaManagementIndicator string + +// List of QuotaManagementIndicator +const ( + QuotaManagementIndicator_ONLINE_CHARGING QuotaManagementIndicator = "ONLINE_CHARGING" + QuotaManagementIndicator_OFFLINE_CHARGING QuotaManagementIndicator = "OFFLINE_CHARGING" + QuotaManagementIndicator_QUOTA_MANAGEMENT_SUSPENDED QuotaManagementIndicator = "QUOTA_MANAGEMENT_SUSPENDED" +) diff --git a/models/models/model_radio_parameter_set_info.go b/models/models/model_radio_parameter_set_info.go new file mode 100644 index 00000000..8d29172e --- /dev/null +++ b/models/models/model_radio_parameter_set_info.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type RadioParameterSetInfo struct { + RadioParameterSetValues []string `json:"radioParameterSetValues,omitempty" yaml:"radioParameterSetValues" bson:"radioParameterSetValues,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTimestamp *time.Time `json:"changeTimestamp,omitempty" yaml:"changeTimestamp" bson:"changeTimestamp,omitempty"` +} diff --git a/models/models/model_radio_resources_id.go b/models/models/model_radio_resources_id.go new file mode 100644 index 00000000..d10d0108 --- /dev/null +++ b/models/models/model_radio_resources_id.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RadioResourcesId string + +// List of RadioResourcesId +const ( + RadioResourcesId_OPERATOR_PROVIDED RadioResourcesId = "OPERATOR_PROVIDED" + RadioResourcesId_CONFIGURED RadioResourcesId = "CONFIGURED" +) diff --git a/models/models/model_ran_nas_rel_cause.go b/models/models/model_ran_nas_rel_cause.go new file mode 100644 index 00000000..76620c78 --- /dev/null +++ b/models/models/model_ran_nas_rel_cause.go @@ -0,0 +1,24 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the RAN/NAS release cause. +type RanNasRelCause struct { + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCause int32 `json:"5gMmCause,omitempty" yaml:"5gMmCause" bson:"5gMmCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gSmCause int32 `json:"5gSmCause,omitempty" yaml:"5gSmCause" bson:"5gSmCause,omitempty"` + // Defines the EPS RAN/NAS release cause. + EpsCause string `json:"epsCause,omitempty" yaml:"epsCause" bson:"epsCause,omitempty"` +} diff --git a/models/models/model_ran_secondary_rat_usage_report.go b/models/models/model_ran_secondary_rat_usage_report.go new file mode 100644 index 00000000..68d9bb7c --- /dev/null +++ b/models/models/model_ran_secondary_rat_usage_report.go @@ -0,0 +1,18 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RanSecondaryRatUsageReport struct { + RANSecondaryRATType RatType `json:"rANSecondaryRATType,omitempty" yaml:"rANSecondaryRATType" bson:"rANSecondaryRATType,omitempty"` + QosFlowsUsageReports []QosFlowsUsageReport `json:"qosFlowsUsageReports,omitempty" yaml:"qosFlowsUsageReports" bson:"qosFlowsUsageReports,omitempty"` +} diff --git a/models/models/model_range_class.go b/models/models/model_range_class.go new file mode 100644 index 00000000..1a7d8100 --- /dev/null +++ b/models/models/model_range_class.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RangeClass string + +// List of RangeClass +const ( + RangeClass_RESERVED RangeClass = "RESERVED" + RangeClass__50_METER RangeClass = "50_METER" + RangeClass__100_METER RangeClass = "100_METER" + RangeClass__200_METER RangeClass = "200_METER" + RangeClass__500_METER RangeClass = "500_METER" + RangeClass__1000_METER RangeClass = "1000_METER" + RangeClass_UNUSED RangeClass = "UNUSED" +) diff --git a/models/models/model_ranking_criterion.go b/models/models/model_ranking_criterion.go new file mode 100644 index 00000000..9077eb41 --- /dev/null +++ b/models/models/model_ranking_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the usage ranking criterion between the high, medium and low usage UE. +type RankingCriterion struct { + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + HighBase int32 `json:"highBase" yaml:"highBase" bson:"highBase,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + LowBase int32 `json:"lowBase" yaml:"lowBase" bson:"lowBase,omitempty"` +} diff --git a/models/models/model_rat_freq_information.go b/models/models/model_rat_freq_information.go new file mode 100644 index 00000000..69c38de6 --- /dev/null +++ b/models/models/model_rat_freq_information.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the RAT type and/or Frequency information. +type RatFreqInformation struct { + // Set to \"true\" to indicate to handle all the frequencies the NWDAF received, otherwise set to \"false\" or omit. The \"allFreq\" attribute and the \"freq\" attribute are mutually exclusive. + AllFreq bool `json:"allFreq,omitempty" yaml:"allFreq" bson:"allFreq,omitempty"` + // Set to \"true\" to indicate to handle all the RAT Types the NWDAF received, otherwise set to \"false\" or omit. The \"allRat\" attribute and the \"ratType\" attribute are mutually exclusive. + AllRat bool `json:"allRat,omitempty" yaml:"allRat" bson:"allRat,omitempty"` + // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. + Freq int32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + SvcExpThreshold *ThresholdLevel `json:"svcExpThreshold,omitempty" yaml:"svcExpThreshold" bson:"svcExpThreshold,omitempty"` + MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` +} diff --git a/models/models/model_rat_selector.go b/models/models/model_rat_selector.go new file mode 100644 index 00000000..aaac4395 --- /dev/null +++ b/models/models/model_rat_selector.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RatSelector string + +// List of RatSelector +const ( + RatSelector_E_UTRA RatSelector = "E-UTRA" + RatSelector_NR RatSelector = "NR" +) diff --git a/models/models/model_rat_type.go b/models/models/model_rat_type.go new file mode 100644 index 00000000..47dc518f --- /dev/null +++ b/models/models/model_rat_type.go @@ -0,0 +1,51 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RatType string + +// List of RatType +const ( + RatType_NR RatType = "NR" + RatType_EUTRA RatType = "EUTRA" + RatType_WLAN RatType = "WLAN" + RatType_VIRTUAL RatType = "VIRTUAL" + RatType_NBIOT RatType = "NBIOT" + RatType_WIRELINE RatType = "WIRELINE" + RatType_WIRELINE_CABLE RatType = "WIRELINE_CABLE" + RatType_WIRELINE_BBF RatType = "WIRELINE_BBF" + RatType_LTE_M RatType = "LTE-M" + RatType_NR_U RatType = "NR_U" + RatType_EUTRA_U RatType = "EUTRA_U" + RatType_TRUSTED_N3_GA RatType = "TRUSTED_N3GA" + RatType_TRUSTED_WLAN RatType = "TRUSTED_WLAN" + RatType_UTRA RatType = "UTRA" + RatType_GERA RatType = "GERA" + RatType_NR_LEO RatType = "NR_LEO" + RatType_NR_MEO RatType = "NR_MEO" + RatType_NR_GEO RatType = "NR_GEO" + RatType_NR_OTHER_SAT RatType = "NR_OTHER_SAT" + RatType_NR_REDCAP RatType = "NR_REDCAP" + RatType_WB_E_UTRAN_LEO RatType = "WB_E_UTRAN_LEO" + RatType_WB_E_UTRAN_MEO RatType = "WB_E_UTRAN_MEO" + RatType_WB_E_UTRAN_GEO RatType = "WB_E_UTRAN_GEO" + RatType_WB_E_UTRAN_OTHERSAT RatType = "WB_E_UTRAN_OTHERSAT" + RatType_NB_IOT_LEO RatType = "NB_IOT_LEO" + RatType_NB_IOT_MEO RatType = "NB_IOT_MEO" + RatType_NB_IOT_GEO RatType = "NB_IOT_GEO" + RatType_NB_IOT_OTHERSAT RatType = "NB_IOT_OTHERSAT" + RatType_LTE_M_LEO RatType = "LTE_M_LEO" + RatType_LTE_M_MEO RatType = "LTE_M_MEO" + RatType_LTE_M_GEO RatType = "LTE_M_GEO" + RatType_LTE_M_OTHERSAT RatType = "LTE_M_OTHERSAT" +) diff --git a/models/models/model_reachability_filter.go b/models/models/model_reachability_filter.go new file mode 100644 index 00000000..99353f70 --- /dev/null +++ b/models/models/model_reachability_filter.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityFilter string + +// List of ReachabilityFilter +const ( + ReachabilityFilter_REACHABILITY_STATUS_CHANGE ReachabilityFilter = "UE_REACHABILITY_STATUS_CHANGE" + ReachabilityFilter_REACHABLE_DL_TRAFFIC ReachabilityFilter = "UE_REACHABLE_DL_TRAFFIC" +) diff --git a/models/models/model_reachability_for_data_report_config.go b/models/models/model_reachability_for_data_report_config.go new file mode 100644 index 00000000..1e760b56 --- /dev/null +++ b/models/models/model_reachability_for_data_report_config.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityForDataReportConfig string + +// List of ReachabilityForDataReportConfig +const ( + ReachabilityForDataReportConfig_DIRECT_REPORT ReachabilityForDataReportConfig = "DIRECT_REPORT" + ReachabilityForDataReportConfig_INDIRECT_REPORT ReachabilityForDataReportConfig = "INDIRECT_REPORT" +) diff --git a/models/models/model_reachability_for_sms_configuration.go b/models/models/model_reachability_for_sms_configuration.go new file mode 100644 index 00000000..e70b4b93 --- /dev/null +++ b/models/models/model_reachability_for_sms_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReachabilityForSmsConfiguration string + +// List of ReachabilityForSmsConfiguration +const ( + ReachabilityForSmsConfiguration_NAS ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_NAS" + ReachabilityForSmsConfiguration_IP ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_IP" +) diff --git a/models/models/model_reachability_notification_data.go b/models/models/model_reachability_notification_data.go new file mode 100644 index 00000000..057c28aa --- /dev/null +++ b/models/models/model_reachability_notification_data.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within the UE Reachability Info Notify +type ReachabilityNotificationData struct { + ReachableUeList []ReachableUeInfo `json:"reachableUeList,omitempty" yaml:"reachableUeList" bson:"reachableUeList,omitempty"` + UnreachableUeList []string `json:"unreachableUeList,omitempty" yaml:"unreachableUeList" bson:"unreachableUeList,omitempty"` +} diff --git a/models/models/model_reachability_report.go b/models/models/model_reachability_report.go new file mode 100644 index 00000000..7733b98f --- /dev/null +++ b/models/models/model_reachability_report.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ReachabilityReport struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` + IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` +} diff --git a/models/models/model_reachable_ue_info.go b/models/models/model_reachable_ue_info.go new file mode 100644 index 00000000..feb96e7d --- /dev/null +++ b/models/models/model_reachable_ue_info.go @@ -0,0 +1,19 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the reachable UE Information +type ReachableUeInfo struct { + UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` + UserLocation *UserLocation `json:"userLocation,omitempty" yaml:"userLocation" bson:"userLocation,omitempty"` +} diff --git a/models/models/model_reauthorization_details.go b/models/models/model_reauthorization_details.go new file mode 100644 index 00000000..f9144809 --- /dev/null +++ b/models/models/model_reauthorization_details.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReauthorizationDetails struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` + QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` +} diff --git a/models/models/model_recipient_address.go b/models/models/model_recipient_address.go new file mode 100644 index 00000000..3082877e --- /dev/null +++ b/models/models/model_recipient_address.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RecipientAddress struct { + RecipientAddressInfo *SmAddressInfo `json:"recipientAddressInfo,omitempty" yaml:"recipientAddressInfo" bson:"recipientAddressInfo,omitempty"` + SMaddresseeType SmAddresseeType `json:"sMaddresseeType,omitempty" yaml:"sMaddresseeType" bson:"sMaddresseeType,omitempty"` +} diff --git a/models/models/model_recipient_info.go b/models/models/model_recipient_info.go new file mode 100644 index 00000000..5f38ff2f --- /dev/null +++ b/models/models/model_recipient_info.go @@ -0,0 +1,25 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RecipientInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + RecipientSUPI string `json:"recipientSUPI,omitempty" yaml:"recipientSUPI" bson:"recipientSUPI,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + RecipientGPSI string `json:"recipientGPSI,omitempty" yaml:"recipientGPSI" bson:"recipientGPSI,omitempty"` + RecipientOtherAddress *SmAddressInfo `json:"recipientOtherAddress,omitempty" yaml:"recipientOtherAddress" bson:"recipientOtherAddress,omitempty"` + RecipientReceivedAddress *SmAddressInfo `json:"recipientReceivedAddress,omitempty" yaml:"recipientReceivedAddress" bson:"recipientReceivedAddress,omitempty"` + RecipientSCCPAddress string `json:"recipientSCCPAddress,omitempty" yaml:"recipientSCCPAddress" bson:"recipientSCCPAddress,omitempty"` + SMDestinationInterface *SmInterface `json:"sMDestinationInterface,omitempty" yaml:"sMDestinationInterface" bson:"sMDestinationInterface,omitempty"` + SMrecipientProtocolId string `json:"sMrecipientProtocolId,omitempty" yaml:"sMrecipientProtocolId" bson:"sMrecipientProtocolId,omitempty"` +} diff --git a/models/models/model_record.go b/models/models/model_record.go new file mode 100644 index 00000000..04ef0c20 --- /dev/null +++ b/models/models/model_record.go @@ -0,0 +1,20 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Definition of a Record +type Record struct { + Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` + // list of opaque Block's in this Record + Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` +} diff --git a/models/models/model_record_id_list.go b/models/models/model_record_id_list.go new file mode 100644 index 00000000..938ca066 --- /dev/null +++ b/models/models/model_record_id_list.go @@ -0,0 +1,18 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Record IDs +type RecordIdList struct { + RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` +} diff --git a/models/models/model_record_meta.go b/models/models/model_record_meta.go new file mode 100644 index 00000000..002fe1a2 --- /dev/null +++ b/models/models/model_record_meta.go @@ -0,0 +1,27 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Meta data of a Record +type RecordMeta struct { + // string with format 'date-time' as defined in OpenAPI. + Ttl *time.Time `json:"ttl,omitempty" yaml:"ttl" bson:"ttl,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A dictionary of {\"tagName\": [ \"tagValue\", ...] }. A tag name can be used to retrieve a Record. The tagValue are unique. + Tags map[string][]string `json:"tags,omitempty" yaml:"tags" bson:"tags,omitempty"` +} diff --git a/models/models/model_record_notification.go b/models/models/model_record_notification.go new file mode 100644 index 00000000..e1b119ee --- /dev/null +++ b/models/models/model_record_notification.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Definition of a notification on a record +type RecordNotification struct { + Descriptor *NotificationDescription `json:"descriptor" yaml:"descriptor" bson:"descriptor,omitempty"` + Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` + // list of opaque Block's in this Record + Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` +} diff --git a/models/models/model_record_operation.go b/models/models/model_record_operation.go new file mode 100644 index 00000000..275ccd57 --- /dev/null +++ b/models/models/model_record_operation.go @@ -0,0 +1,22 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RecordOperation string + +// List of RecordOperation +const ( + RecordOperation_CREATED RecordOperation = "CREATED" + RecordOperation_UPDATED RecordOperation = "UPDATED" + RecordOperation_DELETED RecordOperation = "DELETED" +) diff --git a/models/models/model_record_search_result.go b/models/models/model_record_search_result.go new file mode 100644 index 00000000..7858a95a --- /dev/null +++ b/models/models/model_record_search_result.go @@ -0,0 +1,24 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Count and collection of Record references matching the providing filter. +type RecordSearchResult struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Count int32 `json:"count" yaml:"count" bson:"count,omitempty"` + References []string `json:"references,omitempty" yaml:"references" bson:"references,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map (list of key-value pairs where recordId serves as key) of Records + MatchingRecords map[string]Record `json:"matchingRecords,omitempty" yaml:"matchingRecords" bson:"matchingRecords,omitempty"` +} diff --git a/models/models/model_red_trans_exp_ordering_criterion.go b/models/models/model_red_trans_exp_ordering_criterion.go new file mode 100644 index 00000000..342fcda9 --- /dev/null +++ b/models/models/model_red_trans_exp_ordering_criterion.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RedTransExpOrderingCriterion string + +// List of RedTransExpOrderingCriterion +const ( + RedTransExpOrderingCriterion_TIME_SLOT_START RedTransExpOrderingCriterion = "TIME_SLOT_START" + RedTransExpOrderingCriterion_RED_TRANS_EXP RedTransExpOrderingCriterion = "RED_TRANS_EXP" +) diff --git a/models/models/model_redirect_information.go b/models/models/model_redirect_information.go new file mode 100644 index 00000000..c8ed0eaa --- /dev/null +++ b/models/models/model_redirect_information.go @@ -0,0 +1,22 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the redirect information. +type RedirectInformation struct { + // Indicates the redirect is enable. + RedirectEnabled bool `json:"redirectEnabled,omitempty" yaml:"redirectEnabled" bson:"redirectEnabled,omitempty"` + RedirectAddressType PcfSmPolicyControlRedirectAddressType `json:"redirectAddressType,omitempty" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` + // Indicates the address of the redirect server. If \"redirectAddressType\" attribute indicates the IPV4_ADDR, the encoding is the same as the Ipv4Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the IPV6_ADDR, the encoding is the same as the Ipv6Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the URL or SIP_URI, the encoding is the same as the Uri data type defined in 3GPP TS 29.571. + RedirectServerAddress string `json:"redirectServerAddress,omitempty" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` +} diff --git a/models/models/model_redirect_response.go b/models/models/model_redirect_response.go new file mode 100644 index 00000000..faac7441 --- /dev/null +++ b/models/models/model_redirect_response.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The response shall include a Location header field containing a different URI (pointing to a different URI of an other service instance), or the same URI if a request is redirected to the same target resource via a different SCP. +type RedirectResponse struct { + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + // String providing an URI formatted according to RFC 3986. + TargetScp string `json:"targetScp,omitempty" yaml:"targetScp" bson:"targetScp,omitempty"` + // String providing an URI formatted according to RFC 3986. + TargetSepp string `json:"targetSepp,omitempty" yaml:"targetSepp" bson:"targetSepp,omitempty"` +} diff --git a/models/models/model_redirect_server.go b/models/models/model_redirect_server.go new file mode 100644 index 00000000..724c2445 --- /dev/null +++ b/models/models/model_redirect_server.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RedirectServer struct { + RedirectAddressType ChfConvergedChargingRedirectAddressType `json:"redirectAddressType" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` + RedirectServerAddress string `json:"redirectServerAddress" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` +} diff --git a/models/models/model_redundant_pdu_session_information.go b/models/models/model_redundant_pdu_session_information.go new file mode 100644 index 00000000..37bc4064 --- /dev/null +++ b/models/models/model_redundant_pdu_session_information.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Redundant PDU Session Information +type RedundantPduSessionInformation struct { + Rsn Rsn `json:"rsn" yaml:"rsn" bson:"rsn,omitempty"` + PduSessionPairId int32 `json:"pduSessionPairId,omitempty" yaml:"pduSessionPairId" bson:"pduSessionPairId,omitempty"` +} diff --git a/models/models/model_redundant_transmission_exp_info.go b/models/models/model_redundant_transmission_exp_info.go new file mode 100644 index 00000000..72ad79f6 --- /dev/null +++ b/models/models/model_redundant_transmission_exp_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The redundant transmission experience related information. When subscribed event is \"RED_TRANS_EXP\", the \"redTransInfos\" attribute shall be included. +type RedundantTransmissionExpInfo struct { + SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + RedTransExps []RedundantTransmissionExpPerTs `json:"redTransExps" yaml:"redTransExps" bson:"redTransExps,omitempty"` +} diff --git a/models/models/model_redundant_transmission_exp_per_ts.go b/models/models/model_redundant_transmission_exp_per_ts.go new file mode 100644 index 00000000..bef0f415 --- /dev/null +++ b/models/models/model_redundant_transmission_exp_per_ts.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// The redundant transmission experience per Time Slot. +type RedundantTransmissionExpPerTs struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + ObsvRedTransExp *ObservedRedundantTransExp `json:"obsvRedTransExp" yaml:"obsvRedTransExp" bson:"obsvRedTransExp,omitempty"` + // Redundant Transmission Status. Set to \"true\" if redundant transmission was activated, otherwise set to \"false\". Default value is \"false\" if omitted. + RedTransStatus bool `json:"redTransStatus,omitempty" yaml:"redTransStatus" bson:"redTransStatus,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_redundant_transmission_exp_req.go b/models/models/model_redundant_transmission_exp_req.go new file mode 100644 index 00000000..43d1cd54 --- /dev/null +++ b/models/models/model_redundant_transmission_exp_req.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other redundant transmission experience analytics requirements. +type RedundantTransmissionExpReq struct { + RedTOrderCriter RedTransExpOrderingCriterion `json:"redTOrderCriter,omitempty" yaml:"redTOrderCriter" bson:"redTOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/models/model_redundant_transmission_type.go b/models/models/model_redundant_transmission_type.go new file mode 100644 index 00000000..6802c93e --- /dev/null +++ b/models/models/model_redundant_transmission_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RedundantTransmissionType string + +// List of RedundantTransmissionType +const ( + RedundantTransmissionType_NON_TRANSMISSION RedundantTransmissionType = "NON_TRANSMISSION" + RedundantTransmissionType_END_TO_END_USER_PLANE_PATHS RedundantTransmissionType = "END_TO_END_USER_PLANE_PATHS" + RedundantTransmissionType_N3_N9 RedundantTransmissionType = "N3/N9" + RedundantTransmissionType_TRANSPORT_LAYER RedundantTransmissionType = "TRANSPORT_LAYER" +) diff --git a/models/models/model_ref_to_binary_data.go b/models/models/model_ref_to_binary_data.go new file mode 100644 index 00000000..7bfec762 --- /dev/null +++ b/models/models/model_ref_to_binary_data.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This parameter provides information about the referenced binary body data. +type RefToBinaryData struct { + // This IE shall contain the value of the Content-ID header of the referenced binary body part. + ContentId string `json:"contentId" yaml:"contentId" bson:"contentId,omitempty"` +} diff --git a/models/models/model_reference_location_information.go b/models/models/model_reference_location_information.go new file mode 100644 index 00000000..ec31f1ee --- /dev/null +++ b/models/models/model_reference_location_information.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Reference Location Information for the user in fixed access networks +type ReferenceLocationInformation struct { + AccessType string `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + AccessInfo string `json:"accessInfo,omitempty" yaml:"accessInfo" bson:"accessInfo,omitempty"` + AccessValue string `json:"accessValue,omitempty" yaml:"accessValue" bson:"accessValue,omitempty"` +} diff --git a/models/models/model_reflective_qo_s_attribute.go b/models/models/model_reflective_qo_s_attribute.go new file mode 100644 index 00000000..d58cf0f8 --- /dev/null +++ b/models/models/model_reflective_qo_s_attribute.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReflectiveQoSAttribute string + +// List of ReflectiveQoSAttribute +const ( + ReflectiveQoSAttribute_RQOS ReflectiveQoSAttribute = "RQOS" + ReflectiveQoSAttribute_NO_RQOS ReflectiveQoSAttribute = "NO_RQOS" +) diff --git a/models/models/model_registration_charging_information.go b/models/models/model_registration_charging_information.go new file mode 100644 index 00000000..9c972e25 --- /dev/null +++ b/models/models/model_registration_charging_information.go @@ -0,0 +1,36 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationChargingInformation struct { + RegistrationMessagetype RegistrationMessageType `json:"registrationMessagetype" yaml:"registrationMessagetype" bson:"registrationMessagetype,omitempty"` + UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Var5GMMCapability string `json:"5GMMCapability,omitempty" yaml:"5GMMCapability" bson:"5GMMCapability,omitempty"` + MICOModeIndication MicoModeIndication `json:"mICOModeIndication,omitempty" yaml:"mICOModeIndication" bson:"mICOModeIndication,omitempty"` + SmsIndication SmsIndication `json:"smsIndication,omitempty" yaml:"smsIndication" bson:"smsIndication,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RequestedNSSAI []Snssai `json:"requestedNSSAI,omitempty" yaml:"requestedNSSAI" bson:"requestedNSSAI,omitempty"` + AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` + RejectedNSSAI []Snssai `json:"rejectedNSSAI,omitempty" yaml:"rejectedNSSAI" bson:"rejectedNSSAI,omitempty"` + NSSAIMapList []NssaiMap `json:"nSSAIMapList,omitempty" yaml:"nSSAIMapList" bson:"nSSAIMapList,omitempty"` + AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` + RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` +} diff --git a/models/models/model_registration_context_container.go b/models/models/model_registration_context_container.go new file mode 100644 index 00000000..f1d8f6ab --- /dev/null +++ b/models/models/model_registration_context_container.go @@ -0,0 +1,42 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Registration Context Container used to send the UE context information, N1 message from UE, AN address etc during Registration with AMF re-allocation procedure +type RegistrationContextContainer struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + LocalTimeZone string `json:"localTimeZone,omitempty" yaml:"localTimeZone" bson:"localTimeZone,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AnN2ApId int32 `json:"anN2ApId" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` + RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` + // Fully Qualified Domain Name + InitialAmfName string `json:"initialAmfName" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` + UserLocation *UserLocation `json:"userLocation" yaml:"userLocation" bson:"userLocation,omitempty"` + RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` + UeContextRequest bool `json:"ueContextRequest,omitempty" yaml:"ueContextRequest" bson:"ueContextRequest,omitempty"` + InitialAmfN2ApId int32 `json:"initialAmfN2ApId,omitempty" yaml:"initialAmfN2ApId" bson:"initialAmfN2ApId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` + AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` + AllowedNssai *AllowedNssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` + ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` + RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` + RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` + SelectedPlmnId *PlmnId `json:"selectedPlmnId,omitempty" yaml:"selectedPlmnId" bson:"selectedPlmnId,omitempty"` + IabNodeInd bool `json:"iabNodeInd,omitempty" yaml:"iabNodeInd" bson:"iabNodeInd,omitempty"` + CeModeBInd *CeModeBInd `json:"ceModeBInd,omitempty" yaml:"ceModeBInd" bson:"ceModeBInd,omitempty"` + LteMInd *LteMInd `json:"lteMInd,omitempty" yaml:"lteMInd" bson:"lteMInd,omitempty"` + AuthenticatedInd bool `json:"authenticatedInd,omitempty" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` + NpnAccessInfo *NpnAccessInfo `json:"npnAccessInfo,omitempty" yaml:"npnAccessInfo" bson:"npnAccessInfo,omitempty"` +} diff --git a/models/models/model_registration_data_set_name.go b/models/models/model_registration_data_set_name.go new file mode 100644 index 00000000..0845d9eb --- /dev/null +++ b/models/models/model_registration_data_set_name.go @@ -0,0 +1,26 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationDataSetName string + +// List of RegistrationDataSetName +const ( + RegistrationDataSetName_AMF_3_GPP RegistrationDataSetName = "AMF_3GPP" + RegistrationDataSetName_AMF_NON_3_GPP RegistrationDataSetName = "AMF_NON_3GPP" + RegistrationDataSetName_SMF_PDU_SESSIONS RegistrationDataSetName = "SMF_PDU_SESSIONS" + RegistrationDataSetName_SMSF_3_GPP RegistrationDataSetName = "SMSF_3GPP" + RegistrationDataSetName_SMSF_NON_3_GPP RegistrationDataSetName = "SMSF_NON_3GPP" + RegistrationDataSetName_IP_SM_GW RegistrationDataSetName = "IP_SM_GW" + RegistrationDataSetName_NWDAF RegistrationDataSetName = "NWDAF" +) diff --git a/models/models/model_registration_data_sets.go b/models/models/model_registration_data_sets.go new file mode 100644 index 00000000..eba148e0 --- /dev/null +++ b/models/models/model_registration_data_sets.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationDataSets struct { + Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` + AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` + SmfRegistration *SmfRegistrationInfo `json:"smfRegistration,omitempty" yaml:"smfRegistration" bson:"smfRegistration,omitempty"` + Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` + SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` + IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + NwdafRegistration *NwdafRegistrationInfo `json:"nwdafRegistration,omitempty" yaml:"nwdafRegistration" bson:"nwdafRegistration,omitempty"` +} diff --git a/models/models/model_registration_location_info.go b/models/models/model_registration_location_info.go new file mode 100644 index 00000000..ce8d136e --- /dev/null +++ b/models/models/model_registration_location_info.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationLocationInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` +} diff --git a/models/models/model_registration_message_type.go b/models/models/model_registration_message_type.go new file mode 100644 index 00000000..6787a3fc --- /dev/null +++ b/models/models/model_registration_message_type.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationMessageType string + +// List of RegistrationMessageType +const ( + RegistrationMessageType_INITIAL RegistrationMessageType = "INITIAL" + RegistrationMessageType_MOBILITY RegistrationMessageType = "MOBILITY" + RegistrationMessageType_PERIODIC RegistrationMessageType = "PERIODIC" + RegistrationMessageType_EMERGENCY RegistrationMessageType = "EMERGENCY" + RegistrationMessageType_DEREGISTRATION RegistrationMessageType = "DEREGISTRATION" +) diff --git a/models/models/model_registration_reason.go b/models/models/model_registration_reason.go new file mode 100644 index 00000000..ae3957d7 --- /dev/null +++ b/models/models/model_registration_reason.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationReason string + +// List of RegistrationReason +const ( + RegistrationReason_SMF_CONTEXT_TRANSFERRED RegistrationReason = "SMF_CONTEXT_TRANSFERRED" +) diff --git a/models/models/model_registration_type.go b/models/models/model_registration_type.go new file mode 100644 index 00000000..892fb9e3 --- /dev/null +++ b/models/models/model_registration_type.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RegistrationType string + +// List of RegistrationType +const ( + RegistrationType_INITIAL_REGISTRATION RegistrationType = "INITIAL_REGISTRATION" + RegistrationType_RE_REGISTRATION RegistrationType = "RE_REGISTRATION" + RegistrationType_DE_REGISTRATION RegistrationType = "DE_REGISTRATION" +) diff --git a/models/models/model_relative_cartesian_location.go b/models/models/model_relative_cartesian_location.go new file mode 100644 index 00000000..4c137ab7 --- /dev/null +++ b/models/models/model_relative_cartesian_location.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Relative Cartesian Location +type RelativeCartesianLocation struct { + // string with format 'float' as defined in OpenAPI. + X float32 `json:"x" yaml:"x" bson:"x,omitempty"` + // string with format 'float' as defined in OpenAPI. + Y float32 `json:"y" yaml:"y" bson:"y,omitempty"` + // string with format 'float' as defined in OpenAPI. + Z float32 `json:"z,omitempty" yaml:"z" bson:"z,omitempty"` +} diff --git a/models/models/model_release_charging_data_response_404.go b/models/models/model_release_charging_data_response_404.go new file mode 100644 index 00000000..b7876ae1 --- /dev/null +++ b/models/models/model_release_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ReleaseChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_release_data.go b/models/models/model_release_data.go new file mode 100644 index 00000000..0f778233 --- /dev/null +++ b/models/models/model_release_data.go @@ -0,0 +1,30 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Release Request +type ReleaseData struct { + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` +} diff --git a/models/models/model_release_pdu_session_request.go b/models/models/model_release_pdu_session_request.go new file mode 100644 index 00000000..226efd43 --- /dev/null +++ b/models/models/model_release_pdu_session_request.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReleasePduSessionRequest struct { + JsonData *ReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/models/model_release_pdu_session_response_200.go b/models/models/model_release_pdu_session_response_200.go new file mode 100644 index 00000000..29b537f7 --- /dev/null +++ b/models/models/model_release_pdu_session_response_200.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReleasePduSessionResponse200 struct { + JsonData *ReleasedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/models/model_release_session_info.go b/models/models/model_release_session_info.go new file mode 100644 index 00000000..e029e6f6 --- /dev/null +++ b/models/models/model_release_session_info.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// PDU session Id(s) and the cause for triggering the release. +type ReleaseSessionInfo struct { + ReleaseSessionList []int32 `json:"releaseSessionList" yaml:"releaseSessionList" bson:"releaseSessionList,omitempty"` + ReleaseCause AmfCommunicationReleaseCause `json:"releaseCause" yaml:"releaseCause" bson:"releaseCause,omitempty"` +} diff --git a/models/models/model_release_sm_context_request.go b/models/models/model_release_sm_context_request.go new file mode 100644 index 00000000..49a57aeb --- /dev/null +++ b/models/models/model_release_sm_context_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReleaseSmContextRequest struct { + JsonData *SmfPduSessionSmContextReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/models/model_released_data.go b/models/models/model_released_data.go new file mode 100644 index 00000000..248651e5 --- /dev/null +++ b/models/models/model_released_data.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Release Response +type ReleasedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` +} diff --git a/models/models/model_relocate_ue_context_request.go b/models/models/model_relocate_ue_context_request.go new file mode 100644 index 00000000..8d5d8b12 --- /dev/null +++ b/models/models/model_relocate_ue_context_request.go @@ -0,0 +1,35 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RelocateUeContextRequest struct { + JsonData *UeContextRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataForwardRelocationRequest []byte `json:"binaryDataForwardRelocationRequest,omitempty" yaml:"binaryDataForwardRelocationRequest" bson:"binaryDataForwardRelocationRequest,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` +} diff --git a/models/models/model_reply_path_requested.go b/models/models/model_reply_path_requested.go new file mode 100644 index 00000000..e6171381 --- /dev/null +++ b/models/models/model_reply_path_requested.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReplyPathRequested string + +// List of ReplyPathRequested +const ( + ReplyPathRequested_NO_REPLY_PATH_SET ReplyPathRequested = "NO_REPLY_PATH_SET" + ReplyPathRequested_REPLY_PATH_SET ReplyPathRequested = "REPLY_PATH_SET" +) diff --git a/models/models/model_report_amount_mdt.go b/models/models/model_report_amount_mdt.go new file mode 100644 index 00000000..6d88dd1e --- /dev/null +++ b/models/models/model_report_amount_mdt.go @@ -0,0 +1,27 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportAmountMdt string + +// List of ReportAmountMdt +const ( + ReportAmountMdt__1 ReportAmountMdt = "1" + ReportAmountMdt__2 ReportAmountMdt = "2" + ReportAmountMdt__4 ReportAmountMdt = "4" + ReportAmountMdt__8 ReportAmountMdt = "8" + ReportAmountMdt__16 ReportAmountMdt = "16" + ReportAmountMdt__32 ReportAmountMdt = "32" + ReportAmountMdt__64 ReportAmountMdt = "64" + ReportAmountMdt_INFINITY ReportAmountMdt = "infinity" +) diff --git a/models/models/model_report_interval_mdt.go b/models/models/model_report_interval_mdt.go new file mode 100644 index 00000000..d339c61d --- /dev/null +++ b/models/models/model_report_interval_mdt.go @@ -0,0 +1,32 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportIntervalMdt string + +// List of ReportIntervalMdt +const ( + ReportIntervalMdt__120 ReportIntervalMdt = "120" + ReportIntervalMdt__240 ReportIntervalMdt = "240" + ReportIntervalMdt__480 ReportIntervalMdt = "480" + ReportIntervalMdt__640 ReportIntervalMdt = "640" + ReportIntervalMdt__1024 ReportIntervalMdt = "1024" + ReportIntervalMdt__2048 ReportIntervalMdt = "2048" + ReportIntervalMdt__5120 ReportIntervalMdt = "5120" + ReportIntervalMdt__10240 ReportIntervalMdt = "10240" + ReportIntervalMdt__60000 ReportIntervalMdt = "60000" + ReportIntervalMdt__360000 ReportIntervalMdt = "360000" + ReportIntervalMdt__720000 ReportIntervalMdt = "720000" + ReportIntervalMdt__1800000 ReportIntervalMdt = "1800000" + ReportIntervalMdt__3600000 ReportIntervalMdt = "3600000" +) diff --git a/models/models/model_report_interval_nr_mdt.go b/models/models/model_report_interval_nr_mdt.go new file mode 100644 index 00000000..73882b20 --- /dev/null +++ b/models/models/model_report_interval_nr_mdt.go @@ -0,0 +1,34 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportIntervalNrMdt string + +// List of ReportIntervalNrMdt +const ( + ReportIntervalNrMdt__120 ReportIntervalNrMdt = "120" + ReportIntervalNrMdt__240 ReportIntervalNrMdt = "240" + ReportIntervalNrMdt__480 ReportIntervalNrMdt = "480" + ReportIntervalNrMdt__640 ReportIntervalNrMdt = "640" + ReportIntervalNrMdt__1024 ReportIntervalNrMdt = "1024" + ReportIntervalNrMdt__2048 ReportIntervalNrMdt = "2048" + ReportIntervalNrMdt__5120 ReportIntervalNrMdt = "5120" + ReportIntervalNrMdt__10240 ReportIntervalNrMdt = "10240" + ReportIntervalNrMdt__20480 ReportIntervalNrMdt = "20480" + ReportIntervalNrMdt__40960 ReportIntervalNrMdt = "40960" + ReportIntervalNrMdt__60000 ReportIntervalNrMdt = "60000" + ReportIntervalNrMdt__360000 ReportIntervalNrMdt = "360000" + ReportIntervalNrMdt__720000 ReportIntervalNrMdt = "720000" + ReportIntervalNrMdt__1800000 ReportIntervalNrMdt = "1800000" + ReportIntervalNrMdt__3600000 ReportIntervalNrMdt = "3600000" +) diff --git a/models/models/model_report_item.go b/models/models/model_report_item.go new file mode 100644 index 00000000..56b42107 --- /dev/null +++ b/models/models/model_report_item.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// indicates performed modivications. +type ReportItem struct { + // Contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource to which the modification is subject. + Path string `json:"path" yaml:"path" bson:"path,omitempty"` + // A human-readable reason providing details on the reported modification failure. The reason string should identify the operation that failed using the operation's array index to assist in correlation of the invalid parameter with the failed operation, e.g. \"Replacement value invalid for attribute (failed operation index= 4)\". + Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` +} diff --git a/models/models/model_report_type_mdt.go b/models/models/model_report_type_mdt.go new file mode 100644 index 00000000..0fcbffa3 --- /dev/null +++ b/models/models/model_report_type_mdt.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportTypeMdt string + +// List of ReportTypeMdt +const ( + ReportTypeMdt_PERIODICAL ReportTypeMdt = "PERIODICAL" + ReportTypeMdt_EVENT_TRIGGED ReportTypeMdt = "EVENT_TRIGGED" +) diff --git a/models/models/model_reported_event_type.go b/models/models/model_reported_event_type.go new file mode 100644 index 00000000..cf56e848 --- /dev/null +++ b/models/models/model_reported_event_type.go @@ -0,0 +1,26 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportedEventType string + +// List of ReportedEventType +const ( + ReportedEventType_PERIODIC_EVENT ReportedEventType = "PERIODIC_EVENT" + ReportedEventType_ENTERING_AREA_EVENT ReportedEventType = "ENTERING_AREA_EVENT" + ReportedEventType_LEAVING_AREA_EVENT ReportedEventType = "LEAVING_AREA_EVENT" + ReportedEventType_BEING_INSIDE_AREA_EVENT ReportedEventType = "BEING_INSIDE_AREA_EVENT" + ReportedEventType_MOTION_EVENT ReportedEventType = "MOTION_EVENT" + ReportedEventType_MAXIMUM_INTERVAL_EXPIRATION_EVENT ReportedEventType = "MAXIMUM_INTERVAL_EXPIRATION_EVENT" + ReportedEventType_LOCATION_CANCELLATION_EVENT ReportedEventType = "LOCATION_CANCELLATION_EVENT" +) diff --git a/models/models/model_reporting_access_type.go b/models/models/model_reporting_access_type.go new file mode 100644 index 00000000..6f318739 --- /dev/null +++ b/models/models/model_reporting_access_type.go @@ -0,0 +1,26 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingAccessType string + +// List of ReportingAccessType +const ( + ReportingAccessType_NR ReportingAccessType = "NR" + ReportingAccessType_EUTRA_CONNECTED_TO_5_GC ReportingAccessType = "EUTRA_CONNECTED_TO_5GC" + ReportingAccessType_NON_3_GPP_CONNECTED_TO_5_GC ReportingAccessType = "NON_3GPP_CONNECTED_TO_5GC" + ReportingAccessType_NR_LEO ReportingAccessType = "NR_LEO" + ReportingAccessType_NR_MEO ReportingAccessType = "NR_MEO" + ReportingAccessType_NR_GEO ReportingAccessType = "NR_GEO" + ReportingAccessType_NR_OTHER_SAT ReportingAccessType = "NR_OTHER_SAT" +) diff --git a/models/models/model_reporting_area.go b/models/models/model_reporting_area.go new file mode 100644 index 00000000..dc360011 --- /dev/null +++ b/models/models/model_reporting_area.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates an area for event reporting. +type ReportingArea struct { + AreaType ReportingAreaType `json:"areaType" yaml:"areaType" bson:"areaType,omitempty"` + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` +} diff --git a/models/models/model_reporting_area_type.go b/models/models/model_reporting_area_type.go new file mode 100644 index 00000000..dbd2a292 --- /dev/null +++ b/models/models/model_reporting_area_type.go @@ -0,0 +1,23 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingAreaType string + +// List of ReportingAreaType +const ( + ReportingAreaType_EPS_TRACKING_AREA_IDENTITY ReportingAreaType = "EPS_TRACKING_AREA_IDENTITY" + ReportingAreaType_E_UTRAN_CELL_GLOBAL_IDENTIFICATION ReportingAreaType = "E-UTRAN_CELL_GLOBAL_IDENTIFICATION" + ReportingAreaType__5_GS_TRACKING_AREA_IDENTITY ReportingAreaType = "5GS_TRACKING_AREA_IDENTITY" + ReportingAreaType_NR_CELL_GLOBAL_IDENTITY ReportingAreaType = "NR_CELL_GLOBAL_IDENTITY" +) diff --git a/models/models/model_reporting_frequency.go b/models/models/model_reporting_frequency.go new file mode 100644 index 00000000..a34a7d47 --- /dev/null +++ b/models/models/model_reporting_frequency.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingFrequency string + +// List of ReportingFrequency +const ( + ReportingFrequency_EVENT_TRIGGERED ReportingFrequency = "EVENT_TRIGGERED" + ReportingFrequency_PERIODIC ReportingFrequency = "PERIODIC" +) diff --git a/models/models/model_reporting_information.go b/models/models/model_reporting_information.go new file mode 100644 index 00000000..da263177 --- /dev/null +++ b/models/models/model_reporting_information.go @@ -0,0 +1,36 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the type of reporting that the subscription requires. +type ReportingInformation struct { + ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` + NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` + // indicating a time in seconds. + RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` + // Criteria for partitioning the UEs before applying the sampling ratio. + PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` + // indicating a time in seconds. + GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/models/model_reporting_level.go b/models/models/model_reporting_level.go new file mode 100644 index 00000000..2a6fbae6 --- /dev/null +++ b/models/models/model_reporting_level.go @@ -0,0 +1,22 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingLevel string + +// List of ReportingLevel +const ( + ReportingLevel_SER_ID_LEVEL ReportingLevel = "SER_ID_LEVEL" + ReportingLevel_RAT_GR_LEVEL ReportingLevel = "RAT_GR_LEVEL" + ReportingLevel_SPON_CON_LEVEL ReportingLevel = "SPON_CON_LEVEL" +) diff --git a/models/models/model_reporting_trigger.go b/models/models/model_reporting_trigger.go new file mode 100644 index 00000000..e1c7b691 --- /dev/null +++ b/models/models/model_reporting_trigger.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReportingTrigger string + +// List of ReportingTrigger +const ( + ReportingTrigger_PERIODICAL ReportingTrigger = "PERIODICAL" + ReportingTrigger_EVENT_A2 ReportingTrigger = "EVENT_A2" + ReportingTrigger_EVENT_A2_PERIODIC ReportingTrigger = "EVENT_A2_PERIODIC" + ReportingTrigger_ALL_RRM_EVENT_TRIGGERS ReportingTrigger = "ALL_RRM_EVENT_TRIGGERS" +) diff --git a/models/models/model_repository_data.go b/models/models/model_repository_data.go new file mode 100644 index 00000000..9e6edfc2 --- /dev/null +++ b/models/models/model_repository_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Repository Data for the requested Service Indication +type RepositoryData struct { + // Unsigned integer containing the sequence number associated to the current version of Repository Data + SequenceNumber int32 `json:"sequenceNumber" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` + ServiceData string `json:"serviceData" yaml:"serviceData" bson:"serviceData,omitempty"` +} diff --git a/models/models/model_repository_data_list.go b/models/models/model_repository_data_list.go new file mode 100644 index 00000000..e61321ef --- /dev/null +++ b/models/models/model_repository_data_list.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Repository Data for the requested Service Indications +type RepositoryDataList struct { + // A map (list of key-value pairs where ServiceIndication serves as key) of RepositoryData + RepositoryDataMap map[string]RepositoryData `json:"repositoryDataMap" yaml:"repositoryDataMap" bson:"repositoryDataMap,omitempty"` +} diff --git a/models/models/model_request_direction.go b/models/models/model_request_direction.go new file mode 100644 index 00000000..7e4595ea --- /dev/null +++ b/models/models/model_request_direction.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestDirection string + +// List of RequestDirection +const ( + RequestDirection_ORIGINATING_REGISTERED RequestDirection = "ORIGINATING_REGISTERED" + RequestDirection_ORIGINATING_UNREGISTERED RequestDirection = "ORIGINATING_UNREGISTERED" + RequestDirection_ORIGINATING_CDIV RequestDirection = "ORIGINATING_CDIV" + RequestDirection_TERMINATING_REGISTERED RequestDirection = "TERMINATING_REGISTERED" + RequestDirection_TERMINATING_UNREGISTERED RequestDirection = "TERMINATING_UNREGISTERED" +) diff --git a/models/models/model_request_indication.go b/models/models/model_request_indication.go new file mode 100644 index 00000000..cb7be0db --- /dev/null +++ b/models/models/model_request_indication.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestIndication string + +// List of RequestIndication +const ( + RequestIndication_UE_REQ_PDU_SES_MOD RequestIndication = "UE_REQ_PDU_SES_MOD" + RequestIndication_UE_REQ_PDU_SES_REL RequestIndication = "UE_REQ_PDU_SES_REL" + RequestIndication_PDU_SES_MOB RequestIndication = "PDU_SES_MOB" + RequestIndication_NW_REQ_PDU_SES_AUTH RequestIndication = "NW_REQ_PDU_SES_AUTH" + RequestIndication_NW_REQ_PDU_SES_MOD RequestIndication = "NW_REQ_PDU_SES_MOD" + RequestIndication_NW_REQ_PDU_SES_REL RequestIndication = "NW_REQ_PDU_SES_REL" + RequestIndication_EBI_ASSIGNMENT_REQ RequestIndication = "EBI_ASSIGNMENT_REQ" + RequestIndication_REL_DUE_TO_5_G_AN_REQUEST RequestIndication = "REL_DUE_TO_5G_AN_REQUEST" +) diff --git a/models/models/model_request_loc_info.go b/models/models/model_request_loc_info.go new file mode 100644 index 00000000..38b7cf3c --- /dev/null +++ b/models/models/model_request_loc_info.go @@ -0,0 +1,23 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Provide Location Information Request +type RequestLocInfo struct { + Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` + ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` + ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` + ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_request_pos_info.go b/models/models/model_request_pos_info.go new file mode 100644 index 00000000..dff8e3a0 --- /dev/null +++ b/models/models/model_request_pos_info.go @@ -0,0 +1,60 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Provide Positioning Information Request +type RequestPosInfo struct { + LcsClientType ExternalClientType `json:"lcsClientType" yaml:"lcsClientType" bson:"lcsClientType,omitempty"` + LcsLocation AmfLocationLocationType `json:"lcsLocation" yaml:"lcsLocation" bson:"lcsLocation,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + LcsQoS *LocationQoS `json:"lcsQoS,omitempty" yaml:"lcsQoS" bson:"lcsQoS,omitempty"` + VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` + LcsSupportedGADShapes SupportedGadShapes `json:"lcsSupportedGADShapes,omitempty" yaml:"lcsSupportedGADShapes" bson:"lcsSupportedGADShapes,omitempty"` + AdditionalLcsSuppGADShapes []SupportedGadShapes `json:"additionalLcsSuppGADShapes,omitempty" yaml:"additionalLcsSuppGADShapes" bson:"additionalLcsSuppGADShapes,omitempty"` + // String providing an URI formatted according to RFC 3986. + LocationNotificationUri string `json:"locationNotificationUri,omitempty" yaml:"locationNotificationUri" bson:"locationNotificationUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // LCS service type. + LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` + LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` + // String providing an URI formatted according to RFC 3986. + HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` + // LDR Reference. + LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` + PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` + AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` + MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` + // Contains the external client identification + ExternalClientIdentification string `json:"externalClientIdentification,omitempty" yaml:"externalClientIdentification" bson:"externalClientIdentification,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AfID string `json:"afID,omitempty" yaml:"afID" bson:"afID,omitempty"` + // Contains the codeword + CodeWord string `json:"codeWord,omitempty" yaml:"codeWord" bson:"codeWord,omitempty"` + UePrivacyRequirements *UePrivacyRequirements `json:"uePrivacyRequirements,omitempty" yaml:"uePrivacyRequirements" bson:"uePrivacyRequirements,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` + ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` + IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` +} diff --git a/models/models/model_request_type.go b/models/models/model_request_type.go new file mode 100644 index 00000000..f9f98bfd --- /dev/null +++ b/models/models/model_request_type.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestType string + +// List of RequestType +const ( + RequestType_INITIAL_REQUEST RequestType = "INITIAL_REQUEST" + RequestType_EXISTING_PDU_SESSION RequestType = "EXISTING_PDU_SESSION" + RequestType_INITIAL_EMERGENCY_REQUEST RequestType = "INITIAL_EMERGENCY_REQUEST" + RequestType_EXISTING_EMERGENCY_PDU_SESSION RequestType = "EXISTING_EMERGENCY_PDU_SESSION" +) diff --git a/models/models/model_requested_context.go b/models/models/model_requested_context.go new file mode 100644 index 00000000..5888439a --- /dev/null +++ b/models/models/model_requested_context.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains types of analytics context information. +type RequestedContext struct { + // List of analytics context types. + Contexts []ContextType `json:"contexts" yaml:"contexts" bson:"contexts,omitempty"` +} diff --git a/models/models/model_requested_node.go b/models/models/model_requested_node.go new file mode 100644 index 00000000..8f1eb5c2 --- /dev/null +++ b/models/models/model_requested_node.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedNode string + +// List of RequestedNode +const ( + RequestedNode_SGSN RequestedNode = "SGSN" + RequestedNode_MME RequestedNode = "MME" + RequestedNode_AMF RequestedNode = "AMF" + RequestedNode__3_GPP_AAA_SERVER_TWAN RequestedNode = "3GPP_AAA_SERVER_TWAN" +) diff --git a/models/models/model_requested_qos.go b/models/models/model_requested_qos.go new file mode 100644 index 00000000..14964a90 --- /dev/null +++ b/models/models/model_requested_qos.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the QoS information requested by the UE. +type RequestedQos struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` +} diff --git a/models/models/model_requested_qos_monitoring_parameter.go b/models/models/model_requested_qos_monitoring_parameter.go new file mode 100644 index 00000000..d0e4413e --- /dev/null +++ b/models/models/model_requested_qos_monitoring_parameter.go @@ -0,0 +1,22 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedQosMonitoringParameter string + +// List of RequestedQosMonitoringParameter +const ( + RequestedQosMonitoringParameter_DOWNLINK RequestedQosMonitoringParameter = "DOWNLINK" + RequestedQosMonitoringParameter_UPLINK RequestedQosMonitoringParameter = "UPLINK" + RequestedQosMonitoringParameter_ROUND_TRIP RequestedQosMonitoringParameter = "ROUND_TRIP" +) diff --git a/models/models/model_requested_rule_data.go b/models/models/model_requested_rule_data.go new file mode 100644 index 00000000..bbe0dd9c --- /dev/null +++ b/models/models/model_requested_rule_data.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains rule data requested by the PCF to receive information associated with PCC rule(s). +type RequestedRuleData struct { + // An array of PCC rule id references to the PCC rules associated with the control data. + RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` + // Array of requested rule data type elements indicating what type of rule data is requested for the corresponding referenced PCC rules. + ReqData []RequestedRuleDataType `json:"reqData" yaml:"reqData" bson:"reqData,omitempty"` +} diff --git a/models/models/model_requested_rule_data_type.go b/models/models/model_requested_rule_data_type.go new file mode 100644 index 00000000..37190108 --- /dev/null +++ b/models/models/model_requested_rule_data_type.go @@ -0,0 +1,25 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedRuleDataType string + +// List of RequestedRuleDataType +const ( + RequestedRuleDataType_CH_ID RequestedRuleDataType = "CH_ID" + RequestedRuleDataType_MS_TIME_ZONE RequestedRuleDataType = "MS_TIME_ZONE" + RequestedRuleDataType_USER_LOC_INFO RequestedRuleDataType = "USER_LOC_INFO" + RequestedRuleDataType_RES_RELEASE RequestedRuleDataType = "RES_RELEASE" + RequestedRuleDataType_SUCC_RES_ALLO RequestedRuleDataType = "SUCC_RES_ALLO" + RequestedRuleDataType_EPS_FALLBACK RequestedRuleDataType = "EPS_FALLBACK" +) diff --git a/models/models/model_requested_unit.go b/models/models/model_requested_unit.go new file mode 100644 index 00000000..31ff8e5c --- /dev/null +++ b/models/models/model_requested_unit.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequestedUnit struct { + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` +} diff --git a/models/models/model_requested_usage_data.go b/models/models/model_requested_usage_data.go new file mode 100644 index 00000000..84f5a924 --- /dev/null +++ b/models/models/model_requested_usage_data.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains usage data requested by the PCF requesting usage reports for the corresponding usage monitoring data instances. +type RequestedUsageData struct { + // An array of usage monitoring data id references to the usage monitoring data instances for which the PCF is requesting a usage report. This attribute shall only be provided when allUmIds is not set to true. + RefUmIds []string `json:"refUmIds,omitempty" yaml:"refUmIds" bson:"refUmIds,omitempty"` + // This boolean indicates whether requested usage data applies to all usage monitoring data instances. When it's not included, it means requested usage data shall only apply to the usage monitoring data instances referenced by the refUmIds attribute. + AllUmIds bool `json:"allUmIds,omitempty" yaml:"allUmIds" bson:"allUmIds,omitempty"` +} diff --git a/models/models/model_required_access_info.go b/models/models/model_required_access_info.go new file mode 100644 index 00000000..48e8a9ff --- /dev/null +++ b/models/models/model_required_access_info.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RequiredAccessInfo string + +// List of RequiredAccessInfo +const ( + RequiredAccessInfo_USER_LOCATION RequiredAccessInfo = "USER_LOCATION" + RequiredAccessInfo_UE_TIME_ZONE RequiredAccessInfo = "UE_TIME_ZONE" +) diff --git a/models/models/model_reserv_priority.go b/models/models/model_reserv_priority.go new file mode 100644 index 00000000..f52f0eec --- /dev/null +++ b/models/models/model_reserv_priority.go @@ -0,0 +1,35 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ReservPriority string + +// List of ReservPriority +const ( + ReservPriority__1 ReservPriority = "PRIO_1" + ReservPriority__2 ReservPriority = "PRIO_2" + ReservPriority__3 ReservPriority = "PRIO_3" + ReservPriority__4 ReservPriority = "PRIO_4" + ReservPriority__5 ReservPriority = "PRIO_5" + ReservPriority__6 ReservPriority = "PRIO_6" + ReservPriority__7 ReservPriority = "PRIO_7" + ReservPriority__8 ReservPriority = "PRIO_8" + ReservPriority__9 ReservPriority = "PRIO_9" + ReservPriority__10 ReservPriority = "PRIO_10" + ReservPriority__11 ReservPriority = "PRIO_11" + ReservPriority__12 ReservPriority = "PRIO_12" + ReservPriority__13 ReservPriority = "PRIO_13" + ReservPriority__14 ReservPriority = "PRIO_14" + ReservPriority__15 ReservPriority = "PRIO_15" + ReservPriority__16 ReservPriority = "PRIO_16" +) diff --git a/models/models/model_resource_item.go b/models/models/model_resource_item.go new file mode 100644 index 00000000..41315a04 --- /dev/null +++ b/models/models/model_resource_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a subscription to policy data change notification when the change occurs in a fragment (subset of resource data) of a given resource. +type ResourceItem struct { + // String providing an URI formatted according to RFC 3986. + MonResourceUri string `json:"monResourceUri" yaml:"monResourceUri" bson:"monResourceUri,omitempty"` + Items []string `json:"items" yaml:"items" bson:"items,omitempty"` +} diff --git a/models/models/model_resource_status.go b/models/models/model_resource_status.go new file mode 100644 index 00000000..62672576 --- /dev/null +++ b/models/models/model_resource_status.go @@ -0,0 +1,24 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ResourceStatus string + +// List of ResourceStatus +const ( + ResourceStatus_RELEASED ResourceStatus = "RELEASED" + ResourceStatus_UNCHANGED ResourceStatus = "UNCHANGED" + ResourceStatus_TRANSFERRED ResourceStatus = "TRANSFERRED" + ResourceStatus_UPDATED ResourceStatus = "UPDATED" + ResourceStatus_ALT_ANCHOR_SMF ResourceStatus = "ALT_ANCHOR_SMF" +) diff --git a/models/models/model_resource_usage.go b/models/models/model_resource_usage.go new file mode 100644 index 00000000..6a36a646 --- /dev/null +++ b/models/models/model_resource_usage.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The current usage of the virtual resources assigned to the NF instances belonging to a particular network slice instance. +type ResourceUsage struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + CpuUsage int32 `json:"cpuUsage,omitempty" yaml:"cpuUsage" bson:"cpuUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MemoryUsage int32 `json:"memoryUsage,omitempty" yaml:"memoryUsage" bson:"memoryUsage,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + StorageUsage int32 `json:"storageUsage,omitempty" yaml:"storageUsage" bson:"storageUsage,omitempty"` +} diff --git a/models/models/model_resources_allocation_info.go b/models/models/model_resources_allocation_info.go new file mode 100644 index 00000000..9e18dbd9 --- /dev/null +++ b/models/models/model_resources_allocation_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes the status of the PCC rule(s) related to certain media components. +type ResourcesAllocationInfo struct { + McResourcStatus MediaComponentResourcesStatus `json:"mcResourcStatus,omitempty" yaml:"mcResourcStatus" bson:"mcResourcStatus,omitempty"` + Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` + AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` +} diff --git a/models/models/model_response_time.go b/models/models/model_response_time.go new file mode 100644 index 00000000..2a419753 --- /dev/null +++ b/models/models/model_response_time.go @@ -0,0 +1,22 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ResponseTime string + +// List of ResponseTime +const ( + ResponseTime_LOW_DELAY ResponseTime = "LOW_DELAY" + ResponseTime_DELAY_TOLERANT ResponseTime = "DELAY_TOLERANT" + ResponseTime_NO_DELAY ResponseTime = "NO_DELAY" +) diff --git a/models/models/model_restricted_snssai.go b/models/models/model_restricted_snssai.go new file mode 100644 index 00000000..0539b925 --- /dev/null +++ b/models/models/model_restricted_snssai.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the restricted SNssai information per PLMN +type RestrictedSnssai struct { + HomePlmnId *PlmnId `json:"homePlmnId" yaml:"homePlmnId" bson:"homePlmnId,omitempty"` + SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + HomePlmnIdList []PlmnId `json:"homePlmnIdList,omitempty" yaml:"homePlmnIdList" bson:"homePlmnIdList,omitempty"` + RoamingRestriction bool `json:"roamingRestriction,omitempty" yaml:"roamingRestriction" bson:"roamingRestriction,omitempty"` +} diff --git a/models/models/model_restriction_type.go b/models/models/model_restriction_type.go new file mode 100644 index 00000000..29d55130 --- /dev/null +++ b/models/models/model_restriction_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RestrictionType string + +// List of RestrictionType +const ( + RestrictionType_ALLOWED_AREAS RestrictionType = "ALLOWED_AREAS" + RestrictionType_NOT_ALLOWED_AREAS RestrictionType = "NOT_ALLOWED_AREAS" +) diff --git a/models/models/model_resynchronization_info.go b/models/models/model_resynchronization_info.go new file mode 100644 index 00000000..56b69153 --- /dev/null +++ b/models/models/model_resynchronization_info.go @@ -0,0 +1,18 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ResynchronizationInfo struct { + Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` + Auts string `json:"auts" yaml:"auts" bson:"auts,omitempty"` +} diff --git a/models/models/model_retainability_threshold.go b/models/models/model_retainability_threshold.go new file mode 100644 index 00000000..17da7fe2 --- /dev/null +++ b/models/models/model_retainability_threshold.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a QoS flow retainability threshold. +type RetainabilityThreshold struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RelFlowNum int32 `json:"relFlowNum,omitempty" yaml:"relFlowNum" bson:"relFlowNum,omitempty"` + RelTimeUnit TimeUnit `json:"relTimeUnit,omitempty" yaml:"relTimeUnit" bson:"relTimeUnit,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + RelFlowRatio int32 `json:"relFlowRatio,omitempty" yaml:"relFlowRatio" bson:"relFlowRatio,omitempty"` +} diff --git a/models/models/model_retrieve_data.go b/models/models/model_retrieve_data.go new file mode 100644 index 00000000..ce8bd405 --- /dev/null +++ b/models/models/model_retrieve_data.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve Request +type RetrieveData struct { + SmallDataRateStatusReq bool `json:"smallDataRateStatusReq,omitempty" yaml:"smallDataRateStatusReq" bson:"smallDataRateStatusReq,omitempty"` + PduSessionContextType PduSessionContextType `json:"pduSessionContextType,omitempty" yaml:"pduSessionContextType" bson:"pduSessionContextType,omitempty"` +} diff --git a/models/models/model_retrieve_records.go b/models/models/model_retrieve_records.go new file mode 100644 index 00000000..41c3d584 --- /dev/null +++ b/models/models/model_retrieve_records.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RetrieveRecords string + +// List of RetrieveRecords +const ( + RetrieveRecords_ONLY_META RetrieveRecords = "ONLY_META" + RetrieveRecords_META_AND_BLOCKS RetrieveRecords = "META_AND_BLOCKS" +) diff --git a/models/models/model_retrieved_data.go b/models/models/model_retrieved_data.go new file mode 100644 index 00000000..7320b049 --- /dev/null +++ b/models/models/model_retrieved_data.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve Response +type RetrievedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` +} diff --git a/models/models/model_revoked_cause.go b/models/models/model_revoked_cause.go new file mode 100644 index 00000000..70217f85 --- /dev/null +++ b/models/models/model_revoked_cause.go @@ -0,0 +1,22 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RevokedCause string + +// List of RevokedCause +const ( + RevokedCause_NOT_ALLOWED RevokedCause = "NOT_ALLOWED" + RevokedCause_EXCLUDED_FROM_GROUP RevokedCause = "EXCLUDED_FROM_GROUP" + RevokedCause_GPSI_REMOVED RevokedCause = "GPSI_REMOVED" +) diff --git a/models/models/model_rg_authentication_info.go b/models/models/model_rg_authentication_info.go new file mode 100644 index 00000000..9f75a5b2 --- /dev/null +++ b/models/models/model_rg_authentication_info.go @@ -0,0 +1,22 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE id (i.e. SUCI) and the authenticated indication. +type RgAuthenticationInfo struct { + // Contains the SUCI. + Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` + AuthenticatedInd bool `json:"authenticatedInd" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_rm_info.go b/models/models/model_rm_info.go new file mode 100644 index 00000000..65aeefbd --- /dev/null +++ b/models/models/model_rm_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the registration state of a UE for an access type +type RmInfo struct { + RmState RmState `json:"rmState" yaml:"rmState" bson:"rmState,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_rm_state.go b/models/models/model_rm_state.go new file mode 100644 index 00000000..7eb2cd32 --- /dev/null +++ b/models/models/model_rm_state.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RmState string + +// List of RmState +const ( + RmState_REGISTERED RmState = "REGISTERED" + RmState_DEREGISTERED RmState = "DEREGISTERED" +) diff --git a/models/models/model_roamer_in_out.go b/models/models/model_roamer_in_out.go new file mode 100644 index 00000000..98745a20 --- /dev/null +++ b/models/models/model_roamer_in_out.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoamerInOut string + +// List of RoamerInOut +const ( + RoamerInOut_IN_BOUND RoamerInOut = "IN_BOUND" + RoamerInOut_OUT_BOUND RoamerInOut = "OUT_BOUND" +) diff --git a/models/models/model_roaming_indication.go b/models/models/model_roaming_indication.go new file mode 100644 index 00000000..94a13094 --- /dev/null +++ b/models/models/model_roaming_indication.go @@ -0,0 +1,22 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoamingIndication string + +// List of RoamingIndication +const ( + RoamingIndication_NON_ROAMING RoamingIndication = "NON_ROAMING" + RoamingIndication_LOCAL_BREAKOUT RoamingIndication = "LOCAL_BREAKOUT" + RoamingIndication_HOME_ROUTED_ROAMING RoamingIndication = "HOME_ROUTED_ROAMING" +) diff --git a/models/models/model_roaming_info_update.go b/models/models/model_roaming_info_update.go new file mode 100644 index 00000000..d31b1112 --- /dev/null +++ b/models/models/model_roaming_info_update.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Roaming Information Update +type RoamingInfoUpdate struct { + Roaming bool `json:"roaming,omitempty" yaml:"roaming" bson:"roaming,omitempty"` + ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` +} diff --git a/models/models/model_roaming_odb.go b/models/models/model_roaming_odb.go new file mode 100644 index 00000000..ed9cd5a2 --- /dev/null +++ b/models/models/model_roaming_odb.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoamingOdb string + +// List of RoamingOdb +const ( + RoamingOdb_PLMN RoamingOdb = "OUTSIDE_HOME_PLMN" + RoamingOdb_PLMN_COUNTRY RoamingOdb = "OUTSIDE_HOME_PLMN_COUNTRY" +) diff --git a/models/models/model_roaming_restrictions.go b/models/models/model_roaming_restrictions.go new file mode 100644 index 00000000..bbd2b3dd --- /dev/null +++ b/models/models/model_roaming_restrictions.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates if access is allowed to a given serving network, e.g. a PLMN (MCC, MNC) or an SNPN (MCC, MNC, NID). +type RoamingRestrictions struct { + AccessAllowed bool `json:"accessAllowed,omitempty" yaml:"accessAllowed" bson:"accessAllowed,omitempty"` +} diff --git a/models/models/model_roaming_status_report.go b/models/models/model_roaming_status_report.go new file mode 100644 index 00000000..0b1a526e --- /dev/null +++ b/models/models/model_roaming_status_report.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoamingStatusReport struct { + Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` + NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_role_of_ims_node.go b/models/models/model_role_of_ims_node.go new file mode 100644 index 00000000..617eb34b --- /dev/null +++ b/models/models/model_role_of_ims_node.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoleOfImsNode string + +// List of RoleOfIMSNode +const ( + RoleOfImsNode_ORIGINATING RoleOfImsNode = "ORIGINATING" + RoleOfImsNode_TERMINATING RoleOfImsNode = "TERMINATING" + RoleOfImsNode_FORWARDING RoleOfImsNode = "FORWARDING" +) diff --git a/models/models/model_role_of_ue.go b/models/models/model_role_of_ue.go new file mode 100644 index 00000000..5b9d875c --- /dev/null +++ b/models/models/model_role_of_ue.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RoleOfUe string + +// List of RoleOfUE +const ( + RoleOfUe_ANNOUNCING_UE RoleOfUe = "ANNOUNCING_UE" + RoleOfUe_MONITORING_UE RoleOfUe = "MONITORING_UE" + RoleOfUe_REQUESTOR_UE RoleOfUe = "REQUESTOR_UE" + RoleOfUe_REQUESTED_UE RoleOfUe = "REQUESTED_UE" +) diff --git a/models/models/model_route_information.go b/models/models/model_route_information.go new file mode 100644 index 00000000..f155a6f4 --- /dev/null +++ b/models/models/model_route_information.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// At least one of the \"ipv4Addr\" attribute and the \"ipv6Addr\" attribute shall be included in the \"RouteInformation\" data type. +type RouteInformation struct { + // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` +} diff --git a/models/models/model_route_selection_parameter_set.go b/models/models/model_route_selection_parameter_set.go new file mode 100644 index 00000000..ba2fd8d4 --- /dev/null +++ b/models/models/model_route_selection_parameter_set.go @@ -0,0 +1,26 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that can be used to guide the Route Selection Descriptors of the URSP. +type RouteSelectionParameterSet struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + // Indicates where the route selection parameters apply. It may correspond to a geographical area, for example using a geographic shape that is known to the AF and is configured by the operator to correspond to a list of or TAIs. + SpatialValidityAreas []GeographicalArea `json:"spatialValidityAreas,omitempty" yaml:"spatialValidityAreas" bson:"spatialValidityAreas,omitempty"` + // Indicates the TAIs in which the route selection parameters apply. This attribute is applicable only within the 5GC and it shall not be included in the request messages of untrusted AFs for URSP guidance. + SpatialValidityTais []Tai `json:"spatialValidityTais,omitempty" yaml:"spatialValidityTais" bson:"spatialValidityTais,omitempty"` +} diff --git a/models/models/model_route_to_location.go b/models/models/model_route_to_location.go new file mode 100644 index 00000000..7ee346a1 --- /dev/null +++ b/models/models/model_route_to_location.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// At least one of the \"routeInfo\" attribute and the \"routeProfId\" attribute shall be included in the \"RouteToLocation\" data type. +type RouteToLocation struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + RouteInfo *RouteInformation `json:"routeInfo,omitempty" yaml:"routeInfo" bson:"routeInfo,omitempty"` + // Identifies the routing profile Id. + RouteProfId string `json:"routeProfId,omitempty" yaml:"routeProfId" bson:"routeProfId,omitempty"` +} diff --git a/models/models/model_routing_area_id.go b/models/models/model_routing_area_id.go new file mode 100644 index 00000000..130f183d --- /dev/null +++ b/models/models/model_routing_area_id.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Routing Area Identification as defined in 3GPP TS 23.003, clause 4.2. +type RoutingAreaId struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + // Routing Area Code + Rac string `json:"rac" yaml:"rac" bson:"rac,omitempty"` +} diff --git a/models/models/model_routing_info_sm_request.go b/models/models/model_routing_info_sm_request.go new file mode 100644 index 00000000..a61c7ee8 --- /dev/null +++ b/models/models/model_routing_info_sm_request.go @@ -0,0 +1,20 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Request body of the send-routing-info-sm custom operation +type RoutingInfoSmRequest struct { + IpSmGwInd bool `json:"ipSmGwInd,omitempty" yaml:"ipSmGwInd" bson:"ipSmGwInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_routing_info_sm_response.go b/models/models/model_routing_info_sm_response.go new file mode 100644 index 00000000..f145b953 --- /dev/null +++ b/models/models/model_routing_info_sm_response.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information of available nodes for SMS delivery +type RoutingInfoSmResponse struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` + SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` + IpSmGw *IpSmGwInfo `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` + SmsRouter *SmsRouterInfo `json:"smsRouter,omitempty" yaml:"smsRouter" bson:"smsRouter,omitempty"` +} diff --git a/models/models/model_rsn.go b/models/models/model_rsn.go new file mode 100644 index 00000000..ceecfd80 --- /dev/null +++ b/models/models/model_rsn.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Rsn string + +// List of Rsn +const ( + Rsn_V1 Rsn = "V1" + Rsn_V2 Rsn = "V2" + Rsn_NONE Rsn = "NONE" +) diff --git a/models/models/model_rule_operation.go b/models/models/model_rule_operation.go new file mode 100644 index 00000000..7db32391 --- /dev/null +++ b/models/models/model_rule_operation.go @@ -0,0 +1,25 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RuleOperation string + +// List of RuleOperation +const ( + RuleOperation_CREATE_PCC_RULE RuleOperation = "CREATE_PCC_RULE" + RuleOperation_DELETE_PCC_RULE RuleOperation = "DELETE_PCC_RULE" + RuleOperation_MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS" + RuleOperation_MODIFY__PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_REPLACE_PACKET_FILTERS" + RuleOperation_MODIFY__PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_DELETE_PACKET_FILTERS" + RuleOperation_MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS" +) diff --git a/models/models/model_rule_report.go b/models/models/model_rule_report.go new file mode 100644 index 00000000..8fdfd3d3 --- /dev/null +++ b/models/models/model_rule_report.go @@ -0,0 +1,27 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Reports the status of PCC. +type RuleReport struct { + // Contains the identifier of the affected PCC rule(s). + PccRuleIds []string `json:"pccRuleIds" yaml:"pccRuleIds" bson:"pccRuleIds,omitempty"` + RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` + // Indicates the version of a PCC rule. + ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` + FailureCode PcfSmPolicyControlFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` + FinUnitAct FinalUnitAction `json:"finUnitAct,omitempty" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` + // indicates the RAN or NAS release cause code information. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` +} diff --git a/models/models/model_rule_status.go b/models/models/model_rule_status.go new file mode 100644 index 00000000..21a66a0f --- /dev/null +++ b/models/models/model_rule_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type RuleStatus string + +// List of RuleStatus +const ( + RuleStatus_ACTIVE RuleStatus = "ACTIVE" + RuleStatus_INACTIVE RuleStatus = "INACTIVE" +) diff --git a/models/models/model_sac_event.go b/models/models/model_sac_event.go new file mode 100644 index 00000000..1554d620 --- /dev/null +++ b/models/models/model_sac_event.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes an event to be subscribed +type SacEvent struct { + EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + EventTrigger SacEventTrigger `json:"eventTrigger,omitempty" yaml:"eventTrigger" bson:"eventTrigger,omitempty"` + EventFilter []Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` + // indicating a time in seconds. + NotificationPeriod int32 `json:"notificationPeriod,omitempty" yaml:"notificationPeriod" bson:"notificationPeriod,omitempty"` + NotifThreshold *SacInfo `json:"notifThreshold,omitempty" yaml:"notifThreshold" bson:"notifThreshold,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` +} diff --git a/models/models/model_sac_event_report.go b/models/models/model_sac_event_report.go new file mode 100644 index 00000000..24a7b3eb --- /dev/null +++ b/models/models/model_sac_event_report.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Event notification +type SacEventReport struct { + Report *SacEventReportItem `json:"report" yaml:"report" bson:"report,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` +} diff --git a/models/models/model_sac_event_report_item.go b/models/models/model_sac_event_report_item.go new file mode 100644 index 00000000..0675c384 --- /dev/null +++ b/models/models/model_sac_event_report_item.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a report triggered by a subscribed event type +type SacEventReportItem struct { + EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + EventState *SacEventState `json:"eventState" yaml:"eventState" bson:"eventState,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + EventFilter *Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` + SliceStautsInfo *SacEventStatus `json:"sliceStautsInfo,omitempty" yaml:"sliceStautsInfo" bson:"sliceStautsInfo,omitempty"` +} diff --git a/models/models/model_sac_event_state.go b/models/models/model_sac_event_state.go new file mode 100644 index 00000000..17b4a6d9 --- /dev/null +++ b/models/models/model_sac_event_state.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the state of a subscribed event +type SacEventState struct { + Active bool `json:"active" yaml:"active" bson:"active,omitempty"` + RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` + // indicating a time in seconds. + RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` +} diff --git a/models/models/model_sac_event_status.go b/models/models/model_sac_event_status.go new file mode 100644 index 00000000..e9548b71 --- /dev/null +++ b/models/models/model_sac_event_status.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the network slice status information in terms of the current number of UEs registered with a network slice, the current number of PDU Sessions established on a network slice or both. +type SacEventStatus struct { + ReachedNumUes *SacInfo `json:"reachedNumUes,omitempty" yaml:"reachedNumUes" bson:"reachedNumUes,omitempty"` + ReachedNumPduSess *SacInfo `json:"reachedNumPduSess,omitempty" yaml:"reachedNumPduSess" bson:"reachedNumPduSess,omitempty"` +} diff --git a/models/models/model_sac_event_subscription.go b/models/models/model_sac_event_subscription.go new file mode 100644 index 00000000..d966575a --- /dev/null +++ b/models/models/model_sac_event_subscription.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Request data to create the event subscription +type SacEventSubscription struct { + Event *SacEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // String providing an URI formatted according to RFC 3986. + EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_sac_event_trigger.go b/models/models/model_sac_event_trigger.go new file mode 100644 index 00000000..be595ae4 --- /dev/null +++ b/models/models/model_sac_event_trigger.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SacEventTrigger string + +// List of SACEventTrigger +const ( + SacEventTrigger_THRESHOLD SacEventTrigger = "THRESHOLD" + SacEventTrigger_PERIODIC SacEventTrigger = "PERIODIC" +) diff --git a/models/models/model_sac_event_type.go b/models/models/model_sac_event_type.go new file mode 100644 index 00000000..80a2597b --- /dev/null +++ b/models/models/model_sac_event_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SacEventType string + +// List of SACEventType +const ( + SacEventType_REGD_UES SacEventType = "NUM_OF_REGD_UES" + SacEventType_ESTD_PDU_SESSIONS SacEventType = "NUM_OF_ESTD_PDU_SESSIONS" +) diff --git a/models/models/model_sac_info.go b/models/models/model_sac_info.go new file mode 100644 index 00000000..44021744 --- /dev/null +++ b/models/models/model_sac_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents threshold(s) to control the triggering of network slice reporting notifications or the information contained in the network slice reporting notification. +type SacInfo struct { + NumericValNumUes int32 `json:"numericValNumUes,omitempty" yaml:"numericValNumUes" bson:"numericValNumUes,omitempty"` + NumericValNumPduSess int32 `json:"numericValNumPduSess,omitempty" yaml:"numericValNumPduSess" bson:"numericValNumPduSess,omitempty"` + PercValueNumUes int32 `json:"percValueNumUes,omitempty" yaml:"percValueNumUes" bson:"percValueNumUes,omitempty"` + PercValueNumPduSess int32 `json:"percValueNumPduSess,omitempty" yaml:"percValueNumPduSess" bson:"percValueNumPduSess,omitempty"` +} diff --git a/models/models/model_satellite_backhaul_category.go b/models/models/model_satellite_backhaul_category.go new file mode 100644 index 00000000..ac25a1a5 --- /dev/null +++ b/models/models/model_satellite_backhaul_category.go @@ -0,0 +1,24 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SatelliteBackhaulCategory string + +// List of SatelliteBackhaulCategory +const ( + SatelliteBackhaulCategory_GEO SatelliteBackhaulCategory = "GEO" + SatelliteBackhaulCategory_MEO SatelliteBackhaulCategory = "MEO" + SatelliteBackhaulCategory_LEO SatelliteBackhaulCategory = "LEO" + SatelliteBackhaulCategory_OTHER_SAT SatelliteBackhaulCategory = "OTHER_SAT" + SatelliteBackhaulCategory_NON_SATELLITE SatelliteBackhaulCategory = "NON_SATELLITE" +) diff --git a/models/models/model_sbi_binding_level.go b/models/models/model_sbi_binding_level.go new file mode 100644 index 00000000..e3169e90 --- /dev/null +++ b/models/models/model_sbi_binding_level.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SbiBindingLevel string + +// List of SbiBindingLevel +const ( + SbiBindingLevel_INSTANCE_BINDING SbiBindingLevel = "NF_INSTANCE_BINDING" + SbiBindingLevel_SET_BINDING SbiBindingLevel = "NF_SET_BINDING" + SbiBindingLevel_SERVICE_SET_BINDING SbiBindingLevel = "NF_SERVICE_SET_BINDING" + SbiBindingLevel_SERVICE_INSTANCE_BINDING SbiBindingLevel = "NF_SERVICE_INSTANCE_BINDING" +) diff --git a/models/models/model_sc_type.go b/models/models/model_sc_type.go new file mode 100644 index 00000000..bc26de25 --- /dev/null +++ b/models/models/model_sc_type.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScType string + +// List of ScType +const ( + ScType_NATIVE ScType = "NATIVE" + ScType_MAPPED ScType = "MAPPED" +) diff --git a/models/models/model_scheduled_communication_time.go b/models/models/model_scheduled_communication_time.go new file mode 100644 index 00000000..65c59d6a --- /dev/null +++ b/models/models/model_scheduled_communication_time.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies time and day of the week when the UE is available for communication. +type ScheduledCommunicationTime struct { + // Identifies the day(s) of the week. If absent, it indicates every day of the week. + DaysOfWeek []int32 `json:"daysOfWeek,omitempty" yaml:"daysOfWeek" bson:"daysOfWeek,omitempty"` + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDayStart string `json:"timeOfDayStart,omitempty" yaml:"timeOfDayStart" bson:"timeOfDayStart,omitempty"` + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDayEnd string `json:"timeOfDayEnd,omitempty" yaml:"timeOfDayEnd" bson:"timeOfDayEnd,omitempty"` +} diff --git a/models/models/model_scheduled_communication_time_rm.go b/models/models/model_scheduled_communication_time_rm.go new file mode 100644 index 00000000..66251571 --- /dev/null +++ b/models/models/model_scheduled_communication_time_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationTimeRm struct { +} diff --git a/models/models/model_scheduled_communication_type.go b/models/models/model_scheduled_communication_type.go new file mode 100644 index 00000000..2e671780 --- /dev/null +++ b/models/models/model_scheduled_communication_type.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationType string + +// List of ScheduledCommunicationType +const ( + ScheduledCommunicationType_DOWNLINK_ONLY ScheduledCommunicationType = "DOWNLINK_ONLY" + ScheduledCommunicationType_UPLINK_ONLY ScheduledCommunicationType = "UPLINK_ONLY" + ScheduledCommunicationType_BIDIRECTIONAL ScheduledCommunicationType = "BIDIRECTIONAL" +) diff --git a/models/models/model_scheduled_communication_type_rm.go b/models/models/model_scheduled_communication_type_rm.go new file mode 100644 index 00000000..0e2e7117 --- /dev/null +++ b/models/models/model_scheduled_communication_type_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScheduledCommunicationTypeRm struct { +} diff --git a/models/models/model_scp_capability.go b/models/models/model_scp_capability.go new file mode 100644 index 00000000..57d569d5 --- /dev/null +++ b/models/models/model_scp_capability.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ScpCapability string + +// List of ScpCapability +const ( + ScpCapability_INDIRECT_COM_WITH_DELEG_DISC ScpCapability = "INDIRECT_COM_WITH_DELEG_DISC" +) diff --git a/models/models/model_scp_domain_cond.go b/models/models/model_scp_domain_cond.go new file mode 100644 index 00000000..720d5d91 --- /dev/null +++ b/models/models/model_scp_domain_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF or SCP or SEPP instances belonging to certain SCP domains +type ScpDomainCond struct { + ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` + NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` +} diff --git a/models/models/model_scp_domain_connectivity.go b/models/models/model_scp_domain_connectivity.go new file mode 100644 index 00000000..15b02c4e --- /dev/null +++ b/models/models/model_scp_domain_connectivity.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Connectivity Information +type ScpDomainConnectivity struct { + ConnectedScpDomainList []string `json:"connectedScpDomainList" yaml:"connectedScpDomainList" bson:"connectedScpDomainList,omitempty"` +} diff --git a/models/models/model_scp_domain_info.go b/models/models/model_scp_domain_info.go new file mode 100644 index 00000000..599210cc --- /dev/null +++ b/models/models/model_scp_domain_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain specific information +type ScpDomainInfo struct { + // Fully Qualified Domain Name + ScpFqdn string `json:"scpFqdn,omitempty" yaml:"scpFqdn" bson:"scpFqdn,omitempty"` + ScpIpEndPoints []IpEndPoint `json:"scpIpEndPoints,omitempty" yaml:"scpIpEndPoints" bson:"scpIpEndPoints,omitempty"` + ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` +} diff --git a/models/models/model_scp_domain_routing_info_notification.go b/models/models/model_scp_domain_routing_info_notification.go new file mode 100644 index 00000000..293552b7 --- /dev/null +++ b/models/models/model_scp_domain_routing_info_notification.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Routing Information Notification +type ScpDomainRoutingInfoNotification struct { + RoutingInfo *ScpDomainRoutingInformation `json:"routingInfo" yaml:"routingInfo" bson:"routingInfo,omitempty"` + LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` +} diff --git a/models/models/model_scp_domain_routing_info_subscription.go b/models/models/model_scp_domain_routing_info_subscription.go new file mode 100644 index 00000000..8e610eca --- /dev/null +++ b/models/models/model_scp_domain_routing_info_subscription.go @@ -0,0 +1,28 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// SCP Domain Routing Information Subscription +type ScpDomainRoutingInfoSubscription struct { + // String providing an URI formatted according to RFC 3986. + CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ReqInstanceId string `json:"reqInstanceId,omitempty" yaml:"reqInstanceId" bson:"reqInstanceId,omitempty"` + LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` +} diff --git a/models/models/model_scp_domain_routing_information.go b/models/models/model_scp_domain_routing_information.go new file mode 100644 index 00000000..b31f497b --- /dev/null +++ b/models/models/model_scp_domain_routing_information.go @@ -0,0 +1,19 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SCP Domain Routing Information +type ScpDomainRoutingInformation struct { + // This IE shall contain a map of SCP domain interconnection information, where the key of the map is a SCP domain. The value of each entry shall be the interconnectivity information of the the SCP domain indicated by the key. An empty map indicates that there is no SCP domain currently registered in the NRF. + ScpDomainList map[string]ScpDomainConnectivity `json:"scpDomainList" yaml:"scpDomainList" bson:"scpDomainList,omitempty"` +} diff --git a/models/models/model_scp_info.go b/models/models/model_scp_info.go new file mode 100644 index 00000000..a6cc9a5f --- /dev/null +++ b/models/models/model_scp_info.go @@ -0,0 +1,32 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an SCP Instance +type ScpInfo struct { + // A map (list of key-value pairs) where the key of the map shall be the string identifying an SCP domain + ScpDomainInfoList map[string]ScpDomainInfo `json:"scpDomainInfoList,omitempty" yaml:"scpDomainInfoList" bson:"scpDomainInfoList,omitempty"` + ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` + AddressDomains []string `json:"addressDomains,omitempty" yaml:"addressDomains" bson:"addressDomains,omitempty"` + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv4AddrRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddrRanges,omitempty" yaml:"ipv4AddrRanges" bson:"ipv4AddrRanges,omitempty"` + Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` + ServedNfSetIdList []string `json:"servedNfSetIdList,omitempty" yaml:"servedNfSetIdList" bson:"servedNfSetIdList,omitempty"` + RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` + RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` + IpReachability IpReachability `json:"ipReachability,omitempty" yaml:"ipReachability" bson:"ipReachability,omitempty"` + ScpCapabilities []ScpCapability `json:"scpCapabilities,omitempty" yaml:"scpCapabilities" bson:"scpCapabilities,omitempty"` +} diff --git a/models/models/model_scscf_capability_list.go b/models/models/model_scscf_capability_list.go new file mode 100644 index 00000000..65c0561b --- /dev/null +++ b/models/models/model_scscf_capability_list.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about mandatory and optional S-CSCF capabilities +type ScscfCapabilityList struct { + // A list of capabilities of the S-CSCF + MandatoryCapabilityList []int32 `json:"mandatoryCapabilityList,omitempty" yaml:"mandatoryCapabilityList" bson:"mandatoryCapabilityList,omitempty"` + // A list of capabilities of the S-CSCF + OptionalCapabilityList []int32 `json:"optionalCapabilityList,omitempty" yaml:"optionalCapabilityList" bson:"optionalCapabilityList,omitempty"` +} diff --git a/models/models/model_scscf_registration.go b/models/models/model_scscf_registration.go new file mode 100644 index 00000000..6bbfc112 --- /dev/null +++ b/models/models/model_scscf_registration.go @@ -0,0 +1,38 @@ +/* + * Nhss_imsUECM + * + * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Scscf Registration +type ScscfRegistration struct { + // IMS Private Identity of the UE + Impi string `json:"impi,omitempty" yaml:"impi" bson:"impi,omitempty"` + ImsRegistrationType ImsRegistrationType `json:"imsRegistrationType" yaml:"imsRegistrationType" bson:"imsRegistrationType,omitempty"` + CscfServerName string `json:"cscfServerName" yaml:"cscfServerName" bson:"cscfServerName,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ScscfInstanceId string `json:"scscfInstanceId,omitempty" yaml:"scscfInstanceId" bson:"scscfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + AssociatedImpis []string `json:"associatedImpis,omitempty" yaml:"associatedImpis" bson:"associatedImpis,omitempty"` + AssociatedRegisteredImpis []string `json:"associatedRegisteredImpis,omitempty" yaml:"associatedRegisteredImpis" bson:"associatedRegisteredImpis,omitempty"` + IrsImpus []string `json:"irsImpus,omitempty" yaml:"irsImpus" bson:"irsImpus,omitempty"` + // IMS Public Identity of the UE (sip URI or tel URI) + WildcardedPui string `json:"wildcardedPui,omitempty" yaml:"wildcardedPui" bson:"wildcardedPui,omitempty"` + LooseRouteIndicator LooseRouteIndication `json:"looseRouteIndicator,omitempty" yaml:"looseRouteIndicator" bson:"looseRouteIndicator,omitempty"` + // IMS Public Identity of the UE (sip URI or tel URI) + WildcardedPsi string `json:"wildcardedPsi,omitempty" yaml:"wildcardedPsi" bson:"wildcardedPsi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MultipleRegistrationIndicator bool `json:"multipleRegistrationIndicator,omitempty" yaml:"multipleRegistrationIndicator" bson:"multipleRegistrationIndicator,omitempty"` + PcscfRestorationIndicator bool `json:"pcscfRestorationIndicator,omitempty" yaml:"pcscfRestorationIndicator" bson:"pcscfRestorationIndicator,omitempty"` + ScscfReselectionIndicator bool `json:"scscfReselectionIndicator,omitempty" yaml:"scscfReselectionIndicator" bson:"scscfReselectionIndicator,omitempty"` +} diff --git a/models/models/model_scscf_selection_assistance_information.go b/models/models/model_scscf_selection_assistance_information.go new file mode 100644 index 00000000..cc6967e6 --- /dev/null +++ b/models/models/model_scscf_selection_assistance_information.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information used by the I-CSCF to select an S-CSCF for the UE +type ScscfSelectionAssistanceInformation struct { + ScscfCapabilityList *ScscfCapabilityList `json:"scscfCapabilityList,omitempty" yaml:"scscfCapabilityList" bson:"scscfCapabilityList,omitempty"` + ScscfNames []string `json:"scscfNames,omitempty" yaml:"scscfNames" bson:"scscfNames,omitempty"` +} diff --git a/models/models/model_sd_range.go b/models/models/model_sd_range.go new file mode 100644 index 00000000..4a0b5e39 --- /dev/null +++ b/models/models/model_sd_range.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of SDs (Slice Differentiators) +type SdRange struct { + // First value identifying the start of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + // Last value identifying the end of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` +} diff --git a/models/models/model_sdm_subs_modification.go b/models/models/model_sdm_subs_modification.go new file mode 100644 index 00000000..e5e76921 --- /dev/null +++ b/models/models/model_sdm_subs_modification.go @@ -0,0 +1,23 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SdmSubsModification struct { + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` +} diff --git a/models/models/model_sdm_subscription.go b/models/models/model_sdm_subscription.go new file mode 100644 index 00000000..68f21ba6 --- /dev/null +++ b/models/models/model_sdm_subscription.go @@ -0,0 +1,46 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SdmSubscription struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` + Report *ImmediateReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/models/model_sdp_description.go b/models/models/model_sdp_description.go new file mode 100644 index 00000000..87c98750 --- /dev/null +++ b/models/models/model_sdp_description.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a SDP line (and optionally the value in the line) within the body (if any) of a SIP request +type SdpDescription struct { + Line string `json:"line" yaml:"line" bson:"line,omitempty"` + Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` +} diff --git a/models/models/model_sdp_media_component.go b/models/models/model_sdp_media_component.go new file mode 100644 index 00000000..5c10c960 --- /dev/null +++ b/models/models/model_sdp_media_component.go @@ -0,0 +1,26 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SdpMediaComponent struct { + SDPMediaName string `json:"sDPMediaName,omitempty" yaml:"sDPMediaName" bson:"sDPMediaName,omitempty"` + SDPMediaDescription []string `json:"SDPMediaDescription,omitempty" yaml:"SDPMediaDescription" bson:"SDPMediaDescription,omitempty"` + LocalGWInsertedIndication bool `json:"localGWInsertedIndication,omitempty" yaml:"localGWInsertedIndication" bson:"localGWInsertedIndication,omitempty"` + IpRealmDefaultIndication bool `json:"ipRealmDefaultIndication,omitempty" yaml:"ipRealmDefaultIndication" bson:"ipRealmDefaultIndication,omitempty"` + TranscoderInsertedIndication bool `json:"transcoderInsertedIndication,omitempty" yaml:"transcoderInsertedIndication" bson:"transcoderInsertedIndication,omitempty"` + MediaInitiatorFlag MediaInitiatorFlag `json:"mediaInitiatorFlag,omitempty" yaml:"mediaInitiatorFlag" bson:"mediaInitiatorFlag,omitempty"` + MediaInitiatorParty string `json:"mediaInitiatorParty,omitempty" yaml:"mediaInitiatorParty" bson:"mediaInitiatorParty,omitempty"` + ThreeGPPChargingId string `json:"threeGPPChargingId,omitempty" yaml:"threeGPPChargingId" bson:"threeGPPChargingId,omitempty"` + AccessNetworkChargingIdentifierValue string `json:"accessNetworkChargingIdentifierValue,omitempty" yaml:"accessNetworkChargingIdentifierValue" bson:"accessNetworkChargingIdentifierValue,omitempty"` + SDPType SdpType `json:"sDPType,omitempty" yaml:"sDPType" bson:"sDPType,omitempty"` +} diff --git a/models/models/model_sdp_time_stamps.go b/models/models/model_sdp_time_stamps.go new file mode 100644 index 00000000..f5dd8128 --- /dev/null +++ b/models/models/model_sdp_time_stamps.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SdpTimeStamps struct { + // string with format 'date-time' as defined in OpenAPI. + SDPOfferTimestamp *time.Time `json:"sDPOfferTimestamp,omitempty" yaml:"sDPOfferTimestamp" bson:"sDPOfferTimestamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SDPAnswerTimestamp *time.Time `json:"sDPAnswerTimestamp,omitempty" yaml:"sDPAnswerTimestamp" bson:"sDPAnswerTimestamp,omitempty"` +} diff --git a/models/models/model_sdp_type.go b/models/models/model_sdp_type.go new file mode 100644 index 00000000..999aa8c8 --- /dev/null +++ b/models/models/model_sdp_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SdpType string + +// List of SDPType +const ( + SdpType_OFFER SdpType = "OFFER" + SdpType_ANSWER SdpType = "ANSWER" +) diff --git a/models/models/model_seaf_data.go b/models/models/model_seaf_data.go new file mode 100644 index 00000000..d0f25e26 --- /dev/null +++ b/models/models/model_seaf_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents SEAF data derived from data received from AUSF +type SeafData struct { + NgKsi *NgKsi `json:"ngKsi" yaml:"ngKsi" bson:"ngKsi,omitempty"` + KeyAmf *KeyAmf `json:"keyAmf" yaml:"keyAmf" bson:"keyAmf,omitempty"` + Nh string `json:"nh,omitempty" yaml:"nh" bson:"nh,omitempty"` + Ncc int32 `json:"ncc,omitempty" yaml:"ncc" bson:"ncc,omitempty"` + KeyAmfChangeInd bool `json:"keyAmfChangeInd,omitempty" yaml:"keyAmfChangeInd" bson:"keyAmfChangeInd,omitempty"` + KeyAmfHDerivationInd bool `json:"keyAmfHDerivationInd,omitempty" yaml:"keyAmfHDerivationInd" bson:"keyAmfHDerivationInd,omitempty"` +} diff --git a/models/models/model_search_comparison.go b/models/models/model_search_comparison.go new file mode 100644 index 00000000..357b93be --- /dev/null +++ b/models/models/model_search_comparison.go @@ -0,0 +1,20 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A comparison to apply on tag/values pairs. +type SearchComparison struct { + Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` + Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/models/model_search_condition.go b/models/models/model_search_condition.go new file mode 100644 index 00000000..03d4fc68 --- /dev/null +++ b/models/models/model_search_condition.go @@ -0,0 +1,21 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A logical condition +type SearchCondition struct { + Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` + Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` +} diff --git a/models/models/model_search_expression.go b/models/models/model_search_expression.go new file mode 100644 index 00000000..71884092 --- /dev/null +++ b/models/models/model_search_expression.go @@ -0,0 +1,25 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A logical expression element +type SearchExpression struct { + Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` + Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` + // Represents the Identifier of a Meta schema. + SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` + Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` + Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` + Value string `json:"value" yaml:"value" bson:"value,omitempty"` + RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` +} diff --git a/models/models/model_search_result.go b/models/models/model_search_result.go new file mode 100644 index 00000000..3ed2a954 --- /dev/null +++ b/models/models/model_search_result.go @@ -0,0 +1,29 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the list of NF Profiles returned in a Discovery response +type SearchResult struct { + ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` + NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` + SearchId string `json:"searchId,omitempty" yaml:"searchId" bson:"searchId,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumNfInstComplete int32 `json:"numNfInstComplete,omitempty" yaml:"numNfInstComplete" bson:"numNfInstComplete,omitempty"` + PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` + // List of matching NF instances. The key of the map is the NF instance ID. + NfInstanceList map[string]NfInstanceInfo `json:"nfInstanceList,omitempty" yaml:"nfInstanceList" bson:"nfInstanceList,omitempty"` + AlteredPriorityInd bool `json:"alteredPriorityInd,omitempty" yaml:"alteredPriorityInd" bson:"alteredPriorityInd,omitempty"` + NoProfileMatchInfo *NoProfileMatchInfo `json:"noProfileMatchInfo,omitempty" yaml:"noProfileMatchInfo" bson:"noProfileMatchInfo,omitempty"` +} diff --git a/models/models/model_secondary_rat_usage_info.go b/models/models/model_secondary_rat_usage_info.go new file mode 100644 index 00000000..f2c49160 --- /dev/null +++ b/models/models/model_secondary_rat_usage_info.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Secondary RAT Usage Information to report usage data for a secondary RAT for QoS flows and/or the whole PDU session. +type SecondaryRatUsageInfo struct { + SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` + QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData,omitempty" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` + PduSessionUsageData []VolumeTimedReport `json:"pduSessionUsageData,omitempty" yaml:"pduSessionUsageData" bson:"pduSessionUsageData,omitempty"` +} diff --git a/models/models/model_secondary_rat_usage_report.go b/models/models/model_secondary_rat_usage_report.go new file mode 100644 index 00000000..ffb91c54 --- /dev/null +++ b/models/models/model_secondary_rat_usage_report.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Secondary RAT Usage Report to report usage data for a secondary RAT for QoS flows. +type SecondaryRatUsageReport struct { + SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` + QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` +} diff --git a/models/models/model_security_result.go b/models/models/model_security_result.go new file mode 100644 index 00000000..480a1302 --- /dev/null +++ b/models/models/model_security_result.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Security Result +type SecurityResult struct { + IntegrityProtectionResult ProtectionResult `json:"integrityProtectionResult,omitempty" yaml:"integrityProtectionResult" bson:"integrityProtectionResult,omitempty"` + ConfidentialityProtectionResult ProtectionResult `json:"confidentialityProtectionResult,omitempty" yaml:"confidentialityProtectionResult" bson:"confidentialityProtectionResult,omitempty"` +} diff --git a/models/models/model_send_mo_data_req_data.go b/models/models/model_send_mo_data_req_data.go new file mode 100644 index 00000000..8fc7d6f7 --- /dev/null +++ b/models/models/model_send_mo_data_req_data.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Send MO Data Request +type SendMoDataReqData struct { + MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` +} diff --git a/models/models/model_send_mo_data_request.go b/models/models/model_send_mo_data_request.go new file mode 100644 index 00000000..556cb55f --- /dev/null +++ b/models/models/model_send_mo_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendMoDataRequest struct { + JsonData *SendMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` +} diff --git a/models/models/model_send_sms_request.go b/models/models/model_send_sms_request.go new file mode 100644 index 00000000..2bad8dc7 --- /dev/null +++ b/models/models/model_send_sms_request.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendSmsRequest struct { + JsonData *SmsData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` +} diff --git a/models/models/model_send_sms_response_200.go b/models/models/model_send_sms_response_200.go new file mode 100644 index 00000000..8eb528b2 --- /dev/null +++ b/models/models/model_send_sms_response_200.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SendSmsResponse200 struct { + JsonData *SmsDeliveryData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` +} diff --git a/models/models/model_sensor_measurement.go b/models/models/model_sensor_measurement.go new file mode 100644 index 00000000..8a3c75db --- /dev/null +++ b/models/models/model_sensor_measurement.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SensorMeasurement string + +// List of SensorMeasurement +const ( + SensorMeasurement_BAROMETRIC_PRESSURE SensorMeasurement = "BAROMETRIC_PRESSURE" + SensorMeasurement_UE_SPEED SensorMeasurement = "UE_SPEED" + SensorMeasurement_UE_ORIENTATION SensorMeasurement = "UE_ORIENTATION" +) diff --git a/models/models/model_sepp_info.go b/models/models/model_sepp_info.go new file mode 100644 index 00000000..503d438f --- /dev/null +++ b/models/models/model_sepp_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a SEPP Instance +type SeppInfo struct { + SeppPrefix string `json:"seppPrefix,omitempty" yaml:"seppPrefix" bson:"seppPrefix,omitempty"` + // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". + SeppPorts map[string]int32 `json:"seppPorts,omitempty" yaml:"seppPorts" bson:"seppPorts,omitempty"` + RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` + RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` +} diff --git a/models/models/model_sequence_number.go b/models/models/model_sequence_number.go new file mode 100644 index 00000000..74c893c6 --- /dev/null +++ b/models/models/model_sequence_number.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SQN. +type SequenceNumber struct { + SqnScheme SqnScheme `json:"sqnScheme,omitempty" yaml:"sqnScheme" bson:"sqnScheme,omitempty"` + Sqn string `json:"sqn,omitempty" yaml:"sqn" bson:"sqn,omitempty"` + LastIndexes map[string]int32 `json:"lastIndexes,omitempty" yaml:"lastIndexes" bson:"lastIndexes,omitempty"` + IndLength int32 `json:"indLength,omitempty" yaml:"indLength" bson:"indLength,omitempty"` + DifSign Sign `json:"difSign,omitempty" yaml:"difSign" bson:"difSign,omitempty"` +} diff --git a/models/models/model_serv_auth_info.go b/models/models/model_serv_auth_info.go new file mode 100644 index 00000000..501a9ee7 --- /dev/null +++ b/models/models/model_serv_auth_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServAuthInfo string + +// List of ServAuthInfo +const ( + ServAuthInfo_TP_NOT_KNOWN ServAuthInfo = "TP_NOT_KNOWN" + ServAuthInfo_TP_EXPIRED ServAuthInfo = "TP_EXPIRED" + ServAuthInfo_TP_NOT_YET_OCURRED ServAuthInfo = "TP_NOT_YET_OCURRED" + ServAuthInfo_ROUT_REQ_NOT_AUTHORIZED ServAuthInfo = "ROUT_REQ_NOT_AUTHORIZED" +) diff --git a/models/models/model_server_addressing_info.go b/models/models/model_server_addressing_info.go new file mode 100644 index 00000000..7fa25b7b --- /dev/null +++ b/models/models/model_server_addressing_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains addressing information (IP addresses and/or FQDNs) of a server. +type ServerAddressingInfo struct { + Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` + FqdnList []string `json:"fqdnList,omitempty" yaml:"fqdnList" bson:"fqdnList,omitempty"` +} diff --git a/models/models/model_server_capabilities.go b/models/models/model_server_capabilities.go new file mode 100644 index 00000000..ab7c50c8 --- /dev/null +++ b/models/models/model_server_capabilities.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServerCapabilities struct { + MandatoryCapability []int32 `json:"mandatoryCapability,omitempty" yaml:"mandatoryCapability" bson:"mandatoryCapability,omitempty"` + OptionalCapability []int32 `json:"optionalCapability,omitempty" yaml:"optionalCapability" bson:"optionalCapability,omitempty"` + ServerName []string `json:"serverName,omitempty" yaml:"serverName" bson:"serverName,omitempty"` +} diff --git a/models/models/model_service_area_coverage_info.go b/models/models/model_service_area_coverage_info.go new file mode 100644 index 00000000..70a39ad8 --- /dev/null +++ b/models/models/model_service_area_coverage_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents a list of Tracking Areas within a serving network. +type ServiceAreaCoverageInfo struct { + // Indicates a list of Tracking Areas where the service is allowed. + TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` +} diff --git a/models/models/model_service_area_id.go b/models/models/model_service_area_id.go new file mode 100644 index 00000000..5830050e --- /dev/null +++ b/models/models/model_service_area_id.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a Service Area Identifier as defined in 3GPP TS 23.003, clause 12.5. +type ServiceAreaId struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Location Area Code. + Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` + // Service Area Code. + Sac string `json:"sac" yaml:"sac" bson:"sac,omitempty"` +} diff --git a/models/models/model_service_area_restriction.go b/models/models/model_service_area_restriction.go new file mode 100644 index 00000000..5d5b05b7 --- /dev/null +++ b/models/models/model_service_area_restriction.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides information about allowed or not allowed areas. +type ServiceAreaRestriction struct { + RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` + Areas []Area `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumOfTAs int32 `json:"maxNumOfTAs,omitempty" yaml:"maxNumOfTAs" bson:"maxNumOfTAs,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumOfTAsForNotAllowedAreas int32 `json:"maxNumOfTAsForNotAllowedAreas,omitempty" yaml:"maxNumOfTAsForNotAllowedAreas" bson:"maxNumOfTAsForNotAllowedAreas,omitempty"` +} diff --git a/models/models/model_service_data_flow_description.go b/models/models/model_service_data_flow_description.go new file mode 100644 index 00000000..1bf2e79d --- /dev/null +++ b/models/models/model_service_data_flow_description.go @@ -0,0 +1,18 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceDataFlowDescription struct { + FlowDescription *IpPacketFilterSet `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` + DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` +} diff --git a/models/models/model_service_experience_info_per_app.go b/models/models/model_service_experience_info_per_app.go new file mode 100644 index 00000000..ef22b1dd --- /dev/null +++ b/models/models/model_service_experience_info_per_app.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with an application. +type ServiceExperienceInfoPerApp struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + AppServerIns *AddrFqdn `json:"appServerIns,omitempty" yaml:"appServerIns" bson:"appServerIns,omitempty"` + SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` +} diff --git a/models/models/model_service_experience_info_per_flow.go b/models/models/model_service_experience_info_per_flow.go new file mode 100644 index 00000000..e64c4d38 --- /dev/null +++ b/models/models/model_service_experience_info_per_flow.go @@ -0,0 +1,23 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains service experience information associated with a service flow. +type ServiceExperienceInfoPerFlow struct { + SvcExprc *SvcExperience `json:"svcExprc,omitempty" yaml:"svcExprc" bson:"svcExprc,omitempty"` + TimeIntev *TimeWindow `json:"timeIntev,omitempty" yaml:"timeIntev" bson:"timeIntev,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` +} diff --git a/models/models/model_service_experience_type.go b/models/models/model_service_experience_type.go new file mode 100644 index 00000000..e2e6d8e5 --- /dev/null +++ b/models/models/model_service_experience_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceExperienceType string + +// List of ServiceExperienceType +const ( + ServiceExperienceType_VOICE ServiceExperienceType = "VOICE" + ServiceExperienceType_VIDEO ServiceExperienceType = "VIDEO" + ServiceExperienceType_OTHER ServiceExperienceType = "OTHER" +) diff --git a/models/models/model_service_identification.go b/models/models/model_service_identification.go new file mode 100644 index 00000000..0321925c --- /dev/null +++ b/models/models/model_service_identification.go @@ -0,0 +1,21 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the service to which the subscription applies. +type ServiceIdentification struct { + ServEthFlows []EthernetFlowInfo `json:"servEthFlows,omitempty" yaml:"servEthFlows" bson:"servEthFlows,omitempty"` + ServIpFlows []IpFlowInfo `json:"servIpFlows,omitempty" yaml:"servIpFlows" bson:"servIpFlows,omitempty"` + // Contains an AF application identifier. + AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` +} diff --git a/models/models/model_service_info_status.go b/models/models/model_service_info_status.go new file mode 100644 index 00000000..becde742 --- /dev/null +++ b/models/models/model_service_info_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceInfoStatus string + +// List of ServiceInfoStatus +const ( + ServiceInfoStatus_FINAL ServiceInfoStatus = "FINAL" + ServiceInfoStatus_PRELIMINARY ServiceInfoStatus = "PRELIMINARY" +) diff --git a/models/models/model_service_information.go b/models/models/model_service_information.go new file mode 100644 index 00000000..822d600a --- /dev/null +++ b/models/models/model_service_information.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceInformation string + +// List of ServiceInformation +const ( + ServiceInformation_REQUEST ServiceInformation = "INCLUDE_REGISTER_REQUEST" + ServiceInformation_RESPONSE ServiceInformation = "INCLUDE_REGISTER_RESPONSE" +) diff --git a/models/models/model_service_level_trace_information.go b/models/models/model_service_level_trace_information.go new file mode 100644 index 00000000..110e91cc --- /dev/null +++ b/models/models/model_service_level_trace_information.go @@ -0,0 +1,18 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IMS Service Level Trace Information +type ServiceLevelTraceInformation struct { + ServiceLevelTraceInfo string `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` +} diff --git a/models/models/model_service_name.go b/models/models/model_service_name.go new file mode 100644 index 00000000..191ef4c4 --- /dev/null +++ b/models/models/model_service_name.go @@ -0,0 +1,165 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceName string + +// List of ServiceName +const ( + ServiceName_NNRF_NFM ServiceName = "nnrf-nfm" + ServiceName_NNRF_DISC ServiceName = "nnrf-disc" + ServiceName_NNRF_OAUTH2 ServiceName = "nnrf-oauth2" + ServiceName_NNRF_OAM ServiceName = "nnrf-oam" + ServiceName_NNRF_CMI ServiceName = "nnrf-cmi" + ServiceName_NUDM_SDM ServiceName = "nudm-sdm" + ServiceName_NUDM_UECM ServiceName = "nudm-uecm" + ServiceName_NUDM_UEAU ServiceName = "nudm-ueau" + ServiceName_NUDM_EE ServiceName = "nudm-ee" + ServiceName_NUDM_PP ServiceName = "nudm-pp" + ServiceName_NUDM_NIDDAU ServiceName = "nudm-niddau" + ServiceName_NUDM_MT ServiceName = "nudm-mt" + ServiceName_NUDM_SSAU ServiceName = "nudm-ssau" + ServiceName_NUDM_RSDS ServiceName = "nudm-rsds" + ServiceName_NUDM_UEID ServiceName = "nudm-ueid" + ServiceName_NUDM_OAM ServiceName = "nudm-oam" + ServiceName_NUDM_CMI ServiceName = "nudm-cmi" + ServiceName_NAMF_COMM ServiceName = "namf-comm" + ServiceName_NAMF_EVTS ServiceName = "namf-evts" + ServiceName_NAMF_MT ServiceName = "namf-mt" + ServiceName_NAMF_LOC ServiceName = "namf-loc" + ServiceName_NAMF_MBS_COMM ServiceName = "namf-mbs-comm" + ServiceName_NAMF_MBS_BC ServiceName = "namf-mbs-bc" + ServiceName_NAMF_OAM ServiceName = "namf-oam" + ServiceName_NAMF_CMI ServiceName = "namf-cmi" + ServiceName_NSMF_PDUSESSION ServiceName = "nsmf-pdusession" + ServiceName_NSMF_EVENT_EXPOSURE ServiceName = "nsmf-event-exposure" + ServiceName_NSMF_NIDD ServiceName = "nsmf-nidd" + ServiceName_NSMF_OAM ServiceName = "nsmf-oam" + ServiceName_NSMF_CMI ServiceName = "nsmf-cmi" + ServiceName_NAUSF_AUTH ServiceName = "nausf-auth" + ServiceName_NAUSF_SORPROTECTION ServiceName = "nausf-sorprotection" + ServiceName_NAUSF_UPUPROTECTION ServiceName = "nausf-upuprotection" + ServiceName_NAUSF_OAM ServiceName = "nausf-oam" + ServiceName_NAUSF_CMI ServiceName = "nausf-cmi" + ServiceName_NNEF_PFDMANAGEMENT ServiceName = "nnef-pfdmanagement" + ServiceName_NNEF_SMCONTEXT ServiceName = "nnef-smcontext" + ServiceName_NNEF_EVENTEXPOSURE ServiceName = "nnef-eventexposure" + ServiceName_NNEF_EAS_DEPLOYMENT_INFO ServiceName = "nnef-eas-deployment-info" + ServiceName_NNEF_OAM ServiceName = "nnef-oam" + ServiceName_NNEF_CMI ServiceName = "nnef-cmi" + ServiceName_3GPP_CP_PARAMETER_PROVISIONING ServiceName = "3gpp-cp-parameter-provisioning" + ServiceName_3GPP_DEVICE_TRIGGERING ServiceName = "3gpp-device-triggering" + ServiceName_3GPP_BDT ServiceName = "3gpp-bdt" + ServiceName_3GPP_TRAFFIC_INFLUENCE ServiceName = "3gpp-traffic-influence" + ServiceName_3GPP_CHARGEABLE_PARTY ServiceName = "3gpp-chargeable-party" + ServiceName_3GPP_AS_SESSION_WITH_QOS ServiceName = "3gpp-as-session-with-qos" + ServiceName_3GPP_PFD_MANAGEMENT ServiceName = "3gpp-pfd-management" + ServiceName_3GPP_MSISDN_LESS_MO_SMS ServiceName = "3gpp-msisdn-less-mo-sms" + ServiceName_3GPP_SERVICE_PARAMETER ServiceName = "3gpp-service-parameter" + ServiceName_3GPP_MONITORING_EVENT ServiceName = "3gpp-monitoring-event" + ServiceName_3GPP_NIDD_CONFIGURATION_TRIGGER ServiceName = "3gpp-nidd-configuration-trigger" + ServiceName_3GPP_NIDD ServiceName = "3gpp-nidd" + ServiceName_3GPP_ANALYTICSEXPOSURE ServiceName = "3gpp-analyticsexposure" + ServiceName_3GPP_RACS_PARAMETER_PROVISIONING ServiceName = "3gpp-racs-parameter-provisioning" + ServiceName_3GPP_ECR_CONTROL ServiceName = "3gpp-ecr-control" + ServiceName_3GPP_APPLYING_BDT_POLICY ServiceName = "3gpp-applying-bdt-policy" + ServiceName_3GPP_MO_LCS_NOTIFY ServiceName = "3gpp-mo-lcs-notify" + ServiceName_3GPP_TIME_SYNC ServiceName = "3gpp-time-sync" + ServiceName_3GPP_AM_INFLUENCE ServiceName = "3gpp-am-influence" + ServiceName_3GPP_AM_POLICYAUTHORIZATION ServiceName = "3gpp-am-policyauthorization" + ServiceName_3GPP_AKMA ServiceName = "3gpp-akma" + ServiceName_3GPP_EAS_DEPLOYMENT ServiceName = "3gpp-eas-deployment" + ServiceName_3GPP_IPTVCONFIGURATION ServiceName = "3gpp-iptvconfiguration" + ServiceName_3GPP_MBS_TMGI ServiceName = "3gpp-mbs-tmgi" + ServiceName_3GPP_MBS_SESSION ServiceName = "3gpp-mbs-session" + ServiceName_3GPP_AUTHENTICATION ServiceName = "3gpp-authentication" + ServiceName_3GPP_ASTI ServiceName = "3gpp-asti" + ServiceName_NPCF_AM_POLICY_CONTROL ServiceName = "npcf-am-policy-control" + ServiceName_NPCF_SMPOLICYCONTROL ServiceName = "npcf-smpolicycontrol" + ServiceName_NPCF_POLICYAUTHORIZATION ServiceName = "npcf-policyauthorization" + ServiceName_NPCF_BDTPOLICYCONTROL ServiceName = "npcf-bdtpolicycontrol" + ServiceName_NPCF_EVENTEXPOSURE ServiceName = "npcf-eventexposure" + ServiceName_NPCF_UE_POLICY_CONTROL ServiceName = "npcf-ue-policy-control" + ServiceName_NPCF_AM_POLICYAUTHORIZATION ServiceName = "npcf-am-policyauthorization" + ServiceName_NPCF_MBSPOLICYCONTROL ServiceName = "npcf-mbspolicycontrol" + ServiceName_NPCF_MBSPOLICYAUTH ServiceName = "npcf-mbspolicyauth" + ServiceName_NPCF_OAM ServiceName = "npcf-oam" + ServiceName_NPCF_CMI ServiceName = "npcf-cmi" + ServiceName_NSMSF_SMS ServiceName = "nsmsf-sms" + ServiceName_NNSSF_NSSELECTION ServiceName = "nnssf-nsselection" + ServiceName_NNSSF_NSSAIAVAILABILITY ServiceName = "nnssf-nssaiavailability" + ServiceName_NNSSF_OAM ServiceName = "nnssf-oam" + ServiceName_NNSSF_CMI ServiceName = "nnssf-cmi" + ServiceName_NUDR_DR ServiceName = "nudr-dr" + ServiceName_NUDR_GROUP_ID_MAP ServiceName = "nudr-group-id-map" + ServiceName_NUDR_OAM ServiceName = "nudr-oam" + ServiceName_NUDR_CMI ServiceName = "nudr-cmi" + ServiceName_NLMF_LOC ServiceName = "nlmf-loc" + ServiceName_N5G_EIR_EIC ServiceName = "n5g-eir-eic" + ServiceName_NBSF_MANAGEMENT ServiceName = "nbsf-management" + ServiceName_NCHF_SPENDINGLIMITCONTROL ServiceName = "nchf-spendinglimitcontrol" + ServiceName_NCHF_CONVERGEDCHARGING ServiceName = "nchf-convergedcharging" + ServiceName_NCHF_OFFLINEONLYCHARGING ServiceName = "nchf-offlineonlycharging" + ServiceName_NNWDAF_EVENTSSUBSCRIPTION ServiceName = "nnwdaf-eventssubscription" + ServiceName_NNWDAF_ANALYTICSINFO ServiceName = "nnwdaf-analyticsinfo" + ServiceName_NNWDAF_DATAMANAGEMENT ServiceName = "nnwdaf-datamanagement" + ServiceName_NNWDAF_MLMODELPROVISION ServiceName = "nnwdaf-mlmodelprovision" + ServiceName_NGMLC_LOC ServiceName = "ngmlc-loc" + ServiceName_NUCMF_PROVISIONING ServiceName = "nucmf-provisioning" + ServiceName_NUCMF_UECAPABILITYMANAGEMENT ServiceName = "nucmf-uecapabilitymanagement" + ServiceName_NHSS_SDM ServiceName = "nhss-sdm" + ServiceName_NHSS_UECM ServiceName = "nhss-uecm" + ServiceName_NHSS_UEAU ServiceName = "nhss-ueau" + ServiceName_NHSS_EE ServiceName = "nhss-ee" + ServiceName_NHSS_IMS_SDM ServiceName = "nhss-ims-sdm" + ServiceName_NHSS_IMS_UECM ServiceName = "nhss-ims-uecm" + ServiceName_NHSS_IMS_UEAU ServiceName = "nhss-ims-ueau" + ServiceName_NHSS_GBA_SDM ServiceName = "nhss-gba-sdm" + ServiceName_NHSS_GBA_UEAU ServiceName = "nhss-gba-ueau" + ServiceName_NSEPP_TELESCOPIC ServiceName = "nsepp-telescopic" + ServiceName_NSORAF_SOR ServiceName = "nsoraf-sor" + ServiceName_NSPAF_SECURED_PACKET ServiceName = "nspaf-secured-packet" + ServiceName_NUDSF_DR ServiceName = "nudsf-dr" + ServiceName_NUDSF_TIMER ServiceName = "nudsf-timer" + ServiceName_NNSSAAF_NSSAA ServiceName = "nnssaaf-nssaa" + ServiceName_NNSSAAF_AIW ServiceName = "nnssaaf-aiw" + ServiceName_NAANF_AKMA ServiceName = "naanf-akma" + ServiceName_N5GDDNMF_DISCOVERY ServiceName = "n5gddnmf-discovery" + ServiceName_NMFAF_3DADM ServiceName = "nmfaf-3dadm" + ServiceName_NMFAF_3CADM ServiceName = "nmfaf-3cadm" + ServiceName_NEASDF_DNSCONTEXT ServiceName = "neasdf-dnscontext" + ServiceName_NEASDF_BASELINEDNSPATTERN ServiceName = "neasdf-baselinednspattern" + ServiceName_NDCCF_DM ServiceName = "ndccf-dm" + ServiceName_NDCCF_CM ServiceName = "ndccf-cm" + ServiceName_NNSACF_NSAC ServiceName = "nnsacf-nsac" + ServiceName_NNSACF_SLICE_EE ServiceName = "nnsacf-slice-ee" + ServiceName_NMBSMF_TMGI ServiceName = "nmbsmf-tmgi" + ServiceName_NMBSMF_MBSSESSION ServiceName = "nmbsmf-mbssession" + ServiceName_NADRF_DM ServiceName = "nadrf-dm" + ServiceName_NBSP_GBA ServiceName = "nbsp-gba" + ServiceName_NTSCTSF_TIME_SYNC ServiceName = "ntsctsf-time-sync" + ServiceName_NTSCTSF_QOS_TSCAI ServiceName = "ntsctsf-qos-tscai" + ServiceName_NTSCTSF_ASTI ServiceName = "ntsctsf-asti" + ServiceName_NPKMF_KEYREQ ServiceName = "npkmf-keyreq" + ServiceName_NPKMF_USERID ServiceName = "npkmf-userid" + ServiceName_NPKMF_DISCOVERY ServiceName = "npkmf-discovery" + ServiceName_NMNPF_NPSTATUS ServiceName = "nmnpf-npstatus" + ServiceName_NIWMSC_SMSERVICE ServiceName = "niwmsc-smservice" + ServiceName_NMBSF_MBS_US ServiceName = "nmbsf-mbs-us" + ServiceName_NMBSF_MBS_UD_INGEST ServiceName = "nmbsf-mbs-ud-ingest" + ServiceName_NMBSTF_DISTSESSION ServiceName = "nmbstf-distsession" + ServiceName_NPANF_PROSEKEY ServiceName = "npanf-prosekey" + ServiceName_NPANF_USERID ServiceName = "npanf-userid" + ServiceName_NUPF_OAM ServiceName = "nupf-oam" + ServiceName_NUPF_CMI ServiceName = "nupf-cmi" +) diff --git a/models/models/model_service_name_cond.go b/models/models/model_service_name_cond.go new file mode 100644 index 00000000..7c58f731 --- /dev/null +++ b/models/models/model_service_name_cond.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their support for a given Service Name +type ServiceNameCond struct { + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` +} diff --git a/models/models/model_service_name_list_cond.go b/models/models/model_service_name_list_cond.go new file mode 100644 index 00000000..eebc6407 --- /dev/null +++ b/models/models/model_service_name_list_cond.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NFs based on their support for a Service Name in the Servic Name list +type ServiceNameListCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` +} diff --git a/models/models/model_service_parameter_data.go b/models/models/model_service_parameter_data.go new file mode 100644 index 00000000..d2a2c81e --- /dev/null +++ b/models/models/model_service_parameter_data.go @@ -0,0 +1,59 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the service parameter data. +type ServiceParameterData struct { + // Identifies an application. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` + UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` + // Represents configuration parameters for V2X communications over PC5 reference point. + ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` + // Represents configuration parameters for V2X communications over Uu reference point. + ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` + // Represents the service parameters for 5G ProSe direct discovery. + ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` + // Represents the service parameters for 5G ProSe direct communications. + ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` + // Represents the service parameters for 5G ProSe UE-to-network relay UE. + ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` + // Represents the service parameters for 5G ProSe Remate UE. + ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` + // Contains the service parameter used to guide the URSP. + UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` + // Contains the outcome of the UE Policy Delivery. + DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` + // Contains the Notification Correlation Id allocated by the NEF for the notification of UE Policy delivery outcome. + PolicDelivNotifCorreId string `json:"policDelivNotifCorreId,omitempty" yaml:"policDelivNotifCorreId" bson:"policDelivNotifCorreId,omitempty"` + // String providing an URI formatted according to RFC 3986. + PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_service_parameter_data_patch.go b/models/models/model_service_parameter_data_patch.go new file mode 100644 index 00000000..3639d0fd --- /dev/null +++ b/models/models/model_service_parameter_data_patch.go @@ -0,0 +1,39 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the service parameter data that can be updated. +type ServiceParameterDataPatch struct { + // Represents configuration parameters for V2X communications over PC5 reference point. + ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` + // Represents configuration parameters for V2X communications over Uu reference point. + ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` + // Represents the service parameters for 5G ProSe direct discovery. + ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` + // Represents the service parameters for 5G ProSe direct communications. + ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` + // Represents the service parameters for 5G ProSe UE-to-network relay UE. + ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` + // Represents the service parameters for 5G ProSe Remate UE. + ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` + // Contains the service parameter used to influence the URSP. This attribute is deprecated by the urspGuidance attribute. + UrspInfluence []UrspRuleRequest `json:"urspInfluence,omitempty" yaml:"urspInfluence" bson:"urspInfluence,omitempty"` + // Contains the service parameter used to influence the URSP. + UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` + // Contains the outcome of the UE Policy Delivery. + DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` + // String providing an URI formatted according to RFC 3986. + PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` +} diff --git a/models/models/model_service_profile_charging_information.go b/models/models/model_service_profile_charging_information.go new file mode 100644 index 00000000..e8f3ac1a --- /dev/null +++ b/models/models/model_service_profile_charging_information.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceProfileChargingInformation struct { + ServiceProfileIdentifier string `json:"serviceProfileIdentifier,omitempty" yaml:"serviceProfileIdentifier" bson:"serviceProfileIdentifier,omitempty"` + SNSSAIList []Snssai `json:"sNSSAIList,omitempty" yaml:"sNSSAIList" bson:"sNSSAIList,omitempty"` + SST int32 `json:"sST,omitempty" yaml:"sST" bson:"sST,omitempty"` + Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` + Availability float32 `json:"availability,omitempty" yaml:"availability" bson:"availability,omitempty"` + ResourceSharingLevel SharingLevel `json:"resourceSharingLevel,omitempty" yaml:"resourceSharingLevel" bson:"resourceSharingLevel,omitempty"` + Jitter int32 `json:"jitter,omitempty" yaml:"jitter" bson:"jitter,omitempty"` + Reliability string `json:"reliability,omitempty" yaml:"reliability" bson:"reliability,omitempty"` + MaxNumberofUEs int32 `json:"maxNumberofUEs,omitempty" yaml:"maxNumberofUEs" bson:"maxNumberofUEs,omitempty"` + CoverageArea string `json:"coverageArea,omitempty" yaml:"coverageArea" bson:"coverageArea,omitempty"` + DLThptPerSlice *Throughput `json:"dLThptPerSlice,omitempty" yaml:"dLThptPerSlice" bson:"dLThptPerSlice,omitempty"` + DLThptPerUE *Throughput `json:"dLThptPerUE,omitempty" yaml:"dLThptPerUE" bson:"dLThptPerUE,omitempty"` + ULThptPerSlice *Throughput `json:"uLThptPerSlice,omitempty" yaml:"uLThptPerSlice" bson:"uLThptPerSlice,omitempty"` + ULThptPerUE *Throughput `json:"uLThptPerUE,omitempty" yaml:"uLThptPerUE" bson:"uLThptPerUE,omitempty"` + MaxNumberofPDUsessions int32 `json:"maxNumberofPDUsessions,omitempty" yaml:"maxNumberofPDUsessions" bson:"maxNumberofPDUsessions,omitempty"` + KPIMonitoringList string `json:"kPIMonitoringList,omitempty" yaml:"kPIMonitoringList" bson:"kPIMonitoringList,omitempty"` + SupportedAccessTechnology int32 `json:"supportedAccessTechnology,omitempty" yaml:"supportedAccessTechnology" bson:"supportedAccessTechnology,omitempty"` + AddServiceProfileInfo string `json:"addServiceProfileInfo,omitempty" yaml:"addServiceProfileInfo" bson:"addServiceProfileInfo,omitempty"` +} diff --git a/models/models/model_service_specific_authorization_data.go b/models/models/model_service_specific_authorization_data.go new file mode 100644 index 00000000..fdce8a16 --- /dev/null +++ b/models/models/model_service_specific_authorization_data.go @@ -0,0 +1,23 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authorization Response for a specific service. +type ServiceSpecificAuthorizationData struct { + AuthorizationUeId *AuthorizationUeId `json:"authorizationUeId,omitempty" yaml:"authorizationUeId" bson:"authorizationUeId,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + AuthId string `json:"authId,omitempty" yaml:"authId" bson:"authId,omitempty"` +} diff --git a/models/models/model_service_specific_authorization_info.go b/models/models/model_service_specific_authorization_info.go new file mode 100644 index 00000000..eec2248c --- /dev/null +++ b/models/models/model_service_specific_authorization_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active Service Specific Authorizations +type ServiceSpecificAuthorizationInfo struct { + ServiceSpecificAuthorizationList []AuthorizationInfo `json:"serviceSpecificAuthorizationList" yaml:"serviceSpecificAuthorizationList" bson:"serviceSpecificAuthorizationList,omitempty"` +} diff --git a/models/models/model_service_specific_authorization_remove_data.go b/models/models/model_service_specific_authorization_remove_data.go new file mode 100644 index 00000000..02352846 --- /dev/null +++ b/models/models/model_service_specific_authorization_remove_data.go @@ -0,0 +1,18 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information for Authorization removal of a specific service. +type ServiceSpecificAuthorizationRemoveData struct { + AuthId string `json:"authId" yaml:"authId" bson:"authId,omitempty"` +} diff --git a/models/models/model_service_type.go b/models/models/model_service_type.go new file mode 100644 index 00000000..181e90d3 --- /dev/null +++ b/models/models/model_service_type.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceType string + +// List of ServiceType +const ( + ServiceType_AF_GUIDANCE_FOR_URSP ServiceType = "AF_GUIDANCE_FOR_URSP" +) diff --git a/models/models/model_service_type_unrelated_class.go b/models/models/model_service_type_unrelated_class.go new file mode 100644 index 00000000..85eaa2ae --- /dev/null +++ b/models/models/model_service_type_unrelated_class.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServiceTypeUnrelatedClass struct { + // LCS service type. + ServiceType int32 `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` + AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` + PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` + CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` + ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` + CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` +} diff --git a/models/models/model_serving_location.go b/models/models/model_serving_location.go new file mode 100644 index 00000000..97570e53 --- /dev/null +++ b/models/models/model_serving_location.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServingLocation struct { + GeographicalLocation *GeoLoc `json:"geographicalLocation,omitempty" yaml:"geographicalLocation" bson:"geographicalLocation,omitempty"` + TopologicalLocation *TopologicalServiceArea `json:"topologicalLocation,omitempty" yaml:"topologicalLocation" bson:"topologicalLocation,omitempty"` +} diff --git a/models/models/model_serving_nf_identity.go b/models/models/model_serving_nf_identity.go new file mode 100644 index 00000000..f5b1d657 --- /dev/null +++ b/models/models/model_serving_nf_identity.go @@ -0,0 +1,22 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the serving Network Function identity. +type ServingNfIdentity struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServNfInstId string `json:"servNfInstId,omitempty" yaml:"servNfInstId" bson:"servNfInstId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` + SgsnAddr *SgsnAddress `json:"sgsnAddr,omitempty" yaml:"sgsnAddr" bson:"sgsnAddr,omitempty"` +} diff --git a/models/models/model_serving_node_address.go b/models/models/model_serving_node_address.go new file mode 100644 index 00000000..99618f59 --- /dev/null +++ b/models/models/model_serving_node_address.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type ServingNodeAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` +} diff --git a/models/models/model_sess_inact_timer_for_ue_comm.go b/models/models/model_sess_inact_timer_for_ue_comm.go new file mode 100644 index 00000000..13ed47e9 --- /dev/null +++ b/models/models/model_sess_inact_timer_for_ue_comm.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the N4 Session inactivity timer. +type SessInactTimerForUeComm struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + N4SessId int32 `json:"n4SessId" yaml:"n4SessId" bson:"n4SessId,omitempty"` + // indicating a time in seconds. + SessInactiveTimer int32 `json:"sessInactiveTimer" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` +} diff --git a/models/models/model_session_failover.go b/models/models/model_session_failover.go new file mode 100644 index 00000000..ab9ad8e6 --- /dev/null +++ b/models/models/model_session_failover.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SessionFailover string + +// List of SessionFailover +const ( + SessionFailover_NOT_SUPPORTED SessionFailover = "FAILOVER_NOT_SUPPORTED" + SessionFailover_SUPPORTED SessionFailover = "FAILOVER_SUPPORTED" +) diff --git a/models/models/model_session_management_subscription_data.go b/models/models/model_session_management_subscription_data.go new file mode 100644 index 00000000..b0f4ab17 --- /dev/null +++ b/models/models/model_session_management_subscription_data.go @@ -0,0 +1,33 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SessionManagementSubscriptionData struct { + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // A map (list of key-value pairs where Dnn, or optionally the Wildcard DNN, serves as key) of DnnConfigurations + DnnConfigurations map[string]DnnConfiguration `json:"dnnConfigurations,omitempty" yaml:"dnnConfigurations" bson:"dnnConfigurations,omitempty"` + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of SharedDataId + SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` + SharedDnnConfigurationsId string `json:"sharedDnnConfigurationsId,omitempty" yaml:"sharedDnnConfigurationsId" bson:"sharedDnnConfigurationsId,omitempty"` + OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SharedTraceDataId string `json:"sharedTraceDataId,omitempty" yaml:"sharedTraceDataId" bson:"sharedTraceDataId,omitempty"` + // A map(list of key-value pairs) where Dnn serves as key of ExpectedUeBehaviourData + ExpectedUeBehavioursList map[string]ExpectedUeBehaviourData `json:"expectedUeBehavioursList,omitempty" yaml:"expectedUeBehavioursList" bson:"expectedUeBehavioursList,omitempty"` + // A map(list of key-value pairs) where Dnn serves as key of SuggestedPacketNumDl + SuggestedPacketNumDlList map[string]SuggestedPacketNumDl `json:"suggestedPacketNumDlList,omitempty" yaml:"suggestedPacketNumDlList" bson:"suggestedPacketNumDlList,omitempty"` + Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_session_rule.go b/models/models/model_session_rule.go new file mode 100644 index 00000000..b7dc67fc --- /dev/null +++ b/models/models/model_session_rule.go @@ -0,0 +1,27 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains session level policy information. +type SessionRule struct { + AuthSessAmbr *Ambr `json:"authSessAmbr,omitempty" yaml:"authSessAmbr" bson:"authSessAmbr,omitempty"` + AuthDefQos *AuthorizedDefaultQos `json:"authDefQos,omitempty" yaml:"authDefQos" bson:"authDefQos,omitempty"` + // Univocally identifies the session rule within a PDU session. + SessRuleId string `json:"sessRuleId" yaml:"sessRuleId" bson:"sessRuleId,omitempty"` + // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. + RefUmData string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` + // A reference to UsageMonitoringData policy decision type to apply for Non-3GPP access. It is the umId described in clause 5.6.2.12. + RefUmN3gData string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` + // A reference to the condition data. It is the condId described in clause 5.6.2.9. + RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` +} diff --git a/models/models/model_session_rule_failure_code.go b/models/models/model_session_rule_failure_code.go new file mode 100644 index 00000000..bf1ae53b --- /dev/null +++ b/models/models/model_session_rule_failure_code.go @@ -0,0 +1,29 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SessionRuleFailureCode string + +// List of SessionRuleFailureCode +const ( + SessionRuleFailureCode_NF_MAL SessionRuleFailureCode = "NF_MAL" + SessionRuleFailureCode_RES_LIM SessionRuleFailureCode = "RES_LIM" + SessionRuleFailureCode_SESSION_RESOURCE_ALLOCATION_FAILURE SessionRuleFailureCode = "SESSION_RESOURCE_ALLOCATION_FAILURE" + SessionRuleFailureCode_UNSUCC_QOS_VAL SessionRuleFailureCode = "UNSUCC_QOS_VAL" + SessionRuleFailureCode_INCORRECT_UM SessionRuleFailureCode = "INCORRECT_UM" + SessionRuleFailureCode_UE_STA_SUSP SessionRuleFailureCode = "UE_STA_SUSP" + SessionRuleFailureCode_UNKNOWN_REF_ID SessionRuleFailureCode = "UNKNOWN_REF_ID" + SessionRuleFailureCode_INCORRECT_COND_DATA SessionRuleFailureCode = "INCORRECT_COND_DATA" + SessionRuleFailureCode_REF_ID_COLLISION SessionRuleFailureCode = "REF_ID_COLLISION" + SessionRuleFailureCode_AN_GW_FAILED SessionRuleFailureCode = "AN_GW_FAILED" +) diff --git a/models/models/model_session_rule_report.go b/models/models/model_session_rule_report.go new file mode 100644 index 00000000..467a0fbd --- /dev/null +++ b/models/models/model_session_rule_report.go @@ -0,0 +1,23 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents reporting of the status of a session rule. +type SessionRuleReport struct { + // Contains the identifier of the affected session rule(s). + RuleIds []string `json:"ruleIds" yaml:"ruleIds" bson:"ruleIds,omitempty"` + RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` + SessRuleFailureCode SessionRuleFailureCode `json:"sessRuleFailureCode,omitempty" yaml:"sessRuleFailureCode" bson:"sessRuleFailureCode,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` +} diff --git a/models/models/model_sgsn_address.go b/models/models/model_sgsn_address.go new file mode 100644 index 00000000..f9038438 --- /dev/null +++ b/models/models/model_sgsn_address.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// describes the address of the SGSN +type SgsnAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SgsnIpv4Addr string `json:"sgsnIpv4Addr,omitempty" yaml:"sgsnIpv4Addr" bson:"sgsnIpv4Addr,omitempty"` + SgsnIpv6Addr string `json:"sgsnIpv6Addr,omitempty" yaml:"sgsnIpv6Addr" bson:"sgsnIpv6Addr,omitempty"` +} diff --git a/models/models/model_sgsn_location_data.go b/models/models/model_sgsn_location_data.go new file mode 100644 index 00000000..2d6064b4 --- /dev/null +++ b/models/models/model_sgsn_location_data.go @@ -0,0 +1,24 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information as retrieved from the SGSN serving node +type SgsnLocationData struct { + SgsnNumber string `json:"sgsnNumber" yaml:"sgsnNumber" bson:"sgsnNumber,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SgsnLocation *UtraLocation `json:"sgsnLocation,omitempty" yaml:"sgsnLocation" bson:"sgsnLocation,omitempty"` + CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_shared_data_id_range.go b/models/models/model_shared_data_id_range.go new file mode 100644 index 00000000..d0136e3c --- /dev/null +++ b/models/models/model_shared_data_id_range.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of SharedDataIds based on regular-expression matching +type SharedDataIdRange struct { + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_shared_data_treatment_instruction.go b/models/models/model_shared_data_treatment_instruction.go new file mode 100644 index 00000000..91d25973 --- /dev/null +++ b/models/models/model_shared_data_treatment_instruction.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SharedDataTreatmentInstruction string + +// List of SharedDataTreatmentInstruction +const ( + SharedDataTreatmentInstruction_USE_IF_NO_CLASH SharedDataTreatmentInstruction = "USE_IF_NO_CLASH" + SharedDataTreatmentInstruction_OVERWRITE SharedDataTreatmentInstruction = "OVERWRITE" + SharedDataTreatmentInstruction_MAX SharedDataTreatmentInstruction = "MAX" + SharedDataTreatmentInstruction_MIN SharedDataTreatmentInstruction = "MIN" +) diff --git a/models/models/model_sharing_level.go b/models/models/model_sharing_level.go new file mode 100644 index 00000000..c9aea004 --- /dev/null +++ b/models/models/model_sharing_level.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SharingLevel string + +// List of SharingLevel +const ( + SharingLevel_SHARED SharingLevel = "SHARED" + SharingLevel_NON_SHARED SharingLevel = "NON_SHARED" +) diff --git a/models/models/model_sign.go b/models/models/model_sign.go new file mode 100644 index 00000000..f015472e --- /dev/null +++ b/models/models/model_sign.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Sign string + +// List of Sign +const ( + Sign_POSITIVE Sign = "POSITIVE" + Sign_NEGATIVE Sign = "NEGATIVE" +) diff --git a/models/models/model_sip_event_type.go b/models/models/model_sip_event_type.go new file mode 100644 index 00000000..3dc97b31 --- /dev/null +++ b/models/models/model_sip_event_type.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SipEventType struct { + SIPMethod string `json:"sIPMethod,omitempty" yaml:"sIPMethod" bson:"sIPMethod,omitempty"` + EventHeader string `json:"eventHeader,omitempty" yaml:"eventHeader" bson:"eventHeader,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + ExpiresHeader int32 `json:"expiresHeader,omitempty" yaml:"expiresHeader" bson:"expiresHeader,omitempty"` +} diff --git a/models/models/model_sip_forking_indication.go b/models/models/model_sip_forking_indication.go new file mode 100644 index 00000000..215dac96 --- /dev/null +++ b/models/models/model_sip_forking_indication.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SipForkingIndication string + +// List of SipForkingIndication +const ( + SipForkingIndication_SINGLE_DIALOGUE SipForkingIndication = "SINGLE_DIALOGUE" + SipForkingIndication_SEVERAL_DIALOGUES SipForkingIndication = "SEVERAL_DIALOGUES" +) diff --git a/models/models/model_slice_info_for_pdu_session.go b/models/models/model_slice_info_for_pdu_session.go new file mode 100644 index 00000000..756f5439 --- /dev/null +++ b/models/models/model_slice_info_for_pdu_session.go @@ -0,0 +1,20 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the slice information requested during PDU Session establishment procedure +type SliceInfoForPduSession struct { + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + RoamingIndication RoamingIndication `json:"roamingIndication" yaml:"roamingIndication" bson:"roamingIndication,omitempty"` + HomeSnssai *Snssai `json:"homeSnssai,omitempty" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` +} diff --git a/models/models/model_slice_info_for_registration.go b/models/models/model_slice_info_for_registration.go new file mode 100644 index 00000000..c097c455 --- /dev/null +++ b/models/models/model_slice_info_for_registration.go @@ -0,0 +1,28 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the slice information requested during a Registration procedure +type SliceInfoForRegistration struct { + SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` + AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` + AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` + SNssaiForMapping []Snssai `json:"sNssaiForMapping,omitempty" yaml:"sNssaiForMapping" bson:"sNssaiForMapping,omitempty"` + RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` + DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` + MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` + RequestMapping bool `json:"requestMapping,omitempty" yaml:"requestMapping" bson:"requestMapping,omitempty"` + UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` + NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` +} diff --git a/models/models/model_slice_info_for_ue_configuration_update.go b/models/models/model_slice_info_for_ue_configuration_update.go new file mode 100644 index 00000000..a413cf83 --- /dev/null +++ b/models/models/model_slice_info_for_ue_configuration_update.go @@ -0,0 +1,27 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the slice information requested during UE configuration update procedure +type SliceInfoForUeConfigurationUpdate struct { + SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` + AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` + AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` + DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` + RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` + MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` + UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` + SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` + RejectedNssaiRa []Snssai `json:"rejectedNssaiRa,omitempty" yaml:"rejectedNssaiRa" bson:"rejectedNssaiRa,omitempty"` + NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` +} diff --git a/models/models/model_slice_load_level_information.go b/models/models/model_slice_load_level_information.go new file mode 100644 index 00000000..c92a3092 --- /dev/null +++ b/models/models/model_slice_load_level_information.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains load level information applicable for one or several slices. +type SliceLoadLevelInformation struct { + // Load level information of the network slice and the optionally associated network slice instance. + LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` + // Identification(s) of network slice to which the subscription applies. + Snssais []Snssai `json:"snssais" yaml:"snssais" bson:"snssais,omitempty"` +} diff --git a/models/models/model_slice_mbr.go b/models/models/model_slice_mbr.go new file mode 100644 index 00000000..ba5c32f5 --- /dev/null +++ b/models/models/model_slice_mbr.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// MBR related to slice +type SliceMbr struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` +} diff --git a/models/models/model_slice_mbr_rm.go b/models/models/model_slice_mbr_rm.go new file mode 100644 index 00000000..4eda9152 --- /dev/null +++ b/models/models/model_slice_mbr_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SliceMbrRm struct { +} diff --git a/models/models/model_slice_policy_data.go b/models/models/model_slice_policy_data.go new file mode 100644 index 00000000..ddcdbf90 --- /dev/null +++ b/models/models/model_slice_policy_data.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the network slice specific policy control information. +type SlicePolicyData struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrUl string `json:"mbrUl,omitempty" yaml:"mbrUl" bson:"mbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RemainMbrUl string `json:"remainMbrUl,omitempty" yaml:"remainMbrUl" bson:"remainMbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + RemainMbrDl string `json:"remainMbrDl,omitempty" yaml:"remainMbrDl" bson:"remainMbrDl,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_sm_address_domain.go b/models/models/model_sm_address_domain.go new file mode 100644 index 00000000..126202bb --- /dev/null +++ b/models/models/model_sm_address_domain.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmAddressDomain struct { + DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` + Var3GPPIMSIMCCMNC string `json:"3GPPIMSIMCCMNC,omitempty" yaml:"3GPPIMSIMCCMNC" bson:"3GPPIMSIMCCMNC,omitempty"` +} diff --git a/models/models/model_sm_address_info.go b/models/models/model_sm_address_info.go new file mode 100644 index 00000000..66c397fe --- /dev/null +++ b/models/models/model_sm_address_info.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmAddressInfo struct { + SMaddressType SmAddressType `json:"sMaddressType,omitempty" yaml:"sMaddressType" bson:"sMaddressType,omitempty"` + SMaddressData string `json:"sMaddressData,omitempty" yaml:"sMaddressData" bson:"sMaddressData,omitempty"` + SMaddressDomain *SmAddressDomain `json:"sMaddressDomain,omitempty" yaml:"sMaddressDomain" bson:"sMaddressDomain,omitempty"` +} diff --git a/models/models/model_sm_address_type.go b/models/models/model_sm_address_type.go new file mode 100644 index 00000000..7d0dcbb7 --- /dev/null +++ b/models/models/model_sm_address_type.go @@ -0,0 +1,27 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmAddressType string + +// List of SMAddressType +const ( + SmAddressType_EMAIL_ADDRESS SmAddressType = "EMAIL_ADDRESS" + SmAddressType_MSISDN SmAddressType = "MSISDN" + SmAddressType_IPV4_ADDRESS SmAddressType = "IPV4_ADDRESS" + SmAddressType_IPV6_ADDRESS SmAddressType = "IPV6_ADDRESS" + SmAddressType_NUMERIC_SHORTCODE SmAddressType = "NUMERIC_SHORTCODE" + SmAddressType_ALPHANUMERIC_SHORTCODE SmAddressType = "ALPHANUMERIC_SHORTCODE" + SmAddressType_OTHER SmAddressType = "OTHER" + SmAddressType_IMSI SmAddressType = "IMSI" +) diff --git a/models/models/model_sm_addressee_type.go b/models/models/model_sm_addressee_type.go new file mode 100644 index 00000000..aa6627d5 --- /dev/null +++ b/models/models/model_sm_addressee_type.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmAddresseeType string + +// List of SMAddresseeType +const ( + SmAddresseeType_TO SmAddresseeType = "TO" + SmAddresseeType_CC SmAddresseeType = "CC" + SmAddresseeType_BCC SmAddresseeType = "BCC" +) diff --git a/models/models/model_sm_context.go b/models/models/model_sm_context.go new file mode 100644 index 00000000..20e2d741 --- /dev/null +++ b/models/models/model_sm_context.go @@ -0,0 +1,99 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Complete SM Context +type SmContext struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + PduSessionRef string `json:"pduSessionRef,omitempty" yaml:"pduSessionRef" bson:"pduSessionRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsList []QosFlowSetupItem `json:"qosFlowsList" yaml:"qosFlowsList" bson:"qosFlowsList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PduSessionSmfSetId string `json:"pduSessionSmfSetId,omitempty" yaml:"pduSessionSmfSetId" bson:"pduSessionSmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PduSessionSmfServiceSetId string `json:"pduSessionSmfServiceSetId,omitempty" yaml:"pduSessionSmfServiceSetId" bson:"pduSessionSmfServiceSetId,omitempty"` + PduSessionSmfBinding SbiBindingLevel `json:"pduSessionSmfBinding,omitempty" yaml:"pduSessionSmfBinding" bson:"pduSessionSmfBinding,omitempty"` + EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` + UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` + HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + ForwardingInd bool `json:"forwardingInd,omitempty" yaml:"forwardingInd" bson:"forwardingInd,omitempty"` + PsaTunnelInfo *TunnelInfo `json:"psaTunnelInfo,omitempty" yaml:"psaTunnelInfo" bson:"psaTunnelInfo,omitempty"` + ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` + ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` + NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` + RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` + RanTunnelInfo *QosFlowTunnel `json:"ranTunnelInfo,omitempty" yaml:"ranTunnelInfo" bson:"ranTunnelInfo,omitempty"` + AddRanTunnelInfo []QosFlowTunnel `json:"addRanTunnelInfo,omitempty" yaml:"addRanTunnelInfo" bson:"addRanTunnelInfo,omitempty"` + RedRanTunnelInfo *QosFlowTunnel `json:"redRanTunnelInfo,omitempty" yaml:"redRanTunnelInfo" bson:"redRanTunnelInfo,omitempty"` + AddRedRanTunnelInfo []QosFlowTunnel `json:"addRedRanTunnelInfo,omitempty" yaml:"addRedRanTunnelInfo" bson:"addRedRanTunnelInfo,omitempty"` + NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + SscMode string `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` + DlsetSupportInd bool `json:"dlsetSupportInd,omitempty" yaml:"dlsetSupportInd" bson:"dlsetSupportInd,omitempty"` + N9fscSupportInd bool `json:"n9fscSupportInd,omitempty" yaml:"n9fscSupportInd" bson:"n9fscSupportInd,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` +} diff --git a/models/models/model_sm_context_configuration.go b/models/models/model_sm_context_configuration.go new file mode 100644 index 00000000..6dfabcc6 --- /dev/null +++ b/models/models/model_sm_context_configuration.go @@ -0,0 +1,21 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// NIDD Configuration for the SM context. +type SmContextConfiguration struct { + SmalDataRateControl *SmallDataRateControl `json:"smalDataRateControl,omitempty" yaml:"smalDataRateControl" bson:"smalDataRateControl,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + // When present, this IE shall contain the maximum allowed number of Downlink NAS Data PDUs per deci hour of the serving PLMN, as specified in subclause 5.31.14.2 of 3GPP TS 23.501 [2]. Minimum 10 + ServPlmnDataRateCtl int32 `json:"servPlmnDataRateCtl,omitempty" yaml:"servPlmnDataRateCtl" bson:"servPlmnDataRateCtl,omitempty"` +} diff --git a/models/models/model_sm_context_create_error.go b/models/models/model_sm_context_create_error.go new file mode 100644 index 00000000..12aee704 --- /dev/null +++ b/models/models/model_sm_context_create_error.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Error within Create SM Context Response +type SmContextCreateError struct { + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` +} diff --git a/models/models/model_sm_context_released_data.go b/models/models/model_sm_context_released_data.go new file mode 100644 index 00000000..e3070951 --- /dev/null +++ b/models/models/model_sm_context_released_data.go @@ -0,0 +1,19 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Successful release of an Individual SM context with information sent to the NF service consumer. +type SmContextReleasedData struct { + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` +} diff --git a/models/models/model_sm_context_retrieve_data.go b/models/models/model_sm_context_retrieve_data.go new file mode 100644 index 00000000..1cbd8b8e --- /dev/null +++ b/models/models/model_sm_context_retrieve_data.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve SM Context Request +type SmContextRetrieveData struct { + TargetMmeCap *MmeCapabilities `json:"targetMmeCap,omitempty" yaml:"targetMmeCap" bson:"targetMmeCap,omitempty"` + SmContextType SmContextType `json:"smContextType,omitempty" yaml:"smContextType" bson:"smContextType,omitempty"` + ServingNetwork *PlmnId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + NotToTransferEbiList []int32 `json:"notToTransferEbiList,omitempty" yaml:"notToTransferEbiList" bson:"notToTransferEbiList,omitempty"` + RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` +} diff --git a/models/models/model_sm_context_retrieved_data.go b/models/models/model_sm_context_retrieved_data.go new file mode 100644 index 00000000..aa951429 --- /dev/null +++ b/models/models/model_sm_context_retrieved_data.go @@ -0,0 +1,24 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Retrieve SM Context Response +type SmContextRetrievedData struct { + // UE EPS PDN Connection container from SMF to AMF + UeEpsPdnConnection string `json:"ueEpsPdnConnection" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` + SmContext *SmContext `json:"smContext,omitempty" yaml:"smContext" bson:"smContext,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` + AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` +} diff --git a/models/models/model_sm_context_status.go b/models/models/model_sm_context_status.go new file mode 100644 index 00000000..af9f457a --- /dev/null +++ b/models/models/model_sm_context_status.go @@ -0,0 +1,20 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmContextStatus string + +// List of SmContextStatus +const ( + SmContextStatus_RELEASED SmContextStatus = "RELEASED" +) diff --git a/models/models/model_sm_context_type.go b/models/models/model_sm_context_type.go new file mode 100644 index 00000000..a328002e --- /dev/null +++ b/models/models/model_sm_context_type.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmContextType string + +// List of SmContextType +const ( + SmContextType_EPS_PDN_CONNECTION SmContextType = "EPS_PDN_CONNECTION" + SmContextType_SM_CONTEXT SmContextType = "SM_CONTEXT" + SmContextType_AF_COORDINATION_INFO SmContextType = "AF_COORDINATION_INFO" +) diff --git a/models/models/model_sm_context_update_error.go b/models/models/model_sm_context_update_error.go new file mode 100644 index 00000000..a52fab80 --- /dev/null +++ b/models/models/model_sm_context_update_error.go @@ -0,0 +1,28 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Error within Update SM Context Response +type SmContextUpdateError struct { + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` +} diff --git a/models/models/model_sm_context_updated_data.go b/models/models/model_sm_context_updated_data.go new file mode 100644 index 00000000..90c79e63 --- /dev/null +++ b/models/models/model_sm_context_updated_data.go @@ -0,0 +1,44 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update SM Context Response +type SmContextUpdatedData struct { + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + ReleaseEbiList []int32 `json:"releaseEbiList,omitempty" yaml:"releaseEbiList" bson:"releaseEbiList,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + N3DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3DlForwardingTnlList,omitempty" yaml:"n3DlForwardingTnlList" bson:"n3DlForwardingTnlList,omitempty"` + N3UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3UlForwardingTnlList,omitempty" yaml:"n3UlForwardingTnlList" bson:"n3UlForwardingTnlList,omitempty"` + N9UlForwardingTunnel *TunnelInfo `json:"n9UlForwardingTunnel,omitempty" yaml:"n9UlForwardingTunnel" bson:"n9UlForwardingTunnel,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` + ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + AnchorSmfFeatures *AnchorSmfFeatures `json:"anchorSmfFeatures,omitempty" yaml:"anchorSmfFeatures" bson:"anchorSmfFeatures,omitempty"` +} diff --git a/models/models/model_sm_delivery_status.go b/models/models/model_sm_delivery_status.go new file mode 100644 index 00000000..91aa525f --- /dev/null +++ b/models/models/model_sm_delivery_status.go @@ -0,0 +1,20 @@ +/* + * Nudm_ReportSMDeliveryStatus + * + * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents SM Delivery Status. +type SmDeliveryStatus struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` + SmStatusReport string `json:"smStatusReport" yaml:"smStatusReport" bson:"smStatusReport,omitempty"` +} diff --git a/models/models/model_sm_interface.go b/models/models/model_sm_interface.go new file mode 100644 index 00000000..c225a6ca --- /dev/null +++ b/models/models/model_sm_interface.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmInterface struct { + InterfaceId string `json:"interfaceId,omitempty" yaml:"interfaceId" bson:"interfaceId,omitempty"` + InterfaceText string `json:"interfaceText,omitempty" yaml:"interfaceText" bson:"interfaceText,omitempty"` + InterfacePort string `json:"interfacePort,omitempty" yaml:"interfacePort" bson:"interfacePort,omitempty"` + InterfaceType InterfaceType `json:"interfaceType,omitempty" yaml:"interfaceType" bson:"interfaceType,omitempty"` +} diff --git a/models/models/model_sm_message_type.go b/models/models/model_sm_message_type.go new file mode 100644 index 00000000..f8c8468b --- /dev/null +++ b/models/models/model_sm_message_type.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmMessageType string + +// List of SMMessageType +const ( + SmMessageType_SUBMISSION SmMessageType = "SUBMISSION" + SmMessageType_DELIVERY_REPORT SmMessageType = "DELIVERY_REPORT" + SmMessageType_SM_SERVICE_REQUEST SmMessageType = "SM_SERVICE_REQUEST" + SmMessageType_DELIVERY SmMessageType = "DELIVERY" +) diff --git a/models/models/model_sm_nas_from_smf.go b/models/models/model_sm_nas_from_smf.go new file mode 100644 index 00000000..d628d1ec --- /dev/null +++ b/models/models/model_sm_nas_from_smf.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information on the SM congestion control applied SM NAS messages that SMF sends to UE for PDU Session. +type SmNasFromSmf struct { + SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // indicating a time in seconds. + BackoffTimer int32 `json:"backoffTimer" yaml:"backoffTimer" bson:"backoffTimer,omitempty"` + AppliedSmccType AppliedSmccType `json:"appliedSmccType" yaml:"appliedSmccType" bson:"appliedSmccType,omitempty"` +} diff --git a/models/models/model_sm_nas_from_ue.go b/models/models/model_sm_nas_from_ue.go new file mode 100644 index 00000000..b1b66485 --- /dev/null +++ b/models/models/model_sm_nas_from_ue.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents information on the SM NAS messages that SMF receives from UE for PDU Session. +type SmNasFromUe struct { + SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` +} diff --git a/models/models/model_sm_policy_association_release_cause.go b/models/models/model_sm_policy_association_release_cause.go new file mode 100644 index 00000000..05ec551b --- /dev/null +++ b/models/models/model_sm_policy_association_release_cause.go @@ -0,0 +1,24 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyAssociationReleaseCause string + +// List of SmPolicyAssociationReleaseCause +const ( + SmPolicyAssociationReleaseCause_UNSPECIFIED SmPolicyAssociationReleaseCause = "UNSPECIFIED" + SmPolicyAssociationReleaseCause_UE_SUBSCRIPTION SmPolicyAssociationReleaseCause = "UE_SUBSCRIPTION" + SmPolicyAssociationReleaseCause_INSUFFICIENT_RES SmPolicyAssociationReleaseCause = "INSUFFICIENT_RES" + SmPolicyAssociationReleaseCause_VALIDATION_CONDITION_NOT_MET SmPolicyAssociationReleaseCause = "VALIDATION_CONDITION_NOT_MET" + SmPolicyAssociationReleaseCause_REACTIVATION_REQUESTED SmPolicyAssociationReleaseCause = "REACTIVATION_REQUESTED" +) diff --git a/models/models/model_sm_policy_context_data.go b/models/models/model_sm_policy_context_data.go new file mode 100644 index 00000000..d7201ba4 --- /dev/null +++ b/models/models/model_sm_policy_context_data.go @@ -0,0 +1,88 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the parameters used to create an Individual SM policy resource. +type SmPolicyContextData struct { + AccNetChId *AccNetChId `json:"accNetChId,omitempty" yaml:"accNetChId" bson:"accNetChId,omitempty"` + ChargEntityAddr *AccNetChargingAddress `json:"chargEntityAddr,omitempty" yaml:"chargEntityAddr" bson:"chargEntityAddr,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // When this attribute is included and set to true, it indicates that the supi attribute contains an invalid value.This attribute shall be present if the SUPI is not available in the SMF or the SUPI is unauthenticated. When present it shall be set to true for an invalid SUPI and false (default) for a valid SUPI. + InvalidSupi bool `json:"invalidSupi,omitempty" yaml:"invalidSupi" bson:"invalidSupi,omitempty"` + InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` + Chargingcharacteristics string `json:"chargingcharacteristics,omitempty" yaml:"chargingcharacteristics" bson:"chargingcharacteristics,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + DnnSelMode DnnSelectionMode `json:"dnnSelMode,omitempty" yaml:"dnnSelMode" bson:"dnnSelMode,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` + // Indicates the IPv4 address domain + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` + // Indicates the DN-AAA authorization profile index + AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` + SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + // Contains the number of supported packet filter for signalled QoS rules. + NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` + // If it is included and set to true, the online charging is applied to the PDU session. + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + // If it is included and set to true, the offline charging is applied to the PDU session. + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. + Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` + // If it is included and set to true, the reflective QoS is supported by the UE. + RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + SliceInfo *Snssai `json:"sliceInfo" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` + AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` + Ipv4FrameRouteList []string `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` + Ipv6FrameRouteList []string `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + // If it is included and set to true, it indicates that the PDU session is used for UE Onboarding. + OnboardInd bool `json:"onboardInd,omitempty" yaml:"onboardInd" bson:"onboardInd,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` +} diff --git a/models/models/model_sm_policy_control.go b/models/models/model_sm_policy_control.go new file mode 100644 index 00000000..e8743cb4 --- /dev/null +++ b/models/models/model_sm_policy_control.go @@ -0,0 +1,19 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the parameters used to request the SM policies and the SM policies authorized by the PCF. +type SmPolicyControl struct { + Context *SmPolicyContextData `json:"context" yaml:"context" bson:"context,omitempty"` + Policy *SmPolicyDecision `json:"policy" yaml:"policy" bson:"policy,omitempty"` +} diff --git a/models/models/model_sm_policy_data.go b/models/models/model_sm_policy_data.go new file mode 100644 index 00000000..badadf78 --- /dev/null +++ b/models/models/model_sm_policy_data.go @@ -0,0 +1,26 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber. +type SmPolicyData struct { + // Contains Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. + SmPolicySnssaiData map[string]SmPolicySnssaiData `json:"smPolicySnssaiData" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` + // Contains a list of usage monitoring profiles associated with the subscriber. The limit identifier is used as the key of the map. + UmDataLimits map[string]UsageMonDataLimit `json:"umDataLimits,omitempty" yaml:"umDataLimits" bson:"umDataLimits,omitempty"` + // Contains the remaining allowed usage data associated with the subscriber. The limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_sm_policy_data_patch.go b/models/models/model_sm_policy_data_patch.go new file mode 100644 index 00000000..447f3661 --- /dev/null +++ b/models/models/model_sm_policy_data_patch.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber. +type SmPolicyDataPatch struct { + // Contains the remaining allowed usage data associated with the subscriber. The value of the limit identifier is used as the key of the map. + UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` + // Modifiable Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. + SmPolicySnssaiData map[string]SmPolicySnssaiDataPatch `json:"smPolicySnssaiData,omitempty" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` +} diff --git a/models/models/model_sm_policy_decision.go b/models/models/model_sm_policy_decision.go new file mode 100644 index 00000000..c1c1af25 --- /dev/null +++ b/models/models/model_sm_policy_decision.go @@ -0,0 +1,72 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the SM policies authorized by the PCF. +type SmPolicyDecision struct { + // A map of Sessionrules with the content being the SessionRule as described in clause 5.6.2.7. The key used in this map for each entry is the sessRuleId attribute of the corresponding SessionRule. + SessRules map[string]*SessionRule `json:"sessRules,omitempty" yaml:"sessRules" bson:"sessRules,omitempty"` + // A map of PCC rules with the content being the PCCRule as described in clause 5.6.2.6. The key used in this map for each entry is the pccRuleId attribute of the corresponding PccRule. + PccRules map[string]*PccRule `json:"pccRules,omitempty" yaml:"pccRules" bson:"pccRules,omitempty"` + // If it is included and set to true, it indicates the P-CSCF Restoration is requested. + PcscfRestIndication bool `json:"pcscfRestIndication,omitempty" yaml:"pcscfRestIndication" bson:"pcscfRestIndication,omitempty"` + // Map of QoS data policy decisions. The key used in this map for each entry is the qosId attribute of the corresponding QosData. + QosDecs map[string]*QosData `json:"qosDecs,omitempty" yaml:"qosDecs" bson:"qosDecs,omitempty"` + // Map of Charging data policy decisions. The key used in this map for each entry is the chgId attribute of the corresponding ChargingData. + ChgDecs map[string]*ChargingData `json:"chgDecs,omitempty" yaml:"chgDecs" bson:"chgDecs,omitempty"` + ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` + // Map of Traffic Control data policy decisions. The key used in this map for each entry is the tcId attribute of the corresponding TrafficControlData. + TraffContDecs map[string]*TrafficControlData `json:"traffContDecs,omitempty" yaml:"traffContDecs" bson:"traffContDecs,omitempty"` + // Map of Usage Monitoring data policy decisions. The key used in this map for each entry is the umId attribute of the corresponding UsageMonitoringData. + UmDecs map[string]*UsageMonitoringData `json:"umDecs,omitempty" yaml:"umDecs" bson:"umDecs,omitempty"` + // Map of QoS characteristics for non standard 5QIs. This map uses the 5QI values as keys. + QosChars map[string]QosCharacteristics `json:"qosChars,omitempty" yaml:"qosChars" bson:"qosChars,omitempty"` + // Map of QoS Monitoring data policy decisions. The key used in this map for each entry is the qmId attribute of the corresponding QosMonitoringData. + QosMonDecs map[string]*QosMonitoringData `json:"qosMonDecs,omitempty" yaml:"qosMonDecs" bson:"qosMonDecs,omitempty"` + // indicating a time in seconds. + ReflectiveQoSTimer int32 `json:"reflectiveQoSTimer,omitempty" yaml:"reflectiveQoSTimer" bson:"reflectiveQoSTimer,omitempty"` + // A map of condition data with the content being as described in clause 5.6.2.9. The key used in this map for each entry is the condId attribute of the corresponding ConditionData. + Conds map[string]*ConditionData `json:"conds,omitempty" yaml:"conds" bson:"conds,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RevalidationTime *time.Time `json:"revalidationTime,omitempty" yaml:"revalidationTime" bson:"revalidationTime,omitempty"` + // Indicates the offline charging is applicable to the PDU session when it is included and set to true. + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + // Indicates the online charging is applicable to the PDU session when it is included and set to true. + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + // Indicates that the online charging method shall never be used for any PCC rule activated during the lifetime of the PDU session. + OfflineChOnly bool `json:"offlineChOnly,omitempty" yaml:"offlineChOnly" bson:"offlineChOnly,omitempty"` + // Defines the policy control request triggers subscribed by the PCF. + PolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"policyCtrlReqTriggers,omitempty" yaml:"policyCtrlReqTriggers" bson:"policyCtrlReqTriggers,omitempty"` + // Defines the last list of rule control data requested by the PCF. + LastReqRuleData []RequestedRuleData `json:"lastReqRuleData,omitempty" yaml:"lastReqRuleData" bson:"lastReqRuleData,omitempty"` + LastReqUsageData *RequestedUsageData `json:"lastReqUsageData,omitempty" yaml:"lastReqUsageData" bson:"lastReqUsageData,omitempty"` + // Map of PRA information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]*PresenceInfoRm `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + RelCause SmPolicyAssociationReleaseCause `json:"relCause,omitempty" yaml:"relCause" bson:"relCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + // Indicates whether the PDU session is a redundant PDU session. If absent it means the PDU session is not a redundant PDU session. + RedSessIndication bool `json:"redSessIndication,omitempty" yaml:"redSessIndication" bson:"redSessIndication,omitempty"` +} diff --git a/models/models/model_sm_policy_delete_data.go b/models/models/model_sm_policy_delete_data.go new file mode 100644 index 00000000..d26431c4 --- /dev/null +++ b/models/models/model_sm_policy_delete_data.go @@ -0,0 +1,32 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the parameters to be sent to the PCF when an individual SM policy is deleted. +type SmPolicyDeleteData struct { + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` + // Contains the RAN and/or NAS release cause. + RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` + // Contains the usage report + AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` + PduSessRelCause PduSessionRelCause `json:"pduSessRelCause,omitempty" yaml:"pduSessRelCause" bson:"pduSessRelCause,omitempty"` +} diff --git a/models/models/model_sm_policy_dnn_data.go b/models/models/model_sm_policy_dnn_data.go new file mode 100644 index 00000000..2866e054 --- /dev/null +++ b/models/models/model_sm_policy_dnn_data.go @@ -0,0 +1,46 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given DNN (and S-NSSAI). +type SmPolicyDnnData struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + AllowedServices []string `json:"allowedServices,omitempty" yaml:"allowedServices" bson:"allowedServices,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` + AdcSupport bool `json:"adcSupport,omitempty" yaml:"adcSupport" bson:"adcSupport,omitempty"` + SubscSpendingLimits bool `json:"subscSpendingLimits,omitempty" yaml:"subscSpendingLimits" bson:"subscSpendingLimits,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` + // Represents information that identifies which IP pool or external server is used to allocate the IP address. + Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` + Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` + Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` + ChfInfo *ChargingInformation `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` + // A reference to the UsageMonDataLimit or UsageMonData instancesfor this DNN and SNSSAI that may also include the related monitoring key(s). The key of the map is the limit identifier. + RefUmDataLimitIds map[string]*LimitIdToMonitoringKey `json:"refUmDataLimitIds,omitempty" yaml:"refUmDataLimitIds" bson:"refUmDataLimitIds,omitempty"` + MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` + McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` + ImsSignallingPrio bool `json:"imsSignallingPrio,omitempty" yaml:"imsSignallingPrio" bson:"imsSignallingPrio,omitempty"` + MpsPriorityLevel int32 `json:"mpsPriorityLevel,omitempty" yaml:"mpsPriorityLevel" bson:"mpsPriorityLevel,omitempty"` + McsPriorityLevel int32 `json:"mcsPriorityLevel,omitempty" yaml:"mcsPriorityLevel" bson:"mcsPriorityLevel,omitempty"` + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + // Identifies transfer policies of background data transfer. Any string value can be used as a key of the map. + BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` + LocRoutNotAllowed bool `json:"locRoutNotAllowed,omitempty" yaml:"locRoutNotAllowed" bson:"locRoutNotAllowed,omitempty"` +} diff --git a/models/models/model_sm_policy_dnn_data_patch.go b/models/models/model_sm_policy_dnn_data_patch.go new file mode 100644 index 00000000..093281d7 --- /dev/null +++ b/models/models/model_sm_policy_dnn_data_patch.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given DNN (and S-NSSAI). +type SmPolicyDnnDataPatch struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // Contains updated transfer policies of background data transfer. Any string value can be used as a key of the map. + BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` +} diff --git a/models/models/model_sm_policy_notification.go b/models/models/model_sm_policy_notification.go new file mode 100644 index 00000000..2d587609 --- /dev/null +++ b/models/models/model_sm_policy_notification.go @@ -0,0 +1,20 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a notification on the update of the SM policies. +type SmPolicyNotification struct { + // String providing an URI formatted according to RFC 3986. + ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` + SmPolicyDecision *SmPolicyDecision `json:"smPolicyDecision,omitempty" yaml:"smPolicyDecision" bson:"smPolicyDecision,omitempty"` +} diff --git a/models/models/model_sm_policy_snssai_data.go b/models/models/model_sm_policy_snssai_data.go new file mode 100644 index 00000000..2bc6085e --- /dev/null +++ b/models/models/model_sm_policy_snssai_data.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber and S-NSSAI. +type SmPolicySnssaiData struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. + SmPolicyDnnData map[string]SmPolicyDnnData `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` + UeSliceMbr *SliceMbr `json:"ueSliceMbr,omitempty" yaml:"ueSliceMbr" bson:"ueSliceMbr,omitempty"` +} diff --git a/models/models/model_sm_policy_snssai_data_patch.go b/models/models/model_sm_policy_snssai_data_patch.go new file mode 100644 index 00000000..bb94239b --- /dev/null +++ b/models/models/model_sm_policy_snssai_data_patch.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the SM policy data for a given subscriber and S-NSSAI. +type SmPolicySnssaiDataPatch struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Modifiable Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. + SmPolicyDnnData map[string]SmPolicyDnnDataPatch `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` +} diff --git a/models/models/model_sm_policy_update_context_data.go b/models/models/model_sm_policy_update_context_data.go new file mode 100644 index 00000000..42854d0a --- /dev/null +++ b/models/models/model_sm_policy_update_context_data.go @@ -0,0 +1,101 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the policy control request trigger(s) that were met and the corresponding new value(s) or the error report of the policy enforcement. +type SmPolicyUpdateContextData struct { + // The policy control reqeust trigges which are met. + RepPolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"repPolicyCtrlReqTriggers,omitempty" yaml:"repPolicyCtrlReqTriggers" bson:"repPolicyCtrlReqTriggers,omitempty"` + // Indicates the access network charging identifier for the PCC rule(s) or whole PDU session. + AccNetChIds []AccNetChId `json:"accNetChIds,omitempty" yaml:"accNetChIds" bson:"accNetChIds,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` + RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + RelIpv4Address string `json:"relIpv4Address,omitempty" yaml:"relIpv4Address" bson:"relIpv4Address,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` + // Indicates the IPv4 address domain + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` + RelIpv6AddressPrefix string `json:"relIpv6AddressPrefix,omitempty" yaml:"relIpv6AddressPrefix" bson:"relIpv6AddressPrefix,omitempty"` + AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` + AddRelIpv6AddrPrefixes string `json:"addRelIpv6AddrPrefixes,omitempty" yaml:"addRelIpv6AddrPrefixes" bson:"addRelIpv6AddrPrefixes,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + RelUeMac string `json:"relUeMac,omitempty" yaml:"relUeMac" bson:"relUeMac,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` + // Indicates the DN-AAA authorization profile index + AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` + SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` + VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` + // If it is included and set to true, indicates that the QoS constraints in the VPLMN are not applicable. + VplmnQosNotApp bool `json:"vplmnQosNotApp,omitempty" yaml:"vplmnQosNotApp" bson:"vplmnQosNotApp,omitempty"` + // Contains the number of supported packet filter for signalled QoS rules. + NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` + // Contains the usage report + AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` + // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. + Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` + // Report the start/stop of the application traffic and detected SDF descriptions if applicable. + AppDetectionInfos []AppDetectionInfo `json:"appDetectionInfos,omitempty" yaml:"appDetectionInfos" bson:"appDetectionInfos,omitempty"` + // Used to report the PCC rule failure. + RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` + // Used to report the session rule failure. + SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` + // QoS Notification Control information. + QncReports []PcfSmPolicyControlQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` + QosMonReports []PcfSmPolicyControlQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` + // Reports the changes of presence reporting area. The praId attribute within the PresenceInfo data type is the key of the map. + RepPraInfos map[string]PresenceInfo `json:"repPraInfos,omitempty" yaml:"repPraInfos" bson:"repPraInfos,omitempty"` + UeInitResReq *UeInitiatedResourceRequest `json:"ueInitResReq,omitempty" yaml:"ueInitResReq" bson:"ueInitResReq,omitempty"` + // If it is included and set to true, the reflective QoS is supported by the UE. If it is included and set to false, the reflective QoS is revoked by the UE. + RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` + QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` + CreditManageStatus CreditManagementStatus `json:"creditManageStatus,omitempty" yaml:"creditManageStatus" bson:"creditManageStatus,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` + MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` + AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` + TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo,omitempty" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` + TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` + TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` + TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` + MulAddrInfos []IpMulticastAddressInfo `json:"mulAddrInfos,omitempty" yaml:"mulAddrInfos" bson:"mulAddrInfos,omitempty"` + // Contains the type(s) of failed policy decision and/or condition data. + PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` + // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. + InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` + TrafficDescriptors []DddTrafficDescriptor `json:"trafficDescriptors,omitempty" yaml:"trafficDescriptors" bson:"trafficDescriptors,omitempty"` + // Contains the identifier of the PCC rule which is used for traffic detection of event. + PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` + InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` + PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` + NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` + // When it is included and set to true, it indicates that the AN-Gateway has failed and that the PCF should refrain from sending policy decisions to the SMF until it is informed that the AN-Gateway has been recovered. + AnGwStatus bool `json:"anGwStatus,omitempty" yaml:"anGwStatus" bson:"anGwStatus,omitempty"` +} diff --git a/models/models/model_sm_policy_update_notification_response_200.go b/models/models/model_sm_policy_update_notification_response_200.go new file mode 100644 index 00000000..6d8f8ca5 --- /dev/null +++ b/models/models/model_sm_policy_update_notification_response_200.go @@ -0,0 +1,25 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPolicyUpdateNotificationResponse200 struct { + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` +} diff --git a/models/models/model_sm_priority.go b/models/models/model_sm_priority.go new file mode 100644 index 00000000..1e32b7b5 --- /dev/null +++ b/models/models/model_sm_priority.go @@ -0,0 +1,22 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmPriority string + +// List of SMPriority +const ( + SmPriority_LOW SmPriority = "LOW" + SmPriority_NORMAL SmPriority = "NORMAL" + SmPriority_HIGH SmPriority = "HIGH" +) diff --git a/models/models/model_sm_service_type.go b/models/models/model_sm_service_type.go new file mode 100644 index 00000000..a3670ca1 --- /dev/null +++ b/models/models/model_sm_service_type.go @@ -0,0 +1,30 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmServiceType string + +// List of SMServiceType +const ( + SmServiceType_CONTENT_PROCESSING SmServiceType = "VAS4SMS_SHORT_MESSAGE_CONTENT_PROCESSING" + SmServiceType_FORWARDING SmServiceType = "VAS4SMS_SHORT_MESSAGE_FORWARDING" + SmServiceType_FORWARDING_MULTIPLE_SUBSCRIPTIONS SmServiceType = "VAS4SMS_SHORT_MESSAGE_FORWARDING_MULTIPLE_SUBSCRIPTIONS" + SmServiceType_FILTERING SmServiceType = "VAS4SMS_SHORT_MESSAGE_FILTERING" + SmServiceType_RECEIPT SmServiceType = "VAS4SMS_SHORT_MESSAGE_RECEIPT" + SmServiceType_NETWORK_STORAGE SmServiceType = "VAS4SMS_SHORT_MESSAGE_NETWORK_STORAGE" + SmServiceType_TO_MULTIPLE_DESTINATIONS SmServiceType = "VAS4SMS_SHORT_MESSAGE_TO_MULTIPLE_DESTINATIONS" + SmServiceType_VIRTUAL_PRIVATE_NETWORK_VPN SmServiceType = "VAS4SMS_SHORT_MESSAGE_VIRTUAL_PRIVATE_NETWORK(VPN)" + SmServiceType_AUTO_REPLY SmServiceType = "VAS4SMS_SHORT_MESSAGE_AUTO_REPLY" + SmServiceType_PERSONAL_SIGNATURE SmServiceType = "VAS4SMS_SHORT_MESSAGE_PERSONAL_SIGNATURE" + SmServiceType_DEFERRED_DELIVERY SmServiceType = "VAS4SMS_SHORT_MESSAGE_DEFERRED_DELIVERY" +) diff --git a/models/models/model_sm_subs_data.go b/models/models/model_sm_subs_data.go new file mode 100644 index 00000000..ba9ff8e0 --- /dev/null +++ b/models/models/model_sm_subs_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmSubsData struct { + SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` + IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` +} diff --git a/models/models/model_small_data_rate_control.go b/models/models/model_small_data_rate_control.go new file mode 100644 index 00000000..4e67ee83 --- /dev/null +++ b/models/models/model_small_data_rate_control.go @@ -0,0 +1,22 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Configuration of Small Data Rate Control for the SM Context. +type SmallDataRateControl struct { + TimeUnit SmallDataRateControlTimeUnit `json:"timeUnit" yaml:"timeUnit" bson:"timeUnit,omitempty"` + MaxPacketRateUl int32 `json:"maxPacketRateUl,omitempty" yaml:"maxPacketRateUl" bson:"maxPacketRateUl,omitempty"` + MaxPacketRateDl int32 `json:"maxPacketRateDl,omitempty" yaml:"maxPacketRateDl" bson:"maxPacketRateDl,omitempty"` + MaxAdditionalPacketRateUl int32 `json:"maxAdditionalPacketRateUl,omitempty" yaml:"maxAdditionalPacketRateUl" bson:"maxAdditionalPacketRateUl,omitempty"` + MaxAdditionalPacketRateDl int32 `json:"maxAdditionalPacketRateDl,omitempty" yaml:"maxAdditionalPacketRateDl" bson:"maxAdditionalPacketRateDl,omitempty"` +} diff --git a/models/models/model_small_data_rate_control_time_unit.go b/models/models/model_small_data_rate_control_time_unit.go new file mode 100644 index 00000000..a00db123 --- /dev/null +++ b/models/models/model_small_data_rate_control_time_unit.go @@ -0,0 +1,24 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmallDataRateControlTimeUnit string + +// List of SmallDataRateControlTimeUnit +const ( + SmallDataRateControlTimeUnit_MINUTE SmallDataRateControlTimeUnit = "MINUTE" + SmallDataRateControlTimeUnit_HOUR SmallDataRateControlTimeUnit = "HOUR" + SmallDataRateControlTimeUnit_DAY SmallDataRateControlTimeUnit = "DAY" + SmallDataRateControlTimeUnit_WEEK SmallDataRateControlTimeUnit = "WEEK" + SmallDataRateControlTimeUnit__6_MINUTES SmallDataRateControlTimeUnit = "6MINUTES" +) diff --git a/models/models/model_small_data_rate_status.go b/models/models/model_small_data_rate_status.go new file mode 100644 index 00000000..44b566cc --- /dev/null +++ b/models/models/model_small_data_rate_status.go @@ -0,0 +1,31 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// It indicates theSmall Data Rate Control Status +type SmallDataRateStatus struct { + // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` + // When present it shall contain the number of packets the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` + // When present, it shall indicate number of additional exception reports the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. + RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` + // When present, it shall indicate number of additional exception reports the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 in 3GPP TS 23.501 + RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` +} diff --git a/models/models/model_small_data_rate_status_info.go b/models/models/model_small_data_rate_status_info.go new file mode 100644 index 00000000..c2b9a1e6 --- /dev/null +++ b/models/models/model_small_data_rate_status_info.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the small data rate status +type SmallDataRateStatusInfo struct { + Snssai *Snssai `json:"Snssai" yaml:"Snssai" bson:"Snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"Dnn" yaml:"Dnn" bson:"Dnn,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"SmallDataRateStatus" yaml:"SmallDataRateStatus" bson:"SmallDataRateStatus,omitempty"` +} diff --git a/models/models/model_smcce_info.go b/models/models/model_smcce_info.go new file mode 100644 index 00000000..d8e4db9f --- /dev/null +++ b/models/models/model_smcce_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the Session Management congestion control experience information. +type SmcceInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + SmcceUeList *SmcceUeList `json:"smcceUeList" yaml:"smcceUeList" bson:"smcceUeList,omitempty"` +} diff --git a/models/models/model_smcce_ue_list.go b/models/models/model_smcce_ue_list.go new file mode 100644 index 00000000..22abe6bc --- /dev/null +++ b/models/models/model_smcce_ue_list.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the List of UEs classified based on experience level of Session Management congestion control. +type SmcceUeList struct { + HighLevel []string `json:"highLevel,omitempty" yaml:"highLevel" bson:"highLevel,omitempty"` + MediumLevel []string `json:"mediumLevel,omitempty" yaml:"mediumLevel" bson:"mediumLevel,omitempty"` + LowLevel []string `json:"lowLevel,omitempty" yaml:"lowLevel" bson:"lowLevel,omitempty"` +} diff --git a/models/models/model_smf_change_indication.go b/models/models/model_smf_change_indication.go new file mode 100644 index 00000000..a00f4752 --- /dev/null +++ b/models/models/model_smf_change_indication.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfChangeIndication string + +// List of SmfChangeIndication +const ( + SmfChangeIndication_CHANGED SmfChangeIndication = "CHANGED" + SmfChangeIndication_REMOVED SmfChangeIndication = "REMOVED" +) diff --git a/models/models/model_smf_change_info.go b/models/models/model_smf_change_info.go new file mode 100644 index 00000000..8f3c088e --- /dev/null +++ b/models/models/model_smf_change_info.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMF change information for PDU session(s) +type SmfChangeInfo struct { + PduSessionIdList []int32 `json:"pduSessionIdList" yaml:"pduSessionIdList" bson:"pduSessionIdList,omitempty"` + SmfChangeInd SmfChangeIndication `json:"smfChangeInd" yaml:"smfChangeInd" bson:"smfChangeInd,omitempty"` +} diff --git a/models/models/model_smf_event.go b/models/models/model_smf_event.go new file mode 100644 index 00000000..f3875fa1 --- /dev/null +++ b/models/models/model_smf_event.go @@ -0,0 +1,36 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfEvent string + +// List of SmfEvent +const ( + SmfEvent_AC_TY_CH SmfEvent = "AC_TY_CH" + SmfEvent_UP_PATH_CH SmfEvent = "UP_PATH_CH" + SmfEvent_PDU_SES_REL SmfEvent = "PDU_SES_REL" + SmfEvent_PLMN_CH SmfEvent = "PLMN_CH" + SmfEvent_UE_IP_CH SmfEvent = "UE_IP_CH" + SmfEvent_RAT_TY_CH SmfEvent = "RAT_TY_CH" + SmfEvent_DDDS SmfEvent = "DDDS" + SmfEvent_COMM_FAIL SmfEvent = "COMM_FAIL" + SmfEvent_PDU_SES_EST SmfEvent = "PDU_SES_EST" + SmfEvent_QFI_ALLOC SmfEvent = "QFI_ALLOC" + SmfEvent_QOS_MON SmfEvent = "QOS_MON" + SmfEvent_SMCC_EXP SmfEvent = "SMCC_EXP" + SmfEvent_DISPERSION SmfEvent = "DISPERSION" + SmfEvent_RED_TRANS_EXP SmfEvent = "RED_TRANS_EXP" + SmfEvent_WLAN_INFO SmfEvent = "WLAN_INFO" + SmfEvent_UPF_INFO SmfEvent = "UPF_INFO" + SmfEvent_UP_STATUS_INFO SmfEvent = "UP_STATUS_INFO" +) diff --git a/models/models/model_smf_event_exposure_event_notification.go b/models/models/model_smf_event_exposure_event_notification.go new file mode 100644 index 00000000..4409db98 --- /dev/null +++ b/models/models/model_smf_event_exposure_event_notification.go @@ -0,0 +1,100 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a notification related to a single event that occurred. +type SmfEventExposureEventNotification struct { + Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` + // Transaction Information. + TransacInfos []TransactionInfo `json:"transacInfos,omitempty" yaml:"transacInfos" bson:"transacInfos,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` + SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + TargetUeIpv4Addr string `json:"targetUeIpv4Addr,omitempty" yaml:"targetUeIpv4Addr" bson:"targetUeIpv4Addr,omitempty"` + TargetUeIpv6Prefix string `json:"targetUeIpv6Prefix,omitempty" yaml:"targetUeIpv6Prefix" bson:"targetUeIpv6Prefix,omitempty"` + SourceTraRouting *RouteToLocation `json:"sourceTraRouting,omitempty" yaml:"sourceTraRouting" bson:"sourceTraRouting,omitempty"` + TargetTraRouting *RouteToLocation `json:"targetTraRouting,omitempty" yaml:"targetTraRouting" bson:"targetTraRouting,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + AdIpv4Addr string `json:"adIpv4Addr,omitempty" yaml:"adIpv4Addr" bson:"adIpv4Addr,omitempty"` + AdIpv6Prefix string `json:"adIpv6Prefix,omitempty" yaml:"adIpv6Prefix" bson:"adIpv6Prefix,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + ReIpv4Addr string `json:"reIpv4Addr,omitempty" yaml:"reIpv4Addr" bson:"reIpv4Addr,omitempty"` + ReIpv6Prefix string `json:"reIpv6Prefix,omitempty" yaml:"reIpv6Prefix" bson:"reIpv6Prefix,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + DddStatus DlDataDeliveryStatus `json:"dddStatus,omitempty" yaml:"dddStatus" bson:"dddStatus,omitempty"` + DddTraDescriptor *DddTrafficDescriptor `json:"dddTraDescriptor,omitempty" yaml:"dddTraDescriptor" bson:"dddTraDescriptor,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxWaitTime *time.Time `json:"maxWaitTime,omitempty" yaml:"maxWaitTime" bson:"maxWaitTime,omitempty"` + CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi,omitempty" yaml:"qfi" bson:"qfi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + // Descriptor(s) for non-IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single Ethernet flow. + EthFlowDescs []EthFlowDescription `json:"ethFlowDescs,omitempty" yaml:"ethFlowDescs" bson:"ethFlowDescs,omitempty"` + // Contains the UL and/or DL Ethernet flows. Each entry of the array describes a single Ethernet flow. + EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` + // Descriptor(s) for IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single IP flow. + FlowDescs []string `json:"flowDescs,omitempty" yaml:"flowDescs" bson:"flowDescs,omitempty"` + // Contains the UL and/or DL IP flows. Each entry of the array describes a single IP flow. + FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` + DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` + RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` + // Represents the packet delay measurement failure indicator. + Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` + TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` + SmNasFromUe *SmNasFromUe `json:"smNasFromUe,omitempty" yaml:"smNasFromUe" bson:"smNasFromUe,omitempty"` + SmNasFromSmf *SmNasFromSmf `json:"smNasFromSmf,omitempty" yaml:"smNasFromSmf" bson:"smNasFromSmf,omitempty"` + // Indicates whether the redundant transmission is setup or terminated. Set to \"true\" if the redundant transmission is setup, otherwise set to \"false\" if the redundant transmission is terminated. Default value is set to \"false\". + UpRedTrans bool `json:"upRedTrans,omitempty" yaml:"upRedTrans" bson:"upRedTrans,omitempty"` + SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + StartWlan *time.Time `json:"startWlan,omitempty" yaml:"startWlan" bson:"startWlan,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + EndWlan *time.Time `json:"endWlan,omitempty" yaml:"endWlan" bson:"endWlan,omitempty"` + PduSessInfos []SmfEventExposurePduSessionInformation `json:"pduSessInfos,omitempty" yaml:"pduSessInfos" bson:"pduSessInfos,omitempty"` + UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` +} diff --git a/models/models/model_smf_event_exposure_event_subscription.go b/models/models/model_smf_event_exposure_event_subscription.go new file mode 100644 index 00000000..e64936b3 --- /dev/null +++ b/models/models/model_smf_event_exposure_event_subscription.go @@ -0,0 +1,28 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a subscription to a single event. +type SmfEventExposureEventSubscription struct { + Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty" yaml:"dddTraDescriptors" bson:"dddTraDescriptors,omitempty"` + DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty" yaml:"dddStati" bson:"dddStati,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + TargetPeriod *TimeWindow `json:"targetPeriod,omitempty" yaml:"targetPeriod" bson:"targetPeriod,omitempty"` + // Indicates the subscription for UE transaction dispersion collectionon, if it is included and set to \"true\". Default value is \"false\". + TransacDispInd bool `json:"transacDispInd,omitempty" yaml:"transacDispInd" bson:"transacDispInd,omitempty"` + // Indicates Session Management Transaction metrics. + TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` + UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` +} diff --git a/models/models/model_smf_event_exposure_notification_method.go b/models/models/model_smf_event_exposure_notification_method.go new file mode 100644 index 00000000..f71cbf70 --- /dev/null +++ b/models/models/model_smf_event_exposure_notification_method.go @@ -0,0 +1,22 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfEventExposureNotificationMethod string + +// List of SmfEventExposureNotificationMethod +const ( + SmfEventExposureNotificationMethod_PERIODIC SmfEventExposureNotificationMethod = "PERIODIC" + SmfEventExposureNotificationMethod_ONE_TIME SmfEventExposureNotificationMethod = "ONE_TIME" + SmfEventExposureNotificationMethod_ON_EVENT_DETECTION SmfEventExposureNotificationMethod = "ON_EVENT_DETECTION" +) diff --git a/models/models/model_smf_event_exposure_pdu_session_info.go b/models/models/model_smf_event_exposure_pdu_session_info.go new file mode 100644 index 00000000..3dc431ed --- /dev/null +++ b/models/models/model_smf_event_exposure_pdu_session_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents session information. +type SmfEventExposurePduSessionInfo struct { + // The identifier of the N4 session for the reported PDU Session. + N4SessId string `json:"n4SessId,omitempty" yaml:"n4SessId" bson:"n4SessId,omitempty"` + // indicating a time in seconds. + SessInactiveTimer int32 `json:"sessInactiveTimer,omitempty" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` + PduSessStatus SmfEventExposurePduSessionStatus `json:"pduSessStatus,omitempty" yaml:"pduSessStatus" bson:"pduSessStatus,omitempty"` +} diff --git a/models/models/model_smf_event_exposure_pdu_session_information.go b/models/models/model_smf_event_exposure_pdu_session_information.go new file mode 100644 index 00000000..9583da10 --- /dev/null +++ b/models/models/model_smf_event_exposure_pdu_session_information.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the PDU session related information. +type SmfEventExposurePduSessionInformation struct { + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessId int32 `json:"pduSessId,omitempty" yaml:"pduSessId" bson:"pduSessId,omitempty"` + SessInfo *SmfEventExposurePduSessionInfo `json:"sessInfo,omitempty" yaml:"sessInfo" bson:"sessInfo,omitempty"` +} diff --git a/models/models/model_smf_event_exposure_pdu_session_status.go b/models/models/model_smf_event_exposure_pdu_session_status.go new file mode 100644 index 00000000..ada471eb --- /dev/null +++ b/models/models/model_smf_event_exposure_pdu_session_status.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfEventExposurePduSessionStatus string + +// List of SmfEventExposurePduSessionStatus +const ( + SmfEventExposurePduSessionStatus_ACTIVATED SmfEventExposurePduSessionStatus = "ACTIVATED" + SmfEventExposurePduSessionStatus_DEACTIVATED SmfEventExposurePduSessionStatus = "DEACTIVATED" +) diff --git a/models/models/model_smf_info.go b/models/models/model_smf_info.go new file mode 100644 index 00000000..77d82780 --- /dev/null +++ b/models/models/model_smf_info.go @@ -0,0 +1,30 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an SMF NF Instance +type SmfInfo struct { + SNssaiSmfInfoList []SnssaiSmfInfoItem `json:"sNssaiSmfInfoList" yaml:"sNssaiSmfInfoList" bson:"sNssaiSmfInfoList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddrList []IpAddr `json:"pgwIpAddrList,omitempty" yaml:"pgwIpAddrList" bson:"pgwIpAddrList,omitempty"` + AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + VsmfSupportInd bool `json:"vsmfSupportInd,omitempty" yaml:"vsmfSupportInd" bson:"vsmfSupportInd,omitempty"` + PgwFqdnList []string `json:"pgwFqdnList,omitempty" yaml:"pgwFqdnList" bson:"pgwFqdnList,omitempty"` + SmfOnboardingCapability bool `json:"smfOnboardingCapability,omitempty" yaml:"smfOnboardingCapability" bson:"smfOnboardingCapability,omitempty"` + IsmfSupportInd bool `json:"ismfSupportInd,omitempty" yaml:"ismfSupportInd" bson:"ismfSupportInd,omitempty"` + SmfUPRPCapability bool `json:"smfUPRPCapability,omitempty" yaml:"smfUPRPCapability" bson:"smfUPRPCapability,omitempty"` +} diff --git a/models/models/model_smf_nidd_deliver_req_data.go b/models/models/model_smf_nidd_deliver_req_data.go new file mode 100644 index 00000000..d7f8bcc7 --- /dev/null +++ b/models/models/model_smf_nidd_deliver_req_data.go @@ -0,0 +1,18 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Representation of the payload of a Deliver Request. +type SmfNiddDeliverReqData struct { + MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_cause.go b/models/models/model_smf_pdu_session_cause.go new file mode 100644 index 00000000..4b9ca7e9 --- /dev/null +++ b/models/models/model_smf_pdu_session_cause.go @@ -0,0 +1,52 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfPduSessionCause string + +// List of SmfPDUSessionCause +const ( + SmfPduSessionCause_REL_DUE_TO_HO SmfPduSessionCause = "REL_DUE_TO_HO" + SmfPduSessionCause_EPS_FALLBACK SmfPduSessionCause = "EPS_FALLBACK" + SmfPduSessionCause_REL_DUE_TO_UP_SEC SmfPduSessionCause = "REL_DUE_TO_UP_SEC" + SmfPduSessionCause_DNN_CONGESTION SmfPduSessionCause = "DNN_CONGESTION" + SmfPduSessionCause_S_NSSAI_CONGESTION SmfPduSessionCause = "S_NSSAI_CONGESTION" + SmfPduSessionCause_REL_DUE_TO_REACTIVATION SmfPduSessionCause = "REL_DUE_TO_REACTIVATION" + SmfPduSessionCause__5_G_AN_NOT_RESPONDING SmfPduSessionCause = "5G_AN_NOT_RESPONDING" + SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AVAILABLE SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" + SmfPduSessionCause_REL_DUE_TO_DUPLICATE_SESSION_ID SmfPduSessionCause = "REL_DUE_TO_DUPLICATE_SESSION_ID" + SmfPduSessionCause_PDU_SESSION_STATUS_MISMATCH SmfPduSessionCause = "PDU_SESSION_STATUS_MISMATCH" + SmfPduSessionCause_HO_FAILURE SmfPduSessionCause = "HO_FAILURE" + SmfPduSessionCause_INSUFFICIENT_UP_RESOURCES SmfPduSessionCause = "INSUFFICIENT_UP_RESOURCES" + SmfPduSessionCause_PDU_SESSION_HANDED_OVER SmfPduSessionCause = "PDU_SESSION_HANDED_OVER" + SmfPduSessionCause_PDU_SESSION_RESUMED SmfPduSessionCause = "PDU_SESSION_RESUMED" + SmfPduSessionCause_CN_ASSISTED_RAN_PARAMETER_TUNING SmfPduSessionCause = "CN_ASSISTED_RAN_PARAMETER_TUNING" + SmfPduSessionCause_ISMF_CONTEXT_TRANSFER SmfPduSessionCause = "ISMF_CONTEXT_TRANSFER" + SmfPduSessionCause_SMF_CONTEXT_TRANSFER SmfPduSessionCause = "SMF_CONTEXT_TRANSFER" + SmfPduSessionCause_REL_DUE_TO_PS_TO_CS_HO SmfPduSessionCause = "REL_DUE_TO_PS_TO_CS_HO" + SmfPduSessionCause_REL_DUE_TO_SUBSCRIPTION_CHANGE SmfPduSessionCause = "REL_DUE_TO_SUBSCRIPTION_CHANGE" + SmfPduSessionCause_HO_CANCEL SmfPduSessionCause = "HO_CANCEL" + SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AUTHORIZED SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AUTHORIZED" + SmfPduSessionCause_PDU_SESSION_HAND_OVER_FAILURE SmfPduSessionCause = "PDU_SESSION_HAND_OVER_FAILURE" + SmfPduSessionCause_DDN_FAILURE_STATUS SmfPduSessionCause = "DDN_FAILURE_STATUS" + SmfPduSessionCause_REL_DUE_TO_CP_ONLY_NOT_APPLICABLE SmfPduSessionCause = "REL_DUE_TO_CP_ONLY_NOT_APPLICABLE" + SmfPduSessionCause_NOT_SUPPORTED_WITH_ISMF SmfPduSessionCause = "NOT_SUPPORTED_WITH_ISMF" + SmfPduSessionCause_CHANGED_ANCHOR_SMF SmfPduSessionCause = "CHANGED_ANCHOR_SMF" + SmfPduSessionCause_CHANGED_INTERMEDIATE_SMF SmfPduSessionCause = "CHANGED_INTERMEDIATE_SMF" + SmfPduSessionCause_TARGET_DNAI_NOTIFICATION SmfPduSessionCause = "TARGET_DNAI_NOTIFICATION" + SmfPduSessionCause_REL_DUE_TO_VPLMN_QOS_FAILURE SmfPduSessionCause = "REL_DUE_TO_VPLMN_QOS_FAILURE" + SmfPduSessionCause_REL_DUE_TO_SMF_NOT_SUPPORT_PSETR SmfPduSessionCause = "REL_DUE_TO_SMF_NOT_SUPPORT_PSETR" + SmfPduSessionCause_REL_DUE_TO_SNPN_SNPN_MOBILITY SmfPduSessionCause = "REL_DUE_TO_SNPN_SNPN_MOBILITY" + SmfPduSessionCause_REL_DUE_TO_NO_HR_AGREEMENT SmfPduSessionCause = "REL_DUE_TO_NO_HR_AGREEMENT" + SmfPduSessionCause_REL_DUE_TO_UNSPECIFIED_REASON SmfPduSessionCause = "REL_DUE_TO_UNSPECIFIED_REASON" +) diff --git a/models/models/model_smf_pdu_session_dnai_information.go b/models/models/model_smf_pdu_session_dnai_information.go new file mode 100644 index 00000000..7dfca55b --- /dev/null +++ b/models/models/model_smf_pdu_session_dnai_information.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// DNAI Information +type SmfPduSessionDnaiInformation struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` + NoDnaiChangeInd bool `json:"noDnaiChangeInd,omitempty" yaml:"noDnaiChangeInd" bson:"noDnaiChangeInd,omitempty"` + NoLocalPsaChangeInd bool `json:"noLocalPsaChangeInd,omitempty" yaml:"noLocalPsaChangeInd" bson:"noLocalPsaChangeInd,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_ext_problem_details.go b/models/models/model_smf_pdu_session_ext_problem_details.go new file mode 100644 index 00000000..a69ee9f5 --- /dev/null +++ b/models/models/model_smf_pdu_session_ext_problem_details.go @@ -0,0 +1,35 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extended Problem Details +type SmfPduSessionExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_gbr_qos_flow_information.go b/models/models/model_smf_pdu_session_gbr_qos_flow_information.go new file mode 100644 index 00000000..bd06fcaf --- /dev/null +++ b/models/models/model_smf_pdu_session_gbr_qos_flow_information.go @@ -0,0 +1,31 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// GBR QoS flow information +type SmfPduSessionGbrQosFlowInformation struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrDl string `json:"maxFbrDl" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrUl string `json:"maxFbrUl" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` + NotifControl NotificationControl `json:"notifControl,omitempty" yaml:"notifControl" bson:"notifControl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` + AlternativeQosProfileList []AlternativeQosProfile `json:"alternativeQosProfileList,omitempty" yaml:"alternativeQosProfileList" bson:"alternativeQosProfileList,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_ip_address.go b/models/models/model_smf_pdu_session_ip_address.go new file mode 100644 index 00000000..366372dd --- /dev/null +++ b/models/models/model_smf_pdu_session_ip_address.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// IP Address +type SmfPduSessionIpAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_notification_info.go b/models/models/model_smf_pdu_session_notification_info.go new file mode 100644 index 00000000..73246a60 --- /dev/null +++ b/models/models/model_smf_pdu_session_notification_info.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Notification Correlation ID and Notification URI provided by the NF service consumer +type SmfPduSessionNotificationInfo struct { + NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + UpBufferInd bool `json:"upBufferInd,omitempty" yaml:"upBufferInd" bson:"upBufferInd,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go b/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go new file mode 100644 index 00000000..fae773d4 --- /dev/null +++ b/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go @@ -0,0 +1,27 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Individual QoS flow requested to be created or modified +type SmfPduSessionQosFlowAddModifyRequestItem struct { + // Unsigned integer identifying a QoS flow, within the range 0 to 63. + Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` + // EPS Bearer Identifier + Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` + // string with format 'bytes' as defined in OpenAPI + QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` + QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` + AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_qos_flow_profile.go b/models/models/model_smf_pdu_session_qos_flow_profile.go new file mode 100644 index 00000000..11cc9d3f --- /dev/null +++ b/models/models/model_smf_pdu_session_qos_flow_profile.go @@ -0,0 +1,28 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// QoS flow profile +type SmfPduSessionQosFlowProfile struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty" yaml:"nonDynamic5Qi" bson:"nonDynamic5Qi,omitempty"` + Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty" yaml:"dynamic5Qi" bson:"dynamic5Qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + GbrQosFlowInfo *SmfPduSessionGbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty" yaml:"gbrQosFlowInfo" bson:"gbrQosFlowInfo,omitempty"` + Rqa ReflectiveQoSAttribute `json:"rqa,omitempty" yaml:"rqa" bson:"rqa,omitempty"` + AdditionalQosFlowInfo *AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty" yaml:"additionalQosFlowInfo" bson:"additionalQosFlowInfo,omitempty"` + QosMonitoringReq QosMonitoringReq `json:"qosMonitoringReq,omitempty" yaml:"qosMonitoringReq" bson:"qosMonitoringReq,omitempty"` + // indicating a time in seconds. + QosRepPeriod int32 `json:"qosRepPeriod,omitempty" yaml:"qosRepPeriod" bson:"qosRepPeriod,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_sm_context_create_data.go b/models/models/model_smf_pdu_session_sm_context_create_data.go new file mode 100644 index 00000000..3b532a71 --- /dev/null +++ b/models/models/model_smf_pdu_session_sm_context_create_data.go @@ -0,0 +1,148 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Create SM Context Request +type SmfPduSessionSmContextCreateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextStatusUri string `json:"smContextStatusUri" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HSmfId string `json:"hSmfId,omitempty" yaml:"hSmfId" bson:"hSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` + AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty" yaml:"additionalHsmfUri" bson:"additionalHsmfUri,omitempty"` + AdditionalHsmfId []string `json:"additionalHsmfId,omitempty" yaml:"additionalHsmfId" bson:"additionalHsmfId,omitempty"` + AdditionalSmfUri []string `json:"additionalSmfUri,omitempty" yaml:"additionalSmfUri" bson:"additionalSmfUri,omitempty"` + AdditionalSmfId []string `json:"additionalSmfId,omitempty" yaml:"additionalSmfId" bson:"additionalSmfId,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` + PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty" yaml:"pduSessionsActivateList" bson:"pduSessionsActivateList,omitempty"` + // UE EPS PDN Connection container from SMF to AMF + UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfUri string `json:"nrfUri,omitempty" yaml:"nrfUri" bson:"nrfUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty" yaml:"indirectForwardingFlag" bson:"indirectForwardingFlag,omitempty"` + DirectForwardingFlag bool `json:"directForwardingFlag,omitempty" yaml:"directForwardingFlag" bson:"directForwardingFlag,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + // EPS bearer context status + EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` + CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` + CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` + InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextRef string `json:"smContextRef,omitempty" yaml:"smContextRef" bson:"smContextRef,omitempty"` + SmContextSmfPlmnId *PlmnIdNid `json:"smContextSmfPlmnId,omitempty" yaml:"smContextSmfPlmnId" bson:"smContextSmfPlmnId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmContextSmfId string `json:"smContextSmfId,omitempty" yaml:"smContextSmfId" bson:"smContextSmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmContextSmfSetId string `json:"smContextSmfSetId,omitempty" yaml:"smContextSmfSetId" bson:"smContextSmfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmContextSmfServiceSetId string `json:"smContextSmfServiceSetId,omitempty" yaml:"smContextSmfServiceSetId" bson:"smContextSmfServiceSetId,omitempty"` + SmContextSmfBinding SbiBindingLevel `json:"smContextSmfBinding,omitempty" yaml:"smContextSmfBinding" bson:"smContextSmfBinding,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SmfTransferInd bool `json:"smfTransferInd,omitempty" yaml:"smfTransferInd" bson:"smfTransferInd,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` + TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` + TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` + RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` + SamePcfSelectionInd bool `json:"samePcfSelectionInd,omitempty" yaml:"samePcfSelectionInd" bson:"samePcfSelectionInd,omitempty"` + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` + // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" + NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` + SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` + OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` + UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` + UavAuthenticated bool `json:"uavAuthenticated,omitempty" yaml:"uavAuthenticated" bson:"uavAuthenticated,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` + SmContextSmfOauth2Required bool `json:"smContextSmfOauth2Required,omitempty" yaml:"smContextSmfOauth2Required" bson:"smContextSmfOauth2Required,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_sm_context_created_data.go b/models/models/model_smf_pdu_session_sm_context_created_data.go new file mode 100644 index 00000000..1f4b3404 --- /dev/null +++ b/models/models/model_smf_pdu_session_sm_context_created_data.go @@ -0,0 +1,47 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Data within Create SM Context Response +type SmfPduSessionSmContextCreatedData struct { + // String providing an URI formatted according to RFC 3986. + HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_sm_context_release_data.go b/models/models/model_smf_pdu_session_sm_context_release_data.go new file mode 100644 index 00000000..bb0948ca --- /dev/null +++ b/models/models/model_smf_pdu_session_sm_context_release_data.go @@ -0,0 +1,29 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Release SM Context Request +type SmfPduSessionSmContextReleaseData struct { + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty" yaml:"vsmfReleaseOnly" bson:"vsmfReleaseOnly,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + IsmfReleaseOnly bool `json:"ismfReleaseOnly,omitempty" yaml:"ismfReleaseOnly" bson:"ismfReleaseOnly,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_sm_context_status_notification.go b/models/models/model_smf_pdu_session_sm_context_status_notification.go new file mode 100644 index 00000000..2da9738d --- /dev/null +++ b/models/models/model_smf_pdu_session_sm_context_status_notification.go @@ -0,0 +1,41 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Notify SM Context Status Request +type SmfPduSessionSmContextStatusNotification struct { + StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + DdnFailureStatus bool `json:"ddnFailureStatus,omitempty" yaml:"ddnFailureStatus" bson:"ddnFailureStatus,omitempty"` + NotifyCorrelationIdsForddnFailure []string `json:"notifyCorrelationIdsForddnFailure,omitempty" yaml:"notifyCorrelationIdsForddnFailure" bson:"notifyCorrelationIdsForddnFailure,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewIntermediateSmfId string `json:"newIntermediateSmfId,omitempty" yaml:"newIntermediateSmfId" bson:"newIntermediateSmfId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NewSmfSetId string `json:"newSmfSetId,omitempty" yaml:"newSmfSetId" bson:"newSmfSetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + AltAnchorSmfUri string `json:"altAnchorSmfUri,omitempty" yaml:"altAnchorSmfUri" bson:"altAnchorSmfUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AltAnchorSmfId string `json:"altAnchorSmfId,omitempty" yaml:"altAnchorSmfId" bson:"altAnchorSmfId,omitempty"` + TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` +} diff --git a/models/models/model_smf_pdu_session_sm_context_update_data.go b/models/models/model_smf_pdu_session_sm_context_update_data.go new file mode 100644 index 00000000..8848d47f --- /dev/null +++ b/models/models/model_smf_pdu_session_sm_context_update_data.go @@ -0,0 +1,82 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update SM Context Request +type SmfPduSessionSmContextUpdateData struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` + Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` + AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` + AnTypeToReactivate AccessType `json:"anTypeToReactivate,omitempty" yaml:"anTypeToReactivate" bson:"anTypeToReactivate,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` + HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` + ToBeSwitched bool `json:"toBeSwitched,omitempty" yaml:"toBeSwitched" bson:"toBeSwitched,omitempty"` + FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty" yaml:"failedToBeSwitched" bson:"failedToBeSwitched,omitempty"` + N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` + N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` + N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` + TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + TargetServingNfId string `json:"targetServingNfId,omitempty" yaml:"targetServingNfId" bson:"targetServingNfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SmContextStatusUri string `json:"smContextStatusUri,omitempty" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + N9ForwardingTunnel *TunnelInfo `json:"n9ForwardingTunnel,omitempty" yaml:"n9ForwardingTunnel" bson:"n9ForwardingTunnel,omitempty"` + N9DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9DlForwardingTnlList,omitempty" yaml:"n9DlForwardingTnlList" bson:"n9DlForwardingTnlList,omitempty"` + N9UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9UlForwardingTnlList,omitempty" yaml:"n9UlForwardingTnlList" bson:"n9UlForwardingTnlList,omitempty"` + N9DlForwardingTunnel *TunnelInfo `json:"n9DlForwardingTunnel,omitempty" yaml:"n9DlForwardingTunnel" bson:"n9DlForwardingTunnel,omitempty"` + // indicating a time in seconds. + N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` + EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + Release bool `json:"release,omitempty" yaml:"release" bson:"release,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` + AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` + N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` + N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` + MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` + ExemptionInd *ExemptionInd `json:"exemptionInd,omitempty" yaml:"exemptionInd" bson:"exemptionInd,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` + // string with format 'bytes' as defined in OpenAPI + ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` + ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` + DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` + SkipN2PduSessionResRelInd bool `json:"skipN2PduSessionResRelInd,omitempty" yaml:"skipN2PduSessionResRelInd" bson:"skipN2PduSessionResRelInd,omitempty"` + SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` + SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` +} diff --git a/models/models/model_smf_registration.go b/models/models/model_smf_registration.go new file mode 100644 index 00000000..9b9d7ad4 --- /dev/null +++ b/models/models/model_smf_registration.go @@ -0,0 +1,53 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SmfRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + EmergencyServices bool `json:"emergencyServices,omitempty" yaml:"emergencyServices" bson:"emergencyServices,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` + PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` + EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` + // String providing an URI formatted according to RFC 3986. + DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` + RegistrationReason RegistrationReason `json:"registrationReason,omitempty" yaml:"registrationReason" bson:"registrationReason,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` +} diff --git a/models/models/model_smf_registration_info.go b/models/models/model_smf_registration_info.go new file mode 100644 index 00000000..11170181 --- /dev/null +++ b/models/models/model_smf_registration_info.go @@ -0,0 +1,17 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfRegistrationInfo struct { + SmfRegistrationList []SmfRegistration `json:"smfRegistrationList" yaml:"smfRegistrationList" bson:"smfRegistrationList,omitempty"` +} diff --git a/models/models/model_smf_registration_modification.go b/models/models/model_smf_registration_modification.go new file mode 100644 index 00000000..dcbc6585 --- /dev/null +++ b/models/models/model_smf_registration_modification.go @@ -0,0 +1,23 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains attributes of SmfRegistration that can be modified using PATCH +type SmfRegistrationModification struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` + // Fully Qualified Domain Name + PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` +} diff --git a/models/models/model_smf_selection_data.go b/models/models/model_smf_selection_data.go new file mode 100644 index 00000000..77751a87 --- /dev/null +++ b/models/models/model_smf_selection_data.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the SMF Selection information that may be replaced by the PCF. +type SmfSelectionData struct { + UnsuppDnn bool `json:"unsuppDnn,omitempty" yaml:"unsuppDnn" bson:"unsuppDnn,omitempty"` + // Contains the list of DNNs per S-NSSAI that are candidates for replacement. The snssai attribute within the CandidateForReplacement data type is the key of the map. + Candidates map[string]*CandidateForReplacement `json:"candidates,omitempty" yaml:"candidates" bson:"candidates,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + MappingSnssai *Snssai `json:"mappingSnssai,omitempty" yaml:"mappingSnssai" bson:"mappingSnssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_smf_selection_subscription_data.go b/models/models/model_smf_selection_subscription_data.go new file mode 100644 index 00000000..f625cf6c --- /dev/null +++ b/models/models/model_smf_selection_subscription_data.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfSelectionSubscriptionData struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo + SubscribedSnssaiInfos map[string]SnssaiInfo `json:"subscribedSnssaiInfos,omitempty" yaml:"subscribedSnssaiInfos" bson:"subscribedSnssaiInfos,omitempty"` + SharedSnssaiInfosId string `json:"sharedSnssaiInfosId,omitempty" yaml:"sharedSnssaiInfosId" bson:"sharedSnssaiInfosId,omitempty"` + // Identifier of a group of NFs. + HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` +} diff --git a/models/models/model_smf_selection_type.go b/models/models/model_smf_selection_type.go new file mode 100644 index 00000000..8c650d80 --- /dev/null +++ b/models/models/model_smf_selection_type.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmfSelectionType string + +// List of SmfSelectionType +const ( + SmfSelectionType_CURRENT_PDU_SESSION SmfSelectionType = "CURRENT_PDU_SESSION" + SmfSelectionType_NEXT_PDU_SESSION SmfSelectionType = "NEXT_PDU_SESSION" +) diff --git a/models/models/model_smf_subscription_info.go b/models/models/model_smf_subscription_info.go new file mode 100644 index 00000000..b5afcc15 --- /dev/null +++ b/models/models/model_smf_subscription_info.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to active subscriptions at the SMF(s) +type SmfSubscriptionInfo struct { + SmfSubscriptionList []SmfSubscriptionItem `json:"smfSubscriptionList" yaml:"smfSubscriptionList" bson:"smfSubscriptionList,omitempty"` +} diff --git a/models/models/model_smf_subscription_item.go b/models/models/model_smf_subscription_item.go new file mode 100644 index 00000000..39102ece --- /dev/null +++ b/models/models/model_smf_subscription_item.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains info about a single SMF event subscription +type SmfSubscriptionItem struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` +} diff --git a/models/models/model_sms_charging_information.go b/models/models/model_sms_charging_information.go new file mode 100644 index 00000000..cef4cfa6 --- /dev/null +++ b/models/models/model_sms_charging_information.go @@ -0,0 +1,52 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SmsChargingInformation struct { + OriginatorInfo *OriginatorInfo `json:"originatorInfo,omitempty" yaml:"originatorInfo" bson:"originatorInfo,omitempty"` + RecipientInfo []RecipientInfo `json:"recipientInfo,omitempty" yaml:"recipientInfo" bson:"recipientInfo,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` + RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` + UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` + RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` + SMSCAddress string `json:"sMSCAddress,omitempty" yaml:"sMSCAddress" bson:"sMSCAddress,omitempty"` + SMDataCodingScheme int32 `json:"sMDataCodingScheme,omitempty" yaml:"sMDataCodingScheme" bson:"sMDataCodingScheme,omitempty"` + SMMessageType SmMessageType `json:"sMMessageType,omitempty" yaml:"sMMessageType" bson:"sMMessageType,omitempty"` + SMReplyPathRequested ReplyPathRequested `json:"sMReplyPathRequested,omitempty" yaml:"sMReplyPathRequested" bson:"sMReplyPathRequested,omitempty"` + SMUserDataHeader string `json:"sMUserDataHeader,omitempty" yaml:"sMUserDataHeader" bson:"sMUserDataHeader,omitempty"` + SMStatus string `json:"sMStatus,omitempty" yaml:"sMStatus" bson:"sMStatus,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SMDischargeTime *time.Time `json:"sMDischargeTime,omitempty" yaml:"sMDischargeTime" bson:"sMDischargeTime,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberofMessagesSent int32 `json:"numberofMessagesSent,omitempty" yaml:"numberofMessagesSent" bson:"numberofMessagesSent,omitempty"` + SMServiceType SmServiceType `json:"sMServiceType,omitempty" yaml:"sMServiceType" bson:"sMServiceType,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SMSequenceNumber int32 `json:"sMSequenceNumber,omitempty" yaml:"sMSequenceNumber" bson:"sMSequenceNumber,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + SMSresult int32 `json:"sMSresult,omitempty" yaml:"sMSresult" bson:"sMSresult,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + SubmissionTime *time.Time `json:"submissionTime,omitempty" yaml:"submissionTime" bson:"submissionTime,omitempty"` + SMPriority SmPriority `json:"sMPriority,omitempty" yaml:"sMPriority" bson:"sMPriority,omitempty"` + MessageReference string `json:"messageReference,omitempty" yaml:"messageReference" bson:"messageReference,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + MessageSize int32 `json:"messageSize,omitempty" yaml:"messageSize" bson:"messageSize,omitempty"` + MessageClass *MessageClass `json:"messageClass,omitempty" yaml:"messageClass" bson:"messageClass,omitempty"` + DeliveryReportRequested DeliveryReportRequested `json:"deliveryReportRequested,omitempty" yaml:"deliveryReportRequested" bson:"deliveryReportRequested,omitempty"` +} diff --git a/models/models/model_sms_data.go b/models/models/model_sms_data.go new file mode 100644 index 00000000..ba3fc85b --- /dev/null +++ b/models/models/model_sms_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within request message for delivering SMS. +type SmsData struct { + SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` +} diff --git a/models/models/model_sms_delivery_data.go b/models/models/model_sms_delivery_data.go new file mode 100644 index 00000000..8d1b1394 --- /dev/null +++ b/models/models/model_sms_delivery_data.go @@ -0,0 +1,18 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information within response message invoking MtForwardSm service operation, for delivering MT SMS Delivery Report. +type SmsDeliveryData struct { + SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` +} diff --git a/models/models/model_sms_indication.go b/models/models/model_sms_indication.go new file mode 100644 index 00000000..1a58698a --- /dev/null +++ b/models/models/model_sms_indication.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmsIndication string + +// List of SmsIndication +const ( + SmsIndication_SUPPORTED SmsIndication = "SMS_SUPPORTED" + SmsIndication_NOT_SUPPORTED SmsIndication = "SMS_NOT_SUPPORTED" +) diff --git a/models/models/model_sms_management_subscription_data.go b/models/models/model_sms_management_subscription_data.go new file mode 100644 index 00000000..ed2aea23 --- /dev/null +++ b/models/models/model_sms_management_subscription_data.go @@ -0,0 +1,26 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmsManagementSubscriptionData struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + MtSmsSubscribed bool `json:"mtSmsSubscribed,omitempty" yaml:"mtSmsSubscribed" bson:"mtSmsSubscribed,omitempty"` + MtSmsBarringAll bool `json:"mtSmsBarringAll,omitempty" yaml:"mtSmsBarringAll" bson:"mtSmsBarringAll,omitempty"` + MtSmsBarringRoaming bool `json:"mtSmsBarringRoaming,omitempty" yaml:"mtSmsBarringRoaming" bson:"mtSmsBarringRoaming,omitempty"` + MoSmsSubscribed bool `json:"moSmsSubscribed,omitempty" yaml:"moSmsSubscribed" bson:"moSmsSubscribed,omitempty"` + MoSmsBarringAll bool `json:"moSmsBarringAll,omitempty" yaml:"moSmsBarringAll" bson:"moSmsBarringAll,omitempty"` + MoSmsBarringRoaming bool `json:"moSmsBarringRoaming,omitempty" yaml:"moSmsBarringRoaming" bson:"moSmsBarringRoaming,omitempty"` + SharedSmsMngDataIds []string `json:"sharedSmsMngDataIds,omitempty" yaml:"sharedSmsMngDataIds" bson:"sharedSmsMngDataIds,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` +} diff --git a/models/models/model_sms_registration_info.go b/models/models/model_sms_registration_info.go new file mode 100644 index 00000000..7a2c428d --- /dev/null +++ b/models/models/model_sms_registration_info.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SMS Registration Information (IP-SM-GW number and SC address) +type SmsRegistrationInfo struct { + // String containing an additional or basic MSISDN + IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` + // String containing an additional or basic MSISDN + ScAddress string `json:"scAddress,omitempty" yaml:"scAddress" bson:"scAddress,omitempty"` +} diff --git a/models/models/model_sms_router_info.go b/models/models/model_sms_router_info.go new file mode 100644 index 00000000..2f1cb039 --- /dev/null +++ b/models/models/model_sms_router_info.go @@ -0,0 +1,26 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information of the SMS Router configured at the UDM +type SmsRouterInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + DiameterAddress *NetworkNodeDiameterAddress `json:"diameterAddress,omitempty" yaml:"diameterAddress" bson:"diameterAddress,omitempty"` + MapAddress string `json:"mapAddress,omitempty" yaml:"mapAddress" bson:"mapAddress,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + RouterIpv4 string `json:"routerIpv4,omitempty" yaml:"routerIpv4" bson:"routerIpv4,omitempty"` + RouterIpv6 string `json:"routerIpv6,omitempty" yaml:"routerIpv6" bson:"routerIpv6,omitempty"` + // Fully Qualified Domain Name + RouterFqdn string `json:"routerFqdn,omitempty" yaml:"routerFqdn" bson:"routerFqdn,omitempty"` +} diff --git a/models/models/model_sms_subscription_data.go b/models/models/model_sms_subscription_data.go new file mode 100644 index 00000000..8675fc48 --- /dev/null +++ b/models/models/model_sms_subscription_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmsSubscriptionData struct { + SmsSubscribed bool `json:"smsSubscribed,omitempty" yaml:"smsSubscribed" bson:"smsSubscribed,omitempty"` + SharedSmsSubsDataId string `json:"sharedSmsSubsDataId,omitempty" yaml:"sharedSmsSubsDataId" bson:"sharedSmsSubsDataId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_sms_support.go b/models/models/model_sms_support.go new file mode 100644 index 00000000..0054f2fb --- /dev/null +++ b/models/models/model_sms_support.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmsSupport string + +// List of SmsSupport +const ( + SmsSupport__3_GPP SmsSupport = "3GPP" + SmsSupport_NON_3_GPP SmsSupport = "NON_3GPP" + SmsSupport_BOTH SmsSupport = "BOTH" + SmsSupport_NONE SmsSupport = "NONE" +) diff --git a/models/models/model_smsc_data.go b/models/models/model_smsc_data.go new file mode 100644 index 00000000..bd1c4a85 --- /dev/null +++ b/models/models/model_smsc_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addresses of SM-Service Center entities with SMS wating to be delivered to the UE. +type SmscData struct { + SmscMapAddress string `json:"smscMapAddress,omitempty" yaml:"smscMapAddress" bson:"smscMapAddress,omitempty"` + SmscDiameterAddress *NetworkNodeDiameterAddress `json:"smscDiameterAddress,omitempty" yaml:"smscDiameterAddress" bson:"smscDiameterAddress,omitempty"` +} diff --git a/models/models/model_smsf_info.go b/models/models/model_smsf_info.go new file mode 100644 index 00000000..da36703b --- /dev/null +++ b/models/models/model_smsf_info.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SmsfInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` +} diff --git a/models/models/model_smsf_registration.go b/models/models/model_smsf_registration.go new file mode 100644 index 00000000..4b2547f3 --- /dev/null +++ b/models/models/model_smsf_registration.go @@ -0,0 +1,40 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SmsfRegistration struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + SmsfMAPAddress string `json:"smsfMAPAddress,omitempty" yaml:"smsfMAPAddress" bson:"smsfMAPAddress,omitempty"` + SmsfDiameterAddress *NetworkNodeDiameterAddress `json:"smsfDiameterAddress,omitempty" yaml:"smsfDiameterAddress" bson:"smsfDiameterAddress,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SmsfSbiSupInd bool `json:"smsfSbiSupInd,omitempty" yaml:"smsfSbiSupInd" bson:"smsfSbiSupInd,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` + UeMemoryAvailableInd bool `json:"ueMemoryAvailableInd,omitempty" yaml:"ueMemoryAvailableInd" bson:"ueMemoryAvailableInd,omitempty"` +} diff --git a/models/models/model_snssai.go b/models/models/model_snssai.go new file mode 100644 index 00000000..aa96351c --- /dev/null +++ b/models/models/model_snssai.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits \"sst\" optionally followed by \"-\" and 6 hexadecimal digits \"sd\". +type Snssai struct { + // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. + Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` + // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. + Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` +} diff --git a/models/models/model_snssai_dnn_combination.go b/models/models/model_snssai_dnn_combination.go new file mode 100644 index 00000000..cf6d5491 --- /dev/null +++ b/models/models/model_snssai_dnn_combination.go @@ -0,0 +1,19 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a combination of S-NSSAI and DNN(s). +type SnssaiDnnCombination struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` +} diff --git a/models/models/model_snssai_easdf_info_item.go b/models/models/model_snssai_easdf_info_item.go new file mode 100644 index 00000000..7e278432 --- /dev/null +++ b/models/models/model_snssai_easdf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by EASDF for a given S-NSSAI +type SnssaiEasdfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnEasdfInfoList []DnnEasdfInfoItem `json:"dnnEasdfInfoList" yaml:"dnnEasdfInfoList" bson:"dnnEasdfInfoList,omitempty"` +} diff --git a/models/models/model_snssai_extension.go b/models/models/model_snssai_extension.go new file mode 100644 index 00000000..d215da48 --- /dev/null +++ b/models/models/model_snssai_extension.go @@ -0,0 +1,21 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Extensions to the Snssai data type, sdRanges and wildcardSd shall not be present simultaneously +type SnssaiExtension struct { + // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type + SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` + // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. + WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` +} diff --git a/models/models/model_snssai_info.go b/models/models/model_snssai_info.go new file mode 100644 index 00000000..094c6728 --- /dev/null +++ b/models/models/model_snssai_info.go @@ -0,0 +1,17 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SnssaiInfo struct { + DnnInfos []DnnInfo `json:"dnnInfos" yaml:"dnnInfos" bson:"dnnInfos,omitempty"` +} diff --git a/models/models/model_snssai_info_item.go b/models/models/model_snssai_info_item.go new file mode 100644 index 00000000..4f96765f --- /dev/null +++ b/models/models/model_snssai_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an NF for a given S-NSSAI Set of parameters supported by NF for a given S-NSSAI +type SnssaiInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/models/model_snssai_mb_smf_info_item.go b/models/models/model_snssai_mb_smf_info_item.go new file mode 100644 index 00000000..8ab3f1d9 --- /dev/null +++ b/models/models/model_snssai_mb_smf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Parameters supported by an MB-SMF for a given S-NSSAI +type SnssaiMbSmfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnMbSmfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/models/model_snssai_route_selection_descriptor.go b/models/models/model_snssai_route_selection_descriptor.go new file mode 100644 index 00000000..4387bafa --- /dev/null +++ b/models/models/model_snssai_route_selection_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the route selector parameters (DNNs, PDU session types, SSC modes and ATSSS information) per SNSSAI +type SnssaiRouteSelectionDescriptor struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + DnnRouteSelDescs []DnnRouteSelectionDescriptor `json:"dnnRouteSelDescs,omitempty" yaml:"dnnRouteSelDescs" bson:"dnnRouteSelDescs,omitempty"` +} diff --git a/models/models/model_snssai_smf_info_item.go b/models/models/model_snssai_smf_info_item.go new file mode 100644 index 00000000..9887c94e --- /dev/null +++ b/models/models/model_snssai_smf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by SMF for a given S-NSSAI +type SnssaiSmfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnSmfInfoList []DnnSmfInfoItem `json:"dnnSmfInfoList" yaml:"dnnSmfInfoList" bson:"dnnSmfInfoList,omitempty"` +} diff --git a/models/models/model_snssai_tai_mapping.go b/models/models/model_snssai_tai_mapping.go new file mode 100644 index 00000000..52f02dd8 --- /dev/null +++ b/models/models/model_snssai_tai_mapping.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of restricted or unrestricted S-NSSAIs per TAI(s) +type SnssaiTaiMapping struct { + ReportingArea *TargetArea `json:"reportingArea" yaml:"reportingArea" bson:"reportingArea,omitempty"` + AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` + SupportedSnssaiList []SupportedSnssai `json:"supportedSnssaiList,omitempty" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` +} diff --git a/models/models/model_snssai_tsctsf_info_item.go b/models/models/model_snssai_tsctsf_info_item.go new file mode 100644 index 00000000..78aab592 --- /dev/null +++ b/models/models/model_snssai_tsctsf_info_item.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by TSCTSF for a given S-NSSAI +type SnssaiTsctsfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnInfoList []DnnTsctsfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` +} diff --git a/models/models/model_snssai_upf_info_item.go b/models/models/model_snssai_upf_info_item.go new file mode 100644 index 00000000..dd3730b1 --- /dev/null +++ b/models/models/model_snssai_upf_info_item.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Set of parameters supported by UPF for a given S-NSSAI +type SnssaiUpfInfoItem struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + DnnUpfInfoList []DnnUpfInfoItem `json:"dnnUpfInfoList" yaml:"dnnUpfInfoList" bson:"dnnUpfInfoList,omitempty"` + RedundantTransport bool `json:"redundantTransport,omitempty" yaml:"redundantTransport" bson:"redundantTransport,omitempty"` +} diff --git a/models/models/model_software_image_info.go b/models/models/model_software_image_info.go new file mode 100644 index 00000000..af882f89 --- /dev/null +++ b/models/models/model_software_image_info.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SoftwareImageInfo struct { + MinimumDisk int32 `json:"minimumDisk,omitempty" yaml:"minimumDisk" bson:"minimumDisk,omitempty"` + MinimumRAM int32 `json:"minimumRAM,omitempty" yaml:"minimumRAM" bson:"minimumRAM,omitempty"` + DiscFormat string `json:"discFormat,omitempty" yaml:"discFormat" bson:"discFormat,omitempty"` + OperatingSystem string `json:"operatingSystem,omitempty" yaml:"operatingSystem" bson:"operatingSystem,omitempty"` + SwImageRef string `json:"swImageRef,omitempty" yaml:"swImageRef" bson:"swImageRef,omitempty"` +} diff --git a/models/models/model_sor_data.go b/models/models/model_sor_data.go new file mode 100644 index 00000000..17febf6e --- /dev/null +++ b/models/models/model_sor_data.go @@ -0,0 +1,29 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest SOR data update. +type SorData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` + MeSupportOfSorCmci bool `json:"meSupportOfSorCmci,omitempty" yaml:"meSupportOfSorCmci" bson:"meSupportOfSorCmci,omitempty"` +} diff --git a/models/models/model_sor_security_info.go b/models/models/model_sor_security_info.go new file mode 100644 index 00000000..4d417320 --- /dev/null +++ b/models/models/model_sor_security_info.go @@ -0,0 +1,23 @@ +/* + * Nausf_SoRProtection Service + * + * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the material generated for securing of SoR. It contains at least the SoR-MAC-IAUSF and CounterSoR. +type SorSecurityInfo struct { + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIausf string `json:"sorMacIausf" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` + // CounterSoR. + CounterSor string `json:"counterSor" yaml:"counterSor" bson:"counterSor,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` +} diff --git a/models/models/model_sor_update_indicator.go b/models/models/model_sor_update_indicator.go new file mode 100644 index 00000000..1bcc3418 --- /dev/null +++ b/models/models/model_sor_update_indicator.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SorUpdateIndicator string + +// List of SorUpdateIndicator +const ( + SorUpdateIndicator_INITIAL_REGISTRATION SorUpdateIndicator = "INITIAL_REGISTRATION" + SorUpdateIndicator_EMERGENCY_REGISTRATION SorUpdateIndicator = "EMERGENCY_REGISTRATION" +) diff --git a/models/models/model_sor_update_info.go b/models/models/model_sor_update_info.go new file mode 100644 index 00000000..7fd51114 --- /dev/null +++ b/models/models/model_sor_update_info.go @@ -0,0 +1,19 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SorUpdateInfo struct { + VplmnId *PlmnId `json:"vplmnId" yaml:"vplmnId" bson:"vplmnId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_spatial_validity.go b/models/models/model_spatial_validity.go new file mode 100644 index 00000000..553f7fc6 --- /dev/null +++ b/models/models/model_spatial_validity.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Describes explicitly the route to an Application location. +type SpatialValidity struct { + // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` +} diff --git a/models/models/model_spatial_validity_cond.go b/models/models/model_spatial_validity_cond.go new file mode 100644 index 00000000..b8d88f7f --- /dev/null +++ b/models/models/model_spatial_validity_cond.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the Spatial Validity Condition. +type SpatialValidityCond struct { + TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` + Countries []string `json:"countries,omitempty" yaml:"countries" bson:"countries,omitempty"` + GeographicalServiceArea *GeoServiceArea `json:"geographicalServiceArea,omitempty" yaml:"geographicalServiceArea" bson:"geographicalServiceArea,omitempty"` +} diff --git a/models/models/model_spatial_validity_rm.go b/models/models/model_spatial_validity_rm.go new file mode 100644 index 00000000..8086be67 --- /dev/null +++ b/models/models/model_spatial_validity_rm.go @@ -0,0 +1,19 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This data type is defined in the same way as the SpatialValidity data type, but with the OpenAPI nullable property set to true. +type SpatialValidityRm struct { + // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. + PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` +} diff --git a/models/models/model_specific_analytics_subscription.go b/models/models/model_specific_analytics_subscription.go new file mode 100644 index 00000000..0895afeb --- /dev/null +++ b/models/models/model_specific_analytics_subscription.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an existing subscription for a specific type of analytics to a specific NWDAF. +type SpecificAnalyticsSubscription struct { + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub,omitempty" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` +} diff --git a/models/models/model_specific_data_subscription.go b/models/models/model_specific_data_subscription.go new file mode 100644 index 00000000..b0fed5db --- /dev/null +++ b/models/models/model_specific_data_subscription.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an existing subscription for data collection to a specific data source NF. +type SpecificDataSubscription struct { + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` + DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` +} diff --git a/models/models/model_spending_limit_context.go b/models/models/model_spending_limit_context.go new file mode 100644 index 00000000..fb501ea3 --- /dev/null +++ b/models/models/model_spending_limit_context.go @@ -0,0 +1,34 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the subscription data structure required for an individual CHF spending limit subscription. +type SpendingLimitContext struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // This is a list of policy counter identifier(s), which identifies policy counters maintained per subscriber within the CHF. + PolicyCounterIds []string `json:"policyCounterIds,omitempty" yaml:"policyCounterIds" bson:"policyCounterIds,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` +} diff --git a/models/models/model_spending_limit_status.go b/models/models/model_spending_limit_status.go new file mode 100644 index 00000000..ce42804c --- /dev/null +++ b/models/models/model_spending_limit_status.go @@ -0,0 +1,30 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the data structure presenting the statuses of policy counters. +type SpendingLimitStatus struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + // Status of the requested policy counters. The key of the map is the attribute \"policyCounterId\". + StatusInfos map[string]PolicyCounterInfo `json:"statusInfos,omitempty" yaml:"statusInfos" bson:"statusInfos,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_sponsor_connectivity_data.go b/models/models/model_sponsor_connectivity_data.go new file mode 100644 index 00000000..31fc9944 --- /dev/null +++ b/models/models/model_sponsor_connectivity_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the sponsored data connectivity related information for a sponsor identifier. +type SponsorConnectivityData struct { + AspIds []string `json:"aspIds" yaml:"aspIds" bson:"aspIds,omitempty"` +} diff --git a/models/models/model_sponsor_information.go b/models/models/model_sponsor_information.go new file mode 100644 index 00000000..d48db549 --- /dev/null +++ b/models/models/model_sponsor_information.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a sponsor information. +type SponsorInformation struct { + // It indicates Sponsor ID. + SponsorId string `json:"sponsorId" yaml:"sponsorId" bson:"sponsorId,omitempty"` + // It indicates Application Service Provider ID. + AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` +} diff --git a/models/models/model_sponsoring_status.go b/models/models/model_sponsoring_status.go new file mode 100644 index 00000000..b7b470c5 --- /dev/null +++ b/models/models/model_sponsoring_status.go @@ -0,0 +1,21 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SponsoringStatus string + +// List of SponsoringStatus +const ( + SponsoringStatus_DISABLED SponsoringStatus = "SPONSOR_DISABLED" + SponsoringStatus_ENABLED SponsoringStatus = "SPONSOR_ENABLED" +) diff --git a/models/models/model_spt.go b/models/models/model_spt.go new file mode 100644 index 00000000..452fa119 --- /dev/null +++ b/models/models/model_spt.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the data of a Service Point Trigger +type Spt struct { + ConditionNegated bool `json:"conditionNegated" yaml:"conditionNegated" bson:"conditionNegated,omitempty"` + SptGroup []int32 `json:"sptGroup" yaml:"sptGroup" bson:"sptGroup,omitempty"` + RegType []RegistrationType `json:"regType,omitempty" yaml:"regType" bson:"regType,omitempty"` + RequestUri string `json:"requestUri,omitempty" yaml:"requestUri" bson:"requestUri,omitempty"` + SipMethod string `json:"sipMethod,omitempty" yaml:"sipMethod" bson:"sipMethod,omitempty"` + SipHeader *HeaderSipRequest `json:"sipHeader,omitempty" yaml:"sipHeader" bson:"sipHeader,omitempty"` + SessionCase RequestDirection `json:"sessionCase,omitempty" yaml:"sessionCase" bson:"sessionCase,omitempty"` + SessionDescription *SdpDescription `json:"sessionDescription,omitempty" yaml:"sessionDescription" bson:"sessionDescription,omitempty"` +} diff --git a/models/models/model_sqn_scheme.go b/models/models/model_sqn_scheme.go new file mode 100644 index 00000000..fb0ae8c5 --- /dev/null +++ b/models/models/model_sqn_scheme.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SqnScheme string + +// List of SqnScheme +const ( + SqnScheme_GENERAL SqnScheme = "GENERAL" + SqnScheme_NON_TIME_BASED SqnScheme = "NON_TIME_BASED" + SqnScheme_TIME_BASED SqnScheme = "TIME_BASED" +) diff --git a/models/models/model_srvcc_capability.go b/models/models/model_srvcc_capability.go new file mode 100644 index 00000000..14e47864 --- /dev/null +++ b/models/models/model_srvcc_capability.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SrvccCapability string + +// List of SrvccCapability +const ( + SrvccCapability__4_G_SRVCC_CAPABLE SrvccCapability = "UE_4G_SRVCC_CAPABLE" + SrvccCapability__5_G_SRVCC_CAPABLE SrvccCapability = "UE_5G_SRVCC_CAPABLE" +) diff --git a/models/models/model_srvcc_data.go b/models/models/model_srvcc_data.go new file mode 100644 index 00000000..9b2bb470 --- /dev/null +++ b/models/models/model_srvcc_data.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE SRVCC capability (if available) and STN-SR (if subscribed) +type SrvccData struct { + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr" yaml:"stnSr" bson:"stnSr,omitempty"` + UeSrvccCapabilities []SrvccCapability `json:"ueSrvccCapabilities,omitempty" yaml:"ueSrvccCapabilities" bson:"ueSrvccCapabilities,omitempty"` +} diff --git a/models/models/model_ssc_mode.go b/models/models/model_ssc_mode.go new file mode 100644 index 00000000..fba1826a --- /dev/null +++ b/models/models/model_ssc_mode.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SscMode string + +// List of SscMode +const ( + SscMode__1 SscMode = "SSC_MODE_1" + SscMode__2 SscMode = "SSC_MODE_2" + SscMode__3 SscMode = "SSC_MODE_3" +) diff --git a/models/models/model_ssc_modes.go b/models/models/model_ssc_modes.go new file mode 100644 index 00000000..46c9634f --- /dev/null +++ b/models/models/model_ssc_modes.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SscModes struct { + DefaultSscMode SscMode `json:"defaultSscMode" yaml:"defaultSscMode" bson:"defaultSscMode,omitempty"` + AllowedSscModes []SscMode `json:"allowedSscModes,omitempty" yaml:"allowedSscModes" bson:"allowedSscModes,omitempty"` +} diff --git a/models/models/model_ssm.go b/models/models/model_ssm.go new file mode 100644 index 00000000..1e05e827 --- /dev/null +++ b/models/models/model_ssm.go @@ -0,0 +1,19 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Source specific IP multicast address +type Ssm struct { + SourceIpAddr *IpAddr `json:"sourceIpAddr" yaml:"sourceIpAddr" bson:"sourceIpAddr,omitempty"` + DestIpAddr *IpAddr `json:"destIpAddr" yaml:"destIpAddr" bson:"destIpAddr,omitempty"` +} diff --git a/models/models/model_stationary_indication.go b/models/models/model_stationary_indication.go new file mode 100644 index 00000000..9b60c845 --- /dev/null +++ b/models/models/model_stationary_indication.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StationaryIndication string + +// List of StationaryIndication +const ( + StationaryIndication_STATIONARY StationaryIndication = "STATIONARY" + StationaryIndication_MOBILE StationaryIndication = "MOBILE" +) diff --git a/models/models/model_stationary_indication_rm.go b/models/models/model_stationary_indication_rm.go new file mode 100644 index 00000000..ecbcc67a --- /dev/null +++ b/models/models/model_stationary_indication_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StationaryIndicationRm struct { +} diff --git a/models/models/model_status.go b/models/models/model_status.go new file mode 100644 index 00000000..acf5a4ed --- /dev/null +++ b/models/models/model_status.go @@ -0,0 +1,21 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Status string + +// List of Status +const ( + Status_OPERATIVE Status = "OPERATIVE" + Status_NON_OPERATIVE Status = "NON_OPERATIVE" +) diff --git a/models/models/model_status_change.go b/models/models/model_status_change.go new file mode 100644 index 00000000..9eb71dcc --- /dev/null +++ b/models/models/model_status_change.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StatusChange string + +// List of StatusChange +const ( + StatusChange_UNAVAILABLE StatusChange = "AMF_UNAVAILABLE" + StatusChange_AVAILABLE StatusChange = "AMF_AVAILABLE" +) diff --git a/models/models/model_status_info.go b/models/models/model_status_info.go new file mode 100644 index 00000000..290ace0e --- /dev/null +++ b/models/models/model_status_info.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Status of SM context or of PDU session +type StatusInfo struct { + ResourceStatus ResourceStatus `json:"resourceStatus" yaml:"resourceStatus" bson:"resourceStatus,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` +} diff --git a/models/models/model_status_notification.go b/models/models/model_status_notification.go new file mode 100644 index 00000000..742deff7 --- /dev/null +++ b/models/models/model_status_notification.go @@ -0,0 +1,30 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Notify Status Request +type StatusNotification struct { + StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` + SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` + ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` + TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` + // String providing an URI formatted according to RFC 3986. + IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` +} diff --git a/models/models/model_steer_mode_indicator.go b/models/models/model_steer_mode_indicator.go new file mode 100644 index 00000000..ef6cbc9e --- /dev/null +++ b/models/models/model_steer_mode_indicator.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SteerModeIndicator string + +// List of SteerModeIndicator +const ( + SteerModeIndicator_AUTO_LOAD_BALANCE SteerModeIndicator = "AUTO_LOAD_BALANCE" + SteerModeIndicator_UE_ASSISTANCE SteerModeIndicator = "UE_ASSISTANCE" +) diff --git a/models/models/model_steer_mode_value.go b/models/models/model_steer_mode_value.go new file mode 100644 index 00000000..db2e8ace --- /dev/null +++ b/models/models/model_steer_mode_value.go @@ -0,0 +1,23 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SteerModeValue string + +// List of SteerModeValue +const ( + SteerModeValue_ACTIVE_STANDBY SteerModeValue = "ACTIVE_STANDBY" + SteerModeValue_LOAD_BALANCING SteerModeValue = "LOAD_BALANCING" + SteerModeValue_SMALLEST_DELAY SteerModeValue = "SMALLEST_DELAY" + SteerModeValue_PRIORITY_BASED SteerModeValue = "PRIORITY_BASED" +) diff --git a/models/models/model_steering_functionality.go b/models/models/model_steering_functionality.go new file mode 100644 index 00000000..8562c40d --- /dev/null +++ b/models/models/model_steering_functionality.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SteeringFunctionality string + +// List of SteeringFunctionality +const ( + SteeringFunctionality_MPTCP SteeringFunctionality = "MPTCP" + SteeringFunctionality_ATSSS_LL SteeringFunctionality = "ATSSS_LL" +) diff --git a/models/models/model_steering_mode.go b/models/models/model_steering_mode.go new file mode 100644 index 00000000..80439817 --- /dev/null +++ b/models/models/model_steering_mode.go @@ -0,0 +1,25 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the steering mode value and parameters determined by the PCF. +type SteeringMode struct { + SteerModeValue SteerModeValue `json:"steerModeValue" yaml:"steerModeValue" bson:"steerModeValue,omitempty"` + Active AccessType `json:"active,omitempty" yaml:"active" bson:"active,omitempty"` + Standby AccessType `json:"standby,omitempty" yaml:"standby" bson:"standby,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var3gLoad int32 `json:"3gLoad,omitempty" yaml:"3gLoad" bson:"3gLoad,omitempty"` + PrioAcc AccessType `json:"prioAcc,omitempty" yaml:"prioAcc" bson:"prioAcc,omitempty"` + ThresValue *ThresholdValue `json:"thresValue,omitempty" yaml:"thresValue" bson:"thresValue,omitempty"` + SteerModeInd SteerModeIndicator `json:"steerModeInd,omitempty" yaml:"steerModeInd" bson:"steerModeInd,omitempty"` +} diff --git a/models/models/model_storage_outcome.go b/models/models/model_storage_outcome.go new file mode 100644 index 00000000..e517d9d6 --- /dev/null +++ b/models/models/model_storage_outcome.go @@ -0,0 +1,21 @@ +/* + * LMF Broadcast + * + * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type StorageOutcome string + +// List of StorageOutcome +const ( + StorageOutcome_SUCCESSFUL StorageOutcome = "STORAGE_SUCCESSFUL" + StorageOutcome_FAILED StorageOutcome = "STORAGE_FAILED" +) diff --git a/models/models/model_stored_search_result.go b/models/models/model_stored_search_result.go new file mode 100644 index 00000000..73095c5c --- /dev/null +++ b/models/models/model_stored_search_result.go @@ -0,0 +1,18 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a complete search result (i.e. a number of discovered NF Instances), stored by NRF as a consequence of a prior search result +type StoredSearchResult struct { + NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` +} diff --git a/models/models/model_string_matching_condition.go b/models/models/model_string_matching_condition.go new file mode 100644 index 00000000..582faac4 --- /dev/null +++ b/models/models/model_string_matching_condition.go @@ -0,0 +1,19 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A String with Matching Operator +type StringMatchingCondition struct { + MatchingString string `json:"matchingString,omitempty" yaml:"matchingString" bson:"matchingString,omitempty"` + MatchingOperator MatchingOperator `json:"matchingOperator" yaml:"matchingOperator" bson:"matchingOperator,omitempty"` +} diff --git a/models/models/model_string_matching_rule.go b/models/models/model_string_matching_rule.go new file mode 100644 index 00000000..b72241b5 --- /dev/null +++ b/models/models/model_string_matching_rule.go @@ -0,0 +1,18 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A list of conditions for string matching +type StringMatchingRule struct { + StringMatchingConditions []StringMatchingCondition `json:"stringMatchingConditions,omitempty" yaml:"stringMatchingConditions" bson:"stringMatchingConditions,omitempty"` +} diff --git a/models/models/model_subscr_cond.go b/models/models/model_subscr_cond.go new file mode 100644 index 00000000..43f73d11 --- /dev/null +++ b/models/models/model_subscr_cond.go @@ -0,0 +1,52 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Condition to determine the set of NFs to monitor under a certain subscription in NRF +type SubscrCond struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` + NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` + NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` + ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). + AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` + // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) + AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` + GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` + SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` + NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` + // Identifier of a group of NFs. + NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` + NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` + NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` + AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` + ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` + MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` +} diff --git a/models/models/model_subscribed_default_qos.go b/models/models/model_subscribed_default_qos.go new file mode 100644 index 00000000..f7e28b57 --- /dev/null +++ b/models/models/model_subscribed_default_qos.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Provides the subsribed 5QI and the ARP, it may contain the priority level. +type SubscribedDefaultQos struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` + // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. + PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` +} diff --git a/models/models/model_subscribed_event.go b/models/models/model_subscribed_event.go new file mode 100644 index 00000000..4fc85de7 --- /dev/null +++ b/models/models/model_subscribed_event.go @@ -0,0 +1,20 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SubscribedEvent string + +// List of SubscribedEvent +const ( + SubscribedEvent_UP_PATH_CHANGE SubscribedEvent = "UP_PATH_CHANGE" +) diff --git a/models/models/model_subscribed_snssai.go b/models/models/model_subscribed_snssai.go new file mode 100644 index 00000000..317f96d5 --- /dev/null +++ b/models/models/model_subscribed_snssai.go @@ -0,0 +1,20 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the subscribed S-NSSAI +type SubscribedSnssai struct { + SubscribedSnssai *Snssai `json:"subscribedSnssai" yaml:"subscribedSnssai" bson:"subscribedSnssai,omitempty"` + DefaultIndication bool `json:"defaultIndication,omitempty" yaml:"defaultIndication" bson:"defaultIndication,omitempty"` + SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` +} diff --git a/models/models/model_subscription_context.go b/models/models/model_subscription_context.go new file mode 100644 index 00000000..7f394eae --- /dev/null +++ b/models/models/model_subscription_context.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Context data related to a created subscription, to be included in notifications sent by NRF +type SubscriptionContext struct { + SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` +} diff --git a/models/models/model_subscription_data_subscriptions.go b/models/models/model_subscription_data_subscriptions.go new file mode 100644 index 00000000..7c5c47b9 --- /dev/null +++ b/models/models/model_subscription_data_subscriptions.go @@ -0,0 +1,36 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// A subscription to notifications. +type SubscriptionDataSubscriptions struct { + // String represents the SUPI or GPSI + UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // String providing an URI formatted according to RFC 3986. + OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` + MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` + HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_subscription_filter.go b/models/models/model_subscription_filter.go new file mode 100644 index 00000000..8d226817 --- /dev/null +++ b/models/models/model_subscription_filter.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A subscription filter +type SubscriptionFilter struct { + // list of resources applicable to the subscription + MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` + // list of resources applicable to the subscription + Operations []RecordOperation `json:"operations,omitempty" yaml:"operations" bson:"operations,omitempty"` +} diff --git a/models/models/model_subscription_termination_info.go b/models/models/model_subscription_termination_info.go new file mode 100644 index 00000000..62040da9 --- /dev/null +++ b/models/models/model_subscription_termination_info.go @@ -0,0 +1,21 @@ +/* + * Nchf_SpendingLimitControl + * + * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the data structure presenting the indication of the termination of the subscription. +type SubscriptionTerminationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` + TermCause ChfSpendingLimitControlTerminationCause `json:"termCause,omitempty" yaml:"termCause" bson:"termCause,omitempty"` +} diff --git a/models/models/model_subscription_transfer_info.go b/models/models/model_subscription_transfer_info.go new file mode 100644 index 00000000..6a83c24a --- /dev/null +++ b/models/models/model_subscription_transfer_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about subscriptions that are requested to be transferred. +type SubscriptionTransferInfo struct { + TransReqType TransferRequestType `json:"transReqType" yaml:"transReqType" bson:"transReqType,omitempty"` + NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + ConsumerId string `json:"consumerId" yaml:"consumerId" bson:"consumerId,omitempty"` + ContextId *AnalyticsContextIdentifier `json:"contextId,omitempty" yaml:"contextId" bson:"contextId,omitempty"` + SourceNfIds []string `json:"sourceNfIds,omitempty" yaml:"sourceNfIds" bson:"sourceNfIds,omitempty"` + SourceSetIds []string `json:"sourceSetIds,omitempty" yaml:"sourceSetIds" bson:"sourceSetIds,omitempty"` + ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` +} diff --git a/models/models/model_suci_info.go b/models/models/model_suci_info.go new file mode 100644 index 00000000..b36e73a7 --- /dev/null +++ b/models/models/model_suci_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// SUCI information containing Routing Indicator and Home Network Public Key ID +type SuciInfo struct { + RoutingInds []string `json:"routingInds,omitempty" yaml:"routingInds" bson:"routingInds,omitempty"` + HNwPubKeyIds []int32 `json:"hNwPubKeyIds,omitempty" yaml:"hNwPubKeyIds" bson:"hNwPubKeyIds,omitempty"` +} diff --git a/models/models/model_suggested_packet_num_dl.go b/models/models/model_suggested_packet_num_dl.go new file mode 100644 index 00000000..0d776b24 --- /dev/null +++ b/models/models/model_suggested_packet_num_dl.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SuggestedPacketNumDl struct { + SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_summarization_attribute.go b/models/models/model_summarization_attribute.go new file mode 100644 index 00000000..34184508 --- /dev/null +++ b/models/models/model_summarization_attribute.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SummarizationAttribute string + +// List of SummarizationAttribute +const ( + SummarizationAttribute_SPACING SummarizationAttribute = "SPACING" + SummarizationAttribute_DURATION SummarizationAttribute = "DURATION" + SummarizationAttribute_OCCURRENCES SummarizationAttribute = "OCCURRENCES" + SummarizationAttribute_AVG_VAR SummarizationAttribute = "AVG_VAR" + SummarizationAttribute_FREQ_VAL SummarizationAttribute = "FREQ_VAL" + SummarizationAttribute_MIN_MAX SummarizationAttribute = "MIN_MAX" +) diff --git a/models/models/model_supi_info.go b/models/models/model_supi_info.go new file mode 100644 index 00000000..d120008b --- /dev/null +++ b/models/models/model_supi_info.go @@ -0,0 +1,18 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// List of Supis. +type SupiInfo struct { + SupiList []string `json:"supiList" yaml:"supiList" bson:"supiList,omitempty"` +} diff --git a/models/models/model_supi_range.go b/models/models/model_supi_range.go new file mode 100644 index 00000000..5209b720 --- /dev/null +++ b/models/models/model_supi_range.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// A range of SUPIs (subscriber identities), either based on a numeric range, or based on regular-expression matching +type SupiRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_supplementary_service.go b/models/models/model_supplementary_service.go new file mode 100644 index 00000000..b4b13358 --- /dev/null +++ b/models/models/model_supplementary_service.go @@ -0,0 +1,32 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type SupplementaryService struct { + SupplementaryServiceType SupplementaryServiceType `json:"supplementaryServiceType,omitempty" yaml:"supplementaryServiceType" bson:"supplementaryServiceType,omitempty"` + SupplementaryServiceMode SupplementaryServiceMode `json:"supplementaryServiceMode,omitempty" yaml:"supplementaryServiceMode" bson:"supplementaryServiceMode,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberOfDiversions int32 `json:"numberOfDiversions,omitempty" yaml:"numberOfDiversions" bson:"numberOfDiversions,omitempty"` + AssociatedPartyAddress string `json:"associatedPartyAddress,omitempty" yaml:"associatedPartyAddress" bson:"associatedPartyAddress,omitempty"` + ConferenceId string `json:"conferenceId,omitempty" yaml:"conferenceId" bson:"conferenceId,omitempty"` + ParticipantActionType ParticipantActionType `json:"participantActionType,omitempty" yaml:"participantActionType" bson:"participantActionType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + NumberOfParticipants int32 `json:"numberOfParticipants,omitempty" yaml:"numberOfParticipants" bson:"numberOfParticipants,omitempty"` + CUGInformation string `json:"cUGInformation,omitempty" yaml:"cUGInformation" bson:"cUGInformation,omitempty"` +} diff --git a/models/models/model_supplementary_service_mode.go b/models/models/model_supplementary_service_mode.go new file mode 100644 index 00000000..62061359 --- /dev/null +++ b/models/models/model_supplementary_service_mode.go @@ -0,0 +1,30 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SupplementaryServiceMode string + +// List of SupplementaryServiceMode +const ( + SupplementaryServiceMode_CFU SupplementaryServiceMode = "CFU" + SupplementaryServiceMode_CFB SupplementaryServiceMode = "CFB" + SupplementaryServiceMode_CFNR SupplementaryServiceMode = "CFNR" + SupplementaryServiceMode_CFNL SupplementaryServiceMode = "CFNL" + SupplementaryServiceMode_CD SupplementaryServiceMode = "CD" + SupplementaryServiceMode_CFNRC SupplementaryServiceMode = "CFNRC" + SupplementaryServiceMode_ICB SupplementaryServiceMode = "ICB" + SupplementaryServiceMode_OCB SupplementaryServiceMode = "OCB" + SupplementaryServiceMode_ACR SupplementaryServiceMode = "ACR" + SupplementaryServiceMode_BLIND_TRANFER SupplementaryServiceMode = "BLIND_TRANFER" + SupplementaryServiceMode_CONSULTATIVE_TRANFER SupplementaryServiceMode = "CONSULTATIVE_TRANFER" +) diff --git a/models/models/model_supplementary_service_type.go b/models/models/model_supplementary_service_type.go new file mode 100644 index 00000000..34bef316 --- /dev/null +++ b/models/models/model_supplementary_service_type.go @@ -0,0 +1,38 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SupplementaryServiceType string + +// List of SupplementaryServiceType +const ( + SupplementaryServiceType_OIP SupplementaryServiceType = "OIP" + SupplementaryServiceType_OIR SupplementaryServiceType = "OIR" + SupplementaryServiceType_TIP SupplementaryServiceType = "TIP" + SupplementaryServiceType_TIR SupplementaryServiceType = "TIR" + SupplementaryServiceType_HOLD SupplementaryServiceType = "HOLD" + SupplementaryServiceType_CB SupplementaryServiceType = "CB" + SupplementaryServiceType_CDIV SupplementaryServiceType = "CDIV" + SupplementaryServiceType_CW SupplementaryServiceType = "CW" + SupplementaryServiceType_MWI SupplementaryServiceType = "MWI" + SupplementaryServiceType_CONF SupplementaryServiceType = "CONF" + SupplementaryServiceType_FA SupplementaryServiceType = "FA" + SupplementaryServiceType_CCBS SupplementaryServiceType = "CCBS" + SupplementaryServiceType_CCNR SupplementaryServiceType = "CCNR" + SupplementaryServiceType_MCID SupplementaryServiceType = "MCID" + SupplementaryServiceType_CAT SupplementaryServiceType = "CAT" + SupplementaryServiceType_CUG SupplementaryServiceType = "CUG" + SupplementaryServiceType_PNM SupplementaryServiceType = "PNM" + SupplementaryServiceType_CRS SupplementaryServiceType = "CRS" + SupplementaryServiceType_ECT SupplementaryServiceType = "ECT" +) diff --git a/models/models/model_supported_gad_shapes.go b/models/models/model_supported_gad_shapes.go new file mode 100644 index 00000000..ca7c8b55 --- /dev/null +++ b/models/models/model_supported_gad_shapes.go @@ -0,0 +1,28 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type SupportedGadShapes string + +// List of SupportedGADShapes +const ( + SupportedGadShapes_POINT SupportedGadShapes = "POINT" + SupportedGadShapes_POINT_UNCERTAINTY_CIRCLE SupportedGadShapes = "POINT_UNCERTAINTY_CIRCLE" + SupportedGadShapes_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "POINT_UNCERTAINTY_ELLIPSE" + SupportedGadShapes_POLYGON SupportedGadShapes = "POLYGON" + SupportedGadShapes_POINT_ALTITUDE SupportedGadShapes = "POINT_ALTITUDE" + SupportedGadShapes_POINT_ALTITUDE_UNCERTAINTY SupportedGadShapes = "POINT_ALTITUDE_UNCERTAINTY" + SupportedGadShapes_ELLIPSOID_ARC SupportedGadShapes = "ELLIPSOID_ARC" + SupportedGadShapes_LOCAL_2_D_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "LOCAL_2D_POINT_UNCERTAINTY_ELLIPSE" + SupportedGadShapes_LOCAL_3_D_POINT_UNCERTAINTY_ELLIPSOID SupportedGadShapes = "LOCAL_3D_POINT_UNCERTAINTY_ELLIPSOID" +) diff --git a/models/models/model_supported_nssai_availability_data.go b/models/models/model_supported_nssai_availability_data.go new file mode 100644 index 00000000..abaf0f92 --- /dev/null +++ b/models/models/model_supported_nssai_availability_data.go @@ -0,0 +1,22 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// This contains the Nssai availability data information per TA supported by the AMF +type SupportedNssaiAvailabilityData struct { + Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` + SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` +} diff --git a/models/models/model_supported_snssai.go b/models/models/model_supported_snssai.go new file mode 100644 index 00000000..6248bd40 --- /dev/null +++ b/models/models/model_supported_snssai.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Supported S-NSSAIs +type SupportedSnssai struct { + SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` + RestrictionInd bool `json:"restrictionInd,omitempty" yaml:"restrictionInd" bson:"restrictionInd,omitempty"` +} diff --git a/models/models/model_svc_experience.go b/models/models/model_svc_experience.go new file mode 100644 index 00000000..0e9a5d2e --- /dev/null +++ b/models/models/model_svc_experience.go @@ -0,0 +1,23 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a mean opinion score with the customized range. +type SvcExperience struct { + // string with format 'float' as defined in OpenAPI. + Mos float32 `json:"mos,omitempty" yaml:"mos" bson:"mos,omitempty"` + // string with format 'float' as defined in OpenAPI. + UpperRange float32 `json:"upperRange,omitempty" yaml:"upperRange" bson:"upperRange,omitempty"` + // string with format 'float' as defined in OpenAPI. + LowerRange float32 `json:"lowerRange,omitempty" yaml:"lowerRange" bson:"lowerRange,omitempty"` +} diff --git a/models/models/model_tac_info.go b/models/models/model_tac_info.go new file mode 100644 index 00000000..db3c36d9 --- /dev/null +++ b/models/models/model_tac_info.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains tracking area information (tracking area codes). +type TacInfo struct { + TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` +} diff --git a/models/models/model_tac_range.go b/models/models/model_tac_range.go new file mode 100644 index 00000000..33e796ab --- /dev/null +++ b/models/models/model_tac_range.go @@ -0,0 +1,20 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of TACs (Tracking Area Codes) +type TacRange struct { + Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` + End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` + Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` +} diff --git a/models/models/model_tad_identifier.go b/models/models/model_tad_identifier.go new file mode 100644 index 00000000..9a3e7c64 --- /dev/null +++ b/models/models/model_tad_identifier.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TadIdentifier string + +// List of TADIdentifier +const ( + TadIdentifier_CS TadIdentifier = "CS" + TadIdentifier_PS TadIdentifier = "PS" +) diff --git a/models/models/model_tads_information.go b/models/models/model_tads_information.go new file mode 100644 index 00000000..7b28d16e --- /dev/null +++ b/models/models/model_tads_information.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// T-ADS Information +type TadsInformation struct { + VoiceOverPsSessionSupport ImsVoiceOverPsSessionSupport `json:"voiceOverPsSessionSupport" yaml:"voiceOverPsSessionSupport" bson:"voiceOverPsSessionSupport,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastUeActivityTime *time.Time `json:"lastUeActivityTime,omitempty" yaml:"lastUeActivityTime" bson:"lastUeActivityTime,omitempty"` +} diff --git a/models/models/model_tag_type.go b/models/models/model_tag_type.go new file mode 100644 index 00000000..cafa2a3f --- /dev/null +++ b/models/models/model_tag_type.go @@ -0,0 +1,21 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Defines the Tag Type +type TagType struct { + TagName string `json:"tagName" yaml:"tagName" bson:"tagName,omitempty"` + KeyType KeyType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` + Sort bool `json:"sort,omitempty" yaml:"sort" bson:"sort,omitempty"` + Presence bool `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` +} diff --git a/models/models/model_tai.go b/models/models/model_tai.go new file mode 100644 index 00000000..0db4aaa6 --- /dev/null +++ b/models/models/model_tai.go @@ -0,0 +1,22 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the tracking area identity as described in 3GPP 23.003 +type Tai struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // 2 or 3-octet string identifying a tracking area code as specified in clause 9.3.3.10 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TAC shall appear first in the string, and the character representing the 4 least significant bit of the TAC shall appear last in the string. + Tac string `json:"tac" yaml:"tac" bson:"tac,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_tai_range.go b/models/models/model_tai_range.go new file mode 100644 index 00000000..713f0840 --- /dev/null +++ b/models/models/model_tai_range.go @@ -0,0 +1,21 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of TAIs (Tracking Area Identities) +type TaiRange struct { + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + TacRangeList []TacRange `json:"tacRangeList" yaml:"tacRangeList" bson:"tacRangeList,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_target_area.go b/models/models/model_target_area.go new file mode 100644 index 00000000..c9370323 --- /dev/null +++ b/models/models/model_target_area.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// TA list or TAI range list or any TA +type TargetArea struct { + TaList []Tai `json:"taList,omitempty" yaml:"taList" bson:"taList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + AnyTa bool `json:"anyTa,omitempty" yaml:"anyTa" bson:"anyTa,omitempty"` +} diff --git a/models/models/model_target_dnai_info.go b/models/models/model_target_dnai_info.go new file mode 100644 index 00000000..2b8b8a1a --- /dev/null +++ b/models/models/model_target_dnai_info.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Target DNAI Information +type TargetDnaiInfo struct { + // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. + TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` + SmfSelectionType SmfSelectionType `json:"smfSelectionType" yaml:"smfSelectionType" bson:"smfSelectionType,omitempty"` +} diff --git a/models/models/model_target_ue_information.go b/models/models/model_target_ue_information.go new file mode 100644 index 00000000..336eaaca --- /dev/null +++ b/models/models/model_target_ue_information.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the target UE information. +type TargetUeInformation struct { + AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` + IntGroupIds []string `json:"intGroupIds,omitempty" yaml:"intGroupIds" bson:"intGroupIds,omitempty"` +} diff --git a/models/models/model_temporal_validity.go b/models/models/model_temporal_validity.go new file mode 100644 index 00000000..8f448cb1 --- /dev/null +++ b/models/models/model_temporal_validity.go @@ -0,0 +1,25 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Indicates the time interval(s) during which the AF request is to be applied. +type TemporalValidity struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` +} diff --git a/models/models/model_termination_info.go b/models/models/model_termination_info.go new file mode 100644 index 00000000..7a0cd06f --- /dev/null +++ b/models/models/model_termination_info.go @@ -0,0 +1,20 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the cause for requesting the deletion of the Individual Application Session Context resource. +type TerminationInfo struct { + TermCause PcfPolicyAuthorizationTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` +} diff --git a/models/models/model_threshold_level.go b/models/models/model_threshold_level.go new file mode 100644 index 00000000..61029264 --- /dev/null +++ b/models/models/model_threshold_level.go @@ -0,0 +1,34 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a threshold level. +type ThresholdLevel struct { + CongLevel int32 `json:"congLevel,omitempty" yaml:"congLevel" bson:"congLevel,omitempty"` + NfLoadLevel int32 `json:"nfLoadLevel,omitempty" yaml:"nfLoadLevel" bson:"nfLoadLevel,omitempty"` + NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` + NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` + NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + AvgPacketDelay int32 `json:"avgPacketDelay,omitempty" yaml:"avgPacketDelay" bson:"avgPacketDelay,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` + // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. + AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` + // string with format 'float' as defined in OpenAPI. + SvcExpLevel float32 `json:"svcExpLevel,omitempty" yaml:"svcExpLevel" bson:"svcExpLevel,omitempty"` +} diff --git a/models/models/model_threshold_value.go b/models/models/model_threshold_value.go new file mode 100644 index 00000000..f1eac338 --- /dev/null +++ b/models/models/model_threshold_value.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the threshold value(s) for RTT and/or Packet Loss Rate. +type ThresholdValue struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + RttThres int32 `json:"rttThres,omitempty" yaml:"rttThres" bson:"rttThres,omitempty"` + // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. + PlrThres int32 `json:"plrThres,omitempty" yaml:"plrThres" bson:"plrThres,omitempty"` +} diff --git a/models/models/model_throughput.go b/models/models/model_throughput.go new file mode 100644 index 00000000..4461dd81 --- /dev/null +++ b/models/models/model_throughput.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Throughput struct { + // string with format 'float' as defined in OpenAPI. + GuaranteedThpt float32 `json:"guaranteedThpt,omitempty" yaml:"guaranteedThpt" bson:"guaranteedThpt,omitempty"` + // string with format 'float' as defined in OpenAPI. + MaximumThpt float32 `json:"maximumThpt,omitempty" yaml:"maximumThpt" bson:"maximumThpt,omitempty"` +} diff --git a/models/models/model_time_period.go b/models/models/model_time_period.go new file mode 100644 index 00000000..b7648f93 --- /dev/null +++ b/models/models/model_time_period.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the periodicity for the defined usage monitoring data limits. +type TimePeriod struct { + Period Periodicity `json:"period" yaml:"period" bson:"period,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxNumPeriod int32 `json:"maxNumPeriod,omitempty" yaml:"maxNumPeriod" bson:"maxNumPeriod,omitempty"` +} diff --git a/models/models/model_time_unit.go b/models/models/model_time_unit.go new file mode 100644 index 00000000..a7430e5e --- /dev/null +++ b/models/models/model_time_unit.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TimeUnit string + +// List of TimeUnit +const ( + TimeUnit_MINUTE TimeUnit = "MINUTE" + TimeUnit_HOUR TimeUnit = "HOUR" + TimeUnit_DAY TimeUnit = "DAY" +) diff --git a/models/models/model_time_window.go b/models/models/model_time_window.go new file mode 100644 index 00000000..972318ee --- /dev/null +++ b/models/models/model_time_window.go @@ -0,0 +1,25 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a time window identified by a start time and a stop time. +type TimeWindow struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StopTime *time.Time `json:"stopTime" yaml:"stopTime" bson:"stopTime,omitempty"` +} diff --git a/models/models/model_timer.go b/models/models/model_timer.go new file mode 100644 index 00000000..00425e62 --- /dev/null +++ b/models/models/model_timer.go @@ -0,0 +1,31 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents a timer. +type Timer struct { + // Represents the identifier of a timer. + TimerId string `json:"timerId,omitempty" yaml:"timerId" bson:"timerId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expires *time.Time `json:"expires" yaml:"expires" bson:"expires,omitempty"` + // A map (list of key-value pairs where a tagName of type string serves as key) of tagValue lists + MetaTags map[string][]string `json:"metaTags,omitempty" yaml:"metaTags" bson:"metaTags,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DeleteAfter int32 `json:"deleteAfter,omitempty" yaml:"deleteAfter" bson:"deleteAfter,omitempty"` +} diff --git a/models/models/model_timer_id_list.go b/models/models/model_timer_id_list.go new file mode 100644 index 00000000..4aa5ae4e --- /dev/null +++ b/models/models/model_timer_id_list.go @@ -0,0 +1,18 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a list of timer IDs. +type TimerIdList struct { + TimerIds []string `json:"timerIds" yaml:"timerIds" bson:"timerIds,omitempty"` +} diff --git a/models/models/model_tmgi.go b/models/models/model_tmgi.go new file mode 100644 index 00000000..e0896141 --- /dev/null +++ b/models/models/model_tmgi.go @@ -0,0 +1,20 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Temporary Mobile Group Identity +type Tmgi struct { + // MBS Service ID + MbsServiceId string `json:"mbsServiceId" yaml:"mbsServiceId" bson:"mbsServiceId,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` +} diff --git a/models/models/model_tmgi_range.go b/models/models/model_tmgi_range.go new file mode 100644 index 00000000..b694bc01 --- /dev/null +++ b/models/models/model_tmgi_range.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Range of TMGIs +type TmgiRange struct { + MbsServiceIdStart string `json:"mbsServiceIdStart" yaml:"mbsServiceIdStart" bson:"mbsServiceIdStart,omitempty"` + MbsServiceIdEnd string `json:"mbsServiceIdEnd" yaml:"mbsServiceIdEnd" bson:"mbsServiceIdEnd,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). + Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` +} diff --git a/models/models/model_tnap_id.go b/models/models/model_tnap_id.go new file mode 100644 index 00000000..e7e6b2e7 --- /dev/null +++ b/models/models/model_tnap_id.go @@ -0,0 +1,23 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain the TNAP Identifier see clause5.6.2 of 3GPP TS 23.501. +type TnapId struct { + // This IE shall be present if the UE is accessing the 5GC via a trusted WLAN access network.When present, it shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` + // When present, it shall contain the BSSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` +} diff --git a/models/models/model_tngf_info.go b/models/models/model_tngf_info.go new file mode 100644 index 00000000..aaac5afa --- /dev/null +++ b/models/models/model_tngf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Infomation of the TNGF endpoints +type TngfInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/models/model_top_application.go b/models/models/model_top_application.go new file mode 100644 index 00000000..34b31086 --- /dev/null +++ b/models/models/model_top_application.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Top application that contributes the most to the traffic. +type TopApplication struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` +} diff --git a/models/models/model_topological_service_area.go b/models/models/model_topological_service_area.go new file mode 100644 index 00000000..57712f73 --- /dev/null +++ b/models/models/model_topological_service_area.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TopologicalServiceArea struct { + CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` + TrackingAreaIdList []Tai `json:"trackingAreaIdList,omitempty" yaml:"trackingAreaIdList" bson:"trackingAreaIdList,omitempty"` + ServingPLMN *PlmnId `json:"servingPLMN,omitempty" yaml:"servingPLMN" bson:"servingPLMN,omitempty"` +} diff --git a/models/models/model_trace_data.go b/models/models/model_trace_data.go new file mode 100644 index 00000000..f2a4a72e --- /dev/null +++ b/models/models/model_trace_data.go @@ -0,0 +1,29 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// contains Trace control and configuration parameters. +type TraceData struct { + // Trace Reference (see 3GPP TS 32.422).It shall be encoded as the concatenation of MCC, MNC and Trace ID as follows: 'MCC'\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` + // Identifies the temporal validities for the N6 traffic routing requirement. + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_traffic_influ_data_notif.go b/models/models/model_traffic_influ_data_notif.go new file mode 100644 index 00000000..46b85ba1 --- /dev/null +++ b/models/models/model_traffic_influ_data_notif.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents traffic influence data for notification. +type TrafficInfluDataNotif struct { + // String providing an URI formatted according to RFC 3986. + ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` + TrafficInfluData *TrafficInfluData `json:"trafficInfluData,omitempty" yaml:"trafficInfluData" bson:"trafficInfluData,omitempty"` +} diff --git a/models/models/model_traffic_influ_data_patch.go b/models/models/model_traffic_influ_data_patch.go new file mode 100644 index 00000000..d2cae1d3 --- /dev/null +++ b/models/models/model_traffic_influ_data_patch.go @@ -0,0 +1,51 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the Traffic Influence Data to be updated in the UDR. +type TrafficInfluDataPatch struct { + // Contains the Notification Correlation Id allocated by the NEF for the UP path change notification. + UpPathChgNotifCorreId string `json:"upPathChgNotifCorreId,omitempty" yaml:"upPathChgNotifCorreId" bson:"upPathChgNotifCorreId,omitempty"` + // Identifies whether an application can be relocated once a location of the application has been selected. + AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` + // Identifies Ethernet packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. + EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` + // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. + TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` + // Identifies the N6 traffic routing requirement. + TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` + TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` + // Identifies the temporal validities for the N6 traffic routing requirement. + TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` + // Contains the headers provisioned by the NEF. + Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` + AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` + // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. + SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` +} diff --git a/models/models/model_traffic_influ_sub.go b/models/models/model_traffic_influ_sub.go new file mode 100644 index 00000000..80aaaec1 --- /dev/null +++ b/models/models/model_traffic_influ_sub.go @@ -0,0 +1,36 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents traffic influence subscription data. +type TrafficInfluSub struct { + // Each element identifies a DNN. + Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` + // Each element identifies a slice. + Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` + // Each element identifies a group of users. + InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` + // Each element identifies the user. + Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_traffic_information.go b/models/models/model_traffic_information.go new file mode 100644 index 00000000..c15dd647 --- /dev/null +++ b/models/models/model_traffic_information.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Traffic information including UL/DL data rate and/or Traffic volume. +type TrafficInformation struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + UplinkRate string `json:"uplinkRate,omitempty" yaml:"uplinkRate" bson:"uplinkRate,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + DownlinkRate string `json:"downlinkRate,omitempty" yaml:"downlinkRate" bson:"downlinkRate,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` +} diff --git a/models/models/model_traffic_profile.go b/models/models/model_traffic_profile.go new file mode 100644 index 00000000..3f3be97b --- /dev/null +++ b/models/models/model_traffic_profile.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrafficProfile string + +// List of TrafficProfile +const ( + TrafficProfile_SINGLE_TRANS_UL TrafficProfile = "SINGLE_TRANS_UL" + TrafficProfile_SINGLE_TRANS_DL TrafficProfile = "SINGLE_TRANS_DL" + TrafficProfile_DUAL_TRANS_UL_FIRST TrafficProfile = "DUAL_TRANS_UL_FIRST" + TrafficProfile_DUAL_TRANS_DL_FIRST TrafficProfile = "DUAL_TRANS_DL_FIRST" + TrafficProfile_MULTI_TRANS TrafficProfile = "MULTI_TRANS" +) diff --git a/models/models/model_traffic_profile_rm.go b/models/models/model_traffic_profile_rm.go new file mode 100644 index 00000000..12735bd1 --- /dev/null +++ b/models/models/model_traffic_profile_rm.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrafficProfileRm struct { +} diff --git a/models/models/model_transaction_info.go b/models/models/model_transaction_info.go new file mode 100644 index 00000000..87cd9603 --- /dev/null +++ b/models/models/model_transaction_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents SMF Transaction Information. +type TransactionInfo struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Transaction int32 `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` +} diff --git a/models/models/model_transaction_metric.go b/models/models/model_transaction_metric.go new file mode 100644 index 00000000..788b6ddd --- /dev/null +++ b/models/models/model_transaction_metric.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransactionMetric string + +// List of TransactionMetric +const ( + TransactionMetric_EST TransactionMetric = "PDU_SES_EST" + TransactionMetric_AUTH TransactionMetric = "PDU_SES_AUTH" + TransactionMetric_MODIF TransactionMetric = "PDU_SES_MODIF" + TransactionMetric_REL TransactionMetric = "PDU_SES_REL" +) diff --git a/models/models/model_transfer_mo_data_req_data.go b/models/models/model_transfer_mo_data_req_data.go new file mode 100644 index 00000000..3ec35f02 --- /dev/null +++ b/models/models/model_transfer_mo_data_req_data.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Transfer MO Data Request +type TransferMoDataReqData struct { + MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` +} diff --git a/models/models/model_transfer_mo_data_request.go b/models/models/model_transfer_mo_data_request.go new file mode 100644 index 00000000..41a368a2 --- /dev/null +++ b/models/models/model_transfer_mo_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMoDataRequest struct { + JsonData *TransferMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` +} diff --git a/models/models/model_transfer_mt_data_add_info.go b/models/models/model_transfer_mt_data_add_info.go new file mode 100644 index 00000000..1ff330e3 --- /dev/null +++ b/models/models/model_transfer_mt_data_add_info.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Transfer MT Data Error Response Additional Information +type TransferMtDataAddInfo struct { + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_transfer_mt_data_error.go b/models/models/model_transfer_mt_data_error.go new file mode 100644 index 00000000..dd444593 --- /dev/null +++ b/models/models/model_transfer_mt_data_error.go @@ -0,0 +1,37 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Transfer MT Data Error Response +type TransferMtDataError struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` + // indicating a time in seconds. + MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` +} diff --git a/models/models/model_transfer_mt_data_req_data.go b/models/models/model_transfer_mt_data_req_data.go new file mode 100644 index 00000000..18db6a7e --- /dev/null +++ b/models/models/model_transfer_mt_data_req_data.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Transfer MT Data Request +type TransferMtDataReqData struct { + MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` +} diff --git a/models/models/model_transfer_mt_data_request.go b/models/models/model_transfer_mt_data_request.go new file mode 100644 index 00000000..08902278 --- /dev/null +++ b/models/models/model_transfer_mt_data_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMtDataRequest struct { + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/models/model_transfer_mt_dataismf_request.go b/models/models/model_transfer_mt_dataismf_request.go new file mode 100644 index 00000000..a1320211 --- /dev/null +++ b/models/models/model_transfer_mt_dataismf_request.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferMtDataismfRequest struct { + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` +} diff --git a/models/models/model_transfer_reason.go b/models/models/model_transfer_reason.go new file mode 100644 index 00000000..41449a20 --- /dev/null +++ b/models/models/model_transfer_reason.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferReason string + +// List of TransferReason +const ( + TransferReason_INIT_REG TransferReason = "INIT_REG" + TransferReason_MOBI_REG TransferReason = "MOBI_REG" + TransferReason_MOBI_REG_UE_VALIDATED TransferReason = "MOBI_REG_UE_VALIDATED" +) diff --git a/models/models/model_transfer_request_type.go b/models/models/model_transfer_request_type.go new file mode 100644 index 00000000..d9288713 --- /dev/null +++ b/models/models/model_transfer_request_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransferRequestType string + +// List of TransferRequestType +const ( + TransferRequestType_PREPARE TransferRequestType = "PREPARE" + TransferRequestType_TRANSFER TransferRequestType = "TRANSFER" +) diff --git a/models/models/model_transmitter_info.go b/models/models/model_transmitter_info.go new file mode 100644 index 00000000..315bfcd6 --- /dev/null +++ b/models/models/model_transmitter_info.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransmitterInfo struct { + ProseSourceIPAddress *IpAddr `json:"proseSourceIPAddress,omitempty" yaml:"proseSourceIPAddress" bson:"proseSourceIPAddress,omitempty"` + ProseSourceL2Id string `json:"proseSourceL2Id,omitempty" yaml:"proseSourceL2Id" bson:"proseSourceL2Id,omitempty"` +} diff --git a/models/models/model_transport_protocol.go b/models/models/model_transport_protocol.go new file mode 100644 index 00000000..a0856859 --- /dev/null +++ b/models/models/model_transport_protocol.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TransportProtocol string + +// List of TransportProtocol +const ( + TransportProtocol_UDP TransportProtocol = "UDP" + TransportProtocol_TCP TransportProtocol = "TCP" +) diff --git a/models/models/model_trigger_category.go b/models/models/model_trigger_category.go new file mode 100644 index 00000000..cdb0a9ec --- /dev/null +++ b/models/models/model_trigger_category.go @@ -0,0 +1,21 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TriggerCategory string + +// List of TriggerCategory +const ( + TriggerCategory_IMMEDIATE_REPORT TriggerCategory = "IMMEDIATE_REPORT" + TriggerCategory_DEFERRED_REPORT TriggerCategory = "DEFERRED_REPORT" +) diff --git a/models/models/model_trigger_point.go b/models/models/model_trigger_point.go new file mode 100644 index 00000000..865f1a8b --- /dev/null +++ b/models/models/model_trigger_point.go @@ -0,0 +1,19 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the conditions that should be checked in order to find out if an Application Server should be contacted or not +type TriggerPoint struct { + ConditionType TypeOfCondition `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + SptList []Spt `json:"sptList" yaml:"sptList" bson:"sptList,omitempty"` +} diff --git a/models/models/model_trigger_request.go b/models/models/model_trigger_request.go new file mode 100644 index 00000000..0befbc1c --- /dev/null +++ b/models/models/model_trigger_request.go @@ -0,0 +1,19 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TriggerRequest struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` +} diff --git a/models/models/model_trunk_group_id.go b/models/models/model_trunk_group_id.go new file mode 100644 index 00000000..d9102ed8 --- /dev/null +++ b/models/models/model_trunk_group_id.go @@ -0,0 +1,18 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TrunkGroupId struct { + IncomingTrunkGroupID string `json:"incomingTrunkGroupID,omitempty" yaml:"incomingTrunkGroupID" bson:"incomingTrunkGroupID,omitempty"` + OutgoingTrunkGroupID string `json:"outgoingTrunkGroupID,omitempty" yaml:"outgoingTrunkGroupID" bson:"outgoingTrunkGroupID,omitempty"` +} diff --git a/models/models/model_trust_af_info.go b/models/models/model_trust_af_info.go new file mode 100644 index 00000000..6d8fc2e2 --- /dev/null +++ b/models/models/model_trust_af_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a trusted AF Instance +type TrustAfInfo struct { + SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` + AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` + InternalGroupId []string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` + MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` +} diff --git a/models/models/model_tsc_qos_requirement.go b/models/models/model_tsc_qos_requirement.go new file mode 100644 index 00000000..51cf6600 --- /dev/null +++ b/models/models/model_tsc_qos_requirement.go @@ -0,0 +1,35 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents QoS requirements for time sensitive communication. +type TscQosRequirement struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` + // Represents the priority level of TSC Flows. + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` +} diff --git a/models/models/model_tsc_qos_requirement_rm.go b/models/models/model_tsc_qos_requirement_rm.go new file mode 100644 index 00000000..21c73d5a --- /dev/null +++ b/models/models/model_tsc_qos_requirement_rm.go @@ -0,0 +1,35 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the same as the TscQosRequirement data type but with the nullable:true property. +type TscQosRequirementRm struct { + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` + // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. + ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. + Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` + // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. + TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` + TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` + TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` +} diff --git a/models/models/model_tscai_input_container.go b/models/models/model_tscai_input_container.go new file mode 100644 index 00000000..25bc2d83 --- /dev/null +++ b/models/models/model_tscai_input_container.go @@ -0,0 +1,29 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Indicates TSC Traffic pattern. +type TscaiInputContainer struct { + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Periodicity int32 `json:"periodicity,omitempty" yaml:"periodicity" bson:"periodicity,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + BurstArrivalTime *time.Time `json:"burstArrivalTime,omitempty" yaml:"burstArrivalTime" bson:"burstArrivalTime,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + SurTimeInNumMsg int32 `json:"surTimeInNumMsg,omitempty" yaml:"surTimeInNumMsg" bson:"surTimeInNumMsg,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + SurTimeInTime int32 `json:"surTimeInTime,omitempty" yaml:"surTimeInTime" bson:"surTimeInTime,omitempty"` +} diff --git a/models/models/model_tsctsf_info.go b/models/models/model_tsctsf_info.go new file mode 100644 index 00000000..1eb13417 --- /dev/null +++ b/models/models/model_tsctsf_info.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a TSCTSF NF Instance +type TsctsfInfo struct { + // A map (list of key-value pairs) where a valid JSON string serves as key + SNssaiInfoList map[string]SnssaiTsctsfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` +} diff --git a/models/models/model_tsn_bridge_info.go b/models/models/model_tsn_bridge_info.go new file mode 100644 index 00000000..2731113a --- /dev/null +++ b/models/models/model_tsn_bridge_info.go @@ -0,0 +1,25 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that describe and identify the TSC user plane node. +type TsnBridgeInfo struct { + // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. + BridgeId int32 `json:"bridgeId,omitempty" yaml:"bridgeId" bson:"bridgeId,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + DsttAddr string `json:"dsttAddr,omitempty" yaml:"dsttAddr" bson:"dsttAddr,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DsttPortNum int32 `json:"dsttPortNum,omitempty" yaml:"dsttPortNum" bson:"dsttPortNum,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + DsttResidTime int32 `json:"dsttResidTime,omitempty" yaml:"dsttResidTime" bson:"dsttResidTime,omitempty"` +} diff --git a/models/models/model_tsn_qos_container.go b/models/models/model_tsn_qos_container.go new file mode 100644 index 00000000..fd556172 --- /dev/null +++ b/models/models/model_tsn_qos_container.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates TSC Traffic QoS. +type TsnQosContainer struct { + // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. + TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` + // Represents the priority level of TSC Flows. + TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` +} diff --git a/models/models/model_tsn_qos_container_rm.go b/models/models/model_tsn_qos_container_rm.go new file mode 100644 index 00000000..70aaa259 --- /dev/null +++ b/models/models/model_tsn_qos_container_rm.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates removable TSC Traffic QoS. +type TsnQosContainerRm struct { + // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. + MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` + // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. + TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` + // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. + TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` +} diff --git a/models/models/model_tunnel_info.go b/models/models/model_tunnel_info.go new file mode 100644 index 00000000..3388831e --- /dev/null +++ b/models/models/model_tunnel_info.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Tunnel Information +type TunnelInfo struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + // GTP Tunnel Endpoint Identifier + GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` + AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` +} diff --git a/models/models/model_twan_location_data.go b/models/models/model_twan_location_data.go new file mode 100644 index 00000000..fa8d55fb --- /dev/null +++ b/models/models/model_twan_location_data.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Location information of the 3GPP AAA Server for Trusted W-LAN Access +type TwanLocationData struct { + TwanSsid string `json:"twanSsid" yaml:"twanSsid" bson:"twanSsid,omitempty"` + PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` + TwanBssid string `json:"twanBssid,omitempty" yaml:"twanBssid" bson:"twanBssid,omitempty"` + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` + TwanOperatorName string `json:"twanOperatorName,omitempty" yaml:"twanOperatorName" bson:"twanOperatorName,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` + LogicalAccessId string `json:"logicalAccessId,omitempty" yaml:"logicalAccessId" bson:"logicalAccessId,omitempty"` +} diff --git a/models/models/model_twap_id.go b/models/models/model_twap_id.go new file mode 100644 index 00000000..9b14ce26 --- /dev/null +++ b/models/models/model_twap_id.go @@ -0,0 +1,23 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contain the TWAP Identifier as defined in clause 4.2.8.5.3 of 3GPP TS 23.501 or the WLAN location information as defined in clause 4.5.7.2.8 of 3GPP TS 23.402. +type TwapId struct { + // This IE shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. + SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` + // When present, it shall contain the BSSID of the access point to which the UE is attached, for trusted WLAN access, see IEEE Std 802.11-2012. + BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` + // string with format 'bytes' as defined in OpenAPI + CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` +} diff --git a/models/models/model_twif_info.go b/models/models/model_twif_info.go new file mode 100644 index 00000000..b10b332d --- /dev/null +++ b/models/models/model_twif_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Addressing information (IP addresses, FQDN) of the TWIF +type TwifInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/models/model_type_of_condition.go b/models/models/model_type_of_condition.go new file mode 100644 index 00000000..42306bbe --- /dev/null +++ b/models/models/model_type_of_condition.go @@ -0,0 +1,21 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type TypeOfCondition string + +// List of TypeOfCondition +const ( + TypeOfCondition_CNF TypeOfCondition = "CNF" + TypeOfCondition_DNF TypeOfCondition = "DNF" +) diff --git a/models/models/model_uav_auth_failure.go b/models/models/model_uav_auth_failure.go new file mode 100644 index 00000000..b710994a --- /dev/null +++ b/models/models/model_uav_auth_failure.go @@ -0,0 +1,19 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UAV auth failure +type UavAuthFailure struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + UasResourceRelease bool `json:"uasResourceRelease,omitempty" yaml:"uasResourceRelease" bson:"uasResourceRelease,omitempty"` +} diff --git a/models/models/model_uc_purpose.go b/models/models/model_uc_purpose.go new file mode 100644 index 00000000..d5665e47 --- /dev/null +++ b/models/models/model_uc_purpose.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UcPurpose string + +// List of UcPurpose +const ( + UcPurpose_ANALYTICS UcPurpose = "ANALYTICS" + UcPurpose_MODEL_TRAINING UcPurpose = "MODEL_TRAINING" + UcPurpose_NW_CAP_EXPOSURE UcPurpose = "NW_CAP_EXPOSURE" + UcPurpose_EDGEAPP_UE_LOCATION UcPurpose = "EDGEAPP_UE_LOCATION" +) diff --git a/models/models/model_uc_subscription_data.go b/models/models/model_uc_subscription_data.go new file mode 100644 index 00000000..0234c4a4 --- /dev/null +++ b/models/models/model_uc_subscription_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the User Consent Subscription Data. +type UcSubscriptionData struct { + // A map(list of key-value pairs) where user consent purpose serves as key of user consent + UserConsentPerPurposeList map[string]UserConsent `json:"userConsentPerPurposeList,omitempty" yaml:"userConsentPerPurposeList" bson:"userConsentPerPurposeList,omitempty"` +} diff --git a/models/models/model_udm_ee_association_type.go b/models/models/model_udm_ee_association_type.go new file mode 100644 index 00000000..db143fff --- /dev/null +++ b/models/models/model_udm_ee_association_type.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeAssociationType string + +// List of UdmEEAssociationType +const ( + UdmEeAssociationType_IMEI_CHANGE UdmEeAssociationType = "IMEI_CHANGE" + UdmEeAssociationType_IMEISV_CHANGE UdmEeAssociationType = "IMEISV_CHANGE" +) diff --git a/models/models/model_udm_ee_created_ee_subscription.go b/models/models/model_udm_ee_created_ee_subscription.go new file mode 100644 index 00000000..0306696b --- /dev/null +++ b/models/models/model_udm_ee_created_ee_subscription.go @@ -0,0 +1,26 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeCreatedEeSubscription struct { + EeSubscription *UdmEeEeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + EventReports []UdmEeMonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` + EpcStatusInd bool `json:"epcStatusInd,omitempty" yaml:"epcStatusInd" bson:"epcStatusInd,omitempty"` + // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration + FailedMonitoringConfigs map[string]UdmEeFailedMonitoringConfiguration `json:"failedMonitoringConfigs,omitempty" yaml:"failedMonitoringConfigs" bson:"failedMonitoringConfigs,omitempty"` + // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration, the key value \"ALL\" may be used to identify a map entry which contains the failed cause of the EE subscription was not successful in EPC domain. + FailedMoniConfigsEPC map[string]UdmEeFailedMonitoringConfiguration `json:"failedMoniConfigsEPC,omitempty" yaml:"failedMoniConfigsEPC" bson:"failedMoniConfigsEPC,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_udm_ee_ee_subscription.go b/models/models/model_udm_ee_ee_subscription.go new file mode 100644 index 00000000..232df5a3 --- /dev/null +++ b/models/models/model_udm_ee_ee_subscription.go @@ -0,0 +1,40 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeEeSubscription struct { + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` + // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations + MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` + ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` + // Fully Qualified Domain Name + ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` + // Fully Qualified Domain Name + ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` + NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` + // String providing an URI formatted according to RFC 3986. + SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` + IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` + // String providing an URI formatted according to RFC 3986. + DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` + UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` +} diff --git a/models/models/model_udm_ee_event_type.go b/models/models/model_udm_ee_event_type.go new file mode 100644 index 00000000..2a063de7 --- /dev/null +++ b/models/models/model_udm_ee_event_type.go @@ -0,0 +1,39 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeEventType string + +// List of UdmEEEventType +const ( + UdmEeEventType_LOSS_OF_CONNECTIVITY UdmEeEventType = "LOSS_OF_CONNECTIVITY" + UdmEeEventType_UE_REACHABILITY_FOR_DATA UdmEeEventType = "UE_REACHABILITY_FOR_DATA" + UdmEeEventType_UE_REACHABILITY_FOR_SMS UdmEeEventType = "UE_REACHABILITY_FOR_SMS" + UdmEeEventType_LOCATION_REPORTING UdmEeEventType = "LOCATION_REPORTING" + UdmEeEventType_CHANGE_OF_SUPI_PEI_ASSOCIATION UdmEeEventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION" + UdmEeEventType_ROAMING_STATUS UdmEeEventType = "ROAMING_STATUS" + UdmEeEventType_COMMUNICATION_FAILURE UdmEeEventType = "COMMUNICATION_FAILURE" + UdmEeEventType_AVAILABILITY_AFTER_DDN_FAILURE UdmEeEventType = "AVAILABILITY_AFTER_DDN_FAILURE" + UdmEeEventType_CN_TYPE_CHANGE UdmEeEventType = "CN_TYPE_CHANGE" + UdmEeEventType_DL_DATA_DELIVERY_STATUS UdmEeEventType = "DL_DATA_DELIVERY_STATUS" + UdmEeEventType_PDN_CONNECTIVITY_STATUS UdmEeEventType = "PDN_CONNECTIVITY_STATUS" + UdmEeEventType_UE_CONNECTION_MANAGEMENT_STATE UdmEeEventType = "UE_CONNECTION_MANAGEMENT_STATE" + UdmEeEventType_ACCESS_TYPE_REPORT UdmEeEventType = "ACCESS_TYPE_REPORT" + UdmEeEventType_REGISTRATION_STATE_REPORT UdmEeEventType = "REGISTRATION_STATE_REPORT" + UdmEeEventType_CONNECTIVITY_STATE_REPORT UdmEeEventType = "CONNECTIVITY_STATE_REPORT" + UdmEeEventType_TYPE_ALLOCATION_CODE_REPORT UdmEeEventType = "TYPE_ALLOCATION_CODE_REPORT" + UdmEeEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT UdmEeEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" + UdmEeEventType_PDU_SES_REL UdmEeEventType = "PDU_SES_REL" + UdmEeEventType_PDU_SES_EST UdmEeEventType = "PDU_SES_EST" + UdmEeEventType_UE_MEMORY_AVAILABLE_FOR_SMS UdmEeEventType = "UE_MEMORY_AVAILABLE_FOR_SMS" +) diff --git a/models/models/model_udm_ee_failed_cause.go b/models/models/model_udm_ee_failed_cause.go new file mode 100644 index 00000000..e014c4b4 --- /dev/null +++ b/models/models/model_udm_ee_failed_cause.go @@ -0,0 +1,25 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeFailedCause string + +// List of UdmEEFailedCause +const ( + UdmEeFailedCause_AF_NOT_ALLOWED UdmEeFailedCause = "AF_NOT_ALLOWED" + UdmEeFailedCause_MTC_PROVIDER_NOT_ALLOWED UdmEeFailedCause = "MTC_PROVIDER_NOT_ALLOWED" + UdmEeFailedCause_MONITORING_NOT_ALLOWED UdmEeFailedCause = "MONITORING_NOT_ALLOWED" + UdmEeFailedCause_UNSUPPORTED_MONITORING_EVENT_TYPE UdmEeFailedCause = "UNSUPPORTED_MONITORING_EVENT_TYPE" + UdmEeFailedCause_UNSUPPORTED_MONITORING_REPORT_OPTIONS UdmEeFailedCause = "UNSUPPORTED_MONITORING_REPORT_OPTIONS" + UdmEeFailedCause_UNSPECIFIED UdmEeFailedCause = "UNSPECIFIED" +) diff --git a/models/models/model_udm_ee_failed_monitoring_configuration.go b/models/models/model_udm_ee_failed_monitoring_configuration.go new file mode 100644 index 00000000..6be67a49 --- /dev/null +++ b/models/models/model_udm_ee_failed_monitoring_configuration.go @@ -0,0 +1,19 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the event type and failed cause of the failed Monitoring Configuration in the EE subscription +type UdmEeFailedMonitoringConfiguration struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + FailedCause UdmEeFailedCause `json:"failedCause" yaml:"failedCause" bson:"failedCause,omitempty"` +} diff --git a/models/models/model_udm_ee_location_accuracy.go b/models/models/model_udm_ee_location_accuracy.go new file mode 100644 index 00000000..f41db17a --- /dev/null +++ b/models/models/model_udm_ee_location_accuracy.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeLocationAccuracy string + +// List of UdmEELocationAccuracy +const ( + UdmEeLocationAccuracy_CELL_LEVEL UdmEeLocationAccuracy = "CELL_LEVEL" + UdmEeLocationAccuracy_RAN_NODE_LEVEL UdmEeLocationAccuracy = "RAN_NODE_LEVEL" + UdmEeLocationAccuracy_TA_LEVEL UdmEeLocationAccuracy = "TA_LEVEL" + UdmEeLocationAccuracy_N3_IWF_LEVEL UdmEeLocationAccuracy = "N3IWF_LEVEL" + UdmEeLocationAccuracy_UE_IP UdmEeLocationAccuracy = "UE_IP" + UdmEeLocationAccuracy_UE_PORT UdmEeLocationAccuracy = "UE_PORT" +) diff --git a/models/models/model_udm_ee_location_reporting_configuration.go b/models/models/model_udm_ee_location_reporting_configuration.go new file mode 100644 index 00000000..5604c3c4 --- /dev/null +++ b/models/models/model_udm_ee_location_reporting_configuration.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeLocationReportingConfiguration struct { + CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation,omitempty"` + OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime,omitempty"` + Accuracy UdmEeLocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` + N3gppAccuracy UdmEeLocationAccuracy `json:"n3gppAccuracy,omitempty" yaml:"n3gppAccuracy" bson:"n3gppAccuracy,omitempty"` +} diff --git a/models/models/model_udm_ee_monitoring_configuration.go b/models/models/model_udm_ee_monitoring_configuration.go new file mode 100644 index 00000000..4261d475 --- /dev/null +++ b/models/models/model_udm_ee_monitoring_configuration.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeMonitoringConfiguration struct { + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` + LocationReportingConfiguration *UdmEeLocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration,omitempty"` + AssociationType UdmEeAssociationType `json:"associationType,omitempty" yaml:"associationType" bson:"associationType,omitempty"` + DatalinkReportCfg *DatalinkReportingConfiguration `json:"datalinkReportCfg,omitempty" yaml:"datalinkReportCfg" bson:"datalinkReportCfg,omitempty"` + LossConnectivityCfg *LossConnectivityCfg `json:"lossConnectivityCfg,omitempty" yaml:"lossConnectivityCfg" bson:"lossConnectivityCfg,omitempty"` + // indicating a time in seconds. + MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` + // indicating a time in seconds. + MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` + SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl,omitempty" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + PduSessionStatusCfg *UdmEePduSessionStatusCfg `json:"pduSessionStatusCfg,omitempty" yaml:"pduSessionStatusCfg" bson:"pduSessionStatusCfg,omitempty"` + ReachabilityForSmsCfg ReachabilityForSmsConfiguration `json:"reachabilityForSmsCfg,omitempty" yaml:"reachabilityForSmsCfg" bson:"reachabilityForSmsCfg,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + ReachabilityForDataCfg *UdmEeReachabilityForDataConfiguration `json:"reachabilityForDataCfg,omitempty" yaml:"reachabilityForDataCfg" bson:"reachabilityForDataCfg,omitempty"` + IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` +} diff --git a/models/models/model_udm_ee_monitoring_report.go b/models/models/model_udm_ee_monitoring_report.go new file mode 100644 index 00000000..ef39602d --- /dev/null +++ b/models/models/model_udm_ee_monitoring_report.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeMonitoringReport struct { + ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` + EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` + Report *UdmEeReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` + ReachabilityForSmsReport *UdmEeReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty" yaml:"reachabilityForSmsReport" bson:"reachabilityForSmsReport,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` + ReachabilityReport *ReachabilityReport `json:"reachabilityReport,omitempty" yaml:"reachabilityReport" bson:"reachabilityReport,omitempty"` +} diff --git a/models/models/model_udm_ee_pdu_session_status_cfg.go b/models/models/model_udm_ee_pdu_session_status_cfg.go new file mode 100644 index 00000000..5480a5dd --- /dev/null +++ b/models/models/model_udm_ee_pdu_session_status_cfg.go @@ -0,0 +1,18 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEePduSessionStatusCfg struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_udm_ee_reachability_for_data_configuration.go b/models/models/model_udm_ee_reachability_for_data_configuration.go new file mode 100644 index 00000000..2a37de3c --- /dev/null +++ b/models/models/model_udm_ee_reachability_for_data_configuration.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeReachabilityForDataConfiguration struct { + ReportCfg ReachabilityForDataReportConfig `json:"reportCfg" yaml:"reportCfg" bson:"reportCfg,omitempty"` + // indicating a time in seconds. + MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` +} diff --git a/models/models/model_udm_ee_reachability_for_sms_report.go b/models/models/model_udm_ee_reachability_for_sms_report.go new file mode 100644 index 00000000..626f856b --- /dev/null +++ b/models/models/model_udm_ee_reachability_for_sms_report.go @@ -0,0 +1,23 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeReachabilityForSmsReport struct { + SmsfAccessType AccessType `json:"smsfAccessType" yaml:"smsfAccessType" bson:"smsfAccessType,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` +} diff --git a/models/models/model_udm_ee_report.go b/models/models/model_udm_ee_report.go new file mode 100644 index 00000000..6a845be3 --- /dev/null +++ b/models/models/model_udm_ee_report.go @@ -0,0 +1,37 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmEeReport struct { + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` + Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` + NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` + OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` + OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` + NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` + LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` + PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` + PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` +} diff --git a/models/models/model_udm_ee_reporting_options.go b/models/models/model_udm_ee_reporting_options.go new file mode 100644 index 00000000..17634d1e --- /dev/null +++ b/models/models/model_udm_ee_reporting_options.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmEeReportingOptions struct { + ReportMode EventReportMode `json:"reportMode,omitempty" yaml:"reportMode" bson:"reportMode,omitempty"` + MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + SamplingRatio int32 `json:"samplingRatio,omitempty" yaml:"samplingRatio" bson:"samplingRatio,omitempty"` + // indicating a time in seconds. + GuardTime int32 `json:"guardTime,omitempty" yaml:"guardTime" bson:"guardTime,omitempty"` + // indicating a time in seconds. + ReportPeriod int32 `json:"reportPeriod,omitempty" yaml:"reportPeriod" bson:"reportPeriod,omitempty"` + NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` +} diff --git a/models/models/model_udm_info.go b/models/models/model_udm_info.go new file mode 100644 index 00000000..31eb877a --- /dev/null +++ b/models/models/model_udm_info.go @@ -0,0 +1,25 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an UDM NF Instance +type UdmInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` + InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` + SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` +} diff --git a/models/models/model_udm_mt_ue_info.go b/models/models/model_udm_mt_ue_info.go new file mode 100644 index 00000000..7782275a --- /dev/null +++ b/models/models/model_udm_mt_ue_info.go @@ -0,0 +1,20 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents UE information. +type UdmMtUeInfo struct { + TadsInfo *UeContextInfo `json:"tadsInfo,omitempty" yaml:"tadsInfo" bson:"tadsInfo,omitempty"` + UserState Model5GsUserState `json:"userState,omitempty" yaml:"userState" bson:"userState,omitempty"` + Var5gSrvccInfo *Model5GSrvccInfo `json:"5gSrvccInfo,omitempty" yaml:"5gSrvccInfo" bson:"5gSrvccInfo,omitempty"` +} diff --git a/models/models/model_udm_niddau_authorization_data.go b/models/models/model_udm_niddau_authorization_data.go new file mode 100644 index 00000000..ee1dde30 --- /dev/null +++ b/models/models/model_udm_niddau_authorization_data.go @@ -0,0 +1,24 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents NIDD authorization data. +type UdmNiddauAuthorizationData struct { + AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_udm_pp_location_area.go b/models/models/model_udm_pp_location_area.go new file mode 100644 index 00000000..29b6da1a --- /dev/null +++ b/models/models/model_udm_pp_location_area.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmPpLocationArea struct { + // Identifies a list of geographic area of the user where the UE is located. + GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` + // Identifies a list of civic addresses of the user where the UE is located. + CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` + NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` + UmtTime *UmtTime `json:"umtTime,omitempty" yaml:"umtTime" bson:"umtTime,omitempty"` +} diff --git a/models/models/model_udm_sdm_amf_info.go b/models/models/model_udm_sdm_amf_info.go new file mode 100644 index 00000000..3b1d0366 --- /dev/null +++ b/models/models/model_udm_sdm_amf_info.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmAmfInfo struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` + Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_udm_sdm_app_descriptor.go b/models/models/model_udm_sdm_app_descriptor.go new file mode 100644 index 00000000..38aba9b8 --- /dev/null +++ b/models/models/model_udm_sdm_app_descriptor.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmAppDescriptor struct { + // Represents the Operating System of the served UE. + OsId string `json:"osId,omitempty" yaml:"osId" bson:"osId,omitempty"` + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` +} diff --git a/models/models/model_udm_sdm_data_set_name.go b/models/models/model_udm_sdm_data_set_name.go new file mode 100644 index 00000000..752d4927 --- /dev/null +++ b/models/models/model_udm_sdm_data_set_name.go @@ -0,0 +1,35 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmDataSetName string + +// List of UdmSDMDataSetName +const ( + UdmSdmDataSetName_AM UdmSdmDataSetName = "AM" + UdmSdmDataSetName_SMF_SEL UdmSdmDataSetName = "SMF_SEL" + UdmSdmDataSetName_UEC_SMF UdmSdmDataSetName = "UEC_SMF" + UdmSdmDataSetName_UEC_SMSF UdmSdmDataSetName = "UEC_SMSF" + UdmSdmDataSetName_SMS_SUB UdmSdmDataSetName = "SMS_SUB" + UdmSdmDataSetName_SM UdmSdmDataSetName = "SM" + UdmSdmDataSetName_TRACE UdmSdmDataSetName = "TRACE" + UdmSdmDataSetName_SMS_MNG UdmSdmDataSetName = "SMS_MNG" + UdmSdmDataSetName_LCS_PRIVACY UdmSdmDataSetName = "LCS_PRIVACY" + UdmSdmDataSetName_LCS_MO UdmSdmDataSetName = "LCS_MO" + UdmSdmDataSetName_UEC_AMF UdmSdmDataSetName = "UEC_AMF" + UdmSdmDataSetName_V2_X UdmSdmDataSetName = "V2X" + UdmSdmDataSetName_LCS_BCA UdmSdmDataSetName = "LCS_BCA" + UdmSdmDataSetName_PROSE UdmSdmDataSetName = "PROSE" + UdmSdmDataSetName_UC UdmSdmDataSetName = "UC" + UdmSdmDataSetName_MBS UdmSdmDataSetName = "MBS" +) diff --git a/models/models/model_udm_sdm_ec_restriction_data_wb.go b/models/models/model_udm_sdm_ec_restriction_data_wb.go new file mode 100644 index 00000000..02805cc8 --- /dev/null +++ b/models/models/model_udm_sdm_ec_restriction_data_wb.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmEcRestrictionDataWb struct { + EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` + EcModeBRestricted bool `json:"ecModeBRestricted,omitempty" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` +} diff --git a/models/models/model_udm_sdm_group_identifiers.go b/models/models/model_udm_sdm_group_identifiers.go new file mode 100644 index 00000000..4b118c89 --- /dev/null +++ b/models/models/model_udm_sdm_group_identifiers.go @@ -0,0 +1,20 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmGroupIdentifiers struct { + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` + UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` +} diff --git a/models/models/model_udm_sdm_ip_address.go b/models/models/model_udm_sdm_ip_address.go new file mode 100644 index 00000000..7ae765e1 --- /dev/null +++ b/models/models/model_udm_sdm_ip_address.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmIpAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` +} diff --git a/models/models/model_udm_sdm_ip_index.go b/models/models/model_udm_sdm_ip_index.go new file mode 100644 index 00000000..4bfad9aa --- /dev/null +++ b/models/models/model_udm_sdm_ip_index.go @@ -0,0 +1,17 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the IP Index to be sent from UDM to the SMF (its value can be either an integer or a string) +type UdmSdmIpIndex struct { +} diff --git a/models/models/model_udm_sdm_nidd_information.go b/models/models/model_udm_sdm_nidd_information.go new file mode 100644 index 00000000..05e9e088 --- /dev/null +++ b/models/models/model_udm_sdm_nidd_information.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmNiddInformation struct { + AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. + ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` +} diff --git a/models/models/model_udm_sdm_shared_data.go b/models/models/model_udm_sdm_shared_data.go new file mode 100644 index 00000000..5c066696 --- /dev/null +++ b/models/models/model_udm_sdm_shared_data.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSharedData struct { + SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` + SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData,omitempty"` + SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData,omitempty"` + SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData,omitempty"` + // A map(list of key-value pairs) where Dnn, or optionally the Wildcard DNN, serves as key of DnnConfiguration + SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations,omitempty"` + SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData,omitempty"` + // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo + SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos,omitempty"` + // A map(list of key-value pairs) where GroupId serves as key of VnGroupData + SharedVnGroupDatas map[string]VnGroupData `json:"sharedVnGroupDatas,omitempty" yaml:"sharedVnGroupDatas" bson:"sharedVnGroupDatas,omitempty"` + // A map(list of key-value pairs) where JSON pointer pointing to an attribute within the SharedData serves as key of SharedDataTreatmentInstruction + TreatmentInstructions map[string]SharedDataTreatmentInstruction `json:"treatmentInstructions,omitempty" yaml:"treatmentInstructions" bson:"treatmentInstructions,omitempty"` + SharedSmSubsData *SessionManagementSubscriptionData `json:"sharedSmSubsData,omitempty" yaml:"sharedSmSubsData" bson:"sharedSmSubsData,omitempty"` + SharedEcsAddrConfigInfo *EcsAddrConfigInfo `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` +} diff --git a/models/models/model_udm_sdm_sor_info.go b/models/models/model_udm_sdm_sor_info.go new file mode 100644 index 00000000..a0d2f6c9 --- /dev/null +++ b/models/models/model_udm_sdm_sor_info.go @@ -0,0 +1,35 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmSdmSorInfo struct { + SteeringContainer *UdmSdmSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` + // Contains indication whether the acknowledgement from UE is needed. + AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` + // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). + SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` + // CounterSoR. + Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` + // string with format 'bytes' as defined in OpenAPI + SorCmci string `json:"sorCmci,omitempty" yaml:"sorCmci" bson:"sorCmci,omitempty"` + StoreSorCmciInMe bool `json:"storeSorCmciInMe,omitempty" yaml:"storeSorCmciInMe" bson:"storeSorCmciInMe,omitempty"` + UsimSupportOfSorCmci bool `json:"usimSupportOfSorCmci,omitempty" yaml:"usimSupportOfSorCmci" bson:"usimSupportOfSorCmci,omitempty"` +} diff --git a/models/models/model_udm_sdm_steering_container.go b/models/models/model_udm_sdm_steering_container.go new file mode 100644 index 00000000..05aee655 --- /dev/null +++ b/models/models/model_udm_sdm_steering_container.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSteeringContainer struct { +} diff --git a/models/models/model_udm_sdm_subscription_data_sets.go b/models/models/model_udm_sdm_subscription_data_sets.go new file mode 100644 index 00000000..26d06c78 --- /dev/null +++ b/models/models/model_udm_sdm_subscription_data_sets.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmSubscriptionDataSets struct { + AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` + SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` + UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` + UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` + UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` + SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` + SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` + LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` + LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` + V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` + LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` + ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` + MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` + UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` +} diff --git a/models/models/model_udm_sdm_ue_id.go b/models/models/model_udm_sdm_ue_id.go new file mode 100644 index 00000000..018b8491 --- /dev/null +++ b/models/models/model_udm_sdm_ue_id.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmSdmUeId struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` +} diff --git a/models/models/model_udm_sdm_upu_info.go b/models/models/model_udm_sdm_upu_info.go new file mode 100644 index 00000000..9a4ba1f9 --- /dev/null +++ b/models/models/model_udm_sdm_upu_info.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UdmSdmUpuInfo struct { + UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList,omitempty" yaml:"upuDataList" bson:"upuDataList,omitempty"` + UpuRegInd bool `json:"upuRegInd,omitempty" yaml:"upuRegInd" bson:"upuRegInd,omitempty"` + // Contains the indication of whether the acknowledgement from UE is needed. + UpuAckInd bool `json:"upuAckInd,omitempty" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` + // CounterUPU. + CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + // string with format 'bytes' as defined in OpenAPI + UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` +} diff --git a/models/models/model_udm_ssau_service_specific_authorization_info.go b/models/models/model_udm_ssau_service_specific_authorization_info.go new file mode 100644 index 00000000..09a315ab --- /dev/null +++ b/models/models/model_udm_ssau_service_specific_authorization_info.go @@ -0,0 +1,27 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Authorization information for a specific service +type UdmSsauServiceSpecificAuthorizationInfo struct { + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + // String uniquely identifying MTC provider information. + MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` + // String providing an URI formatted according to RFC 3986. + AuthUpdateCallbackUri string `json:"authUpdateCallbackUri,omitempty" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` + AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` + // Identity of the NEF + NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` +} diff --git a/models/models/model_udm_ueau_auth_type.go b/models/models/model_udm_ueau_auth_type.go new file mode 100644 index 00000000..4665bae7 --- /dev/null +++ b/models/models/model_udm_ueau_auth_type.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthType string + +// List of UdmUEAUAuthType +const ( + UdmUeauAuthType__5_G_AKA UdmUeauAuthType = "5G_AKA" + UdmUeauAuthType_EAP_AKA_PRIME UdmUeauAuthType = "EAP_AKA_PRIME" + UdmUeauAuthType_EAP_TLS UdmUeauAuthType = "EAP_TLS" + UdmUeauAuthType_NONE UdmUeauAuthType = "NONE" + UdmUeauAuthType_EAP_TTLS UdmUeauAuthType = "EAP_TTLS" +) diff --git a/models/models/model_udm_ueau_authentication_info_request.go b/models/models/model_udm_ueau_authentication_info_request.go new file mode 100644 index 00000000..97a84a9f --- /dev/null +++ b/models/models/model_udm_ueau_authentication_info_request.go @@ -0,0 +1,26 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthenticationInfoRequest struct { + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` + ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + AusfInstanceId string `json:"ausfInstanceId" yaml:"ausfInstanceId" bson:"ausfInstanceId,omitempty"` + CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` + N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` + NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` +} diff --git a/models/models/model_udm_ueau_authentication_info_result.go b/models/models/model_udm_ueau_authentication_info_result.go new file mode 100644 index 00000000..94f68857 --- /dev/null +++ b/models/models/model_udm_ueau_authentication_info_result.go @@ -0,0 +1,26 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauAuthenticationInfoResult struct { + AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + AkmaInd bool `json:"akmaInd,omitempty" yaml:"akmaInd" bson:"akmaInd,omitempty"` + AuthAaa bool `json:"authAaa,omitempty" yaml:"authAaa" bson:"authAaa,omitempty"` + RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` + PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` +} diff --git a/models/models/model_udm_ueau_rg_auth_ctx.go b/models/models/model_udm_ueau_rg_auth_ctx.go new file mode 100644 index 00000000..a4190e06 --- /dev/null +++ b/models/models/model_udm_ueau_rg_auth_ctx.go @@ -0,0 +1,21 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUeauRgAuthCtx struct { + AuthInd bool `json:"authInd" yaml:"authInd" bson:"authInd,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_udm_uecm_data_restoration_notification.go b/models/models/model_udm_uecm_data_restoration_notification.go new file mode 100644 index 00000000..42480078 --- /dev/null +++ b/models/models/model_udm_uecm_data_restoration_notification.go @@ -0,0 +1,33 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains identities representing those UEs potentially affected by a data-loss event at the UDR +type UdmUecmDataRestorationNotification struct { + // string with format 'date-time' as defined in OpenAPI. + LastReplicationTime *time.Time `json:"lastReplicationTime,omitempty" yaml:"lastReplicationTime" bson:"lastReplicationTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` +} diff --git a/models/models/model_udm_uecm_deregistration_data.go b/models/models/model_udm_uecm_deregistration_data.go new file mode 100644 index 00000000..92105c72 --- /dev/null +++ b/models/models/model_udm_uecm_deregistration_data.go @@ -0,0 +1,22 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmDeregistrationData struct { + DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. + PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfInstanceId string `json:"newSmfInstanceId,omitempty" yaml:"newSmfInstanceId" bson:"newSmfInstanceId,omitempty"` +} diff --git a/models/models/model_udm_uecm_deregistration_reason.go b/models/models/model_udm_uecm_deregistration_reason.go new file mode 100644 index 00000000..72c3c763 --- /dev/null +++ b/models/models/model_udm_uecm_deregistration_reason.go @@ -0,0 +1,28 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmDeregistrationReason string + +// List of UdmUECMDeregistrationReason +const ( + UdmUecmDeregistrationReason_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "UE_INITIAL_REGISTRATION" + UdmUecmDeregistrationReason_UE_REGISTRATION_AREA_CHANGE UdmUecmDeregistrationReason = "UE_REGISTRATION_AREA_CHANGE" + UdmUecmDeregistrationReason_SUBSCRIPTION_WITHDRAWN UdmUecmDeregistrationReason = "SUBSCRIPTION_WITHDRAWN" + UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY" + UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION" + UdmUecmDeregistrationReason_REREGISTRATION_REQUIRED UdmUecmDeregistrationReason = "REREGISTRATION_REQUIRED" + UdmUecmDeregistrationReason_SMF_CONTEXT_TRANSFERRED UdmUecmDeregistrationReason = "SMF_CONTEXT_TRANSFERRED" + UdmUecmDeregistrationReason_DUPLICATE_PDU_SESSION UdmUecmDeregistrationReason = "DUPLICATE_PDU_SESSION" + UdmUecmDeregistrationReason_DISASTER_CONDITION_TERMINATED UdmUecmDeregistrationReason = "DISASTER_CONDITION_TERMINATED" +) diff --git a/models/models/model_udm_uecm_location_info.go b/models/models/model_udm_uecm_location_info.go new file mode 100644 index 00000000..6600d061 --- /dev/null +++ b/models/models/model_udm_uecm_location_info.go @@ -0,0 +1,23 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdmUecmLocationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + RegistrationLocationInfoList []RegistrationLocationInfo `json:"registrationLocationInfoList" yaml:"registrationLocationInfoList" bson:"registrationLocationInfoList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_udr_dr_data_restoration_notification.go b/models/models/model_udr_dr_data_restoration_notification.go new file mode 100644 index 00000000..42d072a6 --- /dev/null +++ b/models/models/model_udr_dr_data_restoration_notification.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains identities representing those UEs potentially affected by a data-loss event at the UDR +type UdrDrDataRestorationNotification struct { + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + // Identifier of a group of NFs. + UdrGroupId string `json:"udrGroupId,omitempty" yaml:"udrGroupId" bson:"udrGroupId,omitempty"` +} diff --git a/models/models/model_udr_info.go b/models/models/model_udr_info.go new file mode 100644 index 00000000..0a87c2bc --- /dev/null +++ b/models/models/model_udr_info.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an UDR NF Instance +type UdrInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` + ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` + SupportedDataSets []DataSetId `json:"supportedDataSets,omitempty" yaml:"supportedDataSets" bson:"supportedDataSets,omitempty"` + SharedDataIdRanges []SharedDataIdRange `json:"sharedDataIdRanges,omitempty" yaml:"sharedDataIdRanges" bson:"sharedDataIdRanges,omitempty"` +} diff --git a/models/models/model_udsf_data_repository_notification_info.go b/models/models/model_udsf_data_repository_notification_info.go new file mode 100644 index 00000000..5dd4367b --- /dev/null +++ b/models/models/model_udsf_data_repository_notification_info.go @@ -0,0 +1,17 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UdsfDataRepositoryNotificationInfo struct { + ExpiredSubscriptions []NotificationSubscription `json:"expiredSubscriptions" yaml:"expiredSubscriptions" bson:"expiredSubscriptions,omitempty"` +} diff --git a/models/models/model_udsf_info.go b/models/models/model_udsf_info.go new file mode 100644 index 00000000..961cddeb --- /dev/null +++ b/models/models/model_udsf_info.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information related to UDSF +type UdsfInfo struct { + // Identifier of a group of NFs. + GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` + SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` + // A map (list of key-value pairs) where realmId serves as key and each value in the map is an array of IdentityRanges. Each IdentityRange is a range of storageIds. + StorageIdRanges map[string][]IdentityRange `json:"storageIdRanges,omitempty" yaml:"storageIdRanges" bson:"storageIdRanges,omitempty"` +} diff --git a/models/models/model_ue_access_behavior_report_item.go b/models/models/model_ue_access_behavior_report_item.go new file mode 100644 index 00000000..6099c480 --- /dev/null +++ b/models/models/model_ue_access_behavior_report_item.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Report Item for UE Access Behavior Trends event. +type UeAccessBehaviorReportItem struct { + StateTransitionType AccessStateTransitionType `json:"stateTransitionType" yaml:"stateTransitionType" bson:"stateTransitionType,omitempty"` + // indicating a time in seconds. + Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` +} diff --git a/models/models/model_ue_analytics_context_descriptor.go b/models/models/model_ue_analytics_context_descriptor.go new file mode 100644 index 00000000..deeec1bb --- /dev/null +++ b/models/models/model_ue_analytics_context_descriptor.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains information about available UE related analytics contexts. +type UeAnalyticsContextDescriptor struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // List of analytics types for which UE related analytics contexts can be retrieved. + AnaTypes []NwdafEvent `json:"anaTypes" yaml:"anaTypes" bson:"anaTypes,omitempty"` +} diff --git a/models/models/model_ue_area_indication.go b/models/models/model_ue_area_indication.go new file mode 100644 index 00000000..2cd1210d --- /dev/null +++ b/models/models/model_ue_area_indication.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates area (country, area in a country or international area) where UE is located +type UeAreaIndication struct { + // Indicates country or area in a country where UE is located + Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` + // Indicates international area indication if UE is located in international area + InternationalAreaInd bool `json:"internationalAreaInd,omitempty" yaml:"internationalAreaInd" bson:"internationalAreaInd,omitempty"` +} diff --git a/models/models/model_ue_auth.go b/models/models/model_ue_auth.go new file mode 100644 index 00000000..1fca11d3 --- /dev/null +++ b/models/models/model_ue_auth.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeAuth string + +// List of UeAuth +const ( + UeAuth_AUTHORIZED UeAuth = "AUTHORIZED" + UeAuth_NOT_AUTHORIZED UeAuth = "NOT_AUTHORIZED" +) diff --git a/models/models/model_ue_authentication_ctx.go b/models/models/model_ue_authentication_ctx.go new file mode 100644 index 00000000..2bbbed95 --- /dev/null +++ b/models/models/model_ue_authentication_ctx.go @@ -0,0 +1,22 @@ +/* + * AUSF API + * + * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information related to the resource generated to handle the UE authentication. It contains at least the UE id, Serving Network, the Authentication Method and related EAP information or related 5G-AKA information. +type UeAuthenticationCtx struct { + AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` + Var5gAuthData interface{} `json:"5gAuthData" yaml:"5gAuthData" bson:"5gAuthData,omitempty"` + // A map(list of key-value pairs) where member serves as key + Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` + ServingNetworkName string `json:"servingNetworkName,omitempty" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` +} diff --git a/models/models/model_ue_camping_rep.go b/models/models/model_ue_camping_rep.go new file mode 100644 index 00000000..297c9514 --- /dev/null +++ b/models/models/model_ue_camping_rep.go @@ -0,0 +1,26 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the current applicable values corresponding to the policy control request triggers. +type UeCampingRep struct { + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` + UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` + SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` +} diff --git a/models/models/model_ue_communication.go b/models/models/model_ue_communication.go new file mode 100644 index 00000000..3492ea67 --- /dev/null +++ b/models/models/model_ue_communication.go @@ -0,0 +1,42 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents UE communication information. +type UeCommunication struct { + // indicating a time in seconds. + CommDur int32 `json:"commDur,omitempty" yaml:"commDur" bson:"commDur,omitempty"` + // string with format 'float' as defined in OpenAPI. + CommDurVariance float32 `json:"commDurVariance,omitempty" yaml:"commDurVariance" bson:"commDurVariance,omitempty"` + // indicating a time in seconds. + PerioTime int32 `json:"perioTime,omitempty" yaml:"perioTime" bson:"perioTime,omitempty"` + // string with format 'float' as defined in OpenAPI. + PerioTimeVariance float32 `json:"perioTimeVariance,omitempty" yaml:"perioTimeVariance" bson:"perioTimeVariance,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` + // string with format 'float' as defined in OpenAPI. + TsVariance float32 `json:"tsVariance,omitempty" yaml:"tsVariance" bson:"tsVariance,omitempty"` + RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` + TrafChar *TrafficCharacterization `json:"trafChar,omitempty" yaml:"trafChar" bson:"trafChar,omitempty"` + // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. + Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` + PerioCommInd bool `json:"perioCommInd,omitempty" yaml:"perioCommInd" bson:"perioCommInd,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` + AnaOfAppList *AppListForUeComm `json:"anaOfAppList,omitempty" yaml:"anaOfAppList" bson:"anaOfAppList,omitempty"` + SessInactTimer *SessInactTimerForUeComm `json:"sessInactTimer,omitempty" yaml:"sessInactTimer" bson:"sessInactTimer,omitempty"` +} diff --git a/models/models/model_ue_communication_collection.go b/models/models/model_ue_communication_collection.go new file mode 100644 index 00000000..ebfc144c --- /dev/null +++ b/models/models/model_ue_communication_collection.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE communication information associated with an application. +type UeCommunicationCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + ExterGroupId string `json:"exterGroupId,omitempty" yaml:"exterGroupId" bson:"exterGroupId,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` +} diff --git a/models/models/model_ue_communication_info.go b/models/models/model_ue_communication_info.go new file mode 100644 index 00000000..3d15a067 --- /dev/null +++ b/models/models/model_ue_communication_info.go @@ -0,0 +1,24 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE communication information associated with an application. +type UeCommunicationInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. + InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` +} diff --git a/models/models/model_ue_connectivity_state.go b/models/models/model_ue_connectivity_state.go new file mode 100644 index 00000000..95c7579c --- /dev/null +++ b/models/models/model_ue_connectivity_state.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the connectivity state of a UE. +type UeConnectivityState struct { + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + Connectivitystate CmState `json:"connectivitystate,omitempty" yaml:"connectivitystate" bson:"connectivitystate,omitempty"` +} diff --git a/models/models/model_ue_context.go b/models/models/model_ue_context.go new file mode 100644 index 00000000..c7e844f6 --- /dev/null +++ b/models/models/model_ue_context.go @@ -0,0 +1,132 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents an individual ueContext resource +type UeContext struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + SupiUnauthInd bool `json:"supiUnauthInd,omitempty" yaml:"supiUnauthInd" bson:"supiUnauthInd,omitempty"` + GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // Identifier of a group of NFs. + UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` + // Identifier of a group of NFs. + AusfGroupId string `json:"ausfGroupId,omitempty" yaml:"ausfGroupId" bson:"ausfGroupId,omitempty"` + // Identifier of a group of NFs. + PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` + RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` + HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` + GroupList []string `json:"groupList,omitempty" yaml:"groupList" bson:"groupList,omitempty"` + // string with format 'bytes' as defined in OpenAPI + DrxParameter string `json:"drxParameter,omitempty" yaml:"drxParameter" bson:"drxParameter,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + SubRfsp int32 `json:"subRfsp,omitempty" yaml:"subRfsp" bson:"subRfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + PcfRfsp int32 `json:"pcfRfsp,omitempty" yaml:"pcfRfsp" bson:"pcfRfsp,omitempty"` + // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. + UsedRfsp int32 `json:"usedRfsp,omitempty" yaml:"usedRfsp" bson:"usedRfsp,omitempty"` + SubUeAmbr *Ambr `json:"subUeAmbr,omitempty" yaml:"subUeAmbr" bson:"subUeAmbr,omitempty"` + PcfUeAmbr *Ambr `json:"pcfUeAmbr,omitempty" yaml:"pcfUeAmbr" bson:"pcfUeAmbr,omitempty"` + // A map(list of key-value pairs) where Snssai serves as key. + SubUeSliceMbrList map[string]SliceMbr `json:"subUeSliceMbrList,omitempty" yaml:"subUeSliceMbrList" bson:"subUeSliceMbrList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + SmsfId string `json:"smsfId,omitempty" yaml:"smsfId" bson:"smsfId,omitempty"` + SeafData *SeafData `json:"seafData,omitempty" yaml:"seafData" bson:"seafData,omitempty"` + // string with format 'bytes' as defined in OpenAPI + Var5gMmCapability string `json:"5gMmCapability,omitempty" yaml:"5gMmCapability" bson:"5gMmCapability,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfAmpServiceSetId string `json:"pcfAmpServiceSetId,omitempty" yaml:"pcfAmpServiceSetId" bson:"pcfAmpServiceSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfUepServiceSetId string `json:"pcfUepServiceSetId,omitempty" yaml:"pcfUepServiceSetId" bson:"pcfUepServiceSetId,omitempty"` + PcfBinding SbiBindingLevel `json:"pcfBinding,omitempty" yaml:"pcfBinding" bson:"pcfBinding,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcfAmPolicyUri string `json:"pcfAmPolicyUri,omitempty" yaml:"pcfAmPolicyUri" bson:"pcfAmPolicyUri,omitempty"` + AmPolicyReqTriggerList []PolicyReqTrigger `json:"amPolicyReqTriggerList,omitempty" yaml:"amPolicyReqTriggerList" bson:"amPolicyReqTriggerList,omitempty"` + // String providing an URI formatted according to RFC 3986. + PcfUePolicyUri string `json:"pcfUePolicyUri,omitempty" yaml:"pcfUePolicyUri" bson:"pcfUePolicyUri,omitempty"` + UePolicyReqTriggerList []PolicyReqTrigger `json:"uePolicyReqTriggerList,omitempty" yaml:"uePolicyReqTriggerList" bson:"uePolicyReqTriggerList,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + HpcfId string `json:"hpcfId,omitempty" yaml:"hpcfId" bson:"hpcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + HpcfSetId string `json:"hpcfSetId,omitempty" yaml:"hpcfSetId" bson:"hpcfSetId,omitempty"` + RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` + ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` + ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` + RestrictedCoreNwTypeList []CoreNetworkType `json:"restrictedCoreNwTypeList,omitempty" yaml:"restrictedCoreNwTypeList" bson:"restrictedCoreNwTypeList,omitempty"` + EventSubscriptionList []ExtAmfEventSubscription `json:"eventSubscriptionList,omitempty" yaml:"eventSubscriptionList" bson:"eventSubscriptionList,omitempty"` + MmContextList []MmContext `json:"mmContextList,omitempty" yaml:"mmContextList" bson:"mmContextList,omitempty"` + SessionContextList []PduSessionContext `json:"sessionContextList,omitempty" yaml:"sessionContextList" bson:"sessionContextList,omitempty"` + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ServiceGapExpiryTime *time.Time `json:"serviceGapExpiryTime,omitempty" yaml:"serviceGapExpiryTime" bson:"serviceGapExpiryTime,omitempty"` + // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. + StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` + // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. + CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` + // string with format 'bytes' as defined in OpenAPI + MsClassmark2 string `json:"msClassmark2,omitempty" yaml:"msClassmark2" bson:"msClassmark2,omitempty"` + SupportedCodecList []string `json:"supportedCodecList,omitempty" yaml:"supportedCodecList" bson:"supportedCodecList,omitempty"` + SmallDataRateStatusInfos []SmallDataRateStatusInfo `json:"smallDataRateStatusInfos,omitempty" yaml:"smallDataRateStatusInfos" bson:"smallDataRateStatusInfos,omitempty"` + RestrictedPrimaryRatList []RatType `json:"restrictedPrimaryRatList,omitempty" yaml:"restrictedPrimaryRatList" bson:"restrictedPrimaryRatList,omitempty"` + RestrictedSecondaryRatList []RatType `json:"restrictedSecondaryRatList,omitempty" yaml:"restrictedSecondaryRatList" bson:"restrictedSecondaryRatList,omitempty"` + V2xContext *V2xContext `json:"v2xContext,omitempty" yaml:"v2xContext" bson:"v2xContext,omitempty"` + LteCatMInd bool `json:"lteCatMInd,omitempty" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` + RedCapInd bool `json:"redCapInd,omitempty" yaml:"redCapInd" bson:"redCapInd,omitempty"` + MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` + CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` + ManagementMdtInd bool `json:"managementMdtInd,omitempty" yaml:"managementMdtInd" bson:"managementMdtInd,omitempty"` + ImmediateMdtConf *ImmediateMdtConf `json:"immediateMdtConf,omitempty" yaml:"immediateMdtConf" bson:"immediateMdtConf,omitempty"` + EcRestrictionDataWb *AmfCommunicationEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` + EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` + IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` + ProseContext *ProseContext `json:"proseContext,omitempty" yaml:"proseContext" bson:"proseContext,omitempty"` + AnalyticsSubscriptionList []AnalyticsSubscription `json:"analyticsSubscriptionList,omitempty" yaml:"analyticsSubscriptionList" bson:"analyticsSubscriptionList,omitempty"` + PcfAmpBindingInfo string `json:"pcfAmpBindingInfo,omitempty" yaml:"pcfAmpBindingInfo" bson:"pcfAmpBindingInfo,omitempty"` + PcfUepBindingInfo string `json:"pcfUepBindingInfo,omitempty" yaml:"pcfUepBindingInfo" bson:"pcfUepBindingInfo,omitempty"` + UsedServiceAreaRestriction *ServiceAreaRestriction `json:"usedServiceAreaRestriction,omitempty" yaml:"usedServiceAreaRestriction" bson:"usedServiceAreaRestriction,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PraInAmPolicy map[string]PresenceInfo `json:"praInAmPolicy,omitempty" yaml:"praInAmPolicy" bson:"praInAmPolicy,omitempty"` + // A map(list of key-value pairs) where praId serves as key. + PraInUePolicy map[string]PresenceInfo `json:"praInUePolicy,omitempty" yaml:"praInUePolicy" bson:"praInUePolicy,omitempty"` + UpdpSubscriptionData *UpdpSubscriptionData `json:"updpSubscriptionData,omitempty" yaml:"updpSubscriptionData" bson:"updpSubscriptionData,omitempty"` + SmPolicyNotifyPduList []PduSessionInfo `json:"smPolicyNotifyPduList,omitempty" yaml:"smPolicyNotifyPduList" bson:"smPolicyNotifyPduList,omitempty"` + PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` + // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). + UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` + AstiDistributionIndication bool `json:"astiDistributionIndication,omitempty" yaml:"astiDistributionIndication" bson:"astiDistributionIndication,omitempty"` + TsErrorBudget int32 `json:"tsErrorBudget,omitempty" yaml:"tsErrorBudget" bson:"tsErrorBudget,omitempty"` + SnpnOnboardInd bool `json:"snpnOnboardInd,omitempty" yaml:"snpnOnboardInd" bson:"snpnOnboardInd,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + // A map(list of key-value pairs) where Snssai serves as key. + PcfUeSliceMbrList map[string]SliceMbr `json:"pcfUeSliceMbrList,omitempty" yaml:"pcfUeSliceMbrList" bson:"pcfUeSliceMbrList,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` + // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + SmsfServiceSetId string `json:"smsfServiceSetId,omitempty" yaml:"smsfServiceSetId" bson:"smsfServiceSetId,omitempty"` + SmsfBindingInfo string `json:"smsfBindingInfo,omitempty" yaml:"smsfBindingInfo" bson:"smsfBindingInfo,omitempty"` + DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` + DisasterPlmn *PlmnId `json:"disasterPlmn,omitempty" yaml:"disasterPlmn" bson:"disasterPlmn,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` +} diff --git a/models/models/model_ue_context_cancel_relocate_data.go b/models/models/model_ue_context_cancel_relocate_data.go new file mode 100644 index 00000000..41bccada --- /dev/null +++ b/models/models/model_ue_context_cancel_relocate_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data structure used for cancellation of UE Context Relocation +type UeContextCancelRelocateData struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + RelocationCancelRequest *RefToBinaryData `json:"relocationCancelRequest" yaml:"relocationCancelRequest" bson:"relocationCancelRequest,omitempty"` +} diff --git a/models/models/model_ue_context_create_data.go b/models/models/model_ue_context_create_data.go new file mode 100644 index 00000000..a85dac1f --- /dev/null +++ b/models/models/model_ue_context_create_data.go @@ -0,0 +1,29 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a request to create an individual ueContext resource +type UeContextCreateData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` + SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyUri string `json:"n2NotifyUri,omitempty" yaml:"n2NotifyUri" bson:"n2NotifyUri,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` +} diff --git a/models/models/model_ue_context_create_error.go b/models/models/model_ue_context_create_error.go new file mode 100644 index 00000000..c997ab5b --- /dev/null +++ b/models/models/model_ue_context_create_error.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a failure response for creating a UE context +type UeContextCreateError struct { + Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + TargetToSourceFailureData *N2InfoContent `json:"targetToSourceFailureData,omitempty" yaml:"targetToSourceFailureData" bson:"targetToSourceFailureData,omitempty"` +} diff --git a/models/models/model_ue_context_created_data.go b/models/models/model_ue_context_created_data.go new file mode 100644 index 00000000..e3f1ee70 --- /dev/null +++ b/models/models/model_ue_context_created_data.go @@ -0,0 +1,25 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a successful response for creating an individual ueContext resource +type UeContextCreatedData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetToSourceData *N2InfoContent `json:"targetToSourceData" yaml:"targetToSourceData" bson:"targetToSourceData,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + FailedSessionList []N2SmInformation `json:"failedSessionList,omitempty" yaml:"failedSessionList" bson:"failedSessionList,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` + AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` +} diff --git a/models/models/model_ue_context_in_amf_data.go b/models/models/model_ue_context_in_amf_data.go new file mode 100644 index 00000000..0db129c0 --- /dev/null +++ b/models/models/model_ue_context_in_amf_data.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextInAmfData struct { + EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` + // AMF information + AmfInfo []UdmSdmAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` +} diff --git a/models/models/model_ue_context_in_smf_data.go b/models/models/model_ue_context_in_smf_data.go new file mode 100644 index 00000000..473e5213 --- /dev/null +++ b/models/models/model_ue_context_in_smf_data.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextInSmfData struct { + // A map (list of key-value pairs where PduSessionId serves as key) of PduSessions + PduSessions map[string]PduSession `json:"pduSessions,omitempty" yaml:"pduSessions" bson:"pduSessions,omitempty"` + PgwInfo []PgwInfo `json:"pgwInfo,omitempty" yaml:"pgwInfo" bson:"pgwInfo,omitempty"` + EmergencyInfo *EmergencyInfo `json:"emergencyInfo,omitempty" yaml:"emergencyInfo" bson:"emergencyInfo,omitempty"` +} diff --git a/models/models/model_ue_context_in_smf_data_sub_filter.go b/models/models/model_ue_context_in_smf_data_sub_filter.go new file mode 100644 index 00000000..4fc297cf --- /dev/null +++ b/models/models/model_ue_context_in_smf_data_sub_filter.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Context In Smf Data Subscription Filter. +type UeContextInSmfDataSubFilter struct { + DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` + SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` + EmergencyInd bool `json:"emergencyInd,omitempty" yaml:"emergencyInd" bson:"emergencyInd,omitempty"` +} diff --git a/models/models/model_ue_context_in_smsf_data.go b/models/models/model_ue_context_in_smsf_data.go new file mode 100644 index 00000000..0aa92885 --- /dev/null +++ b/models/models/model_ue_context_in_smsf_data.go @@ -0,0 +1,18 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextInSmsfData struct { + SmsfInfo3GppAccess *SmsfInfo `json:"smsfInfo3GppAccess,omitempty" yaml:"smsfInfo3GppAccess" bson:"smsfInfo3GppAccess,omitempty"` + SmsfInfoNon3GppAccess *SmsfInfo `json:"smsfInfoNon3GppAccess,omitempty" yaml:"smsfInfoNon3GppAccess" bson:"smsfInfoNon3GppAccess,omitempty"` +} diff --git a/models/models/model_ue_context_info.go b/models/models/model_ue_context_info.go new file mode 100644 index 00000000..b6cdebca --- /dev/null +++ b/models/models/model_ue_context_info.go @@ -0,0 +1,29 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// UE Context Information +type UeContextInfo struct { + SupportVoPS bool `json:"supportVoPS,omitempty" yaml:"supportVoPS" bson:"supportVoPS,omitempty"` + SupportVoPSn3gpp bool `json:"supportVoPSn3gpp,omitempty" yaml:"supportVoPSn3gpp" bson:"supportVoPSn3gpp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + LastActTime *time.Time `json:"lastActTime,omitempty" yaml:"lastActTime" bson:"lastActTime,omitempty"` + AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ue_context_info_class.go b/models/models/model_ue_context_info_class.go new file mode 100644 index 00000000..899750e4 --- /dev/null +++ b/models/models/model_ue_context_info_class.go @@ -0,0 +1,20 @@ +/* + * Namf_MT + * + * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextInfoClass string + +// List of UeContextInfoClass +const ( + UeContextInfoClass_TADS UeContextInfoClass = "TADS" +) diff --git a/models/models/model_ue_context_release.go b/models/models/model_ue_context_release.go new file mode 100644 index 00000000..775a5cad --- /dev/null +++ b/models/models/model_ue_context_release.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Release UE Context request +type UeContextRelease struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` + NgapCause *NgApCause `json:"ngapCause" yaml:"ngapCause" bson:"ngapCause,omitempty"` +} diff --git a/models/models/model_ue_context_relocate_data.go b/models/models/model_ue_context_relocate_data.go new file mode 100644 index 00000000..e32dc8da --- /dev/null +++ b/models/models/model_ue_context_relocate_data.go @@ -0,0 +1,26 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Relocate UE Context request +type UeContextRelocateData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` + SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` + ForwardRelocationRequest *RefToBinaryData `json:"forwardRelocationRequest" yaml:"forwardRelocationRequest" bson:"forwardRelocationRequest,omitempty"` + PduSessionList []N2SmInformation `json:"pduSessionList,omitempty" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ue_context_relocated_data.go b/models/models/model_ue_context_relocated_data.go new file mode 100644 index 00000000..bbae1304 --- /dev/null +++ b/models/models/model_ue_context_relocated_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a Relocate UE Context response +type UeContextRelocatedData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` +} diff --git a/models/models/model_ue_context_transfer_req_data.go b/models/models/model_ue_context_transfer_req_data.go new file mode 100644 index 00000000..fea628e4 --- /dev/null +++ b/models/models/model_ue_context_transfer_req_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a UE Context Transfer Request to start transferring of an individual ueContext resource from old AMF to new AMF +type UeContextTransferReqData struct { + Reason TransferReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` + AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` + PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + RegRequest *N1MessageContainer `json:"regRequest,omitempty" yaml:"regRequest" bson:"regRequest,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ue_context_transfer_request.go b/models/models/model_ue_context_transfer_request.go new file mode 100644 index 00000000..5e0159c3 --- /dev/null +++ b/models/models/model_ue_context_transfer_request.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextTransferRequest struct { + JsonData *UeContextTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` +} diff --git a/models/models/model_ue_context_transfer_response_200.go b/models/models/model_ue_context_transfer_response_200.go new file mode 100644 index 00000000..64c434eb --- /dev/null +++ b/models/models/model_ue_context_transfer_response_200.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextTransferResponse200 struct { + JsonData *UeContextTransferRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` +} diff --git a/models/models/model_ue_context_transfer_rsp_data.go b/models/models/model_ue_context_transfer_rsp_data.go new file mode 100644 index 00000000..3adf6ef5 --- /dev/null +++ b/models/models/model_ue_context_transfer_rsp_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a successful response to the UE Context Transfer request +type UeContextTransferRspData struct { + UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` + UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` + UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` + UeNbiotRadioCapability *N2InfoContent `json:"ueNbiotRadioCapability,omitempty" yaml:"ueNbiotRadioCapability" bson:"ueNbiotRadioCapability,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ue_context_transfer_status.go b/models/models/model_ue_context_transfer_status.go new file mode 100644 index 00000000..a4a76794 --- /dev/null +++ b/models/models/model_ue_context_transfer_status.go @@ -0,0 +1,21 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeContextTransferStatus string + +// List of UeContextTransferStatus +const ( + UeContextTransferStatus_TRANSFERRED UeContextTransferStatus = "TRANSFERRED" + UeContextTransferStatus_NOT_TRANSFERRED UeContextTransferStatus = "NOT_TRANSFERRED" +) diff --git a/models/models/model_ue_differentiation_info.go b/models/models/model_ue_differentiation_info.go new file mode 100644 index 00000000..80e0041b --- /dev/null +++ b/models/models/model_ue_differentiation_info.go @@ -0,0 +1,30 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the UE Differentiation Information and its validity time +type UeDifferentiationInfo struct { + PeriodicComInd PeriodicCommunicationIndicator `json:"periodicComInd,omitempty" yaml:"periodicComInd" bson:"periodicComInd,omitempty"` + // indicating a time in seconds. + PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` + ScheduledComTime *ScheduledCommunicationTime `json:"scheduledComTime,omitempty" yaml:"scheduledComTime" bson:"scheduledComTime,omitempty"` + StationaryInd StationaryIndication `json:"stationaryInd,omitempty" yaml:"stationaryInd" bson:"stationaryInd,omitempty"` + TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` + BatteryInd *BatteryIndication `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_ue_id_ext.go b/models/models/model_ue_id_ext.go new file mode 100644 index 00000000..9001f206 --- /dev/null +++ b/models/models/model_ue_id_ext.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE Identity +type UeIdExt struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` +} diff --git a/models/models/model_ue_identity_info.go b/models/models/model_ue_identity_info.go new file mode 100644 index 00000000..b76cdedb --- /dev/null +++ b/models/models/model_ue_identity_info.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents 5GS-Level UE identities. +type UeIdentityInfo struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` +} diff --git a/models/models/model_ue_in_area_filter.go b/models/models/model_ue_in_area_filter.go new file mode 100644 index 00000000..d4b8ed5c --- /dev/null +++ b/models/models/model_ue_in_area_filter.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Additional filters for UE in Area Report event +type UeInAreaFilter struct { + UeType UeType `json:"ueType,omitempty" yaml:"ueType" bson:"ueType,omitempty"` + AerialSrvDnnInd bool `json:"aerialSrvDnnInd,omitempty" yaml:"aerialSrvDnnInd" bson:"aerialSrvDnnInd,omitempty"` +} diff --git a/models/models/model_ue_initiated_resource_request.go b/models/models/model_ue_initiated_resource_request.go new file mode 100644 index 00000000..24dc0299 --- /dev/null +++ b/models/models/model_ue_initiated_resource_request.go @@ -0,0 +1,22 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates that a UE requests specific QoS handling for the selected SDF. +type UeInitiatedResourceRequest struct { + PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` + RuleOp RuleOperation `json:"ruleOp" yaml:"ruleOp" bson:"ruleOp,omitempty"` + Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` + PackFiltInfo []PacketFilterInfo `json:"packFiltInfo" yaml:"packFiltInfo" bson:"packFiltInfo,omitempty"` + ReqQos *RequestedQos `json:"reqQos,omitempty" yaml:"reqQos" bson:"reqQos,omitempty"` +} diff --git a/models/models/model_ue_lcs_capability.go b/models/models/model_ue_lcs_capability.go new file mode 100644 index 00000000..93dc2c8c --- /dev/null +++ b/models/models/model_ue_lcs_capability.go @@ -0,0 +1,19 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicates the LCS capability supported by the UE.. +type UeLcsCapability struct { + LppSupport bool `json:"lppSupport,omitempty" yaml:"lppSupport" bson:"lppSupport,omitempty"` + CiotOptimisation bool `json:"ciotOptimisation,omitempty" yaml:"ciotOptimisation" bson:"ciotOptimisation,omitempty"` +} diff --git a/models/models/model_ue_location_info.go b/models/models/model_ue_location_info.go new file mode 100644 index 00000000..9c88e38f --- /dev/null +++ b/models/models/model_ue_location_info.go @@ -0,0 +1,31 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Indicates location information of a UE. +type UeLocationInfo struct { + LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` + VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` + // Indicates value of the age of the location estimate. + AgeOfVelocityEstimate int32 `json:"ageOfVelocityEstimate,omitempty" yaml:"ageOfVelocityEstimate" bson:"ageOfVelocityEstimate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + TimestampOfVelocityEstimate *time.Time `json:"timestampOfVelocityEstimate,omitempty" yaml:"timestampOfVelocityEstimate" bson:"timestampOfVelocityEstimate,omitempty"` +} diff --git a/models/models/model_ue_location_service_ind.go b/models/models/model_ue_location_service_ind.go new file mode 100644 index 00000000..abf5879c --- /dev/null +++ b/models/models/model_ue_location_service_ind.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeLocationServiceInd string + +// List of UeLocationServiceInd +const ( + UeLocationServiceInd_ESTIMATE UeLocationServiceInd = "LOCATION_ESTIMATE" + UeLocationServiceInd_ASSISTANCE_DATA UeLocationServiceInd = "LOCATION_ASSISTANCE_DATA" +) diff --git a/models/models/model_ue_location_trends_report_item.go b/models/models/model_ue_location_trends_report_item.go new file mode 100644 index 00000000..8153246c --- /dev/null +++ b/models/models/model_ue_location_trends_report_item.go @@ -0,0 +1,31 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Report Item for UE Location Trends event. +type UeLocationTrendsReportItem struct { + Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` + Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + // indicating a time in seconds. + Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` + // string with format \"date-time\" as defined in OpenAPI. + Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` +} diff --git a/models/models/model_ue_mobility.go b/models/models/model_ue_mobility.go new file mode 100644 index 00000000..91a6d762 --- /dev/null +++ b/models/models/model_ue_mobility.go @@ -0,0 +1,29 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents UE mobility information. +type UeMobility struct { + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` + RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` + // indicating a time in seconds. + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + // string with format 'float' as defined in OpenAPI. + DurationVariance float32 `json:"durationVariance,omitempty" yaml:"durationVariance" bson:"durationVariance,omitempty"` + LocInfos []NwdafEventsSubscriptionLocationInfo `json:"locInfos,omitempty" yaml:"locInfos" bson:"locInfos,omitempty"` +} diff --git a/models/models/model_ue_mobility_collection.go b/models/models/model_ue_mobility_collection.go new file mode 100644 index 00000000..ed8892c6 --- /dev/null +++ b/models/models/model_ue_mobility_collection.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE mobility information associated with an application. +type UeMobilityCollection struct { + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` + UeTrajs []UeTrajectoryCollection `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` +} diff --git a/models/models/model_ue_mobility_info.go b/models/models/model_ue_mobility_info.go new file mode 100644 index 00000000..d4762b6a --- /dev/null +++ b/models/models/model_ue_mobility_info.go @@ -0,0 +1,22 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains UE mobility information associated with an application. +type UeMobilityInfo struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + UeTrajs []UeTrajectoryInfo `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` +} diff --git a/models/models/model_ue_n1_n2_info_subscription_create_data.go b/models/models/model_ue_n1_n2_info_subscription_create_data.go new file mode 100644 index 00000000..7771c23e --- /dev/null +++ b/models/models/model_ue_n1_n2_info_subscription_create_data.go @@ -0,0 +1,28 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a create subscription request for UE specific N1 and/or N2 information notification +type UeN1N2InfoSubscriptionCreateData struct { + N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N2NotifyCallbackUri string `json:"n2NotifyCallbackUri,omitempty" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` + N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` + // String providing an URI formatted according to RFC 3986. + N1NotifyCallbackUri string `json:"n1NotifyCallbackUri,omitempty" yaml:"n1NotifyCallbackUri" bson:"n1NotifyCallbackUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` +} diff --git a/models/models/model_ue_n1_n2_info_subscription_created_data.go b/models/models/model_ue_n1_n2_info_subscription_created_data.go new file mode 100644 index 00000000..0926fb40 --- /dev/null +++ b/models/models/model_ue_n1_n2_info_subscription_created_data.go @@ -0,0 +1,20 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data for the created subscription for UE specific N1 and/or N2 information notification +type UeN1N2InfoSubscriptionCreatedData struct { + N1n2NotifySubscriptionId string `json:"n1n2NotifySubscriptionId" yaml:"n1n2NotifySubscriptionId" bson:"n1n2NotifySubscriptionId,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` +} diff --git a/models/models/model_ue_policy_section.go b/models/models/model_ue_policy_section.go new file mode 100644 index 00000000..33180574 --- /dev/null +++ b/models/models/model_ue_policy_section.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE policy section. +type UePolicySection struct { + // string with format 'bytes' as defined in OpenAPI + UePolicySectionInfo string `json:"uePolicySectionInfo" yaml:"uePolicySectionInfo" bson:"uePolicySectionInfo,omitempty"` + Upsi string `json:"upsi" yaml:"upsi" bson:"upsi,omitempty"` +} diff --git a/models/models/model_ue_policy_set.go b/models/models/model_ue_policy_set.go new file mode 100644 index 00000000..683187f0 --- /dev/null +++ b/models/models/model_ue_policy_set.go @@ -0,0 +1,32 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE policy data for a given subscriber. +type UePolicySet struct { + // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. + PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` + SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` + // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. + UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` + Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` + // Contains allowed route selection descriptors per serving PLMN for a UE. The serving PLMN identifier is the key of the map. + AllowedRouteSelDescs map[string]PlmnRouteSelectionDescriptor `json:"allowedRouteSelDescs,omitempty" yaml:"allowedRouteSelDescs" bson:"allowedRouteSelDescs,omitempty"` + AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_ue_policy_set_patch.go b/models/models/model_ue_policy_set_patch.go new file mode 100644 index 00000000..723f966c --- /dev/null +++ b/models/models/model_ue_policy_set_patch.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UE policy set for a given subscriber. +type UePolicySetPatch struct { + // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. + UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` + Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` + AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` + // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. + Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` + OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` +} diff --git a/models/models/model_ue_policy_transfer_failure_notification.go b/models/models/model_ue_policy_transfer_failure_notification.go new file mode 100644 index 00000000..488f8036 --- /dev/null +++ b/models/models/model_ue_policy_transfer_failure_notification.go @@ -0,0 +1,19 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents information on the failure of a UE policy transfer to the UE because the UE is not reachable. +type UePolicyTransferFailureNotification struct { + Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` + Ptis []int32 `json:"ptis" yaml:"ptis" bson:"ptis,omitempty"` +} diff --git a/models/models/model_ue_privacy_requirements.go b/models/models/model_ue_privacy_requirements.go new file mode 100644 index 00000000..f6fa4eb9 --- /dev/null +++ b/models/models/model_ue_privacy_requirements.go @@ -0,0 +1,19 @@ +/* + * Namf_Location + * + * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE privacy requirements from (H)GMLC to the serving AMF or VGMLC(in the roaming case) for the target UE +type UePrivacyRequirements struct { + LcsServiceAuthInfo LcsServiceAuth `json:"lcsServiceAuthInfo,omitempty" yaml:"lcsServiceAuthInfo" bson:"lcsServiceAuthInfo,omitempty"` + CodeWordCheck bool `json:"codeWordCheck,omitempty" yaml:"codeWordCheck" bson:"codeWordCheck,omitempty"` +} diff --git a/models/models/model_ue_reachability.go b/models/models/model_ue_reachability.go new file mode 100644 index 00000000..178dcd77 --- /dev/null +++ b/models/models/model_ue_reachability.go @@ -0,0 +1,22 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeReachability string + +// List of UeReachability +const ( + UeReachability_UNREACHABLE UeReachability = "UNREACHABLE" + UeReachability_REACHABLE UeReachability = "REACHABLE" + UeReachability_REGULATORY_ONLY UeReachability = "REGULATORY_ONLY" +) diff --git a/models/models/model_ue_reachability_notification.go b/models/models/model_ue_reachability_notification.go new file mode 100644 index 00000000..aa36933b --- /dev/null +++ b/models/models/model_ue_reachability_notification.go @@ -0,0 +1,20 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the contents of a notification of UE reachability for IP sent by the HSS +type UeReachabilityNotification struct { + ReachabilityIndicator bool `json:"reachabilityIndicator" yaml:"reachabilityIndicator" bson:"reachabilityIndicator,omitempty"` + DetectingNode DetectingNode `json:"detectingNode" yaml:"detectingNode" bson:"detectingNode,omitempty"` + AccessType HssimsSdmAccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` +} diff --git a/models/models/model_ue_reachability_subscription.go b/models/models/model_ue_reachability_subscription.go new file mode 100644 index 00000000..378124db --- /dev/null +++ b/models/models/model_ue_reachability_subscription.go @@ -0,0 +1,25 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains the request parameters received by the HSS for a subscription to notifications of UE reachability for IP +type UeReachabilitySubscription struct { + // string with format 'date-time' as defined in OpenAPI. + Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` + // String providing an URI formatted according to RFC 3986. + CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` +} diff --git a/models/models/model_ue_reachable_ind.go b/models/models/model_ue_reachable_ind.go new file mode 100644 index 00000000..917c396f --- /dev/null +++ b/models/models/model_ue_reachable_ind.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeReachableInd string + +// List of UeReachableInd +const ( + UeReachableInd_REACHABLE UeReachableInd = "REACHABLE" + UeReachableInd_NOT_REACHABLE UeReachableInd = "NOT_REACHABLE" + UeReachableInd_UNKNOWN UeReachableInd = "UNKNOWN" +) diff --git a/models/models/model_ue_reg_status_update_req_data.go b/models/models/model_ue_reg_status_update_req_data.go new file mode 100644 index 00000000..930e8325 --- /dev/null +++ b/models/models/model_ue_reg_status_update_req_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a UE registration status update request to indicate a completion of transferring at a target AMF +type UeRegStatusUpdateReqData struct { + TransferStatus UeContextTransferStatus `json:"transferStatus" yaml:"transferStatus" bson:"transferStatus,omitempty"` + ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` + PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` + SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` + AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` + ToReleaseSessionInfo []ReleaseSessionInfo `json:"toReleaseSessionInfo,omitempty" yaml:"toReleaseSessionInfo" bson:"toReleaseSessionInfo,omitempty"` +} diff --git a/models/models/model_ue_reg_status_update_rsp_data.go b/models/models/model_ue_reg_status_update_rsp_data.go new file mode 100644 index 00000000..686aa27b --- /dev/null +++ b/models/models/model_ue_reg_status_update_rsp_data.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within a UE registration status update response to provide the status of UE context transfer status update at a source AMF +type UeRegStatusUpdateRspData struct { + RegStatusTransferComplete bool `json:"regStatusTransferComplete" yaml:"regStatusTransferComplete" bson:"regStatusTransferComplete,omitempty"` +} diff --git a/models/models/model_ue_requested_value_rep.go b/models/models/model_ue_requested_value_rep.go new file mode 100644 index 00000000..bb84fa7b --- /dev/null +++ b/models/models/model_ue_requested_value_rep.go @@ -0,0 +1,22 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the current applicable values corresponding to the policy control request triggers. +type UeRequestedValueRep struct { + UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` + // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. + PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` +} diff --git a/models/models/model_ue_slice_mbr.go b/models/models/model_ue_slice_mbr.go new file mode 100644 index 00000000..91c134c8 --- /dev/null +++ b/models/models/model_ue_slice_mbr.go @@ -0,0 +1,21 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a UE-Slice-MBR and the related information. +type UeSliceMbr struct { + // Contains the MBR for uplink and the MBR for downlink. + SliceMbr map[string]SliceMbr `json:"sliceMbr" yaml:"sliceMbr" bson:"sliceMbr,omitempty"` + ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` + MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` +} diff --git a/models/models/model_ue_trajectory_collection.go b/models/models/model_ue_trajectory_collection.go new file mode 100644 index 00000000..1afcfee9 --- /dev/null +++ b/models/models/model_ue_trajectory_collection.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains UE trajectory information associated with an application. +type UeTrajectoryCollection struct { + // string with format \"date-time\" as defined in OpenAPI. + Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` + LocArea *LocationArea5G `json:"locArea" yaml:"locArea" bson:"locArea,omitempty"` +} diff --git a/models/models/model_ue_trajectory_info.go b/models/models/model_ue_trajectory_info.go new file mode 100644 index 00000000..e5323dcf --- /dev/null +++ b/models/models/model_ue_trajectory_info.go @@ -0,0 +1,24 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains UE trajectory information. +type UeTrajectoryInfo struct { + // string with format 'date-time' as defined in OpenAPI. + Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` + Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` +} diff --git a/models/models/model_ue_transfer_type.go b/models/models/model_ue_transfer_type.go new file mode 100644 index 00000000..7d2101b8 --- /dev/null +++ b/models/models/model_ue_transfer_type.go @@ -0,0 +1,21 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeTransferType string + +// List of UETransferType +const ( + UeTransferType_INTRA_UE UeTransferType = "INTRA_UE" + UeTransferType_INTER_UE UeTransferType = "INTER_UE" +) diff --git a/models/models/model_ue_type.go b/models/models/model_ue_type.go new file mode 100644 index 00000000..465e4e6e --- /dev/null +++ b/models/models/model_ue_type.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeType string + +// List of UeType +const ( + UeType_AERIAL_UE UeType = "AERIAL_UE" +) diff --git a/models/models/model_ue_update_status.go b/models/models/model_ue_update_status.go new file mode 100644 index 00000000..28849427 --- /dev/null +++ b/models/models/model_ue_update_status.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UeUpdateStatus string + +// List of UeUpdateStatus +const ( + UeUpdateStatus_NOT_SENT UeUpdateStatus = "NOT_SENT" + UeUpdateStatus_SENT_NO_ACK_REQUIRED UeUpdateStatus = "SENT_NO_ACK_REQUIRED" + UeUpdateStatus_WAITING_FOR_ACK UeUpdateStatus = "WAITING_FOR_ACK" + UeUpdateStatus_ACK_RECEIVED UeUpdateStatus = "ACK_RECEIVED" + UeUpdateStatus_NEGATIVE_ACK_RECEIVED UeUpdateStatus = "NEGATIVE_ACK_RECEIVED" +) diff --git a/models/models/model_ulcl_bp_information.go b/models/models/model_ulcl_bp_information.go new file mode 100644 index 00000000..5e789dd8 --- /dev/null +++ b/models/models/model_ulcl_bp_information.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UL CL or BP Information +type UlclBpInformation struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + UlclBpUpfId string `json:"ulclBpUpfId,omitempty" yaml:"ulclBpUpfId" bson:"ulclBpUpfId,omitempty"` +} diff --git a/models/models/model_umt_time.go b/models/models/model_umt_time.go new file mode 100644 index 00000000..639cef3c --- /dev/null +++ b/models/models/model_umt_time.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UmtTime struct { + // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). + TimeOfDay string `json:"timeOfDay" yaml:"timeOfDay" bson:"timeOfDay,omitempty"` + // integer between and including 1 and 7 denoting a weekday. 1 shall indicate Monday, and the subsequent weekdays shall be indicated with the next higher numbers. 7 shall indicate Sunday. + DayOfWeek int32 `json:"dayOfWeek" yaml:"dayOfWeek" bson:"dayOfWeek,omitempty"` +} diff --git a/models/models/model_un_trust_af_info.go b/models/models/model_un_trust_af_info.go new file mode 100644 index 00000000..80d6a3ad --- /dev/null +++ b/models/models/model_un_trust_af_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of a untrusted AF Instance +type UnTrustAfInfo struct { + AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` + SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` + MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` +} diff --git a/models/models/model_unavailable_access_indication.go b/models/models/model_unavailable_access_indication.go new file mode 100644 index 00000000..354dac6f --- /dev/null +++ b/models/models/model_unavailable_access_indication.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UnavailableAccessIndication string + +// List of UnavailableAccessIndication +const ( + UnavailableAccessIndication__3_GA_UNAVAILABLE UnavailableAccessIndication = "3GA_UNAVAILABLE" + UnavailableAccessIndication_N3_GA_UNAVAILABLE UnavailableAccessIndication = "N3GA_UNAVAILABLE" +) diff --git a/models/models/model_uncertainty_ellipse.go b/models/models/model_uncertainty_ellipse.go new file mode 100644 index 00000000..52d59c0e --- /dev/null +++ b/models/models/model_uncertainty_ellipse.go @@ -0,0 +1,23 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipse with uncertainty. +type UncertaintyEllipse struct { + // Indicates value of uncertainty. + SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` + // Indicates value of uncertainty. + SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` + // Indicates value of orientation angle. + OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` +} diff --git a/models/models/model_uncertainty_ellipsoid.go b/models/models/model_uncertainty_ellipsoid.go new file mode 100644 index 00000000..0e6e7ea9 --- /dev/null +++ b/models/models/model_uncertainty_ellipsoid.go @@ -0,0 +1,25 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Ellipsoid with uncertainty +type UncertaintyEllipsoid struct { + // Indicates value of uncertainty. + SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` + // Indicates value of uncertainty. + SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` + // Indicates value of uncertainty. + Vertical float32 `json:"vertical" yaml:"vertical" bson:"vertical,omitempty"` + // Indicates value of orientation angle. + OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` +} diff --git a/models/models/model_unrelated_class.go b/models/models/model_unrelated_class.go new file mode 100644 index 00000000..9442bb76 --- /dev/null +++ b/models/models/model_unrelated_class.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UnrelatedClass struct { + DefaultUnrelatedClass *DefaultUnrelatedClass `json:"defaultUnrelatedClass" yaml:"defaultUnrelatedClass" bson:"defaultUnrelatedClass,omitempty"` + ExternalUnrelatedClass *ExternalUnrelatedClass `json:"externalUnrelatedClass,omitempty" yaml:"externalUnrelatedClass" bson:"externalUnrelatedClass,omitempty"` + ServiceTypeUnrelatedClasses []ServiceTypeUnrelatedClass `json:"serviceTypeUnrelatedClasses,omitempty" yaml:"serviceTypeUnrelatedClasses" bson:"serviceTypeUnrelatedClasses,omitempty"` +} diff --git a/models/models/model_up_cnx_state.go b/models/models/model_up_cnx_state.go new file mode 100644 index 00000000..3b915248 --- /dev/null +++ b/models/models/model_up_cnx_state.go @@ -0,0 +1,23 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpCnxState string + +// List of UpCnxState +const ( + UpCnxState_ACTIVATED UpCnxState = "ACTIVATED" + UpCnxState_DEACTIVATED UpCnxState = "DEACTIVATED" + UpCnxState_ACTIVATING UpCnxState = "ACTIVATING" + UpCnxState_SUSPENDED UpCnxState = "SUSPENDED" +) diff --git a/models/models/model_up_confidentiality.go b/models/models/model_up_confidentiality.go new file mode 100644 index 00000000..0052b70f --- /dev/null +++ b/models/models/model_up_confidentiality.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpConfidentiality string + +// List of UpConfidentiality +const ( + UpConfidentiality_REQUIRED UpConfidentiality = "REQUIRED" + UpConfidentiality_PREFERRED UpConfidentiality = "PREFERRED" + UpConfidentiality_NOT_NEEDED UpConfidentiality = "NOT_NEEDED" +) diff --git a/models/models/model_up_integrity.go b/models/models/model_up_integrity.go new file mode 100644 index 00000000..c22201f0 --- /dev/null +++ b/models/models/model_up_integrity.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpIntegrity string + +// List of UpIntegrity +const ( + UpIntegrity_REQUIRED UpIntegrity = "REQUIRED" + UpIntegrity_PREFERRED UpIntegrity = "PREFERRED" + UpIntegrity_NOT_NEEDED UpIntegrity = "NOT_NEEDED" +) diff --git a/models/models/model_up_interface_type.go b/models/models/model_up_interface_type.go new file mode 100644 index 00000000..71460953 --- /dev/null +++ b/models/models/model_up_interface_type.go @@ -0,0 +1,27 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpInterfaceType string + +// List of UPInterfaceType +const ( + UpInterfaceType_N3 UpInterfaceType = "N3" + UpInterfaceType_N6 UpInterfaceType = "N6" + UpInterfaceType_N9 UpInterfaceType = "N9" + UpInterfaceType_DATA_FORWARDING UpInterfaceType = "DATA_FORWARDING" + UpInterfaceType_N3_MB UpInterfaceType = "N3MB" + UpInterfaceType_N6_MB UpInterfaceType = "N6MB" + UpInterfaceType_N19_MB UpInterfaceType = "N19MB" + UpInterfaceType_NMB9 UpInterfaceType = "NMB9" +) diff --git a/models/models/model_up_path_chg_event.go b/models/models/model_up_path_chg_event.go new file mode 100644 index 00000000..ff217f33 --- /dev/null +++ b/models/models/model_up_path_chg_event.go @@ -0,0 +1,23 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the UP path change event subscription from the AF. +type UpPathChgEvent struct { + // String providing an URI formatted according to RFC 3986. + NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` + // It is used to set the value of Notification Correlation ID in the notification sent by the SMF. + NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` + AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` +} diff --git a/models/models/model_up_security.go b/models/models/model_up_security.go new file mode 100644 index 00000000..fa882426 --- /dev/null +++ b/models/models/model_up_security.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains Userplain security information. +type UpSecurity struct { + UpIntegr UpIntegrity `json:"upIntegr" yaml:"upIntegr" bson:"upIntegr,omitempty"` + UpConfid UpConfidentiality `json:"upConfid" yaml:"upConfid" bson:"upConfid,omitempty"` +} diff --git a/models/models/model_up_security_info.go b/models/models/model_up_security_info.go new file mode 100644 index 00000000..f6f0d053 --- /dev/null +++ b/models/models/model_up_security_info.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// User Plane Security Information +type UpSecurityInfo struct { + UpSecurity *UpSecurity `json:"upSecurity" yaml:"upSecurity" bson:"upSecurity,omitempty"` + MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` + MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` + SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` +} diff --git a/models/models/model_update_charging_data_response_400.go b/models/models/model_update_charging_data_response_400.go new file mode 100644 index 00000000..d75afd54 --- /dev/null +++ b/models/models/model_update_charging_data_response_400.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse400 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_update_charging_data_response_403.go b/models/models/model_update_charging_data_response_403.go new file mode 100644 index 00000000..86566abd --- /dev/null +++ b/models/models/model_update_charging_data_response_403.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse403 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_update_charging_data_response_404.go b/models/models/model_update_charging_data_response_404.go new file mode 100644 index 00000000..596c6e44 --- /dev/null +++ b/models/models/model_update_charging_data_response_404.go @@ -0,0 +1,48 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateChargingDataResponse404 struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` + InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` + SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` + MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` + Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` + RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` + LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` +} diff --git a/models/models/model_update_nwdaf_registration_response_200.go b/models/models/model_update_nwdaf_registration_response_200.go new file mode 100644 index 00000000..c6c1b8d0 --- /dev/null +++ b/models/models/model_update_nwdaf_registration_response_200.go @@ -0,0 +1,33 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type UpdateNwdafRegistrationResponse200 struct { + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` + AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` + ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` + // The execution report contains an array of report items. Each report item indicates one failed modification. + Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` +} diff --git a/models/models/model_update_pdu_session_request.go b/models/models/model_update_pdu_session_request.go new file mode 100644 index 00000000..2f1a2c1d --- /dev/null +++ b/models/models/model_update_pdu_session_request.go @@ -0,0 +1,22 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdatePduSessionRequest struct { + JsonData *HsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/models/model_update_pdu_session_response_200.go b/models/models/model_update_pdu_session_response_200.go new file mode 100644 index 00000000..9b9d70f0 --- /dev/null +++ b/models/models/model_update_pdu_session_response_200.go @@ -0,0 +1,21 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdatePduSessionResponse200 struct { + JsonData *HsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` +} diff --git a/models/models/model_update_pdu_session_response_400.go b/models/models/model_update_pdu_session_response_400.go new file mode 100644 index 00000000..26b0e72e --- /dev/null +++ b/models/models/model_update_pdu_session_response_400.go @@ -0,0 +1,18 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdatePduSessionResponse400 struct { + JsonData *HsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` +} diff --git a/models/models/model_update_sm_context_request.go b/models/models/model_update_sm_context_request.go new file mode 100644 index 00000000..0e17b8c3 --- /dev/null +++ b/models/models/model_update_sm_context_request.go @@ -0,0 +1,20 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextRequest struct { + JsonData *SmfPduSessionSmContextUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` +} diff --git a/models/models/model_update_sm_context_response_200.go b/models/models/model_update_sm_context_response_200.go new file mode 100644 index 00000000..75602b87 --- /dev/null +++ b/models/models/model_update_sm_context_response_200.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextResponse200 struct { + JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/models/model_update_sm_context_response_400.go b/models/models/model_update_sm_context_response_400.go new file mode 100644 index 00000000..d338e8a4 --- /dev/null +++ b/models/models/model_update_sm_context_response_400.go @@ -0,0 +1,19 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UpdateSmContextResponse400 struct { + JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` +} diff --git a/models/models/model_updated_item.go b/models/models/model_updated_item.go new file mode 100644 index 00000000..430788b4 --- /dev/null +++ b/models/models/model_updated_item.go @@ -0,0 +1,20 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies a fragment of a resource. +type UpdatedItem struct { + // Identifies a fragment (subset of resource data) of a given resource. + Item string `json:"item" yaml:"item" bson:"item,omitempty"` + Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` +} diff --git a/models/models/model_updp_subscription_data.go b/models/models/model_updp_subscription_data.go new file mode 100644 index 00000000..56c255de --- /dev/null +++ b/models/models/model_updp_subscription_data.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// UE policy delivery related N1 message notification subscription data. +type UpdpSubscriptionData struct { + UpdpNotifySubscriptionId string `json:"updpNotifySubscriptionId" yaml:"updpNotifySubscriptionId" bson:"updpNotifySubscriptionId,omitempty"` + // String providing an URI formatted according to RFC 3986. + UpdpNotifyCallbackUri string `json:"updpNotifyCallbackUri" yaml:"updpNotifyCallbackUri" bson:"updpNotifyCallbackUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + UpdpCallbackBinding string `json:"updpCallbackBinding,omitempty" yaml:"updpCallbackBinding" bson:"updpCallbackBinding,omitempty"` +} diff --git a/models/models/model_upf_cond.go b/models/models/model_upf_cond.go new file mode 100644 index 00000000..bdbf04f3 --- /dev/null +++ b/models/models/model_upf_cond.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Subscription to a set of NF Instances (UPFs), able to serve a certain service area (i.e. SMF serving area or TAI list) +type UpfCond struct { + ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` +} diff --git a/models/models/model_upf_info.go b/models/models/model_upf_info.go new file mode 100644 index 00000000..8cd7405d --- /dev/null +++ b/models/models/model_upf_info.go @@ -0,0 +1,34 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of an UPF NF Instance +type UpfInfo struct { + SNssaiUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiUpfInfoList" yaml:"sNssaiUpfInfoList" bson:"sNssaiUpfInfoList,omitempty"` + SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` + InterfaceUpfInfoList []InterfaceUpfInfoItem `json:"interfaceUpfInfoList,omitempty" yaml:"interfaceUpfInfoList" bson:"interfaceUpfInfoList,omitempty"` + IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` + PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + AtsssCapability *AtsssCapability `json:"atsssCapability,omitempty" yaml:"atsssCapability" bson:"atsssCapability,omitempty"` + UeIpAddrInd bool `json:"ueIpAddrInd,omitempty" yaml:"ueIpAddrInd" bson:"ueIpAddrInd,omitempty"` + TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` + TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` + WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` + TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` + TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` + Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` + RedundantGtpu bool `json:"redundantGtpu,omitempty" yaml:"redundantGtpu" bson:"redundantGtpu,omitempty"` + Ipups bool `json:"ipups,omitempty" yaml:"ipups" bson:"ipups,omitempty"` + DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` + SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` +} diff --git a/models/models/model_upf_information.go b/models/models/model_upf_information.go new file mode 100644 index 00000000..85f3cd60 --- /dev/null +++ b/models/models/model_upf_information.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the ID/address/FQDN of the UPF. +type UpfInformation struct { + UpfId string `json:"upfId,omitempty" yaml:"upfId" bson:"upfId,omitempty"` + UpfAddr *AddrFqdn `json:"upfAddr,omitempty" yaml:"upfAddr" bson:"upfAddr,omitempty"` +} diff --git a/models/models/model_upu_data.go b/models/models/model_upu_data.go new file mode 100644 index 00000000..f6ad6c55 --- /dev/null +++ b/models/models/model_upu_data.go @@ -0,0 +1,28 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Used to store the status of the latest UPU data update. +type UpuData struct { + // string with format 'date-time' as defined in OpenAPI. + ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` + UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` +} diff --git a/models/models/model_upu_security_info.go b/models/models/model_upu_security_info.go new file mode 100644 index 00000000..8ee6435a --- /dev/null +++ b/models/models/model_upu_security_info.go @@ -0,0 +1,23 @@ +/* + * Nausf_UPUProtection Service + * + * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the material generated for securing of UPU. It contains at least the UPU-MAC-IAUSF and CounterUPU. +type UpuSecurityInfo struct { + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuMacIausf string `json:"upuMacIausf" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` + // CounterUPU. + CounterUpu string `json:"counterUpu" yaml:"counterUpu" bson:"counterUpu,omitempty"` + // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). + UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` +} diff --git a/models/models/model_uri_list.go b/models/models/model_uri_list.go new file mode 100644 index 00000000..31ab0edd --- /dev/null +++ b/models/models/model_uri_list.go @@ -0,0 +1,20 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a set of URIs following the 3GPP hypermedia format (containing a \"_links\" attribute). +type UriList struct { + // List of the URI of NF instances. It has two members whose names are item and self. The item attribute contains an array of URIs. + Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` + TotalItemCount int32 `json:"totalItemCount,omitempty" yaml:"totalItemCount" bson:"totalItemCount,omitempty"` +} diff --git a/models/models/model_uri_scheme.go b/models/models/model_uri_scheme.go new file mode 100644 index 00000000..be7ceb02 --- /dev/null +++ b/models/models/model_uri_scheme.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UriScheme string + +// List of UriScheme +const ( + UriScheme_HTTP UriScheme = "http" + UriScheme_HTTPS UriScheme = "https" +) diff --git a/models/models/model_ursp_rule_request.go b/models/models/model_ursp_rule_request.go new file mode 100644 index 00000000..48d44524 --- /dev/null +++ b/models/models/model_ursp_rule_request.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains parameters that can be used to guide the URSP. +type UrspRuleRequest struct { + TrafficDesc *TrafficDescriptorComponents `json:"trafficDesc,omitempty" yaml:"trafficDesc" bson:"trafficDesc,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + RelatPrecedence int32 `json:"relatPrecedence,omitempty" yaml:"relatPrecedence" bson:"relatPrecedence,omitempty"` + // Sets of parameters that may be used to guide the Route Selection Descriptors of the URSP. + RouteSelParamSets []RouteSelectionParameterSet `json:"routeSelParamSets,omitempty" yaml:"routeSelParamSets" bson:"routeSelParamSets,omitempty"` +} diff --git a/models/models/model_usage.go b/models/models/model_usage.go new file mode 100644 index 00000000..f67b6c7e --- /dev/null +++ b/models/models/model_usage.go @@ -0,0 +1,24 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type Usage string + +// List of Usage +const ( + Usage_UNSUCCESS Usage = "UNSUCCESS" + Usage_SUCCESS_RESULTS_NOT_USED Usage = "SUCCESS_RESULTS_NOT_USED" + Usage_SUCCESS_RESULTS_USED_TO_VERIFY_LOCATION Usage = "SUCCESS_RESULTS_USED_TO_VERIFY_LOCATION" + Usage_SUCCESS_RESULTS_USED_TO_GENERATE_LOCATION Usage = "SUCCESS_RESULTS_USED_TO_GENERATE_LOCATION" + Usage_SUCCESS_METHOD_NOT_DETERMINED Usage = "SUCCESS_METHOD_NOT_DETERMINED" +) diff --git a/models/models/model_usage_mon_data.go b/models/models/model_usage_mon_data.go new file mode 100644 index 00000000..bdc9fb7e --- /dev/null +++ b/models/models/model_usage_mon_data.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains remain allowed usage data for a subscriber. +type UsageMonData struct { + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + // Identifies the SNSSAI and DNN combinations for remain allowed usage data for a subscriber. The S-NSSAI is the key of the map. + Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` + UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` + AllowedUsage *UsageThreshold `json:"allowedUsage,omitempty" yaml:"allowedUsage" bson:"allowedUsage,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ResetTime *time.Time `json:"resetTime,omitempty" yaml:"resetTime" bson:"resetTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` +} diff --git a/models/models/model_usage_mon_data_limit.go b/models/models/model_usage_mon_data_limit.go new file mode 100644 index 00000000..9d9fcaaa --- /dev/null +++ b/models/models/model_usage_mon_data_limit.go @@ -0,0 +1,31 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains usage monitoring control data for a subscriber. +type UsageMonDataLimit struct { + LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` + // Identifies the SNSSAI and DNN combinations to which the usage monitoring data limit applies. The S-NSSAI is the key of the map. + Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` + UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + StartDate *time.Time `json:"startDate,omitempty" yaml:"startDate" bson:"startDate,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndDate *time.Time `json:"endDate,omitempty" yaml:"endDate" bson:"endDate,omitempty"` + UsageLimit *UsageThreshold `json:"usageLimit,omitempty" yaml:"usageLimit" bson:"usageLimit,omitempty"` + ResetPeriod *TimePeriod `json:"resetPeriod,omitempty" yaml:"resetPeriod" bson:"resetPeriod,omitempty"` +} diff --git a/models/models/model_usage_mon_data_scope.go b/models/models/model_usage_mon_data_scope.go new file mode 100644 index 00000000..b734ea16 --- /dev/null +++ b/models/models/model_usage_mon_data_scope.go @@ -0,0 +1,19 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a SNSSAI and DNN combinations to which the UsageMonData instance belongs to. +type UsageMonDataScope struct { + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + Dnn []string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` +} diff --git a/models/models/model_usage_mon_level.go b/models/models/model_usage_mon_level.go new file mode 100644 index 00000000..e4fdf869 --- /dev/null +++ b/models/models/model_usage_mon_level.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UsageMonLevel string + +// List of UsageMonLevel +const ( + UsageMonLevel_SESSION_LEVEL UsageMonLevel = "SESSION_LEVEL" + UsageMonLevel_SERVICE_LEVEL UsageMonLevel = "SERVICE_LEVEL" +) diff --git a/models/models/model_usage_monitoring_data.go b/models/models/model_usage_monitoring_data.go new file mode 100644 index 00000000..9c1a19a2 --- /dev/null +++ b/models/models/model_usage_monitoring_data.go @@ -0,0 +1,45 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains usage monitoring related control information. +type UsageMonitoringData struct { + // Univocally identifies the usage monitoring policy data within a PDU session. + UmId string `json:"umId" yaml:"umId" bson:"umId,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + VolumeThreshold int64 `json:"volumeThreshold,omitempty" yaml:"volumeThreshold" bson:"volumeThreshold,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + VolumeThresholdUplink int64 `json:"volumeThresholdUplink,omitempty" yaml:"volumeThresholdUplink" bson:"volumeThresholdUplink,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + VolumeThresholdDownlink int64 `json:"volumeThresholdDownlink,omitempty" yaml:"volumeThresholdDownlink" bson:"volumeThresholdDownlink,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + TimeThreshold int32 `json:"timeThreshold,omitempty" yaml:"timeThreshold" bson:"timeThreshold,omitempty"` + // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. + MonitoringTime *time.Time `json:"monitoringTime,omitempty" yaml:"monitoringTime" bson:"monitoringTime,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + NextVolThreshold int64 `json:"nextVolThreshold,omitempty" yaml:"nextVolThreshold" bson:"nextVolThreshold,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + NextVolThresholdUplink int64 `json:"nextVolThresholdUplink,omitempty" yaml:"nextVolThresholdUplink" bson:"nextVolThresholdUplink,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + NextVolThresholdDownlink int64 `json:"nextVolThresholdDownlink,omitempty" yaml:"nextVolThresholdDownlink" bson:"nextVolThresholdDownlink,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + NextTimeThreshold int32 `json:"nextTimeThreshold,omitempty" yaml:"nextTimeThreshold" bson:"nextTimeThreshold,omitempty"` + // indicating a time in seconds with OpenAPI defined 'nullable: true' property. + InactivityTime int32 `json:"inactivityTime,omitempty" yaml:"inactivityTime" bson:"inactivityTime,omitempty"` + // Contains the PCC rule identifier(s) which corresponding service data flow(s) shall be excluded from PDU Session usage monitoring. It is only included in the UsageMonitoringData instance for session level usage monitoring. + ExUsagePccRuleIds []string `json:"exUsagePccRuleIds,omitempty" yaml:"exUsagePccRuleIds" bson:"exUsagePccRuleIds,omitempty"` +} diff --git a/models/models/model_usage_threshold.go b/models/models/model_usage_threshold.go new file mode 100644 index 00000000..c898a354 --- /dev/null +++ b/models/models/model_usage_threshold.go @@ -0,0 +1,25 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents a usage threshold. +type UsageThreshold struct { + // Unsigned integer identifying a period of time in units of seconds. + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes. + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/models/model_usage_threshold_rm.go b/models/models/model_usage_threshold_rm.go new file mode 100644 index 00000000..47a77493 --- /dev/null +++ b/models/models/model_usage_threshold_rm.go @@ -0,0 +1,25 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the same as the UsageThreshold data type but with the nullable:true property. +type UsageThresholdRm struct { + // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. + Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. + UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/models/model_user_consent.go b/models/models/model_user_consent.go new file mode 100644 index 00000000..2037040b --- /dev/null +++ b/models/models/model_user_consent.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserConsent string + +// List of UserConsent +const ( + UserConsent_NOT_GIVEN UserConsent = "CONSENT_NOT_GIVEN" + UserConsent_GIVEN UserConsent = "CONSENT_GIVEN" +) diff --git a/models/models/model_user_data_congestion_collection.go b/models/models/model_user_data_congestion_collection.go new file mode 100644 index 00000000..27c6a943 --- /dev/null +++ b/models/models/model_user_data_congestion_collection.go @@ -0,0 +1,29 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains User Data Congestion Analytics related information collection. +type UserDataCongestionCollection struct { + // String providing an application identifier. + AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` + IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` + TimeInterv *TimeWindow `json:"timeInterv,omitempty" yaml:"timeInterv" bson:"timeInterv,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputPkUl string `json:"thrputPkUl,omitempty" yaml:"thrputPkUl" bson:"thrputPkUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + ThrputPkDl string `json:"thrputPkDl,omitempty" yaml:"thrputPkDl" bson:"thrputPkDl,omitempty"` +} diff --git a/models/models/model_user_data_congestion_info.go b/models/models/model_user_data_congestion_info.go new file mode 100644 index 00000000..f0470abe --- /dev/null +++ b/models/models/model_user_data_congestion_info.go @@ -0,0 +1,20 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the user data congestion information. +type UserDataCongestionInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea" yaml:"networkArea" bson:"networkArea,omitempty"` + CongestionInfo *CongestionInfo `json:"congestionInfo" yaml:"congestionInfo" bson:"congestionInfo,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/models/model_user_identifier.go b/models/models/model_user_identifier.go new file mode 100644 index 00000000..9fc8d047 --- /dev/null +++ b/models/models/model_user_identifier.go @@ -0,0 +1,27 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents the user identifier. +type UserIdentifier struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` +} diff --git a/models/models/model_user_location.go b/models/models/model_user_location.go new file mode 100644 index 00000000..15208575 --- /dev/null +++ b/models/models/model_user_location.go @@ -0,0 +1,22 @@ +/* + * Nchf_OfflineOnlyCharging + * + * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// At least one of eutraLocation, nrLocation and n3gaLocation shall be present. Several of them may be present. +type UserLocation struct { + EutraLocation *EutraLocation `json:"eutraLocation,omitempty" yaml:"eutraLocation" bson:"eutraLocation,omitempty"` + NrLocation *NrLocation `json:"nrLocation,omitempty" yaml:"nrLocation" bson:"nrLocation,omitempty"` + N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` + UtraLocation *UtraLocation `json:"utraLocation,omitempty" yaml:"utraLocation" bson:"utraLocation,omitempty"` + GeraLocation *GeraLocation `json:"geraLocation,omitempty" yaml:"geraLocation" bson:"geraLocation,omitempty"` +} diff --git a/models/models/model_user_plane_event.go b/models/models/model_user_plane_event.go new file mode 100644 index 00000000..14ca4526 --- /dev/null +++ b/models/models/model_user_plane_event.go @@ -0,0 +1,31 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserPlaneEvent string + +// List of UserPlaneEvent +const ( + UserPlaneEvent_SESSION_TERMINATION UserPlaneEvent = "SESSION_TERMINATION" + UserPlaneEvent_LOSS_OF_BEARER UserPlaneEvent = "LOSS_OF_BEARER" + UserPlaneEvent_RECOVERY_OF_BEARER UserPlaneEvent = "RECOVERY_OF_BEARER" + UserPlaneEvent_RELEASE_OF_BEARER UserPlaneEvent = "RELEASE_OF_BEARER" + UserPlaneEvent_USAGE_REPORT UserPlaneEvent = "USAGE_REPORT" + UserPlaneEvent_FAILED_RESOURCES_ALLOCATION UserPlaneEvent = "FAILED_RESOURCES_ALLOCATION" + UserPlaneEvent_QOS_GUARANTEED UserPlaneEvent = "QOS_GUARANTEED" + UserPlaneEvent_QOS_NOT_GUARANTEED UserPlaneEvent = "QOS_NOT_GUARANTEED" + UserPlaneEvent_QOS_MONITORING UserPlaneEvent = "QOS_MONITORING" + UserPlaneEvent_SUCCESSFUL_RESOURCES_ALLOCATION UserPlaneEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" + UserPlaneEvent_ACCESS_TYPE_CHANGE UserPlaneEvent = "ACCESS_TYPE_CHANGE" + UserPlaneEvent_PLMN_CHG UserPlaneEvent = "PLMN_CHG" +) diff --git a/models/models/model_user_plane_event_report.go b/models/models/model_user_plane_event_report.go new file mode 100644 index 00000000..24ee953d --- /dev/null +++ b/models/models/model_user_plane_event_report.go @@ -0,0 +1,27 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents an event report for user plane. +type UserPlaneEventReport struct { + Event UserPlaneEvent `json:"event" yaml:"event" bson:"event,omitempty"` + AccumulatedUsage *AccumulatedUsage `json:"accumulatedUsage,omitempty" yaml:"accumulatedUsage" bson:"accumulatedUsage,omitempty"` + // Identifies the affected flows that were sent during event subscription. It might be omitted when the reported event applies to all the flows sent during the subscription. + FlowIds []int32 `json:"flowIds,omitempty" yaml:"flowIds" bson:"flowIds,omitempty"` + // The currently applied QoS reference. Applicable for event QOS_NOT_GUARANTEED or SUCCESSFUL_RESOURCES_ALLOCATION. + AppliedQosRef string `json:"appliedQosRef,omitempty" yaml:"appliedQosRef" bson:"appliedQosRef,omitempty"` + PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` + // Contains the QoS Monitoring Reporting information + QosMonReports []QosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` + RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` +} diff --git a/models/models/model_user_plane_notification_data.go b/models/models/model_user_plane_notification_data.go new file mode 100644 index 00000000..af135370 --- /dev/null +++ b/models/models/model_user_plane_notification_data.go @@ -0,0 +1,21 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the parameters to be conveyed in a user plane event(s) notification. +type UserPlaneNotificationData struct { + // string formatted according to IETF RFC 3986 identifying a referenced resource. + Transaction string `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` + // Contains the reported event and applicable information + EventReports []UserPlaneEventReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` +} diff --git a/models/models/model_user_state_cs.go b/models/models/model_user_state_cs.go new file mode 100644 index 00000000..4ec83210 --- /dev/null +++ b/models/models/model_user_state_cs.go @@ -0,0 +1,23 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserStateCs string + +// List of UserStateCs +const ( + UserStateCs_CAMEL_BUSY UserStateCs = "CAMEL_BUSY" + UserStateCs_NETWORK_DETERMINED_NOT_REACHABLE UserStateCs = "NETWORK_DETERMINED_NOT_REACHABLE" + UserStateCs_ASSUMED_IDLE UserStateCs = "ASSUMED_IDLE" + UserStateCs_NOT_PROVIDED_FROM_VLR UserStateCs = "NOT_PROVIDED_FROM_VLR" +) diff --git a/models/models/model_user_state_ps.go b/models/models/model_user_state_ps.go new file mode 100644 index 00000000..950dd23a --- /dev/null +++ b/models/models/model_user_state_ps.go @@ -0,0 +1,26 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UserStatePs string + +// List of UserStatePs +const ( + UserStatePs_DETACHED UserStatePs = "DETACHED" + UserStatePs_ATTACHED_NOT_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_NOT_REACHABLE_FOR_PAGING" + UserStatePs_ATTACHED_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_REACHABLE_FOR_PAGING" + UserStatePs_CONNECTED_NOT_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_NOT_REACHABLE_FOR_PAGING" + UserStatePs_CONNECTED_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_REACHABLE_FOR_PAGING" + UserStatePs_NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF UserStatePs = "NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF" + UserStatePs_NETWORK_DETERMINED_NOT_REACHABLE UserStatePs = "NETWORK_DETERMINED_NOT_REACHABLE" +) diff --git a/models/models/model_utra_location.go b/models/models/model_utra_location.go new file mode 100644 index 00000000..d9f34a4a --- /dev/null +++ b/models/models/model_utra_location.go @@ -0,0 +1,33 @@ +/* + * Nhss_imsSDM + * + * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Exactly one of cgi, sai or lai shall be present. +type UtraLocation struct { + Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` + Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` + Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` + Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` + // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. + AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` + // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` + // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. + GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` +} diff --git a/models/models/model_uuaa_mm_status.go b/models/models/model_uuaa_mm_status.go new file mode 100644 index 00000000..28c5aefb --- /dev/null +++ b/models/models/model_uuaa_mm_status.go @@ -0,0 +1,22 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type UuaaMmStatus string + +// List of UuaaMmStatus +const ( + UuaaMmStatus_SUCCESS UuaaMmStatus = "SUCCESS" + UuaaMmStatus_PENDING UuaaMmStatus = "PENDING" + UuaaMmStatus_FAILED UuaaMmStatus = "FAILED" +) diff --git a/models/models/model_v2x_capability.go b/models/models/model_v2x_capability.go new file mode 100644 index 00000000..fcabb497 --- /dev/null +++ b/models/models/model_v2x_capability.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Indicate the supported V2X Capability by the PCF. +type V2xCapability struct { + LteV2x bool `json:"lteV2x,omitempty" yaml:"lteV2x" bson:"lteV2x,omitempty"` + NrV2x bool `json:"nrV2x,omitempty" yaml:"nrV2x" bson:"nrV2x,omitempty"` +} diff --git a/models/models/model_v2x_context.go b/models/models/model_v2x_context.go new file mode 100644 index 00000000..50729126 --- /dev/null +++ b/models/models/model_v2x_context.go @@ -0,0 +1,24 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the V2X services related parameters +type V2xContext struct { + NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` + LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUeSidelinkAmbr string `json:"nrUeSidelinkAmbr,omitempty" yaml:"nrUeSidelinkAmbr" bson:"nrUeSidelinkAmbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + LteUeSidelinkAmbr string `json:"lteUeSidelinkAmbr,omitempty" yaml:"lteUeSidelinkAmbr" bson:"lteUeSidelinkAmbr,omitempty"` + Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` +} diff --git a/models/models/model_v2x_information.go b/models/models/model_v2x_information.go new file mode 100644 index 00000000..52a9f0d9 --- /dev/null +++ b/models/models/model_v2x_information.go @@ -0,0 +1,18 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// V2X related N2 information +type V2xInformation struct { + N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` +} diff --git a/models/models/model_v2x_subscription_data.go b/models/models/model_v2x_subscription_data.go new file mode 100644 index 00000000..a9f2fc97 --- /dev/null +++ b/models/models/model_v2x_subscription_data.go @@ -0,0 +1,22 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type V2xSubscriptionData struct { + NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` + LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + LtePc5Ambr string `json:"ltePc5Ambr,omitempty" yaml:"ltePc5Ambr" bson:"ltePc5Ambr,omitempty"` +} diff --git a/models/models/model_valid_time_period.go b/models/models/model_valid_time_period.go new file mode 100644 index 00000000..3a0d5fe2 --- /dev/null +++ b/models/models/model_valid_time_period.go @@ -0,0 +1,24 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +type ValidTimePeriod struct { + // string with format 'date-time' as defined in OpenAPI. + StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` +} diff --git a/models/models/model_var_snssai.go b/models/models/model_var_snssai.go new file mode 100644 index 00000000..e31f5390 --- /dev/null +++ b/models/models/model_var_snssai.go @@ -0,0 +1,16 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VarSnssai struct { +} diff --git a/models/models/model_variable_part.go b/models/models/model_variable_part.go new file mode 100644 index 00000000..fdd45ca7 --- /dev/null +++ b/models/models/model_variable_part.go @@ -0,0 +1,20 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VariablePart struct { + VariablePartType VariablePartType `json:"variablePartType" yaml:"variablePartType" bson:"variablePartType,omitempty"` + VariablePartValue []string `json:"variablePartValue" yaml:"variablePartValue" bson:"variablePartValue,omitempty"` + // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. + VariablePartOrder int32 `json:"variablePartOrder,omitempty" yaml:"variablePartOrder" bson:"variablePartOrder,omitempty"` +} diff --git a/models/models/model_variable_part_type.go b/models/models/model_variable_part_type.go new file mode 100644 index 00000000..d80d1cc3 --- /dev/null +++ b/models/models/model_variable_part_type.go @@ -0,0 +1,24 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VariablePartType string + +// List of VariablePartType +const ( + VariablePartType_INTEGER VariablePartType = "INTEGER" + VariablePartType_NUMBER VariablePartType = "NUMBER" + VariablePartType_TIME VariablePartType = "TIME" + VariablePartType_DATE VariablePartType = "DATE" + VariablePartType_CURRENCY VariablePartType = "CURRENCY" +) diff --git a/models/models/model_velocity_estimate.go b/models/models/model_velocity_estimate.go new file mode 100644 index 00000000..2e386047 --- /dev/null +++ b/models/models/model_velocity_estimate.go @@ -0,0 +1,28 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Velocity estimate. +type VelocityEstimate struct { + // Indicates value of horizontal speed. + HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` + // Indicates value of angle. + Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` + // Indicates value of vertical speed. + VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` + VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` + // Indicates value of speed uncertainty. + HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` + // Indicates value of speed uncertainty. + VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` +} diff --git a/models/models/model_velocity_requested.go b/models/models/model_velocity_requested.go new file mode 100644 index 00000000..72bad687 --- /dev/null +++ b/models/models/model_velocity_requested.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VelocityRequested string + +// List of VelocityRequested +const ( + VelocityRequested_NOT_REQUESTED VelocityRequested = "VELOCITY_IS_NOT_REQUESTED" + VelocityRequested_REQUESTED VelocityRequested = "VELOCITY_IS_REQUESTED" +) diff --git a/models/models/model_vendor_specific_feature.go b/models/models/model_vendor_specific_feature.go new file mode 100644 index 00000000..2a6bcb29 --- /dev/null +++ b/models/models/model_vendor_specific_feature.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information about a vendor-specific feature +type VendorSpecificFeature struct { + FeatureName string `json:"featureName" yaml:"featureName" bson:"featureName,omitempty"` + FeatureVersion string `json:"featureVersion" yaml:"featureVersion" bson:"featureVersion,omitempty"` +} diff --git a/models/models/model_vertical_direction.go b/models/models/model_vertical_direction.go new file mode 100644 index 00000000..560df095 --- /dev/null +++ b/models/models/model_vertical_direction.go @@ -0,0 +1,21 @@ +/* + * LMF Location + * + * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VerticalDirection string + +// List of VerticalDirection +const ( + VerticalDirection_UPWARD VerticalDirection = "UPWARD" + VerticalDirection_DOWNWARD VerticalDirection = "DOWNWARD" +) diff --git a/models/models/model_vgmlc_address.go b/models/models/model_vgmlc_address.go new file mode 100644 index 00000000..850f1257 --- /dev/null +++ b/models/models/model_vgmlc_address.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VgmlcAddress struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + VgmlcAddressIpv4 string `json:"vgmlcAddressIpv4,omitempty" yaml:"vgmlcAddressIpv4" bson:"vgmlcAddressIpv4,omitempty"` + VgmlcAddressIpv6 string `json:"vgmlcAddressIpv6,omitempty" yaml:"vgmlcAddressIpv6" bson:"vgmlcAddressIpv6,omitempty"` + // Fully Qualified Domain Name + VgmlcFqdn string `json:"vgmlcFqdn,omitempty" yaml:"vgmlcFqdn" bson:"vgmlcFqdn,omitempty"` +} diff --git a/models/models/model_virtual_resource.go b/models/models/model_virtual_resource.go new file mode 100644 index 00000000..323ece25 --- /dev/null +++ b/models/models/model_virtual_resource.go @@ -0,0 +1,19 @@ +/* + * Nchf_ConvergedCharging + * + * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. + * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ + * + * API version: 3.1.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VirtualResource struct { + VirtualMemory int32 `json:"virtualMemory,omitempty" yaml:"virtualMemory" bson:"virtualMemory,omitempty"` + VirtualDisk int32 `json:"virtualDisk,omitempty" yaml:"virtualDisk" bson:"virtualDisk,omitempty"` + VirutalCPU string `json:"virutalCPU,omitempty" yaml:"virutalCPU" bson:"virutalCPU,omitempty"` +} diff --git a/models/models/model_vn_group_data.go b/models/models/model_vn_group_data.go new file mode 100644 index 00000000..e0917d50 --- /dev/null +++ b/models/models/model_vn_group_data.go @@ -0,0 +1,21 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type VnGroupData struct { + PduSessionTypes *PduSessionTypes `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` + AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` +} diff --git a/models/models/model_volume_timed_report.go b/models/models/model_volume_timed_report.go new file mode 100644 index 00000000..84fe6d21 --- /dev/null +++ b/models/models/model_volume_timed_report.go @@ -0,0 +1,29 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Contains Usage data information. +type VolumeTimedReport struct { + // string with format 'date-time' as defined in OpenAPI. + StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` + // string with format 'int64' as defined in OpenAPI. + DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` + // string with format 'int64' as defined in OpenAPI. + UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` +} diff --git a/models/models/model_vplmn_qos.go b/models/models/model_vplmn_qos.go new file mode 100644 index 00000000..c73314a0 --- /dev/null +++ b/models/models/model_vplmn_qos.go @@ -0,0 +1,29 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// VPLMN QoS +type VplmnQos struct { + // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. + Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` + Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrDl string `json:"maxFbrDl,omitempty" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + MaxFbrUl string `json:"maxFbrUl,omitempty" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` +} diff --git a/models/models/model_vsmf_update_data.go b/models/models/model_vsmf_update_data.go new file mode 100644 index 00000000..fcc29f04 --- /dev/null +++ b/models/models/model_vsmf_update_data.go @@ -0,0 +1,55 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update Request towards V-SMF, or from SMF to I-SMF +type VsmfUpdateData struct { + RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` + SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` + QosFlowsAddModRequestList []SmfPduSessionQosFlowAddModifyRequestItem `json:"qosFlowsAddModRequestList,omitempty" yaml:"qosFlowsAddModRequestList" bson:"qosFlowsAddModRequestList,omitempty"` + QosFlowsRelRequestList []QosFlowReleaseRequestItem `json:"qosFlowsRelRequestList,omitempty" yaml:"qosFlowsRelRequestList" bson:"qosFlowsRelRequestList,omitempty"` + EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` + AssignEbiList []Arp `json:"assignEbiList,omitempty" yaml:"assignEbiList" bson:"assignEbiList,omitempty"` + RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` + ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` + AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` + // String providing an URI formatted according to RFC 3986. + HsmfPduSessionUri string `json:"hsmfPduSessionUri,omitempty" yaml:"hsmfPduSessionUri" bson:"hsmfPduSessionUri,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` + // String providing an URI formatted according to RFC 3986. + NewSmfPduSessionUri string `json:"newSmfPduSessionUri,omitempty" yaml:"newSmfPduSessionUri" bson:"newSmfPduSessionUri,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + // indicating a time in seconds. + BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` + MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` + MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` + AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` + DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` + SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` + QosMonitoringInfo *QosMonitoringInfo `json:"qosMonitoringInfo,omitempty" yaml:"qosMonitoringInfo" bson:"qosMonitoringInfo,omitempty"` + EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` + N9DataForwardingInd bool `json:"n9DataForwardingInd,omitempty" yaml:"n9DataForwardingInd" bson:"n9DataForwardingInd,omitempty"` + // indicating a time in seconds. + N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` +} diff --git a/models/models/model_vsmf_update_error.go b/models/models/model_vsmf_update_error.go new file mode 100644 index 00000000..8426b261 --- /dev/null +++ b/models/models/model_vsmf_update_error.go @@ -0,0 +1,37 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Error within Update Response from V-SMF, or from I-SMF to SMF +type VsmfUpdateError struct { + Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` + // Procedure Transaction Identifier + Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` + N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` + NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` +} diff --git a/models/models/model_vsmf_updated_data.go b/models/models/model_vsmf_updated_data.go new file mode 100644 index 00000000..16a36f05 --- /dev/null +++ b/models/models/model_vsmf_updated_data.go @@ -0,0 +1,37 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Data within Update Response from V-SMF, or from I-SMF to SMF +type VsmfUpdatedData struct { + QosFlowsAddModList []QosFlowItem `json:"qosFlowsAddModList,omitempty" yaml:"qosFlowsAddModList" bson:"qosFlowsAddModList,omitempty"` + QosFlowsRelList []QosFlowItem `json:"qosFlowsRelList,omitempty" yaml:"qosFlowsRelList" bson:"qosFlowsRelList,omitempty"` + QosFlowsFailedtoAddModList []QosFlowItem `json:"qosFlowsFailedtoAddModList,omitempty" yaml:"qosFlowsFailedtoAddModList" bson:"qosFlowsFailedtoAddModList,omitempty"` + QosFlowsFailedtoRelList []QosFlowItem `json:"qosFlowsFailedtoRelList,omitempty" yaml:"qosFlowsFailedtoRelList" bson:"qosFlowsFailedtoRelList,omitempty"` + N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` + UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` + UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` + // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. + UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` + AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` + AssignedEbiList []EbiArpMapping `json:"assignedEbiList,omitempty" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` + FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` + ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` + SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` + SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` + N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` + N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` + N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` + N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` + ModifiedEbiListNotDelivered bool `json:"modifiedEbiListNotDelivered,omitempty" yaml:"modifiedEbiListNotDelivered" bson:"modifiedEbiListNotDelivered,omitempty"` +} diff --git a/models/models/model_w_agf_info.go b/models/models/model_w_agf_info.go new file mode 100644 index 00000000..b737c6b9 --- /dev/null +++ b/models/models/model_w_agf_info.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Information of the W-AGF end-points +type WAgfInfo struct { + Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` + Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` + // Fully Qualified Domain Name + EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` +} diff --git a/models/models/model_websock_notif_config.go b/models/models/model_websock_notif_config.go new file mode 100644 index 00000000..2e5c5240 --- /dev/null +++ b/models/models/model_websock_notif_config.go @@ -0,0 +1,21 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the configuration information for the delivery of notifications over Websockets. +type WebsockNotifConfig struct { + // string formatted according to IETF RFC 3986 identifying a referenced resource. + WebsocketUri string `json:"websocketUri,omitempty" yaml:"websocketUri" bson:"websocketUri,omitempty"` + // Set by the SCS/AS to indicate that the Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty" yaml:"requestWebsocketUri" bson:"requestWebsocketUri,omitempty"` +} diff --git a/models/models/model_wireline_area.go b/models/models/model_wireline_area.go new file mode 100644 index 00000000..b6806e54 --- /dev/null +++ b/models/models/model_wireline_area.go @@ -0,0 +1,23 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// One and only one of the \"globLineIds\", \"hfcNIds\", \"areaCodeB\" and \"areaCodeC\" attributes shall be included in a WirelineArea data structure +type WirelineArea struct { + GlobalLineIds []string `json:"globalLineIds,omitempty" yaml:"globalLineIds" bson:"globalLineIds,omitempty"` + HfcNIds []string `json:"hfcNIds,omitempty" yaml:"hfcNIds" bson:"hfcNIds,omitempty"` + // Values are operator specific. + AreaCodeB string `json:"areaCodeB,omitempty" yaml:"areaCodeB" bson:"areaCodeB,omitempty"` + // Values are operator specific. + AreaCodeC string `json:"areaCodeC,omitempty" yaml:"areaCodeC" bson:"areaCodeC,omitempty"` +} diff --git a/models/models/model_wireline_service_area_restriction.go b/models/models/model_wireline_service_area_restriction.go new file mode 100644 index 00000000..5e172f28 --- /dev/null +++ b/models/models/model_wireline_service_area_restriction.go @@ -0,0 +1,19 @@ +/* + * Namf_Communication + * + * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The \"restrictionType\" attribute and the \"areas\" attribute shall be either both present or absent. The empty array of areas is used when service is allowed/restricted nowhere. +type WirelineServiceAreaRestriction struct { + RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` + Areas []WirelineArea `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` +} diff --git a/models/models/model_wlan_ordering_criterion.go b/models/models/model_wlan_ordering_criterion.go new file mode 100644 index 00000000..79f527d9 --- /dev/null +++ b/models/models/model_wlan_ordering_criterion.go @@ -0,0 +1,24 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type WlanOrderingCriterion string + +// List of WlanOrderingCriterion +const ( + WlanOrderingCriterion_TIME_SLOT_START WlanOrderingCriterion = "TIME_SLOT_START" + WlanOrderingCriterion_NUMBER_OF_UES WlanOrderingCriterion = "NUMBER_OF_UES" + WlanOrderingCriterion_RSSI WlanOrderingCriterion = "RSSI" + WlanOrderingCriterion_RTT WlanOrderingCriterion = "RTT" + WlanOrderingCriterion_TRAFFIC_INFO WlanOrderingCriterion = "TRAFFIC_INFO" +) diff --git a/models/models/model_wlan_per_ss_id_performance_info.go b/models/models/model_wlan_per_ss_id_performance_info.go new file mode 100644 index 00000000..3199fd20 --- /dev/null +++ b/models/models/model_wlan_per_ss_id_performance_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The WLAN performance per SSID. +type WlanPerSsIdPerformanceInfo struct { + SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` + WlanPerTsInfos []WlanPerTsPerformanceInfo `json:"wlanPerTsInfos" yaml:"wlanPerTsInfos" bson:"wlanPerTsInfos,omitempty"` +} diff --git a/models/models/model_wlan_per_ts_performance_info.go b/models/models/model_wlan_per_ts_performance_info.go new file mode 100644 index 00000000..7f5f7c31 --- /dev/null +++ b/models/models/model_wlan_per_ts_performance_info.go @@ -0,0 +1,33 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// WLAN performance information per Time Slot during the analytics target period. +type WlanPerTsPerformanceInfo struct { + // string with format 'date-time' as defined in OpenAPI. + TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` + // indicating a time in seconds. + TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` + Rssi int32 `json:"rssi,omitempty" yaml:"rssi" bson:"rssi,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Rtt int32 `json:"rtt,omitempty" yaml:"rtt" bson:"rtt,omitempty"` + TrafficInfo *TrafficInformation `json:"trafficInfo,omitempty" yaml:"trafficInfo" bson:"trafficInfo,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` + // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. + Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` +} diff --git a/models/models/model_wlan_performance_info.go b/models/models/model_wlan_performance_info.go new file mode 100644 index 00000000..9f1fa892 --- /dev/null +++ b/models/models/model_wlan_performance_info.go @@ -0,0 +1,19 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// The WLAN performance related information. +type WlanPerformanceInfo struct { + NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` + WlanPerSsidInfos []WlanPerSsIdPerformanceInfo `json:"wlanPerSsidInfos" yaml:"wlanPerSsidInfos" bson:"wlanPerSsidInfos,omitempty"` +} diff --git a/models/models/model_wlan_performance_req.go b/models/models/model_wlan_performance_req.go new file mode 100644 index 00000000..48fba4c7 --- /dev/null +++ b/models/models/model_wlan_performance_req.go @@ -0,0 +1,21 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents other WLAN performance analytics requirements. +type WlanPerformanceReq struct { + SsIds []string `json:"ssIds,omitempty" yaml:"ssIds" bson:"ssIds,omitempty"` + BssIds []string `json:"bssIds,omitempty" yaml:"bssIds" bson:"bssIds,omitempty"` + WlanOrderCriter WlanOrderingCriterion `json:"wlanOrderCriter,omitempty" yaml:"wlanOrderCriter" bson:"wlanOrderCriter,omitempty"` + Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` +} diff --git a/models/pfd_failure_code.go b/models/pfd_failure_code.go new file mode 100644 index 00000000..df2d9a9e --- /dev/null +++ b/models/pfd_failure_code.go @@ -0,0 +1,25 @@ +/* + * 3gpp-pfd-management + * + * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs + * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type PFDFailureCode string + +// List of FailureCode +const ( + FailureCode_MALFUNCTION FailureCode = "MALFUNCTION" + FailureCode_RESOURCE_LIMITATION FailureCode = "RESOURCE_LIMITATION" + FailureCode_SHORT_DELAY FailureCode = "SHORT_DELAY" + FailureCode_APP_ID_DUPLICATED FailureCode = "APP_ID_DUPLICATED" + FailureCode_PARTIAL_FAILURE FailureCode = "PARTIAL_FAILURE" + FailureCode_OTHER_REASON FailureCode = "OTHER_REASON" +) diff --git a/models_nef/model_af_ack_info.go b/models_nef/model_af_ack_info.go deleted file mode 100644 index 0aa5b6b1..00000000 --- a/models_nef/model_af_ack_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type AfAckInfo struct { - AfTransId string `json:"afTransId,omitempty" bson:"afTransId"` - - AckResult *AfResultInfo `json:"ackResult" bson:"ackResult"` - - Gpsi string `json:"gpsi,omitempty" bson:"gpsi"` -} diff --git a/models_nef/model_af_result_info.go b/models_nef/model_af_result_info.go deleted file mode 100644 index 32e1d62e..00000000 --- a/models_nef/model_af_result_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type AfResultInfo struct { - AfStatus AfResultStatus `json:"afStatus" bson:"afStatus"` - - TrafficRoute *models.RouteToLocation `json:"trafficRoute,omitempty" bson:"trafficRoute"` -} diff --git a/models_nef/model_af_result_status.go b/models_nef/model_af_result_status.go deleted file mode 100644 index 080f29d1..00000000 --- a/models_nef/model_af_result_status.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type AfResultStatus string - -// List of AfResultStatus -const ( - AfResultStatus_SUCCESS AfResultStatus = "SUCCESS" - AfResultStatus_TEMPORARY_CONGESTION AfResultStatus = "TEMPORARY_CONGESTION" - AfResultStatus_RELOC_NO_ALLOWED AfResultStatus = "RELOC_NO_ALLOWED" - AfResultStatus_OTHER AfResultStatus = "OTHER" -) diff --git a/models_nef/model_domain_name_protocol.go b/models_nef/model_domain_name_protocol.go deleted file mode 100644 index 3b9536d0..00000000 --- a/models_nef/model_domain_name_protocol.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type DomainNameProtocol string - -// List of DomainNameProtocol -const ( - DomainNameProtocol_DNS_QNAME DomainNameProtocol = "DNS_QNAME" - DomainNameProtocol_TLS_SNI DomainNameProtocol = "TLS_SNI" - DomainNameProtocol_TLS_SAN DomainNameProtocol = "TLS_SAN" - DomainNameProtocol_TSL_SCN DomainNameProtocol = "TSL_SCN" -) diff --git a/models_nef/model_ellipsoid_arc_all_of.go b/models_nef/model_ellipsoid_arc_all_of.go deleted file mode 100644 index 9389fc94..00000000 --- a/models_nef/model_ellipsoid_arc_all_of.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type EllipsoidArcAllOf struct { - Point models.GeographicalCoordinates `json:"point"` - - InnerRadius int32 `json:"innerRadius"` - - UncertaintyRadius float32 `json:"uncertaintyRadius"` - - OffsetAngle int32 `json:"offsetAngle"` - - IncludedAngle int32 `json:"includedAngle"` - - Confidence int32 `json:"confidence"` -} diff --git a/models_nef/model_event_notification.go b/models_nef/model_event_notification.go deleted file mode 100644 index 0d397da5..00000000 --- a/models_nef/model_event_notification.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type EventNotification struct { - // Identifies an NEF Northbound interface transaction, generated by the AF. - AfTransId string `json:"afTransId,omitempty" bson:"afTransId"` - - DnaiChgType models.DnaiChangeType `json:"dnaiChgType" bson:"dnaiChgType"` - - SourceTrafficRoute *models.RouteToLocation `json:"sourceTrafficRoute,omitempty" bson:"sourceTrafficRoute"` - - SubscribedEvent models.SubscribedEvent `json:"subscribedEvent" bson:"subscribedEvent"` - - TargetTrafficRoute *models.RouteToLocation `json:"targetTrafficRoute,omitempty" bson:"targetTrafficRoute"` - - SourceDnai string `json:"sourceDnai,omitempty" bson:"sourceDnai"` - - TargetDnai string `json:"targetDnai,omitempty" bson:"targetDnai"` - - Gpsi string `json:"gpsi,omitempty" bson:"gpsi"` - - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - SrcUeIpv4Addr string `json:"srcUeIpv4Addr,omitempty" bson:"srcUeIpv4Addr"` - - SrcUeIpv6Prefix string `json:"srcUeIpv6Prefix,omitempty" bson:"srcUeIpv6Prefix"` - - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - TgtUeIpv4Addr string `json:"tgtUeIpv4Addr,omitempty" bson:"tgtUeIpv4Addr"` - - TgtUeIpv6Prefix string `json:"tgtUeIpv6Prefix,omitempty" bson:"tgtUeIpv6Prefix"` - - UeMac string `json:"ueMac,omitempty" bson:"ueMac"` - - // string formatted according to IETF RFC 3986 identifying a referenced resource. - AfAckUri string `json:"afAckUri,omitempty" bson:"afAckUri"` -} diff --git a/models_nef/model_failure_code.go b/models_nef/model_failure_code.go deleted file mode 100644 index 190ee4a6..00000000 --- a/models_nef/model_failure_code.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type FailureCode string - -// List of FailureCode -const ( - FailureCode_MALFUNCTION FailureCode = "MALFUNCTION" - FailureCode_RESOURCE_LIMITATION FailureCode = "RESOURCE_LIMITATION" - FailureCode_SHORT_DELAY FailureCode = "SHORT_DELAY" - FailureCode_APP_ID_DUPLICATED FailureCode = "APP_ID_DUPLICATED" - FailureCode_PARTIAL_FAILURE FailureCode = "PARTIAL_FAILURE" - FailureCode_OTHER_REASON FailureCode = "OTHER_REASON" -) diff --git a/models_nef/model_ipv6_addr_2.go b/models_nef/model_ipv6_addr_2.go deleted file mode 100644 index c561e31d..00000000 --- a/models_nef/model_ipv6_addr_2.go +++ /dev/null @@ -1,12 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type Ipv6Addr2 struct{} diff --git a/models_nef/model_ipv6_prefix.go b/models_nef/model_ipv6_prefix.go deleted file mode 100644 index 6b45380c..00000000 --- a/models_nef/model_ipv6_prefix.go +++ /dev/null @@ -1,12 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type Ipv6Prefix struct{} diff --git a/models_nef/model_location_area.go b/models_nef/model_location_area.go deleted file mode 100644 index 330185a1..00000000 --- a/models_nef/model_location_area.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type LocationArea struct { - // Indicates a list of Cell Global Identities of the user which identifies the cell the UE is registered. - CellIds []string `json:"cellIds,omitempty" bson:"cellIds"` - - // Indicates a list of eNodeB identities in which the UE is currently located. - EnodeBIds []string `json:"enodeBIds,omitempty" bson:"enodeBIds"` - - // Identifies a list of Routing Area Identities of the user where the UE is located. - RoutingAreaIds []string `json:"routingAreaIds,omitempty" bson:"routingAreaIds"` - - // Identifies a list of Tracking Area Identities of the user where the UE is located. - TrackingAreaIds []string `json:"trackingAreaIds,omitempty" bson:"trackingAreaIds"` - - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []models.GeographicArea `json:"geographicAreas,omitempty" bson:"geographicAreas"` - - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []models.CivicAddress `json:"civicAddresses,omitempty" bson:"civicAddresses"` -} diff --git a/models_nef/model_location_area5_g.go b/models_nef/model_location_area5_g.go deleted file mode 100644 index 9a601c95..00000000 --- a/models_nef/model_location_area5_g.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type LocationArea5G struct { - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []models.GeographicArea `json:"geographicAreas,omitempty" bson:"geographicAreas"` - - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []models.CivicAddress `json:"civicAddresses,omitempty" bson:"civicAddresses"` - - NwAreaInfo *models.NetworkAreaInfo `json:"nwAreaInfo,omitempty" bson:"nwAreaInfo"` -} diff --git a/models_nef/model_point_all_of.go b/models_nef/model_point_all_of.go deleted file mode 100644 index dbec4bd7..00000000 --- a/models_nef/model_point_all_of.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PointAllOf struct { - Point models.GeographicalCoordinates `json:"point"` -} diff --git a/models_nef/model_point_altitude_all_of.go b/models_nef/model_point_altitude_all_of.go deleted file mode 100644 index f0ea6c7e..00000000 --- a/models_nef/model_point_altitude_all_of.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PointAltitudeAllOf struct { - Point models.GeographicalCoordinates `json:"point"` - - Altitude float64 `json:"altitude"` -} diff --git a/models_nef/model_point_altitude_uncertainty_all_of.go b/models_nef/model_point_altitude_uncertainty_all_of.go deleted file mode 100644 index 2fb7eb9d..00000000 --- a/models_nef/model_point_altitude_uncertainty_all_of.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PointAltitudeUncertaintyAllOf struct { - Point models.GeographicalCoordinates `json:"point"` - - Altitude float64 `json:"altitude"` - - UncertaintyEllipse models.UncertaintyEllipse `json:"uncertaintyEllipse"` - - UncertaintyAltitude float32 `json:"uncertaintyAltitude"` - - Confidence int32 `json:"confidence"` -} diff --git a/models_nef/model_point_uncertainty_circle_all_of.go b/models_nef/model_point_uncertainty_circle_all_of.go deleted file mode 100644 index d80592ce..00000000 --- a/models_nef/model_point_uncertainty_circle_all_of.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PointUncertaintyCircleAllOf struct { - Point models.GeographicalCoordinates `json:"point"` - - Uncertainty float32 `json:"uncertainty"` -} diff --git a/models_nef/model_point_uncertainty_ellipse_all_of.go b/models_nef/model_point_uncertainty_ellipse_all_of.go deleted file mode 100644 index 98ac9624..00000000 --- a/models_nef/model_point_uncertainty_ellipse_all_of.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PointUncertaintyEllipseAllOf struct { - Point models.GeographicalCoordinates `json:"point"` - - UncertaintyEllipse models.UncertaintyEllipse `json:"uncertaintyEllipse"` - - Confidence int32 `json:"confidence"` -} diff --git a/models_nef/model_polygon_all_of.go b/models_nef/model_polygon_all_of.go deleted file mode 100644 index 246e8926..00000000 --- a/models_nef/model_polygon_all_of.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type PolygonAllOf struct { - PointList []models.GeographicalCoordinates `json:"pointList"` -} diff --git a/models_nef/model_traffic_influ_sub.go b/models_nef/model_traffic_influ_sub.go deleted file mode 100644 index d70e6fb9..00000000 --- a/models_nef/model_traffic_influ_sub.go +++ /dev/null @@ -1,86 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type TrafficInfluSub struct { - // Identifies a service on behalf of which the AF is issuing the request. - AfServiceId string `json:"afServiceId,omitempty" bson:"afServiceId"` - - // Identifies an application. - AfAppId string `json:"afAppId,omitempty" bson:"afAppId"` - - // Identifies an NEF Northbound interface transaction, generated by the AF. - AfTransId string `json:"afTransId,omitempty" bson:"afTransId"` - - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" bson:"appReloInd"` - - Dnn string `json:"dnn,omitempty" bson:"dnn"` - - Snssai *models.Snssai `json:"snssai,omitempty" bson:"snssai"` - - // string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information. - ExternalGroupId string `json:"externalGroupId,omitempty" bson:"externalGroupId"` - - // Identifies whether the AF request applies to any UE. This attribute shall set to \"true\" if applicable for any UE, otherwise, set to \"false\". - AnyUeInd bool `json:"anyUeInd,omitempty" bson:"anyUeInd"` - - // Identifies the requirement to be notified of the event(s). - SubscribedEvents []models.SubscribedEvent `json:"subscribedEvents,omitempty" bson:"subscribedEvents"` - - Gpsi string `json:"gpsi,omitempty" bson:"gpsi"` - - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" bson:"ipv4Addr"` - - // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. - Ipv6Addr string `json:"ipv6Addr,omitempty" bson:"ipv6Addr"` - - MacAddr string `json:"macAddr,omitempty" bson:"macAddr"` - - DnaiChgType models.DnaiChangeType `json:"dnaiChgType,omitempty" bson:"dnaiChgType"` - - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination,omitempty" bson:"notificationDestination"` - - // Set to true by the SCS/AS to request the NEF to send a test notification as defined in subclause 5.2.5.3. Set to false or omitted otherwise. - RequestTestNotification bool `json:"requestTestNotification,omitempty" bson:"requestTestNotification"` - - WebsockNotifConfig *models.WebsockNotifConfig `json:"websockNotifConfig,omitempty" bson:"websockNotifConfig"` - - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" bson:"self"` - - // Identifies IP packet filters. - TrafficFilters []models.FlowInfo `json:"trafficFilters,omitempty" bson:"trafficFilters"` - - // Identifies Ethernet packet filters. - EthTrafficFilters []models.EthFlowDescription `json:"ethTrafficFilters,omitempty" bson:"ethTrafficFilters"` - - // Identifies the N6 traffic routing requirement. - TrafficRoutes []models.RouteToLocation `json:"trafficRoutes,omitempty" bson:"trafficRoutes"` - - TfcCorrInd bool `json:"tfcCorrInd,omitempty" bson:"tfcCorrInd"` - - TempValidities []models.TemporalValidity `json:"tempValidities,omitempty" bson:"tempValidities"` - - // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. - ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" bson:"validGeoZoneIds"` - - AfAckInd bool `json:"afAckInd,omitempty" bson:"afAckInd"` - - AddrPreserInd bool `json:"addrPreserInd,omitempty" bson:"addrPreserInd"` - - SuppFeat string `json:"suppFeat,omitempty" bson:"suppFeat"` -} diff --git a/models_nef/model_traffic_influ_sub_patch.go b/models_nef/model_traffic_influ_sub_patch.go deleted file mode 100644 index d3f8d099..00000000 --- a/models_nef/model_traffic_influ_sub_patch.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -import ( - "github.com/free5gc/openapi/models" -) - -type TrafficInfluSubPatch struct { - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" bson:"appReloInd"` - - // Identifies IP packet filters. - TrafficFilters []models.FlowInfo `json:"trafficFilters,omitempty" bson:"trafficFilters"` - - // Identifies Ethernet packet filters. - EthTrafficFilters []models.EthFlowDescription `json:"ethTrafficFilters,omitempty" bson:"ethTrafficFilters"` - - // Identifies the N6 traffic routing requirement. - TrafficRoutes []models.RouteToLocation `json:"trafficRoutes,omitempty" bson:"trafficRoutes"` - - TfcCorrInd bool `json:"tfcCorrInd,omitempty" bson:"tfcCorrInd"` - - TempValidities []models.TemporalValidity `json:"tempValidities,omitempty" bson:"tempValidities"` - - // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. - ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" bson:"validGeoZoneIds"` - - AfAckInd bool `json:"afAckInd,omitempty" bson:"afAckInd"` - - AddrPreserInd bool `json:"addrPreserInd,omitempty" bson:"addrPreserInd"` -} diff --git a/models_nef/model_user_plane_location_area.go b/models_nef/model_user_plane_location_area.go deleted file mode 100644 index 1894f72e..00000000 --- a/models_nef/model_user_plane_location_area.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models_nef - -type UserPlaneLocationArea struct { - LocationArea *LocationArea `json:"locationArea,omitempty" bson:"locationArea"` - - LocationArea5G *LocationArea5G `json:"locationArea5G,omitempty" bson:"locationArea5G"` - - // Identifies a list of DNAI which the user plane functions support. - Dnais []string `json:"dnais,omitempty" bson:"dnais"` -} diff --git a/multipart_related.go b/multipart_related.go index 1a18acc2..5315402a 100644 --- a/multipart_related.go +++ b/multipart_related.go @@ -2,10 +2,11 @@ package openapi import ( "bytes" - "errors" "io/ioutil" "net/http" "regexp" + + "github.com/pkg/errors" ) type MultipartRelatedBinding struct{} @@ -23,7 +24,10 @@ func (MultipartRelatedBinding) Bind(req *http.Request, obj interface{}) error { } func (MultipartRelatedBinding) BindBody(body []byte, obj interface{}) error { - re, _ := regexp.Compile(`--([a-zA-Z0-9+\-_]+)--`) + re, err := regexp.Compile(`--([a-zA-Z0-9+\-_]+)--`) + if err != nil { + return err + } submatch := re.FindSubmatch(body) if len(submatch) < 1 { return errors.New("cannot parse multipart boundary") @@ -40,13 +44,13 @@ func (r MultipartRelatedRender) Render(w http.ResponseWriter) (err error) { payloadBuf := &bytes.Buffer{} ct, err := MultipartEncode(r.Data, payloadBuf) if err != nil { - panic(err) + return errors.Wrap(err, "multipart rending fail") } r.contentType = ct w.Header().Set("Content-Type", r.contentType) _, err = payloadBuf.WriteTo(w) if err != nil { - panic(err) + return errors.Wrap(err, "multipart rending fail") } return } diff --git a/nef/AsSessionWithQoS/api_as_session_with_required_qo_s_subscriptions.go b/nef/AsSessionWithQoS/api_as_session_with_required_qo_s_subscriptions.go new file mode 100644 index 00000000..dff77b2f --- /dev/null +++ b/nef/AsSessionWithQoS/api_as_session_with_required_qo_s_subscriptions.go @@ -0,0 +1,570 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AsSessionWithQoS + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ASSessionWithRequiredQoSSubscriptionsApiService service + +/* +ASSessionWithRequiredQoSSubscriptionsApiService Creates a new subscription resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param AsSessionWithQoSSubscription - Request to create a new subscription resource + +@return CreateASSessionWithQoSSubscriptionResponse +*/ + +// CreateASSessionWithQoSSubscriptionRequest +type CreateASSessionWithQoSSubscriptionRequest struct { + ScsAsId *string + AsSessionWithQoSSubscription *models.AsSessionWithQoSSubscription +} + +func (r *CreateASSessionWithQoSSubscriptionRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *CreateASSessionWithQoSSubscriptionRequest) SetAsSessionWithQoSSubscription(AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription) { + r.AsSessionWithQoSSubscription = &AsSessionWithQoSSubscription +} + +type CreateASSessionWithQoSSubscriptionResponse struct { + Location string + AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription +} + +type CreateASSessionWithQoSSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ASSessionWithRequiredQoSSubscriptionsApiService) CreateASSessionWithQoSSubscription(ctx context.Context, request *CreateASSessionWithQoSSubscriptionRequest) (*CreateASSessionWithQoSSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateASSessionWithQoSSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AsSessionWithQoSSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AsSessionWithQoSSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateASSessionWithQoSSubscriptionNotificationDestinationPostRequest +type CreateASSessionWithQoSSubscriptionNotificationDestinationPostRequest struct { + UserPlaneNotificationData *models.UserPlaneNotificationData +} + +func (r *CreateASSessionWithQoSSubscriptionNotificationDestinationPostRequest) SetUserPlaneNotificationData(UserPlaneNotificationData models.UserPlaneNotificationData) { + r.UserPlaneNotificationData = &UserPlaneNotificationData +} + +type CreateASSessionWithQoSSubscriptionNotificationDestinationPostResponse struct { +} + +type CreateASSessionWithQoSSubscriptionNotificationDestinationPostError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *ASSessionWithRequiredQoSSubscriptionsApiService) CreateASSessionWithQoSSubscriptionNotificationDestinationPost(ctx context.Context, uri string, request *CreateASSessionWithQoSSubscriptionNotificationDestinationPostRequest) (*CreateASSessionWithQoSSubscriptionNotificationDestinationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateASSessionWithQoSSubscriptionNotificationDestinationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UserPlaneNotificationData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateASSessionWithQoSSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +ASSessionWithRequiredQoSSubscriptionsApiService Read all or queried active subscriptions for the SCS/AS. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param IpAddrs - The IP address(es) of the requested UE(s). + * @param IpDomain - The IPv4 address domain identifier. The attribute may only be provided if IPv4 address is included in the ip-addrs query parameter. + * @param MacAddrs - The MAC address(es) of the requested UE(s). + +@return FetchAllASSessionWithQoSSubscriptionsResponse +*/ + +// FetchAllASSessionWithQoSSubscriptionsRequest +type FetchAllASSessionWithQoSSubscriptionsRequest struct { + ScsAsId *string + IpAddrs []models.IpAddr + IpDomain *string + MacAddrs []string +} + +func (r *FetchAllASSessionWithQoSSubscriptionsRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *FetchAllASSessionWithQoSSubscriptionsRequest) SetIpAddrs(IpAddrs []models.IpAddr) { + r.IpAddrs = IpAddrs +} +func (r *FetchAllASSessionWithQoSSubscriptionsRequest) SetIpDomain(IpDomain string) { + r.IpDomain = &IpDomain +} +func (r *FetchAllASSessionWithQoSSubscriptionsRequest) SetMacAddrs(MacAddrs []string) { + r.MacAddrs = MacAddrs +} + +type FetchAllASSessionWithQoSSubscriptionsResponse struct { + AsSessionWithQoSSubscription []models.AsSessionWithQoSSubscription +} + +type FetchAllASSessionWithQoSSubscriptionsError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *ASSessionWithRequiredQoSSubscriptionsApiService) FetchAllASSessionWithQoSSubscriptions(ctx context.Context, request *FetchAllASSessionWithQoSSubscriptionsRequest) (*FetchAllASSessionWithQoSSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue FetchAllASSessionWithQoSSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.IpAddrs != nil { + if len(request.IpAddrs) < 1 { + return &localVarReturnValue, openapi.ReportError("IpAddrs must have at least 1 elements") + } + localVarQueryParams.Add("ip-addrs", openapi.ParameterToString(request.IpAddrs, "application/json")) + } + if request.IpDomain != nil { + localVarQueryParams.Add("ip-domain", openapi.ParameterToString(request.IpDomain, "multi")) + } + if request.MacAddrs != nil { + if len(request.MacAddrs) < 1 { + return &localVarReturnValue, openapi.ReportError("MacAddrs must have at least 1 elements") + } + localVarQueryParams.Add("mac-addrs", openapi.ParameterToString(request.MacAddrs, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AsSessionWithQoSSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v FetchAllASSessionWithQoSSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/AsSessionWithQoS/api_individual_as_session_with_required_qo_s_subscription.go b/nef/AsSessionWithQoS/api_individual_as_session_with_required_qo_s_subscription.go new file mode 100644 index 00000000..66a59aa1 --- /dev/null +++ b/nef/AsSessionWithQoS/api_individual_as_session_with_required_qo_s_subscription.go @@ -0,0 +1,744 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AsSessionWithQoS + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualASSessionWithRequiredQoSSubscriptionApiService service + +/* +IndividualASSessionWithRequiredQoSSubscriptionApiService Deletes an already existing subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param SubscriptionId - Identifier of the subscription resource + +@return DeleteIndASSessionWithQoSSubscriptionResponse +*/ + +// DeleteIndASSessionWithQoSSubscriptionRequest +type DeleteIndASSessionWithQoSSubscriptionRequest struct { + ScsAsId *string + SubscriptionId *string +} + +func (r *DeleteIndASSessionWithQoSSubscriptionRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *DeleteIndASSessionWithQoSSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteIndASSessionWithQoSSubscriptionResponse struct { + UserPlaneNotificationData models.UserPlaneNotificationData +} + +type DeleteIndASSessionWithQoSSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualASSessionWithRequiredQoSSubscriptionApiService) DeleteIndASSessionWithQoSSubscription(ctx context.Context, request *DeleteIndASSessionWithQoSSubscriptionRequest) (*DeleteIndASSessionWithQoSSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndASSessionWithQoSSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.UserPlaneNotificationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualASSessionWithRequiredQoSSubscriptionApiService Read an active subscriptions for the SCS/AS and the subscription Id. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param SubscriptionId - Identifier of the subscription resource + +@return FetchIndASSessionWithQoSSubscriptionResponse +*/ + +// FetchIndASSessionWithQoSSubscriptionRequest +type FetchIndASSessionWithQoSSubscriptionRequest struct { + ScsAsId *string + SubscriptionId *string +} + +func (r *FetchIndASSessionWithQoSSubscriptionRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *FetchIndASSessionWithQoSSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type FetchIndASSessionWithQoSSubscriptionResponse struct { + AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription +} + +type FetchIndASSessionWithQoSSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualASSessionWithRequiredQoSSubscriptionApiService) FetchIndASSessionWithQoSSubscription(ctx context.Context, request *FetchIndASSessionWithQoSSubscriptionRequest) (*FetchIndASSessionWithQoSSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue FetchIndASSessionWithQoSSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AsSessionWithQoSSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v FetchIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualASSessionWithRequiredQoSSubscriptionApiService Updates/replaces an existing subscription resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param SubscriptionId - Identifier of the subscription resource + * @param AsSessionWithQoSSubscriptionPatch - + +@return ModifyIndASSessionWithQoSSubscriptionResponse +*/ + +// ModifyIndASSessionWithQoSSubscriptionRequest +type ModifyIndASSessionWithQoSSubscriptionRequest struct { + ScsAsId *string + SubscriptionId *string + AsSessionWithQoSSubscriptionPatch *models.AsSessionWithQoSSubscriptionPatch +} + +func (r *ModifyIndASSessionWithQoSSubscriptionRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *ModifyIndASSessionWithQoSSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ModifyIndASSessionWithQoSSubscriptionRequest) SetAsSessionWithQoSSubscriptionPatch(AsSessionWithQoSSubscriptionPatch models.AsSessionWithQoSSubscriptionPatch) { + r.AsSessionWithQoSSubscriptionPatch = &AsSessionWithQoSSubscriptionPatch +} + +type ModifyIndASSessionWithQoSSubscriptionResponse struct { + AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription +} + +type ModifyIndASSessionWithQoSSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualASSessionWithRequiredQoSSubscriptionApiService) ModifyIndASSessionWithQoSSubscription(ctx context.Context, request *ModifyIndASSessionWithQoSSubscriptionRequest) (*ModifyIndASSessionWithQoSSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyIndASSessionWithQoSSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AsSessionWithQoSSubscriptionPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AsSessionWithQoSSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualASSessionWithRequiredQoSSubscriptionApiService Updates/replaces an existing subscription resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScsAsId - Identifier of the SCS/AS + * @param SubscriptionId - Identifier of the subscription resource + * @param AsSessionWithQoSSubscription - Parameters to update/replace the existing subscription + +@return UpdateIndASSessionWithQoSSubscriptionResponse +*/ + +// UpdateIndASSessionWithQoSSubscriptionRequest +type UpdateIndASSessionWithQoSSubscriptionRequest struct { + ScsAsId *string + SubscriptionId *string + AsSessionWithQoSSubscription *models.AsSessionWithQoSSubscription +} + +func (r *UpdateIndASSessionWithQoSSubscriptionRequest) SetScsAsId(ScsAsId string) { + r.ScsAsId = &ScsAsId +} +func (r *UpdateIndASSessionWithQoSSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateIndASSessionWithQoSSubscriptionRequest) SetAsSessionWithQoSSubscription(AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription) { + r.AsSessionWithQoSSubscription = &AsSessionWithQoSSubscription +} + +type UpdateIndASSessionWithQoSSubscriptionResponse struct { + AsSessionWithQoSSubscription models.AsSessionWithQoSSubscription +} + +type UpdateIndASSessionWithQoSSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualASSessionWithRequiredQoSSubscriptionApiService) UpdateIndASSessionWithQoSSubscription(ctx context.Context, request *UpdateIndASSessionWithQoSSubscriptionRequest) (*UpdateIndASSessionWithQoSSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndASSessionWithQoSSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{scsAsId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"scsAsId"+"}", openapi.StringOfValue(*request.ScsAsId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AsSessionWithQoSSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AsSessionWithQoSSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndASSessionWithQoSSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/AsSessionWithQoS/client.go b/nef/AsSessionWithQoS/client.go new file mode 100644 index 00000000..a5397f0b --- /dev/null +++ b/nef/AsSessionWithQoS/client.go @@ -0,0 +1,42 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AsSessionWithQoS + +// APIClient manages communication with the 3gpp-as-session-with-qos API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ASSessionWithRequiredQoSSubscriptionsApi *ASSessionWithRequiredQoSSubscriptionsApiService + IndividualASSessionWithRequiredQoSSubscriptionApi *IndividualASSessionWithRequiredQoSSubscriptionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ASSessionWithRequiredQoSSubscriptionsApi = (*ASSessionWithRequiredQoSSubscriptionsApiService)(&c.common) + c.IndividualASSessionWithRequiredQoSSubscriptionApi = (*IndividualASSessionWithRequiredQoSSubscriptionApiService)(&c.common) + + return c +} diff --git a/nef/AsSessionWithQoS/configuration.go b/nef/AsSessionWithQoS/configuration.go new file mode 100644 index 00000000..cc95b5ac --- /dev/null +++ b/nef/AsSessionWithQoS/configuration.go @@ -0,0 +1,82 @@ +/* + * 3gpp-as-session-with-qos + * + * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AsSessionWithQoS + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/3gpp-as-session-with-qos/v1", + url: "{apiRoot}/3gpp-as-session-with-qos/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/Authentication/api_uav_authentication.go b/nef/Authentication/api_uav_authentication.go new file mode 100644 index 00000000..18a96269 --- /dev/null +++ b/nef/Authentication/api_uav_authentication.go @@ -0,0 +1,284 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Authentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UAVAuthenticationApiService service + +/* +UAVAuthenticationApiService UAV authentication + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NefAuthenticationUavAuthInfo - UAV authentication + +@return UavAuthenticationsPostResponse +*/ + +// UavAuthenticationsPostRequest +type UavAuthenticationsPostRequest struct { + NefAuthenticationUavAuthInfo *models.NefAuthenticationUavAuthInfo +} + +func (r *UavAuthenticationsPostRequest) SetNefAuthenticationUavAuthInfo(NefAuthenticationUavAuthInfo models.NefAuthenticationUavAuthInfo) { + r.NefAuthenticationUavAuthInfo = &NefAuthenticationUavAuthInfo +} + +type UavAuthenticationsPostResponse struct { + NefAuthenticationUavAuthResponse models.NefAuthenticationUavAuthResponse +} + +type UavAuthenticationsPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + UavAuthFailure models.UavAuthFailure +} + +func (a *UAVAuthenticationApiService) UavAuthenticationsPost(ctx context.Context, request *UavAuthenticationsPostRequest) (*UavAuthenticationsPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UavAuthenticationsPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/uav-authentications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefAuthenticationUavAuthInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefAuthenticationUavAuthResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UavAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UavAuthenticationsPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UavAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UavAuthenticationsPostError + err = openapi.Deserialize(&v.UavAuthFailure, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v UavAuthenticationsPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NullAuthNotificationPostRequest +type NullAuthNotificationPostRequest struct { + AuthNotification *models.AuthNotification +} + +func (r *NullAuthNotificationPostRequest) SetAuthNotification(AuthNotification models.AuthNotification) { + r.AuthNotification = &AuthNotification +} + +type NullAuthNotificationPostResponse struct { +} + +type NullAuthNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UAVAuthenticationApiService) NullAuthNotificationPost(ctx context.Context, uri string, request *NullAuthNotificationPostRequest) (*NullAuthNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NullAuthNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NullAuthNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NullAuthNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NullAuthNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nef/Authentication/client.go b/nef/Authentication/client.go new file mode 100644 index 00000000..2cdd1f96 --- /dev/null +++ b/nef/Authentication/client.go @@ -0,0 +1,40 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Authentication + +// APIClient manages communication with the Nnef_Authentication API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + UAVAuthenticationApi *UAVAuthenticationApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.UAVAuthenticationApi = (*UAVAuthenticationApiService)(&c.common) + + return c +} diff --git a/nef/Authentication/configuration.go b/nef/Authentication/configuration.go new file mode 100644 index 00000000..3111570f --- /dev/null +++ b/nef/Authentication/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_Authentication + * + * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Authentication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-authentication/v1", + url: "{apiRoot}/nnef-authentication/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/EASDeployment/api_individual_subscription_document.go b/nef/EASDeployment/api_individual_subscription_document.go new file mode 100644 index 00000000..ce296b63 --- /dev/null +++ b/nef/EASDeployment/api_individual_subscription_document.go @@ -0,0 +1,369 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EASDeployment + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService unsubscribe from notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + +@return DeleteIndividualSubcriptionResponse +*/ + +// DeleteIndividualSubcriptionRequest +type DeleteIndividualSubcriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteIndividualSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteIndividualSubcriptionResponse struct { +} + +type DeleteIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) DeleteIndividualSubcription(ctx context.Context, request *DeleteIndividualSubcriptionRequest) (*DeleteIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService retrieve subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + +@return GetIndividualSubcriptionResponse +*/ + +// GetIndividualSubcriptionRequest +type GetIndividualSubcriptionRequest struct { + SubscriptionId *string +} + +func (r *GetIndividualSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type GetIndividualSubcriptionResponse struct { + EasDeploySubData models.EasDeploySubData +} + +type GetIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) GetIndividualSubcription(ctx context.Context, request *GetIndividualSubcriptionRequest) (*GetIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EasDeploySubData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/EASDeployment/api_subscriptions_collection.go b/nef/EASDeployment/api_subscriptions_collection.go new file mode 100644 index 00000000..2563f964 --- /dev/null +++ b/nef/EASDeployment/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EASDeployment + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService subscribe to notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param EasDeploySubData - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + EasDeploySubData *models.EasDeploySubData +} + +func (r *CreateIndividualSubcriptionRequest) SetEasDeploySubData(EasDeploySubData models.EasDeploySubData) { + r.EasDeploySubData = &EasDeploySubData +} + +type CreateIndividualSubcriptionResponse struct { + Location string + EasDeploySubData models.EasDeploySubData +} + +type CreateIndividualSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EasDeploySubData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.EasDeploySubData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualSubcriptionNotifUriPostRequest +type CreateIndividualSubcriptionNotifUriPostRequest struct { + EasDeployInfoNotif *models.EasDeployInfoNotif +} + +func (r *CreateIndividualSubcriptionNotifUriPostRequest) SetEasDeployInfoNotif(EasDeployInfoNotif models.EasDeployInfoNotif) { + r.EasDeployInfoNotif = &EasDeployInfoNotif +} + +type CreateIndividualSubcriptionNotifUriPostResponse struct { +} + +type CreateIndividualSubcriptionNotifUriPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionNotifUriPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionNotifUriPostRequest) (*CreateIndividualSubcriptionNotifUriPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionNotifUriPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EasDeployInfoNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionNotifUriPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nef/EASDeployment/client.go b/nef/EASDeployment/client.go new file mode 100644 index 00000000..668d2b26 --- /dev/null +++ b/nef/EASDeployment/client.go @@ -0,0 +1,42 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EASDeployment + +// APIClient manages communication with the Nnef_EASDeployment API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nef/EASDeployment/configuration.go b/nef/EASDeployment/configuration.go new file mode 100644 index 00000000..a46127c1 --- /dev/null +++ b/nef/EASDeployment/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_EASDeployment + * + * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EASDeployment + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-eas-deployment/v1", + url: "{apiRoot}/nnef-eas-deployment/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/EventExposure/api_individual_subscription_document.go b/nef/EventExposure/api_individual_subscription_document.go new file mode 100644 index 00000000..40740f05 --- /dev/null +++ b/nef/EventExposure/api_individual_subscription_document.go @@ -0,0 +1,583 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService unsubscribe from notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + +@return DeleteIndividualSubcriptionResponse +*/ + +// DeleteIndividualSubcriptionRequest +type DeleteIndividualSubcriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteIndividualSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteIndividualSubcriptionResponse struct { +} + +type DeleteIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) DeleteIndividualSubcription(ctx context.Context, request *DeleteIndividualSubcriptionRequest) (*DeleteIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService retrieve subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + * @param SuppFeat - Features supported by the NF service consumer + +@return GetIndividualSubcriptionResponse +*/ + +// GetIndividualSubcriptionRequest +type GetIndividualSubcriptionRequest struct { + SubscriptionId *string + SuppFeat *string +} + +func (r *GetIndividualSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *GetIndividualSubcriptionRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type GetIndividualSubcriptionResponse struct { + NefEventExposureSubsc models.NefEventExposureSubsc +} + +type GetIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) GetIndividualSubcription(ctx context.Context, request *GetIndividualSubcriptionRequest) (*GetIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService update subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + * @param NefEventExposureSubsc - + +@return ReplaceIndividualSubcriptionResponse +*/ + +// ReplaceIndividualSubcriptionRequest +type ReplaceIndividualSubcriptionRequest struct { + SubscriptionId *string + NefEventExposureSubsc *models.NefEventExposureSubsc +} + +func (r *ReplaceIndividualSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ReplaceIndividualSubcriptionRequest) SetNefEventExposureSubsc(NefEventExposureSubsc models.NefEventExposureSubsc) { + r.NefEventExposureSubsc = &NefEventExposureSubsc +} + +type ReplaceIndividualSubcriptionResponse struct { + NefEventExposureSubsc models.NefEventExposureSubsc +} + +type ReplaceIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) ReplaceIndividualSubcription(ctx context.Context, request *ReplaceIndividualSubcriptionRequest) (*ReplaceIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefEventExposureSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/EventExposure/api_subscriptions_collection.go b/nef/EventExposure/api_subscriptions_collection.go new file mode 100644 index 00000000..945c1fec --- /dev/null +++ b/nef/EventExposure/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService subscribe to notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NefEventExposureSubsc - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + NefEventExposureSubsc *models.NefEventExposureSubsc +} + +func (r *CreateIndividualSubcriptionRequest) SetNefEventExposureSubsc(NefEventExposureSubsc models.NefEventExposureSubsc) { + r.NefEventExposureSubsc = &NefEventExposureSubsc +} + +type CreateIndividualSubcriptionResponse struct { + Location string + NefEventExposureSubsc models.NefEventExposureSubsc +} + +type CreateIndividualSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefEventExposureSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NefEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualSubcriptionMyNotificationPostRequest +type CreateIndividualSubcriptionMyNotificationPostRequest struct { + NefEventExposureNotif *models.NefEventExposureNotif +} + +func (r *CreateIndividualSubcriptionMyNotificationPostRequest) SetNefEventExposureNotif(NefEventExposureNotif models.NefEventExposureNotif) { + r.NefEventExposureNotif = &NefEventExposureNotif +} + +type CreateIndividualSubcriptionMyNotificationPostResponse struct { +} + +type CreateIndividualSubcriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionMyNotificationPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionMyNotificationPostRequest) (*CreateIndividualSubcriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefEventExposureNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nef/EventExposure/client.go b/nef/EventExposure/client.go new file mode 100644 index 00000000..7f017438 --- /dev/null +++ b/nef/EventExposure/client.go @@ -0,0 +1,42 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +// APIClient manages communication with the Nnef_EventExposure API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nef/EventExposure/configuration.go b/nef/EventExposure/configuration.go new file mode 100644 index 00000000..9855d191 --- /dev/null +++ b/nef/EventExposure/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_EventExposure + * + * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-eventexposure/v1", + url: "{apiRoot}/nnef-eventexposure/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/PFDmanagement/api_individual_application_pfd.go b/nef/PFDmanagement/api_individual_application_pfd.go new file mode 100644 index 00000000..ff6d364a --- /dev/null +++ b/nef/PFDmanagement/api_individual_application_pfd.go @@ -0,0 +1,220 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualApplicationPFDApiService service + +/* +IndividualApplicationPFDApiService Retrieve the PFD for an application. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppId - The required application identifier(s) for the returned PFDs. + * @param SupportedFeatures - To filter irrelevant responses related to unsupported features + +@return NnefPFDmanagementIndAppFetchResponse +*/ + +// NnefPFDmanagementIndAppFetchRequest +type NnefPFDmanagementIndAppFetchRequest struct { + AppId *string + SupportedFeatures *string +} + +func (r *NnefPFDmanagementIndAppFetchRequest) SetAppId(AppId string) { + r.AppId = &AppId +} +func (r *NnefPFDmanagementIndAppFetchRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type NnefPFDmanagementIndAppFetchResponse struct { + PfdDataForApp models.PfdDataForApp +} + +type NnefPFDmanagementIndAppFetchError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationPFDApiService) NnefPFDmanagementIndAppFetch(ctx context.Context, request *NnefPFDmanagementIndAppFetchRequest) (*NnefPFDmanagementIndAppFetchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementIndAppFetchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/applications/{appId}" + localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", openapi.StringOfValue(*request.AppId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForApp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementIndAppFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/PFDmanagement/api_individual_pfd_subscription.go b/nef/PFDmanagement/api_individual_pfd_subscription.go new file mode 100644 index 00000000..0d2954cf --- /dev/null +++ b/nef/PFDmanagement/api_individual_pfd_subscription.go @@ -0,0 +1,399 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPFDSubscriptionApiService service + +/* +IndividualPFDSubscriptionApiService Updates/replaces an existing subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identify the subscription. + * @param PfdSubscription - Parameters to update/replace the existing subscription + +@return NnefPFDmanagementModifySubscrResponse +*/ + +// NnefPFDmanagementModifySubscrRequest +type NnefPFDmanagementModifySubscrRequest struct { + SubscriptionId *string + PfdSubscription *models.PfdSubscription +} + +func (r *NnefPFDmanagementModifySubscrRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *NnefPFDmanagementModifySubscrRequest) SetPfdSubscription(PfdSubscription models.PfdSubscription) { + r.PfdSubscription = &PfdSubscription +} + +type NnefPFDmanagementModifySubscrResponse struct { + PfdSubscription models.PfdSubscription +} + +type NnefPFDmanagementModifySubscrError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPFDSubscriptionApiService) NnefPFDmanagementModifySubscr(ctx context.Context, request *NnefPFDmanagementModifySubscrRequest) (*NnefPFDmanagementModifySubscrResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementModifySubscrResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PfdSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementModifySubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPFDSubscriptionApiService Delete a subscription of PFD change notification. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identify the subscription. + +@return NnefPFDmanagementUnsubscribeResponse +*/ + +// NnefPFDmanagementUnsubscribeRequest +type NnefPFDmanagementUnsubscribeRequest struct { + SubscriptionId *string +} + +func (r *NnefPFDmanagementUnsubscribeRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type NnefPFDmanagementUnsubscribeResponse struct { +} + +type NnefPFDmanagementUnsubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPFDSubscriptionApiService) NnefPFDmanagementUnsubscribe(ctx context.Context, request *NnefPFDmanagementUnsubscribeRequest) (*NnefPFDmanagementUnsubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementUnsubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/PFDmanagement/api_pfd_of_applications.go b/nef/PFDmanagement/api_pfd_of_applications.go new file mode 100644 index 00000000..d38cfdd8 --- /dev/null +++ b/nef/PFDmanagement/api_pfd_of_applications.go @@ -0,0 +1,204 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PFDOfApplicationsApiService service + +/* +PFDOfApplicationsApiService Retrieve PFDs for all applications or for one or multiple applications with query parameter. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ApplicationIds - The required application identifier(s) for the returned PFDs. + * @param SupportedFeatures - To filter irrelevant responses related to unsupported features + +@return NnefPFDmanagementAllFetchResponse +*/ + +// NnefPFDmanagementAllFetchRequest +type NnefPFDmanagementAllFetchRequest struct { + ApplicationIds []string + SupportedFeatures *string +} + +func (r *NnefPFDmanagementAllFetchRequest) SetApplicationIds(ApplicationIds []string) { + r.ApplicationIds = ApplicationIds +} +func (r *NnefPFDmanagementAllFetchRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type NnefPFDmanagementAllFetchResponse struct { + PfdDataForApp []models.PfdDataForApp +} + +type NnefPFDmanagementAllFetchError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PFDOfApplicationsApiService) NnefPFDmanagementAllFetch(ctx context.Context, request *NnefPFDmanagementAllFetchRequest) (*NnefPFDmanagementAllFetchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementAllFetchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/applications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ApplicationIds == nil { + return nil, openapi.ReportError("ApplicationIds must be non nil") + } else { + if len(request.ApplicationIds) < 1 { + return &localVarReturnValue, openapi.ReportError("ApplicationIds must have at least 1 elements") + } + localVarQueryParams.Add("application-ids", openapi.ParameterToString(request.ApplicationIds, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForApp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementAllFetchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/PFDmanagement/api_pfd_of_applications_by_partial_update.go b/nef/PFDmanagement/api_pfd_of_applications_by_partial_update.go new file mode 100644 index 00000000..9eed1a0f --- /dev/null +++ b/nef/PFDmanagement/api_pfd_of_applications_by_partial_update.go @@ -0,0 +1,206 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PFDOfApplicationsByPartialUpdateApiService service + +/* +PFDOfApplicationsByPartialUpdateApiService retrieve the PFD(s) by partial update + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ApplicationForPfdRequest - + +@return NnefPFDmanagementAppFetchPartialUpdateResponse +*/ + +// NnefPFDmanagementAppFetchPartialUpdateRequest +type NnefPFDmanagementAppFetchPartialUpdateRequest struct { + ApplicationForPfdRequest []models.ApplicationForPfdRequest +} + +func (r *NnefPFDmanagementAppFetchPartialUpdateRequest) SetApplicationForPfdRequest(ApplicationForPfdRequest []models.ApplicationForPfdRequest) { + r.ApplicationForPfdRequest = ApplicationForPfdRequest +} + +type NnefPFDmanagementAppFetchPartialUpdateResponse struct { + PfdDataForApp []models.PfdDataForApp +} + +type NnefPFDmanagementAppFetchPartialUpdateError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PFDOfApplicationsByPartialUpdateApiService) NnefPFDmanagementAppFetchPartialUpdate(ctx context.Context, request *NnefPFDmanagementAppFetchPartialUpdateRequest) (*NnefPFDmanagementAppFetchPartialUpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementAppFetchPartialUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/applications/partialpull" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ApplicationForPfdRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForApp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementAppFetchPartialUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/PFDmanagement/api_pfd_subscriptions.go b/nef/PFDmanagement/api_pfd_subscriptions.go new file mode 100644 index 00000000..6ee3527c --- /dev/null +++ b/nef/PFDmanagement/api_pfd_subscriptions.go @@ -0,0 +1,581 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PFDSubscriptionsApiService service + +/* +PFDSubscriptionsApiService Subscribe the notification of PFD changes. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PfdSubscription - a PfdSubscription resource to be created. + +@return NnefPFDmanagementCreateSubscrResponse +*/ + +// NnefPFDmanagementCreateSubscrRequest +type NnefPFDmanagementCreateSubscrRequest struct { + PfdSubscription *models.PfdSubscription +} + +func (r *NnefPFDmanagementCreateSubscrRequest) SetPfdSubscription(PfdSubscription models.PfdSubscription) { + r.PfdSubscription = &PfdSubscription +} + +type NnefPFDmanagementCreateSubscrResponse struct { + Location string + PfdSubscription models.PfdSubscription +} + +type NnefPFDmanagementCreateSubscrError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PFDSubscriptionsApiService) NnefPFDmanagementCreateSubscr(ctx context.Context, request *NnefPFDmanagementCreateSubscrRequest) (*NnefPFDmanagementCreateSubscrResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementCreateSubscrResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PfdSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PfdSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementCreateSubscrError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NnefPFDmanagementNotifyRequest +type NnefPFDmanagementNotifyRequest struct { + PfdChangeNotification []models.PfdChangeNotification +} + +func (r *NnefPFDmanagementNotifyRequest) SetPfdChangeNotification(PfdChangeNotification []models.PfdChangeNotification) { + r.PfdChangeNotification = PfdChangeNotification +} + +type NnefPFDmanagementNotifyResponse struct { + PfdChangeReport []models.PfdChangeReport +} + +type NnefPFDmanagementNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PFDSubscriptionsApiService) NnefPFDmanagementNotify(ctx context.Context, uri string, request *NnefPFDmanagementNotifyRequest) (*NnefPFDmanagementNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PfdChangeNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdChangeReport, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// NnefPFDmanagementPushNotifyRequest +type NnefPFDmanagementPushNotifyRequest struct { + NotificationPush []models.NotificationPush +} + +func (r *NnefPFDmanagementPushNotifyRequest) SetNotificationPush(NotificationPush []models.NotificationPush) { + r.NotificationPush = NotificationPush +} + +type NnefPFDmanagementPushNotifyResponse struct { +} + +type NnefPFDmanagementPushNotifyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PFDSubscriptionsApiService) NnefPFDmanagementPushNotify(ctx context.Context, uri string, request *NnefPFDmanagementPushNotifyRequest) (*NnefPFDmanagementPushNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NnefPFDmanagementPushNotifyResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NotificationPush + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NnefPFDmanagementPushNotifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nef/PFDmanagement/client.go b/nef/PFDmanagement/client.go new file mode 100644 index 00000000..5d2965e2 --- /dev/null +++ b/nef/PFDmanagement/client.go @@ -0,0 +1,48 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +// APIClient manages communication with the Nnef_PFDmanagement Service API API v1.2.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualApplicationPFDApi *IndividualApplicationPFDApiService + IndividualPFDSubscriptionApi *IndividualPFDSubscriptionApiService + PFDOfApplicationsApi *PFDOfApplicationsApiService + PFDOfApplicationsByPartialUpdateApi *PFDOfApplicationsByPartialUpdateApiService + PFDSubscriptionsApi *PFDSubscriptionsApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualApplicationPFDApi = (*IndividualApplicationPFDApiService)(&c.common) + c.IndividualPFDSubscriptionApi = (*IndividualPFDSubscriptionApiService)(&c.common) + c.PFDOfApplicationsApi = (*PFDOfApplicationsApiService)(&c.common) + c.PFDOfApplicationsByPartialUpdateApi = (*PFDOfApplicationsByPartialUpdateApiService)(&c.common) + c.PFDSubscriptionsApi = (*PFDSubscriptionsApiService)(&c.common) + + return c +} diff --git a/nef/PFDmanagement/configuration.go b/nef/PFDmanagement/configuration.go new file mode 100644 index 00000000..5d2ebc1d --- /dev/null +++ b/nef/PFDmanagement/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_PFDmanagement Service API + * + * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PFDmanagement + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-pfdmanagement/v1", + url: "{apiRoot}/nnef-pfdmanagement/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/SMContext/api_individual_sm_context_document.go b/nef/SMContext/api_individual_sm_context_document.go new file mode 100644 index 00000000..63df6641 --- /dev/null +++ b/nef/SMContext/api_individual_sm_context_document.go @@ -0,0 +1,517 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMContext + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSMContextDocumentApiService service + +/* +IndividualSMContextDocumentApiService Delete SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextId - SM Context Resource ID + * @param NefSmContextSmContextReleaseData - + +@return DeleteResponse +*/ + +// DeleteRequest +type DeleteRequest struct { + SmContextId *string + NefSmContextSmContextReleaseData *models.NefSmContextSmContextReleaseData +} + +func (r *DeleteRequest) SetSmContextId(SmContextId string) { + r.SmContextId = &SmContextId +} +func (r *DeleteRequest) SetNefSmContextSmContextReleaseData(NefSmContextSmContextReleaseData models.NefSmContextSmContextReleaseData) { + r.NefSmContextSmContextReleaseData = &NefSmContextSmContextReleaseData +} + +type DeleteResponse struct { + SmContextReleasedData models.SmContextReleasedData +} + +type DeleteError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMContextDocumentApiService) Delete(ctx context.Context, request *DeleteRequest) (*DeleteResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextId}/release" + localVarPath = strings.Replace(localVarPath, "{"+"smContextId"+"}", openapi.StringOfValue(*request.SmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefSmContextSmContextReleaseData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmContextReleasedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v DeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMContextDocumentApiService Deliver Uplink MO Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextId - SM Context Resource ID + * @param DeliverRequest - + +@return DeliverResponse +*/ + +// DeliverRequest +type DeliverRequest struct { + SmContextId *string + DeliverRequest *models.DeliverRequest +} + +func (r *DeliverRequest) SetSmContextId(SmContextId string) { + r.SmContextId = &SmContextId +} +func (r *DeliverRequest) SetDeliverRequest(DeliverRequest models.DeliverRequest) { + r.DeliverRequest = &DeliverRequest +} + +type DeliverResponse struct { +} + +type DeliverError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMContextDocumentApiService) Deliver(ctx context.Context, request *DeliverRequest) (*DeliverResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeliverResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextId}/deliver" + localVarPath = strings.Replace(localVarPath, "{"+"smContextId"+"}", openapi.StringOfValue(*request.SmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DeliverRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeliverError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeliverError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMContextDocumentApiService Update SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextId - SM Context Resource ID + * @param NefSmContextSmContextUpdateData - + +@return UpdateResponse +*/ + +// UpdateRequest +type UpdateRequest struct { + SmContextId *string + NefSmContextSmContextUpdateData *models.NefSmContextSmContextUpdateData +} + +func (r *UpdateRequest) SetSmContextId(SmContextId string) { + r.SmContextId = &SmContextId +} +func (r *UpdateRequest) SetNefSmContextSmContextUpdateData(NefSmContextSmContextUpdateData models.NefSmContextSmContextUpdateData) { + r.NefSmContextSmContextUpdateData = &NefSmContextSmContextUpdateData +} + +type UpdateResponse struct { +} + +type UpdateError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMContextDocumentApiService) Update(ctx context.Context, request *UpdateRequest) (*UpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextId}/update" + localVarPath = strings.Replace(localVarPath, "{"+"smContextId"+"}", openapi.StringOfValue(*request.SmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefSmContextSmContextUpdateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/SMContext/api_sm_contexts_collection_collection.go b/nef/SMContext/api_sm_contexts_collection_collection.go new file mode 100644 index 00000000..bde0e514 --- /dev/null +++ b/nef/SMContext/api_sm_contexts_collection_collection.go @@ -0,0 +1,373 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMContext + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMContextsCollectionCollectionApiService service + +/* +SMContextsCollectionCollectionApiService Create SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NefSmContextSmContextCreateData - + +@return CreateResponse +*/ + +// CreateRequest +type CreateRequest struct { + NefSmContextSmContextCreateData *models.NefSmContextSmContextCreateData +} + +func (r *CreateRequest) SetNefSmContextSmContextCreateData(NefSmContextSmContextCreateData models.NefSmContextSmContextCreateData) { + r.NefSmContextSmContextCreateData = &NefSmContextSmContextCreateData +} + +type CreateResponse struct { + Location string + NefSmContextSmContextCreatedData models.NefSmContextSmContextCreatedData +} + +type CreateError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMContextsCollectionCollectionApiService) Create(ctx context.Context, request *CreateRequest) (*CreateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefSmContextSmContextCreateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NefSmContextSmContextCreatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v CreateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateStatusNotifyPostRequest +type CreateStatusNotifyPostRequest struct { + NefSmContextSmContextStatusNotification *models.NefSmContextSmContextStatusNotification +} + +func (r *CreateStatusNotifyPostRequest) SetNefSmContextSmContextStatusNotification(NefSmContextSmContextStatusNotification models.NefSmContextSmContextStatusNotification) { + r.NefSmContextSmContextStatusNotification = &NefSmContextSmContextStatusNotification +} + +type CreateStatusNotifyPostResponse struct { +} + +type CreateStatusNotifyPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMContextsCollectionCollectionApiService) CreateStatusNotifyPost(ctx context.Context, uri string, request *CreateStatusNotifyPostRequest) (*CreateStatusNotifyPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateStatusNotifyPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefSmContextSmContextStatusNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateStatusNotifyPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nef/SMContext/client.go b/nef/SMContext/client.go new file mode 100644 index 00000000..365ea862 --- /dev/null +++ b/nef/SMContext/client.go @@ -0,0 +1,42 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMContext + +// APIClient manages communication with the Nnef_SMContext API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSMContextDocumentApi *IndividualSMContextDocumentApiService + SMContextsCollectionCollectionApi *SMContextsCollectionCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSMContextDocumentApi = (*IndividualSMContextDocumentApiService)(&c.common) + c.SMContextsCollectionCollectionApi = (*SMContextsCollectionCollectionApiService)(&c.common) + + return c +} diff --git a/nef/SMContext/configuration.go b/nef/SMContext/configuration.go new file mode 100644 index 00000000..87ba260c --- /dev/null +++ b/nef/SMContext/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_SMContext + * + * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMContext + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-smcontext/v1", + url: "{apiRoot}/nnef-smcontext/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/SMService/api_send_mosms_message_and_the_delivery_report.go b/nef/SMService/api_send_mosms_message_and_the_delivery_report.go new file mode 100644 index 00000000..6ac4f023 --- /dev/null +++ b/nef/SMService/api_send_mosms_message_and_the_delivery_report.go @@ -0,0 +1,154 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMService + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SendMOSMSMessageAndTheDeliveryReportApiService service + +/* +SendMOSMSMessageAndTheDeliveryReportApiService Send SMS payload for a given UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Subscription Permanent Identifier (SUPI) + * @param SendSmsRequest - + +@return SendSMSResponse +*/ + +// SendSMSRequest +type SendSMSRequest struct { + Supi *string + SendSmsRequest *models.SendSmsRequest +} + +func (r *SendSMSRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SendSMSRequest) SetSendSmsRequest(SendSmsRequest models.SendSmsRequest) { + r.SendSmsRequest = &SendSmsRequest +} + +type SendSMSResponse struct { + SendSmsResponse200 models.SendSmsResponse200 +} + +type SendSMSError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SendMOSMSMessageAndTheDeliveryReportApiService) SendSMS(ctx context.Context, request *SendSMSRequest) (*SendSMSResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SendSMSResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{supi}/sendsms" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SendSmsRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SendSmsResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v SendSMSError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SendSMSError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SendSMSError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/SMService/client.go b/nef/SMService/client.go new file mode 100644 index 00000000..a02287fc --- /dev/null +++ b/nef/SMService/client.go @@ -0,0 +1,40 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMService + +// APIClient manages communication with the Nnef_SMService API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + SendMOSMSMessageAndTheDeliveryReportApi *SendMOSMSMessageAndTheDeliveryReportApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.SendMOSMSMessageAndTheDeliveryReportApi = (*SendMOSMSMessageAndTheDeliveryReportApiService)(&c.common) + + return c +} diff --git a/nef/SMService/configuration.go b/nef/SMService/configuration.go new file mode 100644 index 00000000..f1fcc215 --- /dev/null +++ b/nef/SMService/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnef_SMService + * + * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMService + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnef-smservice/v1", + url: "{apiRoot}/nnef-smservice/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nef/TrafficInfluence/api_individual_traffic_influence_subscription.go b/nef/TrafficInfluence/api_individual_traffic_influence_subscription.go new file mode 100644 index 00000000..69a67793 --- /dev/null +++ b/nef/TrafficInfluence/api_individual_traffic_influence_subscription.go @@ -0,0 +1,737 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package TrafficInfluence + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualTrafficInfluenceSubscriptionApiService service + +/* +IndividualTrafficInfluenceSubscriptionApiService Deletes an already existing subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + * @param SubscriptionId - Identifier of the subscription resource + +@return DeleteAnSubscriptionResponse +*/ + +// DeleteAnSubscriptionRequest +type DeleteAnSubscriptionRequest struct { + AfId *string + SubscriptionId *string +} + +func (r *DeleteAnSubscriptionRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *DeleteAnSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteAnSubscriptionResponse struct { +} + +type DeleteAnSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualTrafficInfluenceSubscriptionApiService) DeleteAnSubscription(ctx context.Context, request *DeleteAnSubscriptionRequest) (*DeleteAnSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAnSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualTrafficInfluenceSubscriptionApiService Fully updates/replaces an existing subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + * @param SubscriptionId - Identifier of the subscription resource + * @param NefTrafficInfluSub - Parameters to update/replace the existing subscription + +@return FullyUpdateAnSubscriptionResponse +*/ + +// FullyUpdateAnSubscriptionRequest +type FullyUpdateAnSubscriptionRequest struct { + AfId *string + SubscriptionId *string + NefTrafficInfluSub *models.NefTrafficInfluSub +} + +func (r *FullyUpdateAnSubscriptionRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *FullyUpdateAnSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *FullyUpdateAnSubscriptionRequest) SetNefTrafficInfluSub(NefTrafficInfluSub models.NefTrafficInfluSub) { + r.NefTrafficInfluSub = &NefTrafficInfluSub +} + +type FullyUpdateAnSubscriptionResponse struct { + NefTrafficInfluSub models.NefTrafficInfluSub +} + +type FullyUpdateAnSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualTrafficInfluenceSubscriptionApiService) FullyUpdateAnSubscription(ctx context.Context, request *FullyUpdateAnSubscriptionRequest) (*FullyUpdateAnSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue FullyUpdateAnSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefTrafficInfluSub + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefTrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v FullyUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualTrafficInfluenceSubscriptionApiService Partially updates/replaces an existing subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + * @param SubscriptionId - Identifier of the subscription resource + * @param NefTrafficInfluSubPatch - + +@return PartialUpdateAnSubscriptionResponse +*/ + +// PartialUpdateAnSubscriptionRequest +type PartialUpdateAnSubscriptionRequest struct { + AfId *string + SubscriptionId *string + NefTrafficInfluSubPatch *models.NefTrafficInfluSubPatch +} + +func (r *PartialUpdateAnSubscriptionRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *PartialUpdateAnSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *PartialUpdateAnSubscriptionRequest) SetNefTrafficInfluSubPatch(NefTrafficInfluSubPatch models.NefTrafficInfluSubPatch) { + r.NefTrafficInfluSubPatch = &NefTrafficInfluSubPatch +} + +type PartialUpdateAnSubscriptionResponse struct { + NefTrafficInfluSub models.NefTrafficInfluSub +} + +type PartialUpdateAnSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualTrafficInfluenceSubscriptionApiService) PartialUpdateAnSubscription(ctx context.Context, request *PartialUpdateAnSubscriptionRequest) (*PartialUpdateAnSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PartialUpdateAnSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefTrafficInfluSubPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefTrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PartialUpdateAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualTrafficInfluenceSubscriptionApiService read an active subscriptions for the SCS/AS and the subscription Id + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + * @param SubscriptionId - Identifier of the subscription resource + +@return ReadAnSubscriptionResponse +*/ + +// ReadAnSubscriptionRequest +type ReadAnSubscriptionRequest struct { + AfId *string + SubscriptionId *string +} + +func (r *ReadAnSubscriptionRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *ReadAnSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type ReadAnSubscriptionResponse struct { + NefTrafficInfluSub models.NefTrafficInfluSub +} + +type ReadAnSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *IndividualTrafficInfluenceSubscriptionApiService) ReadAnSubscription(ctx context.Context, request *ReadAnSubscriptionRequest) (*ReadAnSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadAnSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefTrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadAnSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/TrafficInfluence/api_traffic_influence_subscription.go b/nef/TrafficInfluence/api_traffic_influence_subscription.go new file mode 100644 index 00000000..46e4ea3b --- /dev/null +++ b/nef/TrafficInfluence/api_traffic_influence_subscription.go @@ -0,0 +1,539 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package TrafficInfluence + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TrafficInfluenceSubscriptionApiService service + +/* +TrafficInfluenceSubscriptionApiService Creates a new subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + * @param NefTrafficInfluSub - Request to create a new subscription resource + +@return CreateNewSubscriptionResponse +*/ + +// CreateNewSubscriptionRequest +type CreateNewSubscriptionRequest struct { + AfId *string + NefTrafficInfluSub *models.NefTrafficInfluSub +} + +func (r *CreateNewSubscriptionRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *CreateNewSubscriptionRequest) SetNefTrafficInfluSub(NefTrafficInfluSub models.NefTrafficInfluSub) { + r.NefTrafficInfluSub = &NefTrafficInfluSub +} + +type CreateNewSubscriptionResponse struct { + Location string + NefTrafficInfluSub models.NefTrafficInfluSub +} + +type CreateNewSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TrafficInfluenceSubscriptionApiService) CreateNewSubscription(ctx context.Context, request *CreateNewSubscriptionRequest) (*CreateNewSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNewSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NefTrafficInfluSub + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NefTrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNewSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateNewSubscriptionNotificationDestinationPostRequest +type CreateNewSubscriptionNotificationDestinationPostRequest struct { + EventNotification *models.EventNotification +} + +func (r *CreateNewSubscriptionNotificationDestinationPostRequest) SetEventNotification(EventNotification models.EventNotification) { + r.EventNotification = &EventNotification +} + +type CreateNewSubscriptionNotificationDestinationPostResponse struct { +} + +type CreateNewSubscriptionNotificationDestinationPostError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *TrafficInfluenceSubscriptionApiService) CreateNewSubscriptionNotificationDestinationPost(ctx context.Context, uri string, request *CreateNewSubscriptionNotificationDestinationPostRequest) (*CreateNewSubscriptionNotificationDestinationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNewSubscriptionNotificationDestinationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EventNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNewSubscriptionNotificationDestinationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +TrafficInfluenceSubscriptionApiService read all of the active subscriptions for the AF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AfId - Identifier of the AF + +@return ReadAllSubscriptionsResponse +*/ + +// ReadAllSubscriptionsRequest +type ReadAllSubscriptionsRequest struct { + AfId *string +} + +func (r *ReadAllSubscriptionsRequest) SetAfId(AfId string) { + r.AfId = &AfId +} + +type ReadAllSubscriptionsResponse struct { + NefTrafficInfluSub []models.NefTrafficInfluSub +} + +type ReadAllSubscriptionsError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *TrafficInfluenceSubscriptionApiService) ReadAllSubscriptions(ctx context.Context, request *ReadAllSubscriptionsRequest) (*ReadAllSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadAllSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{afId}/subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"afId"+"}", openapi.StringOfValue(*request.AfId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NefTrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadAllSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nef/TrafficInfluence/client.go b/nef/TrafficInfluence/client.go new file mode 100644 index 00000000..cbfc8df2 --- /dev/null +++ b/nef/TrafficInfluence/client.go @@ -0,0 +1,42 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package TrafficInfluence + +// APIClient manages communication with the 3gpp-traffic-influence API v1.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualTrafficInfluenceSubscriptionApi *IndividualTrafficInfluenceSubscriptionApiService + TrafficInfluenceSubscriptionApi *TrafficInfluenceSubscriptionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualTrafficInfluenceSubscriptionApi = (*IndividualTrafficInfluenceSubscriptionApiService)(&c.common) + c.TrafficInfluenceSubscriptionApi = (*TrafficInfluenceSubscriptionApiService)(&c.common) + + return c +} diff --git a/nef/TrafficInfluence/configuration.go b/nef/TrafficInfluence/configuration.go new file mode 100644 index 00000000..2f51bdf8 --- /dev/null +++ b/nef/TrafficInfluence/configuration.go @@ -0,0 +1,82 @@ +/* + * 3gpp-traffic-influence + * + * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package TrafficInfluence + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/3gpp-traffic-influence/v1", + url: "{apiRoot}/3gpp-traffic-influence/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nrf/AccessToken/api_access_token_request.go b/nrf/AccessToken/api_access_token_request.go new file mode 100644 index 00000000..9cda892e --- /dev/null +++ b/nrf/AccessToken/api_access_token_request.go @@ -0,0 +1,420 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AccessToken + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AccessTokenRequestApiService service + +/* +AccessTokenRequestApiService Access Token Request + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param GrantType - + * @param NfInstanceId - String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + * @param Scope - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + * @param NfType - + * @param TargetNfType - + * @param TargetNfInstanceId - String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + * @param RequesterPlmn - + * @param RequesterPlmnList - + * @param RequesterSnssaiList - + * @param RequesterFqdn - Fully Qualified Domain Name + * @param RequesterSnpnList - + * @param TargetPlmn - + * @param TargetSnpn - + * @param TargetSnssaiList - + * @param TargetNsiList - + * @param TargetNfSetId - NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \\\"set.set.5gc.mnc.mcc\\\", or \\\"set.set.5gc.nid.mnc.mcc\\\" with encoded as defined in clause 5.4.2 (\\\"Mcc\\\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \\\"0\\\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + * @param TargetNfServiceSetId - NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \\\"set.sn.nfi.5gc.mnc.mcc\\\", or \\\"set.sn.nfi.5gc.nid.mnc.mcc\\\" with encoded as defined in clause 5.4.2 (\\\"Mcc\\\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \\\"0\\\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\\\"Nid\\\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + * @param HnrfAccessTokenUri - String providing an URI formatted according to RFC 3986. + * @param SourceNfInstanceId - String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + +@return AccessTokenRequestResponse +*/ + +// AccessTokenRequestRequest +type AccessTokenRequestRequest struct { + GrantType *string + NfInstanceId *string + Scope *string + ContentEncoding *string + AcceptEncoding *string + NfType *models.NrfNfManagementNfType + TargetNfType *models.NrfNfManagementNfType + TargetNfInstanceId *string + RequesterPlmn *models.PlmnId + RequesterPlmnList []models.PlmnId + RequesterSnssaiList []models.Snssai + RequesterFqdn *string + RequesterSnpnList []models.PlmnIdNid + TargetPlmn *models.PlmnId + TargetSnpn *models.PlmnIdNid + TargetSnssaiList []models.Snssai + TargetNsiList []string + TargetNfSetId *string + TargetNfServiceSetId *string + HnrfAccessTokenUri *string + SourceNfInstanceId *string +} + +func (r *AccessTokenRequestRequest) SetGrantType(GrantType string) { + r.GrantType = &GrantType +} +func (r *AccessTokenRequestRequest) SetNfInstanceId(NfInstanceId string) { + r.NfInstanceId = &NfInstanceId +} +func (r *AccessTokenRequestRequest) SetScope(Scope string) { + r.Scope = &Scope +} +func (r *AccessTokenRequestRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *AccessTokenRequestRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} +func (r *AccessTokenRequestRequest) SetNfType(NfType models.NrfNfManagementNfType) { + r.NfType = &NfType +} +func (r *AccessTokenRequestRequest) SetTargetNfType(TargetNfType models.NrfNfManagementNfType) { + r.TargetNfType = &TargetNfType +} +func (r *AccessTokenRequestRequest) SetTargetNfInstanceId(TargetNfInstanceId string) { + r.TargetNfInstanceId = &TargetNfInstanceId +} +func (r *AccessTokenRequestRequest) SetRequesterPlmn(RequesterPlmn models.PlmnId) { + r.RequesterPlmn = &RequesterPlmn +} +func (r *AccessTokenRequestRequest) SetRequesterPlmnList(RequesterPlmnList []models.PlmnId) { + r.RequesterPlmnList = RequesterPlmnList +} +func (r *AccessTokenRequestRequest) SetRequesterSnssaiList(RequesterSnssaiList []models.Snssai) { + r.RequesterSnssaiList = RequesterSnssaiList +} +func (r *AccessTokenRequestRequest) SetRequesterFqdn(RequesterFqdn string) { + r.RequesterFqdn = &RequesterFqdn +} +func (r *AccessTokenRequestRequest) SetRequesterSnpnList(RequesterSnpnList []models.PlmnIdNid) { + r.RequesterSnpnList = RequesterSnpnList +} +func (r *AccessTokenRequestRequest) SetTargetPlmn(TargetPlmn models.PlmnId) { + r.TargetPlmn = &TargetPlmn +} +func (r *AccessTokenRequestRequest) SetTargetSnpn(TargetSnpn models.PlmnIdNid) { + r.TargetSnpn = &TargetSnpn +} +func (r *AccessTokenRequestRequest) SetTargetSnssaiList(TargetSnssaiList []models.Snssai) { + r.TargetSnssaiList = TargetSnssaiList +} +func (r *AccessTokenRequestRequest) SetTargetNsiList(TargetNsiList []string) { + r.TargetNsiList = TargetNsiList +} +func (r *AccessTokenRequestRequest) SetTargetNfSetId(TargetNfSetId string) { + r.TargetNfSetId = &TargetNfSetId +} +func (r *AccessTokenRequestRequest) SetTargetNfServiceSetId(TargetNfServiceSetId string) { + r.TargetNfServiceSetId = &TargetNfServiceSetId +} +func (r *AccessTokenRequestRequest) SetHnrfAccessTokenUri(HnrfAccessTokenUri string) { + r.HnrfAccessTokenUri = &HnrfAccessTokenUri +} +func (r *AccessTokenRequestRequest) SetSourceNfInstanceId(SourceNfInstanceId string) { + r.SourceNfInstanceId = &SourceNfInstanceId +} + +type AccessTokenRequestResponse struct { + AcceptEncoding string + CacheControl string + ContentEncoding string + Pragma string + NrfAccessTokenAccessTokenRsp models.NrfAccessTokenAccessTokenRsp +} + +type AccessTokenRequestError struct { + CacheControl string + Location string + Pragma string + AccessTokenErr models.AccessTokenErr + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AccessTokenRequestApiService) AccessTokenRequest(ctx context.Context, request *AccessTokenRequestRequest) (*AccessTokenRequestResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AccessTokenRequestResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/oauth2/token" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/x-www-form-urlencoded"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + localVarFormParams.Add("grant_type", openapi.ParameterToString(request.GrantType, "")) + + localVarFormParams.Add("nfInstanceId", openapi.ParameterToString(request.NfInstanceId, "")) + + if request.NfType != nil { + localVarFormParams.Add("nfType", openapi.ParameterToString(request.NfType, "")) + } + + if request.TargetNfType != nil { + localVarFormParams.Add("targetNfType", openapi.ParameterToString(request.TargetNfType, "")) + } + + localVarFormParams.Add("scope", openapi.ParameterToString(request.Scope, "")) + + if request.TargetNfInstanceId != nil { + localVarFormParams.Add("targetNfInstanceId", openapi.ParameterToString(request.TargetNfInstanceId, "")) + } + + if request.RequesterPlmn != nil { + localVarFormParams.Add("requesterPlmn", openapi.ParameterToString(request.RequesterPlmn, "")) + } + + if request.RequesterPlmnList != nil { + localVarFormParams.Add("requesterPlmnList", openapi.ParameterToString(request.RequesterPlmnList, "csv")) + } + + if request.RequesterSnssaiList != nil { + localVarFormParams.Add("requesterSnssaiList", openapi.ParameterToString(request.RequesterSnssaiList, "csv")) + } + + if request.RequesterFqdn != nil { + localVarFormParams.Add("requesterFqdn", openapi.ParameterToString(request.RequesterFqdn, "")) + } + + if request.RequesterSnpnList != nil { + localVarFormParams.Add("requesterSnpnList", openapi.ParameterToString(request.RequesterSnpnList, "csv")) + } + + if request.TargetPlmn != nil { + localVarFormParams.Add("targetPlmn", openapi.ParameterToString(request.TargetPlmn, "")) + } + + if request.TargetSnpn != nil { + localVarFormParams.Add("targetSnpn", openapi.ParameterToString(request.TargetSnpn, "")) + } + + if request.TargetSnssaiList != nil { + localVarFormParams.Add("targetSnssaiList", openapi.ParameterToString(request.TargetSnssaiList, "csv")) + } + + if request.TargetNsiList != nil { + localVarFormParams.Add("targetNsiList", openapi.ParameterToString(request.TargetNsiList, "csv")) + } + + if request.TargetNfSetId != nil { + localVarFormParams.Add("targetNfSetId", openapi.ParameterToString(request.TargetNfSetId, "")) + } + + if request.TargetNfServiceSetId != nil { + localVarFormParams.Add("targetNfServiceSetId", openapi.ParameterToString(request.TargetNfServiceSetId, "")) + } + + if request.HnrfAccessTokenUri != nil { + localVarFormParams.Add("hnrfAccessTokenUri", openapi.ParameterToString(request.HnrfAccessTokenUri, "")) + } + + if request.SourceNfInstanceId != nil { + localVarFormParams.Add("sourceNfInstanceId", openapi.ParameterToString(request.SourceNfInstanceId, "")) + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NrfAccessTokenAccessTokenRsp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.Pragma = localVarHTTPResponse.Header.Get("Pragma") + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.AccessTokenErr, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.Pragma = localVarHTTPResponse.Header.Get("Pragma") + apiError.ErrorModel = v + return nil, apiError + case 401: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AccessTokenRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/AccessToken/client.go b/nrf/AccessToken/client.go new file mode 100644 index 00000000..253b559b --- /dev/null +++ b/nrf/AccessToken/client.go @@ -0,0 +1,40 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AccessToken + +// APIClient manages communication with the NRF OAuth2 API v1.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AccessTokenRequestApi *AccessTokenRequestApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AccessTokenRequestApi = (*AccessTokenRequestApiService)(&c.common) + + return c +} diff --git a/nrf/AccessToken/configuration.go b/nrf/AccessToken/configuration.go new file mode 100644 index 00000000..da39cc32 --- /dev/null +++ b/nrf/AccessToken/configuration.go @@ -0,0 +1,82 @@ +/* + * NRF OAuth2 + * + * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AccessToken + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com", + url: "{apiRoot}/", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nrf/Bootstrapping/api_bootstrapping_request.go b/nrf/Bootstrapping/api_bootstrapping_request.go new file mode 100644 index 00000000..1d390647 --- /dev/null +++ b/nrf/Bootstrapping/api_bootstrapping_request.go @@ -0,0 +1,165 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Bootstrapping + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BootstrappingRequestApiService service + +/* +BootstrappingRequestApiService Bootstrapping Info Request + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param IfNoneMatch - Validator for conditional requests, as described in IETF RFC 7232, 3.2 + +@return BootstrappingInfoRequestResponse +*/ + +// BootstrappingInfoRequestRequest +type BootstrappingInfoRequestRequest struct { + IfNoneMatch *string +} + +func (r *BootstrappingInfoRequestRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} + +type BootstrappingInfoRequestResponse struct { + CacheControl string + ETag string + BootstrappingInfo models.BootstrappingInfo +} + +type BootstrappingInfoRequestError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *BootstrappingRequestApiService) BootstrappingInfoRequest(ctx context.Context, request *BootstrappingInfoRequestRequest) (*BootstrappingInfoRequestResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue BootstrappingInfoRequestResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/bootstrapping" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/3gppHal+json", "application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BootstrappingInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 307: + var v BootstrappingInfoRequestError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v BootstrappingInfoRequestError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v BootstrappingInfoRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v BootstrappingInfoRequestError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/Bootstrapping/client.go b/nrf/Bootstrapping/client.go new file mode 100644 index 00000000..3ca1ba2b --- /dev/null +++ b/nrf/Bootstrapping/client.go @@ -0,0 +1,40 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Bootstrapping + +// APIClient manages communication with the NRF Bootstrapping API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + BootstrappingRequestApi *BootstrappingRequestApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.BootstrappingRequestApi = (*BootstrappingRequestApiService)(&c.common) + + return c +} diff --git a/nrf/Bootstrapping/configuration.go b/nrf/Bootstrapping/configuration.go new file mode 100644 index 00000000..5cb43c63 --- /dev/null +++ b/nrf/Bootstrapping/configuration.go @@ -0,0 +1,82 @@ +/* + * NRF Bootstrapping + * + * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Bootstrapping + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com", + url: "{apiRoot}/", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nrf/NFDiscovery/api_complete_stored_search_document.go b/nrf/NFDiscovery/api_complete_stored_search_document.go new file mode 100644 index 00000000..7997490d --- /dev/null +++ b/nrf/NFDiscovery/api_complete_stored_search_document.go @@ -0,0 +1,156 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type CompleteStoredSearchDocumentApiService service + +/* +CompleteStoredSearchDocumentApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SearchId - Id of a stored search + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return RetrieveCompleteSearchResponse +*/ + +// RetrieveCompleteSearchRequest +type RetrieveCompleteSearchRequest struct { + SearchId *string + AcceptEncoding *string +} + +func (r *RetrieveCompleteSearchRequest) SetSearchId(SearchId string) { + r.SearchId = &SearchId +} +func (r *RetrieveCompleteSearchRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type RetrieveCompleteSearchResponse struct { + CacheControl string + ContentEncoding string + ETag string + StoredSearchResult models.StoredSearchResult +} + +type RetrieveCompleteSearchError struct { + Location string + RedirectResponse models.RedirectResponse +} + +func (a *CompleteStoredSearchDocumentApiService) RetrieveCompleteSearch(ctx context.Context, request *RetrieveCompleteSearchRequest) (*RetrieveCompleteSearchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RetrieveCompleteSearchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/searches/{searchId}/complete" + localVarPath = strings.Replace(localVarPath, "{"+"searchId"+"}", openapi.StringOfValue(*request.SearchId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.StoredSearchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v RetrieveCompleteSearchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RetrieveCompleteSearchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in RetrieveCompleteSearch", localVarHTTPResponse.StatusCode) + } +} diff --git a/nrf/NFDiscovery/api_individual_scp_domain_routing_information_subscription_document.go b/nrf/NFDiscovery/api_individual_scp_domain_routing_information_subscription_document.go new file mode 100644 index 00000000..b32087da --- /dev/null +++ b/nrf/NFDiscovery/api_individual_scp_domain_routing_information_subscription_document.go @@ -0,0 +1,205 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSCPDomainRoutingInformationSubscriptionDocumentApiService service + +/* +IndividualSCPDomainRoutingInformationSubscriptionDocumentApiService Deletes a subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionID - Unique ID of the subscription to remove + +@return ScpDomainRoutingInfoUnsubscribeResponse +*/ + +// ScpDomainRoutingInfoUnsubscribeRequest +type ScpDomainRoutingInfoUnsubscribeRequest struct { + SubscriptionID *string +} + +func (r *ScpDomainRoutingInfoUnsubscribeRequest) SetSubscriptionID(SubscriptionID string) { + r.SubscriptionID = &SubscriptionID +} + +type ScpDomainRoutingInfoUnsubscribeResponse struct { +} + +type ScpDomainRoutingInfoUnsubscribeError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualSCPDomainRoutingInformationSubscriptionDocumentApiService) ScpDomainRoutingInfoUnsubscribe(ctx context.Context, request *ScpDomainRoutingInfoUnsubscribeRequest) (*ScpDomainRoutingInfoUnsubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ScpDomainRoutingInfoUnsubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/scp-domain-routing-info-subs/{subscriptionID}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionID"+"}", openapi.StringOfValue(*request.SubscriptionID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ScpDomainRoutingInfoUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFDiscovery/api_nf_instances_store.go b/nrf/NFDiscovery/api_nf_instances_store.go new file mode 100644 index 00000000..4d9721b6 --- /dev/null +++ b/nrf/NFDiscovery/api_nf_instances_store.go @@ -0,0 +1,1414 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NFInstancesStoreApiService service + +/* +NFInstancesStoreApiService Search a collection of NF Instances + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param TargetNfType - Type of the target NF + * @param RequesterNfType - Type of the requester NF + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + * @param PreferredCollocatedNfTypes - collocated NF types that candidate NFs should preferentially support + * @param RequesterNfInstanceId - NfInstanceId of the requester NF + * @param ServiceNames - Names of the services offered by the NF + * @param RequesterNfInstanceFqdn - FQDN of the requester NF + * @param TargetPlmnList - Id of the PLMN of either the target NF, or in SNPN scenario the Credentials Holder in the PLMN + * @param RequesterPlmnList - Id of the PLMN where the NF issuing the Discovery request is located + * @param TargetNfInstanceId - Identity of the NF instance being discovered + * @param TargetNfInstanceName - Name of the NF instance being discovered + * @param TargetNfFqdn - FQDN of the NF instance being discovered + * @param HnrfUri - Uri of the home NRF + * @param Snssais - Slice info of the target NF + * @param RequesterSnssais - Slice info of the requester NF + * @param PlmnSpecificSnssaiList - PLMN specific Slice info of the target NF + * @param RequesterPlmnSpecificSnssaiList - PLMN-specific slice info of the NF issuing the Discovery request + * @param Dnn - Dnn supported by the BSF, SMF or UPF + * @param Ipv4Index - The IPv4 Index supported by the candidate UPF. + * @param Ipv6Index - The IPv6 Index supported by the candidate UPF. + * @param NsiList - NSI IDs that are served by the services being discovered + * @param SmfServingArea - + * @param MbsmfServingArea - + * @param Tai - Tracking Area Identity + * @param AmfRegionId - AMF Region Identity + * @param AmfSetId - AMF Set Identity + * @param Guami - Guami used to search for an appropriate AMF + * @param Supi - SUPI of the user + * @param UeIpv4Address - IPv4 address of the UE + * @param IpDomain - IP domain of the UE, which supported by BSF + * @param UeIpv6Prefix - IPv6 prefix of the UE + * @param PgwInd - Combined PGW-C and SMF or a standalone SMF + * @param PreferredPgwInd - Indicates combined PGW-C+SMF or standalone SMF are preferred + * @param Pgw - PGW FQDN of a combined PGW-C and SMF + * @param PgwIp - PGW IP Address of a combined PGW-C and SMF + * @param Gpsi - GPSI of the user + * @param ExternalGroupIdentity - external group identifier of the user + * @param InternalGroupIdentity - internal group identifier of the user + * @param PfdData - PFD data + * @param DataSet - data set supported by the NF + * @param RoutingIndicator - routing indicator in SUCI + * @param GroupIdList - Group IDs of the NFs being discovered + * @param DnaiList - Data network access identifiers of the NFs being discovered + * @param PduSessionTypes - list of PDU Session Type required to be supported by the target NF + * @param EventIdList - Analytics event(s) requested to be supported by the Nnwdaf_AnalyticsInfo service + * @param NwdafEventList - Analytics event(s) requested to be supported by the Nnwdaf_EventsSubscription service. + * @param SupportedFeatures - Features required to be supported by the target NF + * @param UpfIwkEpsInd - UPF supporting interworking with EPS or not + * @param ChfSupportedPlmn - PLMN ID supported by a CHF + * @param PreferredLocality - preferred target NF location + * @param AccessType - AccessType supported by the target NF + * @param Limit - Maximum number of NFProfiles to return in the response + * @param RequiredFeatures - Features required to be supported by the target NF + * @param ComplexQuery - the complex query condition expression + * @param MaxPayloadSize - Maximum payload size of the response expressed in kilo octets + * @param MaxPayloadSizeExt - Extended query for maximum payload size of the response expressed in kilo octets + * @param AtsssCapability - ATSSS Capability + * @param UpfUeIpAddrInd - UPF supporting allocating UE IP addresses/prefixes + * @param ClientType - Requested client type served by the NF + * @param LmfId - LMF identification to be discovered + * @param AnNodeType - Requested AN node type served by the NF + * @param RatType - Requested RAT type served by the NF + * @param PreferredTai - preferred Tracking Area Identity + * @param PreferredNfInstances - preferred NF Instances + * @param IfNoneMatch - Validator for conditional requests, as described in IETF RFC 7232, 3.2 + * @param TargetSnpn - Target SNPN Identity, or the Credentials Holder in the SNPN + * @param RequesterSnpnList - SNPN ID(s) of the NF instance issuing the Discovery request + * @param AfEeData - NEF exposured by the AF + * @param WAgfInfo - UPF collocated with W-AGF + * @param TngfInfo - UPF collocated with TNGF + * @param TwifInfo - UPF collocated with TWIF + * @param TargetNfSetId - Target NF Set ID + * @param TargetNfServiceSetId - Target NF Service Set ID + * @param NefId - NEF ID + * @param NotificationType - Notification Type + * @param N1MsgClass - N1 Message Class + * @param N2InfoClass - N2 Information Class + * @param ServingScope - areas that can be served by the target NF + * @param Imsi - IMSI of the requester UE to search for an appropriate NF (e.g. HSS) + * @param ImsPrivateIdentity - IMPI of the requester UE to search for a target HSS + * @param ImsPublicIdentity - IMS Public Identity of the requester UE to search for a target HSS + * @param Msisdn - MSISDN of the requester UE to search for a target HSS + * @param PreferredApiVersions - Preferred API version of the services to be discovered + * @param V2xSupportInd - PCF supports V2X + * @param RedundantGtpu - UPF supports redundant gtp-u to be discovered + * @param RedundantTransport - UPF supports redundant transport path to be discovered + * @param Ipups - UPF which is configured for IPUPS functionality to be discovered + * @param ScpDomainList - SCP domains the target SCP or SEPP belongs to + * @param AddressDomain - Address domain reachable through the SCP + * @param Ipv4Addr - IPv4 address reachable through the SCP + * @param Ipv6Prefix - IPv6 prefix reachable through the SCP + * @param ServedNfSetId - NF Set ID served by the SCP + * @param RemotePlmnId - Id of the PLMN reachable through the SCP or SEPP + * @param RemoteSnpnId - Id of the SNPN reachable through the SCP or SEPP + * @param DataForwarding - UPF Instance(s) configured for data forwarding are requested + * @param PreferredFullPlmn - NF Instance(s) serving the full PLMN are preferred + * @param RequesterFeatures - Features supported by the NF Service Consumer that is invoking the Nnrf_NFDiscovery service + * @param RealmId - realm-id to search for an appropriate UDSF + * @param StorageId - storage-id to search for an appropriate UDSF + * @param VsmfSupportInd - V-SMF capability supported by the target NF instance(s) + * @param IsmfSupportInd - I-SMF capability supported by the target NF instance(s) + * @param NrfDiscUri - Uri of the NRF holding the NF profile of a target NF Instance + * @param PreferredVendorSpecificFeatures - Preferred vendor specific features of the services to be discovered + * @param PreferredVendorSpecificNfFeatures - Preferred vendor specific features of the network function to be discovered + * @param RequiredPfcpFeatures - PFCP features required to be supported by the target UPF + * @param HomePubKeyId - Indicates the Home Network Public Key ID which shall be able to be served by the NF instance + * @param ProseSupportInd - PCF supports ProSe Capability + * @param AnalyticsAggregationInd - analytics aggregation is supported by NWDAF or not + * @param ServingNfSetId - NF Set Id served by target NF + * @param ServingNfType - NF type served by the target NF + * @param MlAnalyticsInfoList - Lisf of ML Analytics Filter information of Nnwdaf_MLModelProvision service + * @param AnalyticsMetadataProvInd - analytics matadata provisioning is supported by NWDAF or not + * @param NsacfCapability - the service capability supported by the target NSACF + * @param MbsSessionIdList - List of MBS Session ID(s) + * @param AreaSessionId - Area Session ID + * @param GmlcNumber - The GMLC Number supported by the GMLC + * @param UpfN6Ip - N6 IP address of PSA UPF supported by the EASDF + * @param TaiList - Tracking Area Identifiers of the NFs being discovered + * @param PreferencesPrecedence - Indicates the precedence of the preference query parameters (from higher to lower) + * @param SupportOnboardingCapability - Indicating the support for onboarding. + * @param UasNfFunctionalityInd - UAS NF functionality is supported by NEF or not + * @param V2xCapability - indicates the V2X capability that the target PCF needs to support. + * @param ProseCapability - indicates the ProSe capability that the target PCF needs to support. + * @param SharedDataId - Identifier of shared data stored in the NF being discovered + * @param TargetHni - Home Network Identifier query. + * @param TargetNwResolution - Resolution of the identity of the target PLMN based on the GPSI of the UE + * @param ExcludeNfinstList - NF Instance IDs to be excluded from the NF Discovery procedure + * @param ExcludeNfservinstList - NF service instance IDs to be excluded from the NF Discovery procedure + * @param ExcludeNfservicesetList - NF Service Set IDs to be excluded from the NF Discovery procedure + * @param ExcludeNfsetList - NF Set IDs to be excluded from the NF Discovery procedure + * @param PreferredAnalyticsDelays - Preferred analytics delays supported by the NWDAF to be discovered + * @param HighLatencyCom - Indicating the support for High Latency communication. + * @param NsacSai - NSAC Service Area Identifier + +@return SearchNFInstancesResponse +*/ + +// SearchNFInstancesRequest +type SearchNFInstancesRequest struct { + TargetNfType *models.NrfNfManagementNfType + RequesterNfType *models.NrfNfManagementNfType + AcceptEncoding *string + PreferredCollocatedNfTypes []models.CollocatedNfType + RequesterNfInstanceId *string + ServiceNames []models.ServiceName + RequesterNfInstanceFqdn *string + TargetPlmnList []models.PlmnId + RequesterPlmnList []models.PlmnId + TargetNfInstanceId *string + TargetNfInstanceName *string + TargetNfFqdn *string + HnrfUri *string + Snssais []models.Snssai + RequesterSnssais []models.ExtSnssai + PlmnSpecificSnssaiList []models.PlmnSnssai + RequesterPlmnSpecificSnssaiList []models.PlmnSnssai + Dnn *string + Ipv4Index *models.UdmSdmIpIndex + Ipv6Index *models.UdmSdmIpIndex + NsiList []string + SmfServingArea *string + MbsmfServingArea *string + Tai *models.Tai + AmfRegionId *string + AmfSetId *string + Guami *models.Guami + Supi *string + UeIpv4Address *string + IpDomain *string + UeIpv6Prefix *string + PgwInd *bool + PreferredPgwInd *bool + Pgw *string + PgwIp *models.IpAddr + Gpsi *string + ExternalGroupIdentity *string + InternalGroupIdentity *string + PfdData *models.NrfNfManagementPfdData + DataSet *models.DataSetId + RoutingIndicator *string + GroupIdList []string + DnaiList []string + PduSessionTypes []models.PduSessionType + EventIdList []models.EventId + NwdafEventList []models.NwdafEvent + SupportedFeatures *string + UpfIwkEpsInd *bool + ChfSupportedPlmn *models.PlmnId + PreferredLocality *string + AccessType *models.AccessType + Limit *int32 + RequiredFeatures []string + ComplexQuery *models.ComplexQuery + MaxPayloadSize *int32 + MaxPayloadSizeExt *int32 + AtsssCapability *models.AtsssCapability + UpfUeIpAddrInd *bool + ClientType *models.ExternalClientType + LmfId *string + AnNodeType *models.AnNodeType + RatType *models.RatType + PreferredTai *models.Tai + PreferredNfInstances []string + IfNoneMatch *string + TargetSnpn *models.PlmnIdNid + RequesterSnpnList []models.PlmnIdNid + AfEeData *models.AfEventExposureData + WAgfInfo *models.WAgfInfo + TngfInfo *models.TngfInfo + TwifInfo *models.TwifInfo + TargetNfSetId *string + TargetNfServiceSetId *string + NefId *string + NotificationType *models.NrfNfManagementNotificationType + N1MsgClass *models.N1MessageClass + N2InfoClass *models.N2InformationClass + ServingScope []string + Imsi *string + ImsPrivateIdentity *string + ImsPublicIdentity *string + Msisdn *string + PreferredApiVersions map[string]string + V2xSupportInd *bool + RedundantGtpu *bool + RedundantTransport *bool + Ipups *bool + ScpDomainList []string + AddressDomain *string + Ipv4Addr *string + Ipv6Prefix *string + ServedNfSetId *string + RemotePlmnId *models.PlmnId + RemoteSnpnId *models.PlmnIdNid + DataForwarding *bool + PreferredFullPlmn *bool + RequesterFeatures *string + RealmId *string + StorageId *string + VsmfSupportInd *bool + IsmfSupportInd *bool + NrfDiscUri *string + PreferredVendorSpecificFeatures map[string]map[string][]models.VendorSpecificFeature + PreferredVendorSpecificNfFeatures map[string][]models.VendorSpecificFeature + RequiredPfcpFeatures *string + HomePubKeyId *int32 + ProseSupportInd *bool + AnalyticsAggregationInd *bool + ServingNfSetId *string + ServingNfType *models.NrfNfManagementNfType + MlAnalyticsInfoList []models.MlAnalyticsInfo + AnalyticsMetadataProvInd *bool + NsacfCapability *models.NsacfCapability + MbsSessionIdList []models.MbsSessionId + AreaSessionId *int32 + GmlcNumber *string + UpfN6Ip *models.IpAddr + TaiList []models.Tai + PreferencesPrecedence []string + SupportOnboardingCapability *bool + UasNfFunctionalityInd *bool + V2xCapability *models.V2xCapability + ProseCapability *models.NrfNfManagementProSeCapability + SharedDataId *string + TargetHni *string + TargetNwResolution *bool + ExcludeNfinstList []string + ExcludeNfservinstList []models.NfServiceInstance + ExcludeNfservicesetList []string + ExcludeNfsetList []string + PreferredAnalyticsDelays map[string]int32 + HighLatencyCom *bool + NsacSai *string +} + +func (r *SearchNFInstancesRequest) SetTargetNfType(TargetNfType models.NrfNfManagementNfType) { + r.TargetNfType = &TargetNfType +} +func (r *SearchNFInstancesRequest) SetRequesterNfType(RequesterNfType models.NrfNfManagementNfType) { + r.RequesterNfType = &RequesterNfType +} +func (r *SearchNFInstancesRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} +func (r *SearchNFInstancesRequest) SetPreferredCollocatedNfTypes(PreferredCollocatedNfTypes []models.CollocatedNfType) { + r.PreferredCollocatedNfTypes = PreferredCollocatedNfTypes +} +func (r *SearchNFInstancesRequest) SetRequesterNfInstanceId(RequesterNfInstanceId string) { + r.RequesterNfInstanceId = &RequesterNfInstanceId +} +func (r *SearchNFInstancesRequest) SetServiceNames(ServiceNames []models.ServiceName) { + r.ServiceNames = ServiceNames +} +func (r *SearchNFInstancesRequest) SetRequesterNfInstanceFqdn(RequesterNfInstanceFqdn string) { + r.RequesterNfInstanceFqdn = &RequesterNfInstanceFqdn +} +func (r *SearchNFInstancesRequest) SetTargetPlmnList(TargetPlmnList []models.PlmnId) { + r.TargetPlmnList = TargetPlmnList +} +func (r *SearchNFInstancesRequest) SetRequesterPlmnList(RequesterPlmnList []models.PlmnId) { + r.RequesterPlmnList = RequesterPlmnList +} +func (r *SearchNFInstancesRequest) SetTargetNfInstanceId(TargetNfInstanceId string) { + r.TargetNfInstanceId = &TargetNfInstanceId +} +func (r *SearchNFInstancesRequest) SetTargetNfInstanceName(TargetNfInstanceName string) { + r.TargetNfInstanceName = &TargetNfInstanceName +} +func (r *SearchNFInstancesRequest) SetTargetNfFqdn(TargetNfFqdn string) { + r.TargetNfFqdn = &TargetNfFqdn +} +func (r *SearchNFInstancesRequest) SetHnrfUri(HnrfUri string) { + r.HnrfUri = &HnrfUri +} +func (r *SearchNFInstancesRequest) SetSnssais(Snssais []models.Snssai) { + r.Snssais = Snssais +} +func (r *SearchNFInstancesRequest) SetRequesterSnssais(RequesterSnssais []models.ExtSnssai) { + r.RequesterSnssais = RequesterSnssais +} +func (r *SearchNFInstancesRequest) SetPlmnSpecificSnssaiList(PlmnSpecificSnssaiList []models.PlmnSnssai) { + r.PlmnSpecificSnssaiList = PlmnSpecificSnssaiList +} +func (r *SearchNFInstancesRequest) SetRequesterPlmnSpecificSnssaiList(RequesterPlmnSpecificSnssaiList []models.PlmnSnssai) { + r.RequesterPlmnSpecificSnssaiList = RequesterPlmnSpecificSnssaiList +} +func (r *SearchNFInstancesRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *SearchNFInstancesRequest) SetIpv4Index(Ipv4Index models.UdmSdmIpIndex) { + r.Ipv4Index = &Ipv4Index +} +func (r *SearchNFInstancesRequest) SetIpv6Index(Ipv6Index models.UdmSdmIpIndex) { + r.Ipv6Index = &Ipv6Index +} +func (r *SearchNFInstancesRequest) SetNsiList(NsiList []string) { + r.NsiList = NsiList +} +func (r *SearchNFInstancesRequest) SetSmfServingArea(SmfServingArea string) { + r.SmfServingArea = &SmfServingArea +} +func (r *SearchNFInstancesRequest) SetMbsmfServingArea(MbsmfServingArea string) { + r.MbsmfServingArea = &MbsmfServingArea +} +func (r *SearchNFInstancesRequest) SetTai(Tai models.Tai) { + r.Tai = &Tai +} +func (r *SearchNFInstancesRequest) SetAmfRegionId(AmfRegionId string) { + r.AmfRegionId = &AmfRegionId +} +func (r *SearchNFInstancesRequest) SetAmfSetId(AmfSetId string) { + r.AmfSetId = &AmfSetId +} +func (r *SearchNFInstancesRequest) SetGuami(Guami models.Guami) { + r.Guami = &Guami +} +func (r *SearchNFInstancesRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SearchNFInstancesRequest) SetUeIpv4Address(UeIpv4Address string) { + r.UeIpv4Address = &UeIpv4Address +} +func (r *SearchNFInstancesRequest) SetIpDomain(IpDomain string) { + r.IpDomain = &IpDomain +} +func (r *SearchNFInstancesRequest) SetUeIpv6Prefix(UeIpv6Prefix string) { + r.UeIpv6Prefix = &UeIpv6Prefix +} +func (r *SearchNFInstancesRequest) SetPgwInd(PgwInd bool) { + r.PgwInd = &PgwInd +} +func (r *SearchNFInstancesRequest) SetPreferredPgwInd(PreferredPgwInd bool) { + r.PreferredPgwInd = &PreferredPgwInd +} +func (r *SearchNFInstancesRequest) SetPgw(Pgw string) { + r.Pgw = &Pgw +} +func (r *SearchNFInstancesRequest) SetPgwIp(PgwIp models.IpAddr) { + r.PgwIp = &PgwIp +} +func (r *SearchNFInstancesRequest) SetGpsi(Gpsi string) { + r.Gpsi = &Gpsi +} +func (r *SearchNFInstancesRequest) SetExternalGroupIdentity(ExternalGroupIdentity string) { + r.ExternalGroupIdentity = &ExternalGroupIdentity +} +func (r *SearchNFInstancesRequest) SetInternalGroupIdentity(InternalGroupIdentity string) { + r.InternalGroupIdentity = &InternalGroupIdentity +} +func (r *SearchNFInstancesRequest) SetPfdData(PfdData models.NrfNfManagementPfdData) { + r.PfdData = &PfdData +} +func (r *SearchNFInstancesRequest) SetDataSet(DataSet models.DataSetId) { + r.DataSet = &DataSet +} +func (r *SearchNFInstancesRequest) SetRoutingIndicator(RoutingIndicator string) { + r.RoutingIndicator = &RoutingIndicator +} +func (r *SearchNFInstancesRequest) SetGroupIdList(GroupIdList []string) { + r.GroupIdList = GroupIdList +} +func (r *SearchNFInstancesRequest) SetDnaiList(DnaiList []string) { + r.DnaiList = DnaiList +} +func (r *SearchNFInstancesRequest) SetPduSessionTypes(PduSessionTypes []models.PduSessionType) { + r.PduSessionTypes = PduSessionTypes +} +func (r *SearchNFInstancesRequest) SetEventIdList(EventIdList []models.EventId) { + r.EventIdList = EventIdList +} +func (r *SearchNFInstancesRequest) SetNwdafEventList(NwdafEventList []models.NwdafEvent) { + r.NwdafEventList = NwdafEventList +} +func (r *SearchNFInstancesRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *SearchNFInstancesRequest) SetUpfIwkEpsInd(UpfIwkEpsInd bool) { + r.UpfIwkEpsInd = &UpfIwkEpsInd +} +func (r *SearchNFInstancesRequest) SetChfSupportedPlmn(ChfSupportedPlmn models.PlmnId) { + r.ChfSupportedPlmn = &ChfSupportedPlmn +} +func (r *SearchNFInstancesRequest) SetPreferredLocality(PreferredLocality string) { + r.PreferredLocality = &PreferredLocality +} +func (r *SearchNFInstancesRequest) SetAccessType(AccessType models.AccessType) { + r.AccessType = &AccessType +} +func (r *SearchNFInstancesRequest) SetLimit(Limit int32) { + r.Limit = &Limit +} +func (r *SearchNFInstancesRequest) SetRequiredFeatures(RequiredFeatures []string) { + r.RequiredFeatures = RequiredFeatures +} +func (r *SearchNFInstancesRequest) SetComplexQuery(ComplexQuery models.ComplexQuery) { + r.ComplexQuery = &ComplexQuery +} +func (r *SearchNFInstancesRequest) SetMaxPayloadSize(MaxPayloadSize int32) { + r.MaxPayloadSize = &MaxPayloadSize +} +func (r *SearchNFInstancesRequest) SetMaxPayloadSizeExt(MaxPayloadSizeExt int32) { + r.MaxPayloadSizeExt = &MaxPayloadSizeExt +} +func (r *SearchNFInstancesRequest) SetAtsssCapability(AtsssCapability models.AtsssCapability) { + r.AtsssCapability = &AtsssCapability +} +func (r *SearchNFInstancesRequest) SetUpfUeIpAddrInd(UpfUeIpAddrInd bool) { + r.UpfUeIpAddrInd = &UpfUeIpAddrInd +} +func (r *SearchNFInstancesRequest) SetClientType(ClientType models.ExternalClientType) { + r.ClientType = &ClientType +} +func (r *SearchNFInstancesRequest) SetLmfId(LmfId string) { + r.LmfId = &LmfId +} +func (r *SearchNFInstancesRequest) SetAnNodeType(AnNodeType models.AnNodeType) { + r.AnNodeType = &AnNodeType +} +func (r *SearchNFInstancesRequest) SetRatType(RatType models.RatType) { + r.RatType = &RatType +} +func (r *SearchNFInstancesRequest) SetPreferredTai(PreferredTai models.Tai) { + r.PreferredTai = &PreferredTai +} +func (r *SearchNFInstancesRequest) SetPreferredNfInstances(PreferredNfInstances []string) { + r.PreferredNfInstances = PreferredNfInstances +} +func (r *SearchNFInstancesRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *SearchNFInstancesRequest) SetTargetSnpn(TargetSnpn models.PlmnIdNid) { + r.TargetSnpn = &TargetSnpn +} +func (r *SearchNFInstancesRequest) SetRequesterSnpnList(RequesterSnpnList []models.PlmnIdNid) { + r.RequesterSnpnList = RequesterSnpnList +} +func (r *SearchNFInstancesRequest) SetAfEeData(AfEeData models.AfEventExposureData) { + r.AfEeData = &AfEeData +} +func (r *SearchNFInstancesRequest) SetWAgfInfo(WAgfInfo models.WAgfInfo) { + r.WAgfInfo = &WAgfInfo +} +func (r *SearchNFInstancesRequest) SetTngfInfo(TngfInfo models.TngfInfo) { + r.TngfInfo = &TngfInfo +} +func (r *SearchNFInstancesRequest) SetTwifInfo(TwifInfo models.TwifInfo) { + r.TwifInfo = &TwifInfo +} +func (r *SearchNFInstancesRequest) SetTargetNfSetId(TargetNfSetId string) { + r.TargetNfSetId = &TargetNfSetId +} +func (r *SearchNFInstancesRequest) SetTargetNfServiceSetId(TargetNfServiceSetId string) { + r.TargetNfServiceSetId = &TargetNfServiceSetId +} +func (r *SearchNFInstancesRequest) SetNefId(NefId string) { + r.NefId = &NefId +} +func (r *SearchNFInstancesRequest) SetNotificationType(NotificationType models.NrfNfManagementNotificationType) { + r.NotificationType = &NotificationType +} +func (r *SearchNFInstancesRequest) SetN1MsgClass(N1MsgClass models.N1MessageClass) { + r.N1MsgClass = &N1MsgClass +} +func (r *SearchNFInstancesRequest) SetN2InfoClass(N2InfoClass models.N2InformationClass) { + r.N2InfoClass = &N2InfoClass +} +func (r *SearchNFInstancesRequest) SetServingScope(ServingScope []string) { + r.ServingScope = ServingScope +} +func (r *SearchNFInstancesRequest) SetImsi(Imsi string) { + r.Imsi = &Imsi +} +func (r *SearchNFInstancesRequest) SetImsPrivateIdentity(ImsPrivateIdentity string) { + r.ImsPrivateIdentity = &ImsPrivateIdentity +} +func (r *SearchNFInstancesRequest) SetImsPublicIdentity(ImsPublicIdentity string) { + r.ImsPublicIdentity = &ImsPublicIdentity +} +func (r *SearchNFInstancesRequest) SetMsisdn(Msisdn string) { + r.Msisdn = &Msisdn +} +func (r *SearchNFInstancesRequest) SetPreferredApiVersions(PreferredApiVersions map[string]string) { + r.PreferredApiVersions = PreferredApiVersions +} +func (r *SearchNFInstancesRequest) SetV2xSupportInd(V2xSupportInd bool) { + r.V2xSupportInd = &V2xSupportInd +} +func (r *SearchNFInstancesRequest) SetRedundantGtpu(RedundantGtpu bool) { + r.RedundantGtpu = &RedundantGtpu +} +func (r *SearchNFInstancesRequest) SetRedundantTransport(RedundantTransport bool) { + r.RedundantTransport = &RedundantTransport +} +func (r *SearchNFInstancesRequest) SetIpups(Ipups bool) { + r.Ipups = &Ipups +} +func (r *SearchNFInstancesRequest) SetScpDomainList(ScpDomainList []string) { + r.ScpDomainList = ScpDomainList +} +func (r *SearchNFInstancesRequest) SetAddressDomain(AddressDomain string) { + r.AddressDomain = &AddressDomain +} +func (r *SearchNFInstancesRequest) SetIpv4Addr(Ipv4Addr string) { + r.Ipv4Addr = &Ipv4Addr +} +func (r *SearchNFInstancesRequest) SetIpv6Prefix(Ipv6Prefix string) { + r.Ipv6Prefix = &Ipv6Prefix +} +func (r *SearchNFInstancesRequest) SetServedNfSetId(ServedNfSetId string) { + r.ServedNfSetId = &ServedNfSetId +} +func (r *SearchNFInstancesRequest) SetRemotePlmnId(RemotePlmnId models.PlmnId) { + r.RemotePlmnId = &RemotePlmnId +} +func (r *SearchNFInstancesRequest) SetRemoteSnpnId(RemoteSnpnId models.PlmnIdNid) { + r.RemoteSnpnId = &RemoteSnpnId +} +func (r *SearchNFInstancesRequest) SetDataForwarding(DataForwarding bool) { + r.DataForwarding = &DataForwarding +} +func (r *SearchNFInstancesRequest) SetPreferredFullPlmn(PreferredFullPlmn bool) { + r.PreferredFullPlmn = &PreferredFullPlmn +} +func (r *SearchNFInstancesRequest) SetRequesterFeatures(RequesterFeatures string) { + r.RequesterFeatures = &RequesterFeatures +} +func (r *SearchNFInstancesRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *SearchNFInstancesRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *SearchNFInstancesRequest) SetVsmfSupportInd(VsmfSupportInd bool) { + r.VsmfSupportInd = &VsmfSupportInd +} +func (r *SearchNFInstancesRequest) SetIsmfSupportInd(IsmfSupportInd bool) { + r.IsmfSupportInd = &IsmfSupportInd +} +func (r *SearchNFInstancesRequest) SetNrfDiscUri(NrfDiscUri string) { + r.NrfDiscUri = &NrfDiscUri +} +func (r *SearchNFInstancesRequest) SetPreferredVendorSpecificFeatures(PreferredVendorSpecificFeatures map[string]map[string][]models.VendorSpecificFeature) { + r.PreferredVendorSpecificFeatures = PreferredVendorSpecificFeatures +} +func (r *SearchNFInstancesRequest) SetPreferredVendorSpecificNfFeatures(PreferredVendorSpecificNfFeatures map[string][]models.VendorSpecificFeature) { + r.PreferredVendorSpecificNfFeatures = PreferredVendorSpecificNfFeatures +} +func (r *SearchNFInstancesRequest) SetRequiredPfcpFeatures(RequiredPfcpFeatures string) { + r.RequiredPfcpFeatures = &RequiredPfcpFeatures +} +func (r *SearchNFInstancesRequest) SetHomePubKeyId(HomePubKeyId int32) { + r.HomePubKeyId = &HomePubKeyId +} +func (r *SearchNFInstancesRequest) SetProseSupportInd(ProseSupportInd bool) { + r.ProseSupportInd = &ProseSupportInd +} +func (r *SearchNFInstancesRequest) SetAnalyticsAggregationInd(AnalyticsAggregationInd bool) { + r.AnalyticsAggregationInd = &AnalyticsAggregationInd +} +func (r *SearchNFInstancesRequest) SetServingNfSetId(ServingNfSetId string) { + r.ServingNfSetId = &ServingNfSetId +} +func (r *SearchNFInstancesRequest) SetServingNfType(ServingNfType models.NrfNfManagementNfType) { + r.ServingNfType = &ServingNfType +} +func (r *SearchNFInstancesRequest) SetMlAnalyticsInfoList(MlAnalyticsInfoList []models.MlAnalyticsInfo) { + r.MlAnalyticsInfoList = MlAnalyticsInfoList +} +func (r *SearchNFInstancesRequest) SetAnalyticsMetadataProvInd(AnalyticsMetadataProvInd bool) { + r.AnalyticsMetadataProvInd = &AnalyticsMetadataProvInd +} +func (r *SearchNFInstancesRequest) SetNsacfCapability(NsacfCapability models.NsacfCapability) { + r.NsacfCapability = &NsacfCapability +} +func (r *SearchNFInstancesRequest) SetMbsSessionIdList(MbsSessionIdList []models.MbsSessionId) { + r.MbsSessionIdList = MbsSessionIdList +} +func (r *SearchNFInstancesRequest) SetAreaSessionId(AreaSessionId int32) { + r.AreaSessionId = &AreaSessionId +} +func (r *SearchNFInstancesRequest) SetGmlcNumber(GmlcNumber string) { + r.GmlcNumber = &GmlcNumber +} +func (r *SearchNFInstancesRequest) SetUpfN6Ip(UpfN6Ip models.IpAddr) { + r.UpfN6Ip = &UpfN6Ip +} +func (r *SearchNFInstancesRequest) SetTaiList(TaiList []models.Tai) { + r.TaiList = TaiList +} +func (r *SearchNFInstancesRequest) SetPreferencesPrecedence(PreferencesPrecedence []string) { + r.PreferencesPrecedence = PreferencesPrecedence +} +func (r *SearchNFInstancesRequest) SetSupportOnboardingCapability(SupportOnboardingCapability bool) { + r.SupportOnboardingCapability = &SupportOnboardingCapability +} +func (r *SearchNFInstancesRequest) SetUasNfFunctionalityInd(UasNfFunctionalityInd bool) { + r.UasNfFunctionalityInd = &UasNfFunctionalityInd +} +func (r *SearchNFInstancesRequest) SetV2xCapability(V2xCapability models.V2xCapability) { + r.V2xCapability = &V2xCapability +} +func (r *SearchNFInstancesRequest) SetProseCapability(ProseCapability models.NrfNfManagementProSeCapability) { + r.ProseCapability = &ProseCapability +} +func (r *SearchNFInstancesRequest) SetSharedDataId(SharedDataId string) { + r.SharedDataId = &SharedDataId +} +func (r *SearchNFInstancesRequest) SetTargetHni(TargetHni string) { + r.TargetHni = &TargetHni +} +func (r *SearchNFInstancesRequest) SetTargetNwResolution(TargetNwResolution bool) { + r.TargetNwResolution = &TargetNwResolution +} +func (r *SearchNFInstancesRequest) SetExcludeNfinstList(ExcludeNfinstList []string) { + r.ExcludeNfinstList = ExcludeNfinstList +} +func (r *SearchNFInstancesRequest) SetExcludeNfservinstList(ExcludeNfservinstList []models.NfServiceInstance) { + r.ExcludeNfservinstList = ExcludeNfservinstList +} +func (r *SearchNFInstancesRequest) SetExcludeNfservicesetList(ExcludeNfservicesetList []string) { + r.ExcludeNfservicesetList = ExcludeNfservicesetList +} +func (r *SearchNFInstancesRequest) SetExcludeNfsetList(ExcludeNfsetList []string) { + r.ExcludeNfsetList = ExcludeNfsetList +} +func (r *SearchNFInstancesRequest) SetPreferredAnalyticsDelays(PreferredAnalyticsDelays map[string]int32) { + r.PreferredAnalyticsDelays = PreferredAnalyticsDelays +} +func (r *SearchNFInstancesRequest) SetHighLatencyCom(HighLatencyCom bool) { + r.HighLatencyCom = &HighLatencyCom +} +func (r *SearchNFInstancesRequest) SetNsacSai(NsacSai string) { + r.NsacSai = &NsacSai +} + +type SearchNFInstancesResponse struct { + CacheControl string + ContentEncoding string + ETag string + SearchResult models.SearchResult +} + +type SearchNFInstancesError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstancesStoreApiService) SearchNFInstances(ctx context.Context, request *SearchNFInstancesRequest) (*SearchNFInstancesResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SearchNFInstancesResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.TargetNfType == nil { + return nil, openapi.ReportError("TargetNfType must be non nil") + } else { + localVarQueryParams.Add("target-nf-type", openapi.ParameterToString(request.TargetNfType, "multi")) + } + if request.RequesterNfType == nil { + return nil, openapi.ReportError("RequesterNfType must be non nil") + } else { + localVarQueryParams.Add("requester-nf-type", openapi.ParameterToString(request.RequesterNfType, "multi")) + } + if request.PreferredCollocatedNfTypes != nil { + if len(request.PreferredCollocatedNfTypes) < 1 { + return &localVarReturnValue, openapi.ReportError("PreferredCollocatedNfTypes must have at least 1 elements") + } + localVarQueryParams.Add("preferred-collocated-nf-types", openapi.ParameterToString(request.PreferredCollocatedNfTypes, "csv")) + } + if request.RequesterNfInstanceId != nil { + localVarQueryParams.Add("requester-nf-instance-id", openapi.ParameterToString(request.RequesterNfInstanceId, "multi")) + } + if request.ServiceNames != nil { + if len(request.ServiceNames) < 1 { + return &localVarReturnValue, openapi.ReportError("ServiceNames must have at least 1 elements") + } + localVarQueryParams.Add("service-names", openapi.ParameterToString(request.ServiceNames, "csv")) + } + if request.RequesterNfInstanceFqdn != nil { + if len(*request.RequesterNfInstanceFqdn) < 4 { + return &localVarReturnValue, openapi.ReportError("RequesterNfInstanceFqdn must have at least 4 elements") + } + if len(*request.RequesterNfInstanceFqdn) > 253 { + return &localVarReturnValue, openapi.ReportError("RequesterNfInstanceFqdn must have less than 253 elements") + } + localVarQueryParams.Add("requester-nf-instance-fqdn", openapi.ParameterToString(request.RequesterNfInstanceFqdn, "multi")) + } + if request.TargetPlmnList != nil { + if len(request.TargetPlmnList) < 1 { + return &localVarReturnValue, openapi.ReportError("TargetPlmnList must have at least 1 elements") + } + localVarQueryParams.Add("target-plmn-list", openapi.ParameterToString(request.TargetPlmnList, "application/json")) + } + if request.RequesterPlmnList != nil { + if len(request.RequesterPlmnList) < 1 { + return &localVarReturnValue, openapi.ReportError("RequesterPlmnList must have at least 1 elements") + } + localVarQueryParams.Add("requester-plmn-list", openapi.ParameterToString(request.RequesterPlmnList, "application/json")) + } + if request.TargetNfInstanceId != nil { + localVarQueryParams.Add("target-nf-instance-id", openapi.ParameterToString(request.TargetNfInstanceId, "multi")) + } + if request.TargetNfInstanceName != nil { + localVarQueryParams.Add("target-nf-instance-name", openapi.ParameterToString(request.TargetNfInstanceName, "multi")) + } + if request.TargetNfFqdn != nil { + if len(*request.TargetNfFqdn) < 4 { + return &localVarReturnValue, openapi.ReportError("TargetNfFqdn must have at least 4 elements") + } + if len(*request.TargetNfFqdn) > 253 { + return &localVarReturnValue, openapi.ReportError("TargetNfFqdn must have less than 253 elements") + } + localVarQueryParams.Add("target-nf-fqdn", openapi.ParameterToString(request.TargetNfFqdn, "multi")) + } + if request.HnrfUri != nil { + localVarQueryParams.Add("hnrf-uri", openapi.ParameterToString(request.HnrfUri, "multi")) + } + if request.Snssais != nil { + if len(request.Snssais) < 1 { + return &localVarReturnValue, openapi.ReportError("Snssais must have at least 1 elements") + } + localVarQueryParams.Add("snssais", openapi.ParameterToString(request.Snssais, "application/json")) + } + if request.RequesterSnssais != nil { + if len(request.RequesterSnssais) < 1 { + return &localVarReturnValue, openapi.ReportError("RequesterSnssais must have at least 1 elements") + } + localVarQueryParams.Add("requester-snssais", openapi.ParameterToString(request.RequesterSnssais, "application/json")) + } + if request.PlmnSpecificSnssaiList != nil { + if len(request.PlmnSpecificSnssaiList) < 1 { + return &localVarReturnValue, openapi.ReportError("PlmnSpecificSnssaiList must have at least 1 elements") + } + localVarQueryParams.Add("plmn-specific-snssai-list", openapi.ParameterToString(request.PlmnSpecificSnssaiList, "application/json")) + } + if request.RequesterPlmnSpecificSnssaiList != nil { + if len(request.RequesterPlmnSpecificSnssaiList) < 1 { + return &localVarReturnValue, openapi.ReportError("RequesterPlmnSpecificSnssaiList must have at least 1 elements") + } + localVarQueryParams.Add("requester-plmn-specific-snssai-list", openapi.ParameterToString(request.RequesterPlmnSpecificSnssaiList, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Ipv4Index != nil { + localVarQueryParams.Add("ipv4-index", openapi.ParameterToString(request.Ipv4Index, "application/json")) + } + if request.Ipv6Index != nil { + localVarQueryParams.Add("ipv6-index", openapi.ParameterToString(request.Ipv6Index, "application/json")) + } + if request.NsiList != nil { + if len(request.NsiList) < 1 { + return &localVarReturnValue, openapi.ReportError("NsiList must have at least 1 elements") + } + localVarQueryParams.Add("nsi-list", openapi.ParameterToString(request.NsiList, "csv")) + } + if request.SmfServingArea != nil { + localVarQueryParams.Add("smf-serving-area", openapi.ParameterToString(request.SmfServingArea, "multi")) + } + if request.MbsmfServingArea != nil { + localVarQueryParams.Add("mbsmf-serving-area", openapi.ParameterToString(request.MbsmfServingArea, "multi")) + } + if request.Tai != nil { + localVarQueryParams.Add("tai", openapi.ParameterToString(request.Tai, "application/json")) + } + if request.AmfRegionId != nil { + localVarQueryParams.Add("amf-region-id", openapi.ParameterToString(request.AmfRegionId, "multi")) + } + if request.AmfSetId != nil { + localVarQueryParams.Add("amf-set-id", openapi.ParameterToString(request.AmfSetId, "multi")) + } + if request.Guami != nil { + localVarQueryParams.Add("guami", openapi.ParameterToString(request.Guami, "application/json")) + } + if request.Supi != nil { + localVarQueryParams.Add("supi", openapi.ParameterToString(request.Supi, "multi")) + } + if request.UeIpv4Address != nil { + localVarQueryParams.Add("ue-ipv4-address", openapi.ParameterToString(request.UeIpv4Address, "multi")) + } + if request.IpDomain != nil { + localVarQueryParams.Add("ip-domain", openapi.ParameterToString(request.IpDomain, "multi")) + } + if request.UeIpv6Prefix != nil { + localVarQueryParams.Add("ue-ipv6-prefix", openapi.ParameterToString(request.UeIpv6Prefix, "multi")) + } + if request.PgwInd != nil { + localVarQueryParams.Add("pgw-ind", openapi.ParameterToString(request.PgwInd, "multi")) + } + if request.PreferredPgwInd != nil { + localVarQueryParams.Add("preferred-pgw-ind", openapi.ParameterToString(request.PreferredPgwInd, "multi")) + } + if request.Pgw != nil { + if len(*request.Pgw) < 4 { + return &localVarReturnValue, openapi.ReportError("Pgw must have at least 4 elements") + } + if len(*request.Pgw) > 253 { + return &localVarReturnValue, openapi.ReportError("Pgw must have less than 253 elements") + } + localVarQueryParams.Add("pgw", openapi.ParameterToString(request.Pgw, "multi")) + } + if request.PgwIp != nil { + localVarQueryParams.Add("pgw-ip", openapi.ParameterToString(request.PgwIp, "application/json")) + } + if request.Gpsi != nil { + localVarQueryParams.Add("gpsi", openapi.ParameterToString(request.Gpsi, "multi")) + } + if request.ExternalGroupIdentity != nil { + localVarQueryParams.Add("external-group-identity", openapi.ParameterToString(request.ExternalGroupIdentity, "multi")) + } + if request.InternalGroupIdentity != nil { + localVarQueryParams.Add("internal-group-identity", openapi.ParameterToString(request.InternalGroupIdentity, "multi")) + } + if request.PfdData != nil { + localVarQueryParams.Add("pfd-data", openapi.ParameterToString(request.PfdData, "application/json")) + } + if request.DataSet != nil { + localVarQueryParams.Add("data-set", openapi.ParameterToString(request.DataSet, "multi")) + } + if request.RoutingIndicator != nil { + localVarQueryParams.Add("routing-indicator", openapi.ParameterToString(request.RoutingIndicator, "multi")) + } + if request.GroupIdList != nil { + if len(request.GroupIdList) < 1 { + return &localVarReturnValue, openapi.ReportError("GroupIdList must have at least 1 elements") + } + localVarQueryParams.Add("group-id-list", openapi.ParameterToString(request.GroupIdList, "csv")) + } + if request.DnaiList != nil { + if len(request.DnaiList) < 1 { + return &localVarReturnValue, openapi.ReportError("DnaiList must have at least 1 elements") + } + localVarQueryParams.Add("dnai-list", openapi.ParameterToString(request.DnaiList, "csv")) + } + if request.PduSessionTypes != nil { + if len(request.PduSessionTypes) < 1 { + return &localVarReturnValue, openapi.ReportError("PduSessionTypes must have at least 1 elements") + } + localVarQueryParams.Add("pdu-session-types", openapi.ParameterToString(request.PduSessionTypes, "csv")) + } + if request.EventIdList != nil { + if len(request.EventIdList) < 1 { + return &localVarReturnValue, openapi.ReportError("EventIdList must have at least 1 elements") + } + localVarQueryParams.Add("event-id-list", openapi.ParameterToString(request.EventIdList, "csv")) + } + if request.NwdafEventList != nil { + if len(request.NwdafEventList) < 1 { + return &localVarReturnValue, openapi.ReportError("NwdafEventList must have at least 1 elements") + } + localVarQueryParams.Add("nwdaf-event-list", openapi.ParameterToString(request.NwdafEventList, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.UpfIwkEpsInd != nil { + localVarQueryParams.Add("upf-iwk-eps-ind", openapi.ParameterToString(request.UpfIwkEpsInd, "multi")) + } + if request.ChfSupportedPlmn != nil { + localVarQueryParams.Add("chf-supported-plmn", openapi.ParameterToString(request.ChfSupportedPlmn, "application/json")) + } + if request.PreferredLocality != nil { + localVarQueryParams.Add("preferred-locality", openapi.ParameterToString(request.PreferredLocality, "multi")) + } + if request.AccessType != nil { + localVarQueryParams.Add("access-type", openapi.ParameterToString(request.AccessType, "multi")) + } + if request.Limit != nil { + localVarQueryParams.Add("limit", openapi.ParameterToString(request.Limit, "multi")) + } + if request.RequiredFeatures != nil { + if len(request.RequiredFeatures) < 1 { + return &localVarReturnValue, openapi.ReportError("RequiredFeatures must have at least 1 elements") + } + localVarQueryParams.Add("required-features", openapi.ParameterToString(request.RequiredFeatures, "csv")) + } + if request.ComplexQuery != nil { + localVarQueryParams.Add("complex-query", openapi.ParameterToString(request.ComplexQuery, "application/json")) + } + if request.MaxPayloadSize != nil { + localVarQueryParams.Add("max-payload-size", openapi.ParameterToString(request.MaxPayloadSize, "multi")) + } + if request.MaxPayloadSizeExt != nil { + localVarQueryParams.Add("max-payload-size-ext", openapi.ParameterToString(request.MaxPayloadSizeExt, "multi")) + } + if request.AtsssCapability != nil { + localVarQueryParams.Add("atsss-capability", openapi.ParameterToString(request.AtsssCapability, "application/json")) + } + if request.UpfUeIpAddrInd != nil { + localVarQueryParams.Add("upf-ue-ip-addr-ind", openapi.ParameterToString(request.UpfUeIpAddrInd, "multi")) + } + if request.ClientType != nil { + localVarQueryParams.Add("client-type", openapi.ParameterToString(request.ClientType, "application/json")) + } + if request.LmfId != nil { + localVarQueryParams.Add("lmf-id", openapi.ParameterToString(request.LmfId, "application/json")) + } + if request.AnNodeType != nil { + localVarQueryParams.Add("an-node-type", openapi.ParameterToString(request.AnNodeType, "application/json")) + } + if request.RatType != nil { + localVarQueryParams.Add("rat-type", openapi.ParameterToString(request.RatType, "application/json")) + } + if request.PreferredTai != nil { + localVarQueryParams.Add("preferred-tai", openapi.ParameterToString(request.PreferredTai, "application/json")) + } + if request.PreferredNfInstances != nil { + if len(request.PreferredNfInstances) < 1 { + return &localVarReturnValue, openapi.ReportError("PreferredNfInstances must have at least 1 elements") + } + localVarQueryParams.Add("preferred-nf-instances", openapi.ParameterToString(request.PreferredNfInstances, "csv")) + } + if request.TargetSnpn != nil { + localVarQueryParams.Add("target-snpn", openapi.ParameterToString(request.TargetSnpn, "application/json")) + } + if request.RequesterSnpnList != nil { + if len(request.RequesterSnpnList) < 1 { + return &localVarReturnValue, openapi.ReportError("RequesterSnpnList must have at least 1 elements") + } + localVarQueryParams.Add("requester-snpn-list", openapi.ParameterToString(request.RequesterSnpnList, "application/json")) + } + if request.AfEeData != nil { + localVarQueryParams.Add("af-ee-data", openapi.ParameterToString(request.AfEeData, "application/json")) + } + if request.WAgfInfo != nil { + localVarQueryParams.Add("w-agf-info", openapi.ParameterToString(request.WAgfInfo, "application/json")) + } + if request.TngfInfo != nil { + localVarQueryParams.Add("tngf-info", openapi.ParameterToString(request.TngfInfo, "application/json")) + } + if request.TwifInfo != nil { + localVarQueryParams.Add("twif-info", openapi.ParameterToString(request.TwifInfo, "application/json")) + } + if request.TargetNfSetId != nil { + localVarQueryParams.Add("target-nf-set-id", openapi.ParameterToString(request.TargetNfSetId, "multi")) + } + if request.TargetNfServiceSetId != nil { + localVarQueryParams.Add("target-nf-service-set-id", openapi.ParameterToString(request.TargetNfServiceSetId, "multi")) + } + if request.NefId != nil { + localVarQueryParams.Add("nef-id", openapi.ParameterToString(request.NefId, "multi")) + } + if request.NotificationType != nil { + localVarQueryParams.Add("notification-type", openapi.ParameterToString(request.NotificationType, "multi")) + } + if request.N1MsgClass != nil { + localVarQueryParams.Add("n1-msg-class", openapi.ParameterToString(request.N1MsgClass, "multi")) + } + if request.N2InfoClass != nil { + localVarQueryParams.Add("n2-info-class", openapi.ParameterToString(request.N2InfoClass, "multi")) + } + if request.ServingScope != nil { + if len(request.ServingScope) < 1 { + return &localVarReturnValue, openapi.ReportError("ServingScope must have at least 1 elements") + } + localVarQueryParams.Add("serving-scope", openapi.ParameterToString(request.ServingScope, "csv")) + } + if request.Imsi != nil { + localVarQueryParams.Add("imsi", openapi.ParameterToString(request.Imsi, "multi")) + } + if request.ImsPrivateIdentity != nil { + localVarQueryParams.Add("ims-private-identity", openapi.ParameterToString(request.ImsPrivateIdentity, "multi")) + } + if request.ImsPublicIdentity != nil { + localVarQueryParams.Add("ims-public-identity", openapi.ParameterToString(request.ImsPublicIdentity, "multi")) + } + if request.Msisdn != nil { + localVarQueryParams.Add("msisdn", openapi.ParameterToString(request.Msisdn, "multi")) + } + if request.PreferredApiVersions != nil { + localVarQueryParams.Add("preferred-api-versions", openapi.ParameterToString(request.PreferredApiVersions, "application/json")) + } + if request.V2xSupportInd != nil { + localVarQueryParams.Add("v2x-support-ind", openapi.ParameterToString(request.V2xSupportInd, "multi")) + } + if request.RedundantGtpu != nil { + localVarQueryParams.Add("redundant-gtpu", openapi.ParameterToString(request.RedundantGtpu, "multi")) + } + if request.RedundantTransport != nil { + localVarQueryParams.Add("redundant-transport", openapi.ParameterToString(request.RedundantTransport, "multi")) + } + if request.Ipups != nil { + localVarQueryParams.Add("ipups", openapi.ParameterToString(request.Ipups, "multi")) + } + if request.ScpDomainList != nil { + if len(request.ScpDomainList) < 1 { + return &localVarReturnValue, openapi.ReportError("ScpDomainList must have at least 1 elements") + } + localVarQueryParams.Add("scp-domain-list", openapi.ParameterToString(request.ScpDomainList, "csv")) + } + if request.AddressDomain != nil { + if len(*request.AddressDomain) < 4 { + return &localVarReturnValue, openapi.ReportError("AddressDomain must have at least 4 elements") + } + if len(*request.AddressDomain) > 253 { + return &localVarReturnValue, openapi.ReportError("AddressDomain must have less than 253 elements") + } + localVarQueryParams.Add("address-domain", openapi.ParameterToString(request.AddressDomain, "multi")) + } + if request.Ipv4Addr != nil { + localVarQueryParams.Add("ipv4-addr", openapi.ParameterToString(request.Ipv4Addr, "multi")) + } + if request.Ipv6Prefix != nil { + localVarQueryParams.Add("ipv6-prefix", openapi.ParameterToString(request.Ipv6Prefix, "multi")) + } + if request.ServedNfSetId != nil { + localVarQueryParams.Add("served-nf-set-id", openapi.ParameterToString(request.ServedNfSetId, "multi")) + } + if request.RemotePlmnId != nil { + localVarQueryParams.Add("remote-plmn-id", openapi.ParameterToString(request.RemotePlmnId, "application/json")) + } + if request.RemoteSnpnId != nil { + localVarQueryParams.Add("remote-snpn-id", openapi.ParameterToString(request.RemoteSnpnId, "application/json")) + } + if request.DataForwarding != nil { + localVarQueryParams.Add("data-forwarding", openapi.ParameterToString(request.DataForwarding, "multi")) + } + if request.PreferredFullPlmn != nil { + localVarQueryParams.Add("preferred-full-plmn", openapi.ParameterToString(request.PreferredFullPlmn, "multi")) + } + if request.RequesterFeatures != nil { + localVarQueryParams.Add("requester-features", openapi.ParameterToString(request.RequesterFeatures, "multi")) + } + if request.RealmId != nil { + localVarQueryParams.Add("realm-id", openapi.ParameterToString(request.RealmId, "multi")) + } + if request.StorageId != nil { + localVarQueryParams.Add("storage-id", openapi.ParameterToString(request.StorageId, "multi")) + } + if request.VsmfSupportInd != nil { + localVarQueryParams.Add("vsmf-support-ind", openapi.ParameterToString(request.VsmfSupportInd, "multi")) + } + if request.IsmfSupportInd != nil { + localVarQueryParams.Add("ismf-support-ind", openapi.ParameterToString(request.IsmfSupportInd, "multi")) + } + if request.NrfDiscUri != nil { + localVarQueryParams.Add("nrf-disc-uri", openapi.ParameterToString(request.NrfDiscUri, "multi")) + } + if request.PreferredVendorSpecificFeatures != nil { + localVarQueryParams.Add("preferred-vendor-specific-features", openapi.ParameterToString(request.PreferredVendorSpecificFeatures, "application/json")) + } + if request.PreferredVendorSpecificNfFeatures != nil { + localVarQueryParams.Add("preferred-vendor-specific-nf-features", openapi.ParameterToString(request.PreferredVendorSpecificNfFeatures, "application/json")) + } + if request.RequiredPfcpFeatures != nil { + localVarQueryParams.Add("required-pfcp-features", openapi.ParameterToString(request.RequiredPfcpFeatures, "multi")) + } + if request.HomePubKeyId != nil { + localVarQueryParams.Add("home-pub-key-id", openapi.ParameterToString(request.HomePubKeyId, "multi")) + } + if request.ProseSupportInd != nil { + localVarQueryParams.Add("prose-support-ind", openapi.ParameterToString(request.ProseSupportInd, "multi")) + } + if request.AnalyticsAggregationInd != nil { + localVarQueryParams.Add("analytics-aggregation-ind", openapi.ParameterToString(request.AnalyticsAggregationInd, "multi")) + } + if request.ServingNfSetId != nil { + localVarQueryParams.Add("serving-nf-set-id", openapi.ParameterToString(request.ServingNfSetId, "multi")) + } + if request.ServingNfType != nil { + localVarQueryParams.Add("serving-nf-type", openapi.ParameterToString(request.ServingNfType, "multi")) + } + if request.MlAnalyticsInfoList != nil { + if len(request.MlAnalyticsInfoList) < 1 { + return &localVarReturnValue, openapi.ReportError("MlAnalyticsInfoList must have at least 1 elements") + } + localVarQueryParams.Add("ml-analytics-info-list", openapi.ParameterToString(request.MlAnalyticsInfoList, "application/json")) + } + if request.AnalyticsMetadataProvInd != nil { + localVarQueryParams.Add("analytics-metadata-prov-ind", openapi.ParameterToString(request.AnalyticsMetadataProvInd, "multi")) + } + if request.NsacfCapability != nil { + localVarQueryParams.Add("nsacf-capability", openapi.ParameterToString(request.NsacfCapability, "multi")) + } + if request.MbsSessionIdList != nil { + if len(request.MbsSessionIdList) < 1 { + return &localVarReturnValue, openapi.ReportError("MbsSessionIdList must have at least 1 elements") + } + localVarQueryParams.Add("mbs-session-id-list", openapi.ParameterToString(request.MbsSessionIdList, "application/json")) + } + if request.AreaSessionId != nil { + localVarQueryParams.Add("area-session-id", openapi.ParameterToString(request.AreaSessionId, "multi")) + } + if request.GmlcNumber != nil { + localVarQueryParams.Add("gmlc-number", openapi.ParameterToString(request.GmlcNumber, "multi")) + } + if request.UpfN6Ip != nil { + localVarQueryParams.Add("upf-n6-ip", openapi.ParameterToString(request.UpfN6Ip, "application/json")) + } + if request.TaiList != nil { + if len(request.TaiList) < 1 { + return &localVarReturnValue, openapi.ReportError("TaiList must have at least 1 elements") + } + localVarQueryParams.Add("tai-list", openapi.ParameterToString(request.TaiList, "application/json")) + } + if request.PreferencesPrecedence != nil { + if len(request.PreferencesPrecedence) < 2 { + return &localVarReturnValue, openapi.ReportError("PreferencesPrecedence must have at least 2 elements") + } + localVarQueryParams.Add("preferences-precedence", openapi.ParameterToString(request.PreferencesPrecedence, "csv")) + } + if request.SupportOnboardingCapability != nil { + localVarQueryParams.Add("support-onboarding-capability", openapi.ParameterToString(request.SupportOnboardingCapability, "multi")) + } + if request.UasNfFunctionalityInd != nil { + localVarQueryParams.Add("uas-nf-functionality-ind", openapi.ParameterToString(request.UasNfFunctionalityInd, "multi")) + } + if request.V2xCapability != nil { + localVarQueryParams.Add("v2x-capability", openapi.ParameterToString(request.V2xCapability, "application/json")) + } + if request.ProseCapability != nil { + localVarQueryParams.Add("prose-capability", openapi.ParameterToString(request.ProseCapability, "application/json")) + } + if request.SharedDataId != nil { + localVarQueryParams.Add("shared-data-id", openapi.ParameterToString(request.SharedDataId, "multi")) + } + if request.TargetHni != nil { + if len(*request.TargetHni) < 4 { + return &localVarReturnValue, openapi.ReportError("TargetHni must have at least 4 elements") + } + if len(*request.TargetHni) > 253 { + return &localVarReturnValue, openapi.ReportError("TargetHni must have less than 253 elements") + } + localVarQueryParams.Add("target-hni", openapi.ParameterToString(request.TargetHni, "multi")) + } + if request.TargetNwResolution != nil { + localVarQueryParams.Add("target-nw-resolution", openapi.ParameterToString(request.TargetNwResolution, "multi")) + } + if request.ExcludeNfinstList != nil { + if len(request.ExcludeNfinstList) < 1 { + return &localVarReturnValue, openapi.ReportError("ExcludeNfinstList must have at least 1 elements") + } + localVarQueryParams.Add("exclude-nfinst-list", openapi.ParameterToString(request.ExcludeNfinstList, "csv")) + } + if request.ExcludeNfservinstList != nil { + if len(request.ExcludeNfservinstList) < 1 { + return &localVarReturnValue, openapi.ReportError("ExcludeNfservinstList must have at least 1 elements") + } + localVarQueryParams.Add("exclude-nfservinst-list", openapi.ParameterToString(request.ExcludeNfservinstList, "application/json")) + } + if request.ExcludeNfservicesetList != nil { + if len(request.ExcludeNfservicesetList) < 1 { + return &localVarReturnValue, openapi.ReportError("ExcludeNfservicesetList must have at least 1 elements") + } + localVarQueryParams.Add("exclude-nfserviceset-list", openapi.ParameterToString(request.ExcludeNfservicesetList, "csv")) + } + if request.ExcludeNfsetList != nil { + if len(request.ExcludeNfsetList) < 1 { + return &localVarReturnValue, openapi.ReportError("ExcludeNfsetList must have at least 1 elements") + } + localVarQueryParams.Add("exclude-nfset-list", openapi.ParameterToString(request.ExcludeNfsetList, "csv")) + } + if request.PreferredAnalyticsDelays != nil { + localVarQueryParams.Add("preferred-analytics-delays", openapi.ParameterToString(request.PreferredAnalyticsDelays, "application/json")) + } + if request.HighLatencyCom != nil { + localVarQueryParams.Add("high-latency-com", openapi.ParameterToString(request.HighLatencyCom, "multi")) + } + if request.NsacSai != nil { + localVarQueryParams.Add("nsac-sai", openapi.ParameterToString(request.NsacSai, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SearchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 411: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SearchNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFDiscovery/api_scp_domain_routing_information_document.go b/nrf/NFDiscovery/api_scp_domain_routing_information_document.go new file mode 100644 index 00000000..4f6f04aa --- /dev/null +++ b/nrf/NFDiscovery/api_scp_domain_routing_information_document.go @@ -0,0 +1,229 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SCPDomainRoutingInformationDocumentApiService service + +/* +SCPDomainRoutingInformationDocumentApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Local - Indication of local SCP Domain Routing Information + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return SCPDomainRoutingInfoGetResponse +*/ + +// SCPDomainRoutingInfoGetRequest +type SCPDomainRoutingInfoGetRequest struct { + Local *bool + AcceptEncoding *string +} + +func (r *SCPDomainRoutingInfoGetRequest) SetLocal(Local bool) { + r.Local = &Local +} +func (r *SCPDomainRoutingInfoGetRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type SCPDomainRoutingInfoGetResponse struct { + ContentEncoding string + ScpDomainRoutingInformation models.ScpDomainRoutingInformation +} + +type SCPDomainRoutingInfoGetError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *SCPDomainRoutingInformationDocumentApiService) SCPDomainRoutingInfoGet(ctx context.Context, request *SCPDomainRoutingInfoGetRequest) (*SCPDomainRoutingInfoGetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SCPDomainRoutingInfoGetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/scp-domain-routing-info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Local != nil { + localVarQueryParams.Add("local", openapi.ParameterToString(request.Local, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ScpDomainRoutingInformation, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + return &localVarReturnValue, nil + case 400: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 411: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SCPDomainRoutingInfoGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFDiscovery/api_scp_domain_routing_information_subscriptions_collection.go b/nrf/NFDiscovery/api_scp_domain_routing_information_subscriptions_collection.go new file mode 100644 index 00000000..0e3ca4d7 --- /dev/null +++ b/nrf/NFDiscovery/api_scp_domain_routing_information_subscriptions_collection.go @@ -0,0 +1,417 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SCPDomainRoutingInformationSubscriptionsCollectionApiService service + +/* +SCPDomainRoutingInformationSubscriptionsCollectionApiService Create a new subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ScpDomainRoutingInfoSubscription - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return ScpDomainRoutingInfoSubscribeResponse +*/ + +// ScpDomainRoutingInfoSubscribeRequest +type ScpDomainRoutingInfoSubscribeRequest struct { + ScpDomainRoutingInfoSubscription *models.ScpDomainRoutingInfoSubscription + ContentEncoding *string + AcceptEncoding *string +} + +func (r *ScpDomainRoutingInfoSubscribeRequest) SetScpDomainRoutingInfoSubscription(ScpDomainRoutingInfoSubscription models.ScpDomainRoutingInfoSubscription) { + r.ScpDomainRoutingInfoSubscription = &ScpDomainRoutingInfoSubscription +} +func (r *ScpDomainRoutingInfoSubscribeRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *ScpDomainRoutingInfoSubscribeRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type ScpDomainRoutingInfoSubscribeResponse struct { + AcceptEncoding string + ContentEncoding string + Location string + ScpDomainRoutingInfoSubscription models.ScpDomainRoutingInfoSubscription +} + +type ScpDomainRoutingInfoSubscribeError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SCPDomainRoutingInformationSubscriptionsCollectionApiService) ScpDomainRoutingInfoSubscribe(ctx context.Context, request *ScpDomainRoutingInfoSubscribeRequest) (*ScpDomainRoutingInfoSubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ScpDomainRoutingInfoSubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/scp-domain-routing-info-subs" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.ScpDomainRoutingInfoSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ScpDomainRoutingInfoSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 400: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ScpDomainRoutingInfoSubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostRequest +type ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostRequest struct { + ContentEncoding *string + ScpDomainRoutingInfoNotification *models.ScpDomainRoutingInfoNotification +} + +func (r *ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostRequest) SetScpDomainRoutingInfoNotification(ScpDomainRoutingInfoNotification models.ScpDomainRoutingInfoNotification) { + r.ScpDomainRoutingInfoNotification = &ScpDomainRoutingInfoNotification +} + +type ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostResponse struct { + AcceptEncoding string +} + +type ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SCPDomainRoutingInformationSubscriptionsCollectionApiService) ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePost(ctx context.Context, uri string, request *ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostRequest) (*ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + // body params + + if request.ScpDomainRoutingInfoNotification != nil { + localVarPostBody = request.ScpDomainRoutingInfoNotification + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ScpDomainRoutingInfoSubscribeOnScpDomainRoutingInformationChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nrf/NFDiscovery/api_stored_search_document.go b/nrf/NFDiscovery/api_stored_search_document.go new file mode 100644 index 00000000..585a7687 --- /dev/null +++ b/nrf/NFDiscovery/api_stored_search_document.go @@ -0,0 +1,156 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type StoredSearchDocumentApiService service + +/* +StoredSearchDocumentApiService + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SearchId - Id of a stored search + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return RetrieveStoredSearchResponse +*/ + +// RetrieveStoredSearchRequest +type RetrieveStoredSearchRequest struct { + SearchId *string + AcceptEncoding *string +} + +func (r *RetrieveStoredSearchRequest) SetSearchId(SearchId string) { + r.SearchId = &SearchId +} +func (r *RetrieveStoredSearchRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type RetrieveStoredSearchResponse struct { + CacheControl string + ContentEncoding string + ETag string + StoredSearchResult models.StoredSearchResult +} + +type RetrieveStoredSearchError struct { + Location string + RedirectResponse models.RedirectResponse +} + +func (a *StoredSearchDocumentApiService) RetrieveStoredSearch(ctx context.Context, request *RetrieveStoredSearchRequest) (*RetrieveStoredSearchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RetrieveStoredSearchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/searches/{searchId}" + localVarPath = strings.Replace(localVarPath, "{"+"searchId"+"}", openapi.StringOfValue(*request.SearchId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.StoredSearchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v RetrieveStoredSearchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RetrieveStoredSearchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in RetrieveStoredSearch", localVarHTTPResponse.StatusCode) + } +} diff --git a/nrf/NFDiscovery/client.go b/nrf/NFDiscovery/client.go new file mode 100644 index 00000000..edd34f4d --- /dev/null +++ b/nrf/NFDiscovery/client.go @@ -0,0 +1,50 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +// APIClient manages communication with the NRF NFDiscovery Service API v1.2.6 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + CompleteStoredSearchDocumentApi *CompleteStoredSearchDocumentApiService + IndividualSCPDomainRoutingInformationSubscriptionDocumentApi *IndividualSCPDomainRoutingInformationSubscriptionDocumentApiService + NFInstancesStoreApi *NFInstancesStoreApiService + SCPDomainRoutingInformationDocumentApi *SCPDomainRoutingInformationDocumentApiService + SCPDomainRoutingInformationSubscriptionsCollectionApi *SCPDomainRoutingInformationSubscriptionsCollectionApiService + StoredSearchDocumentApi *StoredSearchDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.CompleteStoredSearchDocumentApi = (*CompleteStoredSearchDocumentApiService)(&c.common) + c.IndividualSCPDomainRoutingInformationSubscriptionDocumentApi = (*IndividualSCPDomainRoutingInformationSubscriptionDocumentApiService)(&c.common) + c.NFInstancesStoreApi = (*NFInstancesStoreApiService)(&c.common) + c.SCPDomainRoutingInformationDocumentApi = (*SCPDomainRoutingInformationDocumentApiService)(&c.common) + c.SCPDomainRoutingInformationSubscriptionsCollectionApi = (*SCPDomainRoutingInformationSubscriptionsCollectionApiService)(&c.common) + c.StoredSearchDocumentApi = (*StoredSearchDocumentApiService)(&c.common) + + return c +} diff --git a/nrf/NFDiscovery/configuration.go b/nrf/NFDiscovery/configuration.go new file mode 100644 index 00000000..ddca06cf --- /dev/null +++ b/nrf/NFDiscovery/configuration.go @@ -0,0 +1,82 @@ +/* + * NRF NFDiscovery Service + * + * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFDiscovery + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnrf-disc/v1", + url: "{apiRoot}/nnrf-disc/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nrf/NFManagement/api_nf_instance_id_document.go b/nrf/NFManagement/api_nf_instance_id_document.go new file mode 100644 index 00000000..fa3419cb --- /dev/null +++ b/nrf/NFManagement/api_nf_instance_id_document.go @@ -0,0 +1,916 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NFInstanceIDDocumentApiService service + +/* +NFInstanceIDDocumentApiService Deregisters a given NF Instance + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfInstanceID - Unique ID of the NF Instance to deregister + +@return DeregisterNFInstanceResponse +*/ + +// DeregisterNFInstanceRequest +type DeregisterNFInstanceRequest struct { + NfInstanceID *string +} + +func (r *DeregisterNFInstanceRequest) SetNfInstanceID(NfInstanceID string) { + r.NfInstanceID = &NfInstanceID +} + +type DeregisterNFInstanceResponse struct { +} + +type DeregisterNFInstanceError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) DeregisterNFInstance(ctx context.Context, request *DeregisterNFInstanceRequest) (*DeregisterNFInstanceResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeregisterNFInstanceResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" + localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", openapi.StringOfValue(*request.NfInstanceID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeregisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstanceIDDocumentApiService Read the profile of a given NF Instance + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfInstanceID - Unique ID of the NF Instance + * @param RequesterFeatures - Features supported by the NF Service Consumer + +@return GetNFInstanceResponse +*/ + +// GetNFInstanceRequest +type GetNFInstanceRequest struct { + NfInstanceID *string + RequesterFeatures *string +} + +func (r *GetNFInstanceRequest) SetNfInstanceID(NfInstanceID string) { + r.NfInstanceID = &NfInstanceID +} +func (r *GetNFInstanceRequest) SetRequesterFeatures(RequesterFeatures string) { + r.RequesterFeatures = &RequesterFeatures +} + +type GetNFInstanceResponse struct { + ETag string + NrfNfManagementNfProfile models.NrfNfManagementNfProfile +} + +type GetNFInstanceError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) GetNFInstance(ctx context.Context, request *GetNFInstanceRequest) (*GetNFInstanceResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNFInstanceResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" + localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", openapi.StringOfValue(*request.NfInstanceID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.RequesterFeatures != nil { + localVarQueryParams.Add("requester-features", openapi.ParameterToString(request.RequesterFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementNfProfile, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 307: + var v GetNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 411: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstanceIDDocumentApiService Register a new NF Instance + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfInstanceID - Unique ID of the NF Instance to register + * @param NrfNfManagementNfProfile - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return RegisterNFInstanceResponse +*/ + +// RegisterNFInstanceRequest +type RegisterNFInstanceRequest struct { + NfInstanceID *string + NrfNfManagementNfProfile *models.NrfNfManagementNfProfile + ContentEncoding *string + AcceptEncoding *string +} + +func (r *RegisterNFInstanceRequest) SetNfInstanceID(NfInstanceID string) { + r.NfInstanceID = &NfInstanceID +} +func (r *RegisterNFInstanceRequest) SetNrfNfManagementNfProfile(NrfNfManagementNfProfile models.NrfNfManagementNfProfile) { + r.NrfNfManagementNfProfile = &NrfNfManagementNfProfile +} +func (r *RegisterNFInstanceRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *RegisterNFInstanceRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type RegisterNFInstanceResponse struct { + AcceptEncoding string + ContentEncoding string + ETag string + Location string + NrfNfManagementNfProfile models.NrfNfManagementNfProfile +} + +type RegisterNFInstanceError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) RegisterNFInstance(ctx context.Context, request *RegisterNFInstanceRequest) (*RegisterNFInstanceResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegisterNFInstanceResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" + localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", openapi.StringOfValue(*request.NfInstanceID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.NrfNfManagementNfProfile + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementNfProfile, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementNfProfile, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 307: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegisterNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstanceIDDocumentApiService Update NF Instance profile + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfInstanceID - Unique ID of the NF Instance to update + * @param PatchItem - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + * @param IfMatch - Validator for conditional requests, as described in IETF RFC 7232, 3.2 + +@return UpdateNFInstanceResponse +*/ + +// UpdateNFInstanceRequest +type UpdateNFInstanceRequest struct { + NfInstanceID *string + PatchItem []models.PatchItem + ContentEncoding *string + AcceptEncoding *string + IfMatch *string +} + +func (r *UpdateNFInstanceRequest) SetNfInstanceID(NfInstanceID string) { + r.NfInstanceID = &NfInstanceID +} +func (r *UpdateNFInstanceRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateNFInstanceRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *UpdateNFInstanceRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} +func (r *UpdateNFInstanceRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} + +type UpdateNFInstanceResponse struct { + AcceptEncoding string + ContentEncoding string + ETag string + NrfNfManagementNfProfile models.NrfNfManagementNfProfile +} + +type UpdateNFInstanceError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) UpdateNFInstance(ctx context.Context, request *UpdateNFInstanceRequest) (*UpdateNFInstanceResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNFInstanceResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances/{nfInstanceID}" + localVarPath = strings.Replace(localVarPath, "{"+"nfInstanceID"+"}", openapi.StringOfValue(*request.NfInstanceID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementNfProfile, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNFInstanceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFManagement/api_nf_instances_store.go b/nrf/NFManagement/api_nf_instances_store.go new file mode 100644 index 00000000..f2595ef5 --- /dev/null +++ b/nrf/NFManagement/api_nf_instances_store.go @@ -0,0 +1,436 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NFInstancesStoreApiService service + +/* +NFInstancesStoreApiService Retrieves a collection of NF Instances + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfType - Type of NF + * @param Limit - How many items to return at one time + * @param PageNumber - Page number where the response shall start + * @param PageSize - Maximum number of items in each returned page + +@return GetNFInstancesResponse +*/ + +// GetNFInstancesRequest +type GetNFInstancesRequest struct { + NfType *models.NrfNfManagementNfType + Limit *int32 + PageNumber *int32 + PageSize *int32 +} + +func (r *GetNFInstancesRequest) SetNfType(NfType models.NrfNfManagementNfType) { + r.NfType = &NfType +} +func (r *GetNFInstancesRequest) SetLimit(Limit int32) { + r.Limit = &Limit +} +func (r *GetNFInstancesRequest) SetPageNumber(PageNumber int32) { + r.PageNumber = &PageNumber +} +func (r *GetNFInstancesRequest) SetPageSize(PageSize int32) { + r.PageSize = &PageSize +} + +type GetNFInstancesResponse struct { + ETag string + UriList models.UriList +} + +type GetNFInstancesError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstancesStoreApiService) GetNFInstances(ctx context.Context, request *GetNFInstancesRequest) (*GetNFInstancesResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNFInstancesResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.NfType != nil { + localVarQueryParams.Add("nf-type", openapi.ParameterToString(request.NfType, "multi")) + } + if request.Limit != nil { + localVarQueryParams.Add("limit", openapi.ParameterToString(request.Limit, "multi")) + } + if request.PageNumber != nil { + localVarQueryParams.Add("page-number", openapi.ParameterToString(request.PageNumber, "multi")) + } + if request.PageSize != nil { + localVarQueryParams.Add("page-size", openapi.ParameterToString(request.PageSize, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/3gppHal+json", "application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UriList, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 307: + var v GetNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 411: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstancesStoreApiService Discover communication options supported by NRF for NF Instances + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + +@return OptionsNFInstancesResponse +*/ + +// OptionsNFInstancesRequest +type OptionsNFInstancesRequest struct { +} + +type OptionsNFInstancesResponse struct { + AcceptEncoding string + OptionsResponse models.OptionsResponse +} + +type OptionsNFInstancesError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstancesStoreApiService) OptionsNFInstances(ctx context.Context) (*OptionsNFInstancesResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Options") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue OptionsNFInstancesResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-instances" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.OptionsResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, nil + case 429: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v OptionsNFInstancesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFManagement/api_subscription_id_document.go b/nrf/NFManagement/api_subscription_id_document.go new file mode 100644 index 00000000..25abfa6b --- /dev/null +++ b/nrf/NFManagement/api_subscription_id_document.go @@ -0,0 +1,449 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionIDDocumentApiService service + +/* +SubscriptionIDDocumentApiService Deletes a subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionID - Unique ID of the subscription to remove + +@return RemoveSubscriptionResponse +*/ + +// RemoveSubscriptionRequest +type RemoveSubscriptionRequest struct { + SubscriptionID *string +} + +func (r *RemoveSubscriptionRequest) SetSubscriptionID(SubscriptionID string) { + r.SubscriptionID = &SubscriptionID +} + +type RemoveSubscriptionResponse struct { +} + +type RemoveSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionIDDocumentApiService) RemoveSubscription(ctx context.Context, request *RemoveSubscriptionRequest) (*RemoveSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionID}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionID"+"}", openapi.StringOfValue(*request.SubscriptionID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RemoveSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SubscriptionIDDocumentApiService Updates a subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionID - Unique ID of the subscription to update + * @param PatchItem - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return UpdateSubscriptionResponse +*/ + +// UpdateSubscriptionRequest +type UpdateSubscriptionRequest struct { + SubscriptionID *string + PatchItem []models.PatchItem + ContentEncoding *string + AcceptEncoding *string +} + +func (r *UpdateSubscriptionRequest) SetSubscriptionID(SubscriptionID string) { + r.SubscriptionID = &SubscriptionID +} +func (r *UpdateSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateSubscriptionRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *UpdateSubscriptionRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type UpdateSubscriptionResponse struct { + AcceptEncoding string + ContentEncoding string + NrfNfManagementSubscriptionData models.NrfNfManagementSubscriptionData +} + +type UpdateSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionIDDocumentApiService) UpdateSubscription(ctx context.Context, request *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionID}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionID"+"}", openapi.StringOfValue(*request.SubscriptionID), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nrf/NFManagement/api_subscriptions_collection.go b/nrf/NFManagement/api_subscriptions_collection.go new file mode 100644 index 00000000..e48a966f --- /dev/null +++ b/nrf/NFManagement/api_subscriptions_collection.go @@ -0,0 +1,457 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService Create a new subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NrfNfManagementSubscriptionData - + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return CreateSubscriptionResponse +*/ + +// CreateSubscriptionRequest +type CreateSubscriptionRequest struct { + NrfNfManagementSubscriptionData *models.NrfNfManagementSubscriptionData + ContentEncoding *string + AcceptEncoding *string +} + +func (r *CreateSubscriptionRequest) SetNrfNfManagementSubscriptionData(NrfNfManagementSubscriptionData models.NrfNfManagementSubscriptionData) { + r.NrfNfManagementSubscriptionData = &NrfNfManagementSubscriptionData +} +func (r *CreateSubscriptionRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *CreateSubscriptionRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type CreateSubscriptionResponse struct { + AcceptEncoding string + ContentEncoding string + Location string + NrfNfManagementSubscriptionData models.NrfNfManagementSubscriptionData +} + +type CreateSubscriptionError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateSubscription(ctx context.Context, request *CreateSubscriptionRequest) (*CreateSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.NrfNfManagementSubscriptionData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NrfNfManagementSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateSubscriptionOnNFStatusEventPostRequest +type CreateSubscriptionOnNFStatusEventPostRequest struct { + ContentEncoding *string + NrfNfManagementNotificationData *models.NrfNfManagementNotificationData +} + +func (r *CreateSubscriptionOnNFStatusEventPostRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *CreateSubscriptionOnNFStatusEventPostRequest) SetNrfNfManagementNotificationData(NrfNfManagementNotificationData models.NrfNfManagementNotificationData) { + r.NrfNfManagementNotificationData = &NrfNfManagementNotificationData +} + +type CreateSubscriptionOnNFStatusEventPostResponse struct { + AcceptEncoding string +} + +type CreateSubscriptionOnNFStatusEventPostError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateSubscriptionOnNFStatusEventPost(ctx context.Context, uri string, request *CreateSubscriptionOnNFStatusEventPostRequest) (*CreateSubscriptionOnNFStatusEventPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSubscriptionOnNFStatusEventPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + // body params + + if request.NrfNfManagementNotificationData != nil { + localVarPostBody = request.NrfNfManagementNotificationData + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSubscriptionOnNFStatusEventPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nrf/NFManagement/client.go b/nrf/NFManagement/client.go new file mode 100644 index 00000000..47aba3f2 --- /dev/null +++ b/nrf/NFManagement/client.go @@ -0,0 +1,46 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +// APIClient manages communication with the NRF NFManagement Service API v1.2.6 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + NFInstanceIDDocumentApi *NFInstanceIDDocumentApiService + NFInstancesStoreApi *NFInstancesStoreApiService + SubscriptionIDDocumentApi *SubscriptionIDDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.NFInstanceIDDocumentApi = (*NFInstanceIDDocumentApiService)(&c.common) + c.NFInstancesStoreApi = (*NFInstancesStoreApiService)(&c.common) + c.SubscriptionIDDocumentApi = (*SubscriptionIDDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nrf/NFManagement/configuration.go b/nrf/NFManagement/configuration.go new file mode 100644 index 00000000..1df699cd --- /dev/null +++ b/nrf/NFManagement/configuration.go @@ -0,0 +1,82 @@ +/* + * NRF NFManagement Service + * + * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ + * + * API version: 1.2.6 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NFManagement + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnrf-nfm/v1", + url: "{apiRoot}/nnrf-nfm/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nrf/service.go b/nrf/service.go new file mode 100644 index 00000000..e44a611b --- /dev/null +++ b/nrf/service.go @@ -0,0 +1,296 @@ +package nrf + +import ( + "context" + "net/http" + "sync" + "time" + + "github.com/pkg/errors" + "github.com/sirupsen/logrus" + "go.opentelemetry.io/otel" + + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + "github.com/free5gc/openapi/nrf/NFDiscovery" + "github.com/free5gc/openapi/nrf/NFManagement" +) + +const ( + RetryRegisterNrfDuration = 2 * time.Second + HBTimerInAdvanceDuration = 500 * time.Millisecond +) + +var hbTickers sync.Map // key: nrfUri, value: *heartBeatTicker + +type heartBeatTicker struct { + ticker *time.Ticker + stopCh chan struct{} +} + +func newHBTicker(period int32) *heartBeatTicker { + duration := time.Duration(period)*time.Second - HBTimerInAdvanceDuration + return &heartBeatTicker{ + ticker: time.NewTicker(duration), + stopCh: make(chan struct{}), + } +} + +func (t *heartBeatTicker) reset(period int32) { + duration := time.Duration(period)*time.Second - HBTimerInAdvanceDuration + t.ticker.Reset(duration) +} + +func (t *heartBeatTicker) stop() { + t.ticker.Stop() + close(t.stopCh) +} + +func startHBTimer( + client *NFManagement.APIClient, + nrfUri, nfInstID, nfType string, + period int32, + log *logrus.Entry, +) { + err := resetHBTimer(nrfUri, period, log) + if err == nil { + return + } + if period <= 0 { + return + } + + // in advance to prevent from NRF expire before undergoing heart beat + hbTicker := newHBTicker(period) + hbTickers.Store(nrfUri, hbTicker) + log.Debugf("new heartBeatTicker: %d", period) + + go func() { + for { + select { + case <-hbTicker.stopCh: + return + case <-hbTicker.ticker.C: + // use new traceID for each HeartBeat to debug easily + traceCtx, span := otel.GetTracerProvider().Tracer(nfType).Start( + context.Background(), "HeartBeat") + defer span.End() + newLog := log.WithContext(traceCtx) + + err := sendHeartBeat(traceCtx, client, nrfUri, nfInstID, newLog) + if err != nil { + newLog.Errorln(err) + } + } + } + }() +} + +func resetHBTimer(nrfUri string, period int32, log *logrus.Entry) error { + if period < 0 { + return errors.New("period cannot be negative") + } + + v, ok := hbTickers.Load(nrfUri) + if !ok { + return errors.New("no hbTicker found") + } + hbTicker, ok := v.(*heartBeatTicker) + if !ok { + return errors.New("Type is not heartBeatTicker") + } + + if period == 0 { + hbTickers.Delete(nrfUri) + hbTicker.stop() + log.Debugf("stop heartBeatTicker") + return nil + } + + hbTicker.reset(period) + log.Debugf("reset heartBeatTicker: %d", period) + return nil +} + +func sendHeartBeat( + traceCtx context.Context, + client *NFManagement.APIClient, + nrfUri, nfInstID string, + log *logrus.Entry, +) error { + var err error + req := new(NFManagement.UpdateNFInstanceRequest) + req.SetNfInstanceID(nfInstID) + patchs := []models.PatchItem{ + { + Op: models.PatchOperation_REPLACE, + Path: "/nfStatus", + Value: "REGISTERED", + }, + } + req.SetPatchItem(patchs) + rsp, err := client.NFInstanceIDDocumentApi.UpdateNFInstance(traceCtx, req) + if err != nil { + return errors.Wrapf(err, "send heartbeat") + } + + // NRF response 200 which has full NFProfile and NfInstanceId is mandatory. + // 200 may have NFProfile.HeartBeatTimer=0 to disable heartbeat + if rsp.NrfNfManagementNfProfile.NfInstanceId != "" { + err = resetHBTimer(nrfUri, rsp.NrfNfManagementNfProfile.HeartBeatTimer, log) + if err != nil { + return errors.Wrapf(err, "set heartbeat") + } + } + + return nil +} + +func RegisterNFInstance( + traceCtx context.Context, + client *NFManagement.APIClient, + nrfUri string, + nfProfile *models.NrfNfManagementNfProfile, + log *logrus.Entry, +) error { + if client == nil || nfProfile == nil || log == nil { + return errors.Errorf("client/nfProfile/log is nil; Skip RegisterNFInstance") + } + + req := &NFManagement.RegisterNFInstanceRequest{} + req.SetNfInstanceID(nfProfile.NfInstanceId) + req.SetNrfNfManagementNfProfile(*nfProfile) + for { + select { + case <-traceCtx.Done(): + return errors.Errorf("Stop registration to NRF") + default: + } + + rsp, err := client.NFInstanceIDDocumentApi.RegisterNFInstance(traceCtx, req) + if err != nil { + apiError := openapi.GenericOpenAPIError{} + if errors.As(err, &apiError) { + errModels := apiError.ErrorModel.(NFManagement.RegisterNFInstanceError) + switch apiError.ErrorStatus { + case http.StatusTemporaryRedirect: + return errors.Errorf( + "RegisterNFInstance: redirect service cause by %s", + errModels.RedirectResponse.Cause, + ) + case http.StatusPermanentRedirect: + return errors.Errorf( + "RegisterNFInstance: redirect service cause by %s", + errModels.RedirectResponse.Cause, + ) + default: + return errors.Errorf( + "RegisterNFInstance: failed: problem[%#v]", + errModels.ProblemDetails) + } + } else { + log.Infof("Register to NRF Error[%v], sleep 2s and retry", err) + time.Sleep(RetryRegisterNrfDuration) + continue + } + } + + startHBTimer(client, nrfUri, nfProfile.NfInstanceId, string(nfProfile.NfType), + rsp.NrfNfManagementNfProfile.HeartBeatTimer, log) + + if rsp.Location != "" { + log.Infof("NFRegister Created") + break + } else { + log.Infof("NFRegister Update") + break + } + } + return nil +} + +func DeregisterNFInstance( + traceCtx context.Context, + client *NFManagement.APIClient, + nrfUri, nfInstID string, + log *logrus.Entry, +) error { + if nrfUri == "" { + log.Infof("No NRF URI; Skip DeregisterNFInstance") + return nil + } + log.Infof("DeregisterNFInstance") + + v, ok := hbTickers.LoadAndDelete(nrfUri) + if ok { + hbTicker, ok := v.(*heartBeatTicker) + if ok { + hbTicker.stop() + } + } + + req := &NFManagement.DeregisterNFInstanceRequest{} + req.SetNfInstanceID(nfInstID) + _, err := client.NFInstanceIDDocumentApi.DeregisterNFInstance(traceCtx, req) + if err != nil { + apiError := &openapi.GenericOpenAPIError{} + if errors.As(err, &apiError) { + errModels := apiError.ErrorModel.(NFManagement.DeregisterNFInstanceError) + switch apiError.ErrorStatus { + case http.StatusTemporaryRedirect: + return errors.Errorf( + "redirect service cause by %s", errModels.RedirectResponse.Cause) + case http.StatusPermanentRedirect: + return errors.Errorf( + "redirect service cause by %s", errModels.RedirectResponse.Cause) + default: + return errors.Errorf( + "failed: problem[%#v]", errModels.ProblemDetails) + } + } else { + return errors.Wrap(err, "deregister failed") + } + } + return nil +} + +func SearchNFInstances( + traceCtx context.Context, + client *NFDiscovery.APIClient, + req *NFDiscovery.SearchNFInstancesRequest, + log *logrus.Entry, +) ( + *models.NrfNfDiscoveryNfProfile, string, error, +) { + if req == nil { + return nil, "", errors.Errorf("SearchNFInstancesRequest is nil") + } + + rsp, err := client.NFInstancesStoreApi.SearchNFInstances(traceCtx, req) + if err != nil { + apiError := &openapi.GenericOpenAPIError{} + if errors.As(err, &apiError) { + errModels := apiError.ErrorModel.(NFDiscovery.SearchNFInstancesError) + switch apiError.ErrorStatus { + case http.StatusTemporaryRedirect: + return nil, "", errors.Errorf( + "redirect service cause by %s", errModels.RedirectResponse.Cause) + case http.StatusPermanentRedirect: + return nil, "", errors.Errorf( + "redirect service cause by %s", errModels.RedirectResponse.Cause) + default: + return nil, "", errors.Errorf( + "failed: problem[%#v]", errModels.ProblemDetails) + } + } else { + return nil, "", errors.Wrap(err, "search nf failed") + } + } + + nfProf, uri, err := openapi.GetServiceNfProfileAndUri( + rsp.SearchResult.NfInstances, req.ServiceNames[0]) + if err != nil { + return nil, "", err + } + return nfProf, uri, nil +} diff --git a/nrf/service_test.go b/nrf/service_test.go new file mode 100644 index 00000000..9a9c9fad --- /dev/null +++ b/nrf/service_test.go @@ -0,0 +1,27 @@ +package nrf + +import ( + "testing" + + "github.com/sirupsen/logrus" + "github.com/stretchr/testify/require" + + "github.com/free5gc/openapi/nrf/NFManagement" +) + +func TestSetHBTimer(t *testing.T) { + configuration := NFManagement.NewConfiguration() + configuration.SetBasePath("nrfUri1") + client := NFManagement.NewAPIClient(configuration) + log := logrus.New().WithField("test", "HB") + + startHBTimer(client, "nrfUri1", "instId1", "NF", 3, log) + err := resetHBTimer("nrfUri1", 1, log) + require.NoError(t, err) + err = resetHBTimer("nrfUri1", 0, log) + require.NoError(t, err) + err = resetHBTimer("nrfUri1", -1, log) + require.Error(t, err) + err = resetHBTimer("nrfUri2", 1, log) + require.Error(t, err) +} diff --git a/nssf/NSSAIAvailability/api_nf_instance_id_document.go b/nssf/NSSAIAvailability/api_nf_instance_id_document.go new file mode 100644 index 00000000..fa72160f --- /dev/null +++ b/nssf/NSSAIAvailability/api_nf_instance_id_document.go @@ -0,0 +1,642 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NFInstanceIDDocumentApiService service + +/* +NFInstanceIDDocumentApiService Deletes an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfId - Identifier of the NF service consumer instance + +@return NSSAIAvailabilityDeleteResponse +*/ + +// NSSAIAvailabilityDeleteRequest +type NSSAIAvailabilityDeleteRequest struct { + NfId *string +} + +func (r *NSSAIAvailabilityDeleteRequest) SetNfId(NfId string) { + r.NfId = &NfId +} + +type NSSAIAvailabilityDeleteResponse struct { +} + +type NSSAIAvailabilityDeleteError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityDelete(ctx context.Context, request *NSSAIAvailabilityDeleteRequest) (*NSSAIAvailabilityDeleteResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityDeleteResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" + localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", openapi.StringOfValue(*request.NfId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityDeleteError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstanceIDDocumentApiService Updates an already existing S-NSSAIs per TA provided by the NF service consumer (e.g AMF) + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfId - Identifier of the NF service consumer instance + * @param PatchItem - JSON Patch instructions to update at the NSSF, the S-NSSAIs supported per TA + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return NSSAIAvailabilityPatchResponse +*/ + +// NSSAIAvailabilityPatchRequest +type NSSAIAvailabilityPatchRequest struct { + NfId *string + PatchItem []models.PatchItem + ContentEncoding *string + AcceptEncoding *string +} + +func (r *NSSAIAvailabilityPatchRequest) SetNfId(NfId string) { + r.NfId = &NfId +} +func (r *NSSAIAvailabilityPatchRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *NSSAIAvailabilityPatchRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *NSSAIAvailabilityPatchRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type NSSAIAvailabilityPatchResponse struct { + AcceptEncoding string + ContentEncoding string + AuthorizedNssaiAvailabilityInfo models.AuthorizedNssaiAvailabilityInfo +} + +type NSSAIAvailabilityPatchError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityPatch(ctx context.Context, request *NSSAIAvailabilityPatchRequest) (*NSSAIAvailabilityPatchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityPatchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" + localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", openapi.StringOfValue(*request.NfId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json:"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthorizedNssaiAvailabilityInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NFInstanceIDDocumentApiService Updates/replaces the NSSF with the S-NSSAIs the NF service consumer (e.g AMF)supports per TA + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfId - Identifier of the NF service consumer instance + * @param NssaiAvailabilityInfo - Parameters to update/replace at the NSSF, the S-NSSAIs supported per TA + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + * @param AcceptEncoding - Accept-Encoding, described in IETF RFC 7231 + +@return NSSAIAvailabilityPutResponse +*/ + +// NSSAIAvailabilityPutRequest +type NSSAIAvailabilityPutRequest struct { + NfId *string + NssaiAvailabilityInfo *models.NssaiAvailabilityInfo + ContentEncoding *string + AcceptEncoding *string +} + +func (r *NSSAIAvailabilityPutRequest) SetNfId(NfId string) { + r.NfId = &NfId +} +func (r *NSSAIAvailabilityPutRequest) SetNssaiAvailabilityInfo(NssaiAvailabilityInfo models.NssaiAvailabilityInfo) { + r.NssaiAvailabilityInfo = &NssaiAvailabilityInfo +} +func (r *NSSAIAvailabilityPutRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} +func (r *NSSAIAvailabilityPutRequest) SetAcceptEncoding(AcceptEncoding string) { + r.AcceptEncoding = &AcceptEncoding +} + +type NSSAIAvailabilityPutResponse struct { + AcceptEncoding string + ContentEncoding string + AuthorizedNssaiAvailabilityInfo models.AuthorizedNssaiAvailabilityInfo +} + +type NSSAIAvailabilityPutError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NFInstanceIDDocumentApiService) NSSAIAvailabilityPut(ctx context.Context, request *NSSAIAvailabilityPutRequest) (*NSSAIAvailabilityPutResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityPutResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/{nfId}" + localVarPath = strings.Replace(localVarPath, "{"+"nfId"+"}", openapi.StringOfValue(*request.NfId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + if request.AcceptEncoding != nil { + localVarHeaderParams["Accept-Encoding"] = openapi.ParameterToString(request.AcceptEncoding, "csv") + } + + // body params + localVarPostBody = request.NssaiAvailabilityInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthorizedNssaiAvailabilityInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.AcceptEncoding = localVarHTTPResponse.Header.Get("Accept-Encoding") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityPutError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nssf/NSSAIAvailability/api_nssai_availability_store.go b/nssf/NSSAIAvailability/api_nssai_availability_store.go new file mode 100644 index 00000000..f4f1247e --- /dev/null +++ b/nssf/NSSAIAvailability/api_nssai_availability_store.go @@ -0,0 +1,200 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NSSAIAvailabilityStoreApiService service + +/* +NSSAIAvailabilityStoreApiService Discover communication options supported by NSSF for NSSAI Availability + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + +@return NSSAIAvailabilityOptionsResponse +*/ + +// NSSAIAvailabilityOptionsRequest +type NSSAIAvailabilityOptionsRequest struct { +} + +type NSSAIAvailabilityOptionsResponse struct { + AcceptEncoding string +} + +type NSSAIAvailabilityOptionsError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NSSAIAvailabilityStoreApiService) NSSAIAvailabilityOptions(ctx context.Context) (*NSSAIAvailabilityOptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Options") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityOptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, nil + case 429: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityOptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nssf/NSSAIAvailability/api_subscription_id_document.go b/nssf/NSSAIAvailability/api_subscription_id_document.go new file mode 100644 index 00000000..38c03070 --- /dev/null +++ b/nssf/NSSAIAvailability/api_subscription_id_document.go @@ -0,0 +1,402 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionIDDocumentApiService service + +/* +SubscriptionIDDocumentApiService updates an already existing NSSAI availability notification subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identifier of the subscription for notification + * @param PatchItem - JSON Patch instructions to update at the NSSF, the NSSAI availability notification subscription + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + +@return NSSAIAvailabilitySubModifyPatchResponse +*/ + +// NSSAIAvailabilitySubModifyPatchRequest +type NSSAIAvailabilitySubModifyPatchRequest struct { + SubscriptionId *string + PatchItem []models.PatchItem + ContentEncoding *string +} + +func (r *NSSAIAvailabilitySubModifyPatchRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *NSSAIAvailabilitySubModifyPatchRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *NSSAIAvailabilitySubModifyPatchRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} + +type NSSAIAvailabilitySubModifyPatchResponse struct { + ContentEncoding string + NssfEventSubscriptionCreatedData models.NssfEventSubscriptionCreatedData +} + +type NSSAIAvailabilitySubModifyPatchError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionIDDocumentApiService) NSSAIAvailabilitySubModifyPatch(ctx context.Context, request *NSSAIAvailabilitySubModifyPatchRequest) (*NSSAIAvailabilitySubModifyPatchResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilitySubModifyPatchResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json:"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NssfEventSubscriptionCreatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilitySubModifyPatchError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SubscriptionIDDocumentApiService Deletes an already existing NSSAI availability notification subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Identifier of the subscription for notification + +@return NSSAIAvailabilityUnsubscribeResponse +*/ + +// NSSAIAvailabilityUnsubscribeRequest +type NSSAIAvailabilityUnsubscribeRequest struct { + SubscriptionId *string +} + +func (r *NSSAIAvailabilityUnsubscribeRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type NSSAIAvailabilityUnsubscribeResponse struct { +} + +type NSSAIAvailabilityUnsubscribeError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionIDDocumentApiService) NSSAIAvailabilityUnsubscribe(ctx context.Context, request *NSSAIAvailabilityUnsubscribeRequest) (*NSSAIAvailabilityUnsubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityUnsubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityUnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nssf/NSSAIAvailability/api_subscriptions_collection.go b/nssf/NSSAIAvailability/api_subscriptions_collection.go new file mode 100644 index 00000000..4c154e35 --- /dev/null +++ b/nssf/NSSAIAvailability/api_subscriptions_collection.go @@ -0,0 +1,417 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService Creates subscriptions for notification about updates to NSSAI availability information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NssfEventSubscriptionCreateData - Subscription for notification about updates to NSSAI availability information + * @param ContentEncoding - Content-Encoding, described in IETF RFC 7231 + +@return NSSAIAvailabilityPostResponse +*/ + +// NSSAIAvailabilityPostRequest +type NSSAIAvailabilityPostRequest struct { + NssfEventSubscriptionCreateData *models.NssfEventSubscriptionCreateData + ContentEncoding *string +} + +func (r *NSSAIAvailabilityPostRequest) SetNssfEventSubscriptionCreateData(NssfEventSubscriptionCreateData models.NssfEventSubscriptionCreateData) { + r.NssfEventSubscriptionCreateData = &NssfEventSubscriptionCreateData +} +func (r *NSSAIAvailabilityPostRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} + +type NSSAIAvailabilityPostResponse struct { + ContentEncoding string + Location string + NssfEventSubscriptionCreatedData models.NssfEventSubscriptionCreatedData +} + +type NSSAIAvailabilityPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) NSSAIAvailabilityPost(ctx context.Context, request *NSSAIAvailabilityPostRequest) (*NSSAIAvailabilityPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityPostResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nssai-availability/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + // body params + localVarPostBody = request.NssfEventSubscriptionCreateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NssfEventSubscriptionCreatedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.ContentEncoding = localVarHTTPResponse.Header.Get("Content-Encoding") + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NSSAIAvailabilityPostNssaiAvailabilityNotificationPostRequest +type NSSAIAvailabilityPostNssaiAvailabilityNotificationPostRequest struct { + NssfEventNotification *models.NssfEventNotification + ContentEncoding *string +} + +func (r *NSSAIAvailabilityPostNssaiAvailabilityNotificationPostRequest) SetNssfEventNotification(NssfEventNotification models.NssfEventNotification) { + r.NssfEventNotification = &NssfEventNotification +} +func (r *NSSAIAvailabilityPostNssaiAvailabilityNotificationPostRequest) SetContentEncoding(ContentEncoding string) { + r.ContentEncoding = &ContentEncoding +} + +type NSSAIAvailabilityPostNssaiAvailabilityNotificationPostResponse struct { + AcceptEncoding string +} + +type NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) NSSAIAvailabilityPostNssaiAvailabilityNotificationPost(ctx context.Context, uri string, request *NSSAIAvailabilityPostNssaiAvailabilityNotificationPostRequest) (*NSSAIAvailabilityPostNssaiAvailabilityNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSAIAvailabilityPostNssaiAvailabilityNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentEncoding != nil { + localVarHeaderParams["Content-Encoding"] = openapi.ParameterToString(request.ContentEncoding, "csv") + } + + // body params + localVarPostBody = request.NssfEventNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSAIAvailabilityPostNssaiAvailabilityNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nssf/NSSAIAvailability/client.go b/nssf/NSSAIAvailability/client.go new file mode 100644 index 00000000..122b6450 --- /dev/null +++ b/nssf/NSSAIAvailability/client.go @@ -0,0 +1,46 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +// APIClient manages communication with the NSSF NSSAI Availability API v1.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + NFInstanceIDDocumentApi *NFInstanceIDDocumentApiService + NSSAIAvailabilityStoreApi *NSSAIAvailabilityStoreApiService + SubscriptionIDDocumentApi *SubscriptionIDDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.NFInstanceIDDocumentApi = (*NFInstanceIDDocumentApiService)(&c.common) + c.NSSAIAvailabilityStoreApi = (*NSSAIAvailabilityStoreApiService)(&c.common) + c.SubscriptionIDDocumentApi = (*SubscriptionIDDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nssf/NSSAIAvailability/configuration.go b/nssf/NSSAIAvailability/configuration.go new file mode 100644 index 00000000..c90dd15a --- /dev/null +++ b/nssf/NSSAIAvailability/configuration.go @@ -0,0 +1,82 @@ +/* + * NSSF NSSAI Availability + * + * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSAIAvailability + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnssf-nssaiavailability/v1", + url: "{apiRoot}/nnssf-nssaiavailability/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nssf/NSSelection/api_network_slice_information_document.go b/nssf/NSSelection/api_network_slice_information_document.go new file mode 100644 index 00000000..bb2537d6 --- /dev/null +++ b/nssf/NSSelection/api_network_slice_information_document.go @@ -0,0 +1,274 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSelection + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NetworkSliceInformationDocumentApiService service + +/* +NetworkSliceInformationDocumentApiService Retrieve the Network Slice Selection Information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfType - NF type of the NF service consumer + * @param NfId - NF Instance ID of the NF service consumer + * @param SliceInfoRequestForRegistration - Requested network slice information during Registration procedure + * @param SliceInfoRequestForPduSession - Requested network slice information during PDU session establishment procedure + * @param SliceInfoRequestForUeCu - Requested network slice information during UE confuguration update procedure + * @param HomePlmnId - PLMN ID of the HPLMN + * @param Tai - TAI of the UE + * @param SupportedFeatures - Features required to be supported by the NFs in the target slice instance + +@return NSSelectionGetResponse +*/ + +// NSSelectionGetRequest +type NSSelectionGetRequest struct { + NfType *models.NrfNfManagementNfType + NfId *string + SliceInfoRequestForRegistration *models.SliceInfoForRegistration + SliceInfoRequestForPduSession *models.SliceInfoForPduSession + SliceInfoRequestForUeCu *models.SliceInfoForUeConfigurationUpdate + HomePlmnId *models.PlmnId + Tai *models.Tai + SupportedFeatures *string +} + +func (r *NSSelectionGetRequest) SetNfType(NfType models.NrfNfManagementNfType) { + r.NfType = &NfType +} +func (r *NSSelectionGetRequest) SetNfId(NfId string) { + r.NfId = &NfId +} +func (r *NSSelectionGetRequest) SetSliceInfoRequestForRegistration(SliceInfoRequestForRegistration models.SliceInfoForRegistration) { + r.SliceInfoRequestForRegistration = &SliceInfoRequestForRegistration +} +func (r *NSSelectionGetRequest) SetSliceInfoRequestForPduSession(SliceInfoRequestForPduSession models.SliceInfoForPduSession) { + r.SliceInfoRequestForPduSession = &SliceInfoRequestForPduSession +} +func (r *NSSelectionGetRequest) SetSliceInfoRequestForUeCu(SliceInfoRequestForUeCu models.SliceInfoForUeConfigurationUpdate) { + r.SliceInfoRequestForUeCu = &SliceInfoRequestForUeCu +} +func (r *NSSelectionGetRequest) SetHomePlmnId(HomePlmnId models.PlmnId) { + r.HomePlmnId = &HomePlmnId +} +func (r *NSSelectionGetRequest) SetTai(Tai models.Tai) { + r.Tai = &Tai +} +func (r *NSSelectionGetRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type NSSelectionGetResponse struct { + AuthorizedNetworkSliceInfo models.AuthorizedNetworkSliceInfo +} + +type NSSelectionGetError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NetworkSliceInformationDocumentApiService) NSSelectionGet(ctx context.Context, request *NSSelectionGetRequest) (*NSSelectionGetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NSSelectionGetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/network-slice-information" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.NfType == nil { + return nil, openapi.ReportError("NfType must be non nil") + } else { + localVarQueryParams.Add("nf-type", openapi.ParameterToString(request.NfType, "multi")) + } + if request.NfId == nil { + return nil, openapi.ReportError("NfId must be non nil") + } else { + localVarQueryParams.Add("nf-id", openapi.ParameterToString(request.NfId, "multi")) + } + if request.SliceInfoRequestForRegistration != nil { + localVarQueryParams.Add("slice-info-request-for-registration", openapi.ParameterToString(request.SliceInfoRequestForRegistration, "application/json")) + } + if request.SliceInfoRequestForPduSession != nil { + localVarQueryParams.Add("slice-info-request-for-pdu-session", openapi.ParameterToString(request.SliceInfoRequestForPduSession, "application/json")) + } + if request.SliceInfoRequestForUeCu != nil { + localVarQueryParams.Add("slice-info-request-for-ue-cu", openapi.ParameterToString(request.SliceInfoRequestForUeCu, "application/json")) + } + if request.HomePlmnId != nil { + localVarQueryParams.Add("home-plmn-id", openapi.ParameterToString(request.HomePlmnId, "application/json")) + } + if request.Tai != nil { + localVarQueryParams.Add("tai", openapi.ParameterToString(request.Tai, "application/json")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthorizedNetworkSliceInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v NSSelectionGetError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NSSelectionGetError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NSSelectionGetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nssf/NSSelection/client.go b/nssf/NSSelection/client.go new file mode 100644 index 00000000..a550602e --- /dev/null +++ b/nssf/NSSelection/client.go @@ -0,0 +1,40 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSelection + +// APIClient manages communication with the NSSF NS Selection API v2.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + NetworkSliceInformationDocumentApi *NetworkSliceInformationDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.NetworkSliceInformationDocumentApi = (*NetworkSliceInformationDocumentApiService)(&c.common) + + return c +} diff --git a/nssf/NSSelection/configuration.go b/nssf/NSSelection/configuration.go new file mode 100644 index 00000000..2b17c19b --- /dev/null +++ b/nssf/NSSelection/configuration.go @@ -0,0 +1,82 @@ +/* + * NSSF NS Selection + * + * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ + * + * API version: 2.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NSSelection + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnssf-nsselection/v2", + url: "{apiRoot}/nnssf-nsselection/v2", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nwdaf/AnalyticsInfo/api_nwdaf_analytics_document.go b/nwdaf/AnalyticsInfo/api_nwdaf_analytics_document.go new file mode 100644 index 00000000..e8741332 --- /dev/null +++ b/nwdaf/AnalyticsInfo/api_nwdaf_analytics_document.go @@ -0,0 +1,228 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AnalyticsInfo + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFAnalyticsDocumentApiService service + +/* +NWDAFAnalyticsDocumentApiService Read a NWDAF Analytics + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param EventId - Identify the analytics. + * @param AnaReq - Identifies the analytics reporting requirement information. + * @param EventFilter - Identify the analytics. + * @param SupportedFeatures - To filter irrelevant responses related to unsupported features. + * @param TgtUe - Identify the target UE information. + +@return GetNWDAFAnalyticsResponse +*/ + +// GetNWDAFAnalyticsRequest +type GetNWDAFAnalyticsRequest struct { + EventId *models.EventId + AnaReq *models.EventReportingRequirement + EventFilter *models.NwdafAnalyticsInfoEventFilter + SupportedFeatures *string + TgtUe *models.TargetUeInformation +} + +func (r *GetNWDAFAnalyticsRequest) SetEventId(EventId models.EventId) { + r.EventId = &EventId +} +func (r *GetNWDAFAnalyticsRequest) SetAnaReq(AnaReq models.EventReportingRequirement) { + r.AnaReq = &AnaReq +} +func (r *GetNWDAFAnalyticsRequest) SetEventFilter(EventFilter models.NwdafAnalyticsInfoEventFilter) { + r.EventFilter = &EventFilter +} +func (r *GetNWDAFAnalyticsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetNWDAFAnalyticsRequest) SetTgtUe(TgtUe models.TargetUeInformation) { + r.TgtUe = &TgtUe +} + +type GetNWDAFAnalyticsResponse struct { + NwdafAnalyticsInfoAnalyticsData models.NwdafAnalyticsInfoAnalyticsData +} + +type GetNWDAFAnalyticsError struct { + ProblemDetails models.ProblemDetails + ProblemDetailsAnalyticsInfoRequest models.ProblemDetailsAnalyticsInfoRequest +} + +func (a *NWDAFAnalyticsDocumentApiService) GetNWDAFAnalytics(ctx context.Context, request *GetNWDAFAnalyticsRequest) (*GetNWDAFAnalyticsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNWDAFAnalyticsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/analytics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.EventId == nil { + return nil, openapi.ReportError("EventId must be non nil") + } else { + localVarQueryParams.Add("event-id", openapi.ParameterToString(request.EventId, "multi")) + } + if request.AnaReq != nil { + localVarQueryParams.Add("ana-req", openapi.ParameterToString(request.AnaReq, "application/json")) + } + if request.EventFilter != nil { + localVarQueryParams.Add("event-filter", openapi.ParameterToString(request.EventFilter, "application/json")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.TgtUe != nil { + localVarQueryParams.Add("tgt-ue", openapi.ParameterToString(request.TgtUe, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NwdafAnalyticsInfoAnalyticsData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetailsAnalyticsInfoRequest, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNWDAFAnalyticsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/AnalyticsInfo/api_nwdaf_context_document.go b/nwdaf/AnalyticsInfo/api_nwdaf_context_document.go new file mode 100644 index 00000000..d759521b --- /dev/null +++ b/nwdaf/AnalyticsInfo/api_nwdaf_context_document.go @@ -0,0 +1,203 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AnalyticsInfo + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFContextDocumentApiService service + +/* +NWDAFContextDocumentApiService Get context information related to analytics subscriptions. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ContextIds - Identifies specific context information related to analytics subscriptions. + * @param ReqContext - Identfies the type(s) of the analytics context information the consumer wishes to receive. + +@return GetNwdafContextResponse +*/ + +// GetNwdafContextRequest +type GetNwdafContextRequest struct { + ContextIds *models.ContextIdList + ReqContext *models.RequestedContext +} + +func (r *GetNwdafContextRequest) SetContextIds(ContextIds models.ContextIdList) { + r.ContextIds = &ContextIds +} +func (r *GetNwdafContextRequest) SetReqContext(ReqContext models.RequestedContext) { + r.ReqContext = &ReqContext +} + +type GetNwdafContextResponse struct { + ContextData models.ContextData +} + +type GetNwdafContextError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFContextDocumentApiService) GetNwdafContext(ctx context.Context, request *GetNwdafContextRequest) (*GetNwdafContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNwdafContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/context" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ContextIds == nil { + return nil, openapi.ReportError("ContextIds must be non nil") + } else { + localVarQueryParams.Add("context-ids", openapi.ParameterToString(request.ContextIds, "application/json")) + } + if request.ReqContext != nil { + localVarQueryParams.Add("req-context", openapi.ParameterToString(request.ReqContext, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ContextData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNwdafContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/AnalyticsInfo/client.go b/nwdaf/AnalyticsInfo/client.go new file mode 100644 index 00000000..6619c1e2 --- /dev/null +++ b/nwdaf/AnalyticsInfo/client.go @@ -0,0 +1,42 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AnalyticsInfo + +// APIClient manages communication with the Nnwdaf_AnalyticsInfo API v1.2.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + NWDAFAnalyticsDocumentApi *NWDAFAnalyticsDocumentApiService + NWDAFContextDocumentApi *NWDAFContextDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.NWDAFAnalyticsDocumentApi = (*NWDAFAnalyticsDocumentApiService)(&c.common) + c.NWDAFContextDocumentApi = (*NWDAFContextDocumentApiService)(&c.common) + + return c +} diff --git a/nwdaf/AnalyticsInfo/configuration.go b/nwdaf/AnalyticsInfo/configuration.go new file mode 100644 index 00000000..802d0092 --- /dev/null +++ b/nwdaf/AnalyticsInfo/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnwdaf_AnalyticsInfo + * + * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AnalyticsInfo + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnwdaf-analyticsinfo/v1", + url: "{apiRoot}/nnwdaf-analyticsinfo/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nwdaf/DataManagement/api_individual_nwdaf_data_management_subscription_document.go b/nwdaf/DataManagement/api_individual_nwdaf_data_management_subscription_document.go new file mode 100644 index 00000000..564f5654 --- /dev/null +++ b/nwdaf/DataManagement/api_individual_nwdaf_data_management_subscription_document.go @@ -0,0 +1,401 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualNWDAFDataManagementSubscriptionDocumentApiService service + +/* +IndividualNWDAFDataManagementSubscriptionDocumentApiService unsubscribe from notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + +@return DeleteNWDAFDataSubscriptionResponse +*/ + +// DeleteNWDAFDataSubscriptionRequest +type DeleteNWDAFDataSubscriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteNWDAFDataSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteNWDAFDataSubscriptionResponse struct { +} + +type DeleteNWDAFDataSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFDataManagementSubscriptionDocumentApiService) DeleteNWDAFDataSubscription(ctx context.Context, request *DeleteNWDAFDataSubscriptionRequest) (*DeleteNWDAFDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteNWDAFDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualNWDAFDataManagementSubscriptionDocumentApiService Update an existing Individual NWDAF Data Subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Event Subscription ID + * @param NnwdafDataManagementSubsc - + +@return UpdateNWDAFDataSubscriptionResponse +*/ + +// UpdateNWDAFDataSubscriptionRequest +type UpdateNWDAFDataSubscriptionRequest struct { + SubscriptionId *string + NnwdafDataManagementSubsc *models.NnwdafDataManagementSubsc +} + +func (r *UpdateNWDAFDataSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateNWDAFDataSubscriptionRequest) SetNnwdafDataManagementSubsc(NnwdafDataManagementSubsc models.NnwdafDataManagementSubsc) { + r.NnwdafDataManagementSubsc = &NnwdafDataManagementSubsc +} + +type UpdateNWDAFDataSubscriptionResponse struct { + NnwdafDataManagementSubsc models.NnwdafDataManagementSubsc +} + +type UpdateNWDAFDataSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFDataManagementSubscriptionDocumentApiService) UpdateNWDAFDataSubscription(ctx context.Context, request *UpdateNWDAFDataSubscriptionRequest) (*UpdateNWDAFDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNWDAFDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafDataManagementSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NnwdafDataManagementSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNWDAFDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/DataManagement/api_subscriptions_collection.go b/nwdaf/DataManagement/api_subscriptions_collection.go new file mode 100644 index 00000000..65923cc4 --- /dev/null +++ b/nwdaf/DataManagement/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService subscribe to notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NnwdafDataManagementSubsc - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + NnwdafDataManagementSubsc *models.NnwdafDataManagementSubsc +} + +func (r *CreateIndividualSubcriptionRequest) SetNnwdafDataManagementSubsc(NnwdafDataManagementSubsc models.NnwdafDataManagementSubsc) { + r.NnwdafDataManagementSubsc = &NnwdafDataManagementSubsc +} + +type CreateIndividualSubcriptionResponse struct { + Location string + NnwdafDataManagementSubsc models.NnwdafDataManagementSubsc +} + +type CreateIndividualSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafDataManagementSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NnwdafDataManagementSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualSubcriptionMyNotificationPostRequest +type CreateIndividualSubcriptionMyNotificationPostRequest struct { + NnwdafDataManagementNotif *models.NnwdafDataManagementNotif +} + +func (r *CreateIndividualSubcriptionMyNotificationPostRequest) SetNnwdafDataManagementNotif(NnwdafDataManagementNotif models.NnwdafDataManagementNotif) { + r.NnwdafDataManagementNotif = &NnwdafDataManagementNotif +} + +type CreateIndividualSubcriptionMyNotificationPostResponse struct { +} + +type CreateIndividualSubcriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionMyNotificationPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionMyNotificationPostRequest) (*CreateIndividualSubcriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafDataManagementNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nwdaf/DataManagement/client.go b/nwdaf/DataManagement/client.go new file mode 100644 index 00000000..1dd5e88d --- /dev/null +++ b/nwdaf/DataManagement/client.go @@ -0,0 +1,42 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataManagement + +// APIClient manages communication with the Nnwdaf_DataManagement API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualNWDAFDataManagementSubscriptionDocumentApi *IndividualNWDAFDataManagementSubscriptionDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualNWDAFDataManagementSubscriptionDocumentApi = (*IndividualNWDAFDataManagementSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nwdaf/DataManagement/configuration.go b/nwdaf/DataManagement/configuration.go new file mode 100644 index 00000000..b7f2a46a --- /dev/null +++ b/nwdaf/DataManagement/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnwdaf_DataManagement + * + * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataManagement + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnwdaf-datamanagement/v1", + url: "{apiRoot}/nnwdaf-datamanagement/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nwdaf/EventsSubscription/api_individual_nwdaf_event_subscription_transfer_document.go b/nwdaf/EventsSubscription/api_individual_nwdaf_event_subscription_transfer_document.go new file mode 100644 index 00000000..aed3967f --- /dev/null +++ b/nwdaf/EventsSubscription/api_individual_nwdaf_event_subscription_transfer_document.go @@ -0,0 +1,410 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualNWDAFEventSubscriptionTransferDocumentApiService service + +/* +IndividualNWDAFEventSubscriptionTransferDocumentApiService Delete an existing Individual NWDAF Event Subscription Transfer + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param TransferId - String identifying a request for an analytics subscription transfer to the Nnwdaf_EventsSubscription Service + +@return DeleteNWDAFEventSubscriptionTransferResponse +*/ + +// DeleteNWDAFEventSubscriptionTransferRequest +type DeleteNWDAFEventSubscriptionTransferRequest struct { + TransferId *string +} + +func (r *DeleteNWDAFEventSubscriptionTransferRequest) SetTransferId(TransferId string) { + r.TransferId = &TransferId +} + +type DeleteNWDAFEventSubscriptionTransferResponse struct { +} + +type DeleteNWDAFEventSubscriptionTransferError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFEventSubscriptionTransferDocumentApiService) DeleteNWDAFEventSubscriptionTransfer(ctx context.Context, request *DeleteNWDAFEventSubscriptionTransferRequest) (*DeleteNWDAFEventSubscriptionTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteNWDAFEventSubscriptionTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/transfers/{transferId}" + localVarPath = strings.Replace(localVarPath, "{"+"transferId"+"}", openapi.StringOfValue(*request.TransferId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualNWDAFEventSubscriptionTransferDocumentApiService Update an existing Individual NWDAF Event Subscription Transfer + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param TransferId - String identifying a request for an analytics subscription transfer to the Nnwdaf_EventsSubscription Service + * @param AnalyticsSubscriptionsTransfer - + +@return UpdateNWDAFEventSubscriptionTransferResponse +*/ + +// UpdateNWDAFEventSubscriptionTransferRequest +type UpdateNWDAFEventSubscriptionTransferRequest struct { + TransferId *string + AnalyticsSubscriptionsTransfer *models.AnalyticsSubscriptionsTransfer +} + +func (r *UpdateNWDAFEventSubscriptionTransferRequest) SetTransferId(TransferId string) { + r.TransferId = &TransferId +} +func (r *UpdateNWDAFEventSubscriptionTransferRequest) SetAnalyticsSubscriptionsTransfer(AnalyticsSubscriptionsTransfer models.AnalyticsSubscriptionsTransfer) { + r.AnalyticsSubscriptionsTransfer = &AnalyticsSubscriptionsTransfer +} + +type UpdateNWDAFEventSubscriptionTransferResponse struct { +} + +type UpdateNWDAFEventSubscriptionTransferError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFEventSubscriptionTransferDocumentApiService) UpdateNWDAFEventSubscriptionTransfer(ctx context.Context, request *UpdateNWDAFEventSubscriptionTransferRequest) (*UpdateNWDAFEventSubscriptionTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNWDAFEventSubscriptionTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/transfers/{transferId}" + localVarPath = strings.Replace(localVarPath, "{"+"transferId"+"}", openapi.StringOfValue(*request.TransferId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AnalyticsSubscriptionsTransfer + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/EventsSubscription/api_individual_nwdaf_events_subscription_document.go b/nwdaf/EventsSubscription/api_individual_nwdaf_events_subscription_document.go new file mode 100644 index 00000000..661aec9b --- /dev/null +++ b/nwdaf/EventsSubscription/api_individual_nwdaf_events_subscription_document.go @@ -0,0 +1,417 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualNWDAFEventsSubscriptionDocumentApiService service + +/* +IndividualNWDAFEventsSubscriptionDocumentApiService Delete an existing Individual NWDAF Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Nnwdaf_EventsSubscription Service + +@return DeleteNWDAFEventsSubscriptionResponse +*/ + +// DeleteNWDAFEventsSubscriptionRequest +type DeleteNWDAFEventsSubscriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteNWDAFEventsSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteNWDAFEventsSubscriptionResponse struct { +} + +type DeleteNWDAFEventsSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFEventsSubscriptionDocumentApiService) DeleteNWDAFEventsSubscription(ctx context.Context, request *DeleteNWDAFEventsSubscriptionRequest) (*DeleteNWDAFEventsSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteNWDAFEventsSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualNWDAFEventsSubscriptionDocumentApiService Update an existing Individual NWDAF Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Nnwdaf_EventsSubscription Service + * @param NnwdafEventsSubscription - + +@return UpdateNWDAFEventsSubscriptionResponse +*/ + +// UpdateNWDAFEventsSubscriptionRequest +type UpdateNWDAFEventsSubscriptionRequest struct { + SubscriptionId *string + NnwdafEventsSubscription *models.NnwdafEventsSubscription +} + +func (r *UpdateNWDAFEventsSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateNWDAFEventsSubscriptionRequest) SetNnwdafEventsSubscription(NnwdafEventsSubscription models.NnwdafEventsSubscription) { + r.NnwdafEventsSubscription = &NnwdafEventsSubscription +} + +type UpdateNWDAFEventsSubscriptionResponse struct { + NnwdafEventsSubscription models.NnwdafEventsSubscription +} + +type UpdateNWDAFEventsSubscriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFEventsSubscriptionDocumentApiService) UpdateNWDAFEventsSubscription(ctx context.Context, request *UpdateNWDAFEventsSubscriptionRequest) (*UpdateNWDAFEventsSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNWDAFEventsSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafEventsSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NnwdafEventsSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/EventsSubscription/api_nwdaf_event_subscription_transfers_collection.go b/nwdaf/EventsSubscription/api_nwdaf_event_subscription_transfers_collection.go new file mode 100644 index 00000000..4a94daf2 --- /dev/null +++ b/nwdaf/EventsSubscription/api_nwdaf_event_subscription_transfers_collection.go @@ -0,0 +1,202 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFEventSubscriptionTransfersCollectionApiService service + +/* +NWDAFEventSubscriptionTransfersCollectionApiService Provide information about requested analytics subscriptions transfer and potentially create a new Individual NWDAF Event Subscription Transfer resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AnalyticsSubscriptionsTransfer - + +@return CreateNWDAFEventSubscriptionTransferResponse +*/ + +// CreateNWDAFEventSubscriptionTransferRequest +type CreateNWDAFEventSubscriptionTransferRequest struct { + AnalyticsSubscriptionsTransfer *models.AnalyticsSubscriptionsTransfer +} + +func (r *CreateNWDAFEventSubscriptionTransferRequest) SetAnalyticsSubscriptionsTransfer(AnalyticsSubscriptionsTransfer models.AnalyticsSubscriptionsTransfer) { + r.AnalyticsSubscriptionsTransfer = &AnalyticsSubscriptionsTransfer +} + +type CreateNWDAFEventSubscriptionTransferResponse struct { + Location string +} + +type CreateNWDAFEventSubscriptionTransferError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFEventSubscriptionTransfersCollectionApiService) CreateNWDAFEventSubscriptionTransfer(ctx context.Context, request *CreateNWDAFEventSubscriptionTransferRequest) (*CreateNWDAFEventSubscriptionTransferResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNWDAFEventSubscriptionTransferResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/transfers" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AnalyticsSubscriptionsTransfer + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNWDAFEventSubscriptionTransferError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/EventsSubscription/api_nwdaf_events_subscriptions_collection.go b/nwdaf/EventsSubscription/api_nwdaf_events_subscriptions_collection.go new file mode 100644 index 00000000..c5140ae0 --- /dev/null +++ b/nwdaf/EventsSubscription/api_nwdaf_events_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFEventsSubscriptionsCollectionApiService service + +/* +NWDAFEventsSubscriptionsCollectionApiService Create a new Individual NWDAF Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NnwdafEventsSubscription - + +@return CreateNWDAFEventsSubscriptionResponse +*/ + +// CreateNWDAFEventsSubscriptionRequest +type CreateNWDAFEventsSubscriptionRequest struct { + NnwdafEventsSubscription *models.NnwdafEventsSubscription +} + +func (r *CreateNWDAFEventsSubscriptionRequest) SetNnwdafEventsSubscription(NnwdafEventsSubscription models.NnwdafEventsSubscription) { + r.NnwdafEventsSubscription = &NnwdafEventsSubscription +} + +type CreateNWDAFEventsSubscriptionResponse struct { + Location string + NnwdafEventsSubscription models.NnwdafEventsSubscription +} + +type CreateNWDAFEventsSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFEventsSubscriptionsCollectionApiService) CreateNWDAFEventsSubscription(ctx context.Context, request *CreateNWDAFEventsSubscriptionRequest) (*CreateNWDAFEventsSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNWDAFEventsSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafEventsSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NnwdafEventsSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNWDAFEventsSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateNWDAFEventsSubscriptionMyNotificationPostRequest +type CreateNWDAFEventsSubscriptionMyNotificationPostRequest struct { + NnwdafEventsSubscriptionNotification []models.NnwdafEventsSubscriptionNotification +} + +func (r *CreateNWDAFEventsSubscriptionMyNotificationPostRequest) SetNnwdafEventsSubscriptionNotification(NnwdafEventsSubscriptionNotification []models.NnwdafEventsSubscriptionNotification) { + r.NnwdafEventsSubscriptionNotification = NnwdafEventsSubscriptionNotification +} + +type CreateNWDAFEventsSubscriptionMyNotificationPostResponse struct { +} + +type CreateNWDAFEventsSubscriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *NWDAFEventsSubscriptionsCollectionApiService) CreateNWDAFEventsSubscriptionMyNotificationPost(ctx context.Context, uri string, request *CreateNWDAFEventsSubscriptionMyNotificationPostRequest) (*CreateNWDAFEventsSubscriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNWDAFEventsSubscriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NnwdafEventsSubscriptionNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNWDAFEventsSubscriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nwdaf/EventsSubscription/client.go b/nwdaf/EventsSubscription/client.go new file mode 100644 index 00000000..b6b00cc4 --- /dev/null +++ b/nwdaf/EventsSubscription/client.go @@ -0,0 +1,46 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +// APIClient manages communication with the Nnwdaf_EventsSubscription API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualNWDAFEventSubscriptionTransferDocumentApi *IndividualNWDAFEventSubscriptionTransferDocumentApiService + IndividualNWDAFEventsSubscriptionDocumentApi *IndividualNWDAFEventsSubscriptionDocumentApiService + NWDAFEventSubscriptionTransfersCollectionApi *NWDAFEventSubscriptionTransfersCollectionApiService + NWDAFEventsSubscriptionsCollectionApi *NWDAFEventsSubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualNWDAFEventSubscriptionTransferDocumentApi = (*IndividualNWDAFEventSubscriptionTransferDocumentApiService)(&c.common) + c.IndividualNWDAFEventsSubscriptionDocumentApi = (*IndividualNWDAFEventsSubscriptionDocumentApiService)(&c.common) + c.NWDAFEventSubscriptionTransfersCollectionApi = (*NWDAFEventSubscriptionTransfersCollectionApiService)(&c.common) + c.NWDAFEventsSubscriptionsCollectionApi = (*NWDAFEventsSubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nwdaf/EventsSubscription/configuration.go b/nwdaf/EventsSubscription/configuration.go new file mode 100644 index 00000000..4d56c87f --- /dev/null +++ b/nwdaf/EventsSubscription/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnwdaf_EventsSubscription + * + * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventsSubscription + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnwdaf-eventssubscription/v1", + url: "{apiRoot}/nnwdaf-eventssubscription/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/nwdaf/MLModelProvision/api_individual_nwdafml_model_provision_subscription_document.go b/nwdaf/MLModelProvision/api_individual_nwdafml_model_provision_subscription_document.go new file mode 100644 index 00000000..ff418042 --- /dev/null +++ b/nwdaf/MLModelProvision/api_individual_nwdafml_model_provision_subscription_document.go @@ -0,0 +1,401 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MLModelProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService service + +/* +IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService Delete an existing Individual NWDAF ML Model Provision Subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Nnwdaf_MLModelProvision Service. + +@return DeleteNWDAFMLModelProvisionSubcriptionResponse +*/ + +// DeleteNWDAFMLModelProvisionSubcriptionRequest +type DeleteNWDAFMLModelProvisionSubcriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteNWDAFMLModelProvisionSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteNWDAFMLModelProvisionSubcriptionResponse struct { +} + +type DeleteNWDAFMLModelProvisionSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService) DeleteNWDAFMLModelProvisionSubcription(ctx context.Context, request *DeleteNWDAFMLModelProvisionSubcriptionRequest) (*DeleteNWDAFMLModelProvisionSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteNWDAFMLModelProvisionSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService update an existing Individual NWDAF ML Model Provision Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Nnwdaf_MLModelProvision Service. + * @param NwdafMlModelProvSubsc - + +@return UpdateNWDAFMLModelProvisionSubcriptionResponse +*/ + +// UpdateNWDAFMLModelProvisionSubcriptionRequest +type UpdateNWDAFMLModelProvisionSubcriptionRequest struct { + SubscriptionId *string + NwdafMlModelProvSubsc *models.NwdafMlModelProvSubsc +} + +func (r *UpdateNWDAFMLModelProvisionSubcriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateNWDAFMLModelProvisionSubcriptionRequest) SetNwdafMlModelProvSubsc(NwdafMlModelProvSubsc models.NwdafMlModelProvSubsc) { + r.NwdafMlModelProvSubsc = &NwdafMlModelProvSubsc +} + +type UpdateNWDAFMLModelProvisionSubcriptionResponse struct { + NwdafMlModelProvSubsc models.NwdafMlModelProvSubsc +} + +type UpdateNWDAFMLModelProvisionSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService) UpdateNWDAFMLModelProvisionSubcription(ctx context.Context, request *UpdateNWDAFMLModelProvisionSubcriptionRequest) (*UpdateNWDAFMLModelProvisionSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNWDAFMLModelProvisionSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NwdafMlModelProvSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NwdafMlModelProvSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/nwdaf/MLModelProvision/api_subscriptions_collection.go b/nwdaf/MLModelProvision/api_subscriptions_collection.go new file mode 100644 index 00000000..b5cb6efb --- /dev/null +++ b/nwdaf/MLModelProvision/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MLModelProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService Create a new Individual NWDAF ML Model Provision Subscription resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NwdafMlModelProvSubsc - + +@return CreateNWDAFMLModelProvisionSubcriptionResponse +*/ + +// CreateNWDAFMLModelProvisionSubcriptionRequest +type CreateNWDAFMLModelProvisionSubcriptionRequest struct { + NwdafMlModelProvSubsc *models.NwdafMlModelProvSubsc +} + +func (r *CreateNWDAFMLModelProvisionSubcriptionRequest) SetNwdafMlModelProvSubsc(NwdafMlModelProvSubsc models.NwdafMlModelProvSubsc) { + r.NwdafMlModelProvSubsc = &NwdafMlModelProvSubsc +} + +type CreateNWDAFMLModelProvisionSubcriptionResponse struct { + Location string + NwdafMlModelProvSubsc models.NwdafMlModelProvSubsc +} + +type CreateNWDAFMLModelProvisionSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateNWDAFMLModelProvisionSubcription(ctx context.Context, request *CreateNWDAFMLModelProvisionSubcriptionRequest) (*CreateNWDAFMLModelProvisionSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNWDAFMLModelProvisionSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NwdafMlModelProvSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NwdafMlModelProvSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNWDAFMLModelProvisionSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostRequest +type CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostRequest struct { + NwdafMLModelProvNotif []models.NwdafMlModelProvNotif +} + +func (r *CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostRequest) SetNwdafMLModelProvNotif(NwdafMLModelProvNotif []models.NwdafMlModelProvNotif) { + r.NwdafMLModelProvNotif = NwdafMLModelProvNotif +} + +type CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostResponse struct { +} + +type CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateNWDAFMLModelProvisionSubcriptionMyNotificationPost(ctx context.Context, uri string, request *CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostRequest) (*CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NwdafMLModelProvNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateNWDAFMLModelProvisionSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/nwdaf/MLModelProvision/client.go b/nwdaf/MLModelProvision/client.go new file mode 100644 index 00000000..7ae6c3b3 --- /dev/null +++ b/nwdaf/MLModelProvision/client.go @@ -0,0 +1,42 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MLModelProvision + +// APIClient manages communication with the Nnwdaf_MLModelProvision API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualNWDAFMLModelProvisionSubscriptionDocumentApi *IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualNWDAFMLModelProvisionSubscriptionDocumentApi = (*IndividualNWDAFMLModelProvisionSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/nwdaf/MLModelProvision/configuration.go b/nwdaf/MLModelProvision/configuration.go new file mode 100644 index 00000000..550ce176 --- /dev/null +++ b/nwdaf/MLModelProvision/configuration.go @@ -0,0 +1,82 @@ +/* + * Nnwdaf_MLModelProvision + * + * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MLModelProvision + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nnwdaf-mlmodelprovision/v1", + url: "{apiRoot}/nnwdaf-mlmodelprovision/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/oauth/get_token_context.go b/oauth/get_token_context.go index 73adb797..4c84d316 100644 --- a/oauth/get_token_context.go +++ b/oauth/get_token_context.go @@ -5,19 +5,18 @@ import ( "sync" "time" - "github.com/antihax/optional" "golang.org/x/oauth2" "github.com/free5gc/openapi" - "github.com/free5gc/openapi/Nnrf_AccessToken" "github.com/free5gc/openapi/models" + "github.com/free5gc/openapi/nrf/AccessToken" ) var tokenMap sync.Map var clientMap sync.Map func GetTokenCtx( - nfType, targetNF models.NfType, + nfType, targetNF models.NrfNfManagementNfType, nfId, nrfUri, scope string, ) (context.Context, *models.ProblemDetails, error) { tok, pd, err := sendAccTokenReq(nfType, targetNF, nfId, nrfUri, scope) @@ -29,24 +28,24 @@ func GetTokenCtx( } func sendAccTokenReq( - nfType, targetNF models.NfType, + nfType, targetNF models.NrfNfManagementNfType, nfId, nrfUri, scope string, ) (oauth2.TokenSource, *models.ProblemDetails, error) { - var client *Nnrf_AccessToken.APIClient + var client *AccessToken.APIClient - configuration := Nnrf_AccessToken.NewConfiguration() + configuration := AccessToken.NewConfiguration() configuration.SetBasePath(nrfUri) if val, ok := clientMap.Load(configuration); ok { - client = val.(*Nnrf_AccessToken.APIClient) + client = val.(*AccessToken.APIClient) } else { - client = Nnrf_AccessToken.NewAPIClient(configuration) + client = AccessToken.NewAPIClient(configuration) clientMap.Store(configuration, client) } - var tok models.AccessTokenRsp + var tok models.NrfAccessTokenAccessTokenRsp if val, ok := tokenMap.Load(scope); ok { - tok = val.(models.AccessTokenRsp) + tok = val.(models.NrfAccessTokenAccessTokenRsp) if int32(time.Now().Unix()) < tok.ExpiresIn { token := &oauth2.Token{ AccessToken: tok.AccessToken, @@ -56,30 +55,24 @@ func sendAccTokenReq( return oauth2.StaticTokenSource(token), nil, nil } } - tok, res, err := client.AccessTokenRequestApi.AccessTokenRequest( - context.Background(), "client_credentials", - nfId, scope, &Nnrf_AccessToken.AccessTokenRequestParamOpts{ - NfType: optional.NewInterface(nfType), - TargetNfType: optional.NewInterface(targetNF), - }) + + req := &AccessToken.AccessTokenRequestRequest{} + req.SetGrantType("client_credentials") + req.SetNfInstanceId(nfId) + req.SetNfType(nfType) + req.SetTargetNfType(targetNF) + + res, err := client.AccessTokenRequestApi.AccessTokenRequest( + context.Background(), req) if err == nil { - tokenMap.Store(scope, tok) + tokenMap.Store(scope, res.NrfAccessTokenAccessTokenRsp) token := &oauth2.Token{ AccessToken: tok.AccessToken, TokenType: tok.TokenType, Expiry: time.Unix(int64(tok.ExpiresIn), 0), } return oauth2.StaticTokenSource(token), nil, nil - } else if res != nil { - if res.Status != err.Error() { - return nil, nil, err - } - accesstoken_err := err.(openapi.GenericOpenAPIError).Model().(models.AccessTokenErr) - pd := &models.ProblemDetails{ - AccessTokenError: &accesstoken_err, - } - return nil, pd, err } else { return nil, nil, openapi.ReportError("server no response") } diff --git a/pcf/AMPolicyAuthorization/api_am_policy_events_subscription_document.go b/pcf/AMPolicyAuthorization/api_am_policy_events_subscription_document.go new file mode 100644 index 00000000..7a96391a --- /dev/null +++ b/pcf/AMPolicyAuthorization/api_am_policy_events_subscription_document.go @@ -0,0 +1,593 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMPolicyEventsSubscriptionDocumentApiService service + +/* +AMPolicyEventsSubscriptionDocumentApiService deletes the AM Policy Events Subscription subresource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextId - String identifying the Individual Application AM Context resource. + +@return DeleteAmEventsSubscResponse +*/ + +// DeleteAmEventsSubscRequest +type DeleteAmEventsSubscRequest struct { + AppAmContextId *string +} + +func (r *DeleteAmEventsSubscRequest) SetAppAmContextId(AppAmContextId string) { + r.AppAmContextId = &AppAmContextId +} + +type DeleteAmEventsSubscResponse struct { +} + +type DeleteAmEventsSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMPolicyEventsSubscriptionDocumentApiService) DeleteAmEventsSubsc(ctx context.Context, request *DeleteAmEventsSubscRequest) (*DeleteAmEventsSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAmEventsSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts/{appAmContextId}/events-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"appAmContextId"+"}", openapi.StringOfValue(*request.AppAmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AMPolicyEventsSubscriptionDocumentApiService creates or modifies an AM Policy Events Subscription subresource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextId - String identifying the AM Policy Events Subscription subresource. + * @param AmEventsSubscData - Creation or modification of an AM Policy Events Subscription subresource. + +@return UpdateAmEventsSubscResponse +*/ + +// UpdateAmEventsSubscRequest +type UpdateAmEventsSubscRequest struct { + AppAmContextId *string + AmEventsSubscData *models.AmEventsSubscData +} + +func (r *UpdateAmEventsSubscRequest) SetAppAmContextId(AppAmContextId string) { + r.AppAmContextId = &AppAmContextId +} +func (r *UpdateAmEventsSubscRequest) SetAmEventsSubscData(AmEventsSubscData models.AmEventsSubscData) { + r.AmEventsSubscData = &AmEventsSubscData +} + +type UpdateAmEventsSubscResponse struct { + Location string + AmEventsSubscRespData models.AmEventsSubscRespData +} + +type UpdateAmEventsSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMPolicyEventsSubscriptionDocumentApiService) UpdateAmEventsSubsc(ctx context.Context, request *UpdateAmEventsSubscRequest) (*UpdateAmEventsSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateAmEventsSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts/{appAmContextId}/events-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"appAmContextId"+"}", openapi.StringOfValue(*request.AppAmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmEventsSubscData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AmEventsSubscRespData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmEventsSubscRespData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateAmEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// UpdateAmEventsSubscAmEventNotificationPostRequest +type UpdateAmEventsSubscAmEventNotificationPostRequest struct { + AmEventsNotification *models.AmEventsNotification +} + +func (r *UpdateAmEventsSubscAmEventNotificationPostRequest) SetAmEventsNotification(AmEventsNotification models.AmEventsNotification) { + r.AmEventsNotification = &AmEventsNotification +} + +type UpdateAmEventsSubscAmEventNotificationPostResponse struct { +} + +type UpdateAmEventsSubscAmEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMPolicyEventsSubscriptionDocumentApiService) UpdateAmEventsSubscAmEventNotificationPost(ctx context.Context, uri string, request *UpdateAmEventsSubscAmEventNotificationPostRequest) (*UpdateAmEventsSubscAmEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateAmEventsSubscAmEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateAmEventsSubscAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/AMPolicyAuthorization/api_application_am_contexts_collection.go b/pcf/AMPolicyAuthorization/api_application_am_contexts_collection.go new file mode 100644 index 00000000..ebadf9ea --- /dev/null +++ b/pcf/AMPolicyAuthorization/api_application_am_contexts_collection.go @@ -0,0 +1,574 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ApplicationAMContextsCollectionApiService service + +/* +ApplicationAMContextsCollectionApiService Creates a new Individual Application AM Context resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextData - Contains the information for the creation the resource. + +@return PostAppAmContextsResponse +*/ + +// PostAppAmContextsRequest +type PostAppAmContextsRequest struct { + AppAmContextData *models.AppAmContextData +} + +func (r *PostAppAmContextsRequest) SetAppAmContextData(AppAmContextData models.AppAmContextData) { + r.AppAmContextData = &AppAmContextData +} + +type PostAppAmContextsResponse struct { + Location string + AppAmContextRespData models.AppAmContextRespData +} + +type PostAppAmContextsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ApplicationAMContextsCollectionApiService) PostAppAmContexts(ctx context.Context, request *PostAppAmContextsRequest) (*PostAppAmContextsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppAmContextsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AppAmContextData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AppAmContextRespData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppAmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// PostAppAmContextsTerminationRequestPostRequest +type PostAppAmContextsTerminationRequestPostRequest struct { + AmTerminationInfo *models.AmTerminationInfo +} + +func (r *PostAppAmContextsTerminationRequestPostRequest) SetAmTerminationInfo(AmTerminationInfo models.AmTerminationInfo) { + r.AmTerminationInfo = &AmTerminationInfo +} + +type PostAppAmContextsTerminationRequestPostResponse struct { +} + +type PostAppAmContextsTerminationRequestPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationAMContextsCollectionApiService) PostAppAmContextsTerminationRequestPost(ctx context.Context, uri string, request *PostAppAmContextsTerminationRequestPostRequest) (*PostAppAmContextsTerminationRequestPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppAmContextsTerminationRequestPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmTerminationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppAmContextsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// PostAppAmContextsAmEventNotificationPostRequest +type PostAppAmContextsAmEventNotificationPostRequest struct { + AmEventsNotification *models.AmEventsNotification +} + +func (r *PostAppAmContextsAmEventNotificationPostRequest) SetAmEventsNotification(AmEventsNotification models.AmEventsNotification) { + r.AmEventsNotification = &AmEventsNotification +} + +type PostAppAmContextsAmEventNotificationPostResponse struct { +} + +type PostAppAmContextsAmEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationAMContextsCollectionApiService) PostAppAmContextsAmEventNotificationPost(ctx context.Context, uri string, request *PostAppAmContextsAmEventNotificationPostRequest) (*PostAppAmContextsAmEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppAmContextsAmEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppAmContextsAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/AMPolicyAuthorization/api_individual_application_am_context_document.go b/pcf/AMPolicyAuthorization/api_individual_application_am_context_document.go new file mode 100644 index 00000000..d81fdd27 --- /dev/null +++ b/pcf/AMPolicyAuthorization/api_individual_application_am_context_document.go @@ -0,0 +1,758 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualApplicationAMContextDocumentApiService service + +/* +IndividualApplicationAMContextDocumentApiService Deletes an existing Individual Application AM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextId - String identifying the Individual Application AM Context resource. + +@return DeleteAppAmContextResponse +*/ + +// DeleteAppAmContextRequest +type DeleteAppAmContextRequest struct { + AppAmContextId *string +} + +func (r *DeleteAppAmContextRequest) SetAppAmContextId(AppAmContextId string) { + r.AppAmContextId = &AppAmContextId +} + +type DeleteAppAmContextResponse struct { +} + +type DeleteAppAmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationAMContextDocumentApiService) DeleteAppAmContext(ctx context.Context, request *DeleteAppAmContextRequest) (*DeleteAppAmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAppAmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts/{appAmContextId}" + localVarPath = strings.Replace(localVarPath, "{"+"appAmContextId"+"}", openapi.StringOfValue(*request.AppAmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationAMContextDocumentApiService Reads an existing Individual Application AM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextId - String identifying the resource. + +@return GetAppAmContextResponse +*/ + +// GetAppAmContextRequest +type GetAppAmContextRequest struct { + AppAmContextId *string +} + +func (r *GetAppAmContextRequest) SetAppAmContextId(AppAmContextId string) { + r.AppAmContextId = &AppAmContextId +} + +type GetAppAmContextResponse struct { + AppAmContextData models.AppAmContextData +} + +type GetAppAmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationAMContextDocumentApiService) GetAppAmContext(ctx context.Context, request *GetAppAmContextRequest) (*GetAppAmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetAppAmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts/{appAmContextId}" + localVarPath = strings.Replace(localVarPath, "{"+"appAmContextId"+"}", openapi.StringOfValue(*request.AppAmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AppAmContextData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationAMContextDocumentApiService Modifies an existing Individual Application AM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppAmContextId - String identifying the resource. + * @param AppAmContextUpdateData - Modification of the resource. + +@return ModAppAmContextResponse +*/ + +// ModAppAmContextRequest +type ModAppAmContextRequest struct { + AppAmContextId *string + AppAmContextUpdateData *models.AppAmContextUpdateData +} + +func (r *ModAppAmContextRequest) SetAppAmContextId(AppAmContextId string) { + r.AppAmContextId = &AppAmContextId +} +func (r *ModAppAmContextRequest) SetAppAmContextUpdateData(AppAmContextUpdateData models.AppAmContextUpdateData) { + r.AppAmContextUpdateData = &AppAmContextUpdateData +} + +type ModAppAmContextResponse struct { + AppAmContextRespData models.AppAmContextRespData +} + +type ModAppAmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationAMContextDocumentApiService) ModAppAmContext(ctx context.Context, request *ModAppAmContextRequest) (*ModAppAmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModAppAmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-am-contexts/{appAmContextId}" + localVarPath = strings.Replace(localVarPath, "{"+"appAmContextId"+"}", openapi.StringOfValue(*request.AppAmContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AppAmContextUpdateData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AppAmContextRespData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModAppAmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModAppAmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ModAppAmContextAmEventNotificationPostRequest +type ModAppAmContextAmEventNotificationPostRequest struct { + AmEventsNotification *models.AmEventsNotification +} + +func (r *ModAppAmContextAmEventNotificationPostRequest) SetAmEventsNotification(AmEventsNotification models.AmEventsNotification) { + r.AmEventsNotification = &AmEventsNotification +} + +type ModAppAmContextAmEventNotificationPostResponse struct { +} + +type ModAppAmContextAmEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationAMContextDocumentApiService) ModAppAmContextAmEventNotificationPost(ctx context.Context, uri string, request *ModAppAmContextAmEventNotificationPostRequest) (*ModAppAmContextAmEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModAppAmContextAmEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModAppAmContextAmEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/AMPolicyAuthorization/client.go b/pcf/AMPolicyAuthorization/client.go new file mode 100644 index 00000000..a53a6a1e --- /dev/null +++ b/pcf/AMPolicyAuthorization/client.go @@ -0,0 +1,44 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyAuthorization + +// APIClient manages communication with the Npcf_AMPolicyAuthorization Service API API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AMPolicyEventsSubscriptionDocumentApi *AMPolicyEventsSubscriptionDocumentApiService + ApplicationAMContextsCollectionApi *ApplicationAMContextsCollectionApiService + IndividualApplicationAMContextDocumentApi *IndividualApplicationAMContextDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AMPolicyEventsSubscriptionDocumentApi = (*AMPolicyEventsSubscriptionDocumentApiService)(&c.common) + c.ApplicationAMContextsCollectionApi = (*ApplicationAMContextsCollectionApiService)(&c.common) + c.IndividualApplicationAMContextDocumentApi = (*IndividualApplicationAMContextDocumentApiService)(&c.common) + + return c +} diff --git a/pcf/AMPolicyAuthorization/configuration.go b/pcf/AMPolicyAuthorization/configuration.go new file mode 100644 index 00000000..1656ab09 --- /dev/null +++ b/pcf/AMPolicyAuthorization/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_AMPolicyAuthorization Service API + * + * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyAuthorization + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-am-policyauthorization/v1", + url: "{apiRoot}/npcf-am-policyauthorization/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/AMPolicyControl/api_am_policy_associations_collection.go b/pcf/AMPolicyControl/api_am_policy_associations_collection.go new file mode 100644 index 00000000..30831ec0 --- /dev/null +++ b/pcf/AMPolicyControl/api_am_policy_associations_collection.go @@ -0,0 +1,581 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMPolicyAssociationsCollectionApiService service + +/* +AMPolicyAssociationsCollectionApiService Create individual AM policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcfAmPolicyControlPolicyAssociationRequest - + +@return CreateIndividualAMPolicyAssociationResponse +*/ + +// CreateIndividualAMPolicyAssociationRequest +type CreateIndividualAMPolicyAssociationRequest struct { + PcfAmPolicyControlPolicyAssociationRequest *models.PcfAmPolicyControlPolicyAssociationRequest +} + +func (r *CreateIndividualAMPolicyAssociationRequest) SetPcfAmPolicyControlPolicyAssociationRequest(PcfAmPolicyControlPolicyAssociationRequest models.PcfAmPolicyControlPolicyAssociationRequest) { + r.PcfAmPolicyControlPolicyAssociationRequest = &PcfAmPolicyControlPolicyAssociationRequest +} + +type CreateIndividualAMPolicyAssociationResponse struct { + Location string + PcfAmPolicyControlPolicyAssociation models.PcfAmPolicyControlPolicyAssociation +} + +type CreateIndividualAMPolicyAssociationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMPolicyAssociationsCollectionApiService) CreateIndividualAMPolicyAssociation(ctx context.Context, request *CreateIndividualAMPolicyAssociationRequest) (*CreateIndividualAMPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualAMPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfAmPolicyControlPolicyAssociationRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcfAmPolicyControlPolicyAssociation, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostRequest +type CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostRequest struct { + PcfAmPolicyControlPolicyUpdate *models.PcfAmPolicyControlPolicyUpdate +} + +func (r *CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostRequest) SetPcfAmPolicyControlPolicyUpdate(PcfAmPolicyControlPolicyUpdate models.PcfAmPolicyControlPolicyUpdate) { + r.PcfAmPolicyControlPolicyUpdate = &PcfAmPolicyControlPolicyUpdate +} + +type CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostResponse struct { + AmRequestedValueRep models.AmRequestedValueRep +} + +type CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMPolicyAssociationsCollectionApiService) CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPost(ctx context.Context, uri string, request *CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostRequest) (*CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfAmPolicyControlPolicyUpdate + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmRequestedValueRep, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualAMPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest +type CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest struct { + PcfAmPolicyControlTerminationNotification *models.PcfAmPolicyControlTerminationNotification +} + +func (r *CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest) SetPcfAmPolicyControlTerminationNotification(PcfAmPolicyControlTerminationNotification models.PcfAmPolicyControlTerminationNotification) { + r.PcfAmPolicyControlTerminationNotification = &PcfAmPolicyControlTerminationNotification +} + +type CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse struct { +} + +type CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMPolicyAssociationsCollectionApiService) CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPost(ctx context.Context, uri string, request *CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest) (*CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfAmPolicyControlTerminationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualAMPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/AMPolicyControl/api_individual_am_policy_association_document.go b/pcf/AMPolicyControl/api_individual_am_policy_association_document.go new file mode 100644 index 00000000..4b9925ab --- /dev/null +++ b/pcf/AMPolicyControl/api_individual_am_policy_association_document.go @@ -0,0 +1,572 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualAMPolicyAssociationDocumentApiService service + +/* +IndividualAMPolicyAssociationDocumentApiService Delete individual AM policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + +@return DeleteIndividualAMPolicyAssociationResponse +*/ + +// DeleteIndividualAMPolicyAssociationRequest +type DeleteIndividualAMPolicyAssociationRequest struct { + PolAssoId *string +} + +func (r *DeleteIndividualAMPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} + +type DeleteIndividualAMPolicyAssociationResponse struct { +} + +type DeleteIndividualAMPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualAMPolicyAssociationDocumentApiService) DeleteIndividualAMPolicyAssociation(ctx context.Context, request *DeleteIndividualAMPolicyAssociationRequest) (*DeleteIndividualAMPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualAMPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualAMPolicyAssociationDocumentApiService Read individual AM policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + +@return ReadIndividualAMPolicyAssociationResponse +*/ + +// ReadIndividualAMPolicyAssociationRequest +type ReadIndividualAMPolicyAssociationRequest struct { + PolAssoId *string +} + +func (r *ReadIndividualAMPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} + +type ReadIndividualAMPolicyAssociationResponse struct { + PcfAmPolicyControlPolicyAssociation models.PcfAmPolicyControlPolicyAssociation +} + +type ReadIndividualAMPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualAMPolicyAssociationDocumentApiService) ReadIndividualAMPolicyAssociation(ctx context.Context, request *ReadIndividualAMPolicyAssociationRequest) (*ReadIndividualAMPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualAMPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfAmPolicyControlPolicyAssociation, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualAMPolicyAssociationDocumentApiService Report observed event triggers and obtain updated policies for an individual AM policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + * @param PcfAmPolicyControlPolicyAssociationUpdateRequest - + +@return ReportObservedEventTriggersForIndividualAMPolicyAssociationResponse +*/ + +// ReportObservedEventTriggersForIndividualAMPolicyAssociationRequest +type ReportObservedEventTriggersForIndividualAMPolicyAssociationRequest struct { + PolAssoId *string + PcfAmPolicyControlPolicyAssociationUpdateRequest *models.PcfAmPolicyControlPolicyAssociationUpdateRequest +} + +func (r *ReportObservedEventTriggersForIndividualAMPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} +func (r *ReportObservedEventTriggersForIndividualAMPolicyAssociationRequest) SetPcfAmPolicyControlPolicyAssociationUpdateRequest(PcfAmPolicyControlPolicyAssociationUpdateRequest models.PcfAmPolicyControlPolicyAssociationUpdateRequest) { + r.PcfAmPolicyControlPolicyAssociationUpdateRequest = &PcfAmPolicyControlPolicyAssociationUpdateRequest +} + +type ReportObservedEventTriggersForIndividualAMPolicyAssociationResponse struct { + PcfAmPolicyControlPolicyUpdate models.PcfAmPolicyControlPolicyUpdate +} + +type ReportObservedEventTriggersForIndividualAMPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualAMPolicyAssociationDocumentApiService) ReportObservedEventTriggersForIndividualAMPolicyAssociation(ctx context.Context, request *ReportObservedEventTriggersForIndividualAMPolicyAssociationRequest) (*ReportObservedEventTriggersForIndividualAMPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReportObservedEventTriggersForIndividualAMPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}/update" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfAmPolicyControlPolicyAssociationUpdateRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfAmPolicyControlPolicyUpdate, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReportObservedEventTriggersForIndividualAMPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/AMPolicyControl/client.go b/pcf/AMPolicyControl/client.go new file mode 100644 index 00000000..1340a5ed --- /dev/null +++ b/pcf/AMPolicyControl/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyControl + +// APIClient manages communication with the Npcf_AMPolicyControl API v1.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AMPolicyAssociationsCollectionApi *AMPolicyAssociationsCollectionApiService + IndividualAMPolicyAssociationDocumentApi *IndividualAMPolicyAssociationDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AMPolicyAssociationsCollectionApi = (*AMPolicyAssociationsCollectionApiService)(&c.common) + c.IndividualAMPolicyAssociationDocumentApi = (*IndividualAMPolicyAssociationDocumentApiService)(&c.common) + + return c +} diff --git a/pcf/AMPolicyControl/configuration.go b/pcf/AMPolicyControl/configuration.go new file mode 100644 index 00000000..f2c22937 --- /dev/null +++ b/pcf/AMPolicyControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_AMPolicyControl + * + * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package AMPolicyControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-am-policy-control/v1", + url: "{apiRoot}/npcf-am-policy-control/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/BDTPolicyControl/api_bdt_policies_collection.go b/pcf/BDTPolicyControl/api_bdt_policies_collection.go new file mode 100644 index 00000000..886315ee --- /dev/null +++ b/pcf/BDTPolicyControl/api_bdt_policies_collection.go @@ -0,0 +1,393 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package BDTPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BDTPoliciesCollectionApiService service + +/* +BDTPoliciesCollectionApiService Create a new Individual BDT policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtReqData - Contains information for the creation of a new Individual BDT policy resource. + +@return CreateBDTPolicyResponse +*/ + +// CreateBDTPolicyRequest +type CreateBDTPolicyRequest struct { + BdtReqData *models.BdtReqData +} + +func (r *CreateBDTPolicyRequest) SetBdtReqData(BdtReqData models.BdtReqData) { + r.BdtReqData = &BdtReqData +} + +type CreateBDTPolicyResponse struct { + Location string + BdtPolicy models.BdtPolicy +} + +type CreateBDTPolicyError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *BDTPoliciesCollectionApiService) CreateBDTPolicy(ctx context.Context, request *CreateBDTPolicyRequest) (*CreateBDTPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateBDTPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/bdtpolicies" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BdtReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicy, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 303: + return &localVarReturnValue, nil + case 400: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateBDTPolicyBdtNotificationPostRequest +type CreateBDTPolicyBdtNotificationPostRequest struct { + PcfBdtPolicyControlNotification *models.PcfBdtPolicyControlNotification +} + +func (r *CreateBDTPolicyBdtNotificationPostRequest) SetPcfBdtPolicyControlNotification(PcfBdtPolicyControlNotification models.PcfBdtPolicyControlNotification) { + r.PcfBdtPolicyControlNotification = &PcfBdtPolicyControlNotification +} + +type CreateBDTPolicyBdtNotificationPostResponse struct { +} + +type CreateBDTPolicyBdtNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *BDTPoliciesCollectionApiService) CreateBDTPolicyBdtNotificationPost(ctx context.Context, uri string, request *CreateBDTPolicyBdtNotificationPostRequest) (*CreateBDTPolicyBdtNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateBDTPolicyBdtNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfBdtPolicyControlNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateBDTPolicyBdtNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/BDTPolicyControl/api_individual_bdt_policy_document.go b/pcf/BDTPolicyControl/api_individual_bdt_policy_document.go new file mode 100644 index 00000000..ff68c3c5 --- /dev/null +++ b/pcf/BDTPolicyControl/api_individual_bdt_policy_document.go @@ -0,0 +1,408 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package BDTPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualBDTPolicyDocumentApiService service + +/* +IndividualBDTPolicyDocumentApiService Read an Individual BDT policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyId - String identifying the individual BDT policy resource in the PCF. + +@return GetBDTPolicyResponse +*/ + +// GetBDTPolicyRequest +type GetBDTPolicyRequest struct { + BdtPolicyId *string +} + +func (r *GetBDTPolicyRequest) SetBdtPolicyId(BdtPolicyId string) { + r.BdtPolicyId = &BdtPolicyId +} + +type GetBDTPolicyResponse struct { + BdtPolicy models.BdtPolicy +} + +type GetBDTPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualBDTPolicyDocumentApiService) GetBDTPolicy(ctx context.Context, request *GetBDTPolicyRequest) (*GetBDTPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetBDTPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/bdtpolicies/{bdtPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", openapi.StringOfValue(*request.BdtPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicy, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualBDTPolicyDocumentApiService Update an Individual BDT policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyId - String identifying the individual BDT policy resource in the PCF. + * @param PatchBdtPolicy - Contains modification instruction to be performed on the BdtPolicy data structure to select a transfer policy and in addition, may indicate whether the BDT warning notification is enabled or disabled. + +@return UpdateBDTPolicyResponse +*/ + +// UpdateBDTPolicyRequest +type UpdateBDTPolicyRequest struct { + BdtPolicyId *string + PatchBdtPolicy *models.PatchBdtPolicy +} + +func (r *UpdateBDTPolicyRequest) SetBdtPolicyId(BdtPolicyId string) { + r.BdtPolicyId = &BdtPolicyId +} +func (r *UpdateBDTPolicyRequest) SetPatchBdtPolicy(PatchBdtPolicy models.PatchBdtPolicy) { + r.PatchBdtPolicy = &PatchBdtPolicy +} + +type UpdateBDTPolicyResponse struct { + BdtPolicy models.BdtPolicy +} + +type UpdateBDTPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualBDTPolicyDocumentApiService) UpdateBDTPolicy(ctx context.Context, request *UpdateBDTPolicyRequest) (*UpdateBDTPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateBDTPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/bdtpolicies/{bdtPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", openapi.StringOfValue(*request.BdtPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchBdtPolicy + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicy, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateBDTPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/BDTPolicyControl/client.go b/pcf/BDTPolicyControl/client.go new file mode 100644 index 00000000..f4c47c64 --- /dev/null +++ b/pcf/BDTPolicyControl/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package BDTPolicyControl + +// APIClient manages communication with the Npcf_BDTPolicyControl Service API API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + BDTPoliciesCollectionApi *BDTPoliciesCollectionApiService + IndividualBDTPolicyDocumentApi *IndividualBDTPolicyDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.BDTPoliciesCollectionApi = (*BDTPoliciesCollectionApiService)(&c.common) + c.IndividualBDTPolicyDocumentApi = (*IndividualBDTPolicyDocumentApiService)(&c.common) + + return c +} diff --git a/pcf/BDTPolicyControl/configuration.go b/pcf/BDTPolicyControl/configuration.go new file mode 100644 index 00000000..d6a36097 --- /dev/null +++ b/pcf/BDTPolicyControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_BDTPolicyControl Service API + * + * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package BDTPolicyControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-bdtpolicycontrol/v1", + url: "{apiRoot}/npcf-bdtpolicycontrol/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/EventExposure/api_individual_policy_control_events_subscription_document.go b/pcf/EventExposure/api_individual_policy_control_events_subscription_document.go new file mode 100644 index 00000000..63be08b9 --- /dev/null +++ b/pcf/EventExposure/api_individual_policy_control_events_subscription_document.go @@ -0,0 +1,574 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPolicyControlEventsSubscriptionDocumentApiService service + +/* +IndividualPolicyControlEventsSubscriptionDocumentApiService Cancels an existing Individual Policy Control Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Policy Control Event Subscription ID. + +@return DeletePcEventExposureSubscResponse +*/ + +// DeletePcEventExposureSubscRequest +type DeletePcEventExposureSubscRequest struct { + SubscriptionId *string +} + +func (r *DeletePcEventExposureSubscRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeletePcEventExposureSubscResponse struct { +} + +type DeletePcEventExposureSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPolicyControlEventsSubscriptionDocumentApiService) DeletePcEventExposureSubsc(ctx context.Context, request *DeletePcEventExposureSubscRequest) (*DeletePcEventExposureSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeletePcEventExposureSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeletePcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPolicyControlEventsSubscriptionDocumentApiService Reads an existing Individual Policy Control Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Policy Control Event Subscription ID. + +@return GetPcEventExposureSubscResponse +*/ + +// GetPcEventExposureSubscRequest +type GetPcEventExposureSubscRequest struct { + SubscriptionId *string +} + +func (r *GetPcEventExposureSubscRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type GetPcEventExposureSubscResponse struct { + PcEventExposureSubsc models.PcEventExposureSubsc +} + +type GetPcEventExposureSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPolicyControlEventsSubscriptionDocumentApiService) GetPcEventExposureSubsc(ctx context.Context, request *GetPcEventExposureSubscRequest) (*GetPcEventExposureSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetPcEventExposureSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPolicyControlEventsSubscriptionDocumentApiService Modifies an existing Individual Policy Control Events Subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Policy Control Event Subscription ID. + * @param PcEventExposureSubsc - + +@return PutPcEventExposureSubscResponse +*/ + +// PutPcEventExposureSubscRequest +type PutPcEventExposureSubscRequest struct { + SubscriptionId *string + PcEventExposureSubsc *models.PcEventExposureSubsc +} + +func (r *PutPcEventExposureSubscRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *PutPcEventExposureSubscRequest) SetPcEventExposureSubsc(PcEventExposureSubsc models.PcEventExposureSubsc) { + r.PcEventExposureSubsc = &PcEventExposureSubsc +} + +type PutPcEventExposureSubscResponse struct { + PcEventExposureSubsc models.PcEventExposureSubsc +} + +type PutPcEventExposureSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPolicyControlEventsSubscriptionDocumentApiService) PutPcEventExposureSubsc(ctx context.Context, request *PutPcEventExposureSubscRequest) (*PutPcEventExposureSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PutPcEventExposureSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcEventExposureSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PutPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/EventExposure/api_policy_control_events_subscription_collection.go b/pcf/EventExposure/api_policy_control_events_subscription_collection.go new file mode 100644 index 00000000..b2c83bdc --- /dev/null +++ b/pcf/EventExposure/api_policy_control_events_subscription_collection.go @@ -0,0 +1,390 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PolicyControlEventsSubscriptionCollectionApiService service + +/* +PolicyControlEventsSubscriptionCollectionApiService Creates a new Individual Policy Control Events Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcEventExposureSubsc - + +@return PostPcEventExposureSubscResponse +*/ + +// PostPcEventExposureSubscRequest +type PostPcEventExposureSubscRequest struct { + PcEventExposureSubsc *models.PcEventExposureSubsc +} + +func (r *PostPcEventExposureSubscRequest) SetPcEventExposureSubsc(PcEventExposureSubsc models.PcEventExposureSubsc) { + r.PcEventExposureSubsc = &PcEventExposureSubsc +} + +type PostPcEventExposureSubscResponse struct { + Location string + PcEventExposureSubsc models.PcEventExposureSubsc +} + +type PostPcEventExposureSubscError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PolicyControlEventsSubscriptionCollectionApiService) PostPcEventExposureSubsc(ctx context.Context, request *PostPcEventExposureSubscRequest) (*PostPcEventExposureSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostPcEventExposureSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcEventExposureSubsc + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcEventExposureSubsc, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostPcEventExposureSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// PostPcEventExposureSubscPcEventNotificationPostRequest +type PostPcEventExposureSubscPcEventNotificationPostRequest struct { + PcEventExposureNotif *models.PcEventExposureNotif +} + +func (r *PostPcEventExposureSubscPcEventNotificationPostRequest) SetPcEventExposureNotif(PcEventExposureNotif models.PcEventExposureNotif) { + r.PcEventExposureNotif = &PcEventExposureNotif +} + +type PostPcEventExposureSubscPcEventNotificationPostResponse struct { +} + +type PostPcEventExposureSubscPcEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PolicyControlEventsSubscriptionCollectionApiService) PostPcEventExposureSubscPcEventNotificationPost(ctx context.Context, uri string, request *PostPcEventExposureSubscPcEventNotificationPostRequest) (*PostPcEventExposureSubscPcEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostPcEventExposureSubscPcEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcEventExposureNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostPcEventExposureSubscPcEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/EventExposure/client.go b/pcf/EventExposure/client.go new file mode 100644 index 00000000..96376b55 --- /dev/null +++ b/pcf/EventExposure/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +// APIClient manages communication with the Npcf_EventExposure API v1.2.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualPolicyControlEventsSubscriptionDocumentApi *IndividualPolicyControlEventsSubscriptionDocumentApiService + PolicyControlEventsSubscriptionCollectionApi *PolicyControlEventsSubscriptionCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualPolicyControlEventsSubscriptionDocumentApi = (*IndividualPolicyControlEventsSubscriptionDocumentApiService)(&c.common) + c.PolicyControlEventsSubscriptionCollectionApi = (*PolicyControlEventsSubscriptionCollectionApiService)(&c.common) + + return c +} diff --git a/pcf/EventExposure/configuration.go b/pcf/EventExposure/configuration.go new file mode 100644 index 00000000..2856e595 --- /dev/null +++ b/pcf/EventExposure/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_EventExposure + * + * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ + * + * API version: 1.2.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-eventexposure/v1", + url: "{apiRoot}/npcf-eventexposure/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/MBSPolicyAuthorization/api_individual_mbs_application_session_context_document.go b/pcf/MBSPolicyAuthorization/api_individual_mbs_application_session_context_document.go new file mode 100644 index 00000000..04648895 --- /dev/null +++ b/pcf/MBSPolicyAuthorization/api_individual_mbs_application_session_context_document.go @@ -0,0 +1,555 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualMBSApplicationSessionContextDocumentApiService service + +/* +IndividualMBSApplicationSessionContextDocumentApiService Request the deletion of an existing Individual MBS Application Session Context resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ContextId - Contains the identifier of the Individual MBS Application Session Context resource. + +@return DeleteMBSAppSessionCtxtResponse +*/ + +// DeleteMBSAppSessionCtxtRequest +type DeleteMBSAppSessionCtxtRequest struct { + ContextId *string +} + +func (r *DeleteMBSAppSessionCtxtRequest) SetContextId(ContextId string) { + r.ContextId = &ContextId +} + +type DeleteMBSAppSessionCtxtResponse struct { +} + +type DeleteMBSAppSessionCtxtError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSApplicationSessionContextDocumentApiService) DeleteMBSAppSessionCtxt(ctx context.Context, request *DeleteMBSAppSessionCtxtRequest) (*DeleteMBSAppSessionCtxtResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteMBSAppSessionCtxtResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/contexts/{contextId}" + localVarPath = strings.Replace(localVarPath, "{"+"contextId"+"}", openapi.StringOfValue(*request.ContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualMBSApplicationSessionContextDocumentApiService Read an existing Individual MBS Application Session Context resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ContextId - Contains the identifier of the Individual MBS Application Session Context resource. + +@return GetMBSAppSessionCtxtResponse +*/ + +// GetMBSAppSessionCtxtRequest +type GetMBSAppSessionCtxtRequest struct { + ContextId *string +} + +func (r *GetMBSAppSessionCtxtRequest) SetContextId(ContextId string) { + r.ContextId = &ContextId +} + +type GetMBSAppSessionCtxtResponse struct { + MbsAppSessionCtxt models.MbsAppSessionCtxt +} + +type GetMBSAppSessionCtxtError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSApplicationSessionContextDocumentApiService) GetMBSAppSessionCtxt(ctx context.Context, request *GetMBSAppSessionCtxtRequest) (*GetMBSAppSessionCtxtResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMBSAppSessionCtxtResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/contexts/{contextId}" + localVarPath = strings.Replace(localVarPath, "{"+"contextId"+"}", openapi.StringOfValue(*request.ContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsAppSessionCtxt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualMBSApplicationSessionContextDocumentApiService Request the modification of an existing Individual MBS Application Session Context resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ContextId - Contains the identifier of the Individual MBS Application Session Context resource. + * @param MbsAppSessionCtxtPatch - + +@return ModifyMBSAppSessionCtxtResponse +*/ + +// ModifyMBSAppSessionCtxtRequest +type ModifyMBSAppSessionCtxtRequest struct { + ContextId *string + MbsAppSessionCtxtPatch *models.MbsAppSessionCtxtPatch +} + +func (r *ModifyMBSAppSessionCtxtRequest) SetContextId(ContextId string) { + r.ContextId = &ContextId +} +func (r *ModifyMBSAppSessionCtxtRequest) SetMbsAppSessionCtxtPatch(MbsAppSessionCtxtPatch models.MbsAppSessionCtxtPatch) { + r.MbsAppSessionCtxtPatch = &MbsAppSessionCtxtPatch +} + +type ModifyMBSAppSessionCtxtResponse struct { + MbsAppSessionCtxt models.MbsAppSessionCtxt +} + +type ModifyMBSAppSessionCtxtError struct { + Location string + Var3gppSbiTargetNfId string + PcfMbsPolicyAuthorizationMbsExtProblemDetails models.PcfMbsPolicyAuthorizationMbsExtProblemDetails + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSApplicationSessionContextDocumentApiService) ModifyMBSAppSessionCtxt(ctx context.Context, request *ModifyMBSAppSessionCtxtRequest) (*ModifyMBSAppSessionCtxtResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyMBSAppSessionCtxtResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/contexts/{contextId}" + localVarPath = strings.Replace(localVarPath, "{"+"contextId"+"}", openapi.StringOfValue(*request.ContextId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MbsAppSessionCtxtPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsAppSessionCtxt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.PcfMbsPolicyAuthorizationMbsExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/MBSPolicyAuthorization/api_mbs_application_session_contexts_collection.go b/pcf/MBSPolicyAuthorization/api_mbs_application_session_contexts_collection.go new file mode 100644 index 00000000..535d253b --- /dev/null +++ b/pcf/MBSPolicyAuthorization/api_mbs_application_session_contexts_collection.go @@ -0,0 +1,207 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MBSApplicationSessionContextsCollectionApiService service + +/* +MBSApplicationSessionContextsCollectionApiService Request the creation of a new Individual MBS Application Session Context resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsAppSessionCtxt - + +@return CreateMBSAppSessionCtxtResponse +*/ + +// CreateMBSAppSessionCtxtRequest +type CreateMBSAppSessionCtxtRequest struct { + MbsAppSessionCtxt *models.MbsAppSessionCtxt +} + +func (r *CreateMBSAppSessionCtxtRequest) SetMbsAppSessionCtxt(MbsAppSessionCtxt models.MbsAppSessionCtxt) { + r.MbsAppSessionCtxt = &MbsAppSessionCtxt +} + +type CreateMBSAppSessionCtxtResponse struct { + Location string + MbsAppSessionCtxt models.MbsAppSessionCtxt +} + +type CreateMBSAppSessionCtxtError struct { + PcfMbsPolicyAuthorizationMbsExtProblemDetails models.PcfMbsPolicyAuthorizationMbsExtProblemDetails + ProblemDetails models.ProblemDetails +} + +func (a *MBSApplicationSessionContextsCollectionApiService) CreateMBSAppSessionCtxt(ctx context.Context, request *CreateMBSAppSessionCtxtRequest) (*CreateMBSAppSessionCtxtResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateMBSAppSessionCtxtResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/contexts" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MbsAppSessionCtxt + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.MbsAppSessionCtxt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.PcfMbsPolicyAuthorizationMbsExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateMBSAppSessionCtxtError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/MBSPolicyAuthorization/client.go b/pcf/MBSPolicyAuthorization/client.go new file mode 100644 index 00000000..b6464105 --- /dev/null +++ b/pcf/MBSPolicyAuthorization/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyAuthorization + +// APIClient manages communication with the Npcf_MBSPolicyAuthorization API API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualMBSApplicationSessionContextDocumentApi *IndividualMBSApplicationSessionContextDocumentApiService + MBSApplicationSessionContextsCollectionApi *MBSApplicationSessionContextsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualMBSApplicationSessionContextDocumentApi = (*IndividualMBSApplicationSessionContextDocumentApiService)(&c.common) + c.MBSApplicationSessionContextsCollectionApi = (*MBSApplicationSessionContextsCollectionApiService)(&c.common) + + return c +} diff --git a/pcf/MBSPolicyAuthorization/configuration.go b/pcf/MBSPolicyAuthorization/configuration.go new file mode 100644 index 00000000..725a0d33 --- /dev/null +++ b/pcf/MBSPolicyAuthorization/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_MBSPolicyAuthorization API + * + * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyAuthorization + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-mbspolicyauth/v1", + url: "{apiRoot}/npcf-mbspolicyauth/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/MBSPolicyControl/api_individual_mbs_policy_document.go b/pcf/MBSPolicyControl/api_individual_mbs_policy_document.go new file mode 100644 index 00000000..a7e25218 --- /dev/null +++ b/pcf/MBSPolicyControl/api_individual_mbs_policy_document.go @@ -0,0 +1,575 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualMBSPolicyDocumentApiService service + +/* +IndividualMBSPolicyDocumentApiService Deletes an existing Individual MBS Policy resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsPolicyId - Contains the identifier of the concerned Individual MBS Policy resource. + +@return DeleteIndMBSPolicyResponse +*/ + +// DeleteIndMBSPolicyRequest +type DeleteIndMBSPolicyRequest struct { + MbsPolicyId *string +} + +func (r *DeleteIndMBSPolicyRequest) SetMbsPolicyId(MbsPolicyId string) { + r.MbsPolicyId = &MbsPolicyId +} + +type DeleteIndMBSPolicyResponse struct { +} + +type DeleteIndMBSPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSPolicyDocumentApiService) DeleteIndMBSPolicy(ctx context.Context, request *DeleteIndMBSPolicyRequest) (*DeleteIndMBSPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndMBSPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-policies/{mbsPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"mbsPolicyId"+"}", openapi.StringOfValue(*request.MbsPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualMBSPolicyDocumentApiService Read an Individual MBS Policy resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsPolicyId - Contains the identifier of the concerned Individual MBS Policy resource. + +@return GetIndMBSPolicyResponse +*/ + +// GetIndMBSPolicyRequest +type GetIndMBSPolicyRequest struct { + MbsPolicyId *string +} + +func (r *GetIndMBSPolicyRequest) SetMbsPolicyId(MbsPolicyId string) { + r.MbsPolicyId = &MbsPolicyId +} + +type GetIndMBSPolicyResponse struct { + MbsPolicyData models.MbsPolicyData +} + +type GetIndMBSPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSPolicyDocumentApiService) GetIndMBSPolicy(ctx context.Context, request *GetIndMBSPolicyRequest) (*GetIndMBSPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndMBSPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-policies/{mbsPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"mbsPolicyId"+"}", openapi.StringOfValue(*request.MbsPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualMBSPolicyDocumentApiService Request the update of an existing MBS Policy Association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsPolicyId - Contains the identifier of the concerned Individual MBS Policy resource. + * @param MbsPolicyCtxtDataUpdate - + +@return UpdateIndMBSPolicyResponse +*/ + +// UpdateIndMBSPolicyRequest +type UpdateIndMBSPolicyRequest struct { + MbsPolicyId *string + MbsPolicyCtxtDataUpdate *models.MbsPolicyCtxtDataUpdate +} + +func (r *UpdateIndMBSPolicyRequest) SetMbsPolicyId(MbsPolicyId string) { + r.MbsPolicyId = &MbsPolicyId +} +func (r *UpdateIndMBSPolicyRequest) SetMbsPolicyCtxtDataUpdate(MbsPolicyCtxtDataUpdate models.MbsPolicyCtxtDataUpdate) { + r.MbsPolicyCtxtDataUpdate = &MbsPolicyCtxtDataUpdate +} + +type UpdateIndMBSPolicyResponse struct { + MbsPolicyData models.MbsPolicyData +} + +type UpdateIndMBSPolicyError struct { + Location string + Var3gppSbiTargetNfId string + PcfMbsPolicyAuthorizationMbsExtProblemDetails models.PcfMbsPolicyAuthorizationMbsExtProblemDetails + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualMBSPolicyDocumentApiService) UpdateIndMBSPolicy(ctx context.Context, request *UpdateIndMBSPolicyRequest) (*UpdateIndMBSPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndMBSPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-policies/{mbsPolicyId}/update" + localVarPath = strings.Replace(localVarPath, "{"+"mbsPolicyId"+"}", openapi.StringOfValue(*request.MbsPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MbsPolicyCtxtDataUpdate + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.PcfMbsPolicyAuthorizationMbsExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/MBSPolicyControl/api_mbs_policies_collection.go b/pcf/MBSPolicyControl/api_mbs_policies_collection.go new file mode 100644 index 00000000..ffc7378f --- /dev/null +++ b/pcf/MBSPolicyControl/api_mbs_policies_collection.go @@ -0,0 +1,220 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MBSPoliciesCollectionApiService service + +/* +MBSPoliciesCollectionApiService Request the creation of a new MBS Policy Association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsPolicyCtxtData - + +@return CreateMBSPolicyResponse +*/ + +// CreateMBSPolicyRequest +type CreateMBSPolicyRequest struct { + MbsPolicyCtxtData *models.MbsPolicyCtxtData +} + +func (r *CreateMBSPolicyRequest) SetMbsPolicyCtxtData(MbsPolicyCtxtData models.MbsPolicyCtxtData) { + r.MbsPolicyCtxtData = &MbsPolicyCtxtData +} + +type CreateMBSPolicyResponse struct { + Location string + MbsPolicyData models.MbsPolicyData +} + +type CreateMBSPolicyError struct { + Location string + Var3gppSbiTargetNfId string + PcfMbsPolicyAuthorizationMbsExtProblemDetails models.PcfMbsPolicyAuthorizationMbsExtProblemDetails + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *MBSPoliciesCollectionApiService) CreateMBSPolicy(ctx context.Context, request *CreateMBSPolicyRequest) (*CreateMBSPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateMBSPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-policies" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MbsPolicyCtxtData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.MbsPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 308: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.PcfMbsPolicyAuthorizationMbsExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateMBSPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/MBSPolicyControl/client.go b/pcf/MBSPolicyControl/client.go new file mode 100644 index 00000000..f87ec322 --- /dev/null +++ b/pcf/MBSPolicyControl/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyControl + +// APIClient manages communication with the Npcf_MBSPolicyControl API API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualMBSPolicyDocumentApi *IndividualMBSPolicyDocumentApiService + MBSPoliciesCollectionApi *MBSPoliciesCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualMBSPolicyDocumentApi = (*IndividualMBSPolicyDocumentApiService)(&c.common) + c.MBSPoliciesCollectionApi = (*MBSPoliciesCollectionApiService)(&c.common) + + return c +} diff --git a/pcf/MBSPolicyControl/configuration.go b/pcf/MBSPolicyControl/configuration.go new file mode 100644 index 00000000..6a8c01bf --- /dev/null +++ b/pcf/MBSPolicyControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_MBSPolicyControl API + * + * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MBSPolicyControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-mbspolicycontrol/v1", + url: "{apiRoot}/npcf-mbspolicycontrol/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/PolicyAuthorization/api_application_sessions_collection.go b/pcf/PolicyAuthorization/api_application_sessions_collection.go new file mode 100644 index 00000000..50c57e96 --- /dev/null +++ b/pcf/PolicyAuthorization/api_application_sessions_collection.go @@ -0,0 +1,948 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ApplicationSessionsCollectionApiService service + +/* +ApplicationSessionsCollectionApiService Creates a new Individual Application Session Context resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionContext - Contains the information for the creation the resource. + +@return PostAppSessionsResponse +*/ + +// PostAppSessionsRequest +type PostAppSessionsRequest struct { + AppSessionContext *models.AppSessionContext +} + +func (r *PostAppSessionsRequest) SetAppSessionContext(AppSessionContext models.AppSessionContext) { + r.AppSessionContext = &AppSessionContext +} + +type PostAppSessionsResponse struct { + Location string + AppSessionContext models.AppSessionContext +} + +type PostAppSessionsError struct { + Location string + RetryAfter interface{} + PcfPolicyAuthorizationExtendedProblemDetails models.PcfPolicyAuthorizationExtendedProblemDetails + ProblemDetails models.ProblemDetails +} + +func (a *ApplicationSessionsCollectionApiService) PostAppSessions(ctx context.Context, request *PostAppSessionsRequest) (*PostAppSessionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppSessionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AppSessionContext + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AppSessionContext, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 303: + return &localVarReturnValue, nil + case 400: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppSessionsError + err = openapi.Deserialize(&v.PcfPolicyAuthorizationExtendedProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// PostAppSessionsTerminationRequestPostRequest +type PostAppSessionsTerminationRequestPostRequest struct { + TerminationInfo *models.TerminationInfo +} + +func (r *PostAppSessionsTerminationRequestPostRequest) SetTerminationInfo(TerminationInfo models.TerminationInfo) { + r.TerminationInfo = &TerminationInfo +} + +type PostAppSessionsTerminationRequestPostResponse struct { +} + +type PostAppSessionsTerminationRequestPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequestPost(ctx context.Context, uri string, request *PostAppSessionsTerminationRequestPostRequest) (*PostAppSessionsTerminationRequestPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppSessionsTerminationRequestPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TerminationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppSessionsTerminationRequestPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// PostAppSessionsEventNotificationPostRequest +type PostAppSessionsEventNotificationPostRequest struct { + PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification +} + +func (r *PostAppSessionsEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification) { + r.PcfPolicyAuthorizationEventsNotification = &PcfPolicyAuthorizationEventsNotification +} + +type PostAppSessionsEventNotificationPostResponse struct { +} + +type PostAppSessionsEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPost(ctx context.Context, uri string, request *PostAppSessionsEventNotificationPostRequest) (*PostAppSessionsEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppSessionsEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfPolicyAuthorizationEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppSessionsEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// PostAppSessionsDetected5GsBridgeForPduSessionPostRequest +type PostAppSessionsDetected5GsBridgeForPduSessionPostRequest struct { + PduSessionTsnBridge *models.PduSessionTsnBridge +} + +func (r *PostAppSessionsDetected5GsBridgeForPduSessionPostRequest) SetPduSessionTsnBridge(PduSessionTsnBridge models.PduSessionTsnBridge) { + r.PduSessionTsnBridge = &PduSessionTsnBridge +} + +type PostAppSessionsDetected5GsBridgeForPduSessionPostResponse struct { +} + +type PostAppSessionsDetected5GsBridgeForPduSessionPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSessionPost(ctx context.Context, uri string, request *PostAppSessionsDetected5GsBridgeForPduSessionPostRequest) (*PostAppSessionsDetected5GsBridgeForPduSessionPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppSessionsDetected5GsBridgeForPduSessionPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PduSessionTsnBridge + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppSessionsDetected5GsBridgeForPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// PostAppSessionsEventNotificationPduSessionPostRequest +type PostAppSessionsEventNotificationPduSessionPostRequest struct { + PduSessionEventNotification *models.PduSessionEventNotification +} + +func (r *PostAppSessionsEventNotificationPduSessionPostRequest) SetPduSessionEventNotification(PduSessionEventNotification models.PduSessionEventNotification) { + r.PduSessionEventNotification = &PduSessionEventNotification +} + +type PostAppSessionsEventNotificationPduSessionPostResponse struct { +} + +type PostAppSessionsEventNotificationPduSessionPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSessionPost(ctx context.Context, uri string, request *PostAppSessionsEventNotificationPduSessionPostRequest) (*PostAppSessionsEventNotificationPduSessionPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostAppSessionsEventNotificationPduSessionPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PduSessionEventNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostAppSessionsEventNotificationPduSessionPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/PolicyAuthorization/api_events_subscription_document.go b/pcf/PolicyAuthorization/api_events_subscription_document.go new file mode 100644 index 00000000..2db3a897 --- /dev/null +++ b/pcf/PolicyAuthorization/api_events_subscription_document.go @@ -0,0 +1,593 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventsSubscriptionDocumentApiService service + +/* +EventsSubscriptionDocumentApiService deletes the Events Subscription subresource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionId - String identifying the Individual Application Session Context resource. + +@return DeleteEventsSubscResponse +*/ + +// DeleteEventsSubscRequest +type DeleteEventsSubscRequest struct { + AppSessionId *string +} + +func (r *DeleteEventsSubscRequest) SetAppSessionId(AppSessionId string) { + r.AppSessionId = &AppSessionId +} + +type DeleteEventsSubscResponse struct { +} + +type DeleteEventsSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *EventsSubscriptionDocumentApiService) DeleteEventsSubsc(ctx context.Context, request *DeleteEventsSubscRequest) (*DeleteEventsSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteEventsSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/events-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", openapi.StringOfValue(*request.AppSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +EventsSubscriptionDocumentApiService creates or modifies an Events Subscription subresource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionId - String identifying the Events Subscription resource. + * @param PcfPolicyAuthorizationEventsSubscReqData - Creation or modification of an Events Subscription resource. + +@return UpdateEventsSubscResponse +*/ + +// UpdateEventsSubscRequest +type UpdateEventsSubscRequest struct { + AppSessionId *string + PcfPolicyAuthorizationEventsSubscReqData *models.PcfPolicyAuthorizationEventsSubscReqData +} + +func (r *UpdateEventsSubscRequest) SetAppSessionId(AppSessionId string) { + r.AppSessionId = &AppSessionId +} +func (r *UpdateEventsSubscRequest) SetPcfPolicyAuthorizationEventsSubscReqData(PcfPolicyAuthorizationEventsSubscReqData models.PcfPolicyAuthorizationEventsSubscReqData) { + r.PcfPolicyAuthorizationEventsSubscReqData = &PcfPolicyAuthorizationEventsSubscReqData +} + +type UpdateEventsSubscResponse struct { + Location string + EventsSubscPutData models.EventsSubscPutData +} + +type UpdateEventsSubscError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, request *UpdateEventsSubscRequest) (*UpdateEventsSubscResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateEventsSubscResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/events-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", openapi.StringOfValue(*request.AppSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfPolicyAuthorizationEventsSubscReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.EventsSubscPutData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.EventsSubscPutData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateEventsSubscError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// UpdateEventsSubscEventNotificationPostRequest +type UpdateEventsSubscEventNotificationPostRequest struct { + PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification +} + +func (r *UpdateEventsSubscEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification) { + r.PcfPolicyAuthorizationEventsNotification = &PcfPolicyAuthorizationEventsNotification +} + +type UpdateEventsSubscEventNotificationPostResponse struct { +} + +type UpdateEventsSubscEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotificationPost(ctx context.Context, uri string, request *UpdateEventsSubscEventNotificationPostRequest) (*UpdateEventsSubscEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateEventsSubscEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfPolicyAuthorizationEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateEventsSubscEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/PolicyAuthorization/api_individual_application_session_context_document.go b/pcf/PolicyAuthorization/api_individual_application_session_context_document.go new file mode 100644 index 00000000..8eb2bbe4 --- /dev/null +++ b/pcf/PolicyAuthorization/api_individual_application_session_context_document.go @@ -0,0 +1,803 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualApplicationSessionContextDocumentApiService service + +/* +IndividualApplicationSessionContextDocumentApiService Deletes an existing Individual Application Session Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionId - String identifying the Individual Application Session Context resource. + * @param PcfPolicyAuthorizationEventsSubscReqData - Deletion of the Individual Application Session Context resource, req notification. + +@return DeleteAppSessionResponse +*/ + +// DeleteAppSessionRequest +type DeleteAppSessionRequest struct { + AppSessionId *string + PcfPolicyAuthorizationEventsSubscReqData *models.PcfPolicyAuthorizationEventsSubscReqData +} + +func (r *DeleteAppSessionRequest) SetAppSessionId(AppSessionId string) { + r.AppSessionId = &AppSessionId +} +func (r *DeleteAppSessionRequest) SetPcfPolicyAuthorizationEventsSubscReqData(PcfPolicyAuthorizationEventsSubscReqData models.PcfPolicyAuthorizationEventsSubscReqData) { + r.PcfPolicyAuthorizationEventsSubscReqData = &PcfPolicyAuthorizationEventsSubscReqData +} + +type DeleteAppSessionResponse struct { + AppSessionContext models.AppSessionContext +} + +type DeleteAppSessionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, request *DeleteAppSessionRequest) (*DeleteAppSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAppSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}/delete" + localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", openapi.StringOfValue(*request.AppSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.PcfPolicyAuthorizationEventsSubscReqData != nil { + localVarPostBody = request.PcfPolicyAuthorizationEventsSubscReqData + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AppSessionContext, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationSessionContextDocumentApiService Reads an existing Individual Application Session Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionId - String identifying the resource. + +@return GetAppSessionResponse +*/ + +// GetAppSessionRequest +type GetAppSessionRequest struct { + AppSessionId *string +} + +func (r *GetAppSessionRequest) SetAppSessionId(AppSessionId string) { + r.AppSessionId = &AppSessionId +} + +type GetAppSessionResponse struct { + AppSessionContext models.AppSessionContext +} + +type GetAppSessionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, request *GetAppSessionRequest) (*GetAppSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetAppSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", openapi.StringOfValue(*request.AppSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AppSessionContext, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationSessionContextDocumentApiService Modifies an existing Individual Application Session Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppSessionId - String identifying the resource. + * @param AppSessionContextUpdateDataPatch - Modification of the resource. + +@return ModAppSessionResponse +*/ + +// ModAppSessionRequest +type ModAppSessionRequest struct { + AppSessionId *string + AppSessionContextUpdateDataPatch *models.AppSessionContextUpdateDataPatch +} + +func (r *ModAppSessionRequest) SetAppSessionId(AppSessionId string) { + r.AppSessionId = &AppSessionId +} +func (r *ModAppSessionRequest) SetAppSessionContextUpdateDataPatch(AppSessionContextUpdateDataPatch models.AppSessionContextUpdateDataPatch) { + r.AppSessionContextUpdateDataPatch = &AppSessionContextUpdateDataPatch +} + +type ModAppSessionResponse struct { + AppSessionContext models.AppSessionContext +} + +type ModAppSessionError struct { + Location string + RetryAfter interface{} + Var3gppSbiTargetNfId string + PcfPolicyAuthorizationExtendedProblemDetails models.PcfPolicyAuthorizationExtendedProblemDetails + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, request *ModAppSessionRequest) (*ModAppSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModAppSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/{appSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"appSessionId"+"}", openapi.StringOfValue(*request.AppSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AppSessionContextUpdateDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AppSessionContext, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModAppSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModAppSessionError + err = openapi.Deserialize(&v.PcfPolicyAuthorizationExtendedProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModAppSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ModAppSessionEventNotificationPostRequest +type ModAppSessionEventNotificationPostRequest struct { + PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification +} + +func (r *ModAppSessionEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification) { + r.PcfPolicyAuthorizationEventsNotification = &PcfPolicyAuthorizationEventsNotification +} + +type ModAppSessionEventNotificationPostResponse struct { +} + +type ModAppSessionEventNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotificationPost(ctx context.Context, uri string, request *ModAppSessionEventNotificationPostRequest) (*ModAppSessionEventNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModAppSessionEventNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfPolicyAuthorizationEventsNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModAppSessionEventNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/PolicyAuthorization/api_pcscf_restoration_indication.go b/pcf/PolicyAuthorization/api_pcscf_restoration_indication.go new file mode 100644 index 00000000..dd76f65b --- /dev/null +++ b/pcf/PolicyAuthorization/api_pcscf_restoration_indication.go @@ -0,0 +1,222 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PCSCFRestorationIndicationApiService service + +/* +PCSCFRestorationIndicationApiService Indicates P-CSCF restoration and does not create an Individual Application Session Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcscfRestorationRequestData - PCSCF Restoration Indication. + +@return PcscfRestorationResponse +*/ + +// PcscfRestorationRequest +type PcscfRestorationRequest struct { + PcscfRestorationRequestData *models.PcscfRestorationRequestData +} + +func (r *PcscfRestorationRequest) SetPcscfRestorationRequestData(PcscfRestorationRequestData models.PcscfRestorationRequestData) { + r.PcscfRestorationRequestData = &PcscfRestorationRequestData +} + +type PcscfRestorationResponse struct { +} + +type PcscfRestorationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PCSCFRestorationIndicationApiService) PcscfRestoration(ctx context.Context, request *PcscfRestorationRequest) (*PcscfRestorationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PcscfRestorationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/app-sessions/pcscf-restoration" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcscfRestorationRequestData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PcscfRestorationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PcscfRestorationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PcscfRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/PolicyAuthorization/client.go b/pcf/PolicyAuthorization/client.go new file mode 100644 index 00000000..2a479581 --- /dev/null +++ b/pcf/PolicyAuthorization/client.go @@ -0,0 +1,46 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +// APIClient manages communication with the Npcf_PolicyAuthorization Service API API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ApplicationSessionsCollectionApi *ApplicationSessionsCollectionApiService + EventsSubscriptionDocumentApi *EventsSubscriptionDocumentApiService + IndividualApplicationSessionContextDocumentApi *IndividualApplicationSessionContextDocumentApiService + PCSCFRestorationIndicationApi *PCSCFRestorationIndicationApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ApplicationSessionsCollectionApi = (*ApplicationSessionsCollectionApiService)(&c.common) + c.EventsSubscriptionDocumentApi = (*EventsSubscriptionDocumentApiService)(&c.common) + c.IndividualApplicationSessionContextDocumentApi = (*IndividualApplicationSessionContextDocumentApiService)(&c.common) + c.PCSCFRestorationIndicationApi = (*PCSCFRestorationIndicationApiService)(&c.common) + + return c +} diff --git a/pcf/PolicyAuthorization/configuration.go b/pcf/PolicyAuthorization/configuration.go new file mode 100644 index 00000000..ae0c1ed0 --- /dev/null +++ b/pcf/PolicyAuthorization/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_PolicyAuthorization Service API + * + * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PolicyAuthorization + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-policyauthorization/v1", + url: "{apiRoot}/npcf-policyauthorization/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/SMPolicyControl/api_individual_sm_policy_document.go b/pcf/SMPolicyControl/api_individual_sm_policy_document.go new file mode 100644 index 00000000..20e6727e --- /dev/null +++ b/pcf/SMPolicyControl/api_individual_sm_policy_document.go @@ -0,0 +1,604 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSMPolicyDocumentApiService service + +/* +IndividualSMPolicyDocumentApiService Delete an existing Individual SM Policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmPolicyId - Identifier of a policy association + * @param SmPolicyDeleteData - + +@return DeleteSMPolicyResponse +*/ + +// DeleteSMPolicyRequest +type DeleteSMPolicyRequest struct { + SmPolicyId *string + SmPolicyDeleteData *models.SmPolicyDeleteData +} + +func (r *DeleteSMPolicyRequest) SetSmPolicyId(SmPolicyId string) { + r.SmPolicyId = &SmPolicyId +} +func (r *DeleteSMPolicyRequest) SetSmPolicyDeleteData(SmPolicyDeleteData models.SmPolicyDeleteData) { + r.SmPolicyDeleteData = &SmPolicyDeleteData +} + +type DeleteSMPolicyResponse struct { +} + +type DeleteSMPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMPolicyDocumentApiService) DeleteSMPolicy(ctx context.Context, request *DeleteSMPolicyRequest) (*DeleteSMPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSMPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}/delete" + localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", openapi.StringOfValue(*request.SmPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmPolicyDeleteData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMPolicyDocumentApiService Read an Individual SM Policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmPolicyId - Identifier of a policy association + +@return GetSMPolicyResponse +*/ + +// GetSMPolicyRequest +type GetSMPolicyRequest struct { + SmPolicyId *string +} + +func (r *GetSMPolicyRequest) SetSmPolicyId(SmPolicyId string) { + r.SmPolicyId = &SmPolicyId +} + +type GetSMPolicyResponse struct { + SmPolicyControl models.SmPolicyControl +} + +type GetSMPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMPolicyDocumentApiService) GetSMPolicy(ctx context.Context, request *GetSMPolicyRequest) (*GetSMPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSMPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", openapi.StringOfValue(*request.SmPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyControl, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMPolicyDocumentApiService Update an existing Individual SM Policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmPolicyId - Identifier of a policy association + * @param SmPolicyUpdateContextData - + +@return UpdateSMPolicyResponse +*/ + +// UpdateSMPolicyRequest +type UpdateSMPolicyRequest struct { + SmPolicyId *string + SmPolicyUpdateContextData *models.SmPolicyUpdateContextData +} + +func (r *UpdateSMPolicyRequest) SetSmPolicyId(SmPolicyId string) { + r.SmPolicyId = &SmPolicyId +} +func (r *UpdateSMPolicyRequest) SetSmPolicyUpdateContextData(SmPolicyUpdateContextData models.SmPolicyUpdateContextData) { + r.SmPolicyUpdateContextData = &SmPolicyUpdateContextData +} + +type UpdateSMPolicyResponse struct { + SmPolicyDecision models.SmPolicyDecision +} + +type UpdateSMPolicyError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMPolicyDocumentApiService) UpdateSMPolicy(ctx context.Context, request *UpdateSMPolicyRequest) (*UpdateSMPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSMPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-policies/{smPolicyId}/update" + localVarPath = strings.Replace(localVarPath, "{"+"smPolicyId"+"}", openapi.StringOfValue(*request.SmPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmPolicyUpdateContextData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyDecision, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/SMPolicyControl/api_sm_policies_collection.go b/pcf/SMPolicyControl/api_sm_policies_collection.go new file mode 100644 index 00000000..3d6b8a2d --- /dev/null +++ b/pcf/SMPolicyControl/api_sm_policies_collection.go @@ -0,0 +1,587 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMPoliciesCollectionApiService service + +/* +SMPoliciesCollectionApiService Create a new Individual SM Policy + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmPolicyContextData - + +@return CreateSMPolicyResponse +*/ + +// CreateSMPolicyRequest +type CreateSMPolicyRequest struct { + SmPolicyContextData *models.SmPolicyContextData +} + +func (r *CreateSMPolicyRequest) SetSmPolicyContextData(SmPolicyContextData models.SmPolicyContextData) { + r.SmPolicyContextData = &SmPolicyContextData +} + +type CreateSMPolicyResponse struct { + Location string + SmPolicyDecision models.SmPolicyDecision +} + +type CreateSMPolicyError struct { + Location string + ProblemDetails models.ProblemDetails +} + +func (a *SMPoliciesCollectionApiService) CreateSMPolicy(ctx context.Context, request *CreateSMPolicyRequest) (*CreateSMPolicyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSMPolicyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-policies" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmPolicyContextData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyDecision, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 308: + return &localVarReturnValue, nil + case 400: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateSMPolicyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// SMPolicyUpdateNotificationRequest +type SMPolicyUpdateNotificationRequest struct { + SmPolicyNotification *models.SmPolicyNotification +} + +func (r *SMPolicyUpdateNotificationRequest) SetSmPolicyNotification(SmPolicyNotification models.SmPolicyNotification) { + r.SmPolicyNotification = &SmPolicyNotification +} + +type SMPolicyUpdateNotificationResponse struct { + SmPolicyUpdateNotificationResponse200 models.SmPolicyUpdateNotificationResponse200 +} + +type SMPolicyUpdateNotificationError struct { + Location string + Var3gppSbiTargetNfId string + ErrorReport models.ErrorReport + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMPoliciesCollectionApiService) SMPolicyUpdateNotification(ctx context.Context, uri string, request *SMPolicyUpdateNotificationRequest) (*SMPolicyUpdateNotificationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SMPolicyUpdateNotificationResponse + ) + + // create path and map variables + // 4.2.3.2, 29.512 + localVarPath := uri + "/update" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmPolicyNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyUpdateNotificationResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ErrorReport, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SMPolicyUpdateNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// SMPolicyTerminationRequestNotificationRequest +type SMPolicyTerminationRequestNotificationRequest struct { + PcfSmPolicyControlTerminationNotification *models.PcfSmPolicyControlTerminationNotification +} + +func (r *SMPolicyTerminationRequestNotificationRequest) SetPcfSmPolicyControlTerminationNotification(PcfSmPolicyControlTerminationNotification models.PcfSmPolicyControlTerminationNotification) { + r.PcfSmPolicyControlTerminationNotification = &PcfSmPolicyControlTerminationNotification +} + +type SMPolicyTerminationRequestNotificationResponse struct { +} + +type SMPolicyTerminationRequestNotificationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMPoliciesCollectionApiService) SMPolicyTerminationRequestNotification(ctx context.Context, uri string, request *SMPolicyTerminationRequestNotificationRequest) (*SMPolicyTerminationRequestNotificationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SMPolicyTerminationRequestNotificationResponse + ) + + // create path and map variables + // 4.2.3.2, 29.512 + localVarPath := uri + "/terminate" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfSmPolicyControlTerminationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SMPolicyTerminationRequestNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/SMPolicyControl/client.go b/pcf/SMPolicyControl/client.go new file mode 100644 index 00000000..8172eb46 --- /dev/null +++ b/pcf/SMPolicyControl/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMPolicyControl + +// APIClient manages communication with the Npcf_SMPolicyControl API API v1.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSMPolicyDocumentApi *IndividualSMPolicyDocumentApiService + SMPoliciesCollectionApi *SMPoliciesCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSMPolicyDocumentApi = (*IndividualSMPolicyDocumentApiService)(&c.common) + c.SMPoliciesCollectionApi = (*SMPoliciesCollectionApiService)(&c.common) + + return c +} diff --git a/pcf/SMPolicyControl/configuration.go b/pcf/SMPolicyControl/configuration.go new file mode 100644 index 00000000..51d1fec3 --- /dev/null +++ b/pcf/SMPolicyControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_SMPolicyControl API + * + * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ + * + * API version: 1.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SMPolicyControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-smpolicycontrol/v1", + url: "{apiRoot}/npcf-smpolicycontrol/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/pcf/UEPolicyControl/api_individual_ue_policy_association_document.go b/pcf/UEPolicyControl/api_individual_ue_policy_association_document.go new file mode 100644 index 00000000..dbf3278e --- /dev/null +++ b/pcf/UEPolicyControl/api_individual_ue_policy_association_document.go @@ -0,0 +1,572 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualUEPolicyAssociationDocumentApiService service + +/* +IndividualUEPolicyAssociationDocumentApiService Delete individual UE policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + +@return DeleteIndividualUEPolicyAssociationResponse +*/ + +// DeleteIndividualUEPolicyAssociationRequest +type DeleteIndividualUEPolicyAssociationRequest struct { + PolAssoId *string +} + +func (r *DeleteIndividualUEPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} + +type DeleteIndividualUEPolicyAssociationResponse struct { +} + +type DeleteIndividualUEPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEPolicyAssociationDocumentApiService) DeleteIndividualUEPolicyAssociation(ctx context.Context, request *DeleteIndividualUEPolicyAssociationRequest) (*DeleteIndividualUEPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualUEPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUEPolicyAssociationDocumentApiService Read individual UE policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + +@return ReadIndividualUEPolicyAssociationResponse +*/ + +// ReadIndividualUEPolicyAssociationRequest +type ReadIndividualUEPolicyAssociationRequest struct { + PolAssoId *string +} + +func (r *ReadIndividualUEPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} + +type ReadIndividualUEPolicyAssociationResponse struct { + PcfUePolicyControlPolicyAssociation models.PcfUePolicyControlPolicyAssociation +} + +type ReadIndividualUEPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEPolicyAssociationDocumentApiService) ReadIndividualUEPolicyAssociation(ctx context.Context, request *ReadIndividualUEPolicyAssociationRequest) (*ReadIndividualUEPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualUEPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfUePolicyControlPolicyAssociation, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualUEPolicyAssociationDocumentApiService Report observed event triggers and possibly obtain updated policies for an individual UE policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolAssoId - Identifier of a policy association + * @param PcfUePolicyControlPolicyAssociationUpdateRequest - + +@return ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse +*/ + +// ReportObservedEventTriggersForIndividualUEPolicyAssociationRequest +type ReportObservedEventTriggersForIndividualUEPolicyAssociationRequest struct { + PolAssoId *string + PcfUePolicyControlPolicyAssociationUpdateRequest *models.PcfUePolicyControlPolicyAssociationUpdateRequest +} + +func (r *ReportObservedEventTriggersForIndividualUEPolicyAssociationRequest) SetPolAssoId(PolAssoId string) { + r.PolAssoId = &PolAssoId +} +func (r *ReportObservedEventTriggersForIndividualUEPolicyAssociationRequest) SetPcfUePolicyControlPolicyAssociationUpdateRequest(PcfUePolicyControlPolicyAssociationUpdateRequest models.PcfUePolicyControlPolicyAssociationUpdateRequest) { + r.PcfUePolicyControlPolicyAssociationUpdateRequest = &PcfUePolicyControlPolicyAssociationUpdateRequest +} + +type ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse struct { + PcfUePolicyControlPolicyUpdate models.PcfUePolicyControlPolicyUpdate +} + +type ReportObservedEventTriggersForIndividualUEPolicyAssociationError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualUEPolicyAssociationDocumentApiService) ReportObservedEventTriggersForIndividualUEPolicyAssociation(ctx context.Context, request *ReportObservedEventTriggersForIndividualUEPolicyAssociationRequest) (*ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies/{polAssoId}/update" + localVarPath = strings.Replace(localVarPath, "{"+"polAssoId"+"}", openapi.StringOfValue(*request.PolAssoId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfUePolicyControlPolicyAssociationUpdateRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfUePolicyControlPolicyUpdate, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReportObservedEventTriggersForIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/pcf/UEPolicyControl/api_ue_policy_associations_collection.go b/pcf/UEPolicyControl/api_ue_policy_associations_collection.go new file mode 100644 index 00000000..00eb20ee --- /dev/null +++ b/pcf/UEPolicyControl/api_ue_policy_associations_collection.go @@ -0,0 +1,581 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEPolicyControl + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEPolicyAssociationsCollectionApiService service + +/* +UEPolicyAssociationsCollectionApiService Create individual UE policy association. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcfUePolicyControlPolicyAssociationRequest - + +@return CreateIndividualUEPolicyAssociationResponse +*/ + +// CreateIndividualUEPolicyAssociationRequest +type CreateIndividualUEPolicyAssociationRequest struct { + PcfUePolicyControlPolicyAssociationRequest *models.PcfUePolicyControlPolicyAssociationRequest +} + +func (r *CreateIndividualUEPolicyAssociationRequest) SetPcfUePolicyControlPolicyAssociationRequest(PcfUePolicyControlPolicyAssociationRequest models.PcfUePolicyControlPolicyAssociationRequest) { + r.PcfUePolicyControlPolicyAssociationRequest = &PcfUePolicyControlPolicyAssociationRequest +} + +type CreateIndividualUEPolicyAssociationResponse struct { + Location string + PcfUePolicyControlPolicyAssociation models.PcfUePolicyControlPolicyAssociation +} + +type CreateIndividualUEPolicyAssociationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEPolicyAssociationsCollectionApiService) CreateIndividualUEPolicyAssociation(ctx context.Context, request *CreateIndividualUEPolicyAssociationRequest) (*CreateIndividualUEPolicyAssociationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualUEPolicyAssociationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policies" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfUePolicyControlPolicyAssociationRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcfUePolicyControlPolicyAssociation, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualUEPolicyAssociationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostRequest +type CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostRequest struct { + PcfUePolicyControlPolicyUpdate *models.PcfUePolicyControlPolicyUpdate +} + +func (r *CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostRequest) SetPcfUePolicyControlPolicyUpdate(PcfUePolicyControlPolicyUpdate models.PcfUePolicyControlPolicyUpdate) { + r.PcfUePolicyControlPolicyUpdate = &PcfUePolicyControlPolicyUpdate +} + +type CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostResponse struct { + UeRequestedValueRep models.UeRequestedValueRep +} + +type CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UEPolicyAssociationsCollectionApiService) CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPost(ctx context.Context, uri string, request *CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostRequest) (*CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfUePolicyControlPolicyUpdate + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeRequestedValueRep, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualUEPolicyAssociationPolicyUpdateNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest +type CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest struct { + PcfUePolicyControlTerminationNotification *models.PcfUePolicyControlTerminationNotification +} + +func (r *CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest) SetPcfUePolicyControlTerminationNotification(PcfUePolicyControlTerminationNotification models.PcfUePolicyControlTerminationNotification) { + r.PcfUePolicyControlTerminationNotification = &PcfUePolicyControlTerminationNotification +} + +type CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse struct { +} + +type CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *UEPolicyAssociationsCollectionApiService) CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPost(ctx context.Context, uri string, request *CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostRequest) (*CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfUePolicyControlTerminationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualUEPolicyAssociationPolicyAssocitionTerminationRequestNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/pcf/UEPolicyControl/client.go b/pcf/UEPolicyControl/client.go new file mode 100644 index 00000000..10e6d098 --- /dev/null +++ b/pcf/UEPolicyControl/client.go @@ -0,0 +1,42 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEPolicyControl + +// APIClient manages communication with the Npcf_UEPolicyControl API v1.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualUEPolicyAssociationDocumentApi *IndividualUEPolicyAssociationDocumentApiService + UEPolicyAssociationsCollectionApi *UEPolicyAssociationsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualUEPolicyAssociationDocumentApi = (*IndividualUEPolicyAssociationDocumentApiService)(&c.common) + c.UEPolicyAssociationsCollectionApi = (*UEPolicyAssociationsCollectionApiService)(&c.common) + + return c +} diff --git a/pcf/UEPolicyControl/configuration.go b/pcf/UEPolicyControl/configuration.go new file mode 100644 index 00000000..f118fa65 --- /dev/null +++ b/pcf/UEPolicyControl/configuration.go @@ -0,0 +1,82 @@ +/* + * Npcf_UEPolicyControl + * + * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ + * + * API version: 1.2.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEPolicyControl + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/npcf-ue-policy-control/v1", + url: "{apiRoot}/npcf-ue-policy-control/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/problem_details.go b/problem_details.go index ff89fc33..8018c683 100644 --- a/problem_details.go +++ b/problem_details.go @@ -15,6 +15,14 @@ func ProblemDetailsSystemFailure(detail string) *models.ProblemDetails { } } +func ProblemDetailsOperationNotSupported() *models.ProblemDetails { + return &models.ProblemDetails{ + Title: "Operation not supported", + Status: http.StatusNotImplemented, + Cause: "OPERATION_NOT_SUPPORTED", + } +} + func ProblemDetailsMalformedReqSyntax(detail string) *models.ProblemDetails { return &models.ProblemDetails{ Title: "Malformed request syntax", @@ -30,3 +38,12 @@ func ProblemDetailsDataNotFound(detail string) *models.ProblemDetails { Detail: detail, } } + +func ProblemDetailsForbidden(detail, cause string) *models.ProblemDetails { + return &models.ProblemDetails{ + Title: "Forbidden", + Status: http.StatusForbidden, + Detail: detail, + Cause: cause, + } +} diff --git a/smf/EventExposure/api_individual_subscription_document.go b/smf/EventExposure/api_individual_subscription_document.go new file mode 100644 index 00000000..4b904e8c --- /dev/null +++ b/smf/EventExposure/api_individual_subscription_document.go @@ -0,0 +1,574 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService Delete an individual subscription for event notifications from the SMF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Event Subscription ID + +@return DeleteIndividualSubcriptionResponse +*/ + +// DeleteIndividualSubcriptionRequest +type DeleteIndividualSubcriptionRequest struct { + SubId *string +} + +func (r *DeleteIndividualSubcriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} + +type DeleteIndividualSubcriptionResponse struct { +} + +type DeleteIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) DeleteIndividualSubcription(ctx context.Context, request *DeleteIndividualSubcriptionRequest) (*DeleteIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService Read an individual subscription for event notifications from the SMF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Event Subscription ID + +@return GetIndividualSubcriptionResponse +*/ + +// GetIndividualSubcriptionRequest +type GetIndividualSubcriptionRequest struct { + SubId *string +} + +func (r *GetIndividualSubcriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} + +type GetIndividualSubcriptionResponse struct { + NsmfEventExposure models.NsmfEventExposure +} + +type GetIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) GetIndividualSubcription(ctx context.Context, request *GetIndividualSubcriptionRequest) (*GetIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NsmfEventExposure, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService Replace an individual subscription for event notifications from the SMF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Event Subscription ID + * @param NsmfEventExposure - + +@return ReplaceIndividualSubcriptionResponse +*/ + +// ReplaceIndividualSubcriptionRequest +type ReplaceIndividualSubcriptionRequest struct { + SubId *string + NsmfEventExposure *models.NsmfEventExposure +} + +func (r *ReplaceIndividualSubcriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} +func (r *ReplaceIndividualSubcriptionRequest) SetNsmfEventExposure(NsmfEventExposure models.NsmfEventExposure) { + r.NsmfEventExposure = &NsmfEventExposure +} + +type ReplaceIndividualSubcriptionResponse struct { + NsmfEventExposure models.NsmfEventExposure +} + +type ReplaceIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) ReplaceIndividualSubcription(ctx context.Context, request *ReplaceIndividualSubcriptionRequest) (*ReplaceIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NsmfEventExposure + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NsmfEventExposure, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/smf/EventExposure/api_subscriptions_collection.go b/smf/EventExposure/api_subscriptions_collection.go new file mode 100644 index 00000000..d576d572 --- /dev/null +++ b/smf/EventExposure/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService Create an individual subscription for event notifications from the SMF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NsmfEventExposure - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + NsmfEventExposure *models.NsmfEventExposure +} + +func (r *CreateIndividualSubcriptionRequest) SetNsmfEventExposure(NsmfEventExposure models.NsmfEventExposure) { + r.NsmfEventExposure = &NsmfEventExposure +} + +type CreateIndividualSubcriptionResponse struct { + Location string + NsmfEventExposure models.NsmfEventExposure +} + +type CreateIndividualSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NsmfEventExposure + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NsmfEventExposure, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualSubcriptionMyNotificationPostRequest +type CreateIndividualSubcriptionMyNotificationPostRequest struct { + NsmfEventExposureNotification *models.NsmfEventExposureNotification +} + +func (r *CreateIndividualSubcriptionMyNotificationPostRequest) SetNsmfEventExposureNotification(NsmfEventExposureNotification models.NsmfEventExposureNotification) { + r.NsmfEventExposureNotification = &NsmfEventExposureNotification +} + +type CreateIndividualSubcriptionMyNotificationPostResponse struct { +} + +type CreateIndividualSubcriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionMyNotificationPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionMyNotificationPostRequest) (*CreateIndividualSubcriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NsmfEventExposureNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/smf/EventExposure/client.go b/smf/EventExposure/client.go new file mode 100644 index 00000000..a0c2c4a5 --- /dev/null +++ b/smf/EventExposure/client.go @@ -0,0 +1,42 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +// APIClient manages communication with the Nsmf_EventExposure API v1.2.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/smf/EventExposure/configuration.go b/smf/EventExposure/configuration.go new file mode 100644 index 00000000..41d332a4 --- /dev/null +++ b/smf/EventExposure/configuration.go @@ -0,0 +1,82 @@ +/* + * Nsmf_EventExposure + * + * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nsmf-event-exposure/v1", + url: "{apiRoot}/nsmf-event-exposure/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/smf/NIDD/api_individual_pdu_session.go b/smf/NIDD/api_individual_pdu_session.go new file mode 100644 index 00000000..54866302 --- /dev/null +++ b/smf/NIDD/api_individual_pdu_session.go @@ -0,0 +1,237 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDD + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPDUSessionApiService service + +/* +IndividualPDUSessionApiService Delivery Service Operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PduSessionRef - PDU session reference + * @param DeliverRequest - representation of the payload of Deliver Request + +@return DeliverResponse +*/ + +// DeliverRequest +type DeliverRequest struct { + PduSessionRef *string + DeliverRequest *models.DeliverRequest +} + +func (r *DeliverRequest) SetPduSessionRef(PduSessionRef string) { + r.PduSessionRef = &PduSessionRef +} +func (r *DeliverRequest) SetDeliverRequest(DeliverRequest models.DeliverRequest) { + r.DeliverRequest = &DeliverRequest +} + +type DeliverResponse struct { +} + +type DeliverError struct { + Location string + Var3gppSbiTargetNfId string + DeliverError models.DeliverError + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPDUSessionApiService) Deliver(ctx context.Context, request *DeliverRequest) (*DeliverResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeliverResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/deliver" + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", openapi.StringOfValue(*request.PduSessionRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DeliverRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeliverError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeliverError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeliverError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v DeliverError + err = openapi.Deserialize(&v.DeliverError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/smf/NIDD/client.go b/smf/NIDD/client.go new file mode 100644 index 00000000..a7786c7d --- /dev/null +++ b/smf/NIDD/client.go @@ -0,0 +1,40 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDD + +// APIClient manages communication with the Nsmf_NIDD API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualPDUSessionApi *IndividualPDUSessionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualPDUSessionApi = (*IndividualPDUSessionApiService)(&c.common) + + return c +} diff --git a/smf/NIDD/configuration.go b/smf/NIDD/configuration.go new file mode 100644 index 00000000..a9aada3a --- /dev/null +++ b/smf/NIDD/configuration.go @@ -0,0 +1,82 @@ +/* + * Nsmf_NIDD + * + * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDD + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nsmf-nidd/v1", + url: "{apiRoot}/nsmf-nidd/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/smf/PDUSession/api_individual_pdu_session_hsmf_or_smf.go b/smf/PDUSession/api_individual_pdu_session_hsmf_or_smf.go new file mode 100644 index 00000000..5be7a33f --- /dev/null +++ b/smf/PDUSession/api_individual_pdu_session_hsmf_or_smf.go @@ -0,0 +1,829 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPDUSessionHSMFOrSMFApiService service + +/* +IndividualPDUSessionHSMFOrSMFApiService Release + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PduSessionRef - PDU session reference + * @param ReleasePduSessionRequest - data sent to H-SMF or SMF when releasing the PDU session + +@return ReleasePduSessionResponse +*/ + +// ReleasePduSessionRequest +type ReleasePduSessionRequest struct { + PduSessionRef *string + ReleasePduSessionRequest *models.ReleasePduSessionRequest +} + +func (r *ReleasePduSessionRequest) SetPduSessionRef(PduSessionRef string) { + r.PduSessionRef = &PduSessionRef +} +func (r *ReleasePduSessionRequest) SetReleasePduSessionRequest(ReleasePduSessionRequest models.ReleasePduSessionRequest) { + r.ReleasePduSessionRequest = &ReleasePduSessionRequest +} + +type ReleasePduSessionResponse struct { + ReleasePduSessionResponse200 models.ReleasePduSessionResponse200 +} + +type ReleasePduSessionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPDUSessionHSMFOrSMFApiService) ReleasePduSession(ctx context.Context, request *ReleasePduSessionRequest) (*ReleasePduSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReleasePduSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/release" + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", openapi.StringOfValue(*request.PduSessionRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.ReleasePduSessionRequest != nil { + localVarPostBody = request.ReleasePduSessionRequest + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ReleasePduSessionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReleasePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPDUSessionHSMFOrSMFApiService Retrieve + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PduSessionRef - PDU session reference + * @param RetrieveData - representation of the payload of the Retrieve Request + +@return RetrievePduSessionResponse +*/ + +// RetrievePduSessionRequest +type RetrievePduSessionRequest struct { + PduSessionRef *string + RetrieveData *models.RetrieveData +} + +func (r *RetrievePduSessionRequest) SetPduSessionRef(PduSessionRef string) { + r.PduSessionRef = &PduSessionRef +} +func (r *RetrievePduSessionRequest) SetRetrieveData(RetrieveData models.RetrieveData) { + r.RetrieveData = &RetrieveData +} + +type RetrievePduSessionResponse struct { + RetrievedData models.RetrievedData +} + +type RetrievePduSessionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPDUSessionHSMFOrSMFApiService) RetrievePduSession(ctx context.Context, request *RetrievePduSessionRequest) (*RetrievePduSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RetrievePduSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/retrieve" + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", openapi.StringOfValue(*request.PduSessionRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RetrieveData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RetrievedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v RetrievePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPDUSessionHSMFOrSMFApiService Transfer MO Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PduSessionRef - PDU session reference + * @param TransferMoDataRequest - representation of the payload of Transfer MO Data Request + +@return TransferMoDataResponse +*/ + +// TransferMoDataRequest +type TransferMoDataRequest struct { + PduSessionRef *string + TransferMoDataRequest *models.TransferMoDataRequest +} + +func (r *TransferMoDataRequest) SetPduSessionRef(PduSessionRef string) { + r.PduSessionRef = &PduSessionRef +} +func (r *TransferMoDataRequest) SetTransferMoDataRequest(TransferMoDataRequest models.TransferMoDataRequest) { + r.TransferMoDataRequest = &TransferMoDataRequest +} + +type TransferMoDataResponse struct { +} + +type TransferMoDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPDUSessionHSMFOrSMFApiService) TransferMoData(ctx context.Context, request *TransferMoDataRequest) (*TransferMoDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TransferMoDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/transfer-mo-data" + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", openapi.StringOfValue(*request.PduSessionRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TransferMoDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v TransferMoDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v TransferMoDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v TransferMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPDUSessionHSMFOrSMFApiService Update (initiated by V-SMF or I-SMF) + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PduSessionRef - PDU session reference + * @param UpdatePduSessionRequest - representation of the updates to apply to the PDU session + +@return UpdatePduSessionResponse +*/ + +// UpdatePduSessionRequest +type UpdatePduSessionRequest struct { + PduSessionRef *string + UpdatePduSessionRequest *models.UpdatePduSessionRequest +} + +func (r *UpdatePduSessionRequest) SetPduSessionRef(PduSessionRef string) { + r.PduSessionRef = &PduSessionRef +} +func (r *UpdatePduSessionRequest) SetUpdatePduSessionRequest(UpdatePduSessionRequest models.UpdatePduSessionRequest) { + r.UpdatePduSessionRequest = &UpdatePduSessionRequest +} + +type UpdatePduSessionResponse struct { + UpdatePduSessionResponse200 models.UpdatePduSessionResponse200 +} + +type UpdatePduSessionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + UpdatePduSessionResponse400 models.UpdatePduSessionResponse400 +} + +func (a *IndividualPDUSessionHSMFOrSMFApiService) UpdatePduSession(ctx context.Context, request *UpdatePduSessionRequest) (*UpdatePduSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdatePduSessionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions/{pduSessionRef}/modify" + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionRef"+"}", openapi.StringOfValue(*request.PduSessionRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UpdatePduSessionRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UpdatePduSessionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.UpdatePduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.UpdatePduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.UpdatePduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.UpdatePduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdatePduSessionError + err = openapi.Deserialize(&v.UpdatePduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/smf/PDUSession/api_individual_sm_context.go b/smf/PDUSession/api_individual_sm_context.go new file mode 100644 index 00000000..a8662548 --- /dev/null +++ b/smf/PDUSession/api_individual_sm_context.go @@ -0,0 +1,833 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSMContextApiService service + +/* +IndividualSMContextApiService Release SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextRef - SM context reference + * @param ReleaseSmContextRequest - representation of the data to be sent to the SMF when releasing the SM context + +@return ReleaseSmContextResponse +*/ + +// ReleaseSmContextRequest +type ReleaseSmContextRequest struct { + SmContextRef *string + ReleaseSmContextRequest *models.ReleaseSmContextRequest +} + +func (r *ReleaseSmContextRequest) SetSmContextRef(SmContextRef string) { + r.SmContextRef = &SmContextRef +} +func (r *ReleaseSmContextRequest) SetReleaseSmContextRequest(ReleaseSmContextRequest models.ReleaseSmContextRequest) { + r.ReleaseSmContextRequest = &ReleaseSmContextRequest +} + +type ReleaseSmContextResponse struct { + SmContextReleasedData models.SmContextReleasedData +} + +type ReleaseSmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMContextApiService) ReleaseSmContext(ctx context.Context, request *ReleaseSmContextRequest) (*ReleaseSmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReleaseSmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/release" + localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", openapi.StringOfValue(*request.SmContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related", "application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.ReleaseSmContextRequest != nil { + localVarPostBody = request.ReleaseSmContextRequest + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmContextReleasedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReleaseSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMContextApiService Retrieve SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextRef - SM context reference + * @param SmContextRetrieveData - parameters used to retrieve the SM context + +@return RetrieveSmContextResponse +*/ + +// RetrieveSmContextRequest +type RetrieveSmContextRequest struct { + SmContextRef *string + SmContextRetrieveData *models.SmContextRetrieveData +} + +func (r *RetrieveSmContextRequest) SetSmContextRef(SmContextRef string) { + r.SmContextRef = &SmContextRef +} +func (r *RetrieveSmContextRequest) SetSmContextRetrieveData(SmContextRetrieveData models.SmContextRetrieveData) { + r.SmContextRetrieveData = &SmContextRetrieveData +} + +type RetrieveSmContextResponse struct { + SmContextRetrievedData models.SmContextRetrievedData +} + +type RetrieveSmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSMContextApiService) RetrieveSmContext(ctx context.Context, request *RetrieveSmContextRequest) (*RetrieveSmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RetrieveSmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/retrieve" + localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", openapi.StringOfValue(*request.SmContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.SmContextRetrieveData != nil { + localVarPostBody = request.SmContextRetrieveData + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmContextRetrievedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v RetrieveSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMContextApiService Send MO Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextRef - SM context reference + * @param SendMoDataRequest - representation of the payload of Send MO Data Request + +@return SendMoDataResponse +*/ + +// SendMoDataRequest +type SendMoDataRequest struct { + SmContextRef *string + SendMoDataRequest *models.SendMoDataRequest +} + +func (r *SendMoDataRequest) SetSmContextRef(SmContextRef string) { + r.SmContextRef = &SmContextRef +} +func (r *SendMoDataRequest) SetSendMoDataRequest(SendMoDataRequest models.SendMoDataRequest) { + r.SendMoDataRequest = &SendMoDataRequest +} + +type SendMoDataResponse struct { +} + +type SendMoDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + SmfPduSessionExtProblemDetails models.SmfPduSessionExtProblemDetails +} + +func (a *IndividualSMContextApiService) SendMoData(ctx context.Context, request *SendMoDataRequest) (*SendMoDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SendMoDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/send-mo-data" + localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", openapi.StringOfValue(*request.SmContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SendMoDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SendMoDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SendMoDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SendMoDataError + err = openapi.Deserialize(&v.SmfPduSessionExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SendMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSMContextApiService Update SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SmContextRef - SM context reference + * @param UpdateSmContextRequest - representation of the updates to apply to the SM context + +@return UpdateSmContextResponse +*/ + +// UpdateSmContextRequest +type UpdateSmContextRequest struct { + SmContextRef *string + UpdateSmContextRequest *models.UpdateSmContextRequest +} + +func (r *UpdateSmContextRequest) SetSmContextRef(SmContextRef string) { + r.SmContextRef = &SmContextRef +} +func (r *UpdateSmContextRequest) SetUpdateSmContextRequest(UpdateSmContextRequest models.UpdateSmContextRequest) { + r.UpdateSmContextRequest = &UpdateSmContextRequest +} + +type UpdateSmContextResponse struct { + UpdateSmContextResponse200 models.UpdateSmContextResponse200 +} + +type UpdateSmContextError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + UpdateSmContextResponse400 models.UpdateSmContextResponse400 +} + +func (a *IndividualSMContextApiService) UpdateSmContext(ctx context.Context, request *UpdateSmContextRequest) (*UpdateSmContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSmContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts/{smContextRef}/modify" + localVarPath = strings.Replace(localVarPath, "{"+"smContextRef"+"}", openapi.StringOfValue(*request.SmContextRef), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related", "application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UpdateSmContextRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UpdateSmContextResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v UpdateSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateSmContextError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateSmContextError + err = openapi.Deserialize(&v.UpdateSmContextResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateSmContextError + err = openapi.Deserialize(&v.UpdateSmContextResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSmContextError + err = openapi.Deserialize(&v.UpdateSmContextResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateSmContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSmContextError + err = openapi.Deserialize(&v.UpdateSmContextResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSmContextError + err = openapi.Deserialize(&v.UpdateSmContextResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/smf/PDUSession/api_pdu_sessions_collection.go b/smf/PDUSession/api_pdu_sessions_collection.go new file mode 100644 index 00000000..c4c884a8 --- /dev/null +++ b/smf/PDUSession/api_pdu_sessions_collection.go @@ -0,0 +1,1360 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PDUSessionsCollectionApiService service + +/* +PDUSessionsCollectionApiService Create + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PostPduSessionsRequest - representation of the PDU session to be created in the H-SMF or SMF + +@return PostPduSessionsResponse +*/ + +// PostPduSessionsRequest +type PostPduSessionsRequest struct { + PostPduSessionsRequest *models.PostPduSessionsRequest +} + +func (r *PostPduSessionsRequest) SetPostPduSessionsRequest(PostPduSessionsRequest models.PostPduSessionsRequest) { + r.PostPduSessionsRequest = &PostPduSessionsRequest +} + +type PostPduSessionsResponse struct { + Location string + PostPduSessionsResponse201 models.PostPduSessionsResponse201 +} + +type PostPduSessionsError struct { + Location string + Var3gppSbiTargetNfId string + PostPduSessionsResponse400 models.PostPduSessionsResponse400 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PDUSessionsCollectionApiService) PostPduSessions(ctx context.Context, request *PostPduSessionsRequest) (*PostPduSessionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostPduSessionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pdu-sessions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PostPduSessionsRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PostPduSessionsResponse201, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v PostPduSessionsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostPduSessionsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostPduSessionsError + err = openapi.Deserialize(&v.PostPduSessionsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostPduSessionsError + err = openapi.Deserialize(&v.PostPduSessionsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostPduSessionsError + err = openapi.Deserialize(&v.PostPduSessionsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostPduSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostPduSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostPduSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostPduSessionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostPduSessionsError + err = openapi.Deserialize(&v.PostPduSessionsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostPduSessionsError + err = openapi.Deserialize(&v.PostPduSessionsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// NotifyStatusRequest +type NotifyStatusRequest struct { + StatusNotification *models.StatusNotification +} + +func (r *NotifyStatusRequest) SetStatusNotification(StatusNotification models.StatusNotification) { + r.StatusNotification = &StatusNotification +} + +type NotifyStatusResponse struct { +} + +type NotifyStatusError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PDUSessionsCollectionApiService) NotifyStatus(ctx context.Context, uri string, request *NotifyStatusRequest) (*NotifyStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NotifyStatusResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.StatusNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NotifyStatusError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NotifyStatusError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NotifyStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// NotifyStatusIsfmRequest +type NotifyStatusIsfmRequest struct { + StatusNotification *models.StatusNotification +} + +func (r *NotifyStatusIsfmRequest) SetStatusNotification(StatusNotification models.StatusNotification) { + r.StatusNotification = &StatusNotification +} + +type NotifyStatusIsfmResponse struct { +} + +type NotifyStatusIsfmError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PDUSessionsCollectionApiService) NotifyStatusIsfm(ctx context.Context, uri string, request *NotifyStatusIsfmRequest) (*NotifyStatusIsfmResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NotifyStatusIsfmResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.StatusNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NotifyStatusIsfmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// ModifyPduSessionRequest +type ModifyPduSessionRequest struct { + ModifyPduSessionRequest *models.ModifyPduSessionRequest +} + +func (r *ModifyPduSessionRequest) SetModifyPduSessionRequest(ModifyPduSessionRequest models.ModifyPduSessionRequest) { + r.ModifyPduSessionRequest = &ModifyPduSessionRequest +} + +type ModifyPduSessionResponse struct { + ModifyPduSessionResponse200 models.ModifyPduSessionResponse200 +} + +type ModifyPduSessionError struct { + Location string + Var3gppSbiTargetNfId string + ModifyPduSessionResponse400 models.ModifyPduSessionResponse400 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PDUSessionsCollectionApiService) ModifyPduSession(ctx context.Context, uri string, request *ModifyPduSessionRequest) (*ModifyPduSessionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyPduSessionResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ModifyPduSessionRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ModifyPduSessionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v ModifyPduSessionError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// ModifyPduSessionIsmfRequest +type ModifyPduSessionIsmfRequest struct { + ModifyPduSessionRequest *models.ModifyPduSessionRequest +} + +func (r *ModifyPduSessionIsmfRequest) SetModifyPduSessionRequest(ModifyPduSessionRequest models.ModifyPduSessionRequest) { + r.ModifyPduSessionRequest = &ModifyPduSessionRequest +} + +type ModifyPduSessionIsmfResponse struct { + ModifyPduSessionResponse200 models.ModifyPduSessionResponse200 +} + +type ModifyPduSessionIsmfError struct { + Location string + Var3gppSbiTargetNfId string + ModifyPduSessionResponse400 models.ModifyPduSessionResponse400 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *PDUSessionsCollectionApiService) ModifyPduSessionIsmf(ctx context.Context, uri string, request *ModifyPduSessionIsmfRequest) (*ModifyPduSessionIsmfResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyPduSessionIsmfResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ModifyPduSessionRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ModifyPduSessionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v ModifyPduSessionIsmfError + err = openapi.Deserialize(&v.ModifyPduSessionResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// TransferMtDataRequest +type TransferMtDataRequest struct { + TransferMtDataRequest *models.TransferMtDataRequest +} + +func (r *TransferMtDataRequest) SetTransferMtDataRequest(TransferMtDataRequest models.TransferMtDataRequest) { + r.TransferMtDataRequest = &TransferMtDataRequest +} + +type TransferMtDataResponse struct { +} + +type TransferMtDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + TransferMtDataError models.TransferMtDataError +} + +func (a *PDUSessionsCollectionApiService) TransferMtData(ctx context.Context, uri string, request *TransferMtDataRequest) (*TransferMtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TransferMtDataResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TransferMtDataRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v TransferMtDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v TransferMtDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v TransferMtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v TransferMtDataError + err = openapi.Deserialize(&v.TransferMtDataError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// TransferMtDataIsmfRequest +type TransferMtDataIsmfRequest struct { + TransferMtDataismfRequest *models.TransferMtDataismfRequest +} + +func (r *TransferMtDataIsmfRequest) SetTransferMtDataismfRequest(TransferMtDataismfRequest models.TransferMtDataismfRequest) { + r.TransferMtDataismfRequest = &TransferMtDataismfRequest +} + +type TransferMtDataIsmfResponse struct { +} + +type TransferMtDataIsmfError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + TransferMtDataError models.TransferMtDataError +} + +func (a *PDUSessionsCollectionApiService) TransferMtDataIsmf(ctx context.Context, uri string, request *TransferMtDataIsmfRequest) (*TransferMtDataIsmfResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TransferMtDataIsmfResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TransferMtDataismfRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v TransferMtDataIsmfError + err = openapi.Deserialize(&v.TransferMtDataError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/smf/PDUSession/api_sm_contexts_collection.go b/smf/PDUSession/api_sm_contexts_collection.go new file mode 100644 index 00000000..fc1d9a09 --- /dev/null +++ b/smf/PDUSession/api_sm_contexts_collection.go @@ -0,0 +1,407 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMContextsCollectionApiService service + +/* +SMContextsCollectionApiService Create SM Context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PostSmContextsRequest - representation of the SM context to be created in the SMF + +@return PostSmContextsResponse +*/ + +// PostSmContextsRequest +type PostSmContextsRequest struct { + PostSmContextsRequest *models.PostSmContextsRequest +} + +func (r *PostSmContextsRequest) SetPostSmContextsRequest(PostSmContextsRequest models.PostSmContextsRequest) { + r.PostSmContextsRequest = &PostSmContextsRequest +} + +type PostSmContextsResponse struct { + Location string + PostSmContextsResponse201 models.PostSmContextsResponse201 +} + +type PostSmContextsError struct { + Location string + Var3gppSbiTargetNfId string + PostSmContextsResponse400 models.PostSmContextsResponse400 + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse + SmfPduSessionExtProblemDetails models.SmfPduSessionExtProblemDetails +} + +func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, request *PostSmContextsRequest) (*PostSmContextsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostSmContextsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/sm-contexts" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/related"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PostSmContextsRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PostSmContextsResponse201, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 307: + var v PostSmContextsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostSmContextsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostSmContextsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostSmContextsError + err = openapi.Deserialize(&v.SmfPduSessionExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostSmContextsError + err = openapi.Deserialize(&v.SmfPduSessionExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostSmContextsError + err = openapi.Deserialize(&v.SmfPduSessionExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v PostSmContextsError + err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// PostSmContextsSmContextStatusNotificationPostRequest +type PostSmContextsSmContextStatusNotificationPostRequest struct { + SmfPduSessionSmContextStatusNotification *models.SmfPduSessionSmContextStatusNotification +} + +func (r *PostSmContextsSmContextStatusNotificationPostRequest) SetSmfPduSessionSmContextStatusNotification(SmfPduSessionSmContextStatusNotification models.SmfPduSessionSmContextStatusNotification) { + r.SmfPduSessionSmContextStatusNotification = &SmfPduSessionSmContextStatusNotification +} + +type PostSmContextsSmContextStatusNotificationPostResponse struct { +} + +type PostSmContextsSmContextStatusNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMContextsCollectionApiService) PostSmContextsSmContextStatusNotificationPost(ctx context.Context, uri string, request *PostSmContextsSmContextStatusNotificationPostRequest) (*PostSmContextsSmContextStatusNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PostSmContextsSmContextStatusNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfPduSessionSmContextStatusNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PostSmContextsSmContextStatusNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in PostSmContextsSmContextStatusNotificationPost", localVarHTTPResponse.StatusCode) + } +} diff --git a/smf/PDUSession/client.go b/smf/PDUSession/client.go new file mode 100644 index 00000000..fda9ebe1 --- /dev/null +++ b/smf/PDUSession/client.go @@ -0,0 +1,46 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +// APIClient manages communication with the Nsmf_PDUSession API v1.2.5 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualPDUSessionHSMFOrSMFApi *IndividualPDUSessionHSMFOrSMFApiService + IndividualSMContextApi *IndividualSMContextApiService + PDUSessionsCollectionApi *PDUSessionsCollectionApiService + SMContextsCollectionApi *SMContextsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualPDUSessionHSMFOrSMFApi = (*IndividualPDUSessionHSMFOrSMFApiService)(&c.common) + c.IndividualSMContextApi = (*IndividualSMContextApiService)(&c.common) + c.PDUSessionsCollectionApi = (*PDUSessionsCollectionApiService)(&c.common) + c.SMContextsCollectionApi = (*SMContextsCollectionApiService)(&c.common) + + return c +} diff --git a/smf/PDUSession/configuration.go b/smf/PDUSession/configuration.go new file mode 100644 index 00000000..80883982 --- /dev/null +++ b/smf/PDUSession/configuration.go @@ -0,0 +1,82 @@ +/* + * Nsmf_PDUSession + * + * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package PDUSession + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nsmf-pdusession/v1", + url: "{apiRoot}/nsmf-pdusession/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/supported_feature_test.go b/supported_feature_test.go index 479dbe04..a546d347 100644 --- a/supported_feature_test.go +++ b/supported_feature_test.go @@ -25,7 +25,8 @@ func TestNewSupportedFeature(t *testing.T) { assert.Equal(t, SupportedFeature{}, suppFeat) } func TestGetFeatureOfSupportedFeature(t *testing.T) { - suppFeat, _ := NewSupportedFeature("1324") + suppFeat, err := NewSupportedFeature("1324") + assert.Nil(t, err) assert.False(t, suppFeat.GetFeature(1)) assert.False(t, suppFeat.GetFeature(2)) @@ -49,41 +50,54 @@ func TestGetFeatureOfSupportedFeature(t *testing.T) { } func TestStringOfSupportedFeature(t *testing.T) { - suppFeat, _ := NewSupportedFeature("1324") + suppFeat, err := NewSupportedFeature("1324") + assert.Nil(t, err) assert.Equal(t, "1324", suppFeat.String()) // testing padding - suppFeat, _ = NewSupportedFeature("1") + suppFeat, err = NewSupportedFeature("1") + assert.Nil(t, err) assert.Equal(t, "01", suppFeat.String()) - suppFeat, _ = NewSupportedFeature("ABCDE") + suppFeat, err = NewSupportedFeature("ABCDE") + assert.Nil(t, err) assert.Equal(t, "0abcde", suppFeat.String()) } func TestNegotiateWithOfSupportedFeature(t *testing.T) { var suppFeatA, suppFeatB, negotiatedFeat SupportedFeature - suppFeatA, _ = NewSupportedFeature("0FFF") - suppFeatB, _ = NewSupportedFeature("1324") + suppFeatA, err := NewSupportedFeature("0FFF") + assert.Nil(t, err) + suppFeatB, err = NewSupportedFeature("1324") + assert.Nil(t, err) negotiatedFeat = suppFeatA.NegotiateWith(suppFeatB) assert.Equal(t, SupportedFeature{0x03, 0x24}, negotiatedFeat) - suppFeatA, _ = NewSupportedFeature("0234") - suppFeatB, _ = NewSupportedFeature("0001") + suppFeatA, err = NewSupportedFeature("0234") + assert.Nil(t, err) + suppFeatB, err = NewSupportedFeature("0001") + assert.Nil(t, err) negotiatedFeat = suppFeatA.NegotiateWith(suppFeatB) assert.Equal(t, SupportedFeature{0x00, 0x00}, negotiatedFeat) - suppFeatA, _ = NewSupportedFeature("FFFF") - suppFeatB, _ = NewSupportedFeature("F") + suppFeatA, err = NewSupportedFeature("FFFF") + assert.Nil(t, err) + suppFeatB, err = NewSupportedFeature("F") + assert.Nil(t, err) negotiatedFeat = suppFeatA.NegotiateWith(suppFeatB) assert.Equal(t, SupportedFeature{0x00, 0x0F}, negotiatedFeat) - suppFeatA, _ = NewSupportedFeature("3000") - suppFeatB, _ = NewSupportedFeature("3") + suppFeatA, err = NewSupportedFeature("3000") + assert.Nil(t, err) + suppFeatB, err = NewSupportedFeature("3") + assert.Nil(t, err) negotiatedFeat = suppFeatA.NegotiateWith(suppFeatB) assert.Equal(t, SupportedFeature{0x00, 0x00}, negotiatedFeat) - suppFeatA, _ = NewSupportedFeature("23E3") - suppFeatB, _ = NewSupportedFeature("1") + suppFeatA, err = NewSupportedFeature("23E3") + assert.Nil(t, err) + suppFeatB, err = NewSupportedFeature("1") + assert.Nil(t, err) negotiatedFeat = suppFeatA.NegotiateWith(suppFeatB) assert.Equal(t, SupportedFeature{0x00, 0x01}, negotiatedFeat) } diff --git a/udm/EventExposure/api_create_ee_subscription.go b/udm/EventExposure/api_create_ee_subscription.go new file mode 100644 index 00000000..a97aafc4 --- /dev/null +++ b/udm/EventExposure/api_create_ee_subscription.go @@ -0,0 +1,606 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type CreateEESubscriptionApiService service + +/* +CreateEESubscriptionApiService Subscribe + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. + * @param UdmEeEeSubscription - + +@return CreateEeSubscriptionResponse +*/ + +// CreateEeSubscriptionRequest +type CreateEeSubscriptionRequest struct { + UeIdentity *string + UdmEeEeSubscription *models.UdmEeEeSubscription +} + +func (r *CreateEeSubscriptionRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *CreateEeSubscriptionRequest) SetUdmEeEeSubscription(UdmEeEeSubscription models.UdmEeEeSubscription) { + r.UdmEeEeSubscription = &UdmEeEeSubscription +} + +type CreateEeSubscriptionResponse struct { + Location string + UdmEeCreatedEeSubscription models.UdmEeCreatedEeSubscription +} + +type CreateEeSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *CreateEESubscriptionApiService) CreateEeSubscription(ctx context.Context, request *CreateEeSubscriptionRequest) (*CreateEeSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmEeEeSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UdmEeCreatedEeSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateEeSubscriptionEventOccurrenceNotificationPostRequest +type CreateEeSubscriptionEventOccurrenceNotificationPostRequest struct { + UdmEEMonitoringReport []models.UdmEeMonitoringReport +} + +func (r *CreateEeSubscriptionEventOccurrenceNotificationPostRequest) SetUdmEEMonitoringReport(UdmEEMonitoringReport []models.UdmEeMonitoringReport) { + r.UdmEEMonitoringReport = UdmEEMonitoringReport +} + +type CreateEeSubscriptionEventOccurrenceNotificationPostResponse struct { +} + +type CreateEeSubscriptionEventOccurrenceNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *CreateEESubscriptionApiService) CreateEeSubscriptionEventOccurrenceNotificationPost(ctx context.Context, uri string, request *CreateEeSubscriptionEventOccurrenceNotificationPostRequest) (*CreateEeSubscriptionEventOccurrenceNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeSubscriptionEventOccurrenceNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmEEMonitoringReport + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateEeSubscriptionEventOccurrenceNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateEeSubscriptionEventOccurrenceNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateEeSubscriptionEventOccurrenceNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateEeSubscriptionEventOccurrenceNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateEeSubscriptionMonitoringRevocationNotificationPostRequest +type CreateEeSubscriptionMonitoringRevocationNotificationPostRequest struct { + EeMonitoringRevoked *models.EeMonitoringRevoked +} + +func (r *CreateEeSubscriptionMonitoringRevocationNotificationPostRequest) SetEeMonitoringRevoked(EeMonitoringRevoked models.EeMonitoringRevoked) { + r.EeMonitoringRevoked = &EeMonitoringRevoked +} + +type CreateEeSubscriptionMonitoringRevocationNotificationPostResponse struct { +} + +type CreateEeSubscriptionMonitoringRevocationNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *CreateEESubscriptionApiService) CreateEeSubscriptionMonitoringRevocationNotificationPost(ctx context.Context, uri string, request *CreateEeSubscriptionMonitoringRevocationNotificationPostRequest) (*CreateEeSubscriptionMonitoringRevocationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeSubscriptionMonitoringRevocationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.EeMonitoringRevoked + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateEeSubscriptionMonitoringRevocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateEeSubscriptionMonitoringRevocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateEeSubscriptionMonitoringRevocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateEeSubscriptionMonitoringRevocationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateEeSubscriptionDataRestorationNotificationPostRequest +type CreateEeSubscriptionDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *CreateEeSubscriptionDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type CreateEeSubscriptionDataRestorationNotificationPostResponse struct { +} + +type CreateEeSubscriptionDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *CreateEESubscriptionApiService) CreateEeSubscriptionDataRestorationNotificationPost(ctx context.Context, uri string, request *CreateEeSubscriptionDataRestorationNotificationPostRequest) (*CreateEeSubscriptionDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeSubscriptionDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateEeSubscriptionDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/EventExposure/api_delete_ee_subscription.go b/udm/EventExposure/api_delete_ee_subscription.go new file mode 100644 index 00000000..7d6f555c --- /dev/null +++ b/udm/EventExposure/api_delete_ee_subscription.go @@ -0,0 +1,155 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DeleteEESubscriptionApiService service + +/* +DeleteEESubscriptionApiService Unsubscribe + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. + * @param SubscriptionId - Id of the EE Subscription + +@return DeleteEeSubscriptionResponse +*/ + +// DeleteEeSubscriptionRequest +type DeleteEeSubscriptionRequest struct { + UeIdentity *string + SubscriptionId *string +} + +func (r *DeleteEeSubscriptionRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *DeleteEeSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteEeSubscriptionResponse struct { +} + +type DeleteEeSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DeleteEESubscriptionApiService) DeleteEeSubscription(ctx context.Context, request *DeleteEeSubscriptionRequest) (*DeleteEeSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteEeSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/EventExposure/api_update_ee_subscription.go b/udm/EventExposure/api_update_ee_subscription.go new file mode 100644 index 00000000..035f7049 --- /dev/null +++ b/udm/EventExposure/api_update_ee_subscription.go @@ -0,0 +1,162 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UpdateEESubscriptionApiService service + +/* +UpdateEESubscriptionApiService Patch + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the subscription is applied. Contains the GPSI of the user or the external group ID or any UE. + * @param SubscriptionId - Id of the EE Subscription + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateEeSubscriptionResponse +*/ + +// UpdateEeSubscriptionRequest +type UpdateEeSubscriptionRequest struct { + UeIdentity *string + SubscriptionId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *UpdateEeSubscriptionRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *UpdateEeSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateEeSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateEeSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateEeSubscriptionResponse struct { + PatchResult models.PatchResult +} + +type UpdateEeSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UpdateEESubscriptionApiService) UpdateEeSubscription(ctx context.Context, request *UpdateEeSubscriptionRequest) (*UpdateEeSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateEeSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/ee-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 403: + var v UpdateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateEeSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/EventExposure/client.go b/udm/EventExposure/client.go new file mode 100644 index 00000000..aa68ca77 --- /dev/null +++ b/udm/EventExposure/client.go @@ -0,0 +1,44 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +// APIClient manages communication with the Nudm_EE API v1.2.3 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + CreateEESubscriptionApi *CreateEESubscriptionApiService + DeleteEESubscriptionApi *DeleteEESubscriptionApiService + UpdateEESubscriptionApi *UpdateEESubscriptionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.CreateEESubscriptionApi = (*CreateEESubscriptionApiService)(&c.common) + c.DeleteEESubscriptionApi = (*DeleteEESubscriptionApiService)(&c.common) + c.UpdateEESubscriptionApi = (*UpdateEESubscriptionApiService)(&c.common) + + return c +} diff --git a/udm/EventExposure/configuration.go b/udm/EventExposure/configuration.go new file mode 100644 index 00000000..425e79cf --- /dev/null +++ b/udm/EventExposure/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_EE + * + * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.3 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package EventExposure + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-ee/v1", + url: "{apiRoot}/nudm-ee/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/MT/api_provide_ue_location.go b/udm/MT/api_provide_ue_location.go new file mode 100644 index 00000000..59404c77 --- /dev/null +++ b/udm/MT/api_provide_ue_location.go @@ -0,0 +1,170 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvideUELocationApiService service + +/* +ProvideUELocationApiService Provides the UE's 5GS location information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param LocationInfoRequest - + +@return ProvideLocationInfoResponse +*/ + +// ProvideLocationInfoRequest +type ProvideLocationInfoRequest struct { + Supi *string + LocationInfoRequest *models.LocationInfoRequest +} + +func (r *ProvideLocationInfoRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *ProvideLocationInfoRequest) SetLocationInfoRequest(LocationInfoRequest models.LocationInfoRequest) { + r.LocationInfoRequest = &LocationInfoRequest +} + +type ProvideLocationInfoResponse struct { + LocationInfoResult models.LocationInfoResult +} + +type ProvideLocationInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvideUELocationApiService) ProvideLocationInfo(ctx context.Context, request *ProvideLocationInfoRequest) (*ProvideLocationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ProvideLocationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/loc-info/provide-loc-info" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.LocationInfoRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LocationInfoResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ProvideLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/MT/api_query_ue_info.go b/udm/MT/api_query_ue_info.go new file mode 100644 index 00000000..23b6431f --- /dev/null +++ b/udm/MT/api_query_ue_info.go @@ -0,0 +1,184 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryUEInfoApiService service + +/* +QueryUEInfoApiService Query Information for the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryUeInfoResponse +*/ + +// QueryUeInfoRequest +type QueryUeInfoRequest struct { + Supi *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryUeInfoRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *QueryUeInfoRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryUeInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryUeInfoResponse struct { + UdmMtUeInfo models.UdmMtUeInfo +} + +type QueryUeInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *QueryUEInfoApiService) QueryUeInfo(ctx context.Context, request *QueryUeInfoRequest) (*QueryUeInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryUeInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields == nil { + return nil, openapi.ReportError("Fields must be non nil") + } else { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmMtUeInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v QueryUeInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v QueryUeInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v QueryUeInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v QueryUeInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v QueryUeInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/MT/client.go b/udm/MT/client.go new file mode 100644 index 00000000..f63bc2d6 --- /dev/null +++ b/udm/MT/client.go @@ -0,0 +1,42 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +// APIClient manages communication with the Nudm_MT API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ProvideUELocationApi *ProvideUELocationApiService + QueryUEInfoApi *QueryUEInfoApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ProvideUELocationApi = (*ProvideUELocationApiService)(&c.common) + c.QueryUEInfoApi = (*QueryUEInfoApiService)(&c.common) + + return c +} diff --git a/udm/MT/configuration.go b/udm/MT/configuration.go new file mode 100644 index 00000000..d3936121 --- /dev/null +++ b/udm/MT/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_MT + * + * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package MT + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-mt/v1", + url: "{apiRoot}/nudm-mt/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/NIDDAuthentication/api_authorize_the_nidd_configuration_request.go b/udm/NIDDAuthentication/api_authorize_the_nidd_configuration_request.go new file mode 100644 index 00000000..3b2c0c94 --- /dev/null +++ b/udm/NIDDAuthentication/api_authorize_the_nidd_configuration_request.go @@ -0,0 +1,258 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDDAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthorizeTheNIDDConfigurationRequestApiService service + +/* +AuthorizeTheNIDDConfigurationRequestApiService Authorize the NIDD configuration request. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the NIDD configuration are authorized. Contains the GPSI of the user or the external group ID. + * @param AuthorizationInfo - + +@return AuthorizeNiddDataResponse +*/ + +// AuthorizeNiddDataRequest +type AuthorizeNiddDataRequest struct { + UeIdentity *string + AuthorizationInfo *models.AuthorizationInfo +} + +func (r *AuthorizeNiddDataRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *AuthorizeNiddDataRequest) SetAuthorizationInfo(AuthorizationInfo models.AuthorizationInfo) { + r.AuthorizationInfo = &AuthorizationInfo +} + +type AuthorizeNiddDataResponse struct { + UdmNiddauAuthorizationData models.UdmNiddauAuthorizationData +} + +type AuthorizeNiddDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AuthorizeTheNIDDConfigurationRequestApiService) AuthorizeNiddData(ctx context.Context, request *AuthorizeNiddDataRequest) (*AuthorizeNiddDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AuthorizeNiddDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/authorize" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthorizationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmNiddauAuthorizationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v AuthorizeNiddDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// AuthorizeNiddDataNiddAuthUpdateNotificationPostRequest +type AuthorizeNiddDataNiddAuthUpdateNotificationPostRequest struct { + NiddAuthUpdateNotification *models.NiddAuthUpdateNotification +} + +func (r *AuthorizeNiddDataNiddAuthUpdateNotificationPostRequest) SetNiddAuthUpdateNotification(NiddAuthUpdateNotification models.NiddAuthUpdateNotification) { + r.NiddAuthUpdateNotification = &NiddAuthUpdateNotification +} + +type AuthorizeNiddDataNiddAuthUpdateNotificationPostResponse struct { +} + +type AuthorizeNiddDataNiddAuthUpdateNotificationPostError struct { +} + +func (a *AuthorizeTheNIDDConfigurationRequestApiService) AuthorizeNiddDataNiddAuthUpdateNotificationPost(ctx context.Context, uri string, request *AuthorizeNiddDataNiddAuthUpdateNotificationPostRequest) (*AuthorizeNiddDataNiddAuthUpdateNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AuthorizeNiddDataNiddAuthUpdateNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NiddAuthUpdateNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return &localVarReturnValue, apiError + } +} diff --git a/udm/NIDDAuthentication/client.go b/udm/NIDDAuthentication/client.go new file mode 100644 index 00000000..6cacb5ee --- /dev/null +++ b/udm/NIDDAuthentication/client.go @@ -0,0 +1,40 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDDAuthentication + +// APIClient manages communication with the Nudm_NIDDAU API v1.1.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AuthorizeTheNIDDConfigurationRequestApi *AuthorizeTheNIDDConfigurationRequestApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AuthorizeTheNIDDConfigurationRequestApi = (*AuthorizeTheNIDDConfigurationRequestApiService)(&c.common) + + return c +} diff --git a/udm/NIDDAuthentication/configuration.go b/udm/NIDDAuthentication/configuration.go new file mode 100644 index 00000000..7f635a12 --- /dev/null +++ b/udm/NIDDAuthentication/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_NIDDAU + * + * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package NIDDAuthentication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-niddau/v1", + url: "{apiRoot}/nudm-niddau/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/ParameterProvision/api_class5_gmbs_group_creation.go b/udm/ParameterProvision/api_class5_gmbs_group_creation.go new file mode 100644 index 00000000..5ffc5ef8 --- /dev/null +++ b/udm/ParameterProvision/api_class5_gmbs_group_creation.go @@ -0,0 +1,213 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GMBSGroupCreationApiService service + +/* +Class5GMBSGroupCreationApiService create a 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the Group + * @param MulticastMbsGroupMemb - + +@return Create5GMBSGroupResponse +*/ + +// Create5GMBSGroupRequest +type Create5GMBSGroupRequest struct { + ExtGroupId *string + MulticastMbsGroupMemb *models.MulticastMbsGroupMemb +} + +func (r *Create5GMBSGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *Create5GMBSGroupRequest) SetMulticastMbsGroupMemb(MulticastMbsGroupMemb models.MulticastMbsGroupMemb) { + r.MulticastMbsGroupMemb = &MulticastMbsGroupMemb +} + +type Create5GMBSGroupResponse struct { +} + +type Create5GMBSGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupCreationApiService) Create5GMBSGroup(ctx context.Context, request *Create5GMBSGroupRequest) (*Create5GMBSGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Create5GMBSGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-group-membership/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MulticastMbsGroupMemb + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + return &localVarReturnValue, nil + case 400: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Create5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_class5_gmbs_group_deletion.go b/udm/ParameterProvision/api_class5_gmbs_group_deletion.go new file mode 100644 index 00000000..e6683153 --- /dev/null +++ b/udm/ParameterProvision/api_class5_gmbs_group_deletion.go @@ -0,0 +1,181 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GMBSGroupDeletionApiService service + +/* +Class5GMBSGroupDeletionApiService delete a 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the Group + +@return Delete5GMBSGroupResponse +*/ + +// Delete5GMBSGroupRequest +type Delete5GMBSGroupRequest struct { + ExtGroupId *string +} + +func (r *Delete5GMBSGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} + +type Delete5GMBSGroupResponse struct { +} + +type Delete5GMBSGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupDeletionApiService) Delete5GMBSGroup(ctx context.Context, request *Delete5GMBSGroupRequest) (*Delete5GMBSGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Delete5GMBSGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-group-membership/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Delete5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_class5_gmbs_group_modification.go b/udm/ParameterProvision/api_class5_gmbs_group_modification.go new file mode 100644 index 00000000..bb713986 --- /dev/null +++ b/udm/ParameterProvision/api_class5_gmbs_group_modification.go @@ -0,0 +1,386 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GMBSGroupModificationApiService service + +/* +Class5GMBSGroupModificationApiService get 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the group + +@return Get5GMBSGroupResponse +*/ + +// Get5GMBSGroupRequest +type Get5GMBSGroupRequest struct { + ExtGroupId *string +} + +func (r *Get5GMBSGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} + +type Get5GMBSGroupResponse struct { + MulticastMbsGroupMemb models.MulticastMbsGroupMemb +} + +type Get5GMBSGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupModificationApiService) Get5GMBSGroup(ctx context.Context, request *Get5GMBSGroupRequest) (*Get5GMBSGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Get5GMBSGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-group-membership/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MulticastMbsGroupMemb, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Get5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +Class5GMBSGroupModificationApiService modify a 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the group + * @param MulticastMbsGroupMemb - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return Modify5GMBSGroupResponse +*/ + +// Modify5GMBSGroupRequest +type Modify5GMBSGroupRequest struct { + ExtGroupId *string + MulticastMbsGroupMemb *models.MulticastMbsGroupMemb + SupportedFeatures *string +} + +func (r *Modify5GMBSGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *Modify5GMBSGroupRequest) SetMulticastMbsGroupMemb(MulticastMbsGroupMemb models.MulticastMbsGroupMemb) { + r.MulticastMbsGroupMemb = &MulticastMbsGroupMemb +} +func (r *Modify5GMBSGroupRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Modify5GMBSGroupResponse struct { + PatchResult models.PatchResult +} + +type Modify5GMBSGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupModificationApiService) Modify5GMBSGroup(ctx context.Context, request *Modify5GMBSGroupRequest) (*Modify5GMBSGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Modify5GMBSGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/mbs-group-membership/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MulticastMbsGroupMemb + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Modify5GMBSGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_class5_gvn_group_creation.go b/udm/ParameterProvision/api_class5_gvn_group_creation.go new file mode 100644 index 00000000..a94bd726 --- /dev/null +++ b/udm/ParameterProvision/api_class5_gvn_group_creation.go @@ -0,0 +1,165 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVNGroupCreationApiService service + +/* +Class5GVNGroupCreationApiService create a 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the Group + * @param Model5GVnGroupConfiguration - + +@return Create5GVNGroupResponse +*/ + +// Create5GVNGroupRequest +type Create5GVNGroupRequest struct { + ExtGroupId *string + Model5GVnGroupConfiguration *models.Model5GVnGroupConfiguration +} + +func (r *Create5GVNGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *Create5GVNGroupRequest) SetModel5GVnGroupConfiguration(Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration) { + r.Model5GVnGroupConfiguration = &Model5GVnGroupConfiguration +} + +type Create5GVNGroupResponse struct { +} + +type Create5GVNGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GVNGroupCreationApiService) Create5GVNGroup(ctx context.Context, request *Create5GVNGroupRequest) (*Create5GVNGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Create5GVNGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/5g-vn-groups/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Model5GVnGroupConfiguration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + return &localVarReturnValue, nil + case 400: + var v Create5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Create5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Create5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Create5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Create5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_class5_gvn_group_deletion.go b/udm/ParameterProvision/api_class5_gvn_group_deletion.go new file mode 100644 index 00000000..e8af4d4f --- /dev/null +++ b/udm/ParameterProvision/api_class5_gvn_group_deletion.go @@ -0,0 +1,174 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVNGroupDeletionApiService service + +/* +Class5GVNGroupDeletionApiService delete a 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the Group + * @param MtcProviderInfo - MTC Provider Information that originated the service operation + * @param AfId - AF ID that originated the service operation + +@return Delete5GVNGroupResponse +*/ + +// Delete5GVNGroupRequest +type Delete5GVNGroupRequest struct { + ExtGroupId *string + MtcProviderInfo *string + AfId *string +} + +func (r *Delete5GVNGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *Delete5GVNGroupRequest) SetMtcProviderInfo(MtcProviderInfo string) { + r.MtcProviderInfo = &MtcProviderInfo +} +func (r *Delete5GVNGroupRequest) SetAfId(AfId string) { + r.AfId = &AfId +} + +type Delete5GVNGroupResponse struct { +} + +type Delete5GVNGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GVNGroupDeletionApiService) Delete5GVNGroup(ctx context.Context, request *Delete5GVNGroupRequest) (*Delete5GVNGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Delete5GVNGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/5g-vn-groups/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.MtcProviderInfo != nil { + localVarQueryParams.Add("mtc-provider-info", openapi.ParameterToString(request.MtcProviderInfo, "multi")) + } + if request.AfId != nil { + localVarQueryParams.Add("af-id", openapi.ParameterToString(request.AfId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v Delete5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Delete5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Delete5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Delete5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Delete5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_class5_gvn_group_modification.go b/udm/ParameterProvision/api_class5_gvn_group_modification.go new file mode 100644 index 00000000..fa339598 --- /dev/null +++ b/udm/ParameterProvision/api_class5_gvn_group_modification.go @@ -0,0 +1,312 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVNGroupModificationApiService service + +/* +Class5GVNGroupModificationApiService get 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the group + +@return Get5GVNGroupResponse +*/ + +// Get5GVNGroupRequest +type Get5GVNGroupRequest struct { + ExtGroupId *string +} + +func (r *Get5GVNGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} + +type Get5GVNGroupResponse struct { + Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration +} + +type Get5GVNGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GVNGroupModificationApiService) Get5GVNGroup(ctx context.Context, request *Get5GVNGroupRequest) (*Get5GVNGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Get5GVNGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/5g-vn-groups/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Model5GVnGroupConfiguration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Get5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Get5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Get5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Get5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Get5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +Class5GVNGroupModificationApiService modify a 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Identifier of the group + * @param Model5GVnGroupConfiguration - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return Modify5GVNGroupResponse +*/ + +// Modify5GVNGroupRequest +type Modify5GVNGroupRequest struct { + ExtGroupId *string + Model5GVnGroupConfiguration *models.Model5GVnGroupConfiguration + SupportedFeatures *string +} + +func (r *Modify5GVNGroupRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *Modify5GVNGroupRequest) SetModel5GVnGroupConfiguration(Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration) { + r.Model5GVnGroupConfiguration = &Model5GVnGroupConfiguration +} +func (r *Modify5GVNGroupRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Modify5GVNGroupResponse struct { + PatchResult models.PatchResult +} + +type Modify5GVNGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GVNGroupModificationApiService) Modify5GVNGroup(ctx context.Context, request *Modify5GVNGroupRequest) (*Modify5GVNGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Modify5GVNGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/5g-vn-groups/{extGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"extGroupId"+"}", openapi.StringOfValue(*request.ExtGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Model5GVnGroupConfiguration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Modify5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Modify5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Modify5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Modify5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Modify5GVNGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_parameter_provisioning_data_entry_document.go b/udm/ParameterProvision/api_parameter_provisioning_data_entry_document.go new file mode 100644 index 00000000..63761ba5 --- /dev/null +++ b/udm/ParameterProvision/api_parameter_provisioning_data_entry_document.go @@ -0,0 +1,458 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterProvisioningDataEntryDocumentApiService service + +/* +ParameterProvisioningDataEntryDocumentApiService Create a Provisioning Parameter Data Entry + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AfInstanceId - Application Function Instance Identifier + * @param PpDataEntry - + +@return CreatePPDataEntryResponse +*/ + +// CreatePPDataEntryRequest +type CreatePPDataEntryRequest struct { + UeId interface{} + AfInstanceId *string + PpDataEntry *models.PpDataEntry +} + +func (r *CreatePPDataEntryRequest) SetUeId(UeId interface{}) { + r.UeId = UeId +} +func (r *CreatePPDataEntryRequest) SetAfInstanceId(AfInstanceId string) { + r.AfInstanceId = &AfInstanceId +} +func (r *CreatePPDataEntryRequest) SetPpDataEntry(PpDataEntry models.PpDataEntry) { + r.PpDataEntry = &PpDataEntry +} + +type CreatePPDataEntryResponse struct { + PpDataEntry models.PpDataEntry +} + +type CreatePPDataEntryError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterProvisioningDataEntryDocumentApiService) CreatePPDataEntry(ctx context.Context, request *CreatePPDataEntryRequest) (*CreatePPDataEntryResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreatePPDataEntryResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/pp-data-store/{afInstanceId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"afInstanceId"+"}", openapi.StringOfValue(*request.AfInstanceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PpDataEntry + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PpDataEntry, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreatePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreatePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreatePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreatePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreatePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +ParameterProvisioningDataEntryDocumentApiService Delete a Provisioning Parameter Data Entry + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AfInstanceId - Application Function Instance Identifier + +@return DeletePPDataEntryResponse +*/ + +// DeletePPDataEntryRequest +type DeletePPDataEntryRequest struct { + UeId interface{} + AfInstanceId *string +} + +func (r *DeletePPDataEntryRequest) SetUeId(UeId interface{}) { + r.UeId = UeId +} +func (r *DeletePPDataEntryRequest) SetAfInstanceId(AfInstanceId string) { + r.AfInstanceId = &AfInstanceId +} + +type DeletePPDataEntryResponse struct { +} + +type DeletePPDataEntryError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterProvisioningDataEntryDocumentApiService) DeletePPDataEntry(ctx context.Context, request *DeletePPDataEntryRequest) (*DeletePPDataEntryResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeletePPDataEntryResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/pp-data-store/{afInstanceId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"afInstanceId"+"}", openapi.StringOfValue(*request.AfInstanceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeletePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeletePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeletePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeletePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeletePPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +ParameterProvisioningDataEntryDocumentApiService get Parameter Provisioning Data Entry + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AfInstanceId - Application Function Instance Identifier + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetPPDataEntryResponse +*/ + +// GetPPDataEntryRequest +type GetPPDataEntryRequest struct { + UeId interface{} + AfInstanceId *string + SupportedFeatures *string +} + +func (r *GetPPDataEntryRequest) SetUeId(UeId interface{}) { + r.UeId = UeId +} +func (r *GetPPDataEntryRequest) SetAfInstanceId(AfInstanceId string) { + r.AfInstanceId = &AfInstanceId +} +func (r *GetPPDataEntryRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetPPDataEntryResponse struct { + PpDataEntry models.PpDataEntry +} + +type GetPPDataEntryError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterProvisioningDataEntryDocumentApiService) GetPPDataEntry(ctx context.Context, request *GetPPDataEntryRequest) (*GetPPDataEntryResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetPPDataEntryResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/pp-data-store/{afInstanceId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"afInstanceId"+"}", openapi.StringOfValue(*request.AfInstanceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PpDataEntry, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetPPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetPPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetPPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetPPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetPPDataEntryError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/api_subscription_data_update.go b/udm/ParameterProvision/api_subscription_data_update.go new file mode 100644 index 00000000..b6c78a1d --- /dev/null +++ b/udm/ParameterProvision/api_subscription_data_update.go @@ -0,0 +1,180 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionDataUpdateApiService service + +/* +SubscriptionDataUpdateApiService provision parameters + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PpData - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateResponse +*/ + +// UpdateRequest +type UpdateRequest struct { + UeId interface{} + PpData *models.PpData + SupportedFeatures *string +} + +func (r *UpdateRequest) SetUeId(UeId interface{}) { + r.UeId = UeId +} +func (r *UpdateRequest) SetPpData(PpData models.PpData) { + r.PpData = &PpData +} +func (r *UpdateRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateResponse struct { + PatchResult models.PatchResult +} + +type UpdateError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionDataUpdateApiService) Update(ctx context.Context, request *UpdateRequest) (*UpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/pp-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PpData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ParameterProvision/client.go b/udm/ParameterProvision/client.go new file mode 100644 index 00000000..b1a7c2bf --- /dev/null +++ b/udm/ParameterProvision/client.go @@ -0,0 +1,54 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +// APIClient manages communication with the Nudm_PP API v1.2.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + Class5GMBSGroupCreationApi *Class5GMBSGroupCreationApiService + Class5GMBSGroupDeletionApi *Class5GMBSGroupDeletionApiService + Class5GMBSGroupModificationApi *Class5GMBSGroupModificationApiService + Class5GVNGroupCreationApi *Class5GVNGroupCreationApiService + Class5GVNGroupDeletionApi *Class5GVNGroupDeletionApiService + Class5GVNGroupModificationApi *Class5GVNGroupModificationApiService + ParameterProvisioningDataEntryDocumentApi *ParameterProvisioningDataEntryDocumentApiService + SubscriptionDataUpdateApi *SubscriptionDataUpdateApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.Class5GMBSGroupCreationApi = (*Class5GMBSGroupCreationApiService)(&c.common) + c.Class5GMBSGroupDeletionApi = (*Class5GMBSGroupDeletionApiService)(&c.common) + c.Class5GMBSGroupModificationApi = (*Class5GMBSGroupModificationApiService)(&c.common) + c.Class5GVNGroupCreationApi = (*Class5GVNGroupCreationApiService)(&c.common) + c.Class5GVNGroupDeletionApi = (*Class5GVNGroupDeletionApiService)(&c.common) + c.Class5GVNGroupModificationApi = (*Class5GVNGroupModificationApiService)(&c.common) + c.ParameterProvisioningDataEntryDocumentApi = (*ParameterProvisioningDataEntryDocumentApiService)(&c.common) + c.SubscriptionDataUpdateApi = (*SubscriptionDataUpdateApiService)(&c.common) + + return c +} diff --git a/udm/ParameterProvision/configuration.go b/udm/ParameterProvision/configuration.go new file mode 100644 index 00000000..bb12598e --- /dev/null +++ b/udm/ParameterProvision/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_PP + * + * Nudm Parameter Provision Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.11.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ParameterProvision + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-pp/v1", + url: "{apiRoot}/nudm-pp/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/ReportSMDeliveryStatus/api_report_sm_delivery_status.go b/udm/ReportSMDeliveryStatus/api_report_sm_delivery_status.go new file mode 100644 index 00000000..cff74da7 --- /dev/null +++ b/udm/ReportSMDeliveryStatus/api_report_sm_delivery_status.go @@ -0,0 +1,157 @@ +/* + * Nudm_ReportSMDeliveryStatus + * + * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ReportSMDeliveryStatus + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ReportSMDeliveryStatusApiService service + +/* +ReportSMDeliveryStatusApiService Report the SM Delivery Status + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the Service Specific Parameters are authorized. Contains the GPSI of the user or the external group ID. + * @param SmDeliveryStatus - + +@return ReportSMDeliveryStatusResponse +*/ + +// ReportSMDeliveryStatusRequest +type ReportSMDeliveryStatusRequest struct { + UeIdentity *string + SmDeliveryStatus *models.SmDeliveryStatus +} + +func (r *ReportSMDeliveryStatusRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *ReportSMDeliveryStatusRequest) SetSmDeliveryStatus(SmDeliveryStatus models.SmDeliveryStatus) { + r.SmDeliveryStatus = &SmDeliveryStatus +} + +type ReportSMDeliveryStatusResponse struct { +} + +type ReportSMDeliveryStatusError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ReportSMDeliveryStatusApiService) ReportSMDeliveryStatus(ctx context.Context, request *ReportSMDeliveryStatusRequest) (*ReportSMDeliveryStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReportSMDeliveryStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/sm-delivery-status" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmDeliveryStatus + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v ReportSMDeliveryStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReportSMDeliveryStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReportSMDeliveryStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReportSMDeliveryStatusError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ReportSMDeliveryStatus/client.go b/udm/ReportSMDeliveryStatus/client.go new file mode 100644 index 00000000..d1bec103 --- /dev/null +++ b/udm/ReportSMDeliveryStatus/client.go @@ -0,0 +1,40 @@ +/* + * Nudm_ReportSMDeliveryStatus + * + * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ReportSMDeliveryStatus + +// APIClient manages communication with the Nudm_ReportSMDeliveryStatus API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ReportSMDeliveryStatusApi *ReportSMDeliveryStatusApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ReportSMDeliveryStatusApi = (*ReportSMDeliveryStatusApiService)(&c.common) + + return c +} diff --git a/udm/ReportSMDeliveryStatus/configuration.go b/udm/ReportSMDeliveryStatus/configuration.go new file mode 100644 index 00000000..5e894ff9 --- /dev/null +++ b/udm/ReportSMDeliveryStatus/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_ReportSMDeliveryStatus + * + * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ReportSMDeliveryStatus + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-rsds/v1", + url: "{apiRoot}/nudm-rsds/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/ServiceSpecificAuthorization/api_service_specific_authorization_remove.go b/udm/ServiceSpecificAuthorization/api_service_specific_authorization_remove.go new file mode 100644 index 00000000..a91bcc13 --- /dev/null +++ b/udm/ServiceSpecificAuthorization/api_service_specific_authorization_remove.go @@ -0,0 +1,227 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ServiceSpecificAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ServiceSpecificAuthorizationRemoveApiService service + +/* +ServiceSpecificAuthorizationRemoveApiService Remove the authorization of specific service's configuration. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the Service Specific configuration authorization to be removed. Contains the GPSI of the user or the external group ID. + * @param ServiceType - Represents the specific service for which the Service Specific configuration authorization to be removed. + * @param ServiceSpecificAuthorizationRemoveData - + +@return ServiceSpecificAuthorizationRemovalResponse +*/ + +// ServiceSpecificAuthorizationRemovalRequest +type ServiceSpecificAuthorizationRemovalRequest struct { + UeIdentity *string + ServiceType *models.ServiceType + ServiceSpecificAuthorizationRemoveData *models.ServiceSpecificAuthorizationRemoveData +} + +func (r *ServiceSpecificAuthorizationRemovalRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *ServiceSpecificAuthorizationRemovalRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} +func (r *ServiceSpecificAuthorizationRemovalRequest) SetServiceSpecificAuthorizationRemoveData(ServiceSpecificAuthorizationRemoveData models.ServiceSpecificAuthorizationRemoveData) { + r.ServiceSpecificAuthorizationRemoveData = &ServiceSpecificAuthorizationRemoveData +} + +type ServiceSpecificAuthorizationRemovalResponse struct { +} + +type ServiceSpecificAuthorizationRemovalError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ServiceSpecificAuthorizationRemoveApiService) ServiceSpecificAuthorizationRemoval(ctx context.Context, request *ServiceSpecificAuthorizationRemovalRequest) (*ServiceSpecificAuthorizationRemovalResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ServiceSpecificAuthorizationRemovalResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/{serviceType}/remove" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ServiceSpecificAuthorizationRemoveData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ServiceSpecificAuthorizationRemovalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/ServiceSpecificAuthorization/api_service_specific_authorization_request.go b/udm/ServiceSpecificAuthorization/api_service_specific_authorization_request.go new file mode 100644 index 00000000..0afab427 --- /dev/null +++ b/udm/ServiceSpecificAuthorization/api_service_specific_authorization_request.go @@ -0,0 +1,264 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ServiceSpecificAuthorization + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ServiceSpecificAuthorizationRequestApiService service + +/* +ServiceSpecificAuthorizationRequestApiService Authorization for the Service specific parameters in the request. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeIdentity - Represents the scope of the UE for which the Service Specific Parameters are authorized. Contains the GPSI of the user or the external group ID. + * @param ServiceType - Represents the specific service for which the Service Specific Parameters are authorized. + * @param UdmSsauServiceSpecificAuthorizationInfo - + +@return ServiceSpecificAuthorizationResponse +*/ + +// ServiceSpecificAuthorizationRequest +type ServiceSpecificAuthorizationRequest struct { + UeIdentity *string + ServiceType *models.ServiceType + UdmSsauServiceSpecificAuthorizationInfo *models.UdmSsauServiceSpecificAuthorizationInfo +} + +func (r *ServiceSpecificAuthorizationRequest) SetUeIdentity(UeIdentity string) { + r.UeIdentity = &UeIdentity +} +func (r *ServiceSpecificAuthorizationRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} +func (r *ServiceSpecificAuthorizationRequest) SetUdmSsauServiceSpecificAuthorizationInfo(UdmSsauServiceSpecificAuthorizationInfo models.UdmSsauServiceSpecificAuthorizationInfo) { + r.UdmSsauServiceSpecificAuthorizationInfo = &UdmSsauServiceSpecificAuthorizationInfo +} + +type ServiceSpecificAuthorizationResponse struct { + ServiceSpecificAuthorizationData models.ServiceSpecificAuthorizationData +} + +type ServiceSpecificAuthorizationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ServiceSpecificAuthorizationRequestApiService) ServiceSpecificAuthorization(ctx context.Context, request *ServiceSpecificAuthorizationRequest) (*ServiceSpecificAuthorizationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ServiceSpecificAuthorizationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueIdentity}/{serviceType}/authorize" + localVarPath = strings.Replace(localVarPath, "{"+"ueIdentity"+"}", openapi.StringOfValue(*request.UeIdentity), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmSsauServiceSpecificAuthorizationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ServiceSpecificAuthorizationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ServiceSpecificAuthorizationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ServiceSpecificAuthorizationAuthUpdateNotificationPostRequest +type ServiceSpecificAuthorizationAuthUpdateNotificationPostRequest struct { + AuthUpdateNotification *models.AuthUpdateNotification +} + +func (r *ServiceSpecificAuthorizationAuthUpdateNotificationPostRequest) SetAuthUpdateNotification(AuthUpdateNotification models.AuthUpdateNotification) { + r.AuthUpdateNotification = &AuthUpdateNotification +} + +type ServiceSpecificAuthorizationAuthUpdateNotificationPostResponse struct { +} + +type ServiceSpecificAuthorizationAuthUpdateNotificationPostError struct { +} + +func (a *ServiceSpecificAuthorizationRequestApiService) ServiceSpecificAuthorizationAuthUpdateNotificationPost(ctx context.Context, uri string, request *ServiceSpecificAuthorizationAuthUpdateNotificationPostRequest) (*ServiceSpecificAuthorizationAuthUpdateNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ServiceSpecificAuthorizationAuthUpdateNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthUpdateNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return &localVarReturnValue, apiError + } +} diff --git a/udm/ServiceSpecificAuthorization/client.go b/udm/ServiceSpecificAuthorization/client.go new file mode 100644 index 00000000..88559422 --- /dev/null +++ b/udm/ServiceSpecificAuthorization/client.go @@ -0,0 +1,42 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ServiceSpecificAuthorization + +// APIClient manages communication with the Nudm_SSAU API v1.0.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ServiceSpecificAuthorizationRemoveApi *ServiceSpecificAuthorizationRemoveApiService + ServiceSpecificAuthorizationRequestApi *ServiceSpecificAuthorizationRequestApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ServiceSpecificAuthorizationRemoveApi = (*ServiceSpecificAuthorizationRemoveApiService)(&c.common) + c.ServiceSpecificAuthorizationRequestApi = (*ServiceSpecificAuthorizationRequestApiService)(&c.common) + + return c +} diff --git a/udm/ServiceSpecificAuthorization/configuration.go b/udm/ServiceSpecificAuthorization/configuration.go new file mode 100644 index 00000000..e9189982 --- /dev/null +++ b/udm/ServiceSpecificAuthorization/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_SSAU + * + * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ServiceSpecificAuthorization + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-ssau/v1", + url: "{apiRoot}/nudm-ssau/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go new file mode 100644 index 00000000..734bddb2 --- /dev/null +++ b/udm/SubscriberDataManagement/api_access_and_mobility_subscription_data_retrieval.go @@ -0,0 +1,214 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AccessAndMobilitySubscriptionDataRetrievalApiService service + +/* +AccessAndMobilitySubscriptionDataRetrievalApiService retrieve a UE's Access and Mobility Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - Serving PLMN ID or SNPN ID + * @param AdjacentPlmns - List of PLMNs adjacent to the UE's serving PLMN + * @param DisasterRoamingInd - Indication whether Disaster Roaming service is applied or not + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetAmDataResponse +*/ + +// GetAmDataRequest +type GetAmDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnIdNid + AdjacentPlmns []models.PlmnId + DisasterRoamingInd *bool + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetAmDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetAmDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetAmDataRequest) SetPlmnId(PlmnId models.PlmnIdNid) { + r.PlmnId = &PlmnId +} +func (r *GetAmDataRequest) SetAdjacentPlmns(AdjacentPlmns []models.PlmnId) { + r.AdjacentPlmns = AdjacentPlmns +} +func (r *GetAmDataRequest) SetDisasterRoamingInd(DisasterRoamingInd bool) { + r.DisasterRoamingInd = &DisasterRoamingInd +} +func (r *GetAmDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetAmDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetAmDataResponse struct { + CacheControl string + ETag string + LastModified string + AccessAndMobilitySubscriptionData models.AccessAndMobilitySubscriptionData +} + +type GetAmDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilitySubscriptionDataRetrievalApiService) GetAmData(ctx context.Context, request *GetAmDataRequest) (*GetAmDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetAmDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + if request.AdjacentPlmns != nil { + if len(request.AdjacentPlmns) < 1 { + return &localVarReturnValue, openapi.ReportError("AdjacentPlmns must have at least 1 elements") + } + localVarQueryParams.Add("adjacent-plmns", openapi.ParameterToString(request.AdjacentPlmns, "application/json")) + } + if request.DisasterRoamingInd != nil { + localVarQueryParams.Add("disaster-roaming-ind", openapi.ParameterToString(request.DisasterRoamingInd, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AccessAndMobilitySubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetAmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetAmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetAmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetAmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_class5_mbs_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_class5_mbs_subscription_data_retrieval.go new file mode 100644 index 00000000..b71cd6ac --- /dev/null +++ b/udm/SubscriberDataManagement/api_class5_mbs_subscription_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5MBSSubscriptionDataRetrievalApiService service + +/* +Class5MBSSubscriptionDataRetrievalApiService retrieve a UE's 5MBS Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetMbsDataResponse +*/ + +// GetMbsDataRequest +type GetMbsDataRequest struct { + Supi *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetMbsDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetMbsDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetMbsDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetMbsDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetMbsDataResponse struct { + CacheControl string + ETag string + LastModified string + MbsSubscriptionData models.MbsSubscriptionData +} + +type GetMbsDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5MBSSubscriptionDataRetrievalApiService) GetMbsData(ctx context.Context, request *GetMbsDataRequest) (*GetMbsDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMbsDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/5mbs-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetMbsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMbsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMbsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMbsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_enhanced_coverage_restriction_data_retrieval.go b/udm/SubscriberDataManagement/api_enhanced_coverage_restriction_data_retrieval.go new file mode 100644 index 00000000..1becdc34 --- /dev/null +++ b/udm/SubscriberDataManagement/api_enhanced_coverage_restriction_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EnhancedCoverageRestrictionDataRetrievalApiService service + +/* +EnhancedCoverageRestrictionDataRetrievalApiService retrieve a UE's subscribed Enhanced Coverage Restriction Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetEcrDataResponse +*/ + +// GetEcrDataRequest +type GetEcrDataRequest struct { + Supi *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetEcrDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetEcrDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetEcrDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetEcrDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetEcrDataResponse struct { + CacheControl string + ETag string + LastModified string + EnhancedCoverageRestrictionData models.EnhancedCoverageRestrictionData +} + +type GetEcrDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *EnhancedCoverageRestrictionDataRetrievalApiService) GetEcrData(ctx context.Context, request *GetEcrDataRequest) (*GetEcrDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetEcrDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/ecr-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EnhancedCoverageRestrictionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetEcrDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetEcrDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetEcrDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetEcrDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_gpsi_to_supi_translation_or_supi_to_gpsi_translation.go b/udm/SubscriberDataManagement/api_gpsi_to_supi_translation_or_supi_to_gpsi_translation.go new file mode 100644 index 00000000..1107a80c --- /dev/null +++ b/udm/SubscriberDataManagement/api_gpsi_to_supi_translation_or_supi_to_gpsi_translation.go @@ -0,0 +1,235 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GPSIToSUPITranslationOrSUPIToGPSITranslationApiService service + +/* +GPSIToSUPITranslationOrSUPIToGPSITranslationApiService retrieve a UE's SUPI or GPSI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param AfId - AF identifier + * @param AppPortId - Application port identifier + * @param AfServiceId - AF Service Identifier + * @param MtcProviderInfo - MTC Provider Information + * @param RequestedGpsiType - Requested GPSI Type + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSupiOrGpsiResponse +*/ + +// GetSupiOrGpsiRequest +type GetSupiOrGpsiRequest struct { + UeId *string + SupportedFeatures *string + AfId *string + AppPortId *models.AppPortId + AfServiceId *string + MtcProviderInfo *string + RequestedGpsiType *models.GpsiType + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSupiOrGpsiRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetSupiOrGpsiRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSupiOrGpsiRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *GetSupiOrGpsiRequest) SetAppPortId(AppPortId models.AppPortId) { + r.AppPortId = &AppPortId +} +func (r *GetSupiOrGpsiRequest) SetAfServiceId(AfServiceId string) { + r.AfServiceId = &AfServiceId +} +func (r *GetSupiOrGpsiRequest) SetMtcProviderInfo(MtcProviderInfo string) { + r.MtcProviderInfo = &MtcProviderInfo +} +func (r *GetSupiOrGpsiRequest) SetRequestedGpsiType(RequestedGpsiType models.GpsiType) { + r.RequestedGpsiType = &RequestedGpsiType +} +func (r *GetSupiOrGpsiRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSupiOrGpsiRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSupiOrGpsiResponse struct { + CacheControl string + ETag string + LastModified string + IdTranslationResult models.IdTranslationResult +} + +type GetSupiOrGpsiError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GPSIToSUPITranslationOrSUPIToGPSITranslationApiService) GetSupiOrGpsi(ctx context.Context, request *GetSupiOrGpsiRequest) (*GetSupiOrGpsiResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSupiOrGpsiResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/id-translation-result" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.AfId != nil { + localVarQueryParams.Add("af-id", openapi.ParameterToString(request.AfId, "multi")) + } + if request.AppPortId != nil { + localVarQueryParams.Add("app-port-id", openapi.ParameterToString(request.AppPortId, "application/json")) + } + if request.AfServiceId != nil { + localVarQueryParams.Add("af-service-id", openapi.ParameterToString(request.AfServiceId, "multi")) + } + if request.MtcProviderInfo != nil { + localVarQueryParams.Add("mtc-provider-info", openapi.ParameterToString(request.MtcProviderInfo, "multi")) + } + if request.RequestedGpsiType != nil { + localVarQueryParams.Add("requested-gpsi-type", openapi.ParameterToString(request.RequestedGpsiType, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IdTranslationResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSupiOrGpsiError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetSupiOrGpsiError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSupiOrGpsiError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSupiOrGpsiError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSupiOrGpsiError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_group_identifiers.go b/udm/SubscriberDataManagement/api_group_identifiers.go new file mode 100644 index 00000000..f0778b59 --- /dev/null +++ b/udm/SubscriberDataManagement/api_group_identifiers.go @@ -0,0 +1,221 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GroupIdentifiersApiService service + +/* +GroupIdentifiersApiService Mapping of Group Identifiers + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Group Identifier + * @param IntGroupId - Internal Group Identifier + * @param UeIdInd - Indication whether UE identifiers are required or not + * @param SupportedFeatures - Supported Features + * @param AfId - AF identifier + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetGroupIdentifiersResponse +*/ + +// GetGroupIdentifiersRequest +type GetGroupIdentifiersRequest struct { + ExtGroupId *string + IntGroupId *string + UeIdInd *bool + SupportedFeatures *string + AfId *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetGroupIdentifiersRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *GetGroupIdentifiersRequest) SetIntGroupId(IntGroupId string) { + r.IntGroupId = &IntGroupId +} +func (r *GetGroupIdentifiersRequest) SetUeIdInd(UeIdInd bool) { + r.UeIdInd = &UeIdInd +} +func (r *GetGroupIdentifiersRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetGroupIdentifiersRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *GetGroupIdentifiersRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetGroupIdentifiersRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetGroupIdentifiersResponse struct { + CacheControl string + ETag string + LastModified string + UdmSdmGroupIdentifiers models.UdmSdmGroupIdentifiers +} + +type GetGroupIdentifiersError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GroupIdentifiersApiService) GetGroupIdentifiers(ctx context.Context, request *GetGroupIdentifiersRequest) (*GetGroupIdentifiersResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetGroupIdentifiersResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/group-data/group-identifiers" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ExtGroupId != nil { + localVarQueryParams.Add("ext-group-id", openapi.ParameterToString(request.ExtGroupId, "multi")) + } + if request.IntGroupId != nil { + localVarQueryParams.Add("int-group-id", openapi.ParameterToString(request.IntGroupId, "multi")) + } + if request.UeIdInd != nil { + localVarQueryParams.Add("ue-id-ind", openapi.ParameterToString(request.UeIdInd, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.AfId != nil { + localVarQueryParams.Add("af-id", openapi.ParameterToString(request.AfId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmGroupIdentifiers, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_lcs_broadcast_assistance_data_types_retrieval.go b/udm/SubscriberDataManagement/api_lcs_broadcast_assistance_data_types_retrieval.go new file mode 100644 index 00000000..6bd85389 --- /dev/null +++ b/udm/SubscriberDataManagement/api_lcs_broadcast_assistance_data_types_retrieval.go @@ -0,0 +1,195 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSBroadcastAssistanceDataTypesRetrievalApiService service + +/* +LCSBroadcastAssistanceDataTypesRetrievalApiService retrieve a UE's LCS Broadcast Assistance Data Types Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetLcsBcaDataResponse +*/ + +// GetLcsBcaDataRequest +type GetLcsBcaDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetLcsBcaDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetLcsBcaDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetLcsBcaDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetLcsBcaDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetLcsBcaDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetLcsBcaDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsBroadcastAssistanceTypesData models.LcsBroadcastAssistanceTypesData +} + +type GetLcsBcaDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *LCSBroadcastAssistanceDataTypesRetrievalApiService) GetLcsBcaData(ctx context.Context, request *GetLcsBcaDataRequest) (*GetLcsBcaDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetLcsBcaDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/lcs-bca-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsBroadcastAssistanceTypesData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetLcsBcaDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetLcsBcaDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetLcsBcaDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetLcsBcaDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_lcs_mobile_originated_data_retrieval.go b/udm/SubscriberDataManagement/api_lcs_mobile_originated_data_retrieval.go new file mode 100644 index 00000000..122e88f7 --- /dev/null +++ b/udm/SubscriberDataManagement/api_lcs_mobile_originated_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSMobileOriginatedDataRetrievalApiService service + +/* +LCSMobileOriginatedDataRetrievalApiService retrieve a UE's LCS Mobile Originated Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetLcsMoDataResponse +*/ + +// GetLcsMoDataRequest +type GetLcsMoDataRequest struct { + Supi *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetLcsMoDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetLcsMoDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetLcsMoDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetLcsMoDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetLcsMoDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsMoData models.LcsMoData +} + +type GetLcsMoDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *LCSMobileOriginatedDataRetrievalApiService) GetLcsMoData(ctx context.Context, request *GetLcsMoDataRequest) (*GetLcsMoDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetLcsMoDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/lcs-mo-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsMoData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetLcsMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetLcsMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetLcsMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetLcsMoDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_lcs_privacy_data_retrieval.go b/udm/SubscriberDataManagement/api_lcs_privacy_data_retrieval.go new file mode 100644 index 00000000..bab3f2fa --- /dev/null +++ b/udm/SubscriberDataManagement/api_lcs_privacy_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSPrivacyDataRetrievalApiService service + +/* +LCSPrivacyDataRetrievalApiService retrieve a UE's LCS Privacy Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetLcsPrivacyDataResponse +*/ + +// GetLcsPrivacyDataRequest +type GetLcsPrivacyDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetLcsPrivacyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetLcsPrivacyDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetLcsPrivacyDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetLcsPrivacyDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetLcsPrivacyDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsPrivacyData models.LcsPrivacyData +} + +type GetLcsPrivacyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *LCSPrivacyDataRetrievalApiService) GetLcsPrivacyData(ctx context.Context, request *GetLcsPrivacyDataRequest) (*GetLcsPrivacyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetLcsPrivacyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/lcs-privacy-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsPrivacyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetLcsPrivacyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetLcsPrivacyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetLcsPrivacyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetLcsPrivacyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_multiple_identifiers.go b/udm/SubscriberDataManagement/api_multiple_identifiers.go new file mode 100644 index 00000000..86c00d50 --- /dev/null +++ b/udm/SubscriberDataManagement/api_multiple_identifiers.go @@ -0,0 +1,210 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MultipleIdentifiersApiService service + +/* +MultipleIdentifiersApiService Mapping of UE Identifiers + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param GpsiList - list of the GPSIs + * @param SupportedFeatures - Supported Features + +@return GetMultipleIdentifiersResponse +*/ + +// GetMultipleIdentifiersRequest +type GetMultipleIdentifiersRequest struct { + GpsiList []string + SupportedFeatures *string +} + +func (r *GetMultipleIdentifiersRequest) SetGpsiList(GpsiList []string) { + r.GpsiList = GpsiList +} +func (r *GetMultipleIdentifiersRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetMultipleIdentifiersResponse struct { + CacheControl string + ETag string + LastModified string + SupiInfo map[string]models.SupiInfo +} + +type GetMultipleIdentifiersError struct { + ProblemDetails models.ProblemDetails +} + +func (a *MultipleIdentifiersApiService) GetMultipleIdentifiers(ctx context.Context, request *GetMultipleIdentifiersRequest) (*GetMultipleIdentifiersResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMultipleIdentifiersResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/multiple-identifiers" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.GpsiList == nil { + return nil, openapi.ReportError("GpsiList must be non nil") + } else { + if len(request.GpsiList) < 1 { + return &localVarReturnValue, openapi.ReportError("GpsiList must have at least 1 elements") + } + localVarQueryParams.Add("gpsi-list", openapi.ParameterToString(request.GpsiList, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SupiInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMultipleIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_prose_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_prose_subscription_data_retrieval.go new file mode 100644 index 00000000..4cf24e0c --- /dev/null +++ b/udm/SubscriberDataManagement/api_prose_subscription_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProseSubscriptionDataRetrievalApiService service + +/* +ProseSubscriptionDataRetrievalApiService retrieve a UE's ProSe Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetProseDataResponse +*/ + +// GetProseDataRequest +type GetProseDataRequest struct { + Supi *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetProseDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetProseDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetProseDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetProseDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetProseDataResponse struct { + CacheControl string + ETag string + LastModified string + ProseSubscriptionData models.ProseSubscriptionData +} + +type GetProseDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProseSubscriptionDataRetrievalApiService) GetProseData(ctx context.Context, request *GetProseDataRequest) (*GetProseDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetProseDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/prose-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProseSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetProseDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetProseDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetProseDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetProseDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_providing_acknowledgement_of_cag_update.go b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_cag_update.go new file mode 100644 index 00000000..3fc14c5f --- /dev/null +++ b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_cag_update.go @@ -0,0 +1,152 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvidingAcknowledgementOfCAGUpdateApiService service + +/* +ProvidingAcknowledgementOfCAGUpdateApiService Nudm_Sdm Info operation for CAG acknowledgement + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AcknowledgeInfo - + +@return CAGAckResponse +*/ + +// CAGAckRequest +type CAGAckRequest struct { + Supi *string + AcknowledgeInfo *models.AcknowledgeInfo +} + +func (r *CAGAckRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *CAGAckRequest) SetAcknowledgeInfo(AcknowledgeInfo models.AcknowledgeInfo) { + r.AcknowledgeInfo = &AcknowledgeInfo +} + +type CAGAckResponse struct { +} + +type CAGAckError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvidingAcknowledgementOfCAGUpdateApiService) CAGAck(ctx context.Context, request *CAGAckRequest) (*CAGAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CAGAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/cag-ack" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AcknowledgeInfo != nil { + localVarPostBody = request.AcknowledgeInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CAGAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CAGAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CAGAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_providing_acknowledgement_of_snssa_is_update.go b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_snssa_is_update.go new file mode 100644 index 00000000..d36f9397 --- /dev/null +++ b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_snssa_is_update.go @@ -0,0 +1,152 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvidingAcknowledgementOfSNSSAIsUpdateApiService service + +/* +ProvidingAcknowledgementOfSNSSAIsUpdateApiService Nudm_Sdm Info operation for S-NSSAIs acknowledgement + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AcknowledgeInfo - + +@return SNSSAIsAckResponse +*/ + +// SNSSAIsAckRequest +type SNSSAIsAckRequest struct { + Supi *string + AcknowledgeInfo *models.AcknowledgeInfo +} + +func (r *SNSSAIsAckRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SNSSAIsAckRequest) SetAcknowledgeInfo(AcknowledgeInfo models.AcknowledgeInfo) { + r.AcknowledgeInfo = &AcknowledgeInfo +} + +type SNSSAIsAckResponse struct { +} + +type SNSSAIsAckError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvidingAcknowledgementOfSNSSAIsUpdateApiService) SNSSAIsAck(ctx context.Context, request *SNSSAIsAckRequest) (*SNSSAIsAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SNSSAIsAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/subscribed-snssais-ack" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AcknowledgeInfo != nil { + localVarPostBody = request.AcknowledgeInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v SNSSAIsAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SNSSAIsAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SNSSAIsAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go new file mode 100644 index 00000000..20d41e9d --- /dev/null +++ b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_steering_of_roaming.go @@ -0,0 +1,152 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvidingAcknowledgementOfSteeringOfRoamingApiService service + +/* +ProvidingAcknowledgementOfSteeringOfRoamingApiService Nudm_Sdm Info service operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AcknowledgeInfo - + +@return SorAckInfoResponse +*/ + +// SorAckInfoRequest +type SorAckInfoRequest struct { + Supi *string + AcknowledgeInfo *models.AcknowledgeInfo +} + +func (r *SorAckInfoRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *SorAckInfoRequest) SetAcknowledgeInfo(AcknowledgeInfo models.AcknowledgeInfo) { + r.AcknowledgeInfo = &AcknowledgeInfo +} + +type SorAckInfoResponse struct { +} + +type SorAckInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvidingAcknowledgementOfSteeringOfRoamingApiService) SorAckInfo(ctx context.Context, request *SorAckInfoRequest) (*SorAckInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SorAckInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/sor-ack" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AcknowledgeInfo != nil { + localVarPostBody = request.AcknowledgeInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v SorAckInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SorAckInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SorAckInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go new file mode 100644 index 00000000..5da38204 --- /dev/null +++ b/udm/SubscriberDataManagement/api_providing_acknowledgement_of_ue_parameters_update.go @@ -0,0 +1,152 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvidingAcknowledgementOfUEParametersUpdateApiService service + +/* +ProvidingAcknowledgementOfUEParametersUpdateApiService Nudm_Sdm Info for UPU service operation + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param AcknowledgeInfo - + +@return UpuAckResponse +*/ + +// UpuAckRequest +type UpuAckRequest struct { + Supi *string + AcknowledgeInfo *models.AcknowledgeInfo +} + +func (r *UpuAckRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *UpuAckRequest) SetAcknowledgeInfo(AcknowledgeInfo models.AcknowledgeInfo) { + r.AcknowledgeInfo = &AcknowledgeInfo +} + +type UpuAckResponse struct { +} + +type UpuAckError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvidingAcknowledgementOfUEParametersUpdateApiService) UpuAck(ctx context.Context, request *UpuAckRequest) (*UpuAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpuAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/upu-ack" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.AcknowledgeInfo != nil { + localVarPostBody = request.AcknowledgeInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v UpuAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpuAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpuAckError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go b/udm/SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go new file mode 100644 index 00000000..cbbdc283 --- /dev/null +++ b/udm/SubscriberDataManagement/api_retrieval_of_multiple_data_sets.go @@ -0,0 +1,216 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfMultipleDataSetsApiService service + +/* +RetrievalOfMultipleDataSetsApiService retrieve multiple data sets + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param DatasetNames - List of dataset names + * @param PlmnId - serving PLMN ID + * @param DisasterRoamingInd - Indication whether Disaster Roaming service is applied or not + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetDataSetsResponse +*/ + +// GetDataSetsRequest +type GetDataSetsRequest struct { + Supi *string + DatasetNames []models.UdmSdmDataSetName + PlmnId *models.PlmnIdNid + DisasterRoamingInd *bool + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetDataSetsRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetDataSetsRequest) SetDatasetNames(DatasetNames []models.UdmSdmDataSetName) { + r.DatasetNames = DatasetNames +} +func (r *GetDataSetsRequest) SetPlmnId(PlmnId models.PlmnIdNid) { + r.PlmnId = &PlmnId +} +func (r *GetDataSetsRequest) SetDisasterRoamingInd(DisasterRoamingInd bool) { + r.DisasterRoamingInd = &DisasterRoamingInd +} +func (r *GetDataSetsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetDataSetsRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetDataSetsRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetDataSetsResponse struct { + CacheControl string + ETag string + LastModified string + UdmSdmSubscriptionDataSets models.UdmSdmSubscriptionDataSets +} + +type GetDataSetsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrievalOfMultipleDataSetsApiService) GetDataSets(ctx context.Context, request *GetDataSetsRequest) (*GetDataSetsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetDataSetsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.DatasetNames == nil { + return nil, openapi.ReportError("DatasetNames must be non nil") + } else { + if len(request.DatasetNames) < 2 { + return &localVarReturnValue, openapi.ReportError("DatasetNames must have at least 2 elements") + } + localVarQueryParams.Add("dataset-names", openapi.ParameterToString(request.DatasetNames, "csv")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + if request.DisasterRoamingInd != nil { + localVarQueryParams.Add("disaster-roaming-ind", openapi.ParameterToString(request.DisasterRoamingInd, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSubscriptionDataSets, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetDataSetsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetDataSetsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetDataSetsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetDataSetsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_retrieval_of_shared_data.go b/udm/SubscriberDataManagement/api_retrieval_of_shared_data.go new file mode 100644 index 00000000..34ccc836 --- /dev/null +++ b/udm/SubscriberDataManagement/api_retrieval_of_shared_data.go @@ -0,0 +1,202 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfSharedDataApiService service + +/* +RetrievalOfSharedDataApiService retrieve shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SharedDataIds - List of shared data ids + * @param SupportedFeatures - Supported Features; this query parameter should not be used + * @param SupportedFeatures2 - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSharedDataResponse +*/ + +// GetSharedDataRequest +type GetSharedDataRequest struct { + SharedDataIds []string + SupportedFeatures *string + SupportedFeatures2 *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSharedDataRequest) SetSharedDataIds(SharedDataIds []string) { + r.SharedDataIds = SharedDataIds +} +func (r *GetSharedDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSharedDataRequest) SetSupportedFeatures2(SupportedFeatures2 string) { + r.SupportedFeatures2 = &SupportedFeatures2 +} +func (r *GetSharedDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSharedDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSharedDataResponse struct { + CacheControl string + ETag string + LastModified string + UdmSdmSharedData []models.UdmSdmSharedData +} + +type GetSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrievalOfSharedDataApiService) GetSharedData(ctx context.Context, request *GetSharedDataRequest) (*GetSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/shared-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SharedDataIds == nil { + return nil, openapi.ReportError("SharedDataIds must be non nil") + } else { + if len(request.SharedDataIds) < 1 { + return &localVarReturnValue, openapi.ReportError("SharedDataIds must have at least 1 elements") + } + localVarQueryParams.Add("shared-data-ids", openapi.ParameterToString(request.SharedDataIds, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supportedFeatures", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.SupportedFeatures2 != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures2, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSharedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_retrieval_of_the_individual_shared_data.go b/udm/SubscriberDataManagement/api_retrieval_of_the_individual_shared_data.go new file mode 100644 index 00000000..d8a253f8 --- /dev/null +++ b/udm/SubscriberDataManagement/api_retrieval_of_the_individual_shared_data.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfTheIndividualSharedDataApiService service + +/* +RetrievalOfTheIndividualSharedDataApiService retrieve the individual shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SharedDataId - Id of the Shared data + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetIndividualSharedDataResponse +*/ + +// GetIndividualSharedDataRequest +type GetIndividualSharedDataRequest struct { + SharedDataId []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetIndividualSharedDataRequest) SetSharedDataId(SharedDataId []string) { + r.SharedDataId = SharedDataId +} +func (r *GetIndividualSharedDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetIndividualSharedDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetIndividualSharedDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetIndividualSharedDataResponse struct { + CacheControl string + ETag string + LastModified string + UdmSdmSharedData models.UdmSdmSharedData +} + +type GetIndividualSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrievalOfTheIndividualSharedDataApiService) GetIndividualSharedData(ctx context.Context, request *GetIndividualSharedDataRequest) (*GetIndividualSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndividualSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/shared-data/{sharedDataId}" + localVarPath = strings.Replace(localVarPath, "{"+"sharedDataId"+"}", openapi.StringOfValue(request.SharedDataId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSharedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go new file mode 100644 index 00000000..74687c5c --- /dev/null +++ b/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go @@ -0,0 +1,211 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SessionManagementSubscriptionDataRetrievalApiService service + +/* +SessionManagementSubscriptionDataRetrievalApiService retrieve a UE's Session Management Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param SingleNssai - + * @param Dnn - + * @param PlmnId - + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSmDataResponse +*/ + +// GetSmDataRequest +type GetSmDataRequest struct { + Supi *string + SupportedFeatures *string + SingleNssai *models.Snssai + Dnn *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSmDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetSmDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSmDataRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *GetSmDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *GetSmDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetSmDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSmDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSmDataResponse struct { + CacheControl string + ETag string + LastModified string + SmSubsData models.SmSubsData +} + +type GetSmDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SessionManagementSubscriptionDataRetrievalApiService) GetSmData(ctx context.Context, request *GetSmDataRequest) (*GetSmDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/sm-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.SingleNssai != nil { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmSubsData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSmDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go new file mode 100644 index 00000000..725bedd7 --- /dev/null +++ b/udm/SubscriberDataManagement/api_slice_selection_subscription_data_retrieval.go @@ -0,0 +1,203 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SliceSelectionSubscriptionDataRetrievalApiService service + +/* +SliceSelectionSubscriptionDataRetrievalApiService retrieve a UE's subscribed NSSAI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - serving PLMN ID + * @param DisasterRoamingInd - Indication whether Disaster Roaming service is applied or not + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetNSSAIResponse +*/ + +// GetNSSAIRequest +type GetNSSAIRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + DisasterRoamingInd *bool + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetNSSAIRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetNSSAIRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetNSSAIRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetNSSAIRequest) SetDisasterRoamingInd(DisasterRoamingInd bool) { + r.DisasterRoamingInd = &DisasterRoamingInd +} +func (r *GetNSSAIRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetNSSAIRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetNSSAIResponse struct { + CacheControl string + ETag string + LastModified string + Nssai models.Nssai +} + +type GetNSSAIError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SliceSelectionSubscriptionDataRetrievalApiService) GetNSSAI(ctx context.Context, request *GetNSSAIRequest) (*GetNSSAIResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNSSAIResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/nssai" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + if request.DisasterRoamingInd != nil { + localVarQueryParams.Add("disaster-roaming-ind", openapi.ParameterToString(request.DisasterRoamingInd, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Nssai, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetNSSAIError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNSSAIError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNSSAIError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNSSAIError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go new file mode 100644 index 00000000..af4c56a2 --- /dev/null +++ b/udm/SubscriberDataManagement/api_smf_selection_subscription_data_retrieval.go @@ -0,0 +1,203 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFSelectionSubscriptionDataRetrievalApiService service + +/* +SMFSelectionSubscriptionDataRetrievalApiService retrieve a UE's SMF Selection Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - serving PLMN ID + * @param DisasterRoamingInd - Indication whether Disaster Roaming service is applied or not + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSmfSelDataResponse +*/ + +// GetSmfSelDataRequest +type GetSmfSelDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + DisasterRoamingInd *bool + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSmfSelDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetSmfSelDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSmfSelDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetSmfSelDataRequest) SetDisasterRoamingInd(DisasterRoamingInd bool) { + r.DisasterRoamingInd = &DisasterRoamingInd +} +func (r *GetSmfSelDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSmfSelDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSmfSelDataResponse struct { + CacheControl string + ETag string + LastModified string + SmfSelectionSubscriptionData models.SmfSelectionSubscriptionData +} + +type GetSmfSelDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFSelectionSubscriptionDataRetrievalApiService) GetSmfSelData(ctx context.Context, request *GetSmfSelDataRequest) (*GetSmfSelDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmfSelDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/smf-select-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + if request.DisasterRoamingInd != nil { + localVarQueryParams.Add("disaster-roaming-ind", openapi.ParameterToString(request.DisasterRoamingInd, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSelectionSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSmfSelDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSmfSelDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSmfSelDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSmfSelDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go new file mode 100644 index 00000000..9db7ada7 --- /dev/null +++ b/udm/SubscriberDataManagement/api_sms_management_subscription_data_retrieval.go @@ -0,0 +1,195 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSManagementSubscriptionDataRetrievalApiService service + +/* +SMSManagementSubscriptionDataRetrievalApiService retrieve a UE's SMS Management Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSmsMngtDataResponse +*/ + +// GetSmsMngtDataRequest +type GetSmsMngtDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSmsMngtDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetSmsMngtDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSmsMngtDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetSmsMngtDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSmsMngtDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSmsMngtDataResponse struct { + CacheControl string + ETag string + LastModified string + SmsManagementSubscriptionData models.SmsManagementSubscriptionData +} + +type GetSmsMngtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSManagementSubscriptionDataRetrievalApiService) GetSmsMngtData(ctx context.Context, request *GetSmsMngtDataRequest) (*GetSmsMngtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmsMngtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/sms-mng-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsManagementSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSmsMngtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSmsMngtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSmsMngtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSmsMngtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_sms_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_sms_subscription_data_retrieval.go new file mode 100644 index 00000000..06d842d8 --- /dev/null +++ b/udm/SubscriberDataManagement/api_sms_subscription_data_retrieval.go @@ -0,0 +1,195 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSSubscriptionDataRetrievalApiService service + +/* +SMSSubscriptionDataRetrievalApiService retrieve a UE's SMS Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSmsDataResponse +*/ + +// GetSmsDataRequest +type GetSmsDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSmsDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetSmsDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetSmsDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetSmsDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSmsDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSmsDataResponse struct { + CacheControl string + ETag string + LastModified string + SmsSubscriptionData models.SmsSubscriptionData +} + +type GetSmsDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSSubscriptionDataRetrievalApiService) GetSmsData(ctx context.Context, request *GetSmsDataRequest) (*GetSmsDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmsDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/sms-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetSmsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSmsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSmsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSmsDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go b/udm/SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go new file mode 100644 index 00000000..03c47469 --- /dev/null +++ b/udm/SubscriberDataManagement/api_subs_to_notification_data_change_notify_callback_document.go @@ -0,0 +1,168 @@ +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DataChangeNotificationCallbackDocumentApiService service + +type OnDataChangeNotificationRequest struct { + OnDataChangeNotificationUrl *string + ModificationNotification *models.ModificationNotification +} + +func (r *OnDataChangeNotificationRequest) SetOnDataChangeNotificationUrl(OnDataChangeNotificationUrl string) { + r.OnDataChangeNotificationUrl = &OnDataChangeNotificationUrl +} +func (r *OnDataChangeNotificationRequest) SetModificationNotification(ModificationNotification models.ModificationNotification) { + r.ModificationNotification = &ModificationNotification +} + +func (a *DataChangeNotificationCallbackDocumentApiService) OnDataChangeNotification(ctx context.Context, request *OnDataChangeNotificationRequest) (*OnDataChangeNotificationResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue OnDataChangeNotificationResponse + ) + + // create path and map variables + localVarPath := *request.OnDataChangeNotificationUrl + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHttpContentTypes := []string{"application/json"} + localVarHeaderParams["Content-Type"] = localVarHttpContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHttpHeaderAccept := openapi.SelectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + + // body params + localVarPostBody = request.ModificationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, err + case 400: + var v models.ProblemDetails + err = openapi.Deserialize(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v OnDataChangeNotificationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, openapi.ReportError("%d is not a valid status code in OnDataChangeNotify", localVarHTTPResponse.StatusCode) + } +} + +type OnDataChangeNotificationResponse struct { + CacheControl string + ETag string + LastModified string + SmsSubscriptionData models.SmsSubscriptionData +} + +type OnDataChangeNotificationError struct { + ProblemDetails models.ProblemDetails +} diff --git a/udm/SubscriberDataManagement/api_subscription_creation.go b/udm/SubscriberDataManagement/api_subscription_creation.go new file mode 100644 index 00000000..d836e830 --- /dev/null +++ b/udm/SubscriberDataManagement/api_subscription_creation.go @@ -0,0 +1,452 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionCreationApiService service + +/* +SubscriptionCreationApiService subscribe to notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identity of the user + * @param SdmSubscription - + +@return SubscribeResponse +*/ + +// SubscribeRequest +type SubscribeRequest struct { + UeId *string + SdmSubscription *models.SdmSubscription +} + +func (r *SubscribeRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *SubscribeRequest) SetSdmSubscription(SdmSubscription models.SdmSubscription) { + r.SdmSubscription = &SdmSubscription +} + +type SubscribeResponse struct { + Location string + SdmSubscription models.SdmSubscription +} + +type SubscribeError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionCreationApiService) Subscribe(ctx context.Context, request *SubscribeRequest) (*SubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SdmSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v SubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v SubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// SubscribeDatachangeNotificationPostRequest +type SubscribeDatachangeNotificationPostRequest struct { + ModificationNotification *models.ModificationNotification +} + +func (r *SubscribeDatachangeNotificationPostRequest) SetModificationNotification(ModificationNotification models.ModificationNotification) { + r.ModificationNotification = &ModificationNotification +} + +type SubscribeDatachangeNotificationPostResponse struct { +} + +type SubscribeDatachangeNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionCreationApiService) SubscribeDatachangeNotificationPost(ctx context.Context, uri string, request *SubscribeDatachangeNotificationPostRequest) (*SubscribeDatachangeNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscribeDatachangeNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ModificationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscribeDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// SubscribeDataRestorationNotificationPostRequest +type SubscribeDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *SubscribeDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type SubscribeDataRestorationNotificationPostResponse struct { +} + +type SubscribeDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionCreationApiService) SubscribeDataRestorationNotificationPost(ctx context.Context, uri string, request *SubscribeDataRestorationNotificationPostRequest) (*SubscribeDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscribeDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscribeDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/SubscriberDataManagement/api_subscription_creation_for_shared_data.go b/udm/SubscriberDataManagement/api_subscription_creation_for_shared_data.go new file mode 100644 index 00000000..0d413e69 --- /dev/null +++ b/udm/SubscriberDataManagement/api_subscription_creation_for_shared_data.go @@ -0,0 +1,278 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionCreationForSharedDataApiService service + +/* +SubscriptionCreationForSharedDataApiService subscribe to notifications for shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SdmSubscription - + +@return SubscribeToSharedDataResponse +*/ + +// SubscribeToSharedDataRequest +type SubscribeToSharedDataRequest struct { + SdmSubscription *models.SdmSubscription +} + +func (r *SubscribeToSharedDataRequest) SetSdmSubscription(SdmSubscription models.SdmSubscription) { + r.SdmSubscription = &SdmSubscription +} + +type SubscribeToSharedDataResponse struct { + Location string + SdmSubscription models.SdmSubscription +} + +type SubscribeToSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionCreationForSharedDataApiService) SubscribeToSharedData(ctx context.Context, request *SubscribeToSharedDataRequest) (*SubscribeToSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscribeToSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SdmSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v SubscribeToSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscribeToSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// SubscribeToSharedDataDatachangeNotificationPostRequest +type SubscribeToSharedDataDatachangeNotificationPostRequest struct { + ModificationNotification *models.ModificationNotification +} + +func (r *SubscribeToSharedDataDatachangeNotificationPostRequest) SetModificationNotification(ModificationNotification models.ModificationNotification) { + r.ModificationNotification = &ModificationNotification +} + +type SubscribeToSharedDataDatachangeNotificationPostResponse struct { +} + +type SubscribeToSharedDataDatachangeNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionCreationForSharedDataApiService) SubscribeToSharedDataDatachangeNotificationPost(ctx context.Context, uri string, request *SubscribeToSharedDataDatachangeNotificationPostRequest) (*SubscribeToSharedDataDatachangeNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscribeToSharedDataDatachangeNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ModificationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SubscribeToSharedDataDatachangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/SubscriberDataManagement/api_subscription_deletion.go b/udm/SubscriberDataManagement/api_subscription_deletion.go new file mode 100644 index 00000000..8c9c081c --- /dev/null +++ b/udm/SubscriberDataManagement/api_subscription_deletion.go @@ -0,0 +1,155 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionDeletionApiService service + +/* +SubscriptionDeletionApiService unsubscribe from notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identity of the user + * @param SubscriptionId - Id of the SDM Subscription + +@return UnsubscribeResponse +*/ + +// UnsubscribeRequest +type UnsubscribeRequest struct { + UeId *string + SubscriptionId *string +} + +func (r *UnsubscribeRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UnsubscribeRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type UnsubscribeResponse struct { +} + +type UnsubscribeError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionDeletionApiService) Unsubscribe(ctx context.Context, request *UnsubscribeRequest) (*UnsubscribeResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UnsubscribeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/sdm-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v UnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UnsubscribeError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_subscription_deletion_for_shared_data.go b/udm/SubscriberDataManagement/api_subscription_deletion_for_shared_data.go new file mode 100644 index 00000000..bcbfcc39 --- /dev/null +++ b/udm/SubscriberDataManagement/api_subscription_deletion_for_shared_data.go @@ -0,0 +1,149 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionDeletionForSharedDataApiService service + +/* +SubscriptionDeletionForSharedDataApiService unsubscribe from notifications for shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Id of the Shared data Subscription + +@return UnsubscribeForSharedDataResponse +*/ + +// UnsubscribeForSharedDataRequest +type UnsubscribeForSharedDataRequest struct { + SubscriptionId *string +} + +func (r *UnsubscribeForSharedDataRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type UnsubscribeForSharedDataResponse struct { +} + +type UnsubscribeForSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionDeletionForSharedDataApiService) UnsubscribeForSharedData(ctx context.Context, request *UnsubscribeForSharedDataRequest) (*UnsubscribeForSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UnsubscribeForSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v UnsubscribeForSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UnsubscribeForSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UnsubscribeForSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UnsubscribeForSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_subscription_modification.go b/udm/SubscriberDataManagement/api_subscription_modification.go new file mode 100644 index 00000000..8d0fcd40 --- /dev/null +++ b/udm/SubscriberDataManagement/api_subscription_modification.go @@ -0,0 +1,332 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionModificationApiService service + +/* +SubscriptionModificationApiService modify the subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identity of the user + * @param SubscriptionId - Id of the SDM Subscription + * @param SdmSubsModification - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyResponse +*/ + +// ModifyRequest +type ModifyRequest struct { + UeId *string + SubscriptionId *string + SdmSubsModification *models.SdmSubsModification + SupportedFeatures *string +} + +func (r *ModifyRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ModifyRequest) SetSdmSubsModification(SdmSubsModification models.SdmSubsModification) { + r.SdmSubsModification = &SdmSubsModification +} +func (r *ModifyRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyResponse struct { + ModifyResponse200 models.ModifyResponse200 +} + +type ModifyError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionModificationApiService) Modify(ctx context.Context, request *ModifyRequest) (*ModifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/sdm-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubsModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ModifyResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ModifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SubscriptionModificationApiService modify the subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - Id of the SDM Subscription + * @param SdmSubsModification - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifySharedDataSubsResponse +*/ + +// ModifySharedDataSubsRequest +type ModifySharedDataSubsRequest struct { + SubscriptionId *string + SdmSubsModification *models.SdmSubsModification + SupportedFeatures *string +} + +func (r *ModifySharedDataSubsRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ModifySharedDataSubsRequest) SetSdmSubsModification(SdmSubsModification models.SdmSubsModification) { + r.SdmSubsModification = &SdmSubsModification +} +func (r *ModifySharedDataSubsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifySharedDataSubsResponse struct { + ModifySharedDataSubsResponse200 models.ModifySharedDataSubsResponse200 +} + +type ModifySharedDataSubsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionModificationApiService) ModifySharedDataSubs(ctx context.Context, request *ModifySharedDataSubsRequest) (*ModifySharedDataSubsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifySharedDataSubsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/shared-data-subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubsModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ModifySharedDataSubsResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ModifySharedDataSubsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifySharedDataSubsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifySharedDataSubsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifySharedDataSubsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifySharedDataSubsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_trace_configuration_data_retrieval.go b/udm/SubscriberDataManagement/api_trace_configuration_data_retrieval.go new file mode 100644 index 00000000..6f6be72d --- /dev/null +++ b/udm/SubscriberDataManagement/api_trace_configuration_data_retrieval.go @@ -0,0 +1,195 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TraceConfigurationDataRetrievalApiService service + +/* +TraceConfigurationDataRetrievalApiService retrieve a UE's Trace Configuration Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param PlmnId - serving PLMN ID + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetTraceConfigDataResponse +*/ + +// GetTraceConfigDataRequest +type GetTraceConfigDataRequest struct { + Supi *string + SupportedFeatures *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetTraceConfigDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetTraceConfigDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetTraceConfigDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetTraceConfigDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetTraceConfigDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetTraceConfigDataResponse struct { + CacheControl string + ETag string + LastModified string + TraceDataResponse models.TraceDataResponse +} + +type GetTraceConfigDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TraceConfigurationDataRetrievalApiService) GetTraceConfigData(ctx context.Context, request *GetTraceConfigDataRequest) (*GetTraceConfigDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetTraceConfigDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/trace-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TraceDataResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetTraceConfigDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetTraceConfigDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetTraceConfigDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetTraceConfigDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_trigger_sor_info_update.go b/udm/SubscriberDataManagement/api_trigger_sor_info_update.go new file mode 100644 index 00000000..d95bcefe --- /dev/null +++ b/udm/SubscriberDataManagement/api_trigger_sor_info_update.go @@ -0,0 +1,165 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TriggerSORInfoUpdateApiService service + +/* +TriggerSORInfoUpdateApiService Nudm_Sdm custom operation to trigger SOR info update + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SorUpdateInfo - + +@return UpdateSORInfoResponse +*/ + +// UpdateSORInfoRequest +type UpdateSORInfoRequest struct { + Supi *string + SorUpdateInfo *models.SorUpdateInfo +} + +func (r *UpdateSORInfoRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *UpdateSORInfoRequest) SetSorUpdateInfo(SorUpdateInfo models.SorUpdateInfo) { + r.SorUpdateInfo = &SorUpdateInfo +} + +type UpdateSORInfoResponse struct { + UdmSdmSorInfo models.UdmSdmSorInfo +} + +type UpdateSORInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TriggerSORInfoUpdateApiService) UpdateSORInfo(ctx context.Context, request *UpdateSORInfoRequest) (*UpdateSORInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSORInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/am-data/update-sor" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + + if request.SorUpdateInfo != nil { + localVarPostBody = request.SorUpdateInfo + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSorInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v UpdateSORInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSORInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSORInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSORInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_ue_context_in_amf_data_retrieval.go b/udm/SubscriberDataManagement/api_ue_context_in_amf_data_retrieval.go new file mode 100644 index 00000000..c8dd0c02 --- /dev/null +++ b/udm/SubscriberDataManagement/api_ue_context_in_amf_data_retrieval.go @@ -0,0 +1,163 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEContextInAMFDataRetrievalApiService service + +/* +UEContextInAMFDataRetrievalApiService retrieve a UE's UE Context In AMF Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + +@return GetUeCtxInAmfDataResponse +*/ + +// GetUeCtxInAmfDataRequest +type GetUeCtxInAmfDataRequest struct { + Supi *string + SupportedFeatures *string +} + +func (r *GetUeCtxInAmfDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetUeCtxInAmfDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetUeCtxInAmfDataResponse struct { + UeContextInAmfData models.UeContextInAmfData +} + +type GetUeCtxInAmfDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEContextInAMFDataRetrievalApiService) GetUeCtxInAmfData(ctx context.Context, request *GetUeCtxInAmfDataRequest) (*GetUeCtxInAmfDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetUeCtxInAmfDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-context-in-amf-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeContextInAmfData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetUeCtxInAmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetUeCtxInAmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetUeCtxInAmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetUeCtxInAmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go b/udm/SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go new file mode 100644 index 00000000..7edeb2c3 --- /dev/null +++ b/udm/SubscriberDataManagement/api_ue_context_in_smf_data_retrieval.go @@ -0,0 +1,163 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEContextInSMFDataRetrievalApiService service + +/* +UEContextInSMFDataRetrievalApiService retrieve a UE's UE Context In SMF Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + +@return GetUeCtxInSmfDataResponse +*/ + +// GetUeCtxInSmfDataRequest +type GetUeCtxInSmfDataRequest struct { + Supi *string + SupportedFeatures *string +} + +func (r *GetUeCtxInSmfDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetUeCtxInSmfDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetUeCtxInSmfDataResponse struct { + UeContextInSmfData models.UeContextInSmfData +} + +type GetUeCtxInSmfDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEContextInSMFDataRetrievalApiService) GetUeCtxInSmfData(ctx context.Context, request *GetUeCtxInSmfDataRequest) (*GetUeCtxInSmfDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetUeCtxInSmfDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-context-in-smf-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeContextInSmfData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetUeCtxInSmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetUeCtxInSmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetUeCtxInSmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetUeCtxInSmfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go b/udm/SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go new file mode 100644 index 00000000..0199c231 --- /dev/null +++ b/udm/SubscriberDataManagement/api_ue_context_in_smsf_data_retrieval.go @@ -0,0 +1,163 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEContextInSMSFDataRetrievalApiService service + +/* +UEContextInSMSFDataRetrievalApiService retrieve a UE's UE Context In SMSF Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + +@return GetUeCtxInSmsfDataResponse +*/ + +// GetUeCtxInSmsfDataRequest +type GetUeCtxInSmsfDataRequest struct { + Supi *string + SupportedFeatures *string +} + +func (r *GetUeCtxInSmsfDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetUeCtxInSmsfDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetUeCtxInSmsfDataResponse struct { + UeContextInSmsfData models.UeContextInSmsfData +} + +type GetUeCtxInSmsfDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEContextInSMSFDataRetrievalApiService) GetUeCtxInSmsfData(ctx context.Context, request *GetUeCtxInSmsfDataRequest) (*GetUeCtxInSmsfDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetUeCtxInSmsfDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/ue-context-in-smsf-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UeContextInSmsfData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetUeCtxInSmsfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetUeCtxInSmsfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetUeCtxInSmsfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetUeCtxInSmsfDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_user_consent_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_user_consent_subscription_data_retrieval.go new file mode 100644 index 00000000..35416db4 --- /dev/null +++ b/udm/SubscriberDataManagement/api_user_consent_subscription_data_retrieval.go @@ -0,0 +1,195 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UserConsentSubscriptionDataRetrievalApiService service + +/* +UserConsentSubscriptionDataRetrievalApiService retrieve a UE's User Consent Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param UcPurpose - User consent purpose + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetUcDataResponse +*/ + +// GetUcDataRequest +type GetUcDataRequest struct { + Supi *string + SupportedFeatures *string + UcPurpose *models.UcPurpose + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetUcDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetUcDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetUcDataRequest) SetUcPurpose(UcPurpose models.UcPurpose) { + r.UcPurpose = &UcPurpose +} +func (r *GetUcDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetUcDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetUcDataResponse struct { + CacheControl string + ETag string + LastModified string + UcSubscriptionData models.UcSubscriptionData +} + +type GetUcDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UserConsentSubscriptionDataRetrievalApiService) GetUcData(ctx context.Context, request *GetUcDataRequest) (*GetUcDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetUcDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/uc-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.UcPurpose != nil { + localVarQueryParams.Add("uc-purpose", openapi.ParameterToString(request.UcPurpose, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UcSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetUcDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetUcDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetUcDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetUcDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/api_v2_x_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_v2_x_subscription_data_retrieval.go new file mode 100644 index 00000000..3037c2d4 --- /dev/null +++ b/udm/SubscriberDataManagement/api_v2_x_subscription_data_retrieval.go @@ -0,0 +1,187 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type V2XSubscriptionDataRetrievalApiService service + +/* +V2XSubscriptionDataRetrievalApiService retrieve a UE's V2X Subscription Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Identifier of the UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetV2xDataResponse +*/ + +// GetV2xDataRequest +type GetV2xDataRequest struct { + Supi *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetV2xDataRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetV2xDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetV2xDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetV2xDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetV2xDataResponse struct { + CacheControl string + ETag string + LastModified string + V2xSubscriptionData models.V2xSubscriptionData +} + +type GetV2xDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *V2XSubscriptionDataRetrievalApiService) GetV2xData(ctx context.Context, request *GetV2xDataRequest) (*GetV2xDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetV2xDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/v2x-data" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.V2xSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetV2xDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetV2xDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetV2xDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetV2xDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/SubscriberDataManagement/client.go b/udm/SubscriberDataManagement/client.go new file mode 100644 index 00000000..4216560b --- /dev/null +++ b/udm/SubscriberDataManagement/client.go @@ -0,0 +1,106 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +// APIClient manages communication with the Nudm_SDM API v2.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AccessAndMobilitySubscriptionDataRetrievalApi *AccessAndMobilitySubscriptionDataRetrievalApiService + Class5MBSSubscriptionDataRetrievalApi *Class5MBSSubscriptionDataRetrievalApiService + EnhancedCoverageRestrictionDataRetrievalApi *EnhancedCoverageRestrictionDataRetrievalApiService + GPSIToSUPITranslationOrSUPIToGPSITranslationApi *GPSIToSUPITranslationOrSUPIToGPSITranslationApiService + GroupIdentifiersApi *GroupIdentifiersApiService + LCSBroadcastAssistanceDataTypesRetrievalApi *LCSBroadcastAssistanceDataTypesRetrievalApiService + LCSMobileOriginatedDataRetrievalApi *LCSMobileOriginatedDataRetrievalApiService + LCSPrivacyDataRetrievalApi *LCSPrivacyDataRetrievalApiService + MultipleIdentifiersApi *MultipleIdentifiersApiService + ProseSubscriptionDataRetrievalApi *ProseSubscriptionDataRetrievalApiService + ProvidingAcknowledgementOfCAGUpdateApi *ProvidingAcknowledgementOfCAGUpdateApiService + ProvidingAcknowledgementOfSNSSAIsUpdateApi *ProvidingAcknowledgementOfSNSSAIsUpdateApiService + ProvidingAcknowledgementOfSteeringOfRoamingApi *ProvidingAcknowledgementOfSteeringOfRoamingApiService + ProvidingAcknowledgementOfUEParametersUpdateApi *ProvidingAcknowledgementOfUEParametersUpdateApiService + RetrievalOfMultipleDataSetsApi *RetrievalOfMultipleDataSetsApiService + RetrievalOfSharedDataApi *RetrievalOfSharedDataApiService + RetrievalOfTheIndividualSharedDataApi *RetrievalOfTheIndividualSharedDataApiService + SMFSelectionSubscriptionDataRetrievalApi *SMFSelectionSubscriptionDataRetrievalApiService + SMSManagementSubscriptionDataRetrievalApi *SMSManagementSubscriptionDataRetrievalApiService + SMSSubscriptionDataRetrievalApi *SMSSubscriptionDataRetrievalApiService + SessionManagementSubscriptionDataRetrievalApi *SessionManagementSubscriptionDataRetrievalApiService + SliceSelectionSubscriptionDataRetrievalApi *SliceSelectionSubscriptionDataRetrievalApiService + SubscriptionCreationApi *SubscriptionCreationApiService + SubscriptionCreationForSharedDataApi *SubscriptionCreationForSharedDataApiService + SubscriptionDeletionApi *SubscriptionDeletionApiService + SubscriptionDeletionForSharedDataApi *SubscriptionDeletionForSharedDataApiService + SubscriptionModificationApi *SubscriptionModificationApiService + TraceConfigurationDataRetrievalApi *TraceConfigurationDataRetrievalApiService + TriggerSORInfoUpdateApi *TriggerSORInfoUpdateApiService + UEContextInAMFDataRetrievalApi *UEContextInAMFDataRetrievalApiService + UEContextInSMFDataRetrievalApi *UEContextInSMFDataRetrievalApiService + UEContextInSMSFDataRetrievalApi *UEContextInSMSFDataRetrievalApiService + UserConsentSubscriptionDataRetrievalApi *UserConsentSubscriptionDataRetrievalApiService + V2XSubscriptionDataRetrievalApi *V2XSubscriptionDataRetrievalApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AccessAndMobilitySubscriptionDataRetrievalApi = (*AccessAndMobilitySubscriptionDataRetrievalApiService)(&c.common) + c.Class5MBSSubscriptionDataRetrievalApi = (*Class5MBSSubscriptionDataRetrievalApiService)(&c.common) + c.EnhancedCoverageRestrictionDataRetrievalApi = (*EnhancedCoverageRestrictionDataRetrievalApiService)(&c.common) + c.GPSIToSUPITranslationOrSUPIToGPSITranslationApi = (*GPSIToSUPITranslationOrSUPIToGPSITranslationApiService)(&c.common) + c.GroupIdentifiersApi = (*GroupIdentifiersApiService)(&c.common) + c.LCSBroadcastAssistanceDataTypesRetrievalApi = (*LCSBroadcastAssistanceDataTypesRetrievalApiService)(&c.common) + c.LCSMobileOriginatedDataRetrievalApi = (*LCSMobileOriginatedDataRetrievalApiService)(&c.common) + c.LCSPrivacyDataRetrievalApi = (*LCSPrivacyDataRetrievalApiService)(&c.common) + c.MultipleIdentifiersApi = (*MultipleIdentifiersApiService)(&c.common) + c.ProseSubscriptionDataRetrievalApi = (*ProseSubscriptionDataRetrievalApiService)(&c.common) + c.ProvidingAcknowledgementOfCAGUpdateApi = (*ProvidingAcknowledgementOfCAGUpdateApiService)(&c.common) + c.ProvidingAcknowledgementOfSNSSAIsUpdateApi = (*ProvidingAcknowledgementOfSNSSAIsUpdateApiService)(&c.common) + c.ProvidingAcknowledgementOfSteeringOfRoamingApi = (*ProvidingAcknowledgementOfSteeringOfRoamingApiService)(&c.common) + c.ProvidingAcknowledgementOfUEParametersUpdateApi = (*ProvidingAcknowledgementOfUEParametersUpdateApiService)(&c.common) + c.RetrievalOfMultipleDataSetsApi = (*RetrievalOfMultipleDataSetsApiService)(&c.common) + c.RetrievalOfSharedDataApi = (*RetrievalOfSharedDataApiService)(&c.common) + c.RetrievalOfTheIndividualSharedDataApi = (*RetrievalOfTheIndividualSharedDataApiService)(&c.common) + c.SMFSelectionSubscriptionDataRetrievalApi = (*SMFSelectionSubscriptionDataRetrievalApiService)(&c.common) + c.SMSManagementSubscriptionDataRetrievalApi = (*SMSManagementSubscriptionDataRetrievalApiService)(&c.common) + c.SMSSubscriptionDataRetrievalApi = (*SMSSubscriptionDataRetrievalApiService)(&c.common) + c.SessionManagementSubscriptionDataRetrievalApi = (*SessionManagementSubscriptionDataRetrievalApiService)(&c.common) + c.SliceSelectionSubscriptionDataRetrievalApi = (*SliceSelectionSubscriptionDataRetrievalApiService)(&c.common) + c.SubscriptionCreationApi = (*SubscriptionCreationApiService)(&c.common) + c.SubscriptionCreationForSharedDataApi = (*SubscriptionCreationForSharedDataApiService)(&c.common) + c.SubscriptionDeletionApi = (*SubscriptionDeletionApiService)(&c.common) + c.SubscriptionDeletionForSharedDataApi = (*SubscriptionDeletionForSharedDataApiService)(&c.common) + c.SubscriptionModificationApi = (*SubscriptionModificationApiService)(&c.common) + c.TraceConfigurationDataRetrievalApi = (*TraceConfigurationDataRetrievalApiService)(&c.common) + c.TriggerSORInfoUpdateApi = (*TriggerSORInfoUpdateApiService)(&c.common) + c.UEContextInAMFDataRetrievalApi = (*UEContextInAMFDataRetrievalApiService)(&c.common) + c.UEContextInSMFDataRetrievalApi = (*UEContextInSMFDataRetrievalApiService)(&c.common) + c.UEContextInSMSFDataRetrievalApi = (*UEContextInSMSFDataRetrievalApiService)(&c.common) + c.UserConsentSubscriptionDataRetrievalApi = (*UserConsentSubscriptionDataRetrievalApiService)(&c.common) + c.V2XSubscriptionDataRetrievalApi = (*V2XSubscriptionDataRetrievalApiService)(&c.common) + + return c +} diff --git a/udm/SubscriberDataManagement/configuration.go b/udm/SubscriberDataManagement/configuration.go new file mode 100644 index 00000000..4d721b6b --- /dev/null +++ b/udm/SubscriberDataManagement/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_SDM + * + * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package SubscriberDataManagement + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-sdm/v2", + url: "{apiRoot}/nudm-sdm/v2", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/UEAuthentication/api_confirm_auth.go b/udm/UEAuthentication/api_confirm_auth.go new file mode 100644 index 00000000..48b424ed --- /dev/null +++ b/udm/UEAuthentication/api_confirm_auth.go @@ -0,0 +1,308 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ConfirmAuthApiService service + +/* +ConfirmAuthApiService Create a new confirmation event + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - SUPI of the user + * @param AuthEvent - + +@return ConfirmAuthResponse +*/ + +// ConfirmAuthRequest +type ConfirmAuthRequest struct { + Supi *string + AuthEvent *models.AuthEvent +} + +func (r *ConfirmAuthRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *ConfirmAuthRequest) SetAuthEvent(AuthEvent models.AuthEvent) { + r.AuthEvent = &AuthEvent +} + +type ConfirmAuthResponse struct { + Location string + AuthEvent models.AuthEvent +} + +type ConfirmAuthError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ConfirmAuthApiService) ConfirmAuth(ctx context.Context, request *ConfirmAuthRequest) (*ConfirmAuthResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ConfirmAuthResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/auth-events" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthEvent + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AuthEvent, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v ConfirmAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ConfirmAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ConfirmAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ConfirmAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// ConfirmAuthDataRestorationNotificationPostRequest +type ConfirmAuthDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *ConfirmAuthDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type ConfirmAuthDataRestorationNotificationPostResponse struct { +} + +type ConfirmAuthDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *ConfirmAuthApiService) ConfirmAuthDataRestorationNotificationPost(ctx context.Context, uri string, request *ConfirmAuthDataRestorationNotificationPostRequest) (*ConfirmAuthDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ConfirmAuthDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ConfirmAuthDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEAuthentication/api_delete_auth.go b/udm/UEAuthentication/api_delete_auth.go new file mode 100644 index 00000000..dc38cea6 --- /dev/null +++ b/udm/UEAuthentication/api_delete_auth.go @@ -0,0 +1,163 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DeleteAuthApiService service + +/* +DeleteAuthApiService Deletes the authentication result in the UDM + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - SUPI of the user + * @param AuthEventId - authEvent Id + * @param AuthEvent - + +@return DeleteAuthResponse +*/ + +// DeleteAuthRequest +type DeleteAuthRequest struct { + Supi *string + AuthEventId *string + AuthEvent *models.AuthEvent +} + +func (r *DeleteAuthRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *DeleteAuthRequest) SetAuthEventId(AuthEventId string) { + r.AuthEventId = &AuthEventId +} +func (r *DeleteAuthRequest) SetAuthEvent(AuthEvent models.AuthEvent) { + r.AuthEvent = &AuthEvent +} + +type DeleteAuthResponse struct { +} + +type DeleteAuthError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DeleteAuthApiService) DeleteAuth(ctx context.Context, request *DeleteAuthRequest) (*DeleteAuthResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAuthResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/auth-events/{authEventId}" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + localVarPath = strings.Replace(localVarPath, "{"+"authEventId"+"}", openapi.StringOfValue(*request.AuthEventId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthEvent + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAuthError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/api_generate_auth_data.go b/udm/UEAuthentication/api_generate_auth_data.go new file mode 100644 index 00000000..943ebfe1 --- /dev/null +++ b/udm/UEAuthentication/api_generate_auth_data.go @@ -0,0 +1,178 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GenerateAuthDataApiService service + +/* +GenerateAuthDataApiService Generate authentication data for the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SupiOrSuci - SUPI or SUCI of the user + * @param UdmUeauAuthenticationInfoRequest - + +@return GenerateAuthDataResponse +*/ + +// GenerateAuthDataRequest +type GenerateAuthDataRequest struct { + SupiOrSuci *string + UdmUeauAuthenticationInfoRequest *models.UdmUeauAuthenticationInfoRequest +} + +func (r *GenerateAuthDataRequest) SetSupiOrSuci(SupiOrSuci string) { + r.SupiOrSuci = &SupiOrSuci +} +func (r *GenerateAuthDataRequest) SetUdmUeauAuthenticationInfoRequest(UdmUeauAuthenticationInfoRequest models.UdmUeauAuthenticationInfoRequest) { + r.UdmUeauAuthenticationInfoRequest = &UdmUeauAuthenticationInfoRequest +} + +type GenerateAuthDataResponse struct { + UdmUeauAuthenticationInfoResult models.UdmUeauAuthenticationInfoResult +} + +type GenerateAuthDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GenerateAuthDataApiService) GenerateAuthData(ctx context.Context, request *GenerateAuthDataRequest) (*GenerateAuthDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GenerateAuthDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supiOrSuci}/security-information/generate-auth-data" + localVarPath = strings.Replace(localVarPath, "{"+"supiOrSuci"+"}", openapi.StringOfValue(*request.SupiOrSuci), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUeauAuthenticationInfoRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmUeauAuthenticationInfoResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GenerateAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/api_generate_gba_authentication_vectors.go b/udm/UEAuthentication/api_generate_gba_authentication_vectors.go new file mode 100644 index 00000000..8d26eaf7 --- /dev/null +++ b/udm/UEAuthentication/api_generate_gba_authentication_vectors.go @@ -0,0 +1,178 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GenerateGBAAuthenticationVectorsApiService service + +/* +GenerateGBAAuthenticationVectorsApiService Generate authentication data for the UE in GBA domain + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - SUPI of the user + * @param GbaAuthenticationInfoRequest - + +@return GenerateGbaAvResponse +*/ + +// GenerateGbaAvRequest +type GenerateGbaAvRequest struct { + Supi *string + GbaAuthenticationInfoRequest *models.GbaAuthenticationInfoRequest +} + +func (r *GenerateGbaAvRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GenerateGbaAvRequest) SetGbaAuthenticationInfoRequest(GbaAuthenticationInfoRequest models.GbaAuthenticationInfoRequest) { + r.GbaAuthenticationInfoRequest = &GbaAuthenticationInfoRequest +} + +type GenerateGbaAvResponse struct { + GbaAuthenticationInfoResult models.GbaAuthenticationInfoResult +} + +type GenerateGbaAvError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GenerateGBAAuthenticationVectorsApiService) GenerateGbaAv(ctx context.Context, request *GenerateGbaAvRequest) (*GenerateGbaAvResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GenerateGbaAvResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/gba-security-information/generate-av" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.GbaAuthenticationInfoRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.GbaAuthenticationInfoResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GenerateGbaAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/api_generate_hss_authentication_vectors.go b/udm/UEAuthentication/api_generate_hss_authentication_vectors.go new file mode 100644 index 00000000..47f5ca3f --- /dev/null +++ b/udm/UEAuthentication/api_generate_hss_authentication_vectors.go @@ -0,0 +1,184 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GenerateHSSAuthenticationVectorsApiService service + +/* +GenerateHSSAuthenticationVectorsApiService Generate authentication data for the UE in EPS or IMS domain + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - SUPI of the user + * @param HssAuthType - Type of AV requested by HSS + * @param HssAuthenticationInfoRequest - + +@return GenerateAvResponse +*/ + +// GenerateAvRequest +type GenerateAvRequest struct { + Supi *string + HssAuthType *models.HssAuthTypeInUri + HssAuthenticationInfoRequest *models.HssAuthenticationInfoRequest +} + +func (r *GenerateAvRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GenerateAvRequest) SetHssAuthType(HssAuthType models.HssAuthTypeInUri) { + r.HssAuthType = &HssAuthType +} +func (r *GenerateAvRequest) SetHssAuthenticationInfoRequest(HssAuthenticationInfoRequest models.HssAuthenticationInfoRequest) { + r.HssAuthenticationInfoRequest = &HssAuthenticationInfoRequest +} + +type GenerateAvResponse struct { + HssAuthenticationInfoResult models.HssAuthenticationInfoResult +} + +type GenerateAvError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GenerateHSSAuthenticationVectorsApiService) GenerateAv(ctx context.Context, request *GenerateAvRequest) (*GenerateAvResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GenerateAvResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supi}/hss-security-information/{hssAuthType}/generate-av" + localVarPath = strings.Replace(localVarPath, "{"+"supi"+"}", openapi.StringOfValue(*request.Supi), -1) + localVarPath = strings.Replace(localVarPath, "{"+"hssAuthType"+"}", openapi.StringOfValue(*request.HssAuthType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.HssAuthenticationInfoRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.HssAuthenticationInfoResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GenerateAvError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/api_generate_pro_se_authentication_vectors.go b/udm/UEAuthentication/api_generate_pro_se_authentication_vectors.go new file mode 100644 index 00000000..d804213d --- /dev/null +++ b/udm/UEAuthentication/api_generate_pro_se_authentication_vectors.go @@ -0,0 +1,178 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GenerateProSeAuthenticationVectorsApiService service + +/* +GenerateProSeAuthenticationVectorsApiService Generate authentication data for ProSe + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SupiOrSuci - SUPI or SUCI of the user + * @param ProSeAuthenticationInfoRequest - + +@return GenerateProseAVResponse +*/ + +// GenerateProseAVRequest +type GenerateProseAVRequest struct { + SupiOrSuci *string + ProSeAuthenticationInfoRequest *models.ProSeAuthenticationInfoRequest +} + +func (r *GenerateProseAVRequest) SetSupiOrSuci(SupiOrSuci string) { + r.SupiOrSuci = &SupiOrSuci +} +func (r *GenerateProseAVRequest) SetProSeAuthenticationInfoRequest(ProSeAuthenticationInfoRequest models.ProSeAuthenticationInfoRequest) { + r.ProSeAuthenticationInfoRequest = &ProSeAuthenticationInfoRequest +} + +type GenerateProseAVResponse struct { + ProSeAuthenticationInfoResult models.ProSeAuthenticationInfoResult +} + +type GenerateProseAVError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GenerateProSeAuthenticationVectorsApiService) GenerateProseAV(ctx context.Context, request *GenerateProseAVRequest) (*GenerateProseAVResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GenerateProseAVResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supiOrSuci}/prose-security-information/generate-av" + localVarPath = strings.Replace(localVarPath, "{"+"supiOrSuci"+"}", openapi.StringOfValue(*request.SupiOrSuci), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ProSeAuthenticationInfoRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProSeAuthenticationInfoResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GenerateProseAVError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/api_get_auth_data_for_fnrg.go b/udm/UEAuthentication/api_get_auth_data_for_fnrg.go new file mode 100644 index 00000000..1650848f --- /dev/null +++ b/udm/UEAuthentication/api_get_auth_data_for_fnrg.go @@ -0,0 +1,207 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GetAuthDataForFNRGApiService service + +/* +GetAuthDataForFNRGApiService Get authentication data for the FN-RG + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SupiOrSuci - SUPI or SUCI of the user + * @param AuthenticatedInd - Authenticated indication + * @param SupportedFeatures - Supported Features + * @param PlmnId - serving PLMN ID + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetRgAuthDataResponse +*/ + +// GetRgAuthDataRequest +type GetRgAuthDataRequest struct { + SupiOrSuci *string + AuthenticatedInd *bool + SupportedFeatures *string + PlmnId *models.PlmnId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetRgAuthDataRequest) SetSupiOrSuci(SupiOrSuci string) { + r.SupiOrSuci = &SupiOrSuci +} +func (r *GetRgAuthDataRequest) SetAuthenticatedInd(AuthenticatedInd bool) { + r.AuthenticatedInd = &AuthenticatedInd +} +func (r *GetRgAuthDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetRgAuthDataRequest) SetPlmnId(PlmnId models.PlmnId) { + r.PlmnId = &PlmnId +} +func (r *GetRgAuthDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetRgAuthDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetRgAuthDataResponse struct { + UdmUeauRgAuthCtx models.UdmUeauRgAuthCtx +} + +type GetRgAuthDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GetAuthDataForFNRGApiService) GetRgAuthData(ctx context.Context, request *GetRgAuthDataRequest) (*GetRgAuthDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetRgAuthDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{supiOrSuci}/security-information-rg" + localVarPath = strings.Replace(localVarPath, "{"+"supiOrSuci"+"}", openapi.StringOfValue(*request.SupiOrSuci), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.AuthenticatedInd == nil { + return nil, openapi.ReportError("AuthenticatedInd must be non nil") + } else { + localVarQueryParams.Add("authenticated-ind", openapi.ParameterToString(request.AuthenticatedInd, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.PlmnId != nil { + localVarQueryParams.Add("plmn-id", openapi.ParameterToString(request.PlmnId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmUeauRgAuthCtx, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetRgAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetRgAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetRgAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetRgAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetRgAuthDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEAuthentication/client.go b/udm/UEAuthentication/client.go new file mode 100644 index 00000000..e494c773 --- /dev/null +++ b/udm/UEAuthentication/client.go @@ -0,0 +1,52 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +// APIClient manages communication with the Nudm_UEAU API v1.2.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ConfirmAuthApi *ConfirmAuthApiService + DeleteAuthApi *DeleteAuthApiService + GenerateAuthDataApi *GenerateAuthDataApiService + GenerateGBAAuthenticationVectorsApi *GenerateGBAAuthenticationVectorsApiService + GenerateHSSAuthenticationVectorsApi *GenerateHSSAuthenticationVectorsApiService + GenerateProSeAuthenticationVectorsApi *GenerateProSeAuthenticationVectorsApiService + GetAuthDataForFNRGApi *GetAuthDataForFNRGApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ConfirmAuthApi = (*ConfirmAuthApiService)(&c.common) + c.DeleteAuthApi = (*DeleteAuthApiService)(&c.common) + c.GenerateAuthDataApi = (*GenerateAuthDataApiService)(&c.common) + c.GenerateGBAAuthenticationVectorsApi = (*GenerateGBAAuthenticationVectorsApiService)(&c.common) + c.GenerateHSSAuthenticationVectorsApi = (*GenerateHSSAuthenticationVectorsApiService)(&c.common) + c.GenerateProSeAuthenticationVectorsApi = (*GenerateProSeAuthenticationVectorsApiService)(&c.common) + c.GetAuthDataForFNRGApi = (*GetAuthDataForFNRGApiService)(&c.common) + + return c +} diff --git a/udm/UEAuthentication/configuration.go b/udm/UEAuthentication/configuration.go new file mode 100644 index 00000000..fdc38e77 --- /dev/null +++ b/udm/UEAuthentication/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_UEAU + * + * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.2 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEAuthentication + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-ueau/v1", + url: "{apiRoot}/nudm-ueau/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go b/udm/UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go new file mode 100644 index 00000000..f1e1324c --- /dev/null +++ b/udm/UEContextManagement/api_amf3_gpp_access_registration_info_retrieval.go @@ -0,0 +1,171 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMF3GppAccessRegistrationInfoRetrievalApiService service + +/* +AMF3GppAccessRegistrationInfoRetrievalApiService retrieve the AMF registration for 3GPP access information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - + +@return Get3GppRegistrationResponse +*/ + +// Get3GppRegistrationRequest +type Get3GppRegistrationRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *Get3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Get3GppRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Get3GppRegistrationResponse struct { + Amf3GppAccessRegistration models.Amf3GppAccessRegistration +} + +type Get3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMF3GppAccessRegistrationInfoRetrievalApiService) Get3GppRegistration(ctx context.Context, request *Get3GppRegistrationRequest) (*Get3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Get3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Get3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Get3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Get3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Get3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Get3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go b/udm/UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go new file mode 100644 index 00000000..4f6bd601 --- /dev/null +++ b/udm/UEContextManagement/api_amf_non3_gpp_access_registration_info_retrieval.go @@ -0,0 +1,171 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMFNon3GPPAccessRegistrationInfoRetrievalApiService service + +/* +AMFNon3GPPAccessRegistrationInfoRetrievalApiService retrieve the AMF registration for non-3GPP access information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - + +@return GetNon3GppRegistrationResponse +*/ + +// GetNon3GppRegistrationRequest +type GetNon3GppRegistrationRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *GetNon3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetNon3GppRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetNon3GppRegistrationResponse struct { + AmfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration +} + +type GetNon3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMFNon3GPPAccessRegistrationInfoRetrievalApiService) GetNon3GppRegistration(ctx context.Context, request *GetNon3GppRegistrationRequest) (*GetNon3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNon3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfNon3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_amf_registration_for3_gpp_access.go b/udm/UEContextManagement/api_amf_registration_for3_gpp_access.go new file mode 100644 index 00000000..f5e866f3 --- /dev/null +++ b/udm/UEContextManagement/api_amf_registration_for3_gpp_access.go @@ -0,0 +1,604 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMFRegistrationFor3GPPAccessApiService service + +/* +AMFRegistrationFor3GPPAccessApiService register as AMF for 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param Amf3GppAccessRegistration - + +@return Call3GppRegistrationResponse +*/ + +// Call3GppRegistrationRequest +type Call3GppRegistrationRequest struct { + UeId *string + Amf3GppAccessRegistration *models.Amf3GppAccessRegistration +} + +func (r *Call3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Call3GppRegistrationRequest) SetAmf3GppAccessRegistration(Amf3GppAccessRegistration models.Amf3GppAccessRegistration) { + r.Amf3GppAccessRegistration = &Amf3GppAccessRegistration +} + +type Call3GppRegistrationResponse struct { + Location string + Amf3GppAccessRegistration models.Amf3GppAccessRegistration +} + +type Call3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMFRegistrationFor3GPPAccessApiService) Call3GppRegistration(ctx context.Context, request *Call3GppRegistrationRequest) (*Call3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Amf3GppAccessRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v Call3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Call3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// Call3GppRegistrationDeregistrationNotificationPostRequest +type Call3GppRegistrationDeregistrationNotificationPostRequest struct { + UdmUecmDeregistrationData *models.UdmUecmDeregistrationData +} + +func (r *Call3GppRegistrationDeregistrationNotificationPostRequest) SetUdmUecmDeregistrationData(UdmUecmDeregistrationData models.UdmUecmDeregistrationData) { + r.UdmUecmDeregistrationData = &UdmUecmDeregistrationData +} + +type Call3GppRegistrationDeregistrationNotificationPostResponse struct { +} + +type Call3GppRegistrationDeregistrationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationFor3GPPAccessApiService) Call3GppRegistrationDeregistrationNotificationPost(ctx context.Context, uri string, request *Call3GppRegistrationDeregistrationNotificationPostRequest) (*Call3GppRegistrationDeregistrationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppRegistrationDeregistrationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDeregistrationData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// Call3GppRegistrationPcscfRestorationNotificationPostRequest +type Call3GppRegistrationPcscfRestorationNotificationPostRequest struct { + PcscfRestorationNotification *models.PcscfRestorationNotification +} + +func (r *Call3GppRegistrationPcscfRestorationNotificationPostRequest) SetPcscfRestorationNotification(PcscfRestorationNotification models.PcscfRestorationNotification) { + r.PcscfRestorationNotification = &PcscfRestorationNotification +} + +type Call3GppRegistrationPcscfRestorationNotificationPostResponse struct { +} + +type Call3GppRegistrationPcscfRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationFor3GPPAccessApiService) Call3GppRegistrationPcscfRestorationNotificationPost(ctx context.Context, uri string, request *Call3GppRegistrationPcscfRestorationNotificationPostRequest) (*Call3GppRegistrationPcscfRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppRegistrationPcscfRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcscfRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// Call3GppRegistrationDataRestorationNotificationPostRequest +type Call3GppRegistrationDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *Call3GppRegistrationDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type Call3GppRegistrationDataRestorationNotificationPostResponse struct { +} + +type Call3GppRegistrationDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationFor3GPPAccessApiService) Call3GppRegistrationDataRestorationNotificationPost(ctx context.Context, uri string, request *Call3GppRegistrationDataRestorationNotificationPostRequest) (*Call3GppRegistrationDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppRegistrationDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEContextManagement/api_amf_registration_for_non3_gpp_access.go b/udm/UEContextManagement/api_amf_registration_for_non3_gpp_access.go new file mode 100644 index 00000000..a7e6c3ed --- /dev/null +++ b/udm/UEContextManagement/api_amf_registration_for_non3_gpp_access.go @@ -0,0 +1,596 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMFRegistrationForNon3GPPAccessApiService service + +/* +AMFRegistrationForNon3GPPAccessApiService register as AMF for non-3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AmfNon3GppAccessRegistration - + +@return Non3GppRegistrationResponse +*/ + +// Non3GppRegistrationRequest +type Non3GppRegistrationRequest struct { + UeId *string + AmfNon3GppAccessRegistration *models.AmfNon3GppAccessRegistration +} + +func (r *Non3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Non3GppRegistrationRequest) SetAmfNon3GppAccessRegistration(AmfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration) { + r.AmfNon3GppAccessRegistration = &AmfNon3GppAccessRegistration +} + +type Non3GppRegistrationResponse struct { + Location string + AmfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration +} + +type Non3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMFRegistrationForNon3GPPAccessApiService) Non3GppRegistration(ctx context.Context, request *Non3GppRegistrationRequest) (*Non3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfNon3GppAccessRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AmfNon3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfNon3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v Non3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Non3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// Non3GppRegistrationDeregistrationNotificationPostRequest +type Non3GppRegistrationDeregistrationNotificationPostRequest struct { + UdmUecmDeregistrationData *models.UdmUecmDeregistrationData +} + +func (r *Non3GppRegistrationDeregistrationNotificationPostRequest) SetUdmUecmDeregistrationData(UdmUecmDeregistrationData models.UdmUecmDeregistrationData) { + r.UdmUecmDeregistrationData = &UdmUecmDeregistrationData +} + +type Non3GppRegistrationDeregistrationNotificationPostResponse struct { +} + +type Non3GppRegistrationDeregistrationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationForNon3GPPAccessApiService) Non3GppRegistrationDeregistrationNotificationPost(ctx context.Context, uri string, request *Non3GppRegistrationDeregistrationNotificationPostRequest) (*Non3GppRegistrationDeregistrationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppRegistrationDeregistrationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDeregistrationData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppRegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// Non3GppRegistrationPcscfRestorationNotificationPostRequest +type Non3GppRegistrationPcscfRestorationNotificationPostRequest struct { + PcscfRestorationNotification *models.PcscfRestorationNotification +} + +func (r *Non3GppRegistrationPcscfRestorationNotificationPostRequest) SetPcscfRestorationNotification(PcscfRestorationNotification models.PcscfRestorationNotification) { + r.PcscfRestorationNotification = &PcscfRestorationNotification +} + +type Non3GppRegistrationPcscfRestorationNotificationPostResponse struct { +} + +type Non3GppRegistrationPcscfRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationForNon3GPPAccessApiService) Non3GppRegistrationPcscfRestorationNotificationPost(ctx context.Context, uri string, request *Non3GppRegistrationPcscfRestorationNotificationPostRequest) (*Non3GppRegistrationPcscfRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppRegistrationPcscfRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcscfRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppRegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// Non3GppRegistrationDataRestorationNotificationPostRequest +type Non3GppRegistrationDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *Non3GppRegistrationDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type Non3GppRegistrationDataRestorationNotificationPostResponse struct { +} + +type Non3GppRegistrationDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *AMFRegistrationForNon3GPPAccessApiService) Non3GppRegistrationDataRestorationNotificationPost(ctx context.Context, uri string, request *Non3GppRegistrationDataRestorationNotificationPostRequest) (*Non3GppRegistrationDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppRegistrationDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEContextManagement/api_ipsmgw_deregistration.go b/udm/UEContextManagement/api_ipsmgw_deregistration.go new file mode 100644 index 00000000..ee2d7417 --- /dev/null +++ b/udm/UEContextManagement/api_ipsmgw_deregistration.go @@ -0,0 +1,149 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IPSMGWDeregistrationApiService service + +/* +IPSMGWDeregistrationApiService Delete the IP-SM-GW registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + +@return IpSmGwDeregistrationResponse +*/ + +// IpSmGwDeregistrationRequest +type IpSmGwDeregistrationRequest struct { + UeId *string +} + +func (r *IpSmGwDeregistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type IpSmGwDeregistrationResponse struct { +} + +type IpSmGwDeregistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IPSMGWDeregistrationApiService) IpSmGwDeregistration(ctx context.Context, request *IpSmGwDeregistrationRequest) (*IpSmGwDeregistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue IpSmGwDeregistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v IpSmGwDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v IpSmGwDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v IpSmGwDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v IpSmGwDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_ipsmgw_registration.go b/udm/UEContextManagement/api_ipsmgw_registration.go new file mode 100644 index 00000000..8f017e0b --- /dev/null +++ b/udm/UEContextManagement/api_ipsmgw_registration.go @@ -0,0 +1,180 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IPSMGWRegistrationApiService service + +/* +IPSMGWRegistrationApiService Register an IP-SM-GW + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param IpSmGwRegistration - + +@return IpSmGwRegistrationResponse +*/ + +// IpSmGwRegistrationRequest +type IpSmGwRegistrationRequest struct { + UeId *string + IpSmGwRegistration *models.IpSmGwRegistration +} + +func (r *IpSmGwRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *IpSmGwRegistrationRequest) SetIpSmGwRegistration(IpSmGwRegistration models.IpSmGwRegistration) { + r.IpSmGwRegistration = &IpSmGwRegistration +} + +type IpSmGwRegistrationResponse struct { + Location string + IpSmGwRegistration models.IpSmGwRegistration +} + +type IpSmGwRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IPSMGWRegistrationApiService) IpSmGwRegistration(ctx context.Context, request *IpSmGwRegistrationRequest) (*IpSmGwRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue IpSmGwRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.IpSmGwRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.IpSmGwRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.IpSmGwRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v IpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v IpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v IpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v IpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v IpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_ipsmgw_registration_info_retrieval.go b/udm/UEContextManagement/api_ipsmgw_registration_info_retrieval.go new file mode 100644 index 00000000..e6fd3b55 --- /dev/null +++ b/udm/UEContextManagement/api_ipsmgw_registration_info_retrieval.go @@ -0,0 +1,162 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IPSMGWRegistrationInfoRetrievalApiService service + +/* +IPSMGWRegistrationInfoRetrievalApiService Retrieve the IP-SM-GW registration information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + +@return GetIpSmGwRegistrationResponse +*/ + +// GetIpSmGwRegistrationRequest +type GetIpSmGwRegistrationRequest struct { + UeId *string +} + +func (r *GetIpSmGwRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type GetIpSmGwRegistrationResponse struct { + IpSmGwRegistration models.IpSmGwRegistration +} + +type GetIpSmGwRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IPSMGWRegistrationInfoRetrievalApiService) GetIpSmGwRegistration(ctx context.Context, request *GetIpSmGwRegistrationRequest) (*GetIpSmGwRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIpSmGwRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IpSmGwRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetIpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetIpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIpSmGwRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_nwdaf_deregistration.go b/udm/UEContextManagement/api_nwdaf_deregistration.go new file mode 100644 index 00000000..ec66a54b --- /dev/null +++ b/udm/UEContextManagement/api_nwdaf_deregistration.go @@ -0,0 +1,155 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFDeregistrationApiService service + +/* +NWDAFDeregistrationApiService delete an NWDAF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param NwdafRegistrationId - NWDAF registration identifier + +@return NwdafDeregistrationResponse +*/ + +// NwdafDeregistrationRequest +type NwdafDeregistrationRequest struct { + UeId *string + NwdafRegistrationId *string +} + +func (r *NwdafDeregistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *NwdafDeregistrationRequest) SetNwdafRegistrationId(NwdafRegistrationId string) { + r.NwdafRegistrationId = &NwdafRegistrationId +} + +type NwdafDeregistrationResponse struct { +} + +type NwdafDeregistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFDeregistrationApiService) NwdafDeregistration(ctx context.Context, request *NwdafDeregistrationRequest) (*NwdafDeregistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NwdafDeregistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/nwdaf-registrations/{nwdafRegistrationId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"nwdafRegistrationId"+"}", openapi.StringOfValue(*request.NwdafRegistrationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v NwdafDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NwdafDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NwdafDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NwdafDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_nwdaf_registration.go b/udm/UEContextManagement/api_nwdaf_registration.go new file mode 100644 index 00000000..c9ef3a59 --- /dev/null +++ b/udm/UEContextManagement/api_nwdaf_registration.go @@ -0,0 +1,184 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFRegistrationApiService service + +/* +NWDAFRegistrationApiService register as NWDAF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param NwdafRegistrationId - NWDAF registration identifier + * @param NwdafRegistration - + +@return NwdafRegistrationResponse +*/ + +// NwdafRegistrationRequest +type NwdafRegistrationRequest struct { + UeId *string + NwdafRegistrationId *string + NwdafRegistration *models.NwdafRegistration +} + +func (r *NwdafRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *NwdafRegistrationRequest) SetNwdafRegistrationId(NwdafRegistrationId string) { + r.NwdafRegistrationId = &NwdafRegistrationId +} +func (r *NwdafRegistrationRequest) SetNwdafRegistration(NwdafRegistration models.NwdafRegistration) { + r.NwdafRegistration = &NwdafRegistration +} + +type NwdafRegistrationResponse struct { + NwdafRegistration models.NwdafRegistration +} + +type NwdafRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFRegistrationApiService) NwdafRegistration(ctx context.Context, request *NwdafRegistrationRequest) (*NwdafRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue NwdafRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/nwdaf-registrations/{nwdafRegistrationId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"nwdafRegistrationId"+"}", openapi.StringOfValue(*request.NwdafRegistrationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NwdafRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.NwdafRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.NwdafRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v NwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v NwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v NwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v NwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v NwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_nwdaf_registration_info_retrieval.go b/udm/UEContextManagement/api_nwdaf_registration_info_retrieval.go new file mode 100644 index 00000000..f3e68cc9 --- /dev/null +++ b/udm/UEContextManagement/api_nwdaf_registration_info_retrieval.go @@ -0,0 +1,179 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NWDAFRegistrationInfoRetrievalApiService service + +/* +NWDAFRegistrationInfoRetrievalApiService retrieve the NWDAF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AnalyticsIds - List of analytics Id(s) provided by the consumers of NWDAF. + * @param SupportedFeatures - Supported Features + +@return GetNwdafRegistrationResponse +*/ + +// GetNwdafRegistrationRequest +type GetNwdafRegistrationRequest struct { + UeId *string + AnalyticsIds []models.EventId + SupportedFeatures *string +} + +func (r *GetNwdafRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetNwdafRegistrationRequest) SetAnalyticsIds(AnalyticsIds []models.EventId) { + r.AnalyticsIds = AnalyticsIds +} +func (r *GetNwdafRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetNwdafRegistrationResponse struct { + NwdafRegistration []models.NwdafRegistration +} + +type GetNwdafRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NWDAFRegistrationInfoRetrievalApiService) GetNwdafRegistration(ctx context.Context, request *GetNwdafRegistrationRequest) (*GetNwdafRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNwdafRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/nwdaf-registrations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.AnalyticsIds != nil { + localVarQueryParams.Add("analytics-ids", openapi.ParameterToString(request.AnalyticsIds, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NwdafRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go b/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go new file mode 100644 index 00000000..90364c95 --- /dev/null +++ b/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for3_gpp_access.go @@ -0,0 +1,188 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService service + +/* +ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService Update a parameter in the AMF registration for 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param Amf3GppAccessRegistrationModification - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return Update3GppRegistrationResponse +*/ + +// Update3GppRegistrationRequest +type Update3GppRegistrationRequest struct { + UeId *string + Amf3GppAccessRegistrationModification *models.Amf3GppAccessRegistrationModification + SupportedFeatures *string +} + +func (r *Update3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Update3GppRegistrationRequest) SetAmf3GppAccessRegistrationModification(Amf3GppAccessRegistrationModification models.Amf3GppAccessRegistrationModification) { + r.Amf3GppAccessRegistrationModification = &Amf3GppAccessRegistrationModification +} +func (r *Update3GppRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Update3GppRegistrationResponse struct { + PatchResult models.PatchResult +} + +type Update3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService) Update3GppRegistration(ctx context.Context, request *Update3GppRegistrationRequest) (*Update3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Update3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Amf3GppAccessRegistrationModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Update3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go b/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go new file mode 100644 index 00000000..ef3f756d --- /dev/null +++ b/udm/UEContextManagement/api_parameter_update_in_the_amf_registration_for_non3_gpp_access.go @@ -0,0 +1,188 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService service + +/* +ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService update a parameter in the AMF registration for non-3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AmfNon3GppAccessRegistrationModification - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateNon3GppRegistrationResponse +*/ + +// UpdateNon3GppRegistrationRequest +type UpdateNon3GppRegistrationRequest struct { + UeId *string + AmfNon3GppAccessRegistrationModification *models.AmfNon3GppAccessRegistrationModification + SupportedFeatures *string +} + +func (r *UpdateNon3GppRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateNon3GppRegistrationRequest) SetAmfNon3GppAccessRegistrationModification(AmfNon3GppAccessRegistrationModification models.AmfNon3GppAccessRegistrationModification) { + r.AmfNon3GppAccessRegistrationModification = &AmfNon3GppAccessRegistrationModification +} +func (r *UpdateNon3GppRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateNon3GppRegistrationResponse struct { + PatchResult models.PatchResult +} + +type UpdateNon3GppRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService) UpdateNon3GppRegistration(ctx context.Context, request *UpdateNon3GppRegistrationRequest) (*UpdateNon3GppRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNon3GppRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfNon3GppAccessRegistrationModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNon3GppRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_parameter_update_in_the_nwdaf_registration.go b/udm/UEContextManagement/api_parameter_update_in_the_nwdaf_registration.go new file mode 100644 index 00000000..4ff17cf3 --- /dev/null +++ b/udm/UEContextManagement/api_parameter_update_in_the_nwdaf_registration.go @@ -0,0 +1,194 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterUpdateInTheNWDAFRegistrationApiService service + +/* +ParameterUpdateInTheNWDAFRegistrationApiService Update a parameter in the NWDAF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param NwdafRegistrationId - NWDAF registration identifier + * @param NwdafRegistrationModification - + * @param SupportedFeatures - Supported Features + +@return UpdateNwdafRegistrationResponse +*/ + +// UpdateNwdafRegistrationRequest +type UpdateNwdafRegistrationRequest struct { + UeId *string + NwdafRegistrationId *string + NwdafRegistrationModification *models.NwdafRegistrationModification + SupportedFeatures *string +} + +func (r *UpdateNwdafRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateNwdafRegistrationRequest) SetNwdafRegistrationId(NwdafRegistrationId string) { + r.NwdafRegistrationId = &NwdafRegistrationId +} +func (r *UpdateNwdafRegistrationRequest) SetNwdafRegistrationModification(NwdafRegistrationModification models.NwdafRegistrationModification) { + r.NwdafRegistrationModification = &NwdafRegistrationModification +} +func (r *UpdateNwdafRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateNwdafRegistrationResponse struct { + UpdateNwdafRegistrationResponse200 models.UpdateNwdafRegistrationResponse200 +} + +type UpdateNwdafRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterUpdateInTheNWDAFRegistrationApiService) UpdateNwdafRegistration(ctx context.Context, request *UpdateNwdafRegistrationRequest) (*UpdateNwdafRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNwdafRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/nwdaf-registrations/{nwdafRegistrationId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"nwdafRegistrationId"+"}", openapi.StringOfValue(*request.NwdafRegistrationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NwdafRegistrationModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UpdateNwdafRegistrationResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNwdafRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_parameter_update_in_the_smf_registration.go b/udm/UEContextManagement/api_parameter_update_in_the_smf_registration.go new file mode 100644 index 00000000..66dba9a6 --- /dev/null +++ b/udm/UEContextManagement/api_parameter_update_in_the_smf_registration.go @@ -0,0 +1,186 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterUpdateInTheSMFRegistrationApiService service + +/* +ParameterUpdateInTheSMFRegistrationApiService update a parameter in the SMF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PduSessionId - Identifier of the PDU session + * @param SmfRegistrationModification - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateSmfRegistrationResponse +*/ + +// UpdateSmfRegistrationRequest +type UpdateSmfRegistrationRequest struct { + UeId *string + PduSessionId *int32 + SmfRegistrationModification *models.SmfRegistrationModification + SupportedFeatures *string +} + +func (r *UpdateSmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateSmfRegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *UpdateSmfRegistrationRequest) SetSmfRegistrationModification(SmfRegistrationModification models.SmfRegistrationModification) { + r.SmfRegistrationModification = &SmfRegistrationModification +} +func (r *UpdateSmfRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateSmfRegistrationResponse struct { + PatchResult models.PatchResult +} + +type UpdateSmfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterUpdateInTheSMFRegistrationApiService) UpdateSmfRegistration(ctx context.Context, request *UpdateSmfRegistrationRequest) (*UpdateSmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfRegistrationModification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v UpdateSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_pei_update.go b/udm/UEContextManagement/api_pei_update.go new file mode 100644 index 00000000..3656719e --- /dev/null +++ b/udm/UEContextManagement/api_pei_update.go @@ -0,0 +1,165 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PEIUpdateApiService service + +/* +PEIUpdateApiService Updates the PEI in the 3GPP access registration context + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PeiUpdateInfo - + +@return PeiUpdateResponse +*/ + +// PeiUpdateRequest +type PeiUpdateRequest struct { + UeId *string + PeiUpdateInfo *models.PeiUpdateInfo +} + +func (r *PeiUpdateRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *PeiUpdateRequest) SetPeiUpdateInfo(PeiUpdateInfo models.PeiUpdateInfo) { + r.PeiUpdateInfo = &PeiUpdateInfo +} + +type PeiUpdateResponse struct { +} + +type PeiUpdateError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PEIUpdateApiService) PeiUpdate(ctx context.Context, request *PeiUpdateRequest) (*PeiUpdateResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PeiUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access/pei-update" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PeiUpdateInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v PeiUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PeiUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PeiUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PeiUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PeiUpdateError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_retrieve_smf_registration.go b/udm/UEContextManagement/api_retrieve_smf_registration.go new file mode 100644 index 00000000..931fda7e --- /dev/null +++ b/udm/UEContextManagement/api_retrieve_smf_registration.go @@ -0,0 +1,168 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrieveSMFRegistrationApiService service + +/* +RetrieveSMFRegistrationApiService get an SMF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PduSessionId - Identifier of the PDU session + +@return RetrieveSmfRegistrationResponse +*/ + +// RetrieveSmfRegistrationRequest +type RetrieveSmfRegistrationRequest struct { + UeId *string + PduSessionId *int32 +} + +func (r *RetrieveSmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RetrieveSmfRegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} + +type RetrieveSmfRegistrationResponse struct { + SmfRegistration models.SmfRegistration +} + +type RetrieveSmfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrieveSMFRegistrationApiService) RetrieveSmfRegistration(ctx context.Context, request *RetrieveSmfRegistrationRequest) (*RetrieveSmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RetrieveSmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v RetrieveSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RetrieveSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RetrieveSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RetrieveSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RetrieveSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_roaming_information_update.go b/udm/UEContextManagement/api_roaming_information_update.go new file mode 100644 index 00000000..87e3894a --- /dev/null +++ b/udm/UEContextManagement/api_roaming_information_update.go @@ -0,0 +1,174 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RoamingInformationUpdateApiService service + +/* +RoamingInformationUpdateApiService Update the Roaming Information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param RoamingInfoUpdate - + +@return UpdateRoamingInformationResponse +*/ + +// UpdateRoamingInformationRequest +type UpdateRoamingInformationRequest struct { + UeId *string + RoamingInfoUpdate *models.RoamingInfoUpdate +} + +func (r *UpdateRoamingInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateRoamingInformationRequest) SetRoamingInfoUpdate(RoamingInfoUpdate models.RoamingInfoUpdate) { + r.RoamingInfoUpdate = &RoamingInfoUpdate +} + +type UpdateRoamingInformationResponse struct { + Location string + RoamingInfoUpdate models.RoamingInfoUpdate +} + +type UpdateRoamingInformationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RoamingInformationUpdateApiService) UpdateRoamingInformation(ctx context.Context, request *UpdateRoamingInformationRequest) (*UpdateRoamingInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateRoamingInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access/roaming-info-update" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RoamingInfoUpdate + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.RoamingInfoUpdate, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateRoamingInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateRoamingInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateRoamingInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateRoamingInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateRoamingInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_send_routing_info_sm_custom_operation.go b/udm/UEContextManagement/api_send_routing_info_sm_custom_operation.go new file mode 100644 index 00000000..44b59271 --- /dev/null +++ b/udm/UEContextManagement/api_send_routing_info_sm_custom_operation.go @@ -0,0 +1,170 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SendRoutingInfoSMCustomOperationApiService service + +/* +SendRoutingInfoSMCustomOperationApiService Retreive addressing information for SMS delivery + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param RoutingInfoSmRequest - + +@return SendRoutingInfoSmResponse +*/ + +// SendRoutingInfoSmRequest +type SendRoutingInfoSmRequest struct { + UeId *string + RoutingInfoSmRequest *models.RoutingInfoSmRequest +} + +func (r *SendRoutingInfoSmRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *SendRoutingInfoSmRequest) SetRoutingInfoSmRequest(RoutingInfoSmRequest models.RoutingInfoSmRequest) { + r.RoutingInfoSmRequest = &RoutingInfoSmRequest +} + +type SendRoutingInfoSmResponse struct { + RoutingInfoSmResponse models.RoutingInfoSmResponse +} + +type SendRoutingInfoSmError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SendRoutingInfoSMCustomOperationApiService) SendRoutingInfoSm(ctx context.Context, request *SendRoutingInfoSmRequest) (*SendRoutingInfoSmResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SendRoutingInfoSmResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/send-routing-info-sm" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RoutingInfoSmRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RoutingInfoSmResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v SendRoutingInfoSmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SendRoutingInfoSmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SendRoutingInfoSmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SendRoutingInfoSmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SendRoutingInfoSmError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smf_deregistration.go b/udm/UEContextManagement/api_smf_deregistration.go new file mode 100644 index 00000000..14159bf3 --- /dev/null +++ b/udm/UEContextManagement/api_smf_deregistration.go @@ -0,0 +1,180 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFDeregistrationApiService service + +/* +SMFDeregistrationApiService delete an SMF registration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PduSessionId - Identifier of the PDU session + * @param SmfSetId - + * @param SmfInstanceId - + +@return SmfDeregistrationResponse +*/ + +// SmfDeregistrationRequest +type SmfDeregistrationRequest struct { + UeId *string + PduSessionId *int32 + SmfSetId *string + SmfInstanceId *string +} + +func (r *SmfDeregistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *SmfDeregistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *SmfDeregistrationRequest) SetSmfSetId(SmfSetId string) { + r.SmfSetId = &SmfSetId +} +func (r *SmfDeregistrationRequest) SetSmfInstanceId(SmfInstanceId string) { + r.SmfInstanceId = &SmfInstanceId +} + +type SmfDeregistrationResponse struct { +} + +type SmfDeregistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFDeregistrationApiService) SmfDeregistration(ctx context.Context, request *SmfDeregistrationRequest) (*SmfDeregistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SmfDeregistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SmfSetId != nil { + localVarQueryParams.Add("smf-set-id", openapi.ParameterToString(request.SmfSetId, "multi")) + } + if request.SmfInstanceId != nil { + localVarQueryParams.Add("smf-instance-id", openapi.ParameterToString(request.SmfInstanceId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v SmfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SmfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v SmfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SmfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SmfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smf_smf_registration.go b/udm/UEContextManagement/api_smf_smf_registration.go new file mode 100644 index 00000000..af850b69 --- /dev/null +++ b/udm/UEContextManagement/api_smf_smf_registration.go @@ -0,0 +1,759 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFSmfRegistrationApiService service + +/* +SMFSmfRegistrationApiService retrieve the SMF registration information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SingleNssai - + * @param Dnn - + * @param SupportedFeatures - + +@return GetSmfRegistrationResponse +*/ + +// GetSmfRegistrationRequest +type GetSmfRegistrationRequest struct { + UeId *string + SingleNssai *models.Snssai + Dnn *string + SupportedFeatures *string +} + +func (r *GetSmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetSmfRegistrationRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *GetSmfRegistrationRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *GetSmfRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetSmfRegistrationResponse struct { + SmfRegistrationInfo models.SmfRegistrationInfo +} + +type GetSmfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFSmfRegistrationApiService) GetSmfRegistration(ctx context.Context, request *GetSmfRegistrationRequest) (*GetSmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SingleNssai != nil { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistrationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSmfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SMFSmfRegistrationApiService register as SMF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param PduSessionId - Identifier of the PDU session + * @param SmfRegistration - + +@return RegistrationResponse +*/ + +// RegistrationRequest +type RegistrationRequest struct { + UeId *string + PduSessionId *int32 + SmfRegistration *models.SmfRegistration +} + +func (r *RegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *RegistrationRequest) SetSmfRegistration(SmfRegistration models.SmfRegistration) { + r.SmfRegistration = &SmfRegistration +} + +type RegistrationResponse struct { + Location string + SmfRegistration models.SmfRegistration +} + +type RegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFSmfRegistrationApiService) Registration(ctx context.Context, request *RegistrationRequest) (*RegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v RegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v RegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// RegistrationDeregistrationNotificationPostRequest +type RegistrationDeregistrationNotificationPostRequest struct { + UdmUecmDeregistrationData *models.UdmUecmDeregistrationData +} + +func (r *RegistrationDeregistrationNotificationPostRequest) SetUdmUecmDeregistrationData(UdmUecmDeregistrationData models.UdmUecmDeregistrationData) { + r.UdmUecmDeregistrationData = &UdmUecmDeregistrationData +} + +type RegistrationDeregistrationNotificationPostResponse struct { +} + +type RegistrationDeregistrationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMFSmfRegistrationApiService) RegistrationDeregistrationNotificationPost(ctx context.Context, uri string, request *RegistrationDeregistrationNotificationPostRequest) (*RegistrationDeregistrationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegistrationDeregistrationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDeregistrationData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegistrationDeregistrationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// RegistrationPcscfRestorationNotificationPostRequest +type RegistrationPcscfRestorationNotificationPostRequest struct { + PcscfRestorationNotification *models.PcscfRestorationNotification +} + +func (r *RegistrationPcscfRestorationNotificationPostRequest) SetPcscfRestorationNotification(PcscfRestorationNotification models.PcscfRestorationNotification) { + r.PcscfRestorationNotification = &PcscfRestorationNotification +} + +type RegistrationPcscfRestorationNotificationPostResponse struct { +} + +type RegistrationPcscfRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMFSmfRegistrationApiService) RegistrationPcscfRestorationNotificationPost(ctx context.Context, uri string, request *RegistrationPcscfRestorationNotificationPostRequest) (*RegistrationPcscfRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegistrationPcscfRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcscfRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegistrationPcscfRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// RegistrationDataRestorationNotificationPostRequest +type RegistrationDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *RegistrationDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type RegistrationDataRestorationNotificationPostResponse struct { +} + +type RegistrationDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMFSmfRegistrationApiService) RegistrationDataRestorationNotificationPost(ctx context.Context, uri string, request *RegistrationDataRestorationNotificationPostRequest) (*RegistrationDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RegistrationDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v RegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go b/udm/UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go new file mode 100644 index 00000000..960e11a8 --- /dev/null +++ b/udm/UEContextManagement/api_smsf3_gpp_access_registration_info_retrieval.go @@ -0,0 +1,171 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSF3GPPAccessRegistrationInfoRetrievalApiService service + +/* +SMSF3GPPAccessRegistrationInfoRetrievalApiService retrieve the SMSF registration for 3GPP access information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - + +@return Get3GppSmsfRegistrationResponse +*/ + +// Get3GppSmsfRegistrationRequest +type Get3GppSmsfRegistrationRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *Get3GppSmsfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Get3GppSmsfRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Get3GppSmsfRegistrationResponse struct { + SmsfRegistration models.SmsfRegistration +} + +type Get3GppSmsfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSF3GPPAccessRegistrationInfoRetrievalApiService) Get3GppSmsfRegistration(ctx context.Context, request *Get3GppSmsfRegistrationRequest) (*Get3GppSmsfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Get3GppSmsfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Get3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Get3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Get3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Get3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Get3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smsf_deregistration_for3_gpp_access.go b/udm/UEContextManagement/api_smsf_deregistration_for3_gpp_access.go new file mode 100644 index 00000000..e3a345d4 --- /dev/null +++ b/udm/UEContextManagement/api_smsf_deregistration_for3_gpp_access.go @@ -0,0 +1,175 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFDeregistrationFor3GPPAccessApiService service + +/* +SMSFDeregistrationFor3GPPAccessApiService delete the SMSF registration for 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SmsfSetId - + * @param IfMatch - Validator for conditional requests, as described in IETF RFC 7232, 3.1 + +@return Call3GppSmsfDeregistrationResponse +*/ + +// Call3GppSmsfDeregistrationRequest +type Call3GppSmsfDeregistrationRequest struct { + UeId *string + SmsfSetId *string + IfMatch *string +} + +func (r *Call3GppSmsfDeregistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Call3GppSmsfDeregistrationRequest) SetSmsfSetId(SmsfSetId string) { + r.SmsfSetId = &SmsfSetId +} +func (r *Call3GppSmsfDeregistrationRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} + +type Call3GppSmsfDeregistrationResponse struct { +} + +type Call3GppSmsfDeregistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSFDeregistrationFor3GPPAccessApiService) Call3GppSmsfDeregistration(ctx context.Context, request *Call3GppSmsfDeregistrationRequest) (*Call3GppSmsfDeregistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppSmsfDeregistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SmsfSetId != nil { + localVarQueryParams.Add("smsf-set-id", openapi.ParameterToString(request.SmsfSetId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v Call3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v Call3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go b/udm/UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go new file mode 100644 index 00000000..3a409a20 --- /dev/null +++ b/udm/UEContextManagement/api_smsf_deregistration_for_non3_gpp_access.go @@ -0,0 +1,175 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFDeregistrationForNon3GPPAccessApiService service + +/* +SMSFDeregistrationForNon3GPPAccessApiService delete SMSF registration for non 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SmsfSetId - + * @param IfMatch - Validator for conditional requests, as described in IETF RFC 7232, 3.1 + +@return Non3GppSmsfDeregistrationResponse +*/ + +// Non3GppSmsfDeregistrationRequest +type Non3GppSmsfDeregistrationRequest struct { + UeId *string + SmsfSetId *string + IfMatch *string +} + +func (r *Non3GppSmsfDeregistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Non3GppSmsfDeregistrationRequest) SetSmsfSetId(SmsfSetId string) { + r.SmsfSetId = &SmsfSetId +} +func (r *Non3GppSmsfDeregistrationRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} + +type Non3GppSmsfDeregistrationResponse struct { +} + +type Non3GppSmsfDeregistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSFDeregistrationForNon3GPPAccessApiService) Non3GppSmsfDeregistration(ctx context.Context, request *Non3GppSmsfDeregistrationRequest) (*Non3GppSmsfDeregistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppSmsfDeregistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SmsfSetId != nil { + localVarQueryParams.Add("smsf-set-id", openapi.ParameterToString(request.SmsfSetId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v Non3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 422: + var v Non3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppSmsfDeregistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go b/udm/UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go new file mode 100644 index 00000000..46081d36 --- /dev/null +++ b/udm/UEContextManagement/api_smsf_non3_gpp_access_registration_info_retrieval.go @@ -0,0 +1,171 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFNon3GPPAccessRegistrationInfoRetrievalApiService service + +/* +SMSFNon3GPPAccessRegistrationInfoRetrievalApiService retrieve the SMSF registration for non-3GPP access information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - + +@return GetNon3GppSmsfRegistrationResponse +*/ + +// GetNon3GppSmsfRegistrationRequest +type GetNon3GppSmsfRegistrationRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *GetNon3GppSmsfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetNon3GppSmsfRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetNon3GppSmsfRegistrationResponse struct { + SmsfRegistration models.SmsfRegistration +} + +type GetNon3GppSmsfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSFNon3GPPAccessRegistrationInfoRetrievalApiService) GetNon3GppSmsfRegistration(ctx context.Context, request *GetNon3GppSmsfRegistrationRequest) (*GetNon3GppSmsfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNon3GppSmsfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetNon3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNon3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNon3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNon3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNon3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_smsf_registration_for3_gpp_access.go b/udm/UEContextManagement/api_smsf_registration_for3_gpp_access.go new file mode 100644 index 00000000..14b4250f --- /dev/null +++ b/udm/UEContextManagement/api_smsf_registration_for3_gpp_access.go @@ -0,0 +1,327 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFRegistrationFor3GPPAccessApiService service + +/* +SMSFRegistrationFor3GPPAccessApiService register as SMSF for 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SmsfRegistration - + +@return Call3GppSmsfRegistrationResponse +*/ + +// Call3GppSmsfRegistrationRequest +type Call3GppSmsfRegistrationRequest struct { + UeId *string + SmsfRegistration *models.SmsfRegistration +} + +func (r *Call3GppSmsfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Call3GppSmsfRegistrationRequest) SetSmsfRegistration(SmsfRegistration models.SmsfRegistration) { + r.SmsfRegistration = &SmsfRegistration +} + +type Call3GppSmsfRegistrationResponse struct { + ETag string + Location string + SmsfRegistration models.SmsfRegistration +} + +type Call3GppSmsfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSFRegistrationFor3GPPAccessApiService) Call3GppSmsfRegistration(ctx context.Context, request *Call3GppSmsfRegistrationRequest) (*Call3GppSmsfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppSmsfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmsfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v Call3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Call3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// Call3GppSmsfRegistrationDataRestorationNotificationPostRequest +type Call3GppSmsfRegistrationDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *Call3GppSmsfRegistrationDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type Call3GppSmsfRegistrationDataRestorationNotificationPostResponse struct { +} + +type Call3GppSmsfRegistrationDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMSFRegistrationFor3GPPAccessApiService) Call3GppSmsfRegistrationDataRestorationNotificationPost(ctx context.Context, uri string, request *Call3GppSmsfRegistrationDataRestorationNotificationPostRequest) (*Call3GppSmsfRegistrationDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Call3GppSmsfRegistrationDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Call3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEContextManagement/api_smsf_registration_for_non3_gpp_access.go b/udm/UEContextManagement/api_smsf_registration_for_non3_gpp_access.go new file mode 100644 index 00000000..1b86850c --- /dev/null +++ b/udm/UEContextManagement/api_smsf_registration_for_non3_gpp_access.go @@ -0,0 +1,327 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFRegistrationForNon3GPPAccessApiService service + +/* +SMSFRegistrationForNon3GPPAccessApiService register as SMSF for non-3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SmsfRegistration - + +@return Non3GppSmsfRegistrationResponse +*/ + +// Non3GppSmsfRegistrationRequest +type Non3GppSmsfRegistrationRequest struct { + UeId *string + SmsfRegistration *models.SmsfRegistration +} + +func (r *Non3GppSmsfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Non3GppSmsfRegistrationRequest) SetSmsfRegistration(SmsfRegistration models.SmsfRegistration) { + r.SmsfRegistration = &SmsfRegistration +} + +type Non3GppSmsfRegistrationResponse struct { + ETag string + Location string + SmsfRegistration models.SmsfRegistration +} + +type Non3GppSmsfRegistrationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMSFRegistrationForNon3GPPAccessApiService) Non3GppSmsfRegistration(ctx context.Context, request *Non3GppSmsfRegistrationRequest) (*Non3GppSmsfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppSmsfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmsfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v Non3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Non3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppSmsfRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// Non3GppSmsfRegistrationDataRestorationNotificationPostRequest +type Non3GppSmsfRegistrationDataRestorationNotificationPostRequest struct { + UdmUecmDataRestorationNotification *models.UdmUecmDataRestorationNotification +} + +func (r *Non3GppSmsfRegistrationDataRestorationNotificationPostRequest) SetUdmUecmDataRestorationNotification(UdmUecmDataRestorationNotification models.UdmUecmDataRestorationNotification) { + r.UdmUecmDataRestorationNotification = &UdmUecmDataRestorationNotification +} + +type Non3GppSmsfRegistrationDataRestorationNotificationPostResponse struct { +} + +type Non3GppSmsfRegistrationDataRestorationNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SMSFRegistrationForNon3GPPAccessApiService) Non3GppSmsfRegistrationDataRestorationNotificationPost(ctx context.Context, uri string, request *Non3GppSmsfRegistrationDataRestorationNotificationPostRequest) (*Non3GppSmsfRegistrationDataRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Non3GppSmsfRegistrationDataRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdmUecmDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Non3GppSmsfRegistrationDataRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udm/UEContextManagement/api_trigger_amf_for3_gpp_access_deregistration.go b/udm/UEContextManagement/api_trigger_amf_for3_gpp_access_deregistration.go new file mode 100644 index 00000000..b96f75da --- /dev/null +++ b/udm/UEContextManagement/api_trigger_amf_for3_gpp_access_deregistration.go @@ -0,0 +1,165 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TriggerAMFFor3GPPAccessDeregistrationApiService service + +/* +TriggerAMFFor3GPPAccessDeregistrationApiService trigger AMF for 3GPP access deregistration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param AmfDeregInfo - + +@return DeregAMFResponse +*/ + +// DeregAMFRequest +type DeregAMFRequest struct { + UeId *string + AmfDeregInfo *models.AmfDeregInfo +} + +func (r *DeregAMFRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *DeregAMFRequest) SetAmfDeregInfo(AmfDeregInfo models.AmfDeregInfo) { + r.AmfDeregInfo = &AmfDeregInfo +} + +type DeregAMFResponse struct { +} + +type DeregAMFError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TriggerAMFFor3GPPAccessDeregistrationApiService) DeregAMF(ctx context.Context, request *DeregAMFRequest) (*DeregAMFResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeregAMFResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/amf-3gpp-access/dereg-amf" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfDeregInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeregAMFError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeregAMFError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeregAMFError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeregAMFError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeregAMFError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_trigger_pcscf_restoration.go b/udm/UEContextManagement/api_trigger_pcscf_restoration.go new file mode 100644 index 00000000..5cc168a0 --- /dev/null +++ b/udm/UEContextManagement/api_trigger_pcscf_restoration.go @@ -0,0 +1,167 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TriggerPCSCFRestorationApiService service + +/* +TriggerPCSCFRestorationApiService Trigger the Restoration of the P-CSCF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param TriggerRequest - + +@return TriggerPCSCFRestorationResponse +*/ + +// TriggerPCSCFRestorationRequest +type TriggerPCSCFRestorationRequest struct { + TriggerRequest *models.TriggerRequest +} + +func (r *TriggerPCSCFRestorationRequest) SetTriggerRequest(TriggerRequest models.TriggerRequest) { + r.TriggerRequest = &TriggerRequest +} + +type TriggerPCSCFRestorationResponse struct { +} + +type TriggerPCSCFRestorationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TriggerPCSCFRestorationApiService) TriggerPCSCFRestoration(ctx context.Context, request *TriggerPCSCFRestorationRequest) (*TriggerPCSCFRestorationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TriggerPCSCFRestorationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/restore-pcscf" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TriggerRequest + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v TriggerPCSCFRestorationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_ue_location_information_retrieval.go b/udm/UEContextManagement/api_ue_location_information_retrieval.go new file mode 100644 index 00000000..b51a17da --- /dev/null +++ b/udm/UEContextManagement/api_ue_location_information_retrieval.go @@ -0,0 +1,171 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UELocationInformationRetrievalApiService service + +/* +UELocationInformationRetrievalApiService retrieve the target UE's location information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - + +@return GetLocationInfoResponse +*/ + +// GetLocationInfoRequest +type GetLocationInfoRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *GetLocationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetLocationInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetLocationInfoResponse struct { + UdmUecmLocationInfo models.UdmUecmLocationInfo +} + +type GetLocationInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UELocationInformationRetrievalApiService) GetLocationInfo(ctx context.Context, request *GetLocationInfoRequest) (*GetLocationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetLocationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations/location" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmUecmLocationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetLocationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/api_uecm_registration_info_retrieval.go b/udm/UEContextManagement/api_uecm_registration_info_retrieval.go new file mode 100644 index 00000000..0ba22e96 --- /dev/null +++ b/udm/UEContextManagement/api_uecm_registration_info_retrieval.go @@ -0,0 +1,200 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UECMRegistrationInfoRetrievalApiService service + +/* +UECMRegistrationInfoRetrievalApiService retrieve UE registration data sets + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param RegistrationDatasetNames - List of UECM registration dataset names + * @param SupportedFeatures - + * @param SingleNssai - + * @param Dnn - + +@return GetRegistrationsResponse +*/ + +// GetRegistrationsRequest +type GetRegistrationsRequest struct { + UeId *string + RegistrationDatasetNames []models.RegistrationDataSetName + SupportedFeatures *string + SingleNssai *models.Snssai + Dnn *string +} + +func (r *GetRegistrationsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetRegistrationsRequest) SetRegistrationDatasetNames(RegistrationDatasetNames []models.RegistrationDataSetName) { + r.RegistrationDatasetNames = RegistrationDatasetNames +} +func (r *GetRegistrationsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetRegistrationsRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *GetRegistrationsRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} + +type GetRegistrationsResponse struct { + RegistrationDataSets models.RegistrationDataSets +} + +type GetRegistrationsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UECMRegistrationInfoRetrievalApiService) GetRegistrations(ctx context.Context, request *GetRegistrationsRequest) (*GetRegistrationsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetRegistrationsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{ueId}/registrations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.RegistrationDatasetNames == nil { + return nil, openapi.ReportError("RegistrationDatasetNames must be non nil") + } else { + if len(request.RegistrationDatasetNames) < 2 { + return &localVarReturnValue, openapi.ReportError("RegistrationDatasetNames must have at least 2 elements") + } + localVarQueryParams.Add("registration-dataset-names", openapi.ParameterToString(request.RegistrationDatasetNames, "csv")) + } + if request.SingleNssai != nil { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RegistrationDataSets, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetRegistrationsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetRegistrationsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetRegistrationsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetRegistrationsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetRegistrationsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEContextManagement/client.go b/udm/UEContextManagement/client.go new file mode 100644 index 00000000..cbac6f2f --- /dev/null +++ b/udm/UEContextManagement/client.go @@ -0,0 +1,98 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +// APIClient manages communication with the Nudm_UECM API v1.2.5 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AMF3GppAccessRegistrationInfoRetrievalApi *AMF3GppAccessRegistrationInfoRetrievalApiService + AMFNon3GPPAccessRegistrationInfoRetrievalApi *AMFNon3GPPAccessRegistrationInfoRetrievalApiService + AMFRegistrationFor3GPPAccessApi *AMFRegistrationFor3GPPAccessApiService + AMFRegistrationForNon3GPPAccessApi *AMFRegistrationForNon3GPPAccessApiService + IPSMGWDeregistrationApi *IPSMGWDeregistrationApiService + IPSMGWRegistrationApi *IPSMGWRegistrationApiService + IPSMGWRegistrationInfoRetrievalApi *IPSMGWRegistrationInfoRetrievalApiService + NWDAFDeregistrationApi *NWDAFDeregistrationApiService + NWDAFRegistrationApi *NWDAFRegistrationApiService + NWDAFRegistrationInfoRetrievalApi *NWDAFRegistrationInfoRetrievalApiService + PEIUpdateApi *PEIUpdateApiService + ParameterUpdateInTheAMFRegistrationFor3GPPAccessApi *ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService + ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApi *ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService + ParameterUpdateInTheNWDAFRegistrationApi *ParameterUpdateInTheNWDAFRegistrationApiService + ParameterUpdateInTheSMFRegistrationApi *ParameterUpdateInTheSMFRegistrationApiService + RetrieveSMFRegistrationApi *RetrieveSMFRegistrationApiService + RoamingInformationUpdateApi *RoamingInformationUpdateApiService + SMFDeregistrationApi *SMFDeregistrationApiService + SMFSmfRegistrationApi *SMFSmfRegistrationApiService + SMSF3GPPAccessRegistrationInfoRetrievalApi *SMSF3GPPAccessRegistrationInfoRetrievalApiService + SMSFDeregistrationFor3GPPAccessApi *SMSFDeregistrationFor3GPPAccessApiService + SMSFDeregistrationForNon3GPPAccessApi *SMSFDeregistrationForNon3GPPAccessApiService + SMSFNon3GPPAccessRegistrationInfoRetrievalApi *SMSFNon3GPPAccessRegistrationInfoRetrievalApiService + SMSFRegistrationFor3GPPAccessApi *SMSFRegistrationFor3GPPAccessApiService + SMSFRegistrationForNon3GPPAccessApi *SMSFRegistrationForNon3GPPAccessApiService + SendRoutingInfoSMCustomOperationApi *SendRoutingInfoSMCustomOperationApiService + TriggerAMFFor3GPPAccessDeregistrationApi *TriggerAMFFor3GPPAccessDeregistrationApiService + TriggerPCSCFRestorationApi *TriggerPCSCFRestorationApiService + UECMRegistrationInfoRetrievalApi *UECMRegistrationInfoRetrievalApiService + UELocationInformationRetrievalApi *UELocationInformationRetrievalApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AMF3GppAccessRegistrationInfoRetrievalApi = (*AMF3GppAccessRegistrationInfoRetrievalApiService)(&c.common) + c.AMFNon3GPPAccessRegistrationInfoRetrievalApi = (*AMFNon3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) + c.AMFRegistrationFor3GPPAccessApi = (*AMFRegistrationFor3GPPAccessApiService)(&c.common) + c.AMFRegistrationForNon3GPPAccessApi = (*AMFRegistrationForNon3GPPAccessApiService)(&c.common) + c.IPSMGWDeregistrationApi = (*IPSMGWDeregistrationApiService)(&c.common) + c.IPSMGWRegistrationApi = (*IPSMGWRegistrationApiService)(&c.common) + c.IPSMGWRegistrationInfoRetrievalApi = (*IPSMGWRegistrationInfoRetrievalApiService)(&c.common) + c.NWDAFDeregistrationApi = (*NWDAFDeregistrationApiService)(&c.common) + c.NWDAFRegistrationApi = (*NWDAFRegistrationApiService)(&c.common) + c.NWDAFRegistrationInfoRetrievalApi = (*NWDAFRegistrationInfoRetrievalApiService)(&c.common) + c.PEIUpdateApi = (*PEIUpdateApiService)(&c.common) + c.ParameterUpdateInTheAMFRegistrationFor3GPPAccessApi = (*ParameterUpdateInTheAMFRegistrationFor3GPPAccessApiService)(&c.common) + c.ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApi = (*ParameterUpdateInTheAMFRegistrationForNon3GPPAccessApiService)(&c.common) + c.ParameterUpdateInTheNWDAFRegistrationApi = (*ParameterUpdateInTheNWDAFRegistrationApiService)(&c.common) + c.ParameterUpdateInTheSMFRegistrationApi = (*ParameterUpdateInTheSMFRegistrationApiService)(&c.common) + c.RetrieveSMFRegistrationApi = (*RetrieveSMFRegistrationApiService)(&c.common) + c.RoamingInformationUpdateApi = (*RoamingInformationUpdateApiService)(&c.common) + c.SMFDeregistrationApi = (*SMFDeregistrationApiService)(&c.common) + c.SMFSmfRegistrationApi = (*SMFSmfRegistrationApiService)(&c.common) + c.SMSF3GPPAccessRegistrationInfoRetrievalApi = (*SMSF3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) + c.SMSFDeregistrationFor3GPPAccessApi = (*SMSFDeregistrationFor3GPPAccessApiService)(&c.common) + c.SMSFDeregistrationForNon3GPPAccessApi = (*SMSFDeregistrationForNon3GPPAccessApiService)(&c.common) + c.SMSFNon3GPPAccessRegistrationInfoRetrievalApi = (*SMSFNon3GPPAccessRegistrationInfoRetrievalApiService)(&c.common) + c.SMSFRegistrationFor3GPPAccessApi = (*SMSFRegistrationFor3GPPAccessApiService)(&c.common) + c.SMSFRegistrationForNon3GPPAccessApi = (*SMSFRegistrationForNon3GPPAccessApiService)(&c.common) + c.SendRoutingInfoSMCustomOperationApi = (*SendRoutingInfoSMCustomOperationApiService)(&c.common) + c.TriggerAMFFor3GPPAccessDeregistrationApi = (*TriggerAMFFor3GPPAccessDeregistrationApiService)(&c.common) + c.TriggerPCSCFRestorationApi = (*TriggerPCSCFRestorationApiService)(&c.common) + c.UECMRegistrationInfoRetrievalApi = (*UECMRegistrationInfoRetrievalApiService)(&c.common) + c.UELocationInformationRetrievalApi = (*UELocationInformationRetrievalApiService)(&c.common) + + return c +} diff --git a/udm/UEContextManagement/configuration.go b/udm/UEContextManagement/configuration.go new file mode 100644 index 00000000..99ee19a2 --- /dev/null +++ b/udm/UEContextManagement/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_UECM + * + * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.2.5 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEContextManagement + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-uecm/v1", + url: "{apiRoot}/nudm-uecm/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udm/UEID/api_deconceal.go b/udm/UEID/api_deconceal.go new file mode 100644 index 00000000..c26df26f --- /dev/null +++ b/udm/UEID/api_deconceal.go @@ -0,0 +1,172 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEID + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type DeconcealApiService service + +/* +DeconcealApiService Deconceal the SUCI to the SUPI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param DeconcealReqData - + +@return DeconcealResponse +*/ + +// DeconcealRequest +type DeconcealRequest struct { + DeconcealReqData *models.DeconcealReqData +} + +func (r *DeconcealRequest) SetDeconcealReqData(DeconcealReqData models.DeconcealReqData) { + r.DeconcealReqData = &DeconcealReqData +} + +type DeconcealResponse struct { + DeconcealRspData models.DeconcealRspData +} + +type DeconcealError struct { + ProblemDetails models.ProblemDetails +} + +func (a *DeconcealApiService) Deconceal(ctx context.Context, request *DeconcealRequest) (*DeconcealResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeconcealResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/deconceal" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DeconcealReqData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.DeconcealRspData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeconcealError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udm/UEID/client.go b/udm/UEID/client.go new file mode 100644 index 00000000..5585399e --- /dev/null +++ b/udm/UEID/client.go @@ -0,0 +1,40 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEID + +// APIClient manages communication with the Nudm_UEIdentifier API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + DeconcealApi *DeconcealApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DeconcealApi = (*DeconcealApiService)(&c.common) + + return c +} diff --git a/udm/UEID/configuration.go b/udm/UEID/configuration.go new file mode 100644 index 00000000..ade1b354 --- /dev/null +++ b/udm/UEID/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudm_UEIdentifier + * + * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package UEID + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudm-ueid/v1", + url: "{apiRoot}/nudm-ueid/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udr/DataRepository/api_access_and_mobility_data.go b/udr/DataRepository/api_access_and_mobility_data.go new file mode 100644 index 00000000..9d082590 --- /dev/null +++ b/udr/DataRepository/api_access_and_mobility_data.go @@ -0,0 +1,705 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AccessAndMobilityDataApiService service + +/* +AccessAndMobilityDataApiService Creates and updates the access and mobility exposure data for a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param AccessAndMobilityData - + +@return CreateOrReplaceAccessAndMobilityDataResponse +*/ + +// CreateOrReplaceAccessAndMobilityDataRequest +type CreateOrReplaceAccessAndMobilityDataRequest struct { + UeId *string + AccessAndMobilityData *models.AccessAndMobilityData +} + +func (r *CreateOrReplaceAccessAndMobilityDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrReplaceAccessAndMobilityDataRequest) SetAccessAndMobilityData(AccessAndMobilityData models.AccessAndMobilityData) { + r.AccessAndMobilityData = &AccessAndMobilityData +} + +type CreateOrReplaceAccessAndMobilityDataResponse struct { + Location string + AccessAndMobilityData models.AccessAndMobilityData +} + +type CreateOrReplaceAccessAndMobilityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilityDataApiService) CreateOrReplaceAccessAndMobilityData(ctx context.Context, request *CreateOrReplaceAccessAndMobilityDataRequest) (*CreateOrReplaceAccessAndMobilityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceAccessAndMobilityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AccessAndMobilityData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.AccessAndMobilityData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.AccessAndMobilityData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AccessAndMobilityDataApiService Deletes the access and mobility exposure data for a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteAccessAndMobilityDataResponse +*/ + +// DeleteAccessAndMobilityDataRequest +type DeleteAccessAndMobilityDataRequest struct { + UeId *string +} + +func (r *DeleteAccessAndMobilityDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteAccessAndMobilityDataResponse struct { +} + +type DeleteAccessAndMobilityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilityDataApiService) DeleteAccessAndMobilityData(ctx context.Context, request *DeleteAccessAndMobilityDataRequest) (*DeleteAccessAndMobilityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAccessAndMobilityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AccessAndMobilityDataApiService Retrieves the access and mobility exposure data for a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SuppFeat - Supported Features + +@return QueryAccessAndMobilityDataResponse +*/ + +// QueryAccessAndMobilityDataRequest +type QueryAccessAndMobilityDataRequest struct { + UeId *string + SuppFeat *string +} + +func (r *QueryAccessAndMobilityDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAccessAndMobilityDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type QueryAccessAndMobilityDataResponse struct { + AccessAndMobilityData models.AccessAndMobilityData +} + +type QueryAccessAndMobilityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilityDataApiService) QueryAccessAndMobilityData(ctx context.Context, request *QueryAccessAndMobilityDataRequest) (*QueryAccessAndMobilityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAccessAndMobilityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AccessAndMobilityData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v QueryAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AccessAndMobilityDataApiService Updates the access and mobility exposure data for a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param AccessAndMobilityData - + +@return UpdateAccessAndMobilityDataResponse +*/ + +// UpdateAccessAndMobilityDataRequest +type UpdateAccessAndMobilityDataRequest struct { + UeId *string + AccessAndMobilityData *models.AccessAndMobilityData +} + +func (r *UpdateAccessAndMobilityDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateAccessAndMobilityDataRequest) SetAccessAndMobilityData(AccessAndMobilityData models.AccessAndMobilityData) { + r.AccessAndMobilityData = &AccessAndMobilityData +} + +type UpdateAccessAndMobilityDataResponse struct { +} + +type UpdateAccessAndMobilityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilityDataApiService) UpdateAccessAndMobilityData(ctx context.Context, request *UpdateAccessAndMobilityDataRequest) (*UpdateAccessAndMobilityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateAccessAndMobilityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/access-and-mobility-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AccessAndMobilityData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateAccessAndMobilityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_access_and_mobility_policy_data_document.go b/udr/DataRepository/api_access_and_mobility_policy_data_document.go new file mode 100644 index 00000000..5ced9d7a --- /dev/null +++ b/udr/DataRepository/api_access_and_mobility_policy_data_document.go @@ -0,0 +1,180 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AccessAndMobilityPolicyDataDocumentApiService service + +/* +AccessAndMobilityPolicyDataDocumentApiService Retrieves the access and mobility policy data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + +@return ReadAccessAndMobilityPolicyDataResponse +*/ + +// ReadAccessAndMobilityPolicyDataRequest +type ReadAccessAndMobilityPolicyDataRequest struct { + UeId *string +} + +func (r *ReadAccessAndMobilityPolicyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type ReadAccessAndMobilityPolicyDataResponse struct { + AmPolicyData models.AmPolicyData +} + +type ReadAccessAndMobilityPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AccessAndMobilityPolicyDataDocumentApiService) ReadAccessAndMobilityPolicyData(ctx context.Context, request *ReadAccessAndMobilityPolicyDataRequest) (*ReadAccessAndMobilityPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadAccessAndMobilityPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/am-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadAccessAndMobilityPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_access_and_mobility_subscription_data_document.go b/udr/DataRepository/api_access_and_mobility_subscription_data_document.go new file mode 100644 index 00000000..c3b072be --- /dev/null +++ b/udr/DataRepository/api_access_and_mobility_subscription_data_document.go @@ -0,0 +1,171 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AccessAndMobilitySubscriptionDataDocumentApiService service + +/* +AccessAndMobilitySubscriptionDataDocumentApiService Retrieves the access and mobility subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryAmDataResponse +*/ + +// QueryAmDataRequest +type QueryAmDataRequest struct { + UeId *string + ServingPlmnId *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryAmDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAmDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QueryAmDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryAmDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryAmDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryAmDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryAmDataResponse struct { + CacheControl string + ETag string + LastModified string + AccessAndMobilitySubscriptionData models.AccessAndMobilitySubscriptionData +} + +type QueryAmDataError struct { +} + +func (a *AccessAndMobilitySubscriptionDataDocumentApiService) QueryAmData(ctx context.Context, request *QueryAmDataRequest) (*QueryAmDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAmDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/am-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AccessAndMobilitySubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_amf3_gpp_access_registration_document.go b/udr/DataRepository/api_amf3_gpp_access_registration_document.go new file mode 100644 index 00000000..7a9b93a9 --- /dev/null +++ b/udr/DataRepository/api_amf3_gpp_access_registration_document.go @@ -0,0 +1,362 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMF3GPPAccessRegistrationDocumentApiService service + +/* +AMF3GPPAccessRegistrationDocumentApiService To modify the AMF context data of a UE using 3gpp access in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return AmfContext3gppResponse +*/ + +// AmfContext3gppRequest +type AmfContext3gppRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *AmfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *AmfContext3gppRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *AmfContext3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type AmfContext3gppResponse struct { + PatchResult models.PatchResult +} + +type AmfContext3gppError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMF3GPPAccessRegistrationDocumentApiService) AmfContext3gpp(ctx context.Context, request *AmfContext3gppRequest) (*AmfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AmfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v AmfContext3gppError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AMF3GPPAccessRegistrationDocumentApiService To store the AMF context data of a UE using 3gpp access in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Amf3GppAccessRegistration - + +@return CreateAmfContext3gppResponse +*/ + +// CreateAmfContext3gppRequest +type CreateAmfContext3gppRequest struct { + UeId *string + Amf3GppAccessRegistration *models.Amf3GppAccessRegistration +} + +func (r *CreateAmfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateAmfContext3gppRequest) SetAmf3GppAccessRegistration(Amf3GppAccessRegistration models.Amf3GppAccessRegistration) { + r.Amf3GppAccessRegistration = &Amf3GppAccessRegistration +} + +type CreateAmfContext3gppResponse struct { + Location string + Amf3GppAccessRegistration models.Amf3GppAccessRegistration +} + +type CreateAmfContext3gppError struct { +} + +func (a *AMF3GPPAccessRegistrationDocumentApiService) CreateAmfContext3gpp(ctx context.Context, request *CreateAmfContext3gppRequest) (*CreateAmfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAmfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Amf3GppAccessRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AMF3GPPAccessRegistrationDocumentApiService Retrieves the AMF context data of a UE using 3gpp access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryAmfContext3gppResponse +*/ + +// QueryAmfContext3gppRequest +type QueryAmfContext3gppRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryAmfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAmfContext3gppRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryAmfContext3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAmfContext3gppResponse struct { + Amf3GppAccessRegistration models.Amf3GppAccessRegistration +} + +type QueryAmfContext3gppError struct { +} + +func (a *AMF3GPPAccessRegistrationDocumentApiService) QueryAmfContext3gpp(ctx context.Context, request *QueryAmfContext3gppRequest) (*QueryAmfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAmfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_amf_group_subscription_info_document.go b/udr/DataRepository/api_amf_group_subscription_info_document.go new file mode 100644 index 00000000..8518515d --- /dev/null +++ b/udr/DataRepository/api_amf_group_subscription_info_document.go @@ -0,0 +1,137 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMFGroupSubscriptionInfoDocumentApiService service + +/* +AMFGroupSubscriptionInfoDocumentApiService Create AmfSubscriptions for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param AmfSubscriptionInfo - + +@return CreateAmfGroupSubscriptionsResponse +*/ + +// CreateAmfGroupSubscriptionsRequest +type CreateAmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string + AmfSubscriptionInfo []models.AmfSubscriptionInfo +} + +func (r *CreateAmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *CreateAmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateAmfGroupSubscriptionsRequest) SetAmfSubscriptionInfo(AmfSubscriptionInfo []models.AmfSubscriptionInfo) { + r.AmfSubscriptionInfo = AmfSubscriptionInfo +} + +type CreateAmfGroupSubscriptionsResponse struct { + AmfSubscriptionInfo []models.AmfSubscriptionInfo +} + +type CreateAmfGroupSubscriptionsError struct { +} + +func (a *AMFGroupSubscriptionInfoDocumentApiService) CreateAmfGroupSubscriptions(ctx context.Context, request *CreateAmfGroupSubscriptionsRequest) (*CreateAmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.AmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_amf_non3_gpp_access_registration_document.go b/udr/DataRepository/api_amf_non3_gpp_access_registration_document.go new file mode 100644 index 00000000..5f4e66b0 --- /dev/null +++ b/udr/DataRepository/api_amf_non3_gpp_access_registration_document.go @@ -0,0 +1,362 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AMFNon3GPPAccessRegistrationDocumentApiService service + +/* +AMFNon3GPPAccessRegistrationDocumentApiService To modify the AMF context data of a UE using non 3gpp access in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return AmfContextNon3gppResponse +*/ + +// AmfContextNon3gppRequest +type AmfContextNon3gppRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *AmfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *AmfContextNon3gppRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *AmfContextNon3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type AmfContextNon3gppResponse struct { + PatchResult models.PatchResult +} + +type AmfContextNon3gppError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AMFNon3GPPAccessRegistrationDocumentApiService) AmfContextNon3gpp(ctx context.Context, request *AmfContextNon3gppRequest) (*AmfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AmfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v AmfContextNon3gppError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AMFNon3GPPAccessRegistrationDocumentApiService To store the AMF context data of a UE using non-3gpp access in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param AmfNon3GppAccessRegistration - + +@return CreateAmfContextNon3gppResponse +*/ + +// CreateAmfContextNon3gppRequest +type CreateAmfContextNon3gppRequest struct { + UeId *string + AmfNon3GppAccessRegistration *models.AmfNon3GppAccessRegistration +} + +func (r *CreateAmfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateAmfContextNon3gppRequest) SetAmfNon3GppAccessRegistration(AmfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration) { + r.AmfNon3GppAccessRegistration = &AmfNon3GppAccessRegistration +} + +type CreateAmfContextNon3gppResponse struct { + Location string + Amf3GppAccessRegistration models.Amf3GppAccessRegistration +} + +type CreateAmfContextNon3gppError struct { +} + +func (a *AMFNon3GPPAccessRegistrationDocumentApiService) CreateAmfContextNon3gpp(ctx context.Context, request *CreateAmfContextNon3gppRequest) (*CreateAmfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAmfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AmfNon3GppAccessRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.Amf3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AMFNon3GPPAccessRegistrationDocumentApiService Retrieves the AMF context data of a UE using non-3gpp access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryAmfContextNon3gppResponse +*/ + +// QueryAmfContextNon3gppRequest +type QueryAmfContextNon3gppRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryAmfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAmfContextNon3gppRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryAmfContextNon3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAmfContextNon3gppResponse struct { + AmfNon3GppAccessRegistration models.AmfNon3GppAccessRegistration +} + +type QueryAmfContextNon3gppError struct { +} + +func (a *AMFNon3GPPAccessRegistrationDocumentApiService) QueryAmfContextNon3gpp(ctx context.Context, request *QueryAmfContextNon3gppRequest) (*QueryAmfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAmfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/amf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfNon3GppAccessRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_amf_subscription_info_document.go b/udr/DataRepository/api_amf_subscription_info_document.go new file mode 100644 index 00000000..3aef8f30 --- /dev/null +++ b/udr/DataRepository/api_amf_subscription_info_document.go @@ -0,0 +1,278 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AmfSubscriptionInfoDocumentApiService service + +/* +AmfSubscriptionInfoDocumentApiService modify the AMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyAmfGroupSubscriptionsResponse +*/ + +// ModifyAmfGroupSubscriptionsRequest +type ModifyAmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyAmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *ModifyAmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyAmfGroupSubscriptionsRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyAmfGroupSubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyAmfGroupSubscriptionsResponse struct { + PatchResult models.PatchResult +} + +type ModifyAmfGroupSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AmfSubscriptionInfoDocumentApiService) ModifyAmfGroupSubscriptions(ctx context.Context, request *ModifyAmfGroupSubscriptionsRequest) (*ModifyAmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyAmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyAmfGroupSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +AmfSubscriptionInfoDocumentApiService modify the AMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyAmfSubscriptionInfoResponse +*/ + +// ModifyAmfSubscriptionInfoRequest +type ModifyAmfSubscriptionInfoRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyAmfSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyAmfSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyAmfSubscriptionInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyAmfSubscriptionInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyAmfSubscriptionInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifyAmfSubscriptionInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AmfSubscriptionInfoDocumentApiService) ModifyAmfSubscriptionInfo(ctx context.Context, request *ModifyAmfSubscriptionInfoRequest) (*ModifyAmfSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyAmfSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyAmfSubscriptionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_application_data_subscriptions_collection.go b/udr/DataRepository/api_application_data_subscriptions_collection.go new file mode 100644 index 00000000..25c211d7 --- /dev/null +++ b/udr/DataRepository/api_application_data_subscriptions_collection.go @@ -0,0 +1,528 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ApplicationDataSubscriptionsCollectionApiService service + +/* +ApplicationDataSubscriptionsCollectionApiService Create a subscription to receive notification of application data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ApplicationDataSubs - + +@return CreateIndividualApplicationDataSubscriptionResponse +*/ + +// CreateIndividualApplicationDataSubscriptionRequest +type CreateIndividualApplicationDataSubscriptionRequest struct { + ApplicationDataSubs *models.ApplicationDataSubs +} + +func (r *CreateIndividualApplicationDataSubscriptionRequest) SetApplicationDataSubs(ApplicationDataSubs models.ApplicationDataSubs) { + r.ApplicationDataSubs = &ApplicationDataSubs +} + +type CreateIndividualApplicationDataSubscriptionResponse struct { + Location string + ApplicationDataSubs models.ApplicationDataSubs +} + +type CreateIndividualApplicationDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ApplicationDataSubscriptionsCollectionApiService) CreateIndividualApplicationDataSubscription(ctx context.Context, request *CreateIndividualApplicationDataSubscriptionRequest) (*CreateIndividualApplicationDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualApplicationDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ApplicationDataSubs + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ApplicationDataSubs, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostRequest +type CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostRequest struct { + ApplicationDataChangeNotif []models.ApplicationDataChangeNotif +} + +func (r *CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostRequest) SetApplicationDataChangeNotif(ApplicationDataChangeNotif []models.ApplicationDataChangeNotif) { + r.ApplicationDataChangeNotif = ApplicationDataChangeNotif +} + +type CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostResponse struct { +} + +type CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ApplicationDataSubscriptionsCollectionApiService) CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPost(ctx context.Context, uri string, request *CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostRequest) (*CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ApplicationDataChangeNotif + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualApplicationDataSubscriptionApplicationDataChangeNotifPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +ApplicationDataSubscriptionsCollectionApiService Read Application Data change Subscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param DataFilter - The data filter for the query. + +@return ReadApplicationDataChangeSubscriptionsResponse +*/ + +// ReadApplicationDataChangeSubscriptionsRequest +type ReadApplicationDataChangeSubscriptionsRequest struct { + DataFilter *models.DataFilter +} + +func (r *ReadApplicationDataChangeSubscriptionsRequest) SetDataFilter(DataFilter models.DataFilter) { + r.DataFilter = &DataFilter +} + +type ReadApplicationDataChangeSubscriptionsResponse struct { + ApplicationDataSubs []models.ApplicationDataSubs +} + +type ReadApplicationDataChangeSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ApplicationDataSubscriptionsCollectionApiService) ReadApplicationDataChangeSubscriptions(ctx context.Context, request *ReadApplicationDataChangeSubscriptionsRequest) (*ReadApplicationDataChangeSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadApplicationDataChangeSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.DataFilter != nil { + localVarQueryParams.Add("data-filter", openapi.ParameterToString(request.DataFilter, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ApplicationDataSubs, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadApplicationDataChangeSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_auth_event_document.go b/udr/DataRepository/api_auth_event_document.go new file mode 100644 index 00000000..c038f2ab --- /dev/null +++ b/udr/DataRepository/api_auth_event_document.go @@ -0,0 +1,227 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthEventDocumentApiService service + +/* +AuthEventDocumentApiService To remove the Authentication Status of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteAuthenticationStatusResponse +*/ + +// DeleteAuthenticationStatusRequest +type DeleteAuthenticationStatusRequest struct { + UeId *string +} + +func (r *DeleteAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteAuthenticationStatusResponse struct { +} + +type DeleteAuthenticationStatusError struct { +} + +func (a *AuthEventDocumentApiService) DeleteAuthenticationStatus(ctx context.Context, request *DeleteAuthenticationStatusRequest) (*DeleteAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AuthEventDocumentApiService Retrieves the Authentication Status of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryAuthenticationStatusResponse +*/ + +// QueryAuthenticationStatusRequest +type QueryAuthenticationStatusRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAuthenticationStatusRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryAuthenticationStatusRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAuthenticationStatusResponse struct { + AuthEvent models.AuthEvent +} + +type QueryAuthenticationStatusError struct { +} + +func (a *AuthEventDocumentApiService) QueryAuthenticationStatus(ctx context.Context, request *QueryAuthenticationStatusRequest) (*QueryAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthEvent, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_authentication_data_document.go b/udr/DataRepository/api_authentication_data_document.go new file mode 100644 index 00000000..1ac1d1e4 --- /dev/null +++ b/udr/DataRepository/api_authentication_data_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationDataDocumentApiService service + +/* +AuthenticationDataDocumentApiService Retrieves the authentication subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryAuthSubsDataResponse +*/ + +// QueryAuthSubsDataRequest +type QueryAuthSubsDataRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryAuthSubsDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAuthSubsDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAuthSubsDataResponse struct { + AuthenticationSubscription models.AuthenticationSubscription +} + +type QueryAuthSubsDataError struct { +} + +func (a *AuthenticationDataDocumentApiService) QueryAuthSubsData(ctx context.Context, request *QueryAuthSubsDataRequest) (*QueryAuthSubsDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAuthSubsDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthenticationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_authentication_so_r_document.go b/udr/DataRepository/api_authentication_so_r_document.go new file mode 100644 index 00000000..9a63aa64 --- /dev/null +++ b/udr/DataRepository/api_authentication_so_r_document.go @@ -0,0 +1,350 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationSoRDocumentApiService service + +/* +AuthenticationSoRDocumentApiService To store the SoR acknowledgement information of a UE and ME support of SOR CMCI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SorData - + * @param SupportedFeatures - Supported Features + +@return CreateAuthenticationSoRResponse +*/ + +// CreateAuthenticationSoRRequest +type CreateAuthenticationSoRRequest struct { + UeId *string + SorData *models.SorData + SupportedFeatures *string +} + +func (r *CreateAuthenticationSoRRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateAuthenticationSoRRequest) SetSorData(SorData models.SorData) { + r.SorData = &SorData +} +func (r *CreateAuthenticationSoRRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateAuthenticationSoRResponse struct { +} + +type CreateAuthenticationSoRError struct { +} + +func (a *AuthenticationSoRDocumentApiService) CreateAuthenticationSoR(ctx context.Context, request *CreateAuthenticationSoRRequest) (*CreateAuthenticationSoRResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAuthenticationSoRResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/sor-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SorData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AuthenticationSoRDocumentApiService Retrieves the SoR acknowledgement information of a UE and ME support of SOR CMCI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryAuthSoRResponse +*/ + +// QueryAuthSoRRequest +type QueryAuthSoRRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryAuthSoRRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAuthSoRRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAuthSoRResponse struct { + SorData models.SorData +} + +type QueryAuthSoRError struct { +} + +func (a *AuthenticationSoRDocumentApiService) QueryAuthSoR(ctx context.Context, request *QueryAuthSoRRequest) (*QueryAuthSoRResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAuthSoRResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/sor-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SorData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AuthenticationSoRDocumentApiService Updates the ME support of SOR CMCI information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateAuthenticationSoRResponse +*/ + +// UpdateAuthenticationSoRRequest +type UpdateAuthenticationSoRRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *UpdateAuthenticationSoRRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateAuthenticationSoRRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateAuthenticationSoRRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateAuthenticationSoRResponse struct { + PatchResult models.PatchResult +} + +type UpdateAuthenticationSoRError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AuthenticationSoRDocumentApiService) UpdateAuthenticationSoR(ctx context.Context, request *UpdateAuthenticationSoRRequest) (*UpdateAuthenticationSoRResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateAuthenticationSoRResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/sor-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v UpdateAuthenticationSoRError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_authentication_status_document.go b/udr/DataRepository/api_authentication_status_document.go new file mode 100644 index 00000000..189b12f6 --- /dev/null +++ b/udr/DataRepository/api_authentication_status_document.go @@ -0,0 +1,124 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationStatusDocumentApiService service + +/* +AuthenticationStatusDocumentApiService To store the Authentication Status data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param AuthEvent - + +@return CreateAuthenticationStatusResponse +*/ + +// CreateAuthenticationStatusRequest +type CreateAuthenticationStatusRequest struct { + UeId *string + AuthEvent *models.AuthEvent +} + +func (r *CreateAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateAuthenticationStatusRequest) SetAuthEvent(AuthEvent models.AuthEvent) { + r.AuthEvent = &AuthEvent +} + +type CreateAuthenticationStatusResponse struct { +} + +type CreateAuthenticationStatusError struct { +} + +func (a *AuthenticationStatusDocumentApiService) CreateAuthenticationStatus(ctx context.Context, request *CreateAuthenticationStatusRequest) (*CreateAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthEvent + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_authentication_subscription_document.go b/udr/DataRepository/api_authentication_subscription_document.go new file mode 100644 index 00000000..eaca8317 --- /dev/null +++ b/udr/DataRepository/api_authentication_subscription_document.go @@ -0,0 +1,148 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationSubscriptionDocumentApiService service + +/* +AuthenticationSubscriptionDocumentApiService modify the authentication subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyAuthenticationSubscriptionResponse +*/ + +// ModifyAuthenticationSubscriptionRequest +type ModifyAuthenticationSubscriptionRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyAuthenticationSubscriptionRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyAuthenticationSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyAuthenticationSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyAuthenticationSubscriptionResponse struct { + PatchResult models.PatchResult +} + +type ModifyAuthenticationSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *AuthenticationSubscriptionDocumentApiService) ModifyAuthenticationSubscription(ctx context.Context, request *ModifyAuthenticationSubscriptionRequest) (*ModifyAuthenticationSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyAuthenticationSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-subscription" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 403: + var v ModifyAuthenticationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_authentication_upu_document.go b/udr/DataRepository/api_authentication_upu_document.go new file mode 100644 index 00000000..a40207d8 --- /dev/null +++ b/udr/DataRepository/api_authentication_upu_document.go @@ -0,0 +1,232 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type AuthenticationUPUDocumentApiService service + +/* +AuthenticationUPUDocumentApiService To store the UPU acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param UpuData - + * @param SupportedFeatures - Supported Features + +@return CreateAuthenticationUPUResponse +*/ + +// CreateAuthenticationUPURequest +type CreateAuthenticationUPURequest struct { + UeId *string + UpuData *models.UpuData + SupportedFeatures *string +} + +func (r *CreateAuthenticationUPURequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateAuthenticationUPURequest) SetUpuData(UpuData models.UpuData) { + r.UpuData = &UpuData +} +func (r *CreateAuthenticationUPURequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateAuthenticationUPUResponse struct { +} + +type CreateAuthenticationUPUError struct { +} + +func (a *AuthenticationUPUDocumentApiService) CreateAuthenticationUPU(ctx context.Context, request *CreateAuthenticationUPURequest) (*CreateAuthenticationUPUResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAuthenticationUPUResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/upu-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UpuData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +AuthenticationUPUDocumentApiService Retrieves the UPU acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryAuthUPUResponse +*/ + +// QueryAuthUPURequest +type QueryAuthUPURequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryAuthUPURequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryAuthUPURequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryAuthUPUResponse struct { + UpuData models.UpuData +} + +type QueryAuthUPUError struct { +} + +func (a *AuthenticationUPUDocumentApiService) QueryAuthUPU(ctx context.Context, request *QueryAuthUPURequest) (*QueryAuthUPUResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryAuthUPUResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/upu-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UpuData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_bdt_data_store.go b/udr/DataRepository/api_bdt_data_store.go new file mode 100644 index 00000000..a6e0948b --- /dev/null +++ b/udr/DataRepository/api_bdt_data_store.go @@ -0,0 +1,194 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BdtDataStoreApiService service + +/* +BdtDataStoreApiService Retrieves the BDT data collection + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtRefIds - List of the BDT reference identifiers. + * @param SuppFeat - Supported Features + +@return ReadBdtDataResponse +*/ + +// ReadBdtDataRequest +type ReadBdtDataRequest struct { + BdtRefIds []string + SuppFeat *string +} + +func (r *ReadBdtDataRequest) SetBdtRefIds(BdtRefIds []string) { + r.BdtRefIds = BdtRefIds +} +func (r *ReadBdtDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadBdtDataResponse struct { + BdtData []models.BdtData +} + +type ReadBdtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *BdtDataStoreApiService) ReadBdtData(ctx context.Context, request *ReadBdtDataRequest) (*ReadBdtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadBdtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.BdtRefIds != nil { + if len(request.BdtRefIds) < 1 { + return &localVarReturnValue, openapi.ReportError("BdtRefIds must have at least 1 elements") + } + localVarQueryParams.Add("bdt-ref-ids", openapi.ParameterToString(request.BdtRefIds, "csv")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_bdt_policy_data_store.go b/udr/DataRepository/api_bdt_policy_data_store.go new file mode 100644 index 00000000..b75852ad --- /dev/null +++ b/udr/DataRepository/api_bdt_policy_data_store.go @@ -0,0 +1,216 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BdtPolicyDataStoreApiService service + +/* +BdtPolicyDataStoreApiService Retrieve applied BDT Policy Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyIds - Each element identifies a service. + * @param InternalGroupIds - Each element identifies a group of users. + * @param Supis - Each element identifies the user. + +@return ReadBdtPolicyDataResponse +*/ + +// ReadBdtPolicyDataRequest +type ReadBdtPolicyDataRequest struct { + BdtPolicyIds []string + InternalGroupIds []string + Supis []string +} + +func (r *ReadBdtPolicyDataRequest) SetBdtPolicyIds(BdtPolicyIds []string) { + r.BdtPolicyIds = BdtPolicyIds +} +func (r *ReadBdtPolicyDataRequest) SetInternalGroupIds(InternalGroupIds []string) { + r.InternalGroupIds = InternalGroupIds +} +func (r *ReadBdtPolicyDataRequest) SetSupis(Supis []string) { + r.Supis = Supis +} + +type ReadBdtPolicyDataResponse struct { + BdtPolicyData []models.BdtPolicyData +} + +type ReadBdtPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *BdtPolicyDataStoreApiService) ReadBdtPolicyData(ctx context.Context, request *ReadBdtPolicyDataRequest) (*ReadBdtPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadBdtPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/bdtPolicyData" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.BdtPolicyIds != nil { + if len(request.BdtPolicyIds) < 1 { + return &localVarReturnValue, openapi.ReportError("BdtPolicyIds must have at least 1 elements") + } + localVarQueryParams.Add("bdt-policy-ids", openapi.ParameterToString(request.BdtPolicyIds, "multi")) + } + if request.InternalGroupIds != nil { + if len(request.InternalGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("InternalGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("internal-group-ids", openapi.ParameterToString(request.InternalGroupIds, "multi")) + } + if request.Supis != nil { + if len(request.Supis) < 1 { + return &localVarReturnValue, openapi.ReportError("Supis must have at least 1 elements") + } + localVarQueryParams.Add("supis", openapi.ParameterToString(request.Supis, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_cag_update_ack_document.go b/udr/DataRepository/api_cag_update_ack_document.go new file mode 100644 index 00000000..0b87b554 --- /dev/null +++ b/udr/DataRepository/api_cag_update_ack_document.go @@ -0,0 +1,132 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type CAGUpdateAckDocumentApiService service + +/* +CAGUpdateAckDocumentApiService To store the CAG update acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param CagAckData - + * @param SupportedFeatures - Supported Features + +@return CreateCagUpdateAckResponse +*/ + +// CreateCagUpdateAckRequest +type CreateCagUpdateAckRequest struct { + UeId *string + CagAckData *models.CagAckData + SupportedFeatures *string +} + +func (r *CreateCagUpdateAckRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateCagUpdateAckRequest) SetCagAckData(CagAckData models.CagAckData) { + r.CagAckData = &CagAckData +} +func (r *CreateCagUpdateAckRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateCagUpdateAckResponse struct { +} + +type CreateCagUpdateAckError struct { +} + +func (a *CAGUpdateAckDocumentApiService) CreateCagUpdateAck(ctx context.Context, request *CreateCagUpdateAckRequest) (*CreateCagUpdateAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateCagUpdateAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/subscribed-cag" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.CagAckData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_cagack_document.go b/udr/DataRepository/api_cagack_document.go new file mode 100644 index 00000000..a7d9b6da --- /dev/null +++ b/udr/DataRepository/api_cagack_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type CAGACKDocumentApiService service + +/* +CAGACKDocumentApiService Retrieves the CAG acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryCagAckResponse +*/ + +// QueryCagAckRequest +type QueryCagAckRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryCagAckRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryCagAckRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryCagAckResponse struct { + CagAckData models.CagAckData +} + +type QueryCagAckError struct { +} + +func (a *CAGACKDocumentApiService) QueryCagAck(ctx context.Context, request *QueryCagAckRequest) (*QueryCagAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryCagAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/subscribed-cag" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.CagAckData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_g_vn_group_configuration_document.go b/udr/DataRepository/api_class5_g_vn_group_configuration_document.go new file mode 100644 index 00000000..43306d28 --- /dev/null +++ b/udr/DataRepository/api_class5_g_vn_group_configuration_document.go @@ -0,0 +1,138 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVnGroupConfigurationDocumentApiService service + +/* +Class5GVnGroupConfigurationDocumentApiService Create an individual 5G VN Grouop + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param Model5GVnGroupConfiguration - + +@return Create5GVnGroupResponse +*/ + +// Create5GVnGroupRequest +type Create5GVnGroupRequest struct { + ExternalGroupId *string + Model5GVnGroupConfiguration *models.Model5GVnGroupConfiguration +} + +func (r *Create5GVnGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *Create5GVnGroupRequest) SetModel5GVnGroupConfiguration(Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration) { + r.Model5GVnGroupConfiguration = &Model5GVnGroupConfiguration +} + +type Create5GVnGroupResponse struct { + Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration +} + +type Create5GVnGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GVnGroupConfigurationDocumentApiService) Create5GVnGroup(ctx context.Context, request *Create5GVnGroupRequest) (*Create5GVnGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Create5GVnGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Model5GVnGroupConfiguration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.Model5GVnGroupConfiguration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v Create5GVnGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_gmbs_group_store.go b/udr/DataRepository/api_class5_gmbs_group_store.go new file mode 100644 index 00000000..5658340d --- /dev/null +++ b/udr/DataRepository/api_class5_gmbs_group_store.go @@ -0,0 +1,191 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GMBSGroupStoreApiService service + +/* +Class5GMBSGroupStoreApiService Retrieves the data of a 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Gpsis - List of GPSIs + +@return Query5GmbsGroupResponse +*/ + +// Query5GmbsGroupRequest +type Query5GmbsGroupRequest struct { + Gpsis []string +} + +func (r *Query5GmbsGroupRequest) SetGpsis(Gpsis []string) { + r.Gpsis = Gpsis +} + +type Query5GmbsGroupResponse struct { + MulticastMbsGroupMemb map[string]models.MulticastMbsGroupMemb +} + +type Query5GmbsGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupStoreApiService) Query5GmbsGroup(ctx context.Context, request *Query5GmbsGroupRequest) (*Query5GmbsGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GmbsGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Gpsis != nil { + localVarQueryParams.Add("gpsis", openapi.ParameterToString(request.Gpsis, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MulticastMbsGroupMemb, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Query5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_gmbs_groups_internal_document.go b/udr/DataRepository/api_class5_gmbs_groups_internal_document.go new file mode 100644 index 00000000..cefbef48 --- /dev/null +++ b/udr/DataRepository/api_class5_gmbs_groups_internal_document.go @@ -0,0 +1,193 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GMBSGroupsInternalDocumentApiService service + +/* +Class5GMBSGroupsInternalDocumentApiService Retrieves the data of 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InternalGroupIds - List of Internal Group IDs + +@return Query5GMbsGroupInternalResponse +*/ + +// Query5GMbsGroupInternalRequest +type Query5GMbsGroupInternalRequest struct { + InternalGroupIds []string +} + +func (r *Query5GMbsGroupInternalRequest) SetInternalGroupIds(InternalGroupIds []string) { + r.InternalGroupIds = InternalGroupIds +} + +type Query5GMbsGroupInternalResponse struct { + MulticastMbsGroupMemb map[string]models.MulticastMbsGroupMemb +} + +type Query5GMbsGroupInternalError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Class5GMBSGroupsInternalDocumentApiService) Query5GMbsGroupInternal(ctx context.Context, request *Query5GMbsGroupInternalRequest) (*Query5GMbsGroupInternalResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GMbsGroupInternalResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/internal" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.InternalGroupIds == nil { + return nil, openapi.ReportError("InternalGroupIds must be non nil") + } else { + localVarQueryParams.Add("internal-group-ids", openapi.ParameterToString(request.InternalGroupIds, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MulticastMbsGroupMemb, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Query5GMbsGroupInternalError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_gvn_groups_internal_document.go b/udr/DataRepository/api_class5_gvn_groups_internal_document.go new file mode 100644 index 00000000..a860466d --- /dev/null +++ b/udr/DataRepository/api_class5_gvn_groups_internal_document.go @@ -0,0 +1,126 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVNGroupsInternalDocumentApiService service + +/* +Class5GVNGroupsInternalDocumentApiService Retrieves the data of 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InternalGroupIds - List of Internal Group IDs + +@return Query5GVnGroupInternalResponse +*/ + +// Query5GVnGroupInternalRequest +type Query5GVnGroupInternalRequest struct { + InternalGroupIds []string +} + +func (r *Query5GVnGroupInternalRequest) SetInternalGroupIds(InternalGroupIds []string) { + r.InternalGroupIds = InternalGroupIds +} + +type Query5GVnGroupInternalResponse struct { + Model5GVnGroupConfiguration map[string]models.Model5GVnGroupConfiguration +} + +type Query5GVnGroupInternalError struct { +} + +func (a *Class5GVNGroupsInternalDocumentApiService) Query5GVnGroupInternal(ctx context.Context, request *Query5GVnGroupInternalRequest) (*Query5GVnGroupInternalResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GVnGroupInternalResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/internal" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.InternalGroupIds == nil { + return nil, openapi.ReportError("InternalGroupIds must be non nil") + } else { + localVarQueryParams.Add("internal-group-ids", openapi.ParameterToString(request.InternalGroupIds, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Model5GVnGroupConfiguration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_gvn_groups_store.go b/udr/DataRepository/api_class5_gvn_groups_store.go new file mode 100644 index 00000000..d10c65ac --- /dev/null +++ b/udr/DataRepository/api_class5_gvn_groups_store.go @@ -0,0 +1,124 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5GVNGroupsStoreApiService service + +/* +Class5GVNGroupsStoreApiService Retrieves the data of a 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Gpsis - List of GPSIs + +@return Query5GVnGroupResponse +*/ + +// Query5GVnGroupRequest +type Query5GVnGroupRequest struct { + Gpsis []string +} + +func (r *Query5GVnGroupRequest) SetGpsis(Gpsis []string) { + r.Gpsis = Gpsis +} + +type Query5GVnGroupResponse struct { + Model5GVnGroupConfiguration map[string]models.Model5GVnGroupConfiguration +} + +type Query5GVnGroupError struct { +} + +func (a *Class5GVNGroupsStoreApiService) Query5GVnGroup(ctx context.Context, request *Query5GVnGroupRequest) (*Query5GVnGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GVnGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Gpsis != nil { + localVarQueryParams.Add("gpsis", openapi.ParameterToString(request.Gpsis, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Model5GVnGroupConfiguration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_class5_mbs_subscription_data_document.go b/udr/DataRepository/api_class5_mbs_subscription_data_document.go new file mode 100644 index 00000000..c84fb57d --- /dev/null +++ b/udr/DataRepository/api_class5_mbs_subscription_data_document.go @@ -0,0 +1,154 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Class5MBSSubscriptionDataDocumentApiService service + +/* +Class5MBSSubscriptionDataDocumentApiService Retrieves the 5mbs subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return Query5mbsDataResponse +*/ + +// Query5mbsDataRequest +type Query5mbsDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *Query5mbsDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *Query5mbsDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *Query5mbsDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *Query5mbsDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type Query5mbsDataResponse struct { + CacheControl string + ETag string + LastModified string + MbsSubscriptionData models.MbsSubscriptionData +} + +type Query5mbsDataError struct { +} + +func (a *Class5MBSSubscriptionDataDocumentApiService) Query5mbsData(ctx context.Context, request *Query5mbsDataRequest) (*Query5mbsDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5mbsDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/5mbs-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MbsSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_context_data_document.go b/udr/DataRepository/api_context_data_document.go new file mode 100644 index 00000000..ab70960b --- /dev/null +++ b/udr/DataRepository/api_context_data_document.go @@ -0,0 +1,135 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ContextDataDocumentApiService service + +/* +ContextDataDocumentApiService Retrieve multiple context data sets of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ContextDatasetNames - List of context dataset names + +@return QueryContextDataResponse +*/ + +// QueryContextDataRequest +type QueryContextDataRequest struct { + UeId *string + ContextDatasetNames []models.ContextDataSetName +} + +func (r *QueryContextDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryContextDataRequest) SetContextDatasetNames(ContextDatasetNames []models.ContextDataSetName) { + r.ContextDatasetNames = ContextDatasetNames +} + +type QueryContextDataResponse struct { + ContextDataSets models.ContextDataSets +} + +type QueryContextDataError struct { +} + +func (a *ContextDataDocumentApiService) QueryContextData(ctx context.Context, request *QueryContextDataRequest) (*QueryContextDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryContextDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ContextDatasetNames == nil { + return nil, openapi.ReportError("ContextDatasetNames must be non nil") + } else { + if len(request.ContextDatasetNames) < 2 { + return &localVarReturnValue, openapi.ReportError("ContextDatasetNames must have at least 2 elements") + } + localVarQueryParams.Add("context-dataset-names", openapi.ParameterToString(request.ContextDatasetNames, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ContextDataSets, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_delete5_g_vn_group.go b/udr/DataRepository/api_delete5_g_vn_group.go new file mode 100644 index 00000000..a83953da --- /dev/null +++ b/udr/DataRepository/api_delete5_g_vn_group.go @@ -0,0 +1,115 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Delete5GVnGroupApiService service + +/* +Delete5GVnGroupApiService Deletes the 5GVnGroup + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + +@return Delete5GVnGroupResponse +*/ + +// Delete5GVnGroupRequest +type Delete5GVnGroupRequest struct { + ExternalGroupId *string +} + +func (r *Delete5GVnGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} + +type Delete5GVnGroupResponse struct { +} + +type Delete5GVnGroupError struct { +} + +func (a *Delete5GVnGroupApiService) Delete5GVnGroup(ctx context.Context, request *Delete5GVnGroupRequest) (*Delete5GVnGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Delete5GVnGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_delete5_gmbs_group.go b/udr/DataRepository/api_delete5_gmbs_group.go new file mode 100644 index 00000000..35326ec9 --- /dev/null +++ b/udr/DataRepository/api_delete5_gmbs_group.go @@ -0,0 +1,181 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Delete5GmbsGroupApiService service + +/* +Delete5GmbsGroupApiService Deletes the 5GmbsGroup + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + +@return Delete5GmbsGroupResponse +*/ + +// Delete5GmbsGroupRequest +type Delete5GmbsGroupRequest struct { + ExternalGroupId *string +} + +func (r *Delete5GmbsGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} + +type Delete5GmbsGroupResponse struct { +} + +type Delete5GmbsGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Delete5GmbsGroupApiService) Delete5GmbsGroup(ctx context.Context, request *Delete5GmbsGroupRequest) (*Delete5GmbsGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Delete5GmbsGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Delete5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_enhanced_coverage_restriction_data.go b/udr/DataRepository/api_enhanced_coverage_restriction_data.go new file mode 100644 index 00000000..d2cd7add --- /dev/null +++ b/udr/DataRepository/api_enhanced_coverage_restriction_data.go @@ -0,0 +1,154 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EnhancedCoverageRestrictionDataApiService service + +/* +EnhancedCoverageRestrictionDataApiService Retrieves the subscribed enhanced Coverage Restriction Data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryCoverageRestrictionDataResponse +*/ + +// QueryCoverageRestrictionDataRequest +type QueryCoverageRestrictionDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryCoverageRestrictionDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryCoverageRestrictionDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryCoverageRestrictionDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryCoverageRestrictionDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryCoverageRestrictionDataResponse struct { + CacheControl string + ETag string + LastModified string + EnhancedCoverageRestrictionData models.EnhancedCoverageRestrictionData +} + +type QueryCoverageRestrictionDataError struct { +} + +func (a *EnhancedCoverageRestrictionDataApiService) QueryCoverageRestrictionData(ctx context.Context, request *QueryCoverageRestrictionDataRequest) (*QueryCoverageRestrictionDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryCoverageRestrictionDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/coverage-restriction-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EnhancedCoverageRestrictionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_amf_subscription_info_document.go b/udr/DataRepository/api_event_amf_subscription_info_document.go new file mode 100644 index 00000000..eb964d6d --- /dev/null +++ b/udr/DataRepository/api_event_amf_subscription_info_document.go @@ -0,0 +1,213 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventAMFSubscriptionInfoDocumentApiService service + +/* +EventAMFSubscriptionInfoDocumentApiService Deletes AMF Subscription Info for an eeSubscription for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + +@return RemoveAmfGroupSubscriptionsResponse +*/ + +// RemoveAmfGroupSubscriptionsRequest +type RemoveAmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *RemoveAmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *RemoveAmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveAmfGroupSubscriptionsResponse struct { +} + +type RemoveAmfGroupSubscriptionsError struct { +} + +func (a *EventAMFSubscriptionInfoDocumentApiService) RemoveAmfGroupSubscriptions(ctx context.Context, request *RemoveAmfGroupSubscriptionsRequest) (*RemoveAmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveAmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventAMFSubscriptionInfoDocumentApiService Deletes AMF Subscription Info for an eeSubscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return RemoveAmfSubscriptionsInfoResponse +*/ + +// RemoveAmfSubscriptionsInfoRequest +type RemoveAmfSubscriptionsInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *RemoveAmfSubscriptionsInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveAmfSubscriptionsInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveAmfSubscriptionsInfoResponse struct { +} + +type RemoveAmfSubscriptionsInfoError struct { +} + +func (a *EventAMFSubscriptionInfoDocumentApiService) RemoveAmfSubscriptionsInfo(ctx context.Context, request *RemoveAmfSubscriptionsInfoRequest) (*RemoveAmfSubscriptionsInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveAmfSubscriptionsInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_data_document.go b/udr/DataRepository/api_event_exposure_data_document.go new file mode 100644 index 00000000..2b8aaa72 --- /dev/null +++ b/udr/DataRepository/api_event_exposure_data_document.go @@ -0,0 +1,138 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureDataDocumentApiService service + +/* +EventExposureDataDocumentApiService Retrieves the ee profile data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryEEDataResponse +*/ + +// QueryEEDataRequest +type QueryEEDataRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryEEDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryEEDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryEEDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryEEDataResponse struct { + EeProfileData models.EeProfileData +} + +type QueryEEDataError struct { +} + +func (a *EventExposureDataDocumentApiService) QueryEEData(ctx context.Context, request *QueryEEDataRequest) (*QueryEEDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryEEDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ee-profile-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EeProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_data_for_a_group_document.go b/udr/DataRepository/api_event_exposure_data_for_a_group_document.go new file mode 100644 index 00000000..577553a2 --- /dev/null +++ b/udr/DataRepository/api_event_exposure_data_for_a_group_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureDataForAGroupDocumentApiService service + +/* +EventExposureDataForAGroupDocumentApiService Retrieves the ee profile data profile data of a group or anyUE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - Group of UEs or any UE + * @param SupportedFeatures - Supported Features + +@return QueryGroupEEDataResponse +*/ + +// QueryGroupEEDataRequest +type QueryGroupEEDataRequest struct { + UeGroupId *string + SupportedFeatures *string +} + +func (r *QueryGroupEEDataRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *QueryGroupEEDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryGroupEEDataResponse struct { + EeGroupProfileData models.EeGroupProfileData +} + +type QueryGroupEEDataError struct { +} + +func (a *EventExposureDataForAGroupDocumentApiService) QueryGroupEEData(ctx context.Context, request *QueryGroupEEDataRequest) (*QueryGroupEEDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryGroupEEDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-profile-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EeGroupProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_group_subscription_document.go b/udr/DataRepository/api_event_exposure_group_subscription_document.go new file mode 100644 index 00000000..0d842748 --- /dev/null +++ b/udr/DataRepository/api_event_exposure_group_subscription_document.go @@ -0,0 +1,460 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureGroupSubscriptionDocumentApiService service + +/* +EventExposureGroupSubscriptionDocumentApiService Modify an individual ee subscription for a group of a UEs + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyEeGroupSubscriptionResponse +*/ + +// ModifyEeGroupSubscriptionRequest +type ModifyEeGroupSubscriptionRequest struct { + UeGroupId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyEeGroupSubscriptionRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *ModifyEeGroupSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyEeGroupSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyEeGroupSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyEeGroupSubscriptionResponse struct { + PatchResult models.PatchResult +} + +type ModifyEeGroupSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *EventExposureGroupSubscriptionDocumentApiService) ModifyEeGroupSubscription(ctx context.Context, request *ModifyEeGroupSubscriptionRequest) (*ModifyEeGroupSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyEeGroupSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyEeGroupSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyEeGroupSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +EventExposureGroupSubscriptionDocumentApiService Retrieve a individual eeSubscription for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - Unique ID of the subscription to remove + +@return QueryEeGroupSubscriptionResponse +*/ + +// QueryEeGroupSubscriptionRequest +type QueryEeGroupSubscriptionRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *QueryEeGroupSubscriptionRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *QueryEeGroupSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type QueryEeGroupSubscriptionResponse struct { + QueryEeGroupSubscriptionResponse200 map[string]interface{} +} + +type QueryEeGroupSubscriptionError struct { +} + +func (a *EventExposureGroupSubscriptionDocumentApiService) QueryEeGroupSubscription(ctx context.Context, request *QueryEeGroupSubscriptionRequest) (*QueryEeGroupSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryEeGroupSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.QueryEeGroupSubscriptionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureGroupSubscriptionDocumentApiService Deletes a eeSubscription for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - Unique ID of the subscription to remove + +@return RemoveEeGroupSubscriptionsResponse +*/ + +// RemoveEeGroupSubscriptionsRequest +type RemoveEeGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *RemoveEeGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *RemoveEeGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveEeGroupSubscriptionsResponse struct { +} + +type RemoveEeGroupSubscriptionsError struct { +} + +func (a *EventExposureGroupSubscriptionDocumentApiService) RemoveEeGroupSubscriptions(ctx context.Context, request *RemoveEeGroupSubscriptionsRequest) (*RemoveEeGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveEeGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureGroupSubscriptionDocumentApiService Update an individual ee subscription of a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param Body - + +@return UpdateEeGroupSubscriptionsResponse +*/ + +// UpdateEeGroupSubscriptionsRequest +type UpdateEeGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string + Body *models.UdmEeEeSubscription +} + +func (r *UpdateEeGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *UpdateEeGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *UpdateEeGroupSubscriptionsRequest) SetBody(Body models.UdmEeEeSubscription) { + r.Body = &Body +} + +type UpdateEeGroupSubscriptionsResponse struct { +} + +type UpdateEeGroupSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *EventExposureGroupSubscriptionDocumentApiService) UpdateEeGroupSubscriptions(ctx context.Context, request *UpdateEeGroupSubscriptionsRequest) (*UpdateEeGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateEeGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 404: + var v UpdateEeGroupSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_group_subscriptions_collection.go b/udr/DataRepository/api_event_exposure_group_subscriptions_collection.go new file mode 100644 index 00000000..05c6395f --- /dev/null +++ b/udr/DataRepository/api_event_exposure_group_subscriptions_collection.go @@ -0,0 +1,231 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureGroupSubscriptionsCollectionApiService service + +/* +EventExposureGroupSubscriptionsCollectionApiService Create individual EE subscription for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - Group of UEs or any UE + * @param Body - + +@return CreateEeGroupSubscriptionsResponse +*/ + +// CreateEeGroupSubscriptionsRequest +type CreateEeGroupSubscriptionsRequest struct { + UeGroupId *string + Body *models.UdmEeEeSubscription +} + +func (r *CreateEeGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *CreateEeGroupSubscriptionsRequest) SetBody(Body models.UdmEeEeSubscription) { + r.Body = &Body +} + +type CreateEeGroupSubscriptionsResponse struct { + Location string + UdmEeEeSubscription models.UdmEeEeSubscription +} + +type CreateEeGroupSubscriptionsError struct { +} + +func (a *EventExposureGroupSubscriptionsCollectionApiService) CreateEeGroupSubscriptions(ctx context.Context, request *CreateEeGroupSubscriptionsRequest) (*CreateEeGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UdmEeEeSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureGroupSubscriptionsCollectionApiService Retrieves the ee subscriptions of a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - Group of UEs or any UE + * @param SupportedFeatures - Supported Features + +@return QueryEeGroupSubscriptionsResponse +*/ + +// QueryEeGroupSubscriptionsRequest +type QueryEeGroupSubscriptionsRequest struct { + UeGroupId *string + SupportedFeatures *string +} + +func (r *QueryEeGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *QueryEeGroupSubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryEeGroupSubscriptionsResponse struct { + UdmEeEeSubscription []models.UdmEeEeSubscription +} + +type QueryEeGroupSubscriptionsError struct { +} + +func (a *EventExposureGroupSubscriptionsCollectionApiService) QueryEeGroupSubscriptions(ctx context.Context, request *QueryEeGroupSubscriptionsRequest) (*QueryEeGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryEeGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmEeEeSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_subscription_document.go b/udr/DataRepository/api_event_exposure_subscription_document.go new file mode 100644 index 00000000..c03ce80f --- /dev/null +++ b/udr/DataRepository/api_event_exposure_subscription_document.go @@ -0,0 +1,460 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureSubscriptionDocumentApiService service + +/* +EventExposureSubscriptionDocumentApiService Modify an individual ee subscription of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyEesubscriptionResponse +*/ + +// ModifyEesubscriptionRequest +type ModifyEesubscriptionRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyEesubscriptionRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyEesubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyEesubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyEesubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyEesubscriptionResponse struct { + PatchResult models.PatchResult +} + +type ModifyEesubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *EventExposureSubscriptionDocumentApiService) ModifyEesubscription(ctx context.Context, request *ModifyEesubscriptionRequest) (*ModifyEesubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyEesubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyEesubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyEesubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +EventExposureSubscriptionDocumentApiService Retrieve a eeSubscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - Unique ID of the subscription to remove + +@return QueryeeSubscriptionResponse +*/ + +// QueryeeSubscriptionRequest +type QueryeeSubscriptionRequest struct { + UeId *string + SubsId *string +} + +func (r *QueryeeSubscriptionRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryeeSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type QueryeeSubscriptionResponse struct { + QueryeeSubscriptionResponse200 map[string]interface{} +} + +type QueryeeSubscriptionError struct { +} + +func (a *EventExposureSubscriptionDocumentApiService) QueryeeSubscription(ctx context.Context, request *QueryeeSubscriptionRequest) (*QueryeeSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryeeSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.QueryeeSubscriptionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureSubscriptionDocumentApiService Deletes a eeSubscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - Unique ID of the subscription to remove + +@return RemoveeeSubscriptionsResponse +*/ + +// RemoveeeSubscriptionsRequest +type RemoveeeSubscriptionsRequest struct { + UeId *string + SubsId *string +} + +func (r *RemoveeeSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveeeSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveeeSubscriptionsResponse struct { +} + +type RemoveeeSubscriptionsError struct { +} + +func (a *EventExposureSubscriptionDocumentApiService) RemoveeeSubscriptions(ctx context.Context, request *RemoveeeSubscriptionsRequest) (*RemoveeeSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveeeSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureSubscriptionDocumentApiService Update an individual ee subscriptions of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param Body - + +@return UpdateEesubscriptionsResponse +*/ + +// UpdateEesubscriptionsRequest +type UpdateEesubscriptionsRequest struct { + UeId *string + SubsId *string + Body *models.UdmEeEeSubscription +} + +func (r *UpdateEesubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateEesubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *UpdateEesubscriptionsRequest) SetBody(Body models.UdmEeEeSubscription) { + r.Body = &Body +} + +type UpdateEesubscriptionsResponse struct { +} + +type UpdateEesubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *EventExposureSubscriptionDocumentApiService) UpdateEesubscriptions(ctx context.Context, request *UpdateEesubscriptionsRequest) (*UpdateEesubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateEesubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 404: + var v UpdateEesubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_event_exposure_subscriptions_collection.go b/udr/DataRepository/api_event_exposure_subscriptions_collection.go new file mode 100644 index 00000000..418d3b23 --- /dev/null +++ b/udr/DataRepository/api_event_exposure_subscriptions_collection.go @@ -0,0 +1,253 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type EventExposureSubscriptionsCollectionApiService service + +/* +EventExposureSubscriptionsCollectionApiService Create individual EE subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param Body - + +@return CreateEeSubscriptionsResponse +*/ + +// CreateEeSubscriptionsRequest +type CreateEeSubscriptionsRequest struct { + UeId *string + Body *models.UdmEeEeSubscription +} + +func (r *CreateEeSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateEeSubscriptionsRequest) SetBody(Body models.UdmEeEeSubscription) { + r.Body = &Body +} + +type CreateEeSubscriptionsResponse struct { + Location string + UdmEeEeSubscription models.UdmEeEeSubscription +} + +type CreateEeSubscriptionsError struct { +} + +func (a *EventExposureSubscriptionsCollectionApiService) CreateEeSubscriptions(ctx context.Context, request *CreateEeSubscriptionsRequest) (*CreateEeSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateEeSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UdmEeEeSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +EventExposureSubscriptionsCollectionApiService Retrieves the ee subscriptions of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param EventTypes - Event Types + * @param NfIdentifiers - NF Identifiers + +@return QueryeesubscriptionsResponse +*/ + +// QueryeesubscriptionsRequest +type QueryeesubscriptionsRequest struct { + UeId *string + SupportedFeatures *string + EventTypes []models.UdmEeEventType + NfIdentifiers []models.NfIdentifier +} + +func (r *QueryeesubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryeesubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryeesubscriptionsRequest) SetEventTypes(EventTypes []models.UdmEeEventType) { + r.EventTypes = EventTypes +} +func (r *QueryeesubscriptionsRequest) SetNfIdentifiers(NfIdentifiers []models.NfIdentifier) { + r.NfIdentifiers = NfIdentifiers +} + +type QueryeesubscriptionsResponse struct { + EeSubscriptionExt []models.EeSubscriptionExt +} + +type QueryeesubscriptionsError struct { +} + +func (a *EventExposureSubscriptionsCollectionApiService) Queryeesubscriptions(ctx context.Context, request *QueryeesubscriptionsRequest) (*QueryeesubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryeesubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.EventTypes != nil { + if len(request.EventTypes) < 1 { + return &localVarReturnValue, openapi.ReportError("EventTypes must have at least 1 elements") + } + localVarQueryParams.Add("event-types", openapi.ParameterToString(request.EventTypes, "csv")) + } + if request.NfIdentifiers != nil { + if len(request.NfIdentifiers) < 1 { + return &localVarReturnValue, openapi.ReportError("NfIdentifiers must have at least 1 elements") + } + localVarQueryParams.Add("nf-identifiers", openapi.ParameterToString(request.NfIdentifiers, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.EeSubscriptionExt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_exposure_data_subscriptions_collection.go b/udr/DataRepository/api_exposure_data_subscriptions_collection.go new file mode 100644 index 00000000..caef4e6c --- /dev/null +++ b/udr/DataRepository/api_exposure_data_subscriptions_collection.go @@ -0,0 +1,367 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ExposureDataSubscriptionsCollectionApiService service + +/* +ExposureDataSubscriptionsCollectionApiService Create a subscription to receive notification of exposure data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExposureDataSubscription - + +@return CreateIndividualExposureDataSubscriptionResponse +*/ + +// CreateIndividualExposureDataSubscriptionRequest +type CreateIndividualExposureDataSubscriptionRequest struct { + ExposureDataSubscription *models.ExposureDataSubscription +} + +func (r *CreateIndividualExposureDataSubscriptionRequest) SetExposureDataSubscription(ExposureDataSubscription models.ExposureDataSubscription) { + r.ExposureDataSubscription = &ExposureDataSubscription +} + +type CreateIndividualExposureDataSubscriptionResponse struct { + Location string + ExposureDataSubscription models.ExposureDataSubscription +} + +type CreateIndividualExposureDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ExposureDataSubscriptionsCollectionApiService) CreateIndividualExposureDataSubscription(ctx context.Context, request *CreateIndividualExposureDataSubscriptionRequest) (*CreateIndividualExposureDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualExposureDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ExposureDataSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ExposureDataSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostRequest +type CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostRequest struct { + ExposureDataChangeNotification []models.ExposureDataChangeNotification +} + +func (r *CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostRequest) SetExposureDataChangeNotification(ExposureDataChangeNotification []models.ExposureDataChangeNotification) { + r.ExposureDataChangeNotification = ExposureDataChangeNotification +} + +type CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostResponse struct { +} + +type CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ExposureDataSubscriptionsCollectionApiService) CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPost(ctx context.Context, uri string, request *CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostRequest) (*CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ExposureDataChangeNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualExposureDataSubscriptionExposureDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udr/DataRepository/api_group_identifiers.go b/udr/DataRepository/api_group_identifiers.go new file mode 100644 index 00000000..ea01bd91 --- /dev/null +++ b/udr/DataRepository/api_group_identifiers.go @@ -0,0 +1,157 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type GroupIdentifiersApiService service + +/* +GroupIdentifiersApiService Mapping of Group Identifiers + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupId - External Group Identifier + * @param IntGroupId - Internal Group Identifier + * @param UeIdInd - Indication whether UE identifiers are required or not + * @param SupportedFeatures - Supported Features + +@return GetGroupIdentifiersResponse +*/ + +// GetGroupIdentifiersRequest +type GetGroupIdentifiersRequest struct { + ExtGroupId *string + IntGroupId *string + UeIdInd *bool + SupportedFeatures *string +} + +func (r *GetGroupIdentifiersRequest) SetExtGroupId(ExtGroupId string) { + r.ExtGroupId = &ExtGroupId +} +func (r *GetGroupIdentifiersRequest) SetIntGroupId(IntGroupId string) { + r.IntGroupId = &IntGroupId +} +func (r *GetGroupIdentifiersRequest) SetUeIdInd(UeIdInd bool) { + r.UeIdInd = &UeIdInd +} +func (r *GetGroupIdentifiersRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetGroupIdentifiersResponse struct { + GroupIdentifiers models.GroupIdentifiers +} + +type GetGroupIdentifiersError struct { + ProblemDetails models.ProblemDetails +} + +func (a *GroupIdentifiersApiService) GetGroupIdentifiers(ctx context.Context, request *GetGroupIdentifiersRequest) (*GetGroupIdentifiersResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetGroupIdentifiersResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/group-identifiers" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ExtGroupId != nil { + localVarQueryParams.Add("ext-group-id", openapi.ParameterToString(request.ExtGroupId, "multi")) + } + if request.IntGroupId != nil { + localVarQueryParams.Add("int-group-id", openapi.ParameterToString(request.IntGroupId, "multi")) + } + if request.UeIdInd != nil { + localVarQueryParams.Add("ue-id-ind", openapi.ParameterToString(request.UeIdInd, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.GroupIdentifiers, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v GetGroupIdentifiersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_hss_event_group_subscription_info_document.go b/udr/DataRepository/api_hss_event_group_subscription_info_document.go new file mode 100644 index 00000000..51d4c003 --- /dev/null +++ b/udr/DataRepository/api_hss_event_group_subscription_info_document.go @@ -0,0 +1,137 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type HSSEventGroupSubscriptionInfoDocumentApiService service + +/* +HSSEventGroupSubscriptionInfoDocumentApiService Create HSS Subscription Info for a group of UEs + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param SubsId - + * @param HssSubscriptionInfo - + +@return CreateHssGroupSubscriptionsResponse +*/ + +// CreateHssGroupSubscriptionsRequest +type CreateHssGroupSubscriptionsRequest struct { + ExternalGroupId *string + SubsId *string + HssSubscriptionInfo *models.HssSubscriptionInfo +} + +func (r *CreateHssGroupSubscriptionsRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *CreateHssGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateHssGroupSubscriptionsRequest) SetHssSubscriptionInfo(HssSubscriptionInfo models.HssSubscriptionInfo) { + r.HssSubscriptionInfo = &HssSubscriptionInfo +} + +type CreateHssGroupSubscriptionsResponse struct { + HssSubscriptionInfo models.HssSubscriptionInfo +} + +type CreateHssGroupSubscriptionsError struct { +} + +func (a *HSSEventGroupSubscriptionInfoDocumentApiService) CreateHssGroupSubscriptions(ctx context.Context, request *CreateHssGroupSubscriptionsRequest) (*CreateHssGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateHssGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.HssSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.HssSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_hss_event_subscription_info_document.go b/udr/DataRepository/api_hss_event_subscription_info_document.go new file mode 100644 index 00000000..62c176ec --- /dev/null +++ b/udr/DataRepository/api_hss_event_subscription_info_document.go @@ -0,0 +1,763 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type HSSEventSubscriptionInfoDocumentApiService service + +/* +HSSEventSubscriptionInfoDocumentApiService Create HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param HssSubscriptionInfo - + +@return CreateHSSSubscriptionsResponse +*/ + +// CreateHSSSubscriptionsRequest +type CreateHSSSubscriptionsRequest struct { + UeId *string + SubsId *string + HssSubscriptionInfo *models.HssSubscriptionInfo +} + +func (r *CreateHSSSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateHSSSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateHSSSubscriptionsRequest) SetHssSubscriptionInfo(HssSubscriptionInfo models.HssSubscriptionInfo) { + r.HssSubscriptionInfo = &HssSubscriptionInfo +} + +type CreateHSSSubscriptionsResponse struct { + HssSubscriptionInfo models.HssSubscriptionInfo +} + +type CreateHSSSubscriptionsError struct { +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) CreateHSSSubscriptions(ctx context.Context, request *CreateHSSSubscriptionsRequest) (*CreateHSSSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateHSSSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.HssSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.HssSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Retrieve HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param SubsId - + +@return GetHssGroupSubscriptionsResponse +*/ + +// GetHssGroupSubscriptionsRequest +type GetHssGroupSubscriptionsRequest struct { + ExternalGroupId *string + SubsId *string +} + +func (r *GetHssGroupSubscriptionsRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *GetHssGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetHssGroupSubscriptionsResponse struct { + HssSubscriptionInfo models.HssSubscriptionInfo +} + +type GetHssGroupSubscriptionsError struct { +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) GetHssGroupSubscriptions(ctx context.Context, request *GetHssGroupSubscriptionsRequest) (*GetHssGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetHssGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.HssSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Retrieve HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return GetHssSubscriptionInfoResponse +*/ + +// GetHssSubscriptionInfoRequest +type GetHssSubscriptionInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *GetHssSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetHssSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetHssSubscriptionInfoResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type GetHssSubscriptionInfoError struct { +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) GetHssSubscriptionInfo(ctx context.Context, request *GetHssSubscriptionInfoRequest) (*GetHssSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetHssSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Modify HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyHssGroupSubscriptionsResponse +*/ + +// ModifyHssGroupSubscriptionsRequest +type ModifyHssGroupSubscriptionsRequest struct { + ExternalGroupId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyHssGroupSubscriptionsRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *ModifyHssGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyHssGroupSubscriptionsRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyHssGroupSubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyHssGroupSubscriptionsResponse struct { + PatchResult models.PatchResult +} + +type ModifyHssGroupSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) ModifyHssGroupSubscriptions(ctx context.Context, request *ModifyHssGroupSubscriptionsRequest) (*ModifyHssGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyHssGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyHssGroupSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Modify HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyHssSubscriptionInfoResponse +*/ + +// ModifyHssSubscriptionInfoRequest +type ModifyHssSubscriptionInfoRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyHssSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyHssSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyHssSubscriptionInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyHssSubscriptionInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyHssSubscriptionInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifyHssSubscriptionInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) ModifyHssSubscriptionInfo(ctx context.Context, request *ModifyHssSubscriptionInfoRequest) (*ModifyHssSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyHssSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyHssSubscriptionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Delete HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param SubsId - + +@return RemoveHssGroupSubscriptionsResponse +*/ + +// RemoveHssGroupSubscriptionsRequest +type RemoveHssGroupSubscriptionsRequest struct { + ExternalGroupId *string + SubsId *string +} + +func (r *RemoveHssGroupSubscriptionsRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *RemoveHssGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveHssGroupSubscriptionsResponse struct { +} + +type RemoveHssGroupSubscriptionsError struct { +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) RemoveHssGroupSubscriptions(ctx context.Context, request *RemoveHssGroupSubscriptionsRequest) (*RemoveHssGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveHssGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSEventSubscriptionInfoDocumentApiService Delete HSS Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return RemoveHssSubscriptionsInfoResponse +*/ + +// RemoveHssSubscriptionsInfoRequest +type RemoveHssSubscriptionsInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *RemoveHssSubscriptionsInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveHssSubscriptionsInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveHssSubscriptionsInfoResponse struct { +} + +type RemoveHssSubscriptionsInfoError struct { +} + +func (a *HSSEventSubscriptionInfoDocumentApiService) RemoveHssSubscriptionsInfo(ctx context.Context, request *RemoveHssSubscriptionsInfoRequest) (*RemoveHssSubscriptionsInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveHssSubscriptionsInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/hss-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_hsssdm_subscription_info_document.go b/udr/DataRepository/api_hsssdm_subscription_info_document.go new file mode 100644 index 00000000..7b26cfe4 --- /dev/null +++ b/udr/DataRepository/api_hsssdm_subscription_info_document.go @@ -0,0 +1,443 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type HSSSDMSubscriptionInfoDocumentApiService service + +/* +HSSSDMSubscriptionInfoDocumentApiService Create HSS SDM Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param HssSubscriptionInfo - + +@return CreateHSSSDMSubscriptionsResponse +*/ + +// CreateHSSSDMSubscriptionsRequest +type CreateHSSSDMSubscriptionsRequest struct { + UeId *string + SubsId *string + HssSubscriptionInfo *models.HssSubscriptionInfo +} + +func (r *CreateHSSSDMSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateHSSSDMSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateHSSSDMSubscriptionsRequest) SetHssSubscriptionInfo(HssSubscriptionInfo models.HssSubscriptionInfo) { + r.HssSubscriptionInfo = &HssSubscriptionInfo +} + +type CreateHSSSDMSubscriptionsResponse struct { +} + +type CreateHSSSDMSubscriptionsError struct { +} + +func (a *HSSSDMSubscriptionInfoDocumentApiService) CreateHSSSDMSubscriptions(ctx context.Context, request *CreateHSSSDMSubscriptionsRequest) (*CreateHSSSDMSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateHSSSDMSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}/hss-sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.HssSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSSDMSubscriptionInfoDocumentApiService Retrieve HSS SDM Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return GetHssSDMSubscriptionInfoResponse +*/ + +// GetHssSDMSubscriptionInfoRequest +type GetHssSDMSubscriptionInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *GetHssSDMSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetHssSDMSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetHssSDMSubscriptionInfoResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type GetHssSDMSubscriptionInfoError struct { +} + +func (a *HSSSDMSubscriptionInfoDocumentApiService) GetHssSDMSubscriptionInfo(ctx context.Context, request *GetHssSDMSubscriptionInfoRequest) (*GetHssSDMSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetHssSDMSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}/hss-sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +HSSSDMSubscriptionInfoDocumentApiService Modify HSS SDM Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyHssSDMSubscriptionInfoResponse +*/ + +// ModifyHssSDMSubscriptionInfoRequest +type ModifyHssSDMSubscriptionInfoRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyHssSDMSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyHssSDMSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifyHssSDMSubscriptionInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyHssSDMSubscriptionInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyHssSDMSubscriptionInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifyHssSDMSubscriptionInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *HSSSDMSubscriptionInfoDocumentApiService) ModifyHssSDMSubscriptionInfo(ctx context.Context, request *ModifyHssSDMSubscriptionInfoRequest) (*ModifyHssSDMSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyHssSDMSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}/hss-sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyHssSDMSubscriptionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +HSSSDMSubscriptionInfoDocumentApiService Delete HSS SDM Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return RemoveHssSDMSubscriptionsInfoResponse +*/ + +// RemoveHssSDMSubscriptionsInfoRequest +type RemoveHssSDMSubscriptionsInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *RemoveHssSDMSubscriptionsInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveHssSDMSubscriptionsInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveHssSDMSubscriptionsInfoResponse struct { +} + +type RemoveHssSDMSubscriptionsInfoError struct { +} + +func (a *HSSSDMSubscriptionInfoDocumentApiService) RemoveHssSDMSubscriptionsInfo(ctx context.Context, request *RemoveHssSDMSubscriptionsInfoRequest) (*RemoveHssSDMSubscriptionsInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveHssSDMSubscriptionsInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}/hss-sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_application_data_subscription_document.go b/udr/DataRepository/api_individual_application_data_subscription_document.go new file mode 100644 index 00000000..135199c1 --- /dev/null +++ b/udr/DataRepository/api_individual_application_data_subscription_document.go @@ -0,0 +1,513 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualApplicationDataSubscriptionDocumentApiService service + +/* +IndividualApplicationDataSubscriptionDocumentApiService Delete the individual Application Data subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - + +@return DeleteIndividualApplicationDataSubscriptionResponse +*/ + +// DeleteIndividualApplicationDataSubscriptionRequest +type DeleteIndividualApplicationDataSubscriptionRequest struct { + SubsId *string +} + +func (r *DeleteIndividualApplicationDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type DeleteIndividualApplicationDataSubscriptionResponse struct { +} + +type DeleteIndividualApplicationDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualApplicationDataSubscriptionDocumentApiService) DeleteIndividualApplicationDataSubscription(ctx context.Context, request *DeleteIndividualApplicationDataSubscriptionRequest) (*DeleteIndividualApplicationDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualApplicationDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationDataSubscriptionDocumentApiService Get an existing individual Application Data Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - String identifying a subscription to the Individual Application Data Subscription + +@return ReadIndividualApplicationDataSubscriptionResponse +*/ + +// ReadIndividualApplicationDataSubscriptionRequest +type ReadIndividualApplicationDataSubscriptionRequest struct { + SubsId *string +} + +func (r *ReadIndividualApplicationDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type ReadIndividualApplicationDataSubscriptionResponse struct { + ApplicationDataSubs models.ApplicationDataSubs +} + +type ReadIndividualApplicationDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualApplicationDataSubscriptionDocumentApiService) ReadIndividualApplicationDataSubscription(ctx context.Context, request *ReadIndividualApplicationDataSubscriptionRequest) (*ReadIndividualApplicationDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualApplicationDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ApplicationDataSubs, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualApplicationDataSubscriptionDocumentApiService Modify a subscription to receive notification of application data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - + * @param ApplicationDataSubs - + +@return ReplaceIndividualApplicationDataSubscriptionResponse +*/ + +// ReplaceIndividualApplicationDataSubscriptionRequest +type ReplaceIndividualApplicationDataSubscriptionRequest struct { + SubsId *string + ApplicationDataSubs *models.ApplicationDataSubs +} + +func (r *ReplaceIndividualApplicationDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ReplaceIndividualApplicationDataSubscriptionRequest) SetApplicationDataSubs(ApplicationDataSubs models.ApplicationDataSubs) { + r.ApplicationDataSubs = &ApplicationDataSubs +} + +type ReplaceIndividualApplicationDataSubscriptionResponse struct { + ApplicationDataSubs models.ApplicationDataSubs +} + +type ReplaceIndividualApplicationDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualApplicationDataSubscriptionDocumentApiService) ReplaceIndividualApplicationDataSubscription(ctx context.Context, request *ReplaceIndividualApplicationDataSubscriptionRequest) (*ReplaceIndividualApplicationDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualApplicationDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ApplicationDataSubs + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ApplicationDataSubs, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualApplicationDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_applied_bdt_policy_data_document.go b/udr/DataRepository/api_individual_applied_bdt_policy_data_document.go new file mode 100644 index 00000000..b8247d6b --- /dev/null +++ b/udr/DataRepository/api_individual_applied_bdt_policy_data_document.go @@ -0,0 +1,545 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualAppliedBDTPolicyDataDocumentApiService service + +/* +IndividualAppliedBDTPolicyDataDocumentApiService Create an individual applied BDT Policy Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyId - The Identifier of an Individual Applied BDT Policy Data to be created or updated. It shall apply the format of Data type string. + * @param BdtPolicyData - + +@return CreateIndividualAppliedBdtPolicyDataResponse +*/ + +// CreateIndividualAppliedBdtPolicyDataRequest +type CreateIndividualAppliedBdtPolicyDataRequest struct { + BdtPolicyId *string + BdtPolicyData *models.BdtPolicyData +} + +func (r *CreateIndividualAppliedBdtPolicyDataRequest) SetBdtPolicyId(BdtPolicyId string) { + r.BdtPolicyId = &BdtPolicyId +} +func (r *CreateIndividualAppliedBdtPolicyDataRequest) SetBdtPolicyData(BdtPolicyData models.BdtPolicyData) { + r.BdtPolicyData = &BdtPolicyData +} + +type CreateIndividualAppliedBdtPolicyDataResponse struct { + Location string + BdtPolicyData models.BdtPolicyData +} + +type CreateIndividualAppliedBdtPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualAppliedBDTPolicyDataDocumentApiService) CreateIndividualAppliedBdtPolicyData(ctx context.Context, request *CreateIndividualAppliedBdtPolicyDataRequest) (*CreateIndividualAppliedBdtPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualAppliedBdtPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/bdtPolicyData/{bdtPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", openapi.StringOfValue(*request.BdtPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BdtPolicyData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualAppliedBDTPolicyDataDocumentApiService Delete an individual Applied BDT Policy Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyId - The Identifier of an Individual Applied BDT Policy Data to be deleted. It shall apply the format of Data type string. + +@return DeleteIndividualAppliedBdtPolicyDataResponse +*/ + +// DeleteIndividualAppliedBdtPolicyDataRequest +type DeleteIndividualAppliedBdtPolicyDataRequest struct { + BdtPolicyId *string +} + +func (r *DeleteIndividualAppliedBdtPolicyDataRequest) SetBdtPolicyId(BdtPolicyId string) { + r.BdtPolicyId = &BdtPolicyId +} + +type DeleteIndividualAppliedBdtPolicyDataResponse struct { +} + +type DeleteIndividualAppliedBdtPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualAppliedBDTPolicyDataDocumentApiService) DeleteIndividualAppliedBdtPolicyData(ctx context.Context, request *DeleteIndividualAppliedBdtPolicyDataRequest) (*DeleteIndividualAppliedBdtPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualAppliedBdtPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/bdtPolicyData/{bdtPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", openapi.StringOfValue(*request.BdtPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualAppliedBDTPolicyDataDocumentApiService Modify part of the properties of an individual Applied BDT Policy Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtPolicyId - The Identifier of an Individual Applied BDT Policy Data to be updated. It shall apply the format of Data type string. + * @param BdtPolicyDataPatch - + +@return UpdateIndividualAppliedBdtPolicyDataResponse +*/ + +// UpdateIndividualAppliedBdtPolicyDataRequest +type UpdateIndividualAppliedBdtPolicyDataRequest struct { + BdtPolicyId *string + BdtPolicyDataPatch *models.BdtPolicyDataPatch +} + +func (r *UpdateIndividualAppliedBdtPolicyDataRequest) SetBdtPolicyId(BdtPolicyId string) { + r.BdtPolicyId = &BdtPolicyId +} +func (r *UpdateIndividualAppliedBdtPolicyDataRequest) SetBdtPolicyDataPatch(BdtPolicyDataPatch models.BdtPolicyDataPatch) { + r.BdtPolicyDataPatch = &BdtPolicyDataPatch +} + +type UpdateIndividualAppliedBdtPolicyDataResponse struct { + BdtPolicyData models.BdtPolicyData +} + +type UpdateIndividualAppliedBdtPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualAppliedBDTPolicyDataDocumentApiService) UpdateIndividualAppliedBdtPolicyData(ctx context.Context, request *UpdateIndividualAppliedBdtPolicyDataRequest) (*UpdateIndividualAppliedBdtPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndividualAppliedBdtPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/bdtPolicyData/{bdtPolicyId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtPolicyId"+"}", openapi.StringOfValue(*request.BdtPolicyId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BdtPolicyDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndividualAppliedBdtPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_auth_event_document.go b/udr/DataRepository/api_individual_auth_event_document.go new file mode 100644 index 00000000..750669ab --- /dev/null +++ b/udr/DataRepository/api_individual_auth_event_document.go @@ -0,0 +1,239 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualAuthEventDocumentApiService service + +/* +IndividualAuthEventDocumentApiService To remove the Individual Authentication Status of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingNetworkName - Serving Network Name + +@return DeleteIndividualAuthenticationStatusResponse +*/ + +// DeleteIndividualAuthenticationStatusRequest +type DeleteIndividualAuthenticationStatusRequest struct { + UeId *string + ServingNetworkName *string +} + +func (r *DeleteIndividualAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *DeleteIndividualAuthenticationStatusRequest) SetServingNetworkName(ServingNetworkName string) { + r.ServingNetworkName = &ServingNetworkName +} + +type DeleteIndividualAuthenticationStatusResponse struct { +} + +type DeleteIndividualAuthenticationStatusError struct { +} + +func (a *IndividualAuthEventDocumentApiService) DeleteIndividualAuthenticationStatus(ctx context.Context, request *DeleteIndividualAuthenticationStatusRequest) (*DeleteIndividualAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status/{servingNetworkName}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingNetworkName"+"}", openapi.StringOfValue(*request.ServingNetworkName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +IndividualAuthEventDocumentApiService Retrieves the Individual Authentication Status of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingNetworkName - Serving Network Name + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryIndividualAuthenticationStatusResponse +*/ + +// QueryIndividualAuthenticationStatusRequest +type QueryIndividualAuthenticationStatusRequest struct { + UeId *string + ServingNetworkName *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryIndividualAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryIndividualAuthenticationStatusRequest) SetServingNetworkName(ServingNetworkName string) { + r.ServingNetworkName = &ServingNetworkName +} +func (r *QueryIndividualAuthenticationStatusRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryIndividualAuthenticationStatusRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryIndividualAuthenticationStatusResponse struct { + AuthEvent models.AuthEvent +} + +type QueryIndividualAuthenticationStatusError struct { +} + +func (a *IndividualAuthEventDocumentApiService) QueryIndividualAuthenticationStatus(ctx context.Context, request *QueryIndividualAuthenticationStatusRequest) (*QueryIndividualAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryIndividualAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status/{servingNetworkName}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingNetworkName"+"}", openapi.StringOfValue(*request.ServingNetworkName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthEvent, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_authentication_status_document.go b/udr/DataRepository/api_individual_authentication_status_document.go new file mode 100644 index 00000000..b82e59c1 --- /dev/null +++ b/udr/DataRepository/api_individual_authentication_status_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualAuthenticationStatusDocumentApiService service + +/* +IndividualAuthenticationStatusDocumentApiService To store the individual Authentication Status data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingNetworkName - Serving Network Name + * @param AuthEvent - + +@return CreateIndividualAuthenticationStatusResponse +*/ + +// CreateIndividualAuthenticationStatusRequest +type CreateIndividualAuthenticationStatusRequest struct { + UeId *string + ServingNetworkName *string + AuthEvent *models.AuthEvent +} + +func (r *CreateIndividualAuthenticationStatusRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateIndividualAuthenticationStatusRequest) SetServingNetworkName(ServingNetworkName string) { + r.ServingNetworkName = &ServingNetworkName +} +func (r *CreateIndividualAuthenticationStatusRequest) SetAuthEvent(AuthEvent models.AuthEvent) { + r.AuthEvent = &AuthEvent +} + +type CreateIndividualAuthenticationStatusResponse struct { +} + +type CreateIndividualAuthenticationStatusError struct { +} + +func (a *IndividualAuthenticationStatusDocumentApiService) CreateIndividualAuthenticationStatus(ctx context.Context, request *CreateIndividualAuthenticationStatusRequest) (*CreateIndividualAuthenticationStatusResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualAuthenticationStatusResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/authentication-data/authentication-status/{servingNetworkName}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingNetworkName"+"}", openapi.StringOfValue(*request.ServingNetworkName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.AuthEvent + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_bdt_data_document.go b/udr/DataRepository/api_individual_bdt_data_document.go new file mode 100644 index 00000000..8d8b12c5 --- /dev/null +++ b/udr/DataRepository/api_individual_bdt_data_document.go @@ -0,0 +1,704 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualBdtDataDocumentApiService service + +/* +IndividualBdtDataDocumentApiService Creates an BDT data resource associated with an BDT reference Id + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtReferenceId - + * @param BdtData - + +@return CreateIndividualBdtDataResponse +*/ + +// CreateIndividualBdtDataRequest +type CreateIndividualBdtDataRequest struct { + BdtReferenceId *string + BdtData *models.BdtData +} + +func (r *CreateIndividualBdtDataRequest) SetBdtReferenceId(BdtReferenceId string) { + r.BdtReferenceId = &BdtReferenceId +} +func (r *CreateIndividualBdtDataRequest) SetBdtData(BdtData models.BdtData) { + r.BdtData = &BdtData +} + +type CreateIndividualBdtDataResponse struct { + Location string + BdtData models.BdtData +} + +type CreateIndividualBdtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualBdtDataDocumentApiService) CreateIndividualBdtData(ctx context.Context, request *CreateIndividualBdtDataRequest) (*CreateIndividualBdtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualBdtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", openapi.StringOfValue(*request.BdtReferenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BdtData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.BdtData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualBdtDataDocumentApiService Deletes an BDT data resource associated with an BDT reference Id + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtReferenceId - + +@return DeleteIndividualBdtDataResponse +*/ + +// DeleteIndividualBdtDataRequest +type DeleteIndividualBdtDataRequest struct { + BdtReferenceId *string +} + +func (r *DeleteIndividualBdtDataRequest) SetBdtReferenceId(BdtReferenceId string) { + r.BdtReferenceId = &BdtReferenceId +} + +type DeleteIndividualBdtDataResponse struct { +} + +type DeleteIndividualBdtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualBdtDataDocumentApiService) DeleteIndividualBdtData(ctx context.Context, request *DeleteIndividualBdtDataRequest) (*DeleteIndividualBdtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualBdtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", openapi.StringOfValue(*request.BdtReferenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualBdtDataDocumentApiService Retrieves the BDT data information associated with a BDT reference Id + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtReferenceId - + * @param SuppFeat - Supported Features + +@return ReadIndividualBdtDataResponse +*/ + +// ReadIndividualBdtDataRequest +type ReadIndividualBdtDataRequest struct { + BdtReferenceId *string + SuppFeat *string +} + +func (r *ReadIndividualBdtDataRequest) SetBdtReferenceId(BdtReferenceId string) { + r.BdtReferenceId = &BdtReferenceId +} +func (r *ReadIndividualBdtDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadIndividualBdtDataResponse struct { + BdtData models.BdtData +} + +type ReadIndividualBdtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualBdtDataDocumentApiService) ReadIndividualBdtData(ctx context.Context, request *ReadIndividualBdtDataRequest) (*ReadIndividualBdtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualBdtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", openapi.StringOfValue(*request.BdtReferenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualBdtDataDocumentApiService Modifies an BDT data resource associated with an BDT reference Id + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BdtReferenceId - + * @param BdtDataPatch - + +@return UpdateIndividualBdtDataResponse +*/ + +// UpdateIndividualBdtDataRequest +type UpdateIndividualBdtDataRequest struct { + BdtReferenceId *string + BdtDataPatch *models.BdtDataPatch +} + +func (r *UpdateIndividualBdtDataRequest) SetBdtReferenceId(BdtReferenceId string) { + r.BdtReferenceId = &BdtReferenceId +} +func (r *UpdateIndividualBdtDataRequest) SetBdtDataPatch(BdtDataPatch models.BdtDataPatch) { + r.BdtDataPatch = &BdtDataPatch +} + +type UpdateIndividualBdtDataResponse struct { + BdtData models.BdtData +} + +type UpdateIndividualBdtDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualBdtDataDocumentApiService) UpdateIndividualBdtData(ctx context.Context, request *UpdateIndividualBdtDataRequest) (*UpdateIndividualBdtDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndividualBdtDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/bdt-data/{bdtReferenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"bdtReferenceId"+"}", openapi.StringOfValue(*request.BdtReferenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BdtDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BdtData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndividualBdtDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_exposure_data_subscription_document.go b/udr/DataRepository/api_individual_exposure_data_subscription_document.go new file mode 100644 index 00000000..39adfc4c --- /dev/null +++ b/udr/DataRepository/api_individual_exposure_data_subscription_document.go @@ -0,0 +1,355 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualExposureDataSubscriptionDocumentApiService service + +/* +IndividualExposureDataSubscriptionDocumentApiService Deletes the individual Exposure Data subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Subscription id + +@return DeleteIndividualExposureDataSubscriptionResponse +*/ + +// DeleteIndividualExposureDataSubscriptionRequest +type DeleteIndividualExposureDataSubscriptionRequest struct { + SubId *string +} + +func (r *DeleteIndividualExposureDataSubscriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} + +type DeleteIndividualExposureDataSubscriptionResponse struct { +} + +type DeleteIndividualExposureDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualExposureDataSubscriptionDocumentApiService) DeleteIndividualExposureDataSubscription(ctx context.Context, request *DeleteIndividualExposureDataSubscriptionRequest) (*DeleteIndividualExposureDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualExposureDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualExposureDataSubscriptionDocumentApiService updates a subscription to receive notifications of exposure data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Subscription id + * @param ExposureDataSubscription - + +@return ReplaceIndividualExposureDataSubscriptionResponse +*/ + +// ReplaceIndividualExposureDataSubscriptionRequest +type ReplaceIndividualExposureDataSubscriptionRequest struct { + SubId *string + ExposureDataSubscription *models.ExposureDataSubscription +} + +func (r *ReplaceIndividualExposureDataSubscriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} +func (r *ReplaceIndividualExposureDataSubscriptionRequest) SetExposureDataSubscription(ExposureDataSubscription models.ExposureDataSubscription) { + r.ExposureDataSubscription = &ExposureDataSubscription +} + +type ReplaceIndividualExposureDataSubscriptionResponse struct { + ExposureDataSubscription models.ExposureDataSubscription +} + +type ReplaceIndividualExposureDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualExposureDataSubscriptionDocumentApiService) ReplaceIndividualExposureDataSubscription(ctx context.Context, request *ReplaceIndividualExposureDataSubscriptionRequest) (*ReplaceIndividualExposureDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualExposureDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/subs-to-notify/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ExposureDataSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ExposureDataSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualExposureDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_influence_data_document.go b/udr/DataRepository/api_individual_influence_data_document.go new file mode 100644 index 00000000..ad549271 --- /dev/null +++ b/udr/DataRepository/api_individual_influence_data_document.go @@ -0,0 +1,553 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualInfluenceDataDocumentApiService service + +/* +IndividualInfluenceDataDocumentApiService Create or update an individual Influence Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InfluenceId - The Identifier of an Individual Influence Data to be created or updated. It shall apply the format of Data type string. + * @param TrafficInfluData - + +@return CreateOrReplaceIndividualInfluenceDataResponse +*/ + +// CreateOrReplaceIndividualInfluenceDataRequest +type CreateOrReplaceIndividualInfluenceDataRequest struct { + InfluenceId *string + TrafficInfluData *models.TrafficInfluData +} + +func (r *CreateOrReplaceIndividualInfluenceDataRequest) SetInfluenceId(InfluenceId string) { + r.InfluenceId = &InfluenceId +} +func (r *CreateOrReplaceIndividualInfluenceDataRequest) SetTrafficInfluData(TrafficInfluData models.TrafficInfluData) { + r.TrafficInfluData = &TrafficInfluData +} + +type CreateOrReplaceIndividualInfluenceDataResponse struct { + Location string + TrafficInfluData models.TrafficInfluData +} + +type CreateOrReplaceIndividualInfluenceDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataDocumentApiService) CreateOrReplaceIndividualInfluenceData(ctx context.Context, request *CreateOrReplaceIndividualInfluenceDataRequest) (*CreateOrReplaceIndividualInfluenceDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceIndividualInfluenceDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", openapi.StringOfValue(*request.InfluenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TrafficInfluData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualInfluenceDataDocumentApiService Delete an individual Influence Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InfluenceId - The Identifier of an Individual Influence Data to be deleted. It shall apply the format of Data type string. + +@return DeleteIndividualInfluenceDataResponse +*/ + +// DeleteIndividualInfluenceDataRequest +type DeleteIndividualInfluenceDataRequest struct { + InfluenceId *string +} + +func (r *DeleteIndividualInfluenceDataRequest) SetInfluenceId(InfluenceId string) { + r.InfluenceId = &InfluenceId +} + +type DeleteIndividualInfluenceDataResponse struct { +} + +type DeleteIndividualInfluenceDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataDocumentApiService) DeleteIndividualInfluenceData(ctx context.Context, request *DeleteIndividualInfluenceDataRequest) (*DeleteIndividualInfluenceDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualInfluenceDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", openapi.StringOfValue(*request.InfluenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualInfluenceDataDocumentApiService Modify part of the properties of an individual Influence Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InfluenceId - The Identifier of an Individual Influence Data to be updated. It shall apply the format of Data type string. + * @param TrafficInfluDataPatch - + +@return UpdateIndividualInfluenceDataResponse +*/ + +// UpdateIndividualInfluenceDataRequest +type UpdateIndividualInfluenceDataRequest struct { + InfluenceId *string + TrafficInfluDataPatch *models.TrafficInfluDataPatch +} + +func (r *UpdateIndividualInfluenceDataRequest) SetInfluenceId(InfluenceId string) { + r.InfluenceId = &InfluenceId +} +func (r *UpdateIndividualInfluenceDataRequest) SetTrafficInfluDataPatch(TrafficInfluDataPatch models.TrafficInfluDataPatch) { + r.TrafficInfluDataPatch = &TrafficInfluDataPatch +} + +type UpdateIndividualInfluenceDataResponse struct { + TrafficInfluData models.TrafficInfluData +} + +type UpdateIndividualInfluenceDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataDocumentApiService) UpdateIndividualInfluenceData(ctx context.Context, request *UpdateIndividualInfluenceDataRequest) (*UpdateIndividualInfluenceDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndividualInfluenceDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/{influenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"influenceId"+"}", openapi.StringOfValue(*request.InfluenceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TrafficInfluDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndividualInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_influence_data_subscription_document.go b/udr/DataRepository/api_individual_influence_data_subscription_document.go new file mode 100644 index 00000000..25ce8477 --- /dev/null +++ b/udr/DataRepository/api_individual_influence_data_subscription_document.go @@ -0,0 +1,513 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualInfluenceDataSubscriptionDocumentApiService service + +/* +IndividualInfluenceDataSubscriptionDocumentApiService Delete an individual Influence Data Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Individual Influence Data Subscription + +@return DeleteIndividualInfluenceDataSubscriptionResponse +*/ + +// DeleteIndividualInfluenceDataSubscriptionRequest +type DeleteIndividualInfluenceDataSubscriptionRequest struct { + SubscriptionId *string +} + +func (r *DeleteIndividualInfluenceDataSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type DeleteIndividualInfluenceDataSubscriptionResponse struct { +} + +type DeleteIndividualInfluenceDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataSubscriptionDocumentApiService) DeleteIndividualInfluenceDataSubscription(ctx context.Context, request *DeleteIndividualInfluenceDataSubscriptionRequest) (*DeleteIndividualInfluenceDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualInfluenceDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualInfluenceDataSubscriptionDocumentApiService Get an existing individual Influence Data Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Individual Influence Data Subscription + +@return ReadIndividualInfluenceDataSubscriptionResponse +*/ + +// ReadIndividualInfluenceDataSubscriptionRequest +type ReadIndividualInfluenceDataSubscriptionRequest struct { + SubscriptionId *string +} + +func (r *ReadIndividualInfluenceDataSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} + +type ReadIndividualInfluenceDataSubscriptionResponse struct { + TrafficInfluSub models.TrafficInfluSub +} + +type ReadIndividualInfluenceDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataSubscriptionDocumentApiService) ReadIndividualInfluenceDataSubscription(ctx context.Context, request *ReadIndividualInfluenceDataSubscriptionRequest) (*ReadIndividualInfluenceDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualInfluenceDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualInfluenceDataSubscriptionDocumentApiService Modify an existing individual Influence Data Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionId - String identifying a subscription to the Individual Influence Data Subscription + * @param TrafficInfluSub - + +@return ReplaceIndividualInfluenceDataSubscriptionResponse +*/ + +// ReplaceIndividualInfluenceDataSubscriptionRequest +type ReplaceIndividualInfluenceDataSubscriptionRequest struct { + SubscriptionId *string + TrafficInfluSub *models.TrafficInfluSub +} + +func (r *ReplaceIndividualInfluenceDataSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *ReplaceIndividualInfluenceDataSubscriptionRequest) SetTrafficInfluSub(TrafficInfluSub models.TrafficInfluSub) { + r.TrafficInfluSub = &TrafficInfluSub +} + +type ReplaceIndividualInfluenceDataSubscriptionResponse struct { + TrafficInfluSub models.TrafficInfluSub +} + +type ReplaceIndividualInfluenceDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualInfluenceDataSubscriptionDocumentApiService) ReplaceIndividualInfluenceDataSubscription(ctx context.Context, request *ReplaceIndividualInfluenceDataSubscriptionRequest) (*ReplaceIndividualInfluenceDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualInfluenceDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TrafficInfluSub + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_iptv_configuration_data_document.go b/udr/DataRepository/api_individual_iptv_configuration_data_document.go new file mode 100644 index 00000000..41472899 --- /dev/null +++ b/udr/DataRepository/api_individual_iptv_configuration_data_document.go @@ -0,0 +1,561 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualIPTVConfigurationDataDocumentApiService service + +/* +IndividualIPTVConfigurationDataDocumentApiService Create or update an individual IPTV configuration resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ConfigurationId - The Identifier of an Individual IPTV Configuration Data to be created or updated. It shall apply the format of Data type string. + * @param IptvConfigData - + +@return CreateOrReplaceIndividualIPTVConfigurationDataResponse +*/ + +// CreateOrReplaceIndividualIPTVConfigurationDataRequest +type CreateOrReplaceIndividualIPTVConfigurationDataRequest struct { + ConfigurationId *string + IptvConfigData *models.IptvConfigData +} + +func (r *CreateOrReplaceIndividualIPTVConfigurationDataRequest) SetConfigurationId(ConfigurationId string) { + r.ConfigurationId = &ConfigurationId +} +func (r *CreateOrReplaceIndividualIPTVConfigurationDataRequest) SetIptvConfigData(IptvConfigData models.IptvConfigData) { + r.IptvConfigData = &IptvConfigData +} + +type CreateOrReplaceIndividualIPTVConfigurationDataResponse struct { + Location string + IptvConfigData models.IptvConfigData +} + +type CreateOrReplaceIndividualIPTVConfigurationDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualIPTVConfigurationDataDocumentApiService) CreateOrReplaceIndividualIPTVConfigurationData(ctx context.Context, request *CreateOrReplaceIndividualIPTVConfigurationDataRequest) (*CreateOrReplaceIndividualIPTVConfigurationDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceIndividualIPTVConfigurationDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/iptvConfigData/{configurationId}" + localVarPath = strings.Replace(localVarPath, "{"+"configurationId"+"}", openapi.StringOfValue(*request.ConfigurationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.IptvConfigData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.IptvConfigData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.IptvConfigData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualIPTVConfigurationDataDocumentApiService Delete an individual IPTV configuration resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ConfigurationId - The Identifier of an Individual IPTV Configuration to be deleted. It shall apply the format of Data type string. + +@return DeleteIndividualIPTVConfigurationDataResponse +*/ + +// DeleteIndividualIPTVConfigurationDataRequest +type DeleteIndividualIPTVConfigurationDataRequest struct { + ConfigurationId *string +} + +func (r *DeleteIndividualIPTVConfigurationDataRequest) SetConfigurationId(ConfigurationId string) { + r.ConfigurationId = &ConfigurationId +} + +type DeleteIndividualIPTVConfigurationDataResponse struct { +} + +type DeleteIndividualIPTVConfigurationDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualIPTVConfigurationDataDocumentApiService) DeleteIndividualIPTVConfigurationData(ctx context.Context, request *DeleteIndividualIPTVConfigurationDataRequest) (*DeleteIndividualIPTVConfigurationDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualIPTVConfigurationDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/iptvConfigData/{configurationId}" + localVarPath = strings.Replace(localVarPath, "{"+"configurationId"+"}", openapi.StringOfValue(*request.ConfigurationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualIPTVConfigurationDataDocumentApiService Partial update an individual IPTV configuration resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ConfigurationId - The Identifier of an Individual IPTV Configuration Data to be updated. It shall apply the format of Data type string. + * @param IptvConfigDataPatch - + +@return PartialReplaceIndividualIPTVConfigurationDataResponse +*/ + +// PartialReplaceIndividualIPTVConfigurationDataRequest +type PartialReplaceIndividualIPTVConfigurationDataRequest struct { + ConfigurationId *string + IptvConfigDataPatch *models.IptvConfigDataPatch +} + +func (r *PartialReplaceIndividualIPTVConfigurationDataRequest) SetConfigurationId(ConfigurationId string) { + r.ConfigurationId = &ConfigurationId +} +func (r *PartialReplaceIndividualIPTVConfigurationDataRequest) SetIptvConfigDataPatch(IptvConfigDataPatch models.IptvConfigDataPatch) { + r.IptvConfigDataPatch = &IptvConfigDataPatch +} + +type PartialReplaceIndividualIPTVConfigurationDataResponse struct { + IptvConfigData models.IptvConfigData +} + +type PartialReplaceIndividualIPTVConfigurationDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualIPTVConfigurationDataDocumentApiService) PartialReplaceIndividualIPTVConfigurationData(ctx context.Context, request *PartialReplaceIndividualIPTVConfigurationDataRequest) (*PartialReplaceIndividualIPTVConfigurationDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PartialReplaceIndividualIPTVConfigurationDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/iptvConfigData/{configurationId}" + localVarPath = strings.Replace(localVarPath, "{"+"configurationId"+"}", openapi.StringOfValue(*request.ConfigurationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.IptvConfigDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IptvConfigData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v PartialReplaceIndividualIPTVConfigurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_pfd_data_document.go b/udr/DataRepository/api_individual_pfd_data_document.go new file mode 100644 index 00000000..75586038 --- /dev/null +++ b/udr/DataRepository/api_individual_pfd_data_document.go @@ -0,0 +1,530 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPFDDataDocumentApiService service + +/* +IndividualPFDDataDocumentApiService Create or update the corresponding PFDs for the specified application identifier + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppId - Indicate the application identifier for the request pfd(s). It shall apply the format of Data type ApplicationId. + * @param PfdDataForAppExt - + +@return CreateOrReplaceIndividualPFDDataResponse +*/ + +// CreateOrReplaceIndividualPFDDataRequest +type CreateOrReplaceIndividualPFDDataRequest struct { + AppId *string + PfdDataForAppExt *models.PfdDataForAppExt +} + +func (r *CreateOrReplaceIndividualPFDDataRequest) SetAppId(AppId string) { + r.AppId = &AppId +} +func (r *CreateOrReplaceIndividualPFDDataRequest) SetPfdDataForAppExt(PfdDataForAppExt models.PfdDataForAppExt) { + r.PfdDataForAppExt = &PfdDataForAppExt +} + +type CreateOrReplaceIndividualPFDDataResponse struct { + Location string + PfdDataForAppExt models.PfdDataForAppExt +} + +type CreateOrReplaceIndividualPFDDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualPFDDataDocumentApiService) CreateOrReplaceIndividualPFDData(ctx context.Context, request *CreateOrReplaceIndividualPFDDataRequest) (*CreateOrReplaceIndividualPFDDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceIndividualPFDDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" + localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", openapi.StringOfValue(*request.AppId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PfdDataForAppExt + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForAppExt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForAppExt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPFDDataDocumentApiService Delete the corresponding PFDs of the specified application identifier + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppId - Indicate the application identifier for the request pfd(s). It shall apply the format of Data type ApplicationId. + +@return DeleteIndividualPFDDataResponse +*/ + +// DeleteIndividualPFDDataRequest +type DeleteIndividualPFDDataRequest struct { + AppId *string +} + +func (r *DeleteIndividualPFDDataRequest) SetAppId(AppId string) { + r.AppId = &AppId +} + +type DeleteIndividualPFDDataResponse struct { +} + +type DeleteIndividualPFDDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualPFDDataDocumentApiService) DeleteIndividualPFDData(ctx context.Context, request *DeleteIndividualPFDDataRequest) (*DeleteIndividualPFDDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualPFDDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" + localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", openapi.StringOfValue(*request.AppId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPFDDataDocumentApiService Retrieve the corresponding PFDs of the specified application identifier + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppId - Indicate the application identifier for the request pfd(s). It shall apply the format of Data type ApplicationId. + * @param SuppFeat - Supported Features + +@return ReadIndividualPFDDataResponse +*/ + +// ReadIndividualPFDDataRequest +type ReadIndividualPFDDataRequest struct { + AppId *string + SuppFeat *string +} + +func (r *ReadIndividualPFDDataRequest) SetAppId(AppId string) { + r.AppId = &AppId +} +func (r *ReadIndividualPFDDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadIndividualPFDDataResponse struct { + PfdDataForAppExt models.PfdDataForAppExt +} + +type ReadIndividualPFDDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualPFDDataDocumentApiService) ReadIndividualPFDData(ctx context.Context, request *ReadIndividualPFDDataRequest) (*ReadIndividualPFDDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIndividualPFDDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/pfds/{appId}" + localVarPath = strings.Replace(localVarPath, "{"+"appId"+"}", openapi.StringOfValue(*request.AppId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForAppExt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIndividualPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_policy_data_subscription_document.go b/udr/DataRepository/api_individual_policy_data_subscription_document.go new file mode 100644 index 00000000..cbde99e4 --- /dev/null +++ b/udr/DataRepository/api_individual_policy_data_subscription_document.go @@ -0,0 +1,355 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPolicyDataSubscriptionDocumentApiService service + +/* +IndividualPolicyDataSubscriptionDocumentApiService Delete the individual Policy Data subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - + +@return DeleteIndividualPolicyDataSubscriptionResponse +*/ + +// DeleteIndividualPolicyDataSubscriptionRequest +type DeleteIndividualPolicyDataSubscriptionRequest struct { + SubsId *string +} + +func (r *DeleteIndividualPolicyDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type DeleteIndividualPolicyDataSubscriptionResponse struct { +} + +type DeleteIndividualPolicyDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualPolicyDataSubscriptionDocumentApiService) DeleteIndividualPolicyDataSubscription(ctx context.Context, request *DeleteIndividualPolicyDataSubscriptionRequest) (*DeleteIndividualPolicyDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualPolicyDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPolicyDataSubscriptionDocumentApiService Modify a subscription to receive notification of policy data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - + * @param PolicyDataSubscription - + +@return ReplaceIndividualPolicyDataSubscriptionResponse +*/ + +// ReplaceIndividualPolicyDataSubscriptionRequest +type ReplaceIndividualPolicyDataSubscriptionRequest struct { + SubsId *string + PolicyDataSubscription *models.PolicyDataSubscription +} + +func (r *ReplaceIndividualPolicyDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ReplaceIndividualPolicyDataSubscriptionRequest) SetPolicyDataSubscription(PolicyDataSubscription models.PolicyDataSubscription) { + r.PolicyDataSubscription = &PolicyDataSubscription +} + +type ReplaceIndividualPolicyDataSubscriptionResponse struct { + PolicyDataSubscription models.PolicyDataSubscription +} + +type ReplaceIndividualPolicyDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualPolicyDataSubscriptionDocumentApiService) ReplaceIndividualPolicyDataSubscription(ctx context.Context, request *ReplaceIndividualPolicyDataSubscriptionRequest) (*ReplaceIndividualPolicyDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualPolicyDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PolicyDataSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PolicyDataSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_individual_service_parameter_data_document.go b/udr/DataRepository/api_individual_service_parameter_data_document.go new file mode 100644 index 00000000..88e30572 --- /dev/null +++ b/udr/DataRepository/api_individual_service_parameter_data_document.go @@ -0,0 +1,553 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualServiceParameterDataDocumentApiService service + +/* +IndividualServiceParameterDataDocumentApiService Create or update an individual Service Parameter Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ServiceParamId - The Identifier of an Individual Service Parameter Data to be created or updated. It shall apply the format of Data type string. + * @param ServiceParameterData - + +@return CreateOrReplaceServiceParameterDataResponse +*/ + +// CreateOrReplaceServiceParameterDataRequest +type CreateOrReplaceServiceParameterDataRequest struct { + ServiceParamId *string + ServiceParameterData *models.ServiceParameterData +} + +func (r *CreateOrReplaceServiceParameterDataRequest) SetServiceParamId(ServiceParamId string) { + r.ServiceParamId = &ServiceParamId +} +func (r *CreateOrReplaceServiceParameterDataRequest) SetServiceParameterData(ServiceParameterData models.ServiceParameterData) { + r.ServiceParameterData = &ServiceParameterData +} + +type CreateOrReplaceServiceParameterDataResponse struct { + Location string + ServiceParameterData models.ServiceParameterData +} + +type CreateOrReplaceServiceParameterDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualServiceParameterDataDocumentApiService) CreateOrReplaceServiceParameterData(ctx context.Context, request *CreateOrReplaceServiceParameterDataRequest) (*CreateOrReplaceServiceParameterDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceServiceParameterDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/serviceParamData/{serviceParamId}" + localVarPath = strings.Replace(localVarPath, "{"+"serviceParamId"+"}", openapi.StringOfValue(*request.ServiceParamId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ServiceParameterData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ServiceParameterData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.ServiceParameterData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualServiceParameterDataDocumentApiService Delete an individual Service Parameter Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ServiceParamId - The Identifier of an Individual Service Parameter Data to be deleted. It shall apply the format of Data type string. + +@return DeleteIndividualServiceParameterDataResponse +*/ + +// DeleteIndividualServiceParameterDataRequest +type DeleteIndividualServiceParameterDataRequest struct { + ServiceParamId *string +} + +func (r *DeleteIndividualServiceParameterDataRequest) SetServiceParamId(ServiceParamId string) { + r.ServiceParamId = &ServiceParamId +} + +type DeleteIndividualServiceParameterDataResponse struct { +} + +type DeleteIndividualServiceParameterDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualServiceParameterDataDocumentApiService) DeleteIndividualServiceParameterData(ctx context.Context, request *DeleteIndividualServiceParameterDataRequest) (*DeleteIndividualServiceParameterDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualServiceParameterDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/serviceParamData/{serviceParamId}" + localVarPath = strings.Replace(localVarPath, "{"+"serviceParamId"+"}", openapi.StringOfValue(*request.ServiceParamId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualServiceParameterDataDocumentApiService Modify part of the properties of an individual Service Parameter Data resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ServiceParamId - The Identifier of an Individual Service Parameter Data to be updated. It shall apply the format of Data type string. + * @param ServiceParameterDataPatch - + +@return UpdateIndividualServiceParameterDataResponse +*/ + +// UpdateIndividualServiceParameterDataRequest +type UpdateIndividualServiceParameterDataRequest struct { + ServiceParamId *string + ServiceParameterDataPatch *models.ServiceParameterDataPatch +} + +func (r *UpdateIndividualServiceParameterDataRequest) SetServiceParamId(ServiceParamId string) { + r.ServiceParamId = &ServiceParamId +} +func (r *UpdateIndividualServiceParameterDataRequest) SetServiceParameterDataPatch(ServiceParameterDataPatch models.ServiceParameterDataPatch) { + r.ServiceParameterDataPatch = &ServiceParameterDataPatch +} + +type UpdateIndividualServiceParameterDataResponse struct { + ServiceParameterData models.ServiceParameterData +} + +type UpdateIndividualServiceParameterDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IndividualServiceParameterDataDocumentApiService) UpdateIndividualServiceParameterData(ctx context.Context, request *UpdateIndividualServiceParameterDataRequest) (*UpdateIndividualServiceParameterDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndividualServiceParameterDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/serviceParamData/{serviceParamId}" + localVarPath = strings.Replace(localVarPath, "{"+"serviceParamId"+"}", openapi.StringOfValue(*request.ServiceParamId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ServiceParameterDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ServiceParameterData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndividualServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_influence_data_store.go b/udr/DataRepository/api_influence_data_store.go new file mode 100644 index 00000000..a84d7b46 --- /dev/null +++ b/udr/DataRepository/api_influence_data_store.go @@ -0,0 +1,246 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type InfluenceDataStoreApiService service + +/* +InfluenceDataStoreApiService Retrieve Traffic Influence Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param InfluenceIds - Each element identifies a service. + * @param Dnns - Each element identifies a DNN. + * @param Snssais - Each element identifies a slice. + * @param InternalGroupIds - Each element identifies a group of users. + * @param Supis - Each element identifies the user. + * @param SuppFeat - Supported Features + +@return ReadInfluenceDataResponse +*/ + +// ReadInfluenceDataRequest +type ReadInfluenceDataRequest struct { + InfluenceIds []string + Dnns []string + Snssais []models.Snssai + InternalGroupIds []string + Supis []string + SuppFeat *string +} + +func (r *ReadInfluenceDataRequest) SetInfluenceIds(InfluenceIds []string) { + r.InfluenceIds = InfluenceIds +} +func (r *ReadInfluenceDataRequest) SetDnns(Dnns []string) { + r.Dnns = Dnns +} +func (r *ReadInfluenceDataRequest) SetSnssais(Snssais []models.Snssai) { + r.Snssais = Snssais +} +func (r *ReadInfluenceDataRequest) SetInternalGroupIds(InternalGroupIds []string) { + r.InternalGroupIds = InternalGroupIds +} +func (r *ReadInfluenceDataRequest) SetSupis(Supis []string) { + r.Supis = Supis +} +func (r *ReadInfluenceDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadInfluenceDataResponse struct { + TrafficInfluData []models.TrafficInfluData +} + +type ReadInfluenceDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *InfluenceDataStoreApiService) ReadInfluenceData(ctx context.Context, request *ReadInfluenceDataRequest) (*ReadInfluenceDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadInfluenceDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.InfluenceIds != nil { + if len(request.InfluenceIds) < 1 { + return &localVarReturnValue, openapi.ReportError("InfluenceIds must have at least 1 elements") + } + localVarQueryParams.Add("influence-Ids", openapi.ParameterToString(request.InfluenceIds, "multi")) + } + if request.Dnns != nil { + if len(request.Dnns) < 1 { + return &localVarReturnValue, openapi.ReportError("Dnns must have at least 1 elements") + } + localVarQueryParams.Add("dnns", openapi.ParameterToString(request.Dnns, "multi")) + } + if request.Snssais != nil { + if len(request.Snssais) < 1 { + return &localVarReturnValue, openapi.ReportError("Snssais must have at least 1 elements") + } + localVarQueryParams.Add("snssais", openapi.ParameterToString(request.Snssais, "application/json")) + } + if request.InternalGroupIds != nil { + if len(request.InternalGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("InternalGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("internal-Group-Ids", openapi.ParameterToString(request.InternalGroupIds, "multi")) + } + if request.Supis != nil { + if len(request.Supis) < 1 { + return &localVarReturnValue, openapi.ReportError("Supis must have at least 1 elements") + } + localVarQueryParams.Add("supis", openapi.ParameterToString(request.Supis, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadInfluenceDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_influence_data_subscriptions_collection.go b/udr/DataRepository/api_influence_data_subscriptions_collection.go new file mode 100644 index 00000000..019c2221 --- /dev/null +++ b/udr/DataRepository/api_influence_data_subscriptions_collection.go @@ -0,0 +1,544 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type InfluenceDataSubscriptionsCollectionApiService service + +/* +InfluenceDataSubscriptionsCollectionApiService Create a new Individual Influence Data Subscription resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param TrafficInfluSub - + +@return CreateIndividualInfluenceDataSubscriptionResponse +*/ + +// CreateIndividualInfluenceDataSubscriptionRequest +type CreateIndividualInfluenceDataSubscriptionRequest struct { + TrafficInfluSub *models.TrafficInfluSub +} + +func (r *CreateIndividualInfluenceDataSubscriptionRequest) SetTrafficInfluSub(TrafficInfluSub models.TrafficInfluSub) { + r.TrafficInfluSub = &TrafficInfluSub +} + +type CreateIndividualInfluenceDataSubscriptionResponse struct { + Location string + TrafficInfluSub models.TrafficInfluSub +} + +type CreateIndividualInfluenceDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *InfluenceDataSubscriptionsCollectionApiService) CreateIndividualInfluenceDataSubscription(ctx context.Context, request *CreateIndividualInfluenceDataSubscriptionRequest) (*CreateIndividualInfluenceDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualInfluenceDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.TrafficInfluSub + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualInfluenceDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostRequest +type CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostRequest struct { + RequestBody []interface{} +} + +func (r *CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostRequest) SetRequestBody(RequestBody []interface{}) { + r.RequestBody = RequestBody +} + +type CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostResponse struct { +} + +type CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *InfluenceDataSubscriptionsCollectionApiService) CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPost(ctx context.Context, uri string, request *CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostRequest) (*CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RequestBody + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualInfluenceDataSubscriptionTrafficInfluenceDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +InfluenceDataSubscriptionsCollectionApiService Read Influence Data Subscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Dnn - Identifies a DNN. + * @param Snssai - Identifies a slice. + * @param InternalGroupId - Identifies a group of users. + * @param Supi - Identifies a user. + +@return ReadInfluenceDataSubscriptionsResponse +*/ + +// ReadInfluenceDataSubscriptionsRequest +type ReadInfluenceDataSubscriptionsRequest struct { + Dnn *string + Snssai *models.Snssai + InternalGroupId *string + Supi *string +} + +func (r *ReadInfluenceDataSubscriptionsRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *ReadInfluenceDataSubscriptionsRequest) SetSnssai(Snssai models.Snssai) { + r.Snssai = &Snssai +} +func (r *ReadInfluenceDataSubscriptionsRequest) SetInternalGroupId(InternalGroupId string) { + r.InternalGroupId = &InternalGroupId +} +func (r *ReadInfluenceDataSubscriptionsRequest) SetSupi(Supi string) { + r.Supi = &Supi +} + +type ReadInfluenceDataSubscriptionsResponse struct { + TrafficInfluSub []models.TrafficInfluSub +} + +type ReadInfluenceDataSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *InfluenceDataSubscriptionsCollectionApiService) ReadInfluenceDataSubscriptions(ctx context.Context, request *ReadInfluenceDataSubscriptionsRequest) (*ReadInfluenceDataSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadInfluenceDataSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/influenceData/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Snssai != nil { + localVarQueryParams.Add("snssai", openapi.ParameterToString(request.Snssai, "application/json")) + } + if request.InternalGroupId != nil { + localVarQueryParams.Add("internal-Group-Id", openapi.ParameterToString(request.InternalGroupId, "multi")) + } + if request.Supi != nil { + localVarQueryParams.Add("supi", openapi.ParameterToString(request.Supi, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TrafficInfluSub, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadInfluenceDataSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_ipsmgw_registration_document.go b/udr/DataRepository/api_ipsmgw_registration_document.go new file mode 100644 index 00000000..d4565ce7 --- /dev/null +++ b/udr/DataRepository/api_ipsmgw_registration_document.go @@ -0,0 +1,432 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IPSMGWRegistrationDocumentApiService service + +/* +IPSMGWRegistrationDocumentApiService Create the IP-SM-GW context data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param IpSmGwRegistration - + +@return CreateIpSmGwContextResponse +*/ + +// CreateIpSmGwContextRequest +type CreateIpSmGwContextRequest struct { + UeId *string + IpSmGwRegistration *models.IpSmGwRegistration +} + +func (r *CreateIpSmGwContextRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateIpSmGwContextRequest) SetIpSmGwRegistration(IpSmGwRegistration models.IpSmGwRegistration) { + r.IpSmGwRegistration = &IpSmGwRegistration +} + +type CreateIpSmGwContextResponse struct { +} + +type CreateIpSmGwContextError struct { +} + +func (a *IPSMGWRegistrationDocumentApiService) CreateIpSmGwContext(ctx context.Context, request *CreateIpSmGwContextRequest) (*CreateIpSmGwContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIpSmGwContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.IpSmGwRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +IPSMGWRegistrationDocumentApiService To remove the IP-SM-GW context data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteIpSmGwContextResponse +*/ + +// DeleteIpSmGwContextRequest +type DeleteIpSmGwContextRequest struct { + UeId *string +} + +func (r *DeleteIpSmGwContextRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteIpSmGwContextResponse struct { +} + +type DeleteIpSmGwContextError struct { +} + +func (a *IPSMGWRegistrationDocumentApiService) DeleteIpSmGwContext(ctx context.Context, request *DeleteIpSmGwContextRequest) (*DeleteIpSmGwContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIpSmGwContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +IPSMGWRegistrationDocumentApiService Modify the IP-SM-GW context data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + +@return ModifyIpSmGwContextResponse +*/ + +// ModifyIpSmGwContextRequest +type ModifyIpSmGwContextRequest struct { + UeId *string + PatchItem []models.PatchItem +} + +func (r *ModifyIpSmGwContextRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyIpSmGwContextRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} + +type ModifyIpSmGwContextResponse struct { +} + +type ModifyIpSmGwContextError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IPSMGWRegistrationDocumentApiService) ModifyIpSmGwContext(ctx context.Context, request *ModifyIpSmGwContextRequest) (*ModifyIpSmGwContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyIpSmGwContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 403: + var v ModifyIpSmGwContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyIpSmGwContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IPSMGWRegistrationDocumentApiService Retrieves the IP-SM-GW context data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryIpSmGwContextResponse +*/ + +// QueryIpSmGwContextRequest +type QueryIpSmGwContextRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryIpSmGwContextRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryIpSmGwContextRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryIpSmGwContextRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryIpSmGwContextResponse struct { + IpSmGwRegistration models.IpSmGwRegistration +} + +type QueryIpSmGwContextError struct { +} + +func (a *IPSMGWRegistrationDocumentApiService) QueryIpSmGwContext(ctx context.Context, request *QueryIpSmGwContextRequest) (*QueryIpSmGwContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryIpSmGwContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ip-sm-gw" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IpSmGwRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_iptv_configuration_data_store.go b/udr/DataRepository/api_iptv_configuration_data_store.go new file mode 100644 index 00000000..a779e1d9 --- /dev/null +++ b/udr/DataRepository/api_iptv_configuration_data_store.go @@ -0,0 +1,238 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IPTVConfigurationDataStoreApiService service + +/* +IPTVConfigurationDataStoreApiService Retrieve IPTV configuration Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ConfigIds - Each element identifies a configuration. + * @param Dnns - Each element identifies a DNN. + * @param Snssais - Each element identifies a slice. + * @param Supis - Each element identifies the user. + * @param InterGroupIds - Each element identifies a group of users. + +@return ReadIPTVCongifurationDataResponse +*/ + +// ReadIPTVCongifurationDataRequest +type ReadIPTVCongifurationDataRequest struct { + ConfigIds []string + Dnns []string + Snssais []models.Snssai + Supis []string + InterGroupIds []string +} + +func (r *ReadIPTVCongifurationDataRequest) SetConfigIds(ConfigIds []string) { + r.ConfigIds = ConfigIds +} +func (r *ReadIPTVCongifurationDataRequest) SetDnns(Dnns []string) { + r.Dnns = Dnns +} +func (r *ReadIPTVCongifurationDataRequest) SetSnssais(Snssais []models.Snssai) { + r.Snssais = Snssais +} +func (r *ReadIPTVCongifurationDataRequest) SetSupis(Supis []string) { + r.Supis = Supis +} +func (r *ReadIPTVCongifurationDataRequest) SetInterGroupIds(InterGroupIds []string) { + r.InterGroupIds = InterGroupIds +} + +type ReadIPTVCongifurationDataResponse struct { + IptvConfigData []models.IptvConfigData +} + +type ReadIPTVCongifurationDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *IPTVConfigurationDataStoreApiService) ReadIPTVCongifurationData(ctx context.Context, request *ReadIPTVCongifurationDataRequest) (*ReadIPTVCongifurationDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadIPTVCongifurationDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/iptvConfigData" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ConfigIds != nil { + if len(request.ConfigIds) < 1 { + return &localVarReturnValue, openapi.ReportError("ConfigIds must have at least 1 elements") + } + localVarQueryParams.Add("config-ids", openapi.ParameterToString(request.ConfigIds, "multi")) + } + if request.Dnns != nil { + if len(request.Dnns) < 1 { + return &localVarReturnValue, openapi.ReportError("Dnns must have at least 1 elements") + } + localVarQueryParams.Add("dnns", openapi.ParameterToString(request.Dnns, "multi")) + } + if request.Snssais != nil { + if len(request.Snssais) < 1 { + return &localVarReturnValue, openapi.ReportError("Snssais must have at least 1 elements") + } + localVarQueryParams.Add("snssais", openapi.ParameterToString(request.Snssais, "application/json")) + } + if request.Supis != nil { + if len(request.Supis) < 1 { + return &localVarReturnValue, openapi.ReportError("Supis must have at least 1 elements") + } + localVarQueryParams.Add("supis", openapi.ParameterToString(request.Supis, "multi")) + } + if request.InterGroupIds != nil { + if len(request.InterGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("InterGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("inter-group-ids", openapi.ParameterToString(request.InterGroupIds, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IptvConfigData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadIPTVCongifurationDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_lcs_broadcast_assistance_subscription_data.go b/udr/DataRepository/api_lcs_broadcast_assistance_subscription_data.go new file mode 100644 index 00000000..31decb00 --- /dev/null +++ b/udr/DataRepository/api_lcs_broadcast_assistance_subscription_data.go @@ -0,0 +1,161 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSBroadcastAssistanceSubscriptionDataApiService service + +/* +LCSBroadcastAssistanceSubscriptionDataApiService Retrieves the LCS Broadcast Assistance subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryLcsBcaDataResponse +*/ + +// QueryLcsBcaDataRequest +type QueryLcsBcaDataRequest struct { + UeId *string + ServingPlmnId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryLcsBcaDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryLcsBcaDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QueryLcsBcaDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryLcsBcaDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryLcsBcaDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryLcsBcaDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsBroadcastAssistanceTypesData models.LcsBroadcastAssistanceTypesData +} + +type QueryLcsBcaDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *LCSBroadcastAssistanceSubscriptionDataApiService) QueryLcsBcaData(ctx context.Context, request *QueryLcsBcaDataRequest) (*QueryLcsBcaDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryLcsBcaDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/lcs-bca-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsBroadcastAssistanceTypesData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_lcs_mobile_originated_subscription_data.go b/udr/DataRepository/api_lcs_mobile_originated_subscription_data.go new file mode 100644 index 00000000..f3d84a22 --- /dev/null +++ b/udr/DataRepository/api_lcs_mobile_originated_subscription_data.go @@ -0,0 +1,165 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSMobileOriginatedSubscriptionDataApiService service + +/* +LCSMobileOriginatedSubscriptionDataApiService Retrieves the LCS Mobile Originated subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryLcsMoDataResponse +*/ + +// QueryLcsMoDataRequest +type QueryLcsMoDataRequest struct { + UeId *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryLcsMoDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryLcsMoDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryLcsMoDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryLcsMoDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryLcsMoDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryLcsMoDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsMoData models.LcsMoData +} + +type QueryLcsMoDataError struct { +} + +func (a *LCSMobileOriginatedSubscriptionDataApiService) QueryLcsMoData(ctx context.Context, request *QueryLcsMoDataRequest) (*QueryLcsMoDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryLcsMoDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/lcs-mo-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsMoData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_lcs_privacy_subscription_data.go b/udr/DataRepository/api_lcs_privacy_subscription_data.go new file mode 100644 index 00000000..02fd2217 --- /dev/null +++ b/udr/DataRepository/api_lcs_privacy_subscription_data.go @@ -0,0 +1,165 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type LCSPrivacySubscriptionDataApiService service + +/* +LCSPrivacySubscriptionDataApiService Retrieves the LCS Privacy subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryLcsPrivacyDataResponse +*/ + +// QueryLcsPrivacyDataRequest +type QueryLcsPrivacyDataRequest struct { + UeId *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryLcsPrivacyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryLcsPrivacyDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryLcsPrivacyDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryLcsPrivacyDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryLcsPrivacyDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryLcsPrivacyDataResponse struct { + CacheControl string + ETag string + LastModified string + LcsPrivacyData models.LcsPrivacyData +} + +type QueryLcsPrivacyDataError struct { +} + +func (a *LCSPrivacySubscriptionDataApiService) QueryLcsPrivacyData(ctx context.Context, request *QueryLcsPrivacyDataRequest) (*QueryLcsPrivacyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryLcsPrivacyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/lcs-privacy-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.LcsPrivacyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_message_waiting_data_document.go b/udr/DataRepository/api_message_waiting_data_document.go new file mode 100644 index 00000000..3918cbbd --- /dev/null +++ b/udr/DataRepository/api_message_waiting_data_document.go @@ -0,0 +1,441 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MessageWaitingDataDocumentApiService service + +/* +MessageWaitingDataDocumentApiService Create the Message Waiting Data of the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param MessageWaitingData - + +@return CreateMessageWaitingDataResponse +*/ + +// CreateMessageWaitingDataRequest +type CreateMessageWaitingDataRequest struct { + UeId *string + MessageWaitingData *models.MessageWaitingData +} + +func (r *CreateMessageWaitingDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateMessageWaitingDataRequest) SetMessageWaitingData(MessageWaitingData models.MessageWaitingData) { + r.MessageWaitingData = &MessageWaitingData +} + +type CreateMessageWaitingDataResponse struct { + Location string + MessageWaitingData models.MessageWaitingData +} + +type CreateMessageWaitingDataError struct { +} + +func (a *MessageWaitingDataDocumentApiService) CreateMessageWaitingData(ctx context.Context, request *CreateMessageWaitingDataRequest) (*CreateMessageWaitingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateMessageWaitingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/mwd" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MessageWaitingData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.MessageWaitingData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +MessageWaitingDataDocumentApiService To remove the Message Waiting Data of the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteMessageWaitingDataResponse +*/ + +// DeleteMessageWaitingDataRequest +type DeleteMessageWaitingDataRequest struct { + UeId *string +} + +func (r *DeleteMessageWaitingDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteMessageWaitingDataResponse struct { +} + +type DeleteMessageWaitingDataError struct { +} + +func (a *MessageWaitingDataDocumentApiService) DeleteMessageWaitingData(ctx context.Context, request *DeleteMessageWaitingDataRequest) (*DeleteMessageWaitingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteMessageWaitingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/mwd" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +MessageWaitingDataDocumentApiService Modify the Message Waiting Data of the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + +@return ModifyMessageWaitingDataResponse +*/ + +// ModifyMessageWaitingDataRequest +type ModifyMessageWaitingDataRequest struct { + UeId *string + PatchItem []models.PatchItem +} + +func (r *ModifyMessageWaitingDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyMessageWaitingDataRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} + +type ModifyMessageWaitingDataResponse struct { +} + +type ModifyMessageWaitingDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *MessageWaitingDataDocumentApiService) ModifyMessageWaitingData(ctx context.Context, request *ModifyMessageWaitingDataRequest) (*ModifyMessageWaitingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyMessageWaitingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/mwd" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 403: + var v ModifyMessageWaitingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyMessageWaitingDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +MessageWaitingDataDocumentApiService Retrieves the Message Waiting Data of the UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QueryMessageWaitingDataResponse +*/ + +// QueryMessageWaitingDataRequest +type QueryMessageWaitingDataRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QueryMessageWaitingDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryMessageWaitingDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryMessageWaitingDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryMessageWaitingDataResponse struct { + MessageWaitingData models.MessageWaitingData +} + +type QueryMessageWaitingDataError struct { +} + +func (a *MessageWaitingDataDocumentApiService) QueryMessageWaitingData(ctx context.Context, request *QueryMessageWaitingDataRequest) (*QueryMessageWaitingDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryMessageWaitingDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/mwd" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MessageWaitingData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_modify5_g_vn_group.go b/udr/DataRepository/api_modify5_g_vn_group.go new file mode 100644 index 00000000..23c9bea4 --- /dev/null +++ b/udr/DataRepository/api_modify5_g_vn_group.go @@ -0,0 +1,148 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Modify5GVnGroupApiService service + +/* +Modify5GVnGroupApiService modify the 5GVnGroup + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return Modify5GVnGroupResponse +*/ + +// Modify5GVnGroupRequest +type Modify5GVnGroupRequest struct { + ExternalGroupId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *Modify5GVnGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *Modify5GVnGroupRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *Modify5GVnGroupRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Modify5GVnGroupResponse struct { + PatchResult models.PatchResult +} + +type Modify5GVnGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Modify5GVnGroupApiService) Modify5GVnGroup(ctx context.Context, request *Modify5GVnGroupRequest) (*Modify5GVnGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Modify5GVnGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v Modify5GVnGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_modify5_gmbs_group.go b/udr/DataRepository/api_modify5_gmbs_group.go new file mode 100644 index 00000000..41d7e5a2 --- /dev/null +++ b/udr/DataRepository/api_modify5_gmbs_group.go @@ -0,0 +1,228 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Modify5GmbsGroupApiService service + +/* +Modify5GmbsGroupApiService modify the 5GmbsGroup + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return Modify5GmbsGroupResponse +*/ + +// Modify5GmbsGroupRequest +type Modify5GmbsGroupRequest struct { + ExternalGroupId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *Modify5GmbsGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *Modify5GmbsGroupRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *Modify5GmbsGroupRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Modify5GmbsGroupResponse struct { + PatchResult models.PatchResult +} + +type Modify5GmbsGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *Modify5GmbsGroupApiService) Modify5GmbsGroup(ctx context.Context, request *Modify5GmbsGroupRequest) (*Modify5GmbsGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Modify5GmbsGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Modify5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_multicast_mbs_group_memb_document.go b/udr/DataRepository/api_multicast_mbs_group_memb_document.go new file mode 100644 index 00000000..f222bdc1 --- /dev/null +++ b/udr/DataRepository/api_multicast_mbs_group_memb_document.go @@ -0,0 +1,218 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MulticastMbsGroupMembDocumentApiService service + +/* +MulticastMbsGroupMembDocumentApiService Create an individual 5G MBS Grouop + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + * @param MulticastMbsGroupMemb - + +@return Create5GmbsGroupResponse +*/ + +// Create5GmbsGroupRequest +type Create5GmbsGroupRequest struct { + ExternalGroupId *string + MulticastMbsGroupMemb *models.MulticastMbsGroupMemb +} + +func (r *Create5GmbsGroupRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} +func (r *Create5GmbsGroupRequest) SetMulticastMbsGroupMemb(MulticastMbsGroupMemb models.MulticastMbsGroupMemb) { + r.MulticastMbsGroupMemb = &MulticastMbsGroupMemb +} + +type Create5GmbsGroupResponse struct { + MulticastMbsGroupMemb models.MulticastMbsGroupMemb +} + +type Create5GmbsGroupError struct { + ProblemDetails models.ProblemDetails +} + +func (a *MulticastMbsGroupMembDocumentApiService) Create5GmbsGroup(ctx context.Context, request *Create5GmbsGroupRequest) (*Create5GmbsGroupResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Create5GmbsGroupResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.MulticastMbsGroupMemb + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.MulticastMbsGroupMemb, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Create5GmbsGroupError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_nidd_authorization_info_document.go b/udr/DataRepository/api_nidd_authorization_info_document.go new file mode 100644 index 00000000..e4c3724b --- /dev/null +++ b/udr/DataRepository/api_nidd_authorization_info_document.go @@ -0,0 +1,426 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NIDDAuthorizationInfoDocumentApiService service + +/* +NIDDAuthorizationInfoDocumentApiService Create NIDD Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param NiddAuthorizationInfo - + +@return CreateNIDDAuthorizationInfoResponse +*/ + +// CreateNIDDAuthorizationInfoRequest +type CreateNIDDAuthorizationInfoRequest struct { + UeId *string + NiddAuthorizationInfo *models.NiddAuthorizationInfo +} + +func (r *CreateNIDDAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateNIDDAuthorizationInfoRequest) SetNiddAuthorizationInfo(NiddAuthorizationInfo models.NiddAuthorizationInfo) { + r.NiddAuthorizationInfo = &NiddAuthorizationInfo +} + +type CreateNIDDAuthorizationInfoResponse struct { + NiddAuthorizationInfo models.NiddAuthorizationInfo +} + +type CreateNIDDAuthorizationInfoError struct { +} + +func (a *NIDDAuthorizationInfoDocumentApiService) CreateNIDDAuthorizationInfo(ctx context.Context, request *CreateNIDDAuthorizationInfoRequest) (*CreateNIDDAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateNIDDAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/nidd-authorizations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NiddAuthorizationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.NiddAuthorizationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +NIDDAuthorizationInfoDocumentApiService Retrieve NIDD Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + +@return GetNiddAuthorizationInfoResponse +*/ + +// GetNiddAuthorizationInfoRequest +type GetNiddAuthorizationInfoRequest struct { + UeId *string +} + +func (r *GetNiddAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type GetNiddAuthorizationInfoResponse struct { + NiddAuthorizationInfo models.NiddAuthorizationInfo +} + +type GetNiddAuthorizationInfoError struct { +} + +func (a *NIDDAuthorizationInfoDocumentApiService) GetNiddAuthorizationInfo(ctx context.Context, request *GetNiddAuthorizationInfoRequest) (*GetNiddAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNiddAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/nidd-authorizations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NiddAuthorizationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +NIDDAuthorizationInfoDocumentApiService Modify NIDD Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyNiddAuthorizationInfoResponse +*/ + +// ModifyNiddAuthorizationInfoRequest +type ModifyNiddAuthorizationInfoRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyNiddAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyNiddAuthorizationInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyNiddAuthorizationInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyNiddAuthorizationInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifyNiddAuthorizationInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NIDDAuthorizationInfoDocumentApiService) ModifyNiddAuthorizationInfo(ctx context.Context, request *ModifyNiddAuthorizationInfoRequest) (*ModifyNiddAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyNiddAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/nidd-authorizations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyNiddAuthorizationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NIDDAuthorizationInfoDocumentApiService Delete NIDD Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + +@return RemoveNiddAuthorizationInfoResponse +*/ + +// RemoveNiddAuthorizationInfoRequest +type RemoveNiddAuthorizationInfoRequest struct { + UeId *string +} + +func (r *RemoveNiddAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type RemoveNiddAuthorizationInfoResponse struct { +} + +type RemoveNiddAuthorizationInfoError struct { +} + +func (a *NIDDAuthorizationInfoDocumentApiService) RemoveNiddAuthorizationInfo(ctx context.Context, request *RemoveNiddAuthorizationInfoRequest) (*RemoveNiddAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveNiddAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/nidd-authorizations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_nssai_update_ack_document.go b/udr/DataRepository/api_nssai_update_ack_document.go new file mode 100644 index 00000000..1eeb2cff --- /dev/null +++ b/udr/DataRepository/api_nssai_update_ack_document.go @@ -0,0 +1,132 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NSSAIUpdateAckDocumentApiService service + +/* +NSSAIUpdateAckDocumentApiService To store the NSSAI update acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param NssaiAckData - + * @param SupportedFeatures - Supported Features + +@return CreateOrUpdateNssaiAckResponse +*/ + +// CreateOrUpdateNssaiAckRequest +type CreateOrUpdateNssaiAckRequest struct { + UeId *string + NssaiAckData *models.NssaiAckData + SupportedFeatures *string +} + +func (r *CreateOrUpdateNssaiAckRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrUpdateNssaiAckRequest) SetNssaiAckData(NssaiAckData models.NssaiAckData) { + r.NssaiAckData = &NssaiAckData +} +func (r *CreateOrUpdateNssaiAckRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOrUpdateNssaiAckResponse struct { +} + +type CreateOrUpdateNssaiAckError struct { +} + +func (a *NSSAIUpdateAckDocumentApiService) CreateOrUpdateNssaiAck(ctx context.Context, request *CreateOrUpdateNssaiAckRequest) (*CreateOrUpdateNssaiAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrUpdateNssaiAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/subscribed-snssais" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.NssaiAckData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_nssaiack_document.go b/udr/DataRepository/api_nssaiack_document.go new file mode 100644 index 00000000..71b63bb7 --- /dev/null +++ b/udr/DataRepository/api_nssaiack_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NSSAIACKDocumentApiService service + +/* +NSSAIACKDocumentApiService Retrieves the UPU acknowledgement information of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryNssaiAckResponse +*/ + +// QueryNssaiAckRequest +type QueryNssaiAckRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryNssaiAckRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryNssaiAckRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryNssaiAckResponse struct { + NssaiAckData models.NssaiAckData +} + +type QueryNssaiAckError struct { +} + +func (a *NSSAIACKDocumentApiService) QueryNssaiAck(ctx context.Context, request *QueryNssaiAckRequest) (*QueryNssaiAckResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryNssaiAckResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/ue-update-confirmation-data/subscribed-snssais" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NssaiAckData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_operator_specific_data_container_document.go b/udr/DataRepository/api_operator_specific_data_container_document.go new file mode 100644 index 00000000..38781390 --- /dev/null +++ b/udr/DataRepository/api_operator_specific_data_container_document.go @@ -0,0 +1,498 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type OperatorSpecificDataContainerDocumentApiService service + +/* +OperatorSpecificDataContainerDocumentApiService To create an operator-specific data resource of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param RequestBody - + * @param SupportedFeatures - Supported Features + +@return CreateOperSpecDataResponse +*/ + +// CreateOperSpecDataRequest +type CreateOperSpecDataRequest struct { + UeId *string + RequestBody map[string]models.OperatorSpecificDataContainer + SupportedFeatures *string +} + +func (r *CreateOperSpecDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOperSpecDataRequest) SetRequestBody(RequestBody map[string]models.OperatorSpecificDataContainer) { + r.RequestBody = RequestBody +} +func (r *CreateOperSpecDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOperSpecDataResponse struct { + Location string + OperatorSpecificDataContainer map[string]models.OperatorSpecificDataContainer +} + +type CreateOperSpecDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataContainerDocumentApiService) CreateOperSpecData(ctx context.Context, request *CreateOperSpecDataRequest) (*CreateOperSpecDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOperSpecDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RequestBody + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.OperatorSpecificDataContainer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 403: + var v CreateOperSpecDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataContainerDocumentApiService To remove an operator-specific data resource of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteOperSpecDataResponse +*/ + +// DeleteOperSpecDataRequest +type DeleteOperSpecDataRequest struct { + UeId *string +} + +func (r *DeleteOperSpecDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteOperSpecDataResponse struct { +} + +type DeleteOperSpecDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataContainerDocumentApiService) DeleteOperSpecData(ctx context.Context, request *DeleteOperSpecDataRequest) (*DeleteOperSpecDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteOperSpecDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 403: + var v DeleteOperSpecDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataContainerDocumentApiService To modify operator specific data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyOperSpecDataResponse +*/ + +// ModifyOperSpecDataRequest +type ModifyOperSpecDataRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyOperSpecDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyOperSpecDataRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyOperSpecDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyOperSpecDataResponse struct { + PatchResult models.PatchResult +} + +type ModifyOperSpecDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataContainerDocumentApiService) ModifyOperSpecData(ctx context.Context, request *ModifyOperSpecDataRequest) (*ModifyOperSpecDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyOperSpecDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyOperSpecDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataContainerDocumentApiService Retrieves the operator specific data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryOperSpecDataResponse +*/ + +// QueryOperSpecDataRequest +type QueryOperSpecDataRequest struct { + UeId *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryOperSpecDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryOperSpecDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QueryOperSpecDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryOperSpecDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryOperSpecDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryOperSpecDataResponse struct { + CacheControl string + ETag string + LastModified string + OperatorSpecificDataContainer map[string]models.OperatorSpecificDataContainer +} + +type QueryOperSpecDataError struct { +} + +func (a *OperatorSpecificDataContainerDocumentApiService) QueryOperSpecData(ctx context.Context, request *QueryOperSpecDataRequest) (*QueryOperSpecDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryOperSpecDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.OperatorSpecificDataContainer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_operator_specific_data_document.go b/udr/DataRepository/api_operator_specific_data_document.go new file mode 100644 index 00000000..9a9e3194 --- /dev/null +++ b/udr/DataRepository/api_operator_specific_data_document.go @@ -0,0 +1,723 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type OperatorSpecificDataDocumentApiService service + +/* +OperatorSpecificDataDocumentApiService When the feature OSDResource_Create_Delete is supported, delete OperatorSpecificData resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + +@return DeleteOperatorSpecificDataResponse +*/ + +// DeleteOperatorSpecificDataRequest +type DeleteOperatorSpecificDataRequest struct { + UeId *string +} + +func (r *DeleteOperatorSpecificDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteOperatorSpecificDataResponse struct { +} + +type DeleteOperatorSpecificDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataDocumentApiService) DeleteOperatorSpecificData(ctx context.Context, request *DeleteOperatorSpecificDataRequest) (*DeleteOperatorSpecificDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteOperatorSpecificDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataDocumentApiService Retrieve the operator specific policy data of an UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE Id + * @param Fields - attributes to be retrieved + * @param SuppFeat - Supported Features + +@return ReadOperatorSpecificDataResponse +*/ + +// ReadOperatorSpecificDataRequest +type ReadOperatorSpecificDataRequest struct { + UeId *string + Fields []string + SuppFeat *string +} + +func (r *ReadOperatorSpecificDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReadOperatorSpecificDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *ReadOperatorSpecificDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadOperatorSpecificDataResponse struct { + OperatorSpecificDataContainer map[string]models.OperatorSpecificDataContainer +} + +type ReadOperatorSpecificDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataDocumentApiService) ReadOperatorSpecificData(ctx context.Context, request *ReadOperatorSpecificDataRequest) (*ReadOperatorSpecificDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadOperatorSpecificDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.OperatorSpecificDataContainer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataDocumentApiService Create or modify the operator specific policy data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE Id + * @param RequestBody - + +@return ReplaceOperatorSpecificDataResponse +*/ + +// ReplaceOperatorSpecificDataRequest +type ReplaceOperatorSpecificDataRequest struct { + UeId *string + RequestBody map[string]models.OperatorSpecificDataContainer +} + +func (r *ReplaceOperatorSpecificDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReplaceOperatorSpecificDataRequest) SetRequestBody(RequestBody map[string]models.OperatorSpecificDataContainer) { + r.RequestBody = RequestBody +} + +type ReplaceOperatorSpecificDataResponse struct { + Location string + OperatorSpecificDataContainer map[string]models.OperatorSpecificDataContainer +} + +type ReplaceOperatorSpecificDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataDocumentApiService) ReplaceOperatorSpecificData(ctx context.Context, request *ReplaceOperatorSpecificDataRequest) (*ReplaceOperatorSpecificDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceOperatorSpecificDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RequestBody + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.OperatorSpecificDataContainer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.OperatorSpecificDataContainer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +OperatorSpecificDataDocumentApiService Modify the operator specific policy data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE Id + * @param PatchItem - + +@return UpdateOperatorSpecificDataResponse +*/ + +// UpdateOperatorSpecificDataRequest +type UpdateOperatorSpecificDataRequest struct { + UeId *string + PatchItem []models.PatchItem +} + +func (r *UpdateOperatorSpecificDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateOperatorSpecificDataRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} + +type UpdateOperatorSpecificDataResponse struct { + PatchResult models.PatchResult +} + +type UpdateOperatorSpecificDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *OperatorSpecificDataDocumentApiService) UpdateOperatorSpecificData(ctx context.Context, request *UpdateOperatorSpecificDataRequest) (*UpdateOperatorSpecificDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateOperatorSpecificDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/operator-specific-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateOperatorSpecificDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_parameter_provision_document.go b/udr/DataRepository/api_parameter_provision_document.go new file mode 100644 index 00000000..5facbc39 --- /dev/null +++ b/udr/DataRepository/api_parameter_provision_document.go @@ -0,0 +1,163 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterProvisionDocumentApiService service + +/* +ParameterProvisionDocumentApiService Read the profile of a given UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - pp data for a UE + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetppDataResponse +*/ + +// GetppDataRequest +type GetppDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetppDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetppDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetppDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetppDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetppDataResponse struct { + CacheControl string + ETag string + LastModified string + PpData models.PpData +} + +type GetppDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterProvisionDocumentApiService) GetppData(ctx context.Context, request *GetppDataRequest) (*GetppDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetppDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PpData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 403: + var v GetppDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_parameter_provision_profile_data_document.go b/udr/DataRepository/api_parameter_provision_profile_data_document.go new file mode 100644 index 00000000..56df5cfe --- /dev/null +++ b/udr/DataRepository/api_parameter_provision_profile_data_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterProvisionProfileDataDocumentApiService service + +/* +ParameterProvisionProfileDataDocumentApiService Retrieves the parameter provision profile data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryPPDataResponse +*/ + +// QueryPPDataRequest +type QueryPPDataRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryPPDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryPPDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryPPDataResponse struct { + PpProfileData models.PpProfileData +} + +type QueryPPDataError struct { +} + +func (a *ParameterProvisionProfileDataDocumentApiService) QueryPPData(ctx context.Context, request *QueryPPDataRequest) (*QueryPPDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryPPDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-profile-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PpProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_parameter_provision_profile_data_for5_gmbs_group_document.go b/udr/DataRepository/api_parameter_provision_profile_data_for5_gmbs_group_document.go new file mode 100644 index 00000000..fb9e9a16 --- /dev/null +++ b/udr/DataRepository/api_parameter_provision_profile_data_for5_gmbs_group_document.go @@ -0,0 +1,202 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterProvisionProfileDataFor5GMBSGroupDocumentApiService service + +/* +ParameterProvisionProfileDataFor5GMBSGroupDocumentApiService Retrieves the parameter provision profile data for 5G MBS Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupIds - List of external MBS group identifiers + * @param SupportedFeatures - Supported Features + +@return Query5GMbsGroupPPDataResponse +*/ + +// Query5GMbsGroupPPDataRequest +type Query5GMbsGroupPPDataRequest struct { + ExtGroupIds []string + SupportedFeatures *string +} + +func (r *Query5GMbsGroupPPDataRequest) SetExtGroupIds(ExtGroupIds []string) { + r.ExtGroupIds = ExtGroupIds +} +func (r *Query5GMbsGroupPPDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Query5GMbsGroupPPDataResponse struct { + Pp5gMbsGroupProfileData models.Pp5gMbsGroupProfileData +} + +type Query5GMbsGroupPPDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ParameterProvisionProfileDataFor5GMBSGroupDocumentApiService) Query5GMbsGroupPPData(ctx context.Context, request *Query5GMbsGroupPPDataRequest) (*Query5GMbsGroupPPDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GMbsGroupPPDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/pp-profile-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ExtGroupIds != nil { + if len(request.ExtGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("ExtGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("ext-group-ids", openapi.ParameterToString(request.ExtGroupIds, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Pp5gMbsGroupProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v Query5GMbsGroupPPDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_parameter_provision_profile_data_for5_gvn_group_document.go b/udr/DataRepository/api_parameter_provision_profile_data_for5_gvn_group_document.go new file mode 100644 index 00000000..70c07515 --- /dev/null +++ b/udr/DataRepository/api_parameter_provision_profile_data_for5_gvn_group_document.go @@ -0,0 +1,135 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ParameterProvisionProfileDataFor5GVNGroupDocumentApiService service + +/* +ParameterProvisionProfileDataFor5GVNGroupDocumentApiService Retrieves the parameter provision profile data for 5G VN Group + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExtGroupIds - List of external VN group identifiers + * @param SupportedFeatures - Supported Features + +@return Query5GVNGroupPPDataResponse +*/ + +// Query5GVNGroupPPDataRequest +type Query5GVNGroupPPDataRequest struct { + ExtGroupIds []string + SupportedFeatures *string +} + +func (r *Query5GVNGroupPPDataRequest) SetExtGroupIds(ExtGroupIds []string) { + r.ExtGroupIds = ExtGroupIds +} +func (r *Query5GVNGroupPPDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type Query5GVNGroupPPDataResponse struct { + Pp5gVnGroupProfileData models.Pp5gVnGroupProfileData +} + +type Query5GVNGroupPPDataError struct { +} + +func (a *ParameterProvisionProfileDataFor5GVNGroupDocumentApiService) Query5GVNGroupPPData(ctx context.Context, request *Query5GVNGroupPPDataRequest) (*Query5GVNGroupPPDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Query5GVNGroupPPDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/pp-profile-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ExtGroupIds != nil { + if len(request.ExtGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("ExtGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("ext-group-ids", openapi.ParameterToString(request.ExtGroupIds, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Pp5gVnGroupProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_pdu_session_management_data.go b/udr/DataRepository/api_pdu_session_management_data.go new file mode 100644 index 00000000..a9fb28b9 --- /dev/null +++ b/udr/DataRepository/api_pdu_session_management_data.go @@ -0,0 +1,583 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PduSessionManagementDataApiService service + +/* +PduSessionManagementDataApiService Creates and updates the session management data for a UE and for an individual PDU session + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + * @param PduSessionManagementData - + +@return CreateOrReplaceSessionManagementDataResponse +*/ + +// CreateOrReplaceSessionManagementDataRequest +type CreateOrReplaceSessionManagementDataRequest struct { + UeId *string + PduSessionId *int32 + PduSessionManagementData *models.PduSessionManagementData +} + +func (r *CreateOrReplaceSessionManagementDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrReplaceSessionManagementDataRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *CreateOrReplaceSessionManagementDataRequest) SetPduSessionManagementData(PduSessionManagementData models.PduSessionManagementData) { + r.PduSessionManagementData = &PduSessionManagementData +} + +type CreateOrReplaceSessionManagementDataResponse struct { + Location string + PduSessionManagementData models.PduSessionManagementData +} + +type CreateOrReplaceSessionManagementDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PduSessionManagementDataApiService) CreateOrReplaceSessionManagementData(ctx context.Context, request *CreateOrReplaceSessionManagementDataRequest) (*CreateOrReplaceSessionManagementDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceSessionManagementDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PduSessionManagementData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PduSessionManagementData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PduSessionManagementData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +PduSessionManagementDataApiService Deletes the session management data for a UE and for an individual PDU session + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + +@return DeleteSessionManagementDataResponse +*/ + +// DeleteSessionManagementDataRequest +type DeleteSessionManagementDataRequest struct { + UeId *string + PduSessionId *int32 +} + +func (r *DeleteSessionManagementDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *DeleteSessionManagementDataRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} + +type DeleteSessionManagementDataResponse struct { +} + +type DeleteSessionManagementDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PduSessionManagementDataApiService) DeleteSessionManagementData(ctx context.Context, request *DeleteSessionManagementDataRequest) (*DeleteSessionManagementDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSessionManagementDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteSessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +PduSessionManagementDataApiService Retrieves the session management data for a UE and for an individual PDU session + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + * @param Ipv4Addr - IPv4 Address of the UE + * @param Ipv6Prefix - IPv6 Address Prefix of the UE + * @param Dnn - DNN of the UE + * @param Fields - attributes to be retrieved + * @param SuppFeat - Supported Features + +@return QuerySessionManagementDataResponse +*/ + +// QuerySessionManagementDataRequest +type QuerySessionManagementDataRequest struct { + UeId *string + PduSessionId *int32 + Ipv4Addr *string + Ipv6Prefix *string + Dnn *string + Fields []string + SuppFeat *string +} + +func (r *QuerySessionManagementDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySessionManagementDataRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *QuerySessionManagementDataRequest) SetIpv4Addr(Ipv4Addr string) { + r.Ipv4Addr = &Ipv4Addr +} +func (r *QuerySessionManagementDataRequest) SetIpv6Prefix(Ipv6Prefix string) { + r.Ipv6Prefix = &Ipv6Prefix +} +func (r *QuerySessionManagementDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *QuerySessionManagementDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySessionManagementDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type QuerySessionManagementDataResponse struct { + PduSessionManagementData models.PduSessionManagementData +} + +type QuerySessionManagementDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PduSessionManagementDataApiService) QuerySessionManagementData(ctx context.Context, request *QuerySessionManagementDataRequest) (*QuerySessionManagementDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySessionManagementDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/exposure-data/{ueId}/session-management-data/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Ipv4Addr != nil { + localVarQueryParams.Add("ipv4-addr", openapi.ParameterToString(request.Ipv4Addr, "multi")) + } + if request.Ipv6Prefix != nil { + localVarQueryParams.Add("ipv6-prefix", openapi.ParameterToString(request.Ipv6Prefix, "multi")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PduSessionManagementData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v QuerySessionManagementDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_pfd_data_store.go b/udr/DataRepository/api_pfd_data_store.go new file mode 100644 index 00000000..2060256d --- /dev/null +++ b/udr/DataRepository/api_pfd_data_store.go @@ -0,0 +1,202 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PFDDataStoreApiService service + +/* +PFDDataStoreApiService Retrieve PFDs for application identifier(s) + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param AppId - Contains the information of the application identifier(s) for the querying PFD Data resource. If none appId is included in the URI, it applies to all application identifier(s) for the querying PFD Data resource. + * @param SuppFeat - Supported Features + +@return ReadPFDDataResponse +*/ + +// ReadPFDDataRequest +type ReadPFDDataRequest struct { + AppId []string + SuppFeat *string +} + +func (r *ReadPFDDataRequest) SetAppId(AppId []string) { + r.AppId = AppId +} +func (r *ReadPFDDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadPFDDataResponse struct { + PfdDataForAppExt []models.PfdDataForAppExt +} + +type ReadPFDDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PFDDataStoreApiService) ReadPFDData(ctx context.Context, request *ReadPFDDataRequest) (*ReadPFDDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadPFDDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/pfds" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.AppId != nil { + if len(request.AppId) < 1 { + return &localVarReturnValue, openapi.ReportError("AppId must have at least 1 elements") + } + localVarQueryParams.Add("appId", openapi.ParameterToString(request.AppId, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PfdDataForAppExt, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadPFDDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_plmn_ue_policy_set_document.go b/udr/DataRepository/api_plmn_ue_policy_set_document.go new file mode 100644 index 00000000..b771e763 --- /dev/null +++ b/udr/DataRepository/api_plmn_ue_policy_set_document.go @@ -0,0 +1,188 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PlmnUePolicySetDocumentApiService service + +/* +PlmnUePolicySetDocumentApiService Retrieve the UE policy set data for an H-PLMN + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PlmnId - + +@return ReadPlmnUePolicySetResponse +*/ + +// ReadPlmnUePolicySetRequest +type ReadPlmnUePolicySetRequest struct { + PlmnId *string +} + +func (r *ReadPlmnUePolicySetRequest) SetPlmnId(PlmnId string) { + r.PlmnId = &PlmnId +} + +type ReadPlmnUePolicySetResponse struct { + UePolicySet models.UePolicySet +} + +type ReadPlmnUePolicySetError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PlmnUePolicySetDocumentApiService) ReadPlmnUePolicySet(ctx context.Context, request *ReadPlmnUePolicySetRequest) (*ReadPlmnUePolicySetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadPlmnUePolicySetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/plmns/{plmnId}/ue-policy-set" + localVarPath = strings.Replace(localVarPath, "{"+"plmnId"+"}", openapi.StringOfValue(*request.PlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UePolicySet, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 412: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadPlmnUePolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_policy_data_for_individual_ue_document.go b/udr/DataRepository/api_policy_data_for_individual_ue_document.go new file mode 100644 index 00000000..96674262 --- /dev/null +++ b/udr/DataRepository/api_policy_data_for_individual_ue_document.go @@ -0,0 +1,200 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PolicyDataForIndividualUeDocumentApiService service + +/* +PolicyDataForIndividualUeDocumentApiService Retrieve the policy data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SuppFeat - Supported Features + * @param DataSubsetNames - List of policy data subset names + +@return ReadPolicyDataResponse +*/ + +// ReadPolicyDataRequest +type ReadPolicyDataRequest struct { + UeId *string + SuppFeat *string + DataSubsetNames []models.PolicyDataSubset +} + +func (r *ReadPolicyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReadPolicyDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} +func (r *ReadPolicyDataRequest) SetDataSubsetNames(DataSubsetNames []models.PolicyDataSubset) { + r.DataSubsetNames = DataSubsetNames +} + +type ReadPolicyDataResponse struct { + PolicyDataForIndividualUe models.PolicyDataForIndividualUe +} + +type ReadPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PolicyDataForIndividualUeDocumentApiService) ReadPolicyData(ctx context.Context, request *ReadPolicyDataRequest) (*ReadPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + if request.DataSubsetNames != nil { + if len(request.DataSubsetNames) < 2 { + return &localVarReturnValue, openapi.ReportError("DataSubsetNames must have at least 2 elements") + } + localVarQueryParams.Add("data-subset-names", openapi.ParameterToString(request.DataSubsetNames, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PolicyDataForIndividualUe, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_policy_data_subscriptions_collection.go b/udr/DataRepository/api_policy_data_subscriptions_collection.go new file mode 100644 index 00000000..d2085c25 --- /dev/null +++ b/udr/DataRepository/api_policy_data_subscriptions_collection.go @@ -0,0 +1,367 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PolicyDataSubscriptionsCollectionApiService service + +/* +PolicyDataSubscriptionsCollectionApiService Create a subscription to receive notification of policy data changes + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PolicyDataSubscription - + +@return CreateIndividualPolicyDataSubscriptionResponse +*/ + +// CreateIndividualPolicyDataSubscriptionRequest +type CreateIndividualPolicyDataSubscriptionRequest struct { + PolicyDataSubscription *models.PolicyDataSubscription +} + +func (r *CreateIndividualPolicyDataSubscriptionRequest) SetPolicyDataSubscription(PolicyDataSubscription models.PolicyDataSubscription) { + r.PolicyDataSubscription = &PolicyDataSubscription +} + +type CreateIndividualPolicyDataSubscriptionResponse struct { + Location string + PolicyDataSubscription models.PolicyDataSubscription +} + +type CreateIndividualPolicyDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PolicyDataSubscriptionsCollectionApiService) CreateIndividualPolicyDataSubscription(ctx context.Context, request *CreateIndividualPolicyDataSubscriptionRequest) (*CreateIndividualPolicyDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualPolicyDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PolicyDataSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PolicyDataSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualPolicyDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostRequest +type CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostRequest struct { + PolicyDataChangeNotification []models.PolicyDataChangeNotification +} + +func (r *CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostRequest) SetPolicyDataChangeNotification(PolicyDataChangeNotification []models.PolicyDataChangeNotification) { + r.PolicyDataChangeNotification = PolicyDataChangeNotification +} + +type CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostResponse struct { +} + +type CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PolicyDataSubscriptionsCollectionApiService) CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPost(ctx context.Context, uri string, request *CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostRequest) (*CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PolicyDataChangeNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualPolicyDataSubscriptionPolicyDataChangeNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udr/DataRepository/api_pro_se_service_subscription_data.go b/udr/DataRepository/api_pro_se_service_subscription_data.go new file mode 100644 index 00000000..77c5c35a --- /dev/null +++ b/udr/DataRepository/api_pro_se_service_subscription_data.go @@ -0,0 +1,154 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProSeServiceSubscriptionDataApiService service + +/* +ProSeServiceSubscriptionDataApiService Retrieves the subscribed ProSe service Data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryPorseDataResponse +*/ + +// QueryPorseDataRequest +type QueryPorseDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryPorseDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryPorseDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryPorseDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryPorseDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryPorseDataResponse struct { + CacheControl string + ETag string + LastModified string + ProseSubscriptionData models.ProseSubscriptionData +} + +type QueryPorseDataError struct { +} + +func (a *ProSeServiceSubscriptionDataApiService) QueryPorseData(ctx context.Context, request *QueryPorseDataRequest) (*QueryPorseDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryPorseDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/prose-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProseSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_provisioned_data_document.go b/udr/DataRepository/api_provisioned_data_document.go new file mode 100644 index 00000000..ec7a068a --- /dev/null +++ b/udr/DataRepository/api_provisioned_data_document.go @@ -0,0 +1,139 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvisionedDataDocumentApiService service + +/* +ProvisionedDataDocumentApiService Retrieve multiple provisioned data sets of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param DatasetNames - List of dataset names + +@return QueryProvisionedDataResponse +*/ + +// QueryProvisionedDataRequest +type QueryProvisionedDataRequest struct { + UeId *string + ServingPlmnId *string + DatasetNames []models.DataSetName +} + +func (r *QueryProvisionedDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryProvisionedDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QueryProvisionedDataRequest) SetDatasetNames(DatasetNames []models.DataSetName) { + r.DatasetNames = DatasetNames +} + +type QueryProvisionedDataResponse struct { + ProvisionedDataSets models.ProvisionedDataSets +} + +type QueryProvisionedDataError struct { +} + +func (a *ProvisionedDataDocumentApiService) QueryProvisionedData(ctx context.Context, request *QueryProvisionedDataRequest) (*QueryProvisionedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryProvisionedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.DatasetNames != nil { + if len(request.DatasetNames) < 1 { + return &localVarReturnValue, openapi.ReportError("DatasetNames must have at least 1 elements") + } + localVarQueryParams.Add("dataset-names", openapi.ParameterToString(request.DatasetNames, "csv")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ProvisionedDataSets, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_provisioned_parameter_data_document.go b/udr/DataRepository/api_provisioned_parameter_data_document.go new file mode 100644 index 00000000..b11210de --- /dev/null +++ b/udr/DataRepository/api_provisioned_parameter_data_document.go @@ -0,0 +1,148 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvisionedParameterDataDocumentApiService service + +/* +ProvisionedParameterDataDocumentApiService modify the provisioned parameter data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - pp data for a UE + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyPpDataResponse +*/ + +// ModifyPpDataRequest +type ModifyPpDataRequest struct { + UeId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyPpDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyPpDataRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyPpDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyPpDataResponse struct { + PatchResult models.PatchResult +} + +type ModifyPpDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvisionedParameterDataDocumentApiService) ModifyPpData(ctx context.Context, request *ModifyPpDataRequest) (*ModifyPpDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyPpDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyPpDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_provisioned_parameter_data_entries_collection.go b/udr/DataRepository/api_provisioned_parameter_data_entries_collection.go new file mode 100644 index 00000000..b8545440 --- /dev/null +++ b/udr/DataRepository/api_provisioned_parameter_data_entries_collection.go @@ -0,0 +1,171 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ProvisionedParameterDataEntriesCollectionApiService service + +/* +ProvisionedParameterDataEntriesCollectionApiService get a list of Parameter Provisioning Data Entries + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - Identifier of the UE + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetMultiplePPDataEntriesResponse +*/ + +// GetMultiplePPDataEntriesRequest +type GetMultiplePPDataEntriesRequest struct { + UeId interface{} + SupportedFeatures *string +} + +func (r *GetMultiplePPDataEntriesRequest) SetUeId(UeId interface{}) { + r.UeId = UeId +} +func (r *GetMultiplePPDataEntriesRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetMultiplePPDataEntriesResponse struct { + PpDataEntryList models.PpDataEntryList +} + +type GetMultiplePPDataEntriesError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ProvisionedParameterDataEntriesCollectionApiService) GetMultiplePPDataEntries(ctx context.Context, request *GetMultiplePPDataEntriesRequest) (*GetMultiplePPDataEntriesResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMultiplePPDataEntriesResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/pp-data-store" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PpDataEntryList, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetMultiplePPDataEntriesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMultiplePPDataEntriesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMultiplePPDataEntriesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMultiplePPDataEntriesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMultiplePPDataEntriesError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query5_g_vn_group_configuration_document.go b/udr/DataRepository/api_query5_g_vn_group_configuration_document.go new file mode 100644 index 00000000..bcf075c6 --- /dev/null +++ b/udr/DataRepository/api_query5_g_vn_group_configuration_document.go @@ -0,0 +1,121 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type Query5GVnGroupConfigurationDocumentApiService service + +/* +Query5GVnGroupConfigurationDocumentApiService Retrieve a 5GVnGroup configuration + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + +@return Get5GVnGroupConfigurationResponse +*/ + +// Get5GVnGroupConfigurationRequest +type Get5GVnGroupConfigurationRequest struct { + ExternalGroupId *string +} + +func (r *Get5GVnGroupConfigurationRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} + +type Get5GVnGroupConfigurationResponse struct { + Model5GVnGroupConfiguration models.Model5GVnGroupConfiguration +} + +type Get5GVnGroupConfigurationError struct { +} + +func (a *Query5GVnGroupConfigurationDocumentApiService) Get5GVnGroupConfiguration(ctx context.Context, request *Get5GVnGroupConfigurationRequest) (*Get5GVnGroupConfigurationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Get5GVnGroupConfigurationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/5g-vn-groups/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Model5GVnGroupConfiguration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_amf_subscription_info_document.go b/udr/DataRepository/api_query_amf_subscription_info_document.go new file mode 100644 index 00000000..48d7e233 --- /dev/null +++ b/udr/DataRepository/api_query_amf_subscription_info_document.go @@ -0,0 +1,224 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryAMFSubscriptionInfoDocumentApiService service + +/* +QueryAMFSubscriptionInfoDocumentApiService Retrieve AMF subscription Info for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + +@return GetAmfGroupSubscriptionsResponse +*/ + +// GetAmfGroupSubscriptionsRequest +type GetAmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *GetAmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *GetAmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetAmfGroupSubscriptionsResponse struct { + AmfSubscriptionInfo []models.AmfSubscriptionInfo +} + +type GetAmfGroupSubscriptionsError struct { +} + +func (a *QueryAMFSubscriptionInfoDocumentApiService) GetAmfGroupSubscriptions(ctx context.Context, request *GetAmfGroupSubscriptionsRequest) (*GetAmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetAmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +QueryAMFSubscriptionInfoDocumentApiService Retrieve AMF subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return GetAmfSubscriptionInfoResponse +*/ + +// GetAmfSubscriptionInfoRequest +type GetAmfSubscriptionInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *GetAmfSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetAmfSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetAmfSubscriptionInfoResponse struct { + AmfSubscriptionInfo []models.AmfSubscriptionInfo +} + +type GetAmfSubscriptionInfoError struct { +} + +func (a *QueryAMFSubscriptionInfoDocumentApiService) GetAmfSubscriptionInfo(ctx context.Context, request *GetAmfSubscriptionInfoRequest) (*GetAmfSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetAmfSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/amf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go b/udr/DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go new file mode 100644 index 00000000..8fdb4940 --- /dev/null +++ b/udr/DataRepository/api_query_identity_data_by_supi_or_gpsi_document.go @@ -0,0 +1,163 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryIdentityDataBySUPIOrGPSIDocumentApiService service + +/* +QueryIdentityDataBySUPIOrGPSIDocumentApiService Retrieve identity data by SUPI or GPSI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param AppPortId - Application port identifier + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetIdentityDataResponse +*/ + +// GetIdentityDataRequest +type GetIdentityDataRequest struct { + UeId *string + AppPortId *models.AppPortId + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetIdentityDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetIdentityDataRequest) SetAppPortId(AppPortId models.AppPortId) { + r.AppPortId = &AppPortId +} +func (r *GetIdentityDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetIdentityDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetIdentityDataResponse struct { + CacheControl string + ETag string + LastModified string + IdentityData models.IdentityData +} + +type GetIdentityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *QueryIdentityDataBySUPIOrGPSIDocumentApiService) GetIdentityData(ctx context.Context, request *GetIdentityDataRequest) (*GetIdentityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIdentityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/identity-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.AppPortId != nil { + localVarQueryParams.Add("app-port-id", openapi.ParameterToString(request.AppPortId, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.IdentityData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 403: + var v GetIdentityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_multicast_mbs_group_memb_document.go b/udr/DataRepository/api_query_multicast_mbs_group_memb_document.go new file mode 100644 index 00000000..776ee03e --- /dev/null +++ b/udr/DataRepository/api_query_multicast_mbs_group_memb_document.go @@ -0,0 +1,188 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryMulticastMbsGroupMembDocumentApiService service + +/* +QueryMulticastMbsGroupMembDocumentApiService Retrieve a 5GmbsGroup + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ExternalGroupId - + +@return GetMulticastMbsGroupMembResponse +*/ + +// GetMulticastMbsGroupMembRequest +type GetMulticastMbsGroupMembRequest struct { + ExternalGroupId *string +} + +func (r *GetMulticastMbsGroupMembRequest) SetExternalGroupId(ExternalGroupId string) { + r.ExternalGroupId = &ExternalGroupId +} + +type GetMulticastMbsGroupMembResponse struct { + MulticastMbsGroupMemb models.MulticastMbsGroupMemb +} + +type GetMulticastMbsGroupMembError struct { + ProblemDetails models.ProblemDetails +} + +func (a *QueryMulticastMbsGroupMembDocumentApiService) GetMulticastMbsGroupMemb(ctx context.Context, request *GetMulticastMbsGroupMembRequest) (*GetMulticastMbsGroupMembResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMulticastMbsGroupMembResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/mbs-group-membership/{externalGroupId}" + localVarPath = strings.Replace(localVarPath, "{"+"externalGroupId"+"}", openapi.StringOfValue(*request.ExternalGroupId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MulticastMbsGroupMemb, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 502: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMulticastMbsGroupMembError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_nidd_authorization_data_gpsi_or_external_group_identifier_document.go b/udr/DataRepository/api_query_nidd_authorization_data_gpsi_or_external_group_identifier_document.go new file mode 100644 index 00000000..6197af4b --- /dev/null +++ b/udr/DataRepository/api_query_nidd_authorization_data_gpsi_or_external_group_identifier_document.go @@ -0,0 +1,201 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApiService service + +/* +QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApiService Retrieve NIDD Authorization Data GPSI or External Group identifier + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param SingleNssai - single NSSAI + * @param Dnn - DNN + * @param MtcProviderInformation - MTC Provider Information + * @param AfId - Application Function Identifier + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetNiddAuDataResponse +*/ + +// GetNiddAuDataRequest +type GetNiddAuDataRequest struct { + UeId *string + SingleNssai *models.Snssai + Dnn *string + MtcProviderInformation *string + AfId *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetNiddAuDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetNiddAuDataRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *GetNiddAuDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *GetNiddAuDataRequest) SetMtcProviderInformation(MtcProviderInformation string) { + r.MtcProviderInformation = &MtcProviderInformation +} +func (r *GetNiddAuDataRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *GetNiddAuDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetNiddAuDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetNiddAuDataResponse struct { + CacheControl string + ETag string + LastModified string + AuthorizationData models.AuthorizationData +} + +type GetNiddAuDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApiService) GetNiddAuData(ctx context.Context, request *GetNiddAuDataRequest) (*GetNiddAuDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNiddAuDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/nidd-authorization-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SingleNssai == nil { + return nil, openapi.ReportError("SingleNssai must be non nil") + } else { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn == nil { + return nil, openapi.ReportError("Dnn must be non nil") + } else { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.MtcProviderInformation == nil { + return nil, openapi.ReportError("MtcProviderInformation must be non nil") + } else { + localVarQueryParams.Add("mtc-provider-information", openapi.ParameterToString(request.MtcProviderInformation, "multi")) + } + if request.AfId != nil { + localVarQueryParams.Add("af-id", openapi.ParameterToString(request.AfId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthorizationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 403: + var v GetNiddAuDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNiddAuDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go b/udr/DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go new file mode 100644 index 00000000..a526c0f2 --- /dev/null +++ b/udr/DataRepository/api_query_odb_data_by_supi_or_gpsi_document.go @@ -0,0 +1,121 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryODBDataBySUPIOrGPSIDocumentApiService service + +/* +QueryODBDataBySUPIOrGPSIDocumentApiService Retrieve ODB Data data by SUPI or GPSI + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + +@return GetOdbDataResponse +*/ + +// GetOdbDataRequest +type GetOdbDataRequest struct { + UeId *string +} + +func (r *GetOdbDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type GetOdbDataResponse struct { + OdbData models.OdbData +} + +type GetOdbDataError struct { +} + +func (a *QueryODBDataBySUPIOrGPSIDocumentApiService) GetOdbData(ctx context.Context, request *GetOdbDataRequest) (*GetOdbDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetOdbDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/operator-determined-barring-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.OdbData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_query_service_specific_authorization_data_document.go b/udr/DataRepository/api_query_service_specific_authorization_data_document.go new file mode 100644 index 00000000..670d772f --- /dev/null +++ b/udr/DataRepository/api_query_service_specific_authorization_data_document.go @@ -0,0 +1,205 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QueryServiceSpecificAuthorizationDataDocumentApiService service + +/* +QueryServiceSpecificAuthorizationDataDocumentApiService Retrieve ServiceSpecific Authorization Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param ServiceType - Service Type + * @param SingleNssai - single NSSAI + * @param Dnn - DNN + * @param MtcProviderInformation - MTC Provider Information + * @param AfId - Application Function Identifier + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetSSAuDataResponse +*/ + +// GetSSAuDataRequest +type GetSSAuDataRequest struct { + UeId *string + ServiceType *models.ServiceType + SingleNssai *models.Snssai + Dnn *string + MtcProviderInformation *string + AfId *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetSSAuDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetSSAuDataRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} +func (r *GetSSAuDataRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *GetSSAuDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *GetSSAuDataRequest) SetMtcProviderInformation(MtcProviderInformation string) { + r.MtcProviderInformation = &MtcProviderInformation +} +func (r *GetSSAuDataRequest) SetAfId(AfId string) { + r.AfId = &AfId +} +func (r *GetSSAuDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetSSAuDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetSSAuDataResponse struct { + CacheControl string + ETag string + LastModified string + AuthorizationData models.AuthorizationData +} + +type GetSSAuDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *QueryServiceSpecificAuthorizationDataDocumentApiService) GetSSAuData(ctx context.Context, request *GetSSAuDataRequest) (*GetSSAuDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSSAuDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/service-specific-authorization-data/{serviceType}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SingleNssai == nil { + return nil, openapi.ReportError("SingleNssai must be non nil") + } else { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn == nil { + return nil, openapi.ReportError("Dnn must be non nil") + } else { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.MtcProviderInformation != nil { + localVarQueryParams.Add("mtc-provider-information", openapi.ParameterToString(request.MtcProviderInformation, "multi")) + } + if request.AfId != nil { + localVarQueryParams.Add("af-id", openapi.ParameterToString(request.AfId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.AuthorizationData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 403: + var v GetSSAuDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSSAuDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_retrieval_of_individual_shared_data.go b/udr/DataRepository/api_retrieval_of_individual_shared_data.go new file mode 100644 index 00000000..ab83ee8b --- /dev/null +++ b/udr/DataRepository/api_retrieval_of_individual_shared_data.go @@ -0,0 +1,178 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfIndividualSharedDataApiService service + +/* +RetrievalOfIndividualSharedDataApiService retrieve individual shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SharedDataId - Id of the Shared Data + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetIndividualSharedDataResponse +*/ + +// GetIndividualSharedDataRequest +type GetIndividualSharedDataRequest struct { + SharedDataId *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetIndividualSharedDataRequest) SetSharedDataId(SharedDataId string) { + r.SharedDataId = &SharedDataId +} +func (r *GetIndividualSharedDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetIndividualSharedDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetIndividualSharedDataResponse struct { + CacheControl string + ETag string + LastModified string + UdmSdmSharedData models.UdmSdmSharedData +} + +type GetIndividualSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrievalOfIndividualSharedDataApiService) GetIndividualSharedData(ctx context.Context, request *GetIndividualSharedDataRequest) (*GetIndividualSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetIndividualSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/shared-data/{sharedDataId}" + localVarPath = strings.Replace(localVarPath, "{"+"sharedDataId"+"}", openapi.StringOfValue(*request.SharedDataId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSharedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 400: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetIndividualSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_retrieval_of_shared_data.go b/udr/DataRepository/api_retrieval_of_shared_data.go new file mode 100644 index 00000000..5216c05f --- /dev/null +++ b/udr/DataRepository/api_retrieval_of_shared_data.go @@ -0,0 +1,170 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfSharedDataApiService service + +/* +RetrievalOfSharedDataApiService retrieve shared data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SharedDataIds - List of shared data ids + * @param SupportedFeatures - Supported Features + +@return GetSharedDataResponse +*/ + +// GetSharedDataRequest +type GetSharedDataRequest struct { + SharedDataIds []string + SupportedFeatures *string +} + +func (r *GetSharedDataRequest) SetSharedDataIds(SharedDataIds []string) { + r.SharedDataIds = SharedDataIds +} +func (r *GetSharedDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetSharedDataResponse struct { + UdmSdmSharedData []models.UdmSdmSharedData +} + +type GetSharedDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RetrievalOfSharedDataApiService) GetSharedData(ctx context.Context, request *GetSharedDataRequest) (*GetSharedDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSharedDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/shared-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SharedDataIds == nil { + return nil, openapi.ReportError("SharedDataIds must be non nil") + } else { + if len(request.SharedDataIds) < 1 { + return &localVarReturnValue, openapi.ReportError("SharedDataIds must have at least 1 elements") + } + localVarQueryParams.Add("shared-data-ids", openapi.ParameterToString(request.SharedDataIds, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmSdmSharedData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetSharedDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_retrieve_the_roaming_information_of_the5_gcepc_domains_document.go b/udr/DataRepository/api_retrieve_the_roaming_information_of_the5_gcepc_domains_document.go new file mode 100644 index 00000000..56dc74c0 --- /dev/null +++ b/udr/DataRepository/api_retrieve_the_roaming_information_of_the5_gcepc_domains_document.go @@ -0,0 +1,121 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApiService service + +/* +RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApiService Retrieves the PEI Information of the 5GC/EPC domains + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return QueryPeiInformationResponse +*/ + +// QueryPeiInformationRequest +type QueryPeiInformationRequest struct { + UeId *string +} + +func (r *QueryPeiInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type QueryPeiInformationResponse struct { + PeiUpdateInfo models.PeiUpdateInfo +} + +type QueryPeiInformationError struct { +} + +func (a *RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApiService) QueryPeiInformation(ctx context.Context, request *QueryPeiInformationRequest) (*QueryPeiInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryPeiInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/pei-info" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PeiUpdateInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_retrieve_the_roaming_information_of_the_epc_domain_document.go b/udr/DataRepository/api_retrieve_the_roaming_information_of_the_epc_domain_document.go new file mode 100644 index 00000000..f2a5b7f2 --- /dev/null +++ b/udr/DataRepository/api_retrieve_the_roaming_information_of_the_epc_domain_document.go @@ -0,0 +1,121 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrieveTheRoamingInformationOfTheEPCDomainDocumentApiService service + +/* +RetrieveTheRoamingInformationOfTheEPCDomainDocumentApiService Retrieves the Roaming Information of the EPC domain + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return QueryRoamingInformationResponse +*/ + +// QueryRoamingInformationRequest +type QueryRoamingInformationRequest struct { + UeId *string +} + +func (r *QueryRoamingInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type QueryRoamingInformationResponse struct { + RoamingInfoUpdate models.RoamingInfoUpdate +} + +type QueryRoamingInformationError struct { +} + +func (a *RetrieveTheRoamingInformationOfTheEPCDomainDocumentApiService) QueryRoamingInformation(ctx context.Context, request *QueryRoamingInformationRequest) (*QueryRoamingInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryRoamingInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/roaming-information" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RoamingInfoUpdate, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_sdm_subscription_document.go b/udr/DataRepository/api_sdm_subscription_document.go new file mode 100644 index 00000000..db47ab3f --- /dev/null +++ b/udr/DataRepository/api_sdm_subscription_document.go @@ -0,0 +1,469 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SDMSubscriptionDocumentApiService service + +/* +SDMSubscriptionDocumentApiService Modify an individual sdm subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifysdmSubscriptionResponse +*/ + +// ModifysdmSubscriptionRequest +type ModifysdmSubscriptionRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifysdmSubscriptionRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifysdmSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifysdmSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifysdmSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifysdmSubscriptionResponse struct { + PatchResult models.PatchResult +} + +type ModifysdmSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SDMSubscriptionDocumentApiService) ModifysdmSubscription(ctx context.Context, request *ModifysdmSubscriptionRequest) (*ModifysdmSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifysdmSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifysdmSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifysdmSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SDMSubscriptionDocumentApiService Retrieves a individual sdmSubscription identified by subsId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - Unique ID of the subscription to retrieve + +@return QuerysdmSubscriptionResponse +*/ + +// QuerysdmSubscriptionRequest +type QuerysdmSubscriptionRequest struct { + UeId *string + SubsId *string +} + +func (r *QuerysdmSubscriptionRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerysdmSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type QuerysdmSubscriptionResponse struct { + QuerysdmSubscriptionResponse200 map[string]interface{} +} + +type QuerysdmSubscriptionError struct { +} + +func (a *SDMSubscriptionDocumentApiService) QuerysdmSubscription(ctx context.Context, request *QuerysdmSubscriptionRequest) (*QuerysdmSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerysdmSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.QuerysdmSubscriptionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SDMSubscriptionDocumentApiService Deletes a sdmsubscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - Unique ID of the subscription to remove + +@return RemovesdmSubscriptionsResponse +*/ + +// RemovesdmSubscriptionsRequest +type RemovesdmSubscriptionsRequest struct { + UeId *string + SubsId *string +} + +func (r *RemovesdmSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemovesdmSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemovesdmSubscriptionsResponse struct { +} + +type RemovesdmSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SDMSubscriptionDocumentApiService) RemovesdmSubscriptions(ctx context.Context, request *RemovesdmSubscriptionsRequest) (*RemovesdmSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemovesdmSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 404: + var v RemovesdmSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SDMSubscriptionDocumentApiService Update an individual sdm subscriptions of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param SdmSubscription - + +@return UpdatesdmsubscriptionsResponse +*/ + +// UpdatesdmsubscriptionsRequest +type UpdatesdmsubscriptionsRequest struct { + UeId *string + SubsId *string + SdmSubscription *models.SdmSubscription +} + +func (r *UpdatesdmsubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdatesdmsubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *UpdatesdmsubscriptionsRequest) SetSdmSubscription(SdmSubscription models.SdmSubscription) { + r.SdmSubscription = &SdmSubscription +} + +type UpdatesdmsubscriptionsResponse struct { +} + +type UpdatesdmsubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SDMSubscriptionDocumentApiService) Updatesdmsubscriptions(ctx context.Context, request *UpdatesdmsubscriptionsRequest) (*UpdatesdmsubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdatesdmsubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 404: + var v UpdatesdmsubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_sdm_subscriptions_collection.go b/udr/DataRepository/api_sdm_subscriptions_collection.go new file mode 100644 index 00000000..a7c40475 --- /dev/null +++ b/udr/DataRepository/api_sdm_subscriptions_collection.go @@ -0,0 +1,231 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SDMSubscriptionsCollectionApiService service + +/* +SDMSubscriptionsCollectionApiService Create individual sdm subscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param SdmSubscription - + +@return CreateSdmSubscriptionsResponse +*/ + +// CreateSdmSubscriptionsRequest +type CreateSdmSubscriptionsRequest struct { + UeId *string + SdmSubscription *models.SdmSubscription +} + +func (r *CreateSdmSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateSdmSubscriptionsRequest) SetSdmSubscription(SdmSubscription models.SdmSubscription) { + r.SdmSubscription = &SdmSubscription +} + +type CreateSdmSubscriptionsResponse struct { + Location string + SdmSubscription models.SdmSubscription +} + +type CreateSdmSubscriptionsError struct { +} + +func (a *SDMSubscriptionsCollectionApiService) CreateSdmSubscriptions(ctx context.Context, request *CreateSdmSubscriptionsRequest) (*CreateSdmSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSdmSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SdmSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SdmSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SDMSubscriptionsCollectionApiService Retrieves the sdm subscriptions of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QuerysdmsubscriptionsResponse +*/ + +// QuerysdmsubscriptionsRequest +type QuerysdmsubscriptionsRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QuerysdmsubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerysdmsubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerysdmsubscriptionsResponse struct { + SdmSubscription []models.SdmSubscription +} + +type QuerysdmsubscriptionsError struct { +} + +func (a *SDMSubscriptionsCollectionApiService) Querysdmsubscriptions(ctx context.Context, request *QuerysdmsubscriptionsRequest) (*QuerysdmsubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerysdmsubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/sdm-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SdmSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_service_parameter_data_store.go b/udr/DataRepository/api_service_parameter_data_store.go new file mode 100644 index 00000000..17d6b92e --- /dev/null +++ b/udr/DataRepository/api_service_parameter_data_store.go @@ -0,0 +1,287 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ServiceParameterDataStoreApiService service + +/* +ServiceParameterDataStoreApiService Retrieve Service Parameter Data + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ServiceParamIds - Each element identifies a service. + * @param Dnns - Each element identifies a DNN. + * @param Snssais - Each element identifies a slice. + * @param InternalGroupIds - Each element identifies a group of users. + * @param Supis - Each element identifies the user. + * @param UeIpv4s - Each element identifies the user. + * @param UeIpv6s - Each element identifies the user. + * @param UeMacs - Each element identifies the user. + * @param AnyUe - Indicates whether the request is for any UE. + * @param SuppFeat - Supported Features + +@return ReadServiceParameterDataResponse +*/ + +// ReadServiceParameterDataRequest +type ReadServiceParameterDataRequest struct { + ServiceParamIds []string + Dnns []string + Snssais []models.Snssai + InternalGroupIds []string + Supis []string + UeIpv4s []string + UeIpv6s []string + UeMacs []string + AnyUe *bool + SuppFeat *string +} + +func (r *ReadServiceParameterDataRequest) SetServiceParamIds(ServiceParamIds []string) { + r.ServiceParamIds = ServiceParamIds +} +func (r *ReadServiceParameterDataRequest) SetDnns(Dnns []string) { + r.Dnns = Dnns +} +func (r *ReadServiceParameterDataRequest) SetSnssais(Snssais []models.Snssai) { + r.Snssais = Snssais +} +func (r *ReadServiceParameterDataRequest) SetInternalGroupIds(InternalGroupIds []string) { + r.InternalGroupIds = InternalGroupIds +} +func (r *ReadServiceParameterDataRequest) SetSupis(Supis []string) { + r.Supis = Supis +} +func (r *ReadServiceParameterDataRequest) SetUeIpv4s(UeIpv4s []string) { + r.UeIpv4s = UeIpv4s +} +func (r *ReadServiceParameterDataRequest) SetUeIpv6s(UeIpv6s []string) { + r.UeIpv6s = UeIpv6s +} +func (r *ReadServiceParameterDataRequest) SetUeMacs(UeMacs []string) { + r.UeMacs = UeMacs +} +func (r *ReadServiceParameterDataRequest) SetAnyUe(AnyUe bool) { + r.AnyUe = &AnyUe +} +func (r *ReadServiceParameterDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadServiceParameterDataResponse struct { + ServiceParameterData []models.ServiceParameterData +} + +type ReadServiceParameterDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ServiceParameterDataStoreApiService) ReadServiceParameterData(ctx context.Context, request *ReadServiceParameterDataRequest) (*ReadServiceParameterDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadServiceParameterDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/application-data/serviceParamData" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ServiceParamIds != nil { + if len(request.ServiceParamIds) < 1 { + return &localVarReturnValue, openapi.ReportError("ServiceParamIds must have at least 1 elements") + } + localVarQueryParams.Add("service-param-ids", openapi.ParameterToString(request.ServiceParamIds, "multi")) + } + if request.Dnns != nil { + if len(request.Dnns) < 1 { + return &localVarReturnValue, openapi.ReportError("Dnns must have at least 1 elements") + } + localVarQueryParams.Add("dnns", openapi.ParameterToString(request.Dnns, "multi")) + } + if request.Snssais != nil { + if len(request.Snssais) < 1 { + return &localVarReturnValue, openapi.ReportError("Snssais must have at least 1 elements") + } + localVarQueryParams.Add("snssais", openapi.ParameterToString(request.Snssais, "application/json")) + } + if request.InternalGroupIds != nil { + if len(request.InternalGroupIds) < 1 { + return &localVarReturnValue, openapi.ReportError("InternalGroupIds must have at least 1 elements") + } + localVarQueryParams.Add("internal-group-ids", openapi.ParameterToString(request.InternalGroupIds, "multi")) + } + if request.Supis != nil { + if len(request.Supis) < 1 { + return &localVarReturnValue, openapi.ReportError("Supis must have at least 1 elements") + } + localVarQueryParams.Add("supis", openapi.ParameterToString(request.Supis, "multi")) + } + if request.UeIpv4s != nil { + if len(request.UeIpv4s) < 1 { + return &localVarReturnValue, openapi.ReportError("UeIpv4s must have at least 1 elements") + } + localVarQueryParams.Add("ue-ipv4s", openapi.ParameterToString(request.UeIpv4s, "multi")) + } + if request.UeIpv6s != nil { + if len(request.UeIpv6s) < 1 { + return &localVarReturnValue, openapi.ReportError("UeIpv6s must have at least 1 elements") + } + localVarQueryParams.Add("ue-ipv6s", openapi.ParameterToString(request.UeIpv6s, "multi")) + } + if request.UeMacs != nil { + if len(request.UeMacs) < 1 { + return &localVarReturnValue, openapi.ReportError("UeMacs must have at least 1 elements") + } + localVarQueryParams.Add("ue-macs", openapi.ParameterToString(request.UeMacs, "multi")) + } + if request.AnyUe != nil { + localVarQueryParams.Add("any-ue", openapi.ParameterToString(request.AnyUe, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ServiceParameterData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadServiceParameterDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_service_specific_authorization_info_document.go b/udr/DataRepository/api_service_specific_authorization_info_document.go new file mode 100644 index 00000000..54969c80 --- /dev/null +++ b/udr/DataRepository/api_service_specific_authorization_info_document.go @@ -0,0 +1,450 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ServiceSpecificAuthorizationInfoDocumentApiService service + +/* +ServiceSpecificAuthorizationInfoDocumentApiService Create Service Specific Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param ServiceType - Service Type + * @param ServiceSpecificAuthorizationInfo - + +@return CreateServiceSpecificAuthorizationInfoResponse +*/ + +// CreateServiceSpecificAuthorizationInfoRequest +type CreateServiceSpecificAuthorizationInfoRequest struct { + UeId *string + ServiceType *models.ServiceType + ServiceSpecificAuthorizationInfo *models.ServiceSpecificAuthorizationInfo +} + +func (r *CreateServiceSpecificAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateServiceSpecificAuthorizationInfoRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} +func (r *CreateServiceSpecificAuthorizationInfoRequest) SetServiceSpecificAuthorizationInfo(ServiceSpecificAuthorizationInfo models.ServiceSpecificAuthorizationInfo) { + r.ServiceSpecificAuthorizationInfo = &ServiceSpecificAuthorizationInfo +} + +type CreateServiceSpecificAuthorizationInfoResponse struct { + ServiceSpecificAuthorizationInfo models.ServiceSpecificAuthorizationInfo +} + +type CreateServiceSpecificAuthorizationInfoError struct { +} + +func (a *ServiceSpecificAuthorizationInfoDocumentApiService) CreateServiceSpecificAuthorizationInfo(ctx context.Context, request *CreateServiceSpecificAuthorizationInfoRequest) (*CreateServiceSpecificAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateServiceSpecificAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/service-specific-authorizations/{serviceType}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ServiceSpecificAuthorizationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.ServiceSpecificAuthorizationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +ServiceSpecificAuthorizationInfoDocumentApiService Retrieve Service Specific Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param ServiceType - Service Type + +@return GetServiceSpecificAuthorizationInfoResponse +*/ + +// GetServiceSpecificAuthorizationInfoRequest +type GetServiceSpecificAuthorizationInfoRequest struct { + UeId *string + ServiceType *models.ServiceType +} + +func (r *GetServiceSpecificAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetServiceSpecificAuthorizationInfoRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} + +type GetServiceSpecificAuthorizationInfoResponse struct { + ServiceSpecificAuthorizationInfo models.ServiceSpecificAuthorizationInfo +} + +type GetServiceSpecificAuthorizationInfoError struct { +} + +func (a *ServiceSpecificAuthorizationInfoDocumentApiService) GetServiceSpecificAuthorizationInfo(ctx context.Context, request *GetServiceSpecificAuthorizationInfoRequest) (*GetServiceSpecificAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetServiceSpecificAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/service-specific-authorizations/{serviceType}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ServiceSpecificAuthorizationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +ServiceSpecificAuthorizationInfoDocumentApiService Modify Service Specific Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param ServiceType - Service Type + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifyServiceSpecificAuthorizationInfoResponse +*/ + +// ModifyServiceSpecificAuthorizationInfoRequest +type ModifyServiceSpecificAuthorizationInfoRequest struct { + UeId *string + ServiceType *models.ServiceType + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifyServiceSpecificAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifyServiceSpecificAuthorizationInfoRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} +func (r *ModifyServiceSpecificAuthorizationInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifyServiceSpecificAuthorizationInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifyServiceSpecificAuthorizationInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifyServiceSpecificAuthorizationInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *ServiceSpecificAuthorizationInfoDocumentApiService) ModifyServiceSpecificAuthorizationInfo(ctx context.Context, request *ModifyServiceSpecificAuthorizationInfoRequest) (*ModifyServiceSpecificAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyServiceSpecificAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/service-specific-authorizations/{serviceType}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifyServiceSpecificAuthorizationInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +ServiceSpecificAuthorizationInfoDocumentApiService Delete Service Specific Authorization Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param ServiceType - Service Type + +@return RemoveServiceSpecificAuthorizationInfoResponse +*/ + +// RemoveServiceSpecificAuthorizationInfoRequest +type RemoveServiceSpecificAuthorizationInfoRequest struct { + UeId *string + ServiceType *models.ServiceType +} + +func (r *RemoveServiceSpecificAuthorizationInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveServiceSpecificAuthorizationInfoRequest) SetServiceType(ServiceType models.ServiceType) { + r.ServiceType = &ServiceType +} + +type RemoveServiceSpecificAuthorizationInfoResponse struct { +} + +type RemoveServiceSpecificAuthorizationInfoError struct { +} + +func (a *ServiceSpecificAuthorizationInfoDocumentApiService) RemoveServiceSpecificAuthorizationInfo(ctx context.Context, request *RemoveServiceSpecificAuthorizationInfoRequest) (*RemoveServiceSpecificAuthorizationInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveServiceSpecificAuthorizationInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/service-specific-authorizations/{serviceType}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"serviceType"+"}", openapi.StringOfValue(*request.ServiceType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_session_management_policy_data_document.go b/udr/DataRepository/api_session_management_policy_data_document.go new file mode 100644 index 00000000..5e1c6440 --- /dev/null +++ b/udr/DataRepository/api_session_management_policy_data_document.go @@ -0,0 +1,406 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SessionManagementPolicyDataDocumentApiService service + +/* +SessionManagementPolicyDataDocumentApiService Retrieves the session management policy data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param Snssai - + * @param Dnn - + * @param Fields - attributes to be retrieved + * @param SuppFeat - Supported Features + +@return ReadSessionManagementPolicyDataResponse +*/ + +// ReadSessionManagementPolicyDataRequest +type ReadSessionManagementPolicyDataRequest struct { + UeId *string + Snssai *models.Snssai + Dnn *string + Fields []string + SuppFeat *string +} + +func (r *ReadSessionManagementPolicyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReadSessionManagementPolicyDataRequest) SetSnssai(Snssai models.Snssai) { + r.Snssai = &Snssai +} +func (r *ReadSessionManagementPolicyDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *ReadSessionManagementPolicyDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *ReadSessionManagementPolicyDataRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadSessionManagementPolicyDataResponse struct { + SmPolicyData models.SmPolicyData +} + +type ReadSessionManagementPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SessionManagementPolicyDataDocumentApiService) ReadSessionManagementPolicyData(ctx context.Context, request *ReadSessionManagementPolicyDataRequest) (*ReadSessionManagementPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadSessionManagementPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Snssai != nil { + localVarQueryParams.Add("snssai", openapi.ParameterToString(request.Snssai, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SessionManagementPolicyDataDocumentApiService Modify the session management policy data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SmPolicyDataPatch - + +@return UpdateSessionManagementPolicyDataResponse +*/ + +// UpdateSessionManagementPolicyDataRequest +type UpdateSessionManagementPolicyDataRequest struct { + UeId *string + SmPolicyDataPatch *models.SmPolicyDataPatch +} + +func (r *UpdateSessionManagementPolicyDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateSessionManagementPolicyDataRequest) SetSmPolicyDataPatch(SmPolicyDataPatch models.SmPolicyDataPatch) { + r.SmPolicyDataPatch = &SmPolicyDataPatch +} + +type UpdateSessionManagementPolicyDataResponse struct { + SmPolicyData models.SmPolicyData +} + +type UpdateSessionManagementPolicyDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SessionManagementPolicyDataDocumentApiService) UpdateSessionManagementPolicyData(ctx context.Context, request *UpdateSessionManagementPolicyDataRequest) (*UpdateSessionManagementPolicyDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSessionManagementPolicyDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmPolicyDataPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmPolicyData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateSessionManagementPolicyDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_session_management_subscription_data.go b/udr/DataRepository/api_session_management_subscription_data.go new file mode 100644 index 00000000..334ac5a1 --- /dev/null +++ b/udr/DataRepository/api_session_management_subscription_data.go @@ -0,0 +1,187 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SessionManagementSubscriptionDataApiService service + +/* +SessionManagementSubscriptionDataApiService Retrieves the Session Management subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param SingleNssai - single NSSAI + * @param Dnn - DNN + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QuerySmDataResponse +*/ + +// QuerySmDataRequest +type QuerySmDataRequest struct { + UeId *string + ServingPlmnId *string + SingleNssai *models.Snssai + Dnn *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QuerySmDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QuerySmDataRequest) SetSingleNssai(SingleNssai models.Snssai) { + r.SingleNssai = &SingleNssai +} +func (r *QuerySmDataRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *QuerySmDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySmDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QuerySmDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QuerySmDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QuerySmDataResponse struct { + CacheControl string + ETag string + LastModified string + SmSubsData models.SmSubsData +} + +type QuerySmDataError struct { +} + +func (a *SessionManagementSubscriptionDataApiService) QuerySmData(ctx context.Context, request *QuerySmDataRequest) (*QuerySmDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sm-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SingleNssai != nil { + localVarQueryParams.Add("single-nssai", openapi.ParameterToString(request.SingleNssai, "application/json")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmSubsData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smf_event_group_subscription_info_document.go b/udr/DataRepository/api_smf_event_group_subscription_info_document.go new file mode 100644 index 00000000..bdb75428 --- /dev/null +++ b/udr/DataRepository/api_smf_event_group_subscription_info_document.go @@ -0,0 +1,137 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFEventGroupSubscriptionInfoDocumentApiService service + +/* +SMFEventGroupSubscriptionInfoDocumentApiService Create SMF Subscription Info for a group of UEs or any YE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param SmfSubscriptionInfo - + +@return CreateSmfGroupSubscriptionsResponse +*/ + +// CreateSmfGroupSubscriptionsRequest +type CreateSmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string + SmfSubscriptionInfo *models.SmfSubscriptionInfo +} + +func (r *CreateSmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *CreateSmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateSmfGroupSubscriptionsRequest) SetSmfSubscriptionInfo(SmfSubscriptionInfo models.SmfSubscriptionInfo) { + r.SmfSubscriptionInfo = &SmfSubscriptionInfo +} + +type CreateSmfGroupSubscriptionsResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type CreateSmfGroupSubscriptionsError struct { +} + +func (a *SMFEventGroupSubscriptionInfoDocumentApiService) CreateSmfGroupSubscriptions(ctx context.Context, request *CreateSmfGroupSubscriptionsRequest) (*CreateSmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smf_event_subscription_info_document.go b/udr/DataRepository/api_smf_event_subscription_info_document.go new file mode 100644 index 00000000..7225b1e4 --- /dev/null +++ b/udr/DataRepository/api_smf_event_subscription_info_document.go @@ -0,0 +1,763 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFEventSubscriptionInfoDocumentApiService service + +/* +SMFEventSubscriptionInfoDocumentApiService Create SMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param SmfSubscriptionInfo - + +@return CreateSMFSubscriptionsResponse +*/ + +// CreateSMFSubscriptionsRequest +type CreateSMFSubscriptionsRequest struct { + UeId *string + SubsId *string + SmfSubscriptionInfo *models.SmfSubscriptionInfo +} + +func (r *CreateSMFSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateSMFSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *CreateSMFSubscriptionsRequest) SetSmfSubscriptionInfo(SmfSubscriptionInfo models.SmfSubscriptionInfo) { + r.SmfSubscriptionInfo = &SmfSubscriptionInfo +} + +type CreateSMFSubscriptionsResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type CreateSMFSubscriptionsError struct { +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) CreateSMFSubscriptions(ctx context.Context, request *CreateSMFSubscriptionsRequest) (*CreateSMFSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSMFSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfSubscriptionInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Retrieve SMF Subscription Info for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + +@return GetSmfGroupSubscriptionsResponse +*/ + +// GetSmfGroupSubscriptionsRequest +type GetSmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *GetSmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *GetSmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetSmfGroupSubscriptionsResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type GetSmfGroupSubscriptionsError struct { +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) GetSmfGroupSubscriptions(ctx context.Context, request *GetSmfGroupSubscriptionsRequest) (*GetSmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Retrieve SMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return GetSmfSubscriptionInfoResponse +*/ + +// GetSmfSubscriptionInfoRequest +type GetSmfSubscriptionInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *GetSmfSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *GetSmfSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type GetSmfSubscriptionInfoResponse struct { + SmfSubscriptionInfo models.SmfSubscriptionInfo +} + +type GetSmfSubscriptionInfoError struct { +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) GetSmfSubscriptionInfo(ctx context.Context, request *GetSmfSubscriptionInfoRequest) (*GetSmfSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetSmfSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSubscriptionInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Modify SMF Subscription Info for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifySmfGroupSubscriptionsResponse +*/ + +// ModifySmfGroupSubscriptionsRequest +type ModifySmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifySmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *ModifySmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifySmfGroupSubscriptionsRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifySmfGroupSubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifySmfGroupSubscriptionsResponse struct { + PatchResult models.PatchResult +} + +type ModifySmfGroupSubscriptionsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) ModifySmfGroupSubscriptions(ctx context.Context, request *ModifySmfGroupSubscriptionsRequest) (*ModifySmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifySmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifySmfGroupSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Modify SMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifySmfSubscriptionInfoResponse +*/ + +// ModifySmfSubscriptionInfoRequest +type ModifySmfSubscriptionInfoRequest struct { + UeId *string + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifySmfSubscriptionInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ModifySmfSubscriptionInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifySmfSubscriptionInfoRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifySmfSubscriptionInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifySmfSubscriptionInfoResponse struct { + PatchResult models.PatchResult +} + +type ModifySmfSubscriptionInfoError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) ModifySmfSubscriptionInfo(ctx context.Context, request *ModifySmfSubscriptionInfoRequest) (*ModifySmfSubscriptionInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifySmfSubscriptionInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifySmfSubscriptionInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Delete SMF Subscription Info for a group of UEs or any UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeGroupId - + * @param SubsId - + +@return RemoveSmfGroupSubscriptionsResponse +*/ + +// RemoveSmfGroupSubscriptionsRequest +type RemoveSmfGroupSubscriptionsRequest struct { + UeGroupId *string + SubsId *string +} + +func (r *RemoveSmfGroupSubscriptionsRequest) SetUeGroupId(UeGroupId string) { + r.UeGroupId = &UeGroupId +} +func (r *RemoveSmfGroupSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveSmfGroupSubscriptionsResponse struct { +} + +type RemoveSmfGroupSubscriptionsError struct { +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) RemoveSmfGroupSubscriptions(ctx context.Context, request *RemoveSmfGroupSubscriptionsRequest) (*RemoveSmfGroupSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveSmfGroupSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/group-data/{ueGroupId}/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueGroupId"+"}", openapi.StringOfValue(*request.UeGroupId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFEventSubscriptionInfoDocumentApiService Delete SMF Subscription Info + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SubsId - + +@return RemoveSmfSubscriptionsInfoResponse +*/ + +// RemoveSmfSubscriptionsInfoRequest +type RemoveSmfSubscriptionsInfoRequest struct { + UeId *string + SubsId *string +} + +func (r *RemoveSmfSubscriptionsInfoRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveSmfSubscriptionsInfoRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemoveSmfSubscriptionsInfoResponse struct { +} + +type RemoveSmfSubscriptionsInfoError struct { +} + +func (a *SMFEventSubscriptionInfoDocumentApiService) RemoveSmfSubscriptionsInfo(ctx context.Context, request *RemoveSmfSubscriptionsInfoRequest) (*RemoveSmfSubscriptionsInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveSmfSubscriptionsInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/ee-subscriptions/{subsId}/smf-subscriptions" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smf_registration_document.go b/udr/DataRepository/api_smf_registration_document.go new file mode 100644 index 00000000..fa16bf6d --- /dev/null +++ b/udr/DataRepository/api_smf_registration_document.go @@ -0,0 +1,472 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFRegistrationDocumentApiService service + +/* +SMFRegistrationDocumentApiService To create an individual SMF context data of a UE in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + * @param SmfRegistration - + +@return CreateOrUpdateSmfRegistrationResponse +*/ + +// CreateOrUpdateSmfRegistrationRequest +type CreateOrUpdateSmfRegistrationRequest struct { + UeId *string + PduSessionId *int32 + SmfRegistration *models.SmfRegistration +} + +func (r *CreateOrUpdateSmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrUpdateSmfRegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *CreateOrUpdateSmfRegistrationRequest) SetSmfRegistration(SmfRegistration models.SmfRegistration) { + r.SmfRegistration = &SmfRegistration +} + +type CreateOrUpdateSmfRegistrationResponse struct { + Location string + SmfRegistration models.SmfRegistration +} + +type CreateOrUpdateSmfRegistrationError struct { +} + +func (a *SMFRegistrationDocumentApiService) CreateOrUpdateSmfRegistration(ctx context.Context, request *CreateOrUpdateSmfRegistrationRequest) (*CreateOrUpdateSmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrUpdateSmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFRegistrationDocumentApiService To remove an individual SMF context data of a UE the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + +@return DeleteSmfRegistrationResponse +*/ + +// DeleteSmfRegistrationRequest +type DeleteSmfRegistrationRequest struct { + UeId *string + PduSessionId *int32 +} + +func (r *DeleteSmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *DeleteSmfRegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} + +type DeleteSmfRegistrationResponse struct { +} + +type DeleteSmfRegistrationError struct { +} + +func (a *SMFRegistrationDocumentApiService) DeleteSmfRegistration(ctx context.Context, request *DeleteSmfRegistrationRequest) (*DeleteSmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFRegistrationDocumentApiService Retrieves the individual SMF registration of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QuerySmfRegistrationResponse +*/ + +// QuerySmfRegistrationRequest +type QuerySmfRegistrationRequest struct { + UeId *string + PduSessionId *int32 + Fields []string + SupportedFeatures *string +} + +func (r *QuerySmfRegistrationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmfRegistrationRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *QuerySmfRegistrationRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySmfRegistrationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerySmfRegistrationResponse struct { + SmfRegistration models.SmfRegistration +} + +type QuerySmfRegistrationError struct { +} + +func (a *SMFRegistrationDocumentApiService) QuerySmfRegistration(ctx context.Context, request *QuerySmfRegistrationRequest) (*QuerySmfRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmfRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMFRegistrationDocumentApiService To modify the SMF context data of a UE in the UDR + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PduSessionId - PDU session id + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateSmfContextResponse +*/ + +// UpdateSmfContextRequest +type UpdateSmfContextRequest struct { + UeId *string + PduSessionId *int32 + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *UpdateSmfContextRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateSmfContextRequest) SetPduSessionId(PduSessionId int32) { + r.PduSessionId = &PduSessionId +} +func (r *UpdateSmfContextRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateSmfContextRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateSmfContextResponse struct { + PatchResult models.PatchResult +} + +type UpdateSmfContextError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SMFRegistrationDocumentApiService) UpdateSmfContext(ctx context.Context, request *UpdateSmfContextRequest) (*UpdateSmfContextResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateSmfContextResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations/{pduSessionId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"pduSessionId"+"}", openapi.StringOfValue(*request.PduSessionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v UpdateSmfContextError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smf_registrations_collection.go b/udr/DataRepository/api_smf_registrations_collection.go new file mode 100644 index 00000000..a0dbf104 --- /dev/null +++ b/udr/DataRepository/api_smf_registrations_collection.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFRegistrationsCollectionApiService service + +/* +SMFRegistrationsCollectionApiService Retrieves the SMF registration list of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QuerySmfRegListResponse +*/ + +// QuerySmfRegListRequest +type QuerySmfRegListRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QuerySmfRegListRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmfRegListRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerySmfRegListResponse struct { + SmfRegistration []models.SmfRegistration +} + +type QuerySmfRegListError struct { +} + +func (a *SMFRegistrationsCollectionApiService) QuerySmfRegList(ctx context.Context, request *QuerySmfRegListRequest) (*QuerySmfRegListResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmfRegListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smf-registrations" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smf_selection_subscription_data_document.go b/udr/DataRepository/api_smf_selection_subscription_data_document.go new file mode 100644 index 00000000..3ac9d1a2 --- /dev/null +++ b/udr/DataRepository/api_smf_selection_subscription_data_document.go @@ -0,0 +1,171 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMFSelectionSubscriptionDataDocumentApiService service + +/* +SMFSelectionSubscriptionDataDocumentApiService Retrieves the SMF selection subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QuerySmfSelectDataResponse +*/ + +// QuerySmfSelectDataRequest +type QuerySmfSelectDataRequest struct { + UeId *string + ServingPlmnId *string + Fields []string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QuerySmfSelectDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmfSelectDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QuerySmfSelectDataRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySmfSelectDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QuerySmfSelectDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QuerySmfSelectDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QuerySmfSelectDataResponse struct { + CacheControl string + ETag string + LastModified string + SmfSelectionSubscriptionData models.SmfSelectionSubscriptionData +} + +type QuerySmfSelectDataError struct { +} + +func (a *SMFSelectionSubscriptionDataDocumentApiService) QuerySmfSelectData(ctx context.Context, request *QuerySmfSelectDataRequest) (*QuerySmfSelectDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmfSelectDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/smf-selection-subscription-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmfSelectionSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_sms_management_subscription_data_document.go b/udr/DataRepository/api_sms_management_subscription_data_document.go new file mode 100644 index 00000000..c26521a5 --- /dev/null +++ b/udr/DataRepository/api_sms_management_subscription_data_document.go @@ -0,0 +1,160 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSManagementSubscriptionDataDocumentApiService service + +/* +SMSManagementSubscriptionDataDocumentApiService Retrieves the SMS management subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QuerySmsMngDataResponse +*/ + +// QuerySmsMngDataRequest +type QuerySmsMngDataRequest struct { + UeId *string + ServingPlmnId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QuerySmsMngDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmsMngDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QuerySmsMngDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QuerySmsMngDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QuerySmsMngDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QuerySmsMngDataResponse struct { + CacheControl string + ETag string + LastModified string + SmsManagementSubscriptionData models.SmsManagementSubscriptionData +} + +type QuerySmsMngDataError struct { +} + +func (a *SMSManagementSubscriptionDataDocumentApiService) QuerySmsMngData(ctx context.Context, request *QuerySmsMngDataRequest) (*QuerySmsMngDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmsMngDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-mng-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsManagementSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_sms_subscription_data_document.go b/udr/DataRepository/api_sms_subscription_data_document.go new file mode 100644 index 00000000..130d7697 --- /dev/null +++ b/udr/DataRepository/api_sms_subscription_data_document.go @@ -0,0 +1,160 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSSubscriptionDataDocumentApiService service + +/* +SMSSubscriptionDataDocumentApiService Retrieves the SMS subscription data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QuerySmsDataResponse +*/ + +// QuerySmsDataRequest +type QuerySmsDataRequest struct { + UeId *string + ServingPlmnId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QuerySmsDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmsDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QuerySmsDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QuerySmsDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QuerySmsDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QuerySmsDataResponse struct { + CacheControl string + ETag string + LastModified string + SmsSubscriptionData models.SmsSubscriptionData +} + +type QuerySmsDataError struct { +} + +func (a *SMSSubscriptionDataDocumentApiService) QuerySmsData(ctx context.Context, request *QuerySmsDataRequest) (*QuerySmsDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmsDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/sms-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smsf3_gpp_registration_document.go b/udr/DataRepository/api_smsf3_gpp_registration_document.go new file mode 100644 index 00000000..b7c0a06e --- /dev/null +++ b/udr/DataRepository/api_smsf3_gpp_registration_document.go @@ -0,0 +1,336 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSF3GPPRegistrationDocumentApiService service + +/* +SMSF3GPPRegistrationDocumentApiService Create the SMSF context data of a UE via 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SmsfRegistration - + +@return CreateSmsfContext3gppResponse +*/ + +// CreateSmsfContext3gppRequest +type CreateSmsfContext3gppRequest struct { + UeId *string + SmsfRegistration *models.SmsfRegistration +} + +func (r *CreateSmsfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateSmsfContext3gppRequest) SetSmsfRegistration(SmsfRegistration models.SmsfRegistration) { + r.SmsfRegistration = &SmsfRegistration +} + +type CreateSmsfContext3gppResponse struct { + Location string + SmsfRegistration models.SmsfRegistration +} + +type CreateSmsfContext3gppError struct { +} + +func (a *SMSF3GPPRegistrationDocumentApiService) CreateSmsfContext3gpp(ctx context.Context, request *CreateSmsfContext3gppRequest) (*CreateSmsfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSmsfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmsfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMSF3GPPRegistrationDocumentApiService To remove the SMSF context data of a UE via 3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteSmsfContext3gppResponse +*/ + +// DeleteSmsfContext3gppRequest +type DeleteSmsfContext3gppRequest struct { + UeId *string +} + +func (r *DeleteSmsfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteSmsfContext3gppResponse struct { +} + +type DeleteSmsfContext3gppError struct { +} + +func (a *SMSF3GPPRegistrationDocumentApiService) DeleteSmsfContext3gpp(ctx context.Context, request *DeleteSmsfContext3gppRequest) (*DeleteSmsfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSmsfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMSF3GPPRegistrationDocumentApiService Retrieves the SMSF context data of a UE using 3gpp access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QuerySmsfContext3gppResponse +*/ + +// QuerySmsfContext3gppRequest +type QuerySmsfContext3gppRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QuerySmsfContext3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmsfContext3gppRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySmsfContext3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerySmsfContext3gppResponse struct { + SmsfRegistration models.SmsfRegistration +} + +type QuerySmsfContext3gppError struct { +} + +func (a *SMSF3GPPRegistrationDocumentApiService) QuerySmsfContext3gpp(ctx context.Context, request *QuerySmsfContext3gppRequest) (*QuerySmsfContext3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmsfContext3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_smsf_non3_gpp_registration_document.go b/udr/DataRepository/api_smsf_non3_gpp_registration_document.go new file mode 100644 index 00000000..10d4a6bd --- /dev/null +++ b/udr/DataRepository/api_smsf_non3_gpp_registration_document.go @@ -0,0 +1,336 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SMSFNon3GPPRegistrationDocumentApiService service + +/* +SMSFNon3GPPRegistrationDocumentApiService Create the SMSF context data of a UE via non-3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SmsfRegistration - + +@return CreateSmsfContextNon3gppResponse +*/ + +// CreateSmsfContextNon3gppRequest +type CreateSmsfContextNon3gppRequest struct { + UeId *string + SmsfRegistration *models.SmsfRegistration +} + +func (r *CreateSmsfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateSmsfContextNon3gppRequest) SetSmsfRegistration(SmsfRegistration models.SmsfRegistration) { + r.SmsfRegistration = &SmsfRegistration +} + +type CreateSmsfContextNon3gppResponse struct { + Location string + SmsfRegistration models.SmsfRegistration +} + +type CreateSmsfContextNon3gppError struct { +} + +func (a *SMSFNon3GPPRegistrationDocumentApiService) CreateSmsfContextNon3gpp(ctx context.Context, request *CreateSmsfContextNon3gppRequest) (*CreateSmsfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateSmsfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SmsfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMSFNon3GPPRegistrationDocumentApiService To remove the SMSF context data of a UE via non-3GPP access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + +@return DeleteSmsfContextNon3gppResponse +*/ + +// DeleteSmsfContextNon3gppRequest +type DeleteSmsfContextNon3gppRequest struct { + UeId *string +} + +func (r *DeleteSmsfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} + +type DeleteSmsfContextNon3gppResponse struct { +} + +type DeleteSmsfContextNon3gppError struct { +} + +func (a *SMSFNon3GPPRegistrationDocumentApiService) DeleteSmsfContextNon3gpp(ctx context.Context, request *DeleteSmsfContextNon3gppRequest) (*DeleteSmsfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteSmsfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SMSFNon3GPPRegistrationDocumentApiService Retrieves the SMSF context data of a UE using non-3gpp access + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param Fields - attributes to be retrieved + * @param SupportedFeatures - Supported Features + +@return QuerySmsfContextNon3gppResponse +*/ + +// QuerySmsfContextNon3gppRequest +type QuerySmsfContextNon3gppRequest struct { + UeId *string + Fields []string + SupportedFeatures *string +} + +func (r *QuerySmsfContextNon3gppRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySmsfContextNon3gppRequest) SetFields(Fields []string) { + r.Fields = Fields +} +func (r *QuerySmsfContextNon3gppRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerySmsfContextNon3gppResponse struct { + SmsfRegistration models.SmsfRegistration +} + +type QuerySmsfContextNon3gppError struct { +} + +func (a *SMSFNon3GPPRegistrationDocumentApiService) QuerySmsfContextNon3gpp(ctx context.Context, request *QuerySmsfContextNon3gppRequest) (*QuerySmsfContextNon3gppResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySmsfContextNon3gppResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/smsf-non-3gpp-access" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Fields != nil { + if len(request.Fields) < 1 { + return &localVarReturnValue, openapi.ReportError("Fields must have at least 1 elements") + } + localVarQueryParams.Add("fields", openapi.ParameterToString(request.Fields, "csv")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SmsfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_sponsor_connectivity_data_document.go b/udr/DataRepository/api_sponsor_connectivity_data_document.go new file mode 100644 index 00000000..4722ec5a --- /dev/null +++ b/udr/DataRepository/api_sponsor_connectivity_data_document.go @@ -0,0 +1,182 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SponsorConnectivityDataDocumentApiService service + +/* +SponsorConnectivityDataDocumentApiService Retrieves the sponsored connectivity information for a given sponsorId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SponsorId - + +@return ReadSponsorConnectivityDataResponse +*/ + +// ReadSponsorConnectivityDataRequest +type ReadSponsorConnectivityDataRequest struct { + SponsorId *string +} + +func (r *ReadSponsorConnectivityDataRequest) SetSponsorId(SponsorId string) { + r.SponsorId = &SponsorId +} + +type ReadSponsorConnectivityDataResponse struct { + SponsorConnectivityData models.SponsorConnectivityData +} + +type ReadSponsorConnectivityDataError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SponsorConnectivityDataDocumentApiService) ReadSponsorConnectivityData(ctx context.Context, request *ReadSponsorConnectivityDataRequest) (*ReadSponsorConnectivityDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadSponsorConnectivityDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/sponsor-connectivity-data/{sponsorId}" + localVarPath = strings.Replace(localVarPath, "{"+"sponsorId"+"}", openapi.StringOfValue(*request.SponsorId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SponsorConnectivityData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadSponsorConnectivityDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_subs_to_notify_collection.go b/udr/DataRepository/api_subs_to_notify_collection.go new file mode 100644 index 00000000..654b37f7 --- /dev/null +++ b/udr/DataRepository/api_subs_to_notify_collection.go @@ -0,0 +1,424 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubsToNotifyCollectionApiService service + +/* +SubsToNotifyCollectionApiService Retrieves the list of subscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QuerySubsToNotifyResponse +*/ + +// QuerySubsToNotifyRequest +type QuerySubsToNotifyRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QuerySubsToNotifyRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QuerySubsToNotifyRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QuerySubsToNotifyResponse struct { + SubscriptionDataSubscriptions []models.SubscriptionDataSubscriptions +} + +type QuerySubsToNotifyError struct { +} + +func (a *SubsToNotifyCollectionApiService) QuerySubsToNotify(ctx context.Context, request *QuerySubsToNotifyRequest) (*QuerySubsToNotifyResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySubsToNotifyResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.UeId == nil { + return nil, openapi.ReportError("UeId must be non nil") + } else { + localVarQueryParams.Add("ue-id", openapi.ParameterToString(request.UeId, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.SubscriptionDataSubscriptions, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SubsToNotifyCollectionApiService Deletes subscriptions identified by a given ue-id parameter + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE ID + * @param NfInstanceId - NF Instance ID + * @param DeleteAllNfs - Flag to delete subscriptions from all NFs + * @param ImplicitUnsubscribeIndication - Implicit Unsubscribe Indication + +@return RemoveMultipleSubscriptionDataSubscriptionsResponse +*/ + +// RemoveMultipleSubscriptionDataSubscriptionsRequest +type RemoveMultipleSubscriptionDataSubscriptionsRequest struct { + UeId *string + NfInstanceId *string + DeleteAllNfs *bool + ImplicitUnsubscribeIndication *bool +} + +func (r *RemoveMultipleSubscriptionDataSubscriptionsRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *RemoveMultipleSubscriptionDataSubscriptionsRequest) SetNfInstanceId(NfInstanceId string) { + r.NfInstanceId = &NfInstanceId +} +func (r *RemoveMultipleSubscriptionDataSubscriptionsRequest) SetDeleteAllNfs(DeleteAllNfs bool) { + r.DeleteAllNfs = &DeleteAllNfs +} +func (r *RemoveMultipleSubscriptionDataSubscriptionsRequest) SetImplicitUnsubscribeIndication(ImplicitUnsubscribeIndication bool) { + r.ImplicitUnsubscribeIndication = &ImplicitUnsubscribeIndication +} + +type RemoveMultipleSubscriptionDataSubscriptionsResponse struct { +} + +type RemoveMultipleSubscriptionDataSubscriptionsError struct { +} + +func (a *SubsToNotifyCollectionApiService) RemoveMultipleSubscriptionDataSubscriptions(ctx context.Context, request *RemoveMultipleSubscriptionDataSubscriptionsRequest) (*RemoveMultipleSubscriptionDataSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemoveMultipleSubscriptionDataSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.UeId == nil { + return nil, openapi.ReportError("UeId must be non nil") + } else { + localVarQueryParams.Add("ue-id", openapi.ParameterToString(request.UeId, "multi")) + } + if request.NfInstanceId != nil { + localVarQueryParams.Add("nf-instance-id", openapi.ParameterToString(request.NfInstanceId, "multi")) + } + if request.DeleteAllNfs != nil { + localVarQueryParams.Add("delete-all-nfs", openapi.ParameterToString(request.DeleteAllNfs, "multi")) + } + if request.ImplicitUnsubscribeIndication != nil { + localVarQueryParams.Add("implicit-unsubscribe-indication", openapi.ParameterToString(request.ImplicitUnsubscribeIndication, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SubsToNotifyCollectionApiService Subscription data subscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubscriptionDataSubscriptions - + +@return SubscriptionDataSubscriptionsResponse +*/ + +// SubscriptionDataSubscriptionsRequest +type SubscriptionDataSubscriptionsRequest struct { + SubscriptionDataSubscriptions *models.SubscriptionDataSubscriptions +} + +func (r *SubscriptionDataSubscriptionsRequest) SetSubscriptionDataSubscriptions(SubscriptionDataSubscriptions models.SubscriptionDataSubscriptions) { + r.SubscriptionDataSubscriptions = &SubscriptionDataSubscriptions +} + +type SubscriptionDataSubscriptionsResponse struct { + Location string + SubscriptionDataSubscriptions models.SubscriptionDataSubscriptions +} + +type SubscriptionDataSubscriptionsError struct { +} + +func (a *SubsToNotifyCollectionApiService) SubscriptionDataSubscriptions(ctx context.Context, request *SubscriptionDataSubscriptionsRequest) (*SubscriptionDataSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionDataSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.SubscriptionDataSubscriptions + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.SubscriptionDataSubscriptions, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +// SubscriptionDataSubscriptionsOnDataChangePostRequest +type SubscriptionDataSubscriptionsOnDataChangePostRequest struct { + DataChangeNotify *models.DataChangeNotify +} + +func (r *SubscriptionDataSubscriptionsOnDataChangePostRequest) SetDataChangeNotify(DataChangeNotify models.DataChangeNotify) { + r.DataChangeNotify = &DataChangeNotify +} + +type SubscriptionDataSubscriptionsOnDataChangePostResponse struct { +} + +type SubscriptionDataSubscriptionsOnDataChangePostError struct { +} + +func (a *SubsToNotifyCollectionApiService) SubscriptionDataSubscriptionsOnDataChangePost(ctx context.Context, uri string, request *SubscriptionDataSubscriptionsOnDataChangePostRequest) (*SubscriptionDataSubscriptionsOnDataChangePostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionDataSubscriptionsOnDataChangePostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.DataChangeNotify + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return &localVarReturnValue, apiError + } +} diff --git a/udr/DataRepository/api_subs_to_notify_document.go b/udr/DataRepository/api_subs_to_notify_document.go new file mode 100644 index 00000000..7d94e43d --- /dev/null +++ b/udr/DataRepository/api_subs_to_notify_document.go @@ -0,0 +1,333 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubsToNotifyDocumentApiService service + +/* +SubsToNotifyDocumentApiService Modify an individual subscriptionDataSubscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - + * @param PatchItem - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return ModifysubscriptionDataSubscriptionResponse +*/ + +// ModifysubscriptionDataSubscriptionRequest +type ModifysubscriptionDataSubscriptionRequest struct { + SubsId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *ModifysubscriptionDataSubscriptionRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} +func (r *ModifysubscriptionDataSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *ModifysubscriptionDataSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type ModifysubscriptionDataSubscriptionResponse struct { + ModifysubscriptionDataSubscriptionResponse200 models.ModifysubscriptionDataSubscriptionResponse200 +} + +type ModifysubscriptionDataSubscriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubsToNotifyDocumentApiService) ModifysubscriptionDataSubscription(ctx context.Context, request *ModifysubscriptionDataSubscriptionRequest) (*ModifysubscriptionDataSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifysubscriptionDataSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.ModifysubscriptionDataSubscriptionResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 403: + var v ModifysubscriptionDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifysubscriptionDataSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +SubsToNotifyDocumentApiService Retrieves a individual subscriptionDataSubscription identified by subsId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - Unique ID of the subscription to retrieve + +@return QuerySubscriptionDataSubscriptionsResponse +*/ + +// QuerySubscriptionDataSubscriptionsRequest +type QuerySubscriptionDataSubscriptionsRequest struct { + SubsId *string +} + +func (r *QuerySubscriptionDataSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type QuerySubscriptionDataSubscriptionsResponse struct { + QuerySubscriptionDataSubscriptionsResponse200 map[string]interface{} +} + +type QuerySubscriptionDataSubscriptionsError struct { +} + +func (a *SubsToNotifyDocumentApiService) QuerySubscriptionDataSubscriptions(ctx context.Context, request *QuerySubscriptionDataSubscriptionsRequest) (*QuerySubscriptionDataSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QuerySubscriptionDataSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.QuerySubscriptionDataSubscriptionsResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} + +/* +SubsToNotifyDocumentApiService Deletes a subscriptionDataSubscriptions + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubsId - Unique ID of the subscription to remove + +@return RemovesubscriptionDataSubscriptionsResponse +*/ + +// RemovesubscriptionDataSubscriptionsRequest +type RemovesubscriptionDataSubscriptionsRequest struct { + SubsId *string +} + +func (r *RemovesubscriptionDataSubscriptionsRequest) SetSubsId(SubsId string) { + r.SubsId = &SubsId +} + +type RemovesubscriptionDataSubscriptionsResponse struct { +} + +type RemovesubscriptionDataSubscriptionsError struct { +} + +func (a *SubsToNotifyDocumentApiService) RemovesubscriptionDataSubscriptions(ctx context.Context, request *RemovesubscriptionDataSubscriptionsRequest) (*RemovesubscriptionDataSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue RemovesubscriptionDataSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/subs-to-notify/{subsId}" + localVarPath = strings.Replace(localVarPath, "{"+"subsId"+"}", openapi.StringOfValue(*request.SubsId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_subscriptions_collection.go b/udr/DataRepository/api_subscriptions_collection.go new file mode 100644 index 00000000..bdaa1270 --- /dev/null +++ b/udr/DataRepository/api_subscriptions_collection.go @@ -0,0 +1,225 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService subscribe to data restoration notifications + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Body - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + Body map[string]interface{} +} + +func (r *CreateIndividualSubcriptionRequest) SetBody(Body map[string]interface{}) { + r.Body = Body +} + +type CreateIndividualSubcriptionResponse struct { +} + +type CreateIndividualSubcriptionError struct { +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/data-restoration-events" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + default: + return &localVarReturnValue, apiError + } +} + +// CreateIndividualSubcriptionRestorationNotificationPostRequest +type CreateIndividualSubcriptionRestorationNotificationPostRequest struct { + UdrDrDataRestorationNotification *models.UdrDrDataRestorationNotification +} + +func (r *CreateIndividualSubcriptionRestorationNotificationPostRequest) SetUdrDrDataRestorationNotification(UdrDrDataRestorationNotification models.UdrDrDataRestorationNotification) { + r.UdrDrDataRestorationNotification = &UdrDrDataRestorationNotification +} + +type CreateIndividualSubcriptionRestorationNotificationPostResponse struct { +} + +type CreateIndividualSubcriptionRestorationNotificationPostError struct { + Location string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionRestorationNotificationPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionRestorationNotificationPostRequest) (*CreateIndividualSubcriptionRestorationNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionRestorationNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdrDrDataRestorationNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionRestorationNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionRestorationNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udr/DataRepository/api_trace_data_document.go b/udr/DataRepository/api_trace_data_document.go new file mode 100644 index 00000000..12cca660 --- /dev/null +++ b/udr/DataRepository/api_trace_data_document.go @@ -0,0 +1,151 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TraceDataDocumentApiService service + +/* +TraceDataDocumentApiService Retrieves the trace configuration data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param ServingPlmnId - PLMN ID + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryTraceDataResponse +*/ + +// QueryTraceDataRequest +type QueryTraceDataRequest struct { + UeId *string + ServingPlmnId *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryTraceDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryTraceDataRequest) SetServingPlmnId(ServingPlmnId string) { + r.ServingPlmnId = &ServingPlmnId +} +func (r *QueryTraceDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryTraceDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryTraceDataResponse struct { + CacheControl string + ETag string + LastModified string + TraceData models.TraceData +} + +type QueryTraceDataError struct { +} + +func (a *TraceDataDocumentApiService) QueryTraceData(ctx context.Context, request *QueryTraceDataRequest) (*QueryTraceDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryTraceDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/{servingPlmnId}/provisioned-data/trace-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"servingPlmnId"+"}", openapi.StringOfValue(*request.ServingPlmnId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TraceData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_u_es_location_information_document.go b/udr/DataRepository/api_u_es_location_information_document.go new file mode 100644 index 00000000..687bd536 --- /dev/null +++ b/udr/DataRepository/api_u_es_location_information_document.go @@ -0,0 +1,130 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEsLocationInformationDocumentApiService service + +/* +UEsLocationInformationDocumentApiService Retrieves the UE's Location Information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + +@return QueryUeLocationResponse +*/ + +// QueryUeLocationRequest +type QueryUeLocationRequest struct { + UeId *string + SupportedFeatures *string +} + +func (r *QueryUeLocationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryUeLocationRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type QueryUeLocationResponse struct { + UdmUecmLocationInfo models.UdmUecmLocationInfo +} + +type QueryUeLocationError struct { +} + +func (a *UEsLocationInformationDocumentApiService) QueryUeLocation(ctx context.Context, request *QueryUeLocationRequest) (*QueryUeLocationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryUeLocationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/location" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UdmUecmLocationInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_ue_policy_set_document.go b/udr/DataRepository/api_ue_policy_set_document.go new file mode 100644 index 00000000..b30a9a4b --- /dev/null +++ b/udr/DataRepository/api_ue_policy_set_document.go @@ -0,0 +1,554 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UEPolicySetDocumentApiService service + +/* +UEPolicySetDocumentApiService Create or modify the UE policy set data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param UePolicySet - + +@return CreateOrReplaceUEPolicySetResponse +*/ + +// CreateOrReplaceUEPolicySetRequest +type CreateOrReplaceUEPolicySetRequest struct { + UeId *string + UePolicySet *models.UePolicySet +} + +func (r *CreateOrReplaceUEPolicySetRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrReplaceUEPolicySetRequest) SetUePolicySet(UePolicySet models.UePolicySet) { + r.UePolicySet = &UePolicySet +} + +type CreateOrReplaceUEPolicySetResponse struct { + Location string + UePolicySet models.UePolicySet +} + +type CreateOrReplaceUEPolicySetError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEPolicySetDocumentApiService) CreateOrReplaceUEPolicySet(ctx context.Context, request *CreateOrReplaceUEPolicySetRequest) (*CreateOrReplaceUEPolicySetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrReplaceUEPolicySetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UePolicySet + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UePolicySet, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.UePolicySet, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrReplaceUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +UEPolicySetDocumentApiService Retrieves the UE policy set data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param SuppFeat - Supported Features + +@return ReadUEPolicySetResponse +*/ + +// ReadUEPolicySetRequest +type ReadUEPolicySetRequest struct { + UeId *string + SuppFeat *string +} + +func (r *ReadUEPolicySetRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReadUEPolicySetRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadUEPolicySetResponse struct { + UePolicySet models.UePolicySet +} + +type ReadUEPolicySetError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEPolicySetDocumentApiService) ReadUEPolicySet(ctx context.Context, request *ReadUEPolicySetRequest) (*ReadUEPolicySetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadUEPolicySetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UePolicySet, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +UEPolicySetDocumentApiService Modify the UE policy set data for a subscriber + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param UePolicySetPatch - + +@return UpdateUEPolicySetResponse +*/ + +// UpdateUEPolicySetRequest +type UpdateUEPolicySetRequest struct { + UeId *string + UePolicySetPatch *models.UePolicySetPatch +} + +func (r *UpdateUEPolicySetRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateUEPolicySetRequest) SetUePolicySetPatch(UePolicySetPatch models.UePolicySetPatch) { + r.UePolicySetPatch = &UePolicySetPatch +} + +type UpdateUEPolicySetResponse struct { +} + +type UpdateUEPolicySetError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UEPolicySetDocumentApiService) UpdateUEPolicySet(ctx context.Context, request *UpdateUEPolicySetRequest) (*UpdateUEPolicySetResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateUEPolicySetResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/ue-policy-set" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UePolicySetPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateUEPolicySetError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_update_the_pei_information_of_the5_gcepc_domains_document.go b/udr/DataRepository/api_update_the_pei_information_of_the5_gcepc_domains_document.go new file mode 100644 index 00000000..411b92d3 --- /dev/null +++ b/udr/DataRepository/api_update_the_pei_information_of_the5_gcepc_domains_document.go @@ -0,0 +1,133 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApiService service + +/* +UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApiService Update the PEI Information of the 5GC/EPC domains + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param PeiUpdateInfo - + +@return CreateOrUpdatePeiInformationResponse +*/ + +// CreateOrUpdatePeiInformationRequest +type CreateOrUpdatePeiInformationRequest struct { + UeId *string + PeiUpdateInfo *models.PeiUpdateInfo +} + +func (r *CreateOrUpdatePeiInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateOrUpdatePeiInformationRequest) SetPeiUpdateInfo(PeiUpdateInfo models.PeiUpdateInfo) { + r.PeiUpdateInfo = &PeiUpdateInfo +} + +type CreateOrUpdatePeiInformationResponse struct { + Location string + PeiUpdateInfo models.PeiUpdateInfo +} + +type CreateOrUpdatePeiInformationError struct { +} + +func (a *UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApiService) CreateOrUpdatePeiInformation(ctx context.Context, request *CreateOrUpdatePeiInformationRequest) (*CreateOrUpdatePeiInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrUpdatePeiInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/pei-info" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PeiUpdateInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PeiUpdateInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_update_the_roaming_information_of_the_epc_domain_document.go b/udr/DataRepository/api_update_the_roaming_information_of_the_epc_domain_document.go new file mode 100644 index 00000000..6e25ed6e --- /dev/null +++ b/udr/DataRepository/api_update_the_roaming_information_of_the_epc_domain_document.go @@ -0,0 +1,133 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UpdateTheRoamingInformationOfTheEPCDomainDocumentApiService service + +/* +UpdateTheRoamingInformationOfTheEPCDomainDocumentApiService Update the Roaming Information of the EPC domain + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param RoamingInfoUpdate - + +@return UpdateRoamingInformationResponse +*/ + +// UpdateRoamingInformationRequest +type UpdateRoamingInformationRequest struct { + UeId *string + RoamingInfoUpdate *models.RoamingInfoUpdate +} + +func (r *UpdateRoamingInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *UpdateRoamingInformationRequest) SetRoamingInfoUpdate(RoamingInfoUpdate models.RoamingInfoUpdate) { + r.RoamingInfoUpdate = &RoamingInfoUpdate +} + +type UpdateRoamingInformationResponse struct { + Location string + RoamingInfoUpdate models.RoamingInfoUpdate +} + +type UpdateRoamingInformationError struct { +} + +func (a *UpdateTheRoamingInformationOfTheEPCDomainDocumentApiService) UpdateRoamingInformation(ctx context.Context, request *UpdateRoamingInformationRequest) (*UpdateRoamingInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateRoamingInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/context-data/roaming-information" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RoamingInfoUpdate + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.RoamingInfoUpdate, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_usage_monitoring_information_document.go b/udr/DataRepository/api_usage_monitoring_information_document.go new file mode 100644 index 00000000..8a982c7e --- /dev/null +++ b/udr/DataRepository/api_usage_monitoring_information_document.go @@ -0,0 +1,550 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UsageMonitoringInformationDocumentApiService service + +/* +UsageMonitoringInformationDocumentApiService Create a usage monitoring resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param UsageMonId - + * @param UsageMonData - + +@return CreateUsageMonitoringResourceResponse +*/ + +// CreateUsageMonitoringResourceRequest +type CreateUsageMonitoringResourceRequest struct { + UeId *string + UsageMonId *string + UsageMonData *models.UsageMonData +} + +func (r *CreateUsageMonitoringResourceRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *CreateUsageMonitoringResourceRequest) SetUsageMonId(UsageMonId string) { + r.UsageMonId = &UsageMonId +} +func (r *CreateUsageMonitoringResourceRequest) SetUsageMonData(UsageMonData models.UsageMonData) { + r.UsageMonData = &UsageMonData +} + +type CreateUsageMonitoringResourceResponse struct { + Location string + UsageMonData models.UsageMonData +} + +type CreateUsageMonitoringResourceError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UsageMonitoringInformationDocumentApiService) CreateUsageMonitoringResource(ctx context.Context, request *CreateUsageMonitoringResourceRequest) (*CreateUsageMonitoringResourceResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateUsageMonitoringResourceResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", openapi.StringOfValue(*request.UsageMonId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UsageMonData + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.UsageMonData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 414: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateUsageMonitoringResourceError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +UsageMonitoringInformationDocumentApiService Delete a usage monitoring resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param UsageMonId - + +@return DeleteUsageMonitoringInformationResponse +*/ + +// DeleteUsageMonitoringInformationRequest +type DeleteUsageMonitoringInformationRequest struct { + UeId *string + UsageMonId *string +} + +func (r *DeleteUsageMonitoringInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *DeleteUsageMonitoringInformationRequest) SetUsageMonId(UsageMonId string) { + r.UsageMonId = &UsageMonId +} + +type DeleteUsageMonitoringInformationResponse struct { +} + +type DeleteUsageMonitoringInformationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UsageMonitoringInformationDocumentApiService) DeleteUsageMonitoringInformation(ctx context.Context, request *DeleteUsageMonitoringInformationRequest) (*DeleteUsageMonitoringInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteUsageMonitoringInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", openapi.StringOfValue(*request.UsageMonId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +UsageMonitoringInformationDocumentApiService Retrieve a usage monitoring resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - + * @param UsageMonId - + * @param SuppFeat - Supported Features + +@return ReadUsageMonitoringInformationResponse +*/ + +// ReadUsageMonitoringInformationRequest +type ReadUsageMonitoringInformationRequest struct { + UeId *string + UsageMonId *string + SuppFeat *string +} + +func (r *ReadUsageMonitoringInformationRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *ReadUsageMonitoringInformationRequest) SetUsageMonId(UsageMonId string) { + r.UsageMonId = &UsageMonId +} +func (r *ReadUsageMonitoringInformationRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type ReadUsageMonitoringInformationResponse struct { + UsageMonData models.UsageMonData +} + +type ReadUsageMonitoringInformationError struct { + ProblemDetails models.ProblemDetails +} + +func (a *UsageMonitoringInformationDocumentApiService) ReadUsageMonitoringInformation(ctx context.Context, request *ReadUsageMonitoringInformationRequest) (*ReadUsageMonitoringInformationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReadUsageMonitoringInformationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/policy-data/ues/{ueId}/sm-data/{usageMonId}" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"usageMonId"+"}", openapi.StringOfValue(*request.UsageMonId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UsageMonData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReadUsageMonitoringInformationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_user_consent_data.go b/udr/DataRepository/api_user_consent_data.go new file mode 100644 index 00000000..463e0c4c --- /dev/null +++ b/udr/DataRepository/api_user_consent_data.go @@ -0,0 +1,162 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type UserConsentDataApiService service + +/* +UserConsentDataApiService Retrieves the subscribed User Consent Data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param UcPurpose - User consent purpose + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryUserConsentDataResponse +*/ + +// QueryUserConsentDataRequest +type QueryUserConsentDataRequest struct { + UeId *string + SupportedFeatures *string + UcPurpose *models.UcPurpose + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryUserConsentDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryUserConsentDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryUserConsentDataRequest) SetUcPurpose(UcPurpose models.UcPurpose) { + r.UcPurpose = &UcPurpose +} +func (r *QueryUserConsentDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryUserConsentDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryUserConsentDataResponse struct { + CacheControl string + ETag string + LastModified string + UcSubscriptionData models.UcSubscriptionData +} + +type QueryUserConsentDataError struct { +} + +func (a *UserConsentDataApiService) QueryUserConsentData(ctx context.Context, request *QueryUserConsentDataRequest) (*QueryUserConsentDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryUserConsentDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/uc-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.UcPurpose != nil { + localVarQueryParams.Add("ucPurpose", openapi.ParameterToString(request.UcPurpose, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.UcSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/api_v2_x_subscription_data.go b/udr/DataRepository/api_v2_x_subscription_data.go new file mode 100644 index 00000000..530c28da --- /dev/null +++ b/udr/DataRepository/api_v2_x_subscription_data.go @@ -0,0 +1,154 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type V2XSubscriptionDataApiService service + +/* +V2XSubscriptionDataApiService Retrieves the subscribed V2X Data of a UE + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param UeId - UE id + * @param SupportedFeatures - Supported Features + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return QueryV2xDataResponse +*/ + +// QueryV2xDataRequest +type QueryV2xDataRequest struct { + UeId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *QueryV2xDataRequest) SetUeId(UeId string) { + r.UeId = &UeId +} +func (r *QueryV2xDataRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *QueryV2xDataRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *QueryV2xDataRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type QueryV2xDataResponse struct { + CacheControl string + ETag string + LastModified string + V2xSubscriptionData models.V2xSubscriptionData +} + +type QueryV2xDataError struct { +} + +func (a *V2XSubscriptionDataApiService) QueryV2xData(ctx context.Context, request *QueryV2xDataRequest) (*QueryV2xDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue QueryV2xDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{ueId}/v2x-data" + localVarPath = strings.Replace(localVarPath, "{"+"ueId"+"}", openapi.StringOfValue(*request.UeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "multi") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "multi") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.V2xSubscriptionData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + default: + return nil, apiError + } +} diff --git a/udr/DataRepository/client.go b/udr/DataRepository/client.go new file mode 100644 index 00000000..831867ef --- /dev/null +++ b/udr/DataRepository/client.go @@ -0,0 +1,278 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +// APIClient manages communication with the Nudr_DataRepository API OpenAPI file API v2.2.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AMF3GPPAccessRegistrationDocumentApi *AMF3GPPAccessRegistrationDocumentApiService + AMFGroupSubscriptionInfoDocumentApi *AMFGroupSubscriptionInfoDocumentApiService + AMFNon3GPPAccessRegistrationDocumentApi *AMFNon3GPPAccessRegistrationDocumentApiService + AMFSubscriptionInfoDocumentApi *AmfSubscriptionInfoDocumentApiService + AccessAndMobilityDataApi *AccessAndMobilityDataApiService + AccessAndMobilityPolicyDataDocumentApi *AccessAndMobilityPolicyDataDocumentApiService + AccessAndMobilitySubscriptionDataDocumentApi *AccessAndMobilitySubscriptionDataDocumentApiService + AmfSubscriptionInfoDocumentApi *AmfSubscriptionInfoDocumentApiService + ApplicationDataSubscriptionsCollectionApi *ApplicationDataSubscriptionsCollectionApiService + AuthEventDocumentApi *AuthEventDocumentApiService + AuthenticationDataDocumentApi *AuthenticationDataDocumentApiService + AuthenticationSoRDocumentApi *AuthenticationSoRDocumentApiService + AuthenticationStatusDocumentApi *AuthenticationStatusDocumentApiService + AuthenticationSubscriptionDocumentApi *AuthenticationSubscriptionDocumentApiService + AuthenticationUPUDocumentApi *AuthenticationUPUDocumentApiService + BdtDataStoreApi *BdtDataStoreApiService + BdtPolicyDataStoreApi *BdtPolicyDataStoreApiService + CAGACKDocumentApi *CAGACKDocumentApiService + CAGUpdateAckDocumentApi *CAGUpdateAckDocumentApiService + Class5GMBSGroupStoreApi *Class5GMBSGroupStoreApiService + Class5GMBSGroupsInternalDocumentApi *Class5GMBSGroupsInternalDocumentApiService + Class5GVNGroupsInternalDocumentApi *Class5GVNGroupsInternalDocumentApiService + Class5GVNGroupsStoreApi *Class5GVNGroupsStoreApiService + Class5GVnGroupConfigurationDocumentApi *Class5GVnGroupConfigurationDocumentApiService + Class5MBSSubscriptionDataDocumentApi *Class5MBSSubscriptionDataDocumentApiService + ContextDataDocumentApi *ContextDataDocumentApiService + Delete5GVnGroupApi *Delete5GVnGroupApiService + Delete5GmbsGroupApi *Delete5GmbsGroupApiService + EnhancedCoverageRestrictionDataApi *EnhancedCoverageRestrictionDataApiService + EventAMFSubscriptionInfoDocumentApi *EventAMFSubscriptionInfoDocumentApiService + EventExposureDataDocumentApi *EventExposureDataDocumentApiService + EventExposureDataForAGroupDocumentApi *EventExposureDataForAGroupDocumentApiService + EventExposureGroupSubscriptionDocumentApi *EventExposureGroupSubscriptionDocumentApiService + EventExposureGroupSubscriptionsCollectionApi *EventExposureGroupSubscriptionsCollectionApiService + EventExposureSubscriptionDocumentApi *EventExposureSubscriptionDocumentApiService + EventExposureSubscriptionsCollectionApi *EventExposureSubscriptionsCollectionApiService + ExposureDataSubscriptionsCollectionApi *ExposureDataSubscriptionsCollectionApiService + GroupIdentifiersApi *GroupIdentifiersApiService + HSSEventGroupSubscriptionInfoDocumentApi *HSSEventGroupSubscriptionInfoDocumentApiService + HSSEventSubscriptionInfoDocumentApi *HSSEventSubscriptionInfoDocumentApiService + HSSSDMSubscriptionInfoDocumentApi *HSSSDMSubscriptionInfoDocumentApiService + IPSMGWRegistrationDocumentApi *IPSMGWRegistrationDocumentApiService + IPTVConfigurationDataStoreApi *IPTVConfigurationDataStoreApiService + IndividualApplicationDataSubscriptionDocumentApi *IndividualApplicationDataSubscriptionDocumentApiService + IndividualAppliedBDTPolicyDataDocumentApi *IndividualAppliedBDTPolicyDataDocumentApiService + IndividualAuthEventDocumentApi *IndividualAuthEventDocumentApiService + IndividualAuthenticationStatusDocumentApi *IndividualAuthenticationStatusDocumentApiService + IndividualBdtDataDocumentApi *IndividualBdtDataDocumentApiService + IndividualExposureDataSubscriptionDocumentApi *IndividualExposureDataSubscriptionDocumentApiService + IndividualIPTVConfigurationDataDocumentApi *IndividualIPTVConfigurationDataDocumentApiService + IndividualInfluenceDataDocumentApi *IndividualInfluenceDataDocumentApiService + IndividualInfluenceDataSubscriptionDocumentApi *IndividualInfluenceDataSubscriptionDocumentApiService + IndividualPFDDataDocumentApi *IndividualPFDDataDocumentApiService + IndividualPolicyDataSubscriptionDocumentApi *IndividualPolicyDataSubscriptionDocumentApiService + IndividualServiceParameterDataDocumentApi *IndividualServiceParameterDataDocumentApiService + InfluenceDataStoreApi *InfluenceDataStoreApiService + InfluenceDataSubscriptionsCollectionApi *InfluenceDataSubscriptionsCollectionApiService + LCSBroadcastAssistanceSubscriptionDataApi *LCSBroadcastAssistanceSubscriptionDataApiService + LCSMobileOriginatedSubscriptionDataApi *LCSMobileOriginatedSubscriptionDataApiService + LCSPrivacySubscriptionDataApi *LCSPrivacySubscriptionDataApiService + MessageWaitingDataDocumentApi *MessageWaitingDataDocumentApiService + Modify5GVnGroupApi *Modify5GVnGroupApiService + Modify5GmbsGroupApi *Modify5GmbsGroupApiService + MulticastMbsGroupMembDocumentApi *MulticastMbsGroupMembDocumentApiService + NIDDAuthorizationInfoDocumentApi *NIDDAuthorizationInfoDocumentApiService + NSSAIACKDocumentApi *NSSAIACKDocumentApiService + NSSAIUpdateAckDocumentApi *NSSAIUpdateAckDocumentApiService + OperatorSpecificDataContainerDocumentApi *OperatorSpecificDataContainerDocumentApiService + OperatorSpecificDataDocumentApi *OperatorSpecificDataDocumentApiService + PFDDataStoreApi *PFDDataStoreApiService + ParameterProvisionDocumentApi *ParameterProvisionDocumentApiService + ParameterProvisionProfileDataDocumentApi *ParameterProvisionProfileDataDocumentApiService + ParameterProvisionProfileDataFor5GMBSGroupDocumentApi *ParameterProvisionProfileDataFor5GMBSGroupDocumentApiService + ParameterProvisionProfileDataFor5GVNGroupDocumentApi *ParameterProvisionProfileDataFor5GVNGroupDocumentApiService + PduSessionManagementDataApi *PduSessionManagementDataApiService + PlmnUePolicySetDocumentApi *PlmnUePolicySetDocumentApiService + PolicyDataForIndividualUeDocumentApi *PolicyDataForIndividualUeDocumentApiService + PolicyDataSubscriptionsCollectionApi *PolicyDataSubscriptionsCollectionApiService + ProSeServiceSubscriptionDataApi *ProSeServiceSubscriptionDataApiService + ProvisionedDataDocumentApi *ProvisionedDataDocumentApiService + ProvisionedParameterDataDocumentApi *ProvisionedParameterDataDocumentApiService + ProvisionedParameterDataEntriesCollectionApi *ProvisionedParameterDataEntriesCollectionApiService + Query5GVnGroupConfigurationDocumentApi *Query5GVnGroupConfigurationDocumentApiService + QueryAMFSubscriptionInfoDocumentApi *QueryAMFSubscriptionInfoDocumentApiService + QueryIdentityDataBySUPIOrGPSIDocumentApi *QueryIdentityDataBySUPIOrGPSIDocumentApiService + QueryMulticastMbsGroupMembDocumentApi *QueryMulticastMbsGroupMembDocumentApiService + QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApi *QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApiService + QueryODBDataBySUPIOrGPSIDocumentApi *QueryODBDataBySUPIOrGPSIDocumentApiService + QueryServiceSpecificAuthorizationDataDocumentApi *QueryServiceSpecificAuthorizationDataDocumentApiService + RetrievalOfIndividualSharedDataApi *RetrievalOfIndividualSharedDataApiService + RetrievalOfSharedDataApi *RetrievalOfSharedDataApiService + RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApi *RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApiService + RetrieveTheRoamingInformationOfTheEPCDomainDocumentApi *RetrieveTheRoamingInformationOfTheEPCDomainDocumentApiService + SDMSubscriptionDocumentApi *SDMSubscriptionDocumentApiService + SDMSubscriptionsCollectionApi *SDMSubscriptionsCollectionApiService + SMFEventGroupSubscriptionInfoDocumentApi *SMFEventGroupSubscriptionInfoDocumentApiService + SMFEventSubscriptionInfoDocumentApi *SMFEventSubscriptionInfoDocumentApiService + SMFRegistrationDocumentApi *SMFRegistrationDocumentApiService + SMFRegistrationsCollectionApi *SMFRegistrationsCollectionApiService + SMFSelectionSubscriptionDataDocumentApi *SMFSelectionSubscriptionDataDocumentApiService + SMSF3GPPRegistrationDocumentApi *SMSF3GPPRegistrationDocumentApiService + SMSFNon3GPPRegistrationDocumentApi *SMSFNon3GPPRegistrationDocumentApiService + SMSManagementSubscriptionDataDocumentApi *SMSManagementSubscriptionDataDocumentApiService + SMSSubscriptionDataDocumentApi *SMSSubscriptionDataDocumentApiService + ServiceParameterDataStoreApi *ServiceParameterDataStoreApiService + ServiceSpecificAuthorizationInfoDocumentApi *ServiceSpecificAuthorizationInfoDocumentApiService + SessionManagementPolicyDataDocumentApi *SessionManagementPolicyDataDocumentApiService + SessionManagementSubscriptionDataApi *SessionManagementSubscriptionDataApiService + SponsorConnectivityDataDocumentApi *SponsorConnectivityDataDocumentApiService + SubsToNotifyCollectionApi *SubsToNotifyCollectionApiService + SubsToNotifyDocumentApi *SubsToNotifyDocumentApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService + TraceDataDocumentApi *TraceDataDocumentApiService + UEPolicySetDocumentApi *UEPolicySetDocumentApiService + UEsLocationInformationDocumentApi *UEsLocationInformationDocumentApiService + UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApi *UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApiService + UpdateTheRoamingInformationOfTheEPCDomainDocumentApi *UpdateTheRoamingInformationOfTheEPCDomainDocumentApiService + UsageMonitoringInformationDocumentApi *UsageMonitoringInformationDocumentApiService + UserConsentDataApi *UserConsentDataApiService + V2XSubscriptionDataApi *V2XSubscriptionDataApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AMF3GPPAccessRegistrationDocumentApi = (*AMF3GPPAccessRegistrationDocumentApiService)(&c.common) + c.AMFGroupSubscriptionInfoDocumentApi = (*AMFGroupSubscriptionInfoDocumentApiService)(&c.common) + c.AMFNon3GPPAccessRegistrationDocumentApi = (*AMFNon3GPPAccessRegistrationDocumentApiService)(&c.common) + c.AMFSubscriptionInfoDocumentApi = (*AmfSubscriptionInfoDocumentApiService)(&c.common) + c.AccessAndMobilityDataApi = (*AccessAndMobilityDataApiService)(&c.common) + c.AccessAndMobilityPolicyDataDocumentApi = (*AccessAndMobilityPolicyDataDocumentApiService)(&c.common) + c.AccessAndMobilitySubscriptionDataDocumentApi = (*AccessAndMobilitySubscriptionDataDocumentApiService)(&c.common) + c.AmfSubscriptionInfoDocumentApi = (*AmfSubscriptionInfoDocumentApiService)(&c.common) + c.ApplicationDataSubscriptionsCollectionApi = (*ApplicationDataSubscriptionsCollectionApiService)(&c.common) + c.AuthEventDocumentApi = (*AuthEventDocumentApiService)(&c.common) + c.AuthenticationDataDocumentApi = (*AuthenticationDataDocumentApiService)(&c.common) + c.AuthenticationSoRDocumentApi = (*AuthenticationSoRDocumentApiService)(&c.common) + c.AuthenticationStatusDocumentApi = (*AuthenticationStatusDocumentApiService)(&c.common) + c.AuthenticationSubscriptionDocumentApi = (*AuthenticationSubscriptionDocumentApiService)(&c.common) + c.AuthenticationUPUDocumentApi = (*AuthenticationUPUDocumentApiService)(&c.common) + c.BdtDataStoreApi = (*BdtDataStoreApiService)(&c.common) + c.BdtPolicyDataStoreApi = (*BdtPolicyDataStoreApiService)(&c.common) + c.CAGACKDocumentApi = (*CAGACKDocumentApiService)(&c.common) + c.CAGUpdateAckDocumentApi = (*CAGUpdateAckDocumentApiService)(&c.common) + c.Class5GMBSGroupStoreApi = (*Class5GMBSGroupStoreApiService)(&c.common) + c.Class5GMBSGroupsInternalDocumentApi = (*Class5GMBSGroupsInternalDocumentApiService)(&c.common) + c.Class5GVNGroupsInternalDocumentApi = (*Class5GVNGroupsInternalDocumentApiService)(&c.common) + c.Class5GVNGroupsStoreApi = (*Class5GVNGroupsStoreApiService)(&c.common) + c.Class5GVnGroupConfigurationDocumentApi = (*Class5GVnGroupConfigurationDocumentApiService)(&c.common) + c.Class5MBSSubscriptionDataDocumentApi = (*Class5MBSSubscriptionDataDocumentApiService)(&c.common) + c.ContextDataDocumentApi = (*ContextDataDocumentApiService)(&c.common) + c.Delete5GVnGroupApi = (*Delete5GVnGroupApiService)(&c.common) + c.Delete5GmbsGroupApi = (*Delete5GmbsGroupApiService)(&c.common) + c.EnhancedCoverageRestrictionDataApi = (*EnhancedCoverageRestrictionDataApiService)(&c.common) + c.EventAMFSubscriptionInfoDocumentApi = (*EventAMFSubscriptionInfoDocumentApiService)(&c.common) + c.EventExposureDataDocumentApi = (*EventExposureDataDocumentApiService)(&c.common) + c.EventExposureDataForAGroupDocumentApi = (*EventExposureDataForAGroupDocumentApiService)(&c.common) + c.EventExposureGroupSubscriptionDocumentApi = (*EventExposureGroupSubscriptionDocumentApiService)(&c.common) + c.EventExposureGroupSubscriptionsCollectionApi = (*EventExposureGroupSubscriptionsCollectionApiService)(&c.common) + c.EventExposureSubscriptionDocumentApi = (*EventExposureSubscriptionDocumentApiService)(&c.common) + c.EventExposureSubscriptionsCollectionApi = (*EventExposureSubscriptionsCollectionApiService)(&c.common) + c.ExposureDataSubscriptionsCollectionApi = (*ExposureDataSubscriptionsCollectionApiService)(&c.common) + c.GroupIdentifiersApi = (*GroupIdentifiersApiService)(&c.common) + c.HSSEventGroupSubscriptionInfoDocumentApi = (*HSSEventGroupSubscriptionInfoDocumentApiService)(&c.common) + c.HSSEventSubscriptionInfoDocumentApi = (*HSSEventSubscriptionInfoDocumentApiService)(&c.common) + c.HSSSDMSubscriptionInfoDocumentApi = (*HSSSDMSubscriptionInfoDocumentApiService)(&c.common) + c.IPSMGWRegistrationDocumentApi = (*IPSMGWRegistrationDocumentApiService)(&c.common) + c.IPTVConfigurationDataStoreApi = (*IPTVConfigurationDataStoreApiService)(&c.common) + c.IndividualApplicationDataSubscriptionDocumentApi = (*IndividualApplicationDataSubscriptionDocumentApiService)(&c.common) + c.IndividualAppliedBDTPolicyDataDocumentApi = (*IndividualAppliedBDTPolicyDataDocumentApiService)(&c.common) + c.IndividualAuthEventDocumentApi = (*IndividualAuthEventDocumentApiService)(&c.common) + c.IndividualAuthenticationStatusDocumentApi = (*IndividualAuthenticationStatusDocumentApiService)(&c.common) + c.IndividualBdtDataDocumentApi = (*IndividualBdtDataDocumentApiService)(&c.common) + c.IndividualExposureDataSubscriptionDocumentApi = (*IndividualExposureDataSubscriptionDocumentApiService)(&c.common) + c.IndividualIPTVConfigurationDataDocumentApi = (*IndividualIPTVConfigurationDataDocumentApiService)(&c.common) + c.IndividualInfluenceDataDocumentApi = (*IndividualInfluenceDataDocumentApiService)(&c.common) + c.IndividualInfluenceDataSubscriptionDocumentApi = (*IndividualInfluenceDataSubscriptionDocumentApiService)(&c.common) + c.IndividualPFDDataDocumentApi = (*IndividualPFDDataDocumentApiService)(&c.common) + c.IndividualPolicyDataSubscriptionDocumentApi = (*IndividualPolicyDataSubscriptionDocumentApiService)(&c.common) + c.IndividualServiceParameterDataDocumentApi = (*IndividualServiceParameterDataDocumentApiService)(&c.common) + c.InfluenceDataStoreApi = (*InfluenceDataStoreApiService)(&c.common) + c.InfluenceDataSubscriptionsCollectionApi = (*InfluenceDataSubscriptionsCollectionApiService)(&c.common) + c.LCSBroadcastAssistanceSubscriptionDataApi = (*LCSBroadcastAssistanceSubscriptionDataApiService)(&c.common) + c.LCSMobileOriginatedSubscriptionDataApi = (*LCSMobileOriginatedSubscriptionDataApiService)(&c.common) + c.LCSPrivacySubscriptionDataApi = (*LCSPrivacySubscriptionDataApiService)(&c.common) + c.MessageWaitingDataDocumentApi = (*MessageWaitingDataDocumentApiService)(&c.common) + c.Modify5GVnGroupApi = (*Modify5GVnGroupApiService)(&c.common) + c.Modify5GmbsGroupApi = (*Modify5GmbsGroupApiService)(&c.common) + c.MulticastMbsGroupMembDocumentApi = (*MulticastMbsGroupMembDocumentApiService)(&c.common) + c.NIDDAuthorizationInfoDocumentApi = (*NIDDAuthorizationInfoDocumentApiService)(&c.common) + c.NSSAIACKDocumentApi = (*NSSAIACKDocumentApiService)(&c.common) + c.NSSAIUpdateAckDocumentApi = (*NSSAIUpdateAckDocumentApiService)(&c.common) + c.OperatorSpecificDataContainerDocumentApi = (*OperatorSpecificDataContainerDocumentApiService)(&c.common) + c.OperatorSpecificDataDocumentApi = (*OperatorSpecificDataDocumentApiService)(&c.common) + c.PFDDataStoreApi = (*PFDDataStoreApiService)(&c.common) + c.ParameterProvisionDocumentApi = (*ParameterProvisionDocumentApiService)(&c.common) + c.ParameterProvisionProfileDataDocumentApi = (*ParameterProvisionProfileDataDocumentApiService)(&c.common) + c.ParameterProvisionProfileDataFor5GMBSGroupDocumentApi = (*ParameterProvisionProfileDataFor5GMBSGroupDocumentApiService)(&c.common) + c.ParameterProvisionProfileDataFor5GVNGroupDocumentApi = (*ParameterProvisionProfileDataFor5GVNGroupDocumentApiService)(&c.common) + c.PduSessionManagementDataApi = (*PduSessionManagementDataApiService)(&c.common) + c.PlmnUePolicySetDocumentApi = (*PlmnUePolicySetDocumentApiService)(&c.common) + c.PolicyDataForIndividualUeDocumentApi = (*PolicyDataForIndividualUeDocumentApiService)(&c.common) + c.PolicyDataSubscriptionsCollectionApi = (*PolicyDataSubscriptionsCollectionApiService)(&c.common) + c.ProSeServiceSubscriptionDataApi = (*ProSeServiceSubscriptionDataApiService)(&c.common) + c.ProvisionedDataDocumentApi = (*ProvisionedDataDocumentApiService)(&c.common) + c.ProvisionedParameterDataDocumentApi = (*ProvisionedParameterDataDocumentApiService)(&c.common) + c.ProvisionedParameterDataEntriesCollectionApi = (*ProvisionedParameterDataEntriesCollectionApiService)(&c.common) + c.Query5GVnGroupConfigurationDocumentApi = (*Query5GVnGroupConfigurationDocumentApiService)(&c.common) + c.QueryAMFSubscriptionInfoDocumentApi = (*QueryAMFSubscriptionInfoDocumentApiService)(&c.common) + c.QueryIdentityDataBySUPIOrGPSIDocumentApi = (*QueryIdentityDataBySUPIOrGPSIDocumentApiService)(&c.common) + c.QueryMulticastMbsGroupMembDocumentApi = (*QueryMulticastMbsGroupMembDocumentApiService)(&c.common) + c.QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApi = (*QueryNIDDAuthorizationDataGPSIOrExternalGroupIdentifierDocumentApiService)(&c.common) + c.QueryODBDataBySUPIOrGPSIDocumentApi = (*QueryODBDataBySUPIOrGPSIDocumentApiService)(&c.common) + c.QueryServiceSpecificAuthorizationDataDocumentApi = (*QueryServiceSpecificAuthorizationDataDocumentApiService)(&c.common) + c.RetrievalOfIndividualSharedDataApi = (*RetrievalOfIndividualSharedDataApiService)(&c.common) + c.RetrievalOfSharedDataApi = (*RetrievalOfSharedDataApiService)(&c.common) + c.RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApi = (*RetrieveTheRoamingInformationOfThe5GCEPCDomainsDocumentApiService)(&c.common) + c.RetrieveTheRoamingInformationOfTheEPCDomainDocumentApi = (*RetrieveTheRoamingInformationOfTheEPCDomainDocumentApiService)(&c.common) + c.SDMSubscriptionDocumentApi = (*SDMSubscriptionDocumentApiService)(&c.common) + c.SDMSubscriptionsCollectionApi = (*SDMSubscriptionsCollectionApiService)(&c.common) + c.SMFEventGroupSubscriptionInfoDocumentApi = (*SMFEventGroupSubscriptionInfoDocumentApiService)(&c.common) + c.SMFEventSubscriptionInfoDocumentApi = (*SMFEventSubscriptionInfoDocumentApiService)(&c.common) + c.SMFRegistrationDocumentApi = (*SMFRegistrationDocumentApiService)(&c.common) + c.SMFRegistrationsCollectionApi = (*SMFRegistrationsCollectionApiService)(&c.common) + c.SMFSelectionSubscriptionDataDocumentApi = (*SMFSelectionSubscriptionDataDocumentApiService)(&c.common) + c.SMSF3GPPRegistrationDocumentApi = (*SMSF3GPPRegistrationDocumentApiService)(&c.common) + c.SMSFNon3GPPRegistrationDocumentApi = (*SMSFNon3GPPRegistrationDocumentApiService)(&c.common) + c.SMSManagementSubscriptionDataDocumentApi = (*SMSManagementSubscriptionDataDocumentApiService)(&c.common) + c.SMSSubscriptionDataDocumentApi = (*SMSSubscriptionDataDocumentApiService)(&c.common) + c.ServiceParameterDataStoreApi = (*ServiceParameterDataStoreApiService)(&c.common) + c.ServiceSpecificAuthorizationInfoDocumentApi = (*ServiceSpecificAuthorizationInfoDocumentApiService)(&c.common) + c.SessionManagementPolicyDataDocumentApi = (*SessionManagementPolicyDataDocumentApiService)(&c.common) + c.SessionManagementSubscriptionDataApi = (*SessionManagementSubscriptionDataApiService)(&c.common) + c.SponsorConnectivityDataDocumentApi = (*SponsorConnectivityDataDocumentApiService)(&c.common) + c.SubsToNotifyCollectionApi = (*SubsToNotifyCollectionApiService)(&c.common) + c.SubsToNotifyDocumentApi = (*SubsToNotifyDocumentApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + c.TraceDataDocumentApi = (*TraceDataDocumentApiService)(&c.common) + c.UEPolicySetDocumentApi = (*UEPolicySetDocumentApiService)(&c.common) + c.UEsLocationInformationDocumentApi = (*UEsLocationInformationDocumentApiService)(&c.common) + c.UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApi = (*UpdateThePEIInformationOfThe5GCEPCDomainsDocumentApiService)(&c.common) + c.UpdateTheRoamingInformationOfTheEPCDomainDocumentApi = (*UpdateTheRoamingInformationOfTheEPCDomainDocumentApiService)(&c.common) + c.UsageMonitoringInformationDocumentApi = (*UsageMonitoringInformationDocumentApiService)(&c.common) + c.UserConsentDataApi = (*UserConsentDataApiService)(&c.common) + c.V2XSubscriptionDataApi = (*V2XSubscriptionDataApiService)(&c.common) + + return c +} diff --git a/udr/DataRepository/configuration.go b/udr/DataRepository/configuration.go new file mode 100644 index 00000000..f0a1c38b --- /dev/null +++ b/udr/DataRepository/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.2.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudr-dr/v2", + url: "{apiRoot}/nudr-dr/v2", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udr/GroupIDmap/api_nf_group_i_ds_document.go b/udr/GroupIDmap/api_nf_group_i_ds_document.go new file mode 100644 index 00000000..de8f5969 --- /dev/null +++ b/udr/GroupIDmap/api_nf_group_i_ds_document.go @@ -0,0 +1,148 @@ +/* + * Nudr_GroupIDmap + * + * Unified Data Repository Service for NF-Group ID retrieval. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.7.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package GroupIDmap + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NFGroupIDsDocumentApiService service + +/* +NFGroupIDsDocumentApiService Retrieves NF-Group IDs for provided Subscriber and NF types + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param NfType - Type of NF + * @param SubscriberId - Identifier of the subscriber + +@return GetNfGroupIDsResponse +*/ + +// GetNfGroupIDsRequest +type GetNfGroupIDsRequest struct { + NfType []models.NrfNfManagementNfType + SubscriberId *string +} + +func (r *GetNfGroupIDsRequest) SetNfType(NfType []models.NrfNfManagementNfType) { + r.NfType = NfType +} +func (r *GetNfGroupIDsRequest) SetSubscriberId(SubscriberId string) { + r.SubscriberId = &SubscriberId +} + +type GetNfGroupIDsResponse struct { + GetNfGroupIDsResponse200 map[string]string +} + +type GetNfGroupIDsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NFGroupIDsDocumentApiService) GetNfGroupIDs(ctx context.Context, request *GetNfGroupIDsRequest) (*GetNfGroupIDsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNfGroupIDsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/nf-group-ids" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.NfType == nil { + return nil, openapi.ReportError("NfType must be non nil") + } else { + if len(request.NfType) < 1 { + return &localVarReturnValue, openapi.ReportError("NfType must have at least 1 elements") + } + localVarQueryParams.Add("nf-type", openapi.ParameterToString(request.NfType, "csv")) + } + if request.SubscriberId == nil { + return nil, openapi.ReportError("SubscriberId must be non nil") + } else { + localVarQueryParams.Add("subscriberId", openapi.ParameterToString(request.SubscriberId, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.GetNfGroupIDsResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 404: + var v GetNfGroupIDsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udr/GroupIDmap/client.go b/udr/GroupIDmap/client.go new file mode 100644 index 00000000..9f4a5551 --- /dev/null +++ b/udr/GroupIDmap/client.go @@ -0,0 +1,40 @@ +/* + * Nudr_GroupIDmap + * + * Unified Data Repository Service for NF-Group ID retrieval. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.7.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package GroupIDmap + +// APIClient manages communication with the Nudr_GroupIDmap API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + NFGroupIDsDocumentApi *NFGroupIDsDocumentApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.NFGroupIDsDocumentApi = (*NFGroupIDsDocumentApiService)(&c.common) + + return c +} diff --git a/udr/GroupIDmap/configuration.go b/udr/GroupIDmap/configuration.go new file mode 100644 index 00000000..8a48a546 --- /dev/null +++ b/udr/GroupIDmap/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudr_GroupIDmap + * + * Unified Data Repository Service for NF-Group ID retrieval. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V17.7.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package GroupIDmap + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudr-group-id-map/v1", + url: "{apiRoot}/nudr-group-id-map/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udr/ImsDataRepository/api_charging_info_retrieval.go b/udr/ImsDataRepository/api_charging_info_retrieval.go new file mode 100644 index 00000000..97c12154 --- /dev/null +++ b/udr/ImsDataRepository/api_charging_info_retrieval.go @@ -0,0 +1,166 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "fmt" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type ChargingInfoRetrievalApiService service + +/* +ChargingInfoRetrievalApiService Retrieve the charging information for to the user + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ImsUeId - IMS Identity + * @param SupportedFeatures - Supported Features + +@return GetChargingInfoResponse +*/ + +// GetChargingInfoRequest +type GetChargingInfoRequest struct { + ImsUeId *string + SupportedFeatures *string +} + +func (r *GetChargingInfoRequest) SetImsUeId(ImsUeId string) { + r.ImsUeId = &ImsUeId +} +func (r *GetChargingInfoRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +func (a *ChargingInfoRetrievalApiService) GetChargingInfo(ctx context.Context, request *GetChargingInfoRequest) (*GetChargingInfoResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetChargingInfoResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{imsUeId}/ims-data/profile-data/charging-info" + localVarPath = strings.Replace(localVarPath, "{"+"imsUeId"+"}", fmt.Sprintf("%v", request.ImsUeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ChargingInfo, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 404: + var v GetChargingInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, apiError + case 500: + var v GetChargingInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetChargingInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v GetChargingInfoError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, apiError + } +} + +type GetChargingInfoResponse struct { + ChargingInfo models.ChargingInfo +} + +type GetChargingInfoError struct { + ProblemDetails models.ProblemDetails +} diff --git a/udr/ImsDataRepository/api_ims_profile_data_retrieval.go b/udr/ImsDataRepository/api_ims_profile_data_retrieval.go new file mode 100644 index 00000000..1725fef0 --- /dev/null +++ b/udr/ImsDataRepository/api_ims_profile_data_retrieval.go @@ -0,0 +1,193 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "fmt" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IMSProfileDataRetrievalApiService service + +/* +IMSProfileDataRetrievalApiService Retrieve the complete IMS profile for a given IMS public identity (and public identities in the same IRS) + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ImsUeId - IMS Identity. In this case it shall be an IMS public identity + * @param DatasetNames - Datasets to be retrieved + +@return GetProfileDataResponse +*/ + +// GetProfileDataRequest +type GetProfileDataRequest struct { + ImsUeId *string + DatasetNames []*models.DataSetName +} + +func (r *GetProfileDataRequest) SetImsUeId(ImsUeId string) { + r.ImsUeId = &ImsUeId +} +func (r *GetProfileDataRequest) SetDatasetNames(DatasetNames []*models.DataSetName) { + r.DatasetNames = DatasetNames +} + +func (a *IMSProfileDataRetrievalApiService) GetProfileData(ctx context.Context, request *GetProfileDataRequest) (*GetProfileDataResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetProfileDataResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{imsUeId}/ims-data/profile-data" + localVarPath = strings.Replace(localVarPath, "{"+"imsUeId"+"}", fmt.Sprintf("%v", request.ImsUeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.DatasetNames != nil { + if len(request.DatasetNames) < 1 { + return &localVarReturnValue, openapi.ReportError("DatasetNames must have at least 1 elements") + } + + localVarQueryParams.Add("dataset-names", openapi.ParameterToString(request.DatasetNames, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ImsProfileData, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetProfileDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetProfileDataError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetProfileDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, apiError + case 500: + var v GetProfileDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetProfileDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 504: + var v GetProfileDataError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, apiError + } +} + +type GetProfileDataResponse struct { + ImsProfileData models.ImsProfileData +} + +type GetProfileDataError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} diff --git a/udr/ImsDataRepository/api_retrieval_of_associated_ims_private_identities.go b/udr/ImsDataRepository/api_retrieval_of_associated_ims_private_identities.go new file mode 100644 index 00000000..3f9ac9c7 --- /dev/null +++ b/udr/ImsDataRepository/api_retrieval_of_associated_ims_private_identities.go @@ -0,0 +1,179 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "fmt" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfAssociatedIMSPrivateIdentitiesApiService service + +/* +RetrievalOfAssociatedIMSPrivateIdentitiesApiService Retrieve the associated private identities to the IMS public identity included in the service request + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ImsUeId - IMS Public Identity + * @param SupportedFeatures - Supported Features + * @param Impi - Private Identity of type IMPI + +@return GetImsPrivateIdsResponse +*/ + +// GetImsPrivateIdsRequest +type GetImsPrivateIdsRequest struct { + ImsUeId *string + SupportedFeatures *string + Impi *string +} + +func (r *GetImsPrivateIdsRequest) SetImsUeId(ImsUeId string) { + r.ImsUeId = &ImsUeId +} +func (r *GetImsPrivateIdsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetImsPrivateIdsRequest) SetImpi(Impi string) { + r.Impi = &Impi +} + +func (a *RetrievalOfAssociatedIMSPrivateIdentitiesApiService) GetImsPrivateIds(ctx context.Context, request *GetImsPrivateIdsRequest) (*GetImsPrivateIdsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetImsPrivateIdsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{imsUeId}/identities/private-identities" + localVarPath = strings.Replace(localVarPath, "{"+"imsUeId"+"}", fmt.Sprintf("%v", request.ImsUeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "")) + } + if request.Impi != nil { + localVarQueryParams.Add("impi", openapi.ParameterToString(request.Impi, "")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PrivateIdentities, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetImsPrivateIdsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetImsPrivateIdsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetImsPrivateIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetImsPrivateIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, apiError + } +} + +type GetImsPrivateIdsResponse struct { + PrivateIdentities models.PrivateIdentities +} + +type GetImsPrivateIdsError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} diff --git a/udr/ImsDataRepository/api_retrieval_of_associated_ims_public_identities.go b/udr/ImsDataRepository/api_retrieval_of_associated_ims_public_identities.go new file mode 100644 index 00000000..e1c49ac2 --- /dev/null +++ b/udr/ImsDataRepository/api_retrieval_of_associated_ims_public_identities.go @@ -0,0 +1,180 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "fmt" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RetrievalOfAssociatedIMSPublicIdentitiesApiService service + +/* +RetrievalOfAssociatedIMSPublicIdentitiesApiService Retrieve the associated identities to the IMS public identity included in the service request + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ImsUeId - IMS Public Identity + +@return GetImsAssocIdsResponse +*/ + +// GetImsAssocIdsRequest +type GetImsAssocIdsRequest struct { + ImsUeId *string +} + +func (r *GetImsAssocIdsRequest) SetImsUeId(ImsUeId string) { + r.ImsUeId = &ImsUeId +} + +func (a *RetrievalOfAssociatedIMSPublicIdentitiesApiService) GetImsAssocIds(ctx context.Context, request *GetImsAssocIdsRequest) (*GetImsAssocIdsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetImsAssocIdsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{imsUeId}/identities/ims-associated-identities" + localVarPath = strings.Replace(localVarPath, "{"+"imsUeId"+"}", fmt.Sprintf("%v", request.ImsUeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.ImsAssociatedIdentities, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 405: + return &localVarReturnValue, apiError + case 500: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetImsAssocIdsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, apiError + } +} + +type GetImsAssocIdsResponse struct { + ImsAssociatedIdentities models.ImsAssociatedIdentities +} + +type GetImsAssocIdsError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} diff --git a/udr/ImsDataRepository/api_scscf_registration_and_deregistration.go b/udr/ImsDataRepository/api_scscf_registration_and_deregistration.go new file mode 100644 index 00000000..aaa6172b --- /dev/null +++ b/udr/ImsDataRepository/api_scscf_registration_and_deregistration.go @@ -0,0 +1,179 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "fmt" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SCSCFRegistrationAndDeregistrationApiService service + +/* +SCSCFRegistrationAndDeregistrationApiService SCSCF registration information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param ImsUeId - IMS Identity + * @param ScscfRegistration - + +@return SCSCFRegistrationResponse +*/ + +// SCSCFRegistrationRequest +type SCSCFRegistrationRequest struct { + ImsUeId *string + ScscfRegistration *models.ScscfRegistration +} + +func (r *SCSCFRegistrationRequest) SetImsUeId(ImsUeId string) { + r.ImsUeId = &ImsUeId +} +func (r *SCSCFRegistrationRequest) SetScscfRegistration(ScscfRegistration models.ScscfRegistration) { + r.ScscfRegistration = &ScscfRegistration +} + +func (a *SCSCFRegistrationAndDeregistrationApiService) SCSCFRegistration(ctx context.Context, request *SCSCFRegistrationRequest) (*SCSCFRegistrationResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SCSCFRegistrationResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscription-data/{imsUeId}/context-data/scscf-registration" + localVarPath = strings.Replace(localVarPath, "{"+"imsUeId"+"}", fmt.Sprintf("%v", request.ImsUeId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.ScscfRegistration + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.ScscfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 200: + err = openapi.Deserialize(&localVarReturnValue.ScscfRegistration, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, apiError + case 307: + var v SCSCFRegistrationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v SCSCFRegistrationError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SCSCFRegistrationError + err = openapi.Deserialize(&v.ExtendedProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SCSCFRegistrationError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, apiError + } +} + +type SCSCFRegistrationResponse struct { + ScscfRegistration models.ScscfRegistration +} + +type SCSCFRegistrationError struct { + Location string + Var3gppSbiTargetNfId string + ExtendedProblemDetails models.HssimsUecmExtendedProblemDetails + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} diff --git a/udr/ImsDataRepository/client.go b/udr/ImsDataRepository/client.go new file mode 100644 index 00000000..010a2507 --- /dev/null +++ b/udr/ImsDataRepository/client.go @@ -0,0 +1,64 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "crypto/tls" + "net/http" + + "golang.org/x/net/http2" +) + +// APIClient manages communication with the Nudr_DataRepository API OpenAPI file API v2.3.0-alpha.4 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + ChargingInfoRetrievalApi *ChargingInfoRetrievalApiService + IMSProfileDataRetrievalApi *IMSProfileDataRetrievalApiService + RetrievalOfAssociatedIMSPrivateIdentitiesApi *RetrievalOfAssociatedIMSPrivateIdentitiesApiService + RetrievalOfAssociatedIMSPublicIdentitiesApi *RetrievalOfAssociatedIMSPublicIdentitiesApiService + SCSCFRegistrationAndDeregistrationApi *SCSCFRegistrationAndDeregistrationApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.httpClient == nil { + cfg.httpClient = http.DefaultClient + cfg.httpClient.Transport = &http2.Transport{ + TLSClientConfig: &tls.Config{ + InsecureSkipVerify: true, // nolint:gosec + }, + } + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.ChargingInfoRetrievalApi = (*ChargingInfoRetrievalApiService)(&c.common) + c.IMSProfileDataRetrievalApi = (*IMSProfileDataRetrievalApiService)(&c.common) + c.RetrievalOfAssociatedIMSPrivateIdentitiesApi = (*RetrievalOfAssociatedIMSPrivateIdentitiesApiService)(&c.common) + c.RetrievalOfAssociatedIMSPublicIdentitiesApi = (*RetrievalOfAssociatedIMSPublicIdentitiesApiService)(&c.common) + c.SCSCFRegistrationAndDeregistrationApi = (*SCSCFRegistrationAndDeregistrationApiService)(&c.common) + + return c +} diff --git a/udr/ImsDataRepository/configuration.go b/udr/ImsDataRepository/configuration.go new file mode 100644 index 00000000..c445a78c --- /dev/null +++ b/udr/ImsDataRepository/configuration.go @@ -0,0 +1,78 @@ +/* + * Nudr_DataRepository API OpenAPI file + * + * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.504 V18.3.0; 5G System; Unified Data Repository Services; Stage 3 + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ + * + * API version: 2.3.0-alpha.4 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package ImsDataRepository + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudr-ims-dr/v1", + url: "{apiRoot}/nudr-ims-dr/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { +return c.httpClient +} \ No newline at end of file diff --git a/udsf/DataRepository/api_block_crud.go b/udsf/DataRepository/api_block_crud.go new file mode 100644 index 00000000..1b2cffba --- /dev/null +++ b/udsf/DataRepository/api_block_crud.go @@ -0,0 +1,864 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type BlockCRUDApiService service + +/* +BlockCRUDApiService Create or Update a specific Block in a Record. +Create or update a specific Block, related to a Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param BlockId - Id of the Block + * @param Body - information on the Block to create + * @param GetPrevious - Retrieve the Block before update + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return CreateOrModifyBlockResponse +*/ + +// CreateOrModifyBlockRequest +type CreateOrModifyBlockRequest struct { + RealmId *string + StorageId *string + RecordId *string + BlockId *string + Body map[string]interface{} + GetPrevious *bool + IfNoneMatch *string + IfMatch *string + SupportedFeatures *string +} + +func (r *CreateOrModifyBlockRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *CreateOrModifyBlockRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *CreateOrModifyBlockRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *CreateOrModifyBlockRequest) SetBlockId(BlockId string) { + r.BlockId = &BlockId +} +func (r *CreateOrModifyBlockRequest) SetBody(Body map[string]interface{}) { + r.Body = Body +} +func (r *CreateOrModifyBlockRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *CreateOrModifyBlockRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *CreateOrModifyBlockRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *CreateOrModifyBlockRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOrModifyBlockResponse struct { + CacheControl string + ETag string + LastModified string + Location string + CreateOrModifyBlockResponse200 map[string]interface{} +} + +type CreateOrModifyBlockError struct { + CacheControl string + ETag string + LastModified string + CreateOrModifyBlockResponse412 map[string]interface{} + ProblemDetails models.ProblemDetails +} + +func (a *BlockCRUDApiService) CreateOrModifyBlock(ctx context.Context, request *CreateOrModifyBlockRequest) (*CreateOrModifyBlockResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyBlockResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/blocks/{blockId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockId"+"}", openapi.StringOfValue(*request.BlockId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"*/*", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.Body + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.CreateOrModifyBlockResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 201: + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.CreateOrModifyBlockResponse412, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +BlockCRUDApiService Delete a specific Block. Then update the Record +delete a specific Block, related to a Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param BlockId - Id of the Block + * @param GetPrevious - Retrieve the Block before delete + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return DeleteBlockResponse +*/ + +// DeleteBlockRequest +type DeleteBlockRequest struct { + RealmId *string + StorageId *string + RecordId *string + BlockId *string + GetPrevious *bool + IfMatch *string + SupportedFeatures *string +} + +func (r *DeleteBlockRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteBlockRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteBlockRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *DeleteBlockRequest) SetBlockId(BlockId string) { + r.BlockId = &BlockId +} +func (r *DeleteBlockRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *DeleteBlockRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *DeleteBlockRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type DeleteBlockResponse struct { + ETag string + LastModified string + DeleteBlockResponse200 map[string]interface{} +} + +type DeleteBlockError struct { + CacheControl string + ETag string + LastModified string + DeleteBlockResponse412 map[string]interface{} + ProblemDetails models.ProblemDetails +} + +func (a *BlockCRUDApiService) DeleteBlock(ctx context.Context, request *DeleteBlockRequest) (*DeleteBlockResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteBlockResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/blocks/{blockId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockId"+"}", openapi.StringOfValue(*request.BlockId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"*/*", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.DeleteBlockResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v DeleteBlockError + err = openapi.Deserialize(&v.DeleteBlockResponse412, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +BlockCRUDApiService Retrieve a specific Block +retrieve a specific Block + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param BlockId - Id of the Block + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetBlockResponse +*/ + +// GetBlockRequest +type GetBlockRequest struct { + RealmId *string + StorageId *string + RecordId *string + BlockId *string + IfNoneMatch *string + IfModifiedSince *string + SupportedFeatures *string +} + +func (r *GetBlockRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetBlockRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetBlockRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *GetBlockRequest) SetBlockId(BlockId string) { + r.BlockId = &BlockId +} +func (r *GetBlockRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetBlockRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} +func (r *GetBlockRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetBlockResponse struct { + CacheControl string + ETag string + LastModified string + GetBlockResponse200 map[string]interface{} +} + +type GetBlockError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *BlockCRUDApiService) GetBlock(ctx context.Context, request *GetBlockRequest) (*GetBlockResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetBlockResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/blocks/{blockId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockId"+"}", openapi.StringOfValue(*request.BlockId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"*/*", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.GetBlockResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetBlockError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +BlockCRUDApiService Record's Blocks access +retrieve all Blocks of a specific Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetBlockListResponse +*/ + +// GetBlockListRequest +type GetBlockListRequest struct { + RealmId *string + StorageId *string + RecordId *string + SupportedFeatures *string +} + +func (r *GetBlockListRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetBlockListRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetBlockListRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *GetBlockListRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetBlockListResponse struct { + CacheControl string + ETag string + LastModified string + GetBlockListResponse200 map[string]interface{} +} + +type GetBlockListError struct { + ProblemDetails models.ProblemDetails +} + +func (a *BlockCRUDApiService) GetBlockList(ctx context.Context, request *GetBlockListRequest) (*GetBlockListResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetBlockListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/blocks" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/parallel", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.GetBlockListResponse200, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetBlockListError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/DataRepository/api_meta_schema_crud.go b/udsf/DataRepository/api_meta_schema_crud.go new file mode 100644 index 00000000..e27604be --- /dev/null +++ b/udsf/DataRepository/api_meta_schema_crud.go @@ -0,0 +1,693 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type MetaSchemaCRUDApiService service + +/* +MetaSchemaCRUDApiService Create/Modify Meta Schema +Create or Modify a Meta Schema with a user provided SchemaId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param SchemaId - Identifier of the Meta Schema + * @param MetaSchema - + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param GetPrevious - Retrieve the Meta Schema before update + * @param SupportedFeatures - Features required to be supported by the target NF + +@return CreateOrModifyMetaSchemaResponse +*/ + +// CreateOrModifyMetaSchemaRequest +type CreateOrModifyMetaSchemaRequest struct { + RealmId *string + StorageId *string + SchemaId *string + MetaSchema *models.MetaSchema + IfNoneMatch *string + IfMatch *string + GetPrevious *bool + SupportedFeatures *string +} + +func (r *CreateOrModifyMetaSchemaRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *CreateOrModifyMetaSchemaRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *CreateOrModifyMetaSchemaRequest) SetSchemaId(SchemaId string) { + r.SchemaId = &SchemaId +} +func (r *CreateOrModifyMetaSchemaRequest) SetMetaSchema(MetaSchema models.MetaSchema) { + r.MetaSchema = &MetaSchema +} +func (r *CreateOrModifyMetaSchemaRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *CreateOrModifyMetaSchemaRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *CreateOrModifyMetaSchemaRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *CreateOrModifyMetaSchemaRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOrModifyMetaSchemaResponse struct { + CacheControl string + ETag string + LastModified string + Location string + MetaSchema models.MetaSchema +} + +type CreateOrModifyMetaSchemaError struct { + CacheControl string + ETag string + RetryAfter interface{} + MetaSchema models.MetaSchema + ProblemDetails models.ProblemDetails +} + +func (a *MetaSchemaCRUDApiService) CreateOrModifyMetaSchema(ctx context.Context, request *CreateOrModifyMetaSchemaRequest) (*CreateOrModifyMetaSchemaResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyMetaSchemaResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/meta-schemas/{schemaId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"schemaId"+"}", openapi.StringOfValue(*request.SchemaId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.MetaSchema + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MetaSchema, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 201: + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.MetaSchema, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 501: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +MetaSchemaCRUDApiService Delete a Meta Schema with an user provided SchemaId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param SchemaId - Identifier of the Meta Schema + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param GetPrevious - Retrieve the Meta Schema before delete + * @param SupportedFeatures - Features required to be supported by the target NF + +@return DeleteMetaSchemaResponse +*/ + +// DeleteMetaSchemaRequest +type DeleteMetaSchemaRequest struct { + RealmId *string + StorageId *string + SchemaId *string + IfMatch *string + GetPrevious *bool + SupportedFeatures *string +} + +func (r *DeleteMetaSchemaRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteMetaSchemaRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteMetaSchemaRequest) SetSchemaId(SchemaId string) { + r.SchemaId = &SchemaId +} +func (r *DeleteMetaSchemaRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *DeleteMetaSchemaRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *DeleteMetaSchemaRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type DeleteMetaSchemaResponse struct { + ETag string + LastModified string + MetaSchema models.MetaSchema +} + +type DeleteMetaSchemaError struct { + CacheControl string + ETag string + RetryAfter interface{} + MetaSchema models.MetaSchema + ProblemDetails models.ProblemDetails +} + +func (a *MetaSchemaCRUDApiService) DeleteMetaSchema(ctx context.Context, request *DeleteMetaSchemaRequest) (*DeleteMetaSchemaResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteMetaSchemaResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/meta-schemas/{schemaId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"schemaId"+"}", openapi.StringOfValue(*request.SchemaId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.MetaSchema, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.MetaSchema, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +MetaSchemaCRUDApiService Meta Schema access +retrieve one specific Meta Schema + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param SchemaId - Identifier of the Meta Schema + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetMetaSchemaResponse +*/ + +// GetMetaSchemaRequest +type GetMetaSchemaRequest struct { + RealmId *string + StorageId *string + SchemaId *string + IfNoneMatch *string + IfModifiedSince *string + SupportedFeatures *string +} + +func (r *GetMetaSchemaRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetMetaSchemaRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetMetaSchemaRequest) SetSchemaId(SchemaId string) { + r.SchemaId = &SchemaId +} +func (r *GetMetaSchemaRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetMetaSchemaRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} +func (r *GetMetaSchemaRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetMetaSchemaResponse struct { + CacheControl string + ETag string + LastModified string + Record models.Record +} + +type GetMetaSchemaError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *MetaSchemaCRUDApiService) GetMetaSchema(ctx context.Context, request *GetMetaSchemaRequest) (*GetMetaSchemaResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMetaSchemaResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/meta-schemas/{schemaId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"schemaId"+"}", openapi.StringOfValue(*request.SchemaId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/mixed", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMetaSchemaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/DataRepository/api_notification_subscription_crud.go b/udsf/DataRepository/api_notification_subscription_crud.go new file mode 100644 index 00000000..f41f6a88 --- /dev/null +++ b/udsf/DataRepository/api_notification_subscription_crud.go @@ -0,0 +1,1135 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NotificationSubscriptionCRUDApiService service + +/* +NotificationSubscriptionCRUDApiService NotificationSubscription Create/Update + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param SubscriptionId - Identifier of the NotificationSubscription + * @param NotificationSubscription - + * @param SupportedFeatures - Features required to be supported by the target NF + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + +@return CreateAndUpdateNotificationSubscriptionResponse +*/ + +// CreateAndUpdateNotificationSubscriptionRequest +type CreateAndUpdateNotificationSubscriptionRequest struct { + RealmId *string + StorageId *string + SubscriptionId *string + NotificationSubscription *models.NotificationSubscription + SupportedFeatures *string + IfNoneMatch *string + IfMatch *string +} + +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetNotificationSubscription(NotificationSubscription models.NotificationSubscription) { + r.NotificationSubscription = &NotificationSubscription +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *CreateAndUpdateNotificationSubscriptionRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} + +type CreateAndUpdateNotificationSubscriptionResponse struct { + CacheControl string + ETag string + LastModified string + Location string + NotificationSubscription models.NotificationSubscription +} + +type CreateAndUpdateNotificationSubscriptionError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails + string []string +} + +func (a *NotificationSubscriptionCRUDApiService) CreateAndUpdateNotificationSubscription(ctx context.Context, request *CreateAndUpdateNotificationSubscriptionRequest) (*CreateAndUpdateNotificationSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAndUpdateNotificationSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.NotificationSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 201: + err = openapi.Deserialize(&localVarReturnValue.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 409: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.string, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateAndUpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateAndUpdateNotificationSubscriptionOnDataChangePostRequest +type CreateAndUpdateNotificationSubscriptionOnDataChangePostRequest struct { + RecordNotification *models.RecordNotification +} + +func (r *CreateAndUpdateNotificationSubscriptionOnDataChangePostRequest) SetRecordNotification(RecordNotification models.RecordNotification) { + r.RecordNotification = &RecordNotification +} + +type CreateAndUpdateNotificationSubscriptionOnDataChangePostResponse struct { +} + +type CreateAndUpdateNotificationSubscriptionOnDataChangePostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionCRUDApiService) CreateAndUpdateNotificationSubscriptionOnDataChangePost(ctx context.Context, uri string, request *CreateAndUpdateNotificationSubscriptionOnDataChangePostRequest) (*CreateAndUpdateNotificationSubscriptionOnDataChangePostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAndUpdateNotificationSubscriptionOnDataChangePostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/mixed"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.RecordNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateAndUpdateNotificationSubscriptionOnDataChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateAndUpdateNotificationSubscriptionOnDataChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateAndUpdateNotificationSubscriptionOnDataChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateAndUpdateNotificationSubscriptionOnDataChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateAndUpdateNotificationSubscriptionOnDataChangePostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +// CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostRequest +type CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostRequest struct { + UdsfDataRepositoryNotificationInfo *models.UdsfDataRepositoryNotificationInfo +} + +func (r *CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostRequest) SetUdsfDataRepositoryNotificationInfo(UdsfDataRepositoryNotificationInfo models.UdsfDataRepositoryNotificationInfo) { + r.UdsfDataRepositoryNotificationInfo = &UdsfDataRepositoryNotificationInfo +} + +type CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostResponse struct { +} + +type CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionCRUDApiService) CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPost(ctx context.Context, uri string, request *CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostRequest) (*CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.UdsfDataRepositoryNotificationInfo + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateAndUpdateNotificationSubscriptionSubscriptionExpiryNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +NotificationSubscriptionCRUDApiService Delete a Notification Subscription of the storage +delete a single subscriptions of the storage + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param SubscriptionId - Identifier of the NotificationSubscription + * @param ClientId - Identifies the NF or NFSet + * @param GetPrevious - Retrieve the NotificationSubscription before delete + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return DeleteNotificationSubscriptionResponse +*/ + +// DeleteNotificationSubscriptionRequest +type DeleteNotificationSubscriptionRequest struct { + RealmId *string + StorageId *string + SubscriptionId *string + ClientId *models.ClientId + GetPrevious *bool + IfMatch *string + SupportedFeatures *string +} + +func (r *DeleteNotificationSubscriptionRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteNotificationSubscriptionRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteNotificationSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *DeleteNotificationSubscriptionRequest) SetClientId(ClientId models.ClientId) { + r.ClientId = &ClientId +} +func (r *DeleteNotificationSubscriptionRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *DeleteNotificationSubscriptionRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *DeleteNotificationSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type DeleteNotificationSubscriptionResponse struct { + NotificationSubscription []models.NotificationSubscription +} + +type DeleteNotificationSubscriptionError struct { + NotificationSubscription models.NotificationSubscription + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionCRUDApiService) DeleteNotificationSubscription(ctx context.Context, request *DeleteNotificationSubscriptionRequest) (*DeleteNotificationSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteNotificationSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.ClientId == nil { + return nil, openapi.ReportError("ClientId must be non nil") + } else { + localVarQueryParams.Add("client-id", openapi.ParameterToString(request.ClientId, "multi")) + } + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NotificationSubscriptionCRUDApiService Notification subscription retrieval +retrieve a single notification subscription of the storage + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param SubscriptionId - Identifier of the NotificationSubscription + * @param SupportedFeatures - Features required to be supported by the target NF + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + +@return GetNotificationSubscriptionResponse +*/ + +// GetNotificationSubscriptionRequest +type GetNotificationSubscriptionRequest struct { + RealmId *string + StorageId *string + SubscriptionId *string + SupportedFeatures *string + IfNoneMatch *string + IfModifiedSince *string +} + +func (r *GetNotificationSubscriptionRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetNotificationSubscriptionRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetNotificationSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *GetNotificationSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *GetNotificationSubscriptionRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetNotificationSubscriptionRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} + +type GetNotificationSubscriptionResponse struct { + CacheControl string + ETag string + LastModified string + NotificationSubscription models.NotificationSubscription +} + +type GetNotificationSubscriptionError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionCRUDApiService) GetNotificationSubscription(ctx context.Context, request *GetNotificationSubscriptionRequest) (*GetNotificationSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNotificationSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +NotificationSubscriptionCRUDApiService NotificationSubscription update +update a specific NotificationSubscription + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param SubscriptionId - Identifier of the NotificationSubscription + * @param PatchItem - data to patch + * @param IfMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateNotificationSubscriptionResponse +*/ + +// UpdateNotificationSubscriptionRequest +type UpdateNotificationSubscriptionRequest struct { + RealmId *string + StorageId *string + SubscriptionId *string + PatchItem []models.PatchItem + IfMatch *string + SupportedFeatures *string +} + +func (r *UpdateNotificationSubscriptionRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *UpdateNotificationSubscriptionRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *UpdateNotificationSubscriptionRequest) SetSubscriptionId(SubscriptionId string) { + r.SubscriptionId = &SubscriptionId +} +func (r *UpdateNotificationSubscriptionRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateNotificationSubscriptionRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *UpdateNotificationSubscriptionRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateNotificationSubscriptionResponse struct { + CacheControl string + ETag string + LastModified string + PatchResult models.PatchResult +} + +type UpdateNotificationSubscriptionError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionCRUDApiService) UpdateNotificationSubscription(ctx context.Context, request *UpdateNotificationSubscriptionRequest) (*UpdateNotificationSubscriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateNotificationSubscriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/subs-to-notify/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", openapi.StringOfValue(*request.SubscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateNotificationSubscriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/DataRepository/api_notification_subscriptions_crud.go b/udsf/DataRepository/api_notification_subscriptions_crud.go new file mode 100644 index 00000000..052da5e6 --- /dev/null +++ b/udsf/DataRepository/api_notification_subscriptions_crud.go @@ -0,0 +1,208 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type NotificationSubscriptionsCRUDApiService service + +/* +NotificationSubscriptionsCRUDApiService Notification subscription retrieval +retrieve all notification subscriptions of the storage + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param LimitRange - The maximum number of NotificationSubscriptions to fetch + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetNotificationSubscriptionsResponse +*/ + +// GetNotificationSubscriptionsRequest +type GetNotificationSubscriptionsRequest struct { + RealmId *string + StorageId *string + LimitRange *int32 + SupportedFeatures *string +} + +func (r *GetNotificationSubscriptionsRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetNotificationSubscriptionsRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetNotificationSubscriptionsRequest) SetLimitRange(LimitRange int32) { + r.LimitRange = &LimitRange +} +func (r *GetNotificationSubscriptionsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetNotificationSubscriptionsResponse struct { + NotificationSubscription []models.NotificationSubscription +} + +type GetNotificationSubscriptionsError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *NotificationSubscriptionsCRUDApiService) GetNotificationSubscriptions(ctx context.Context, request *GetNotificationSubscriptionsRequest) (*GetNotificationSubscriptionsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetNotificationSubscriptionsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/subs-to-notify" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.LimitRange != nil { + localVarQueryParams.Add("limit-range", openapi.ParameterToString(request.LimitRange, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.NotificationSubscription, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 304: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetNotificationSubscriptionsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/DataRepository/api_record_crud.go b/udsf/DataRepository/api_record_crud.go new file mode 100644 index 00000000..0ea31b63 --- /dev/null +++ b/udsf/DataRepository/api_record_crud.go @@ -0,0 +1,1621 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type RecordCRUDApiService service + +/* +RecordCRUDApiService Bulk Deletion of Records +Delete multiple Records based on filter + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param Filter - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return BulkDeleteRecordsResponse +*/ + +// BulkDeleteRecordsRequest +type BulkDeleteRecordsRequest struct { + RealmId *string + StorageId *string + Filter *models.SearchExpression + SupportedFeatures *string +} + +func (r *BulkDeleteRecordsRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *BulkDeleteRecordsRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *BulkDeleteRecordsRequest) SetFilter(Filter models.SearchExpression) { + r.Filter = &Filter +} +func (r *BulkDeleteRecordsRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type BulkDeleteRecordsResponse struct { + RecordIdList models.RecordIdList +} + +type BulkDeleteRecordsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) BulkDeleteRecords(ctx context.Context, request *BulkDeleteRecordsRequest) (*BulkDeleteRecordsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue BulkDeleteRecordsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Filter == nil { + return nil, openapi.ReportError("Filter must be non nil") + } else { + localVarQueryParams.Add("filter", openapi.ParameterToString(request.Filter, "application/json")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RecordIdList, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v BulkDeleteRecordsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +RecordCRUDApiService Create/Modify Record +Create or Modify a Record with a user provided RecordId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param Record - The record multipart request body. The meta part shall be the first part and is mandatory but can be empty and zero or more block parts may follow the meta part. + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param GetPrevious - Retrieve the Record before update + * @param SupportedFeatures - Features required to be supported by the target NF + +@return CreateOrModifyRecordResponse +*/ + +// CreateOrModifyRecordRequest +type CreateOrModifyRecordRequest struct { + RealmId *string + StorageId *string + RecordId *string + Record *models.Record + IfNoneMatch *string + IfMatch *string + GetPrevious *bool + SupportedFeatures *string +} + +func (r *CreateOrModifyRecordRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *CreateOrModifyRecordRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *CreateOrModifyRecordRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *CreateOrModifyRecordRequest) SetRecord(Record models.Record) { + r.Record = &Record +} +func (r *CreateOrModifyRecordRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *CreateOrModifyRecordRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *CreateOrModifyRecordRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *CreateOrModifyRecordRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOrModifyRecordResponse struct { + CacheControl string + ETag string + LastModified string + Location string + Record models.Record +} + +type CreateOrModifyRecordError struct { + CacheControl string + ETag string + LastModified string + RetryAfter interface{} + ProblemDetails models.ProblemDetails + Record models.Record +} + +func (a *RecordCRUDApiService) CreateOrModifyRecord(ctx context.Context, request *CreateOrModifyRecordRequest) (*CreateOrModifyRecordResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyRecordResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"multipart/mixed"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/mixed", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.Record + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 201: + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateOrModifyRecordRecordExpiredPostRequest +type CreateOrModifyRecordRecordExpiredPostRequest struct { + Record *models.Record + ContentLocation *string +} + +func (r *CreateOrModifyRecordRecordExpiredPostRequest) SetRecord(Record models.Record) { + r.Record = &Record +} +func (r *CreateOrModifyRecordRecordExpiredPostRequest) SetContentLocation(ContentLocation string) { + r.ContentLocation = &ContentLocation +} + +type CreateOrModifyRecordRecordExpiredPostResponse struct { +} + +type CreateOrModifyRecordRecordExpiredPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) CreateOrModifyRecordRecordExpiredPost(ctx context.Context, uri string, request *CreateOrModifyRecordRecordExpiredPostRequest) (*CreateOrModifyRecordRecordExpiredPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyRecordRecordExpiredPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"multipart/mixed"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.ContentLocation != nil { + localVarHeaderParams["Content-Location"] = openapi.ParameterToString(request.ContentLocation, "csv") + } + + // body params + localVarPostBody = request.Record + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrModifyRecordRecordExpiredPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyRecordRecordExpiredPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyRecordRecordExpiredPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyRecordRecordExpiredPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyRecordRecordExpiredPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} + +/* +RecordCRUDApiService Delete a Record with an user provided RecordId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param GetPrevious - Retrieve the Record before delete + * @param SupportedFeatures - Features required to be supported by the target NF + +@return DeleteRecordResponse +*/ + +// DeleteRecordRequest +type DeleteRecordRequest struct { + RealmId *string + StorageId *string + RecordId *string + IfMatch *string + GetPrevious *bool + SupportedFeatures *string +} + +func (r *DeleteRecordRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteRecordRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteRecordRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *DeleteRecordRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *DeleteRecordRequest) SetGetPrevious(GetPrevious bool) { + r.GetPrevious = &GetPrevious +} +func (r *DeleteRecordRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type DeleteRecordResponse struct { + ETag string + LastModified string + Record models.Record +} + +type DeleteRecordError struct { + CacheControl string + ETag string + LastModified string + RetryAfter interface{} + ProblemDetails models.ProblemDetails + Record models.Record +} + +func (a *RecordCRUDApiService) DeleteRecord(ctx context.Context, request *DeleteRecordRequest) (*DeleteRecordResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteRecordResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.GetPrevious != nil { + localVarQueryParams.Add("get-previous", openapi.ParameterToString(request.GetPrevious, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/mixed", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 412: + var v DeleteRecordError + err = openapi.Deserialize(&v.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +RecordCRUDApiService Record's meta access +retrieve meta of a specific Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetMetaResponse +*/ + +// GetMetaRequest +type GetMetaRequest struct { + RealmId *string + StorageId *string + RecordId *string + IfNoneMatch *string + IfModifiedSince *string + SupportedFeatures *string +} + +func (r *GetMetaRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetMetaRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetMetaRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *GetMetaRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetMetaRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} +func (r *GetMetaRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetMetaResponse struct { + CacheControl string + ETag string + LastModified string + RecordMeta models.RecordMeta +} + +type GetMetaError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) GetMeta(ctx context.Context, request *GetMetaRequest) (*GetMetaResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetMetaResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/meta" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RecordMeta, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +RecordCRUDApiService Record access +retrieve one specific Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param IfNoneMatch - Validator for conditional requests, as described in RFC 7232, 3.2 + * @param IfModifiedSince - Validator for conditional requests, as described in RFC 7232, 3.3 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetRecordResponse +*/ + +// GetRecordRequest +type GetRecordRequest struct { + RealmId *string + StorageId *string + RecordId *string + IfNoneMatch *string + IfModifiedSince *string + SupportedFeatures *string +} + +func (r *GetRecordRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetRecordRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetRecordRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *GetRecordRequest) SetIfNoneMatch(IfNoneMatch string) { + r.IfNoneMatch = &IfNoneMatch +} +func (r *GetRecordRequest) SetIfModifiedSince(IfModifiedSince string) { + r.IfModifiedSince = &IfModifiedSince +} +func (r *GetRecordRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetRecordResponse struct { + CacheControl string + ETag string + LastModified string + Record models.Record +} + +type GetRecordError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) GetRecord(ctx context.Context, request *GetRecordRequest) (*GetRecordResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetRecordResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"multipart/mixed", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfNoneMatch != nil { + localVarHeaderParams["If-None-Match"] = openapi.ParameterToString(request.IfNoneMatch, "csv") + } + + if request.IfModifiedSince != nil { + localVarHeaderParams["If-Modified-Since"] = openapi.ParameterToString(request.IfModifiedSince, "csv") + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Record, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 304: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +RecordCRUDApiService Records search with get +Retrieve one or multiple Records based on filter + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param LimitRange - The most number of record references to fetch + * @param Filter - Query filter using conditions on tags + * @param CountIndicator - Indicates whether the number of records that matched the criteria shall be returned. + * @param SupportedFeatures - Features required to be supported by the target NF + * @param RetrieveRecords - Indicates whether the UDSF is requested to include matching records within the response. + * @param MaxPayloadSize - Indicates the number of kilo octets the consumer is prepared to receive + +@return SearchRecordResponse +*/ + +// SearchRecordRequest +type SearchRecordRequest struct { + RealmId *string + StorageId *string + LimitRange *int32 + Filter *models.SearchExpression + CountIndicator *bool + SupportedFeatures *string + RetrieveRecords *models.RetrieveRecords + MaxPayloadSize *int32 +} + +func (r *SearchRecordRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *SearchRecordRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *SearchRecordRequest) SetLimitRange(LimitRange int32) { + r.LimitRange = &LimitRange +} +func (r *SearchRecordRequest) SetFilter(Filter models.SearchExpression) { + r.Filter = &Filter +} +func (r *SearchRecordRequest) SetCountIndicator(CountIndicator bool) { + r.CountIndicator = &CountIndicator +} +func (r *SearchRecordRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *SearchRecordRequest) SetRetrieveRecords(RetrieveRecords models.RetrieveRecords) { + r.RetrieveRecords = &RetrieveRecords +} +func (r *SearchRecordRequest) SetMaxPayloadSize(MaxPayloadSize int32) { + r.MaxPayloadSize = &MaxPayloadSize +} + +type SearchRecordResponse struct { + RecordSearchResult models.RecordSearchResult +} + +type SearchRecordError struct { + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) SearchRecord(ctx context.Context, request *SearchRecordRequest) (*SearchRecordResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SearchRecordResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.LimitRange != nil { + localVarQueryParams.Add("limit-range", openapi.ParameterToString(request.LimitRange, "multi")) + } + if request.Filter != nil { + localVarQueryParams.Add("filter", openapi.ParameterToString(request.Filter, "application/json")) + } + if request.CountIndicator != nil { + localVarQueryParams.Add("count-indicator", openapi.ParameterToString(request.CountIndicator, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.RetrieveRecords != nil { + localVarQueryParams.Add("retrieve-records", openapi.ParameterToString(request.RetrieveRecords, "multi")) + } + if request.MaxPayloadSize != nil { + localVarQueryParams.Add("max-payload-size", openapi.ParameterToString(request.MaxPayloadSize, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.RecordSearchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 429: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SearchRecordError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +RecordCRUDApiService Record's meta update +update meta of a specific Record + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param RecordId - Identifier of the Record + * @param PatchItem - Meta data to patch + * @param IfMatch - Record validator for conditional requests, as described in RFC 7232, 3.2 + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateMetaResponse +*/ + +// UpdateMetaRequest +type UpdateMetaRequest struct { + RealmId *string + StorageId *string + RecordId *string + PatchItem []models.PatchItem + IfMatch *string + SupportedFeatures *string +} + +func (r *UpdateMetaRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *UpdateMetaRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *UpdateMetaRequest) SetRecordId(RecordId string) { + r.RecordId = &RecordId +} +func (r *UpdateMetaRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateMetaRequest) SetIfMatch(IfMatch string) { + r.IfMatch = &IfMatch +} +func (r *UpdateMetaRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateMetaResponse struct { + CacheControl string + ETag string + LastModified string + PatchResult models.PatchResult +} + +type UpdateMetaError struct { + CacheControl string + ETag string + RetryAfter interface{} + ProblemDetails models.ProblemDetails +} + +func (a *RecordCRUDApiService) UpdateMeta(ctx context.Context, request *UpdateMetaRequest) (*UpdateMetaResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateMetaResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/records/{recordId}/meta" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"recordId"+"}", openapi.StringOfValue(*request.RecordId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + if request.IfMatch != nil { + localVarHeaderParams["If-Match"] = openapi.ParameterToString(request.IfMatch, "csv") + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + localVarReturnValue.ETag = localVarHTTPResponse.Header.Get("ETag") + localVarReturnValue.LastModified = localVarHTTPResponse.Header.Get("Last-Modified") + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 304: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.CacheControl = localVarHTTPResponse.Header.Get("Cache-Control") + v.ETag = localVarHTTPResponse.Header.Get("ETag") + v.RetryAfter = localVarHTTPResponse.Header.Get("Retry-After") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 408: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateMetaError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/DataRepository/client.go b/udsf/DataRepository/client.go new file mode 100644 index 00000000..b7d1c145 --- /dev/null +++ b/udsf/DataRepository/client.go @@ -0,0 +1,48 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +// APIClient manages communication with the Nudsf_DataRepository API v1.1.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + BlockCRUDApi *BlockCRUDApiService + MetaSchemaCRUDApi *MetaSchemaCRUDApiService + NotificationSubscriptionCRUDApi *NotificationSubscriptionCRUDApiService + NotificationSubscriptionsCRUDApi *NotificationSubscriptionsCRUDApiService + RecordCRUDApi *RecordCRUDApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.BlockCRUDApi = (*BlockCRUDApiService)(&c.common) + c.MetaSchemaCRUDApi = (*MetaSchemaCRUDApiService)(&c.common) + c.NotificationSubscriptionCRUDApi = (*NotificationSubscriptionCRUDApiService)(&c.common) + c.NotificationSubscriptionsCRUDApi = (*NotificationSubscriptionsCRUDApiService)(&c.common) + c.RecordCRUDApi = (*RecordCRUDApiService)(&c.common) + + return c +} diff --git a/udsf/DataRepository/configuration.go b/udsf/DataRepository/configuration.go new file mode 100644 index 00000000..d74792f4 --- /dev/null +++ b/udsf/DataRepository/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudsf_DataRepository + * + * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.1.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package DataRepository + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudsf-dr/v1", + url: "{apiRoot}/nudsf-dr/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/udsf/Timer/api_timer_get.go b/udsf/Timer/api_timer_get.go new file mode 100644 index 00000000..93a64da3 --- /dev/null +++ b/udsf/Timer/api_timer_get.go @@ -0,0 +1,192 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimerGetApiService service + +/* +TimerGetApiService Timer access +retrieve one specific Timer + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param TimerId - Identifier of the Timer + * @param SupportedFeatures - Features required to be supported by the target NF + +@return GetTimerResponse +*/ + +// GetTimerRequest +type GetTimerRequest struct { + RealmId *string + StorageId *string + TimerId *string + SupportedFeatures *string +} + +func (r *GetTimerRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *GetTimerRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *GetTimerRequest) SetTimerId(TimerId string) { + r.TimerId = &TimerId +} +func (r *GetTimerRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type GetTimerResponse struct { + Timer models.Timer +} + +type GetTimerError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerGetApiService) GetTimer(ctx context.Context, request *GetTimerRequest) (*GetTimerResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetTimerResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers/{timerId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"timerId"+"}", openapi.StringOfValue(*request.TimerId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.Timer, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/Timer/api_timer_search.go b/udsf/Timer/api_timer_search.go new file mode 100644 index 00000000..e41be3ea --- /dev/null +++ b/udsf/Timer/api_timer_search.go @@ -0,0 +1,212 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimerSearchApiService service + +/* +TimerSearchApiService Timers search with get +Retrieve one or multiple TimerIDs based on filter + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param Filter - Query filter using conditions on tags + * @param ExpiredFilter - Used to query for expired timers. + * @param SupportedFeatures - Features required to be supported by the target NF + +@return SearchTimerResponse +*/ + +// SearchTimerRequest +type SearchTimerRequest struct { + RealmId *string + StorageId *string + Filter *models.SearchExpression + ExpiredFilter *string + SupportedFeatures *string +} + +func (r *SearchTimerRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *SearchTimerRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *SearchTimerRequest) SetFilter(Filter models.SearchExpression) { + r.Filter = &Filter +} +func (r *SearchTimerRequest) SetExpiredFilter(ExpiredFilter string) { + r.ExpiredFilter = &ExpiredFilter +} +func (r *SearchTimerRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type SearchTimerResponse struct { + TimerIdList models.TimerIdList +} + +type SearchTimerError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerSearchApiService) SearchTimer(ctx context.Context, request *SearchTimerRequest) (*SearchTimerResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SearchTimerResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Filter != nil { + localVarQueryParams.Add("filter", openapi.ParameterToString(request.Filter, "application/json")) + } + if request.ExpiredFilter != nil { + localVarQueryParams.Add("expired-filter", openapi.ParameterToString(request.ExpiredFilter, "multi")) + } + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TimerIdList, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v SearchTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/Timer/api_timer_start.go b/udsf/Timer/api_timer_start.go new file mode 100644 index 00000000..464ac24e --- /dev/null +++ b/udsf/Timer/api_timer_start.go @@ -0,0 +1,317 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimerStartApiService service + +/* +TimerStartApiService Create/Replace Timer +Create or Modify a Timer with a user provided TimerId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param TimerId - Identifier of the Timer + * @param Timer - + * @param SupportedFeatures - Features required to be supported by the target NF + +@return CreateOrModifyTimerResponse +*/ + +// CreateOrModifyTimerRequest +type CreateOrModifyTimerRequest struct { + RealmId *string + StorageId *string + TimerId *string + Timer *models.Timer + SupportedFeatures *string +} + +func (r *CreateOrModifyTimerRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *CreateOrModifyTimerRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *CreateOrModifyTimerRequest) SetTimerId(TimerId string) { + r.TimerId = &TimerId +} +func (r *CreateOrModifyTimerRequest) SetTimer(Timer models.Timer) { + r.Timer = &Timer +} +func (r *CreateOrModifyTimerRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type CreateOrModifyTimerResponse struct { +} + +type CreateOrModifyTimerError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerStartApiService) CreateOrModifyTimer(ctx context.Context, request *CreateOrModifyTimerRequest) (*CreateOrModifyTimerResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyTimerResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers/{timerId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"timerId"+"}", openapi.StringOfValue(*request.TimerId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Timer + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateOrModifyTimerTimerExpiryPostRequest +type CreateOrModifyTimerTimerExpiryPostRequest struct { + Timer *models.Timer +} + +func (r *CreateOrModifyTimerTimerExpiryPostRequest) SetTimer(Timer models.Timer) { + r.Timer = &Timer +} + +type CreateOrModifyTimerTimerExpiryPostResponse struct { +} + +type CreateOrModifyTimerTimerExpiryPostError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerStartApiService) CreateOrModifyTimerTimerExpiryPost(ctx context.Context, uri string, request *CreateOrModifyTimerTimerExpiryPostRequest) (*CreateOrModifyTimerTimerExpiryPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateOrModifyTimerTimerExpiryPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.Timer + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v CreateOrModifyTimerTimerExpiryPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateOrModifyTimerTimerExpiryPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateOrModifyTimerTimerExpiryPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateOrModifyTimerTimerExpiryPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateOrModifyTimerTimerExpiryPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/udsf/Timer/api_timer_stop.go b/udsf/Timer/api_timer_stop.go new file mode 100644 index 00000000..3f92592f --- /dev/null +++ b/udsf/Timer/api_timer_stop.go @@ -0,0 +1,186 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimerStopApiService service + +/* +TimerStopApiService Delete a Timer with an user provided TimerId + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param TimerId - Identifier of the Timer + * @param SupportedFeatures - Features required to be supported by the target NF + +@return DeleteTimerResponse +*/ + +// DeleteTimerRequest +type DeleteTimerRequest struct { + RealmId *string + StorageId *string + TimerId *string + SupportedFeatures *string +} + +func (r *DeleteTimerRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteTimerRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteTimerRequest) SetTimerId(TimerId string) { + r.TimerId = &TimerId +} +func (r *DeleteTimerRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type DeleteTimerResponse struct { +} + +type DeleteTimerError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerStopApiService) DeleteTimer(ctx context.Context, request *DeleteTimerRequest) (*DeleteTimerResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteTimerResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers/{timerId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"timerId"+"}", openapi.StringOfValue(*request.TimerId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/Timer/api_timer_update.go b/udsf/Timer/api_timer_update.go new file mode 100644 index 00000000..93c98086 --- /dev/null +++ b/udsf/Timer/api_timer_update.go @@ -0,0 +1,201 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimerUpdateApiService service + +/* +TimerUpdateApiService Timer modification +update a specific Timer + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier of the Realm + * @param StorageId - Identifier of the Storage + * @param TimerId - Identifier of the Timer + * @param PatchItem - Timer data to patch + * @param SupportedFeatures - Features required to be supported by the target NF + +@return UpdateTimerResponse +*/ + +// UpdateTimerRequest +type UpdateTimerRequest struct { + RealmId *string + StorageId *string + TimerId *string + PatchItem []models.PatchItem + SupportedFeatures *string +} + +func (r *UpdateTimerRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *UpdateTimerRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *UpdateTimerRequest) SetTimerId(TimerId string) { + r.TimerId = &TimerId +} +func (r *UpdateTimerRequest) SetPatchItem(PatchItem []models.PatchItem) { + r.PatchItem = PatchItem +} +func (r *UpdateTimerRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} + +type UpdateTimerResponse struct { + PatchResult models.PatchResult +} + +type UpdateTimerError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimerUpdateApiService) UpdateTimer(ctx context.Context, request *UpdateTimerRequest) (*UpdateTimerResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateTimerResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers/{timerId}" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"timerId"+"}", openapi.StringOfValue(*request.TimerId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + localVarHTTPContentTypes := []string{"application/json-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PatchItem + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PatchResult, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateTimerError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/Timer/api_timers_delete.go b/udsf/Timer/api_timers_delete.go new file mode 100644 index 00000000..7d99ddc5 --- /dev/null +++ b/udsf/Timer/api_timers_delete.go @@ -0,0 +1,211 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type TimersDeleteApiService service + +/* +TimersDeleteApiService Delete one or multiple timers based on filter + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param RealmId - Identifier(name) of the Realm + * @param StorageId - Identifier of the Storage + * @param SupportedFeatures - Features required to be supported by the target NF + * @param Filter - A filter that determines the set of timers to be deleted + * @param ExpiredFilter - Presence indicates that only expired timers are to be deleted. + +@return DeleteTimersResponse +*/ + +// DeleteTimersRequest +type DeleteTimersRequest struct { + RealmId *string + StorageId *string + SupportedFeatures *string + Filter *models.SearchExpression + ExpiredFilter *string +} + +func (r *DeleteTimersRequest) SetRealmId(RealmId string) { + r.RealmId = &RealmId +} +func (r *DeleteTimersRequest) SetStorageId(StorageId string) { + r.StorageId = &StorageId +} +func (r *DeleteTimersRequest) SetSupportedFeatures(SupportedFeatures string) { + r.SupportedFeatures = &SupportedFeatures +} +func (r *DeleteTimersRequest) SetFilter(Filter models.SearchExpression) { + r.Filter = &Filter +} +func (r *DeleteTimersRequest) SetExpiredFilter(ExpiredFilter string) { + r.ExpiredFilter = &ExpiredFilter +} + +type DeleteTimersResponse struct { + TimerIdList models.TimerIdList +} + +type DeleteTimersError struct { + ProblemDetails models.ProblemDetails +} + +func (a *TimersDeleteApiService) DeleteTimers(ctx context.Context, request *DeleteTimersRequest) (*DeleteTimersResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteTimersResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/{realmId}/{storageId}/timers" + localVarPath = strings.Replace(localVarPath, "{"+"realmId"+"}", openapi.StringOfValue(*request.RealmId), -1) + localVarPath = strings.Replace(localVarPath, "{"+"storageId"+"}", openapi.StringOfValue(*request.StorageId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.SupportedFeatures != nil { + localVarQueryParams.Add("supported-features", openapi.ParameterToString(request.SupportedFeatures, "multi")) + } + if request.Filter != nil { + localVarQueryParams.Add("filter", openapi.ParameterToString(request.Filter, "application/json")) + } + if request.ExpiredFilter != nil { + localVarQueryParams.Add("expired-filter", openapi.ParameterToString(request.ExpiredFilter, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.TimerIdList, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteTimersError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/udsf/Timer/client.go b/udsf/Timer/client.go new file mode 100644 index 00000000..9bded222 --- /dev/null +++ b/udsf/Timer/client.go @@ -0,0 +1,50 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +// APIClient manages communication with the Nudsf_Timer API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + TimerGetApi *TimerGetApiService + TimerSearchApi *TimerSearchApiService + TimerStartApi *TimerStartApiService + TimerStopApi *TimerStopApiService + TimerUpdateApi *TimerUpdateApiService + TimersDeleteApi *TimersDeleteApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.TimerGetApi = (*TimerGetApiService)(&c.common) + c.TimerSearchApi = (*TimerSearchApiService)(&c.common) + c.TimerStartApi = (*TimerStartApiService)(&c.common) + c.TimerStopApi = (*TimerStopApiService)(&c.common) + c.TimerUpdateApi = (*TimerUpdateApiService)(&c.common) + c.TimersDeleteApi = (*TimersDeleteApiService)(&c.common) + + return c +} diff --git a/udsf/Timer/configuration.go b/udsf/Timer/configuration.go new file mode 100644 index 00000000..44c19fda --- /dev/null +++ b/udsf/Timer/configuration.go @@ -0,0 +1,82 @@ +/* + * Nudsf_Timer + * + * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ + * + * API version: 1.0.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Timer + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nudsf-timer/v1", + url: "{apiRoot}/nudsf-timer/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/util.go b/util.go index b9ad2cc9..78b746e7 100644 --- a/util.go +++ b/util.go @@ -1,11 +1,422 @@ package openapi import ( + "encoding/json" + "fmt" + "strconv" "strings" "github.com/free5gc/openapi/models" ) +const ( + ServiceBaseURI_NNRF_NFM_v1 string = "/" + string(models.ServiceName_NNRF_NFM) + "/v1" + ServiceBaseURI_NNRF_DISC_v1 string = "/" + string(models.ServiceName_NNRF_DISC) + "/v1" + ServiceBaseURI_NNRF_OAUTH2 string = "" + ServiceBaseURI_NNRF_OAM_v1 string = "/" + string(models.ServiceName_NNRF_OAM) + "/v1" + ServiceBaseURI_NNRF_CMI_v1 string = "/" + string(models.ServiceName_NNRF_CMI) + "/v1" + ServiceBaseURI_NUDM_SDM_v2 string = "/" + string(models.ServiceName_NUDM_SDM) + "/v2" + ServiceBaseURI_NUDM_UECM_v1 string = "/" + string(models.ServiceName_NUDM_UECM) + "/v1" + ServiceBaseURI_NUDM_UEAU_v1 string = "/" + string(models.ServiceName_NUDM_UEAU) + "/v1" + ServiceBaseURI_NUDM_EE_v1 string = "/" + string(models.ServiceName_NUDM_EE) + "/v1" + ServiceBaseURI_NUDM_PP_v1 string = "/" + string(models.ServiceName_NUDM_PP) + "/v1" + // ServiceBaseURI_NUDM_NIDDAU string = "/" + string(models.ServiceName_NUDM_NIDDAU) + // ServiceBaseURI_NUDM_MT string = "/" + string(models.ServiceName_NUDM_MT) + ServiceBaseURI_NUDM_OAM_v1 string = "/" + string(models.ServiceName_NUDM_OAM) + "/v1" + ServiceBaseURI_NUDM_CMI_v1 string = "/" + string(models.ServiceName_NUDM_CMI) + "/v1" + ServiceBaseURI_NAMF_COMM_v1 string = "/" + string(models.ServiceName_NAMF_COMM) + "/v1" + ServiceBaseURI_NAMF_EVTS_v1 string = "/" + string(models.ServiceName_NAMF_EVTS) + "/v1" + ServiceBaseURI_NAMF_MT_v1 string = "/" + string(models.ServiceName_NAMF_MT) + "/v1" + ServiceBaseURI_NAMF_LOC_v1 string = "/" + string(models.ServiceName_NAMF_LOC) + "/v1" + ServiceBaseURI_NAMF_OAM_v1 string = "/" + string(models.ServiceName_NAMF_OAM) + "/v1" + ServiceBaseURI_NAMF_CMI_v1 string = "/" + string(models.ServiceName_NAMF_CMI) + "/v1" + ServiceBaseURI_NSMF_PDUSESSION_v1 string = "/" + string(models.ServiceName_NSMF_PDUSESSION) + "/v1" + ServiceBaseURI_NSMF_EVENT_EXPOSURE_v1 string = "/" + string(models.ServiceName_NSMF_EVENT_EXPOSURE) + "/v1" + // ServiceBaseURI_NSMF_NIDD string = "/" + string(models.ServiceName_NSMF_NIDD) + ServiceBaseURI_NSMF_OAM_v1 string = "/" + string(models.ServiceName_NSMF_OAM) + "/v1" + ServiceBaseURI_NSMF_CMI_v1 string = "/" + string(models.ServiceName_NSMF_CMI) + "/v1" + ServiceBaseURI_NAUSF_AUTH_v1 string = "/" + string(models.ServiceName_NAUSF_AUTH) + "/v1" + ServiceBaseURI_NAUSF_SORPROTECTION_v1 string = "/" + string(models.ServiceName_NAUSF_SORPROTECTION) + "/v1" + ServiceBaseURI_NAUSF_UPUPROTECTION_v1 string = "/" + string(models.ServiceName_NAUSF_UPUPROTECTION) + "/v1" + ServiceBaseURI_NAUSF_OAM_v1 string = "/" + string(models.ServiceName_NAUSF_OAM) + "/v1" + ServiceBaseURI_NAUSF_CMI_v1 string = "/" + string(models.ServiceName_NAUSF_CMI) + "/v1" + ServiceBaseURI_NNEF_PFDMANAGEMENT_v1 string = "/" + string(models.ServiceName_NNEF_PFDMANAGEMENT) + "/v1" + ServiceBaseURI_3GPP_AS_SESSION_WITH_QOS_v1 string = "/" + string(models.ServiceName_3GPP_AS_SESSION_WITH_QOS) + "/v1" + ServiceBaseURI_3GPP_PFD_MANAGEMENT_v1 string = "/" + string(models.ServiceName_3GPP_PFD_MANAGEMENT) + "/v1" + ServiceBaseURI_3GPP_TRAFFIC_INFLUENCE_v1 string = "/" + string(models.ServiceName_3GPP_TRAFFIC_INFLUENCE) + "/v1" + // ServiceBaseURI_NNEF_SMCONTEXT string = "/" + string(models.ServiceName_NNEF_SMCONTEXT) + // ServiceBaseURI_NNEF_EVENTEXPOSURE string = "/" + string(models.ServiceName_NNEF_EVENTEXPOSURE) + ServiceBaseURI_NNEF_OAM_v1 string = "/" + string(models.ServiceName_NNEF_OAM) + "/v1" + ServiceBaseURI_NNEF_CMI_v1 string = "/" + string(models.ServiceName_NNEF_CMI) + "/v1" + ServiceBaseURI_NPCF_AM_POLICY_CONTROL_v1 string = "/" + string(models.ServiceName_NPCF_AM_POLICY_CONTROL) + "/v1" + ServiceBaseURI_NPCF_SMPOLICYCONTROL_v1 string = "/" + string(models.ServiceName_NPCF_SMPOLICYCONTROL) + "/v1" + ServiceBaseURI_NPCF_POLICYAUTHORIZATION_v1 string = "/" + string(models.ServiceName_NPCF_POLICYAUTHORIZATION) + "/v1" + ServiceBaseURI_NPCF_BDTPOLICYCONTROL_v1 string = "/" + string(models.ServiceName_NPCF_BDTPOLICYCONTROL) + "/v1" + // ServiceBaseURI_NPCF_EVENTEXPOSURE string = "/" + string(models.ServiceName_NPCF_EVENTEXPOSURE) + ServiceBaseURI_NPCF_UE_POLICY_CONTROL_v1 string = "/" + string(models.ServiceName_NPCF_UE_POLICY_CONTROL) + "/v1" + ServiceBaseURI_NPCF_OAM_v1 string = "/" + string(models.ServiceName_NPCF_OAM) + "/v1" + ServiceBaseURI_NPCF_CMI_v1 string = "/" + string(models.ServiceName_NPCF_CMI) + "/v1" + // ServiceBaseURI_NSMSF_SMS string = "/" + string(models.ServiceName_NSMSF_SMS) + ServiceBaseURI_NNSSF_NSSELECTION_v2 string = "/" + string(models.ServiceName_NNSSF_NSSELECTION) + "/v2" + ServiceBaseURI_NNSSF_NSSAIAVAILABILITY_v1 string = "/" + string(models.ServiceName_NNSSF_NSSAIAVAILABILITY) + "/v1" + ServiceBaseURI_NNSSF_OAM_v1 string = "/" + string(models.ServiceName_NNSSF_OAM) + "/v1" + ServiceBaseURI_NNSSF_CMI_v1 string = "/" + string(models.ServiceName_NNSSF_CMI) + "/v1" + ServiceBaseURI_NUDR_DR_v2 string = "/" + string(models.ServiceName_NUDR_DR) + "/v2" + ServiceBaseURI_NUDR_GROUP_ID_MAP_v1 string = "/" + string(models.ServiceName_NUDR_GROUP_ID_MAP) + "/v1" + ServiceBaseURI_NUDR_OAM_v1 string = "/" + string(models.ServiceName_NUDR_OAM) + "/v1" + ServiceBaseURI_NUDR_CMI_v1 string = "/" + string(models.ServiceName_NUDR_CMI) + "/v1" + // ServiceBaseURI_NLMF_LOC string = "/" + string(models.ServiceName_NLMF_LOC) + // ServiceBaseURI_N5G_EIR_EIC string = "/" + string(models.ServiceName_N5G_EIR_EIC) + // ServiceBaseURI_NBSF_MANAGEMENT string = "/" + string(models.ServiceName_NBSF_MANAGEMENT) + // ServiceBaseURI_NCHF_SPENDINGLIMITCONTROL string = "/" + string(models.ServiceName_NCHF_SPENDINGLIMITCONTROL) + // ServiceBaseURI_NCHF_CONVERGEDCHARGING string = "/" + string(models.ServiceName_NCHF_CONVERGEDCHARGING) + // ServiceBaseURI_NCHF_OFFLINEONLYCHARGING string = "/" + string(models.ServiceName_NCHF_OFFLINEONLYCHARGING) + // ServiceBaseURI_NNWDAF_EVENTSSUBSCRIPTION string = "/" + string(models.ServiceName_NNWDAF_EVENTSSUBSCRIPTION) + // ServiceBaseURI_NNWDAF_ANALYTICSINFO string = "/" + string(models.ServiceName_NNWDAF_ANALYTICSINFO) + // ServiceBaseURI_NGMLC_LOC string = "/" + string(models.ServiceName_NGMLC_LOC) + // ServiceBaseURI_NUCMF_PROVISIONING string = "/" + string(models.ServiceName_NUCMF_PROVISIONING) + // ServiceBaseURI_NUCMF_UECAPABILITYMANAGEMENT string = "/" + string(models.ServiceName_NUCMF_UECAPABILITYMANAGEMENT) + // ServiceBaseURI_NHSS_SDM string = "/" + string(models.ServiceName_NHSS_SDM) + // ServiceBaseURI_NHSS_UECM string = "/" + string(models.ServiceName_NHSS_UECM) + // ServiceBaseURI_NHSS_UEAU string = "/" + string(models.ServiceName_NHSS_UEAU) + // ServiceBaseURI_NHSS_EE string = "/" + string(models.ServiceName_NHSS_EE) + ServiceBaseURI_NHSS_IMS_SDM_v1 string = "/" + string(models.ServiceName_NHSS_IMS_SDM) + "/v1" + ServiceBaseURI_NHSS_IMS_UECM_v1 string = "/" + string(models.ServiceName_NHSS_IMS_UECM) + "/v1" + ServiceBaseURI_NHSS_IMS_UEAU_v1 string = "/" + string(models.ServiceName_NHSS_IMS_UEAU) + "/v1" + // ServiceBaseURI_NSEPP_TELESCOPIC string = "/" + string(models.ServiceName_NSEPP_TELESCOPIC) + // ServiceBaseURI_NSORAF_SOR string = "/" + string(models.ServiceName_NSORAF_SOR) + // ServiceBaseURI_NSPAF_SECURED_PACKET string = "/" + string(models.ServiceName_NSPAF_SECURED_PACKET) + // ServiceBaseURI_NUDSF_DR string = "/" + string(models.ServiceName_NUDSF_DR) + // ServiceBaseURI_NNSSAAF_NSSAA string = "/" + string(models.ServiceName_NNSSAAF_NSSAA) + ServiceBaseURI_NUPF_OAM_v1 string = "/" + string(models.ServiceName_NUPF_OAM) + "/v1" + ServiceBaseURI_NUPF_CMI_v1 string = "/" + string(models.ServiceName_NUPF_CMI) + "/v1" +) + +var ServiceNfType map[models.ServiceName]models.NrfNfManagementNfType + +func init() { + ServiceNfType = make(map[models.ServiceName]models.NrfNfManagementNfType) + ServiceNfType[models.ServiceName_NNRF_NFM] = models.NrfNfManagementNfType_NRF + ServiceNfType[models.ServiceName_NNRF_DISC] = models.NrfNfManagementNfType_NRF + ServiceNfType[models.ServiceName_NNRF_OAUTH2] = models.NrfNfManagementNfType_NRF + ServiceNfType[models.ServiceName_NNRF_OAM] = models.NrfNfManagementNfType_NRF + ServiceNfType[models.ServiceName_NNRF_CMI] = models.NrfNfManagementNfType_NRF + ServiceNfType[models.ServiceName_NUDM_SDM] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_UECM] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_UEAU] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_EE] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_PP] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_NIDDAU] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_MT] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_OAM] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NUDM_CMI] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NAMF_COMM] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NAMF_EVTS] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NAMF_MT] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NAMF_LOC] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NAMF_OAM] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NAMF_CMI] = models.NrfNfManagementNfType_AMF + ServiceNfType[models.ServiceName_NSMF_PDUSESSION] = models.NrfNfManagementNfType_SMF + ServiceNfType[models.ServiceName_NSMF_EVENT_EXPOSURE] = models.NrfNfManagementNfType_SMF + ServiceNfType[models.ServiceName_NSMF_NIDD] = models.NrfNfManagementNfType_SMF + ServiceNfType[models.ServiceName_NSMF_OAM] = models.NrfNfManagementNfType_SMF + ServiceNfType[models.ServiceName_NSMF_CMI] = models.NrfNfManagementNfType_SMF + ServiceNfType[models.ServiceName_NAUSF_AUTH] = models.NrfNfManagementNfType_AUSF + ServiceNfType[models.ServiceName_NAUSF_SORPROTECTION] = models.NrfNfManagementNfType_AUSF + ServiceNfType[models.ServiceName_NAUSF_UPUPROTECTION] = models.NrfNfManagementNfType_AUSF + ServiceNfType[models.ServiceName_NAUSF_OAM] = models.NrfNfManagementNfType_AUSF + ServiceNfType[models.ServiceName_NAUSF_CMI] = models.NrfNfManagementNfType_AUSF + ServiceNfType[models.ServiceName_NNEF_PFDMANAGEMENT] = models.NrfNfManagementNfType_NEF + ServiceNfType[models.ServiceName_NNEF_SMCONTEXT] = models.NrfNfManagementNfType_NEF + ServiceNfType[models.ServiceName_NNEF_EVENTEXPOSURE] = models.NrfNfManagementNfType_NEF + ServiceNfType[models.ServiceName_NNEF_OAM] = models.NrfNfManagementNfType_NEF + ServiceNfType[models.ServiceName_NNEF_CMI] = models.NrfNfManagementNfType_NEF + ServiceNfType[models.ServiceName_NPCF_AM_POLICY_CONTROL] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_SMPOLICYCONTROL] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_POLICYAUTHORIZATION] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_BDTPOLICYCONTROL] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_EVENTEXPOSURE] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_UE_POLICY_CONTROL] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_OAM] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NPCF_CMI] = models.NrfNfManagementNfType_PCF + ServiceNfType[models.ServiceName_NSMSF_SMS] = models.NrfNfManagementNfType_SMSF + ServiceNfType[models.ServiceName_NNSSF_NSSELECTION] = models.NrfNfManagementNfType_NSSF + ServiceNfType[models.ServiceName_NNSSF_NSSAIAVAILABILITY] = models.NrfNfManagementNfType_NSSF + ServiceNfType[models.ServiceName_NNSSF_OAM] = models.NrfNfManagementNfType_NSSF + ServiceNfType[models.ServiceName_NNSSF_CMI] = models.NrfNfManagementNfType_NSSF + ServiceNfType[models.ServiceName_NUDR_DR] = models.NrfNfManagementNfType_UDR + ServiceNfType[models.ServiceName_NUDR_GROUP_ID_MAP] = models.NrfNfManagementNfType_UDR + ServiceNfType[models.ServiceName_NUDR_OAM] = models.NrfNfManagementNfType_UDR + ServiceNfType[models.ServiceName_NUDR_CMI] = models.NrfNfManagementNfType_UDR + ServiceNfType[models.ServiceName_NLMF_LOC] = models.NrfNfManagementNfType_LMF + ServiceNfType[models.ServiceName_N5G_EIR_EIC] = models.NrfNfManagementNfType__5_G_EIR + ServiceNfType[models.ServiceName_NBSF_MANAGEMENT] = models.NrfNfManagementNfType_BSF + ServiceNfType[models.ServiceName_NCHF_SPENDINGLIMITCONTROL] = models.NrfNfManagementNfType_CHF + ServiceNfType[models.ServiceName_NCHF_CONVERGEDCHARGING] = models.NrfNfManagementNfType_CHF + ServiceNfType[models.ServiceName_NCHF_OFFLINEONLYCHARGING] = models.NrfNfManagementNfType_CHF + ServiceNfType[models.ServiceName_NNWDAF_EVENTSSUBSCRIPTION] = models.NrfNfManagementNfType_NWDAF + ServiceNfType[models.ServiceName_NNWDAF_ANALYTICSINFO] = models.NrfNfManagementNfType_NWDAF + ServiceNfType[models.ServiceName_NUPF_OAM] = models.NrfNfManagementNfType_UPF + ServiceNfType[models.ServiceName_NUPF_CMI] = models.NrfNfManagementNfType_UPF + // Now HSS service on UDM + ServiceNfType[models.ServiceName_NHSS_IMS_SDM] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NHSS_IMS_UECM] = models.NrfNfManagementNfType_UDM + ServiceNfType[models.ServiceName_NHSS_IMS_UEAU] = models.NrfNfManagementNfType_UDM +} + +func ServiceBaseUri(srvName models.ServiceName) string { + return ServiceUri(srvName, "") +} + +func ServiceUri(srvName models.ServiceName, apiPrefix string) string { + suffix := "" + switch srvName { + case models.ServiceName_NNRF_NFM: + suffix = ServiceBaseURI_NNRF_NFM_v1 + case models.ServiceName_NNRF_DISC: + suffix = ServiceBaseURI_NNRF_DISC_v1 + case models.ServiceName_NNRF_OAUTH2: + suffix = ServiceBaseURI_NNRF_OAUTH2 + case models.ServiceName_NNRF_OAM: + suffix = ServiceBaseURI_NNRF_OAM_v1 + case models.ServiceName_NNRF_CMI: + suffix = ServiceBaseURI_NNRF_CMI_v1 + case models.ServiceName_NUDM_SDM: + suffix = ServiceBaseURI_NUDM_SDM_v2 + case models.ServiceName_NUDM_UECM: + suffix = ServiceBaseURI_NUDM_UECM_v1 + case models.ServiceName_NUDM_UEAU: + suffix = ServiceBaseURI_NUDM_UEAU_v1 + case models.ServiceName_NUDM_EE: + suffix = ServiceBaseURI_NUDM_EE_v1 + case models.ServiceName_NUDM_PP: + suffix = ServiceBaseURI_NUDM_PP_v1 + // case models.ServiceName_NUDM_NIDDAU: + // suffix = ServiceBaseURI_NUDM_NIDDAU + // case models.ServiceName_NUDM_MT: + // suffix = ServiceBaseURI_NUDM_MT + case models.ServiceName_NUDM_OAM: + suffix = ServiceBaseURI_NUDM_OAM_v1 + case models.ServiceName_NUDM_CMI: + suffix = ServiceBaseURI_NUDM_CMI_v1 + case models.ServiceName_NAMF_COMM: + suffix = ServiceBaseURI_NAMF_COMM_v1 + case models.ServiceName_NAMF_EVTS: + suffix = ServiceBaseURI_NAMF_EVTS_v1 + case models.ServiceName_NAMF_MT: + suffix = ServiceBaseURI_NAMF_MT_v1 + case models.ServiceName_NAMF_LOC: + suffix = ServiceBaseURI_NAMF_LOC_v1 + case models.ServiceName_NAMF_OAM: + suffix = ServiceBaseURI_NAMF_OAM_v1 + case models.ServiceName_NAMF_CMI: + suffix = ServiceBaseURI_NAMF_CMI_v1 + case models.ServiceName_NSMF_PDUSESSION: + suffix = ServiceBaseURI_NSMF_PDUSESSION_v1 + case models.ServiceName_NSMF_EVENT_EXPOSURE: + suffix = ServiceBaseURI_NSMF_EVENT_EXPOSURE_v1 + // case models.ServiceName_NSMF_NIDD: + // suffix = ServiceBaseURI_NSMF_NIDD + case models.ServiceName_NSMF_OAM: + suffix = ServiceBaseURI_NSMF_OAM_v1 + case models.ServiceName_NSMF_CMI: + suffix = ServiceBaseURI_NSMF_CMI_v1 + case models.ServiceName_NAUSF_AUTH: + suffix = ServiceBaseURI_NAUSF_AUTH_v1 + case models.ServiceName_NAUSF_SORPROTECTION: + suffix = ServiceBaseURI_NAUSF_SORPROTECTION_v1 + case models.ServiceName_NAUSF_UPUPROTECTION: + suffix = ServiceBaseURI_NAUSF_UPUPROTECTION_v1 + case models.ServiceName_NAUSF_OAM: + suffix = ServiceBaseURI_NAUSF_OAM_v1 + case models.ServiceName_NAUSF_CMI: + suffix = ServiceBaseURI_NAUSF_CMI_v1 + case models.ServiceName_NNEF_PFDMANAGEMENT: + suffix = ServiceBaseURI_NNEF_PFDMANAGEMENT_v1 + case models.ServiceName_3GPP_AS_SESSION_WITH_QOS: + suffix = ServiceBaseURI_3GPP_AS_SESSION_WITH_QOS_v1 + case models.ServiceName_3GPP_PFD_MANAGEMENT: + suffix = ServiceBaseURI_3GPP_PFD_MANAGEMENT_v1 + case models.ServiceName_3GPP_TRAFFIC_INFLUENCE: + suffix = ServiceBaseURI_3GPP_TRAFFIC_INFLUENCE_v1 + // case models.ServiceName_NNEF_SMCONTEXT: + // suffix = ServiceBaseURI_NNEF_SMCONTEXT + // case models.ServiceName_NNEF_EVENTEXPOSURE: + // suffix = ServiceBaseURI_NNEF_EVENTEXPOSURE + case models.ServiceName_NNEF_OAM: + suffix = ServiceBaseURI_NNEF_OAM_v1 + case models.ServiceName_NNEF_CMI: + suffix = ServiceBaseURI_NNEF_CMI_v1 + case models.ServiceName_NPCF_AM_POLICY_CONTROL: + suffix = ServiceBaseURI_NPCF_AM_POLICY_CONTROL_v1 + case models.ServiceName_NPCF_SMPOLICYCONTROL: + suffix = ServiceBaseURI_NPCF_SMPOLICYCONTROL_v1 + case models.ServiceName_NPCF_POLICYAUTHORIZATION: + suffix = ServiceBaseURI_NPCF_POLICYAUTHORIZATION_v1 + case models.ServiceName_NPCF_BDTPOLICYCONTROL: + suffix = ServiceBaseURI_NPCF_BDTPOLICYCONTROL_v1 + // case models.ServiceName_NPCF_EVENTEXPOSURE: + // suffix = ServiceBaseURI_NPCF_EVENTEXPOSURE + case models.ServiceName_NPCF_UE_POLICY_CONTROL: + suffix = ServiceBaseURI_NPCF_UE_POLICY_CONTROL_v1 + case models.ServiceName_NPCF_OAM: + suffix = ServiceBaseURI_NPCF_OAM_v1 + case models.ServiceName_NPCF_CMI: + suffix = ServiceBaseURI_NPCF_CMI_v1 + // case models.ServiceName_NSMSF_SMS: + // suffix = ServiceBaseURI_NSMSF_SMS + case models.ServiceName_NNSSF_NSSELECTION: + suffix = ServiceBaseURI_NNSSF_NSSELECTION_v2 + case models.ServiceName_NNSSF_NSSAIAVAILABILITY: + suffix = ServiceBaseURI_NNSSF_NSSAIAVAILABILITY_v1 + case models.ServiceName_NNSSF_OAM: + suffix = ServiceBaseURI_NNSSF_OAM_v1 + case models.ServiceName_NNSSF_CMI: + suffix = ServiceBaseURI_NNSSF_CMI_v1 + case models.ServiceName_NUDR_DR: + suffix = ServiceBaseURI_NUDR_DR_v2 + // case models.ServiceName_NUDR_GROUP_ID_MAP: + // suffix = ServiceBaseURI_NUDR_GROUP_ID_MAP + case models.ServiceName_NUDR_OAM: + suffix = ServiceBaseURI_NUDR_OAM_v1 + case models.ServiceName_NUDR_CMI: + suffix = ServiceBaseURI_NUDR_CMI_v1 + // case models.ServiceName_NLMF_LOC: + // suffix = ServiceBaseURI_NLMF_LOC + // case models.ServiceName_N5G_EIR_EIC: + // suffix = ServiceBaseURI_N5G_EIR_EIC + // case models.ServiceName_NBSF_MANAGEMENT: + // suffix = ServiceBaseURI_NBSF_MANAGEMENT + // case models.ServiceName_NCHF_SPENDINGLIMITCONTROL: + // suffix = ServiceBaseURI_NCHF_SPENDINGLIMITCONTROL + // case models.ServiceName_NCHF_CONVERGEDCHARGING: + // suffix = ServiceBaseURI_NCHF_CONVERGEDCHARGING + // case models.ServiceName_NCHF_OFFLINEONLYCHARGING: + // suffix = ServiceBaseURI_NCHF_OFFLINEONLYCHARGING + // case models.ServiceName_NNWDAF_EVENTSSUBSCRIPTION: + // suffix = ServiceBaseURI_NNWDAF_EVENTSSUBSCRIPTION + // case models.ServiceName_NNWDAF_ANALYTICSINFO: + // suffix = ServiceBaseURI_NNWDAF_ANALYTICSINFO + // case models.ServiceName_NGMLC_LOC: + // suffix = ServiceBaseURI_NGMLC_LOC + // case models.ServiceName_NUCMF_PROVISIONING: + // suffix = ServiceBaseURI_NUCMF_PROVISIONING + // case models.ServiceName_NUCMF_UECAPABILITYMANAGEMENT: + // suffix = ServiceBaseURI_NUCMF_UECAPABILITYMANAGEMENT + // case models.ServiceName_NHSS_SDM: + // suffix = ServiceBaseURI_NHSS_SDM + // case models.ServiceName_NHSS_UECM: + // suffix = ServiceBaseURI_NHSS_UECM + // case models.ServiceName_NHSS_UEAU: + // suffix = ServiceBaseURI_NHSS_UEAU + // case models.ServiceName_NHSS_EE: + // suffix = ServiceBaseURI_NHSS_EE + case models.ServiceName_NHSS_IMS_SDM: + suffix = ServiceBaseURI_NHSS_IMS_SDM_v1 + case models.ServiceName_NHSS_IMS_UECM: + suffix = ServiceBaseURI_NHSS_IMS_UECM_v1 + case models.ServiceName_NHSS_IMS_UEAU: + suffix = ServiceBaseURI_NHSS_IMS_UEAU_v1 + // case models.ServiceName_NSEPP_TELESCOPIC: + // suffix = ServiceBaseURI_NSEPP_TELESCOPIC + // case models.ServiceName_NSORAF_SOR: + // suffix = ServiceBaseURI_NSORAF_SOR + // case models.ServiceName_NSPAF_SECURED_PACKET: + // suffix = ServiceBaseURI_NSPAF_SECURED_PACKET + // case models.ServiceName_NUDSF_DR: + // suffix = ServiceBaseURI_NUDSF_DR + // case models.ServiceName_NNSSAAF_NSSAA: + // suffix = ServiceBaseURI_NNSSAAF_NSSAA + case models.ServiceName_NUPF_OAM: + suffix = ServiceBaseURI_NUPF_OAM_v1 + case models.ServiceName_NUPF_CMI: + suffix = ServiceBaseURI_NUPF_CMI_v1 + default: + } + return apiPrefix + suffix +} + +func ApiVersion(name models.ServiceName) string { + s := ServiceBaseUri(name) + if s != "" { + return s[strings.LastIndex(s, "/")+1:] + } + return "" +} + +func GetServiceNfProfileAndUri( + nfInstances []models.NrfNfDiscoveryNfProfile, + srvName models.ServiceName, +) (*models.NrfNfDiscoveryNfProfile, string, error) { + // select the first ServiceName + // TODO: select base on other info + var nfProf *models.NrfNfDiscoveryNfProfile + var uri string + for i := range nfInstances { + nfProf = &nfInstances[i] + uri = GetNFServiceUri(nfProf, srvName) + if uri != "" { + break + } + } + if uri == "" { + return nil, "", fmt.Errorf("no uri for %s found", srvName) + } + return nfProf, uri, nil +} + +// Returns NF Uri derived from NfProfile with corresponding service +func GetNFServiceUri( + nfProf *models.NrfNfDiscoveryNfProfile, + srvName models.ServiceName, +) string { + if nfProf == nil { + return "" + } + + nfUri := "" + for _, srv := range nfProf.NfServices { + if srv.ServiceName == srvName && + srv.NfServiceStatus == models.NfServiceStatus_REGISTERED { + if srv.ApiPrefix != "" { + nfUri = srv.ApiPrefix + } else if srv.Fqdn != "" { + nfUri = string(srv.Scheme) + "://" + srv.Fqdn + } else if nfProf.Fqdn != "" { + nfUri = string(srv.Scheme) + "://" + nfProf.Fqdn + } else if len(srv.IpEndPoints) != 0 { + // Select the first IpEndPoint + // TODO: select others when failure + point := (srv.IpEndPoints)[0] + if point.Ipv4Address != "" { + nfUri = getUriFromIpEndPoint(srv.Scheme, point.Ipv4Address, point.Port) + } else if len(nfProf.Ipv4Addresses) != 0 { + nfUri = getUriFromIpEndPoint(srv.Scheme, nfProf.Ipv4Addresses[0], point.Port) + } + } + } + if nfUri != "" { + break + } + } + return nfUri +} + +func getUriFromIpEndPoint(scheme models.UriScheme, ipv4Address string, port int32) string { + uri := "" + if port != 0 { + uri = string(scheme) + "://" + ipv4Address + ":" + strconv.Itoa(int(port)) + } else { + switch scheme { + case models.UriScheme_HTTP: + uri = string(scheme) + "://" + ipv4Address + ":80" + case models.UriScheme_HTTPS: + uri = string(scheme) + "://" + ipv4Address + ":443" + } + } + return uri +} + func SnssaiEqualFold(s, t models.Snssai) bool { if s.Sst == t.Sst && strings.EqualFold(s.Sd, t.Sd) { return true @@ -13,3 +424,39 @@ func SnssaiEqualFold(s, t models.Snssai) bool { return false } +func ExtSnssaiEqualFold(s, t models.ExtSnssai) bool { + if s.Sst == t.Sst && strings.EqualFold(s.Sd, t.Sd) { + return true + } + return false +} + +func SnssaiHexToModels(hexString string) (*models.Snssai, error) { + hslen := len(hexString) + if hslen != 2 && hslen != 8 { + return nil, fmt.Errorf("hexString length(%d) should be 2 or 8", hslen) + } + sst, err := strconv.ParseInt(hexString[:2], 16, 32) + if err != nil { + return nil, err + } + sNssai := &models.Snssai{ + Sst: int32(sst), + Sd: hexString[2:], + } + return sNssai, nil +} + +func SnssaiModelsToHex(snssai models.Snssai) string { + sst := fmt.Sprintf("%02x", snssai.Sst) + return sst + snssai.Sd +} + +func PlmnIdJsonToModels(plmnIdJson []byte) (*models.PlmnId, error) { + var plmnId models.PlmnId + err := json.Unmarshal(plmnIdJson, &plmnId) + if err != nil { + return nil, err + } + return &plmnId, nil +} diff --git a/util_test.go b/util_test.go index bc03e93b..60ac896f 100644 --- a/util_test.go +++ b/util_test.go @@ -3,11 +3,41 @@ package openapi import ( "testing" - "github.com/stretchr/testify/require" - "github.com/free5gc/openapi/models" + "github.com/stretchr/testify/require" ) +func TestApiVersion(t *testing.T) { + testCases := []struct { + name string + srvName models.ServiceName + expected string + }{ + { + name: "v1", + srvName: models.ServiceName_NUPF_OAM, + expected: "v1", + }, + { + name: "v2", + srvName: models.ServiceName_NUDR_DR, + expected: "v2", + }, + { + name: "null", + srvName: models.ServiceName_NNSSAAF_NSSAA, + expected: "", + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + result := ApiVersion(tc.srvName) + require.Equal(t, tc.expected, result) + }) + } +} + func TestSnssaiEqualFold(t *testing.T) { testCases := []struct { name string @@ -43,3 +73,149 @@ func TestSnssaiEqualFold(t *testing.T) { } } +func TestExtSnssaiEqualFold(t *testing.T) { + testCases := []struct { + name string + s models.ExtSnssai + t models.ExtSnssai + expected bool + }{ + { + name: "case insensitive 1", + s: models.ExtSnssai{Sst: 1, Sd: "abcdef"}, + t: models.ExtSnssai{Sst: 1, Sd: "ABCDEF"}, + expected: true, + }, + { + name: "case insensitive 2", + s: models.ExtSnssai{Sst: 1, Sd: "012def"}, + t: models.ExtSnssai{Sst: 1, Sd: "012DeF"}, + expected: true, + }, + { + name: "fail case", + s: models.ExtSnssai{Sst: 1, Sd: "012def"}, + t: models.ExtSnssai{Sst: 1, Sd: "012Dee"}, + expected: false, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + result := ExtSnssaiEqualFold(tc.s, tc.t) + require.Equal(t, tc.expected, result) + }) + } +} + +func TestSnssaiHexToModels(t *testing.T) { + testCases := []struct { + name string + hexStr string + expectedSnssai *models.Snssai + expectedErr bool + }{ + { + name: "pass case 1", + hexStr: "01abcdef", + expectedSnssai: &models.Snssai{Sst: 1, Sd: "abcdef"}, + expectedErr: false, + }, + { + name: "pass case 2", + hexStr: "01", + expectedSnssai: &models.Snssai{Sst: 1}, + expectedErr: false, + }, + { + name: "fail case 1", + hexStr: "1", + expectedSnssai: nil, + expectedErr: true, + }, + { + name: "fail case 2", + hexStr: "gh", + expectedSnssai: nil, + expectedErr: true, + }, + { + name: "fail case 3", + hexStr: "abcdef", + expectedSnssai: nil, + expectedErr: true, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + result, err := SnssaiHexToModels(tc.hexStr) + if tc.expectedErr { + require.Error(t, err) + } else { + require.NoError(t, err) + } + require.Equal(t, tc.expectedSnssai, result) + }) + } +} + +func TestSnssaiModelsToHex(t *testing.T) { + testCases := []struct { + name string + snssai models.Snssai + expectedhex string + }{ + { + name: "pass case 1", + snssai: models.Snssai{Sst: 1, Sd: "abcdef"}, + expectedhex: "01abcdef", + }, + { + name: "pass case 2", + snssai: models.Snssai{Sst: 1}, + expectedhex: "01", + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + result := SnssaiModelsToHex(tc.snssai) + require.Equal(t, tc.expectedhex, result) + }) + } +} + +func TestPlmnIdJsonToModels(t *testing.T) { + testCases := []struct { + name string + jsonStr string + expectedPlmnId *models.PlmnId + expectedErr bool + }{ + { + name: "pass case", + jsonStr: "{\"mcc\":\"466\",\"mnc\":\"11\"}", + expectedPlmnId: &models.PlmnId{Mcc: "466", Mnc: "11"}, + expectedErr: false, + }, + { + name: "fail case", + jsonStr: "46611", + expectedPlmnId: nil, + expectedErr: true, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + result, err := PlmnIdJsonToModels([]byte(tc.jsonStr)) + if tc.expectedErr { + require.Error(t, err) + } else { + require.NoError(t, err) + } + require.Equal(t, tc.expectedPlmnId, result) + }) + } +} From 0fc3346b707f9dae6c56c8483b2509d00acfd831 Mon Sep 17 00:00:00 2001 From: ianchen0119 Date: Wed, 27 Mar 2024 07:53:51 +0000 Subject: [PATCH 02/67] update go.mod --- go.mod | 13 +++++++++++-- go.sum | 32 ++++++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index c9be4226..c56e6ae4 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,14 @@ module github.com/free5gc/openapi go 1.17 require ( - github.com/antihax/optional v1.0.0 github.com/golang-jwt/jwt v3.2.1+incompatible github.com/mitchellh/mapstructure v1.4.2 github.com/pkg/errors v0.9.1 - github.com/stretchr/testify v1.8.3 + github.com/sirupsen/logrus v1.9.3 + github.com/stretchr/testify v1.8.4 + go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.49.0 + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 + go.opentelemetry.io/otel v1.24.0 golang.org/x/net v0.17.0 golang.org/x/oauth2 v0.0.0-20210810183815-faf39c7919d5 gopkg.in/h2non/gock.v1 v1.1.2 @@ -15,9 +18,15 @@ require ( require ( github.com/davecgh/go-spew v1.1.1 // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/golang/protobuf v1.5.0 // indirect github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + go.opentelemetry.io/otel/metric v1.24.0 // indirect + go.opentelemetry.io/otel/trace v1.24.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect google.golang.org/appengine v1.6.6 // indirect google.golang.org/protobuf v1.33.0 // indirect diff --git a/go.sum b/go.sum index 0d560247..b1e9bf7f 100644 --- a/go.sum +++ b/go.sum @@ -33,8 +33,6 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= @@ -48,9 +46,16 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -88,8 +93,9 @@ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -125,14 +131,17 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -142,6 +151,16 @@ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.49.0 h1:RtcvQ4iw3w9NBB5yRwgA4sSa82rfId7n4atVpvKx3bY= +go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.49.0/go.mod h1:f/PbKbRd4cdUICWell6DmzvVJ7QrmBgFrRHjXmAXbK4= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= +go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= +go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= +go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= +go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= +go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= +go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -258,9 +277,11 @@ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -325,7 +346,6 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= From b649af52ea45bb3068b06124f1d75bf9cd95ff6d Mon Sep 17 00:00:00 2001 From: ianchen0119 Date: Wed, 27 Mar 2024 07:57:07 +0000 Subject: [PATCH 03/67] update to go 1.19 --- .github/workflows/go.yml | 2 +- go.mod | 2 +- go.sum | 32 -------------------------------- 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 90d4ab61..0d6e37ed 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.18', '1.21' ] + go: [ '1.19', '1.21' ] steps: - uses: actions/checkout@v3 diff --git a/go.mod b/go.mod index c56e6ae4..709a244e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/free5gc/openapi -go 1.17 +go 1.19 require ( github.com/golang-jwt/jwt v3.2.1+incompatible diff --git a/go.sum b/go.sum index b1e9bf7f..a19fc469 100644 --- a/go.sum +++ b/go.sum @@ -95,7 +95,6 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -134,18 +133,13 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -166,8 +160,6 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -198,8 +190,6 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -226,10 +216,6 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -247,8 +233,6 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -274,28 +258,14 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -341,8 +311,6 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= From 9ee5847a20bbbf5505a6494db4957f5dfd8b644c Mon Sep 17 00:00:00 2001 From: ianchen0119 Date: Thu, 28 Mar 2024 14:34:27 +0000 Subject: [PATCH 04/67] remove duplicated models --- models/models/model_3_g_aka_av.go | 22 --- .../models/model_3_gppps_data_off_status.go | 21 --- models/models/model_5_g_ddnmf_info.go | 18 -- models/models/model_5_g_srvcc_info.go | 22 --- .../model_5_g_vn_group_configuration.go | 24 --- models/models/model_5_g_vn_group_data.go | 27 --- models/models/model_5_glan_type_service.go | 18 -- models/models/model_5_gs_user_state.go | 23 --- models/models/model_5_gs_user_state_info.go | 19 -- .../models/model_5_mbs_authorization_info.go | 17 -- models/models/model_aanf_info.go | 18 -- models/models/model_abnormal_behaviour.go | 27 --- models/models/model_acc_net_ch_id.go | 25 --- .../models/model_acc_net_charging_address.go | 20 --- .../models/model_acceptable_mbs_serv_info.go | 20 --- .../models/model_acceptable_service_info.go | 23 --- .../models/model_access_and_mobility_data.go | 54 ------ ...l_access_and_mobility_subscription_data.go | 80 --------- .../model_access_net_charging_identifier.go | 22 --- models/models/model_access_network_id.go | 23 --- .../model_access_network_info_change.go | 24 --- models/models/model_access_right_status.go | 22 --- .../model_access_state_transition_type.go | 27 --- models/models/model_access_tech.go | 30 ---- models/models/model_access_token_err.go | 20 --- .../model_access_transfer_information.go | 31 ---- models/models/model_access_transfer_type.go | 23 --- models/models/model_access_type.go | 21 --- models/models/model_access_type_rm.go | 16 -- models/models/model_accu_usage_report.go | 35 ---- models/models/model_accumulated_usage.go | 25 --- .../model_accuracy_fulfilment_indicator.go | 21 --- models/models/model_ack_of_notify.go | 23 --- models/models/model_acknowledge_info.go | 31 ---- models/models/model_acs_info.go | 22 --- models/models/model_acs_info_rm.go | 16 -- models/models/model_activation_state.go | 21 --- ...el_addition_info_analytics_info_request.go | 19 -- ...el_addition_info_enable_ue_reachability.go | 19 -- models/models/model_additional_access_info.go | 19 -- .../models/model_additional_ee_subs_info.go | 19 -- models/models/model_additional_measurement.go | 27 --- .../models/model_additional_qos_flow_info.go | 16 -- models/models/model_additional_snssai_data.go | 19 -- models/models/model_addr_fqdn.go | 20 --- models/models/model_address_list.go | 19 -- models/models/model_administrative_state.go | 21 --- models/models/model_adrf_data_type.go | 21 --- models/models/model_aerial_ue_indication.go | 21 --- .../model_aerial_ue_subscription_info.go | 20 --- models/models/model_af_ack_info.go | 21 --- models/models/model_af_coordination_info.go | 23 --- .../model_af_event_exposure_af_event.go | 32 ---- ...af_event_exposure_af_event_notification.go | 37 ---- models/models/model_af_event_exposure_data.go | 20 --- ...af_event_exposure_dispersion_collection.go | 30 ---- .../model_af_event_exposure_event_filter.go | 25 --- .../models/model_af_event_exposure_notif.go | 19 -- .../models/model_af_event_exposure_subsc.go | 26 --- models/models/model_af_event_subscription.go | 23 --- models/models/model_af_external.go | 20 --- models/models/model_af_notif_method.go | 22 --- models/models/model_af_requested_data.go | 20 --- models/models/model_af_result_info.go | 23 --- models/models/model_af_result_status.go | 23 --- models/models/model_af_routing_requirement.go | 33 ---- .../models/model_af_routing_requirement_rm.go | 33 ---- models/models/model_af_sig_protocol.go | 21 --- models/models/model_affinity_anti_affinity.go | 18 -- models/models/model_aggregation_level.go | 21 --- models/models/model_alert_limit.go | 21 --- models/models/model_allowed_mbs_info.go | 17 -- .../models/model_allowed_mtc_provider_info.go | 19 -- models/models/model_allowed_nssai.go | 19 -- models/models/model_allowed_snssai.go | 20 --- .../models/model_alternative_qos_profile.go | 26 --- ...l_alternative_service_requirements_data.go | 25 --- models/models/model_am_event.go | 21 --- models/models/model_am_event_data.go | 30 ---- models/models/model_am_event_notification.go | 20 --- models/models/model_am_events_notification.go | 20 --- models/models/model_am_events_subsc_data.go | 20 --- .../models/model_am_events_subsc_data_rm.go | 20 --- .../models/model_am_events_subsc_resp_data.go | 23 --- models/models/model_am_influ_data.go | 46 ----- models/models/model_am_influ_event.go | 20 --- models/models/model_am_policy_data.go | 20 --- models/models/model_am_requested_value_rep.go | 26 --- models/models/model_am_termination_cause.go | 22 --- models/models/model_am_termination_info.go | 20 --- models/models/model_ambr.go | 21 --- models/models/model_ambr_rm.go | 16 -- .../model_amf3_gpp_access_registration.go | 64 ------- ...f3_gpp_access_registration_modification.go | 25 --- ...mf_communication_ec_restriction_data_wb.go | 19 -- .../model_amf_communication_ngap_ie_type.go | 37 ---- .../model_amf_communication_release_cause.go | 22 --- ...del_amf_communication_subscription_data.go | 20 --- models/models/model_amf_cond.go | 21 --- .../model_amf_create_event_subscription.go | 21 --- .../model_amf_created_event_subscription.go | 23 --- models/models/model_amf_dereg_info.go | 17 -- models/models/model_amf_event.go | 46 ----- models/models/model_amf_event_area.go | 22 --- ...l_amf_event_exposure_traffic_descriptor.go | 21 --- models/models/model_amf_event_mode.go | 31 ---- models/models/model_amf_event_notification.go | 21 --- models/models/model_amf_event_report.go | 59 ------- models/models/model_amf_event_state.go | 21 --- .../models/model_amf_event_subs_sync_info.go | 18 -- models/models/model_amf_event_subscription.go | 41 ----- .../model_amf_event_subscription_add_info.go | 23 --- .../model_amf_event_subscription_info.go | 23 --- models/models/model_amf_event_trigger.go | 22 --- models/models/model_amf_event_type.go | 39 ----- models/models/model_amf_location_data.go | 26 --- .../model_amf_location_location_event.go | 25 --- .../model_amf_location_location_type.go | 23 --- ...f_mbs_broadcast_context_update_req_data.go | 27 --- ...f_mbs_broadcast_context_update_rsp_data.go | 19 -- .../model_amf_mbs_broadcast_n2_mbs_sm_info.go | 20 --- .../model_amf_mbs_broadcast_ngap_ie_type.go | 23 --- ...el_amf_mbs_communication_n2_mbs_sm_info.go | 19 -- models/models/model_amf_mt_ue_info.go | 20 --- .../model_amf_non3_gpp_access_registration.go | 57 ------ ...n3_gpp_access_registration_modification.go | 22 --- .../model_amf_status_change_notification.go | 18 -- models/models/model_amf_status_info.go | 23 --- models/models/model_amf_subscription_info.go | 23 --- .../model_amf_update_event_option_item.go | 26 --- ...odel_amf_update_event_subscription_item.go | 25 --- .../model_amf_updated_event_subscription.go | 19 -- models/models/model_an_gw_address.go | 20 --- models/models/model_an_node_type.go | 21 --- .../model_analytics_context_identifier.go | 23 --- models/models/model_analytics_metadata.go | 24 --- .../model_analytics_metadata_indication.go | 21 --- .../models/model_analytics_metadata_info.go | 23 --- models/models/model_analytics_subscription.go | 22 --- .../model_analytics_subscriptions_transfer.go | 18 -- models/models/model_analytics_subset.go | 59 ------- models/models/model_anchor_smf_features.go | 18 -- .../models/model_announcement_information.go | 29 --- .../model_announcement_privacy_indicator.go | 21 --- models/models/model_api_direction.go | 21 --- models/models/model_apn_rate_status.go | 31 ---- models/models/model_app_am_context_data.go | 33 ---- .../models/model_app_am_context_resp_data.go | 36 ---- .../model_app_am_context_update_data.go | 27 --- models/models/model_app_descriptor.go | 21 --- models/models/model_app_detection_info.go | 23 --- .../models/model_app_detection_notif_type.go | 21 --- models/models/model_app_detection_report.go | 20 --- models/models/model_app_list_for_ue_comm.go | 30 ---- models/models/model_app_port_id.go | 20 --- models/models/model_app_session_context.go | 20 --- .../model_app_session_context_req_data.go | 67 ------- .../model_app_session_context_resp_data.go | 21 --- .../model_app_session_context_update_data.go | 46 ----- ...l_app_session_context_update_data_patch.go | 18 -- .../model_application_data_change_notif.go | 24 --- models/models/model_application_data_subs.go | 33 ---- .../model_application_for_pfd_request.go | 25 --- models/models/model_application_server.go | 20 --- models/models/model_application_volume.go | 21 --- models/models/model_applied_smcc_type.go | 21 --- models/models/model_area.go | 20 --- models/models/model_area_event_info.go | 28 --- .../model_area_of_interest_event_state.go | 19 -- models/models/model_area_of_validity.go | 18 -- models/models/model_area_scope.go | 22 --- models/models/model_arp.go | 21 --- ...model_as_session_with_qo_s_subscription.go | 59 ------- ...as_session_with_qo_s_subscription_patch.go | 42 ----- models/models/model_assign_ebi_data.go | 23 --- models/models/model_assign_ebi_error.go | 19 -- models/models/model_assign_ebi_failed.go | 20 --- models/models/model_assigned_ebi_data.go | 23 --- models/models/model_atom.go | 22 --- models/models/model_atsss_capability.go | 23 --- models/models/model_ausf_info.go | 22 --- .../model_ausf_so_r_protection_sor_info.go | 26 --- ...ausf_so_r_protection_steering_container.go | 17 -- ...odel_ausf_so_r_protection_steering_info.go | 19 -- ...odel_ausf_ue_authentication_auth_result.go | 22 --- .../model_ausf_ue_authentication_auth_type.go | 23 --- ...odel_ausf_ue_authentication_rg_auth_ctx.go | 21 --- .../model_ausf_upu_protection_upu_data.go | 22 --- .../model_ausf_upu_protection_upu_info.go | 26 --- models/models/model_auth_event.go | 34 ---- models/models/model_auth_method.go | 24 --- models/models/model_auth_notification.go | 24 --- models/models/model_auth_status.go | 22 --- models/models/model_auth_update_info.go | 20 --- .../models/model_auth_update_notification.go | 25 --- models/models/model_authentication_info.go | 34 ---- .../model_authentication_subscription.go | 34 ---- models/models/model_authentication_vector.go | 24 --- models/models/model_authorization_data.go | 27 --- models/models/model_authorization_info.go | 34 ---- models/models/model_authorization_ue_id.go | 21 --- models/models/model_authorized_default_qos.go | 36 ---- .../model_authorized_network_slice_info.go | 38 ---- ...odel_authorized_nssai_availability_data.go | 23 --- ...odel_authorized_nssai_availability_info.go | 20 --- models/models/model_av5_g_he_aka.go | 21 --- models/models/model_av5g_aka.go | 21 --- models/models/model_av_eap_aka_prime.go | 22 --- models/models/model_av_eps_aka.go | 21 --- models/models/model_av_ims_gba_eap_aka.go | 22 --- models/models/model_av_type.go | 21 --- models/models/model_backup_amf_info.go | 21 --- models/models/model_base_record.go | 23 --- models/models/model_battery_indication.go | 23 --- models/models/model_battery_indication_rm.go | 16 -- models/models/model_bdt_data.go | 34 ---- models/models/model_bdt_data_patch.go | 19 -- models/models/model_bdt_policy.go | 19 -- models/models/model_bdt_policy_data.go | 29 --- models/models/model_bdt_policy_data_patch.go | 19 -- models/models/model_bdt_policy_status.go | 21 --- models/models/model_bdt_req_data.go | 37 ---- models/models/model_bdt_req_data_patch.go | 19 -- models/models/model_block.go | 17 -- models/models/model_bootstrapping_info.go | 28 --- .../model_bridge_management_container.go | 19 -- models/models/model_bw_requirement.go | 27 --- models/models/model_cache_status.go | 22 --- models/models/model_cag_ack_data.go | 24 --- models/models/model_cag_data.go | 24 --- models/models/model_cag_info.go | 18 -- models/models/model_call_reference_info.go | 21 --- models/models/model_called_identity_change.go | 23 --- models/models/model_cancel_pos_info.go | 27 --- ...odel_cancel_relocate_ue_context_request.go | 18 -- .../models/model_candidate_for_replacement.go | 19 -- models/models/model_ce_mode_b_ind.go | 18 -- models/models/model_cell_global_id.go | 20 --- models/models/model_change_item.go | 24 --- ...l_change_of_supi_pei_association_report.go | 18 -- models/models/model_change_type.go | 23 --- ...charging_characteristics_selection_mode.go | 22 --- models/models/model_charging_data.go | 39 ----- models/models/model_charging_info.go | 25 --- models/models/model_charging_information.go | 29 --- .../models/model_charging_notify_request.go | 18 -- .../models/model_charging_notify_response.go | 17 -- ...onverged_charging_charging_data_request.go | 62 ------- ...nverged_charging_charging_data_response.go | 33 ---- ...nverged_charging_multiple_qf_icontainer.go | 33 ---- ..._converged_charging_multiple_unit_usage.go | 23 --- ...hf_converged_charging_nf_identification.go | 24 --- ...f_converged_charging_node_functionality.go | 39 ----- ...hf_converged_charging_notification_type.go | 21 --- ...odel_chf_converged_charging_pdu_address.go | 24 --- ...rged_charging_pdu_container_information.go | 44 ----- ...arging_pdu_session_charging_information.go | 40 ----- ...verged_charging_pdu_session_information.go | 56 ------ ...rged_charging_qfi_container_information.go | 41 ----- ...onverged_charging_qos_monitoring_report.go | 20 --- ...onverged_charging_redirect_address_type.go | 23 --- ...odel_chf_converged_charging_result_code.go | 27 --- ...erged_charging_roaming_charging_profile.go | 18 -- ...verged_charging_roaming_qbc_information.go | 20 --- ...ed_charging_serving_network_function_id.go | 19 -- .../model_chf_converged_charging_trigger.go | 34 ---- ...del_chf_converged_charging_trigger_type.go | 63 ------- ..._converged_charging_used_unit_container.go | 41 ----- ...chf_converged_charging_user_information.go | 22 --- models/models/model_chf_info.go | 26 --- ...ine_only_charging_charging_data_request.go | 33 ---- ...ne_only_charging_charging_data_response.go | 29 --- ...ne_only_charging_multiple_qf_icontainer.go | 31 ---- ...fline_only_charging_multiple_unit_usage.go | 22 --- ...offline_only_charging_nf_identification.go | 24 --- ...ffline_only_charging_node_functionality.go | 22 --- ...l_chf_offline_only_charging_pdu_address.go | 22 --- ...only_charging_pdu_container_information.go | 39 ----- ...arging_pdu_session_charging_information.go | 35 ---- ...e_only_charging_pdu_session_information.go | 48 ----- ...only_charging_qfi_container_information.go | 35 ---- ...l_chf_offline_only_charging_result_code.go | 21 --- ..._only_charging_roaming_charging_profile.go | 18 -- ...e_only_charging_roaming_qbc_information.go | 20 --- ...ly_charging_serving_network_function_id.go | 19 -- ...model_chf_offline_only_charging_trigger.go | 28 --- ..._chf_offline_only_charging_trigger_type.go | 49 ------ ...fline_only_charging_used_unit_container.go | 38 ---- ..._offline_only_charging_user_information.go | 22 --- ...pending_limit_control_termination_cause.go | 20 --- models/models/model_cipher_request_data.go | 21 --- models/models/model_cipher_response_data.go | 18 -- models/models/model_ciphering_algorithm.go | 23 --- models/models/model_ciphering_data_set.go | 37 ---- models/models/model_ciphering_key_info.go | 20 --- models/models/model_ciphering_key_response.go | 18 -- models/models/model_ciphering_set_report.go | 20 --- .../models/model_circumstance_description.go | 28 --- models/models/model_civic_address.go | 51 ------ models/models/model_class_criterion.go | 21 --- models/models/model_class_identifier.go | 23 --- models/models/model_client_id.go | 21 --- models/models/model_cm_info.go | 19 -- models/models/model_cm_info_report.go | 18 -- models/models/model_cm_state.go | 21 --- models/models/model_cn_assisted_ran_para.go | 26 --- models/models/model_cn_type.go | 22 --- models/models/model_cn_type_change_report.go | 18 -- models/models/model_cnf.go | 18 -- models/models/model_cnf_unit.go | 18 -- models/models/model_code_word_ind.go | 21 --- .../model_collection_period_rmm_lte_mdt.go | 26 --- .../model_collection_period_rmm_nr_mdt.go | 24 --- .../model_collective_behaviour_filter.go | 22 --- .../model_collective_behaviour_filter_type.go | 21 --- .../models/model_collective_behaviour_info.go | 23 --- models/models/model_collocated_nf_instance.go | 20 --- models/models/model_collocated_nf_type.go | 23 --- .../model_communication_characteristics.go | 22 --- .../model_communication_characteristics_af.go | 21 --- .../models/model_communication_collection.go | 29 --- models/models/model_communication_failure.go | 19 -- models/models/model_comparison_operator.go | 25 --- models/models/model_complex_query.go | 19 -- models/models/model_condition_data.go | 29 --- models/models/model_condition_event_type.go | 21 --- models/models/model_condition_operator.go | 22 --- models/models/model_configured_snssai.go | 19 -- models/models/model_confirmation_data.go | 21 --- .../model_confirmation_data_response.go | 23 --- models/models/model_congestion_info.go | 24 --- .../models/model_connection_capabilities.go | 23 --- .../models/model_consumer_nf_information.go | 22 --- .../models/model_context_create_req_data.go | 29 --- models/models/model_context_create_request.go | 18 -- .../model_context_create_response_201.go | 27 --- .../models/model_context_create_rsp_data.go | 20 --- models/models/model_context_data.go | 19 -- models/models/model_context_data_set_name.go | 30 ---- models/models/model_context_data_sets.go | 29 --- models/models/model_context_element.go | 40 ----- models/models/model_context_id_list.go | 18 -- models/models/model_context_info.go | 18 -- .../model_context_status_notification.go | 24 --- models/models/model_context_type.go | 25 --- models/models/model_context_update_request.go | 18 -- .../model_context_update_response_200.go | 27 --- ...odel_core_network_service_authorization.go | 18 -- models/models/model_core_network_type.go | 21 --- models/models/model_coverage_info.go | 24 --- .../models/model_create_ue_context_request.go | 35 ---- .../model_create_ue_context_response_201.go | 33 ---- .../model_create_ue_context_response_403.go | 18 -- ...el_created_ue_reachability_subscription.go | 23 --- .../models/model_credit_management_status.go | 24 --- models/models/model_cs_location.go | 26 --- models/models/model_cs_user_state.go | 18 -- models/models/model_csg_information.go | 20 --- models/models/model_csrn.go | 19 -- models/models/model_data_availability.go | 21 --- models/models/model_data_change_notify.go | 24 --- .../models/model_data_collection_purpose.go | 21 --- models/models/model_data_filter.go | 30 ---- models/models/model_data_ind.go | 24 --- models/models/model_data_notification.go | 37 ---- models/models/model_data_set_id.go | 36 ---- models/models/model_data_set_name.go | 36 ---- models/models/model_data_subscription.go | 24 --- .../model_datalink_reporting_configuration.go | 21 --- .../model_dataset_statistical_property.go | 21 --- models/models/model_dccf_cond.go | 22 --- ..._dccf_data_management_reporting_options.go | 28 --- models/models/model_dccf_event.go | 25 --- models/models/model_dccf_info.go | 21 --- models/models/model_ddd_traffic_descriptor.go | 24 --- models/models/model_ddn_failure_sub_info.go | 19 -- models/models/model_ddn_failure_subs.go | 19 -- models/models/model_deconceal_req_data.go | 19 -- models/models/model_deconceal_rsp_data.go | 19 -- models/models/model_def_sub_service_info.go | 20 --- ...model_default_notification_subscription.go | 31 ---- .../models/model_default_unrelated_class.go | 21 --- models/models/model_deliver_add_info.go | 19 -- models/models/model_deliver_error.go | 36 ---- models/models/model_deliver_request.go | 18 -- .../models/model_delivery_report_requested.go | 21 --- models/models/model_deregistration_info.go | 21 --- models/models/model_detecting_node.go | 22 --- .../model_determine_location_request.go | 18 -- models/models/model_direct_discovery_model.go | 21 --- models/models/model_dispersion_area.go | 21 --- models/models/model_dispersion_class.go | 17 -- models/models/model_dispersion_info.go | 27 --- .../model_dispersion_ordering_criterion.go | 24 --- models/models/model_dispersion_requirement.go | 22 --- models/models/model_dispersion_type.go | 17 -- .../models/model_dl_data_delivery_status.go | 22 --- models/models/model_dn_perf.go | 24 --- models/models/model_dn_perf_info.go | 25 --- .../model_dn_perf_ordering_criterion.go | 24 --- models/models/model_dn_performance_req.go | 20 --- models/models/model_dnai_change_type.go | 22 --- models/models/model_dnai_information.go | 21 --- models/models/model_dnf.go | 18 -- models/models/model_dnf_unit.go | 18 -- models/models/model_dnn_configuration.go | 51 ------ models/models/model_dnn_easdf_info_item.go | 19 -- models/models/model_dnn_info.go | 24 --- models/models/model_dnn_info_item.go | 18 -- models/models/model_dnn_mb_smf_info_item.go | 18 -- .../model_dnn_route_selection_descriptor.go | 23 --- models/models/model_dnn_selection_mode.go | 22 --- models/models/model_dnn_smf_info_item.go | 19 -- models/models/model_dnn_snssai_information.go | 20 --- models/models/model_dnn_tsctsf_info_item.go | 18 -- models/models/model_dnn_upf_info_item.go | 27 --- models/models/model_dns_server_identifier.go | 20 --- models/models/model_domain_name_protocol.go | 23 --- ...odel_downlink_data_notification_control.go | 19 -- ...l_downlink_data_notification_control_rm.go | 19 -- models/models/model_dsai_tag_information.go | 18 -- models/models/model_dsai_tag_status.go | 19 -- models/models/model_dynamic5_qi.go | 36 ---- models/models/model_dynamic_policy.go | 28 --- .../model_eap_auth_method_response_200.go | 20 --- models/models/model_eap_session.go | 31 ---- .../models/model_early_media_description.go | 19 -- models/models/model_eas_dep_notification.go | 19 -- models/models/model_eas_deploy_info_data.go | 26 --- models/models/model_eas_deploy_info_notif.go | 19 -- models/models/model_eas_deploy_sub_data.go | 30 ---- ...del_eas_deployment_charging_information.go | 26 --- models/models/model_eas_event.go | 20 --- .../models/model_eas_ip_replacement_info.go | 19 -- models/models/model_eas_requirements.go | 21 --- models/models/model_eas_server_address.go | 20 --- models/models/model_easdf_info.go | 20 --- models/models/model_ebi_arp_mapping.go | 20 --- models/models/model_ec_restriction.go | 21 --- models/models/model_ecgi.go | 22 --- models/models/model_ecs_addr_config_info.go | 18 -- models/models/model_ecs_server_addr.go | 21 --- ...frastructure_usage_charging_information.go | 34 ---- models/models/model_edrx_parameters.go | 18 -- models/models/model_ee_group_profile_data.go | 25 --- models/models/model_ee_monitoring_revoked.go | 21 --- models/models/model_ee_profile_data.go | 26 --- models/models/model_ee_subscription.go | 16 -- models/models/model_ee_subscription_ext.go | 43 ----- models/models/model_ellipsoid_arc.go | 29 --- models/models/model_emergency_info.go | 23 --- ...odel_enable_group_reachability_req_data.go | 27 --- ...odel_enable_group_reachability_rsp_data.go | 20 --- .../model_enable_ue_reachability_req_data.go | 22 --- .../model_enable_ue_reachability_rsp_data.go | 20 --- models/models/model_endpoint_address.go | 22 --- ...odel_enhanced_coverage_restriction_data.go | 17 -- .../models/model_enhanced_diagnostics5_g.go | 16 -- models/models/model_eps_bearer_info.go | 23 --- .../model_eps_interworking_indication.go | 23 --- models/models/model_eps_interworking_info.go | 18 -- models/models/model_eps_iwk_pgw.go | 21 --- .../model_eps_nas_ciphering_algorithm.go | 23 --- .../model_eps_nas_integrity_algorithm.go | 23 --- models/models/model_eps_nas_security_mode.go | 19 -- models/models/model_eps_pdn_cnx_info.go | 23 --- models/models/model_error_report.go | 26 --- models/models/model_eth_flow_description.go | 30 ---- models/models/model_eth_flow_info.go | 21 --- models/models/model_ethernet_flow_info.go | 19 -- models/models/model_eutra_location.go | 36 ---- models/models/model_event.go | 21 --- models/models/model_event_class.go | 20 --- models/models/model_event_for_mdt.go | 21 --- models/models/model_event_id.go | 34 ---- models/models/model_event_notification.go | 39 ----- models/models/model_event_param_report.go | 35 ---- models/models/model_event_report_message.go | 19 -- models/models/model_event_report_mode.go | 21 --- .../model_event_reporting_requirement.go | 41 ----- models/models/model_event_reporting_status.go | 21 --- models/models/model_events_subs.go | 19 -- models/models/model_events_subsc_put_data.go | 62 ------- models/models/model_exception.go | 20 --- models/models/model_exception_id.go | 28 --- models/models/model_exception_info.go | 20 --- models/models/model_exception_trend.go | 23 --- models/models/model_exemption_ind.go | 20 --- .../models/model_expected_analytics_type.go | 22 --- models/models/model_expected_ue_behavior.go | 24 --- models/models/model_expected_ue_behaviour.go | 37 ---- .../model_expected_ue_behaviour_data.go | 33 ---- ...model_exposure_data_change_notification.go | 22 --- .../model_exposure_data_subscription.go | 29 --- .../model_ext_amf_event_subscription.go | 47 ----- models/models/model_ext_snssai.go | 25 --- models/models/model_extended_sm_subs_data.go | 19 -- models/models/model_external_client_type.go | 27 --- .../models/model_external_unrelated_class.go | 19 -- models/models/model_failure.go | 17 -- models/models/model_failure_event_info.go | 19 -- .../model_failure_event_info_for_ml_model.go | 19 -- models/models/model_failure_handling.go | 22 --- models/models/model_fetch_instruction.go | 27 --- models/models/model_final_unit_action.go | 22 --- models/models/model_final_unit_indication.go | 22 --- models/models/model_fix_type.go | 21 --- models/models/model_flow_direction.go | 23 --- models/models/model_flow_direction_rm.go | 16 -- models/models/model_flow_info.go | 21 --- models/models/model_flow_information.go | 31 ---- models/models/model_flow_status.go | 24 --- models/models/model_flow_usage.go | 22 --- models/models/model_flows.go | 20 --- models/models/model_formatting_instruction.go | 20 --- .../model_fqdn_pattern_matching_rule.go | 19 -- models/models/model_frame_route_info.go | 19 -- models/models/model_g_nb_id.go | 21 --- models/models/model_gad_shape.go | 18 -- models/models/model_gba_auth_type.go | 20 --- .../model_gba_authentication_info_request.go | 20 --- .../model_gba_authentication_info_result.go | 19 -- models/models/model_geo_loc.go | 18 -- models/models/model_geo_service_area.go | 19 -- models/models/model_geographic_area.go | 38 ---- models/models/model_geographical_area.go | 19 -- .../models/model_geographical_coordinates.go | 18 -- models/models/model_gera_location.go | 39 ----- models/models/model_global_ran_node_id.go | 31 ---- models/models/model_gmlc_info.go | 19 -- models/models/model_gnss_id.go | 27 --- ...model_gnss_positioning_method_and_usage.go | 20 --- models/models/model_gpsi_type.go | 22 --- models/models/model_granted_unit.go | 32 ---- models/models/model_group_identifiers.go | 22 --- models/models/model_guami.go | 20 --- models/models/model_guami_list_cond.go | 18 -- models/models/model_header_sip_request.go | 19 -- models/models/model_hfc_node_id.go | 19 -- .../model_high_accuracy_gnss_metrics.go | 22 --- models/models/model_historical_data.go | 29 --- models/models/model_ho_state.go | 24 --- models/models/model_horizontal_velocity.go | 21 --- ...el_horizontal_velocity_with_uncertainty.go | 23 --- ...model_horizontal_with_vertical_velocity.go | 24 --- ..._with_vertical_velocity_and_uncertainty.go | 28 --- models/models/model_hsmf_update_data.go | 91 ---------- models/models/model_hsmf_update_error.go | 30 ---- models/models/model_hsmf_updated_data.go | 40 ----- models/models/model_hss_auth_type.go | 25 --- models/models/model_hss_auth_type_in_uri.go | 24 --- .../model_hss_authentication_info_request.go | 24 --- .../model_hss_authentication_info_result.go | 19 -- .../model_hss_authentication_vectors.go | 16 -- models/models/model_hss_av_type.go | 24 --- models/models/model_hss_info.go | 25 --- models/models/model_hss_subscription_info.go | 18 -- models/models/model_hss_subscription_item.go | 22 --- models/models/model_hssims_sdm_access_type.go | 21 --- .../models/model_hssims_sdm_data_set_name.go | 23 --- models/models/model_hssims_sdm_shared_data.go | 20 --- ...el_hssims_uecm_extended_problem_details.go | 35 ---- models/models/model_id_translation_result.go | 24 --- models/models/model_identity_data.go | 22 --- models/models/model_identity_range.go | 20 --- models/models/model_identity_type.go | 23 --- models/models/model_idle_status_indication.go | 29 --- models/models/model_ifc.go | 20 --- models/models/model_ifcs.go | 19 -- models/models/model_imei_sv_information.go | 21 --- models/models/model_immediate_mdt_conf.go | 36 ---- models/models/model_immediate_report.go | 32 ---- models/models/model_ims_address.go | 20 --- .../models/model_ims_associated_identities.go | 19 -- .../models/model_ims_charging_information.go | 80 --------- models/models/model_ims_location_data.go | 18 -- models/models/model_ims_node_functionality.go | 42 ----- models/models/model_ims_profile_data.go | 25 --- models/models/model_ims_registration_state.go | 23 --- .../models/model_ims_registration_status.go | 18 -- models/models/model_ims_registration_type.go | 27 --- models/models/model_ims_sdm_subscription.go | 28 --- models/models/model_ims_service_profile.go | 20 --- models/models/model_ims_session_priority.go | 24 --- models/models/model_ims_vo_ps.go | 22 --- ...model_ims_voice_over_ps_session_support.go | 22 --- models/models/model_imsi_range.go | 20 --- ...el_indirect_data_forwarding_tunnel_info.go | 26 --- models/models/model_integrity_algorithm.go | 23 --- models/models/model_integrity_requirements.go | 22 --- models/models/model_inter_freq_target_info.go | 21 --- .../models/model_inter_operator_identifier.go | 18 -- models/models/model_interface_type.go | 24 --- .../models/model_interface_upf_info_item.go | 23 --- .../models/model_internal_group_id_range.go | 22 --- models/models/model_invalid_cause.go | 23 --- models/models/model_invalid_param.go | 21 --- models/models/model_invocation_result.go | 18 -- models/models/model_ip_addr.go | 22 --- models/models/model_ip_end_point.go | 22 --- .../models/model_ip_eth_flow_description.go | 20 --- models/models/model_ip_flow_info.go | 19 -- .../models/model_ip_multicast_address_info.go | 23 --- models/models/model_ip_packet_filter_set.go | 25 --- models/models/model_ip_reachability.go | 22 --- models/models/model_ip_sm_gw_address.go | 24 --- models/models/model_ip_sm_gw_guidance.go | 19 -- models/models/model_ip_sm_gw_info.go | 19 -- models/models/model_ip_sm_gw_registration.go | 28 --- models/models/model_iptv_config_data.go | 32 ---- models/models/model_iptv_config_data_patch.go | 19 -- models/models/model_isup_cause.go | 21 --- models/models/model_iwmsc_info.go | 21 --- models/models/model_job_type.go | 26 --- models/models/model_key_amf.go | 19 -- models/models/model_key_amf_type.go | 21 --- models/models/model_key_type.go | 24 --- models/models/model_ladn_info.go | 19 -- ...del_lcs_broadcast_assistance_types_data.go | 18 -- models/models/model_lcs_client_class.go | 24 --- models/models/model_lcs_client_external.go | 19 -- .../models/model_lcs_client_group_external.go | 20 --- models/models/model_lcs_mo_data.go | 18 -- models/models/model_lcs_mo_service_class.go | 22 --- models/models/model_lcs_priority.go | 21 --- models/models/model_lcs_privacy.go | 21 --- models/models/model_lcs_privacy_data.go | 19 -- models/models/model_lcs_qos_class.go | 22 --- models/models/model_lcs_service_auth.go | 25 --- models/models/model_ldr_type.go | 25 --- .../model_limit_id_to_monitoring_key.go | 19 -- models/models/model_line_type.go | 21 --- models/models/model_link.go | 19 -- models/models/model_lmf_info.go | 26 --- .../model_lmf_location_cancel_loc_data.go | 23 --- .../model_lmf_location_event_notify_data.go | 49 ------ ...l_lmf_location_geographical_coordinates.go | 19 -- .../models/model_lmf_location_input_data.go | 71 -------- .../model_lmf_location_location_data.go | 48 ----- .../model_lmf_location_termination_cause.go | 22 --- models/models/model_loc_context_data.go | 50 ------ ...model_local2d_point_uncertainty_ellipse.go | 23 --- ...del_local3d_point_uncertainty_ellipsoid.go | 23 --- models/models/model_local_area.go | 24 --- models/models/model_local_origin.go | 19 -- models/models/model_location_area5_g.go | 22 --- models/models/model_location_area_id.go | 20 --- models/models/model_location_filter.go | 28 --- models/models/model_location_info.go | 16 -- models/models/model_location_info_request.go | 24 --- models/models/model_location_info_result.go | 34 ---- models/models/model_location_privacy_ind.go | 21 --- .../model_location_privacy_ver_result.go | 22 --- models/models/model_location_qo_s.go | 25 --- models/models/model_location_report.go | 17 -- ...location_reporting_charging_information.go | 24 --- models/models/model_logging_duration_mdt.go | 25 --- .../models/model_logging_duration_nr_mdt.go | 25 --- models/models/model_logging_interval_mdt.go | 27 --- .../models/model_logging_interval_nr_mdt.go | 30 ---- models/models/model_loose_route_indication.go | 21 --- models/models/model_loss_connectivity_cfg.go | 18 -- .../models/model_loss_connectivity_report.go | 17 -- .../model_loss_of_connectivity_reason.go | 22 --- models/models/model_lpi.go | 18 -- models/models/model_lte_m_ind.go | 18 -- models/models/model_lte_v2x_auth.go | 19 -- models/models/model_m5_qo_s_specification.go | 30 ---- models/models/model_ma_pdu_indication.go | 21 --- models/models/model_ma_release_indication.go | 21 --- models/models/model_management_operation.go | 28 --- .../model_management_operation_status.go | 21 --- .../models/model_mapdu_session_information.go | 18 -- models/models/model_mapping_of_snssai.go | 19 -- models/models/model_matching_direction.go | 22 --- models/models/model_matching_operator.go | 27 --- ...model_max_integrity_protected_data_rate.go | 21 --- models/models/model_mb_smf_info.go | 25 --- models/models/model_mb_upf_info.go | 24 --- models/models/model_mbs_app_session_ctxt.go | 28 --- .../model_mbs_app_session_ctxt_patch.go | 18 -- models/models/model_mbs_error_report.go | 18 -- models/models/model_mbs_failure_code.go | 26 --- models/models/model_mbs_media_comp.go | 23 --- models/models/model_mbs_media_comp_rm.go | 16 -- models/models/model_mbs_media_info.go | 23 --- .../model_mbs_n2_message_transfer_req_data.go | 23 --- .../model_mbs_n2_message_transfer_rsp_data.go | 20 --- models/models/model_mbs_ngap_ie_type.go | 22 --- models/models/model_mbs_pcc_rule.go | 22 --- models/models/model_mbs_pcc_rule_status.go | 21 --- models/models/model_mbs_pcrt.go | 20 --- models/models/model_mbs_policy_ctxt_data.go | 26 --- .../model_mbs_policy_ctxt_data_update.go | 20 --- models/models/model_mbs_policy_data.go | 21 --- models/models/model_mbs_policy_decision.go | 26 --- models/models/model_mbs_qo_s_req.go | 26 --- models/models/model_mbs_qos_char.go | 30 ---- models/models/model_mbs_qos_dec.go | 31 ---- models/models/model_mbs_report.go | 20 --- models/models/model_mbs_service_area.go | 21 --- models/models/model_mbs_service_area_info.go | 20 --- models/models/model_mbs_service_info.go | 23 --- models/models/model_mbs_session_id.go | 21 --- models/models/model_mbs_subscription_data.go | 19 -- models/models/model_mbsfn_area.go | 21 --- models/models/model_mdt_configuration.go | 48 ----- models/models/model_mdt_user_consent.go | 21 --- .../models/model_measurement_lte_for_mdt.go | 32 ---- models/models/model_measurement_nr_for_mdt.go | 32 ---- .../model_measurement_period_lte_mdt.go | 26 --- models/models/model_media_component.go | 75 -------- .../model_media_component_resources_status.go | 21 --- models/models/model_media_component_rm.go | 75 -------- models/models/model_media_initiator_flag.go | 22 --- .../model_media_streaming_access_record.go | 31 ---- models/models/model_media_sub_component.go | 29 --- models/models/model_media_sub_component_rm.go | 29 --- models/models/model_media_type.go | 27 --- models/models/model_message_body.go | 21 --- models/models/model_message_class.go | 18 -- models/models/model_message_waiting_data.go | 18 -- models/models/model_meta_schema.go | 20 --- models/models/model_metering_method.go | 23 --- models/models/model_mfaf_info.go | 21 --- models/models/model_mico_mode_indication.go | 21 --- models/models/model_minor_location_qo_s.go | 21 --- models/models/model_ml_analytics_info.go | 20 --- models/models/model_ml_event_notif.go | 22 --- models/models/model_ml_event_subscription.go | 27 --- models/models/model_ml_model_addr.go | 21 --- models/models/model_ml_model_info.go | 22 --- models/models/model_mm_context.go | 46 ----- .../model_mm_tel_charging_information.go | 17 -- ...del_mm_transaction_location_report_item.go | 28 --- .../model_mm_transaction_slice_report_item.go | 25 --- models/models/model_mme_capabilities.go | 20 --- models/models/model_mme_location_data.go | 25 --- models/models/model_mnpf_info.go | 18 -- models/models/model_mo_exp_data_counter.go | 25 --- models/models/model_model_info.go | 19 -- .../models/model_modification_notification.go | 17 -- .../model_modify_pdu_session_request.go | 22 --- .../model_modify_pdu_session_response_200.go | 23 --- .../model_modify_pdu_session_response_400.go | 23 --- models/models/model_modify_response_200.go | 47 ----- ...el_modify_shared_data_subs_response_200.go | 47 ----- .../model_modify_subscription_request.go | 16 -- ...cription_data_subscription_response_200.go | 37 ---- models/models/model_monitoring_event.go | 18 -- models/models/model_motion_event_info.go | 29 --- models/models/model_mps_action.go | 22 --- .../model_ms_access_activity_collection.go | 18 -- .../models/model_ms_consumption_collection.go | 18 -- ...del_ms_dyn_policy_invocation_collection.go | 18 -- .../model_ms_net_ass_invocation_collection.go | 18 -- .../models/model_ms_qoe_metrics_collection.go | 18 -- models/models/model_msisdn_list.go | 20 --- models/models/model_mtc_provider.go | 20 --- .../models/model_multicast_access_control.go | 24 --- .../models/model_multicast_mbs_group_memb.go | 20 --- .../models/model_multiple_unit_information.go | 33 ---- models/models/model_n1_message_class.go | 25 --- models/models/model_n1_message_container.go | 22 --- .../models/model_n1_message_notification.go | 28 --- .../models/model_n1_message_notify_request.go | 18 -- .../model_n1_n2_message_transfer_cause.go | 31 ---- .../model_n1_n2_message_transfer_error.go | 19 -- .../model_n1_n2_message_transfer_req_data.go | 43 ----- .../model_n1_n2_message_transfer_request.go | 20 --- .../model_n1_n2_message_transfer_rsp_data.go | 20 --- .../models/model_n1_n2_msg_txfr_err_detail.go | 22 --- ...del_n1_n2_msg_txfr_failure_notification.go | 20 --- ...odel_n2_connection_charging_information.go | 32 ---- models/models/model_n2_info_container.go | 24 --- models/models/model_n2_info_content.go | 21 --- .../model_n2_info_notification_rsp_data.go | 18 -- ...o_notify_handover_complete_response_200.go | 33 ---- models/models/model_n2_info_notify_reason.go | 20 --- models/models/model_n2_info_notify_request.go | 19 -- models/models/model_n2_information_class.go | 27 --- .../model_n2_information_notification.go | 32 ---- .../model_n2_information_transfer_error.go | 19 -- .../model_n2_information_transfer_req_data.go | 23 --- .../model_n2_information_transfer_result.go | 20 --- .../model_n2_information_transfer_rsp_data.go | 21 --- models/models/model_n2_interface_amf_info.go | 21 --- .../model_n2_message_transfer_request.go | 18 -- models/models/model_n2_ran_information.go | 18 -- models/models/model_n2_sm_info_type.go | 45 ----- models/models/model_n2_sm_information.go | 24 --- models/models/model_n3ga_location.go | 34 ---- models/models/model_n4_information.go | 25 --- models/models/model_n4_message_type.go | 27 --- models/models/model_nas_security_mode.go | 19 -- models/models/model_ncgi.go | 22 --- models/models/model_ncgi_tai.go | 20 --- ...model_nef_authentication_auth_container.go | 21 --- .../model_nef_authentication_auth_result.go | 21 --- .../model_nef_authentication_uav_auth_info.go | 33 ---- ...el_nef_authentication_uav_auth_response.go | 24 --- .../models/model_nef_charging_information.go | 31 ---- models/models/model_nef_cond.go | 24 --- models/models/model_nef_event.go | 32 ---- .../models/model_nef_event_exposure_notif.go | 19 -- ..._event_exposure_service_experience_info.go | 21 --- .../models/model_nef_event_exposure_subsc.go | 26 --- ...event_exposure_target_ue_identification.go | 20 --- models/models/model_nef_event_filter.go | 21 --- models/models/model_nef_event_notification.go | 37 ---- models/models/model_nef_event_subs.go | 19 -- models/models/model_nef_info.go | 29 --- .../model_nef_sm_context_deliver_req_data.go | 18 -- .../model_nef_sm_context_nidd_information.go | 23 --- .../model_nef_sm_context_release_cause.go | 20 --- ...l_nef_sm_context_sm_context_create_data.go | 36 ---- ..._nef_sm_context_sm_context_created_data.go | 33 ---- ..._nef_sm_context_sm_context_release_data.go | 18 -- ..._context_sm_context_status_notification.go | 23 --- ...l_nef_sm_context_sm_context_update_data.go | 22 --- models/models/model_nef_traffic_influ_sub.go | 79 --------- .../model_nef_traffic_influ_sub_patch.go | 46 ----- models/models/model_net_loc_access_support.go | 22 --- models/models/model_network_area_info.go | 25 --- .../model_network_assistance_session.go | 29 --- .../model_network_node_diameter_address.go | 20 --- models/models/model_network_perf_info.go | 25 --- .../models/model_network_perf_requirement.go | 22 --- models/models/model_network_perf_type.go | 26 --- models/models/model_network_slice_cond.go | 19 -- models/models/model_network_slicing_info.go | 17 -- models/models/model_nf_group_cond.go | 20 --- models/models/model_nf_group_list_cond.go | 20 --- models/models/model_nf_identifier.go | 19 -- models/models/model_nf_info.go | 18 -- models/models/model_nf_instance_id_cond.go | 19 -- .../models/model_nf_instance_id_list_cond.go | 18 -- models/models/model_nf_instance_info.go | 22 --- .../models/model_nf_load_level_information.go | 32 ---- models/models/model_nf_service_instance.go | 22 --- models/models/model_nf_service_set_cond.go | 21 --- models/models/model_nf_service_status.go | 22 --- models/models/model_nf_service_version.go | 25 --- models/models/model_nf_set_cond.go | 19 -- models/models/model_nf_type_cond.go | 18 -- models/models/model_ng_ap_cause.go | 21 --- models/models/model_ng_ksi.go | 19 -- models/models/model_ng_ran_target_id.go | 19 -- models/models/model_ngran_failure_event.go | 19 -- .../models/model_ngran_failure_indication.go | 23 --- models/models/model_nidd_auth_update_info.go | 23 --- .../model_nidd_auth_update_notification.go | 18 -- .../models/model_nidd_authorization_info.go | 18 -- models/models/model_nidd_cause.go | 21 --- models/models/model_nni_information.go | 20 --- models/models/model_nni_relationship_mode.go | 21 --- models/models/model_nni_session_direction.go | 21 --- models/models/model_nni_type.go | 22 --- .../model_nnwdaf_data_management_notif.go | 31 ---- .../model_nnwdaf_data_management_subsc.go | 37 ---- .../model_nnwdaf_events_subscription.go | 30 ---- ...nnwdaf_events_subscription_notification.go | 27 --- models/models/model_no_profile_match_info.go | 19 -- .../models/model_no_profile_match_reason.go | 24 --- models/models/model_node_type.go | 27 --- models/models/model_non_dynamic5_qi.go | 29 --- .../model_non_ue_n2_info_notify_request.go | 18 -- ...non_ue_n2_info_subscription_create_data.go | 26 --- ...on_ue_n2_info_subscription_created_data.go | 21 --- ...odel_non_ue_n2_message_transfer_request.go | 18 -- models/models/model_notif_condition.go | 19 -- models/models/model_notif_summary_report.go | 22 --- models/models/model_notif_type.go | 22 --- models/models/model_notification_cause.go | 23 --- models/models/model_notification_control.go | 21 --- .../model_notification_control_indication.go | 21 --- .../models/model_notification_description.go | 21 --- .../models/model_notification_event_type.go | 22 --- models/models/model_notification_flag.go | 22 --- models/models/model_notification_item.go | 20 --- models/models/model_notification_push.go | 21 --- .../models/model_notification_subscription.go | 33 ---- models/models/model_notified_pos_info.go | 61 ------- models/models/model_notify_item.go | 20 --- models/models/model_npn_access_info.go | 18 -- models/models/model_nr_location.go | 33 ---- models/models/model_nr_v2x_auth.go | 19 -- ...el_nrf_access_token_access_token_claims.go | 36 ---- ...model_nrf_access_token_access_token_req.go | 43 ----- ...model_nrf_access_token_access_token_rsp.go | 22 --- models/models/model_nrf_info.go | 96 ---------- .../model_nrf_nf_discovery_nf_profile.go | 126 ------------- .../model_nrf_nf_discovery_nf_service.go | 54 ------ .../model_nrf_nf_management_amf_info.go | 29 --- .../model_nrf_nf_management_bsf_info.go | 29 --- ...el_nrf_nf_management_ipv4_address_range.go | 21 --- ...del_nrf_nf_management_ipv6_prefix_range.go | 19 -- .../model_nrf_nf_management_mbs_session.go | 20 --- .../model_nrf_nf_management_nf_profile.go | 136 --------------- .../model_nrf_nf_management_nf_service.go | 60 ------- .../model_nrf_nf_management_nf_status.go | 22 --- .../models/model_nrf_nf_management_nf_type.go | 75 -------- ...del_nrf_nf_management_notification_data.go | 24 --- ...del_nrf_nf_management_notification_type.go | 32 ---- .../model_nrf_nf_management_pfd_data.go | 19 -- ...del_nrf_nf_management_pro_se_capability.go | 23 --- ...del_nrf_nf_management_subscription_data.go | 51 ------ ...el_nrf_nf_management_transport_protocol.go | 20 --- models/models/model_nrppa_information.go | 21 --- models/models/model_nsacf_capability.go | 21 --- models/models/model_nsacf_info.go | 21 --- models/models/model_nsag_info.go | 21 --- models/models/model_nsi_id_info.go | 19 -- models/models/model_nsi_information.go | 27 --- models/models/model_nsi_load_level_info.go | 34 ---- .../models/model_nsm_charging_information.go | 22 --- models/models/model_nsmf_event_exposure.go | 68 -------- .../model_nsmf_event_exposure_notification.go | 23 --- .../models/model_nspa_charging_information.go | 17 -- .../model_nspa_container_information.go | 29 --- models/models/model_nssaa_status.go | 19 -- models/models/model_nssaaf_info.go | 19 -- models/models/model_nssai.go | 29 --- models/models/model_nssai_ack_data.go | 24 --- .../models/model_nssai_availability_info.go | 21 --- models/models/model_nssai_map.go | 18 -- models/models/model_nssai_mapping.go | 19 -- .../models/model_nssf_event_notification.go | 19 -- ...del_nssf_event_subscription_create_data.go | 33 ---- ...el_nssf_event_subscription_created_data.go | 27 --- models/models/model_nssf_event_type.go | 20 --- models/models/model_null_request.go | 27 --- models/models/model_number_average.go | 23 --- ...del_nwdaf_analytics_info_analytics_data.go | 46 ----- ...model_nwdaf_analytics_info_event_filter.go | 50 ------ models/models/model_nwdaf_capability.go | 19 -- models/models/model_nwdaf_cond.go | 25 --- models/models/model_nwdaf_data.go | 20 --- models/models/model_nwdaf_event.go | 34 ---- ...odel_nwdaf_events_subscription_accuracy.go | 21 --- ...daf_events_subscription_congestion_type.go | 22 --- ...ents_subscription_dispersion_collection.go | 33 ---- ..._events_subscription_event_notification.go | 47 ----- ..._events_subscription_event_subscription.go | 67 ------- ...nwdaf_events_subscription_location_info.go | 22 --- ...del_nwdaf_events_subscription_nf_status.go | 23 --- ...events_subscription_notification_method.go | 21 --- ...ts_subscription_service_experience_info.go | 40 ----- models/models/model_nwdaf_failure_code.go | 23 --- models/models/model_nwdaf_info.go | 27 --- .../models/model_nwdaf_ml_model_prov_notif.go | 21 --- .../models/model_nwdaf_ml_model_prov_subsc.go | 27 --- ...l_nwdaf_ml_model_provision_failure_code.go | 20 --- models/models/model_nwdaf_registration.go | 32 ---- .../models/model_nwdaf_registration_info.go | 18 -- .../model_nwdaf_registration_modification.go | 24 --- models/models/model_nwdaf_subscription.go | 20 --- .../model_observed_redundant_trans_exp.go | 33 ---- models/models/model_occurrence_info.go | 21 --- models/models/model_odb_data.go | 18 -- models/models/model_odb_packet_services.go | 16 -- models/models/model_one_time_event_type.go | 21 --- models/models/model_op_event_type.go | 21 --- models/models/model_operation_event.go | 21 --- models/models/model_operation_mode.go | 24 --- models/models/model_operation_status.go | 23 --- models/models/model_operational_state.go | 21 --- .../model_operator_specific_data_container.go | 23 --- models/models/model_options_response.go | 19 -- models/models/model_originator_info.go | 25 --- models/models/model_originator_party_type.go | 21 --- .../models/model_out_of_credit_information.go | 19 -- models/models/model_output_strategy.go | 21 --- models/models/model_packet_filter_info.go | 28 --- .../model_parameter_processing_instruction.go | 28 --- models/models/model_partial_record_method.go | 21 --- models/models/model_partial_success_report.go | 27 --- .../models/model_participant_action_type.go | 23 --- models/models/model_partitioning_criteria.go | 24 --- models/models/model_patch_bdt_policy.go | 19 -- models/models/model_patch_item.go | 23 --- models/models/model_patch_operation.go | 25 --- models/models/model_patch_result.go | 19 -- models/models/model_pc5_capability.go | 22 --- .../models/model_pc5_container_information.go | 27 --- models/models/model_pc5_data_container.go | 31 ---- models/models/model_pc5_flow_bit_rates.go | 21 --- models/models/model_pc5_qo_s_para.go | 20 --- models/models/model_pc5_qos_flow_item.go | 22 --- models/models/model_pc_event.go | 25 --- .../models/model_pc_event_exposure_notif.go | 19 -- .../models/model_pc_event_exposure_subsc.go | 31 ---- models/models/model_pc_event_notification.go | 39 ----- models/models/model_pcc_rule.go | 62 ------- models/models/model_pcf_addressing_info.go | 23 --- ...licy_control_as_time_distribution_param.go | 20 --- ...cf_am_policy_control_policy_association.go | 37 ---- ...licy_control_policy_association_request.go | 61 ------- ...ntrol_policy_association_update_request.go | 51 ------ ...del_pcf_am_policy_control_policy_update.go | 36 ---- ...l_pcf_am_policy_control_request_trigger.go | 30 ---- ...policy_control_termination_notification.go | 20 --- ..._pcf_bdt_policy_control_bdt_policy_data.go | 25 --- ...dt_policy_control_bdt_policy_data_patch.go | 19 -- ...del_pcf_bdt_policy_control_notification.go | 23 --- ..._pcf_bdt_policy_control_transfer_policy.go | 26 --- ..._event_exposure_pdu_session_information.go | 26 --- models/models/model_pcf_info.go | 30 ---- ...y_authorization_mbs_ext_problem_details.go | 37 ---- ...model_pcf_policy_authorization_af_event.go | 39 ----- ...icy_authorization_af_event_notification.go | 19 -- ...olicy_authorization_events_notification.go | 52 ------ ...icy_authorization_events_subsc_req_data.go | 27 --- ..._authorization_events_subsc_req_data_rm.go | 26 --- ..._authorization_extended_problem_details.go | 35 ---- ...policy_authorization_pdu_session_status.go | 21 --- ...uthorization_qos_monitoring_information.go | 20 --- ...orization_qos_monitoring_information_rm.go | 20 --- ...icy_authorization_qos_monitoring_report.go | 23 --- ...orization_qos_notification_control_info.go | 20 --- ..._policy_authorization_termination_cause.go | 25 --- .../model_pcf_selection_assistance_info.go | 19 -- ..._pcf_sm_policy_control_atsss_capability.go | 24 --- ...del_pcf_sm_policy_control_failure_cause.go | 24 --- ...odel_pcf_sm_policy_control_failure_code.go | 49 ------ ...policy_control_multicast_access_control.go | 21 --- ...sm_policy_control_qos_monitoring_report.go | 24 --- ...y_control_qos_notification_control_info.go | 23 --- ...sm_policy_control_redirect_address_type.go | 23 --- ...policy_control_termination_notification.go | 20 --- models/models/model_pcf_ue_callback_info.go | 20 --- ...cf_ue_policy_control_policy_association.go | 28 --- ...licy_control_policy_association_request.go | 50 ------ ...ntrol_policy_association_update_request.go | 42 ----- ...del_pcf_ue_policy_control_policy_update.go | 27 --- ...pcf_ue_policy_control_pro_se_capability.go | 25 --- ...l_pcf_ue_policy_control_request_trigger.go | 26 --- ...policy_control_termination_notification.go | 20 --- models/models/model_pcscf_address.go | 21 --- models/models/model_pcscf_info.go | 29 --- .../model_pcscf_restoration_notification.go | 19 -- .../model_pcscf_restoration_request_data.go | 26 --- .../model_pdn_connectivity_stat_report.go | 26 --- .../models/model_pdn_connectivity_status.go | 21 --- models/models/model_pdu_session.go | 22 --- models/models/model_pdu_session_context.go | 74 -------- .../models/model_pdu_session_context_type.go | 20 --- .../model_pdu_session_continuity_ind.go | 22 --- .../models/model_pdu_session_create_data.go | 119 ------------- .../models/model_pdu_session_create_error.go | 28 --- .../models/model_pdu_session_created_data.go | 72 -------- .../model_pdu_session_event_notification.go | 32 ---- models/models/model_pdu_session_info.go | 20 --- .../model_pdu_session_management_data.go | 46 ----- .../models/model_pdu_session_notify_item.go | 18 -- models/models/model_pdu_session_rel_cause.go | 21 --- models/models/model_pdu_session_status.go | 21 --- models/models/model_pdu_session_tsn_bridge.go | 29 --- models/models/model_pdu_session_type.go | 24 --- models/models/model_pdu_session_types.go | 18 -- models/models/model_pduid_information.go | 25 --- models/models/model_pei_update_info.go | 18 -- .../model_pending_policy_counter_status.go | 25 --- models/models/model_per_ue_attribute.go | 27 --- models/models/model_perf_data.go | 27 --- models/models/model_performance_data.go | 25 --- .../model_performance_data_collection.go | 31 ---- models/models/model_performance_data_info.go | 31 ---- .../model_periodic_communication_indicator.go | 21 --- models/models/model_periodic_event_info.go | 24 --- models/models/model_periodicity.go | 24 --- .../models/model_pfd_change_notification.go | 24 --- models/models/model_pfd_change_report.go | 19 -- models/models/model_pfd_content.go | 26 --- models/models/model_pfd_data_for_app.go | 34 ---- models/models/model_pfd_data_for_app_ext.go | 31 ---- models/models/model_pfd_operation.go | 23 --- models/models/model_pfd_subscription.go | 22 --- .../models/model_pfi_container_information.go | 33 ---- models/models/model_pgw_info.go | 31 ---- models/models/model_play_to_party.go | 21 --- models/models/model_plmn_ec_info.go | 19 -- models/models/model_plmn_id.go | 21 --- models/models/model_plmn_id_nid.go | 23 --- models/models/model_plmn_oauth2.go | 19 -- models/models/model_plmn_operator_class.go | 18 -- models/models/model_plmn_range.go | 20 --- models/models/model_plmn_restriction.go | 22 --- .../model_plmn_route_selection_descriptor.go | 19 -- models/models/model_plmn_snssai.go | 21 --- models/models/model_point.go | 19 -- models/models/model_point_altitude.go | 21 --- .../model_point_altitude_uncertainty.go | 26 --- .../models/model_point_uncertainty_circle.go | 21 --- .../models/model_point_uncertainty_ellipse.go | 22 --- .../model_policy_association_release_cause.go | 22 --- .../model_policy_control_request_trigger.go | 67 ------- models/models/model_policy_counter_info.go | 23 --- .../model_policy_data_change_notification.go | 39 ----- .../model_policy_data_for_individual_ue.go | 24 --- .../models/model_policy_data_subscription.go | 32 ---- models/models/model_policy_data_subset.go | 24 --- .../model_policy_decision_failure_code.go | 26 --- models/models/model_policy_req_trigger.go | 27 --- models/models/model_polygon.go | 20 --- .../models/model_port_management_container.go | 21 --- models/models/model_positioning_method.go | 34 ---- .../model_positioning_method_and_usage.go | 21 --- models/models/model_positioning_method_mdt.go | 21 --- models/models/model_positioning_mode.go | 22 --- .../model_post_charging_data_response_400.go | 48 ----- .../model_post_charging_data_response_403.go | 48 ----- .../model_post_charging_data_response_404.go | 48 ----- ...post_charging_notification_response_400.go | 34 ---- .../models/model_post_pdu_sessions_request.go | 19 -- .../model_post_pdu_sessions_response_201.go | 18 -- .../model_post_pdu_sessions_response_400.go | 18 -- .../models/model_post_sm_contexts_request.go | 20 --- .../model_post_sm_contexts_response_201.go | 18 -- .../model_post_sm_contexts_response_400.go | 19 -- .../model_pp5g_mbs_group_profile_data.go | 20 --- .../model_pp5g_vn_group_profile_data.go | 20 --- models/models/model_pp_active_time.go | 28 --- models/models/model_pp_data.go | 27 --- models/models/model_pp_data_entry.go | 31 ---- models/models/model_pp_data_entry_list.go | 20 --- models/models/model_pp_dl_packet_count_ext.go | 29 --- models/models/model_pp_maximum_latency.go | 28 --- .../models/model_pp_maximum_response_time.go | 28 --- models/models/model_pp_profile_data.go | 20 --- models/models/model_pp_subs_reg_timer.go | 28 --- models/models/model_preemption_capability.go | 21 --- .../models/model_preemption_capability_rm.go | 16 -- .../model_preemption_control_information.go | 22 --- ...model_preemption_control_information_rm.go | 16 -- .../models/model_preemption_vulnerability.go | 21 --- .../model_preemption_vulnerability_rm.go | 16 -- models/models/model_preferred_search.go | 27 --- models/models/model_presence_info.go | 32 ---- models/models/model_presence_info_rm.go | 32 ---- models/models/model_presence_state.go | 23 --- models/models/model_prev_sub_info.go | 25 --- models/models/model_priority_levels.go | 19 -- .../model_priority_sharing_indicator.go | 21 --- .../model_privacy_check_related_action.go | 24 --- models/models/model_private_identities.go | 18 -- models/models/model_private_identity.go | 20 --- models/models/model_private_identity_type.go | 21 --- models/models/model_pro_se_allowed_plmn.go | 19 -- models/models/model_pro_se_auth_data.go | 16 -- .../models/model_pro_se_authentication_ctx.go | 23 --- .../model_pro_se_authentication_info.go | 28 --- ...odel_pro_se_authentication_info_request.go | 22 --- ...model_pro_se_authentication_info_result.go | 22 --- .../model_pro_se_authentication_result.go | 23 --- .../model_pro_se_authentication_vectors.go | 16 -- models/models/model_pro_se_eap_session.go | 30 ---- models/models/model_pro_se_information.go | 18 -- models/models/model_problem_details.go | 34 ---- .../models/model_problem_details_add_info.go | 18 -- ..._problem_details_analytics_info_request.go | 36 ---- ..._problem_details_enable_ue_reachability.go | 36 ---- models/models/model_processing_instruction.go | 22 --- .../models/model_prose_auth_response_200.go | 20 --- .../model_prose_charging_information.go | 57 ------ models/models/model_prose_context.go | 25 --- models/models/model_prose_direct_allowed.go | 30 ---- models/models/model_prose_event_type.go | 22 --- models/models/model_prose_functionality.go | 21 --- models/models/model_prose_service_auth.go | 23 --- .../models/model_prose_subscription_data.go | 21 --- models/models/model_protection_result.go | 21 --- models/models/model_provide_loc_info.go | 29 --- models/models/model_provide_pos_info.go | 53 ------ models/models/model_provisioned_data_sets.go | 33 ---- models/models/model_ps_cell_information.go | 18 -- models/models/model_ps_location.go | 21 --- models/models/model_ps_user_state.go | 20 --- models/models/model_psa_indication.go | 23 --- models/models/model_psa_information.go | 22 --- models/models/model_psi_activation_state.go | 18 -- models/models/model_ptw_parameters.go | 19 -- models/models/model_public_identifier.go | 23 --- models/models/model_public_identities.go | 18 -- models/models/model_public_identity.go | 22 --- models/models/model_pws_error_data.go | 18 -- models/models/model_pws_information.go | 28 --- models/models/model_pws_response_data.go | 23 --- models/models/model_qos_characteristics.go | 32 ---- models/models/model_qos_data.go | 56 ------ models/models/model_qos_flow_access_type.go | 22 --- models/models/model_qos_flow_item.go | 23 --- models/models/model_qos_flow_notify_item.go | 22 --- .../model_qos_flow_release_request_item.go | 23 --- models/models/model_qos_flow_setup_item.go | 28 --- models/models/model_qos_flow_tunnel.go | 19 -- models/models/model_qos_flow_usage.go | 21 --- models/models/model_qos_flow_usage_report.go | 31 ---- models/models/model_qos_flows_usage_report.go | 30 ---- models/models/model_qos_monitoring_data.go | 37 ---- models/models/model_qos_monitoring_info.go | 18 -- .../model_qos_monitoring_information.go | 29 --- .../model_qos_monitoring_information_rm.go | 29 --- models/models/model_qos_monitoring_report.go | 22 --- models/models/model_qos_monitoring_req.go | 23 --- models/models/model_qos_notif_type.go | 21 --- models/models/model_qos_requirement.go | 28 --- models/models/model_qos_resource_type.go | 22 --- .../models/model_qos_sustainability_info.go | 32 ---- .../models/model_query_param_combination.go | 18 -- models/models/model_query_parameter.go | 19 -- .../model_quota_consumption_indicator.go | 21 --- .../model_quota_management_indicator.go | 22 --- .../models/model_radio_parameter_set_info.go | 23 --- models/models/model_radio_resources_id.go | 21 --- models/models/model_ran_nas_rel_cause.go | 24 --- .../model_ran_secondary_rat_usage_report.go | 18 -- models/models/model_range_class.go | 26 --- models/models/model_ranking_criterion.go | 21 --- models/models/model_rat_freq_information.go | 26 --- models/models/model_rat_selector.go | 21 --- models/models/model_rat_type.go | 51 ------ models/models/model_reachability_filter.go | 21 --- ...del_reachability_for_data_report_config.go | 21 --- ...odel_reachability_for_sms_configuration.go | 21 --- .../model_reachability_notification_data.go | 19 -- models/models/model_reachability_report.go | 27 --- models/models/model_reachable_ue_info.go | 19 -- .../models/model_reauthorization_details.go | 21 --- models/models/model_recipient_address.go | 18 -- models/models/model_recipient_info.go | 25 --- models/models/model_record.go | 20 --- models/models/model_record_id_list.go | 18 -- models/models/model_record_meta.go | 27 --- models/models/model_record_notification.go | 21 --- models/models/model_record_operation.go | 22 --- models/models/model_record_search_result.go | 24 --- .../model_red_trans_exp_ordering_criterion.go | 21 --- models/models/model_redirect_information.go | 22 --- models/models/model_redirect_response.go | 22 --- models/models/model_redirect_server.go | 18 -- ...model_redundant_pdu_session_information.go | 19 -- .../model_redundant_transmission_exp_info.go | 21 --- ...model_redundant_transmission_exp_per_ts.go | 32 ---- .../model_redundant_transmission_exp_req.go | 19 -- .../model_redundant_transmission_type.go | 23 --- models/models/model_ref_to_binary_data.go | 19 -- .../model_reference_location_information.go | 20 --- .../models/model_reflective_qo_s_attribute.go | 21 --- ...model_registration_charging_information.go | 36 ---- .../model_registration_context_container.go | 42 ----- .../model_registration_data_set_name.go | 26 --- models/models/model_registration_data_sets.go | 23 --- .../model_registration_location_info.go | 22 --- .../models/model_registration_message_type.go | 24 --- models/models/model_registration_reason.go | 20 --- models/models/model_registration_type.go | 22 --- .../model_relative_cartesian_location.go | 23 --- ...odel_release_charging_data_response_404.go | 48 ----- models/models/model_release_data.go | 30 ---- .../model_release_pdu_session_request.go | 20 --- .../model_release_pdu_session_response_200.go | 20 --- models/models/model_release_session_info.go | 19 -- .../model_release_sm_context_request.go | 18 -- models/models/model_released_data.go | 22 --- .../model_relocate_ue_context_request.go | 35 ---- models/models/model_reply_path_requested.go | 21 --- models/models/model_report_amount_mdt.go | 27 --- models/models/model_report_interval_mdt.go | 32 ---- models/models/model_report_interval_nr_mdt.go | 34 ---- models/models/model_report_item.go | 21 --- models/models/model_report_type_mdt.go | 21 --- models/models/model_reported_event_type.go | 26 --- models/models/model_reporting_access_type.go | 26 --- models/models/model_reporting_area.go | 21 --- models/models/model_reporting_area_type.go | 23 --- models/models/model_reporting_frequency.go | 21 --- models/models/model_reporting_information.go | 36 ---- models/models/model_reporting_level.go | 22 --- models/models/model_reporting_trigger.go | 23 --- models/models/model_repository_data.go | 20 --- models/models/model_repository_data_list.go | 19 -- models/models/model_request_direction.go | 24 --- models/models/model_request_indication.go | 27 --- models/models/model_request_loc_info.go | 23 --- models/models/model_request_pos_info.go | 60 ------- models/models/model_request_type.go | 23 --- models/models/model_requested_context.go | 19 -- models/models/model_requested_node.go | 23 --- models/models/model_requested_qos.go | 23 --- ...odel_requested_qos_monitoring_parameter.go | 22 --- models/models/model_requested_rule_data.go | 21 --- .../models/model_requested_rule_data_type.go | 25 --- models/models/model_requested_unit.go | 26 --- models/models/model_requested_usage_data.go | 21 --- models/models/model_required_access_info.go | 21 --- models/models/model_reserv_priority.go | 35 ---- models/models/model_resource_item.go | 20 --- models/models/model_resource_status.go | 24 --- models/models/model_resource_usage.go | 23 --- .../models/model_resources_allocation_info.go | 20 --- models/models/model_response_time.go | 22 --- models/models/model_restricted_snssai.go | 21 --- models/models/model_restriction_type.go | 21 --- models/models/model_resynchronization_info.go | 18 -- .../models/model_retainability_threshold.go | 22 --- models/models/model_retrieve_data.go | 19 -- models/models/model_retrieve_records.go | 21 --- models/models/model_retrieved_data.go | 19 -- models/models/model_revoked_cause.go | 22 --- models/models/model_rg_authentication_info.go | 22 --- models/models/model_rm_info.go | 19 -- models/models/model_rm_state.go | 21 --- models/models/model_roamer_in_out.go | 21 --- models/models/model_roaming_indication.go | 22 --- models/models/model_roaming_info_update.go | 19 -- models/models/model_roaming_odb.go | 21 --- models/models/model_roaming_restrictions.go | 18 -- models/models/model_roaming_status_report.go | 19 -- models/models/model_role_of_ims_node.go | 22 --- models/models/model_role_of_ue.go | 23 --- models/models/model_route_information.go | 23 --- .../model_route_selection_parameter_set.go | 26 --- models/models/model_route_to_location.go | 22 --- models/models/model_routing_area_id.go | 22 --- .../models/model_routing_info_sm_request.go | 20 --- .../models/model_routing_info_sm_response.go | 23 --- models/models/model_rsn.go | 22 --- models/models/model_rule_operation.go | 25 --- models/models/model_rule_report.go | 27 --- models/models/model_rule_status.go | 21 --- models/models/model_sac_event.go | 24 --- models/models/model_sac_event_report.go | 19 -- models/models/model_sac_event_report_item.go | 27 --- models/models/model_sac_event_state.go | 21 --- models/models/model_sac_event_status.go | 19 -- models/models/model_sac_event_subscription.go | 32 ---- models/models/model_sac_event_trigger.go | 21 --- models/models/model_sac_event_type.go | 21 --- models/models/model_sac_info.go | 21 --- .../model_satellite_backhaul_category.go | 24 --- models/models/model_sbi_binding_level.go | 23 --- models/models/model_sc_type.go | 21 --- .../model_scheduled_communication_time.go | 23 --- .../model_scheduled_communication_time_rm.go | 16 -- .../model_scheduled_communication_type.go | 22 --- .../model_scheduled_communication_type_rm.go | 16 -- models/models/model_scp_capability.go | 20 --- models/models/model_scp_domain_cond.go | 19 -- .../models/model_scp_domain_connectivity.go | 18 -- models/models/model_scp_domain_info.go | 23 --- ...el_scp_domain_routing_info_notification.go | 19 -- ...el_scp_domain_routing_info_subscription.go | 28 --- .../model_scp_domain_routing_information.go | 19 -- models/models/model_scp_info.go | 32 ---- models/models/model_scscf_capability_list.go | 21 --- models/models/model_scscf_registration.go | 38 ---- ..._scscf_selection_assistance_information.go | 19 -- models/models/model_sd_range.go | 21 --- models/models/model_sdm_subs_modification.go | 23 --- models/models/model_sdm_subscription.go | 46 ----- models/models/model_sdp_description.go | 19 -- models/models/model_sdp_media_component.go | 26 --- models/models/model_sdp_time_stamps.go | 24 --- models/models/model_sdp_type.go | 21 --- models/models/model_seaf_data.go | 23 --- models/models/model_search_comparison.go | 20 --- models/models/model_search_condition.go | 21 --- models/models/model_search_expression.go | 25 --- models/models/model_search_result.go | 29 --- .../models/model_secondary_rat_usage_info.go | 20 --- .../model_secondary_rat_usage_report.go | 19 -- models/models/model_security_result.go | 19 -- models/models/model_send_mo_data_req_data.go | 20 --- models/models/model_send_mo_data_request.go | 18 -- models/models/model_send_sms_request.go | 18 -- models/models/model_send_sms_response_200.go | 18 -- models/models/model_sensor_measurement.go | 22 --- models/models/model_sepp_info.go | 22 --- models/models/model_sequence_number.go | 22 --- models/models/model_serv_auth_info.go | 23 --- models/models/model_server_addressing_info.go | 20 --- models/models/model_server_capabilities.go | 19 -- .../model_service_area_coverage_info.go | 20 --- models/models/model_service_area_id.go | 22 --- .../models/model_service_area_restriction.go | 23 --- .../model_service_data_flow_description.go | 18 -- .../model_service_experience_info_per_app.go | 23 --- .../model_service_experience_info_per_flow.go | 23 --- .../models/model_service_experience_type.go | 22 --- models/models/model_service_identification.go | 21 --- models/models/model_service_info_status.go | 21 --- models/models/model_service_information.go | 21 --- .../model_service_level_trace_information.go | 18 -- models/models/model_service_name.go | 165 ------------------ models/models/model_service_name_cond.go | 18 -- models/models/model_service_name_list_cond.go | 19 -- models/models/model_service_parameter_data.go | 59 ------- .../model_service_parameter_data_patch.go | 39 ----- ...el_service_profile_charging_information.go | 34 ---- ...del_service_specific_authorization_data.go | 23 --- ...del_service_specific_authorization_info.go | 18 -- ...vice_specific_authorization_remove_data.go | 18 -- models/models/model_service_type.go | 20 --- .../model_service_type_unrelated_class.go | 23 --- models/models/model_serving_location.go | 18 -- models/models/model_serving_nf_identity.go | 22 --- models/models/model_serving_node_address.go | 19 -- .../model_sess_inact_timer_for_ue_comm.go | 21 --- models/models/model_session_failover.go | 21 --- ...el_session_management_subscription_data.go | 33 ---- models/models/model_session_rule.go | 27 --- .../models/model_session_rule_failure_code.go | 29 --- models/models/model_session_rule_report.go | 23 --- models/models/model_sgsn_address.go | 20 --- models/models/model_sgsn_location_data.go | 24 --- models/models/model_shared_data_id_range.go | 18 -- ...model_shared_data_treatment_instruction.go | 23 --- models/models/model_sharing_level.go | 21 --- models/models/model_sign.go | 21 --- models/models/model_sip_event_type.go | 20 --- models/models/model_sip_forking_indication.go | 21 --- .../model_slice_info_for_pdu_session.go | 20 --- .../model_slice_info_for_registration.go | 28 --- ..._slice_info_for_ue_configuration_update.go | 27 --- .../model_slice_load_level_information.go | 21 --- models/models/model_slice_mbr.go | 21 --- models/models/model_slice_mbr_rm.go | 16 -- models/models/model_slice_policy_data.go | 28 --- models/models/model_sm_address_domain.go | 18 -- models/models/model_sm_address_info.go | 19 -- models/models/model_sm_address_type.go | 27 --- models/models/model_sm_addressee_type.go | 22 --- models/models/model_sm_context.go | 99 ----------- .../models/model_sm_context_configuration.go | 21 --- .../models/model_sm_context_create_error.go | 27 --- .../models/model_sm_context_released_data.go | 19 -- .../models/model_sm_context_retrieve_data.go | 22 --- .../models/model_sm_context_retrieved_data.go | 24 --- models/models/model_sm_context_status.go | 20 --- models/models/model_sm_context_type.go | 22 --- .../models/model_sm_context_update_error.go | 28 --- .../models/model_sm_context_updated_data.go | 44 ----- models/models/model_sm_delivery_status.go | 20 --- models/models/model_sm_interface.go | 20 --- models/models/model_sm_message_type.go | 23 --- models/models/model_sm_nas_from_smf.go | 27 --- models/models/model_sm_nas_from_ue.go | 24 --- ...del_sm_policy_association_release_cause.go | 24 --- models/models/model_sm_policy_context_data.go | 88 ---------- models/models/model_sm_policy_control.go | 19 -- models/models/model_sm_policy_data.go | 26 --- models/models/model_sm_policy_data_patch.go | 21 --- models/models/model_sm_policy_decision.go | 72 -------- models/models/model_sm_policy_delete_data.go | 32 ---- models/models/model_sm_policy_dnn_data.go | 46 ----- .../models/model_sm_policy_dnn_data_patch.go | 21 --- models/models/model_sm_policy_notification.go | 20 --- models/models/model_sm_policy_snssai_data.go | 21 --- .../model_sm_policy_snssai_data_patch.go | 20 --- .../model_sm_policy_update_context_data.go | 101 ----------- ...policy_update_notification_response_200.go | 25 --- models/models/model_sm_priority.go | 22 --- models/models/model_sm_service_type.go | 30 ---- models/models/model_sm_subs_data.go | 18 -- .../models/model_small_data_rate_control.go | 22 --- ...model_small_data_rate_control_time_unit.go | 24 --- models/models/model_small_data_rate_status.go | 31 ---- .../model_small_data_rate_status_info.go | 21 --- models/models/model_smcce_info.go | 21 --- models/models/model_smcce_ue_list.go | 20 --- models/models/model_smf_change_indication.go | 21 --- models/models/model_smf_change_info.go | 19 -- models/models/model_smf_event.go | 36 ---- ...l_smf_event_exposure_event_notification.go | 100 ----------- ...l_smf_event_exposure_event_subscription.go | 28 --- ..._smf_event_exposure_notification_method.go | 22 --- ...del_smf_event_exposure_pdu_session_info.go | 22 --- ..._event_exposure_pdu_session_information.go | 20 --- ...l_smf_event_exposure_pdu_session_status.go | 21 --- models/models/model_smf_info.go | 30 ---- .../models/model_smf_nidd_deliver_req_data.go | 18 -- models/models/model_smf_pdu_session_cause.go | 52 ------ .../model_smf_pdu_session_dnai_information.go | 21 --- ...del_smf_pdu_session_ext_problem_details.go | 35 ---- ...mf_pdu_session_gbr_qos_flow_information.go | 31 ---- .../model_smf_pdu_session_ip_address.go | 21 --- ...model_smf_pdu_session_notification_info.go | 21 --- ...ession_qos_flow_add_modify_request_item.go | 27 --- .../model_smf_pdu_session_qos_flow_profile.go | 28 --- ..._smf_pdu_session_sm_context_create_data.go | 148 ---------------- ...smf_pdu_session_sm_context_created_data.go | 47 ----- ...smf_pdu_session_sm_context_release_data.go | 29 --- ..._session_sm_context_status_notification.go | 41 ----- ..._smf_pdu_session_sm_context_update_data.go | 82 --------- models/models/model_smf_registration.go | 53 ------ models/models/model_smf_registration_info.go | 17 -- .../model_smf_registration_modification.go | 23 --- models/models/model_smf_selection_data.go | 24 --- .../model_smf_selection_subscription_data.go | 23 --- models/models/model_smf_selection_type.go | 21 --- models/models/model_smf_subscription_info.go | 18 -- models/models/model_smf_subscription_item.go | 22 --- .../models/model_sms_charging_information.go | 52 ------ models/models/model_sms_data.go | 18 -- models/models/model_sms_delivery_data.go | 18 -- models/models/model_sms_indication.go | 21 --- .../model_sms_management_subscription_data.go | 26 --- models/models/model_sms_registration_info.go | 21 --- models/models/model_sms_router_info.go | 26 --- models/models/model_sms_subscription_data.go | 20 --- models/models/model_sms_support.go | 23 --- models/models/model_smsc_data.go | 19 -- models/models/model_smsf_info.go | 21 --- models/models/model_smsf_registration.go | 40 ----- models/models/model_snssai.go | 21 --- models/models/model_snssai_dnn_combination.go | 19 -- models/models/model_snssai_easdf_info_item.go | 19 -- models/models/model_snssai_extension.go | 21 --- models/models/model_snssai_info.go | 17 -- models/models/model_snssai_info_item.go | 19 -- .../models/model_snssai_mb_smf_info_item.go | 19 -- ...model_snssai_route_selection_descriptor.go | 19 -- models/models/model_snssai_smf_info_item.go | 19 -- models/models/model_snssai_tai_mapping.go | 20 --- .../models/model_snssai_tsctsf_info_item.go | 19 -- models/models/model_snssai_upf_info_item.go | 20 --- models/models/model_software_image_info.go | 21 --- models/models/model_sor_data.go | 29 --- models/models/model_sor_security_info.go | 23 --- models/models/model_sor_update_indicator.go | 21 --- models/models/model_sor_update_info.go | 19 -- models/models/model_spatial_validity.go | 19 -- models/models/model_spatial_validity_cond.go | 20 --- models/models/model_spatial_validity_rm.go | 19 -- .../model_specific_analytics_subscription.go | 23 --- .../model_specific_data_subscription.go | 23 --- models/models/model_spending_limit_context.go | 34 ---- models/models/model_spending_limit_status.go | 30 ---- .../models/model_sponsor_connectivity_data.go | 18 -- models/models/model_sponsor_information.go | 21 --- models/models/model_sponsoring_status.go | 21 --- models/models/model_spt.go | 25 --- models/models/model_sqn_scheme.go | 22 --- models/models/model_srvcc_capability.go | 21 --- models/models/model_srvcc_data.go | 20 --- models/models/model_ssc_mode.go | 22 --- models/models/model_ssc_modes.go | 18 -- models/models/model_ssm.go | 19 -- models/models/model_stationary_indication.go | 21 --- .../models/model_stationary_indication_rm.go | 16 -- models/models/model_status.go | 21 --- models/models/model_status_change.go | 21 --- models/models/model_status_info.go | 21 --- models/models/model_status_notification.go | 30 ---- models/models/model_steer_mode_indicator.go | 21 --- models/models/model_steer_mode_value.go | 23 --- models/models/model_steering_functionality.go | 21 --- models/models/model_steering_mode.go | 25 --- models/models/model_storage_outcome.go | 21 --- models/models/model_stored_search_result.go | 18 -- .../models/model_string_matching_condition.go | 19 -- models/models/model_string_matching_rule.go | 18 -- models/models/model_subscr_cond.go | 52 ------ models/models/model_subscribed_default_qos.go | 22 --- models/models/model_subscribed_event.go | 20 --- models/models/model_subscribed_snssai.go | 20 --- models/models/model_subscription_context.go | 19 -- .../model_subscription_data_subscriptions.go | 36 ---- models/models/model_subscription_filter.go | 21 --- .../model_subscription_termination_info.go | 21 --- .../model_subscription_transfer_info.go | 25 --- models/models/model_suci_info.go | 19 -- .../models/model_suggested_packet_num_dl.go | 23 --- .../models/model_summarization_attribute.go | 25 --- models/models/model_supi_info.go | 18 -- models/models/model_supi_range.go | 20 --- models/models/model_supplementary_service.go | 32 ---- .../model_supplementary_service_mode.go | 30 ---- .../model_supplementary_service_type.go | 38 ---- models/models/model_supported_gad_shapes.go | 28 --- ...model_supported_nssai_availability_data.go | 22 --- models/models/model_supported_snssai.go | 19 -- models/models/model_svc_experience.go | 23 --- models/models/model_tac_info.go | 18 -- models/models/model_tac_range.go | 20 --- models/models/model_tad_identifier.go | 21 --- models/models/model_tads_information.go | 26 --- models/models/model_tag_type.go | 21 --- models/models/model_tai.go | 22 --- models/models/model_tai_range.go | 21 --- models/models/model_target_area.go | 20 --- models/models/model_target_dnai_info.go | 20 --- models/models/model_target_ue_information.go | 21 --- models/models/model_temporal_validity.go | 25 --- models/models/model_termination_info.go | 20 --- models/models/model_threshold_level.go | 34 ---- models/models/model_threshold_value.go | 21 --- models/models/model_throughput.go | 20 --- models/models/model_time_period.go | 20 --- models/models/model_time_unit.go | 22 --- models/models/model_time_window.go | 25 --- models/models/model_timer.go | 31 ---- models/models/model_timer_id_list.go | 18 -- models/models/model_tmgi.go | 20 --- models/models/model_tmgi_range.go | 22 --- models/models/model_tnap_id.go | 23 --- models/models/model_tngf_info.go | 21 --- models/models/model_top_application.go | 22 --- .../models/model_topological_service_area.go | 19 -- models/models/model_trace_data.go | 29 --- models/models/model_trace_data_response.go | 18 -- models/models/model_trace_depth.go | 25 --- .../models/model_traffic_characterization.go | 31 ---- models/models/model_traffic_control_data.go | 44 ----- .../model_traffic_descriptor_components.go | 29 --- models/models/model_traffic_forwarding_way.go | 22 --- models/models/model_traffic_influ_data.go | 67 ------- .../models/model_traffic_influ_data_notif.go | 20 --- .../models/model_traffic_influ_data_patch.go | 51 ------ models/models/model_traffic_influ_sub.go | 36 ---- models/models/model_traffic_information.go | 27 --- models/models/model_traffic_profile.go | 24 --- models/models/model_traffic_profile_rm.go | 16 -- models/models/model_transaction_info.go | 22 --- models/models/model_transaction_metric.go | 23 --- .../models/model_transfer_mo_data_req_data.go | 20 --- .../models/model_transfer_mo_data_request.go | 18 -- .../models/model_transfer_mt_data_add_info.go | 19 -- models/models/model_transfer_mt_data_error.go | 37 ---- .../models/model_transfer_mt_data_req_data.go | 18 -- .../models/model_transfer_mt_data_request.go | 18 -- .../model_transfer_mt_dataismf_request.go | 18 -- models/models/model_transfer_reason.go | 22 --- models/models/model_transfer_request_type.go | 21 --- models/models/model_transmitter_info.go | 18 -- models/models/model_transport_protocol.go | 21 --- models/models/model_trigger_category.go | 21 --- models/models/model_trigger_point.go | 19 -- models/models/model_trigger_request.go | 19 -- models/models/model_trunk_group_id.go | 18 -- models/models/model_trust_af_info.go | 22 --- models/models/model_tsc_qos_requirement.go | 35 ---- models/models/model_tsc_qos_requirement_rm.go | 35 ---- models/models/model_tscai_input_container.go | 29 --- models/models/model_tsctsf_info.go | 23 --- models/models/model_tsn_bridge_info.go | 25 --- models/models/model_tsn_qos_container.go | 23 --- models/models/model_tsn_qos_container_rm.go | 23 --- models/models/model_tunnel_info.go | 23 --- models/models/model_twan_location_data.go | 25 --- models/models/model_twap_id.go | 23 --- models/models/model_twif_info.go | 21 --- models/models/model_type_of_condition.go | 21 --- models/models/model_uav_auth_failure.go | 19 -- models/models/model_uc_purpose.go | 23 --- models/models/model_uc_subscription_data.go | 19 -- .../models/model_udm_ee_association_type.go | 21 --- .../model_udm_ee_created_ee_subscription.go | 26 --- models/models/model_udm_ee_ee_subscription.go | 40 ----- models/models/model_udm_ee_event_type.go | 39 ----- models/models/model_udm_ee_failed_cause.go | 25 --- ..._udm_ee_failed_monitoring_configuration.go | 19 -- .../models/model_udm_ee_location_accuracy.go | 25 --- ...udm_ee_location_reporting_configuration.go | 20 --- .../model_udm_ee_monitoring_configuration.go | 37 ---- .../models/model_udm_ee_monitoring_report.go | 29 --- .../model_udm_ee_pdu_session_status_cfg.go | 18 -- ..._ee_reachability_for_data_configuration.go | 19 -- ...odel_udm_ee_reachability_for_sms_report.go | 23 --- models/models/model_udm_ee_report.go | 37 ---- .../models/model_udm_ee_reporting_options.go | 31 ---- models/models/model_udm_info.go | 25 --- models/models/model_udm_mt_ue_info.go | 20 --- .../model_udm_niddau_authorization_data.go | 24 --- models/models/model_udm_pp_location_area.go | 22 --- models/models/model_udm_sdm_amf_info.go | 20 --- models/models/model_udm_sdm_app_descriptor.go | 19 -- models/models/model_udm_sdm_data_set_name.go | 35 ---- .../model_udm_sdm_ec_restriction_data_wb.go | 18 -- .../models/model_udm_sdm_group_identifiers.go | 20 --- models/models/model_udm_sdm_ip_address.go | 20 --- models/models/model_udm_sdm_ip_index.go | 17 -- .../models/model_udm_sdm_nidd_information.go | 21 --- models/models/model_udm_sdm_shared_data.go | 31 ---- models/models/model_udm_sdm_sor_info.go | 35 ---- .../model_udm_sdm_steering_container.go | 16 -- .../model_udm_sdm_subscription_data_sets.go | 32 ---- models/models/model_udm_sdm_ue_id.go | 19 -- models/models/model_udm_sdm_upu_info.go | 32 ---- ...sau_service_specific_authorization_info.go | 27 --- models/models/model_udm_ueau_auth_type.go | 24 --- ...el_udm_ueau_authentication_info_request.go | 26 --- ...del_udm_ueau_authentication_info_result.go | 26 --- models/models/model_udm_ueau_rg_auth_ctx.go | 21 --- ..._udm_uecm_data_restoration_notification.go | 33 ---- .../model_udm_uecm_deregistration_data.go | 22 --- .../model_udm_uecm_deregistration_reason.go | 28 --- models/models/model_udm_uecm_location_info.go | 23 --- ...el_udr_dr_data_restoration_notification.go | 24 --- models/models/model_udr_info.go | 24 --- ..._udsf_data_repository_notification_info.go | 17 -- models/models/model_udsf_info.go | 22 --- .../model_ue_access_behavior_report_item.go | 22 --- .../model_ue_analytics_context_descriptor.go | 21 --- models/models/model_ue_area_indication.go | 21 --- models/models/model_ue_auth.go | 21 --- models/models/model_ue_authentication_ctx.go | 22 --- models/models/model_ue_camping_rep.go | 26 --- models/models/model_ue_communication.go | 42 ----- .../model_ue_communication_collection.go | 27 --- models/models/model_ue_communication_info.go | 24 --- models/models/model_ue_connectivity_state.go | 19 -- models/models/model_ue_context.go | 132 -------------- .../model_ue_context_cancel_relocate_data.go | 20 --- models/models/model_ue_context_create_data.go | 29 --- .../models/model_ue_context_create_error.go | 20 --- .../models/model_ue_context_created_data.go | 25 --- models/models/model_ue_context_in_amf_data.go | 19 -- models/models/model_ue_context_in_smf_data.go | 20 --- ...model_ue_context_in_smf_data_sub_filter.go | 20 --- .../models/model_ue_context_in_smsf_data.go | 18 -- models/models/model_ue_context_info.go | 29 --- models/models/model_ue_context_info_class.go | 20 --- models/models/model_ue_context_release.go | 21 --- .../models/model_ue_context_relocate_data.go | 26 --- .../models/model_ue_context_relocated_data.go | 18 -- .../model_ue_context_transfer_req_data.go | 23 --- .../model_ue_context_transfer_request.go | 18 -- .../model_ue_context_transfer_response_200.go | 20 --- .../model_ue_context_transfer_rsp_data.go | 23 --- .../model_ue_context_transfer_status.go | 21 --- .../models/model_ue_differentiation_info.go | 30 ---- models/models/model_ue_id_ext.go | 21 --- models/models/model_ue_identity_info.go | 23 --- models/models/model_ue_in_area_filter.go | 19 -- .../model_ue_initiated_resource_request.go | 22 --- models/models/model_ue_lcs_capability.go | 19 -- models/models/model_ue_location_info.go | 31 ---- .../models/model_ue_location_service_ind.go | 21 --- .../model_ue_location_trends_report_item.go | 31 ---- models/models/model_ue_mobility.go | 29 --- models/models/model_ue_mobility_collection.go | 24 --- models/models/model_ue_mobility_info.go | 22 --- ..._ue_n1_n2_info_subscription_create_data.go | 28 --- ...ue_n1_n2_info_subscription_created_data.go | 20 --- models/models/model_ue_policy_section.go | 20 --- models/models/model_ue_policy_set.go | 32 ---- models/models/model_ue_policy_set_patch.go | 24 --- ...ue_policy_transfer_failure_notification.go | 19 -- .../models/model_ue_privacy_requirements.go | 19 -- models/models/model_ue_reachability.go | 22 --- .../model_ue_reachability_notification.go | 20 --- .../model_ue_reachability_subscription.go | 25 --- models/models/model_ue_reachable_ind.go | 22 --- .../model_ue_reg_status_update_req_data.go | 23 --- .../model_ue_reg_status_update_rsp_data.go | 18 -- models/models/model_ue_requested_value_rep.go | 22 --- models/models/model_ue_slice_mbr.go | 21 --- .../models/model_ue_trajectory_collection.go | 24 --- models/models/model_ue_trajectory_info.go | 24 --- models/models/model_ue_transfer_type.go | 21 --- models/models/model_ue_type.go | 20 --- models/models/model_ue_update_status.go | 24 --- models/models/model_ulcl_bp_information.go | 19 -- models/models/model_umt_time.go | 20 --- models/models/model_un_trust_af_info.go | 20 --- .../model_unavailable_access_indication.go | 21 --- models/models/model_uncertainty_ellipse.go | 23 --- models/models/model_uncertainty_ellipsoid.go | 25 --- models/models/model_unrelated_class.go | 19 -- models/models/model_up_cnx_state.go | 23 --- models/models/model_up_confidentiality.go | 22 --- models/models/model_up_integrity.go | 22 --- models/models/model_up_interface_type.go | 27 --- models/models/model_up_path_chg_event.go | 23 --- models/models/model_up_security.go | 19 -- models/models/model_up_security_info.go | 21 --- ...model_update_charging_data_response_400.go | 48 ----- ...model_update_charging_data_response_403.go | 48 ----- ...model_update_charging_data_response_404.go | 48 ----- ..._update_nwdaf_registration_response_200.go | 33 ---- .../model_update_pdu_session_request.go | 22 --- .../model_update_pdu_session_response_200.go | 21 --- .../model_update_pdu_session_response_400.go | 18 -- .../models/model_update_sm_context_request.go | 20 --- .../model_update_sm_context_response_200.go | 19 -- .../model_update_sm_context_response_400.go | 19 -- models/models/model_updated_item.go | 20 --- models/models/model_updp_subscription_data.go | 23 --- models/models/model_upf_cond.go | 20 --- models/models/model_upf_info.go | 34 ---- models/models/model_upf_information.go | 19 -- models/models/model_upu_data.go | 28 --- models/models/model_upu_security_info.go | 23 --- models/models/model_uri_list.go | 20 --- models/models/model_uri_scheme.go | 21 --- models/models/model_ursp_rule_request.go | 22 --- models/models/model_usage.go | 24 --- models/models/model_usage_mon_data.go | 31 ---- models/models/model_usage_mon_data_limit.go | 31 ---- models/models/model_usage_mon_data_scope.go | 19 -- models/models/model_usage_mon_level.go | 21 --- models/models/model_usage_monitoring_data.go | 45 ----- models/models/model_usage_threshold.go | 25 --- models/models/model_usage_threshold_rm.go | 25 --- models/models/model_user_consent.go | 21 --- .../model_user_data_congestion_collection.go | 29 --- .../models/model_user_data_congestion_info.go | 20 --- models/models/model_user_identifier.go | 27 --- models/models/model_user_location.go | 22 --- models/models/model_user_plane_event.go | 31 ---- .../models/model_user_plane_event_report.go | 27 --- .../model_user_plane_notification_data.go | 21 --- models/models/model_user_state_cs.go | 23 --- models/models/model_user_state_ps.go | 26 --- models/models/model_utra_location.go | 33 ---- models/models/model_uuaa_mm_status.go | 22 --- models/models/model_v2x_capability.go | 19 -- models/models/model_v2x_context.go | 24 --- models/models/model_v2x_information.go | 18 -- models/models/model_v2x_subscription_data.go | 22 --- models/models/model_valid_time_period.go | 24 --- models/models/model_var_snssai.go | 16 -- models/models/model_variable_part.go | 20 --- models/models/model_variable_part_type.go | 24 --- models/models/model_velocity_estimate.go | 28 --- models/models/model_velocity_requested.go | 21 --- .../models/model_vendor_specific_feature.go | 19 -- models/models/model_vertical_direction.go | 21 --- models/models/model_vgmlc_address.go | 21 --- models/models/model_virtual_resource.go | 19 -- models/models/model_vn_group_data.go | 21 --- models/models/model_volume_timed_report.go | 29 --- models/models/model_vplmn_qos.go | 29 --- models/models/model_vsmf_update_data.go | 55 ------ models/models/model_vsmf_update_error.go | 37 ---- models/models/model_vsmf_updated_data.go | 37 ---- models/models/model_w_agf_info.go | 21 --- models/models/model_websock_notif_config.go | 21 --- models/models/model_wireline_area.go | 23 --- ...model_wireline_service_area_restriction.go | 19 -- .../models/model_wlan_ordering_criterion.go | 24 --- .../model_wlan_per_ss_id_performance_info.go | 19 -- .../model_wlan_per_ts_performance_info.go | 33 ---- models/models/model_wlan_performance_info.go | 19 -- models/models/model_wlan_performance_req.go | 21 --- 1847 files changed, 46679 deletions(-) delete mode 100644 models/models/model_3_g_aka_av.go delete mode 100644 models/models/model_3_gppps_data_off_status.go delete mode 100644 models/models/model_5_g_ddnmf_info.go delete mode 100644 models/models/model_5_g_srvcc_info.go delete mode 100644 models/models/model_5_g_vn_group_configuration.go delete mode 100644 models/models/model_5_g_vn_group_data.go delete mode 100644 models/models/model_5_glan_type_service.go delete mode 100644 models/models/model_5_gs_user_state.go delete mode 100644 models/models/model_5_gs_user_state_info.go delete mode 100644 models/models/model_5_mbs_authorization_info.go delete mode 100644 models/models/model_aanf_info.go delete mode 100644 models/models/model_abnormal_behaviour.go delete mode 100644 models/models/model_acc_net_ch_id.go delete mode 100644 models/models/model_acc_net_charging_address.go delete mode 100644 models/models/model_acceptable_mbs_serv_info.go delete mode 100644 models/models/model_acceptable_service_info.go delete mode 100644 models/models/model_access_and_mobility_data.go delete mode 100644 models/models/model_access_and_mobility_subscription_data.go delete mode 100644 models/models/model_access_net_charging_identifier.go delete mode 100644 models/models/model_access_network_id.go delete mode 100644 models/models/model_access_network_info_change.go delete mode 100644 models/models/model_access_right_status.go delete mode 100644 models/models/model_access_state_transition_type.go delete mode 100644 models/models/model_access_tech.go delete mode 100644 models/models/model_access_token_err.go delete mode 100644 models/models/model_access_transfer_information.go delete mode 100644 models/models/model_access_transfer_type.go delete mode 100644 models/models/model_access_type.go delete mode 100644 models/models/model_access_type_rm.go delete mode 100644 models/models/model_accu_usage_report.go delete mode 100644 models/models/model_accumulated_usage.go delete mode 100644 models/models/model_accuracy_fulfilment_indicator.go delete mode 100644 models/models/model_ack_of_notify.go delete mode 100644 models/models/model_acknowledge_info.go delete mode 100644 models/models/model_acs_info.go delete mode 100644 models/models/model_acs_info_rm.go delete mode 100644 models/models/model_activation_state.go delete mode 100644 models/models/model_addition_info_analytics_info_request.go delete mode 100644 models/models/model_addition_info_enable_ue_reachability.go delete mode 100644 models/models/model_additional_access_info.go delete mode 100644 models/models/model_additional_ee_subs_info.go delete mode 100644 models/models/model_additional_measurement.go delete mode 100644 models/models/model_additional_qos_flow_info.go delete mode 100644 models/models/model_additional_snssai_data.go delete mode 100644 models/models/model_addr_fqdn.go delete mode 100644 models/models/model_address_list.go delete mode 100644 models/models/model_administrative_state.go delete mode 100644 models/models/model_adrf_data_type.go delete mode 100644 models/models/model_aerial_ue_indication.go delete mode 100644 models/models/model_aerial_ue_subscription_info.go delete mode 100644 models/models/model_af_ack_info.go delete mode 100644 models/models/model_af_coordination_info.go delete mode 100644 models/models/model_af_event_exposure_af_event.go delete mode 100644 models/models/model_af_event_exposure_af_event_notification.go delete mode 100644 models/models/model_af_event_exposure_data.go delete mode 100644 models/models/model_af_event_exposure_dispersion_collection.go delete mode 100644 models/models/model_af_event_exposure_event_filter.go delete mode 100644 models/models/model_af_event_exposure_notif.go delete mode 100644 models/models/model_af_event_exposure_subsc.go delete mode 100644 models/models/model_af_event_subscription.go delete mode 100644 models/models/model_af_external.go delete mode 100644 models/models/model_af_notif_method.go delete mode 100644 models/models/model_af_requested_data.go delete mode 100644 models/models/model_af_result_info.go delete mode 100644 models/models/model_af_result_status.go delete mode 100644 models/models/model_af_routing_requirement.go delete mode 100644 models/models/model_af_routing_requirement_rm.go delete mode 100644 models/models/model_af_sig_protocol.go delete mode 100644 models/models/model_affinity_anti_affinity.go delete mode 100644 models/models/model_aggregation_level.go delete mode 100644 models/models/model_alert_limit.go delete mode 100644 models/models/model_allowed_mbs_info.go delete mode 100644 models/models/model_allowed_mtc_provider_info.go delete mode 100644 models/models/model_allowed_nssai.go delete mode 100644 models/models/model_allowed_snssai.go delete mode 100644 models/models/model_alternative_qos_profile.go delete mode 100644 models/models/model_alternative_service_requirements_data.go delete mode 100644 models/models/model_am_event.go delete mode 100644 models/models/model_am_event_data.go delete mode 100644 models/models/model_am_event_notification.go delete mode 100644 models/models/model_am_events_notification.go delete mode 100644 models/models/model_am_events_subsc_data.go delete mode 100644 models/models/model_am_events_subsc_data_rm.go delete mode 100644 models/models/model_am_events_subsc_resp_data.go delete mode 100644 models/models/model_am_influ_data.go delete mode 100644 models/models/model_am_influ_event.go delete mode 100644 models/models/model_am_policy_data.go delete mode 100644 models/models/model_am_requested_value_rep.go delete mode 100644 models/models/model_am_termination_cause.go delete mode 100644 models/models/model_am_termination_info.go delete mode 100644 models/models/model_ambr.go delete mode 100644 models/models/model_ambr_rm.go delete mode 100644 models/models/model_amf3_gpp_access_registration.go delete mode 100644 models/models/model_amf3_gpp_access_registration_modification.go delete mode 100644 models/models/model_amf_communication_ec_restriction_data_wb.go delete mode 100644 models/models/model_amf_communication_ngap_ie_type.go delete mode 100644 models/models/model_amf_communication_release_cause.go delete mode 100644 models/models/model_amf_communication_subscription_data.go delete mode 100644 models/models/model_amf_cond.go delete mode 100644 models/models/model_amf_create_event_subscription.go delete mode 100644 models/models/model_amf_created_event_subscription.go delete mode 100644 models/models/model_amf_dereg_info.go delete mode 100644 models/models/model_amf_event.go delete mode 100644 models/models/model_amf_event_area.go delete mode 100644 models/models/model_amf_event_exposure_traffic_descriptor.go delete mode 100644 models/models/model_amf_event_mode.go delete mode 100644 models/models/model_amf_event_notification.go delete mode 100644 models/models/model_amf_event_report.go delete mode 100644 models/models/model_amf_event_state.go delete mode 100644 models/models/model_amf_event_subs_sync_info.go delete mode 100644 models/models/model_amf_event_subscription.go delete mode 100644 models/models/model_amf_event_subscription_add_info.go delete mode 100644 models/models/model_amf_event_subscription_info.go delete mode 100644 models/models/model_amf_event_trigger.go delete mode 100644 models/models/model_amf_event_type.go delete mode 100644 models/models/model_amf_location_data.go delete mode 100644 models/models/model_amf_location_location_event.go delete mode 100644 models/models/model_amf_location_location_type.go delete mode 100644 models/models/model_amf_mbs_broadcast_context_update_req_data.go delete mode 100644 models/models/model_amf_mbs_broadcast_context_update_rsp_data.go delete mode 100644 models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go delete mode 100644 models/models/model_amf_mbs_broadcast_ngap_ie_type.go delete mode 100644 models/models/model_amf_mbs_communication_n2_mbs_sm_info.go delete mode 100644 models/models/model_amf_mt_ue_info.go delete mode 100644 models/models/model_amf_non3_gpp_access_registration.go delete mode 100644 models/models/model_amf_non3_gpp_access_registration_modification.go delete mode 100644 models/models/model_amf_status_change_notification.go delete mode 100644 models/models/model_amf_status_info.go delete mode 100644 models/models/model_amf_subscription_info.go delete mode 100644 models/models/model_amf_update_event_option_item.go delete mode 100644 models/models/model_amf_update_event_subscription_item.go delete mode 100644 models/models/model_amf_updated_event_subscription.go delete mode 100644 models/models/model_an_gw_address.go delete mode 100644 models/models/model_an_node_type.go delete mode 100644 models/models/model_analytics_context_identifier.go delete mode 100644 models/models/model_analytics_metadata.go delete mode 100644 models/models/model_analytics_metadata_indication.go delete mode 100644 models/models/model_analytics_metadata_info.go delete mode 100644 models/models/model_analytics_subscription.go delete mode 100644 models/models/model_analytics_subscriptions_transfer.go delete mode 100644 models/models/model_analytics_subset.go delete mode 100644 models/models/model_anchor_smf_features.go delete mode 100644 models/models/model_announcement_information.go delete mode 100644 models/models/model_announcement_privacy_indicator.go delete mode 100644 models/models/model_api_direction.go delete mode 100644 models/models/model_apn_rate_status.go delete mode 100644 models/models/model_app_am_context_data.go delete mode 100644 models/models/model_app_am_context_resp_data.go delete mode 100644 models/models/model_app_am_context_update_data.go delete mode 100644 models/models/model_app_descriptor.go delete mode 100644 models/models/model_app_detection_info.go delete mode 100644 models/models/model_app_detection_notif_type.go delete mode 100644 models/models/model_app_detection_report.go delete mode 100644 models/models/model_app_list_for_ue_comm.go delete mode 100644 models/models/model_app_port_id.go delete mode 100644 models/models/model_app_session_context.go delete mode 100644 models/models/model_app_session_context_req_data.go delete mode 100644 models/models/model_app_session_context_resp_data.go delete mode 100644 models/models/model_app_session_context_update_data.go delete mode 100644 models/models/model_app_session_context_update_data_patch.go delete mode 100644 models/models/model_application_data_change_notif.go delete mode 100644 models/models/model_application_data_subs.go delete mode 100644 models/models/model_application_for_pfd_request.go delete mode 100644 models/models/model_application_server.go delete mode 100644 models/models/model_application_volume.go delete mode 100644 models/models/model_applied_smcc_type.go delete mode 100644 models/models/model_area.go delete mode 100644 models/models/model_area_event_info.go delete mode 100644 models/models/model_area_of_interest_event_state.go delete mode 100644 models/models/model_area_of_validity.go delete mode 100644 models/models/model_area_scope.go delete mode 100644 models/models/model_arp.go delete mode 100644 models/models/model_as_session_with_qo_s_subscription.go delete mode 100644 models/models/model_as_session_with_qo_s_subscription_patch.go delete mode 100644 models/models/model_assign_ebi_data.go delete mode 100644 models/models/model_assign_ebi_error.go delete mode 100644 models/models/model_assign_ebi_failed.go delete mode 100644 models/models/model_assigned_ebi_data.go delete mode 100644 models/models/model_atom.go delete mode 100644 models/models/model_atsss_capability.go delete mode 100644 models/models/model_ausf_info.go delete mode 100644 models/models/model_ausf_so_r_protection_sor_info.go delete mode 100644 models/models/model_ausf_so_r_protection_steering_container.go delete mode 100644 models/models/model_ausf_so_r_protection_steering_info.go delete mode 100644 models/models/model_ausf_ue_authentication_auth_result.go delete mode 100644 models/models/model_ausf_ue_authentication_auth_type.go delete mode 100644 models/models/model_ausf_ue_authentication_rg_auth_ctx.go delete mode 100644 models/models/model_ausf_upu_protection_upu_data.go delete mode 100644 models/models/model_ausf_upu_protection_upu_info.go delete mode 100644 models/models/model_auth_event.go delete mode 100644 models/models/model_auth_method.go delete mode 100644 models/models/model_auth_notification.go delete mode 100644 models/models/model_auth_status.go delete mode 100644 models/models/model_auth_update_info.go delete mode 100644 models/models/model_auth_update_notification.go delete mode 100644 models/models/model_authentication_info.go delete mode 100644 models/models/model_authentication_subscription.go delete mode 100644 models/models/model_authentication_vector.go delete mode 100644 models/models/model_authorization_data.go delete mode 100644 models/models/model_authorization_info.go delete mode 100644 models/models/model_authorization_ue_id.go delete mode 100644 models/models/model_authorized_default_qos.go delete mode 100644 models/models/model_authorized_network_slice_info.go delete mode 100644 models/models/model_authorized_nssai_availability_data.go delete mode 100644 models/models/model_authorized_nssai_availability_info.go delete mode 100644 models/models/model_av5_g_he_aka.go delete mode 100644 models/models/model_av5g_aka.go delete mode 100644 models/models/model_av_eap_aka_prime.go delete mode 100644 models/models/model_av_eps_aka.go delete mode 100644 models/models/model_av_ims_gba_eap_aka.go delete mode 100644 models/models/model_av_type.go delete mode 100644 models/models/model_backup_amf_info.go delete mode 100644 models/models/model_base_record.go delete mode 100644 models/models/model_battery_indication.go delete mode 100644 models/models/model_battery_indication_rm.go delete mode 100644 models/models/model_bdt_data.go delete mode 100644 models/models/model_bdt_data_patch.go delete mode 100644 models/models/model_bdt_policy.go delete mode 100644 models/models/model_bdt_policy_data.go delete mode 100644 models/models/model_bdt_policy_data_patch.go delete mode 100644 models/models/model_bdt_policy_status.go delete mode 100644 models/models/model_bdt_req_data.go delete mode 100644 models/models/model_bdt_req_data_patch.go delete mode 100644 models/models/model_block.go delete mode 100644 models/models/model_bootstrapping_info.go delete mode 100644 models/models/model_bridge_management_container.go delete mode 100644 models/models/model_bw_requirement.go delete mode 100644 models/models/model_cache_status.go delete mode 100644 models/models/model_cag_ack_data.go delete mode 100644 models/models/model_cag_data.go delete mode 100644 models/models/model_cag_info.go delete mode 100644 models/models/model_call_reference_info.go delete mode 100644 models/models/model_called_identity_change.go delete mode 100644 models/models/model_cancel_pos_info.go delete mode 100644 models/models/model_cancel_relocate_ue_context_request.go delete mode 100644 models/models/model_candidate_for_replacement.go delete mode 100644 models/models/model_ce_mode_b_ind.go delete mode 100644 models/models/model_cell_global_id.go delete mode 100644 models/models/model_change_item.go delete mode 100644 models/models/model_change_of_supi_pei_association_report.go delete mode 100644 models/models/model_change_type.go delete mode 100644 models/models/model_charging_characteristics_selection_mode.go delete mode 100644 models/models/model_charging_data.go delete mode 100644 models/models/model_charging_info.go delete mode 100644 models/models/model_charging_information.go delete mode 100644 models/models/model_charging_notify_request.go delete mode 100644 models/models/model_charging_notify_response.go delete mode 100644 models/models/model_chf_converged_charging_charging_data_request.go delete mode 100644 models/models/model_chf_converged_charging_charging_data_response.go delete mode 100644 models/models/model_chf_converged_charging_multiple_qf_icontainer.go delete mode 100644 models/models/model_chf_converged_charging_multiple_unit_usage.go delete mode 100644 models/models/model_chf_converged_charging_nf_identification.go delete mode 100644 models/models/model_chf_converged_charging_node_functionality.go delete mode 100644 models/models/model_chf_converged_charging_notification_type.go delete mode 100644 models/models/model_chf_converged_charging_pdu_address.go delete mode 100644 models/models/model_chf_converged_charging_pdu_container_information.go delete mode 100644 models/models/model_chf_converged_charging_pdu_session_charging_information.go delete mode 100644 models/models/model_chf_converged_charging_pdu_session_information.go delete mode 100644 models/models/model_chf_converged_charging_qfi_container_information.go delete mode 100644 models/models/model_chf_converged_charging_qos_monitoring_report.go delete mode 100644 models/models/model_chf_converged_charging_redirect_address_type.go delete mode 100644 models/models/model_chf_converged_charging_result_code.go delete mode 100644 models/models/model_chf_converged_charging_roaming_charging_profile.go delete mode 100644 models/models/model_chf_converged_charging_roaming_qbc_information.go delete mode 100644 models/models/model_chf_converged_charging_serving_network_function_id.go delete mode 100644 models/models/model_chf_converged_charging_trigger.go delete mode 100644 models/models/model_chf_converged_charging_trigger_type.go delete mode 100644 models/models/model_chf_converged_charging_used_unit_container.go delete mode 100644 models/models/model_chf_converged_charging_user_information.go delete mode 100644 models/models/model_chf_info.go delete mode 100644 models/models/model_chf_offline_only_charging_charging_data_request.go delete mode 100644 models/models/model_chf_offline_only_charging_charging_data_response.go delete mode 100644 models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go delete mode 100644 models/models/model_chf_offline_only_charging_multiple_unit_usage.go delete mode 100644 models/models/model_chf_offline_only_charging_nf_identification.go delete mode 100644 models/models/model_chf_offline_only_charging_node_functionality.go delete mode 100644 models/models/model_chf_offline_only_charging_pdu_address.go delete mode 100644 models/models/model_chf_offline_only_charging_pdu_container_information.go delete mode 100644 models/models/model_chf_offline_only_charging_pdu_session_charging_information.go delete mode 100644 models/models/model_chf_offline_only_charging_pdu_session_information.go delete mode 100644 models/models/model_chf_offline_only_charging_qfi_container_information.go delete mode 100644 models/models/model_chf_offline_only_charging_result_code.go delete mode 100644 models/models/model_chf_offline_only_charging_roaming_charging_profile.go delete mode 100644 models/models/model_chf_offline_only_charging_roaming_qbc_information.go delete mode 100644 models/models/model_chf_offline_only_charging_serving_network_function_id.go delete mode 100644 models/models/model_chf_offline_only_charging_trigger.go delete mode 100644 models/models/model_chf_offline_only_charging_trigger_type.go delete mode 100644 models/models/model_chf_offline_only_charging_used_unit_container.go delete mode 100644 models/models/model_chf_offline_only_charging_user_information.go delete mode 100644 models/models/model_chf_spending_limit_control_termination_cause.go delete mode 100644 models/models/model_cipher_request_data.go delete mode 100644 models/models/model_cipher_response_data.go delete mode 100644 models/models/model_ciphering_algorithm.go delete mode 100644 models/models/model_ciphering_data_set.go delete mode 100644 models/models/model_ciphering_key_info.go delete mode 100644 models/models/model_ciphering_key_response.go delete mode 100644 models/models/model_ciphering_set_report.go delete mode 100644 models/models/model_circumstance_description.go delete mode 100644 models/models/model_civic_address.go delete mode 100644 models/models/model_class_criterion.go delete mode 100644 models/models/model_class_identifier.go delete mode 100644 models/models/model_client_id.go delete mode 100644 models/models/model_cm_info.go delete mode 100644 models/models/model_cm_info_report.go delete mode 100644 models/models/model_cm_state.go delete mode 100644 models/models/model_cn_assisted_ran_para.go delete mode 100644 models/models/model_cn_type.go delete mode 100644 models/models/model_cn_type_change_report.go delete mode 100644 models/models/model_cnf.go delete mode 100644 models/models/model_cnf_unit.go delete mode 100644 models/models/model_code_word_ind.go delete mode 100644 models/models/model_collection_period_rmm_lte_mdt.go delete mode 100644 models/models/model_collection_period_rmm_nr_mdt.go delete mode 100644 models/models/model_collective_behaviour_filter.go delete mode 100644 models/models/model_collective_behaviour_filter_type.go delete mode 100644 models/models/model_collective_behaviour_info.go delete mode 100644 models/models/model_collocated_nf_instance.go delete mode 100644 models/models/model_collocated_nf_type.go delete mode 100644 models/models/model_communication_characteristics.go delete mode 100644 models/models/model_communication_characteristics_af.go delete mode 100644 models/models/model_communication_collection.go delete mode 100644 models/models/model_communication_failure.go delete mode 100644 models/models/model_comparison_operator.go delete mode 100644 models/models/model_complex_query.go delete mode 100644 models/models/model_condition_data.go delete mode 100644 models/models/model_condition_event_type.go delete mode 100644 models/models/model_condition_operator.go delete mode 100644 models/models/model_configured_snssai.go delete mode 100644 models/models/model_confirmation_data.go delete mode 100644 models/models/model_confirmation_data_response.go delete mode 100644 models/models/model_congestion_info.go delete mode 100644 models/models/model_connection_capabilities.go delete mode 100644 models/models/model_consumer_nf_information.go delete mode 100644 models/models/model_context_create_req_data.go delete mode 100644 models/models/model_context_create_request.go delete mode 100644 models/models/model_context_create_response_201.go delete mode 100644 models/models/model_context_create_rsp_data.go delete mode 100644 models/models/model_context_data.go delete mode 100644 models/models/model_context_data_set_name.go delete mode 100644 models/models/model_context_data_sets.go delete mode 100644 models/models/model_context_element.go delete mode 100644 models/models/model_context_id_list.go delete mode 100644 models/models/model_context_info.go delete mode 100644 models/models/model_context_status_notification.go delete mode 100644 models/models/model_context_type.go delete mode 100644 models/models/model_context_update_request.go delete mode 100644 models/models/model_context_update_response_200.go delete mode 100644 models/models/model_core_network_service_authorization.go delete mode 100644 models/models/model_core_network_type.go delete mode 100644 models/models/model_coverage_info.go delete mode 100644 models/models/model_create_ue_context_request.go delete mode 100644 models/models/model_create_ue_context_response_201.go delete mode 100644 models/models/model_create_ue_context_response_403.go delete mode 100644 models/models/model_created_ue_reachability_subscription.go delete mode 100644 models/models/model_credit_management_status.go delete mode 100644 models/models/model_cs_location.go delete mode 100644 models/models/model_cs_user_state.go delete mode 100644 models/models/model_csg_information.go delete mode 100644 models/models/model_csrn.go delete mode 100644 models/models/model_data_availability.go delete mode 100644 models/models/model_data_change_notify.go delete mode 100644 models/models/model_data_collection_purpose.go delete mode 100644 models/models/model_data_filter.go delete mode 100644 models/models/model_data_ind.go delete mode 100644 models/models/model_data_notification.go delete mode 100644 models/models/model_data_set_id.go delete mode 100644 models/models/model_data_set_name.go delete mode 100644 models/models/model_data_subscription.go delete mode 100644 models/models/model_datalink_reporting_configuration.go delete mode 100644 models/models/model_dataset_statistical_property.go delete mode 100644 models/models/model_dccf_cond.go delete mode 100644 models/models/model_dccf_data_management_reporting_options.go delete mode 100644 models/models/model_dccf_event.go delete mode 100644 models/models/model_dccf_info.go delete mode 100644 models/models/model_ddd_traffic_descriptor.go delete mode 100644 models/models/model_ddn_failure_sub_info.go delete mode 100644 models/models/model_ddn_failure_subs.go delete mode 100644 models/models/model_deconceal_req_data.go delete mode 100644 models/models/model_deconceal_rsp_data.go delete mode 100644 models/models/model_def_sub_service_info.go delete mode 100644 models/models/model_default_notification_subscription.go delete mode 100644 models/models/model_default_unrelated_class.go delete mode 100644 models/models/model_deliver_add_info.go delete mode 100644 models/models/model_deliver_error.go delete mode 100644 models/models/model_deliver_request.go delete mode 100644 models/models/model_delivery_report_requested.go delete mode 100644 models/models/model_deregistration_info.go delete mode 100644 models/models/model_detecting_node.go delete mode 100644 models/models/model_determine_location_request.go delete mode 100644 models/models/model_direct_discovery_model.go delete mode 100644 models/models/model_dispersion_area.go delete mode 100644 models/models/model_dispersion_class.go delete mode 100644 models/models/model_dispersion_info.go delete mode 100644 models/models/model_dispersion_ordering_criterion.go delete mode 100644 models/models/model_dispersion_requirement.go delete mode 100644 models/models/model_dispersion_type.go delete mode 100644 models/models/model_dl_data_delivery_status.go delete mode 100644 models/models/model_dn_perf.go delete mode 100644 models/models/model_dn_perf_info.go delete mode 100644 models/models/model_dn_perf_ordering_criterion.go delete mode 100644 models/models/model_dn_performance_req.go delete mode 100644 models/models/model_dnai_change_type.go delete mode 100644 models/models/model_dnai_information.go delete mode 100644 models/models/model_dnf.go delete mode 100644 models/models/model_dnf_unit.go delete mode 100644 models/models/model_dnn_configuration.go delete mode 100644 models/models/model_dnn_easdf_info_item.go delete mode 100644 models/models/model_dnn_info.go delete mode 100644 models/models/model_dnn_info_item.go delete mode 100644 models/models/model_dnn_mb_smf_info_item.go delete mode 100644 models/models/model_dnn_route_selection_descriptor.go delete mode 100644 models/models/model_dnn_selection_mode.go delete mode 100644 models/models/model_dnn_smf_info_item.go delete mode 100644 models/models/model_dnn_snssai_information.go delete mode 100644 models/models/model_dnn_tsctsf_info_item.go delete mode 100644 models/models/model_dnn_upf_info_item.go delete mode 100644 models/models/model_dns_server_identifier.go delete mode 100644 models/models/model_domain_name_protocol.go delete mode 100644 models/models/model_downlink_data_notification_control.go delete mode 100644 models/models/model_downlink_data_notification_control_rm.go delete mode 100644 models/models/model_dsai_tag_information.go delete mode 100644 models/models/model_dsai_tag_status.go delete mode 100644 models/models/model_dynamic5_qi.go delete mode 100644 models/models/model_dynamic_policy.go delete mode 100644 models/models/model_eap_auth_method_response_200.go delete mode 100644 models/models/model_eap_session.go delete mode 100644 models/models/model_early_media_description.go delete mode 100644 models/models/model_eas_dep_notification.go delete mode 100644 models/models/model_eas_deploy_info_data.go delete mode 100644 models/models/model_eas_deploy_info_notif.go delete mode 100644 models/models/model_eas_deploy_sub_data.go delete mode 100644 models/models/model_eas_deployment_charging_information.go delete mode 100644 models/models/model_eas_event.go delete mode 100644 models/models/model_eas_ip_replacement_info.go delete mode 100644 models/models/model_eas_requirements.go delete mode 100644 models/models/model_eas_server_address.go delete mode 100644 models/models/model_easdf_info.go delete mode 100644 models/models/model_ebi_arp_mapping.go delete mode 100644 models/models/model_ec_restriction.go delete mode 100644 models/models/model_ecgi.go delete mode 100644 models/models/model_ecs_addr_config_info.go delete mode 100644 models/models/model_ecs_server_addr.go delete mode 100644 models/models/model_edge_infrastructure_usage_charging_information.go delete mode 100644 models/models/model_edrx_parameters.go delete mode 100644 models/models/model_ee_group_profile_data.go delete mode 100644 models/models/model_ee_monitoring_revoked.go delete mode 100644 models/models/model_ee_profile_data.go delete mode 100644 models/models/model_ee_subscription.go delete mode 100644 models/models/model_ee_subscription_ext.go delete mode 100644 models/models/model_ellipsoid_arc.go delete mode 100644 models/models/model_emergency_info.go delete mode 100644 models/models/model_enable_group_reachability_req_data.go delete mode 100644 models/models/model_enable_group_reachability_rsp_data.go delete mode 100644 models/models/model_enable_ue_reachability_req_data.go delete mode 100644 models/models/model_enable_ue_reachability_rsp_data.go delete mode 100644 models/models/model_endpoint_address.go delete mode 100644 models/models/model_enhanced_coverage_restriction_data.go delete mode 100644 models/models/model_enhanced_diagnostics5_g.go delete mode 100644 models/models/model_eps_bearer_info.go delete mode 100644 models/models/model_eps_interworking_indication.go delete mode 100644 models/models/model_eps_interworking_info.go delete mode 100644 models/models/model_eps_iwk_pgw.go delete mode 100644 models/models/model_eps_nas_ciphering_algorithm.go delete mode 100644 models/models/model_eps_nas_integrity_algorithm.go delete mode 100644 models/models/model_eps_nas_security_mode.go delete mode 100644 models/models/model_eps_pdn_cnx_info.go delete mode 100644 models/models/model_error_report.go delete mode 100644 models/models/model_eth_flow_description.go delete mode 100644 models/models/model_eth_flow_info.go delete mode 100644 models/models/model_ethernet_flow_info.go delete mode 100644 models/models/model_eutra_location.go delete mode 100644 models/models/model_event.go delete mode 100644 models/models/model_event_class.go delete mode 100644 models/models/model_event_for_mdt.go delete mode 100644 models/models/model_event_id.go delete mode 100644 models/models/model_event_notification.go delete mode 100644 models/models/model_event_param_report.go delete mode 100644 models/models/model_event_report_message.go delete mode 100644 models/models/model_event_report_mode.go delete mode 100644 models/models/model_event_reporting_requirement.go delete mode 100644 models/models/model_event_reporting_status.go delete mode 100644 models/models/model_events_subs.go delete mode 100644 models/models/model_events_subsc_put_data.go delete mode 100644 models/models/model_exception.go delete mode 100644 models/models/model_exception_id.go delete mode 100644 models/models/model_exception_info.go delete mode 100644 models/models/model_exception_trend.go delete mode 100644 models/models/model_exemption_ind.go delete mode 100644 models/models/model_expected_analytics_type.go delete mode 100644 models/models/model_expected_ue_behavior.go delete mode 100644 models/models/model_expected_ue_behaviour.go delete mode 100644 models/models/model_expected_ue_behaviour_data.go delete mode 100644 models/models/model_exposure_data_change_notification.go delete mode 100644 models/models/model_exposure_data_subscription.go delete mode 100644 models/models/model_ext_amf_event_subscription.go delete mode 100644 models/models/model_ext_snssai.go delete mode 100644 models/models/model_extended_sm_subs_data.go delete mode 100644 models/models/model_external_client_type.go delete mode 100644 models/models/model_external_unrelated_class.go delete mode 100644 models/models/model_failure.go delete mode 100644 models/models/model_failure_event_info.go delete mode 100644 models/models/model_failure_event_info_for_ml_model.go delete mode 100644 models/models/model_failure_handling.go delete mode 100644 models/models/model_fetch_instruction.go delete mode 100644 models/models/model_final_unit_action.go delete mode 100644 models/models/model_final_unit_indication.go delete mode 100644 models/models/model_fix_type.go delete mode 100644 models/models/model_flow_direction.go delete mode 100644 models/models/model_flow_direction_rm.go delete mode 100644 models/models/model_flow_info.go delete mode 100644 models/models/model_flow_information.go delete mode 100644 models/models/model_flow_status.go delete mode 100644 models/models/model_flow_usage.go delete mode 100644 models/models/model_flows.go delete mode 100644 models/models/model_formatting_instruction.go delete mode 100644 models/models/model_fqdn_pattern_matching_rule.go delete mode 100644 models/models/model_frame_route_info.go delete mode 100644 models/models/model_g_nb_id.go delete mode 100644 models/models/model_gad_shape.go delete mode 100644 models/models/model_gba_auth_type.go delete mode 100644 models/models/model_gba_authentication_info_request.go delete mode 100644 models/models/model_gba_authentication_info_result.go delete mode 100644 models/models/model_geo_loc.go delete mode 100644 models/models/model_geo_service_area.go delete mode 100644 models/models/model_geographic_area.go delete mode 100644 models/models/model_geographical_area.go delete mode 100644 models/models/model_geographical_coordinates.go delete mode 100644 models/models/model_gera_location.go delete mode 100644 models/models/model_global_ran_node_id.go delete mode 100644 models/models/model_gmlc_info.go delete mode 100644 models/models/model_gnss_id.go delete mode 100644 models/models/model_gnss_positioning_method_and_usage.go delete mode 100644 models/models/model_gpsi_type.go delete mode 100644 models/models/model_granted_unit.go delete mode 100644 models/models/model_group_identifiers.go delete mode 100644 models/models/model_guami.go delete mode 100644 models/models/model_guami_list_cond.go delete mode 100644 models/models/model_header_sip_request.go delete mode 100644 models/models/model_hfc_node_id.go delete mode 100644 models/models/model_high_accuracy_gnss_metrics.go delete mode 100644 models/models/model_historical_data.go delete mode 100644 models/models/model_ho_state.go delete mode 100644 models/models/model_horizontal_velocity.go delete mode 100644 models/models/model_horizontal_velocity_with_uncertainty.go delete mode 100644 models/models/model_horizontal_with_vertical_velocity.go delete mode 100644 models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go delete mode 100644 models/models/model_hsmf_update_data.go delete mode 100644 models/models/model_hsmf_update_error.go delete mode 100644 models/models/model_hsmf_updated_data.go delete mode 100644 models/models/model_hss_auth_type.go delete mode 100644 models/models/model_hss_auth_type_in_uri.go delete mode 100644 models/models/model_hss_authentication_info_request.go delete mode 100644 models/models/model_hss_authentication_info_result.go delete mode 100644 models/models/model_hss_authentication_vectors.go delete mode 100644 models/models/model_hss_av_type.go delete mode 100644 models/models/model_hss_info.go delete mode 100644 models/models/model_hss_subscription_info.go delete mode 100644 models/models/model_hss_subscription_item.go delete mode 100644 models/models/model_hssims_sdm_access_type.go delete mode 100644 models/models/model_hssims_sdm_data_set_name.go delete mode 100644 models/models/model_hssims_sdm_shared_data.go delete mode 100644 models/models/model_hssims_uecm_extended_problem_details.go delete mode 100644 models/models/model_id_translation_result.go delete mode 100644 models/models/model_identity_data.go delete mode 100644 models/models/model_identity_range.go delete mode 100644 models/models/model_identity_type.go delete mode 100644 models/models/model_idle_status_indication.go delete mode 100644 models/models/model_ifc.go delete mode 100644 models/models/model_ifcs.go delete mode 100644 models/models/model_imei_sv_information.go delete mode 100644 models/models/model_immediate_mdt_conf.go delete mode 100644 models/models/model_immediate_report.go delete mode 100644 models/models/model_ims_address.go delete mode 100644 models/models/model_ims_associated_identities.go delete mode 100644 models/models/model_ims_charging_information.go delete mode 100644 models/models/model_ims_location_data.go delete mode 100644 models/models/model_ims_node_functionality.go delete mode 100644 models/models/model_ims_profile_data.go delete mode 100644 models/models/model_ims_registration_state.go delete mode 100644 models/models/model_ims_registration_status.go delete mode 100644 models/models/model_ims_registration_type.go delete mode 100644 models/models/model_ims_sdm_subscription.go delete mode 100644 models/models/model_ims_service_profile.go delete mode 100644 models/models/model_ims_session_priority.go delete mode 100644 models/models/model_ims_vo_ps.go delete mode 100644 models/models/model_ims_voice_over_ps_session_support.go delete mode 100644 models/models/model_imsi_range.go delete mode 100644 models/models/model_indirect_data_forwarding_tunnel_info.go delete mode 100644 models/models/model_integrity_algorithm.go delete mode 100644 models/models/model_integrity_requirements.go delete mode 100644 models/models/model_inter_freq_target_info.go delete mode 100644 models/models/model_inter_operator_identifier.go delete mode 100644 models/models/model_interface_type.go delete mode 100644 models/models/model_interface_upf_info_item.go delete mode 100644 models/models/model_internal_group_id_range.go delete mode 100644 models/models/model_invalid_cause.go delete mode 100644 models/models/model_invalid_param.go delete mode 100644 models/models/model_invocation_result.go delete mode 100644 models/models/model_ip_addr.go delete mode 100644 models/models/model_ip_end_point.go delete mode 100644 models/models/model_ip_eth_flow_description.go delete mode 100644 models/models/model_ip_flow_info.go delete mode 100644 models/models/model_ip_multicast_address_info.go delete mode 100644 models/models/model_ip_packet_filter_set.go delete mode 100644 models/models/model_ip_reachability.go delete mode 100644 models/models/model_ip_sm_gw_address.go delete mode 100644 models/models/model_ip_sm_gw_guidance.go delete mode 100644 models/models/model_ip_sm_gw_info.go delete mode 100644 models/models/model_ip_sm_gw_registration.go delete mode 100644 models/models/model_iptv_config_data.go delete mode 100644 models/models/model_iptv_config_data_patch.go delete mode 100644 models/models/model_isup_cause.go delete mode 100644 models/models/model_iwmsc_info.go delete mode 100644 models/models/model_job_type.go delete mode 100644 models/models/model_key_amf.go delete mode 100644 models/models/model_key_amf_type.go delete mode 100644 models/models/model_key_type.go delete mode 100644 models/models/model_ladn_info.go delete mode 100644 models/models/model_lcs_broadcast_assistance_types_data.go delete mode 100644 models/models/model_lcs_client_class.go delete mode 100644 models/models/model_lcs_client_external.go delete mode 100644 models/models/model_lcs_client_group_external.go delete mode 100644 models/models/model_lcs_mo_data.go delete mode 100644 models/models/model_lcs_mo_service_class.go delete mode 100644 models/models/model_lcs_priority.go delete mode 100644 models/models/model_lcs_privacy.go delete mode 100644 models/models/model_lcs_privacy_data.go delete mode 100644 models/models/model_lcs_qos_class.go delete mode 100644 models/models/model_lcs_service_auth.go delete mode 100644 models/models/model_ldr_type.go delete mode 100644 models/models/model_limit_id_to_monitoring_key.go delete mode 100644 models/models/model_line_type.go delete mode 100644 models/models/model_link.go delete mode 100644 models/models/model_lmf_info.go delete mode 100644 models/models/model_lmf_location_cancel_loc_data.go delete mode 100644 models/models/model_lmf_location_event_notify_data.go delete mode 100644 models/models/model_lmf_location_geographical_coordinates.go delete mode 100644 models/models/model_lmf_location_input_data.go delete mode 100644 models/models/model_lmf_location_location_data.go delete mode 100644 models/models/model_lmf_location_termination_cause.go delete mode 100644 models/models/model_loc_context_data.go delete mode 100644 models/models/model_local2d_point_uncertainty_ellipse.go delete mode 100644 models/models/model_local3d_point_uncertainty_ellipsoid.go delete mode 100644 models/models/model_local_area.go delete mode 100644 models/models/model_local_origin.go delete mode 100644 models/models/model_location_area5_g.go delete mode 100644 models/models/model_location_area_id.go delete mode 100644 models/models/model_location_filter.go delete mode 100644 models/models/model_location_info.go delete mode 100644 models/models/model_location_info_request.go delete mode 100644 models/models/model_location_info_result.go delete mode 100644 models/models/model_location_privacy_ind.go delete mode 100644 models/models/model_location_privacy_ver_result.go delete mode 100644 models/models/model_location_qo_s.go delete mode 100644 models/models/model_location_report.go delete mode 100644 models/models/model_location_reporting_charging_information.go delete mode 100644 models/models/model_logging_duration_mdt.go delete mode 100644 models/models/model_logging_duration_nr_mdt.go delete mode 100644 models/models/model_logging_interval_mdt.go delete mode 100644 models/models/model_logging_interval_nr_mdt.go delete mode 100644 models/models/model_loose_route_indication.go delete mode 100644 models/models/model_loss_connectivity_cfg.go delete mode 100644 models/models/model_loss_connectivity_report.go delete mode 100644 models/models/model_loss_of_connectivity_reason.go delete mode 100644 models/models/model_lpi.go delete mode 100644 models/models/model_lte_m_ind.go delete mode 100644 models/models/model_lte_v2x_auth.go delete mode 100644 models/models/model_m5_qo_s_specification.go delete mode 100644 models/models/model_ma_pdu_indication.go delete mode 100644 models/models/model_ma_release_indication.go delete mode 100644 models/models/model_management_operation.go delete mode 100644 models/models/model_management_operation_status.go delete mode 100644 models/models/model_mapdu_session_information.go delete mode 100644 models/models/model_mapping_of_snssai.go delete mode 100644 models/models/model_matching_direction.go delete mode 100644 models/models/model_matching_operator.go delete mode 100644 models/models/model_max_integrity_protected_data_rate.go delete mode 100644 models/models/model_mb_smf_info.go delete mode 100644 models/models/model_mb_upf_info.go delete mode 100644 models/models/model_mbs_app_session_ctxt.go delete mode 100644 models/models/model_mbs_app_session_ctxt_patch.go delete mode 100644 models/models/model_mbs_error_report.go delete mode 100644 models/models/model_mbs_failure_code.go delete mode 100644 models/models/model_mbs_media_comp.go delete mode 100644 models/models/model_mbs_media_comp_rm.go delete mode 100644 models/models/model_mbs_media_info.go delete mode 100644 models/models/model_mbs_n2_message_transfer_req_data.go delete mode 100644 models/models/model_mbs_n2_message_transfer_rsp_data.go delete mode 100644 models/models/model_mbs_ngap_ie_type.go delete mode 100644 models/models/model_mbs_pcc_rule.go delete mode 100644 models/models/model_mbs_pcc_rule_status.go delete mode 100644 models/models/model_mbs_pcrt.go delete mode 100644 models/models/model_mbs_policy_ctxt_data.go delete mode 100644 models/models/model_mbs_policy_ctxt_data_update.go delete mode 100644 models/models/model_mbs_policy_data.go delete mode 100644 models/models/model_mbs_policy_decision.go delete mode 100644 models/models/model_mbs_qo_s_req.go delete mode 100644 models/models/model_mbs_qos_char.go delete mode 100644 models/models/model_mbs_qos_dec.go delete mode 100644 models/models/model_mbs_report.go delete mode 100644 models/models/model_mbs_service_area.go delete mode 100644 models/models/model_mbs_service_area_info.go delete mode 100644 models/models/model_mbs_service_info.go delete mode 100644 models/models/model_mbs_session_id.go delete mode 100644 models/models/model_mbs_subscription_data.go delete mode 100644 models/models/model_mbsfn_area.go delete mode 100644 models/models/model_mdt_configuration.go delete mode 100644 models/models/model_mdt_user_consent.go delete mode 100644 models/models/model_measurement_lte_for_mdt.go delete mode 100644 models/models/model_measurement_nr_for_mdt.go delete mode 100644 models/models/model_measurement_period_lte_mdt.go delete mode 100644 models/models/model_media_component.go delete mode 100644 models/models/model_media_component_resources_status.go delete mode 100644 models/models/model_media_component_rm.go delete mode 100644 models/models/model_media_initiator_flag.go delete mode 100644 models/models/model_media_streaming_access_record.go delete mode 100644 models/models/model_media_sub_component.go delete mode 100644 models/models/model_media_sub_component_rm.go delete mode 100644 models/models/model_media_type.go delete mode 100644 models/models/model_message_body.go delete mode 100644 models/models/model_message_class.go delete mode 100644 models/models/model_message_waiting_data.go delete mode 100644 models/models/model_meta_schema.go delete mode 100644 models/models/model_metering_method.go delete mode 100644 models/models/model_mfaf_info.go delete mode 100644 models/models/model_mico_mode_indication.go delete mode 100644 models/models/model_minor_location_qo_s.go delete mode 100644 models/models/model_ml_analytics_info.go delete mode 100644 models/models/model_ml_event_notif.go delete mode 100644 models/models/model_ml_event_subscription.go delete mode 100644 models/models/model_ml_model_addr.go delete mode 100644 models/models/model_ml_model_info.go delete mode 100644 models/models/model_mm_context.go delete mode 100644 models/models/model_mm_tel_charging_information.go delete mode 100644 models/models/model_mm_transaction_location_report_item.go delete mode 100644 models/models/model_mm_transaction_slice_report_item.go delete mode 100644 models/models/model_mme_capabilities.go delete mode 100644 models/models/model_mme_location_data.go delete mode 100644 models/models/model_mnpf_info.go delete mode 100644 models/models/model_mo_exp_data_counter.go delete mode 100644 models/models/model_model_info.go delete mode 100644 models/models/model_modification_notification.go delete mode 100644 models/models/model_modify_pdu_session_request.go delete mode 100644 models/models/model_modify_pdu_session_response_200.go delete mode 100644 models/models/model_modify_pdu_session_response_400.go delete mode 100644 models/models/model_modify_response_200.go delete mode 100644 models/models/model_modify_shared_data_subs_response_200.go delete mode 100644 models/models/model_modify_subscription_request.go delete mode 100644 models/models/model_modifysubscription_data_subscription_response_200.go delete mode 100644 models/models/model_monitoring_event.go delete mode 100644 models/models/model_motion_event_info.go delete mode 100644 models/models/model_mps_action.go delete mode 100644 models/models/model_ms_access_activity_collection.go delete mode 100644 models/models/model_ms_consumption_collection.go delete mode 100644 models/models/model_ms_dyn_policy_invocation_collection.go delete mode 100644 models/models/model_ms_net_ass_invocation_collection.go delete mode 100644 models/models/model_ms_qoe_metrics_collection.go delete mode 100644 models/models/model_msisdn_list.go delete mode 100644 models/models/model_mtc_provider.go delete mode 100644 models/models/model_multicast_access_control.go delete mode 100644 models/models/model_multicast_mbs_group_memb.go delete mode 100644 models/models/model_multiple_unit_information.go delete mode 100644 models/models/model_n1_message_class.go delete mode 100644 models/models/model_n1_message_container.go delete mode 100644 models/models/model_n1_message_notification.go delete mode 100644 models/models/model_n1_message_notify_request.go delete mode 100644 models/models/model_n1_n2_message_transfer_cause.go delete mode 100644 models/models/model_n1_n2_message_transfer_error.go delete mode 100644 models/models/model_n1_n2_message_transfer_req_data.go delete mode 100644 models/models/model_n1_n2_message_transfer_request.go delete mode 100644 models/models/model_n1_n2_message_transfer_rsp_data.go delete mode 100644 models/models/model_n1_n2_msg_txfr_err_detail.go delete mode 100644 models/models/model_n1_n2_msg_txfr_failure_notification.go delete mode 100644 models/models/model_n2_connection_charging_information.go delete mode 100644 models/models/model_n2_info_container.go delete mode 100644 models/models/model_n2_info_content.go delete mode 100644 models/models/model_n2_info_notification_rsp_data.go delete mode 100644 models/models/model_n2_info_notify_handover_complete_response_200.go delete mode 100644 models/models/model_n2_info_notify_reason.go delete mode 100644 models/models/model_n2_info_notify_request.go delete mode 100644 models/models/model_n2_information_class.go delete mode 100644 models/models/model_n2_information_notification.go delete mode 100644 models/models/model_n2_information_transfer_error.go delete mode 100644 models/models/model_n2_information_transfer_req_data.go delete mode 100644 models/models/model_n2_information_transfer_result.go delete mode 100644 models/models/model_n2_information_transfer_rsp_data.go delete mode 100644 models/models/model_n2_interface_amf_info.go delete mode 100644 models/models/model_n2_message_transfer_request.go delete mode 100644 models/models/model_n2_ran_information.go delete mode 100644 models/models/model_n2_sm_info_type.go delete mode 100644 models/models/model_n2_sm_information.go delete mode 100644 models/models/model_n3ga_location.go delete mode 100644 models/models/model_n4_information.go delete mode 100644 models/models/model_n4_message_type.go delete mode 100644 models/models/model_nas_security_mode.go delete mode 100644 models/models/model_ncgi.go delete mode 100644 models/models/model_ncgi_tai.go delete mode 100644 models/models/model_nef_authentication_auth_container.go delete mode 100644 models/models/model_nef_authentication_auth_result.go delete mode 100644 models/models/model_nef_authentication_uav_auth_info.go delete mode 100644 models/models/model_nef_authentication_uav_auth_response.go delete mode 100644 models/models/model_nef_charging_information.go delete mode 100644 models/models/model_nef_cond.go delete mode 100644 models/models/model_nef_event.go delete mode 100644 models/models/model_nef_event_exposure_notif.go delete mode 100644 models/models/model_nef_event_exposure_service_experience_info.go delete mode 100644 models/models/model_nef_event_exposure_subsc.go delete mode 100644 models/models/model_nef_event_exposure_target_ue_identification.go delete mode 100644 models/models/model_nef_event_filter.go delete mode 100644 models/models/model_nef_event_notification.go delete mode 100644 models/models/model_nef_event_subs.go delete mode 100644 models/models/model_nef_info.go delete mode 100644 models/models/model_nef_sm_context_deliver_req_data.go delete mode 100644 models/models/model_nef_sm_context_nidd_information.go delete mode 100644 models/models/model_nef_sm_context_release_cause.go delete mode 100644 models/models/model_nef_sm_context_sm_context_create_data.go delete mode 100644 models/models/model_nef_sm_context_sm_context_created_data.go delete mode 100644 models/models/model_nef_sm_context_sm_context_release_data.go delete mode 100644 models/models/model_nef_sm_context_sm_context_status_notification.go delete mode 100644 models/models/model_nef_sm_context_sm_context_update_data.go delete mode 100644 models/models/model_nef_traffic_influ_sub.go delete mode 100644 models/models/model_nef_traffic_influ_sub_patch.go delete mode 100644 models/models/model_net_loc_access_support.go delete mode 100644 models/models/model_network_area_info.go delete mode 100644 models/models/model_network_assistance_session.go delete mode 100644 models/models/model_network_node_diameter_address.go delete mode 100644 models/models/model_network_perf_info.go delete mode 100644 models/models/model_network_perf_requirement.go delete mode 100644 models/models/model_network_perf_type.go delete mode 100644 models/models/model_network_slice_cond.go delete mode 100644 models/models/model_network_slicing_info.go delete mode 100644 models/models/model_nf_group_cond.go delete mode 100644 models/models/model_nf_group_list_cond.go delete mode 100644 models/models/model_nf_identifier.go delete mode 100644 models/models/model_nf_info.go delete mode 100644 models/models/model_nf_instance_id_cond.go delete mode 100644 models/models/model_nf_instance_id_list_cond.go delete mode 100644 models/models/model_nf_instance_info.go delete mode 100644 models/models/model_nf_load_level_information.go delete mode 100644 models/models/model_nf_service_instance.go delete mode 100644 models/models/model_nf_service_set_cond.go delete mode 100644 models/models/model_nf_service_status.go delete mode 100644 models/models/model_nf_service_version.go delete mode 100644 models/models/model_nf_set_cond.go delete mode 100644 models/models/model_nf_type_cond.go delete mode 100644 models/models/model_ng_ap_cause.go delete mode 100644 models/models/model_ng_ksi.go delete mode 100644 models/models/model_ng_ran_target_id.go delete mode 100644 models/models/model_ngran_failure_event.go delete mode 100644 models/models/model_ngran_failure_indication.go delete mode 100644 models/models/model_nidd_auth_update_info.go delete mode 100644 models/models/model_nidd_auth_update_notification.go delete mode 100644 models/models/model_nidd_authorization_info.go delete mode 100644 models/models/model_nidd_cause.go delete mode 100644 models/models/model_nni_information.go delete mode 100644 models/models/model_nni_relationship_mode.go delete mode 100644 models/models/model_nni_session_direction.go delete mode 100644 models/models/model_nni_type.go delete mode 100644 models/models/model_nnwdaf_data_management_notif.go delete mode 100644 models/models/model_nnwdaf_data_management_subsc.go delete mode 100644 models/models/model_nnwdaf_events_subscription.go delete mode 100644 models/models/model_nnwdaf_events_subscription_notification.go delete mode 100644 models/models/model_no_profile_match_info.go delete mode 100644 models/models/model_no_profile_match_reason.go delete mode 100644 models/models/model_node_type.go delete mode 100644 models/models/model_non_dynamic5_qi.go delete mode 100644 models/models/model_non_ue_n2_info_notify_request.go delete mode 100644 models/models/model_non_ue_n2_info_subscription_create_data.go delete mode 100644 models/models/model_non_ue_n2_info_subscription_created_data.go delete mode 100644 models/models/model_non_ue_n2_message_transfer_request.go delete mode 100644 models/models/model_notif_condition.go delete mode 100644 models/models/model_notif_summary_report.go delete mode 100644 models/models/model_notif_type.go delete mode 100644 models/models/model_notification_cause.go delete mode 100644 models/models/model_notification_control.go delete mode 100644 models/models/model_notification_control_indication.go delete mode 100644 models/models/model_notification_description.go delete mode 100644 models/models/model_notification_event_type.go delete mode 100644 models/models/model_notification_flag.go delete mode 100644 models/models/model_notification_item.go delete mode 100644 models/models/model_notification_push.go delete mode 100644 models/models/model_notification_subscription.go delete mode 100644 models/models/model_notified_pos_info.go delete mode 100644 models/models/model_notify_item.go delete mode 100644 models/models/model_npn_access_info.go delete mode 100644 models/models/model_nr_location.go delete mode 100644 models/models/model_nr_v2x_auth.go delete mode 100644 models/models/model_nrf_access_token_access_token_claims.go delete mode 100644 models/models/model_nrf_access_token_access_token_req.go delete mode 100644 models/models/model_nrf_access_token_access_token_rsp.go delete mode 100644 models/models/model_nrf_info.go delete mode 100644 models/models/model_nrf_nf_discovery_nf_profile.go delete mode 100644 models/models/model_nrf_nf_discovery_nf_service.go delete mode 100644 models/models/model_nrf_nf_management_amf_info.go delete mode 100644 models/models/model_nrf_nf_management_bsf_info.go delete mode 100644 models/models/model_nrf_nf_management_ipv4_address_range.go delete mode 100644 models/models/model_nrf_nf_management_ipv6_prefix_range.go delete mode 100644 models/models/model_nrf_nf_management_mbs_session.go delete mode 100644 models/models/model_nrf_nf_management_nf_profile.go delete mode 100644 models/models/model_nrf_nf_management_nf_service.go delete mode 100644 models/models/model_nrf_nf_management_nf_status.go delete mode 100644 models/models/model_nrf_nf_management_nf_type.go delete mode 100644 models/models/model_nrf_nf_management_notification_data.go delete mode 100644 models/models/model_nrf_nf_management_notification_type.go delete mode 100644 models/models/model_nrf_nf_management_pfd_data.go delete mode 100644 models/models/model_nrf_nf_management_pro_se_capability.go delete mode 100644 models/models/model_nrf_nf_management_subscription_data.go delete mode 100644 models/models/model_nrf_nf_management_transport_protocol.go delete mode 100644 models/models/model_nrppa_information.go delete mode 100644 models/models/model_nsacf_capability.go delete mode 100644 models/models/model_nsacf_info.go delete mode 100644 models/models/model_nsag_info.go delete mode 100644 models/models/model_nsi_id_info.go delete mode 100644 models/models/model_nsi_information.go delete mode 100644 models/models/model_nsi_load_level_info.go delete mode 100644 models/models/model_nsm_charging_information.go delete mode 100644 models/models/model_nsmf_event_exposure.go delete mode 100644 models/models/model_nsmf_event_exposure_notification.go delete mode 100644 models/models/model_nspa_charging_information.go delete mode 100644 models/models/model_nspa_container_information.go delete mode 100644 models/models/model_nssaa_status.go delete mode 100644 models/models/model_nssaaf_info.go delete mode 100644 models/models/model_nssai.go delete mode 100644 models/models/model_nssai_ack_data.go delete mode 100644 models/models/model_nssai_availability_info.go delete mode 100644 models/models/model_nssai_map.go delete mode 100644 models/models/model_nssai_mapping.go delete mode 100644 models/models/model_nssf_event_notification.go delete mode 100644 models/models/model_nssf_event_subscription_create_data.go delete mode 100644 models/models/model_nssf_event_subscription_created_data.go delete mode 100644 models/models/model_nssf_event_type.go delete mode 100644 models/models/model_null_request.go delete mode 100644 models/models/model_number_average.go delete mode 100644 models/models/model_nwdaf_analytics_info_analytics_data.go delete mode 100644 models/models/model_nwdaf_analytics_info_event_filter.go delete mode 100644 models/models/model_nwdaf_capability.go delete mode 100644 models/models/model_nwdaf_cond.go delete mode 100644 models/models/model_nwdaf_data.go delete mode 100644 models/models/model_nwdaf_event.go delete mode 100644 models/models/model_nwdaf_events_subscription_accuracy.go delete mode 100644 models/models/model_nwdaf_events_subscription_congestion_type.go delete mode 100644 models/models/model_nwdaf_events_subscription_dispersion_collection.go delete mode 100644 models/models/model_nwdaf_events_subscription_event_notification.go delete mode 100644 models/models/model_nwdaf_events_subscription_event_subscription.go delete mode 100644 models/models/model_nwdaf_events_subscription_location_info.go delete mode 100644 models/models/model_nwdaf_events_subscription_nf_status.go delete mode 100644 models/models/model_nwdaf_events_subscription_notification_method.go delete mode 100644 models/models/model_nwdaf_events_subscription_service_experience_info.go delete mode 100644 models/models/model_nwdaf_failure_code.go delete mode 100644 models/models/model_nwdaf_info.go delete mode 100644 models/models/model_nwdaf_ml_model_prov_notif.go delete mode 100644 models/models/model_nwdaf_ml_model_prov_subsc.go delete mode 100644 models/models/model_nwdaf_ml_model_provision_failure_code.go delete mode 100644 models/models/model_nwdaf_registration.go delete mode 100644 models/models/model_nwdaf_registration_info.go delete mode 100644 models/models/model_nwdaf_registration_modification.go delete mode 100644 models/models/model_nwdaf_subscription.go delete mode 100644 models/models/model_observed_redundant_trans_exp.go delete mode 100644 models/models/model_occurrence_info.go delete mode 100644 models/models/model_odb_data.go delete mode 100644 models/models/model_odb_packet_services.go delete mode 100644 models/models/model_one_time_event_type.go delete mode 100644 models/models/model_op_event_type.go delete mode 100644 models/models/model_operation_event.go delete mode 100644 models/models/model_operation_mode.go delete mode 100644 models/models/model_operation_status.go delete mode 100644 models/models/model_operational_state.go delete mode 100644 models/models/model_operator_specific_data_container.go delete mode 100644 models/models/model_options_response.go delete mode 100644 models/models/model_originator_info.go delete mode 100644 models/models/model_originator_party_type.go delete mode 100644 models/models/model_out_of_credit_information.go delete mode 100644 models/models/model_output_strategy.go delete mode 100644 models/models/model_packet_filter_info.go delete mode 100644 models/models/model_parameter_processing_instruction.go delete mode 100644 models/models/model_partial_record_method.go delete mode 100644 models/models/model_partial_success_report.go delete mode 100644 models/models/model_participant_action_type.go delete mode 100644 models/models/model_partitioning_criteria.go delete mode 100644 models/models/model_patch_bdt_policy.go delete mode 100644 models/models/model_patch_item.go delete mode 100644 models/models/model_patch_operation.go delete mode 100644 models/models/model_patch_result.go delete mode 100644 models/models/model_pc5_capability.go delete mode 100644 models/models/model_pc5_container_information.go delete mode 100644 models/models/model_pc5_data_container.go delete mode 100644 models/models/model_pc5_flow_bit_rates.go delete mode 100644 models/models/model_pc5_qo_s_para.go delete mode 100644 models/models/model_pc5_qos_flow_item.go delete mode 100644 models/models/model_pc_event.go delete mode 100644 models/models/model_pc_event_exposure_notif.go delete mode 100644 models/models/model_pc_event_exposure_subsc.go delete mode 100644 models/models/model_pc_event_notification.go delete mode 100644 models/models/model_pcc_rule.go delete mode 100644 models/models/model_pcf_addressing_info.go delete mode 100644 models/models/model_pcf_am_policy_control_as_time_distribution_param.go delete mode 100644 models/models/model_pcf_am_policy_control_policy_association.go delete mode 100644 models/models/model_pcf_am_policy_control_policy_association_request.go delete mode 100644 models/models/model_pcf_am_policy_control_policy_association_update_request.go delete mode 100644 models/models/model_pcf_am_policy_control_policy_update.go delete mode 100644 models/models/model_pcf_am_policy_control_request_trigger.go delete mode 100644 models/models/model_pcf_am_policy_control_termination_notification.go delete mode 100644 models/models/model_pcf_bdt_policy_control_bdt_policy_data.go delete mode 100644 models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go delete mode 100644 models/models/model_pcf_bdt_policy_control_notification.go delete mode 100644 models/models/model_pcf_bdt_policy_control_transfer_policy.go delete mode 100644 models/models/model_pcf_event_exposure_pdu_session_information.go delete mode 100644 models/models/model_pcf_info.go delete mode 100644 models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go delete mode 100644 models/models/model_pcf_policy_authorization_af_event.go delete mode 100644 models/models/model_pcf_policy_authorization_af_event_notification.go delete mode 100644 models/models/model_pcf_policy_authorization_events_notification.go delete mode 100644 models/models/model_pcf_policy_authorization_events_subsc_req_data.go delete mode 100644 models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go delete mode 100644 models/models/model_pcf_policy_authorization_extended_problem_details.go delete mode 100644 models/models/model_pcf_policy_authorization_pdu_session_status.go delete mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_information.go delete mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go delete mode 100644 models/models/model_pcf_policy_authorization_qos_monitoring_report.go delete mode 100644 models/models/model_pcf_policy_authorization_qos_notification_control_info.go delete mode 100644 models/models/model_pcf_policy_authorization_termination_cause.go delete mode 100644 models/models/model_pcf_selection_assistance_info.go delete mode 100644 models/models/model_pcf_sm_policy_control_atsss_capability.go delete mode 100644 models/models/model_pcf_sm_policy_control_failure_cause.go delete mode 100644 models/models/model_pcf_sm_policy_control_failure_code.go delete mode 100644 models/models/model_pcf_sm_policy_control_multicast_access_control.go delete mode 100644 models/models/model_pcf_sm_policy_control_qos_monitoring_report.go delete mode 100644 models/models/model_pcf_sm_policy_control_qos_notification_control_info.go delete mode 100644 models/models/model_pcf_sm_policy_control_redirect_address_type.go delete mode 100644 models/models/model_pcf_sm_policy_control_termination_notification.go delete mode 100644 models/models/model_pcf_ue_callback_info.go delete mode 100644 models/models/model_pcf_ue_policy_control_policy_association.go delete mode 100644 models/models/model_pcf_ue_policy_control_policy_association_request.go delete mode 100644 models/models/model_pcf_ue_policy_control_policy_association_update_request.go delete mode 100644 models/models/model_pcf_ue_policy_control_policy_update.go delete mode 100644 models/models/model_pcf_ue_policy_control_pro_se_capability.go delete mode 100644 models/models/model_pcf_ue_policy_control_request_trigger.go delete mode 100644 models/models/model_pcf_ue_policy_control_termination_notification.go delete mode 100644 models/models/model_pcscf_address.go delete mode 100644 models/models/model_pcscf_info.go delete mode 100644 models/models/model_pcscf_restoration_notification.go delete mode 100644 models/models/model_pcscf_restoration_request_data.go delete mode 100644 models/models/model_pdn_connectivity_stat_report.go delete mode 100644 models/models/model_pdn_connectivity_status.go delete mode 100644 models/models/model_pdu_session.go delete mode 100644 models/models/model_pdu_session_context.go delete mode 100644 models/models/model_pdu_session_context_type.go delete mode 100644 models/models/model_pdu_session_continuity_ind.go delete mode 100644 models/models/model_pdu_session_create_data.go delete mode 100644 models/models/model_pdu_session_create_error.go delete mode 100644 models/models/model_pdu_session_created_data.go delete mode 100644 models/models/model_pdu_session_event_notification.go delete mode 100644 models/models/model_pdu_session_info.go delete mode 100644 models/models/model_pdu_session_management_data.go delete mode 100644 models/models/model_pdu_session_notify_item.go delete mode 100644 models/models/model_pdu_session_rel_cause.go delete mode 100644 models/models/model_pdu_session_status.go delete mode 100644 models/models/model_pdu_session_tsn_bridge.go delete mode 100644 models/models/model_pdu_session_type.go delete mode 100644 models/models/model_pdu_session_types.go delete mode 100644 models/models/model_pduid_information.go delete mode 100644 models/models/model_pei_update_info.go delete mode 100644 models/models/model_pending_policy_counter_status.go delete mode 100644 models/models/model_per_ue_attribute.go delete mode 100644 models/models/model_perf_data.go delete mode 100644 models/models/model_performance_data.go delete mode 100644 models/models/model_performance_data_collection.go delete mode 100644 models/models/model_performance_data_info.go delete mode 100644 models/models/model_periodic_communication_indicator.go delete mode 100644 models/models/model_periodic_event_info.go delete mode 100644 models/models/model_periodicity.go delete mode 100644 models/models/model_pfd_change_notification.go delete mode 100644 models/models/model_pfd_change_report.go delete mode 100644 models/models/model_pfd_content.go delete mode 100644 models/models/model_pfd_data_for_app.go delete mode 100644 models/models/model_pfd_data_for_app_ext.go delete mode 100644 models/models/model_pfd_operation.go delete mode 100644 models/models/model_pfd_subscription.go delete mode 100644 models/models/model_pfi_container_information.go delete mode 100644 models/models/model_pgw_info.go delete mode 100644 models/models/model_play_to_party.go delete mode 100644 models/models/model_plmn_ec_info.go delete mode 100644 models/models/model_plmn_id.go delete mode 100644 models/models/model_plmn_id_nid.go delete mode 100644 models/models/model_plmn_oauth2.go delete mode 100644 models/models/model_plmn_operator_class.go delete mode 100644 models/models/model_plmn_range.go delete mode 100644 models/models/model_plmn_restriction.go delete mode 100644 models/models/model_plmn_route_selection_descriptor.go delete mode 100644 models/models/model_plmn_snssai.go delete mode 100644 models/models/model_point.go delete mode 100644 models/models/model_point_altitude.go delete mode 100644 models/models/model_point_altitude_uncertainty.go delete mode 100644 models/models/model_point_uncertainty_circle.go delete mode 100644 models/models/model_point_uncertainty_ellipse.go delete mode 100644 models/models/model_policy_association_release_cause.go delete mode 100644 models/models/model_policy_control_request_trigger.go delete mode 100644 models/models/model_policy_counter_info.go delete mode 100644 models/models/model_policy_data_change_notification.go delete mode 100644 models/models/model_policy_data_for_individual_ue.go delete mode 100644 models/models/model_policy_data_subscription.go delete mode 100644 models/models/model_policy_data_subset.go delete mode 100644 models/models/model_policy_decision_failure_code.go delete mode 100644 models/models/model_policy_req_trigger.go delete mode 100644 models/models/model_polygon.go delete mode 100644 models/models/model_port_management_container.go delete mode 100644 models/models/model_positioning_method.go delete mode 100644 models/models/model_positioning_method_and_usage.go delete mode 100644 models/models/model_positioning_method_mdt.go delete mode 100644 models/models/model_positioning_mode.go delete mode 100644 models/models/model_post_charging_data_response_400.go delete mode 100644 models/models/model_post_charging_data_response_403.go delete mode 100644 models/models/model_post_charging_data_response_404.go delete mode 100644 models/models/model_post_charging_notification_response_400.go delete mode 100644 models/models/model_post_pdu_sessions_request.go delete mode 100644 models/models/model_post_pdu_sessions_response_201.go delete mode 100644 models/models/model_post_pdu_sessions_response_400.go delete mode 100644 models/models/model_post_sm_contexts_request.go delete mode 100644 models/models/model_post_sm_contexts_response_201.go delete mode 100644 models/models/model_post_sm_contexts_response_400.go delete mode 100644 models/models/model_pp5g_mbs_group_profile_data.go delete mode 100644 models/models/model_pp5g_vn_group_profile_data.go delete mode 100644 models/models/model_pp_active_time.go delete mode 100644 models/models/model_pp_data.go delete mode 100644 models/models/model_pp_data_entry.go delete mode 100644 models/models/model_pp_data_entry_list.go delete mode 100644 models/models/model_pp_dl_packet_count_ext.go delete mode 100644 models/models/model_pp_maximum_latency.go delete mode 100644 models/models/model_pp_maximum_response_time.go delete mode 100644 models/models/model_pp_profile_data.go delete mode 100644 models/models/model_pp_subs_reg_timer.go delete mode 100644 models/models/model_preemption_capability.go delete mode 100644 models/models/model_preemption_capability_rm.go delete mode 100644 models/models/model_preemption_control_information.go delete mode 100644 models/models/model_preemption_control_information_rm.go delete mode 100644 models/models/model_preemption_vulnerability.go delete mode 100644 models/models/model_preemption_vulnerability_rm.go delete mode 100644 models/models/model_preferred_search.go delete mode 100644 models/models/model_presence_info.go delete mode 100644 models/models/model_presence_info_rm.go delete mode 100644 models/models/model_presence_state.go delete mode 100644 models/models/model_prev_sub_info.go delete mode 100644 models/models/model_priority_levels.go delete mode 100644 models/models/model_priority_sharing_indicator.go delete mode 100644 models/models/model_privacy_check_related_action.go delete mode 100644 models/models/model_private_identities.go delete mode 100644 models/models/model_private_identity.go delete mode 100644 models/models/model_private_identity_type.go delete mode 100644 models/models/model_pro_se_allowed_plmn.go delete mode 100644 models/models/model_pro_se_auth_data.go delete mode 100644 models/models/model_pro_se_authentication_ctx.go delete mode 100644 models/models/model_pro_se_authentication_info.go delete mode 100644 models/models/model_pro_se_authentication_info_request.go delete mode 100644 models/models/model_pro_se_authentication_info_result.go delete mode 100644 models/models/model_pro_se_authentication_result.go delete mode 100644 models/models/model_pro_se_authentication_vectors.go delete mode 100644 models/models/model_pro_se_eap_session.go delete mode 100644 models/models/model_pro_se_information.go delete mode 100644 models/models/model_problem_details.go delete mode 100644 models/models/model_problem_details_add_info.go delete mode 100644 models/models/model_problem_details_analytics_info_request.go delete mode 100644 models/models/model_problem_details_enable_ue_reachability.go delete mode 100644 models/models/model_processing_instruction.go delete mode 100644 models/models/model_prose_auth_response_200.go delete mode 100644 models/models/model_prose_charging_information.go delete mode 100644 models/models/model_prose_context.go delete mode 100644 models/models/model_prose_direct_allowed.go delete mode 100644 models/models/model_prose_event_type.go delete mode 100644 models/models/model_prose_functionality.go delete mode 100644 models/models/model_prose_service_auth.go delete mode 100644 models/models/model_prose_subscription_data.go delete mode 100644 models/models/model_protection_result.go delete mode 100644 models/models/model_provide_loc_info.go delete mode 100644 models/models/model_provide_pos_info.go delete mode 100644 models/models/model_provisioned_data_sets.go delete mode 100644 models/models/model_ps_cell_information.go delete mode 100644 models/models/model_ps_location.go delete mode 100644 models/models/model_ps_user_state.go delete mode 100644 models/models/model_psa_indication.go delete mode 100644 models/models/model_psa_information.go delete mode 100644 models/models/model_psi_activation_state.go delete mode 100644 models/models/model_ptw_parameters.go delete mode 100644 models/models/model_public_identifier.go delete mode 100644 models/models/model_public_identities.go delete mode 100644 models/models/model_public_identity.go delete mode 100644 models/models/model_pws_error_data.go delete mode 100644 models/models/model_pws_information.go delete mode 100644 models/models/model_pws_response_data.go delete mode 100644 models/models/model_qos_characteristics.go delete mode 100644 models/models/model_qos_data.go delete mode 100644 models/models/model_qos_flow_access_type.go delete mode 100644 models/models/model_qos_flow_item.go delete mode 100644 models/models/model_qos_flow_notify_item.go delete mode 100644 models/models/model_qos_flow_release_request_item.go delete mode 100644 models/models/model_qos_flow_setup_item.go delete mode 100644 models/models/model_qos_flow_tunnel.go delete mode 100644 models/models/model_qos_flow_usage.go delete mode 100644 models/models/model_qos_flow_usage_report.go delete mode 100644 models/models/model_qos_flows_usage_report.go delete mode 100644 models/models/model_qos_monitoring_data.go delete mode 100644 models/models/model_qos_monitoring_info.go delete mode 100644 models/models/model_qos_monitoring_information.go delete mode 100644 models/models/model_qos_monitoring_information_rm.go delete mode 100644 models/models/model_qos_monitoring_report.go delete mode 100644 models/models/model_qos_monitoring_req.go delete mode 100644 models/models/model_qos_notif_type.go delete mode 100644 models/models/model_qos_requirement.go delete mode 100644 models/models/model_qos_resource_type.go delete mode 100644 models/models/model_qos_sustainability_info.go delete mode 100644 models/models/model_query_param_combination.go delete mode 100644 models/models/model_query_parameter.go delete mode 100644 models/models/model_quota_consumption_indicator.go delete mode 100644 models/models/model_quota_management_indicator.go delete mode 100644 models/models/model_radio_parameter_set_info.go delete mode 100644 models/models/model_radio_resources_id.go delete mode 100644 models/models/model_ran_nas_rel_cause.go delete mode 100644 models/models/model_ran_secondary_rat_usage_report.go delete mode 100644 models/models/model_range_class.go delete mode 100644 models/models/model_ranking_criterion.go delete mode 100644 models/models/model_rat_freq_information.go delete mode 100644 models/models/model_rat_selector.go delete mode 100644 models/models/model_rat_type.go delete mode 100644 models/models/model_reachability_filter.go delete mode 100644 models/models/model_reachability_for_data_report_config.go delete mode 100644 models/models/model_reachability_for_sms_configuration.go delete mode 100644 models/models/model_reachability_notification_data.go delete mode 100644 models/models/model_reachability_report.go delete mode 100644 models/models/model_reachable_ue_info.go delete mode 100644 models/models/model_reauthorization_details.go delete mode 100644 models/models/model_recipient_address.go delete mode 100644 models/models/model_recipient_info.go delete mode 100644 models/models/model_record.go delete mode 100644 models/models/model_record_id_list.go delete mode 100644 models/models/model_record_meta.go delete mode 100644 models/models/model_record_notification.go delete mode 100644 models/models/model_record_operation.go delete mode 100644 models/models/model_record_search_result.go delete mode 100644 models/models/model_red_trans_exp_ordering_criterion.go delete mode 100644 models/models/model_redirect_information.go delete mode 100644 models/models/model_redirect_response.go delete mode 100644 models/models/model_redirect_server.go delete mode 100644 models/models/model_redundant_pdu_session_information.go delete mode 100644 models/models/model_redundant_transmission_exp_info.go delete mode 100644 models/models/model_redundant_transmission_exp_per_ts.go delete mode 100644 models/models/model_redundant_transmission_exp_req.go delete mode 100644 models/models/model_redundant_transmission_type.go delete mode 100644 models/models/model_ref_to_binary_data.go delete mode 100644 models/models/model_reference_location_information.go delete mode 100644 models/models/model_reflective_qo_s_attribute.go delete mode 100644 models/models/model_registration_charging_information.go delete mode 100644 models/models/model_registration_context_container.go delete mode 100644 models/models/model_registration_data_set_name.go delete mode 100644 models/models/model_registration_data_sets.go delete mode 100644 models/models/model_registration_location_info.go delete mode 100644 models/models/model_registration_message_type.go delete mode 100644 models/models/model_registration_reason.go delete mode 100644 models/models/model_registration_type.go delete mode 100644 models/models/model_relative_cartesian_location.go delete mode 100644 models/models/model_release_charging_data_response_404.go delete mode 100644 models/models/model_release_data.go delete mode 100644 models/models/model_release_pdu_session_request.go delete mode 100644 models/models/model_release_pdu_session_response_200.go delete mode 100644 models/models/model_release_session_info.go delete mode 100644 models/models/model_release_sm_context_request.go delete mode 100644 models/models/model_released_data.go delete mode 100644 models/models/model_relocate_ue_context_request.go delete mode 100644 models/models/model_reply_path_requested.go delete mode 100644 models/models/model_report_amount_mdt.go delete mode 100644 models/models/model_report_interval_mdt.go delete mode 100644 models/models/model_report_interval_nr_mdt.go delete mode 100644 models/models/model_report_item.go delete mode 100644 models/models/model_report_type_mdt.go delete mode 100644 models/models/model_reported_event_type.go delete mode 100644 models/models/model_reporting_access_type.go delete mode 100644 models/models/model_reporting_area.go delete mode 100644 models/models/model_reporting_area_type.go delete mode 100644 models/models/model_reporting_frequency.go delete mode 100644 models/models/model_reporting_information.go delete mode 100644 models/models/model_reporting_level.go delete mode 100644 models/models/model_reporting_trigger.go delete mode 100644 models/models/model_repository_data.go delete mode 100644 models/models/model_repository_data_list.go delete mode 100644 models/models/model_request_direction.go delete mode 100644 models/models/model_request_indication.go delete mode 100644 models/models/model_request_loc_info.go delete mode 100644 models/models/model_request_pos_info.go delete mode 100644 models/models/model_request_type.go delete mode 100644 models/models/model_requested_context.go delete mode 100644 models/models/model_requested_node.go delete mode 100644 models/models/model_requested_qos.go delete mode 100644 models/models/model_requested_qos_monitoring_parameter.go delete mode 100644 models/models/model_requested_rule_data.go delete mode 100644 models/models/model_requested_rule_data_type.go delete mode 100644 models/models/model_requested_unit.go delete mode 100644 models/models/model_requested_usage_data.go delete mode 100644 models/models/model_required_access_info.go delete mode 100644 models/models/model_reserv_priority.go delete mode 100644 models/models/model_resource_item.go delete mode 100644 models/models/model_resource_status.go delete mode 100644 models/models/model_resource_usage.go delete mode 100644 models/models/model_resources_allocation_info.go delete mode 100644 models/models/model_response_time.go delete mode 100644 models/models/model_restricted_snssai.go delete mode 100644 models/models/model_restriction_type.go delete mode 100644 models/models/model_resynchronization_info.go delete mode 100644 models/models/model_retainability_threshold.go delete mode 100644 models/models/model_retrieve_data.go delete mode 100644 models/models/model_retrieve_records.go delete mode 100644 models/models/model_retrieved_data.go delete mode 100644 models/models/model_revoked_cause.go delete mode 100644 models/models/model_rg_authentication_info.go delete mode 100644 models/models/model_rm_info.go delete mode 100644 models/models/model_rm_state.go delete mode 100644 models/models/model_roamer_in_out.go delete mode 100644 models/models/model_roaming_indication.go delete mode 100644 models/models/model_roaming_info_update.go delete mode 100644 models/models/model_roaming_odb.go delete mode 100644 models/models/model_roaming_restrictions.go delete mode 100644 models/models/model_roaming_status_report.go delete mode 100644 models/models/model_role_of_ims_node.go delete mode 100644 models/models/model_role_of_ue.go delete mode 100644 models/models/model_route_information.go delete mode 100644 models/models/model_route_selection_parameter_set.go delete mode 100644 models/models/model_route_to_location.go delete mode 100644 models/models/model_routing_area_id.go delete mode 100644 models/models/model_routing_info_sm_request.go delete mode 100644 models/models/model_routing_info_sm_response.go delete mode 100644 models/models/model_rsn.go delete mode 100644 models/models/model_rule_operation.go delete mode 100644 models/models/model_rule_report.go delete mode 100644 models/models/model_rule_status.go delete mode 100644 models/models/model_sac_event.go delete mode 100644 models/models/model_sac_event_report.go delete mode 100644 models/models/model_sac_event_report_item.go delete mode 100644 models/models/model_sac_event_state.go delete mode 100644 models/models/model_sac_event_status.go delete mode 100644 models/models/model_sac_event_subscription.go delete mode 100644 models/models/model_sac_event_trigger.go delete mode 100644 models/models/model_sac_event_type.go delete mode 100644 models/models/model_sac_info.go delete mode 100644 models/models/model_satellite_backhaul_category.go delete mode 100644 models/models/model_sbi_binding_level.go delete mode 100644 models/models/model_sc_type.go delete mode 100644 models/models/model_scheduled_communication_time.go delete mode 100644 models/models/model_scheduled_communication_time_rm.go delete mode 100644 models/models/model_scheduled_communication_type.go delete mode 100644 models/models/model_scheduled_communication_type_rm.go delete mode 100644 models/models/model_scp_capability.go delete mode 100644 models/models/model_scp_domain_cond.go delete mode 100644 models/models/model_scp_domain_connectivity.go delete mode 100644 models/models/model_scp_domain_info.go delete mode 100644 models/models/model_scp_domain_routing_info_notification.go delete mode 100644 models/models/model_scp_domain_routing_info_subscription.go delete mode 100644 models/models/model_scp_domain_routing_information.go delete mode 100644 models/models/model_scp_info.go delete mode 100644 models/models/model_scscf_capability_list.go delete mode 100644 models/models/model_scscf_registration.go delete mode 100644 models/models/model_scscf_selection_assistance_information.go delete mode 100644 models/models/model_sd_range.go delete mode 100644 models/models/model_sdm_subs_modification.go delete mode 100644 models/models/model_sdm_subscription.go delete mode 100644 models/models/model_sdp_description.go delete mode 100644 models/models/model_sdp_media_component.go delete mode 100644 models/models/model_sdp_time_stamps.go delete mode 100644 models/models/model_sdp_type.go delete mode 100644 models/models/model_seaf_data.go delete mode 100644 models/models/model_search_comparison.go delete mode 100644 models/models/model_search_condition.go delete mode 100644 models/models/model_search_expression.go delete mode 100644 models/models/model_search_result.go delete mode 100644 models/models/model_secondary_rat_usage_info.go delete mode 100644 models/models/model_secondary_rat_usage_report.go delete mode 100644 models/models/model_security_result.go delete mode 100644 models/models/model_send_mo_data_req_data.go delete mode 100644 models/models/model_send_mo_data_request.go delete mode 100644 models/models/model_send_sms_request.go delete mode 100644 models/models/model_send_sms_response_200.go delete mode 100644 models/models/model_sensor_measurement.go delete mode 100644 models/models/model_sepp_info.go delete mode 100644 models/models/model_sequence_number.go delete mode 100644 models/models/model_serv_auth_info.go delete mode 100644 models/models/model_server_addressing_info.go delete mode 100644 models/models/model_server_capabilities.go delete mode 100644 models/models/model_service_area_coverage_info.go delete mode 100644 models/models/model_service_area_id.go delete mode 100644 models/models/model_service_area_restriction.go delete mode 100644 models/models/model_service_data_flow_description.go delete mode 100644 models/models/model_service_experience_info_per_app.go delete mode 100644 models/models/model_service_experience_info_per_flow.go delete mode 100644 models/models/model_service_experience_type.go delete mode 100644 models/models/model_service_identification.go delete mode 100644 models/models/model_service_info_status.go delete mode 100644 models/models/model_service_information.go delete mode 100644 models/models/model_service_level_trace_information.go delete mode 100644 models/models/model_service_name.go delete mode 100644 models/models/model_service_name_cond.go delete mode 100644 models/models/model_service_name_list_cond.go delete mode 100644 models/models/model_service_parameter_data.go delete mode 100644 models/models/model_service_parameter_data_patch.go delete mode 100644 models/models/model_service_profile_charging_information.go delete mode 100644 models/models/model_service_specific_authorization_data.go delete mode 100644 models/models/model_service_specific_authorization_info.go delete mode 100644 models/models/model_service_specific_authorization_remove_data.go delete mode 100644 models/models/model_service_type.go delete mode 100644 models/models/model_service_type_unrelated_class.go delete mode 100644 models/models/model_serving_location.go delete mode 100644 models/models/model_serving_nf_identity.go delete mode 100644 models/models/model_serving_node_address.go delete mode 100644 models/models/model_sess_inact_timer_for_ue_comm.go delete mode 100644 models/models/model_session_failover.go delete mode 100644 models/models/model_session_management_subscription_data.go delete mode 100644 models/models/model_session_rule.go delete mode 100644 models/models/model_session_rule_failure_code.go delete mode 100644 models/models/model_session_rule_report.go delete mode 100644 models/models/model_sgsn_address.go delete mode 100644 models/models/model_sgsn_location_data.go delete mode 100644 models/models/model_shared_data_id_range.go delete mode 100644 models/models/model_shared_data_treatment_instruction.go delete mode 100644 models/models/model_sharing_level.go delete mode 100644 models/models/model_sign.go delete mode 100644 models/models/model_sip_event_type.go delete mode 100644 models/models/model_sip_forking_indication.go delete mode 100644 models/models/model_slice_info_for_pdu_session.go delete mode 100644 models/models/model_slice_info_for_registration.go delete mode 100644 models/models/model_slice_info_for_ue_configuration_update.go delete mode 100644 models/models/model_slice_load_level_information.go delete mode 100644 models/models/model_slice_mbr.go delete mode 100644 models/models/model_slice_mbr_rm.go delete mode 100644 models/models/model_slice_policy_data.go delete mode 100644 models/models/model_sm_address_domain.go delete mode 100644 models/models/model_sm_address_info.go delete mode 100644 models/models/model_sm_address_type.go delete mode 100644 models/models/model_sm_addressee_type.go delete mode 100644 models/models/model_sm_context.go delete mode 100644 models/models/model_sm_context_configuration.go delete mode 100644 models/models/model_sm_context_create_error.go delete mode 100644 models/models/model_sm_context_released_data.go delete mode 100644 models/models/model_sm_context_retrieve_data.go delete mode 100644 models/models/model_sm_context_retrieved_data.go delete mode 100644 models/models/model_sm_context_status.go delete mode 100644 models/models/model_sm_context_type.go delete mode 100644 models/models/model_sm_context_update_error.go delete mode 100644 models/models/model_sm_context_updated_data.go delete mode 100644 models/models/model_sm_delivery_status.go delete mode 100644 models/models/model_sm_interface.go delete mode 100644 models/models/model_sm_message_type.go delete mode 100644 models/models/model_sm_nas_from_smf.go delete mode 100644 models/models/model_sm_nas_from_ue.go delete mode 100644 models/models/model_sm_policy_association_release_cause.go delete mode 100644 models/models/model_sm_policy_context_data.go delete mode 100644 models/models/model_sm_policy_control.go delete mode 100644 models/models/model_sm_policy_data.go delete mode 100644 models/models/model_sm_policy_data_patch.go delete mode 100644 models/models/model_sm_policy_decision.go delete mode 100644 models/models/model_sm_policy_delete_data.go delete mode 100644 models/models/model_sm_policy_dnn_data.go delete mode 100644 models/models/model_sm_policy_dnn_data_patch.go delete mode 100644 models/models/model_sm_policy_notification.go delete mode 100644 models/models/model_sm_policy_snssai_data.go delete mode 100644 models/models/model_sm_policy_snssai_data_patch.go delete mode 100644 models/models/model_sm_policy_update_context_data.go delete mode 100644 models/models/model_sm_policy_update_notification_response_200.go delete mode 100644 models/models/model_sm_priority.go delete mode 100644 models/models/model_sm_service_type.go delete mode 100644 models/models/model_sm_subs_data.go delete mode 100644 models/models/model_small_data_rate_control.go delete mode 100644 models/models/model_small_data_rate_control_time_unit.go delete mode 100644 models/models/model_small_data_rate_status.go delete mode 100644 models/models/model_small_data_rate_status_info.go delete mode 100644 models/models/model_smcce_info.go delete mode 100644 models/models/model_smcce_ue_list.go delete mode 100644 models/models/model_smf_change_indication.go delete mode 100644 models/models/model_smf_change_info.go delete mode 100644 models/models/model_smf_event.go delete mode 100644 models/models/model_smf_event_exposure_event_notification.go delete mode 100644 models/models/model_smf_event_exposure_event_subscription.go delete mode 100644 models/models/model_smf_event_exposure_notification_method.go delete mode 100644 models/models/model_smf_event_exposure_pdu_session_info.go delete mode 100644 models/models/model_smf_event_exposure_pdu_session_information.go delete mode 100644 models/models/model_smf_event_exposure_pdu_session_status.go delete mode 100644 models/models/model_smf_info.go delete mode 100644 models/models/model_smf_nidd_deliver_req_data.go delete mode 100644 models/models/model_smf_pdu_session_cause.go delete mode 100644 models/models/model_smf_pdu_session_dnai_information.go delete mode 100644 models/models/model_smf_pdu_session_ext_problem_details.go delete mode 100644 models/models/model_smf_pdu_session_gbr_qos_flow_information.go delete mode 100644 models/models/model_smf_pdu_session_ip_address.go delete mode 100644 models/models/model_smf_pdu_session_notification_info.go delete mode 100644 models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go delete mode 100644 models/models/model_smf_pdu_session_qos_flow_profile.go delete mode 100644 models/models/model_smf_pdu_session_sm_context_create_data.go delete mode 100644 models/models/model_smf_pdu_session_sm_context_created_data.go delete mode 100644 models/models/model_smf_pdu_session_sm_context_release_data.go delete mode 100644 models/models/model_smf_pdu_session_sm_context_status_notification.go delete mode 100644 models/models/model_smf_pdu_session_sm_context_update_data.go delete mode 100644 models/models/model_smf_registration.go delete mode 100644 models/models/model_smf_registration_info.go delete mode 100644 models/models/model_smf_registration_modification.go delete mode 100644 models/models/model_smf_selection_data.go delete mode 100644 models/models/model_smf_selection_subscription_data.go delete mode 100644 models/models/model_smf_selection_type.go delete mode 100644 models/models/model_smf_subscription_info.go delete mode 100644 models/models/model_smf_subscription_item.go delete mode 100644 models/models/model_sms_charging_information.go delete mode 100644 models/models/model_sms_data.go delete mode 100644 models/models/model_sms_delivery_data.go delete mode 100644 models/models/model_sms_indication.go delete mode 100644 models/models/model_sms_management_subscription_data.go delete mode 100644 models/models/model_sms_registration_info.go delete mode 100644 models/models/model_sms_router_info.go delete mode 100644 models/models/model_sms_subscription_data.go delete mode 100644 models/models/model_sms_support.go delete mode 100644 models/models/model_smsc_data.go delete mode 100644 models/models/model_smsf_info.go delete mode 100644 models/models/model_smsf_registration.go delete mode 100644 models/models/model_snssai.go delete mode 100644 models/models/model_snssai_dnn_combination.go delete mode 100644 models/models/model_snssai_easdf_info_item.go delete mode 100644 models/models/model_snssai_extension.go delete mode 100644 models/models/model_snssai_info.go delete mode 100644 models/models/model_snssai_info_item.go delete mode 100644 models/models/model_snssai_mb_smf_info_item.go delete mode 100644 models/models/model_snssai_route_selection_descriptor.go delete mode 100644 models/models/model_snssai_smf_info_item.go delete mode 100644 models/models/model_snssai_tai_mapping.go delete mode 100644 models/models/model_snssai_tsctsf_info_item.go delete mode 100644 models/models/model_snssai_upf_info_item.go delete mode 100644 models/models/model_software_image_info.go delete mode 100644 models/models/model_sor_data.go delete mode 100644 models/models/model_sor_security_info.go delete mode 100644 models/models/model_sor_update_indicator.go delete mode 100644 models/models/model_sor_update_info.go delete mode 100644 models/models/model_spatial_validity.go delete mode 100644 models/models/model_spatial_validity_cond.go delete mode 100644 models/models/model_spatial_validity_rm.go delete mode 100644 models/models/model_specific_analytics_subscription.go delete mode 100644 models/models/model_specific_data_subscription.go delete mode 100644 models/models/model_spending_limit_context.go delete mode 100644 models/models/model_spending_limit_status.go delete mode 100644 models/models/model_sponsor_connectivity_data.go delete mode 100644 models/models/model_sponsor_information.go delete mode 100644 models/models/model_sponsoring_status.go delete mode 100644 models/models/model_spt.go delete mode 100644 models/models/model_sqn_scheme.go delete mode 100644 models/models/model_srvcc_capability.go delete mode 100644 models/models/model_srvcc_data.go delete mode 100644 models/models/model_ssc_mode.go delete mode 100644 models/models/model_ssc_modes.go delete mode 100644 models/models/model_ssm.go delete mode 100644 models/models/model_stationary_indication.go delete mode 100644 models/models/model_stationary_indication_rm.go delete mode 100644 models/models/model_status.go delete mode 100644 models/models/model_status_change.go delete mode 100644 models/models/model_status_info.go delete mode 100644 models/models/model_status_notification.go delete mode 100644 models/models/model_steer_mode_indicator.go delete mode 100644 models/models/model_steer_mode_value.go delete mode 100644 models/models/model_steering_functionality.go delete mode 100644 models/models/model_steering_mode.go delete mode 100644 models/models/model_storage_outcome.go delete mode 100644 models/models/model_stored_search_result.go delete mode 100644 models/models/model_string_matching_condition.go delete mode 100644 models/models/model_string_matching_rule.go delete mode 100644 models/models/model_subscr_cond.go delete mode 100644 models/models/model_subscribed_default_qos.go delete mode 100644 models/models/model_subscribed_event.go delete mode 100644 models/models/model_subscribed_snssai.go delete mode 100644 models/models/model_subscription_context.go delete mode 100644 models/models/model_subscription_data_subscriptions.go delete mode 100644 models/models/model_subscription_filter.go delete mode 100644 models/models/model_subscription_termination_info.go delete mode 100644 models/models/model_subscription_transfer_info.go delete mode 100644 models/models/model_suci_info.go delete mode 100644 models/models/model_suggested_packet_num_dl.go delete mode 100644 models/models/model_summarization_attribute.go delete mode 100644 models/models/model_supi_info.go delete mode 100644 models/models/model_supi_range.go delete mode 100644 models/models/model_supplementary_service.go delete mode 100644 models/models/model_supplementary_service_mode.go delete mode 100644 models/models/model_supplementary_service_type.go delete mode 100644 models/models/model_supported_gad_shapes.go delete mode 100644 models/models/model_supported_nssai_availability_data.go delete mode 100644 models/models/model_supported_snssai.go delete mode 100644 models/models/model_svc_experience.go delete mode 100644 models/models/model_tac_info.go delete mode 100644 models/models/model_tac_range.go delete mode 100644 models/models/model_tad_identifier.go delete mode 100644 models/models/model_tads_information.go delete mode 100644 models/models/model_tag_type.go delete mode 100644 models/models/model_tai.go delete mode 100644 models/models/model_tai_range.go delete mode 100644 models/models/model_target_area.go delete mode 100644 models/models/model_target_dnai_info.go delete mode 100644 models/models/model_target_ue_information.go delete mode 100644 models/models/model_temporal_validity.go delete mode 100644 models/models/model_termination_info.go delete mode 100644 models/models/model_threshold_level.go delete mode 100644 models/models/model_threshold_value.go delete mode 100644 models/models/model_throughput.go delete mode 100644 models/models/model_time_period.go delete mode 100644 models/models/model_time_unit.go delete mode 100644 models/models/model_time_window.go delete mode 100644 models/models/model_timer.go delete mode 100644 models/models/model_timer_id_list.go delete mode 100644 models/models/model_tmgi.go delete mode 100644 models/models/model_tmgi_range.go delete mode 100644 models/models/model_tnap_id.go delete mode 100644 models/models/model_tngf_info.go delete mode 100644 models/models/model_top_application.go delete mode 100644 models/models/model_topological_service_area.go delete mode 100644 models/models/model_trace_data.go delete mode 100644 models/models/model_trace_data_response.go delete mode 100644 models/models/model_trace_depth.go delete mode 100644 models/models/model_traffic_characterization.go delete mode 100644 models/models/model_traffic_control_data.go delete mode 100644 models/models/model_traffic_descriptor_components.go delete mode 100644 models/models/model_traffic_forwarding_way.go delete mode 100644 models/models/model_traffic_influ_data.go delete mode 100644 models/models/model_traffic_influ_data_notif.go delete mode 100644 models/models/model_traffic_influ_data_patch.go delete mode 100644 models/models/model_traffic_influ_sub.go delete mode 100644 models/models/model_traffic_information.go delete mode 100644 models/models/model_traffic_profile.go delete mode 100644 models/models/model_traffic_profile_rm.go delete mode 100644 models/models/model_transaction_info.go delete mode 100644 models/models/model_transaction_metric.go delete mode 100644 models/models/model_transfer_mo_data_req_data.go delete mode 100644 models/models/model_transfer_mo_data_request.go delete mode 100644 models/models/model_transfer_mt_data_add_info.go delete mode 100644 models/models/model_transfer_mt_data_error.go delete mode 100644 models/models/model_transfer_mt_data_req_data.go delete mode 100644 models/models/model_transfer_mt_data_request.go delete mode 100644 models/models/model_transfer_mt_dataismf_request.go delete mode 100644 models/models/model_transfer_reason.go delete mode 100644 models/models/model_transfer_request_type.go delete mode 100644 models/models/model_transmitter_info.go delete mode 100644 models/models/model_transport_protocol.go delete mode 100644 models/models/model_trigger_category.go delete mode 100644 models/models/model_trigger_point.go delete mode 100644 models/models/model_trigger_request.go delete mode 100644 models/models/model_trunk_group_id.go delete mode 100644 models/models/model_trust_af_info.go delete mode 100644 models/models/model_tsc_qos_requirement.go delete mode 100644 models/models/model_tsc_qos_requirement_rm.go delete mode 100644 models/models/model_tscai_input_container.go delete mode 100644 models/models/model_tsctsf_info.go delete mode 100644 models/models/model_tsn_bridge_info.go delete mode 100644 models/models/model_tsn_qos_container.go delete mode 100644 models/models/model_tsn_qos_container_rm.go delete mode 100644 models/models/model_tunnel_info.go delete mode 100644 models/models/model_twan_location_data.go delete mode 100644 models/models/model_twap_id.go delete mode 100644 models/models/model_twif_info.go delete mode 100644 models/models/model_type_of_condition.go delete mode 100644 models/models/model_uav_auth_failure.go delete mode 100644 models/models/model_uc_purpose.go delete mode 100644 models/models/model_uc_subscription_data.go delete mode 100644 models/models/model_udm_ee_association_type.go delete mode 100644 models/models/model_udm_ee_created_ee_subscription.go delete mode 100644 models/models/model_udm_ee_ee_subscription.go delete mode 100644 models/models/model_udm_ee_event_type.go delete mode 100644 models/models/model_udm_ee_failed_cause.go delete mode 100644 models/models/model_udm_ee_failed_monitoring_configuration.go delete mode 100644 models/models/model_udm_ee_location_accuracy.go delete mode 100644 models/models/model_udm_ee_location_reporting_configuration.go delete mode 100644 models/models/model_udm_ee_monitoring_configuration.go delete mode 100644 models/models/model_udm_ee_monitoring_report.go delete mode 100644 models/models/model_udm_ee_pdu_session_status_cfg.go delete mode 100644 models/models/model_udm_ee_reachability_for_data_configuration.go delete mode 100644 models/models/model_udm_ee_reachability_for_sms_report.go delete mode 100644 models/models/model_udm_ee_report.go delete mode 100644 models/models/model_udm_ee_reporting_options.go delete mode 100644 models/models/model_udm_info.go delete mode 100644 models/models/model_udm_mt_ue_info.go delete mode 100644 models/models/model_udm_niddau_authorization_data.go delete mode 100644 models/models/model_udm_pp_location_area.go delete mode 100644 models/models/model_udm_sdm_amf_info.go delete mode 100644 models/models/model_udm_sdm_app_descriptor.go delete mode 100644 models/models/model_udm_sdm_data_set_name.go delete mode 100644 models/models/model_udm_sdm_ec_restriction_data_wb.go delete mode 100644 models/models/model_udm_sdm_group_identifiers.go delete mode 100644 models/models/model_udm_sdm_ip_address.go delete mode 100644 models/models/model_udm_sdm_ip_index.go delete mode 100644 models/models/model_udm_sdm_nidd_information.go delete mode 100644 models/models/model_udm_sdm_shared_data.go delete mode 100644 models/models/model_udm_sdm_sor_info.go delete mode 100644 models/models/model_udm_sdm_steering_container.go delete mode 100644 models/models/model_udm_sdm_subscription_data_sets.go delete mode 100644 models/models/model_udm_sdm_ue_id.go delete mode 100644 models/models/model_udm_sdm_upu_info.go delete mode 100644 models/models/model_udm_ssau_service_specific_authorization_info.go delete mode 100644 models/models/model_udm_ueau_auth_type.go delete mode 100644 models/models/model_udm_ueau_authentication_info_request.go delete mode 100644 models/models/model_udm_ueau_authentication_info_result.go delete mode 100644 models/models/model_udm_ueau_rg_auth_ctx.go delete mode 100644 models/models/model_udm_uecm_data_restoration_notification.go delete mode 100644 models/models/model_udm_uecm_deregistration_data.go delete mode 100644 models/models/model_udm_uecm_deregistration_reason.go delete mode 100644 models/models/model_udm_uecm_location_info.go delete mode 100644 models/models/model_udr_dr_data_restoration_notification.go delete mode 100644 models/models/model_udr_info.go delete mode 100644 models/models/model_udsf_data_repository_notification_info.go delete mode 100644 models/models/model_udsf_info.go delete mode 100644 models/models/model_ue_access_behavior_report_item.go delete mode 100644 models/models/model_ue_analytics_context_descriptor.go delete mode 100644 models/models/model_ue_area_indication.go delete mode 100644 models/models/model_ue_auth.go delete mode 100644 models/models/model_ue_authentication_ctx.go delete mode 100644 models/models/model_ue_camping_rep.go delete mode 100644 models/models/model_ue_communication.go delete mode 100644 models/models/model_ue_communication_collection.go delete mode 100644 models/models/model_ue_communication_info.go delete mode 100644 models/models/model_ue_connectivity_state.go delete mode 100644 models/models/model_ue_context.go delete mode 100644 models/models/model_ue_context_cancel_relocate_data.go delete mode 100644 models/models/model_ue_context_create_data.go delete mode 100644 models/models/model_ue_context_create_error.go delete mode 100644 models/models/model_ue_context_created_data.go delete mode 100644 models/models/model_ue_context_in_amf_data.go delete mode 100644 models/models/model_ue_context_in_smf_data.go delete mode 100644 models/models/model_ue_context_in_smf_data_sub_filter.go delete mode 100644 models/models/model_ue_context_in_smsf_data.go delete mode 100644 models/models/model_ue_context_info.go delete mode 100644 models/models/model_ue_context_info_class.go delete mode 100644 models/models/model_ue_context_release.go delete mode 100644 models/models/model_ue_context_relocate_data.go delete mode 100644 models/models/model_ue_context_relocated_data.go delete mode 100644 models/models/model_ue_context_transfer_req_data.go delete mode 100644 models/models/model_ue_context_transfer_request.go delete mode 100644 models/models/model_ue_context_transfer_response_200.go delete mode 100644 models/models/model_ue_context_transfer_rsp_data.go delete mode 100644 models/models/model_ue_context_transfer_status.go delete mode 100644 models/models/model_ue_differentiation_info.go delete mode 100644 models/models/model_ue_id_ext.go delete mode 100644 models/models/model_ue_identity_info.go delete mode 100644 models/models/model_ue_in_area_filter.go delete mode 100644 models/models/model_ue_initiated_resource_request.go delete mode 100644 models/models/model_ue_lcs_capability.go delete mode 100644 models/models/model_ue_location_info.go delete mode 100644 models/models/model_ue_location_service_ind.go delete mode 100644 models/models/model_ue_location_trends_report_item.go delete mode 100644 models/models/model_ue_mobility.go delete mode 100644 models/models/model_ue_mobility_collection.go delete mode 100644 models/models/model_ue_mobility_info.go delete mode 100644 models/models/model_ue_n1_n2_info_subscription_create_data.go delete mode 100644 models/models/model_ue_n1_n2_info_subscription_created_data.go delete mode 100644 models/models/model_ue_policy_section.go delete mode 100644 models/models/model_ue_policy_set.go delete mode 100644 models/models/model_ue_policy_set_patch.go delete mode 100644 models/models/model_ue_policy_transfer_failure_notification.go delete mode 100644 models/models/model_ue_privacy_requirements.go delete mode 100644 models/models/model_ue_reachability.go delete mode 100644 models/models/model_ue_reachability_notification.go delete mode 100644 models/models/model_ue_reachability_subscription.go delete mode 100644 models/models/model_ue_reachable_ind.go delete mode 100644 models/models/model_ue_reg_status_update_req_data.go delete mode 100644 models/models/model_ue_reg_status_update_rsp_data.go delete mode 100644 models/models/model_ue_requested_value_rep.go delete mode 100644 models/models/model_ue_slice_mbr.go delete mode 100644 models/models/model_ue_trajectory_collection.go delete mode 100644 models/models/model_ue_trajectory_info.go delete mode 100644 models/models/model_ue_transfer_type.go delete mode 100644 models/models/model_ue_type.go delete mode 100644 models/models/model_ue_update_status.go delete mode 100644 models/models/model_ulcl_bp_information.go delete mode 100644 models/models/model_umt_time.go delete mode 100644 models/models/model_un_trust_af_info.go delete mode 100644 models/models/model_unavailable_access_indication.go delete mode 100644 models/models/model_uncertainty_ellipse.go delete mode 100644 models/models/model_uncertainty_ellipsoid.go delete mode 100644 models/models/model_unrelated_class.go delete mode 100644 models/models/model_up_cnx_state.go delete mode 100644 models/models/model_up_confidentiality.go delete mode 100644 models/models/model_up_integrity.go delete mode 100644 models/models/model_up_interface_type.go delete mode 100644 models/models/model_up_path_chg_event.go delete mode 100644 models/models/model_up_security.go delete mode 100644 models/models/model_up_security_info.go delete mode 100644 models/models/model_update_charging_data_response_400.go delete mode 100644 models/models/model_update_charging_data_response_403.go delete mode 100644 models/models/model_update_charging_data_response_404.go delete mode 100644 models/models/model_update_nwdaf_registration_response_200.go delete mode 100644 models/models/model_update_pdu_session_request.go delete mode 100644 models/models/model_update_pdu_session_response_200.go delete mode 100644 models/models/model_update_pdu_session_response_400.go delete mode 100644 models/models/model_update_sm_context_request.go delete mode 100644 models/models/model_update_sm_context_response_200.go delete mode 100644 models/models/model_update_sm_context_response_400.go delete mode 100644 models/models/model_updated_item.go delete mode 100644 models/models/model_updp_subscription_data.go delete mode 100644 models/models/model_upf_cond.go delete mode 100644 models/models/model_upf_info.go delete mode 100644 models/models/model_upf_information.go delete mode 100644 models/models/model_upu_data.go delete mode 100644 models/models/model_upu_security_info.go delete mode 100644 models/models/model_uri_list.go delete mode 100644 models/models/model_uri_scheme.go delete mode 100644 models/models/model_ursp_rule_request.go delete mode 100644 models/models/model_usage.go delete mode 100644 models/models/model_usage_mon_data.go delete mode 100644 models/models/model_usage_mon_data_limit.go delete mode 100644 models/models/model_usage_mon_data_scope.go delete mode 100644 models/models/model_usage_mon_level.go delete mode 100644 models/models/model_usage_monitoring_data.go delete mode 100644 models/models/model_usage_threshold.go delete mode 100644 models/models/model_usage_threshold_rm.go delete mode 100644 models/models/model_user_consent.go delete mode 100644 models/models/model_user_data_congestion_collection.go delete mode 100644 models/models/model_user_data_congestion_info.go delete mode 100644 models/models/model_user_identifier.go delete mode 100644 models/models/model_user_location.go delete mode 100644 models/models/model_user_plane_event.go delete mode 100644 models/models/model_user_plane_event_report.go delete mode 100644 models/models/model_user_plane_notification_data.go delete mode 100644 models/models/model_user_state_cs.go delete mode 100644 models/models/model_user_state_ps.go delete mode 100644 models/models/model_utra_location.go delete mode 100644 models/models/model_uuaa_mm_status.go delete mode 100644 models/models/model_v2x_capability.go delete mode 100644 models/models/model_v2x_context.go delete mode 100644 models/models/model_v2x_information.go delete mode 100644 models/models/model_v2x_subscription_data.go delete mode 100644 models/models/model_valid_time_period.go delete mode 100644 models/models/model_var_snssai.go delete mode 100644 models/models/model_variable_part.go delete mode 100644 models/models/model_variable_part_type.go delete mode 100644 models/models/model_velocity_estimate.go delete mode 100644 models/models/model_velocity_requested.go delete mode 100644 models/models/model_vendor_specific_feature.go delete mode 100644 models/models/model_vertical_direction.go delete mode 100644 models/models/model_vgmlc_address.go delete mode 100644 models/models/model_virtual_resource.go delete mode 100644 models/models/model_vn_group_data.go delete mode 100644 models/models/model_volume_timed_report.go delete mode 100644 models/models/model_vplmn_qos.go delete mode 100644 models/models/model_vsmf_update_data.go delete mode 100644 models/models/model_vsmf_update_error.go delete mode 100644 models/models/model_vsmf_updated_data.go delete mode 100644 models/models/model_w_agf_info.go delete mode 100644 models/models/model_websock_notif_config.go delete mode 100644 models/models/model_wireline_area.go delete mode 100644 models/models/model_wireline_service_area_restriction.go delete mode 100644 models/models/model_wlan_ordering_criterion.go delete mode 100644 models/models/model_wlan_per_ss_id_performance_info.go delete mode 100644 models/models/model_wlan_per_ts_performance_info.go delete mode 100644 models/models/model_wlan_performance_info.go delete mode 100644 models/models/model_wlan_performance_req.go diff --git a/models/models/model_3_g_aka_av.go b/models/models/model_3_g_aka_av.go deleted file mode 100644 index 4f950f0a..00000000 --- a/models/models/model_3_g_aka_av.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains RAND, XRES, AUTN, CK, and IK -type Model3GAkaAv struct { - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` - Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` -} diff --git a/models/models/model_3_gppps_data_off_status.go b/models/models/model_3_gppps_data_off_status.go deleted file mode 100644 index 25fb05d6..00000000 --- a/models/models/model_3_gppps_data_off_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model3GpppsDataOffStatus string - -// List of 3GPPPSDataOffStatus -const ( - Model3GpppsDataOffStatus_ACTIVE Model3GpppsDataOffStatus = "ACTIVE" - Model3GpppsDataOffStatus_INACTIVE Model3GpppsDataOffStatus = "INACTIVE" -) diff --git a/models/models/model_5_g_ddnmf_info.go b/models/models/model_5_g_ddnmf_info.go deleted file mode 100644 index 899c642e..00000000 --- a/models/models/model_5_g_ddnmf_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an 5G DDNMF NF Instance -type Model5GDdnmfInfo struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` -} diff --git a/models/models/model_5_g_srvcc_info.go b/models/models/model_5_g_srvcc_info.go deleted file mode 100644 index 4a629b4a..00000000 --- a/models/models/model_5_g_srvcc_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_MT - * - * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents 5G SRVCC information for a UE. -type Model5GSrvccInfo struct { - Ue5GSrvccCapability bool `json:"ue5GSrvccCapability" yaml:"ue5GSrvccCapability" bson:"ue5GSrvccCapability,omitempty"` - // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. - StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` - // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. - CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` -} diff --git a/models/models/model_5_g_vn_group_configuration.go b/models/models/model_5_g_vn_group_configuration.go deleted file mode 100644 index a8862be8..00000000 --- a/models/models/model_5_g_vn_group_configuration.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model5GVnGroupConfiguration struct { - Var5gVnGroupData *Model5GVnGroupData `json:"5gVnGroupData,omitempty" yaml:"5gVnGroupData" bson:"5gVnGroupData,omitempty"` - Members []string `json:"members,omitempty" yaml:"members" bson:"members,omitempty"` - ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` - AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_5_g_vn_group_data.go b/models/models/model_5_g_vn_group_data.go deleted file mode 100644 index 582a323a..00000000 --- a/models/models/model_5_g_vn_group_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model5GVnGroupData struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` - AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` - SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` - DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` - DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` - AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` - // Fully Qualified Domain Name - DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` -} diff --git a/models/models/model_5_glan_type_service.go b/models/models/model_5_glan_type_service.go deleted file mode 100644 index d67004a7..00000000 --- a/models/models/model_5_glan_type_service.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model5GlanTypeService struct { - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` -} diff --git a/models/models/model_5_gs_user_state.go b/models/models/model_5_gs_user_state.go deleted file mode 100644 index 79a17986..00000000 --- a/models/models/model_5_gs_user_state.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model5GsUserState string - -// List of 5GsUserState -const ( - Model5GsUserState_DEREGISTERED Model5GsUserState = "DEREGISTERED" - Model5GsUserState_CONNECTED_NOT_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_NOT_REACHABLE_FOR_PAGING" - Model5GsUserState_CONNECTED_REACHABLE_FOR_PAGING Model5GsUserState = "CONNECTED_REACHABLE_FOR_PAGING" - Model5GsUserState_NOT_PROVIDED_FROM_AMF Model5GsUserState = "NOT_PROVIDED_FROM_AMF" -) diff --git a/models/models/model_5_gs_user_state_info.go b/models/models/model_5_gs_user_state_info.go deleted file mode 100644 index ee139c26..00000000 --- a/models/models/model_5_gs_user_state_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the 5GS User state of the UE for an access type -type Model5GsUserStateInfo struct { - Var5gsUserState Model5GsUserState `json:"5gsUserState" yaml:"5gsUserState" bson:"5gsUserState,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_5_mbs_authorization_info.go b/models/models/model_5_mbs_authorization_info.go deleted file mode 100644 index dc9c9092..00000000 --- a/models/models/model_5_mbs_authorization_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Model5MbsAuthorizationInfo struct { - Var5mbsSessionIds []MbsSessionId `json:"5mbsSessionIds,omitempty" yaml:"5mbsSessionIds" bson:"5mbsSessionIds,omitempty"` -} diff --git a/models/models/model_aanf_info.go b/models/models/model_aanf_info.go deleted file mode 100644 index 9526daf5..00000000 --- a/models/models/model_aanf_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the information relative to an AAnF NF Instance. -type AanfInfo struct { - RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` -} diff --git a/models/models/model_abnormal_behaviour.go b/models/models/model_abnormal_behaviour.go deleted file mode 100644 index b8e74442..00000000 --- a/models/models/model_abnormal_behaviour.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the abnormal behaviour information. -type AbnormalBehaviour struct { - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - Excep *Exception `json:"excep" yaml:"excep" bson:"excep,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` - AddtMeasInfo *AdditionalMeasurement `json:"addtMeasInfo,omitempty" yaml:"addtMeasInfo" bson:"addtMeasInfo,omitempty"` -} diff --git a/models/models/model_acc_net_ch_id.go b/models/models/model_acc_net_ch_id.go deleted file mode 100644 index c90d8c5c..00000000 --- a/models/models/model_acc_net_ch_id.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the access network charging identifier for the PCC rule(s) or for the whole PDU session. -type AccNetChId struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` - // A character string containing the access network charging id. - AccNetChargId string `json:"accNetChargId,omitempty" yaml:"accNetChargId" bson:"accNetChargId,omitempty"` - // Contains the identifier of the PCC rule(s) associated to the provided Access Network Charging Identifier. - RefPccRuleIds []string `json:"refPccRuleIds,omitempty" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` - // When it is included and set to true, indicates the Access Network Charging Identifier applies to the whole PDU Session - SessionChScope bool `json:"sessionChScope,omitempty" yaml:"sessionChScope" bson:"sessionChScope,omitempty"` -} diff --git a/models/models/model_acc_net_charging_address.go b/models/models/model_acc_net_charging_address.go deleted file mode 100644 index 79c98256..00000000 --- a/models/models/model_acc_net_charging_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the network entity within the access network performing charging -type AccNetChargingAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AnChargIpv4Addr string `json:"anChargIpv4Addr,omitempty" yaml:"anChargIpv4Addr" bson:"anChargIpv4Addr,omitempty"` - AnChargIpv6Addr string `json:"anChargIpv6Addr,omitempty" yaml:"anChargIpv6Addr" bson:"anChargIpv6Addr,omitempty"` -} diff --git a/models/models/model_acceptable_mbs_serv_info.go b/models/models/model_acceptable_mbs_serv_info.go deleted file mode 100644 index 7db4ae9a..00000000 --- a/models/models/model_acceptable_mbs_serv_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the MBS Service Information that can be accepted by the PCF. -type AcceptableMbsServInfo struct { - AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` -} diff --git a/models/models/model_acceptable_service_info.go b/models/models/model_acceptable_service_info.go deleted file mode 100644 index 2ece2ec9..00000000 --- a/models/models/model_acceptable_service_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the maximum bandwidth that shall be authorized by the PCF. -type AcceptableServiceInfo struct { - // Indicates the maximum bandwidth that shall be authorized by the PCF for each media component of the map. The key of the map is the media component number. - AccBwMedComps map[string]MediaComponent `json:"accBwMedComps,omitempty" yaml:"accBwMedComps" bson:"accBwMedComps,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` -} diff --git a/models/models/model_access_and_mobility_data.go b/models/models/model_access_and_mobility_data.go deleted file mode 100644 index 8fd9c471..00000000 --- a/models/models/model_access_and_mobility_data.go +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents Access and Mobility data for a UE. -type AccessAndMobilityData struct { - Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LocationTs *time.Time `json:"locationTs,omitempty" yaml:"locationTs" bson:"locationTs,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeZoneTs *time.Time `json:"timeZoneTs,omitempty" yaml:"timeZoneTs" bson:"timeZoneTs,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RegStates []RmInfo `json:"regStates,omitempty" yaml:"regStates" bson:"regStates,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegStatesTs *time.Time `json:"regStatesTs,omitempty" yaml:"regStatesTs" bson:"regStatesTs,omitempty"` - ConnStates []CmInfo `json:"connStates,omitempty" yaml:"connStates" bson:"connStates,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ConnStatesTs *time.Time `json:"connStatesTs,omitempty" yaml:"connStatesTs" bson:"connStatesTs,omitempty"` - ReachabilityStatus UeReachability `json:"reachabilityStatus,omitempty" yaml:"reachabilityStatus" bson:"reachabilityStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ReachabilityStatusTs *time.Time `json:"reachabilityStatusTs,omitempty" yaml:"reachabilityStatusTs" bson:"reachabilityStatusTs,omitempty"` - SmsOverNasStatus SmsSupport `json:"smsOverNasStatus,omitempty" yaml:"smsOverNasStatus" bson:"smsOverNasStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - SmsOverNasStatusTs *time.Time `json:"smsOverNasStatusTs,omitempty" yaml:"smsOverNasStatusTs" bson:"smsOverNasStatusTs,omitempty"` - // True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE. - RoamingStatus bool `json:"roamingStatus,omitempty" yaml:"roamingStatus" bson:"roamingStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RoamingStatusTs *time.Time `json:"roamingStatusTs,omitempty" yaml:"roamingStatusTs" bson:"roamingStatusTs,omitempty"` - CurrentPlmn *PlmnId `json:"currentPlmn,omitempty" yaml:"currentPlmn" bson:"currentPlmn,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - CurrentPlmnTs *time.Time `json:"currentPlmnTs,omitempty" yaml:"currentPlmnTs" bson:"currentPlmnTs,omitempty"` - RatType []RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RatTypesTs *time.Time `json:"ratTypesTs,omitempty" yaml:"ratTypesTs" bson:"ratTypesTs,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_access_and_mobility_subscription_data.go b/models/models/model_access_and_mobility_subscription_data.go deleted file mode 100644 index c7ab0ee8..00000000 --- a/models/models/model_access_and_mobility_subscription_data.go +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessAndMobilitySubscriptionData struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` - // Identifier of a group of NFs. - HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` - InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` - // A map(list of key-value pairs) where GroupId serves as key of SharedDataId - SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` - SubscribedUeAmbr *Ambr `json:"subscribedUeAmbr,omitempty" yaml:"subscribedUeAmbr" bson:"subscribedUeAmbr,omitempty"` - Nssai *Nssai `json:"nssai,omitempty" yaml:"nssai" bson:"nssai,omitempty"` - RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` - ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` - ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` - CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` - // Unsigned integer representing the 'Subscriber Profile ID for RAT/Frequency Priority' as specified in 3GPP TS 36.413 with the OpenAPI 'nullable: true' property. - RfspIndex int32 `json:"rfspIndex,omitempty" yaml:"rfspIndex" bson:"rfspIndex,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` - UeUsageType int32 `json:"ueUsageType,omitempty" yaml:"ueUsageType" bson:"ueUsageType,omitempty"` - MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` - McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` - SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` - SorInfoExpectInd bool `json:"sorInfoExpectInd,omitempty" yaml:"sorInfoExpectInd" bson:"sorInfoExpectInd,omitempty"` - SorafRetrieval bool `json:"sorafRetrieval,omitempty" yaml:"sorafRetrieval" bson:"sorafRetrieval,omitempty"` - SorUpdateIndicatorList []SorUpdateIndicator `json:"sorUpdateIndicatorList,omitempty" yaml:"sorUpdateIndicatorList" bson:"sorUpdateIndicatorList,omitempty"` - UpuInfo *UdmSdmUpuInfo `json:"upuInfo,omitempty" yaml:"upuInfo" bson:"upuInfo,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - MicoAllowed bool `json:"micoAllowed,omitempty" yaml:"micoAllowed" bson:"micoAllowed,omitempty"` - SharedAmDataIds []string `json:"sharedAmDataIds,omitempty" yaml:"sharedAmDataIds" bson:"sharedAmDataIds,omitempty"` - OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` - SubscribedDnnList []interface{} `json:"subscribedDnnList,omitempty" yaml:"subscribedDnnList" bson:"subscribedDnnList,omitempty"` - // indicating a time in seconds. - ServiceGapTime int32 `json:"serviceGapTime,omitempty" yaml:"serviceGapTime" bson:"serviceGapTime,omitempty"` - MdtUserConsent MdtUserConsent `json:"mdtUserConsent,omitempty" yaml:"mdtUserConsent" bson:"mdtUserConsent,omitempty"` - MdtConfiguration *MdtConfiguration `json:"mdtConfiguration,omitempty" yaml:"mdtConfiguration" bson:"mdtConfiguration,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` - // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. - StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` - // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. - CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` - NbIoTUePriority int32 `json:"nbIoTUePriority,omitempty" yaml:"nbIoTUePriority" bson:"nbIoTUePriority,omitempty"` - NssaiInclusionAllowed bool `json:"nssaiInclusionAllowed,omitempty" yaml:"nssaiInclusionAllowed" bson:"nssaiInclusionAllowed,omitempty"` - // string with format 'bytes' as defined in OpenAPI - RgWirelineCharacteristics string `json:"rgWirelineCharacteristics,omitempty" yaml:"rgWirelineCharacteristics" bson:"rgWirelineCharacteristics,omitempty"` - EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` - EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` - ExpectedUeBehaviourList *ExpectedUeBehaviourData `json:"expectedUeBehaviourList,omitempty" yaml:"expectedUeBehaviourList" bson:"expectedUeBehaviourList,omitempty"` - PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` - SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` - EdrxParametersList []EdrxParameters `json:"edrxParametersList,omitempty" yaml:"edrxParametersList" bson:"edrxParametersList,omitempty"` - PtwParametersList []PtwParameters `json:"ptwParametersList,omitempty" yaml:"ptwParametersList" bson:"ptwParametersList,omitempty"` - IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` - // A map (list of key-value pairs where PlmnId serves as key) of PlmnRestriction - AdjacentPlmnRestrictions map[string]PlmnRestriction `json:"adjacentPlmnRestrictions,omitempty" yaml:"adjacentPlmnRestrictions" bson:"adjacentPlmnRestrictions,omitempty"` - WirelineForbiddenAreas []WirelineArea `json:"wirelineForbiddenAreas,omitempty" yaml:"wirelineForbiddenAreas" bson:"wirelineForbiddenAreas,omitempty"` - WirelineServiceAreaRestriction *WirelineServiceAreaRestriction `json:"wirelineServiceAreaRestriction,omitempty" yaml:"wirelineServiceAreaRestriction" bson:"wirelineServiceAreaRestriction,omitempty"` - PcfSelectionAssistanceInfos []PcfSelectionAssistanceInfo `json:"pcfSelectionAssistanceInfos,omitempty" yaml:"pcfSelectionAssistanceInfos" bson:"pcfSelectionAssistanceInfos,omitempty"` - AerialUeSubInfo *AerialUeSubscriptionInfo `json:"aerialUeSubInfo,omitempty" yaml:"aerialUeSubInfo" bson:"aerialUeSubInfo,omitempty"` - RoamingRestrictions *RoamingRestrictions `json:"roamingRestrictions,omitempty" yaml:"roamingRestrictions" bson:"roamingRestrictions,omitempty"` - RemoteProvInd bool `json:"remoteProvInd,omitempty" yaml:"remoteProvInd" bson:"remoteProvInd,omitempty"` - Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` -} diff --git a/models/models/model_access_net_charging_identifier.go b/models/models/model_access_net_charging_identifier.go deleted file mode 100644 index 45c22e57..00000000 --- a/models/models/model_access_net_charging_identifier.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the access network charging identifier. -type AccessNetChargingIdentifier struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AccNetChaIdValue int32 `json:"accNetChaIdValue,omitempty" yaml:"accNetChaIdValue" bson:"accNetChaIdValue,omitempty"` - // A character string containing the access network charging identifier. - AccNetChargIdString string `json:"accNetChargIdString,omitempty" yaml:"accNetChargIdString" bson:"accNetChargIdString,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` -} diff --git a/models/models/model_access_network_id.go b/models/models/model_access_network_id.go deleted file mode 100644 index 6be0ff7b..00000000 --- a/models/models/model_access_network_id.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessNetworkId string - -// List of AccessNetworkId -const ( - AccessNetworkId_HRPD AccessNetworkId = "HRPD" - AccessNetworkId_WIMAX AccessNetworkId = "WIMAX" - AccessNetworkId_WLAN AccessNetworkId = "WLAN" - AccessNetworkId_ETHERNET AccessNetworkId = "ETHERNET" -) diff --git a/models/models/model_access_network_info_change.go b/models/models/model_access_network_info_change.go deleted file mode 100644 index 398eed05..00000000 --- a/models/models/model_access_network_info_change.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type AccessNetworkInfoChange struct { - AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` - CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` -} diff --git a/models/models/model_access_right_status.go b/models/models/model_access_right_status.go deleted file mode 100644 index 9df51636..00000000 --- a/models/models/model_access_right_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessRightStatus string - -// List of AccessRightStatus -const ( - AccessRightStatus_FULLY_ALLOWED AccessRightStatus = "FULLY_ALLOWED" - AccessRightStatus_PREVIEW_ALLOWED AccessRightStatus = "PREVIEW_ALLOWED" - AccessRightStatus_NO_ALLOWED AccessRightStatus = "NO_ALLOWED" -) diff --git a/models/models/model_access_state_transition_type.go b/models/models/model_access_state_transition_type.go deleted file mode 100644 index 08a95129..00000000 --- a/models/models/model_access_state_transition_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessStateTransitionType string - -// List of AccessStateTransitionType -const ( - AccessStateTransitionType_ACCESS_TYPE_CHANGE_3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_3GPP" - AccessStateTransitionType_ACCESS_TYPE_CHANGE_N3_GPP AccessStateTransitionType = "ACCESS_TYPE_CHANGE_N3GPP" - AccessStateTransitionType_RM_STATE_CHANGE_DEREGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_DEREGISTERED" - AccessStateTransitionType_RM_STATE_CHANGE_REGISTERED AccessStateTransitionType = "RM_STATE_CHANGE_REGISTERED" - AccessStateTransitionType_CM_STATE_CHANGE_IDLE AccessStateTransitionType = "CM_STATE_CHANGE_IDLE" - AccessStateTransitionType_CM_STATE_CHANGE_CONNECTED AccessStateTransitionType = "CM_STATE_CHANGE_CONNECTED" - AccessStateTransitionType_HANDOVER AccessStateTransitionType = "HANDOVER" - AccessStateTransitionType_MOBILITY_REGISTRATION_UPDATE AccessStateTransitionType = "MOBILITY_REGISTRATION_UPDATE" -) diff --git a/models/models/model_access_tech.go b/models/models/model_access_tech.go deleted file mode 100644 index 18805325..00000000 --- a/models/models/model_access_tech.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessTech string - -// List of AccessTech -const ( - AccessTech_NR AccessTech = "NR" - AccessTech_EUTRAN_IN_WBS1_MODE_AND_NBS1_MODE AccessTech = "EUTRAN_IN_WBS1_MODE_AND_NBS1_MODE" - AccessTech_EUTRAN_IN_NBS1_MODE_ONLY AccessTech = "EUTRAN_IN_NBS1_MODE_ONLY" - AccessTech_EUTRAN_IN_WBS1_MODE_ONLY AccessTech = "EUTRAN_IN_WBS1_MODE_ONLY" - AccessTech_UTRAN AccessTech = "UTRAN" - AccessTech_GSM_AND_ECGSM_IO_T AccessTech = "GSM_AND_ECGSM_IoT" - AccessTech_GSM_WITHOUT_ECGSM_IO_T AccessTech = "GSM_WITHOUT_ECGSM_IoT" - AccessTech_ECGSM_IO_T_ONLY AccessTech = "ECGSM_IoT_ONLY" - AccessTech_CDMA_1X_RTT AccessTech = "CDMA_1xRTT" - AccessTech_CDMA_HRPD AccessTech = "CDMA_HRPD" - AccessTech_GSM_COMPACT AccessTech = "GSM_COMPACT" -) diff --git a/models/models/model_access_token_err.go b/models/models/model_access_token_err.go deleted file mode 100644 index d6336efe..00000000 --- a/models/models/model_access_token_err.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Error returned in the access token response message -type AccessTokenErr struct { - Error string `json:"error" yaml:"error" bson:"error,omitempty"` - ErrorDescription string `json:"error_description,omitempty" yaml:"error_description" bson:"error_description,omitempty"` - ErrorUri string `json:"error_uri,omitempty" yaml:"error_uri" bson:"error_uri,omitempty"` -} diff --git a/models/models/model_access_transfer_information.go b/models/models/model_access_transfer_information.go deleted file mode 100644 index 6a77a49d..00000000 --- a/models/models/model_access_transfer_information.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type AccessTransferInformation struct { - AccessTransferType AccessTransferType `json:"accessTransferType,omitempty" yaml:"accessTransferType" bson:"accessTransferType,omitempty"` - AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` - CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` - InterUETransfer UeTransferType `json:"interUETransfer,omitempty" yaml:"interUETransfer" bson:"interUETransfer,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` - InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` - RelatedIMSChargingIdentifier string `json:"relatedIMSChargingIdentifier,omitempty" yaml:"relatedIMSChargingIdentifier" bson:"relatedIMSChargingIdentifier,omitempty"` - RelatedIMSChargingIdentifierNode *ImsAddress `json:"relatedIMSChargingIdentifierNode,omitempty" yaml:"relatedIMSChargingIdentifierNode" bson:"relatedIMSChargingIdentifierNode,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` -} diff --git a/models/models/model_access_transfer_type.go b/models/models/model_access_transfer_type.go deleted file mode 100644 index 6b1ba35c..00000000 --- a/models/models/model_access_transfer_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessTransferType string - -// List of AccessTransferType -const ( - AccessTransferType_PS_TO_CS AccessTransferType = "PS_TO_CS" - AccessTransferType_CS_TO_PS AccessTransferType = "CS_TO_PS" - AccessTransferType_PS_TO_PS AccessTransferType = "PS_TO_PS" - AccessTransferType_CS_TO_CS AccessTransferType = "CS_TO_CS" -) diff --git a/models/models/model_access_type.go b/models/models/model_access_type.go deleted file mode 100644 index c833edec..00000000 --- a/models/models/model_access_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessType string - -// List of AccessType -const ( - AccessType__3_GPP_ACCESS AccessType = "3GPP_ACCESS" - AccessType_NON_3_GPP_ACCESS AccessType = "NON_3GPP_ACCESS" -) diff --git a/models/models/model_access_type_rm.go b/models/models/model_access_type_rm.go deleted file mode 100644 index 2e439675..00000000 --- a/models/models/model_access_type_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccessTypeRm struct { -} diff --git a/models/models/model_accu_usage_report.go b/models/models/model_accu_usage_report.go deleted file mode 100644 index 5719d5c2..00000000 --- a/models/models/model_accu_usage_report.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the accumulated usage report information. -type AccuUsageReport struct { - // An id referencing UsageMonitoringData objects associated with this usage report. - RefUmIds string `json:"refUmIds" yaml:"refUmIds" bson:"refUmIds,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - VolUsage int64 `json:"volUsage,omitempty" yaml:"volUsage" bson:"volUsage,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - VolUsageUplink int64 `json:"volUsageUplink,omitempty" yaml:"volUsageUplink" bson:"volUsageUplink,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - VolUsageDownlink int64 `json:"volUsageDownlink,omitempty" yaml:"volUsageDownlink" bson:"volUsageDownlink,omitempty"` - // indicating a time in seconds. - TimeUsage int32 `json:"timeUsage,omitempty" yaml:"timeUsage" bson:"timeUsage,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - NextVolUsage int64 `json:"nextVolUsage,omitempty" yaml:"nextVolUsage" bson:"nextVolUsage,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - NextVolUsageUplink int64 `json:"nextVolUsageUplink,omitempty" yaml:"nextVolUsageUplink" bson:"nextVolUsageUplink,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - NextVolUsageDownlink int64 `json:"nextVolUsageDownlink,omitempty" yaml:"nextVolUsageDownlink" bson:"nextVolUsageDownlink,omitempty"` - // indicating a time in seconds. - NextTimeUsage int32 `json:"nextTimeUsage,omitempty" yaml:"nextTimeUsage" bson:"nextTimeUsage,omitempty"` -} diff --git a/models/models/model_accumulated_usage.go b/models/models/model_accumulated_usage.go deleted file mode 100644 index 95fad55b..00000000 --- a/models/models/model_accumulated_usage.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an accumulated usage. -type AccumulatedUsage struct { - // Unsigned integer identifying a period of time in units of seconds. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` -} diff --git a/models/models/model_accuracy_fulfilment_indicator.go b/models/models/model_accuracy_fulfilment_indicator.go deleted file mode 100644 index f95178c4..00000000 --- a/models/models/model_accuracy_fulfilment_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AccuracyFulfilmentIndicator string - -// List of AccuracyFulfilmentIndicator -const ( - AccuracyFulfilmentIndicator_FULFILLED AccuracyFulfilmentIndicator = "REQUESTED_ACCURACY_FULFILLED" - AccuracyFulfilmentIndicator_NOT_FULFILLED AccuracyFulfilmentIndicator = "REQUESTED_ACCURACY_NOT_FULFILLED" -) diff --git a/models/models/model_ack_of_notify.go b/models/models/model_ack_of_notify.go deleted file mode 100644 index bee6f1ce..00000000 --- a/models/models/model_ack_of_notify.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.508 V17.10.0; 5G System; Session Management Event Exposure Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an acknowledgement information of an event notification. -type AckOfNotify struct { - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` -} diff --git a/models/models/model_acknowledge_info.go b/models/models/model_acknowledge_info.go deleted file mode 100644 index 6fed1f97..00000000 --- a/models/models/model_acknowledge_info.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type AcknowledgeInfo struct { - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - // string with format 'bytes' as defined in OpenAPI - SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` - UeNotReachable bool `json:"ueNotReachable,omitempty" yaml:"ueNotReachable" bson:"ueNotReachable,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` -} diff --git a/models/models/model_acs_info.go b/models/models/model_acs_info.go deleted file mode 100644 index 1dd11d87..00000000 --- a/models/models/model_acs_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The ACS information for the 5G-RG is defined in BBF TR-069 [42] or in BBF TR-369 -type AcsInfo struct { - // String providing an URI formatted according to RFC 3986. - AcsUrl string `json:"acsUrl,omitempty" yaml:"acsUrl" bson:"acsUrl,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AcsIpv4Addr string `json:"acsIpv4Addr,omitempty" yaml:"acsIpv4Addr" bson:"acsIpv4Addr,omitempty"` - AcsIpv6Addr string `json:"acsIpv6Addr,omitempty" yaml:"acsIpv6Addr" bson:"acsIpv6Addr,omitempty"` -} diff --git a/models/models/model_acs_info_rm.go b/models/models/model_acs_info_rm.go deleted file mode 100644 index 0c532d0c..00000000 --- a/models/models/model_acs_info_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AcsInfoRm struct { -} diff --git a/models/models/model_activation_state.go b/models/models/model_activation_state.go deleted file mode 100644 index 8e4babea..00000000 --- a/models/models/model_activation_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ActivationState string - -// List of ActivationState -const ( - ActivationState_ACTIVE ActivationState = "ACTIVE" - ActivationState_INACTIVE ActivationState = "INACTIVE" -) diff --git a/models/models/model_addition_info_analytics_info_request.go b/models/models/model_addition_info_analytics_info_request.go deleted file mode 100644 index 208ec765..00000000 --- a/models/models/model_addition_info_analytics_info_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates additional information why the analytics request is rejected. -type AdditionInfoAnalyticsInfoRequest struct { - // indicating a time in seconds. - RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` -} diff --git a/models/models/model_addition_info_enable_ue_reachability.go b/models/models/model_addition_info_enable_ue_reachability.go deleted file mode 100644 index 68cb4c07..00000000 --- a/models/models/model_addition_info_enable_ue_reachability.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Additional information to be returned in EnableUeReachability error response -type AdditionInfoEnableUeReachability struct { - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_additional_access_info.go b/models/models/model_additional_access_info.go deleted file mode 100644 index 27048b96..00000000 --- a/models/models/model_additional_access_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the combination of additional Access Type and RAT Type for a MA PDU session. -type AdditionalAccessInfo struct { - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_additional_ee_subs_info.go b/models/models/model_additional_ee_subs_info.go deleted file mode 100644 index 33f3a5d1..00000000 --- a/models/models/model_additional_ee_subs_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AdditionalEeSubsInfo struct { - AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` - SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` - HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` -} diff --git a/models/models/model_additional_measurement.go b/models/models/model_additional_measurement.go deleted file mode 100644 index 6f53f73f..00000000 --- a/models/models/model_additional_measurement.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents additional measurement information. -type AdditionalMeasurement struct { - UnexpLoc *NetworkAreaInfo `json:"unexpLoc,omitempty" yaml:"unexpLoc" bson:"unexpLoc,omitempty"` - UnexpFlowTeps []IpEthFlowDescription `json:"unexpFlowTeps,omitempty" yaml:"unexpFlowTeps" bson:"unexpFlowTeps,omitempty"` - UnexpWakes []time.Time `json:"unexpWakes,omitempty" yaml:"unexpWakes" bson:"unexpWakes,omitempty"` - DdosAttack *AddressList `json:"ddosAttack,omitempty" yaml:"ddosAttack" bson:"ddosAttack,omitempty"` - WrgDest *AddressList `json:"wrgDest,omitempty" yaml:"wrgDest" bson:"wrgDest,omitempty"` - Circums []CircumstanceDescription `json:"circums,omitempty" yaml:"circums" bson:"circums,omitempty"` -} diff --git a/models/models/model_additional_qos_flow_info.go b/models/models/model_additional_qos_flow_info.go deleted file mode 100644 index 0f5806c0..00000000 --- a/models/models/model_additional_qos_flow_info.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AdditionalQosFlowInfo struct { -} diff --git a/models/models/model_additional_snssai_data.go b/models/models/model_additional_snssai_data.go deleted file mode 100644 index 7baedd27..00000000 --- a/models/models/model_additional_snssai_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AdditionalSnssaiData struct { - RequiredAuthnAuthz bool `json:"requiredAuthnAuthz,omitempty" yaml:"requiredAuthnAuthz" bson:"requiredAuthnAuthz,omitempty"` - SubscribedUeSliceMbr *SliceMbr `json:"subscribedUeSliceMbr,omitempty" yaml:"subscribedUeSliceMbr" bson:"subscribedUeSliceMbr,omitempty"` - SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` -} diff --git a/models/models/model_addr_fqdn.go b/models/models/model_addr_fqdn.go deleted file mode 100644 index ac378729..00000000 --- a/models/models/model_addr_fqdn.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IP address and/or FQDN. -type AddrFqdn struct { - IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` - // Indicates an FQDN. - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` -} diff --git a/models/models/model_address_list.go b/models/models/model_address_list.go deleted file mode 100644 index 38a6ac5b..00000000 --- a/models/models/model_address_list.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a list of IPv4 and/or IPv6 addresses. -type AddressList struct { - Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` -} diff --git a/models/models/model_administrative_state.go b/models/models/model_administrative_state.go deleted file mode 100644 index e6f7e757..00000000 --- a/models/models/model_administrative_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AdministrativeState string - -// List of AdministrativeState -const ( - AdministrativeState_LOCKED AdministrativeState = "LOCKED" - AdministrativeState_UNLOCKED AdministrativeState = "UNLOCKED" -) diff --git a/models/models/model_adrf_data_type.go b/models/models/model_adrf_data_type.go deleted file mode 100644 index bfc4a1e2..00000000 --- a/models/models/model_adrf_data_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AdrfDataType string - -// List of AdrfDataType -const ( - AdrfDataType_ANALYTICS AdrfDataType = "HISTORICAL_ANALYTICS" - AdrfDataType_DATA AdrfDataType = "HISTORICAL_DATA" -) diff --git a/models/models/model_aerial_ue_indication.go b/models/models/model_aerial_ue_indication.go deleted file mode 100644 index 1cce65f9..00000000 --- a/models/models/model_aerial_ue_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AerialUeIndication string - -// List of AerialUeIndication -const ( - AerialUeIndication_ALLOWED AerialUeIndication = "AERIAL_UE_ALLOWED" - AerialUeIndication_NOT_ALLOWED AerialUeIndication = "AERIAL_UE_NOT_ALLOWED" -) diff --git a/models/models/model_aerial_ue_subscription_info.go b/models/models/model_aerial_ue_subscription_info.go deleted file mode 100644 index 2e508991..00000000 --- a/models/models/model_aerial_ue_subscription_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Aerial UE Subscription Information, it at least contains the Aerial UE Indication. -type AerialUeSubscriptionInfo struct { - AerialUeInd AerialUeIndication `json:"aerialUeInd" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Var3gppUavId string `json:"3gppUavId,omitempty" yaml:"3gppUavId" bson:"3gppUavId,omitempty"` -} diff --git a/models/models/model_af_ack_info.go b/models/models/model_af_ack_info.go deleted file mode 100644 index 84c3a8cb..00000000 --- a/models/models/model_af_ack_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents acknowledgement information of a traffic influence event notification. -type AfAckInfo struct { - AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` - AckResult *AfResultInfo `json:"ackResult" yaml:"ackResult" bson:"ackResult,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` -} diff --git a/models/models/model_af_coordination_info.go b/models/models/model_af_coordination_info.go deleted file mode 100644 index 6d8377a4..00000000 --- a/models/models/model_af_coordination_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AF Coordination Information -type AfCoordinationInfo struct { - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` - SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` - NotificationInfoList []SmfPduSessionNotificationInfo `json:"notificationInfoList,omitempty" yaml:"notificationInfoList" bson:"notificationInfoList,omitempty"` -} diff --git a/models/models/model_af_event_exposure_af_event.go b/models/models/model_af_event_exposure_af_event.go deleted file mode 100644 index 28e5c71a..00000000 --- a/models/models/model_af_event_exposure_af_event.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfEventExposureAfEvent string - -// List of AfEventExposureAfEvent -const ( - AfEventExposureAfEvent_SVC_EXPERIENCE AfEventExposureAfEvent = "SVC_EXPERIENCE" - AfEventExposureAfEvent_UE_MOBILITY AfEventExposureAfEvent = "UE_MOBILITY" - AfEventExposureAfEvent_UE_COMM AfEventExposureAfEvent = "UE_COMM" - AfEventExposureAfEvent_EXCEPTIONS AfEventExposureAfEvent = "EXCEPTIONS" - AfEventExposureAfEvent_USER_DATA_CONGESTION AfEventExposureAfEvent = "USER_DATA_CONGESTION" - AfEventExposureAfEvent_PERF_DATA AfEventExposureAfEvent = "PERF_DATA" - AfEventExposureAfEvent_DISPERSION AfEventExposureAfEvent = "DISPERSION" - AfEventExposureAfEvent_COLLECTIVE_BEHAVIOUR AfEventExposureAfEvent = "COLLECTIVE_BEHAVIOUR" - AfEventExposureAfEvent_MS_QOE_METRICS AfEventExposureAfEvent = "MS_QOE_METRICS" - AfEventExposureAfEvent_MS_CONSUMPTION AfEventExposureAfEvent = "MS_CONSUMPTION" - AfEventExposureAfEvent_MS_NET_ASSIST_INVOCATION AfEventExposureAfEvent = "MS_NET_ASSIST_INVOCATION" - AfEventExposureAfEvent_MS_DYN_POLICY_INVOCATION AfEventExposureAfEvent = "MS_DYN_POLICY_INVOCATION" - AfEventExposureAfEvent_MS_ACCESS_ACTIVITY AfEventExposureAfEvent = "MS_ACCESS_ACTIVITY" -) diff --git a/models/models/model_af_event_exposure_af_event_notification.go b/models/models/model_af_event_exposure_af_event_notification.go deleted file mode 100644 index 69688de9..00000000 --- a/models/models/model_af_event_exposure_af_event_notification.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents information related to an event to be reported. -type AfEventExposureAfEventNotification struct { - Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - SvcExprcInfos []ServiceExperienceInfoPerApp `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` - UeMobilityInfos []UeMobilityCollection `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` - UeCommInfos []UeCommunicationCollection `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` - ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` - CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` - PerfDataInfos []PerformanceDataCollection `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` - DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` - CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` - MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` - MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` - MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` - MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` - MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` -} diff --git a/models/models/model_af_event_exposure_data.go b/models/models/model_af_event_exposure_data.go deleted file mode 100644 index 8096e345..00000000 --- a/models/models/model_af_event_exposure_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AF Event Exposure data managed by a given NEF Instance -type AfEventExposureData struct { - AfEvents []AfEventExposureAfEvent `json:"afEvents" yaml:"afEvents" bson:"afEvents,omitempty"` - AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` -} diff --git a/models/models/model_af_event_exposure_dispersion_collection.go b/models/models/model_af_event_exposure_dispersion_collection.go deleted file mode 100644 index 6217b445..00000000 --- a/models/models/model_af_event_exposure_dispersion_collection.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the dispersion information collected for an AF. -type AfEventExposureDispersionCollection struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UeAddr *IpAddr `json:"ueAddr,omitempty" yaml:"ueAddr" bson:"ueAddr,omitempty"` - DataUsage *UsageThreshold `json:"dataUsage" yaml:"dataUsage" bson:"dataUsage,omitempty"` - // Defines a packet filter of an IP flow. - FlowDesp string `json:"flowDesp,omitempty" yaml:"flowDesp" bson:"flowDesp,omitempty"` - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` - // indicating a time in seconds. - AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` -} diff --git a/models/models/model_af_event_exposure_event_filter.go b/models/models/model_af_event_exposure_event_filter.go deleted file mode 100644 index 74d66016..00000000 --- a/models/models/model_af_event_exposure_event_filter.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents event filter information for an event. -type AfEventExposureEventFilter struct { - Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - ExterGroupIds []string `json:"exterGroupIds,omitempty" yaml:"exterGroupIds" bson:"exterGroupIds,omitempty"` - InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - LocArea *LocationArea5G `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` - CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` -} diff --git a/models/models/model_af_event_exposure_notif.go b/models/models/model_af_event_exposure_notif.go deleted file mode 100644 index 7f11c332..00000000 --- a/models/models/model_af_event_exposure_notif.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications on application event(s) that occurred for an Individual Application Event Subscription resource. -type AfEventExposureNotif struct { - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` -} diff --git a/models/models/model_af_event_exposure_subsc.go b/models/models/model_af_event_exposure_subsc.go deleted file mode 100644 index 8f334f6c..00000000 --- a/models/models/model_af_event_exposure_subsc.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual Application Event Subscription resource. -type AfEventExposureSubsc struct { - DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` - EventsSubs []EventsSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` - EventsRepInfo *ReportingInformation `json:"eventsRepInfo" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []AfEventExposureAfEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_af_event_subscription.go b/models/models/model_af_event_subscription.go deleted file mode 100644 index d5070889..00000000 --- a/models/models/model_af_event_subscription.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the event information delivered in the subscription. -type AfEventSubscription struct { - Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - NotifMethod AfNotifMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` - // Unsigned integer identifying a period of time in units of seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` - // Unsigned integer identifying a period of time in units of seconds. - WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` -} diff --git a/models/models/model_af_external.go b/models/models/model_af_external.go deleted file mode 100644 index 6e4ad27e..00000000 --- a/models/models/model_af_external.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfExternal struct { - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` - AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` - PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` -} diff --git a/models/models/model_af_notif_method.go b/models/models/model_af_notif_method.go deleted file mode 100644 index 2be916da..00000000 --- a/models/models/model_af_notif_method.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfNotifMethod string - -// List of AfNotifMethod -const ( - AfNotifMethod_EVENT_DETECTION AfNotifMethod = "EVENT_DETECTION" - AfNotifMethod_ONE_TIME AfNotifMethod = "ONE_TIME" - AfNotifMethod_PERIODIC AfNotifMethod = "PERIODIC" -) diff --git a/models/models/model_af_requested_data.go b/models/models/model_af_requested_data.go deleted file mode 100644 index 0bb266c2..00000000 --- a/models/models/model_af_requested_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfRequestedData string - -// List of AfRequestedData -const ( - AfRequestedData_UE_IDENTITY AfRequestedData = "UE_IDENTITY" -) diff --git a/models/models/model_af_result_info.go b/models/models/model_af_result_info.go deleted file mode 100644 index 25f0a11b..00000000 --- a/models/models/model_af_result_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the result of application layer handling. -type AfResultInfo struct { - AfStatus AfResultStatus `json:"afStatus" yaml:"afStatus" bson:"afStatus,omitempty"` - TrafficRoute *RouteToLocation `json:"trafficRoute,omitempty" yaml:"trafficRoute" bson:"trafficRoute,omitempty"` - // If present and set to \"true\" it indicates that buffering of uplink traffic to the target DNAI is needed. - UpBuffInd bool `json:"upBuffInd,omitempty" yaml:"upBuffInd" bson:"upBuffInd,omitempty"` - // Contains EAS IP replacement information. - EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` -} diff --git a/models/models/model_af_result_status.go b/models/models/model_af_result_status.go deleted file mode 100644 index d4a74164..00000000 --- a/models/models/model_af_result_status.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfResultStatus string - -// List of AfResultStatus -const ( - AfResultStatus_SUCCESS AfResultStatus = "SUCCESS" - AfResultStatus_TEMPORARY_CONGESTION AfResultStatus = "TEMPORARY_CONGESTION" - AfResultStatus_RELOC_NO_ALLOWED AfResultStatus = "RELOC_NO_ALLOWED" - AfResultStatus_OTHER AfResultStatus = "OTHER" -) diff --git a/models/models/model_af_routing_requirement.go b/models/models/model_af_routing_requirement.go deleted file mode 100644 index 56d57c20..00000000 --- a/models/models/model_af_routing_requirement.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the event information delivered in the subscription. -type AfRoutingRequirement struct { - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` - RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` - SpVal *SpatialValidity `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` - TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` - UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // Unsigned integer identifying a period of time in units of seconds. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` - // Contains EAS IP replacement information. - EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` - // Indicates the EAS rediscovery is required. - EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` -} diff --git a/models/models/model_af_routing_requirement_rm.go b/models/models/model_af_routing_requirement_rm.go deleted file mode 100644 index e78a9b42..00000000 --- a/models/models/model_af_routing_requirement_rm.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the AfRoutingRequirement data type, but with the OpenAPI nullable property set to true and the spVal and tempVals attributes defined as removable. -type AfRoutingRequirementRm struct { - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` - RouteToLocs []*RouteToLocation `json:"routeToLocs,omitempty" yaml:"routeToLocs" bson:"routeToLocs,omitempty"` - SpVal *SpatialValidityRm `json:"spVal,omitempty" yaml:"spVal" bson:"spVal,omitempty"` - TempVals []TemporalValidity `json:"tempVals,omitempty" yaml:"tempVals" bson:"tempVals,omitempty"` - UpPathChgSub *UpPathChgEvent `json:"upPathChgSub,omitempty" yaml:"upPathChgSub" bson:"upPathChgSub,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` - // Contains EAS IP replacement information. - EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` - // Indicates the EAS rediscovery is required. - EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` -} diff --git a/models/models/model_af_sig_protocol.go b/models/models/model_af_sig_protocol.go deleted file mode 100644 index d0546267..00000000 --- a/models/models/model_af_sig_protocol.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfSigProtocol string - -// List of AfSigProtocol -const ( - AfSigProtocol_NO_INFORMATION AfSigProtocol = "NO_INFORMATION" - AfSigProtocol_SIP AfSigProtocol = "SIP" -) diff --git a/models/models/model_affinity_anti_affinity.go b/models/models/model_affinity_anti_affinity.go deleted file mode 100644 index 61886add..00000000 --- a/models/models/model_affinity_anti_affinity.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AffinityAntiAffinity struct { - AffinityEAS []string `json:"affinityEAS,omitempty" yaml:"affinityEAS" bson:"affinityEAS,omitempty"` - AntiAffinityEAS []string `json:"antiAffinityEAS,omitempty" yaml:"antiAffinityEAS" bson:"antiAffinityEAS,omitempty"` -} diff --git a/models/models/model_aggregation_level.go b/models/models/model_aggregation_level.go deleted file mode 100644 index 02742d5c..00000000 --- a/models/models/model_aggregation_level.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AggregationLevel string - -// List of AggregationLevel -const ( - AggregationLevel_UE AggregationLevel = "UE" - AggregationLevel_AOI AggregationLevel = "AOI" -) diff --git a/models/models/model_alert_limit.go b/models/models/model_alert_limit.go deleted file mode 100644 index 44c4faf3..00000000 --- a/models/models/model_alert_limit.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Alert Limit. -type AlertLimit struct { - // Contains the Horizontal Protection Level - HorizontalProtectionLevel int32 `json:"horizontalProtectionLevel" yaml:"horizontalProtectionLevel" bson:"horizontalProtectionLevel,omitempty"` - // Contains the Vertical Protection Level - VerticalProtectionLevel int32 `json:"verticalProtectionLevel,omitempty" yaml:"verticalProtectionLevel" bson:"verticalProtectionLevel,omitempty"` -} diff --git a/models/models/model_allowed_mbs_info.go b/models/models/model_allowed_mbs_info.go deleted file mode 100644 index 6a869d93..00000000 --- a/models/models/model_allowed_mbs_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AllowedMbsInfo struct { - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/models/model_allowed_mtc_provider_info.go b/models/models/model_allowed_mtc_provider_info.go deleted file mode 100644 index 079b1756..00000000 --- a/models/models/model_allowed_mtc_provider_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AllowedMtcProviderInfo struct { - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/models/model_allowed_nssai.go b/models/models/model_allowed_nssai.go deleted file mode 100644 index 0d2e3b9c..00000000 --- a/models/models/model_allowed_nssai.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains an array of allowed S-NSSAI that constitute the allowed NSSAI information for the authorized network slice information -type AllowedNssai struct { - AllowedSnssaiList []AllowedSnssai `json:"allowedSnssaiList" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_allowed_snssai.go b/models/models/model_allowed_snssai.go deleted file mode 100644 index 349786aa..00000000 --- a/models/models/model_allowed_snssai.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the authorized S-NSSAI and optional mapped home S-NSSAI and network slice instance information -type AllowedSnssai struct { - AllowedSnssai *Snssai `json:"allowedSnssai" yaml:"allowedSnssai" bson:"allowedSnssai,omitempty"` - NsiInformationList []NsiInformation `json:"nsiInformationList,omitempty" yaml:"nsiInformationList" bson:"nsiInformationList,omitempty"` - MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` -} diff --git a/models/models/model_alternative_qos_profile.go b/models/models/model_alternative_qos_profile.go deleted file mode 100644 index 57f4c6f7..00000000 --- a/models/models/model_alternative_qos_profile.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Alternative QoS Profile -type AlternativeQosProfile struct { - Index int32 `json:"index" yaml:"index" bson:"index,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - PacketErrRate string `json:"packetErrRate,omitempty" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` -} diff --git a/models/models/model_alternative_service_requirements_data.go b/models/models/model_alternative_service_requirements_data.go deleted file mode 100644 index 4f748633..00000000 --- a/models/models/model_alternative_service_requirements_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains an alternative QoS related parameter set. -type AlternativeServiceRequirementsData struct { - // Reference to this alternative QoS related parameter set. - AltQosParamSetRef string `json:"altQosParamSetRef" yaml:"altQosParamSetRef" bson:"altQosParamSetRef,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` -} diff --git a/models/models/model_am_event.go b/models/models/model_am_event.go deleted file mode 100644 index 9c2aeb6d..00000000 --- a/models/models/model_am_event.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmEvent string - -// List of AmEvent -const ( - AmEvent_SAC_CH AmEvent = "SAC_CH" - AmEvent_PDUID_CH AmEvent = "PDUID_CH" -) diff --git a/models/models/model_am_event_data.go b/models/models/model_am_event_data.go deleted file mode 100644 index 5e44c47d..00000000 --- a/models/models/model_am_event_data.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// This data type contains the event identifier and the related event reporting information. -type AmEventData struct { - Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` - ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` - NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` - // indicating a time in seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` -} diff --git a/models/models/model_am_event_notification.go b/models/models/model_am_event_notification.go deleted file mode 100644 index f418fb8c..00000000 --- a/models/models/model_am_event_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the notification of a subscription. -type AmEventNotification struct { - Event AmEvent `json:"event" yaml:"event" bson:"event,omitempty"` - AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` - PduidInfo *PduidInformation `json:"pduidInfo,omitempty" yaml:"pduidInfo" bson:"pduidInfo,omitempty"` -} diff --git a/models/models/model_am_events_notification.go b/models/models/model_am_events_notification.go deleted file mode 100644 index 15b30377..00000000 --- a/models/models/model_am_events_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the notification about the events occurred within an Individual Application AM Context resource. -type AmEventsNotification struct { - // Contains the AM Policy Events Subscription resource identifier related to the event notification. - AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` - RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` -} diff --git a/models/models/model_am_events_subsc_data.go b/models/models/model_am_events_subsc_data.go deleted file mode 100644 index e206dca7..00000000 --- a/models/models/model_am_events_subsc_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It represents the AM Policy Events Subscription subresource and identifies the events the application subscribes to. -type AmEventsSubscData struct { - // String providing an URI formatted according to RFC 3986. - EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` - Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` -} diff --git a/models/models/model_am_events_subsc_data_rm.go b/models/models/model_am_events_subsc_data_rm.go deleted file mode 100644 index 23d3fdab..00000000 --- a/models/models/model_am_events_subsc_data_rm.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the AmEventsSubscData but with the OpenAPI nullable property set to true. -type AmEventsSubscDataRm struct { - // String providing an URI formatted according to RFC 3986. - EventNotifUri string `json:"eventNotifUri,omitempty" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` - Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` -} diff --git a/models/models/model_am_events_subsc_resp_data.go b/models/models/model_am_events_subsc_resp_data.go deleted file mode 100644 index 438bf102..00000000 --- a/models/models/model_am_events_subsc_resp_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the events the application subscribes to within an AM Policy Events Subscription subresource data. It may contain the notification of the already met events. -type AmEventsSubscRespData struct { - // String providing an URI formatted according to RFC 3986. - EventNotifUri string `json:"eventNotifUri" yaml:"eventNotifUri" bson:"eventNotifUri,omitempty"` - Events []AmEventData `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` - // Contains the AM Policy Events Subscription resource identifier related to the event notification. - AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` - RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` -} diff --git a/models/models/model_am_influ_data.go b/models/models/model_am_influ_data.go deleted file mode 100644 index d1af0c49..00000000 --- a/models/models/model_am_influ_data.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the AM Influence Data. -type AmInfluData struct { - // Identifies one or more applications. - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - // Identifies one or more DNN, S-NSSAI combinations. - DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // Indicates whether the data is applicable for any UE. - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - // indicating a time in seconds. - PolicyDuration int32 `json:"policyDuration,omitempty" yaml:"policyDuration" bson:"policyDuration,omitempty"` - // List of AM related events for which a subscription is required. - EvSubs []AmInfluEvent `json:"evSubs,omitempty" yaml:"evSubs" bson:"evSubs,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - // Notification correlation identifier. - NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` - // Contains the headers provisioned by the NEF. - Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` - // Indicates whether high throughput is desired for the indicated UE traffic. - ThruReq bool `json:"thruReq,omitempty" yaml:"thruReq" bson:"thruReq,omitempty"` - // Indicates the service area coverage requirement. - CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_am_influ_event.go b/models/models/model_am_influ_event.go deleted file mode 100644 index 9f3d9b34..00000000 --- a/models/models/model_am_influ_event.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmInfluEvent string - -// List of AmInfluEvent -const ( - AmInfluEvent_SERVICE_AREA_COVRG_OUTCOME AmInfluEvent = "SERVICE_AREA_COVRG_OUTCOME" -) diff --git a/models/models/model_am_policy_data.go b/models/models/model_am_policy_data.go deleted file mode 100644 index 6d1f2028..00000000 --- a/models/models/model_am_policy_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the AM policy data for a given subscriber. -type AmPolicyData struct { - // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. - PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` - SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` -} diff --git a/models/models/model_am_requested_value_rep.go b/models/models/model_am_requested_value_rep.go deleted file mode 100644 index 84c49685..00000000 --- a/models/models/model_am_requested_value_rep.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the current applicable values corresponding to the policy control request triggers. -type AmRequestedValueRep struct { - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` - RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` - // array of allowed S-NSSAIs for the 3GPP access. - AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` - // array of allowed S-NSSAIs for the Non-3GPP access. - N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` -} diff --git a/models/models/model_am_termination_cause.go b/models/models/model_am_termination_cause.go deleted file mode 100644 index 466b4219..00000000 --- a/models/models/model_am_termination_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmTerminationCause string - -// List of AmTerminationCause -const ( - AmTerminationCause_UE_DEREGISTERED AmTerminationCause = "UE_DEREGISTERED" - AmTerminationCause_UNSPECIFIED AmTerminationCause = "UNSPECIFIED" - AmTerminationCause_INSUFFICIENT_RESOURCES AmTerminationCause = "INSUFFICIENT_RESOURCES" -) diff --git a/models/models/model_am_termination_info.go b/models/models/model_am_termination_info.go deleted file mode 100644 index c9d122e2..00000000 --- a/models/models/model_am_termination_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Includes information related to the termination of the Individual Application AM Context resource. -type AmTerminationInfo struct { - // Contains the Individual application AM context resource identifier related to the termination notification. - AppAmContextId string `json:"appAmContextId" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` - TermCause AmTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` -} diff --git a/models/models/model_ambr.go b/models/models/model_ambr.go deleted file mode 100644 index d0c3f017..00000000 --- a/models/models/model_ambr.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the maximum aggregated uplink and downlink bit rates. -type Ambr struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` -} diff --git a/models/models/model_ambr_rm.go b/models/models/model_ambr_rm.go deleted file mode 100644 index 83259b79..00000000 --- a/models/models/model_ambr_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmbrRm struct { -} diff --git a/models/models/model_amf3_gpp_access_registration.go b/models/models/model_amf3_gpp_access_registration.go deleted file mode 100644 index 4336f157..00000000 --- a/models/models/model_amf3_gpp_access_registration.go +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type Amf3GppAccessRegistration struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` - // String providing an URI formatted according to RFC 3986. - DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` - AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` - // String providing an URI formatted according to RFC 3986. - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` - AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` - InitialRegistrationInd bool `json:"initialRegistrationInd,omitempty" yaml:"initialRegistrationInd" bson:"initialRegistrationInd,omitempty"` - EmergencyRegistrationInd bool `json:"emergencyRegistrationInd,omitempty" yaml:"emergencyRegistrationInd" bson:"emergencyRegistrationInd,omitempty"` - Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - DrFlag bool `json:"drFlag,omitempty" yaml:"drFlag" bson:"drFlag,omitempty"` - RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` - UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` - // String providing an URI formatted according to RFC 3986. - AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` - EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` - UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UeReachableInd UeReachableInd `json:"ueReachableInd,omitempty" yaml:"ueReachableInd" bson:"ueReachableInd,omitempty"` - ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` - AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` - UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` - SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` -} diff --git a/models/models/model_amf3_gpp_access_registration_modification.go b/models/models/model_amf3_gpp_access_registration_modification.go deleted file mode 100644 index 9ec0535a..00000000 --- a/models/models/model_amf3_gpp_access_registration_modification.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Amf3GppAccessRegistrationModification struct { - Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` - UeSrvccCapability bool `json:"ueSrvccCapability,omitempty" yaml:"ueSrvccCapability" bson:"ueSrvccCapability,omitempty"` - UeMINTCapability bool `json:"ueMINTCapability,omitempty" yaml:"ueMINTCapability" bson:"ueMINTCapability,omitempty"` -} diff --git a/models/models/model_amf_communication_ec_restriction_data_wb.go b/models/models/model_amf_communication_ec_restriction_data_wb.go deleted file mode 100644 index 667e2049..00000000 --- a/models/models/model_amf_communication_ec_restriction_data_wb.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Enhanced Coverage Restriction Data for WB-N1 mode -type AmfCommunicationEcRestrictionDataWb struct { - EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` - EcModeBRestricted bool `json:"ecModeBRestricted" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` -} diff --git a/models/models/model_amf_communication_ngap_ie_type.go b/models/models/model_amf_communication_ngap_ie_type.go deleted file mode 100644 index b78c62e2..00000000 --- a/models/models/model_amf_communication_ngap_ie_type.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfCommunicationNgapIeType string - -// List of AmfCommunicationNgapIeType -const ( - AmfCommunicationNgapIeType_PDU_RES_SETUP_REQ AmfCommunicationNgapIeType = "PDU_RES_SETUP_REQ" - AmfCommunicationNgapIeType_PDU_RES_REL_CMD AmfCommunicationNgapIeType = "PDU_RES_REL_CMD" - AmfCommunicationNgapIeType_PDU_RES_MOD_REQ AmfCommunicationNgapIeType = "PDU_RES_MOD_REQ" - AmfCommunicationNgapIeType_HANDOVER_CMD AmfCommunicationNgapIeType = "HANDOVER_CMD" - AmfCommunicationNgapIeType_HANDOVER_REQUIRED AmfCommunicationNgapIeType = "HANDOVER_REQUIRED" - AmfCommunicationNgapIeType_HANDOVER_PREP_FAIL AmfCommunicationNgapIeType = "HANDOVER_PREP_FAIL" - AmfCommunicationNgapIeType_SRC_TO_TAR_CONTAINER AmfCommunicationNgapIeType = "SRC_TO_TAR_CONTAINER" - AmfCommunicationNgapIeType_TAR_TO_SRC_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_CONTAINER" - AmfCommunicationNgapIeType_TAR_TO_SRC_FAIL_CONTAINER AmfCommunicationNgapIeType = "TAR_TO_SRC_FAIL_CONTAINER" - AmfCommunicationNgapIeType_RAN_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "RAN_STATUS_TRANS_CONTAINER" - AmfCommunicationNgapIeType_SON_CONFIG_TRANSFER AmfCommunicationNgapIeType = "SON_CONFIG_TRANSFER" - AmfCommunicationNgapIeType_NRPPA_PDU AmfCommunicationNgapIeType = "NRPPA_PDU" - AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY" - AmfCommunicationNgapIeType_RIM_INFO_TRANSFER AmfCommunicationNgapIeType = "RIM_INFO_TRANSFER" - AmfCommunicationNgapIeType_SECONDARY_RAT_USAGE AmfCommunicationNgapIeType = "SECONDARY_RAT_USAGE" - AmfCommunicationNgapIeType_PC5_QOS_PARA AmfCommunicationNgapIeType = "PC5_QOS_PARA" - AmfCommunicationNgapIeType_EARLY_STATUS_TRANS_CONTAINER AmfCommunicationNgapIeType = "EARLY_STATUS_TRANS_CONTAINER" - AmfCommunicationNgapIeType_UE_RADIO_CAPABILITY_FOR_PAGING AmfCommunicationNgapIeType = "UE_RADIO_CAPABILITY_FOR_PAGING" -) diff --git a/models/models/model_amf_communication_release_cause.go b/models/models/model_amf_communication_release_cause.go deleted file mode 100644 index eb301a41..00000000 --- a/models/models/model_amf_communication_release_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfCommunicationReleaseCause string - -// List of AmfCommunicationReleaseCause -const ( - AmfCommunicationReleaseCause_SNPN_SNPN_MOBILITY AmfCommunicationReleaseCause = "SNPN_SNPN_MOBILITY" - AmfCommunicationReleaseCause_NO_HR_AGREEMENT AmfCommunicationReleaseCause = "NO_HR_AGREEMENT" - AmfCommunicationReleaseCause_UNSPECIFIED AmfCommunicationReleaseCause = "UNSPECIFIED" -) diff --git a/models/models/model_amf_communication_subscription_data.go b/models/models/model_amf_communication_subscription_data.go deleted file mode 100644 index 921fb1e4..00000000 --- a/models/models/model_amf_communication_subscription_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within an AMF Status Change Subscription request and response -type AmfCommunicationSubscriptionData struct { - // String providing an URI formatted according to RFC 3986. - AmfStatusUri string `json:"amfStatusUri" yaml:"amfStatusUri" bson:"amfStatusUri,omitempty"` - GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` -} diff --git a/models/models/model_amf_cond.go b/models/models/model_amf_cond.go deleted file mode 100644 index 76ba54e5..00000000 --- a/models/models/model_amf_cond.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of AMFs, based on AMF Set Id and/or AMF Region Id -type AmfCond struct { - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). - AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) - AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` -} diff --git a/models/models/model_amf_create_event_subscription.go b/models/models/model_amf_create_event_subscription.go deleted file mode 100644 index 02109aec..00000000 --- a/models/models/model_amf_create_event_subscription.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a create AMF event subscription request -type AmfCreateEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` -} diff --git a/models/models/model_amf_created_event_subscription.go b/models/models/model_amf_created_event_subscription.go deleted file mode 100644 index 288be2e5..00000000 --- a/models/models/model_amf_created_event_subscription.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a create AMF event subscription response -type AmfCreatedEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_amf_dereg_info.go b/models/models/model_amf_dereg_info.go deleted file mode 100644 index d8c8b418..00000000 --- a/models/models/model_amf_dereg_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfDeregInfo struct { - DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` -} diff --git a/models/models/model_amf_event.go b/models/models/model_amf_event.go deleted file mode 100644 index df64408a..00000000 --- a/models/models/model_amf_event.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Describes an event to be subscribed -type AmfEvent struct { - Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` - ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` - AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` - LocationFilterList []LocationFilter `json:"locationFilterList,omitempty" yaml:"locationFilterList" bson:"locationFilterList,omitempty"` - RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` - TrafficDescriptorList []AmfEventExposureTrafficDescriptor `json:"trafficDescriptorList,omitempty" yaml:"trafficDescriptorList" bson:"trafficDescriptorList,omitempty"` - ReportUeReachable bool `json:"reportUeReachable,omitempty" yaml:"reportUeReachable" bson:"reportUeReachable,omitempty"` - ReachabilityFilter ReachabilityFilter `json:"reachabilityFilter,omitempty" yaml:"reachabilityFilter" bson:"reachabilityFilter,omitempty"` - UdmDetectInd bool `json:"udmDetectInd,omitempty" yaml:"udmDetectInd" bson:"udmDetectInd,omitempty"` - MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` - // A map(list of key-value pairs) where praId serves as key. - PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList,omitempty" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` - // indicating a time in seconds. - MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` - TargetArea *TargetArea `json:"targetArea,omitempty" yaml:"targetArea" bson:"targetArea,omitempty"` - SnssaiFilter []ExtSnssai `json:"snssaiFilter,omitempty" yaml:"snssaiFilter" bson:"snssaiFilter,omitempty"` - UeInAreaFilter *UeInAreaFilter `json:"ueInAreaFilter,omitempty" yaml:"ueInAreaFilter" bson:"ueInAreaFilter,omitempty"` - // indicating a time in seconds. - MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - NextReport *time.Time `json:"nextReport,omitempty" yaml:"nextReport" bson:"nextReport,omitempty"` - IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` - DispersionArea *DispersionArea `json:"dispersionArea,omitempty" yaml:"dispersionArea" bson:"dispersionArea,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - NextPeriodicReportTime *time.Time `json:"nextPeriodicReportTime,omitempty" yaml:"nextPeriodicReportTime" bson:"nextPeriodicReportTime,omitempty"` -} diff --git a/models/models/model_amf_event_area.go b/models/models/model_amf_event_area.go deleted file mode 100644 index b54df414..00000000 --- a/models/models/model_amf_event_area.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an area to be monitored by an AMF event -type AmfEventArea struct { - PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` - LadnInfo *LadnInfo `json:"ladnInfo,omitempty" yaml:"ladnInfo" bson:"ladnInfo,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - // Contains the Identifier of the selected Network Slice instance - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` -} diff --git a/models/models/model_amf_event_exposure_traffic_descriptor.go b/models/models/model_amf_event_exposure_traffic_descriptor.go deleted file mode 100644 index d65978ee..00000000 --- a/models/models/model_amf_event_exposure_traffic_descriptor.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the Traffic Descriptor -type AmfEventExposureTrafficDescriptor struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` -} diff --git a/models/models/model_amf_event_mode.go b/models/models/model_amf_event_mode.go deleted file mode 100644 index 967dbe17..00000000 --- a/models/models/model_amf_event_mode.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Describes how the reports shall be generated by a subscribed event -type AmfEventMode struct { - Trigger AmfEventTrigger `json:"trigger" yaml:"trigger" bson:"trigger,omitempty"` - MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // indicating a time in seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` - PartitioningCriteria []PartitioningCriteria `json:"partitioningCriteria,omitempty" yaml:"partitioningCriteria" bson:"partitioningCriteria,omitempty"` - NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` -} diff --git a/models/models/model_amf_event_notification.go b/models/models/model_amf_event_notification.go deleted file mode 100644 index 775ca9d0..00000000 --- a/models/models/model_amf_event_notification.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a AMF Event Notification request -type AmfEventNotification struct { - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` - ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` - EventSubsSyncInfo *AmfEventSubsSyncInfo `json:"eventSubsSyncInfo,omitempty" yaml:"eventSubsSyncInfo" bson:"eventSubsSyncInfo,omitempty"` -} diff --git a/models/models/model_amf_event_report.go b/models/models/model_amf_event_report.go deleted file mode 100644 index 2e7e6d5c..00000000 --- a/models/models/model_amf_event_report.go +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a report triggered by a subscribed event type -type AmfEventReport struct { - Type AmfEventType `json:"type" yaml:"type" bson:"type,omitempty"` - State *AmfEventState `json:"state" yaml:"state" bson:"state,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - AreaList []AmfEventArea `json:"areaList,omitempty" yaml:"areaList" bson:"areaList,omitempty"` - RefId int32 `json:"refId,omitempty" yaml:"refId" bson:"refId,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` - AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` - AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` - RmInfoList []RmInfo `json:"rmInfoList,omitempty" yaml:"rmInfoList" bson:"rmInfoList,omitempty"` - CmInfoList []CmInfo `json:"cmInfoList,omitempty" yaml:"cmInfoList" bson:"cmInfoList,omitempty"` - Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` - CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` - LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason,omitempty" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` - NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` - Var5gsUserStateList []Model5GsUserStateInfo `json:"5gsUserStateList,omitempty" yaml:"5gsUserStateList" bson:"5gsUserStateList,omitempty"` - TypeCode string `json:"typeCode,omitempty" yaml:"typeCode" bson:"typeCode,omitempty"` - RegistrationNumber int32 `json:"registrationNumber,omitempty" yaml:"registrationNumber" bson:"registrationNumber,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` - UeIdExt []UeIdExt `json:"ueIdExt,omitempty" yaml:"ueIdExt" bson:"ueIdExt,omitempty"` - SnssaiTaiList []SnssaiTaiMapping `json:"snssaiTaiList,omitempty" yaml:"snssaiTaiList" bson:"snssaiTaiList,omitempty"` - IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` - UeAccessBehaviorTrends []UeAccessBehaviorReportItem `json:"ueAccessBehaviorTrends,omitempty" yaml:"ueAccessBehaviorTrends" bson:"ueAccessBehaviorTrends,omitempty"` - UeLocationTrends []UeLocationTrendsReportItem `json:"ueLocationTrends,omitempty" yaml:"ueLocationTrends" bson:"ueLocationTrends,omitempty"` - MmTransLocationReportList []MmTransactionLocationReportItem `json:"mmTransLocationReportList,omitempty" yaml:"mmTransLocationReportList" bson:"mmTransLocationReportList,omitempty"` - MmTransSliceReportList []MmTransactionSliceReportItem `json:"mmTransSliceReportList,omitempty" yaml:"mmTransSliceReportList" bson:"mmTransSliceReportList,omitempty"` -} diff --git a/models/models/model_amf_event_state.go b/models/models/model_amf_event_state.go deleted file mode 100644 index 02c02f16..00000000 --- a/models/models/model_amf_event_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the state of a subscribed event -type AmfEventState struct { - Active bool `json:"active" yaml:"active" bson:"active,omitempty"` - RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` - // indicating a time in seconds. - RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` -} diff --git a/models/models/model_amf_event_subs_sync_info.go b/models/models/model_amf_event_subs_sync_info.go deleted file mode 100644 index 02497827..00000000 --- a/models/models/model_amf_event_subs_sync_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AMF Event Subscriptions Information for synchronization -type AmfEventSubsSyncInfo struct { - SubscriptionList []AmfEventSubscriptionInfo `json:"subscriptionList" yaml:"subscriptionList" bson:"subscriptionList,omitempty"` -} diff --git a/models/models/model_amf_event_subscription.go b/models/models/model_amf_event_subscription.go deleted file mode 100644 index 20a62e7c..00000000 --- a/models/models/model_amf_event_subscription.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an individual event subscription resource on AMF -type AmfEventSubscription struct { - EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` - // String providing an URI formatted according to RFC 3986. - EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` - IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` - IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` - Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` - SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` -} diff --git a/models/models/model_amf_event_subscription_add_info.go b/models/models/model_amf_event_subscription_add_info.go deleted file mode 100644 index c97d6c68..00000000 --- a/models/models/model_amf_event_subscription_add_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Additional information received for an AMF event subscription, e.g. binding indications -type AmfEventSubscriptionAddInfo struct { - BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` - SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` - EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` - NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` - // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. - AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` -} diff --git a/models/models/model_amf_event_subscription_info.go b/models/models/model_amf_event_subscription_info.go deleted file mode 100644 index edc4979b..00000000 --- a/models/models/model_amf_event_subscription_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual AMF Event Subscription Information -type AmfEventSubscriptionInfo struct { - // String providing an URI formatted according to RFC 3986. - SubId string `json:"subId" yaml:"subId" bson:"subId,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - RefIdList []int32 `json:"refIdList" yaml:"refIdList" bson:"refIdList,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldSubId string `json:"oldSubId,omitempty" yaml:"oldSubId" bson:"oldSubId,omitempty"` -} diff --git a/models/models/model_amf_event_trigger.go b/models/models/model_amf_event_trigger.go deleted file mode 100644 index c6f4db92..00000000 --- a/models/models/model_amf_event_trigger.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfEventTrigger string - -// List of AmfEventTrigger -const ( - AmfEventTrigger_ONE_TIME AmfEventTrigger = "ONE_TIME" - AmfEventTrigger_CONTINUOUS AmfEventTrigger = "CONTINUOUS" - AmfEventTrigger_PERIODIC AmfEventTrigger = "PERIODIC" -) diff --git a/models/models/model_amf_event_type.go b/models/models/model_amf_event_type.go deleted file mode 100644 index 400dd0d0..00000000 --- a/models/models/model_amf_event_type.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfEventType string - -// List of AmfEventType -const ( - AmfEventType_LOCATION_REPORT AmfEventType = "LOCATION_REPORT" - AmfEventType_PRESENCE_IN_AOI_REPORT AmfEventType = "PRESENCE_IN_AOI_REPORT" - AmfEventType_TIMEZONE_REPORT AmfEventType = "TIMEZONE_REPORT" - AmfEventType_ACCESS_TYPE_REPORT AmfEventType = "ACCESS_TYPE_REPORT" - AmfEventType_REGISTRATION_STATE_REPORT AmfEventType = "REGISTRATION_STATE_REPORT" - AmfEventType_CONNECTIVITY_STATE_REPORT AmfEventType = "CONNECTIVITY_STATE_REPORT" - AmfEventType_REACHABILITY_REPORT AmfEventType = "REACHABILITY_REPORT" - AmfEventType_COMMUNICATION_FAILURE_REPORT AmfEventType = "COMMUNICATION_FAILURE_REPORT" - AmfEventType_UES_IN_AREA_REPORT AmfEventType = "UES_IN_AREA_REPORT" - AmfEventType_SUBSCRIPTION_ID_CHANGE AmfEventType = "SUBSCRIPTION_ID_CHANGE" - AmfEventType_SUBSCRIPTION_ID_ADDITION AmfEventType = "SUBSCRIPTION_ID_ADDITION" - AmfEventType_LOSS_OF_CONNECTIVITY AmfEventType = "LOSS_OF_CONNECTIVITY" - AmfEventType__5_GS_USER_STATE_REPORT AmfEventType = "5GS_USER_STATE_REPORT" - AmfEventType_AVAILABILITY_AFTER_DDN_FAILURE AmfEventType = "AVAILABILITY_AFTER_DDN_FAILURE" - AmfEventType_TYPE_ALLOCATION_CODE_REPORT AmfEventType = "TYPE_ALLOCATION_CODE_REPORT" - AmfEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT AmfEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" - AmfEventType_SNSSAI_TA_MAPPING_REPORT AmfEventType = "SNSSAI_TA_MAPPING_REPORT" - AmfEventType_UE_LOCATION_TRENDS AmfEventType = "UE_LOCATION_TRENDS" - AmfEventType_UE_ACCESS_BEHAVIOR_TRENDS AmfEventType = "UE_ACCESS_BEHAVIOR_TRENDS" - AmfEventType_UE_MM_TRANSACTION_REPORT AmfEventType = "UE_MM_TRANSACTION_REPORT" -) diff --git a/models/models/model_amf_location_data.go b/models/models/model_amf_location_data.go deleted file mode 100644 index e911ae76..00000000 --- a/models/models/model_amf_location_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location information as retrieved from the AMF serving node -type AmfLocationData struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfAddress string `json:"amfAddress" yaml:"amfAddress" bson:"amfAddress,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - AmfLocation *NrLocation `json:"amfLocation,omitempty" yaml:"amfLocation" bson:"amfLocation,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmsfAddress string `json:"smsfAddress,omitempty" yaml:"smsfAddress" bson:"smsfAddress,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_amf_location_location_event.go b/models/models/model_amf_location_location_event.go deleted file mode 100644 index 1beec7dc..00000000 --- a/models/models/model_amf_location_location_event.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfLocationLocationEvent string - -// List of AmfLocationLocationEvent -const ( - AmfLocationLocationEvent_EMERGENCY_CALL_ORIGINATION AmfLocationLocationEvent = "EMERGENCY_CALL_ORIGINATION" - AmfLocationLocationEvent_EMERGENCY_CALL_RELEASE AmfLocationLocationEvent = "EMERGENCY_CALL_RELEASE" - AmfLocationLocationEvent_EMERGENCY_CALL_HANDOVER AmfLocationLocationEvent = "EMERGENCY_CALL_HANDOVER" - AmfLocationLocationEvent_ACTIVATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION" - AmfLocationLocationEvent_UE_MOBILITY_FOR_DEFERRED_LOCATION AmfLocationLocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION" - AmfLocationLocationEvent_CANCELLATION_OF_DEFERRED_LOCATION AmfLocationLocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION" -) diff --git a/models/models/model_amf_location_location_type.go b/models/models/model_amf_location_location_type.go deleted file mode 100644 index 3ae49deb..00000000 --- a/models/models/model_amf_location_location_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfLocationLocationType string - -// List of AmfLocationLocationType -const ( - AmfLocationLocationType_CURRENT_LOCATION AmfLocationLocationType = "CURRENT_LOCATION" - AmfLocationLocationType_CURRENT_OR_LAST_KNOWN_LOCATION AmfLocationLocationType = "CURRENT_OR_LAST_KNOWN_LOCATION" - AmfLocationLocationType_NOTIFICATION_VERIFICATION_ONLY AmfLocationLocationType = "NOTIFICATION_VERIFICATION_ONLY" - AmfLocationLocationType_DEFERRED_LOCATION AmfLocationLocationType = "DEFERRED_LOCATION" -) diff --git a/models/models/model_amf_mbs_broadcast_context_update_req_data.go b/models/models/model_amf_mbs_broadcast_context_update_req_data.go deleted file mode 100644 index 31b97e7a..00000000 --- a/models/models/model_amf_mbs_broadcast_context_update_req_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within ContextUpdate Request -type AmfMbsBroadcastContextUpdateReqData struct { - MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` - MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` - N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo,omitempty" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` - RanIdList []GlobalRanNodeId `json:"ranIdList,omitempty" yaml:"ranIdList" bson:"ranIdList,omitempty"` - NoNgapSignallingInd bool `json:"noNgapSignallingInd,omitempty" yaml:"noNgapSignallingInd" bson:"noNgapSignallingInd,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` - // indicating a time in seconds. - MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` - N2MbsInfoChangeInd bool `json:"n2MbsInfoChangeInd,omitempty" yaml:"n2MbsInfoChangeInd" bson:"n2MbsInfoChangeInd,omitempty"` -} diff --git a/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go b/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go deleted file mode 100644 index 92784fc9..00000000 --- a/models/models/model_amf_mbs_broadcast_context_update_rsp_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within ContextUpdate Response -type AmfMbsBroadcastContextUpdateRspData struct { - N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` - OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` -} diff --git a/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go b/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go deleted file mode 100644 index f7df55f3..00000000 --- a/models/models/model_amf_mbs_broadcast_n2_mbs_sm_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N2 MBS Session Management information -type AmfMbsBroadcastN2MbsSmInfo struct { - NgapIeType AmfMbsBroadcastNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` - NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` - RanId *GlobalRanNodeId `json:"ranId,omitempty" yaml:"ranId" bson:"ranId,omitempty"` -} diff --git a/models/models/model_amf_mbs_broadcast_ngap_ie_type.go b/models/models/model_amf_mbs_broadcast_ngap_ie_type.go deleted file mode 100644 index 4afc364a..00000000 --- a/models/models/model_amf_mbs_broadcast_ngap_ie_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfMbsBroadcastNgapIeType string - -// List of AmfMBSBroadcastNgapIeType -const ( - AmfMbsBroadcastNgapIeType_REQ AmfMbsBroadcastNgapIeType = "MBS_SES_REQ" - AmfMbsBroadcastNgapIeType_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_RSP" - AmfMbsBroadcastNgapIeType_FAIL AmfMbsBroadcastNgapIeType = "MBS_SES_FAIL" - AmfMbsBroadcastNgapIeType_REL_RSP AmfMbsBroadcastNgapIeType = "MBS_SES_REL_RSP" -) diff --git a/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go b/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go deleted file mode 100644 index d80617da..00000000 --- a/models/models/model_amf_mbs_communication_n2_mbs_sm_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N2 MBS Session Management information -type AmfMbsCommunicationN2MbsSmInfo struct { - NgapIeType MbsNgapIeType `json:"ngapIeType" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` - NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` -} diff --git a/models/models/model_amf_mt_ue_info.go b/models/models/model_amf_mt_ue_info.go deleted file mode 100644 index 26a04cb8..00000000 --- a/models/models/model_amf_mt_ue_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// list of UEs requested to be made reachable for the MBS Session -type AmfMtUeInfo struct { - UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` -} diff --git a/models/models/model_amf_non3_gpp_access_registration.go b/models/models/model_amf_non3_gpp_access_registration.go deleted file mode 100644 index c64e2bc1..00000000 --- a/models/models/model_amf_non3_gpp_access_registration.go +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type AmfNon3GppAccessRegistration struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - ImsVoPs ImsVoPs `json:"imsVoPs" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` - // String providing an URI formatted according to RFC 3986. - DeregCallbackUri string `json:"deregCallbackUri" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` - AmfServiceNameDereg ServiceName `json:"amfServiceNameDereg,omitempty" yaml:"amfServiceNameDereg" bson:"amfServiceNameDereg,omitempty"` - // String providing an URI formatted according to RFC 3986. - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` - AmfServiceNamePcscfRest ServiceName `json:"amfServiceNamePcscfRest,omitempty" yaml:"amfServiceNamePcscfRest" bson:"amfServiceNamePcscfRest,omitempty"` - Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` - UrrpIndicator bool `json:"urrpIndicator,omitempty" yaml:"urrpIndicator" bson:"urrpIndicator,omitempty"` - // String providing an URI formatted according to RFC 3986. - AmfEeSubscriptionId string `json:"amfEeSubscriptionId,omitempty" yaml:"amfEeSubscriptionId" bson:"amfEeSubscriptionId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - NoEeSubscriptionInd bool `json:"noEeSubscriptionInd,omitempty" yaml:"noEeSubscriptionInd" bson:"noEeSubscriptionInd,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - ReRegistrationRequired bool `json:"reRegistrationRequired,omitempty" yaml:"reRegistrationRequired" bson:"reRegistrationRequired,omitempty"` - AdminDeregSubWithdrawn bool `json:"adminDeregSubWithdrawn,omitempty" yaml:"adminDeregSubWithdrawn" bson:"adminDeregSubWithdrawn,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` - SorSnpnSiSupported bool `json:"sorSnpnSiSupported,omitempty" yaml:"sorSnpnSiSupported" bson:"sorSnpnSiSupported,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` -} diff --git a/models/models/model_amf_non3_gpp_access_registration_modification.go b/models/models/model_amf_non3_gpp_access_registration_modification.go deleted file mode 100644 index 0cdc98cc..00000000 --- a/models/models/model_amf_non3_gpp_access_registration_modification.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmfNon3GppAccessRegistrationModification struct { - Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` - PurgeFlag bool `json:"purgeFlag,omitempty" yaml:"purgeFlag" bson:"purgeFlag,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - ImsVoPs ImsVoPs `json:"imsVoPs,omitempty" yaml:"imsVoPs" bson:"imsVoPs,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` -} diff --git a/models/models/model_amf_status_change_notification.go b/models/models/model_amf_status_change_notification.go deleted file mode 100644 index 0edb404f..00000000 --- a/models/models/model_amf_status_change_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within an AMF Status Change Notification request -type AmfStatusChangeNotification struct { - AmfStatusInfoList []AmfStatusInfo `json:"amfStatusInfoList" yaml:"amfStatusInfoList" bson:"amfStatusInfoList,omitempty"` -} diff --git a/models/models/model_amf_status_info.go b/models/models/model_amf_status_info.go deleted file mode 100644 index 5752beeb..00000000 --- a/models/models/model_amf_status_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AMF Status Information -type AmfStatusInfo struct { - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` - StatusChange StatusChange `json:"statusChange" yaml:"statusChange" bson:"statusChange,omitempty"` - // Fully Qualified Domain Name - TargetAmfRemoval string `json:"targetAmfRemoval,omitempty" yaml:"targetAmfRemoval" bson:"targetAmfRemoval,omitempty"` - // Fully Qualified Domain Name - TargetAmfFailure string `json:"targetAmfFailure,omitempty" yaml:"targetAmfFailure" bson:"targetAmfFailure,omitempty"` -} diff --git a/models/models/model_amf_subscription_info.go b/models/models/model_amf_subscription_info.go deleted file mode 100644 index d641a221..00000000 --- a/models/models/model_amf_subscription_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information the UDR stores and retrieves related to active subscriptions at the AMF(s). -type AmfSubscriptionInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` -} diff --git a/models/models/model_amf_update_event_option_item.go b/models/models/model_amf_update_event_option_item.go deleted file mode 100644 index 2b22d636..00000000 --- a/models/models/model_amf_update_event_option_item.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Document describing the modifications to AMF event subscription options -type AmfUpdateEventOptionItem struct { - Op string `json:"op" yaml:"op" bson:"op,omitempty"` - Path string `json:"path" yaml:"path" bson:"path,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Value *time.Time `json:"value" yaml:"value" bson:"value,omitempty"` - NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` -} diff --git a/models/models/model_amf_update_event_subscription_item.go b/models/models/model_amf_update_event_subscription_item.go deleted file mode 100644 index 1f9f8b02..00000000 --- a/models/models/model_amf_update_event_subscription_item.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Document describing the modification(s) to an AMF Event Subscription -type AmfUpdateEventSubscriptionItem struct { - Op string `json:"op" yaml:"op" bson:"op,omitempty"` - Path string `json:"path" yaml:"path" bson:"path,omitempty"` - Value *AmfEvent `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` - PresenceInfo *PresenceInfo `json:"presenceInfo,omitempty" yaml:"presenceInfo" bson:"presenceInfo,omitempty"` - ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` - IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` - IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` -} diff --git a/models/models/model_amf_updated_event_subscription.go b/models/models/model_amf_updated_event_subscription.go deleted file mode 100644 index da54ed47..00000000 --- a/models/models/model_amf_updated_event_subscription.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a successful update on an AMF Event Subscription -type AmfUpdatedEventSubscription struct { - Subscription *AmfEventSubscription `json:"subscription" yaml:"subscription" bson:"subscription,omitempty"` - ReportList []AmfEventReport `json:"reportList,omitempty" yaml:"reportList" bson:"reportList,omitempty"` -} diff --git a/models/models/model_an_gw_address.go b/models/models/model_an_gw_address.go deleted file mode 100644 index a845ce9e..00000000 --- a/models/models/model_an_gw_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the address of the access network gateway control node. -type AnGwAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AnGwIpv4Addr string `json:"anGwIpv4Addr,omitempty" yaml:"anGwIpv4Addr" bson:"anGwIpv4Addr,omitempty"` - AnGwIpv6Addr string `json:"anGwIpv6Addr,omitempty" yaml:"anGwIpv6Addr" bson:"anGwIpv6Addr,omitempty"` -} diff --git a/models/models/model_an_node_type.go b/models/models/model_an_node_type.go deleted file mode 100644 index c4a4eebc..00000000 --- a/models/models/model_an_node_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AnNodeType string - -// List of AnNodeType -const ( - AnNodeType_GNB AnNodeType = "GNB" - AnNodeType_NG_ENB AnNodeType = "NG_ENB" -) diff --git a/models/models/model_analytics_context_identifier.go b/models/models/model_analytics_context_identifier.go deleted file mode 100644 index 80d47c83..00000000 --- a/models/models/model_analytics_context_identifier.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about available analytics contexts. -type AnalyticsContextIdentifier struct { - // The identifier of a subscription. - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // List of analytics types for which NF related analytics contexts can be retrieved. - NfAnaCtxts []NwdafEvent `json:"nfAnaCtxts,omitempty" yaml:"nfAnaCtxts" bson:"nfAnaCtxts,omitempty"` - // List of objects that indicate for which SUPI and analytics types combinations analytics context can be retrieved. - UeAnaCtxts []UeAnalyticsContextDescriptor `json:"ueAnaCtxts,omitempty" yaml:"ueAnaCtxts" bson:"ueAnaCtxts,omitempty"` -} diff --git a/models/models/model_analytics_metadata.go b/models/models/model_analytics_metadata.go deleted file mode 100644 index 21cf68b8..00000000 --- a/models/models/model_analytics_metadata.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AnalyticsMetadata string - -// List of AnalyticsMetadata -const ( - AnalyticsMetadata_NUM_OF_SAMPLES AnalyticsMetadata = "NUM_OF_SAMPLES" - AnalyticsMetadata_DATA_WINDOW AnalyticsMetadata = "DATA_WINDOW" - AnalyticsMetadata_DATA_STAT_PROPS AnalyticsMetadata = "DATA_STAT_PROPS" - AnalyticsMetadata_STRATEGY AnalyticsMetadata = "STRATEGY" - AnalyticsMetadata_ACCURACY AnalyticsMetadata = "ACCURACY" -) diff --git a/models/models/model_analytics_metadata_indication.go b/models/models/model_analytics_metadata_indication.go deleted file mode 100644 index ed8496ce..00000000 --- a/models/models/model_analytics_metadata_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains analytics metadata information requested to be used during analytics generation. -type AnalyticsMetadataIndication struct { - DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` - DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` - Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` - AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` -} diff --git a/models/models/model_analytics_metadata_info.go b/models/models/model_analytics_metadata_info.go deleted file mode 100644 index 026dc757..00000000 --- a/models/models/model_analytics_metadata_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains analytics metadata information required for analytics aggregation. -type AnalyticsMetadataInfo struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NumSamples int32 `json:"numSamples,omitempty" yaml:"numSamples" bson:"numSamples,omitempty"` - DataWindow *TimeWindow `json:"dataWindow,omitempty" yaml:"dataWindow" bson:"dataWindow,omitempty"` - DataStatProps []DatasetStatisticalProperty `json:"dataStatProps,omitempty" yaml:"dataStatProps" bson:"dataStatProps,omitempty"` - Strategy OutputStrategy `json:"strategy,omitempty" yaml:"strategy" bson:"strategy,omitempty"` - Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` -} diff --git a/models/models/model_analytics_subscription.go b/models/models/model_analytics_subscription.go deleted file mode 100644 index 9d9db614..00000000 --- a/models/models/model_analytics_subscription.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Analytics subscriptions created in the NWDAF. -type AnalyticsSubscription struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NwdafId string `json:"nwdafId,omitempty" yaml:"nwdafId" bson:"nwdafId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` - NwdafSubscriptionList []NwdafSubscription `json:"nwdafSubscriptionList" yaml:"nwdafSubscriptionList" bson:"nwdafSubscriptionList,omitempty"` -} diff --git a/models/models/model_analytics_subscriptions_transfer.go b/models/models/model_analytics_subscriptions_transfer.go deleted file mode 100644 index bb54494e..00000000 --- a/models/models/model_analytics_subscriptions_transfer.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about a request to transfer analytics subscriptions. -type AnalyticsSubscriptionsTransfer struct { - SubsTransInfos []SubscriptionTransferInfo `json:"subsTransInfos" yaml:"subsTransInfos" bson:"subsTransInfos,omitempty"` -} diff --git a/models/models/model_analytics_subset.go b/models/models/model_analytics_subset.go deleted file mode 100644 index 162cd25a..00000000 --- a/models/models/model_analytics_subset.go +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AnalyticsSubset string - -// List of AnalyticsSubset -const ( - AnalyticsSubset_NUM_OF_UE_REG AnalyticsSubset = "NUM_OF_UE_REG" - AnalyticsSubset_NUM_OF_PDU_SESS_ESTBL AnalyticsSubset = "NUM_OF_PDU_SESS_ESTBL" - AnalyticsSubset_RES_USAGE AnalyticsSubset = "RES_USAGE" - AnalyticsSubset_NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "NUM_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" - AnalyticsSubset_PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR AnalyticsSubset = "PERIOD_OF_EXCEED_RES_USAGE_LOAD_LEVEL_THR" - AnalyticsSubset_EXCEED_LOAD_LEVEL_THR_IND AnalyticsSubset = "EXCEED_LOAD_LEVEL_THR_IND" - AnalyticsSubset_LIST_OF_TOP_APP_UL AnalyticsSubset = "LIST_OF_TOP_APP_UL" - AnalyticsSubset_LIST_OF_TOP_APP_DL AnalyticsSubset = "LIST_OF_TOP_APP_DL" - AnalyticsSubset_NF_STATUS AnalyticsSubset = "NF_STATUS" - AnalyticsSubset_NF_RESOURCE_USAGE AnalyticsSubset = "NF_RESOURCE_USAGE" - AnalyticsSubset_NF_LOAD AnalyticsSubset = "NF_LOAD" - AnalyticsSubset_NF_PEAK_LOAD AnalyticsSubset = "NF_PEAK_LOAD" - AnalyticsSubset_NF_LOAD_AVG_IN_AOI AnalyticsSubset = "NF_LOAD_AVG_IN_AOI" - AnalyticsSubset_DISPER_AMOUNT AnalyticsSubset = "DISPER_AMOUNT" - AnalyticsSubset_DISPER_CLASS AnalyticsSubset = "DISPER_CLASS" - AnalyticsSubset_RANKING AnalyticsSubset = "RANKING" - AnalyticsSubset_PERCENTILE_RANKING AnalyticsSubset = "PERCENTILE_RANKING" - AnalyticsSubset_RSSI AnalyticsSubset = "RSSI" - AnalyticsSubset_RTT AnalyticsSubset = "RTT" - AnalyticsSubset_TRAFFIC_INFO AnalyticsSubset = "TRAFFIC_INFO" - AnalyticsSubset_NUMBER_OF_UES AnalyticsSubset = "NUMBER_OF_UES" - AnalyticsSubset_APP_LIST_FOR_UE_COMM AnalyticsSubset = "APP_LIST_FOR_UE_COMM" - AnalyticsSubset_N4_SESS_INACT_TIMER_FOR_UE_COMM AnalyticsSubset = "N4_SESS_INACT_TIMER_FOR_UE_COMM" - AnalyticsSubset_AVG_TRAFFIC_RATE AnalyticsSubset = "AVG_TRAFFIC_RATE" - AnalyticsSubset_MAX_TRAFFIC_RATE AnalyticsSubset = "MAX_TRAFFIC_RATE" - AnalyticsSubset_AVG_PACKET_DELAY AnalyticsSubset = "AVG_PACKET_DELAY" - AnalyticsSubset_MAX_PACKET_DELAY AnalyticsSubset = "MAX_PACKET_DELAY" - AnalyticsSubset_AVG_PACKET_LOSS_RATE AnalyticsSubset = "AVG_PACKET_LOSS_RATE" - AnalyticsSubset_UE_LOCATION AnalyticsSubset = "UE_LOCATION" - AnalyticsSubset_LIST_OF_HIGH_EXP_UE AnalyticsSubset = "LIST_OF_HIGH_EXP_UE" - AnalyticsSubset_LIST_OF_MEDIUM_EXP_UE AnalyticsSubset = "LIST_OF_MEDIUM_EXP_UE" - AnalyticsSubset_LIST_OF_LOW_EXP_UE AnalyticsSubset = "LIST_OF_LOW_EXP_UE" - AnalyticsSubset_AVG_UL_PKT_DROP_RATE AnalyticsSubset = "AVG_UL_PKT_DROP_RATE" - AnalyticsSubset_VAR_UL_PKT_DROP_RATE AnalyticsSubset = "VAR_UL_PKT_DROP_RATE" - AnalyticsSubset_AVG_DL_PKT_DROP_RATE AnalyticsSubset = "AVG_DL_PKT_DROP_RATE" - AnalyticsSubset_VAR_DL_PKT_DROP_RATE AnalyticsSubset = "VAR_DL_PKT_DROP_RATE" - AnalyticsSubset_AVG_UL_PKT_DELAY AnalyticsSubset = "AVG_UL_PKT_DELAY" - AnalyticsSubset_VAR_UL_PKT_DELAY AnalyticsSubset = "VAR_UL_PKT_DELAY" - AnalyticsSubset_AVG_DL_PKT_DELAY AnalyticsSubset = "AVG_DL_PKT_DELAY" - AnalyticsSubset_VAR_DL_PKT_DELAY AnalyticsSubset = "VAR_DL_PKT_DELAY" -) diff --git a/models/models/model_anchor_smf_features.go b/models/models/model_anchor_smf_features.go deleted file mode 100644 index e2f9241d..00000000 --- a/models/models/model_anchor_smf_features.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Anchor SMF supported features -type AnchorSmfFeatures struct { - PsetrSupportInd bool `json:"psetrSupportInd,omitempty" yaml:"psetrSupportInd" bson:"psetrSupportInd,omitempty"` -} diff --git a/models/models/model_announcement_information.go b/models/models/model_announcement_information.go deleted file mode 100644 index bb0ae2d6..00000000 --- a/models/models/model_announcement_information.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AnnouncementInformation struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AnnouncementIdentifier int32 `json:"announcementIdentifier,omitempty" yaml:"announcementIdentifier" bson:"announcementIdentifier,omitempty"` - // String providing an URI formatted according to RFC 3986. - AnnouncementReference string `json:"announcementReference,omitempty" yaml:"announcementReference" bson:"announcementReference,omitempty"` - VariableParts []VariablePart `json:"variableParts,omitempty" yaml:"variableParts" bson:"variableParts,omitempty"` - // indicating a time in seconds. - TimeToPlay int32 `json:"timeToPlay,omitempty" yaml:"timeToPlay" bson:"timeToPlay,omitempty"` - QuotaConsumptionIndicator QuotaConsumptionIndicator `json:"quotaConsumptionIndicator,omitempty" yaml:"quotaConsumptionIndicator" bson:"quotaConsumptionIndicator,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AnnouncementPriority int32 `json:"announcementPriority,omitempty" yaml:"announcementPriority" bson:"announcementPriority,omitempty"` - PlayToParty PlayToParty `json:"playToParty,omitempty" yaml:"playToParty" bson:"playToParty,omitempty"` - AnnouncementPrivacyIndicator AnnouncementPrivacyIndicator `json:"announcementPrivacyIndicator,omitempty" yaml:"announcementPrivacyIndicator" bson:"announcementPrivacyIndicator,omitempty"` - Language string `json:"Language,omitempty" yaml:"Language" bson:"Language,omitempty"` -} diff --git a/models/models/model_announcement_privacy_indicator.go b/models/models/model_announcement_privacy_indicator.go deleted file mode 100644 index 10d98bb0..00000000 --- a/models/models/model_announcement_privacy_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AnnouncementPrivacyIndicator string - -// List of AnnouncementPrivacyIndicator -const ( - AnnouncementPrivacyIndicator_NOT_PRIVATE AnnouncementPrivacyIndicator = "NOT_PRIVATE" - AnnouncementPrivacyIndicator_PRIVATE AnnouncementPrivacyIndicator = "PRIVATE" -) diff --git a/models/models/model_api_direction.go b/models/models/model_api_direction.go deleted file mode 100644 index 9cb0aae7..00000000 --- a/models/models/model_api_direction.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ApiDirection string - -// List of APIDirection -const ( - ApiDirection_INVOCATION ApiDirection = "INVOCATION" - ApiDirection_NOTIFICATION ApiDirection = "NOTIFICATION" -) diff --git a/models/models/model_apn_rate_status.go b/models/models/model_apn_rate_status.go deleted file mode 100644 index 41c54c2c..00000000 --- a/models/models/model_apn_rate_status.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the APN rate control status e.g. of the AMF. -type ApnRateStatus struct { - // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. - RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` - // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN see clause 4.7.7.3 in 3GPP TS 23.401. - RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // When present, it shall indicate the number of additional exception reports the UE is allowed to send uplink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. - RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` - // When present, it shall indicate the number of additional exception reports the AF is allowed to send downlink in the given time unit for the given APN (all PDN connections of the UE to this APN, see clause 4.7.7.3 in 3GPP TS 23.401. - RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` -} diff --git a/models/models/model_app_am_context_data.go b/models/models/model_app_am_context_data.go deleted file mode 100644 index 9bb514ad..00000000 --- a/models/models/model_app_am_context_data.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual Application AM Context resource. -type AppAmContextData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String providing an URI formatted according to RFC 3986. - TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` - EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // indicating a time in seconds. - Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Indicates whether high throughput is desired for the indicated UE traffic. - HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` - // Identifies a list of Tracking Areas per serving network where service is allowed. - CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` -} diff --git a/models/models/model_app_am_context_resp_data.go b/models/models/model_app_am_context_resp_data.go deleted file mode 100644 index f4887dbf..00000000 --- a/models/models/model_app_am_context_resp_data.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It represents a response to a modification or creation request of an Individual Application AM resource. It may contain the notification of the already met events. -type AppAmContextRespData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String providing an URI formatted according to RFC 3986. - TermNotifUri string `json:"termNotifUri" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` - EvSubsc *AmEventsSubscData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // indicating a time in seconds. - Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Indicates whether high throughput is desired for the indicated UE traffic. - HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` - // Identifies a list of Tracking Areas per serving network where service is allowed. - CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` - // Contains the AM Policy Events Subscription resource identifier related to the event notification. - AppAmContextId string `json:"appAmContextId,omitempty" yaml:"appAmContextId" bson:"appAmContextId,omitempty"` - RepEvents []AmEventNotification `json:"repEvents" yaml:"repEvents" bson:"repEvents,omitempty"` -} diff --git a/models/models/model_app_am_context_update_data.go b/models/models/model_app_am_context_update_data.go deleted file mode 100644 index 973ed8eb..00000000 --- a/models/models/model_app_am_context_update_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the modifications to an Individual Application AM resource. -type AppAmContextUpdateData struct { - // String providing an URI formatted according to RFC 3986. - TermNotifUri string `json:"termNotifUri,omitempty" yaml:"termNotifUri" bson:"termNotifUri,omitempty"` - EvSubsc *AmEventsSubscDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - Expiry int32 `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Indicates whether high throughput is desired for the indicated UE traffic. - HighThruInd bool `json:"highThruInd,omitempty" yaml:"highThruInd" bson:"highThruInd,omitempty"` - // Identifies a list of Tracking Areas per serving network where service is allowed. - CovReq []ServiceAreaCoverageInfo `json:"covReq,omitempty" yaml:"covReq" bson:"covReq,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` -} diff --git a/models/models/model_app_descriptor.go b/models/models/model_app_descriptor.go deleted file mode 100644 index 4e62dc0f..00000000 --- a/models/models/model_app_descriptor.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an operation system and the corresponding applications. -type AppDescriptor struct { - // Represents the Operating System of the served UE. - OsId string `json:"osId" yaml:"osId" bson:"osId,omitempty"` - // Identifies applications that are running on the UE's operating system. Any string value can be used as a key of the map. - AppIds map[string]string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` -} diff --git a/models/models/model_app_detection_info.go b/models/models/model_app_detection_info.go deleted file mode 100644 index b41ab6f6..00000000 --- a/models/models/model_app_detection_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the detected application's traffic information. -type AppDetectionInfo struct { - // A reference to the application detection filter configured at the UPF - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - // Identifier sent by the SMF in order to allow correlation of application Start and Stop events to the specific service data flow description, if service data flow descriptions are deducible. - InstanceId string `json:"instanceId,omitempty" yaml:"instanceId" bson:"instanceId,omitempty"` - // Contains the detected service data flow descriptions if they are deducible. - SdfDescriptions []FlowInformation `json:"sdfDescriptions,omitempty" yaml:"sdfDescriptions" bson:"sdfDescriptions,omitempty"` -} diff --git a/models/models/model_app_detection_notif_type.go b/models/models/model_app_detection_notif_type.go deleted file mode 100644 index f2abf412..00000000 --- a/models/models/model_app_detection_notif_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AppDetectionNotifType string - -// List of AppDetectionNotifType -const ( - AppDetectionNotifType_START AppDetectionNotifType = "APP_START" - AppDetectionNotifType_STOP AppDetectionNotifType = "APP_STOP" -) diff --git a/models/models/model_app_detection_report.go b/models/models/model_app_detection_report.go deleted file mode 100644 index eecef87b..00000000 --- a/models/models/model_app_detection_report.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the start or stop of the detected application traffic and the application identifier of the detected application traffic. -type AppDetectionReport struct { - AdNotifType AppDetectionNotifType `json:"adNotifType" yaml:"adNotifType" bson:"adNotifType,omitempty"` - // Contains an AF application identifier. - AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` -} diff --git a/models/models/model_app_list_for_ue_comm.go b/models/models/model_app_list_for_ue_comm.go deleted file mode 100644 index bffaff66..00000000 --- a/models/models/model_app_list_for_ue_comm.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the analytics of the application list used by UE. -type AppListForUeComm struct { - // String providing an application identifier. - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // indicating a time in seconds. - AppDur int32 `json:"appDur,omitempty" yaml:"appDur" bson:"appDur,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - OccurRatio int32 `json:"occurRatio,omitempty" yaml:"occurRatio" bson:"occurRatio,omitempty"` - SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` -} diff --git a/models/models/model_app_port_id.go b/models/models/model_app_port_id.go deleted file mode 100644 index d99c9b6d..00000000 --- a/models/models/model_app_port_id.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AppPortId struct { - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - DestinationPort int32 `json:"destinationPort,omitempty" yaml:"destinationPort" bson:"destinationPort,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - OriginatorPort int32 `json:"originatorPort,omitempty" yaml:"originatorPort" bson:"originatorPort,omitempty"` -} diff --git a/models/models/model_app_session_context.go b/models/models/model_app_session_context.go deleted file mode 100644 index 7073bb08..00000000 --- a/models/models/model_app_session_context.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual Application Session Context resource. -type AppSessionContext struct { - AscReqData *AppSessionContextReqData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` - AscRespData *AppSessionContextRespData `json:"ascRespData,omitempty" yaml:"ascRespData" bson:"ascRespData,omitempty"` - EvsNotif *PcfPolicyAuthorizationEventsNotification `json:"evsNotif,omitempty" yaml:"evsNotif" bson:"evsNotif,omitempty"` -} diff --git a/models/models/model_app_session_context_req_data.go b/models/models/model_app_session_context_req_data.go deleted file mode 100644 index 85e5daa4..00000000 --- a/models/models/model_app_session_context_req_data.go +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the service requirements of an Individual Application Session Context. -type AppSessionContextReqData struct { - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - // Application provided charging identifier allowing correlation of charging information. - AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` - AfReqData AfRequestedData `json:"afReqData,omitempty" yaml:"afReqData" bson:"afReqData,omitempty"` - AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` - // Contains an identity of an application service provider. - AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - EvSubsc *PcfPolicyAuthorizationEventsSubscReqData `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` - // Indication of MCPTT service request. - McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` - // Indication of MCVideo service request. - McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` - // Contains media component information. The key of the map is the medCompN attribute. - MedComponents map[string]MediaComponent `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` - // Indication of MPS service request. - MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` - // Indication of MCS service request. - McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` - PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` - ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - // Contains values of the service URN and may include subservices. - ServUrn string `json:"servUrn,omitempty" yaml:"servUrn" bson:"servUrn,omitempty"` - SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` - // Contains an identity of a sponsor. - SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` - SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` -} diff --git a/models/models/model_app_session_context_resp_data.go b/models/models/model_app_session_context_resp_data.go deleted file mode 100644 index 652e7b32..00000000 --- a/models/models/model_app_session_context_resp_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the authorization data of an Individual Application Session Context created by the PCF. -type AppSessionContextRespData struct { - ServAuthInfo ServAuthInfo `json:"servAuthInfo,omitempty" yaml:"servAuthInfo" bson:"servAuthInfo,omitempty"` - UeIds []UeIdentityInfo `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_app_session_context_update_data.go b/models/models/model_app_session_context_update_data.go deleted file mode 100644 index c4c8a3dd..00000000 --- a/models/models/model_app_session_context_update_data.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the modifications to the \"ascReqData\" property of an Individual Application Session Context which may include the modifications to the sub-resource Events Subscription. -type AppSessionContextUpdateData struct { - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` - // Contains an identity of an application service provider. - AspId string `json:"aspId,omitempty" yaml:"aspId" bson:"aspId,omitempty"` - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - EvSubsc *PcfPolicyAuthorizationEventsSubscReqDataRm `json:"evSubsc,omitempty" yaml:"evSubsc" bson:"evSubsc,omitempty"` - // Indication of MCPTT service request. - McpttId string `json:"mcpttId,omitempty" yaml:"mcpttId" bson:"mcpttId,omitempty"` - // Indication of modification of MCVideo service. - McVideoId string `json:"mcVideoId,omitempty" yaml:"mcVideoId" bson:"mcVideoId,omitempty"` - // Contains media component information. The key of the map is the medCompN attribute. - MedComponents map[string]*MediaComponentRm `json:"medComponents,omitempty" yaml:"medComponents" bson:"medComponents,omitempty"` - MpsAction MpsAction `json:"mpsAction,omitempty" yaml:"mpsAction" bson:"mpsAction,omitempty"` - // Indication of MPS service request. - MpsId string `json:"mpsId,omitempty" yaml:"mpsId" bson:"mpsId,omitempty"` - // Indication of MCS service request. - McsId string `json:"mcsId,omitempty" yaml:"mcsId" bson:"mcsId,omitempty"` - PreemptControlInfo PreemptionControlInformation `json:"preemptControlInfo,omitempty" yaml:"preemptControlInfo" bson:"preemptControlInfo,omitempty"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` - ServInfStatus ServiceInfoStatus `json:"servInfStatus,omitempty" yaml:"servInfStatus" bson:"servInfStatus,omitempty"` - SipForkInd SipForkingIndication `json:"sipForkInd,omitempty" yaml:"sipForkInd" bson:"sipForkInd,omitempty"` - // Contains an identity of a sponsor. - SponId string `json:"sponId,omitempty" yaml:"sponId" bson:"sponId,omitempty"` - SponStatus SponsoringStatus `json:"sponStatus,omitempty" yaml:"sponStatus" bson:"sponStatus,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` -} diff --git a/models/models/model_app_session_context_update_data_patch.go b/models/models/model_app_session_context_update_data_patch.go deleted file mode 100644 index 71b63ac8..00000000 --- a/models/models/model_app_session_context_update_data_patch.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the modifications to an Individual Application Session Context and/or the modifications to the sub-resource Events Subscription. -type AppSessionContextUpdateDataPatch struct { - AscReqData *AppSessionContextUpdateData `json:"ascReqData,omitempty" yaml:"ascReqData" bson:"ascReqData,omitempty"` -} diff --git a/models/models/model_application_data_change_notif.go b/models/models/model_application_data_change_notif.go deleted file mode 100644 index b6c7fb64..00000000 --- a/models/models/model_application_data_change_notif.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains changed application data for which notification was requested. -type ApplicationDataChangeNotif struct { - IptvConfigData *IptvConfigData `json:"iptvConfigData,omitempty" yaml:"iptvConfigData" bson:"iptvConfigData,omitempty"` - PfdData *PfdChangeNotification `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` - BdtPolicyData *BdtPolicyData `json:"bdtPolicyData,omitempty" yaml:"bdtPolicyData" bson:"bdtPolicyData,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` - SerParamData *ServiceParameterData `json:"serParamData,omitempty" yaml:"serParamData" bson:"serParamData,omitempty"` - AmInfluData *AmInfluData `json:"amInfluData,omitempty" yaml:"amInfluData" bson:"amInfluData,omitempty"` -} diff --git a/models/models/model_application_data_subs.go b/models/models/model_application_data_subs.go deleted file mode 100644 index d8fb706d..00000000 --- a/models/models/model_application_data_subs.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Identifies a subscription to application data change notification. -type ApplicationDataSubs struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - DataFilters []DataFilter `json:"dataFilters,omitempty" yaml:"dataFilters" bson:"dataFilters,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Immediate reporting indication. - ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` - // The AM Influence Data entries stored in the UDR that match a subscription. - AmInfluEntries []AmInfluData `json:"amInfluEntries,omitempty" yaml:"amInfluEntries" bson:"amInfluEntries,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_application_for_pfd_request.go b/models/models/model_application_for_pfd_request.go deleted file mode 100644 index e33597b3..00000000 --- a/models/models/model_application_for_pfd_request.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the application identifier(s) for the PFD(s) request. -type ApplicationForPfdRequest struct { - // String providing an application identifier. - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` -} diff --git a/models/models/model_application_server.go b/models/models/model_application_server.go deleted file mode 100644 index 8b9125fe..00000000 --- a/models/models/model_application_server.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Application Server which shall be triggered if the conditions of a certain IFC are met, and its associated data -type ApplicationServer struct { - AsUri string `json:"asUri" yaml:"asUri" bson:"asUri,omitempty"` - SessionContinue bool `json:"sessionContinue,omitempty" yaml:"sessionContinue" bson:"sessionContinue,omitempty"` - ServiceInfoList []ServiceInformation `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` -} diff --git a/models/models/model_application_volume.go b/models/models/model_application_volume.go deleted file mode 100644 index cad9e4dd..00000000 --- a/models/models/model_application_volume.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Application data volume per Application Id. -type ApplicationVolume struct { - // String providing an application identifier. - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - AppVolume int64 `json:"appVolume" yaml:"appVolume" bson:"appVolume,omitempty"` -} diff --git a/models/models/model_applied_smcc_type.go b/models/models/model_applied_smcc_type.go deleted file mode 100644 index b1f0dedd..00000000 --- a/models/models/model_applied_smcc_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AppliedSmccType string - -// List of AppliedSmccType -const ( - AppliedSmccType_DNN_CC AppliedSmccType = "DNN_CC" - AppliedSmccType_SNSSAI_CC AppliedSmccType = "SNSSAI_CC" -) diff --git a/models/models/model_area.go b/models/models/model_area.go deleted file mode 100644 index 5e2d587b..00000000 --- a/models/models/model_area.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides area information. -type Area struct { - Tacs []string `json:"tacs,omitempty" yaml:"tacs" bson:"tacs,omitempty"` - // Values are operator specific. - AreaCode string `json:"areaCode,omitempty" yaml:"areaCode" bson:"areaCode,omitempty"` -} diff --git a/models/models/model_area_event_info.go b/models/models/model_area_event_info.go deleted file mode 100644 index 3a263523..00000000 --- a/models/models/model_area_event_info.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the information of area based event reporting. -type AreaEventInfo struct { - AreaDefinition []ReportingArea `json:"areaDefinition" yaml:"areaDefinition" bson:"areaDefinition,omitempty"` - OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` - // Minimum interval between event reports. - MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` - // Maximum interval between event reports. - MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` - // Maximum time interval between consecutive evaluations by a UE of a trigger event. - SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` - // Maximum duration of event reporting. - ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` - ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` -} diff --git a/models/models/model_area_of_interest_event_state.go b/models/models/model_area_of_interest_event_state.go deleted file mode 100644 index e2853484..00000000 --- a/models/models/model_area_of_interest_event_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Event State of AoI event in old AMF -type AreaOfInterestEventState struct { - Presence PresenceState `json:"presence" yaml:"presence" bson:"presence,omitempty"` - IndividualPraIdList []string `json:"individualPraIdList,omitempty" yaml:"individualPraIdList" bson:"individualPraIdList,omitempty"` -} diff --git a/models/models/model_area_of_validity.go b/models/models/model_area_of_validity.go deleted file mode 100644 index bb044b8e..00000000 --- a/models/models/model_area_of_validity.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Area of validity information for N2 information transfer -type AreaOfValidity struct { - TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` -} diff --git a/models/models/model_area_scope.go b/models/models/model_area_scope.go deleted file mode 100644 index af28c794..00000000 --- a/models/models/model_area_scope.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contain the area based on Cells or Tracking Areas. -type AreaScope struct { - EutraCellIdList []string `json:"eutraCellIdList,omitempty" yaml:"eutraCellIdList" bson:"eutraCellIdList,omitempty"` - NrCellIdList []string `json:"nrCellIdList,omitempty" yaml:"nrCellIdList" bson:"nrCellIdList,omitempty"` - TacList []string `json:"tacList,omitempty" yaml:"tacList" bson:"tacList,omitempty"` - // A map (list of key-value pairs) where PlmnId converted to a string serves as key - TacInfoPerPlmn map[string]TacInfo `json:"tacInfoPerPlmn,omitempty" yaml:"tacInfoPerPlmn" bson:"tacInfoPerPlmn,omitempty"` -} diff --git a/models/models/model_arp.go b/models/models/model_arp.go deleted file mode 100644 index ec5274e4..00000000 --- a/models/models/model_arp.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains Allocation and Retention Priority information. -type Arp struct { - // nullable true shall not be used for this attribute. Unsigned integer indicating the ARP Priority Level (see clause 5.7.2.2 of 3GPP TS 23.501, within the range 1 to 15.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 15 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - PreemptCap PreemptionCapability `json:"preemptCap" yaml:"preemptCap" bson:"preemptCap,omitempty"` - PreemptVuln PreemptionVulnerability `json:"preemptVuln" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` -} diff --git a/models/models/model_as_session_with_qo_s_subscription.go b/models/models/model_as_session_with_qo_s_subscription.go deleted file mode 100644 index d0c3908c..00000000 --- a/models/models/model_as_session_with_qo_s_subscription.go +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an individual AS session with required QoS subscription resource. -type AsSessionWithQoSSubscription struct { - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` - // Identifies the external Application Identifier. - ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` - // Describe the data flow which requires QoS. - FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` - // Identifies Ethernet packet flows. - EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` - // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. - EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` - // Identifies a pre-defined QoS information - QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` - // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. - AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` - // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. - AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` - // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). Default value is false. The fulfilled situation is either the QoS profile or an Alternative QoS Profile. - DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` - UsageThreshold *UsageThreshold `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` - SponsorInfo *SponsorInformation `json:"sponsorInfo,omitempty" yaml:"sponsorInfo" bson:"sponsorInfo,omitempty"` - QosMonInfo *QosMonitoringInformation `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` - // Indicates whether the direct event notification is requested (true) or not (false). Default value is false. - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` - TscQosReq *TscQosRequirement `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` - // Set to true by the SCS/AS to request the SCEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. - RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` - WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` - // Represents the list of user plane event(s) to which the SCS/AS requests to subscribe to. - Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` -} diff --git a/models/models/model_as_session_with_qo_s_subscription_patch.go b/models/models/model_as_session_with_qo_s_subscription_patch.go deleted file mode 100644 index 81e13e67..00000000 --- a/models/models/model_as_session_with_qo_s_subscription_patch.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents parameters to modify an AS session with specific QoS subscription. -type AsSessionWithQoSSubscriptionPatch struct { - // Identifies the external Application Identifier. - ExterAppId string `json:"exterAppId,omitempty" yaml:"exterAppId" bson:"exterAppId,omitempty"` - // Describe the IP data flow which requires QoS. - FlowInfo []FlowInfo `json:"flowInfo,omitempty" yaml:"flowInfo" bson:"flowInfo,omitempty"` - // Identifies Ethernet packet flows. - EthFlowInfo []EthFlowDescription `json:"ethFlowInfo,omitempty" yaml:"ethFlowInfo" bson:"ethFlowInfo,omitempty"` - // Identifies the Ethernet flows which require QoS. Each Ethernet flow consists of a flow idenifer and the corresponding UL and/or DL flows. - EnEthFlowInfo []EthFlowInfo `json:"enEthFlowInfo,omitempty" yaml:"enEthFlowInfo" bson:"enEthFlowInfo,omitempty"` - // Pre-defined QoS reference - QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` - // Identifies an ordered list of pre-defined QoS information. The lower the index of the array for a given entry, the higher the priority. - AltQoSReferences []string `json:"altQoSReferences,omitempty" yaml:"altQoSReferences" bson:"altQoSReferences,omitempty"` - // Identifies an ordered list of alternative service requirements that include individual QoS parameter sets. The lower the index of the array for a given entry, the higher the priority. - AltQosReqs []AlternativeServiceRequirementsData `json:"altQosReqs,omitempty" yaml:"altQosReqs" bson:"altQosReqs,omitempty"` - // Indicates whether the QoS flow parameters signalling to the UE when the SMF is notified by the NG-RAN of changes in the fulfilled QoS situation is disabled (true) or not (false). The fulfilled situation is either the QoS profile or an Alternative QoS Profile. - DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` - UsageThreshold *UsageThresholdRm `json:"usageThreshold,omitempty" yaml:"usageThreshold" bson:"usageThreshold,omitempty"` - QosMonInfo *QosMonitoringInformationRm `json:"qosMonInfo,omitempty" yaml:"qosMonInfo" bson:"qosMonInfo,omitempty"` - // Indicates whether the direct event notification is requested (true) or not (false). - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` - TscQosReq *TscQosRequirementRm `json:"tscQosReq,omitempty" yaml:"tscQosReq" bson:"tscQosReq,omitempty"` - // Represents the updated list of user plane event(s) to which the SCS/AS requests to subscribe to. - Events []UserPlaneEvent `json:"events,omitempty" yaml:"events" bson:"events,omitempty"` -} diff --git a/models/models/model_assign_ebi_data.go b/models/models/model_assign_ebi_data.go deleted file mode 100644 index 3611349c..00000000 --- a/models/models/model_assign_ebi_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within an EBI assignment request -type AssignEbiData struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - ArpList []Arp `json:"arpList,omitempty" yaml:"arpList" bson:"arpList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` - ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` -} diff --git a/models/models/model_assign_ebi_error.go b/models/models/model_assign_ebi_error.go deleted file mode 100644 index f6a9792a..00000000 --- a/models/models/model_assign_ebi_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a failure response to the EBI assignment request -type AssignEbiError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - FailureDetails *AssignEbiFailed `json:"failureDetails" yaml:"failureDetails" bson:"failureDetails,omitempty"` -} diff --git a/models/models/model_assign_ebi_failed.go b/models/models/model_assign_ebi_failed.go deleted file mode 100644 index 3e60610b..00000000 --- a/models/models/model_assign_ebi_failed.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents failed assignment of EBI(s) -type AssignEbiFailed struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` -} diff --git a/models/models/model_assigned_ebi_data.go b/models/models/model_assigned_ebi_data.go deleted file mode 100644 index 43a954bf..00000000 --- a/models/models/model_assigned_ebi_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a successful response to an EBI assignment request -type AssignedEbiData struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - AssignedEbiList []EbiArpMapping `json:"assignedEbiList" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` - FailedArpList []Arp `json:"failedArpList,omitempty" yaml:"failedArpList" bson:"failedArpList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` - ModifiedEbiList []int32 `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` -} diff --git a/models/models/model_atom.go b/models/models/model_atom.go deleted file mode 100644 index dd1fb20d..00000000 --- a/models/models/model_atom.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// contains a search parameter and its positive or negative content. -type Atom struct { - // contains the name of a defined query parameter. - Attr string `json:"attr" yaml:"attr" bson:"attr,omitempty"` - Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` - // indicates whether the negative condition applies for the query condition. - Negative bool `json:"negative,omitempty" yaml:"negative" bson:"negative,omitempty"` -} diff --git a/models/models/model_atsss_capability.go b/models/models/model_atsss_capability.go deleted file mode 100644 index f580399f..00000000 --- a/models/models/model_atsss_capability.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Containes Capability to support procedures related to Access Traffic Steering, Switching, Splitting. -type AtsssCapability struct { - // Indicates the ATSSS-LL capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501). true: Supported false (default): Not Supported - AtsssLL bool `json:"atsssLL,omitempty" yaml:"atsssLL" bson:"atsssLL,omitempty"` - // Indicates the MPTCP capability to support procedures related to Access Traffic Steering, Switching, Splitting (see clauses 4.2.10, 5.32 of 3GPP TS 23.501 true: Supported false (default): Not Supported - Mptcp bool `json:"mptcp,omitempty" yaml:"mptcp" bson:"mptcp,omitempty"` - // This IE is only used by the UPF to indicate whether the UPF supports RTT measurement without PMF (see clauses 5.32.2, 6.3.3.3 of 3GPP TS 23.501 true: Supported false (default): Not Supported - RttWithoutPmf bool `json:"rttWithoutPmf,omitempty" yaml:"rttWithoutPmf" bson:"rttWithoutPmf,omitempty"` -} diff --git a/models/models/model_ausf_info.go b/models/models/model_ausf_info.go deleted file mode 100644 index 897d2dc8..00000000 --- a/models/models/model_ausf_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an AUSF NF Instance -type AusfInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` - SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` -} diff --git a/models/models/model_ausf_so_r_protection_sor_info.go b/models/models/model_ausf_so_r_protection_sor_info.go deleted file mode 100644 index 06246e6a..00000000 --- a/models/models/model_ausf_so_r_protection_sor_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Steering Information. -type AusfSoRProtectionSorInfo struct { - SteeringContainer *AusfSoRProtectionSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` - // Contains indication whether the acknowledgement from UE is needed. - AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` - // string with format 'bytes' as defined in OpenAPI - SorHeader string `json:"sorHeader,omitempty" yaml:"sorHeader" bson:"sorHeader,omitempty"` - // string with format 'bytes' as defined in OpenAPI - SorTransparentInfo string `json:"sorTransparentInfo,omitempty" yaml:"sorTransparentInfo" bson:"sorTransparentInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ausf_so_r_protection_steering_container.go b/models/models/model_ausf_so_r_protection_steering_container.go deleted file mode 100644 index fc0c7d1c..00000000 --- a/models/models/model_ausf_so_r_protection_steering_container.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the information sent to UE. -type AusfSoRProtectionSteeringContainer struct { -} diff --git a/models/models/model_ausf_so_r_protection_steering_info.go b/models/models/model_ausf_so_r_protection_steering_info.go deleted file mode 100644 index 56c27417..00000000 --- a/models/models/model_ausf_so_r_protection_steering_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a combination of one PLMN identity and zero or more access technologies. -type AusfSoRProtectionSteeringInfo struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList,omitempty"` -} diff --git a/models/models/model_ausf_ue_authentication_auth_result.go b/models/models/model_ausf_ue_authentication_auth_result.go deleted file mode 100644 index 80b818ba..00000000 --- a/models/models/model_ausf_ue_authentication_auth_result.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AusfUeAuthenticationAuthResult string - -// List of AusfUEAuthenticationAuthResult -const ( - AusfUeAuthenticationAuthResult_SUCCESS AusfUeAuthenticationAuthResult = "AUTHENTICATION_SUCCESS" - AusfUeAuthenticationAuthResult_FAILURE AusfUeAuthenticationAuthResult = "AUTHENTICATION_FAILURE" - AusfUeAuthenticationAuthResult_ONGOING AusfUeAuthenticationAuthResult = "AUTHENTICATION_ONGOING" -) diff --git a/models/models/model_ausf_ue_authentication_auth_type.go b/models/models/model_ausf_ue_authentication_auth_type.go deleted file mode 100644 index 11605b67..00000000 --- a/models/models/model_ausf_ue_authentication_auth_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AusfUeAuthenticationAuthType string - -// List of AusfUEAuthenticationAuthType -const ( - AusfUeAuthenticationAuthType__5_G_AKA AusfUeAuthenticationAuthType = "5G_AKA" - AusfUeAuthenticationAuthType_EAP_AKA_PRIME AusfUeAuthenticationAuthType = "EAP_AKA_PRIME" - AusfUeAuthenticationAuthType_EAP_TLS AusfUeAuthenticationAuthType = "EAP_TLS" - AusfUeAuthenticationAuthType_EAP_TTLS AusfUeAuthenticationAuthType = "EAP_TTLS" -) diff --git a/models/models/model_ausf_ue_authentication_rg_auth_ctx.go b/models/models/model_ausf_ue_authentication_rg_auth_ctx.go deleted file mode 100644 index 0ffdd641..00000000 --- a/models/models/model_ausf_ue_authentication_rg_auth_ctx.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE id (i.e. SUPI) and the authentication indication. -type AusfUeAuthenticationRgAuthCtx struct { - AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - AuthInd bool `json:"authInd,omitempty" yaml:"authInd" bson:"authInd,omitempty"` -} diff --git a/models/models/model_ausf_upu_protection_upu_data.go b/models/models/model_ausf_upu_protection_upu_data.go deleted file mode 100644 index f81bebc6..00000000 --- a/models/models/model_ausf_upu_protection_upu_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains UE parameters update data set (e.g., the updated Routing ID Data or the Default configured NSSAI). -type AusfUpuProtectionUpuData struct { - // Contains a secure packet. - SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket,omitempty"` - DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai,omitempty"` - // Represents a routing indicator. - RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` -} diff --git a/models/models/model_ausf_upu_protection_upu_info.go b/models/models/model_ausf_upu_protection_upu_info.go deleted file mode 100644 index 7e61de8b..00000000 --- a/models/models/model_ausf_upu_protection_upu_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE parameters update Information. -type AusfUpuProtectionUpuInfo struct { - UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList,omitempty"` - // Contains the \"UPU Header\" IE as specified in clause 9.11.3.53A of 3GPP TS 24.501 (octet 4), encoded as 2 hexadecimal characters. - UpuHeader string `json:"upuHeader,omitempty" yaml:"upuHeader" bson:"upuHeader,omitempty"` - // Contains the indication of whether the acknowledgement from UE is needed. - UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UpuTransparentInfo string `json:"upuTransparentInfo,omitempty" yaml:"upuTransparentInfo" bson:"upuTransparentInfo,omitempty"` -} diff --git a/models/models/model_auth_event.go b/models/models/model_auth_event.go deleted file mode 100644 index 6cf85d0b..00000000 --- a/models/models/model_auth_event.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type AuthEvent struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - Success bool `json:"success" yaml:"success" bson:"success,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` - AuthRemovalInd bool `json:"authRemovalInd,omitempty" yaml:"authRemovalInd" bson:"authRemovalInd,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` -} diff --git a/models/models/model_auth_method.go b/models/models/model_auth_method.go deleted file mode 100644 index 873f1b7d..00000000 --- a/models/models/model_auth_method.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthMethod string - -// List of AuthMethod -const ( - AuthMethod__5_G_AKA AuthMethod = "5G_AKA" - AuthMethod_EAP_AKA_PRIME AuthMethod = "EAP_AKA_PRIME" - AuthMethod_EAP_TLS AuthMethod = "EAP_TLS" - AuthMethod_EAP_TTLS AuthMethod = "EAP_TTLS" - AuthMethod_NONE AuthMethod = "NONE" -) diff --git a/models/models/model_auth_notification.go b/models/models/model_auth_notification.go deleted file mode 100644 index d2955dde..00000000 --- a/models/models/model_auth_notification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UAV related notification -type AuthNotification struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` - ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` - NotifyCorrId string `json:"notifyCorrId" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` - AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` - AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` - NotifType NotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` -} diff --git a/models/models/model_auth_status.go b/models/models/model_auth_status.go deleted file mode 100644 index 84606981..00000000 --- a/models/models/model_auth_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthStatus string - -// List of AuthStatus -const ( - AuthStatus_EAP_SUCCESS AuthStatus = "EAP_SUCCESS" - AuthStatus_EAP_FAILURE AuthStatus = "EAP_FAILURE" - AuthStatus_PENDING AuthStatus = "PENDING" -) diff --git a/models/models/model_auth_update_info.go b/models/models/model_auth_update_info.go deleted file mode 100644 index 893a028f..00000000 --- a/models/models/model_auth_update_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents authorization update information. -type AuthUpdateInfo struct { - AuthorizationData *ServiceSpecificAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` - InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` - InvalidCause InvalidCause `json:"invalidCause,omitempty" yaml:"invalidCause" bson:"invalidCause,omitempty"` -} diff --git a/models/models/model_auth_update_notification.go b/models/models/model_auth_update_notification.go deleted file mode 100644 index 43c9aee2..00000000 --- a/models/models/model_auth_update_notification.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an authorization update notification. -type AuthUpdateNotification struct { - ServiceType ServiceType `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - AuthUpdateInfoList []AuthUpdateInfo `json:"authUpdateInfoList" yaml:"authUpdateInfoList" bson:"authUpdateInfoList,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/models/model_authentication_info.go b/models/models/model_authentication_info.go deleted file mode 100644 index 3b54e5e7..00000000 --- a/models/models/model_authentication_info.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE id (i.e. SUCI or SUPI) and the Serving Network Name. -type AuthenticationInfo struct { - // String identifying a SUPI or a SUCI. - SupiOrSuci string `json:"supiOrSuci" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` - N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` - OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` -} diff --git a/models/models/model_authentication_subscription.go b/models/models/model_authentication_subscription.go deleted file mode 100644 index 829f82d9..00000000 --- a/models/models/model_authentication_subscription.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A UE's authentication data. -type AuthenticationSubscription struct { - AuthenticationMethod AuthMethod `json:"authenticationMethod" yaml:"authenticationMethod" bson:"authenticationMethod,omitempty"` - EncPermanentKey string `json:"encPermanentKey,omitempty" yaml:"encPermanentKey" bson:"encPermanentKey,omitempty"` - ProtectionParameterId string `json:"protectionParameterId,omitempty" yaml:"protectionParameterId" bson:"protectionParameterId,omitempty"` - SequenceNumber *SequenceNumber `json:"sequenceNumber,omitempty" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` - AuthenticationManagementField string `json:"authenticationManagementField,omitempty" yaml:"authenticationManagementField" bson:"authenticationManagementField,omitempty"` - AlgorithmId string `json:"algorithmId,omitempty" yaml:"algorithmId" bson:"algorithmId,omitempty"` - EncOpcKey string `json:"encOpcKey,omitempty" yaml:"encOpcKey" bson:"encOpcKey,omitempty"` - EncTopcKey string `json:"encTopcKey,omitempty" yaml:"encTopcKey" bson:"encTopcKey,omitempty"` - VectorGenerationInHss bool `json:"vectorGenerationInHss,omitempty" yaml:"vectorGenerationInHss" bson:"vectorGenerationInHss,omitempty"` - // Identifier of a group of NFs. - HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` - N5gcAuthMethod AuthMethod `json:"n5gcAuthMethod,omitempty" yaml:"n5gcAuthMethod" bson:"n5gcAuthMethod,omitempty"` - RgAuthenticationInd bool `json:"rgAuthenticationInd,omitempty" yaml:"rgAuthenticationInd" bson:"rgAuthenticationInd,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - AkmaAllowed bool `json:"akmaAllowed,omitempty" yaml:"akmaAllowed" bson:"akmaAllowed,omitempty"` - RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` -} diff --git a/models/models/model_authentication_vector.go b/models/models/model_authentication_vector.go deleted file mode 100644 index a69e8dde..00000000 --- a/models/models/model_authentication_vector.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthenticationVector struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` - IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` - XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` - Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` -} diff --git a/models/models/model_authorization_data.go b/models/models/model_authorization_data.go deleted file mode 100644 index 40eeeed9..00000000 --- a/models/models/model_authorization_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// NIDD Authorization Information -type AuthorizationData struct { - AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` - AllowedDnnList []interface{} `json:"allowedDnnList,omitempty" yaml:"allowedDnnList" bson:"allowedDnnList,omitempty"` - AllowedSnssaiList []Snssai `json:"allowedSnssaiList,omitempty" yaml:"allowedSnssaiList" bson:"allowedSnssaiList,omitempty"` - AllowedMtcProviders []MtcProvider `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_authorization_info.go b/models/models/model_authorization_info.go deleted file mode 100644 index 9bfb06cf..00000000 --- a/models/models/model_authorization_info.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents NIDD authorization information. -type AuthorizationInfo struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - // String providing an URI formatted according to RFC 3986. - AuthUpdateCallbackUri string `json:"authUpdateCallbackUri" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` - // Identity of the NEF - NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` -} diff --git a/models/models/model_authorization_ue_id.go b/models/models/model_authorization_ue_id.go deleted file mode 100644 index 4d895e3e..00000000 --- a/models/models/model_authorization_ue_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE Id of the Authorization Data. -type AuthorizationUeId struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` -} diff --git a/models/models/model_authorized_default_qos.go b/models/models/model_authorized_default_qos.go deleted file mode 100644 index 0940a5a6..00000000 --- a/models/models/model_authorized_default_qos.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the Authorized Default QoS. -type AuthorizedDefaultQos struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` - // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` -} diff --git a/models/models/model_authorized_network_slice_info.go b/models/models/model_authorized_network_slice_info.go deleted file mode 100644 index a629938c..00000000 --- a/models/models/model_authorized_network_slice_info.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the authorized network slice information -type AuthorizedNetworkSliceInfo struct { - AllowedNssaiList []AllowedNssai `json:"allowedNssaiList,omitempty" yaml:"allowedNssaiList" bson:"allowedNssaiList,omitempty"` - ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` - TargetAmfSet string `json:"targetAmfSet,omitempty" yaml:"targetAmfSet" bson:"targetAmfSet,omitempty"` - CandidateAmfList []string `json:"candidateAmfList,omitempty" yaml:"candidateAmfList" bson:"candidateAmfList,omitempty"` - RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` - RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` - NsiInformation *NsiInformation `json:"nsiInformation,omitempty" yaml:"nsiInformation" bson:"nsiInformation,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAmfSet string `json:"nrfAmfSet,omitempty" yaml:"nrfAmfSet" bson:"nrfAmfSet,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAmfSetNfMgtUri string `json:"nrfAmfSetNfMgtUri,omitempty" yaml:"nrfAmfSetNfMgtUri" bson:"nrfAmfSetNfMgtUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAmfSetAccessTokenUri string `json:"nrfAmfSetAccessTokenUri,omitempty" yaml:"nrfAmfSetAccessTokenUri" bson:"nrfAmfSetAccessTokenUri,omitempty"` - // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" - NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - TargetAmfServiceSet string `json:"targetAmfServiceSet,omitempty" yaml:"targetAmfServiceSet" bson:"targetAmfServiceSet,omitempty"` - TargetNssai []Snssai `json:"targetNssai,omitempty" yaml:"targetNssai" bson:"targetNssai,omitempty"` - NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` -} diff --git a/models/models/model_authorized_nssai_availability_data.go b/models/models/model_authorized_nssai_availability_data.go deleted file mode 100644 index 3ece8538..00000000 --- a/models/models/model_authorized_nssai_availability_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the Nssai availability data information per TA authorized by the NSSF -type AuthorizedNssaiAvailabilityData struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` - SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` - RestrictedSnssaiList []RestrictedSnssai `json:"restrictedSnssaiList,omitempty" yaml:"restrictedSnssaiList" bson:"restrictedSnssaiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` -} diff --git a/models/models/model_authorized_nssai_availability_info.go b/models/models/model_authorized_nssai_availability_info.go deleted file mode 100644 index 810f3b8b..00000000 --- a/models/models/model_authorized_nssai_availability_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the Nssai availability data information authorized by the NSSF -type AuthorizedNssaiAvailabilityInfo struct { - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_av5_g_he_aka.go b/models/models/model_av5_g_he_aka.go deleted file mode 100644 index dfd8f5ec..00000000 --- a/models/models/model_av5_g_he_aka.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Av5GHeAka struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - XresStar string `json:"xresStar" yaml:"xresStar" bson:"xresStar,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - Kausf string `json:"kausf" yaml:"kausf" bson:"kausf,omitempty"` -} diff --git a/models/models/model_av5g_aka.go b/models/models/model_av5g_aka.go deleted file mode 100644 index 7fe0645d..00000000 --- a/models/models/model_av5g_aka.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains Authentication Vector for method 5G AKA. -type Av5gAka struct { - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - // Contains the HXRES*. - HxresStar string `json:"hxresStar" yaml:"hxresStar" bson:"hxresStar,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` -} diff --git a/models/models/model_av_eap_aka_prime.go b/models/models/model_av_eap_aka_prime.go deleted file mode 100644 index cb9d25cc..00000000 --- a/models/models/model_av_eap_aka_prime.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AvEapAkaPrime struct { - AvType AvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - CkPrime string `json:"ckPrime" yaml:"ckPrime" bson:"ckPrime,omitempty"` - IkPrime string `json:"ikPrime" yaml:"ikPrime" bson:"ikPrime,omitempty"` -} diff --git a/models/models/model_av_eps_aka.go b/models/models/model_av_eps_aka.go deleted file mode 100644 index d582815c..00000000 --- a/models/models/model_av_eps_aka.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AvEpsAka struct { - AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - Kasme string `json:"kasme" yaml:"kasme" bson:"kasme,omitempty"` -} diff --git a/models/models/model_av_ims_gba_eap_aka.go b/models/models/model_av_ims_gba_eap_aka.go deleted file mode 100644 index 08e21837..00000000 --- a/models/models/model_av_ims_gba_eap_aka.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AvImsGbaEapAka struct { - AvType HssAvType `json:"avType" yaml:"avType" bson:"avType,omitempty"` - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Xres string `json:"xres" yaml:"xres" bson:"xres,omitempty"` - Autn string `json:"autn" yaml:"autn" bson:"autn,omitempty"` - Ck string `json:"ck" yaml:"ck" bson:"ck,omitempty"` - Ik string `json:"ik" yaml:"ik" bson:"ik,omitempty"` -} diff --git a/models/models/model_av_type.go b/models/models/model_av_type.go deleted file mode 100644 index 0841de94..00000000 --- a/models/models/model_av_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AvType string - -// List of AvType -const ( - AvType__5_G_HE_AKA AvType = "5G_HE_AKA" - AvType_EAP_AKA_PRIME AvType = "EAP_AKA_PRIME" -) diff --git a/models/models/model_backup_amf_info.go b/models/models/model_backup_amf_info.go deleted file mode 100644 index b95d0d08..00000000 --- a/models/models/model_backup_amf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides details of the Backup AMF. -type BackupAmfInfo struct { - // Fully Qualified Domain Name - BackupAmf string `json:"backupAmf" yaml:"backupAmf" bson:"backupAmf,omitempty"` - // If present, this IE shall contain the list of GUAMI(s) (supported by the AMF) for which the backupAmf IE applies. - GuamiList []Guami `json:"guamiList,omitempty" yaml:"guamiList" bson:"guamiList,omitempty"` -} diff --git a/models/models/model_base_record.go b/models/models/model_base_record.go deleted file mode 100644 index 31af1ca0..00000000 --- a/models/models/model_base_record.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Abstract base data type for UE data reporting records. -type BaseRecord struct { - // string with format 'date-time' as defined in OpenAPI. - Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` -} diff --git a/models/models/model_battery_indication.go b/models/models/model_battery_indication.go deleted file mode 100644 index dafa44f9..00000000 --- a/models/models/model_battery_indication.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Parameters \"replaceableInd\" and \"rechargeableInd\" are only included if the value of Parameter \"batteryInd\" is true. -type BatteryIndication struct { - // This IE shall indicate whether the UE is battery powered or not. true: the UE is battery powered; false or absent: the UE is not battery powered - BatteryInd bool `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` - // This IE shall indicate whether the battery of the UE is replaceable or not. true: the battery of the UE is replaceable; false or absent: the battery of the UE is not replaceable. - ReplaceableInd bool `json:"replaceableInd,omitempty" yaml:"replaceableInd" bson:"replaceableInd,omitempty"` - // This IE shall indicate whether the battery of the UE is rechargeable or not. true: the battery of UE is rechargeable; false or absent: the battery of the UE is not rechargeable. - RechargeableInd bool `json:"rechargeableInd,omitempty" yaml:"rechargeableInd" bson:"rechargeableInd,omitempty"` -} diff --git a/models/models/model_battery_indication_rm.go b/models/models/model_battery_indication_rm.go deleted file mode 100644 index 10195ee0..00000000 --- a/models/models/model_battery_indication_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type BatteryIndicationRm struct { -} diff --git a/models/models/model_bdt_data.go b/models/models/model_bdt_data.go deleted file mode 100644 index cca5c8f1..00000000 --- a/models/models/model_bdt_data.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the background data transfer data. -type BdtData struct { - AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` - TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy" yaml:"transPolicy" bson:"transPolicy,omitempty"` - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NumOfUes int32 `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` - VolPerUe *UsageThreshold `json:"volPerUe,omitempty" yaml:"volPerUe" bson:"volPerUe,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. - TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` - BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_bdt_data_patch.go b/models/models/model_bdt_data_patch.go deleted file mode 100644 index 7fb59b3d..00000000 --- a/models/models/model_bdt_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the modified background data transfer data. -type BdtDataPatch struct { - TransPolicy *PcfBdtPolicyControlTransferPolicy `json:"transPolicy,omitempty" yaml:"transPolicy" bson:"transPolicy,omitempty"` - BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` -} diff --git a/models/models/model_bdt_policy.go b/models/models/model_bdt_policy.go deleted file mode 100644 index 5cf53d48..00000000 --- a/models/models/model_bdt_policy.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual BDT policy resource. -type BdtPolicy struct { - BdtPolData *PcfBdtPolicyControlBdtPolicyData `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` - BdtReqData *BdtReqData `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` -} diff --git a/models/models/model_bdt_policy_data.go b/models/models/model_bdt_policy_data.go deleted file mode 100644 index eac7f3bb..00000000 --- a/models/models/model_bdt_policy_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents applied BDT policy data. -type BdtPolicyData struct { - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_bdt_policy_data_patch.go b/models/models/model_bdt_policy_data_patch.go deleted file mode 100644 index 37ffe449..00000000 --- a/models/models/model_bdt_policy_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents modification instructions to be performed on the applied BDT policy data. -type BdtPolicyDataPatch struct { - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` -} diff --git a/models/models/model_bdt_policy_status.go b/models/models/model_bdt_policy_status.go deleted file mode 100644 index 90fdd0de..00000000 --- a/models/models/model_bdt_policy_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type BdtPolicyStatus string - -// List of BdtPolicyStatus -const ( - BdtPolicyStatus_INVALID BdtPolicyStatus = "INVALID" - BdtPolicyStatus_VALID BdtPolicyStatus = "VALID" -) diff --git a/models/models/model_bdt_req_data.go b/models/models/model_bdt_req_data.go deleted file mode 100644 index a6296d12..00000000 --- a/models/models/model_bdt_req_data.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains service requirements for creation a new Individual BDT policy resource. -type BdtReqData struct { - // Contains an identity of an application service provider. - AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` - DesTimeInt *TimeWindow `json:"desTimeInt" yaml:"desTimeInt" bson:"desTimeInt,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - // Indicates a number of UEs. - NumOfUes int32 `json:"numOfUes" yaml:"numOfUes" bson:"numOfUes,omitempty"` - VolPerUe *UsageThreshold `json:"volPerUe" yaml:"volPerUe" bson:"volPerUe,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. - TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` - // Indicates whether the BDT warning notification is enabled or disabled. - WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` -} diff --git a/models/models/model_bdt_req_data_patch.go b/models/models/model_bdt_req_data_patch.go deleted file mode 100644 index 4d65a721..00000000 --- a/models/models/model_bdt_req_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. -type BdtReqDataPatch struct { - // Indicates whether the BDT warning notification is enabled or disabled. - WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` -} diff --git a/models/models/model_block.go b/models/models/model_block.go deleted file mode 100644 index 7d6852aa..00000000 --- a/models/models/model_block.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A Block can be of any type -type Block struct { -} diff --git a/models/models/model_bootstrapping_info.go b/models/models/model_bootstrapping_info.go deleted file mode 100644 index 1babfaf4..00000000 --- a/models/models/model_bootstrapping_info.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * NRF Bootstrapping - * - * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information returned by NRF in the bootstrapping response message -type BootstrappingInfo struct { - Status Status `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // Map of link objects where the keys are the link relations defined in 3GPP TS 29.510 clause 6.4.6.3.3 - Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` - // Map of features supported by the NRF, where the keys are the NRF services as defined in 3GPP TS 29.510 clause 6.1.6.3.11 - NrfFeatures map[string]string `json:"nrfFeatures,omitempty" yaml:"nrfFeatures" bson:"nrfFeatures,omitempty"` - // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" - Oauth2Required map[string]bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NrfSetId string `json:"nrfSetId,omitempty" yaml:"nrfSetId" bson:"nrfSetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NrfInstanceId string `json:"nrfInstanceId,omitempty" yaml:"nrfInstanceId" bson:"nrfInstanceId,omitempty"` -} diff --git a/models/models/model_bridge_management_container.go b/models/models/model_bridge_management_container.go deleted file mode 100644 index 94db8991..00000000 --- a/models/models/model_bridge_management_container.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UMIC. -type BridgeManagementContainer struct { - // string with format 'bytes' as defined in OpenAPI - BridgeManCont string `json:"bridgeManCont" yaml:"bridgeManCont" bson:"bridgeManCont,omitempty"` -} diff --git a/models/models/model_bw_requirement.go b/models/models/model_bw_requirement.go deleted file mode 100644 index 2ef0c7c1..00000000 --- a/models/models/model_bw_requirement.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents bandwidth requirements. -type BwRequirement struct { - // String providing an application identifier. - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` -} diff --git a/models/models/model_cache_status.go b/models/models/model_cache_status.go deleted file mode 100644 index 8b8d2f72..00000000 --- a/models/models/model_cache_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CacheStatus string - -// List of CacheStatus -const ( - CacheStatus_HIT CacheStatus = "HIT" - CacheStatus_MISS CacheStatus = "MISS" - CacheStatus_EXPIRED CacheStatus = "EXPIRED" -) diff --git a/models/models/model_cag_ack_data.go b/models/models/model_cag_ack_data.go deleted file mode 100644 index 52d36be2..00000000 --- a/models/models/model_cag_ack_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Used to store the status of the latest CAG data update. -type CagAckData struct { - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` -} diff --git a/models/models/model_cag_data.go b/models/models/model_cag_data.go deleted file mode 100644 index 75eaf22c..00000000 --- a/models/models/model_cag_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type CagData struct { - // A map (list of key-value pairs where PlmnId serves as key) of CagInfo - CagInfos map[string]CagInfo `json:"cagInfos" yaml:"cagInfos" bson:"cagInfos,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` -} diff --git a/models/models/model_cag_info.go b/models/models/model_cag_info.go deleted file mode 100644 index cef8ab69..00000000 --- a/models/models/model_cag_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CagInfo struct { - AllowedCagList []string `json:"allowedCagList" yaml:"allowedCagList" bson:"allowedCagList,omitempty"` - CagOnlyIndicator bool `json:"cagOnlyIndicator,omitempty" yaml:"cagOnlyIndicator" bson:"cagOnlyIndicator,omitempty"` -} diff --git a/models/models/model_call_reference_info.go b/models/models/model_call_reference_info.go deleted file mode 100644 index 569c385c..00000000 --- a/models/models/model_call_reference_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Call Reference Number and the AS-Number; it allows a later retry of the call setup in the context of MTRR -type CallReferenceInfo struct { - // The content is according to CallReferenceNumber type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] - CallRefNumber string `json:"callRefNumber" yaml:"callRefNumber" bson:"callRefNumber,omitempty"` - // The content is according to ISDN-AddressString type described in 3GPP TS 29.002 [30]. Base64 encoded according to IETF RFC 2045 [28] - AsNumber string `json:"asNumber" yaml:"asNumber" bson:"asNumber,omitempty"` -} diff --git a/models/models/model_called_identity_change.go b/models/models/model_called_identity_change.go deleted file mode 100644 index ad50ca2c..00000000 --- a/models/models/model_called_identity_change.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type CalledIdentityChange struct { - CalledIdentity string `json:"calledIdentity,omitempty" yaml:"calledIdentity" bson:"calledIdentity,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` -} diff --git a/models/models/model_cancel_pos_info.go b/models/models/model_cancel_pos_info.go deleted file mode 100644 index 5ff8d0e9..00000000 --- a/models/models/model_cancel_pos_info.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a Cancel Location Request -type CancelPosInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` - // LMF identification. - ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_cancel_relocate_ue_context_request.go b/models/models/model_cancel_relocate_ue_context_request.go deleted file mode 100644 index 2f1d5f04..00000000 --- a/models/models/model_cancel_relocate_ue_context_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CancelRelocateUeContextRequest struct { - JsonData *UeContextCancelRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataGtpcMessage []byte `json:"binaryDataGtpcMessage,omitempty" yaml:"binaryDataGtpcMessage" bson:"binaryDataGtpcMessage,omitempty"` -} diff --git a/models/models/model_candidate_for_replacement.go b/models/models/model_candidate_for_replacement.go deleted file mode 100644 index 5edbaf14..00000000 --- a/models/models/model_candidate_for_replacement.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a list of candidate DNNs for replacement for an S-NSSAI. -type CandidateForReplacement struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` -} diff --git a/models/models/model_ce_mode_b_ind.go b/models/models/model_ce_mode_b_ind.go deleted file mode 100644 index 4c324310..00000000 --- a/models/models/model_ce_mode_b_ind.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// CE-mode-B Support Indicator. -type CeModeBInd struct { - CeModeBSupportInd bool `json:"ceModeBSupportInd" yaml:"ceModeBSupportInd" bson:"ceModeBSupportInd,omitempty"` -} diff --git a/models/models/model_cell_global_id.go b/models/models/model_cell_global_id.go deleted file mode 100644 index 8947b42c..00000000 --- a/models/models/model_cell_global_id.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Cell Global Identification as defined in 3GPP TS 23.003, clause 4.3.1. -type CellGlobalId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` - CellId string `json:"cellId" yaml:"cellId" bson:"cellId,omitempty"` -} diff --git a/models/models/model_change_item.go b/models/models/model_change_item.go deleted file mode 100644 index ce169dc4..00000000 --- a/models/models/model_change_item.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It contains data which need to be changed. -type ChangeItem struct { - Op ChangeType `json:"op" yaml:"op" bson:"op,omitempty"` - // contains a JSON pointer value (as defined in IETF RFC 6901) that references a target location within the resource on which the change has been applied. - Path string `json:"path" yaml:"path" bson:"path,omitempty"` - // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. It shall be present if the \"op\" attribute is of value \"MOVE\". - From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` - OrigValue map[string]interface{} `json:"origValue,omitempty" yaml:"origValue" bson:"origValue,omitempty"` - NewValue map[string]interface{} `json:"newValue,omitempty" yaml:"newValue" bson:"newValue,omitempty"` -} diff --git a/models/models/model_change_of_supi_pei_association_report.go b/models/models/model_change_of_supi_pei_association_report.go deleted file mode 100644 index 7149a1c3..00000000 --- a/models/models/model_change_of_supi_pei_association_report.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChangeOfSupiPeiAssociationReport struct { - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` -} diff --git a/models/models/model_change_type.go b/models/models/model_change_type.go deleted file mode 100644 index 0dae3f75..00000000 --- a/models/models/model_change_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChangeType string - -// List of ChangeType -const ( - ChangeType_ADD ChangeType = "ADD" - ChangeType_MOVE ChangeType = "MOVE" - ChangeType_REMOVE ChangeType = "REMOVE" - ChangeType_REPLACE ChangeType = "REPLACE" -) diff --git a/models/models/model_charging_characteristics_selection_mode.go b/models/models/model_charging_characteristics_selection_mode.go deleted file mode 100644 index b9985fa3..00000000 --- a/models/models/model_charging_characteristics_selection_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChargingCharacteristicsSelectionMode string - -// List of ChargingCharacteristicsSelectionMode -const ( - ChargingCharacteristicsSelectionMode_HOME_DEFAULT ChargingCharacteristicsSelectionMode = "HOME_DEFAULT" - ChargingCharacteristicsSelectionMode_ROAMING_DEFAULT ChargingCharacteristicsSelectionMode = "ROAMING_DEFAULT" - ChargingCharacteristicsSelectionMode_VISITING_DEFAULT ChargingCharacteristicsSelectionMode = "VISITING_DEFAULT" -) diff --git a/models/models/model_charging_data.go b/models/models/model_charging_data.go deleted file mode 100644 index da5daa9c..00000000 --- a/models/models/model_charging_data.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains charging related parameters. -type ChargingData struct { - // Univocally identifies the charging control policy data within a PDU session. - ChgId string `json:"chgId" yaml:"chgId" bson:"chgId,omitempty"` - MeteringMethod MeteringMethod `json:"meteringMethod,omitempty" yaml:"meteringMethod" bson:"meteringMethod,omitempty"` - // Indicates the offline charging is applicable to the PCC rule when it is included and set to true. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` - // Indicates the online charging is applicable to the PCC rule when it is included and set to true. - Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` - // Indicates whether the service data flow is allowed to start while the SMF is waiting for the response to the credit request. - SdfHandl bool `json:"sdfHandl,omitempty" yaml:"sdfHandl" bson:"sdfHandl,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - ReportingLevel ReportingLevel `json:"reportingLevel,omitempty" yaml:"reportingLevel" bson:"reportingLevel,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` - // Indicates the sponsor identity. - SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` - // Indicates the application service provider identity. - AppSvcProvId string `json:"appSvcProvId,omitempty" yaml:"appSvcProvId" bson:"appSvcProvId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` - // Application provided charging identifier allowing correlation of charging information. - AfChargId string `json:"afChargId,omitempty" yaml:"afChargId" bson:"afChargId,omitempty"` -} diff --git a/models/models/model_charging_info.go b/models/models/model_charging_info.go deleted file mode 100644 index 6c5d84f1..00000000 --- a/models/models/model_charging_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Diameter addresses of the charging function -type ChargingInfo struct { - // Fully Qualified Domain Name - PrimaryEventChargingFunctionName string `json:"primaryEventChargingFunctionName,omitempty" yaml:"primaryEventChargingFunctionName" bson:"primaryEventChargingFunctionName,omitempty"` - // Fully Qualified Domain Name - SecondaryEventChargingFunctionName string `json:"secondaryEventChargingFunctionName,omitempty" yaml:"secondaryEventChargingFunctionName" bson:"secondaryEventChargingFunctionName,omitempty"` - // Fully Qualified Domain Name - PrimaryChargingCollectionFunctionName string `json:"primaryChargingCollectionFunctionName,omitempty" yaml:"primaryChargingCollectionFunctionName" bson:"primaryChargingCollectionFunctionName,omitempty"` - // Fully Qualified Domain Name - SecondaryChargingCollectionFunctionName string `json:"secondaryChargingCollectionFunctionName,omitempty" yaml:"secondaryChargingCollectionFunctionName" bson:"secondaryChargingCollectionFunctionName,omitempty"` -} diff --git a/models/models/model_charging_information.go b/models/models/model_charging_information.go deleted file mode 100644 index ad8f21ca..00000000 --- a/models/models/model_charging_information.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the addresses of the charging functions. -type ChargingInformation struct { - // String providing an URI formatted according to RFC 3986. - PrimaryChfAddress string `json:"primaryChfAddress" yaml:"primaryChfAddress" bson:"primaryChfAddress,omitempty"` - // String providing an URI formatted according to RFC 3986. - SecondaryChfAddress string `json:"secondaryChfAddress,omitempty" yaml:"secondaryChfAddress" bson:"secondaryChfAddress,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PrimaryChfSetId string `json:"primaryChfSetId,omitempty" yaml:"primaryChfSetId" bson:"primaryChfSetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PrimaryChfInstanceId string `json:"primaryChfInstanceId,omitempty" yaml:"primaryChfInstanceId" bson:"primaryChfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SecondaryChfSetId string `json:"secondaryChfSetId,omitempty" yaml:"secondaryChfSetId" bson:"secondaryChfSetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SecondaryChfInstanceId string `json:"secondaryChfInstanceId,omitempty" yaml:"secondaryChfInstanceId" bson:"secondaryChfInstanceId,omitempty"` -} diff --git a/models/models/model_charging_notify_request.go b/models/models/model_charging_notify_request.go deleted file mode 100644 index 9e32ac66..00000000 --- a/models/models/model_charging_notify_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChargingNotifyRequest struct { - NotificationType ChfConvergedChargingNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` - ReauthorizationDetails []ReauthorizationDetails `json:"reauthorizationDetails,omitempty" yaml:"reauthorizationDetails" bson:"reauthorizationDetails,omitempty"` -} diff --git a/models/models/model_charging_notify_response.go b/models/models/model_charging_notify_response.go deleted file mode 100644 index b69ccc77..00000000 --- a/models/models/model_charging_notify_response.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChargingNotifyResponse struct { - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_charging_data_request.go b/models/models/model_chf_converged_charging_charging_data_request.go deleted file mode 100644 index c476cf2a..00000000 --- a/models/models/model_chf_converged_charging_charging_data_request.go +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingChargingDataRequest struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` - TenantIdentifier string `json:"tenantIdentifier,omitempty" yaml:"tenantIdentifier" bson:"tenantIdentifier,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` - MnSConsumerIdentifier string `json:"mnSConsumerIdentifier,omitempty" yaml:"mnSConsumerIdentifier" bson:"mnSConsumerIdentifier,omitempty"` - NfConsumerIdentification *ChfConvergedChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` - OneTimeEvent bool `json:"oneTimeEvent,omitempty" yaml:"oneTimeEvent" bson:"oneTimeEvent,omitempty"` - OneTimeEventType OneTimeEventType `json:"oneTimeEventType,omitempty" yaml:"oneTimeEventType" bson:"oneTimeEventType,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` - MultipleUnitUsage []ChfConvergedChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - Easid string `json:"easid,omitempty" yaml:"easid" bson:"easid,omitempty"` - Ednid string `json:"ednid,omitempty" yaml:"ednid" bson:"ednid,omitempty"` - EASProviderIdentifier string `json:"eASProviderIdentifier,omitempty" yaml:"eASProviderIdentifier" bson:"eASProviderIdentifier,omitempty"` - // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). - AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - SMSChargingInformation *SmsChargingInformation `json:"sMSChargingInformation,omitempty" yaml:"sMSChargingInformation" bson:"sMSChargingInformation,omitempty"` - NEFChargingInformation *NefChargingInformation `json:"nEFChargingInformation,omitempty" yaml:"nEFChargingInformation" bson:"nEFChargingInformation,omitempty"` - RegistrationChargingInformation *RegistrationChargingInformation `json:"registrationChargingInformation,omitempty" yaml:"registrationChargingInformation" bson:"registrationChargingInformation,omitempty"` - N2ConnectionChargingInformation *N2ConnectionChargingInformation `json:"n2ConnectionChargingInformation,omitempty" yaml:"n2ConnectionChargingInformation" bson:"n2ConnectionChargingInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` - NSPAChargingInformation *NspaChargingInformation `json:"nSPAChargingInformation,omitempty" yaml:"nSPAChargingInformation" bson:"nSPAChargingInformation,omitempty"` - NSMChargingInformation *NsmChargingInformation `json:"nSMChargingInformation,omitempty" yaml:"nSMChargingInformation" bson:"nSMChargingInformation,omitempty"` - MMTelChargingInformation *MmTelChargingInformation `json:"mMTelChargingInformation,omitempty" yaml:"mMTelChargingInformation" bson:"mMTelChargingInformation,omitempty"` - IMSChargingInformation *ImsChargingInformation `json:"iMSChargingInformation,omitempty" yaml:"iMSChargingInformation" bson:"iMSChargingInformation,omitempty"` - EdgeInfrastructureUsageChargingInformation *EdgeInfrastructureUsageChargingInformation `json:"edgeInfrastructureUsageChargingInformation,omitempty" yaml:"edgeInfrastructureUsageChargingInformation'" bson:"edgeInfrastructureUsageChargingInformation',omitempty"` - EASDeploymentChargingInformation *EasDeploymentChargingInformation `json:"eASDeploymentChargingInformation,omitempty" yaml:"eASDeploymentChargingInformation" bson:"eASDeploymentChargingInformation,omitempty"` - DirectEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"directEdgeEnablingServiceChargingInformation,omitempty" yaml:"directEdgeEnablingServiceChargingInformation" bson:"directEdgeEnablingServiceChargingInformation,omitempty"` - ExposedEdgeEnablingServiceChargingInformation *NefChargingInformation `json:"exposedEdgeEnablingServiceChargingInformation,omitempty" yaml:"exposedEdgeEnablingServiceChargingInformation" bson:"exposedEdgeEnablingServiceChargingInformation,omitempty"` - ProSeChargingInformation *ProseChargingInformation `json:"proSeChargingInformation,omitempty" yaml:"proSeChargingInformation" bson:"proSeChargingInformation,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_charging_data_response.go b/models/models/model_chf_converged_charging_charging_data_response.go deleted file mode 100644 index b2c7f184..00000000 --- a/models/models/model_chf_converged_charging_charging_data_response.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingChargingDataResponse struct { - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_multiple_qf_icontainer.go b/models/models/model_chf_converged_charging_multiple_qf_icontainer.go deleted file mode 100644 index 36c7379a..00000000 --- a/models/models/model_chf_converged_charging_multiple_qf_icontainer.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingMultipleQfIcontainer struct { - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` - QFIContainerInformation *ChfConvergedChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_multiple_unit_usage.go b/models/models/model_chf_converged_charging_multiple_unit_usage.go deleted file mode 100644 index a4e2f412..00000000 --- a/models/models/model_chf_converged_charging_multiple_unit_usage.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingMultipleUnitUsage struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - RequestedUnit *RequestedUnit `json:"requestedUnit,omitempty" yaml:"requestedUnit" bson:"requestedUnit,omitempty"` - UsedUnitContainer []ChfConvergedChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` - MultihomedPDUAddress *ChfConvergedChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_nf_identification.go b/models/models/model_chf_converged_charging_nf_identification.go deleted file mode 100644 index 3cf40555..00000000 --- a/models/models/model_chf_converged_charging_nf_identification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingNfIdentification struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` - NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` - NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` - NodeFunctionality ChfConvergedChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` - NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_node_functionality.go b/models/models/model_chf_converged_charging_node_functionality.go deleted file mode 100644 index dc8b3705..00000000 --- a/models/models/model_chf_converged_charging_node_functionality.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingNodeFunctionality string - -// List of ChfConvergedChargingNodeFunctionality -const ( - ChfConvergedChargingNodeFunctionality_AMF ChfConvergedChargingNodeFunctionality = "AMF" - ChfConvergedChargingNodeFunctionality_SMF ChfConvergedChargingNodeFunctionality = "SMF" - ChfConvergedChargingNodeFunctionality_SMS ChfConvergedChargingNodeFunctionality = "SMS" - ChfConvergedChargingNodeFunctionality_SMSF ChfConvergedChargingNodeFunctionality = "SMSF" - ChfConvergedChargingNodeFunctionality_PGW_C_SMF ChfConvergedChargingNodeFunctionality = "PGW_C_SMF" - ChfConvergedChargingNodeFunctionality_NEFF ChfConvergedChargingNodeFunctionality = "NEFF" - ChfConvergedChargingNodeFunctionality_SGW ChfConvergedChargingNodeFunctionality = "SGW" - ChfConvergedChargingNodeFunctionality_I_SMF ChfConvergedChargingNodeFunctionality = "I_SMF" - ChfConvergedChargingNodeFunctionality_E_PDG ChfConvergedChargingNodeFunctionality = "ePDG" - ChfConvergedChargingNodeFunctionality_CEF ChfConvergedChargingNodeFunctionality = "CEF" - ChfConvergedChargingNodeFunctionality_NEF ChfConvergedChargingNodeFunctionality = "NEF" - ChfConvergedChargingNodeFunctionality_MN_S_PRODUCER ChfConvergedChargingNodeFunctionality = "MnS_Producer" - ChfConvergedChargingNodeFunctionality_SGSN ChfConvergedChargingNodeFunctionality = "SGSN" - ChfConvergedChargingNodeFunctionality_V_SMF ChfConvergedChargingNodeFunctionality = "V_SMF" - ChfConvergedChargingNodeFunctionality__5_G_DDNMF ChfConvergedChargingNodeFunctionality = "5G_DDNMF" - ChfConvergedChargingNodeFunctionality_IMS_NODE ChfConvergedChargingNodeFunctionality = "IMS_Node" - ChfConvergedChargingNodeFunctionality_EES ChfConvergedChargingNodeFunctionality = "EES" - ChfConvergedChargingNodeFunctionality_PCF ChfConvergedChargingNodeFunctionality = "PCF" - ChfConvergedChargingNodeFunctionality_UDM ChfConvergedChargingNodeFunctionality = "UDM" - ChfConvergedChargingNodeFunctionality_UPF ChfConvergedChargingNodeFunctionality = "UPF" -) diff --git a/models/models/model_chf_converged_charging_notification_type.go b/models/models/model_chf_converged_charging_notification_type.go deleted file mode 100644 index 65289a65..00000000 --- a/models/models/model_chf_converged_charging_notification_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingNotificationType string - -// List of ChfConvergedChargingNotificationType -const ( - ChfConvergedChargingNotificationType_REAUTHORIZATION ChfConvergedChargingNotificationType = "REAUTHORIZATION" - ChfConvergedChargingNotificationType_ABORT_CHARGING ChfConvergedChargingNotificationType = "ABORT_CHARGING" -) diff --git a/models/models/model_chf_converged_charging_pdu_address.go b/models/models/model_chf_converged_charging_pdu_address.go deleted file mode 100644 index 68188b2d..00000000 --- a/models/models/model_chf_converged_charging_pdu_address.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingPduAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` - PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` - PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` - IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` - IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` - AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` - AddIpv6AddrPrefixList []string `json:"addIpv6AddrPrefixList,omitempty" yaml:"addIpv6AddrPrefixList" bson:"addIpv6AddrPrefixList,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_pdu_container_information.go b/models/models/model_chf_converged_charging_pdu_container_information.go deleted file mode 100644 index 042def43..00000000 --- a/models/models/model_chf_converged_charging_pdu_container_information.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingPduContainerInformation struct { - // string with format 'date-time' as defined in OpenAPI. - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - AfChargingIdentifier int32 `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier,omitempty"` - // Application provided charging identifier allowing correlation of charging information. - AfChargingIdString string `json:"afChargingIdString,omitempty" yaml:"afChargingIdString" bson:"afChargingIdString,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - ServingNodeID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` - ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` - ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` - MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` - MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` - TrafficForwardingWay TrafficForwardingWay `json:"trafficForwardingWay,omitempty" yaml:"trafficForwardingWay" bson:"trafficForwardingWay,omitempty"` - QosMonitoringReport []ChfConvergedChargingQosMonitoringReport `json:"qosMonitoringReport,omitempty" yaml:"qosMonitoringReport" bson:"qosMonitoringReport,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_pdu_session_charging_information.go b/models/models/model_chf_converged_charging_pdu_session_charging_information.go deleted file mode 100644 index eacf71d9..00000000 --- a/models/models/model_chf_converged_charging_pdu_session_charging_information.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingPduSessionChargingInformation struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` - SMFchargingId string `json:"sMFchargingId,omitempty" yaml:"sMFchargingId" bson:"sMFchargingId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - HomeProvidedChargingId int32 `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` - SMFHomeProvidedChargingId string `json:"sMFHomeProvidedChargingId,omitempty" yaml:"sMFHomeProvidedChargingId" bson:"sMFHomeProvidedChargingId,omitempty"` - UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Non3GPPUserLocationTime *time.Time `json:"non3GPPUserLocationTime,omitempty" yaml:"non3GPPUserLocationTime" bson:"non3GPPUserLocationTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - MAPDUNon3GPPUserLocationTime *time.Time `json:"mAPDUNon3GPPUserLocationTime,omitempty" yaml:"mAPDUNon3GPPUserLocationTime" bson:"mAPDUNon3GPPUserLocationTime,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - PduSessionInformation *ChfConvergedChargingPduSessionInformation `json:"pduSessionInformation,omitempty" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` - // indicating a time in seconds. - UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` - RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_pdu_session_information.go b/models/models/model_chf_converged_charging_pdu_session_information.go deleted file mode 100644 index ba4fcbce..00000000 --- a/models/models/model_chf_converged_charging_pdu_session_information.go +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingPduSessionInformation struct { - NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` - PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` - SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` - HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` - ServingNetworkFunctionID *ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` - DnnSelectionMode DnnSelectionMode `json:"dnnSelectionMode,omitempty" yaml:"dnnSelectionMode" bson:"dnnSelectionMode,omitempty"` - ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` - ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` - PduAddress *ChfConvergedChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` - Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` - AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` - SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` - AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` - SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` - ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` - MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` - EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` - RedundantTransmissionType RedundantTransmissionType `json:"redundantTransmissionType,omitempty" yaml:"redundantTransmissionType" bson:"redundantTransmissionType,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - PDUSessionPairID int32 `json:"pDUSessionPairID,omitempty" yaml:"pDUSessionPairID" bson:"pDUSessionPairID,omitempty"` - CpCIoTOptimisationIndicator bool `json:"cpCIoTOptimisationIndicator,omitempty" yaml:"cpCIoTOptimisationIndicator" bson:"cpCIoTOptimisationIndicator,omitempty"` - Var5GSControlPlaneOnlyIndicator bool `json:"5GSControlPlaneOnlyIndicator,omitempty" yaml:"5GSControlPlaneOnlyIndicator" bson:"5GSControlPlaneOnlyIndicator,omitempty"` - SmallDataRateControlIndicator bool `json:"smallDataRateControlIndicator,omitempty" yaml:"smallDataRateControlIndicator" bson:"smallDataRateControlIndicator,omitempty"` - Var5GLANTypeService *Model5GlanTypeService `json:"5GLANTypeService,omitempty" yaml:"5GLANTypeService" bson:"5GLANTypeService,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_qfi_container_information.go b/models/models/model_chf_converged_charging_qfi_container_information.go deleted file mode 100644 index b2b15949..00000000 --- a/models/models/model_chf_converged_charging_qfi_container_information.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingQfiContainerInformation struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ReportTime *time.Time `json:"reportTime" yaml:"reportTime" bson:"reportTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - ServingNetworkFunctionID []ChfConvergedChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Var3gppChargingId int32 `json:"3gppChargingId,omitempty" yaml:"3gppChargingId" bson:"3gppChargingId,omitempty"` - Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` - EnhancedDiagnostics []string `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_qos_monitoring_report.go b/models/models/model_chf_converged_charging_qos_monitoring_report.go deleted file mode 100644 index acbd67f4..00000000 --- a/models/models/model_chf_converged_charging_qos_monitoring_report.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains reporting information on QoS monitoring. -type ChfConvergedChargingQosMonitoringReport struct { - UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` - DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` - RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_redirect_address_type.go b/models/models/model_chf_converged_charging_redirect_address_type.go deleted file mode 100644 index eb9fbd05..00000000 --- a/models/models/model_chf_converged_charging_redirect_address_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingRedirectAddressType string - -// List of ChfConvergedChargingRedirectAddressType -const ( - ChfConvergedChargingRedirectAddressType_IPV4 ChfConvergedChargingRedirectAddressType = "IPV4" - ChfConvergedChargingRedirectAddressType_IPV6 ChfConvergedChargingRedirectAddressType = "IPV6" - ChfConvergedChargingRedirectAddressType_URL ChfConvergedChargingRedirectAddressType = "URL" - ChfConvergedChargingRedirectAddressType_URI ChfConvergedChargingRedirectAddressType = "URI" -) diff --git a/models/models/model_chf_converged_charging_result_code.go b/models/models/model_chf_converged_charging_result_code.go deleted file mode 100644 index 06815342..00000000 --- a/models/models/model_chf_converged_charging_result_code.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingResultCode string - -// List of ChfConvergedChargingResultCode -const ( - ChfConvergedChargingResultCode_SUCCESS ChfConvergedChargingResultCode = "SUCCESS" - ChfConvergedChargingResultCode_END_USER_SERVICE_DENIED ChfConvergedChargingResultCode = "END_USER_SERVICE_DENIED" - ChfConvergedChargingResultCode_QUOTA_MANAGEMENT_NOT_APPLICABLE ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT_NOT_APPLICABLE" - ChfConvergedChargingResultCode_QUOTA_LIMIT_REACHED ChfConvergedChargingResultCode = "QUOTA_LIMIT_REACHED" - ChfConvergedChargingResultCode_END_USER_SERVICE_REJECTED ChfConvergedChargingResultCode = "END_USER_SERVICE_REJECTED" - ChfConvergedChargingResultCode_USER_UNKNOWN ChfConvergedChargingResultCode = "USER_UNKNOWN" - ChfConvergedChargingResultCode_RATING_FAILED ChfConvergedChargingResultCode = "RATING_FAILED" - ChfConvergedChargingResultCode_QUOTA_MANAGEMENT ChfConvergedChargingResultCode = "QUOTA_MANAGEMENT" -) diff --git a/models/models/model_chf_converged_charging_roaming_charging_profile.go b/models/models/model_chf_converged_charging_roaming_charging_profile.go deleted file mode 100644 index 3e226448..00000000 --- a/models/models/model_chf_converged_charging_roaming_charging_profile.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingRoamingChargingProfile struct { - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_roaming_qbc_information.go b/models/models/model_chf_converged_charging_roaming_qbc_information.go deleted file mode 100644 index 232ad3c0..00000000 --- a/models/models/model_chf_converged_charging_roaming_qbc_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingRoamingQbcInformation struct { - MultipleQFIcontainer []ChfConvergedChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_serving_network_function_id.go b/models/models/model_chf_converged_charging_serving_network_function_id.go deleted file mode 100644 index 528ee080..00000000 --- a/models/models/model_chf_converged_charging_serving_network_function_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingServingNetworkFunctionId struct { - ServingNetworkFunctionInformation *ChfConvergedChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` - // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). - AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_trigger.go b/models/models/model_chf_converged_charging_trigger.go deleted file mode 100644 index a2b4c269..00000000 --- a/models/models/model_chf_converged_charging_trigger.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingTrigger struct { - TriggerType ChfConvergedChargingTriggerType `json:"triggerType,omitempty" yaml:"triggerType" bson:"triggerType,omitempty"` - TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` - // indicating a time in seconds. - TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_trigger_type.go b/models/models/model_chf_converged_charging_trigger_type.go deleted file mode 100644 index bc45a3e5..00000000 --- a/models/models/model_chf_converged_charging_trigger_type.go +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingTriggerType string - -// List of ChfConvergedChargingTriggerType -const ( - ChfConvergedChargingTriggerType_QUOTA_THRESHOLD ChfConvergedChargingTriggerType = "QUOTA_THRESHOLD" - ChfConvergedChargingTriggerType_QHT ChfConvergedChargingTriggerType = "QHT" - ChfConvergedChargingTriggerType_FINAL ChfConvergedChargingTriggerType = "FINAL" - ChfConvergedChargingTriggerType_QUOTA_EXHAUSTED ChfConvergedChargingTriggerType = "QUOTA_EXHAUSTED" - ChfConvergedChargingTriggerType_VALIDITY_TIME ChfConvergedChargingTriggerType = "VALIDITY_TIME" - ChfConvergedChargingTriggerType_OTHER_QUOTA_TYPE ChfConvergedChargingTriggerType = "OTHER_QUOTA_TYPE" - ChfConvergedChargingTriggerType_FORCED_REAUTHORISATION ChfConvergedChargingTriggerType = "FORCED_REAUTHORISATION" - ChfConvergedChargingTriggerType_UNUSED_QUOTA_TIMER ChfConvergedChargingTriggerType = "UNUSED_QUOTA_TIMER" - ChfConvergedChargingTriggerType_UNIT_COUNT_INACTIVITY_TIMER ChfConvergedChargingTriggerType = "UNIT_COUNT_INACTIVITY_TIMER" - ChfConvergedChargingTriggerType_ABNORMAL_RELEASE ChfConvergedChargingTriggerType = "ABNORMAL_RELEASE" - ChfConvergedChargingTriggerType_QOS_CHANGE ChfConvergedChargingTriggerType = "QOS_CHANGE" - ChfConvergedChargingTriggerType_VOLUME_LIMIT ChfConvergedChargingTriggerType = "VOLUME_LIMIT" - ChfConvergedChargingTriggerType_TIME_LIMIT ChfConvergedChargingTriggerType = "TIME_LIMIT" - ChfConvergedChargingTriggerType_EVENT_LIMIT ChfConvergedChargingTriggerType = "EVENT_LIMIT" - ChfConvergedChargingTriggerType_PLMN_CHANGE ChfConvergedChargingTriggerType = "PLMN_CHANGE" - ChfConvergedChargingTriggerType_USER_LOCATION_CHANGE ChfConvergedChargingTriggerType = "USER_LOCATION_CHANGE" - ChfConvergedChargingTriggerType_RAT_CHANGE ChfConvergedChargingTriggerType = "RAT_CHANGE" - ChfConvergedChargingTriggerType_SESSION_AMBR_CHANGE ChfConvergedChargingTriggerType = "SESSION_AMBR_CHANGE" - ChfConvergedChargingTriggerType_UE_TIMEZONE_CHANGE ChfConvergedChargingTriggerType = "UE_TIMEZONE_CHANGE" - ChfConvergedChargingTriggerType_TARIFF_TIME_CHANGE ChfConvergedChargingTriggerType = "TARIFF_TIME_CHANGE" - ChfConvergedChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfConvergedChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" - ChfConvergedChargingTriggerType_MANAGEMENT_INTERVENTION ChfConvergedChargingTriggerType = "MANAGEMENT_INTERVENTION" - ChfConvergedChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfConvergedChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" - ChfConvergedChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfConvergedChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" - ChfConvergedChargingTriggerType_SERVING_NODE_CHANGE ChfConvergedChargingTriggerType = "SERVING_NODE_CHANGE" - ChfConvergedChargingTriggerType_REMOVAL_OF_UPF ChfConvergedChargingTriggerType = "REMOVAL_OF_UPF" - ChfConvergedChargingTriggerType_ADDITION_OF_UPF ChfConvergedChargingTriggerType = "ADDITION_OF_UPF" - ChfConvergedChargingTriggerType_INSERTION_OF_ISMF ChfConvergedChargingTriggerType = "INSERTION_OF_ISMF" - ChfConvergedChargingTriggerType_REMOVAL_OF_ISMF ChfConvergedChargingTriggerType = "REMOVAL_OF_ISMF" - ChfConvergedChargingTriggerType_CHANGE_OF_ISMF ChfConvergedChargingTriggerType = "CHANGE_OF_ISMF" - ChfConvergedChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfConvergedChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" - ChfConvergedChargingTriggerType_ECGI_CHANGE ChfConvergedChargingTriggerType = "ECGI_CHANGE" - ChfConvergedChargingTriggerType_TAI_CHANGE ChfConvergedChargingTriggerType = "TAI_CHANGE" - ChfConvergedChargingTriggerType_HANDOVER_CANCEL ChfConvergedChargingTriggerType = "HANDOVER_CANCEL" - ChfConvergedChargingTriggerType_HANDOVER_START ChfConvergedChargingTriggerType = "HANDOVER_START" - ChfConvergedChargingTriggerType_HANDOVER_COMPLETE ChfConvergedChargingTriggerType = "HANDOVER_COMPLETE" - ChfConvergedChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfConvergedChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" - ChfConvergedChargingTriggerType_ADDITION_OF_ACCESS ChfConvergedChargingTriggerType = "ADDITION_OF_ACCESS" - ChfConvergedChargingTriggerType_REMOVAL_OF_ACCESS ChfConvergedChargingTriggerType = "REMOVAL_OF_ACCESS" - ChfConvergedChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfConvergedChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" - ChfConvergedChargingTriggerType_REDUNDANT_TRANSMISSION_CHANGE ChfConvergedChargingTriggerType = "REDUNDANT_TRANSMISSION_CHANGE" - ChfConvergedChargingTriggerType_CGI_SAI_CHANGE ChfConvergedChargingTriggerType = "CGI_SAI_CHANGE" - ChfConvergedChargingTriggerType_RAI_CHANGE ChfConvergedChargingTriggerType = "RAI_CHANGE" - ChfConvergedChargingTriggerType_VSMF_CHANGE ChfConvergedChargingTriggerType = "VSMF_CHANGE" -) diff --git a/models/models/model_chf_converged_charging_used_unit_container.go b/models/models/model_chf_converged_charging_used_unit_container.go deleted file mode 100644 index 9922b4f1..00000000 --- a/models/models/model_chf_converged_charging_used_unit_container.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfConvergedChargingUsedUnitContainer struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` - QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` - EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` - PDUContainerInformation *ChfConvergedChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` - NSPAContainerInformation *NspaContainerInformation `json:"nSPAContainerInformation,omitempty" yaml:"nSPAContainerInformation" bson:"nSPAContainerInformation,omitempty"` - PC5ContainerInformation *Pc5ContainerInformation `json:"pC5ContainerInformation,omitempty" yaml:"pC5ContainerInformation" bson:"pC5ContainerInformation,omitempty"` -} diff --git a/models/models/model_chf_converged_charging_user_information.go b/models/models/model_chf_converged_charging_user_information.go deleted file mode 100644 index 4fda5535..00000000 --- a/models/models/model_chf_converged_charging_user_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfConvergedChargingUserInformation struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` - UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` - RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` -} diff --git a/models/models/model_chf_info.go b/models/models/model_chf_info.go deleted file mode 100644 index f102cf91..00000000 --- a/models/models/model_chf_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a CHF NF Instance -type ChfInfo struct { - SupiRangeList []SupiRange `json:"supiRangeList,omitempty" yaml:"supiRangeList" bson:"supiRangeList,omitempty"` - GpsiRangeList []IdentityRange `json:"gpsiRangeList,omitempty" yaml:"gpsiRangeList" bson:"gpsiRangeList,omitempty"` - PlmnRangeList []PlmnRange `json:"plmnRangeList,omitempty" yaml:"plmnRangeList" bson:"plmnRangeList,omitempty"` - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PrimaryChfInstance string `json:"primaryChfInstance,omitempty" yaml:"primaryChfInstance" bson:"primaryChfInstance,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SecondaryChfInstance string `json:"secondaryChfInstance,omitempty" yaml:"secondaryChfInstance" bson:"secondaryChfInstance,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_charging_data_request.go b/models/models/model_chf_offline_only_charging_charging_data_request.go deleted file mode 100644 index d24c6589..00000000 --- a/models/models/model_chf_offline_only_charging_charging_data_request.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingChargingDataRequest struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - SubscriberIdentifier string `json:"subscriberIdentifier,omitempty" yaml:"subscriberIdentifier" bson:"subscriberIdentifier,omitempty"` - NfConsumerIdentification *ChfOfflineOnlyChargingNfIdentification `json:"nfConsumerIdentification" yaml:"nfConsumerIdentification" bson:"nfConsumerIdentification,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - RetransmissionIndicator bool `json:"retransmissionIndicator,omitempty" yaml:"retransmissionIndicator" bson:"retransmissionIndicator,omitempty"` - ServiceSpecificationInfo string `json:"serviceSpecificationInfo,omitempty" yaml:"serviceSpecificationInfo" bson:"serviceSpecificationInfo,omitempty"` - MultipleUnitUsage []ChfOfflineOnlyChargingMultipleUnitUsage `json:"multipleUnitUsage,omitempty" yaml:"multipleUnitUsage" bson:"multipleUnitUsage,omitempty"` - Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_charging_data_response.go b/models/models/model_chf_offline_only_charging_charging_data_response.go deleted file mode 100644 index aa7ddcfb..00000000 --- a/models/models/model_chf_offline_only_charging_charging_data_response.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingChargingDataResponse struct { - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfOfflineOnlyChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfOfflineOnlyChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go b/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go deleted file mode 100644 index e5bf1849..00000000 --- a/models/models/model_chf_offline_only_charging_multiple_qf_icontainer.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingMultipleQfIcontainer struct { - Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` - QFIContainerInformation *ChfOfflineOnlyChargingQfiContainerInformation `json:"qFIContainerInformation,omitempty" yaml:"qFIContainerInformation" bson:"qFIContainerInformation,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_multiple_unit_usage.go b/models/models/model_chf_offline_only_charging_multiple_unit_usage.go deleted file mode 100644 index 5028ff4a..00000000 --- a/models/models/model_chf_offline_only_charging_multiple_unit_usage.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingMultipleUnitUsage struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - UsedUnitContainer []ChfOfflineOnlyChargingUsedUnitContainer `json:"usedUnitContainer,omitempty" yaml:"usedUnitContainer" bson:"usedUnitContainer,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` - MultihomedPDUAddress *ChfOfflineOnlyChargingPduAddress `json:"multihomedPDUAddress,omitempty" yaml:"multihomedPDUAddress" bson:"multihomedPDUAddress,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_nf_identification.go b/models/models/model_chf_offline_only_charging_nf_identification.go deleted file mode 100644 index 997e6918..00000000 --- a/models/models/model_chf_offline_only_charging_nf_identification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingNfIdentification struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NFName string `json:"nFName,omitempty" yaml:"nFName" bson:"nFName,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - NFIPv4Address string `json:"nFIPv4Address,omitempty" yaml:"nFIPv4Address" bson:"nFIPv4Address,omitempty"` - NFIPv6Address string `json:"nFIPv6Address,omitempty" yaml:"nFIPv6Address" bson:"nFIPv6Address,omitempty"` - NFPLMNID *PlmnId `json:"nFPLMNID,omitempty" yaml:"nFPLMNID" bson:"nFPLMNID,omitempty"` - NodeFunctionality ChfOfflineOnlyChargingNodeFunctionality `json:"nodeFunctionality" yaml:"nodeFunctionality" bson:"nodeFunctionality,omitempty"` - NFFqdn string `json:"nFFqdn,omitempty" yaml:"nFFqdn" bson:"nFFqdn,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_node_functionality.go b/models/models/model_chf_offline_only_charging_node_functionality.go deleted file mode 100644 index b5b0a2ac..00000000 --- a/models/models/model_chf_offline_only_charging_node_functionality.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingNodeFunctionality string - -// List of ChfOfflineOnlyChargingNodeFunctionality -const ( - ChfOfflineOnlyChargingNodeFunctionality_SMF ChfOfflineOnlyChargingNodeFunctionality = "SMF" - ChfOfflineOnlyChargingNodeFunctionality_SMSF ChfOfflineOnlyChargingNodeFunctionality = "SMSF" - ChfOfflineOnlyChargingNodeFunctionality_I_SMF ChfOfflineOnlyChargingNodeFunctionality = "I-SMF" -) diff --git a/models/models/model_chf_offline_only_charging_pdu_address.go b/models/models/model_chf_offline_only_charging_pdu_address.go deleted file mode 100644 index 68ba6629..00000000 --- a/models/models/model_chf_offline_only_charging_pdu_address.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingPduAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - PduIPv4Address string `json:"pduIPv4Address,omitempty" yaml:"pduIPv4Address" bson:"pduIPv4Address,omitempty"` - PduIPv6AddresswithPrefix string `json:"pduIPv6AddresswithPrefix,omitempty" yaml:"pduIPv6AddresswithPrefix" bson:"pduIPv6AddresswithPrefix,omitempty"` - PduAddressprefixlength int32 `json:"pduAddressprefixlength,omitempty" yaml:"pduAddressprefixlength" bson:"pduAddressprefixlength,omitempty"` - IPv4dynamicAddressFlag bool `json:"iPv4dynamicAddressFlag,omitempty" yaml:"iPv4dynamicAddressFlag" bson:"iPv4dynamicAddressFlag,omitempty"` - IPv6dynamicPrefixFlag bool `json:"iPv6dynamicPrefixFlag,omitempty" yaml:"iPv6dynamicPrefixFlag" bson:"iPv6dynamicPrefixFlag,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_pdu_container_information.go b/models/models/model_chf_offline_only_charging_pdu_container_information.go deleted file mode 100644 index 58661195..00000000 --- a/models/models/model_chf_offline_only_charging_pdu_container_information.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingPduContainerInformation struct { - // string with format 'date-time' as defined in OpenAPI. - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` - AFCorrelationInformation string `json:"aFCorrelationInformation,omitempty" yaml:"aFCorrelationInformation" bson:"aFCorrelationInformation,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - ServingNodeID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNodeID,omitempty" yaml:"servingNodeID" bson:"servingNodeID,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - SponsorIdentity string `json:"sponsorIdentity,omitempty" yaml:"sponsorIdentity" bson:"sponsorIdentity,omitempty"` - ApplicationserviceProviderIdentity string `json:"applicationserviceProviderIdentity,omitempty" yaml:"applicationserviceProviderIdentity" bson:"applicationserviceProviderIdentity,omitempty"` - ChargingRuleBaseName string `json:"chargingRuleBaseName,omitempty" yaml:"chargingRuleBaseName" bson:"chargingRuleBaseName,omitempty"` - MAPDUSteeringFunctionality SteeringFunctionality `json:"mAPDUSteeringFunctionality,omitempty" yaml:"mAPDUSteeringFunctionality" bson:"mAPDUSteeringFunctionality,omitempty"` - MAPDUSteeringMode *SteeringMode `json:"mAPDUSteeringMode,omitempty" yaml:"mAPDUSteeringMode" bson:"mAPDUSteeringMode,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go b/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go deleted file mode 100644 index 1c52a27e..00000000 --- a/models/models/model_chf_offline_only_charging_pdu_session_charging_information.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingPduSessionChargingInformation struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ChargingId int32 `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` - SMFChargingId string `json:"sMFChargingId,omitempty" yaml:"sMFChargingId" bson:"sMFChargingId,omitempty"` - UserInformation *ChfOfflineOnlyChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - MAPDUNon3GPPUserLocationInfo *UserLocation `json:"mAPDUNon3GPPUserLocationInfo,omitempty" yaml:"mAPDUNon3GPPUserLocationInfo" bson:"mAPDUNon3GPPUserLocationInfo,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UserLocationTime *time.Time `json:"userLocationTime,omitempty" yaml:"userLocationTime" bson:"userLocationTime,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - PduSessionInformation *ChfOfflineOnlyChargingPduSessionInformation `json:"pduSessionInformation" yaml:"pduSessionInformation" bson:"pduSessionInformation,omitempty"` - // indicating a time in seconds. - UnitCountInactivityTimer int32 `json:"unitCountInactivityTimer,omitempty" yaml:"unitCountInactivityTimer" bson:"unitCountInactivityTimer,omitempty"` - RANSecondaryRATUsageReport *RanSecondaryRatUsageReport `json:"rANSecondaryRATUsageReport,omitempty" yaml:"rANSecondaryRATUsageReport" bson:"rANSecondaryRATUsageReport,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_pdu_session_information.go b/models/models/model_chf_offline_only_charging_pdu_session_information.go deleted file mode 100644 index c8c017fd..00000000 --- a/models/models/model_chf_offline_only_charging_pdu_session_information.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingPduSessionInformation struct { - NetworkSlicingInfo *NetworkSlicingInfo `json:"networkSlicingInfo,omitempty" yaml:"networkSlicingInfo" bson:"networkSlicingInfo,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionID int32 `json:"pduSessionID" yaml:"pduSessionID" bson:"pduSessionID,omitempty"` - PduType PduSessionType `json:"pduType,omitempty" yaml:"pduType" bson:"pduType,omitempty"` - SscMode SscMode `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` - HPlmnId *PlmnId `json:"hPlmnId,omitempty" yaml:"hPlmnId" bson:"hPlmnId,omitempty"` - ServingNetworkFunctionID *ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - MAPDUNon3GPPRATType RatType `json:"mAPDUNon3GPPRATType,omitempty" yaml:"mAPDUNon3GPPRATType" bson:"mAPDUNon3GPPRATType,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - DnnId string `json:"dnnId" yaml:"dnnId" bson:"dnnId,omitempty"` - ChargingCharacteristics string `json:"chargingCharacteristics,omitempty" yaml:"chargingCharacteristics" bson:"chargingCharacteristics,omitempty"` - ChargingCharacteristicsSelectionMode ChargingCharacteristicsSelectionMode `json:"chargingCharacteristicsSelectionMode,omitempty" yaml:"chargingCharacteristicsSelectionMode" bson:"chargingCharacteristicsSelectionMode,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - SessionStopIndicator bool `json:"sessionStopIndicator,omitempty" yaml:"sessionStopIndicator" bson:"sessionStopIndicator,omitempty"` - PduAddress *ChfOfflineOnlyChargingPduAddress `json:"pduAddress,omitempty" yaml:"pduAddress" bson:"pduAddress,omitempty"` - Diagnostics int32 `json:"diagnostics,omitempty" yaml:"diagnostics" bson:"diagnostics,omitempty"` - AuthorizedQoSInformation *AuthorizedDefaultQos `json:"authorizedQoSInformation,omitempty" yaml:"authorizedQoSInformation" bson:"authorizedQoSInformation,omitempty"` - SubscribedQoSInformation *SubscribedDefaultQos `json:"subscribedQoSInformation,omitempty" yaml:"subscribedQoSInformation" bson:"subscribedQoSInformation,omitempty"` - AuthorizedSessionAMBR *Ambr `json:"authorizedSessionAMBR,omitempty" yaml:"authorizedSessionAMBR" bson:"authorizedSessionAMBR,omitempty"` - SubscribedSessionAMBR *Ambr `json:"subscribedSessionAMBR,omitempty" yaml:"subscribedSessionAMBR" bson:"subscribedSessionAMBR,omitempty"` - ServingCNPlmnId *PlmnId `json:"servingCNPlmnId,omitempty" yaml:"servingCNPlmnId" bson:"servingCNPlmnId,omitempty"` - MAPDUSessionInformation *MapduSessionInformation `json:"mAPDUSessionInformation,omitempty" yaml:"mAPDUSessionInformation" bson:"mAPDUSessionInformation,omitempty"` - EnhancedDiagnostics []RanNasRelCause `json:"enhancedDiagnostics,omitempty" yaml:"enhancedDiagnostics" bson:"enhancedDiagnostics,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_qfi_container_information.go b/models/models/model_chf_offline_only_charging_qfi_container_information.go deleted file mode 100644 index f5ce910f..00000000 --- a/models/models/model_chf_offline_only_charging_qfi_container_information.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingQfiContainerInformation struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - ServingNetworkFunctionID []ChfOfflineOnlyChargingServingNetworkFunctionId `json:"servingNetworkFunctionID,omitempty" yaml:"servingNetworkFunctionID" bson:"servingNetworkFunctionID,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_result_code.go b/models/models/model_chf_offline_only_charging_result_code.go deleted file mode 100644 index 80c61444..00000000 --- a/models/models/model_chf_offline_only_charging_result_code.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingResultCode string - -// List of ChfOfflineOnlyChargingResultCode -const ( - ChfOfflineOnlyChargingResultCode_SUCCESS ChfOfflineOnlyChargingResultCode = "SUCCESS" - ChfOfflineOnlyChargingResultCode_END_USER_SERVICE_DENIED ChfOfflineOnlyChargingResultCode = "END_USER_SERVICE_DENIED" -) diff --git a/models/models/model_chf_offline_only_charging_roaming_charging_profile.go b/models/models/model_chf_offline_only_charging_roaming_charging_profile.go deleted file mode 100644 index 4b68565c..00000000 --- a/models/models/model_chf_offline_only_charging_roaming_charging_profile.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingRoamingChargingProfile struct { - Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_roaming_qbc_information.go b/models/models/model_chf_offline_only_charging_roaming_qbc_information.go deleted file mode 100644 index 61d2f4d5..00000000 --- a/models/models/model_chf_offline_only_charging_roaming_qbc_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingRoamingQbcInformation struct { - MultipleQFIcontainer []ChfOfflineOnlyChargingMultipleQfIcontainer `json:"multipleQFIcontainer,omitempty" yaml:"multipleQFIcontainer" bson:"multipleQFIcontainer,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` - RoamingChargingProfile *ChfOfflineOnlyChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_serving_network_function_id.go b/models/models/model_chf_offline_only_charging_serving_network_function_id.go deleted file mode 100644 index 10c5b170..00000000 --- a/models/models/model_chf_offline_only_charging_serving_network_function_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingServingNetworkFunctionId struct { - ServingNetworkFunctionInformation *ChfOfflineOnlyChargingNfIdentification `json:"servingNetworkFunctionInformation" yaml:"servingNetworkFunctionInformation" bson:"servingNetworkFunctionInformation,omitempty"` - // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). - AMFId string `json:"aMFId,omitempty" yaml:"aMFId" bson:"aMFId,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_trigger.go b/models/models/model_chf_offline_only_charging_trigger.go deleted file mode 100644 index e944f9f3..00000000 --- a/models/models/model_chf_offline_only_charging_trigger.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingTrigger struct { - TriggerType ChfOfflineOnlyChargingTriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType,omitempty"` - TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` - // indicating a time in seconds. - TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_trigger_type.go b/models/models/model_chf_offline_only_charging_trigger_type.go deleted file mode 100644 index 9ad31cdd..00000000 --- a/models/models/model_chf_offline_only_charging_trigger_type.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingTriggerType string - -// List of ChfOfflineOnlyChargingTriggerType -const ( - ChfOfflineOnlyChargingTriggerType_FINAL ChfOfflineOnlyChargingTriggerType = "FINAL" - ChfOfflineOnlyChargingTriggerType_ABNORMAL_RELEASE ChfOfflineOnlyChargingTriggerType = "ABNORMAL_RELEASE" - ChfOfflineOnlyChargingTriggerType_QOS_CHANGE ChfOfflineOnlyChargingTriggerType = "QOS_CHANGE" - ChfOfflineOnlyChargingTriggerType_VOLUME_LIMIT ChfOfflineOnlyChargingTriggerType = "VOLUME_LIMIT" - ChfOfflineOnlyChargingTriggerType_TIME_LIMIT ChfOfflineOnlyChargingTriggerType = "TIME_LIMIT" - ChfOfflineOnlyChargingTriggerType_EVENT_LIMIT ChfOfflineOnlyChargingTriggerType = "EVENT_LIMIT" - ChfOfflineOnlyChargingTriggerType_PLMN_CHANGE ChfOfflineOnlyChargingTriggerType = "PLMN_CHANGE" - ChfOfflineOnlyChargingTriggerType_USER_LOCATION_CHANGE ChfOfflineOnlyChargingTriggerType = "USER_LOCATION_CHANGE" - ChfOfflineOnlyChargingTriggerType_RAT_CHANGE ChfOfflineOnlyChargingTriggerType = "RAT_CHANGE" - ChfOfflineOnlyChargingTriggerType_SESSION_AMBR_CHANGE ChfOfflineOnlyChargingTriggerType = "SESSION_AMBR_CHANGE" - ChfOfflineOnlyChargingTriggerType_UE_TIMEZONE_CHANGE ChfOfflineOnlyChargingTriggerType = "UE_TIMEZONE_CHANGE" - ChfOfflineOnlyChargingTriggerType_TARIFF_TIME_CHANGE ChfOfflineOnlyChargingTriggerType = "TARIFF_TIME_CHANGE" - ChfOfflineOnlyChargingTriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS ChfOfflineOnlyChargingTriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" - ChfOfflineOnlyChargingTriggerType_MANAGEMENT_INTERVENTION ChfOfflineOnlyChargingTriggerType = "MANAGEMENT_INTERVENTION" - ChfOfflineOnlyChargingTriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" - ChfOfflineOnlyChargingTriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" - ChfOfflineOnlyChargingTriggerType_SERVING_NODE_CHANGE ChfOfflineOnlyChargingTriggerType = "SERVING_NODE_CHANGE" - ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_UPF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_UPF" - ChfOfflineOnlyChargingTriggerType_ADDITION_OF_UPF ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_UPF" - ChfOfflineOnlyChargingTriggerType_INSERTION_OF_ISMF ChfOfflineOnlyChargingTriggerType = "INSERTION_OF_ISMF" - ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ISMF ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ISMF" - ChfOfflineOnlyChargingTriggerType_CHANGE_OF_ISMF ChfOfflineOnlyChargingTriggerType = "CHANGE_OF_ISMF" - ChfOfflineOnlyChargingTriggerType_START_OF_SERVICE_DATA_FLOW ChfOfflineOnlyChargingTriggerType = "START_OF_SERVICE_DATA_FLOW" - ChfOfflineOnlyChargingTriggerType_GFBR_GUARANTEED_STATUS_CHANGE ChfOfflineOnlyChargingTriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" - ChfOfflineOnlyChargingTriggerType_HANDOVER_CANCEL ChfOfflineOnlyChargingTriggerType = "HANDOVER_CANCEL" - ChfOfflineOnlyChargingTriggerType_HANDOVER_START ChfOfflineOnlyChargingTriggerType = "HANDOVER_START" - ChfOfflineOnlyChargingTriggerType_HANDOVER_COMPLETE ChfOfflineOnlyChargingTriggerType = "HANDOVER_COMPLETE" - ChfOfflineOnlyChargingTriggerType_ADDITION_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "ADDITION_OF_ACCESS" - ChfOfflineOnlyChargingTriggerType_REMOVAL_OF_ACCESS ChfOfflineOnlyChargingTriggerType = "REMOVAL_OF_ACCESS" - ChfOfflineOnlyChargingTriggerType_START_OF_SDF_ADDITIONAL_ACCESS ChfOfflineOnlyChargingTriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" -) diff --git a/models/models/model_chf_offline_only_charging_used_unit_container.go b/models/models/model_chf_offline_only_charging_used_unit_container.go deleted file mode 100644 index 1a876959..00000000 --- a/models/models/model_chf_offline_only_charging_used_unit_container.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ChfOfflineOnlyChargingUsedUnitContainer struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` - Triggers []ChfOfflineOnlyChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TriggerTimestamp *time.Time `json:"triggerTimestamp,omitempty" yaml:"triggerTimestamp" bson:"triggerTimestamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` - EventTimeStamps []time.Time `json:"eventTimeStamps,omitempty" yaml:"eventTimeStamps" bson:"eventTimeStamps,omitempty"` - LocalSequenceNumber int32 `json:"localSequenceNumber" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` - PDUContainerInformation *ChfOfflineOnlyChargingPduContainerInformation `json:"pDUContainerInformation,omitempty" yaml:"pDUContainerInformation" bson:"pDUContainerInformation,omitempty"` -} diff --git a/models/models/model_chf_offline_only_charging_user_information.go b/models/models/model_chf_offline_only_charging_user_information.go deleted file mode 100644 index 5a8d2818..00000000 --- a/models/models/model_chf_offline_only_charging_user_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfOfflineOnlyChargingUserInformation struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - ServedGPSI string `json:"servedGPSI,omitempty" yaml:"servedGPSI" bson:"servedGPSI,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - ServedPEI string `json:"servedPEI,omitempty" yaml:"servedPEI" bson:"servedPEI,omitempty"` - UnauthenticatedFlag bool `json:"unauthenticatedFlag,omitempty" yaml:"unauthenticatedFlag" bson:"unauthenticatedFlag,omitempty"` - RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` -} diff --git a/models/models/model_chf_spending_limit_control_termination_cause.go b/models/models/model_chf_spending_limit_control_termination_cause.go deleted file mode 100644 index 1a3ac290..00000000 --- a/models/models/model_chf_spending_limit_control_termination_cause.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ChfSpendingLimitControlTerminationCause string - -// List of ChfSpendingLimitControlTerminationCause -const ( - ChfSpendingLimitControlTerminationCause_REMOVED_SUBSCRIBER ChfSpendingLimitControlTerminationCause = "REMOVED_SUBSCRIBER" -) diff --git a/models/models/model_cipher_request_data.go b/models/models/model_cipher_request_data.go deleted file mode 100644 index dab826be..00000000 --- a/models/models/model_cipher_request_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within Ciphering Key Data request. -type CipherRequestData struct { - // String providing an URI formatted according to RFC 3986. - AmfCallBackURI string `json:"amfCallBackURI" yaml:"amfCallBackURI" bson:"amfCallBackURI,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_cipher_response_data.go b/models/models/model_cipher_response_data.go deleted file mode 100644 index 39c108d7..00000000 --- a/models/models/model_cipher_response_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within Ciphering Key Data Response. -type CipherResponseData struct { - DataAvailability DataAvailability `json:"dataAvailability" yaml:"dataAvailability" bson:"dataAvailability,omitempty"` -} diff --git a/models/models/model_ciphering_algorithm.go b/models/models/model_ciphering_algorithm.go deleted file mode 100644 index 3d18d561..00000000 --- a/models/models/model_ciphering_algorithm.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CipheringAlgorithm string - -// List of CipheringAlgorithm -const ( - CipheringAlgorithm_NEA0 CipheringAlgorithm = "NEA0" - CipheringAlgorithm_NEA1 CipheringAlgorithm = "NEA1" - CipheringAlgorithm_NEA2 CipheringAlgorithm = "NEA2" - CipheringAlgorithm_NEA3 CipheringAlgorithm = "NEA3" -) diff --git a/models/models/model_ciphering_data_set.go b/models/models/model_ciphering_data_set.go deleted file mode 100644 index e6547b2f..00000000 --- a/models/models/model_ciphering_data_set.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a Ciphering Data Set. -type CipheringDataSet struct { - // Ciphering Data Set Identifier. - CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` - // Ciphering Key. - CipheringKey string `json:"cipheringKey" yaml:"cipheringKey" bson:"cipheringKey,omitempty"` - // First component of the initial ciphering counter. - C0 string `json:"c0" yaml:"c0" bson:"c0,omitempty"` - // string with format 'bytes' as defined in OpenAPI - LtePosSibTypes string `json:"ltePosSibTypes,omitempty" yaml:"ltePosSibTypes" bson:"ltePosSibTypes,omitempty"` - // string with format 'bytes' as defined in OpenAPI - NrPosSibTypes string `json:"nrPosSibTypes,omitempty" yaml:"nrPosSibTypes" bson:"nrPosSibTypes,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityStartTime *time.Time `json:"validityStartTime" yaml:"validityStartTime" bson:"validityStartTime,omitempty"` - // Validity Duration of the Ciphering Data Set. - ValidityDuration int32 `json:"validityDuration" yaml:"validityDuration" bson:"validityDuration,omitempty"` - // string with format 'bytes' as defined in OpenAPI - TaiList string `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` -} diff --git a/models/models/model_ciphering_key_info.go b/models/models/model_ciphering_key_info.go deleted file mode 100644 index 29bb5ae6..00000000 --- a/models/models/model_ciphering_key_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within Ciphering Key Data Notification request. -type CipheringKeyInfo struct { - CipheringData []CipheringDataSet `json:"cipheringData" yaml:"cipheringData" bson:"cipheringData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ciphering_key_response.go b/models/models/model_ciphering_key_response.go deleted file mode 100644 index 27395f7a..00000000 --- a/models/models/model_ciphering_key_response.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within Ciphering Key Data Notification Response. -type CipheringKeyResponse struct { - CipheringDataReport []CipheringSetReport `json:"cipheringDataReport,omitempty" yaml:"cipheringDataReport" bson:"cipheringDataReport,omitempty"` -} diff --git a/models/models/model_ciphering_set_report.go b/models/models/model_ciphering_set_report.go deleted file mode 100644 index f3e84338..00000000 --- a/models/models/model_ciphering_set_report.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a report of Ciphering Data Set storage. -type CipheringSetReport struct { - // Ciphering Data Set Identifier. - CipheringSetID int32 `json:"cipheringSetID" yaml:"cipheringSetID" bson:"cipheringSetID,omitempty"` - StorageOutcome StorageOutcome `json:"storageOutcome" yaml:"storageOutcome" bson:"storageOutcome,omitempty"` -} diff --git a/models/models/model_circumstance_description.go b/models/models/model_circumstance_description.go deleted file mode 100644 index bb847a74..00000000 --- a/models/models/model_circumstance_description.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the description of a circumstance. -type CircumstanceDescription struct { - // string with format 'float' as defined in OpenAPI. - Freq float32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Tm *time.Time `json:"tm,omitempty" yaml:"tm" bson:"tm,omitempty"` - LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - Vol int64 `json:"vol,omitempty" yaml:"vol" bson:"vol,omitempty"` -} diff --git a/models/models/model_civic_address.go b/models/models/model_civic_address.go deleted file mode 100644 index b21c0701..00000000 --- a/models/models/model_civic_address.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates a Civic address. -type CivicAddress struct { - Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` - A1 string `json:"A1,omitempty" yaml:"A1" bson:"A1,omitempty"` - A2 string `json:"A2,omitempty" yaml:"A2" bson:"A2,omitempty"` - A3 string `json:"A3,omitempty" yaml:"A3" bson:"A3,omitempty"` - A4 string `json:"A4,omitempty" yaml:"A4" bson:"A4,omitempty"` - A5 string `json:"A5,omitempty" yaml:"A5" bson:"A5,omitempty"` - A6 string `json:"A6,omitempty" yaml:"A6" bson:"A6,omitempty"` - PRD string `json:"PRD,omitempty" yaml:"PRD" bson:"PRD,omitempty"` - POD string `json:"POD,omitempty" yaml:"POD" bson:"POD,omitempty"` - STS string `json:"STS,omitempty" yaml:"STS" bson:"STS,omitempty"` - HNO string `json:"HNO,omitempty" yaml:"HNO" bson:"HNO,omitempty"` - HNS string `json:"HNS,omitempty" yaml:"HNS" bson:"HNS,omitempty"` - LMK string `json:"LMK,omitempty" yaml:"LMK" bson:"LMK,omitempty"` - LOC string `json:"LOC,omitempty" yaml:"LOC" bson:"LOC,omitempty"` - NAM string `json:"NAM,omitempty" yaml:"NAM" bson:"NAM,omitempty"` - PC string `json:"PC,omitempty" yaml:"PC" bson:"PC,omitempty"` - BLD string `json:"BLD,omitempty" yaml:"BLD" bson:"BLD,omitempty"` - UNIT string `json:"UNIT,omitempty" yaml:"UNIT" bson:"UNIT,omitempty"` - FLR string `json:"FLR,omitempty" yaml:"FLR" bson:"FLR,omitempty"` - ROOM string `json:"ROOM,omitempty" yaml:"ROOM" bson:"ROOM,omitempty"` - PLC string `json:"PLC,omitempty" yaml:"PLC" bson:"PLC,omitempty"` - PCN string `json:"PCN,omitempty" yaml:"PCN" bson:"PCN,omitempty"` - POBOX string `json:"POBOX,omitempty" yaml:"POBOX" bson:"POBOX,omitempty"` - ADDCODE string `json:"ADDCODE,omitempty" yaml:"ADDCODE" bson:"ADDCODE,omitempty"` - SEAT string `json:"SEAT,omitempty" yaml:"SEAT" bson:"SEAT,omitempty"` - RD string `json:"RD,omitempty" yaml:"RD" bson:"RD,omitempty"` - RDSEC string `json:"RDSEC,omitempty" yaml:"RDSEC" bson:"RDSEC,omitempty"` - RDBR string `json:"RDBR,omitempty" yaml:"RDBR" bson:"RDBR,omitempty"` - RDSUBBR string `json:"RDSUBBR,omitempty" yaml:"RDSUBBR" bson:"RDSUBBR,omitempty"` - PRM string `json:"PRM,omitempty" yaml:"PRM" bson:"PRM,omitempty"` - POM string `json:"POM,omitempty" yaml:"POM" bson:"POM,omitempty"` - UsageRules string `json:"usageRules,omitempty" yaml:"usageRules" bson:"usageRules,omitempty"` - Method string `json:"method,omitempty" yaml:"method" bson:"method,omitempty"` - ProvidedBy string `json:"providedBy,omitempty" yaml:"providedBy" bson:"providedBy,omitempty"` -} diff --git a/models/models/model_class_criterion.go b/models/models/model_class_criterion.go deleted file mode 100644 index b626097e..00000000 --- a/models/models/model_class_criterion.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the dispersion class criterion for fixed, camper and/or traveller UE, and/or the top-heavy UE dispersion class criterion. -type ClassCriterion struct { - DisperClass *DispersionClass `json:"disperClass" yaml:"disperClass" bson:"disperClass,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - ClassThreshold int32 `json:"classThreshold" yaml:"classThreshold" bson:"classThreshold,omitempty"` - ThresMatch MatchingDirection `json:"thresMatch" yaml:"thresMatch" bson:"thresMatch,omitempty"` -} diff --git a/models/models/model_class_identifier.go b/models/models/model_class_identifier.go deleted file mode 100644 index a945e454..00000000 --- a/models/models/model_class_identifier.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ClassIdentifier string - -// List of ClassIdentifier -const ( - ClassIdentifier_PERSONAL ClassIdentifier = "PERSONAL" - ClassIdentifier_ADVERTISEMENT ClassIdentifier = "ADVERTISEMENT" - ClassIdentifier_INFORMATIONAL ClassIdentifier = "INFORMATIONAL" - ClassIdentifier_AUTO ClassIdentifier = "AUTO" -) diff --git a/models/models/model_client_id.go b/models/models/model_client_id.go deleted file mode 100644 index 00f86dd3..00000000 --- a/models/models/model_client_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Defines the identity of the NF Consumer -type ClientId struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` -} diff --git a/models/models/model_cm_info.go b/models/models/model_cm_info.go deleted file mode 100644 index a247114b..00000000 --- a/models/models/model_cm_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the connection management state of a UE for an access type -type CmInfo struct { - CmState CmState `json:"cmState" yaml:"cmState" bson:"cmState,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_cm_info_report.go b/models/models/model_cm_info_report.go deleted file mode 100644 index f8edded2..00000000 --- a/models/models/model_cm_info_report.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CmInfoReport struct { - OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` - NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` -} diff --git a/models/models/model_cm_state.go b/models/models/model_cm_state.go deleted file mode 100644 index b57b5ed8..00000000 --- a/models/models/model_cm_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CmState string - -// List of CmState -const ( - CmState_IDLE CmState = "IDLE" - CmState_CONNECTED CmState = "CONNECTED" -) diff --git a/models/models/model_cn_assisted_ran_para.go b/models/models/model_cn_assisted_ran_para.go deleted file mode 100644 index 74b4b07d..00000000 --- a/models/models/model_cn_assisted_ran_para.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SMF derived CN assisted RAN parameters tuning -type CnAssistedRanPara struct { - StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` - // indicating a time in seconds. - CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` - // indicating a time in seconds. - PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` - ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` - ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` - TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` - BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` -} diff --git a/models/models/model_cn_type.go b/models/models/model_cn_type.go deleted file mode 100644 index 795b7667..00000000 --- a/models/models/model_cn_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CnType string - -// List of CnType -const ( - CnType_SINGLE_4_G CnType = "SINGLE_4G" - CnType_SINGLE_5_G CnType = "SINGLE_5G" - CnType_DUAL_4_G5_G CnType = "DUAL_4G5G" -) diff --git a/models/models/model_cn_type_change_report.go b/models/models/model_cn_type_change_report.go deleted file mode 100644 index 225a3d4f..00000000 --- a/models/models/model_cn_type_change_report.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CnTypeChangeReport struct { - NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` - OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` -} diff --git a/models/models/model_cnf.go b/models/models/model_cnf.go deleted file mode 100644 index 7e2fd8d7..00000000 --- a/models/models/model_cnf.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A conjunctive normal form -type Cnf struct { - CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` -} diff --git a/models/models/model_cnf_unit.go b/models/models/model_cnf_unit.go deleted file mode 100644 index 37193831..00000000 --- a/models/models/model_cnf_unit.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// During the processing of cnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"AND\". -type CnfUnit struct { - CnfUnit []Atom `json:"cnfUnit" yaml:"cnfUnit" bson:"cnfUnit,omitempty"` -} diff --git a/models/models/model_code_word_ind.go b/models/models/model_code_word_ind.go deleted file mode 100644 index 0dd5032f..00000000 --- a/models/models/model_code_word_ind.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CodeWordInd string - -// List of CodeWordInd -const ( - CodeWordInd_UE CodeWordInd = "CODEWORD_CHECK_IN_UE" - CodeWordInd_GMLC CodeWordInd = "CODEWORD_CHECK_IN_GMLC" -) diff --git a/models/models/model_collection_period_rmm_lte_mdt.go b/models/models/model_collection_period_rmm_lte_mdt.go deleted file mode 100644 index aabd1e28..00000000 --- a/models/models/model_collection_period_rmm_lte_mdt.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CollectionPeriodRmmLteMdt string - -// List of CollectionPeriodRmmLteMdt -const ( - CollectionPeriodRmmLteMdt__1024 CollectionPeriodRmmLteMdt = "1024" - CollectionPeriodRmmLteMdt__1280 CollectionPeriodRmmLteMdt = "1280" - CollectionPeriodRmmLteMdt__2048 CollectionPeriodRmmLteMdt = "2048" - CollectionPeriodRmmLteMdt__2560 CollectionPeriodRmmLteMdt = "2560" - CollectionPeriodRmmLteMdt__5120 CollectionPeriodRmmLteMdt = "5120" - CollectionPeriodRmmLteMdt__10240 CollectionPeriodRmmLteMdt = "10240" - CollectionPeriodRmmLteMdt__60000 CollectionPeriodRmmLteMdt = "60000" -) diff --git a/models/models/model_collection_period_rmm_nr_mdt.go b/models/models/model_collection_period_rmm_nr_mdt.go deleted file mode 100644 index 4bce36ff..00000000 --- a/models/models/model_collection_period_rmm_nr_mdt.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CollectionPeriodRmmNrMdt string - -// List of CollectionPeriodRmmNrMdt -const ( - CollectionPeriodRmmNrMdt__1024 CollectionPeriodRmmNrMdt = "1024" - CollectionPeriodRmmNrMdt__2048 CollectionPeriodRmmNrMdt = "2048" - CollectionPeriodRmmNrMdt__5120 CollectionPeriodRmmNrMdt = "5120" - CollectionPeriodRmmNrMdt__10240 CollectionPeriodRmmNrMdt = "10240" - CollectionPeriodRmmNrMdt__60000 CollectionPeriodRmmNrMdt = "60000" -) diff --git a/models/models/model_collective_behaviour_filter.go b/models/models/model_collective_behaviour_filter.go deleted file mode 100644 index 284f4f4e..00000000 --- a/models/models/model_collective_behaviour_filter.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the collective behaviour filter information to be collected from UE. -type CollectiveBehaviourFilter struct { - Type CollectiveBehaviourFilterType `json:"type" yaml:"type" bson:"type,omitempty"` - // Value of the parameter type as in the type attribute. - Value string `json:"value" yaml:"value" bson:"value,omitempty"` - // Indicates whether request list of UE IDs that fulfill a collective behaviour within the area of interest. This attribute shall set to \"true\" if request the list of UE IDs, otherwise, set to \"false\". May only be present and sets to \"true\" if \"AfEvent\" sets to \"COLLECTIVE_BEHAVIOUR\". - ListOfUeInd bool `json:"listOfUeInd,omitempty" yaml:"listOfUeInd" bson:"listOfUeInd,omitempty"` -} diff --git a/models/models/model_collective_behaviour_filter_type.go b/models/models/model_collective_behaviour_filter_type.go deleted file mode 100644 index 8f256f66..00000000 --- a/models/models/model_collective_behaviour_filter_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CollectiveBehaviourFilterType string - -// List of CollectiveBehaviourFilterType -const ( - CollectiveBehaviourFilterType_COLLECTIVE_ATTRIBUTE CollectiveBehaviourFilterType = "COLLECTIVE_ATTRIBUTE" - CollectiveBehaviourFilterType_DATA_PROCESSING CollectiveBehaviourFilterType = "DATA_PROCESSING" -) diff --git a/models/models/model_collective_behaviour_info.go b/models/models/model_collective_behaviour_info.go deleted file mode 100644 index 10ddd265..00000000 --- a/models/models/model_collective_behaviour_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the collective behaviour information to be reported to the subscriber. -type CollectiveBehaviourInfo struct { - ColAttrib []PerUeAttribute `json:"colAttrib" yaml:"colAttrib" bson:"colAttrib,omitempty"` - // Total number of UEs that fulfil a collective within the area of interest. - NoOfUes int32 `json:"noOfUes,omitempty" yaml:"noOfUes" bson:"noOfUes,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - ExtUeIds []string `json:"extUeIds,omitempty" yaml:"extUeIds" bson:"extUeIds,omitempty"` - UeIds []string `json:"ueIds,omitempty" yaml:"ueIds" bson:"ueIds,omitempty"` -} diff --git a/models/models/model_collocated_nf_instance.go b/models/models/model_collocated_nf_instance.go deleted file mode 100644 index e7888957..00000000 --- a/models/models/model_collocated_nf_instance.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an collocated NF Instance registered in the NRF -type CollocatedNfInstance struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfType CollocatedNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` -} diff --git a/models/models/model_collocated_nf_type.go b/models/models/model_collocated_nf_type.go deleted file mode 100644 index 729d3388..00000000 --- a/models/models/model_collocated_nf_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CollocatedNfType string - -// List of CollocatedNfType -const ( - CollocatedNfType_UPF CollocatedNfType = "UPF" - CollocatedNfType_SMF CollocatedNfType = "SMF" - CollocatedNfType_MB_UPF CollocatedNfType = "MB_UPF" - CollocatedNfType_MB_SMF CollocatedNfType = "MB_SMF" -) diff --git a/models/models/model_communication_characteristics.go b/models/models/model_communication_characteristics.go deleted file mode 100644 index bbebf971..00000000 --- a/models/models/model_communication_characteristics.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CommunicationCharacteristics struct { - PpSubsRegTimer *PpSubsRegTimer `json:"ppSubsRegTimer,omitempty" yaml:"ppSubsRegTimer" bson:"ppSubsRegTimer,omitempty"` - PpActiveTime *PpActiveTime `json:"ppActiveTime,omitempty" yaml:"ppActiveTime" bson:"ppActiveTime,omitempty"` - PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` - PpDlPacketCountExt *PpDlPacketCountExt `json:"ppDlPacketCountExt,omitempty" yaml:"ppDlPacketCountExt" bson:"ppDlPacketCountExt,omitempty"` - PpMaximumResponseTime *PpMaximumResponseTime `json:"ppMaximumResponseTime,omitempty" yaml:"ppMaximumResponseTime" bson:"ppMaximumResponseTime,omitempty"` - PpMaximumLatency *PpMaximumLatency `json:"ppMaximumLatency,omitempty" yaml:"ppMaximumLatency" bson:"ppMaximumLatency,omitempty"` -} diff --git a/models/models/model_communication_characteristics_af.go b/models/models/model_communication_characteristics_af.go deleted file mode 100644 index 49099b37..00000000 --- a/models/models/model_communication_characteristics_af.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CommunicationCharacteristicsAf struct { - PpDlPacketCount int32 `json:"ppDlPacketCount,omitempty" yaml:"ppDlPacketCount" bson:"ppDlPacketCount,omitempty"` - // indicating a time in seconds. - MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` - // indicating a time in seconds. - MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` -} diff --git a/models/models/model_communication_collection.go b/models/models/model_communication_collection.go deleted file mode 100644 index b6857089..00000000 --- a/models/models/model_communication_collection.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains communication information. -type CommunicationCollection struct { - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTime *time.Time `json:"endTime" yaml:"endTime" bson:"endTime,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - UlVol int64 `json:"ulVol" yaml:"ulVol" bson:"ulVol,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - DlVol int64 `json:"dlVol" yaml:"dlVol" bson:"dlVol,omitempty"` -} diff --git a/models/models/model_communication_failure.go b/models/models/model_communication_failure.go deleted file mode 100644 index e503907d..00000000 --- a/models/models/model_communication_failure.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a communication failure detected by AMF -type CommunicationFailure struct { - NasReleaseCode string `json:"nasReleaseCode,omitempty" yaml:"nasReleaseCode" bson:"nasReleaseCode,omitempty"` - RanReleaseCode *NgApCause `json:"ranReleaseCode,omitempty" yaml:"ranReleaseCode" bson:"ranReleaseCode,omitempty"` -} diff --git a/models/models/model_comparison_operator.go b/models/models/model_comparison_operator.go deleted file mode 100644 index 2237c287..00000000 --- a/models/models/model_comparison_operator.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ComparisonOperator string - -// List of ComparisonOperator -const ( - ComparisonOperator_EQ ComparisonOperator = "EQ" - ComparisonOperator_NEQ ComparisonOperator = "NEQ" - ComparisonOperator_GT ComparisonOperator = "GT" - ComparisonOperator_GTE ComparisonOperator = "GTE" - ComparisonOperator_LT ComparisonOperator = "LT" - ComparisonOperator_LTE ComparisonOperator = "LTE" -) diff --git a/models/models/model_complex_query.go b/models/models/model_complex_query.go deleted file mode 100644 index 4ae51ce2..00000000 --- a/models/models/model_complex_query.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The ComplexQuery data type is either a conjunctive normal form or a disjunctive normal form. The attribute names \"cnfUnits\" and \"dnfUnits\" (see clause 5.2.4.11 and clause 5.2.4.12) serve as discriminator. -type ComplexQuery struct { - CnfUnits []CnfUnit `json:"cnfUnits" yaml:"cnfUnits" bson:"cnfUnits,omitempty"` - DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` -} diff --git a/models/models/model_condition_data.go b/models/models/model_condition_data.go deleted file mode 100644 index b9c86aa8..00000000 --- a/models/models/model_condition_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains conditions of applicability for a rule. -type ConditionData struct { - // Uniquely identifies the condition data within a PDU session. - CondId string `json:"condId" yaml:"condId" bson:"condId,omitempty"` - // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. - ActivationTime *time.Time `json:"activationTime,omitempty" yaml:"activationTime" bson:"activationTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. - DeactivationTime *time.Time `json:"deactivationTime,omitempty" yaml:"deactivationTime" bson:"deactivationTime,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_condition_event_type.go b/models/models/model_condition_event_type.go deleted file mode 100644 index 505c3f28..00000000 --- a/models/models/model_condition_event_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ConditionEventType string - -// List of ConditionEventType -const ( - ConditionEventType_ADDED ConditionEventType = "NF_ADDED" - ConditionEventType_REMOVED ConditionEventType = "NF_REMOVED" -) diff --git a/models/models/model_condition_operator.go b/models/models/model_condition_operator.go deleted file mode 100644 index 98d46c2d..00000000 --- a/models/models/model_condition_operator.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ConditionOperator string - -// List of ConditionOperator -const ( - ConditionOperator_AND ConditionOperator = "AND" - ConditionOperator_OR ConditionOperator = "OR" - ConditionOperator_NOT ConditionOperator = "NOT" -) diff --git a/models/models/model_configured_snssai.go b/models/models/model_configured_snssai.go deleted file mode 100644 index bd911b6d..00000000 --- a/models/models/model_configured_snssai.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the configured S-NSSAI(s) authorized by the NSSF in the serving PLMN and optional mapped home S-NSSAI -type ConfiguredSnssai struct { - ConfiguredSnssai *Snssai `json:"configuredSnssai" yaml:"configuredSnssai" bson:"configuredSnssai,omitempty"` - MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` -} diff --git a/models/models/model_confirmation_data.go b/models/models/model_confirmation_data.go deleted file mode 100644 index f12e20e6..00000000 --- a/models/models/model_confirmation_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the result of the authentication. -type ConfirmationData struct { - // Contains the RES*. - ResStar string `json:"resStar" yaml:"resStar" bson:"resStar,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_confirmation_data_response.go b/models/models/model_confirmation_data_response.go deleted file mode 100644 index 30347834..00000000 --- a/models/models/model_confirmation_data_response.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the result of the authentication -type ConfirmationDataResponse struct { - AuthResult AusfUeAuthenticationAuthResult `json:"authResult" yaml:"authResult" bson:"authResult,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // Contains the Kseaf. - Kseaf string `json:"kseaf,omitempty" yaml:"kseaf" bson:"kseaf,omitempty"` - PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` -} diff --git a/models/models/model_congestion_info.go b/models/models/model_congestion_info.go deleted file mode 100644 index b68fcfee..00000000 --- a/models/models/model_congestion_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the congestion information. -type CongestionInfo struct { - CongType NwdafEventsSubscriptionCongestionType `json:"congType" yaml:"congType" bson:"congType,omitempty"` - TimeIntev *TimeWindow `json:"timeIntev" yaml:"timeIntev" bson:"timeIntev,omitempty"` - Nsi *ThresholdLevel `json:"nsi" yaml:"nsi" bson:"nsi,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` - TopAppListUl []TopApplication `json:"topAppListUl,omitempty" yaml:"topAppListUl" bson:"topAppListUl,omitempty"` - TopAppListDl []TopApplication `json:"topAppListDl,omitempty" yaml:"topAppListDl" bson:"topAppListDl,omitempty"` -} diff --git a/models/models/model_connection_capabilities.go b/models/models/model_connection_capabilities.go deleted file mode 100644 index bdecf22c..00000000 --- a/models/models/model_connection_capabilities.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ConnectionCapabilities string - -// List of ConnectionCapabilities -const ( - ConnectionCapabilities_IMS ConnectionCapabilities = "IMS" - ConnectionCapabilities_MMS ConnectionCapabilities = "MMS" - ConnectionCapabilities_SUPL ConnectionCapabilities = "SUPL" - ConnectionCapabilities_INTERNET ConnectionCapabilities = "INTERNET" -) diff --git a/models/models/model_consumer_nf_information.go b/models/models/model_consumer_nf_information.go deleted file mode 100644 index dd7bd214..00000000 --- a/models/models/model_consumer_nf_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the analytics consumer NF Information. -type ConsumerNfInformation struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` -} diff --git a/models/models/model_context_create_req_data.go b/models/models/model_context_create_req_data.go deleted file mode 100644 index 29faaca7..00000000 --- a/models/models/model_context_create_req_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within ContextCreate Request -type ContextCreateReqData struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` - MbsServiceArea *MbsServiceArea `json:"mbsServiceArea,omitempty" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` - N2MbsSmInfo *AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` - // indicating a time in seconds. - MaxResponseTime int32 `json:"maxResponseTime,omitempty" yaml:"maxResponseTime" bson:"maxResponseTime,omitempty"` - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - MbsmfId string `json:"mbsmfId,omitempty" yaml:"mbsmfId" bson:"mbsmfId,omitempty"` - MbsmfServiceInstId string `json:"mbsmfServiceInstId,omitempty" yaml:"mbsmfServiceInstId" bson:"mbsmfServiceInstId,omitempty"` -} diff --git a/models/models/model_context_create_request.go b/models/models/model_context_create_request.go deleted file mode 100644 index 3c73c16c..00000000 --- a/models/models/model_context_create_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextCreateRequest struct { - JsonData *ContextCreateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_context_create_response_201.go b/models/models/model_context_create_response_201.go deleted file mode 100644 index 858c6ea2..00000000 --- a/models/models/model_context_create_response_201.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextCreateResponse201 struct { - JsonData *ContextCreateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` - BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` - BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` - BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` - BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` - BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` - BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` - BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` - BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` - BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` -} diff --git a/models/models/model_context_create_rsp_data.go b/models/models/model_context_create_rsp_data.go deleted file mode 100644 index 120fbc42..00000000 --- a/models/models/model_context_create_rsp_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within ContextCreate Response -type ContextCreateRspData struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` - OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` -} diff --git a/models/models/model_context_data.go b/models/models/model_context_data.go deleted file mode 100644 index 40c6f7a7..00000000 --- a/models/models/model_context_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains context information related to analytics subscriptions corresponding with one or more context identifiers. -type ContextData struct { - // List of items that contain context information corresponding with a context identifier. - ContextElems []ContextElement `json:"contextElems" yaml:"contextElems" bson:"contextElems,omitempty"` -} diff --git a/models/models/model_context_data_set_name.go b/models/models/model_context_data_set_name.go deleted file mode 100644 index 0b62c320..00000000 --- a/models/models/model_context_data_set_name.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextDataSetName string - -// List of ContextDataSetName -const ( - ContextDataSetName_AMF_3_GPP ContextDataSetName = "AMF_3GPP" - ContextDataSetName_AMF_NON_3_GPP ContextDataSetName = "AMF_NON_3GPP" - ContextDataSetName_SDM_SUBSCRIPTIONS ContextDataSetName = "SDM_SUBSCRIPTIONS" - ContextDataSetName_EE_SUBSCRIPTIONS ContextDataSetName = "EE_SUBSCRIPTIONS" - ContextDataSetName_SMSF_3_GPP ContextDataSetName = "SMSF_3GPP" - ContextDataSetName_SMSF_NON_3_GPP ContextDataSetName = "SMSF_NON_3GPP" - ContextDataSetName_SUBS_TO_NOTIFY ContextDataSetName = "SUBS_TO_NOTIFY" - ContextDataSetName_SMF_REG ContextDataSetName = "SMF_REG" - ContextDataSetName_IP_SM_GW ContextDataSetName = "IP_SM_GW" - ContextDataSetName_ROAMING_INFO ContextDataSetName = "ROAMING_INFO" - ContextDataSetName_PEI_INFO ContextDataSetName = "PEI_INFO" -) diff --git a/models/models/model_context_data_sets.go b/models/models/model_context_data_sets.go deleted file mode 100644 index 9d5e5a6b..00000000 --- a/models/models/model_context_data_sets.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the context data sets. -type ContextDataSets struct { - Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` - AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` - SdmSubscriptions []SdmSubscription `json:"sdmSubscriptions,omitempty" yaml:"sdmSubscriptions" bson:"sdmSubscriptions,omitempty"` - EeSubscriptions []UdmEeEeSubscription `json:"eeSubscriptions,omitempty" yaml:"eeSubscriptions" bson:"eeSubscriptions,omitempty"` - Smsf3GppAccess *SmsfRegistration `json:"smsf3GppAccess,omitempty" yaml:"smsf3GppAccess" bson:"smsf3GppAccess,omitempty"` - SmsfNon3GppAccess *SmsfRegistration `json:"smsfNon3GppAccess,omitempty" yaml:"smsfNon3GppAccess" bson:"smsfNon3GppAccess,omitempty"` - SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` - // The list of all the SMF registrations of a UE. - SmfRegistrations []SmfRegistration `json:"smfRegistrations,omitempty" yaml:"smfRegistrations" bson:"smfRegistrations,omitempty"` - IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` - RoamingInfo *RoamingInfoUpdate `json:"roamingInfo,omitempty" yaml:"roamingInfo" bson:"roamingInfo,omitempty"` - PeiInfo *PeiUpdateInfo `json:"peiInfo,omitempty" yaml:"peiInfo" bson:"peiInfo,omitempty"` -} diff --git a/models/models/model_context_element.go b/models/models/model_context_element.go deleted file mode 100644 index 1f265f11..00000000 --- a/models/models/model_context_element.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains context information corresponding with a specific context identifier. -type ContextElement struct { - ContextId *AnalyticsContextIdentifier `json:"contextId" yaml:"contextId" bson:"contextId,omitempty"` - // Output analytics for the analytics subscription which have not yet been sent to the analytics consumer. - PendAnalytics []NwdafEventsSubscriptionEventNotification `json:"pendAnalytics,omitempty" yaml:"pendAnalytics" bson:"pendAnalytics,omitempty"` - // Historical output analytics. - HistAnalytics []NwdafEventsSubscriptionEventNotification `json:"histAnalytics,omitempty" yaml:"histAnalytics" bson:"histAnalytics,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastOutputTime *time.Time `json:"lastOutputTime,omitempty" yaml:"lastOutputTime" bson:"lastOutputTime,omitempty"` - // Information about analytics subscriptions that the NWDAF has with other NWDAFs to perform aggregation. - AggrSubs []SpecificAnalyticsSubscription `json:"aggrSubs,omitempty" yaml:"aggrSubs" bson:"aggrSubs,omitempty"` - // Historical data related to the analytics subscription. - HistData []HistoricalData `json:"histData,omitempty" yaml:"histData" bson:"histData,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` - // Type(s) of data stored in the ADRF by the NWDAF. - AdrfDataTypes []AdrfDataType `json:"adrfDataTypes,omitempty" yaml:"adrfDataTypes" bson:"adrfDataTypes,omitempty"` - // NWDAF identifiers of NWDAF instances used by the NWDAF service consumer when aggregating multiple analytics subscriptions. - AggrNwdafIds []string `json:"aggrNwdafIds,omitempty" yaml:"aggrNwdafIds" bson:"aggrNwdafIds,omitempty"` - // Contains information identifying the ML model(s) that the consumer NWDAF is currently subscribing for the analytics. - ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` -} diff --git a/models/models/model_context_id_list.go b/models/models/model_context_id_list.go deleted file mode 100644 index 3486cda2..00000000 --- a/models/models/model_context_id_list.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a list of context identifiers of context information of analytics subscriptions. -type ContextIdList struct { - ContextIds []AnalyticsContextIdentifier `json:"contextIds" yaml:"contextIds" bson:"contextIds,omitempty"` -} diff --git a/models/models/model_context_info.go b/models/models/model_context_info.go deleted file mode 100644 index 6fe16983..00000000 --- a/models/models/model_context_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextInfo struct { - OrigHeaders []string `json:"origHeaders,omitempty" yaml:"origHeaders" bson:"origHeaders,omitempty"` - RequestHeaders []string `json:"requestHeaders,omitempty" yaml:"requestHeaders" bson:"requestHeaders,omitempty"` -} diff --git a/models/models/model_context_status_notification.go b/models/models/model_context_status_notification.go deleted file mode 100644 index ea285de0..00000000 --- a/models/models/model_context_status_notification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within ContextStatusNotify Request -type ContextStatusNotification struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` - N2MbsSmInfoList []AmfMbsBroadcastN2MbsSmInfo `json:"n2MbsSmInfoList,omitempty" yaml:"n2MbsSmInfoList" bson:"n2MbsSmInfoList,omitempty"` - OperationEvents []OperationEvent `json:"operationEvents,omitempty" yaml:"operationEvents" bson:"operationEvents,omitempty"` - OperationStatus OperationStatus `json:"operationStatus,omitempty" yaml:"operationStatus" bson:"operationStatus,omitempty"` - ReleasedInd bool `json:"releasedInd,omitempty" yaml:"releasedInd" bson:"releasedInd,omitempty"` -} diff --git a/models/models/model_context_type.go b/models/models/model_context_type.go deleted file mode 100644 index 105798cc..00000000 --- a/models/models/model_context_type.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextType string - -// List of ContextType -const ( - ContextType_PENDING_ANALYTICS ContextType = "PENDING_ANALYTICS" - ContextType_HISTORICAL_ANALYTICS ContextType = "HISTORICAL_ANALYTICS" - ContextType_AGGR_SUBS ContextType = "AGGR_SUBS" - ContextType_DATA ContextType = "DATA" - ContextType_AGGR_INFO ContextType = "AGGR_INFO" - ContextType_ML_MODELS ContextType = "ML_MODELS" -) diff --git a/models/models/model_context_update_request.go b/models/models/model_context_update_request.go deleted file mode 100644 index eeae29ca..00000000 --- a/models/models/model_context_update_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextUpdateRequest struct { - JsonData *AmfMbsBroadcastContextUpdateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_context_update_response_200.go b/models/models/model_context_update_response_200.go deleted file mode 100644 index b7434e8f..00000000 --- a/models/models/model_context_update_response_200.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ContextUpdateResponse200 struct { - JsonData *AmfMbsBroadcastContextUpdateRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` - BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` - BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` - BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` - BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` - BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` - BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` - BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` - BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` - BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` -} diff --git a/models/models/model_core_network_service_authorization.go b/models/models/model_core_network_service_authorization.go deleted file mode 100644 index 1cb1970f..00000000 --- a/models/models/model_core_network_service_authorization.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Core Network Service Authorization -type CoreNetworkServiceAuthorization struct { - SubscribedMediaProfileId int32 `json:"subscribedMediaProfileId,omitempty" yaml:"subscribedMediaProfileId" bson:"subscribedMediaProfileId,omitempty"` -} diff --git a/models/models/model_core_network_type.go b/models/models/model_core_network_type.go deleted file mode 100644 index 1c6dcb93..00000000 --- a/models/models/model_core_network_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CoreNetworkType string - -// List of CoreNetworkType -const ( - CoreNetworkType__5_GC CoreNetworkType = "5GC" - CoreNetworkType_EPC CoreNetworkType = "EPC" -) diff --git a/models/models/model_coverage_info.go b/models/models/model_coverage_info.go deleted file mode 100644 index 73545cbe..00000000 --- a/models/models/model_coverage_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type CoverageInfo struct { - CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` - LocationInfo []UserLocation `json:"locationInfo,omitempty" yaml:"locationInfo" bson:"locationInfo,omitempty"` -} diff --git a/models/models/model_create_ue_context_request.go b/models/models/model_create_ue_context_request.go deleted file mode 100644 index 0dc97017..00000000 --- a/models/models/model_create_ue_context_request.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreateUeContextRequest struct { - JsonData *UeContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` - BinaryDataN2InformationExt17 []byte `json:"binaryDataN2InformationExt17,omitempty" yaml:"binaryDataN2InformationExt17" bson:"binaryDataN2InformationExt17,omitempty"` -} diff --git a/models/models/model_create_ue_context_response_201.go b/models/models/model_create_ue_context_response_201.go deleted file mode 100644 index 36615635..00000000 --- a/models/models/model_create_ue_context_response_201.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreateUeContextResponse201 struct { - JsonData *UeContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` -} diff --git a/models/models/model_create_ue_context_response_403.go b/models/models/model_create_ue_context_response_403.go deleted file mode 100644 index a4db8232..00000000 --- a/models/models/model_create_ue_context_response_403.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreateUeContextResponse403 struct { - JsonData *UeContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_created_ue_reachability_subscription.go b/models/models/model_created_ue_reachability_subscription.go deleted file mode 100644 index a838032c..00000000 --- a/models/models/model_created_ue_reachability_subscription.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the response data returned by HSS after the subscription to notifications of UE reachability for IP was created -type CreatedUeReachabilitySubscription struct { - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` -} diff --git a/models/models/model_credit_management_status.go b/models/models/model_credit_management_status.go deleted file mode 100644 index 918764c8..00000000 --- a/models/models/model_credit_management_status.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreditManagementStatus string - -// List of CreditManagementStatus -const ( - CreditManagementStatus_END_USER_SER_DENIED CreditManagementStatus = "END_USER_SER_DENIED" // #nosec G101 - CreditManagementStatus_CREDIT_CTRL_NOT_APP CreditManagementStatus = "CREDIT_CTRL_NOT_APP" // #nosec G101 - CreditManagementStatus_AUTH_REJECTED CreditManagementStatus = "AUTH_REJECTED" - CreditManagementStatus_USER_UNKNOWN CreditManagementStatus = "USER_UNKNOWN" - CreditManagementStatus_RATING_FAILED CreditManagementStatus = "RATING_FAILED" -) diff --git a/models/models/model_cs_location.go b/models/models/model_cs_location.go deleted file mode 100644 index 2c831218..00000000 --- a/models/models/model_cs_location.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location data in CS domain -type CsLocation struct { - MscNumber string `json:"mscNumber" yaml:"mscNumber" bson:"mscNumber,omitempty"` - VlrNumber string `json:"vlrNumber" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - VlrLocation *GeraLocation `json:"vlrLocation,omitempty" yaml:"vlrLocation" bson:"vlrLocation,omitempty"` - CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - EUtranCgi *Ecgi `json:"eUtranCgi,omitempty" yaml:"eUtranCgi" bson:"eUtranCgi,omitempty"` - Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` -} diff --git a/models/models/model_cs_user_state.go b/models/models/model_cs_user_state.go deleted file mode 100644 index 9ecf9120..00000000 --- a/models/models/model_cs_user_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// User state in CS domain -type CsUserState struct { - MscVlrUserState UserStateCs `json:"mscVlrUserState" yaml:"mscVlrUserState" bson:"mscVlrUserState,omitempty"` -} diff --git a/models/models/model_csg_information.go b/models/models/model_csg_information.go deleted file mode 100644 index c5377e33..00000000 --- a/models/models/model_csg_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information about a Closed Subscriber Group (CSG) -type CsgInformation struct { - CsgId string `json:"csgId" yaml:"csgId" bson:"csgId,omitempty"` - AccessMode string `json:"accessMode,omitempty" yaml:"accessMode" bson:"accessMode,omitempty"` - CMi bool `json:"cMi,omitempty" yaml:"cMi" bson:"cMi,omitempty"` -} diff --git a/models/models/model_csrn.go b/models/models/model_csrn.go deleted file mode 100644 index d4d1df80..00000000 --- a/models/models/model_csrn.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// CS domain routeing number -type Csrn struct { - // String containing an additional or basic MSISDN - Csrn string `json:"csrn" yaml:"csrn" bson:"csrn,omitempty"` -} diff --git a/models/models/model_data_availability.go b/models/models/model_data_availability.go deleted file mode 100644 index 6e630a98..00000000 --- a/models/models/model_data_availability.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DataAvailability string - -// List of DataAvailability -const ( - DataAvailability_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_AVAILABLE" - DataAvailability_NOT_AVAILABLE DataAvailability = "CIPHERING_KEY_DATA_NOT_AVAILABLE" -) diff --git a/models/models/model_data_change_notify.go b/models/models/model_data_change_notify.go deleted file mode 100644 index f195bf7d..00000000 --- a/models/models/model_data_change_notify.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Container for data which have changed and notification was requested when changed. -type DataChangeNotify struct { - OriginalCallbackReference []string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` - // String represents the SUPI or GPSI - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` - NotifyItems []NotifyItem `json:"notifyItems,omitempty" yaml:"notifyItems" bson:"notifyItems,omitempty"` - SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` - AdditionalSdmSubscriptions []SdmSubscription `json:"additionalSdmSubscriptions,omitempty" yaml:"additionalSdmSubscriptions" bson:"additionalSdmSubscriptions,omitempty"` - SubscriptionDataSubscriptions []SubscriptionDataSubscriptions `json:"subscriptionDataSubscriptions,omitempty" yaml:"subscriptionDataSubscriptions" bson:"subscriptionDataSubscriptions,omitempty"` -} diff --git a/models/models/model_data_collection_purpose.go b/models/models/model_data_collection_purpose.go deleted file mode 100644 index 26cf0b7a..00000000 --- a/models/models/model_data_collection_purpose.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DataCollectionPurpose string - -// List of DataCollectionPurpose -const ( - DataCollectionPurpose_ANALYTICS_GENERATION DataCollectionPurpose = "ANALYTICS_GENERATION" - DataCollectionPurpose_MODEL_TRAINING DataCollectionPurpose = "MODEL_TRAINING" -) diff --git a/models/models/model_data_filter.go b/models/models/model_data_filter.go deleted file mode 100644 index c4ca1061..00000000 --- a/models/models/model_data_filter.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a data filter. -type DataFilter struct { - DataInd DataInd `json:"dataInd" yaml:"dataInd" bson:"dataInd,omitempty"` - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` - Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` - InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - UeIpv4s []string `json:"ueIpv4s,omitempty" yaml:"ueIpv4s" bson:"ueIpv4s,omitempty"` - UeIpv6s []string `json:"ueIpv6s,omitempty" yaml:"ueIpv6s" bson:"ueIpv6s,omitempty"` - UeMacs []string `json:"ueMacs,omitempty" yaml:"ueMacs" bson:"ueMacs,omitempty"` - // Indicates the request is for any UE. - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - // Indicates the request is for any DNN and S-NSSAI combination present in the array. - DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` -} diff --git a/models/models/model_data_ind.go b/models/models/model_data_ind.go deleted file mode 100644 index 800136bc..00000000 --- a/models/models/model_data_ind.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DataInd string - -// List of DataInd -const ( - DataInd_PFD DataInd = "PFD" - DataInd_IPTV DataInd = "IPTV" - DataInd_BDT DataInd = "BDT" - DataInd_SVC_PARAM DataInd = "SVC_PARAM" - DataInd_AM DataInd = "AM" -) diff --git a/models/models/model_data_notification.go b/models/models/model_data_notification.go deleted file mode 100644 index 2e02f558..00000000 --- a/models/models/model_data_notification.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a Data Subscription Notification. -type DataNotification struct { - // List of notifications of AMF events. - AmfEventNotifs []AmfEventNotification `json:"amfEventNotifs,omitempty" yaml:"amfEventNotifs" bson:"amfEventNotifs,omitempty"` - // List of notifications of SMF events. - SmfEventNotifs []NsmfEventExposureNotification `json:"smfEventNotifs,omitempty" yaml:"smfEventNotifs" bson:"smfEventNotifs,omitempty"` - // List of notifications of UDM events. - UdmEventNotifs []UdmEeMonitoringReport `json:"udmEventNotifs,omitempty" yaml:"udmEventNotifs" bson:"udmEventNotifs,omitempty"` - // List of notifications of NEF events. - NefEventNotifs []NefEventExposureNotif `json:"nefEventNotifs,omitempty" yaml:"nefEventNotifs" bson:"nefEventNotifs,omitempty"` - // List of notifications of AF events. - AfEventNotifs []AfEventExposureNotif `json:"afEventNotifs,omitempty" yaml:"afEventNotifs" bson:"afEventNotifs,omitempty"` - // List of notifications of NRF events. - NrfEventNotifs []NrfNfManagementNotificationData `json:"nrfEventNotifs,omitempty" yaml:"nrfEventNotifs" bson:"nrfEventNotifs,omitempty"` - // List of notifications of NSACF events. - NsacfEventNotifs []SacEventReport `json:"nsacfEventNotifs,omitempty" yaml:"nsacfEventNotifs" bson:"nsacfEventNotifs,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/models/model_data_set_id.go b/models/models/model_data_set_id.go deleted file mode 100644 index 8434c992..00000000 --- a/models/models/model_data_set_id.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DataSetId string - -// List of DataSetId -const ( - DataSetId_SUBSCRIPTION DataSetId = "SUBSCRIPTION" - DataSetId_POLICY DataSetId = "POLICY" - DataSetId_EXPOSURE DataSetId = "EXPOSURE" - DataSetId_APPLICATION DataSetId = "APPLICATION" - DataSetId_A_PFD DataSetId = "A_PFD" - DataSetId_A_AFTI DataSetId = "A_AFTI" - DataSetId_A_IPTV DataSetId = "A_IPTV" - DataSetId_A_BDT DataSetId = "A_BDT" - DataSetId_A_SPD DataSetId = "A_SPD" - DataSetId_A_EASD DataSetId = "A_EASD" - DataSetId_A_AMI DataSetId = "A_AMI" - DataSetId_P_UE DataSetId = "P_UE" - DataSetId_P_SCD DataSetId = "P_SCD" - DataSetId_P_BDT DataSetId = "P_BDT" - DataSetId_P_PLMNUE DataSetId = "P_PLMNUE" - DataSetId_P_NSSCD DataSetId = "P_NSSCD" - DataSetId_P_MBSCD DataSetId = "P_MBSCD" -) diff --git a/models/models/model_data_set_name.go b/models/models/model_data_set_name.go deleted file mode 100644 index 2a39b0a4..00000000 --- a/models/models/model_data_set_name.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DataSetName string - -// List of DataSetName -const ( - DataSetName_AM DataSetName = "AM" - DataSetName_SMF_SEL DataSetName = "SMF_SEL" - DataSetName_SMS_SUB DataSetName = "SMS_SUB" - DataSetName_SM DataSetName = "SM" - DataSetName_TRACE DataSetName = "TRACE" - DataSetName_SMS_MNG DataSetName = "SMS_MNG" - DataSetName_LCS_PRIVACY DataSetName = "LCS_PRIVACY" - DataSetName_LCS_MO DataSetName = "LCS_MO" - DataSetName_LCS_BCA DataSetName = "LCS_BCA" - DataSetName_V2_X DataSetName = "V2X" - DataSetName_PROSE DataSetName = "PROSE" - DataSetName_ODB DataSetName = "ODB" - DataSetName_EE_PROF DataSetName = "EE_PROF" - DataSetName_PP_PROF DataSetName = "PP_PROF" - DataSetName_NIDD_AUTH DataSetName = "NIDD_AUTH" - DataSetName_USER_CONSENT DataSetName = "USER_CONSENT" - DataSetName_MBS DataSetName = "MBS" -) diff --git a/models/models/model_data_subscription.go b/models/models/model_data_subscription.go deleted file mode 100644 index 4a8f313b..00000000 --- a/models/models/model_data_subscription.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a data specification. -type DataSubscription struct { - AmfDataSub *AmfEventSubscription `json:"amfDataSub,omitempty" yaml:"amfDataSub" bson:"amfDataSub,omitempty"` - SmfDataSub *NsmfEventExposure `json:"smfDataSub,omitempty" yaml:"smfDataSub" bson:"smfDataSub,omitempty"` - UdmDataSub *UdmEeEeSubscription `json:"udmDataSub,omitempty" yaml:"udmDataSub" bson:"udmDataSub,omitempty"` - AfDataSub *AfEventExposureSubsc `json:"afDataSub,omitempty" yaml:"afDataSub" bson:"afDataSub,omitempty"` - NefDataSub *NefEventExposureSubsc `json:"nefDataSub,omitempty" yaml:"nefDataSub" bson:"nefDataSub,omitempty"` - NrfDataSub *NrfNfManagementSubscriptionData `json:"nrfDataSub,omitempty" yaml:"nrfDataSub" bson:"nrfDataSub,omitempty"` - NsacfDataSub *SacEventSubscription `json:"nsacfDataSub,omitempty" yaml:"nsacfDataSub" bson:"nsacfDataSub,omitempty"` -} diff --git a/models/models/model_datalink_reporting_configuration.go b/models/models/model_datalink_reporting_configuration.go deleted file mode 100644 index 921ea99c..00000000 --- a/models/models/model_datalink_reporting_configuration.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DatalinkReportingConfiguration struct { - DddTrafficDes []DddTrafficDescriptor `json:"dddTrafficDes,omitempty" yaml:"dddTrafficDes" bson:"dddTrafficDes,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Slice *Snssai `json:"slice,omitempty" yaml:"slice" bson:"slice,omitempty"` - DddStatusList []DlDataDeliveryStatus `json:"dddStatusList,omitempty" yaml:"dddStatusList" bson:"dddStatusList,omitempty"` -} diff --git a/models/models/model_dataset_statistical_property.go b/models/models/model_dataset_statistical_property.go deleted file mode 100644 index def32c1c..00000000 --- a/models/models/model_dataset_statistical_property.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DatasetStatisticalProperty string - -// List of DatasetStatisticalProperty -const ( - DatasetStatisticalProperty_UNIFORM_DIST_DATA DatasetStatisticalProperty = "UNIFORM_DIST_DATA" - DatasetStatisticalProperty_NO_OUTLIERS DatasetStatisticalProperty = "NO_OUTLIERS" -) diff --git a/models/models/model_dccf_cond.go b/models/models/model_dccf_cond.go deleted file mode 100644 index 3c36b9c2..00000000 --- a/models/models/model_dccf_cond.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NF Instances (DCCFs), identified by NF types, NF Set Id(s) or DCCF Serving Area information, i.e. list of TAIs served by the DCCF -type DccfCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` -} diff --git a/models/models/model_dccf_data_management_reporting_options.go b/models/models/model_dccf_data_management_reporting_options.go deleted file mode 100644 index 4e812fc6..00000000 --- a/models/models/model_dccf_data_management_reporting_options.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents reporting options for processed notifications. -type DccfDataManagementReportingOptions struct { - NotifyWindow *TimeWindow `json:"notifyWindow,omitempty" yaml:"notifyWindow" bson:"notifyWindow,omitempty"` - // indicating a time in seconds. - NotifyPeriod int32 `json:"notifyPeriod,omitempty" yaml:"notifyPeriod" bson:"notifyPeriod,omitempty"` - // indicating a time in seconds. - NotifyPeriodInc int32 `json:"notifyPeriodInc,omitempty" yaml:"notifyPeriodInc" bson:"notifyPeriodInc,omitempty"` - // Notifications for the present subscription are sent only upon occurrence of events of the subscription with identifier that matches this attribute. - DepEventSubId string `json:"depEventSubId,omitempty" yaml:"depEventSubId" bson:"depEventSubId,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MinClubbedNotif int32 `json:"minClubbedNotif,omitempty" yaml:"minClubbedNotif" bson:"minClubbedNotif,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxClubbedNotif int32 `json:"maxClubbedNotif,omitempty" yaml:"maxClubbedNotif" bson:"maxClubbedNotif,omitempty"` -} diff --git a/models/models/model_dccf_event.go b/models/models/model_dccf_event.go deleted file mode 100644 index 94108bc8..00000000 --- a/models/models/model_dccf_event.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the (event exposure or analytics) event that the processing instructions shall apply to. Contains all event IDs related to DCCF. -type DccfEvent struct { - NwdafEvent NwdafEvent `json:"nwdafEvent,omitempty" yaml:"nwdafEvent" bson:"nwdafEvent,omitempty"` - SmfEvent SmfEvent `json:"smfEvent,omitempty" yaml:"smfEvent" bson:"smfEvent,omitempty"` - AmfEvent AmfEventType `json:"amfEvent,omitempty" yaml:"amfEvent" bson:"amfEvent,omitempty"` - NefEvent NefEvent `json:"nefEvent,omitempty" yaml:"nefEvent" bson:"nefEvent,omitempty"` - UdmEvent UdmEeEventType `json:"udmEvent,omitempty" yaml:"udmEvent" bson:"udmEvent,omitempty"` - AfEvent AfEventExposureAfEvent `json:"afEvent,omitempty" yaml:"afEvent" bson:"afEvent,omitempty"` - SacEvent *SacEvent `json:"sacEvent,omitempty" yaml:"sacEvent" bson:"sacEvent,omitempty"` - NrfEvent NotificationEventType `json:"nrfEvent,omitempty" yaml:"nrfEvent" bson:"nrfEvent,omitempty"` -} diff --git a/models/models/model_dccf_info.go b/models/models/model_dccf_info.go deleted file mode 100644 index f9e8d12a..00000000 --- a/models/models/model_dccf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a DCCF NF Instance -type DccfInfo struct { - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` -} diff --git a/models/models/model_ddd_traffic_descriptor.go b/models/models/model_ddd_traffic_descriptor.go deleted file mode 100644 index bb929f4b..00000000 --- a/models/models/model_ddd_traffic_descriptor.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Traffic Descriptor. -type DddTrafficDescriptor struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` -} diff --git a/models/models/model_ddn_failure_sub_info.go b/models/models/model_ddn_failure_sub_info.go deleted file mode 100644 index 0bfc28c1..00000000 --- a/models/models/model_ddn_failure_sub_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// DDN Failure Subscription Information -type DdnFailureSubInfo struct { - NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` -} diff --git a/models/models/model_ddn_failure_subs.go b/models/models/model_ddn_failure_subs.go deleted file mode 100644 index 567b03f6..00000000 --- a/models/models/model_ddn_failure_subs.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// DDN Failure Subscription -type DdnFailureSubs struct { - DdnFailureSubsInd bool `json:"ddnFailureSubsInd,omitempty" yaml:"ddnFailureSubsInd" bson:"ddnFailureSubsInd,omitempty"` - DdnFailureSubsInfoList []DdnFailureSubInfo `json:"ddnFailureSubsInfoList,omitempty" yaml:"ddnFailureSubsInfoList" bson:"ddnFailureSubsInfoList,omitempty"` -} diff --git a/models/models/model_deconceal_req_data.go b/models/models/model_deconceal_req_data.go deleted file mode 100644 index 624ace77..00000000 --- a/models/models/model_deconceal_req_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UEIdentifier - * - * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Deconceal Request Data -type DeconcealReqData struct { - // Contains the SUCI. - Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` -} diff --git a/models/models/model_deconceal_rsp_data.go b/models/models/model_deconceal_rsp_data.go deleted file mode 100644 index 03dfa502..00000000 --- a/models/models/model_deconceal_rsp_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UEIdentifier - * - * UDM UE Identifier Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Deconceal Response Data -type DeconcealRspData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` -} diff --git a/models/models/model_def_sub_service_info.go b/models/models/model_def_sub_service_info.go deleted file mode 100644 index e7dd347a..00000000 --- a/models/models/model_def_sub_service_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Service Specific information for Default Notification Subscription. -type DefSubServiceInfo struct { - Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_default_notification_subscription.go b/models/models/model_default_notification_subscription.go deleted file mode 100644 index 2e00943f..00000000 --- a/models/models/model_default_notification_subscription.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data structure for specifying the notifications the NF service subscribes by default, along with callback URI -type DefaultNotificationSubscription struct { - NotificationType NrfNfManagementNotificationType `json:"notificationType" yaml:"notificationType" bson:"notificationType,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnCallbackUri string `json:"interPlmnCallbackUri,omitempty" yaml:"interPlmnCallbackUri" bson:"interPlmnCallbackUri,omitempty"` - N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` - N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` - Versions []string `json:"versions,omitempty" yaml:"versions" bson:"versions,omitempty"` - Binding string `json:"binding,omitempty" yaml:"binding" bson:"binding,omitempty"` - AcceptedEncoding string `json:"acceptedEncoding,omitempty" yaml:"acceptedEncoding" bson:"acceptedEncoding,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // A map of service specific information. The name of the corresponding service (as specified in ServiceName data type) is the key. - ServiceInfoList map[string]DefSubServiceInfo `json:"serviceInfoList,omitempty" yaml:"serviceInfoList" bson:"serviceInfoList,omitempty"` -} diff --git a/models/models/model_default_unrelated_class.go b/models/models/model_default_unrelated_class.go deleted file mode 100644 index 9dc0eb1a..00000000 --- a/models/models/model_default_unrelated_class.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DefaultUnrelatedClass struct { - AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` - PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` - CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` - CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` -} diff --git a/models/models/model_deliver_add_info.go b/models/models/model_deliver_add_info.go deleted file mode 100644 index 665302f5..00000000 --- a/models/models/model_deliver_add_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_NIDD - * - * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Additional information in an error response to a Deliver Request. -type DeliverAddInfo struct { - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_deliver_error.go b/models/models/model_deliver_error.go deleted file mode 100644 index 4c3d2d0f..00000000 --- a/models/models/model_deliver_error.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nsmf_NIDD - * - * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the payload in an error response to a Deliver Request. -type DeliverError struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_deliver_request.go b/models/models/model_deliver_request.go deleted file mode 100644 index e9d25b26..00000000 --- a/models/models/model_deliver_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_NIDD - * - * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DeliverRequest struct { - JsonData *SmfNiddDeliverReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` -} diff --git a/models/models/model_delivery_report_requested.go b/models/models/model_delivery_report_requested.go deleted file mode 100644 index 32c5299f..00000000 --- a/models/models/model_delivery_report_requested.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DeliveryReportRequested string - -// List of DeliveryReportRequested -const ( - DeliveryReportRequested_TRUE DeliveryReportRequested = "true" - DeliveryReportRequested_FALSE DeliveryReportRequested = "false" -) diff --git a/models/models/model_deregistration_info.go b/models/models/model_deregistration_info.go deleted file mode 100644 index bfa89221..00000000 --- a/models/models/model_deregistration_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE id (i.e. SUPI). -type DeregistrationInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_detecting_node.go b/models/models/model_detecting_node.go deleted file mode 100644 index 880ab0d1..00000000 --- a/models/models/model_detecting_node.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DetectingNode string - -// List of DetectingNode -const ( - DetectingNode_SGSN DetectingNode = "SGSN" - DetectingNode_MME DetectingNode = "MME" - DetectingNode_AMF DetectingNode = "AMF" -) diff --git a/models/models/model_determine_location_request.go b/models/models/model_determine_location_request.go deleted file mode 100644 index 20e2631c..00000000 --- a/models/models/model_determine_location_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DetermineLocationRequest struct { - JsonData *LmfLocationInputData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataLppMessage []byte `json:"binaryDataLppMessage,omitempty" yaml:"binaryDataLppMessage" bson:"binaryDataLppMessage,omitempty"` -} diff --git a/models/models/model_direct_discovery_model.go b/models/models/model_direct_discovery_model.go deleted file mode 100644 index 2aa9fe4d..00000000 --- a/models/models/model_direct_discovery_model.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DirectDiscoveryModel string - -// List of DirectDiscoveryModel -const ( - DirectDiscoveryModel_A DirectDiscoveryModel = "MODEL_A" - DirectDiscoveryModel_B DirectDiscoveryModel = "MODEL_B" -) diff --git a/models/models/model_dispersion_area.go b/models/models/model_dispersion_area.go deleted file mode 100644 index ff74c91b..00000000 --- a/models/models/model_dispersion_area.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Dispersion Area -type DispersionArea struct { - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` - EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` - N3gaInd bool `json:"n3gaInd,omitempty" yaml:"n3gaInd" bson:"n3gaInd,omitempty"` -} diff --git a/models/models/model_dispersion_class.go b/models/models/model_dispersion_class.go deleted file mode 100644 index 88b10850..00000000 --- a/models/models/model_dispersion_class.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Possible values are: - FIXED: Dispersion class as fixed UE its data or transaction usage at a location or a slice, is higher than its class threshold set for its all data or transaction usage. - CAMPER: Dispersion class as camper UE, its data or transaction usage at a location or a slice, is higher than its class threshold and lower than the fixed class threshold set for its all data or transaction usage.. - TRAVELLER: Dispersion class as traveller UE, its data or transaction usage at a location or a slice, is lower than the camper class threshold set for its all data or transaction usage. - TOP_HEAVY: Dispersion class as Top_Heavy UE, who's dispersion percentile rating at a location or a slice, is higher than its class threshold. -type DispersionClass struct { -} diff --git a/models/models/model_dispersion_info.go b/models/models/model_dispersion_info.go deleted file mode 100644 index 3b37d5dd..00000000 --- a/models/models/model_dispersion_info.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the Dispersion information. When subscribed event is \"DISPERSION\", the \"disperInfos\" attribute shall be included. -type DispersionInfo struct { - // string with format 'date-time' as defined in OpenAPI. - TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` - // indicating a time in seconds. - TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` - DisperCollects []NwdafEventsSubscriptionDispersionCollection `json:"disperCollects" yaml:"disperCollects" bson:"disperCollects,omitempty"` - DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` -} diff --git a/models/models/model_dispersion_ordering_criterion.go b/models/models/model_dispersion_ordering_criterion.go deleted file mode 100644 index 4e2f2b97..00000000 --- a/models/models/model_dispersion_ordering_criterion.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DispersionOrderingCriterion string - -// List of DispersionOrderingCriterion -const ( - DispersionOrderingCriterion_TIME_SLOT_START DispersionOrderingCriterion = "TIME_SLOT_START" - DispersionOrderingCriterion_DISPERSION DispersionOrderingCriterion = "DISPERSION" - DispersionOrderingCriterion_CLASSIFICATION DispersionOrderingCriterion = "CLASSIFICATION" - DispersionOrderingCriterion_RANKING DispersionOrderingCriterion = "RANKING" - DispersionOrderingCriterion_PERCENTILE_RANKING DispersionOrderingCriterion = "PERCENTILE_RANKING" -) diff --git a/models/models/model_dispersion_requirement.go b/models/models/model_dispersion_requirement.go deleted file mode 100644 index ae7b2d18..00000000 --- a/models/models/model_dispersion_requirement.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the dispersion analytics requirements. -type DispersionRequirement struct { - DisperType *DispersionType `json:"disperType" yaml:"disperType" bson:"disperType,omitempty"` - ClassCriters []ClassCriterion `json:"classCriters,omitempty" yaml:"classCriters" bson:"classCriters,omitempty"` - RankCriters []RankingCriterion `json:"rankCriters,omitempty" yaml:"rankCriters" bson:"rankCriters,omitempty"` - DispOrderCriter DispersionOrderingCriterion `json:"dispOrderCriter,omitempty" yaml:"dispOrderCriter" bson:"dispOrderCriter,omitempty"` - Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` -} diff --git a/models/models/model_dispersion_type.go b/models/models/model_dispersion_type.go deleted file mode 100644 index 579989ce..00000000 --- a/models/models/model_dispersion_type.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Possible values are: - DVDA: Data Volume Dispersion Analytics. - TDA: Transactions Dispersion Analytics. - DVDA_AND_TDA: Data Volume Dispersion Analytics and Transactions Dispersion Analytics. -type DispersionType struct { -} diff --git a/models/models/model_dl_data_delivery_status.go b/models/models/model_dl_data_delivery_status.go deleted file mode 100644 index 4d8c0b69..00000000 --- a/models/models/model_dl_data_delivery_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DlDataDeliveryStatus string - -// List of DlDataDeliveryStatus -const ( - DlDataDeliveryStatus_BUFFERED DlDataDeliveryStatus = "BUFFERED" - DlDataDeliveryStatus_TRANSMITTED DlDataDeliveryStatus = "TRANSMITTED" - DlDataDeliveryStatus_DISCARDED DlDataDeliveryStatus = "DISCARDED" -) diff --git a/models/models/model_dn_perf.go b/models/models/model_dn_perf.go deleted file mode 100644 index 301bad30..00000000 --- a/models/models/model_dn_perf.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents DN performance for the application. -type DnPerf struct { - AppServerInsAddr *AddrFqdn `json:"appServerInsAddr,omitempty" yaml:"appServerInsAddr" bson:"appServerInsAddr,omitempty"` - UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` - PerfData *PerfData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` - SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` - TemporalValidCon *TimeWindow `json:"temporalValidCon,omitempty" yaml:"temporalValidCon" bson:"temporalValidCon,omitempty"` -} diff --git a/models/models/model_dn_perf_info.go b/models/models/model_dn_perf_info.go deleted file mode 100644 index 3b7df57c..00000000 --- a/models/models/model_dn_perf_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents DN performance information. -type DnPerfInfo struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - DnPerf []DnPerf `json:"dnPerf" yaml:"dnPerf" bson:"dnPerf,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_dn_perf_ordering_criterion.go b/models/models/model_dn_perf_ordering_criterion.go deleted file mode 100644 index 0a8d3307..00000000 --- a/models/models/model_dn_perf_ordering_criterion.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DnPerfOrderingCriterion string - -// List of DnPerfOrderingCriterion -const ( - DnPerfOrderingCriterion_AVERAGE_TRAFFIC_RATE DnPerfOrderingCriterion = "AVERAGE_TRAFFIC_RATE" - DnPerfOrderingCriterion_MAXIMUM_TRAFFIC_RATE DnPerfOrderingCriterion = "MAXIMUM_TRAFFIC_RATE" - DnPerfOrderingCriterion_AVERAGE_PACKET_DELAY DnPerfOrderingCriterion = "AVERAGE_PACKET_DELAY" - DnPerfOrderingCriterion_MAXIMUM_PACKET_DELAY DnPerfOrderingCriterion = "MAXIMUM_PACKET_DELAY" - DnPerfOrderingCriterion_AVERAGE_PACKET_LOSS_RATE DnPerfOrderingCriterion = "AVERAGE_PACKET_LOSS_RATE" -) diff --git a/models/models/model_dn_performance_req.go b/models/models/model_dn_performance_req.go deleted file mode 100644 index 57388813..00000000 --- a/models/models/model_dn_performance_req.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents other DN performance analytics requirements. -type DnPerformanceReq struct { - DnPerfOrderCriter DnPerfOrderingCriterion `json:"dnPerfOrderCriter,omitempty" yaml:"dnPerfOrderCriter" bson:"dnPerfOrderCriter,omitempty"` - Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` - ReportThresholds []ThresholdLevel `json:"reportThresholds,omitempty" yaml:"reportThresholds" bson:"reportThresholds,omitempty"` -} diff --git a/models/models/model_dnai_change_type.go b/models/models/model_dnai_change_type.go deleted file mode 100644 index dc7955c9..00000000 --- a/models/models/model_dnai_change_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DnaiChangeType string - -// List of DnaiChangeType -const ( - DnaiChangeType_EARLY DnaiChangeType = "EARLY" - DnaiChangeType_EARLY_LATE DnaiChangeType = "EARLY_LATE" - DnaiChangeType_LATE DnaiChangeType = "LATE" -) diff --git a/models/models/model_dnai_information.go b/models/models/model_dnai_information.go deleted file mode 100644 index 306dab7d..00000000 --- a/models/models/model_dnai_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents DNAI information. -type DnaiInformation struct { - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` - DnsServIds []DnsServerIdentifier `json:"dnsServIds,omitempty" yaml:"dnsServIds" bson:"dnsServIds,omitempty"` - EasIpAddrs []IpAddr `json:"easIpAddrs,omitempty" yaml:"easIpAddrs" bson:"easIpAddrs,omitempty"` -} diff --git a/models/models/model_dnf.go b/models/models/model_dnf.go deleted file mode 100644 index 2ca7f1ef..00000000 --- a/models/models/model_dnf.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A disjunctive normal form. -type Dnf struct { - DnfUnits []DnfUnit `json:"dnfUnits" yaml:"dnfUnits" bson:"dnfUnits,omitempty"` -} diff --git a/models/models/model_dnf_unit.go b/models/models/model_dnf_unit.go deleted file mode 100644 index e2724750..00000000 --- a/models/models/model_dnf_unit.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// During the processing of dnfUnits attribute, all the members in the array shall be interpreted as logically concatenated with logical \"OR\". -type DnfUnit struct { - DnfUnit []Atom `json:"dnfUnit" yaml:"dnfUnit" bson:"dnfUnit,omitempty"` -} diff --git a/models/models/model_dnn_configuration.go b/models/models/model_dnn_configuration.go deleted file mode 100644 index fa067590..00000000 --- a/models/models/model_dnn_configuration.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DnnConfiguration struct { - PduSessionTypes *PduSessionTypes `json:"pduSessionTypes" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` - SscModes *SscModes `json:"sscModes" yaml:"sscModes" bson:"sscModes,omitempty"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` - Var5gQosProfile *SubscribedDefaultQos `json:"5gQosProfile,omitempty" yaml:"5gQosProfile" bson:"5gQosProfile,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` - StaticIpAddress []UdmSdmIpAddress `json:"staticIpAddress,omitempty" yaml:"staticIpAddress" bson:"staticIpAddress,omitempty"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` - PduSessionContinuityInd PduSessionContinuityInd `json:"pduSessionContinuityInd,omitempty" yaml:"pduSessionContinuityInd" bson:"pduSessionContinuityInd,omitempty"` - // Identity of the NEF - NiddNefId string `json:"niddNefId,omitempty" yaml:"niddNefId" bson:"niddNefId,omitempty"` - NiddInfo *UdmSdmNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` - RedundantSessionAllowed bool `json:"redundantSessionAllowed,omitempty" yaml:"redundantSessionAllowed" bson:"redundantSessionAllowed,omitempty"` - AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` - Ipv4FrameRouteList []FrameRouteInfo `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` - Ipv6FrameRouteList []FrameRouteInfo `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` - AtsssAllowed bool `json:"atsssAllowed,omitempty" yaml:"atsssAllowed" bson:"atsssAllowed,omitempty"` - SecondaryAuth bool `json:"secondaryAuth,omitempty" yaml:"secondaryAuth" bson:"secondaryAuth,omitempty"` - UavSecondaryAuth bool `json:"uavSecondaryAuth,omitempty" yaml:"uavSecondaryAuth" bson:"uavSecondaryAuth,omitempty"` - DnAaaIpAddressAllocation bool `json:"dnAaaIpAddressAllocation,omitempty" yaml:"dnAaaIpAddressAllocation" bson:"dnAaaIpAddressAllocation,omitempty"` - DnAaaAddress *UdmSdmIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` - AdditionalDnAaaAddresses []UdmSdmIpAddress `json:"additionalDnAaaAddresses,omitempty" yaml:"additionalDnAaaAddresses" bson:"additionalDnAaaAddresses,omitempty"` - // Fully Qualified Domain Name - DnAaaFqdn string `json:"dnAaaFqdn,omitempty" yaml:"dnAaaFqdn" bson:"dnAaaFqdn,omitempty"` - IptvAccCtrlInfo string `json:"iptvAccCtrlInfo,omitempty" yaml:"iptvAccCtrlInfo" bson:"iptvAccCtrlInfo,omitempty"` - Ipv4Index *UdmSdmIpIndex `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` - Ipv6Index *UdmSdmIpIndex `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` - EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` - AdditionalEcsAddrConfigInfos []*EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` - SharedEcsAddrConfigInfo string `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` - AdditionalSharedEcsAddrConfigInfoIds []string `json:"additionalSharedEcsAddrConfigInfoIds,omitempty" yaml:"additionalSharedEcsAddrConfigInfoIds" bson:"additionalSharedEcsAddrConfigInfoIds,omitempty"` - EasDiscoveryAuthorized bool `json:"easDiscoveryAuthorized,omitempty" yaml:"easDiscoveryAuthorized" bson:"easDiscoveryAuthorized,omitempty"` - OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` - AerialUeInd AerialUeIndication `json:"aerialUeInd,omitempty" yaml:"aerialUeInd" bson:"aerialUeInd,omitempty"` - SubscribedMaxIpv6PrefixSize int32 `json:"subscribedMaxIpv6PrefixSize,omitempty" yaml:"subscribedMaxIpv6PrefixSize" bson:"subscribedMaxIpv6PrefixSize,omitempty"` -} diff --git a/models/models/model_dnn_easdf_info_item.go b/models/models/model_dnn_easdf_info_item.go deleted file mode 100644 index 13d102df..00000000 --- a/models/models/model_dnn_easdf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by EASDF for a given DNN -type DnnEasdfInfoItem struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` -} diff --git a/models/models/model_dnn_info.go b/models/models/model_dnn_info.go deleted file mode 100644 index ef9994eb..00000000 --- a/models/models/model_dnn_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DnnInfo struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - DefaultDnnIndicator bool `json:"defaultDnnIndicator,omitempty" yaml:"defaultDnnIndicator" bson:"defaultDnnIndicator,omitempty"` - LboRoamingAllowed bool `json:"lboRoamingAllowed,omitempty" yaml:"lboRoamingAllowed" bson:"lboRoamingAllowed,omitempty"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` - DnnBarred bool `json:"dnnBarred,omitempty" yaml:"dnnBarred" bson:"dnnBarred,omitempty"` - InvokeNefInd bool `json:"invokeNefInd,omitempty" yaml:"invokeNefInd" bson:"invokeNefInd,omitempty"` - SmfList []string `json:"smfList,omitempty" yaml:"smfList" bson:"smfList,omitempty"` - SameSmfInd bool `json:"sameSmfInd,omitempty" yaml:"sameSmfInd" bson:"sameSmfInd,omitempty"` -} diff --git a/models/models/model_dnn_info_item.go b/models/models/model_dnn_info_item.go deleted file mode 100644 index bde507ed..00000000 --- a/models/models/model_dnn_info_item.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by NF for a given DNN -type DnnInfoItem struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_dnn_mb_smf_info_item.go b/models/models/model_dnn_mb_smf_info_item.go deleted file mode 100644 index ca5654c0..00000000 --- a/models/models/model_dnn_mb_smf_info_item.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Parameters supported by an MB-SMF for a given DNN -type DnnMbSmfInfoItem struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_dnn_route_selection_descriptor.go b/models/models/model_dnn_route_selection_descriptor.go deleted file mode 100644 index 282990e5..00000000 --- a/models/models/model_dnn_route_selection_descriptor.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the route selector parameters (PDU session types, SSC modes and ATSSS information) per DNN -type DnnRouteSelectionDescriptor struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - SscModes []SscMode `json:"sscModes,omitempty" yaml:"sscModes" bson:"sscModes,omitempty"` - PduSessTypes []PduSessionType `json:"pduSessTypes,omitempty" yaml:"pduSessTypes" bson:"pduSessTypes,omitempty"` - // Indicates whether MA PDU session establishment is allowed for this DNN. When set to value true MA PDU session establishment is allowed for this DNN. - AtsssInfo bool `json:"atsssInfo,omitempty" yaml:"atsssInfo" bson:"atsssInfo,omitempty"` -} diff --git a/models/models/model_dnn_selection_mode.go b/models/models/model_dnn_selection_mode.go deleted file mode 100644 index 2d67f3e9..00000000 --- a/models/models/model_dnn_selection_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DnnSelectionMode string - -// List of dnnSelectionMode -const ( - DnnSelectionMode_VERIFIED DnnSelectionMode = "VERIFIED" - DnnSelectionMode_UE_DNN_NOT_VERIFIED DnnSelectionMode = "UE_DNN_NOT_VERIFIED" - DnnSelectionMode_NW_DNN_NOT_VERIFIED DnnSelectionMode = "NW_DNN_NOT_VERIFIED" -) diff --git a/models/models/model_dnn_smf_info_item.go b/models/models/model_dnn_smf_info_item.go deleted file mode 100644 index 584d263f..00000000 --- a/models/models/model_dnn_smf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by SMF for a given DNN -type DnnSmfInfoItem struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - DnaiList []interface{} `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` -} diff --git a/models/models/model_dnn_snssai_information.go b/models/models/model_dnn_snssai_information.go deleted file mode 100644 index 53ab20af..00000000 --- a/models/models/model_dnn_snssai_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a (DNN, SNSSAI) combination. -type DnnSnssaiInformation struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` -} diff --git a/models/models/model_dnn_tsctsf_info_item.go b/models/models/model_dnn_tsctsf_info_item.go deleted file mode 100644 index a8db787b..00000000 --- a/models/models/model_dnn_tsctsf_info_item.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Parameters supported by an TSCTSF for a given DNN -type DnnTsctsfInfoItem struct { - Dnn interface{} `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_dnn_upf_info_item.go b/models/models/model_dnn_upf_info_item.go deleted file mode 100644 index 933252f0..00000000 --- a/models/models/model_dnn_upf_info_item.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by UPF for a given DNN -type DnnUpfInfoItem struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` - Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` - Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` - Ipv4IndexList []UdmSdmIpIndex `json:"ipv4IndexList,omitempty" yaml:"ipv4IndexList" bson:"ipv4IndexList,omitempty"` - Ipv6IndexList []UdmSdmIpIndex `json:"ipv6IndexList,omitempty" yaml:"ipv6IndexList" bson:"ipv6IndexList,omitempty"` - // Map of network instance per DNAI for the DNN, where the key of the map is the DNAI. When present, the value of each entry of the map shall contain a N6 network instance that is configured for the DNAI indicated by the key. - DnaiNwInstanceList map[string]string `json:"dnaiNwInstanceList,omitempty" yaml:"dnaiNwInstanceList" bson:"dnaiNwInstanceList,omitempty"` -} diff --git a/models/models/model_dns_server_identifier.go b/models/models/model_dns_server_identifier.go deleted file mode 100644 index e1a071bf..00000000 --- a/models/models/model_dns_server_identifier.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents DNS server identifier (consisting of IP address and port). -type DnsServerIdentifier struct { - DnsServIpAddr *IpAddr `json:"dnsServIpAddr" yaml:"dnsServIpAddr" bson:"dnsServIpAddr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` -} diff --git a/models/models/model_domain_name_protocol.go b/models/models/model_domain_name_protocol.go deleted file mode 100644 index 930882c7..00000000 --- a/models/models/model_domain_name_protocol.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DomainNameProtocol string - -// List of DomainNameProtocol -const ( - DomainNameProtocol_DNS_QNAME DomainNameProtocol = "DNS_QNAME" - DomainNameProtocol_TLS_SNI DomainNameProtocol = "TLS_SNI" - DomainNameProtocol_TLS_SAN DomainNameProtocol = "TLS_SAN" - DomainNameProtocol_TSL_SCN DomainNameProtocol = "TSL_SCN" -) diff --git a/models/models/model_downlink_data_notification_control.go b/models/models/model_downlink_data_notification_control.go deleted file mode 100644 index 756ea050..00000000 --- a/models/models/model_downlink_data_notification_control.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the downlink data notification control information. -type DownlinkDataNotificationControl struct { - NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` - TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` -} diff --git a/models/models/model_downlink_data_notification_control_rm.go b/models/models/model_downlink_data_notification_control_rm.go deleted file mode 100644 index d798e283..00000000 --- a/models/models/model_downlink_data_notification_control_rm.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the DownlinkDataNotificationControl data type, but with the nullable:true property. -type DownlinkDataNotificationControlRm struct { - NotifCtrlInds []NotificationControlIndication `json:"notifCtrlInds,omitempty" yaml:"notifCtrlInds" bson:"notifCtrlInds,omitempty"` - TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` -} diff --git a/models/models/model_dsai_tag_information.go b/models/models/model_dsai_tag_information.go deleted file mode 100644 index 7f686ea0..00000000 --- a/models/models/model_dsai_tag_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// DSAI tag information (list of DSAI tags activation state for an Application Server) -type DsaiTagInformation struct { - DsaiTagStatusList []DsaiTagStatus `json:"dsaiTagStatusList" yaml:"dsaiTagStatusList" bson:"dsaiTagStatusList,omitempty"` -} diff --git a/models/models/model_dsai_tag_status.go b/models/models/model_dsai_tag_status.go deleted file mode 100644 index 333d34ce..00000000 --- a/models/models/model_dsai_tag_status.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// DSAI tag status (DSAI tag and activation state) -type DsaiTagStatus struct { - DsaiTag string `json:"dsaiTag" yaml:"dsaiTag" bson:"dsaiTag,omitempty"` - DsaiState ActivationState `json:"dsaiState" yaml:"dsaiState" bson:"dsaiState,omitempty"` -} diff --git a/models/models/model_dynamic5_qi.go b/models/models/model_dynamic5_qi.go deleted file mode 100644 index b89634e0..00000000 --- a/models/models/model_dynamic5_qi.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It indicates the QoS Characteristics for a Non-standardised or not pre-configured 5QI for downlink and uplink. -type Dynamic5Qi struct { - ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - PacketErrRate string `json:"packetErrRate" yaml:"packetErrRate" bson:"packetErrRate,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. - ExtPacketDelBudget int32 `json:"extPacketDelBudget,omitempty" yaml:"extPacketDelBudget" bson:"extPacketDelBudget,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. - CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. - CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` -} diff --git a/models/models/model_dynamic_policy.go b/models/models/model_dynamic_policy.go deleted file mode 100644 index cebec18f..00000000 --- a/models/models/model_dynamic_policy.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A representation of a Dynamic Policy resource. -type DynamicPolicy struct { - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - DynamicPolicyId string `json:"dynamicPolicyId" yaml:"dynamicPolicyId" bson:"dynamicPolicyId,omitempty"` - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - PolicyTemplateId string `json:"policyTemplateId" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` - ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` - MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` - QosSpecification *M5QoSSpecification `json:"qosSpecification,omitempty" yaml:"qosSpecification" bson:"qosSpecification,omitempty"` - EnforcementMethod string `json:"enforcementMethod,omitempty" yaml:"enforcementMethod" bson:"enforcementMethod,omitempty"` - EnforcementBitRate int32 `json:"enforcementBitRate,omitempty" yaml:"enforcementBitRate" bson:"enforcementBitRate,omitempty"` -} diff --git a/models/models/model_eap_auth_method_response_200.go b/models/models/model_eap_auth_method_response_200.go deleted file mode 100644 index 39c1a522..00000000 --- a/models/models/model_eap_auth_method_response_200.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EapAuthMethodResponse200 struct { - // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` - // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` -} diff --git a/models/models/model_eap_session.go b/models/models/model_eap_session.go deleted file mode 100644 index c9c83e78..00000000 --- a/models/models/model_eap_session.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the EAP session. -type EapSession struct { - // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` - // Contains the Kseaf. - KSeaf string `json:"kSeaf,omitempty" yaml:"kSeaf" bson:"kSeaf,omitempty"` - // A map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` - AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` - // Contains the Master Session Key. - Msk string `json:"msk,omitempty" yaml:"msk" bson:"msk,omitempty"` -} diff --git a/models/models/model_early_media_description.go b/models/models/model_early_media_description.go deleted file mode 100644 index 9500171d..00000000 --- a/models/models/model_early_media_description.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EarlyMediaDescription struct { - SDPTimeStamps *SdpTimeStamps `json:"sDPTimeStamps,omitempty" yaml:"sDPTimeStamps" bson:"sDPTimeStamps,omitempty"` - SDPMediaComponent []SdpMediaComponent `json:"sDPMediaComponent,omitempty" yaml:"sDPMediaComponent" bson:"sDPMediaComponent,omitempty"` - SDPSessionDescription []string `json:"sDPSessionDescription,omitempty" yaml:"sDPSessionDescription" bson:"sDPSessionDescription,omitempty"` -} diff --git a/models/models/model_eas_dep_notification.go b/models/models/model_eas_dep_notification.go deleted file mode 100644 index d072a8d5..00000000 --- a/models/models/model_eas_dep_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the EAS Deployment Notifcation. -type EasDepNotification struct { - EasDepInfo *EasDeployInfoData `json:"easDepInfo" yaml:"easDepInfo" bson:"easDepInfo,omitempty"` - EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` -} diff --git a/models/models/model_eas_deploy_info_data.go b/models/models/model_eas_deploy_info_data.go deleted file mode 100644 index d0bb6aec..00000000 --- a/models/models/model_eas_deploy_info_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the EAS Deployment Information to be reported. -type EasDeployInfoData struct { - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // list of DNS server identifier (consisting of IP address and port) and/or IP address(s) of the EAS in the local DN for each DNAI. The key of map is the DNAI. - DnaiInfos map[string]DnaiInformation `json:"dnaiInfos,omitempty" yaml:"dnaiInfos" bson:"dnaiInfos,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - FqdnPatternList []FqdnPatternMatchingRule `json:"fqdnPatternList" yaml:"fqdnPatternList" bson:"fqdnPatternList,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InternalGroupId string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` -} diff --git a/models/models/model_eas_deploy_info_notif.go b/models/models/model_eas_deploy_info_notif.go deleted file mode 100644 index f517efaa..00000000 --- a/models/models/model_eas_deploy_info_notif.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications on EAS Deployment Information changes event(s) that occurred for an Individual EAS Deployment Event Subscription resource. -type EasDeployInfoNotif struct { - EasDepNotifs []EasDepNotification `json:"easDepNotifs" yaml:"easDepNotifs" bson:"easDepNotifs,omitempty"` - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` -} diff --git a/models/models/model_eas_deploy_sub_data.go b/models/models/model_eas_deploy_sub_data.go deleted file mode 100644 index 27e03e91..00000000 --- a/models/models/model_eas_deploy_sub_data.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual EAS Deployment Event Subscription resource. -type EasDeploySubData struct { - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // Each of the element identifies a (DNN, S-NSSAI) combination. - DnnSnssaiInfos []DnnSnssaiInformation `json:"dnnSnssaiInfos,omitempty" yaml:"dnnSnssaiInfos" bson:"dnnSnssaiInfos,omitempty"` - EventId EasEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` - // Represents the EAS Deployment Information changes event(s) to be reported. Shall only be present if the \"immRep\" attribute is included and sets to true, and the current status of EAS Deployment Information is available. - EventsNotifs []EasDeployInfoData `json:"eventsNotifs,omitempty" yaml:"eventsNotifs" bson:"eventsNotifs,omitempty"` - // Indication of immediate reporting. Set to true: requires the immediate reporting of the current status of EAS Deployment Information, if available. Set to false (default): EAS Deployment Information event report occurs when the event is met. - ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` -} diff --git a/models/models/model_eas_deployment_charging_information.go b/models/models/model_eas_deployment_charging_information.go deleted file mode 100644 index 5062d623..00000000 --- a/models/models/model_eas_deployment_charging_information.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type EasDeploymentChargingInformation struct { - EEASDeploymentRequirements *EasRequirements `json:"eEASDeploymentRequirements,omitempty" yaml:"eEASDeploymentRequirements" bson:"eEASDeploymentRequirements,omitempty"` - LCMEventType ManagementOperation `json:"lCMEventType,omitempty" yaml:"lCMEventType" bson:"lCMEventType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LCMStartTime *time.Time `json:"lCMStartTime,omitempty" yaml:"lCMStartTime" bson:"lCMStartTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LCMEndTime *time.Time `json:"lCMEndTime,omitempty" yaml:"lCMEndTime" bson:"lCMEndTime,omitempty"` -} diff --git a/models/models/model_eas_event.go b/models/models/model_eas_event.go deleted file mode 100644 index 286e0995..00000000 --- a/models/models/model_eas_event.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EasEvent string - -// List of EasEvent -const ( - EasEvent_EAS_INFO_CHG EasEvent = "EAS_INFO_CHG" -) diff --git a/models/models/model_eas_ip_replacement_info.go b/models/models/model_eas_ip_replacement_info.go deleted file mode 100644 index 131b5b11..00000000 --- a/models/models/model_eas_ip_replacement_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains EAS IP replacement information for a Source and a Target EAS. -type EasIpReplacementInfo struct { - Source *EasServerAddress `json:"source" yaml:"source" bson:"source,omitempty"` - Target *EasServerAddress `json:"target" yaml:"target" bson:"target,omitempty"` -} diff --git a/models/models/model_eas_requirements.go b/models/models/model_eas_requirements.go deleted file mode 100644 index 0972a1af..00000000 --- a/models/models/model_eas_requirements.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EasRequirements struct { - RequiredEASservingLocation *ServingLocation `json:"requiredEASservingLocation,omitempty" yaml:"requiredEASservingLocation" bson:"requiredEASservingLocation,omitempty"` - SoftwareImageInfo *SoftwareImageInfo `json:"softwareImageInfo,omitempty" yaml:"softwareImageInfo" bson:"softwareImageInfo,omitempty"` - AffinityAntiAffinity *AffinityAntiAffinity `json:"affinityAntiAffinity,omitempty" yaml:"affinityAntiAffinity" bson:"affinityAntiAffinity,omitempty"` - ServiceContinuity bool `json:"serviceContinuity,omitempty" yaml:"serviceContinuity" bson:"serviceContinuity,omitempty"` - VirtualResource *VirtualResource `json:"virtualResource,omitempty" yaml:"virtualResource" bson:"virtualResource,omitempty"` -} diff --git a/models/models/model_eas_server_address.go b/models/models/model_eas_server_address.go deleted file mode 100644 index d2476bfb..00000000 --- a/models/models/model_eas_server_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the IP address and port of an EAS server. -type EasServerAddress struct { - Ip *IpAddr `json:"ip" yaml:"ip" bson:"ip,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Port int32 `json:"port" yaml:"port" bson:"port,omitempty"` -} diff --git a/models/models/model_easdf_info.go b/models/models/model_easdf_info.go deleted file mode 100644 index 76917149..00000000 --- a/models/models/model_easdf_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an EASDF NF Instance -type EasdfInfo struct { - SNssaiEasdfInfoList []SnssaiEasdfInfoItem `json:"sNssaiEasdfInfoList,omitempty" yaml:"sNssaiEasdfInfoList" bson:"sNssaiEasdfInfoList,omitempty"` - EasdfN6IpAddressList []IpAddr `json:"easdfN6IpAddressList,omitempty" yaml:"easdfN6IpAddressList" bson:"easdfN6IpAddressList,omitempty"` - UpfN6IpAddressList []IpAddr `json:"upfN6IpAddressList,omitempty" yaml:"upfN6IpAddressList" bson:"upfN6IpAddressList,omitempty"` -} diff --git a/models/models/model_ebi_arp_mapping.go b/models/models/model_ebi_arp_mapping.go deleted file mode 100644 index 719aef59..00000000 --- a/models/models/model_ebi_arp_mapping.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// EBI to ARP mapping -type EbiArpMapping struct { - // EPS Bearer Identifier - EpsBearerId int32 `json:"epsBearerId" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` - Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` -} diff --git a/models/models/model_ec_restriction.go b/models/models/model_ec_restriction.go deleted file mode 100644 index 9ee7b997..00000000 --- a/models/models/model_ec_restriction.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EcRestriction struct { - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - PlmnEcInfos []PlmnEcInfo `json:"plmnEcInfos,omitempty" yaml:"plmnEcInfos" bson:"plmnEcInfos,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_ecgi.go b/models/models/model_ecgi.go deleted file mode 100644 index 16264e85..00000000 --- a/models/models/model_ecgi.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the ECGI (E-UTRAN Cell Global Identity), as described in 3GPP 23.003 -type Ecgi struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // 28-bit string identifying an E-UTRA Cell Id as specified in clause 9.3.1.9 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. - EutraCellId string `json:"eutraCellId" yaml:"eutraCellId" bson:"eutraCellId,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_ecs_addr_config_info.go b/models/models/model_ecs_addr_config_info.go deleted file mode 100644 index 8ca61f5d..00000000 --- a/models/models/model_ecs_addr_config_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EcsAddrConfigInfo struct { - EcsServerAddr *EcsServerAddr `json:"ecsServerAddr,omitempty" yaml:"ecsServerAddr" bson:"ecsServerAddr,omitempty"` - SpatialValidityCond *SpatialValidityCond `json:"spatialValidityCond,omitempty" yaml:"spatialValidityCond" bson:"spatialValidityCond,omitempty"` -} diff --git a/models/models/model_ecs_server_addr.go b/models/models/model_ecs_server_addr.go deleted file mode 100644 index e968ffaf..00000000 --- a/models/models/model_ecs_server_addr.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Edge Configuration Server Address Configuration Information as defined in clause 5.2.3.6.1 of 3GPP TS 23.502. -type EcsServerAddr struct { - EcsFqdnList []string `json:"ecsFqdnList,omitempty" yaml:"ecsFqdnList" bson:"ecsFqdnList,omitempty"` - EcsIpAddressList []IpAddr `json:"ecsIpAddressList,omitempty" yaml:"ecsIpAddressList" bson:"ecsIpAddressList,omitempty"` - EcsUriList []string `json:"ecsUriList,omitempty" yaml:"ecsUriList" bson:"ecsUriList,omitempty"` - EcsProviderId string `json:"ecsProviderId,omitempty" yaml:"ecsProviderId" bson:"ecsProviderId,omitempty"` -} diff --git a/models/models/model_edge_infrastructure_usage_charging_information.go b/models/models/model_edge_infrastructure_usage_charging_information.go deleted file mode 100644 index 84b523fe..00000000 --- a/models/models/model_edge_infrastructure_usage_charging_information.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type EdgeInfrastructureUsageChargingInformation struct { - // string with format 'float' as defined in OpenAPI. - MeanVirtualCPUUsage float32 `json:"meanVirtualCPUUsage,omitempty" yaml:"meanVirtualCPUUsage" bson:"meanVirtualCPUUsage,omitempty"` - // string with format 'float' as defined in OpenAPI. - MeanVirtualMemoryUsage float32 `json:"meanVirtualMemoryUsage,omitempty" yaml:"meanVirtualMemoryUsage" bson:"meanVirtualMemoryUsage,omitempty"` - // string with format 'float' as defined in OpenAPI. - MeanVirtualDiskUsage float32 `json:"meanVirtualDiskUsage,omitempty" yaml:"meanVirtualDiskUsage" bson:"meanVirtualDiskUsage,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - MeasuredInBytes int32 `json:"measuredInBytes,omitempty" yaml:"measuredInBytes" bson:"measuredInBytes,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - MeasuredOutBytes int32 `json:"measuredOutBytes,omitempty" yaml:"measuredOutBytes" bson:"measuredOutBytes,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - DurationStartTime *time.Time `json:"durationStartTime,omitempty" yaml:"durationStartTime" bson:"durationStartTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - DurationEndTime *time.Time `json:"durationEndTime,omitempty" yaml:"durationEndTime" bson:"durationEndTime,omitempty"` -} diff --git a/models/models/model_edrx_parameters.go b/models/models/model_edrx_parameters.go deleted file mode 100644 index 20f5e88c..00000000 --- a/models/models/model_edrx_parameters.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EdrxParameters struct { - RatType RatType `json:"ratType" yaml:"ratType" bson:"ratType,omitempty"` - EdrxValue string `json:"edrxValue" yaml:"edrxValue" bson:"edrxValue,omitempty"` -} diff --git a/models/models/model_ee_group_profile_data.go b/models/models/model_ee_group_profile_data.go deleted file mode 100644 index 2da2f9d7..00000000 --- a/models/models/model_ee_group_profile_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EeGroupProfileData struct { - RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` - // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. - AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` - // Identifier of a group of NFs. - HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` -} diff --git a/models/models/model_ee_monitoring_revoked.go b/models/models/model_ee_monitoring_revoked.go deleted file mode 100644 index 00296063..00000000 --- a/models/models/model_ee_monitoring_revoked.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EeMonitoringRevoked struct { - // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringEvents - RevokedMonitoringEventList map[string]MonitoringEvent `json:"revokedMonitoringEventList" yaml:"revokedMonitoringEventList" bson:"revokedMonitoringEventList,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - RemovedGpsi string `json:"removedGpsi,omitempty" yaml:"removedGpsi" bson:"removedGpsi,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` -} diff --git a/models/models/model_ee_profile_data.go b/models/models/model_ee_profile_data.go deleted file mode 100644 index c9c6c108..00000000 --- a/models/models/model_ee_profile_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Event Exposure Profile Data. -type EeProfileData struct { - RestrictedEventTypes []UdmEeEventType `json:"restrictedEventTypes,omitempty" yaml:"restrictedEventTypes" bson:"restrictedEventTypes,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // A map (list of key-value pairs where EventType serves as key) of MTC provider lists. In addition to defined EventTypes, the key value \"ALL\" may be used to identify a map entry which contains a list of MtcProviders that are allowed monitoring all Event Types. - AllowedMtcProvider map[string][]MtcProvider `json:"allowedMtcProvider,omitempty" yaml:"allowedMtcProvider" bson:"allowedMtcProvider,omitempty"` - IwkEpcRestricted bool `json:"iwkEpcRestricted,omitempty" yaml:"iwkEpcRestricted" bson:"iwkEpcRestricted,omitempty"` - Imsi string `json:"imsi,omitempty" yaml:"imsi" bson:"imsi,omitempty"` - // Identifier of a group of NFs. - HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` -} diff --git a/models/models/model_ee_subscription.go b/models/models/model_ee_subscription.go deleted file mode 100644 index e44a8768..00000000 --- a/models/models/model_ee_subscription.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EeSubscription struct { -} diff --git a/models/models/model_ee_subscription_ext.go b/models/models/model_ee_subscription_ext.go deleted file mode 100644 index 3c41df18..00000000 --- a/models/models/model_ee_subscription_ext.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EeSubscriptionExt struct { - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations - MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` - ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` - // Fully Qualified Domain Name - ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` - // Fully Qualified Domain Name - ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` - IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` - AmfSubscriptionInfoList []AmfSubscriptionInfo `json:"amfSubscriptionInfoList,omitempty" yaml:"amfSubscriptionInfoList" bson:"amfSubscriptionInfoList,omitempty"` - SmfSubscriptionInfo *SmfSubscriptionInfo `json:"smfSubscriptionInfo,omitempty" yaml:"smfSubscriptionInfo" bson:"smfSubscriptionInfo,omitempty"` - HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` -} diff --git a/models/models/model_ellipsoid_arc.go b/models/models/model_ellipsoid_arc.go deleted file mode 100644 index e937f9a8..00000000 --- a/models/models/model_ellipsoid_arc.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid Arc. -type EllipsoidArc struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - // Indicates value of the inner radius. - InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` - // Indicates value of uncertainty. - UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` - // Indicates value of angle. - OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` - // Indicates value of angle. - IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_emergency_info.go b/models/models/model_emergency_info.go deleted file mode 100644 index 10ddc470..00000000 --- a/models/models/model_emergency_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EmergencyInfo struct { - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - PgwIpAddress *UdmSdmIpAddress `json:"pgwIpAddress,omitempty" yaml:"pgwIpAddress" bson:"pgwIpAddress,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` -} diff --git a/models/models/model_enable_group_reachability_req_data.go b/models/models/model_enable_group_reachability_req_data.go deleted file mode 100644 index 694e62da..00000000 --- a/models/models/model_enable_group_reachability_req_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within the Enable Group Reachability Request -type EnableGroupReachabilityReqData struct { - UeInfoList []AmfMtUeInfo `json:"ueInfoList" yaml:"ueInfoList" bson:"ueInfoList,omitempty"` - Tmgi *Tmgi `json:"tmgi" yaml:"tmgi" bson:"tmgi,omitempty"` - // String providing an URI formatted according to RFC 3986. - ReachabilityNotifyUri string `json:"reachabilityNotifyUri,omitempty" yaml:"reachabilityNotifyUri" bson:"reachabilityNotifyUri,omitempty"` - MbsServiceAreaInfoList []MbsServiceAreaInfo `json:"mbsServiceAreaInfoList,omitempty" yaml:"mbsServiceAreaInfoList" bson:"mbsServiceAreaInfoList,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_enable_group_reachability_rsp_data.go b/models/models/model_enable_group_reachability_rsp_data.go deleted file mode 100644 index b9aa5043..00000000 --- a/models/models/model_enable_group_reachability_rsp_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within the Enable Group Reachability Response -type EnableGroupReachabilityRspData struct { - UeConnectedList []string `json:"ueConnectedList,omitempty" yaml:"ueConnectedList" bson:"ueConnectedList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_enable_ue_reachability_req_data.go b/models/models/model_enable_ue_reachability_req_data.go deleted file mode 100644 index 501db51b..00000000 --- a/models/models/model_enable_ue_reachability_req_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within the Enable UE Reachability Request -type EnableUeReachabilityReqData struct { - Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` - ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` -} diff --git a/models/models/model_enable_ue_reachability_rsp_data.go b/models/models/model_enable_ue_reachability_rsp_data.go deleted file mode 100644 index 65682d14..00000000 --- a/models/models/model_enable_ue_reachability_rsp_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within the Enable UE Reachability Response -type EnableUeReachabilityRspData struct { - Reachability UeReachability `json:"reachability" yaml:"reachability" bson:"reachability,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_endpoint_address.go b/models/models/model_endpoint_address.go deleted file mode 100644 index a41df5bd..00000000 --- a/models/models/model_endpoint_address.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EndpointAddress struct { - Hostname string `json:"hostname,omitempty" yaml:"hostname" bson:"hostname,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` -} diff --git a/models/models/model_enhanced_coverage_restriction_data.go b/models/models/model_enhanced_coverage_restriction_data.go deleted file mode 100644 index bd597e3c..00000000 --- a/models/models/model_enhanced_coverage_restriction_data.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EnhancedCoverageRestrictionData struct { - PlmnEcInfoList []PlmnEcInfo `json:"plmnEcInfoList,omitempty" yaml:"plmnEcInfoList" bson:"plmnEcInfoList,omitempty"` -} diff --git a/models/models/model_enhanced_diagnostics5_g.go b/models/models/model_enhanced_diagnostics5_g.go deleted file mode 100644 index 6f398b36..00000000 --- a/models/models/model_enhanced_diagnostics5_g.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EnhancedDiagnostics5G struct { -} diff --git a/models/models/model_eps_bearer_info.go b/models/models/model_eps_bearer_info.go deleted file mode 100644 index eb4ad7fc..00000000 --- a/models/models/model_eps_bearer_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// EPS Bearer Information from H-SMF to V-SMF, or from SMF to I-SMF -type EpsBearerInfo struct { - // EPS Bearer Identifier - Ebi int32 `json:"ebi" yaml:"ebi" bson:"ebi,omitempty"` - // string with format 'bytes' as defined in OpenAPI - PgwS8uFteid string `json:"pgwS8uFteid" yaml:"pgwS8uFteid" bson:"pgwS8uFteid,omitempty"` - // string with format 'bytes' as defined in OpenAPI - BearerLevelQoS string `json:"bearerLevelQoS" yaml:"bearerLevelQoS" bson:"bearerLevelQoS,omitempty"` -} diff --git a/models/models/model_eps_interworking_indication.go b/models/models/model_eps_interworking_indication.go deleted file mode 100644 index 6f4ae078..00000000 --- a/models/models/model_eps_interworking_indication.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EpsInterworkingIndication string - -// List of EpsInterworkingIndication -const ( - EpsInterworkingIndication_NONE EpsInterworkingIndication = "NONE" - EpsInterworkingIndication_WITH_N26 EpsInterworkingIndication = "WITH_N26" - EpsInterworkingIndication_WITHOUT_N26 EpsInterworkingIndication = "WITHOUT_N26" - EpsInterworkingIndication_IWK_NON_3_GPP EpsInterworkingIndication = "IWK_NON_3GPP" -) diff --git a/models/models/model_eps_interworking_info.go b/models/models/model_eps_interworking_info.go deleted file mode 100644 index 91403320..00000000 --- a/models/models/model_eps_interworking_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EpsInterworkingInfo struct { - // A map (list of key-value pairs where Dnn serves as key) of EpsIwkPgws - EpsIwkPgws map[string]EpsIwkPgw `json:"epsIwkPgws,omitempty" yaml:"epsIwkPgws" bson:"epsIwkPgws,omitempty"` -} diff --git a/models/models/model_eps_iwk_pgw.go b/models/models/model_eps_iwk_pgw.go deleted file mode 100644 index c28683d8..00000000 --- a/models/models/model_eps_iwk_pgw.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EpsIwkPgw struct { - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` -} diff --git a/models/models/model_eps_nas_ciphering_algorithm.go b/models/models/model_eps_nas_ciphering_algorithm.go deleted file mode 100644 index 54a20a36..00000000 --- a/models/models/model_eps_nas_ciphering_algorithm.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EpsNasCipheringAlgorithm string - -// List of EpsNasCipheringAlgorithm -const ( - EpsNasCipheringAlgorithm_EEA0 EpsNasCipheringAlgorithm = "EEA0" - EpsNasCipheringAlgorithm_EEA1 EpsNasCipheringAlgorithm = "EEA1" - EpsNasCipheringAlgorithm_EEA2 EpsNasCipheringAlgorithm = "EEA2" - EpsNasCipheringAlgorithm_EEA3 EpsNasCipheringAlgorithm = "EEA3" -) diff --git a/models/models/model_eps_nas_integrity_algorithm.go b/models/models/model_eps_nas_integrity_algorithm.go deleted file mode 100644 index 6e218543..00000000 --- a/models/models/model_eps_nas_integrity_algorithm.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EpsNasIntegrityAlgorithm string - -// List of EpsNasIntegrityAlgorithm -const ( - EpsNasIntegrityAlgorithm_EIA0 EpsNasIntegrityAlgorithm = "EIA0" - EpsNasIntegrityAlgorithm_EIA1 EpsNasIntegrityAlgorithm = "EIA1" - EpsNasIntegrityAlgorithm_EIA2 EpsNasIntegrityAlgorithm = "EIA2" - EpsNasIntegrityAlgorithm_EIA3 EpsNasIntegrityAlgorithm = "EIA3" -) diff --git a/models/models/model_eps_nas_security_mode.go b/models/models/model_eps_nas_security_mode.go deleted file mode 100644 index b5477c5a..00000000 --- a/models/models/model_eps_nas_security_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the EPS NAS Security Mode -type EpsNasSecurityMode struct { - IntegrityAlgorithm EpsNasIntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` - CipheringAlgorithm EpsNasCipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` -} diff --git a/models/models/model_eps_pdn_cnx_info.go b/models/models/model_eps_pdn_cnx_info.go deleted file mode 100644 index 10ebb1d5..00000000 --- a/models/models/model_eps_pdn_cnx_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// EPS PDN Connection Information from H-SMF to V-SMF, or from SMF to I-SMF -type EpsPdnCnxInfo struct { - // string with format 'bytes' as defined in OpenAPI - PgwS8cFteid string `json:"pgwS8cFteid" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` - // string with format 'bytes' as defined in OpenAPI - PgwNodeName string `json:"pgwNodeName,omitempty" yaml:"pgwNodeName" bson:"pgwNodeName,omitempty"` - // EPS Bearer Identifier - LinkedBearerId int32 `json:"linkedBearerId,omitempty" yaml:"linkedBearerId" bson:"linkedBearerId,omitempty"` -} diff --git a/models/models/model_error_report.go b/models/models/model_error_report.go deleted file mode 100644 index b6dde291..00000000 --- a/models/models/model_error_report.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the rule error reports. -type ErrorReport struct { - Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` - // Used to report the PCC rule failure. - RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` - // Used to report the session rule failure. - SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` - // Used to report failure of the policy decision and/or condition data. - PolDecFailureReports []PolicyDecisionFailureCode `json:"polDecFailureReports,omitempty" yaml:"polDecFailureReports" bson:"polDecFailureReports,omitempty"` - // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. - InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` -} diff --git a/models/models/model_eth_flow_description.go b/models/models/model_eth_flow_description.go deleted file mode 100644 index 1f2cbb37..00000000 --- a/models/models/model_eth_flow_description.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies an Ethernet flow. -type EthFlowDescription struct { - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - DestMacAddr string `json:"destMacAddr,omitempty" yaml:"destMacAddr" bson:"destMacAddr,omitempty"` - EthType string `json:"ethType" yaml:"ethType" bson:"ethType,omitempty"` - // Defines a packet filter of an IP flow. - FDesc string `json:"fDesc,omitempty" yaml:"fDesc" bson:"fDesc,omitempty"` - FDir FlowDirection `json:"fDir,omitempty" yaml:"fDir" bson:"fDir,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - SourceMacAddr string `json:"sourceMacAddr,omitempty" yaml:"sourceMacAddr" bson:"sourceMacAddr,omitempty"` - VlanTags []string `json:"vlanTags,omitempty" yaml:"vlanTags" bson:"vlanTags,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - SrcMacAddrEnd string `json:"srcMacAddrEnd,omitempty" yaml:"srcMacAddrEnd" bson:"srcMacAddrEnd,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - DestMacAddrEnd string `json:"destMacAddrEnd,omitempty" yaml:"destMacAddrEnd" bson:"destMacAddrEnd,omitempty"` -} diff --git a/models/models/model_eth_flow_info.go b/models/models/model_eth_flow_info.go deleted file mode 100644 index c8dd6f5d..00000000 --- a/models/models/model_eth_flow_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents Ethernet flow information. -type EthFlowInfo struct { - // Indicates the Ethernet flow identifier. - FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` - // Indicates the packet filters of the Ethernet flow. It shall contain UL and/or DL Ethernet flow description. - EthFlowDescriptions []EthFlowDescription `json:"ethFlowDescriptions,omitempty" yaml:"ethFlowDescriptions" bson:"ethFlowDescriptions,omitempty"` -} diff --git a/models/models/model_ethernet_flow_info.go b/models/models/model_ethernet_flow_info.go deleted file mode 100644 index 0e585533..00000000 --- a/models/models/model_ethernet_flow_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies an UL/DL ethernet flow. -type EthernetFlowInfo struct { - EthFlows []EthFlowDescription `json:"ethFlows,omitempty" yaml:"ethFlows" bson:"ethFlows,omitempty"` - FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` -} diff --git a/models/models/model_eutra_location.go b/models/models/model_eutra_location.go deleted file mode 100644 index f2643154..00000000 --- a/models/models/model_eutra_location.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the E-UTRA user location. -type EutraLocation struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` - IgnoreTai bool `json:"ignoreTai,omitempty" yaml:"ignoreTai" bson:"ignoreTai,omitempty"` - Ecgi *Ecgi `json:"ecgi" yaml:"ecgi" bson:"ecgi,omitempty"` - // This flag when present shall indicate that the Ecgi shall be ignored When present, it shall be set as follows: - true: ecgi shall be ignored. - false (default): ecgi shall not be ignored. - IgnoreEcgi bool `json:"ignoreEcgi,omitempty" yaml:"ignoreEcgi" bson:"ignoreEcgi,omitempty"` - // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` - // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` - // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` - GlobalNgenbId *GlobalRanNodeId `json:"globalNgenbId,omitempty" yaml:"globalNgenbId" bson:"globalNgenbId,omitempty"` - GlobalENbId *GlobalRanNodeId `json:"globalENbId,omitempty" yaml:"globalENbId" bson:"globalENbId,omitempty"` -} diff --git a/models/models/model_event.go b/models/models/model_event.go deleted file mode 100644 index 26881d5e..00000000 --- a/models/models/model_event.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Event string - -// List of Event -const ( - Event_SUCCESS_UE_POL_DEL_SP Event = "SUCCESS_UE_POL_DEL_SP" - Event_UNSUCCESS_UE_POL_DEL_SP Event = "UNSUCCESS_UE_POL_DEL_SP" -) diff --git a/models/models/model_event_class.go b/models/models/model_event_class.go deleted file mode 100644 index 25d20c0f..00000000 --- a/models/models/model_event_class.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventClass string - -// List of EventClass -const ( - EventClass_SUPPLEMENTARY_SERVICES EventClass = "SUPPLEMENTARY_SERVICES" -) diff --git a/models/models/model_event_for_mdt.go b/models/models/model_event_for_mdt.go deleted file mode 100644 index f0170952..00000000 --- a/models/models/model_event_for_mdt.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventForMdt string - -// List of EventForMdt -const ( - EventForMdt_OUT_OF_COVERAG EventForMdt = "OUT_OF_COVERAG" - EventForMdt_A2_EVENT EventForMdt = "A2_EVENT" -) diff --git a/models/models/model_event_id.go b/models/models/model_event_id.go deleted file mode 100644 index 4b9700a5..00000000 --- a/models/models/model_event_id.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventId string - -// List of EventId -const ( - EventId_LOAD_LEVEL_INFORMATION EventId = "LOAD_LEVEL_INFORMATION" - EventId_NETWORK_PERFORMANCE EventId = "NETWORK_PERFORMANCE" - EventId_NF_LOAD EventId = "NF_LOAD" - EventId_SERVICE_EXPERIENCE EventId = "SERVICE_EXPERIENCE" - EventId_UE_MOBILITY EventId = "UE_MOBILITY" - EventId_UE_COMMUNICATION EventId = "UE_COMMUNICATION" - EventId_QOS_SUSTAINABILITY EventId = "QOS_SUSTAINABILITY" - EventId_ABNORMAL_BEHAVIOUR EventId = "ABNORMAL_BEHAVIOUR" - EventId_USER_DATA_CONGESTION EventId = "USER_DATA_CONGESTION" - EventId_NSI_LOAD_LEVEL EventId = "NSI_LOAD_LEVEL" - EventId_SM_CONGESTION EventId = "SM_CONGESTION" - EventId_DISPERSION EventId = "DISPERSION" - EventId_RED_TRANS_EXP EventId = "RED_TRANS_EXP" - EventId_WLAN_PERFORMANCE EventId = "WLAN_PERFORMANCE" - EventId_DN_PERFORMANCE EventId = "DN_PERFORMANCE" -) diff --git a/models/models/model_event_notification.go b/models/models/model_event_notification.go deleted file mode 100644 index 56364e05..00000000 --- a/models/models/model_event_notification.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a traffic influence event notification. -type EventNotification struct { - // Identifies an NEF Northbound interface transaction, generated by the AF. - AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - SourceTrafficRoute *RouteToLocation `json:"sourceTrafficRoute,omitempty" yaml:"sourceTrafficRoute" bson:"sourceTrafficRoute,omitempty"` - SubscribedEvent SubscribedEvent `json:"subscribedEvent" yaml:"subscribedEvent" bson:"subscribedEvent,omitempty"` - TargetTrafficRoute *RouteToLocation `json:"targetTrafficRoute,omitempty" yaml:"targetTrafficRoute" bson:"targetTrafficRoute,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - SrcUeIpv4Addr string `json:"srcUeIpv4Addr,omitempty" yaml:"srcUeIpv4Addr" bson:"srcUeIpv4Addr,omitempty"` - SrcUeIpv6Prefix string `json:"srcUeIpv6Prefix,omitempty" yaml:"srcUeIpv6Prefix" bson:"srcUeIpv6Prefix,omitempty"` - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - TgtUeIpv4Addr string `json:"tgtUeIpv4Addr,omitempty" yaml:"tgtUeIpv4Addr" bson:"tgtUeIpv4Addr,omitempty"` - TgtUeIpv6Prefix string `json:"tgtUeIpv6Prefix,omitempty" yaml:"tgtUeIpv6Prefix" bson:"tgtUeIpv6Prefix,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - AfAckUri string `json:"afAckUri,omitempty" yaml:"afAckUri" bson:"afAckUri,omitempty"` -} diff --git a/models/models/model_event_param_report.go b/models/models/model_event_param_report.go deleted file mode 100644 index 5568c930..00000000 --- a/models/models/model_event_param_report.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a summarized report for one event parameter. -type EventParamReport struct { - // The name of the reported parameter. - Name string `json:"name" yaml:"name" bson:"name,omitempty"` - // The list of values of the reported parameter. - Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - Area *NetworkAreaInfo `json:"area,omitempty" yaml:"area" bson:"area,omitempty"` - Spacing *NumberAverage `json:"spacing,omitempty" yaml:"spacing" bson:"spacing,omitempty"` - Duration *NumberAverage `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` - AvgAndVar *NumberAverage `json:"avgAndVar,omitempty" yaml:"avgAndVar" bson:"avgAndVar,omitempty"` - MostFreqVal map[string]interface{} `json:"mostFreqVal,omitempty" yaml:"mostFreqVal" bson:"mostFreqVal,omitempty"` - LeastFreqVal map[string]interface{} `json:"leastFreqVal,omitempty" yaml:"leastFreqVal" bson:"leastFreqVal,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Count int32 `json:"count,omitempty" yaml:"count" bson:"count,omitempty"` - // The minimum value of the parameter. - MinValue string `json:"minValue,omitempty" yaml:"minValue" bson:"minValue,omitempty"` - // The maximum value of the parameter. - MaxValue string `json:"maxValue,omitempty" yaml:"maxValue" bson:"maxValue,omitempty"` -} diff --git a/models/models/model_event_report_message.go b/models/models/model_event_report_message.go deleted file mode 100644 index ad4e5e82..00000000 --- a/models/models/model_event_report_message.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates an event report message. -type EventReportMessage struct { - EventClass EventClass `json:"eventClass" yaml:"eventClass" bson:"eventClass,omitempty"` - EventContent *RefToBinaryData `json:"eventContent" yaml:"eventContent" bson:"eventContent,omitempty"` -} diff --git a/models/models/model_event_report_mode.go b/models/models/model_event_report_mode.go deleted file mode 100644 index cde5ecc4..00000000 --- a/models/models/model_event_report_mode.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventReportMode string - -// List of EventReportMode -const ( - EventReportMode_PERIODIC EventReportMode = "PERIODIC" - EventReportMode_ON_EVENT_DETECTION EventReportMode = "ON_EVENT_DETECTION" -) diff --git a/models/models/model_event_reporting_requirement.go b/models/models/model_event_reporting_requirement.go deleted file mode 100644 index e7417b4e..00000000 --- a/models/models/model_event_reporting_requirement.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the type of reporting that the subscription requires. -type EventReportingRequirement struct { - Accuracy NwdafEventsSubscriptionAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` - // Each element indicates the preferred accuracy level per analytics subset. It may be present if the \"listOfAnaSubsets\" attribute is present in the subscription request when the subscription event is NF_LOAD, UE_COMM, DISPERSION, NETWORK_PERFORMANCE, WLAN_PERFORMANCE, DN_PERFORMANCE or SERVICE_EXPERIENCE. - AccPerSubset []NwdafEventsSubscriptionAccuracy `json:"accPerSubset,omitempty" yaml:"accPerSubset" bson:"accPerSubset,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` - // Offset period in units of seconds to the reporting time, if the value is negative means statistics in the past offset period, otherwise a positive value means prediction in the future offset period. May be present if the \"repPeriod\" attribute is included within the \"evtReq\" attribute. - OffsetPeriod int32 `json:"offsetPeriod,omitempty" yaml:"offsetPeriod" bson:"offsetPeriod,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxObjectNbr int32 `json:"maxObjectNbr,omitempty" yaml:"maxObjectNbr" bson:"maxObjectNbr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxSupiNbr int32 `json:"maxSupiNbr,omitempty" yaml:"maxSupiNbr" bson:"maxSupiNbr,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeAnaNeeded *time.Time `json:"timeAnaNeeded,omitempty" yaml:"timeAnaNeeded" bson:"timeAnaNeeded,omitempty"` - AnaMeta []AnalyticsMetadata `json:"anaMeta,omitempty" yaml:"anaMeta" bson:"anaMeta,omitempty"` - AnaMetaInd *AnalyticsMetadataIndication `json:"anaMetaInd,omitempty" yaml:"anaMetaInd" bson:"anaMetaInd,omitempty"` - HistAnaTimePeriod *TimeWindow `json:"histAnaTimePeriod,omitempty" yaml:"histAnaTimePeriod" bson:"histAnaTimePeriod,omitempty"` -} diff --git a/models/models/model_event_reporting_status.go b/models/models/model_event_reporting_status.go deleted file mode 100644 index 72424a7a..00000000 --- a/models/models/model_event_reporting_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the status of event reporting. -type EventReportingStatus struct { - // Number of event reports received from the target UE. - EventReportCounter int32 `json:"eventReportCounter,omitempty" yaml:"eventReportCounter" bson:"eventReportCounter,omitempty"` - // Duration of event reporting. - EventReportDuration int32 `json:"eventReportDuration,omitempty" yaml:"eventReportDuration" bson:"eventReportDuration,omitempty"` -} diff --git a/models/models/model_events_subs.go b/models/models/model_events_subs.go deleted file mode 100644 index de50f028..00000000 --- a/models/models/model_events_subs.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an event to be subscribed and the related event filter information. -type EventsSubs struct { - Event AfEventExposureAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - EventFilter *AfEventExposureEventFilter `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` -} diff --git a/models/models/model_events_subsc_put_data.go b/models/models/model_events_subsc_put_data.go deleted file mode 100644 index 0a567215..00000000 --- a/models/models/model_events_subsc_put_data.go +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Identifies the events the application subscribes to within an Events Subscription sub-resource data. It may contain the notification of the already met events. -type EventsSubscPutData struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` - ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` - // Includes the detected application report. - AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` - AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` - AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` - // String providing an URI formatted according to RFC 3986. - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` - EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` - SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` - NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` - OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` - QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` - // Contains the RAN and/or NAS release cause. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` - UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` -} diff --git a/models/models/model_exception.go b/models/models/model_exception.go deleted file mode 100644 index 364a0628..00000000 --- a/models/models/model_exception.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the Exception information. -type Exception struct { - ExcepId ExceptionId `json:"excepId" yaml:"excepId" bson:"excepId,omitempty"` - ExcepLevel int32 `json:"excepLevel,omitempty" yaml:"excepLevel" bson:"excepLevel,omitempty"` - ExcepTrend ExceptionTrend `json:"excepTrend,omitempty" yaml:"excepTrend" bson:"excepTrend,omitempty"` -} diff --git a/models/models/model_exception_id.go b/models/models/model_exception_id.go deleted file mode 100644 index 545c2440..00000000 --- a/models/models/model_exception_id.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExceptionId string - -// List of ExceptionId -const ( - ExceptionId_UNEXPECTED_UE_LOCATION ExceptionId = "UNEXPECTED_UE_LOCATION" - ExceptionId_UNEXPECTED_LONG_LIVE_FLOW ExceptionId = "UNEXPECTED_LONG_LIVE_FLOW" - ExceptionId_UNEXPECTED_LARGE_RATE_FLOW ExceptionId = "UNEXPECTED_LARGE_RATE_FLOW" - ExceptionId_UNEXPECTED_WAKEUP ExceptionId = "UNEXPECTED_WAKEUP" - ExceptionId_SUSPICION_OF_DDOS_ATTACK ExceptionId = "SUSPICION_OF_DDOS_ATTACK" - ExceptionId_WRONG_DESTINATION_ADDRESS ExceptionId = "WRONG_DESTINATION_ADDRESS" - ExceptionId_TOO_FREQUENT_SERVICE_ACCESS ExceptionId = "TOO_FREQUENT_SERVICE_ACCESS" - ExceptionId_UNEXPECTED_RADIO_LINK_FAILURES ExceptionId = "UNEXPECTED_RADIO_LINK_FAILURES" - ExceptionId_PING_PONG_ACROSS_CELLS ExceptionId = "PING_PONG_ACROSS_CELLS" -) diff --git a/models/models/model_exception_info.go b/models/models/model_exception_info.go deleted file mode 100644 index 3e281f37..00000000 --- a/models/models/model_exception_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the exceptions information provided by the AF. -type ExceptionInfo struct { - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` - Exceps []Exception `json:"exceps" yaml:"exceps" bson:"exceps,omitempty"` -} diff --git a/models/models/model_exception_trend.go b/models/models/model_exception_trend.go deleted file mode 100644 index 59a95091..00000000 --- a/models/models/model_exception_trend.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExceptionTrend string - -// List of ExceptionTrend -const ( - ExceptionTrend_UP ExceptionTrend = "UP" - ExceptionTrend_DOWN ExceptionTrend = "DOWN" - ExceptionTrend_UNKNOW ExceptionTrend = "UNKNOW" - ExceptionTrend_STABLE ExceptionTrend = "STABLE" -) diff --git a/models/models/model_exemption_ind.go b/models/models/model_exemption_ind.go deleted file mode 100644 index 068864cc..00000000 --- a/models/models/model_exemption_ind.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Exemption Indication -type ExemptionInd struct { - DnnCongestion bool `json:"dnnCongestion,omitempty" yaml:"dnnCongestion" bson:"dnnCongestion,omitempty"` - SnssaiOnlyCongestion bool `json:"snssaiOnlyCongestion,omitempty" yaml:"snssaiOnlyCongestion" bson:"snssaiOnlyCongestion,omitempty"` - SnssaiDnnCongestion bool `json:"snssaiDnnCongestion,omitempty" yaml:"snssaiDnnCongestion" bson:"snssaiDnnCongestion,omitempty"` -} diff --git a/models/models/model_expected_analytics_type.go b/models/models/model_expected_analytics_type.go deleted file mode 100644 index 930b647d..00000000 --- a/models/models/model_expected_analytics_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExpectedAnalyticsType string - -// List of ExpectedAnalyticsType -const ( - ExpectedAnalyticsType_MOBILITY ExpectedAnalyticsType = "MOBILITY" - ExpectedAnalyticsType_COMMUN ExpectedAnalyticsType = "COMMUN" - ExpectedAnalyticsType_MOBILITY_AND_COMMUN ExpectedAnalyticsType = "MOBILITY_AND_COMMUN" -) diff --git a/models/models/model_expected_ue_behavior.go b/models/models/model_expected_ue_behavior.go deleted file mode 100644 index 5ae2c1f7..00000000 --- a/models/models/model_expected_ue_behavior.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the expected UE behavior (e.g. UE moving trajectory) and its validity period -type ExpectedUeBehavior struct { - ExpMoveTrajectory []UserLocation `json:"expMoveTrajectory" yaml:"expMoveTrajectory" bson:"expMoveTrajectory,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_expected_ue_behaviour.go b/models/models/model_expected_ue_behaviour.go deleted file mode 100644 index d88dfe1c..00000000 --- a/models/models/model_expected_ue_behaviour.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ExpectedUeBehaviour struct { - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` - ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` - ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` - // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. - ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` - TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` - BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_expected_ue_behaviour_data.go b/models/models/model_expected_ue_behaviour_data.go deleted file mode 100644 index c928905d..00000000 --- a/models/models/model_expected_ue_behaviour_data.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ExpectedUeBehaviourData struct { - StationaryIndication StationaryIndication `json:"stationaryIndication,omitempty" yaml:"stationaryIndication" bson:"stationaryIndication,omitempty"` - // indicating a time in seconds. - CommunicationDurationTime int32 `json:"communicationDurationTime,omitempty" yaml:"communicationDurationTime" bson:"communicationDurationTime,omitempty"` - // indicating a time in seconds. - PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` - ScheduledCommunicationTime *ScheduledCommunicationTime `json:"scheduledCommunicationTime,omitempty" yaml:"scheduledCommunicationTime" bson:"scheduledCommunicationTime,omitempty"` - ScheduledCommunicationType ScheduledCommunicationType `json:"scheduledCommunicationType,omitempty" yaml:"scheduledCommunicationType" bson:"scheduledCommunicationType,omitempty"` - // Identifies the UE's expected geographical movement. The attribute is only applicable in 5G. - ExpectedUmts []UdmPpLocationArea `json:"expectedUmts,omitempty" yaml:"expectedUmts" bson:"expectedUmts,omitempty"` - TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` - BatteryIndication *BatteryIndication `json:"batteryIndication,omitempty" yaml:"batteryIndication" bson:"batteryIndication,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_exposure_data_change_notification.go b/models/models/model_exposure_data_change_notification.go deleted file mode 100644 index b8d60387..00000000 --- a/models/models/model_exposure_data_change_notification.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents changed exposure data for one UE for which Notification was requested. -type ExposureDataChangeNotification struct { - // String represents the SUPI or GPSI - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` - AccessAndMobilityData *AccessAndMobilityData `json:"accessAndMobilityData,omitempty" yaml:"accessAndMobilityData" bson:"accessAndMobilityData,omitempty"` - PduSessionManagementData []PduSessionManagementData `json:"pduSessionManagementData,omitempty" yaml:"pduSessionManagementData" bson:"pduSessionManagementData,omitempty"` - DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` -} diff --git a/models/models/model_exposure_data_subscription.go b/models/models/model_exposure_data_subscription.go deleted file mode 100644 index 630e5057..00000000 --- a/models/models/model_exposure_data_subscription.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a Subscription to Notifications about Exposure Data. -type ExposureDataSubscription struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_ext_amf_event_subscription.go b/models/models/model_ext_amf_event_subscription.go deleted file mode 100644 index 5e9dd01b..00000000 --- a/models/models/model_ext_amf_event_subscription.go +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AMF event subscription extended with additional information received for the subscription -type ExtAmfEventSubscription struct { - EventList []AmfEvent `json:"eventList" yaml:"eventList" bson:"eventList,omitempty"` - // String providing an URI formatted according to RFC 3986. - EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubsChangeNotifyUri string `json:"subsChangeNotifyUri,omitempty" yaml:"subsChangeNotifyUri" bson:"subsChangeNotifyUri,omitempty"` - SubsChangeNotifyCorrelationId string `json:"subsChangeNotifyCorrelationId,omitempty" yaml:"subsChangeNotifyCorrelationId" bson:"subsChangeNotifyCorrelationId,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - ExcludeSupiList []string `json:"excludeSupiList,omitempty" yaml:"excludeSupiList" bson:"excludeSupiList,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` - IncludeSupiList []string `json:"includeSupiList,omitempty" yaml:"includeSupiList" bson:"includeSupiList,omitempty"` - IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - AnyUE bool `json:"anyUE,omitempty" yaml:"anyUE" bson:"anyUE,omitempty"` - Options *AmfEventMode `json:"options,omitempty" yaml:"options" bson:"options,omitempty"` - SourceNfType NrfNfManagementNfType `json:"sourceNfType,omitempty" yaml:"sourceNfType" bson:"sourceNfType,omitempty"` - BindingInfo []string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` - SubscribingNfType NrfNfManagementNfType `json:"subscribingNfType,omitempty" yaml:"subscribingNfType" bson:"subscribingNfType,omitempty"` - EventSyncInd bool `json:"eventSyncInd,omitempty" yaml:"eventSyncInd" bson:"eventSyncInd,omitempty"` - NfConsumerInfo []string `json:"nfConsumerInfo,omitempty" yaml:"nfConsumerInfo" bson:"nfConsumerInfo,omitempty"` - // Map of subscribed Area of Interest (AoI) Event State in the old AMF. The JSON pointer to an AmfEventArea element in the areaList IE (or a PresenceInfo element in presenceInfoList IE) of the AmfEvent data type shall be the key of the map. - AoiStateList map[string]AreaOfInterestEventState `json:"aoiStateList,omitempty" yaml:"aoiStateList" bson:"aoiStateList,omitempty"` -} diff --git a/models/models/model_ext_snssai.go b/models/models/model_ext_snssai.go deleted file mode 100644 index 75699ce9..00000000 --- a/models/models/model_ext_snssai.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The sdRanges and wildcardSd attributes shall be exclusive from each other. If one of these attributes is present, the sd attribute shall also be present and it shall contain one Slice Differentiator value within the range of SD (if the sdRanges attribute is present) or with any value (if the wildcardSd attribute is present). -type ExtSnssai struct { - // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. - Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` - // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. - Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` - // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type - SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` - // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. - WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` -} diff --git a/models/models/model_extended_sm_subs_data.go b/models/models/model_extended_sm_subs_data.go deleted file mode 100644 index f8b4309f..00000000 --- a/models/models/model_extended_sm_subs_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains identifiers of shared Session Management Subscription Data and optionally individual Session Management Subscription Data. -type ExtendedSmSubsData struct { - SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` - IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` -} diff --git a/models/models/model_external_client_type.go b/models/models/model_external_client_type.go deleted file mode 100644 index 67a1f101..00000000 --- a/models/models/model_external_client_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExternalClientType string - -// List of ExternalClientType -const ( - ExternalClientType_EMERGENCY_SERVICES ExternalClientType = "EMERGENCY_SERVICES" - ExternalClientType_VALUE_ADDED_SERVICES ExternalClientType = "VALUE_ADDED_SERVICES" - ExternalClientType_PLMN_OPERATOR_SERVICES ExternalClientType = "PLMN_OPERATOR_SERVICES" - ExternalClientType_LAWFUL_INTERCEPT_SERVICES ExternalClientType = "LAWFUL_INTERCEPT_SERVICES" - ExternalClientType_PLMN_OPERATOR_BROADCAST_SERVICES ExternalClientType = "PLMN_OPERATOR_BROADCAST_SERVICES" - ExternalClientType_PLMN_OPERATOR_OM ExternalClientType = "PLMN_OPERATOR_OM" - ExternalClientType_PLMN_OPERATOR_ANONYMOUS_STATISTICS ExternalClientType = "PLMN_OPERATOR_ANONYMOUS_STATISTICS" - ExternalClientType_PLMN_OPERATOR_TARGET_MS_SERVICE_SUPPORT ExternalClientType = "PLMN_OPERATOR_TARGET_MS_SERVICE_SUPPORT" -) diff --git a/models/models/model_external_unrelated_class.go b/models/models/model_external_unrelated_class.go deleted file mode 100644 index d5e6e5b0..00000000 --- a/models/models/model_external_unrelated_class.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExternalUnrelatedClass struct { - LcsClientExternals []LcsClientExternal `json:"lcsClientExternals,omitempty" yaml:"lcsClientExternals" bson:"lcsClientExternals,omitempty"` - AfExternals []AfExternal `json:"afExternals,omitempty" yaml:"afExternals" bson:"afExternals,omitempty"` - LcsClientGroupExternals []LcsClientGroupExternal `json:"lcsClientGroupExternals,omitempty" yaml:"lcsClientGroupExternals" bson:"lcsClientGroupExternals,omitempty"` -} diff --git a/models/models/model_failure.go b/models/models/model_failure.go deleted file mode 100644 index 21becba9..00000000 --- a/models/models/model_failure.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Possible values are: - UNSPECIFIED: Indicates the PCF received the UE sent UE policy delivery service cause #111 (Protocol error, unspecified). - UE_NOT_REACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable. - UNKNOWN: Indicates unknown reasons upon no response from the UE, e.g. UPDS message type is not defined or not implemented by the UE, or not compatible with the UPDS state, in which the UE shall ignore the UPDS message. - UE_TEMP_UNREACHABLE: Indicates the PCF received the notification from the AMF that the UE is not reachable but the PCF will retry again. -type Failure struct { -} diff --git a/models/models/model_failure_event_info.go b/models/models/model_failure_event_info.go deleted file mode 100644 index e7c6eb57..00000000 --- a/models/models/model_failure_event_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information on the event for which the subscription is not successful. -type FailureEventInfo struct { - Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` - FailureCode NwdafFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` -} diff --git a/models/models/model_failure_event_info_for_ml_model.go b/models/models/model_failure_event_info_for_ml_model.go deleted file mode 100644 index aed453e2..00000000 --- a/models/models/model_failure_event_info_for_ml_model.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the event(s) that the subscription is not successful including the failure reason(s). -type FailureEventInfoForMlModel struct { - Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` - FailureCode NwdafMlModelProvisionFailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode,omitempty"` -} diff --git a/models/models/model_failure_handling.go b/models/models/model_failure_handling.go deleted file mode 100644 index 19ded2f3..00000000 --- a/models/models/model_failure_handling.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FailureHandling string - -// List of FailureHandling -const ( - FailureHandling_TERMINATE FailureHandling = "TERMINATE" - FailureHandling_CONTINUE FailureHandling = "CONTINUE" - FailureHandling_RETRY_AND_TERMINATE FailureHandling = "RETRY_AND_TERMINATE" -) diff --git a/models/models/model_fetch_instruction.go b/models/models/model_fetch_instruction.go deleted file mode 100644 index 16df3f1e..00000000 --- a/models/models/model_fetch_instruction.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// The fetch instructions indicate whether the data or analytics are to be fetched by the consumer. -type FetchInstruction struct { - // String providing an URI formatted according to RFC 3986. - FetchUri string `json:"fetchUri" yaml:"fetchUri" bson:"fetchUri,omitempty"` - // The fetch correlation identifier(s) of the MFAF Data or Analytics. - FetchCorrIds []string `json:"fetchCorrIds" yaml:"fetchCorrIds" bson:"fetchCorrIds,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` -} diff --git a/models/models/model_final_unit_action.go b/models/models/model_final_unit_action.go deleted file mode 100644 index afb78734..00000000 --- a/models/models/model_final_unit_action.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FinalUnitAction string - -// List of FinalUnitAction -const ( - FinalUnitAction_TERMINATE FinalUnitAction = "TERMINATE" - FinalUnitAction_REDIRECT FinalUnitAction = "REDIRECT" - FinalUnitAction_RESTRICT_ACCESS FinalUnitAction = "RESTRICT_ACCESS" -) diff --git a/models/models/model_final_unit_indication.go b/models/models/model_final_unit_indication.go deleted file mode 100644 index 4f6be3ca..00000000 --- a/models/models/model_final_unit_indication.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FinalUnitIndication struct { - FinalUnitAction FinalUnitAction `json:"finalUnitAction" yaml:"finalUnitAction" bson:"finalUnitAction,omitempty"` - RestrictionFilterRule string `json:"restrictionFilterRule,omitempty" yaml:"restrictionFilterRule" bson:"restrictionFilterRule,omitempty"` - RestrictionFilterRuleList []string `json:"restrictionFilterRuleList,omitempty" yaml:"restrictionFilterRuleList" bson:"restrictionFilterRuleList,omitempty"` - FilterId string `json:"filterId,omitempty" yaml:"filterId" bson:"filterId,omitempty"` - FilterIdList []string `json:"filterIdList,omitempty" yaml:"filterIdList" bson:"filterIdList,omitempty"` - RedirectServer *RedirectServer `json:"redirectServer,omitempty" yaml:"redirectServer" bson:"redirectServer,omitempty"` -} diff --git a/models/models/model_fix_type.go b/models/models/model_fix_type.go deleted file mode 100644 index c8390490..00000000 --- a/models/models/model_fix_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FixType string - -// List of FixType -const ( - FixType_FLOAT FixType = "CARRIER_PHASE_FLOAT" - FixType_FIX FixType = "CARRIER_PHASE_FIX" -) diff --git a/models/models/model_flow_direction.go b/models/models/model_flow_direction.go deleted file mode 100644 index f9eec42e..00000000 --- a/models/models/model_flow_direction.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FlowDirection string - -// List of FlowDirection -const ( - FlowDirection_DOWNLINK FlowDirection = "DOWNLINK" - FlowDirection_UPLINK FlowDirection = "UPLINK" - FlowDirection_BIDIRECTIONAL FlowDirection = "BIDIRECTIONAL" - FlowDirection_UNSPECIFIED FlowDirection = "UNSPECIFIED" -) diff --git a/models/models/model_flow_direction_rm.go b/models/models/model_flow_direction_rm.go deleted file mode 100644 index 750d3021..00000000 --- a/models/models/model_flow_direction_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FlowDirectionRm struct { -} diff --git a/models/models/model_flow_info.go b/models/models/model_flow_info.go deleted file mode 100644 index 623411b2..00000000 --- a/models/models/model_flow_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents IP flow information. -type FlowInfo struct { - // Indicates the IP flow identifier. - FlowId int32 `json:"flowId" yaml:"flowId" bson:"flowId,omitempty"` - // Indicates the packet filters of the IP flow. Refer to clause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` -} diff --git a/models/models/model_flow_information.go b/models/models/model_flow_information.go deleted file mode 100644 index 59b9b75a..00000000 --- a/models/models/model_flow_information.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the flow information. -type FlowInformation struct { - // Defines a packet filter for an IP flow. - FlowDescription string `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` - EthFlowDescription *EthFlowDescription `json:"ethFlowDescription,omitempty" yaml:"ethFlowDescription" bson:"ethFlowDescription,omitempty"` - // An identifier of packet filter. - PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` - // The packet shall be sent to the UE. - PacketFilterUsage bool `json:"packetFilterUsage,omitempty" yaml:"packetFilterUsage" bson:"packetFilterUsage,omitempty"` - // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. - TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` - // the security parameter index of the IPSec packet. - Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` - // the Ipv6 flow label header field. - FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` - FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` -} diff --git a/models/models/model_flow_status.go b/models/models/model_flow_status.go deleted file mode 100644 index 26b95090..00000000 --- a/models/models/model_flow_status.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FlowStatus string - -// List of FlowStatus -const ( - FlowStatus_ENABLED_UPLINK FlowStatus = "ENABLED-UPLINK" - FlowStatus_ENABLED_DOWNLINK FlowStatus = "ENABLED-DOWNLINK" - FlowStatus_ENABLED FlowStatus = "ENABLED" - FlowStatus_DISABLED FlowStatus = "DISABLED" - FlowStatus_REMOVED FlowStatus = "REMOVED" -) diff --git a/models/models/model_flow_usage.go b/models/models/model_flow_usage.go deleted file mode 100644 index bcf7f931..00000000 --- a/models/models/model_flow_usage.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FlowUsage string - -// List of FlowUsage -const ( - FlowUsage_NO_INFO FlowUsage = "NO_INFO" - FlowUsage_RTCP FlowUsage = "RTCP" - FlowUsage_AF_SIGNALLING FlowUsage = "AF_SIGNALLING" -) diff --git a/models/models/model_flows.go b/models/models/model_flows.go deleted file mode 100644 index c433d92a..00000000 --- a/models/models/model_flows.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the flows. -type Flows struct { - ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` - FNums []int32 `json:"fNums,omitempty" yaml:"fNums" bson:"fNums,omitempty"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` -} diff --git a/models/models/model_formatting_instruction.go b/models/models/model_formatting_instruction.go deleted file mode 100644 index cdf3f380..00000000 --- a/models/models/model_formatting_instruction.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains data or analytics formatting instructions. -type FormattingInstruction struct { - // Indicates that notifications shall be buffered until the NF service consumer requests their delivery. - ConsTrigNotif bool `json:"consTrigNotif,omitempty" yaml:"consTrigNotif" bson:"consTrigNotif,omitempty"` - ReportingOptions *DccfDataManagementReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` -} diff --git a/models/models/model_fqdn_pattern_matching_rule.go b/models/models/model_fqdn_pattern_matching_rule.go deleted file mode 100644 index aa65e089..00000000 --- a/models/models/model_fqdn_pattern_matching_rule.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// a matching rule for a FQDN pattern -type FqdnPatternMatchingRule struct { - Regex string `json:"regex,omitempty" yaml:"regex" bson:"regex,omitempty"` - StringMatchingRule *StringMatchingRule `json:"stringMatchingRule,omitempty" yaml:"stringMatchingRule" bson:"stringMatchingRule,omitempty"` -} diff --git a/models/models/model_frame_route_info.go b/models/models/model_frame_route_info.go deleted file mode 100644 index 39706741..00000000 --- a/models/models/model_frame_route_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FrameRouteInfo struct { - // \"String identifying a IPv4 address mask formatted in the 'dotted decimal' notation as defined in RFC 1166.\" - Ipv4Mask string `json:"ipv4Mask,omitempty" yaml:"ipv4Mask" bson:"ipv4Mask,omitempty"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` -} diff --git a/models/models/model_g_nb_id.go b/models/models/model_g_nb_id.go deleted file mode 100644 index 7e26e8fc..00000000 --- a/models/models/model_g_nb_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides the G-NB identifier. -type GNbId struct { - // Unsigned integer representing the bit length of the gNB ID as defined in clause 9.3.1.6 of 3GPP TS 38.413 [11], within the range 22 to 32. - BitLength int32 `json:"bitLength" yaml:"bitLength" bson:"bitLength,omitempty"` - // This represents the identifier of the gNB. The value of the gNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, the most significant character representing the padding 0 if required together with the 4 most significant bits of the gNB ID shall appear first in the string, and the character representing the 4 least significant bit of the gNB ID shall appear last in the string. - GNBValue string `json:"gNBValue" yaml:"gNBValue" bson:"gNBValue,omitempty"` -} diff --git a/models/models/model_gad_shape.go b/models/models/model_gad_shape.go deleted file mode 100644 index 9f5c73c3..00000000 --- a/models/models/model_gad_shape.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Common base type for GAD shapes. -type GadShape struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` -} diff --git a/models/models/model_gba_auth_type.go b/models/models/model_gba_auth_type.go deleted file mode 100644 index cffd1f4e..00000000 --- a/models/models/model_gba_auth_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GbaAuthType string - -// List of GbaAuthType -const ( - GbaAuthType_DIGEST_AKAV1_MD5 GbaAuthType = "DIGEST_AKAV1_MD5" -) diff --git a/models/models/model_gba_authentication_info_request.go b/models/models/model_gba_authentication_info_request.go deleted file mode 100644 index 79b4d88f..00000000 --- a/models/models/model_gba_authentication_info_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GbaAuthenticationInfoRequest struct { - AuthType GbaAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_gba_authentication_info_result.go b/models/models/model_gba_authentication_info_result.go deleted file mode 100644 index 82c91036..00000000 --- a/models/models/model_gba_authentication_info_result.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GbaAuthenticationInfoResult struct { - Var3gAkaAv *Model3GAkaAv `json:"3gAkaAv,omitempty" yaml:"3gAkaAv" bson:"3gAkaAv,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_geo_loc.go b/models/models/model_geo_loc.go deleted file mode 100644 index dca19d9c..00000000 --- a/models/models/model_geo_loc.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GeoLoc struct { - GeographicalCoordinates *GeographicalCoordinates `json:"geographicalCoordinates,omitempty" yaml:"geographicalCoordinates" bson:"geographicalCoordinates,omitempty"` - CivicLocation string `json:"civicLocation,omitempty" yaml:"civicLocation" bson:"civicLocation,omitempty"` -} diff --git a/models/models/model_geo_service_area.go b/models/models/model_geo_service_area.go deleted file mode 100644 index 2a7c81ac..00000000 --- a/models/models/model_geo_service_area.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of geographic area or list of civic address info -type GeoServiceArea struct { - GeographicAreaList []GeographicArea `json:"geographicAreaList,omitempty" yaml:"geographicAreaList" bson:"geographicAreaList,omitempty"` - CivicAddressList []CivicAddress `json:"civicAddressList,omitempty" yaml:"civicAddressList" bson:"civicAddressList,omitempty"` -} diff --git a/models/models/model_geographic_area.go b/models/models/model_geographic_area.go deleted file mode 100644 index 9bc925df..00000000 --- a/models/models/model_geographic_area.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Geographic area specified by different shape. -type GeographicArea struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - // Indicates value of uncertainty. - Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` - // List of points. - PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` - // Indicates value of uncertainty. - UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` - // Indicates value of the inner radius. - InnerRadius int32 `json:"innerRadius" yaml:"innerRadius" bson:"innerRadius,omitempty"` - // Indicates value of uncertainty. - UncertaintyRadius float32 `json:"uncertaintyRadius" yaml:"uncertaintyRadius" bson:"uncertaintyRadius,omitempty"` - // Indicates value of angle. - OffsetAngle int32 `json:"offsetAngle" yaml:"offsetAngle" bson:"offsetAngle,omitempty"` - // Indicates value of angle. - IncludedAngle int32 `json:"includedAngle" yaml:"includedAngle" bson:"includedAngle,omitempty"` -} diff --git a/models/models/model_geographical_area.go b/models/models/model_geographical_area.go deleted file mode 100644 index f3197fc5..00000000 --- a/models/models/model_geographical_area.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains geographical area information (e.g.a civic address or shapes). -type GeographicalArea struct { - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - Shapes *GeographicArea `json:"shapes,omitempty" yaml:"shapes" bson:"shapes,omitempty"` -} diff --git a/models/models/model_geographical_coordinates.go b/models/models/model_geographical_coordinates.go deleted file mode 100644 index 057d1c67..00000000 --- a/models/models/model_geographical_coordinates.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GeographicalCoordinates struct { - Lattitude int32 `json:"lattitude,omitempty" yaml:"lattitude" bson:"lattitude,omitempty"` - Longitude int32 `json:"longitude,omitempty" yaml:"longitude" bson:"longitude,omitempty"` -} diff --git a/models/models/model_gera_location.go b/models/models/model_gera_location.go deleted file mode 100644 index b64a24f3..00000000 --- a/models/models/model_gera_location.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Exactly one of cgi, sai or lai shall be present. -type GeraLocation struct { - // Location number within the PLMN. See 3GPP TS 23.003, clause 4.5. - LocationNumber string `json:"locationNumber,omitempty" yaml:"locationNumber" bson:"locationNumber,omitempty"` - Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` - Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` - Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` - Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` - // VLR number. See 3GPP TS 23.003 clause 5.1. - VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` - // MSC number. See 3GPP TS 23.003 clause 5.1. - MscNumber string `json:"mscNumber,omitempty" yaml:"mscNumber" bson:"mscNumber,omitempty"` - // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` - // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` - // Refers to Calling Geodetic Location.See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` -} diff --git a/models/models/model_global_ran_node_id.go b/models/models/model_global_ran_node_id.go deleted file mode 100644 index 4d6ae95d..00000000 --- a/models/models/model_global_ran_node_id.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// One of the six attributes n3IwfId, gNbIdm, ngeNbId, wagfId, tngfId, eNbId shall be present. -type GlobalRanNodeId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // This represents the identifier of the N3IWF ID as specified in clause 9.3.1.57 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. - N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` - GNbId *GNbId `json:"gNbId,omitempty" yaml:"gNbId" bson:"gNbId,omitempty"` - // This represents the identifier of the ng-eNB ID as specified in clause 9.3.1.8 of 3GPP TS 38.413. The value of the ng-eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the ng-eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the ng-eNB ID (to form a nibble) shall appear last in the string. - NgeNbId string `json:"ngeNbId,omitempty" yaml:"ngeNbId" bson:"ngeNbId,omitempty"` - // This represents the identifier of the W-AGF ID as specified in clause 9.3.1.162 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the W-AGF ID shall appear first in the string, and the character representing the 4 least significant bit of the W-AGF ID shall appear last in the string. - WagfId string `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` - // This represents the identifier of the TNGF ID as specified in clause 9.3.1.161 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TNGF ID shall appear first in the string, and the character representing the 4 least significant bit of the TNGF ID shall appear last in the string. - TngfId string `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` - // This represents the identifier of the eNB ID as specified in clause 9.2.1.37 of 3GPP TS 36.413. The string shall be formatted with the following pattern '^('MacroeNB-[A-Fa-f0-9]{5}|LMacroeNB-[A-Fa-f0-9]{6}|SMacroeNB-[A-Fa-f0-9]{5} |HomeeNB-[A-Fa-f0-9]{7})$'. The value of the eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the eNB ID (to form a nibble) shall appear last in the string. - ENbId string `json:"eNbId,omitempty" yaml:"eNbId" bson:"eNbId,omitempty"` -} diff --git a/models/models/model_gmlc_info.go b/models/models/model_gmlc_info.go deleted file mode 100644 index 369a3eac..00000000 --- a/models/models/model_gmlc_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a GMLC NF Instance -type GmlcInfo struct { - ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` - GmlcNumbers []string `json:"gmlcNumbers,omitempty" yaml:"gmlcNumbers" bson:"gmlcNumbers,omitempty"` -} diff --git a/models/models/model_gnss_id.go b/models/models/model_gnss_id.go deleted file mode 100644 index fec61bbd..00000000 --- a/models/models/model_gnss_id.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GnssId string - -// List of GnssId -const ( - GnssId_GPS GnssId = "GPS" - GnssId_GALILEO GnssId = "GALILEO" - GnssId_SBAS GnssId = "SBAS" - GnssId_MODERNIZED_GPS GnssId = "MODERNIZED_GPS" - GnssId_QZSS GnssId = "QZSS" - GnssId_GLONASS GnssId = "GLONASS" - GnssId_BDS GnssId = "BDS" - GnssId_NAVIC GnssId = "NAVIC" -) diff --git a/models/models/model_gnss_positioning_method_and_usage.go b/models/models/model_gnss_positioning_method_and_usage.go deleted file mode 100644 index e5adff36..00000000 --- a/models/models/model_gnss_positioning_method_and_usage.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the usage of a Global Navigation Satellite System (GNSS) positioning method. -type GnssPositioningMethodAndUsage struct { - Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` - Gnss GnssId `json:"gnss" yaml:"gnss" bson:"gnss,omitempty"` - Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` -} diff --git a/models/models/model_gpsi_type.go b/models/models/model_gpsi_type.go deleted file mode 100644 index 95fe313f..00000000 --- a/models/models/model_gpsi_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GpsiType string - -// List of GpsiType -const ( - GpsiType_MSISDN GpsiType = "MSISDN" - GpsiType_EXT_ID GpsiType = "EXT_ID" - GpsiType_EXT_GROUP_ID GpsiType = "EXT_GROUP_ID" -) diff --git a/models/models/model_granted_unit.go b/models/models/model_granted_unit.go deleted file mode 100644 index 041d9880..00000000 --- a/models/models/model_granted_unit.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type GrantedUnit struct { - // string with format 'date-time' as defined in OpenAPI. - TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` -} diff --git a/models/models/model_group_identifiers.go b/models/models/model_group_identifiers.go deleted file mode 100644 index 32ba255e..00000000 --- a/models/models/model_group_identifiers.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// External or Internal Group Identifier with a list of group members -type GroupIdentifiers struct { - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` - UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` - AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` -} diff --git a/models/models/model_guami.go b/models/models/model_guami.go deleted file mode 100644 index 11d7e601..00000000 --- a/models/models/model_guami.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Globally Unique AMF Identifier constructed out of PLMN, Network and AMF identity. -type Guami struct { - PlmnId *PlmnIdNid `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 6 hexadecimal characters (i.e., 24 bits). - AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` -} diff --git a/models/models/model_guami_list_cond.go b/models/models/model_guami_list_cond.go deleted file mode 100644 index 5055086c..00000000 --- a/models/models/model_guami_list_cond.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of AMFs, based on their GUAMIs -type GuamiListCond struct { - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` -} diff --git a/models/models/model_header_sip_request.go b/models/models/model_header_sip_request.go deleted file mode 100644 index c63ba68a..00000000 --- a/models/models/model_header_sip_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a header (and optionally value of the header) in the SIP request -type HeaderSipRequest struct { - Header string `json:"header" yaml:"header" bson:"header,omitempty"` - Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` -} diff --git a/models/models/model_hfc_node_id.go b/models/models/model_hfc_node_id.go deleted file mode 100644 index 783a6261..00000000 --- a/models/models/model_hfc_node_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// REpresents the HFC Node Identifer received over NGAP. -type HfcNodeId struct { - // This IE represents the identifier of the HFC node Id as specified in CableLabs WR-TR-5WWC-ARCH. It is provisioned by the wireline operator as part of wireline operations and may contain up to six characters. - HfcNId string `json:"hfcNId" yaml:"hfcNId" bson:"hfcNId,omitempty"` -} diff --git a/models/models/model_high_accuracy_gnss_metrics.go b/models/models/model_high_accuracy_gnss_metrics.go deleted file mode 100644 index 7f341a03..00000000 --- a/models/models/model_high_accuracy_gnss_metrics.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// High Accuracy GNSS Positioning Metrics. -type HighAccuracyGnssMetrics struct { - NrOfUsedSatellites int32 `json:"nrOfUsedSatellites,omitempty" yaml:"nrOfUsedSatellites" bson:"nrOfUsedSatellites,omitempty"` - Hdopi int32 `json:"hdopi,omitempty" yaml:"hdopi" bson:"hdopi,omitempty"` - Pdopi int32 `json:"pdopi,omitempty" yaml:"pdopi" bson:"pdopi,omitempty"` - Age int32 `json:"age,omitempty" yaml:"age" bson:"age,omitempty"` - FixType FixType `json:"fixType,omitempty" yaml:"fixType" bson:"fixType,omitempty"` -} diff --git a/models/models/model_historical_data.go b/models/models/model_historical_data.go deleted file mode 100644 index 3c16b648..00000000 --- a/models/models/model_historical_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains historical data related to an analytics subscription. -type HistoricalData struct { - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` - // Information about subscriptions with the data sources. - SubsWithSources []SpecificDataSubscription `json:"subsWithSources,omitempty" yaml:"subsWithSources" bson:"subsWithSources,omitempty"` - // Historical data related to the analytics. - Data []DataNotification `json:"data" yaml:"data" bson:"data,omitempty"` -} diff --git a/models/models/model_ho_state.go b/models/models/model_ho_state.go deleted file mode 100644 index 9e081f47..00000000 --- a/models/models/model_ho_state.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HoState string - -// List of HoState -const ( - HoState_NONE HoState = "NONE" - HoState_PREPARING HoState = "PREPARING" - HoState_PREPARED HoState = "PREPARED" - HoState_COMPLETED HoState = "COMPLETED" - HoState_CANCELLED HoState = "CANCELLED" -) diff --git a/models/models/model_horizontal_velocity.go b/models/models/model_horizontal_velocity.go deleted file mode 100644 index 9e3d0c13..00000000 --- a/models/models/model_horizontal_velocity.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Horizontal velocity. -type HorizontalVelocity struct { - // Indicates value of horizontal speed. - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` - // Indicates value of angle. - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` -} diff --git a/models/models/model_horizontal_velocity_with_uncertainty.go b/models/models/model_horizontal_velocity_with_uncertainty.go deleted file mode 100644 index e0acf48e..00000000 --- a/models/models/model_horizontal_velocity_with_uncertainty.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Horizontal velocity with speed uncertainty. -type HorizontalVelocityWithUncertainty struct { - // Indicates value of horizontal speed. - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` - // Indicates value of angle. - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` - // Indicates value of speed uncertainty. - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` -} diff --git a/models/models/model_horizontal_with_vertical_velocity.go b/models/models/model_horizontal_with_vertical_velocity.go deleted file mode 100644 index 5ccbe403..00000000 --- a/models/models/model_horizontal_with_vertical_velocity.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Horizontal and vertical velocity. -type HorizontalWithVerticalVelocity struct { - // Indicates value of horizontal speed. - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` - // Indicates value of angle. - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` - // Indicates value of vertical speed. - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` -} diff --git a/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go b/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go deleted file mode 100644 index 7176b174..00000000 --- a/models/models/model_horizontal_with_vertical_velocity_and_uncertainty.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Horizontal and vertical velocity with speed uncertainty. -type HorizontalWithVerticalVelocityAndUncertainty struct { - // Indicates value of horizontal speed. - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` - // Indicates value of angle. - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` - // Indicates value of vertical speed. - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` - // Indicates value of speed uncertainty. - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` - // Indicates value of speed uncertainty. - VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` -} diff --git a/models/models/model_hsmf_update_data.go b/models/models/model_hsmf_update_data.go deleted file mode 100644 index d61607f0..00000000 --- a/models/models/model_hsmf_update_data.go +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update Request towards H-SMF, or from I-SMF to SMF -type HsmfUpdateData struct { - RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` - IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` - AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - PauseCharging bool `json:"pauseCharging,omitempty" yaml:"pauseCharging" bson:"pauseCharging,omitempty"` - // Procedure Transaction Identifier - Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` - QosFlowsRelNotifyList []QosFlowItem `json:"qosFlowsRelNotifyList,omitempty" yaml:"qosFlowsRelNotifyList" bson:"qosFlowsRelNotifyList,omitempty"` - QosFlowsNotifyList []QosFlowNotifyItem `json:"qosFlowsNotifyList,omitempty" yaml:"qosFlowsNotifyList" bson:"qosFlowsNotifyList,omitempty"` - NotifyList []PduSessionNotifyItem `json:"NotifyList,omitempty" yaml:"NotifyList" bson:"NotifyList,omitempty"` - EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` - HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` - SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` - AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` - MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - UnavailableAccessInd UnavailableAccessIndication `json:"unavailableAccessInd,omitempty" yaml:"unavailableAccessInd" bson:"unavailableAccessInd,omitempty"` - PsaInfo []PsaInformation `json:"psaInfo,omitempty" yaml:"psaInfo" bson:"psaInfo,omitempty"` - UlclBpInfo *UlclBpInformation `json:"ulclBpInfo,omitempty" yaml:"ulclBpInfo" bson:"ulclBpInfo,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - // String providing an URI formatted according to RFC 3986. - VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` - VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` - ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` - DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` - SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` - UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` - SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` - PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` - SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` - MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` -} diff --git a/models/models/model_hsmf_update_error.go b/models/models/model_hsmf_update_error.go deleted file mode 100644 index 5323ab2d..00000000 --- a/models/models/model_hsmf_update_error.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Error within Update Response from H-SMF, or from SMF to I-SMF -type HsmfUpdateError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - // Procedure Transaction Identifier - Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` - N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` - // indicating a time in seconds. - BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` -} diff --git a/models/models/model_hsmf_updated_data.go b/models/models/model_hsmf_updated_data.go deleted file mode 100644 index 63f7b798..00000000 --- a/models/models/model_hsmf_updated_data.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update Response from H-SMF, or from SMF to I-SMF -type HsmfUpdatedData struct { - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` - HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` - MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` - QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` - EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` - // Procedure Transaction Identifier - Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - // String providing an URI formatted according to RFC 3986. - IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` -} diff --git a/models/models/model_hss_auth_type.go b/models/models/model_hss_auth_type.go deleted file mode 100644 index 9f2c7d2d..00000000 --- a/models/models/model_hss_auth_type.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAuthType string - -// List of HssAuthType -const ( - HssAuthType_EPS_AKA HssAuthType = "EPS_AKA" - HssAuthType_EAP_AKA HssAuthType = "EAP_AKA" - HssAuthType_EAP_AKA_PRIME HssAuthType = "EAP_AKA_PRIME" - HssAuthType_IMS_AKA HssAuthType = "IMS_AKA" - HssAuthType_GBA_AKA HssAuthType = "GBA_AKA" - HssAuthType_UMTS_AKA HssAuthType = "UMTS_AKA" -) diff --git a/models/models/model_hss_auth_type_in_uri.go b/models/models/model_hss_auth_type_in_uri.go deleted file mode 100644 index 7e9fcf68..00000000 --- a/models/models/model_hss_auth_type_in_uri.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAuthTypeInUri string - -// List of HssAuthTypeInUri -const ( - HssAuthTypeInUri_EPS_AKA HssAuthTypeInUri = "eps-aka" - HssAuthTypeInUri_EAP_AKA HssAuthTypeInUri = "eap-aka" - HssAuthTypeInUri_EAP_AKA_PRIME HssAuthTypeInUri = "eap-aka-prime" - HssAuthTypeInUri_IMS_AKA HssAuthTypeInUri = "ims-aka" - HssAuthTypeInUri_GBA_AKA HssAuthTypeInUri = "gba-aka" -) diff --git a/models/models/model_hss_authentication_info_request.go b/models/models/model_hss_authentication_info_request.go deleted file mode 100644 index 32887bcb..00000000 --- a/models/models/model_hss_authentication_info_request.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAuthenticationInfoRequest struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - HssAuthType HssAuthType `json:"hssAuthType" yaml:"hssAuthType" bson:"hssAuthType,omitempty"` - NumOfRequestedVectors int32 `json:"numOfRequestedVectors" yaml:"numOfRequestedVectors" bson:"numOfRequestedVectors,omitempty"` - RequestingNodeType NodeType `json:"requestingNodeType,omitempty" yaml:"requestingNodeType" bson:"requestingNodeType,omitempty"` - ServingNetworkId *PlmnId `json:"servingNetworkId,omitempty" yaml:"servingNetworkId" bson:"servingNetworkId,omitempty"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` - AnId AccessNetworkId `json:"anId,omitempty" yaml:"anId" bson:"anId,omitempty"` -} diff --git a/models/models/model_hss_authentication_info_result.go b/models/models/model_hss_authentication_info_result.go deleted file mode 100644 index 9e244a5e..00000000 --- a/models/models/model_hss_authentication_info_result.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAuthenticationInfoResult struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - HssAuthenticationVectors *HssAuthenticationVectors `json:"hssAuthenticationVectors" yaml:"hssAuthenticationVectors" bson:"hssAuthenticationVectors,omitempty"` -} diff --git a/models/models/model_hss_authentication_vectors.go b/models/models/model_hss_authentication_vectors.go deleted file mode 100644 index ea10b89d..00000000 --- a/models/models/model_hss_authentication_vectors.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAuthenticationVectors struct { -} diff --git a/models/models/model_hss_av_type.go b/models/models/model_hss_av_type.go deleted file mode 100644 index 9014bf0b..00000000 --- a/models/models/model_hss_av_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssAvType string - -// List of HssAvType -const ( - HssAvType_EPS_AKA HssAvType = "EPS_AKA" - HssAvType_EAP_AKA HssAvType = "EAP_AKA" - HssAvType_IMS_AKA HssAvType = "IMS_AKA" - HssAvType_GBA_AKA HssAvType = "GBA_AKA" - HssAvType_UMTS_AKA HssAvType = "UMTS_AKA" -) diff --git a/models/models/model_hss_info.go b/models/models/model_hss_info.go deleted file mode 100644 index 198f7598..00000000 --- a/models/models/model_hss_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an HSS NF Instance -type HssInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - ImsiRanges []ImsiRange `json:"imsiRanges,omitempty" yaml:"imsiRanges" bson:"imsiRanges,omitempty"` - ImsPrivateIdentityRanges []IdentityRange `json:"imsPrivateIdentityRanges,omitempty" yaml:"imsPrivateIdentityRanges" bson:"imsPrivateIdentityRanges,omitempty"` - ImsPublicIdentityRanges []IdentityRange `json:"imsPublicIdentityRanges,omitempty" yaml:"imsPublicIdentityRanges" bson:"imsPublicIdentityRanges,omitempty"` - MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - HssDiameterAddress *NetworkNodeDiameterAddress `json:"hssDiameterAddress,omitempty" yaml:"hssDiameterAddress" bson:"hssDiameterAddress,omitempty"` -} diff --git a/models/models/model_hss_subscription_info.go b/models/models/model_hss_subscription_info.go deleted file mode 100644 index a11ee1f2..00000000 --- a/models/models/model_hss_subscription_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information related to active subscriptions at the HSS(s) -type HssSubscriptionInfo struct { - HssSubscriptionList []HssSubscriptionItem `json:"hssSubscriptionList" yaml:"hssSubscriptionList" bson:"hssSubscriptionList,omitempty"` -} diff --git a/models/models/model_hss_subscription_item.go b/models/models/model_hss_subscription_item.go deleted file mode 100644 index 62ab43ca..00000000 --- a/models/models/model_hss_subscription_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains info about a single HSS event subscription -type HssSubscriptionItem struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HssInstanceId string `json:"hssInstanceId" yaml:"hssInstanceId" bson:"hssInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` -} diff --git a/models/models/model_hssims_sdm_access_type.go b/models/models/model_hssims_sdm_access_type.go deleted file mode 100644 index f2a7de96..00000000 --- a/models/models/model_hssims_sdm_access_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssimsSdmAccessType string - -// List of HssimsSDMAccessType -const ( - HssimsSdmAccessType__3_GPP_ACCESS HssimsSdmAccessType = "3GPP_ACCESS" - HssimsSdmAccessType_NON_3_GPP_ACCESS HssimsSdmAccessType = "NON_3GPP_ACCESS" -) diff --git a/models/models/model_hssims_sdm_data_set_name.go b/models/models/model_hssims_sdm_data_set_name.go deleted file mode 100644 index 81280391..00000000 --- a/models/models/model_hssims_sdm_data_set_name.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type HssimsSdmDataSetName string - -// List of HssimsSDMDataSetName -const ( - HssimsSdmDataSetName_CHARGING_DATA HssimsSdmDataSetName = "CHARGING_DATA" - HssimsSdmDataSetName_IFC_DATA HssimsSdmDataSetName = "IFC_DATA" - HssimsSdmDataSetName_TRACE_DATA HssimsSdmDataSetName = "TRACE_DATA" - HssimsSdmDataSetName_PRIORITY_DATA HssimsSdmDataSetName = "PRIORITY_DATA" -) diff --git a/models/models/model_hssims_sdm_shared_data.go b/models/models/model_hssims_sdm_shared_data.go deleted file mode 100644 index b763e6ed..00000000 --- a/models/models/model_hssims_sdm_shared_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a part of the IMS Profile data shared by several UEs -type HssimsSdmSharedData struct { - // Identifies globally and uniquely a piece of subscription data shared by multiple UEs; the value shall start with the HPLMN id (MCC/MNC) followed by a hyphen followed by a local Id as allocated by the home network operator - SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` - SharedImsIfcData *Ifcs `json:"sharedImsIfcData,omitempty" yaml:"sharedImsIfcData" bson:"sharedImsIfcData,omitempty"` -} diff --git a/models/models/model_hssims_uecm_extended_problem_details.go b/models/models/model_hssims_uecm_extended_problem_details.go deleted file mode 100644 index b17f57ac..00000000 --- a/models/models/model_hssims_uecm_extended_problem_details.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nhss_imsUECM - * - * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extension of the ProblemDetails data type, to include additional information in an error response message -type HssimsUecmExtendedProblemDetails struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - ScscfServerName string `json:"scscfServerName,omitempty" yaml:"scscfServerName" bson:"scscfServerName,omitempty"` -} diff --git a/models/models/model_id_translation_result.go b/models/models/model_id_translation_result.go deleted file mode 100644 index 48c8c6f5..00000000 --- a/models/models/model_id_translation_result.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IdTranslationResult struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - AdditionalSupis []string `json:"additionalSupis,omitempty" yaml:"additionalSupis" bson:"additionalSupis,omitempty"` - AdditionalGpsis []string `json:"additionalGpsis,omitempty" yaml:"additionalGpsis" bson:"additionalGpsis,omitempty"` -} diff --git a/models/models/model_identity_data.go b/models/models/model_identity_data.go deleted file mode 100644 index b5c963b3..00000000 --- a/models/models/model_identity_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identity data corresponds to the provided ueId. -type IdentityData struct { - SupiList []string `json:"supiList,omitempty" yaml:"supiList" bson:"supiList,omitempty"` - GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` - AllowedAfIds []string `json:"allowedAfIds,omitempty" yaml:"allowedAfIds" bson:"allowedAfIds,omitempty"` - // A map (list of key-value pairs where AppPortId serves as key) of GPSIs. - ApplicationPortIds map[string]string `json:"applicationPortIds,omitempty" yaml:"applicationPortIds" bson:"applicationPortIds,omitempty"` -} diff --git a/models/models/model_identity_range.go b/models/models/model_identity_range.go deleted file mode 100644 index 409eb25a..00000000 --- a/models/models/model_identity_range.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of GPSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching -type IdentityRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_identity_type.go b/models/models/model_identity_type.go deleted file mode 100644 index f404ee18..00000000 --- a/models/models/model_identity_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IdentityType string - -// List of IdentityType -const ( - IdentityType_DISTINCT_IMPU IdentityType = "DISTINCT_IMPU" - IdentityType_DISTINCT_PSI IdentityType = "DISTINCT_PSI" - IdentityType_WILDCARDED_IMPU IdentityType = "WILDCARDED_IMPU" - IdentityType_WILDCARDED_PSI IdentityType = "WILDCARDED_PSI" -) diff --git a/models/models/model_idle_status_indication.go b/models/models/model_idle_status_indication.go deleted file mode 100644 index 8ec8cd5d..00000000 --- a/models/models/model_idle_status_indication.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the idle status indication. -type IdleStatusIndication struct { - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` - // indicating a time in seconds. - ActiveTime int32 `json:"activeTime,omitempty" yaml:"activeTime" bson:"activeTime,omitempty"` - // indicating a time in seconds. - SubsRegTimer int32 `json:"subsRegTimer,omitempty" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` - EdrxCycleLength int32 `json:"edrxCycleLength,omitempty" yaml:"edrxCycleLength" bson:"edrxCycleLength,omitempty"` - SuggestedNumOfDlPackets int32 `json:"suggestedNumOfDlPackets,omitempty" yaml:"suggestedNumOfDlPackets" bson:"suggestedNumOfDlPackets,omitempty"` -} diff --git a/models/models/model_ifc.go b/models/models/model_ifc.go deleted file mode 100644 index 408fd0e1..00000000 --- a/models/models/model_ifc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data associated to an individual IFC (Initial Filter Criteria) -type Ifc struct { - Priority int32 `json:"priority" yaml:"priority" bson:"priority,omitempty"` - Trigger *TriggerPoint `json:"trigger,omitempty" yaml:"trigger" bson:"trigger,omitempty"` - AppServer *ApplicationServer `json:"appServer" yaml:"appServer" bson:"appServer,omitempty"` -} diff --git a/models/models/model_ifcs.go b/models/models/model_ifcs.go deleted file mode 100644 index 097a2a2d..00000000 --- a/models/models/model_ifcs.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of IFCs associated to the IMS public Identity -type Ifcs struct { - IfcList []Ifc `json:"ifcList,omitempty" yaml:"ifcList" bson:"ifcList,omitempty"` - CscfFilterSetIdList []int32 `json:"cscfFilterSetIdList,omitempty" yaml:"cscfFilterSetIdList" bson:"cscfFilterSetIdList,omitempty"` -} diff --git a/models/models/model_imei_sv_information.go b/models/models/model_imei_sv_information.go deleted file mode 100644 index a07f90d6..00000000 --- a/models/models/model_imei_sv_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMEI(SV) information -type ImeiSvInformation struct { - // IMEI of the UE - Imei string `json:"imei,omitempty" yaml:"imei" bson:"imei,omitempty"` - // IMEISV of the UE - ImeiSv string `json:"imeiSv,omitempty" yaml:"imeiSv" bson:"imeiSv,omitempty"` -} diff --git a/models/models/model_immediate_mdt_conf.go b/models/models/model_immediate_mdt_conf.go deleted file mode 100644 index f751a19b..00000000 --- a/models/models/model_immediate_mdt_conf.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Immediate MDT Configuration -type ImmediateMdtConf struct { - JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` - MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` - MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` - ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` - ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` - ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` - ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` - EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` - EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` - EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` - EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` - CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` - CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` - MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` - AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` - PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` - AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` - MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` - SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` -} diff --git a/models/models/model_immediate_report.go b/models/models/model_immediate_report.go deleted file mode 100644 index 6eb8e511..00000000 --- a/models/models/model_immediate_report.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImmediateReport struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` - UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` - UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` - UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` - SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` - LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` - LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` - V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` - LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` - ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` - MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` - UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` -} diff --git a/models/models/model_ims_address.go b/models/models/model_ims_address.go deleted file mode 100644 index 272f2006..00000000 --- a/models/models/model_ims_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - E164 string `json:"e164,omitempty" yaml:"e164" bson:"e164,omitempty"` -} diff --git a/models/models/model_ims_associated_identities.go b/models/models/model_ims_associated_identities.go deleted file mode 100644 index fa76b706..00000000 --- a/models/models/model_ims_associated_identities.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A list of identities belonging to the same Implicit Registration Set (IRS), along with the registration state of the IRS -type ImsAssociatedIdentities struct { - IrsState ImsRegistrationState `json:"irsState" yaml:"irsState" bson:"irsState,omitempty"` - PublicIdentities *PublicIdentities `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` -} diff --git a/models/models/model_ims_charging_information.go b/models/models/model_ims_charging_information.go deleted file mode 100644 index 40b17a12..00000000 --- a/models/models/model_ims_charging_information.go +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ImsChargingInformation struct { - EventType *SipEventType `json:"eventType,omitempty" yaml:"eventType" bson:"eventType,omitempty"` - IMSNodeFunctionality ImsNodeFunctionality `json:"iMSNodeFunctionality,omitempty" yaml:"iMSNodeFunctionality" bson:"iMSNodeFunctionality,omitempty"` - RoleOfNode RoleOfImsNode `json:"roleOfNode,omitempty" yaml:"roleOfNode" bson:"roleOfNode,omitempty"` - UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - Var3gppPSDataOffStatus Model3GpppsDataOffStatus `json:"3gppPSDataOffStatus,omitempty" yaml:"3gppPSDataOffStatus" bson:"3gppPSDataOffStatus,omitempty"` - IsupCause *IsupCause `json:"isupCause,omitempty" yaml:"isupCause" bson:"isupCause,omitempty"` - ControlPlaneAddress *ImsAddress `json:"controlPlaneAddress,omitempty" yaml:"controlPlaneAddress" bson:"controlPlaneAddress,omitempty"` - VlrNumber string `json:"vlrNumber,omitempty" yaml:"vlrNumber" bson:"vlrNumber,omitempty"` - MscAddress string `json:"mscAddress,omitempty" yaml:"mscAddress" bson:"mscAddress,omitempty"` - UserSessionID string `json:"userSessionID,omitempty" yaml:"userSessionID" bson:"userSessionID,omitempty"` - OutgoingSessionID string `json:"outgoingSessionID,omitempty" yaml:"outgoingSessionID" bson:"outgoingSessionID,omitempty"` - SessionPriority ImsSessionPriority `json:"sessionPriority,omitempty" yaml:"sessionPriority" bson:"sessionPriority,omitempty"` - CallingPartyAddresses []string `json:"callingPartyAddresses,omitempty" yaml:"callingPartyAddresses" bson:"callingPartyAddresses,omitempty"` - CalledPartyAddress string `json:"calledPartyAddress,omitempty" yaml:"calledPartyAddress" bson:"calledPartyAddress,omitempty"` - NumberPortabilityRoutinginformation string `json:"numberPortabilityRoutinginformation,omitempty" yaml:"numberPortabilityRoutinginformation" bson:"numberPortabilityRoutinginformation,omitempty"` - CarrierSelectRoutingInformation string `json:"carrierSelectRoutingInformation,omitempty" yaml:"carrierSelectRoutingInformation" bson:"carrierSelectRoutingInformation,omitempty"` - AlternateChargedPartyAddress string `json:"alternateChargedPartyAddress,omitempty" yaml:"alternateChargedPartyAddress" bson:"alternateChargedPartyAddress,omitempty"` - RequestedPartyAddress []string `json:"requestedPartyAddress,omitempty" yaml:"requestedPartyAddress" bson:"requestedPartyAddress,omitempty"` - CalledAssertedIdentities []string `json:"calledAssertedIdentities,omitempty" yaml:"calledAssertedIdentities" bson:"calledAssertedIdentities,omitempty"` - CalledIdentityChanges []CalledIdentityChange `json:"calledIdentityChanges,omitempty" yaml:"calledIdentityChanges" bson:"calledIdentityChanges,omitempty"` - AssociatedURI []string `json:"associatedURI,omitempty" yaml:"associatedURI" bson:"associatedURI,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamps *time.Time `json:"timeStamps,omitempty" yaml:"timeStamps" bson:"timeStamps,omitempty"` - ApplicationServerInformation []string `json:"applicationServerInformation,omitempty" yaml:"applicationServerInformation" bson:"applicationServerInformation,omitempty"` - InterOperatorIdentifier []InterOperatorIdentifier `json:"interOperatorIdentifier,omitempty" yaml:"interOperatorIdentifier" bson:"interOperatorIdentifier,omitempty"` - ImsChargingIdentifier string `json:"imsChargingIdentifier,omitempty" yaml:"imsChargingIdentifier" bson:"imsChargingIdentifier,omitempty"` - RelatedICID string `json:"relatedICID,omitempty" yaml:"relatedICID" bson:"relatedICID,omitempty"` - RelatedICIDGenerationNode string `json:"relatedICIDGenerationNode,omitempty" yaml:"relatedICIDGenerationNode" bson:"relatedICIDGenerationNode,omitempty"` - TransitIOIList []string `json:"transitIOIList,omitempty" yaml:"transitIOIList" bson:"transitIOIList,omitempty"` - EarlyMediaDescription []EarlyMediaDescription `json:"earlyMediaDescription,omitempty" yaml:"earlyMediaDescription" bson:"earlyMediaDescription,omitempty"` - SdpSessionDescription []string `json:"sdpSessionDescription,omitempty" yaml:"sdpSessionDescription" bson:"sdpSessionDescription,omitempty"` - SdpMediaComponent []SdpMediaComponent `json:"sdpMediaComponent,omitempty" yaml:"sdpMediaComponent" bson:"sdpMediaComponent,omitempty"` - ServedPartyIPAddress *ImsAddress `json:"servedPartyIPAddress,omitempty" yaml:"servedPartyIPAddress" bson:"servedPartyIPAddress,omitempty"` - ServerCapabilities *ServerCapabilities `json:"serverCapabilities,omitempty" yaml:"serverCapabilities" bson:"serverCapabilities,omitempty"` - TrunkGroupID *TrunkGroupId `json:"trunkGroupID,omitempty" yaml:"trunkGroupID" bson:"trunkGroupID,omitempty"` - BearerService string `json:"bearerService,omitempty" yaml:"bearerService" bson:"bearerService,omitempty"` - ImsServiceId string `json:"imsServiceId,omitempty" yaml:"imsServiceId" bson:"imsServiceId,omitempty"` - MessageBodies []MessageBody `json:"messageBodies,omitempty" yaml:"messageBodies" bson:"messageBodies,omitempty"` - AccessNetworkInformation []string `json:"accessNetworkInformation,omitempty" yaml:"accessNetworkInformation" bson:"accessNetworkInformation,omitempty"` - AdditionalAccessNetworkInformation string `json:"additionalAccessNetworkInformation,omitempty" yaml:"additionalAccessNetworkInformation" bson:"additionalAccessNetworkInformation,omitempty"` - CellularNetworkInformation string `json:"cellularNetworkInformation,omitempty" yaml:"cellularNetworkInformation" bson:"cellularNetworkInformation,omitempty"` - AccessTransferInformation []AccessTransferInformation `json:"accessTransferInformation,omitempty" yaml:"accessTransferInformation" bson:"accessTransferInformation,omitempty"` - AccessNetworkInfoChange []AccessNetworkInfoChange `json:"accessNetworkInfoChange,omitempty" yaml:"accessNetworkInfoChange" bson:"accessNetworkInfoChange,omitempty"` - ImsCommunicationServiceID string `json:"imsCommunicationServiceID,omitempty" yaml:"imsCommunicationServiceID" bson:"imsCommunicationServiceID,omitempty"` - ImsApplicationReferenceID string `json:"imsApplicationReferenceID,omitempty" yaml:"imsApplicationReferenceID" bson:"imsApplicationReferenceID,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - CauseCode int32 `json:"causeCode,omitempty" yaml:"causeCode" bson:"causeCode,omitempty"` - ReasonHeader []string `json:"reasonHeader,omitempty" yaml:"reasonHeader" bson:"reasonHeader,omitempty"` - InitialIMSChargingIdentifier string `json:"initialIMSChargingIdentifier,omitempty" yaml:"initialIMSChargingIdentifier" bson:"initialIMSChargingIdentifier,omitempty"` - NniInformation []NniInformation `json:"nniInformation,omitempty" yaml:"nniInformation" bson:"nniInformation,omitempty"` - FromAddress string `json:"fromAddress,omitempty" yaml:"fromAddress" bson:"fromAddress,omitempty"` - ImsEmergencyIndication bool `json:"imsEmergencyIndication,omitempty" yaml:"imsEmergencyIndication" bson:"imsEmergencyIndication,omitempty"` - ImsVisitedNetworkIdentifier string `json:"imsVisitedNetworkIdentifier,omitempty" yaml:"imsVisitedNetworkIdentifier" bson:"imsVisitedNetworkIdentifier,omitempty"` - SipRouteHeaderReceived string `json:"sipRouteHeaderReceived,omitempty" yaml:"sipRouteHeaderReceived" bson:"sipRouteHeaderReceived,omitempty"` - SipRouteHeaderTransmitted string `json:"sipRouteHeaderTransmitted,omitempty" yaml:"sipRouteHeaderTransmitted" bson:"sipRouteHeaderTransmitted,omitempty"` - TadIdentifier TadIdentifier `json:"tadIdentifier,omitempty" yaml:"tadIdentifier" bson:"tadIdentifier,omitempty"` - FeIdentifierList string `json:"feIdentifierList,omitempty" yaml:"feIdentifierList" bson:"feIdentifierList,omitempty"` -} diff --git a/models/models/model_ims_location_data.go b/models/models/model_ims_location_data.go deleted file mode 100644 index f4a781b5..00000000 --- a/models/models/model_ims_location_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Location Data (S-CSCF name) -type ImsLocationData struct { - ScscfName string `json:"scscfName" yaml:"scscfName" bson:"scscfName,omitempty"` -} diff --git a/models/models/model_ims_node_functionality.go b/models/models/model_ims_node_functionality.go deleted file mode 100644 index 156334b2..00000000 --- a/models/models/model_ims_node_functionality.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsNodeFunctionality string - -// List of IMSNodeFunctionality -const ( - ImsNodeFunctionality_S_CSCF ImsNodeFunctionality = "S_CSCF" - ImsNodeFunctionality_P_CSCF ImsNodeFunctionality = "P_CSCF" - ImsNodeFunctionality_I_CSCF ImsNodeFunctionality = "I_CSCF" - ImsNodeFunctionality_MRFC ImsNodeFunctionality = "MRFC" - ImsNodeFunctionality_MGCF ImsNodeFunctionality = "MGCF" - ImsNodeFunctionality_BGCF ImsNodeFunctionality = "BGCF" - ImsNodeFunctionality_AS ImsNodeFunctionality = "AS" - ImsNodeFunctionality_IBCF ImsNodeFunctionality = "IBCF" - ImsNodeFunctionality_S_GW ImsNodeFunctionality = "S-GW" - ImsNodeFunctionality_P_GW ImsNodeFunctionality = "P-GW" - ImsNodeFunctionality_HSGW ImsNodeFunctionality = "HSGW" - ImsNodeFunctionality_E_CSCF ImsNodeFunctionality = "E-CSCF" - ImsNodeFunctionality_MME ImsNodeFunctionality = "MME" - ImsNodeFunctionality_TRF ImsNodeFunctionality = "TRF" - ImsNodeFunctionality_TF ImsNodeFunctionality = "TF" - ImsNodeFunctionality_ATCF ImsNodeFunctionality = "ATCF" - ImsNodeFunctionality_PROXY ImsNodeFunctionality = "PROXY" - ImsNodeFunctionality_EPDG ImsNodeFunctionality = "EPDG" - ImsNodeFunctionality_TDF ImsNodeFunctionality = "TDF" - ImsNodeFunctionality_TWAG ImsNodeFunctionality = "TWAG" - ImsNodeFunctionality_SCEF ImsNodeFunctionality = "SCEF" - ImsNodeFunctionality_IWK_SCEF ImsNodeFunctionality = "IWK_SCEF" - ImsNodeFunctionality_IMS_GWF ImsNodeFunctionality = "IMS_GWF" -) diff --git a/models/models/model_ims_profile_data.go b/models/models/model_ims_profile_data.go deleted file mode 100644 index 15cea482..00000000 --- a/models/models/model_ims_profile_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// User's IMS profile data -type ImsProfileData struct { - ImsServiceProfiles []ImsServiceProfile `json:"imsServiceProfiles" yaml:"imsServiceProfiles" bson:"imsServiceProfiles,omitempty"` - ChargingInfo *ChargingInfo `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` - ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` - ServicePriorityLevelList []string `json:"servicePriorityLevelList,omitempty" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MaxAllowedSimulReg int32 `json:"maxAllowedSimulReg,omitempty" yaml:"maxAllowedSimulReg" bson:"maxAllowedSimulReg,omitempty"` - ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` -} diff --git a/models/models/model_ims_registration_state.go b/models/models/model_ims_registration_state.go deleted file mode 100644 index 391e3f27..00000000 --- a/models/models/model_ims_registration_state.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsRegistrationState string - -// List of ImsRegistrationState -const ( - ImsRegistrationState_REGISTERED ImsRegistrationState = "REGISTERED" - ImsRegistrationState_NOT_REGISTERED ImsRegistrationState = "NOT_REGISTERED" - ImsRegistrationState_AUTHENTICATION_PENDING ImsRegistrationState = "AUTHENTICATION_PENDING" - ImsRegistrationState_REGISTERED_UNREG_SERVICES ImsRegistrationState = "REGISTERED_UNREG_SERVICES" -) diff --git a/models/models/model_ims_registration_status.go b/models/models/model_ims_registration_status.go deleted file mode 100644 index 085eeec0..00000000 --- a/models/models/model_ims_registration_status.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Registration status of the user -type ImsRegistrationStatus struct { - ImsUserStatus ImsRegistrationState `json:"imsUserStatus" yaml:"imsUserStatus" bson:"imsUserStatus,omitempty"` -} diff --git a/models/models/model_ims_registration_type.go b/models/models/model_ims_registration_type.go deleted file mode 100644 index fff25fc0..00000000 --- a/models/models/model_ims_registration_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nhss_imsUECM - * - * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsRegistrationType string - -// List of ImsRegistrationType -const ( - ImsRegistrationType_INITIAL_REGISTRATION ImsRegistrationType = "INITIAL_REGISTRATION" - ImsRegistrationType_RE_REGISTRATION ImsRegistrationType = "RE_REGISTRATION" - ImsRegistrationType_TIMEOUT_DEREGISTRATION ImsRegistrationType = "TIMEOUT_DEREGISTRATION" - ImsRegistrationType_USER_DEREGISTRATION ImsRegistrationType = "USER_DEREGISTRATION" - ImsRegistrationType_ADMINISTRATIVE_DEREGISTRATION ImsRegistrationType = "ADMINISTRATIVE_DEREGISTRATION" - ImsRegistrationType_AUTHENTICATION_FAILURE ImsRegistrationType = "AUTHENTICATION_FAILURE" - ImsRegistrationType_AUTHENTICATION_TIMEOUT ImsRegistrationType = "AUTHENTICATION_TIMEOUT" - ImsRegistrationType_UNREGISTERED_USER ImsRegistrationType = "UNREGISTERED_USER" -) diff --git a/models/models/model_ims_sdm_subscription.go b/models/models/model_ims_sdm_subscription.go deleted file mode 100644 index a48de04f..00000000 --- a/models/models/model_ims_sdm_subscription.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// A subscription to notifications of data change -type ImsSdmSubscription struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` -} diff --git a/models/models/model_ims_service_profile.go b/models/models/model_ims_service_profile.go deleted file mode 100644 index 14d3a0cf..00000000 --- a/models/models/model_ims_service_profile.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Service Profile of the UE, containing the list of Public Identifiers and optionally a list of IFCs -type ImsServiceProfile struct { - PublicIdentifierList []PublicIdentifier `json:"publicIdentifierList" yaml:"publicIdentifierList" bson:"publicIdentifierList,omitempty"` - Ifcs *Ifcs `json:"ifcs,omitempty" yaml:"ifcs" bson:"ifcs,omitempty"` - CnServiceAuthorization *CoreNetworkServiceAuthorization `json:"cnServiceAuthorization,omitempty" yaml:"cnServiceAuthorization" bson:"cnServiceAuthorization,omitempty"` -} diff --git a/models/models/model_ims_session_priority.go b/models/models/model_ims_session_priority.go deleted file mode 100644 index 9c163969..00000000 --- a/models/models/model_ims_session_priority.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsSessionPriority string - -// List of IMSSessionPriority -const ( - ImsSessionPriority__0 ImsSessionPriority = "PRIORITY_0" - ImsSessionPriority__1 ImsSessionPriority = "PRIORITY_1" - ImsSessionPriority__2 ImsSessionPriority = "PRIORITY_2" - ImsSessionPriority__3 ImsSessionPriority = "PRIORITY_3" - ImsSessionPriority__4 ImsSessionPriority = "PRIORITY_4" -) diff --git a/models/models/model_ims_vo_ps.go b/models/models/model_ims_vo_ps.go deleted file mode 100644 index 6f2150bd..00000000 --- a/models/models/model_ims_vo_ps.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsVoPs string - -// List of ImsVoPs -const ( - ImsVoPs_HOMOGENEOUS_SUPPORT ImsVoPs = "HOMOGENEOUS_SUPPORT" - ImsVoPs_HOMOGENEOUS_NON_SUPPORT ImsVoPs = "HOMOGENEOUS_NON_SUPPORT" - ImsVoPs_NON_HOMOGENEOUS_OR_UNKNOWN ImsVoPs = "NON_HOMOGENEOUS_OR_UNKNOWN" -) diff --git a/models/models/model_ims_voice_over_ps_session_support.go b/models/models/model_ims_voice_over_ps_session_support.go deleted file mode 100644 index f1719110..00000000 --- a/models/models/model_ims_voice_over_ps_session_support.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ImsVoiceOverPsSessionSupport string - -// List of ImsVoiceOverPsSessionSupport -const ( - ImsVoiceOverPsSessionSupport_NOT_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_NOT_SUPPORTED" - ImsVoiceOverPsSessionSupport_SUPPORTED ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORTED" - ImsVoiceOverPsSessionSupport_SUPPORT_UNKNOWN ImsVoiceOverPsSessionSupport = "IMS_VOICE_OVER_PS_SUPPORT_UNKNOWN" -) diff --git a/models/models/model_imsi_range.go b/models/models/model_imsi_range.go deleted file mode 100644 index be3976e7..00000000 --- a/models/models/model_imsi_range.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of IMSIs (subscriber identities), either based on a numeric range, or based on regular-expression matching -type ImsiRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_indirect_data_forwarding_tunnel_info.go b/models/models/model_indirect_data_forwarding_tunnel_info.go deleted file mode 100644 index eea678f1..00000000 --- a/models/models/model_indirect_data_forwarding_tunnel_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indirect Data Forwarding Tunnel Information -type IndirectDataForwardingTunnelInfo struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // GTP Tunnel Endpoint Identifier - GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` - // Data Radio Bearer Identity - DrbId int32 `json:"drbId,omitempty" yaml:"drbId" bson:"drbId,omitempty"` - // indicates first, second or third additional indirect data forwarding tunnel - AdditionalTnlNb int32 `json:"additionalTnlNb,omitempty" yaml:"additionalTnlNb" bson:"additionalTnlNb,omitempty"` -} diff --git a/models/models/model_integrity_algorithm.go b/models/models/model_integrity_algorithm.go deleted file mode 100644 index a54c8a31..00000000 --- a/models/models/model_integrity_algorithm.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IntegrityAlgorithm string - -// List of IntegrityAlgorithm -const ( - IntegrityAlgorithm_NIA0 IntegrityAlgorithm = "NIA0" - IntegrityAlgorithm_NIA1 IntegrityAlgorithm = "NIA1" - IntegrityAlgorithm_NIA2 IntegrityAlgorithm = "NIA2" - IntegrityAlgorithm_NIA3 IntegrityAlgorithm = "NIA3" -) diff --git a/models/models/model_integrity_requirements.go b/models/models/model_integrity_requirements.go deleted file mode 100644 index af72c5a9..00000000 --- a/models/models/model_integrity_requirements.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// integrity requirements. -type IntegrityRequirements struct { - // Contains the time-to-alert - TimeToAlert int32 `json:"timeToAlert,omitempty" yaml:"timeToAlert" bson:"timeToAlert,omitempty"` - // Contains the target integrity risk - TargetIntegrityRisk int32 `json:"targetIntegrityRisk,omitempty" yaml:"targetIntegrityRisk" bson:"targetIntegrityRisk,omitempty"` - AlertLimit *AlertLimit `json:"alertLimit,omitempty" yaml:"alertLimit" bson:"alertLimit,omitempty"` -} diff --git a/models/models/model_inter_freq_target_info.go b/models/models/model_inter_freq_target_info.go deleted file mode 100644 index aeedad41..00000000 --- a/models/models/model_inter_freq_target_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the Inter Frequency Target information. -type InterFreqTargetInfo struct { - // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. - DlCarrierFreq int32 `json:"dlCarrierFreq" yaml:"dlCarrierFreq" bson:"dlCarrierFreq,omitempty"` - // When present, this IE shall contain a list of the physical cell identities where the UE is requested to perform measurement logging for the indicated frequency. - CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` -} diff --git a/models/models/model_inter_operator_identifier.go b/models/models/model_inter_operator_identifier.go deleted file mode 100644 index e8b47de0..00000000 --- a/models/models/model_inter_operator_identifier.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InterOperatorIdentifier struct { - OriginatingIOI string `json:"originatingIOI,omitempty" yaml:"originatingIOI" bson:"originatingIOI,omitempty"` - TerminatingIOI string `json:"terminatingIOI,omitempty" yaml:"terminatingIOI" bson:"terminatingIOI,omitempty"` -} diff --git a/models/models/model_interface_type.go b/models/models/model_interface_type.go deleted file mode 100644 index 98719c60..00000000 --- a/models/models/model_interface_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InterfaceType string - -// List of InterfaceType -const ( - InterfaceType_UNKNOWN InterfaceType = "UNKNOWN" - InterfaceType_MOBILE_ORIGINATING InterfaceType = "MOBILE_ORIGINATING" - InterfaceType_MOBILE_TERMINATING InterfaceType = "MOBILE_TERMINATING" - InterfaceType_APPLICATION_ORIGINATING InterfaceType = "APPLICATION_ORIGINATING" - InterfaceType_APPLICATION_TERMINATING InterfaceType = "APPLICATION_TERMINATING" -) diff --git a/models/models/model_interface_upf_info_item.go b/models/models/model_interface_upf_info_item.go deleted file mode 100644 index 55025351..00000000 --- a/models/models/model_interface_upf_info_item.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a given IP interface of an UPF -type InterfaceUpfInfoItem struct { - InterfaceType UpInterfaceType `json:"interfaceType" yaml:"interfaceType" bson:"interfaceType,omitempty"` - Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` - Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` - // Fully Qualified Domain Name - EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` - NetworkInstance string `json:"networkInstance,omitempty" yaml:"networkInstance" bson:"networkInstance,omitempty"` -} diff --git a/models/models/model_internal_group_id_range.go b/models/models/model_internal_group_id_range.go deleted file mode 100644 index 6dfe8216..00000000 --- a/models/models/model_internal_group_id_range.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of Group IDs (internal group identities), either based on a numeric range, or based on regular-expression matching -type InternalGroupIdRange struct { - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_invalid_cause.go b/models/models/model_invalid_cause.go deleted file mode 100644 index 80bce7da..00000000 --- a/models/models/model_invalid_cause.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InvalidCause string - -// List of InvalidCause -const ( - InvalidCause_SUBSRIPTION_WITHDRAWAL InvalidCause = "SUBSRIPTION_WITHDRAWAL" - InvalidCause_DNN_REMOVED InvalidCause = "DNN_REMOVED" - InvalidCause_SLICE_REMOVED InvalidCause = "SLICE_REMOVED" - InvalidCause_AUTHORIZATION_REVOKED InvalidCause = "AUTHORIZATION_REVOKED" -) diff --git a/models/models/model_invalid_param.go b/models/models/model_invalid_param.go deleted file mode 100644 index dcf60ec7..00000000 --- a/models/models/model_invalid_param.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the description of invalid parameters, for a request rejected due to invalid parameters. -type InvalidParam struct { - // Attribute's name encoded as a JSON Pointer, or header's name. - Param string `json:"param" yaml:"param" bson:"param,omitempty"` - // A human-readable reason, e.g. \"must be a positive integer\". - Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` -} diff --git a/models/models/model_invocation_result.go b/models/models/model_invocation_result.go deleted file mode 100644 index 940c1274..00000000 --- a/models/models/model_invocation_result.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InvocationResult struct { - Error *ProblemDetails `json:"error,omitempty" yaml:"error" bson:"error,omitempty"` - FailureHandling FailureHandling `json:"failureHandling,omitempty" yaml:"failureHandling" bson:"failureHandling,omitempty"` -} diff --git a/models/models/model_ip_addr.go b/models/models/model_ip_addr.go deleted file mode 100644 index df9329ab..00000000 --- a/models/models/model_ip_addr.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains an IP adresse. -type IpAddr struct { - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` -} diff --git a/models/models/model_ip_end_point.go b/models/models/model_ip_end_point.go deleted file mode 100644 index c904096f..00000000 --- a/models/models/model_ip_end_point.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IP addressing information of a given NFService; it consists on, e.g. IP address, TCP port, transport protocol... -type IpEndPoint struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` - Ipv6Address string `json:"ipv6Address,omitempty" yaml:"ipv6Address" bson:"ipv6Address,omitempty"` - Transport NrfNfManagementTransportProtocol `json:"transport,omitempty" yaml:"transport" bson:"transport,omitempty"` - Port int32 `json:"port,omitempty" yaml:"port" bson:"port,omitempty"` -} diff --git a/models/models/model_ip_eth_flow_description.go b/models/models/model_ip_eth_flow_description.go deleted file mode 100644 index 43fb6880..00000000 --- a/models/models/model_ip_eth_flow_description.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the description of an Uplink and/or Downlink Ethernet flow. -type IpEthFlowDescription struct { - // Defines a packet filter of an IP flow. - IpTrafficFilter string `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` -} diff --git a/models/models/model_ip_flow_info.go b/models/models/model_ip_flow_info.go deleted file mode 100644 index 42e39b3b..00000000 --- a/models/models/model_ip_flow_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies an UL/DL IP flow. -type IpFlowInfo struct { - IpFlows []string `json:"ipFlows,omitempty" yaml:"ipFlows" bson:"ipFlows,omitempty"` - FlowNumber int32 `json:"flowNumber" yaml:"flowNumber" bson:"flowNumber,omitempty"` -} diff --git a/models/models/model_ip_multicast_address_info.go b/models/models/model_ip_multicast_address_info.go deleted file mode 100644 index 6bbdc2f7..00000000 --- a/models/models/model_ip_multicast_address_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the IP multicast addressing information. -type IpMulticastAddressInfo struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4MulAddr string `json:"ipv4MulAddr,omitempty" yaml:"ipv4MulAddr" bson:"ipv4MulAddr,omitempty"` - SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` - Ipv6MulAddr string `json:"ipv6MulAddr,omitempty" yaml:"ipv6MulAddr" bson:"ipv6MulAddr,omitempty"` -} diff --git a/models/models/model_ip_packet_filter_set.go b/models/models/model_ip_packet_filter_set.go deleted file mode 100644 index 29a762dc..00000000 --- a/models/models/model_ip_packet_filter_set.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IpPacketFilterSet struct { - SrcIp string `json:"srcIp,omitempty" yaml:"srcIp" bson:"srcIp,omitempty"` - DstIp string `json:"dstIp,omitempty" yaml:"dstIp" bson:"dstIp,omitempty"` - Protocol int32 `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` - SrcPort int32 `json:"srcPort,omitempty" yaml:"srcPort" bson:"srcPort,omitempty"` - DstPort int32 `json:"dstPort,omitempty" yaml:"dstPort" bson:"dstPort,omitempty"` - ToSTc string `json:"toSTc,omitempty" yaml:"toSTc" bson:"toSTc,omitempty"` - FlowLabel int32 `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` - Spi int32 `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` - Direction string `json:"direction" yaml:"direction" bson:"direction,omitempty"` -} diff --git a/models/models/model_ip_reachability.go b/models/models/model_ip_reachability.go deleted file mode 100644 index 26cda35e..00000000 --- a/models/models/model_ip_reachability.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IpReachability string - -// List of IpReachability -const ( - IpReachability_IPV4 IpReachability = "IPV4" - IpReachability_IPV6 IpReachability = "IPV6" - IpReachability_IPV4_V6 IpReachability = "IPV4V6" -) diff --git a/models/models/model_ip_sm_gw_address.go b/models/models/model_ip_sm_gw_address.go deleted file mode 100644 index 9f078704..00000000 --- a/models/models/model_ip_sm_gw_address.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IP-SM-GW number and diameter URI/realm -type IpSmGwAddress struct { - // String containing an additional or basic MSISDN - IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` - // Fully Qualified Domain Name - IpSmGwDiaUri string `json:"ipSmGwDiaUri,omitempty" yaml:"ipSmGwDiaUri" bson:"ipSmGwDiaUri,omitempty"` - // Fully Qualified Domain Name - IpSmGwDiaRealm string `json:"ipSmGwDiaRealm,omitempty" yaml:"ipSmGwDiaRealm" bson:"ipSmGwDiaRealm,omitempty"` - IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` -} diff --git a/models/models/model_ip_sm_gw_guidance.go b/models/models/model_ip_sm_gw_guidance.go deleted file mode 100644 index 08631f6b..00000000 --- a/models/models/model_ip_sm_gw_guidance.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains guidance information (e.g. minimum and recommended delivery times) of the IP-SM-GW -type IpSmGwGuidance struct { - MinDeliveryTime int32 `json:"minDeliveryTime" yaml:"minDeliveryTime" bson:"minDeliveryTime,omitempty"` - RecommDeliveryTime int32 `json:"recommDeliveryTime" yaml:"recommDeliveryTime" bson:"recommDeliveryTime,omitempty"` -} diff --git a/models/models/model_ip_sm_gw_info.go b/models/models/model_ip_sm_gw_info.go deleted file mode 100644 index 3844cc0f..00000000 --- a/models/models/model_ip_sm_gw_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the IP-SM-GW Information -type IpSmGwInfo struct { - IpSmGwRegistration *IpSmGwRegistration `json:"ipSmGwRegistration,omitempty" yaml:"ipSmGwRegistration" bson:"ipSmGwRegistration,omitempty"` - IpSmGwGuidance *IpSmGwGuidance `json:"ipSmGwGuidance,omitempty" yaml:"ipSmGwGuidance" bson:"ipSmGwGuidance,omitempty"` -} diff --git a/models/models/model_ip_sm_gw_registration.go b/models/models/model_ip_sm_gw_registration.go deleted file mode 100644 index 89325d66..00000000 --- a/models/models/model_ip_sm_gw_registration.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IpSmGwRegistration struct { - IpSmGwMapAddress string `json:"ipSmGwMapAddress,omitempty" yaml:"ipSmGwMapAddress" bson:"ipSmGwMapAddress,omitempty"` - IpSmGwDiameterAddress *NetworkNodeDiameterAddress `json:"ipSmGwDiameterAddress,omitempty" yaml:"ipSmGwDiameterAddress" bson:"ipSmGwDiameterAddress,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - IpsmgwIpv4 string `json:"ipsmgwIpv4,omitempty" yaml:"ipsmgwIpv4" bson:"ipsmgwIpv4,omitempty"` - IpsmgwIpv6 string `json:"ipsmgwIpv6,omitempty" yaml:"ipsmgwIpv6" bson:"ipsmgwIpv6,omitempty"` - // Fully Qualified Domain Name - IpsmgwFqdn string `json:"ipsmgwFqdn,omitempty" yaml:"ipsmgwFqdn" bson:"ipsmgwFqdn,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - UnriIndicator bool `json:"unriIndicator,omitempty" yaml:"unriIndicator" bson:"unriIndicator,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - IpSmGwSbiSupInd bool `json:"ipSmGwSbiSupInd,omitempty" yaml:"ipSmGwSbiSupInd" bson:"ipSmGwSbiSupInd,omitempty"` -} diff --git a/models/models/model_iptv_config_data.go b/models/models/model_iptv_config_data.go deleted file mode 100644 index 0c6d2b09..00000000 --- a/models/models/model_iptv_config_data.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents IPTV configuration data information. -type IptvConfigData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // Identifies a group of users. - InterGroupId map[string]interface{} `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - AfAppId string `json:"afAppId" yaml:"afAppId" bson:"afAppId,omitempty"` - // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. - MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_iptv_config_data_patch.go b/models/models/model_iptv_config_data_patch.go deleted file mode 100644 index 6ae894f3..00000000 --- a/models/models/model_iptv_config_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters to request the modification of an IPTV Configuration resource. -type IptvConfigDataPatch struct { - // Identifies a list of multicast address access control information. Any string value can be used as a key of the map. - MultiAccCtrls map[string]MulticastAccessControl `json:"multiAccCtrls,omitempty" yaml:"multiAccCtrls" bson:"multiAccCtrls,omitempty"` -} diff --git a/models/models/model_isup_cause.go b/models/models/model_isup_cause.go deleted file mode 100644 index 7fca8526..00000000 --- a/models/models/model_isup_cause.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IsupCause struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ISUPCauseLocation int32 `json:"iSUPCauseLocation,omitempty" yaml:"iSUPCauseLocation" bson:"iSUPCauseLocation,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ISUPCauseValue int32 `json:"iSUPCauseValue,omitempty" yaml:"iSUPCauseValue" bson:"iSUPCauseValue,omitempty"` - ISUPCauseDiagnostics string `json:"iSUPCauseDiagnostics,omitempty" yaml:"iSUPCauseDiagnostics" bson:"iSUPCauseDiagnostics,omitempty"` -} diff --git a/models/models/model_iwmsc_info.go b/models/models/model_iwmsc_info.go deleted file mode 100644 index 3f35ffbc..00000000 --- a/models/models/model_iwmsc_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an SMS-IWMSC NF Instance -type IwmscInfo struct { - MsisdnRanges []IdentityRange `json:"msisdnRanges,omitempty" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - ScNumber string `json:"scNumber,omitempty" yaml:"scNumber" bson:"scNumber,omitempty"` -} diff --git a/models/models/model_job_type.go b/models/models/model_job_type.go deleted file mode 100644 index cb7528eb..00000000 --- a/models/models/model_job_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type JobType string - -// List of JobType -const ( - JobType_IMMEDIATE_MDT_ONLY JobType = "IMMEDIATE_MDT_ONLY" - JobType_LOGGED_MDT_ONLY JobType = "LOGGED_MDT_ONLY" - JobType_TRACE_ONLY JobType = "TRACE_ONLY" - JobType_IMMEDIATE_MDT_AND_TRACE JobType = "IMMEDIATE_MDT_AND_TRACE" - JobType_RLF_REPORTS_ONLY JobType = "RLF_REPORTS_ONLY" - JobType_RCEF_REPORTS_ONLY JobType = "RCEF_REPORTS_ONLY" - JobType_LOGGED_MBSFN_MDT JobType = "LOGGED_MBSFN_MDT" -) diff --git a/models/models/model_key_amf.go b/models/models/model_key_amf.go deleted file mode 100644 index 1d83d88d..00000000 --- a/models/models/model_key_amf.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the Kamf or K'amf -type KeyAmf struct { - KeyType KeyAmfType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` - KeyVal string `json:"keyVal" yaml:"keyVal" bson:"keyVal,omitempty"` -} diff --git a/models/models/model_key_amf_type.go b/models/models/model_key_amf_type.go deleted file mode 100644 index e6cffd58..00000000 --- a/models/models/model_key_amf_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type KeyAmfType string - -// List of KeyAmfType -const ( - KeyAmfType_KAMF KeyAmfType = "KAMF" - KeyAmfType_KPRIMEAMF KeyAmfType = "KPRIMEAMF" -) diff --git a/models/models/model_key_type.go b/models/models/model_key_type.go deleted file mode 100644 index c831439c..00000000 --- a/models/models/model_key_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type KeyType string - -// List of KeyType -const ( - KeyType_UNIQUE_KEY KeyType = "UNIQUE_KEY" - KeyType_SEARCH_KEY KeyType = "SEARCH_KEY" - KeyType_COUNT_KEY KeyType = "COUNT_KEY" - KeyType_SEARCH_AND_COUNT_KEY KeyType = "SEARCH_AND_COUNT_KEY" - KeyType_OTHER_TAG KeyType = "OTHER_TAG" -) diff --git a/models/models/model_ladn_info.go b/models/models/model_ladn_info.go deleted file mode 100644 index bfd05c81..00000000 --- a/models/models/model_ladn_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// LADN Information -type LadnInfo struct { - Ladn string `json:"ladn" yaml:"ladn" bson:"ladn,omitempty"` - Presence PresenceState `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` -} diff --git a/models/models/model_lcs_broadcast_assistance_types_data.go b/models/models/model_lcs_broadcast_assistance_types_data.go deleted file mode 100644 index ead8896e..00000000 --- a/models/models/model_lcs_broadcast_assistance_types_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsBroadcastAssistanceTypesData struct { - // string with format 'binary' as defined in OpenAPI. - LocationAssistanceType []byte `json:"locationAssistanceType" yaml:"locationAssistanceType" bson:"locationAssistanceType,omitempty"` -} diff --git a/models/models/model_lcs_client_class.go b/models/models/model_lcs_client_class.go deleted file mode 100644 index b75b0682..00000000 --- a/models/models/model_lcs_client_class.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsClientClass string - -// List of LcsClientClass -const ( - LcsClientClass_BROADCAST_SERVICE LcsClientClass = "BROADCAST_SERVICE" - LcsClientClass_OM_IN_HPLMN LcsClientClass = "OM_IN_HPLMN" - LcsClientClass_OM_IN_VPLMN LcsClientClass = "OM_IN_VPLMN" - LcsClientClass_ANONYMOUS_LOCATION_SERVICE LcsClientClass = "ANONYMOUS_LOCATION_SERVICE" - LcsClientClass_SPECIFIC_SERVICE LcsClientClass = "SPECIFIC_SERVICE" -) diff --git a/models/models/model_lcs_client_external.go b/models/models/model_lcs_client_external.go deleted file mode 100644 index 7ccf495a..00000000 --- a/models/models/model_lcs_client_external.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsClientExternal struct { - AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` - PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` -} diff --git a/models/models/model_lcs_client_group_external.go b/models/models/model_lcs_client_group_external.go deleted file mode 100644 index 2a5bdcb2..00000000 --- a/models/models/model_lcs_client_group_external.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsClientGroupExternal struct { - LcsClientGroupId string `json:"lcsClientGroupId,omitempty" yaml:"lcsClientGroupId" bson:"lcsClientGroupId,omitempty"` - AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` - PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` -} diff --git a/models/models/model_lcs_mo_data.go b/models/models/model_lcs_mo_data.go deleted file mode 100644 index 7e9187bb..00000000 --- a/models/models/model_lcs_mo_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsMoData struct { - AllowedServiceClasses []LcsMoServiceClass `json:"allowedServiceClasses" yaml:"allowedServiceClasses" bson:"allowedServiceClasses,omitempty"` - MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` -} diff --git a/models/models/model_lcs_mo_service_class.go b/models/models/model_lcs_mo_service_class.go deleted file mode 100644 index 251bd9ec..00000000 --- a/models/models/model_lcs_mo_service_class.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsMoServiceClass string - -// List of LcsMoServiceClass -const ( - LcsMoServiceClass_BASIC_SELF_LOCATION LcsMoServiceClass = "BASIC_SELF_LOCATION" - LcsMoServiceClass_AUTONOMOUS_SELF_LOCATION LcsMoServiceClass = "AUTONOMOUS_SELF_LOCATION" - LcsMoServiceClass_TRANSFER_TO_THIRD_PARTY LcsMoServiceClass = "TRANSFER_TO_THIRD_PARTY" -) diff --git a/models/models/model_lcs_priority.go b/models/models/model_lcs_priority.go deleted file mode 100644 index 89a796dd..00000000 --- a/models/models/model_lcs_priority.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsPriority string - -// List of LcsPriority -const ( - LcsPriority_HIGHEST_PRIORITY LcsPriority = "HIGHEST_PRIORITY" - LcsPriority_NORMAL_PRIORITY LcsPriority = "NORMAL_PRIORITY" -) diff --git a/models/models/model_lcs_privacy.go b/models/models/model_lcs_privacy.go deleted file mode 100644 index 028d4ffc..00000000 --- a/models/models/model_lcs_privacy.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsPrivacy struct { - AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` - Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_lcs_privacy_data.go b/models/models/model_lcs_privacy_data.go deleted file mode 100644 index 26e6c301..00000000 --- a/models/models/model_lcs_privacy_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsPrivacyData struct { - Lpi *Lpi `json:"lpi,omitempty" yaml:"lpi" bson:"lpi,omitempty"` - UnrelatedClass *UnrelatedClass `json:"unrelatedClass,omitempty" yaml:"unrelatedClass" bson:"unrelatedClass,omitempty"` - PlmnOperatorClasses []PlmnOperatorClass `json:"plmnOperatorClasses,omitempty" yaml:"plmnOperatorClasses" bson:"plmnOperatorClasses,omitempty"` -} diff --git a/models/models/model_lcs_qos_class.go b/models/models/model_lcs_qos_class.go deleted file mode 100644 index 9f0898d5..00000000 --- a/models/models/model_lcs_qos_class.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsQosClass string - -// List of LcsQosClass -const ( - LcsQosClass_BEST_EFFORT LcsQosClass = "BEST_EFFORT" - LcsQosClass_ASSURED LcsQosClass = "ASSURED" - LcsQosClass_MULTIPLE_QOS LcsQosClass = "MULTIPLE_QOS" -) diff --git a/models/models/model_lcs_service_auth.go b/models/models/model_lcs_service_auth.go deleted file mode 100644 index b1f89c90..00000000 --- a/models/models/model_lcs_service_auth.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LcsServiceAuth string - -// List of LcsServiceAuth -const ( - LcsServiceAuth_LOCATION_ALLOWED_WITH_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITH_NOTIFICATION" - LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_NOTIFICATION LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" - LcsServiceAuth_LOCATION_ALLOWED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_ALLOWED_WITHOUT_RESPONSE" - LcsServiceAuth_LOCATION_RESTRICTED_WITHOUT_RESPONSE LcsServiceAuth = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" - LcsServiceAuth_NOTIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_ONLY" - LcsServiceAuth_NOTIFICATION_AND_VERIFICATION_ONLY LcsServiceAuth = "NOTIFICATION_AND_VERIFICATION_ONLY" -) diff --git a/models/models/model_ldr_type.go b/models/models/model_ldr_type.go deleted file mode 100644 index 7465c621..00000000 --- a/models/models/model_ldr_type.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LdrType string - -// List of LdrType -const ( - LdrType_UE_AVAILABLE LdrType = "UE_AVAILABLE" - LdrType_PERIODIC LdrType = "PERIODIC" - LdrType_ENTERING_INTO_AREA LdrType = "ENTERING_INTO_AREA" - LdrType_LEAVING_FROM_AREA LdrType = "LEAVING_FROM_AREA" - LdrType_BEING_INSIDE_AREA LdrType = "BEING_INSIDE_AREA" - LdrType_MOTION LdrType = "MOTION" -) diff --git a/models/models/model_limit_id_to_monitoring_key.go b/models/models/model_limit_id_to_monitoring_key.go deleted file mode 100644 index 3e58f8b5..00000000 --- a/models/models/model_limit_id_to_monitoring_key.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the limit identifier and the corresponding monitoring key for a given S-NSSAI and DNN. -type LimitIdToMonitoringKey struct { - LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` - Monkey []string `json:"monkey,omitempty" yaml:"monkey" bson:"monkey,omitempty"` -} diff --git a/models/models/model_line_type.go b/models/models/model_line_type.go deleted file mode 100644 index 7500cb5c..00000000 --- a/models/models/model_line_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LineType string - -// List of LineType -const ( - LineType_DSL LineType = "DSL" - LineType_PON LineType = "PON" -) diff --git a/models/models/model_link.go b/models/models/model_link.go deleted file mode 100644 index c0f0c611..00000000 --- a/models/models/model_link.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It contains the URI of the linked resource. -type Link struct { - // String providing an URI formatted according to RFC 3986. - Href string `json:"href,omitempty" yaml:"href" bson:"href,omitempty"` -} diff --git a/models/models/model_lmf_info.go b/models/models/model_lmf_info.go deleted file mode 100644 index dfe3dcf5..00000000 --- a/models/models/model_lmf_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an LMF NF Instance -type LmfInfo struct { - ServingClientTypes []ExternalClientType `json:"servingClientTypes,omitempty" yaml:"servingClientTypes" bson:"servingClientTypes,omitempty"` - // LMF identification. - LmfId string `json:"lmfId,omitempty" yaml:"lmfId" bson:"lmfId,omitempty"` - ServingAccessTypes []AccessType `json:"servingAccessTypes,omitempty" yaml:"servingAccessTypes" bson:"servingAccessTypes,omitempty"` - ServingAnNodeTypes []AnNodeType `json:"servingAnNodeTypes,omitempty" yaml:"servingAnNodeTypes" bson:"servingAnNodeTypes,omitempty"` - ServingRatTypes []RatType `json:"servingRatTypes,omitempty" yaml:"servingRatTypes" bson:"servingRatTypes,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` -} diff --git a/models/models/model_lmf_location_cancel_loc_data.go b/models/models/model_lmf_location_cancel_loc_data.go deleted file mode 100644 index ae22cfd5..00000000 --- a/models/models/model_lmf_location_cancel_loc_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within Cancel Location Request. -type LmfLocationCancelLocData struct { - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_lmf_location_event_notify_data.go b/models/models/model_lmf_location_event_notify_data.go deleted file mode 100644 index c76737e1..00000000 --- a/models/models/model_lmf_location_event_notify_data.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information within Event Notify Request. -type LmfLocationEventNotifyData struct { - ReportedEventType ReportedEventType `json:"reportedEventType" yaml:"reportedEventType" bson:"reportedEventType,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` - // LMF identification. - ServingLMFidentification string `json:"servingLMFidentification,omitempty" yaml:"servingLMFidentification" bson:"servingLMFidentification,omitempty"` - TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` - AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` -} diff --git a/models/models/model_lmf_location_geographical_coordinates.go b/models/models/model_lmf_location_geographical_coordinates.go deleted file mode 100644 index 2b14779f..00000000 --- a/models/models/model_lmf_location_geographical_coordinates.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Geographical coordinates. -type LmfLocationGeographicalCoordinates struct { - Lon float64 `json:"lon" yaml:"lon" bson:"lon,omitempty"` - Lat float64 `json:"lat" yaml:"lat" bson:"lat,omitempty"` -} diff --git a/models/models/model_lmf_location_input_data.go b/models/models/model_lmf_location_input_data.go deleted file mode 100644 index 45a8dea4..00000000 --- a/models/models/model_lmf_location_input_data.go +++ /dev/null @@ -1,71 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information within Determine Location Request. -type LmfLocationInputData struct { - ExternalClientType ExternalClientType `json:"externalClientType,omitempty" yaml:"externalClientType" bson:"externalClientType,omitempty"` - // LCS Correlation ID. - CorrelationID string `json:"correlationID,omitempty" yaml:"correlationID" bson:"correlationID,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` - LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` - SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - EcgiOnSecondNode *Ecgi `json:"ecgiOnSecondNode,omitempty" yaml:"ecgiOnSecondNode" bson:"ecgiOnSecondNode,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - NcgiOnSecondNode *Ncgi `json:"ncgiOnSecondNode,omitempty" yaml:"ncgiOnSecondNode" bson:"ncgiOnSecondNode,omitempty"` - Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` - UeLcsCap *UeLcsCapability `json:"ueLcsCap,omitempty" yaml:"ueLcsCap" bson:"ueLcsCap,omitempty"` - // LCS service type. - LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` - LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // String providing an URI formatted according to RFC 3986. - VgmlcAddress string `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` - PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` - AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` - MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` - ReportingAccessTypes []ReportingAccessType `json:"reportingAccessTypes,omitempty" yaml:"reportingAccessTypes" bson:"reportingAccessTypes,omitempty"` - UeConnectivityStates *UeConnectivityState `json:"ueConnectivityStates,omitempty" yaml:"ueConnectivityStates" bson:"ueConnectivityStates,omitempty"` - UeLocationServiceInd UeLocationServiceInd `json:"ueLocationServiceInd,omitempty" yaml:"ueLocationServiceInd" bson:"ueLocationServiceInd,omitempty"` - MoAssistanceDataTypes *LcsBroadcastAssistanceTypesData `json:"moAssistanceDataTypes,omitempty" yaml:"moAssistanceDataTypes" bson:"moAssistanceDataTypes,omitempty"` - LppMessage *RefToBinaryData `json:"lppMessage,omitempty" yaml:"lppMessage" bson:"lppMessage,omitempty"` - // Indicates the lpp message extension. - LppMessageExt []RefToBinaryData `json:"lppMessageExt,omitempty" yaml:"lppMessageExt" bson:"lppMessageExt,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). - UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` - TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` - TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` - UeCountryDetInd bool `json:"ueCountryDetInd,omitempty" yaml:"ueCountryDetInd" bson:"ueCountryDetInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` - ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` - IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` -} diff --git a/models/models/model_lmf_location_location_data.go b/models/models/model_lmf_location_location_data.go deleted file mode 100644 index 8333d480..00000000 --- a/models/models/model_lmf_location_location_data.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information within Determine Location Response. -type LmfLocationLocationData struct { - LocationEstimate *GeographicArea `json:"locationEstimate" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` - AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` - // Specifies the measured uncompensated atmospheric pressure. - BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` - // LMF identification. - ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` - // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). - UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` - UeAreaInd *UeAreaIndication `json:"ueAreaInd,omitempty" yaml:"ueAreaInd" bson:"ueAreaInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` - AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` - HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` -} diff --git a/models/models/model_lmf_location_termination_cause.go b/models/models/model_lmf_location_termination_cause.go deleted file mode 100644 index 3e3684ad..00000000 --- a/models/models/model_lmf_location_termination_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LmfLocationTerminationCause string - -// List of LmfLocationTerminationCause -const ( - LmfLocationTerminationCause_TERMINATION_BY_UE LmfLocationTerminationCause = "TERMINATION_BY_UE" - LmfLocationTerminationCause_TERMINATION_BY_NETWORK LmfLocationTerminationCause = "TERMINATION_BY_NETWORK" - LmfLocationTerminationCause_NORMAL_TERMINATION LmfLocationTerminationCause = "NORMAL_TERMINATION" -) diff --git a/models/models/model_loc_context_data.go b/models/models/model_loc_context_data.go deleted file mode 100644 index e2fa6232..00000000 --- a/models/models/model_loc_context_data.go +++ /dev/null @@ -1,50 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information within Transfer Location Context Request. -type LocContextData struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfId string `json:"amfId" yaml:"amfId" bson:"amfId,omitempty"` - LocationQoS *LocationQoS `json:"locationQoS,omitempty" yaml:"locationQoS" bson:"locationQoS,omitempty"` - SupportedGADShapes []SupportedGadShapes `json:"supportedGADShapes,omitempty" yaml:"supportedGADShapes" bson:"supportedGADShapes,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - LdrType LdrType `json:"ldrType" yaml:"ldrType" bson:"ldrType,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference" yaml:"ldrReference" bson:"ldrReference,omitempty"` - PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` - AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` - MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` - EventReportMessage *EventReportMessage `json:"eventReportMessage" yaml:"eventReportMessage" bson:"eventReportMessage,omitempty"` - EventReportingStatus *EventReportingStatus `json:"eventReportingStatus,omitempty" yaml:"eventReportingStatus" bson:"eventReportingStatus,omitempty"` - UeLocationInfo *UeLocationInfo `json:"ueLocationInfo,omitempty" yaml:"ueLocationInfo" bson:"ueLocationInfo,omitempty"` - CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). - UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` -} diff --git a/models/models/model_local2d_point_uncertainty_ellipse.go b/models/models/model_local2d_point_uncertainty_ellipse.go deleted file mode 100644 index 28281f00..00000000 --- a/models/models/model_local2d_point_uncertainty_ellipse.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Local 2D point with uncertainty ellipse -type Local2dPointUncertaintyEllipse struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` - Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_local3d_point_uncertainty_ellipsoid.go b/models/models/model_local3d_point_uncertainty_ellipsoid.go deleted file mode 100644 index af915926..00000000 --- a/models/models/model_local3d_point_uncertainty_ellipsoid.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Local 3D point with uncertainty ellipsoid -type Local3dPointUncertaintyEllipsoid struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` - Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` - UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_local_area.go b/models/models/model_local_area.go deleted file mode 100644 index b88207d1..00000000 --- a/models/models/model_local_area.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Local area specified by different shape -type LocalArea struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - LocalOrigin *LocalOrigin `json:"localOrigin" yaml:"localOrigin" bson:"localOrigin,omitempty"` - Point *RelativeCartesianLocation `json:"point" yaml:"point" bson:"point,omitempty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` - UncertaintyEllipsoid *UncertaintyEllipsoid `json:"uncertaintyEllipsoid" yaml:"uncertaintyEllipsoid" bson:"uncertaintyEllipsoid,omitempty"` -} diff --git a/models/models/model_local_origin.go b/models/models/model_local_origin.go deleted file mode 100644 index cffe0b24..00000000 --- a/models/models/model_local_origin.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates a Local origin in a reference system -type LocalOrigin struct { - CoordinateId string `json:"coordinateId,omitempty" yaml:"coordinateId" bson:"coordinateId,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point,omitempty" yaml:"point" bson:"point,omitempty"` -} diff --git a/models/models/model_location_area5_g.go b/models/models/model_location_area5_g.go deleted file mode 100644 index b680cf00..00000000 --- a/models/models/model_location_area5_g.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a user location area when the UE is attached to 5G. -type LocationArea5G struct { - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` -} diff --git a/models/models/model_location_area_id.go b/models/models/model_location_area_id.go deleted file mode 100644 index ebce9d2c..00000000 --- a/models/models/model_location_area_id.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Location area identification as defined in 3GPP TS 23.003, clause 4.1. -type LocationAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // Location Area Code. - Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` -} diff --git a/models/models/model_location_filter.go b/models/models/model_location_filter.go deleted file mode 100644 index 9b34c459..00000000 --- a/models/models/model_location_filter.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationFilter string - -// List of LocationFilter -const ( - LocationFilter_TAI LocationFilter = "TAI" - LocationFilter_CELL_ID LocationFilter = "CELL_ID" - LocationFilter_RAN_NODE LocationFilter = "RAN_NODE" - LocationFilter_N3_IWF LocationFilter = "N3IWF" - LocationFilter_UE_IP LocationFilter = "UE_IP" - LocationFilter_UDP_PORT LocationFilter = "UDP_PORT" - LocationFilter_TNAP_ID LocationFilter = "TNAP_ID" - LocationFilter_GLI LocationFilter = "GLI" - LocationFilter_TWAP_ID LocationFilter = "TWAP_ID" -) diff --git a/models/models/model_location_info.go b/models/models/model_location_info.go deleted file mode 100644 index 027fb002..00000000 --- a/models/models/model_location_info.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationInfo struct { -} diff --git a/models/models/model_location_info_request.go b/models/models/model_location_info_request.go deleted file mode 100644 index 21c81c9f..00000000 --- a/models/models/model_location_info_request.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_MT - * - * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents information to be sent in a location information request. It contains the requested information, i.e. current location, local time zone, RAT type, or serving node identity only. -type LocationInfoRequest struct { - Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` - ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` - ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` - ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` - ReqServingNode bool `json:"reqServingNode,omitempty" yaml:"reqServingNode" bson:"reqServingNode,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_location_info_result.go b/models/models/model_location_info_result.go deleted file mode 100644 index 4724aecd..00000000 --- a/models/models/model_location_info_result.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudm_MT - * - * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the requested location information. -type LocationInfoResult struct { - VPlmnId *PlmnId `json:"vPlmnId,omitempty" yaml:"vPlmnId" bson:"vPlmnId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmsfInstanceId string `json:"smsfInstanceId,omitempty" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` - CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` - GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` - // Indicates value of the age of the location estimate. - LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_location_privacy_ind.go b/models/models/model_location_privacy_ind.go deleted file mode 100644 index caf3b5c6..00000000 --- a/models/models/model_location_privacy_ind.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationPrivacyInd string - -// List of LocationPrivacyInd -const ( - LocationPrivacyInd_DISALLOWED LocationPrivacyInd = "LOCATION_DISALLOWED" - LocationPrivacyInd_ALLOWED LocationPrivacyInd = "LOCATION_ALLOWED" -) diff --git a/models/models/model_location_privacy_ver_result.go b/models/models/model_location_privacy_ver_result.go deleted file mode 100644 index 15fbaeea..00000000 --- a/models/models/model_location_privacy_ver_result.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationPrivacyVerResult string - -// List of LocationPrivacyVerResult -const ( - LocationPrivacyVerResult_LOCATION_ALLOWED LocationPrivacyVerResult = "LOCATION_ALLOWED" - LocationPrivacyVerResult_LOCATION_NOT_ALLOWED LocationPrivacyVerResult = "LOCATION_NOT_ALLOWED" - LocationPrivacyVerResult_RESPONSE_TIME_OUT LocationPrivacyVerResult = "RESPONSE_TIME_OUT" -) diff --git a/models/models/model_location_qo_s.go b/models/models/model_location_qo_s.go deleted file mode 100644 index ab543a7f..00000000 --- a/models/models/model_location_qo_s.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// QoS of Location request. -type LocationQoS struct { - // Indicates value of accuracy. - HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` - // Indicates value of accuracy. - VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` - VerticalRequested bool `json:"verticalRequested,omitempty" yaml:"verticalRequested" bson:"verticalRequested,omitempty"` - ResponseTime ResponseTime `json:"responseTime,omitempty" yaml:"responseTime" bson:"responseTime,omitempty"` - MinorLocQoses []MinorLocationQoS `json:"minorLocQoses,omitempty" yaml:"minorLocQoses" bson:"minorLocQoses,omitempty"` - LcsQosClass LcsQosClass `json:"lcsQosClass,omitempty" yaml:"lcsQosClass" bson:"lcsQosClass,omitempty"` -} diff --git a/models/models/model_location_report.go b/models/models/model_location_report.go deleted file mode 100644 index 26aebf18..00000000 --- a/models/models/model_location_report.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationReport struct { - Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` -} diff --git a/models/models/model_location_reporting_charging_information.go b/models/models/model_location_reporting_charging_information.go deleted file mode 100644 index a1121b55..00000000 --- a/models/models/model_location_reporting_charging_information.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationReportingChargingInformation struct { - LocationReportingMessageType int32 `json:"locationReportingMessageType" yaml:"locationReportingMessageType" bson:"locationReportingMessageType,omitempty"` - UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` -} diff --git a/models/models/model_logging_duration_mdt.go b/models/models/model_logging_duration_mdt.go deleted file mode 100644 index 467b2d76..00000000 --- a/models/models/model_logging_duration_mdt.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LoggingDurationMdt string - -// List of LoggingDurationMdt -const ( - LoggingDurationMdt__600 LoggingDurationMdt = "600" - LoggingDurationMdt__1200 LoggingDurationMdt = "1200" - LoggingDurationMdt__2400 LoggingDurationMdt = "2400" - LoggingDurationMdt__3600 LoggingDurationMdt = "3600" - LoggingDurationMdt__5400 LoggingDurationMdt = "5400" - LoggingDurationMdt__7200 LoggingDurationMdt = "7200" -) diff --git a/models/models/model_logging_duration_nr_mdt.go b/models/models/model_logging_duration_nr_mdt.go deleted file mode 100644 index 55b8f1cd..00000000 --- a/models/models/model_logging_duration_nr_mdt.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LoggingDurationNrMdt string - -// List of LoggingDurationNrMdt -const ( - LoggingDurationNrMdt__600 LoggingDurationNrMdt = "600" - LoggingDurationNrMdt__1200 LoggingDurationNrMdt = "1200" - LoggingDurationNrMdt__2400 LoggingDurationNrMdt = "2400" - LoggingDurationNrMdt__3600 LoggingDurationNrMdt = "3600" - LoggingDurationNrMdt__5400 LoggingDurationNrMdt = "5400" - LoggingDurationNrMdt__7200 LoggingDurationNrMdt = "7200" -) diff --git a/models/models/model_logging_interval_mdt.go b/models/models/model_logging_interval_mdt.go deleted file mode 100644 index 7dea9c62..00000000 --- a/models/models/model_logging_interval_mdt.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LoggingIntervalMdt string - -// List of LoggingIntervalMdt -const ( - LoggingIntervalMdt__128 LoggingIntervalMdt = "128" - LoggingIntervalMdt__256 LoggingIntervalMdt = "256" - LoggingIntervalMdt__512 LoggingIntervalMdt = "512" - LoggingIntervalMdt__1024 LoggingIntervalMdt = "1024" - LoggingIntervalMdt__2048 LoggingIntervalMdt = "2048" - LoggingIntervalMdt__3072 LoggingIntervalMdt = "3072" - LoggingIntervalMdt__4096 LoggingIntervalMdt = "4096" - LoggingIntervalMdt__6144 LoggingIntervalMdt = "6144" -) diff --git a/models/models/model_logging_interval_nr_mdt.go b/models/models/model_logging_interval_nr_mdt.go deleted file mode 100644 index 36e50bd2..00000000 --- a/models/models/model_logging_interval_nr_mdt.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LoggingIntervalNrMdt string - -// List of LoggingIntervalNrMdt -const ( - LoggingIntervalNrMdt__128 LoggingIntervalNrMdt = "128" - LoggingIntervalNrMdt__256 LoggingIntervalNrMdt = "256" - LoggingIntervalNrMdt__512 LoggingIntervalNrMdt = "512" - LoggingIntervalNrMdt__1024 LoggingIntervalNrMdt = "1024" - LoggingIntervalNrMdt__2048 LoggingIntervalNrMdt = "2048" - LoggingIntervalNrMdt__3072 LoggingIntervalNrMdt = "3072" - LoggingIntervalNrMdt__4096 LoggingIntervalNrMdt = "4096" - LoggingIntervalNrMdt__6144 LoggingIntervalNrMdt = "6144" - LoggingIntervalNrMdt__320 LoggingIntervalNrMdt = "320" - LoggingIntervalNrMdt__640 LoggingIntervalNrMdt = "640" - LoggingIntervalNrMdt_INFINITY LoggingIntervalNrMdt = "infinity" -) diff --git a/models/models/model_loose_route_indication.go b/models/models/model_loose_route_indication.go deleted file mode 100644 index 15d33c2d..00000000 --- a/models/models/model_loose_route_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsUECM - * - * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LooseRouteIndication string - -// List of LooseRouteIndication -const ( - LooseRouteIndication_NOT_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_NOT_REQUIRED" - LooseRouteIndication_REQUIRED LooseRouteIndication = "LOOSE_ROUTE_REQUIRED" -) diff --git a/models/models/model_loss_connectivity_cfg.go b/models/models/model_loss_connectivity_cfg.go deleted file mode 100644 index 11590622..00000000 --- a/models/models/model_loss_connectivity_cfg.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LossConnectivityCfg struct { - // indicating a time in seconds. - MaxDetectionTime int32 `json:"maxDetectionTime,omitempty" yaml:"maxDetectionTime" bson:"maxDetectionTime,omitempty"` -} diff --git a/models/models/model_loss_connectivity_report.go b/models/models/model_loss_connectivity_report.go deleted file mode 100644 index 441f57e8..00000000 --- a/models/models/model_loss_connectivity_report.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LossConnectivityReport struct { - LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` -} diff --git a/models/models/model_loss_of_connectivity_reason.go b/models/models/model_loss_of_connectivity_reason.go deleted file mode 100644 index 45eac9e7..00000000 --- a/models/models/model_loss_of_connectivity_reason.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LossOfConnectivityReason string - -// List of LossOfConnectivityReason -const ( - LossOfConnectivityReason_DEREGISTERED LossOfConnectivityReason = "DEREGISTERED" - LossOfConnectivityReason_MAX_DETECTION_TIME_EXPIRED LossOfConnectivityReason = "MAX_DETECTION_TIME_EXPIRED" - LossOfConnectivityReason_PURGED LossOfConnectivityReason = "PURGED" -) diff --git a/models/models/model_lpi.go b/models/models/model_lpi.go deleted file mode 100644 index 6f1666fe..00000000 --- a/models/models/model_lpi.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Lpi struct { - LocationPrivacyInd LocationPrivacyInd `json:"locationPrivacyInd" yaml:"locationPrivacyInd" bson:"locationPrivacyInd,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` -} diff --git a/models/models/model_lte_m_ind.go b/models/models/model_lte_m_ind.go deleted file mode 100644 index 8880e659..00000000 --- a/models/models/model_lte_m_ind.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// LTE-M Indication. -type LteMInd struct { - LteCatMInd bool `json:"lteCatMInd" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` -} diff --git a/models/models/model_lte_v2x_auth.go b/models/models/model_lte_v2x_auth.go deleted file mode 100644 index a9ac00c9..00000000 --- a/models/models/model_lte_v2x_auth.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains LTE V2X services authorized information. -type LteV2xAuth struct { - VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` - PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` -} diff --git a/models/models/model_m5_qo_s_specification.go b/models/models/model_m5_qo_s_specification.go deleted file mode 100644 index 6c121e47..00000000 --- a/models/models/model_m5_qo_s_specification.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type M5QoSSpecification struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwDlBitRate string `json:"marBwDlBitRate" yaml:"marBwDlBitRate" bson:"marBwDlBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwUlBitRate string `json:"marBwUlBitRate" yaml:"marBwUlBitRate" bson:"marBwUlBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MinDesBwDlBitRate string `json:"minDesBwDlBitRate,omitempty" yaml:"minDesBwDlBitRate" bson:"minDesBwDlBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MinDesBwUlBitRate string `json:"minDesBwUlBitRate,omitempty" yaml:"minDesBwUlBitRate" bson:"minDesBwUlBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwDlBitRate string `json:"mirBwDlBitRate" yaml:"mirBwDlBitRate" bson:"mirBwDlBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwUlBitRate string `json:"mirBwUlBitRate" yaml:"mirBwUlBitRate" bson:"mirBwUlBitRate,omitempty"` - DesLatency int32 `json:"desLatency,omitempty" yaml:"desLatency" bson:"desLatency,omitempty"` - DesLoss int32 `json:"desLoss,omitempty" yaml:"desLoss" bson:"desLoss,omitempty"` -} diff --git a/models/models/model_ma_pdu_indication.go b/models/models/model_ma_pdu_indication.go deleted file mode 100644 index 6f555bc2..00000000 --- a/models/models/model_ma_pdu_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MaPduIndication string - -// List of MaPduIndication -const ( - MaPduIndication_REQUEST MaPduIndication = "MA_PDU_REQUEST" - MaPduIndication_NETWORK_UPGRADE_ALLOWED MaPduIndication = "MA_PDU_NETWORK_UPGRADE_ALLOWED" -) diff --git a/models/models/model_ma_release_indication.go b/models/models/model_ma_release_indication.go deleted file mode 100644 index c7cc547d..00000000 --- a/models/models/model_ma_release_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MaReleaseIndication string - -// List of MaReleaseIndication -const ( - MaReleaseIndication__3_GPP MaReleaseIndication = "REL_MAPDU_OVER_3GPP" - MaReleaseIndication_N3_GPP MaReleaseIndication = "REL_MAPDU_OVER_N3GPP" -) diff --git a/models/models/model_management_operation.go b/models/models/model_management_operation.go deleted file mode 100644 index 00499562..00000000 --- a/models/models/model_management_operation.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ManagementOperation string - -// List of ManagementOperation -const ( - ManagementOperation_FOR_BACKWARD_COMPATIBILITY_CREATE_MOI ManagementOperation = "CreateMOI" - ManagementOperation_FOR_BACKWARD_COMPATIBILITY_MODIFY_MOI_ATTRIBUTES ManagementOperation = "ModifyMOIAttributes" - ManagementOperation_FOR_BACKWARD_COMPATIBILITY_DELETE_MOI ManagementOperation = "DeleteMOI" - ManagementOperation_CREATE_MOI ManagementOperation = "CREATE_MOI" - ManagementOperation_MODIFY_MOI_ATTR ManagementOperation = "MODIFY_MOI_ATTR" - ManagementOperation_DELETE_MOI ManagementOperation = "DELETE_MOI" - ManagementOperation_NOTIFY_MOI_CREATION ManagementOperation = "NOTIFY_MOI_CREATION" - ManagementOperation_NOTIFY_MOI_ATTR_CHANGE ManagementOperation = "NOTIFY_MOI_ATTR_CHANGE" - ManagementOperation_NOTIFY_MOI_DELETION ManagementOperation = "NOTIFY_MOI_DELETION" -) diff --git a/models/models/model_management_operation_status.go b/models/models/model_management_operation_status.go deleted file mode 100644 index 2649c421..00000000 --- a/models/models/model_management_operation_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ManagementOperationStatus string - -// List of ManagementOperationStatus -const ( - ManagementOperationStatus_SUCCEEDED ManagementOperationStatus = "OPERATION_SUCCEEDED" - ManagementOperationStatus_FAILED ManagementOperationStatus = "OPERATION_FAILED" -) diff --git a/models/models/model_mapdu_session_information.go b/models/models/model_mapdu_session_information.go deleted file mode 100644 index 092185c3..00000000 --- a/models/models/model_mapdu_session_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MapduSessionInformation struct { - MAPDUSessionIndicator MaPduIndication `json:"mAPDUSessionIndicator,omitempty" yaml:"mAPDUSessionIndicator" bson:"mAPDUSessionIndicator,omitempty"` - ATSSSCapability *AtsssCapability `json:"aTSSSCapability,omitempty" yaml:"aTSSSCapability" bson:"aTSSSCapability,omitempty"` -} diff --git a/models/models/model_mapping_of_snssai.go b/models/models/model_mapping_of_snssai.go deleted file mode 100644 index 141401f0..00000000 --- a/models/models/model_mapping_of_snssai.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the mapping of S-NSSAI in the serving network and the value of the home network -type MappingOfSnssai struct { - ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` - HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` -} diff --git a/models/models/model_matching_direction.go b/models/models/model_matching_direction.go deleted file mode 100644 index da3d8b31..00000000 --- a/models/models/model_matching_direction.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MatchingDirection string - -// List of MatchingDirection -const ( - MatchingDirection_ASCENDING MatchingDirection = "ASCENDING" - MatchingDirection_DESCENDING MatchingDirection = "DESCENDING" - MatchingDirection_CROSSED MatchingDirection = "CROSSED" -) diff --git a/models/models/model_matching_operator.go b/models/models/model_matching_operator.go deleted file mode 100644 index 18f63ec9..00000000 --- a/models/models/model_matching_operator.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MatchingOperator string - -// List of MatchingOperator -const ( - MatchingOperator_FULL_MATCH MatchingOperator = "FULL_MATCH" - MatchingOperator_MATCH_ALL MatchingOperator = "MATCH_ALL" - MatchingOperator_STARTS_WITH MatchingOperator = "STARTS_WITH" - MatchingOperator_NOT_START_WITH MatchingOperator = "NOT_START_WITH" - MatchingOperator_ENDS_WITH MatchingOperator = "ENDS_WITH" - MatchingOperator_NOT_END_WITH MatchingOperator = "NOT_END_WITH" - MatchingOperator_CONTAINS MatchingOperator = "CONTAINS" - MatchingOperator_NOT_CONTAIN MatchingOperator = "NOT_CONTAIN" -) diff --git a/models/models/model_max_integrity_protected_data_rate.go b/models/models/model_max_integrity_protected_data_rate.go deleted file mode 100644 index 764b2eb9..00000000 --- a/models/models/model_max_integrity_protected_data_rate.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MaxIntegrityProtectedDataRate string - -// List of MaxIntegrityProtectedDataRate -const ( - MaxIntegrityProtectedDataRate__64_KBPS MaxIntegrityProtectedDataRate = "64_KBPS" - MaxIntegrityProtectedDataRate_MAX_UE_RATE MaxIntegrityProtectedDataRate = "MAX_UE_RATE" -) diff --git a/models/models/model_mb_smf_info.go b/models/models/model_mb_smf_info.go deleted file mode 100644 index f1b518c2..00000000 --- a/models/models/model_mb_smf_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an MB-SMF NF Instance -type MbSmfInfo struct { - // A map (list of key-value pairs) where a valid JSON string serves as key - SNssaiInfoList map[string]SnssaiMbSmfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` - // A map (list of key-value pairs) where a valid JSON string serves as key - TmgiRangeList map[string]TmgiRange `json:"tmgiRangeList,omitempty" yaml:"tmgiRangeList" bson:"tmgiRangeList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - // A map (list of key-value pairs) where a valid JSON string serves as key - MbsSessionList map[string]NrfNfManagementMbsSession `json:"mbsSessionList,omitempty" yaml:"mbsSessionList" bson:"mbsSessionList,omitempty"` -} diff --git a/models/models/model_mb_upf_info.go b/models/models/model_mb_upf_info.go deleted file mode 100644 index 122f9249..00000000 --- a/models/models/model_mb_upf_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an MB-UPF NF Instance -type MbUpfInfo struct { - SNssaiMbUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiMbUpfInfoList" yaml:"sNssaiMbUpfInfoList" bson:"sNssaiMbUpfInfoList,omitempty"` - MbSmfServingArea []string `json:"mbSmfServingArea,omitempty" yaml:"mbSmfServingArea" bson:"mbSmfServingArea,omitempty"` - InterfaceMbUpfInfoList []InterfaceUpfInfoItem `json:"interfaceMbUpfInfoList,omitempty" yaml:"interfaceMbUpfInfoList" bson:"interfaceMbUpfInfoList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` -} diff --git a/models/models/model_mbs_app_session_ctxt.go b/models/models/model_mbs_app_session_ctxt.go deleted file mode 100644 index 4aa057b0..00000000 --- a/models/models/model_mbs_app_session_ctxt.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Npcf_MBSPolicyAuthorization API - * - * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameter of an MBS Application Session Context. -type MbsAppSessionCtxt struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` - ReqForLocDepMbs bool `json:"reqForLocDepMbs,omitempty" yaml:"reqForLocDepMbs" bson:"reqForLocDepMbs,omitempty"` - ContactPcfInd bool `json:"contactPcfInd,omitempty" yaml:"contactPcfInd" bson:"contactPcfInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_mbs_app_session_ctxt_patch.go b/models/models/model_mbs_app_session_ctxt_patch.go deleted file mode 100644 index 907b3d22..00000000 --- a/models/models/model_mbs_app_session_ctxt_patch.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_MBSPolicyAuthorization API - * - * MBS Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the modifications to an existing MBS Application Session Context resource. -type MbsAppSessionCtxtPatch struct { - MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` -} diff --git a/models/models/model_mbs_error_report.go b/models/models/model_mbs_error_report.go deleted file mode 100644 index 220e42b9..00000000 --- a/models/models/model_mbs_error_report.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the reporting of MBS Policy decision level failure(s) and/or MBS PCC rule level failure(s). -type MbsErrorReport struct { - MbsReports []MbsReport `json:"mbsReports,omitempty" yaml:"mbsReports" bson:"mbsReports,omitempty"` -} diff --git a/models/models/model_mbs_failure_code.go b/models/models/model_mbs_failure_code.go deleted file mode 100644 index dddc5967..00000000 --- a/models/models/model_mbs_failure_code.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MbsFailureCode string - -// List of MbsFailureCode -const ( - MbsFailureCode_NF_MALFUNCTION MbsFailureCode = "NF_MALFUNCTION" - MbsFailureCode_NF_RESOURCES_UNAVAILABLE MbsFailureCode = "NF_RESOURCES_UNAVAILABLE" - MbsFailureCode_RESOURCE_ALLOCATION_FAILURE MbsFailureCode = "RESOURCE_ALLOCATION_FAILURE" - MbsFailureCode_MBS_QOS_VALIDATION_FAILURE MbsFailureCode = "MBS_QOS_VALIDATION_FAILURE" - MbsFailureCode_NO_MBS_QOS_FLOW MbsFailureCode = "NO_MBS_QOS_FLOW" - MbsFailureCode_MBS_QOS_DECISION_ERROR MbsFailureCode = "MBS_QOS_DECISION_ERROR" - MbsFailureCode_MBS_POLICY_PARAM_ERROR MbsFailureCode = "MBS_POLICY_PARAM_ERROR" -) diff --git a/models/models/model_mbs_media_comp.go b/models/models/model_mbs_media_comp.go deleted file mode 100644 index 56753566..00000000 --- a/models/models/model_mbs_media_comp.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an MBS Media Component. -type MbsMediaComp struct { - MbsMedCompNum int32 `json:"mbsMedCompNum" yaml:"mbsMedCompNum" bson:"mbsMedCompNum,omitempty"` - MbsFlowDescs []string `json:"mbsFlowDescs,omitempty" yaml:"mbsFlowDescs" bson:"mbsFlowDescs,omitempty"` - MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` - MbsMediaInfo *MbsMediaInfo `json:"mbsMediaInfo,omitempty" yaml:"mbsMediaInfo" bson:"mbsMediaInfo,omitempty"` - QosRef string `json:"qosRef,omitempty" yaml:"qosRef" bson:"qosRef,omitempty"` - MbsQoSReq *MbsQoSReq `json:"mbsQoSReq,omitempty" yaml:"mbsQoSReq" bson:"mbsQoSReq,omitempty"` -} diff --git a/models/models/model_mbs_media_comp_rm.go b/models/models/model_mbs_media_comp_rm.go deleted file mode 100644 index 730a898b..00000000 --- a/models/models/model_mbs_media_comp_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MbsMediaCompRm struct { -} diff --git a/models/models/model_mbs_media_info.go b/models/models/model_mbs_media_info.go deleted file mode 100644 index 8d800bb5..00000000 --- a/models/models/model_mbs_media_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represent MBS Media Information. -type MbsMediaInfo struct { - MbsMedType MediaType `json:"mbsMedType,omitempty" yaml:"mbsMedType" bson:"mbsMedType,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxReqMbsBwDl string `json:"maxReqMbsBwDl,omitempty" yaml:"maxReqMbsBwDl" bson:"maxReqMbsBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MinReqMbsBwDl string `json:"minReqMbsBwDl,omitempty" yaml:"minReqMbsBwDl" bson:"minReqMbsBwDl,omitempty"` - Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` -} diff --git a/models/models/model_mbs_n2_message_transfer_req_data.go b/models/models/model_mbs_n2_message_transfer_req_data.go deleted file mode 100644 index f35219a8..00000000 --- a/models/models/model_mbs_n2_message_transfer_req_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within MBS N2 Message Transfer Request -type MbsN2MessageTransferReqData struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - AreaSessionId int32 `json:"areaSessionId,omitempty" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` - N2MbsSmInfo *AmfMbsCommunicationN2MbsSmInfo `json:"n2MbsSmInfo" yaml:"n2MbsSmInfo" bson:"n2MbsSmInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_mbs_n2_message_transfer_rsp_data.go b/models/models/model_mbs_n2_message_transfer_rsp_data.go deleted file mode 100644 index b724e843..00000000 --- a/models/models/model_mbs_n2_message_transfer_rsp_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within MBS N2 Message Transfer Response -type MbsN2MessageTransferRspData struct { - Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_mbs_ngap_ie_type.go b/models/models/model_mbs_ngap_ie_type.go deleted file mode 100644 index 370c2091..00000000 --- a/models/models/model_mbs_ngap_ie_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MbsNgapIeType string - -// List of MbsNgapIeType -const ( - MbsNgapIeType_ACT_REQ MbsNgapIeType = "MBS_SES_ACT_REQ" - MbsNgapIeType_DEACT_REQ MbsNgapIeType = "MBS_SES_DEACT_REQ" - MbsNgapIeType_UPD_REQ MbsNgapIeType = "MBS_SES_UPD_REQ" -) diff --git a/models/models/model_mbs_pcc_rule.go b/models/models/model_mbs_pcc_rule.go deleted file mode 100644 index 3a1505d7..00000000 --- a/models/models/model_mbs_pcc_rule.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters constituting an MBS PCC rule. -type MbsPccRule struct { - MbsPccRuleId string `json:"mbsPccRuleId" yaml:"mbsPccRuleId" bson:"mbsPccRuleId,omitempty"` - MbsDlIpFlowInfo []string `json:"mbsDlIpFlowInfo,omitempty" yaml:"mbsDlIpFlowInfo" bson:"mbsDlIpFlowInfo,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` - RefMbsQosDec []string `json:"refMbsQosDec,omitempty" yaml:"refMbsQosDec" bson:"refMbsQosDec,omitempty"` -} diff --git a/models/models/model_mbs_pcc_rule_status.go b/models/models/model_mbs_pcc_rule_status.go deleted file mode 100644 index f97ccf34..00000000 --- a/models/models/model_mbs_pcc_rule_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MbsPccRuleStatus string - -// List of MbsPccRuleStatus -const ( - MbsPccRuleStatus_ACTIVE MbsPccRuleStatus = "ACTIVE" - MbsPccRuleStatus_INACTIVE MbsPccRuleStatus = "INACTIVE" -) diff --git a/models/models/model_mbs_pcrt.go b/models/models/model_mbs_pcrt.go deleted file mode 100644 index a738c195..00000000 --- a/models/models/model_mbs_pcrt.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MbsPcrt string - -// List of MbsPcrt -const ( - MbsPcrt_MBS_SESSION_UPDATE MbsPcrt = "MBS_SESSION_UPDATE" -) diff --git a/models/models/model_mbs_policy_ctxt_data.go b/models/models/model_mbs_policy_ctxt_data.go deleted file mode 100644 index 73cf54a9..00000000 --- a/models/models/model_mbs_policy_ctxt_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the parameters used to request the creation of an MBS Policy Association. -type MbsPolicyCtxtData struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - AreaSessPolId int32 `json:"areaSessPolId,omitempty" yaml:"areaSessPolId" bson:"areaSessPolId,omitempty"` - MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_mbs_policy_ctxt_data_update.go b/models/models/model_mbs_policy_ctxt_data_update.go deleted file mode 100644 index 471c0c0a..00000000 --- a/models/models/model_mbs_policy_ctxt_data_update.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the parameters to request the modification of an existing MBS Policy Association. -type MbsPolicyCtxtDataUpdate struct { - MbsServInfo *MbsServiceInfo `json:"mbsServInfo,omitempty" yaml:"mbsServInfo" bson:"mbsServInfo,omitempty"` - MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` - MbsErrorReport *MbsErrorReport `json:"mbsErrorReport,omitempty" yaml:"mbsErrorReport" bson:"mbsErrorReport,omitempty"` -} diff --git a/models/models/model_mbs_policy_data.go b/models/models/model_mbs_policy_data.go deleted file mode 100644 index 4fe07a5b..00000000 --- a/models/models/model_mbs_policy_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the MBS policy data provisioned as part of an MBS Policy Association. -type MbsPolicyData struct { - MbsPolicyCtxtData *MbsPolicyCtxtData `json:"mbsPolicyCtxtData" yaml:"mbsPolicyCtxtData" bson:"mbsPolicyCtxtData,omitempty"` - MbsPolicies *MbsPolicyDecision `json:"mbsPolicies,omitempty" yaml:"mbsPolicies" bson:"mbsPolicies,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_mbs_policy_decision.go b/models/models/model_mbs_policy_decision.go deleted file mode 100644 index fb2b2a1c..00000000 --- a/models/models/model_mbs_policy_decision.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters constituting an MBS Policy Decision. -type MbsPolicyDecision struct { - // A map of MBS PCC rule(s) with each map entry containing the MbsPccRule data structure. The key of the map for each entry is the mbsPccRuleId attribute of the corresponding MbsPccRule data structure. - MbsPccRules map[string]MbsPccRule `json:"mbsPccRules,omitempty" yaml:"mbsPccRules" bson:"mbsPccRules,omitempty"` - // A map of MBS QoS Decision(s) with each map entry containing the MbsQosDec data structure. The key of the map for each entry is the mbsQosId attribute of the corresponding MbsQosDec data structure. - MbsQosDecs map[string]MbsQosDec `json:"mbsQosDecs,omitempty" yaml:"mbsQosDecs" bson:"mbsQosDecs,omitempty"` - // A map of MBS QoS Characteristics set(s) with each map entry containing the MbsQosChar data structure. The key of the map for each entry is the 5QI attribute of the corresponding MbsQosDec data structure. - MbsQosChars map[string]MbsQosChar `json:"mbsQosChars,omitempty" yaml:"mbsQosChars" bson:"mbsQosChars,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AuthMbsSessAmbr string `json:"authMbsSessAmbr,omitempty" yaml:"authMbsSessAmbr" bson:"authMbsSessAmbr,omitempty"` - MbsPcrts []MbsPcrt `json:"mbsPcrts,omitempty" yaml:"mbsPcrts" bson:"mbsPcrts,omitempty"` -} diff --git a/models/models/model_mbs_qo_s_req.go b/models/models/model_mbs_qo_s_req.go deleted file mode 100644 index a3305e19..00000000 --- a/models/models/model_mbs_qo_s_req.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represent MBS QoS requirements. -type MbsQoSReq struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuarBitRate string `json:"guarBitRate,omitempty" yaml:"guarBitRate" bson:"guarBitRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxBitRate string `json:"maxBitRate,omitempty" yaml:"maxBitRate" bson:"maxBitRate,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - ReqMbsArp *Arp `json:"reqMbsArp,omitempty" yaml:"reqMbsArp" bson:"reqMbsArp,omitempty"` -} diff --git a/models/models/model_mbs_qos_char.go b/models/models/model_mbs_qos_char.go deleted file mode 100644 index efadf56d..00000000 --- a/models/models/model_mbs_qos_char.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters constituting a set of explicitly signalled QoS characteristics. -type MbsQosChar struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // Represents the MBS Maximum Data Burst Volume expressed in Bytes. - MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` -} diff --git a/models/models/model_mbs_qos_dec.go b/models/models/model_mbs_qos_dec.go deleted file mode 100644 index d4459db2..00000000 --- a/models/models/model_mbs_qos_dec.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters constituting an MBS QoS Decision. -type MbsQosDec struct { - MbsQosId string `json:"mbsQosId" yaml:"mbsQosId" bson:"mbsQosId,omitempty"` - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // Represents the MBS Maximum Data Burst Volume expressed in Bytes. - MbsMaxDataBurstVol int32 `json:"mbsMaxDataBurstVol,omitempty" yaml:"mbsMaxDataBurstVol" bson:"mbsMaxDataBurstVol,omitempty"` -} diff --git a/models/models/model_mbs_report.go b/models/models/model_mbs_report.go deleted file mode 100644 index 53a5591b..00000000 --- a/models/models/model_mbs_report.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about the MBS Policy Decision level failure(s) and/or the MBS PCC rule level failure(s). -type MbsReport struct { - MbsPccRuleIds []string `json:"mbsPccRuleIds,omitempty" yaml:"mbsPccRuleIds" bson:"mbsPccRuleIds,omitempty"` - MbsPccRuleStatus MbsPccRuleStatus `json:"mbsPccRuleStatus,omitempty" yaml:"mbsPccRuleStatus" bson:"mbsPccRuleStatus,omitempty"` - FailureCode MbsFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` -} diff --git a/models/models/model_mbs_service_area.go b/models/models/model_mbs_service_area.go deleted file mode 100644 index 3df9fdc3..00000000 --- a/models/models/model_mbs_service_area.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MBS Service Area -type MbsServiceArea struct { - // List of NR cell Ids - NcgiList []NcgiTai `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` - // List of tracking area Ids - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` -} diff --git a/models/models/model_mbs_service_area_info.go b/models/models/model_mbs_service_area_info.go deleted file mode 100644 index aef4d187..00000000 --- a/models/models/model_mbs_service_area_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MBS Service Area Information for location dependent MBS session -type MbsServiceAreaInfo struct { - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - AreaSessionId int32 `json:"areaSessionId" yaml:"areaSessionId" bson:"areaSessionId,omitempty"` - MbsServiceArea *MbsServiceArea `json:"mbsServiceArea" yaml:"mbsServiceArea" bson:"mbsServiceArea,omitempty"` -} diff --git a/models/models/model_mbs_service_info.go b/models/models/model_mbs_service_info.go deleted file mode 100644 index 64925acb..00000000 --- a/models/models/model_mbs_service_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represent MBS Service Information. -type MbsServiceInfo struct { - MbsMediaComps map[string]*MbsMediaComp `json:"mbsMediaComps" yaml:"mbsMediaComps" bson:"mbsMediaComps,omitempty"` - MbsSdfResPrio ReservPriority `json:"mbsSdfResPrio,omitempty" yaml:"mbsSdfResPrio" bson:"mbsSdfResPrio,omitempty"` - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MbsSessionAmbr string `json:"mbsSessionAmbr,omitempty" yaml:"mbsSessionAmbr" bson:"mbsSessionAmbr,omitempty"` -} diff --git a/models/models/model_mbs_session_id.go b/models/models/model_mbs_session_id.go deleted file mode 100644 index eaca5ca1..00000000 --- a/models/models/model_mbs_session_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MBS Session Identifier -type MbsSessionId struct { - Tmgi *Tmgi `json:"tmgi,omitempty" yaml:"tmgi" bson:"tmgi,omitempty"` - Ssm *Ssm `json:"ssm,omitempty" yaml:"ssm" bson:"ssm,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_mbs_subscription_data.go b/models/models/model_mbs_subscription_data.go deleted file mode 100644 index 24fd723a..00000000 --- a/models/models/model_mbs_subscription_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the 5MBS Subscription Data. -type MbsSubscriptionData struct { - MbsAllowed bool `json:"mbsAllowed,omitempty" yaml:"mbsAllowed" bson:"mbsAllowed,omitempty"` - MbsSessionIdList []MbsSessionId `json:"mbsSessionIdList,omitempty" yaml:"mbsSessionIdList" bson:"mbsSessionIdList,omitempty"` -} diff --git a/models/models/model_mbsfn_area.go b/models/models/model_mbsfn_area.go deleted file mode 100644 index d2ed59e6..00000000 --- a/models/models/model_mbsfn_area.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains an MBSFN area information. -type MbsfnArea struct { - // This IE shall contain the MBSFN Area ID. - MbsfnAreaId int32 `json:"mbsfnAreaId,omitempty" yaml:"mbsfnAreaId" bson:"mbsfnAreaId,omitempty"` - // When present, this IE shall contain the Carrier Frequency (EARFCN). - CarrierFrequency int32 `json:"carrierFrequency,omitempty" yaml:"carrierFrequency" bson:"carrierFrequency,omitempty"` -} diff --git a/models/models/model_mdt_configuration.go b/models/models/model_mdt_configuration.go deleted file mode 100644 index 50599a0a..00000000 --- a/models/models/model_mdt_configuration.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// contains contain MDT configuration data. -type MdtConfiguration struct { - JobType JobType `json:"jobType" yaml:"jobType" bson:"jobType,omitempty"` - ReportType ReportTypeMdt `json:"reportType,omitempty" yaml:"reportType" bson:"reportType,omitempty"` - AreaScope *AreaScope `json:"areaScope,omitempty" yaml:"areaScope" bson:"areaScope,omitempty"` - MeasurementLteList []MeasurementLteForMdt `json:"measurementLteList,omitempty" yaml:"measurementLteList" bson:"measurementLteList,omitempty"` - MeasurementNrList []MeasurementNrForMdt `json:"measurementNrList,omitempty" yaml:"measurementNrList" bson:"measurementNrList,omitempty"` - SensorMeasurementList []SensorMeasurement `json:"sensorMeasurementList,omitempty" yaml:"sensorMeasurementList" bson:"sensorMeasurementList,omitempty"` - ReportingTriggerList []ReportingTrigger `json:"reportingTriggerList,omitempty" yaml:"reportingTriggerList" bson:"reportingTriggerList,omitempty"` - ReportInterval ReportIntervalMdt `json:"reportInterval,omitempty" yaml:"reportInterval" bson:"reportInterval,omitempty"` - ReportIntervalNr ReportIntervalNrMdt `json:"reportIntervalNr,omitempty" yaml:"reportIntervalNr" bson:"reportIntervalNr,omitempty"` - ReportAmount ReportAmountMdt `json:"reportAmount,omitempty" yaml:"reportAmount" bson:"reportAmount,omitempty"` - // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-97. - EventThresholdRsrp int32 `json:"eventThresholdRsrp,omitempty" yaml:"eventThresholdRsrp" bson:"eventThresholdRsrp,omitempty"` - // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR. When present, this IE shall indicate the Event Threshold for RSRP, and the value shall be between 0-127. - EventThresholdRsrpNr int32 `json:"eventThresholdRsrpNr,omitempty" yaml:"eventThresholdRsrpNr" bson:"eventThresholdRsrpNr,omitempty"` - // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in LTE.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-34. - EventThresholdRsrq int32 `json:"eventThresholdRsrq,omitempty" yaml:"eventThresholdRsrq" bson:"eventThresholdRsrq,omitempty"` - // This IE shall be present if the report trigger parameter is configured for A2 event reporting or A2 event triggered periodic reporting and the job type parameter is configured for Immediate MDT or combined Immediate MDT and Trace in NR.When present, this IE shall indicate the Event Threshold for RSRQ, and the value shall be between 0-127. - EventThresholdRsrqNr int32 `json:"eventThresholdRsrqNr,omitempty" yaml:"eventThresholdRsrqNr" bson:"eventThresholdRsrqNr,omitempty"` - EventList []EventForMdt `json:"eventList,omitempty" yaml:"eventList" bson:"eventList,omitempty"` - LoggingInterval LoggingIntervalMdt `json:"loggingInterval,omitempty" yaml:"loggingInterval" bson:"loggingInterval,omitempty"` - LoggingIntervalNr LoggingIntervalNrMdt `json:"loggingIntervalNr,omitempty" yaml:"loggingIntervalNr" bson:"loggingIntervalNr,omitempty"` - LoggingDuration LoggingDurationMdt `json:"loggingDuration,omitempty" yaml:"loggingDuration" bson:"loggingDuration,omitempty"` - LoggingDurationNr LoggingDurationNrMdt `json:"loggingDurationNr,omitempty" yaml:"loggingDurationNr" bson:"loggingDurationNr,omitempty"` - PositioningMethod PositioningMethodMdt `json:"positioningMethod,omitempty" yaml:"positioningMethod" bson:"positioningMethod,omitempty"` - AddPositioningMethodList []PositioningMethodMdt `json:"addPositioningMethodList,omitempty" yaml:"addPositioningMethodList" bson:"addPositioningMethodList,omitempty"` - CollectionPeriodRmmLte CollectionPeriodRmmLteMdt `json:"collectionPeriodRmmLte,omitempty" yaml:"collectionPeriodRmmLte" bson:"collectionPeriodRmmLte,omitempty"` - CollectionPeriodRmmNr CollectionPeriodRmmNrMdt `json:"collectionPeriodRmmNr,omitempty" yaml:"collectionPeriodRmmNr" bson:"collectionPeriodRmmNr,omitempty"` - MeasurementPeriodLte MeasurementPeriodLteMdt `json:"measurementPeriodLte,omitempty" yaml:"measurementPeriodLte" bson:"measurementPeriodLte,omitempty"` - MdtAllowedPlmnIdList []PlmnId `json:"mdtAllowedPlmnIdList,omitempty" yaml:"mdtAllowedPlmnIdList" bson:"mdtAllowedPlmnIdList,omitempty"` - MbsfnAreaList []MbsfnArea `json:"mbsfnAreaList,omitempty" yaml:"mbsfnAreaList" bson:"mbsfnAreaList,omitempty"` - InterFreqTargetList []InterFreqTargetInfo `json:"interFreqTargetList,omitempty" yaml:"interFreqTargetList" bson:"interFreqTargetList,omitempty"` -} diff --git a/models/models/model_mdt_user_consent.go b/models/models/model_mdt_user_consent.go deleted file mode 100644 index f4a0ddfb..00000000 --- a/models/models/model_mdt_user_consent.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MdtUserConsent string - -// List of MdtUserConsent -const ( - MdtUserConsent_NOT_GIVEN MdtUserConsent = "CONSENT_NOT_GIVEN" - MdtUserConsent_GIVEN MdtUserConsent = "CONSENT_GIVEN" -) diff --git a/models/models/model_measurement_lte_for_mdt.go b/models/models/model_measurement_lte_for_mdt.go deleted file mode 100644 index 40c91aac..00000000 --- a/models/models/model_measurement_lte_for_mdt.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MeasurementLteForMdt string - -// List of MeasurementLteForMdt -const ( - MeasurementLteForMdt_M1 MeasurementLteForMdt = "M1" - MeasurementLteForMdt_M2 MeasurementLteForMdt = "M2" - MeasurementLteForMdt_M3 MeasurementLteForMdt = "M3" - MeasurementLteForMdt_M4_DL MeasurementLteForMdt = "M4_DL" - MeasurementLteForMdt_M4_UL MeasurementLteForMdt = "M4_UL" - MeasurementLteForMdt_M5_DL MeasurementLteForMdt = "M5_DL" - MeasurementLteForMdt_M5_UL MeasurementLteForMdt = "M5_UL" - MeasurementLteForMdt_M6_DL MeasurementLteForMdt = "M6_DL" - MeasurementLteForMdt_M6_UL MeasurementLteForMdt = "M6_UL" - MeasurementLteForMdt_M7_DL MeasurementLteForMdt = "M7_DL" - MeasurementLteForMdt_M7_UL MeasurementLteForMdt = "M7_UL" - MeasurementLteForMdt_M8 MeasurementLteForMdt = "M8" - MeasurementLteForMdt_M9 MeasurementLteForMdt = "M9" -) diff --git a/models/models/model_measurement_nr_for_mdt.go b/models/models/model_measurement_nr_for_mdt.go deleted file mode 100644 index b715d553..00000000 --- a/models/models/model_measurement_nr_for_mdt.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MeasurementNrForMdt string - -// List of MeasurementNrForMdt -const ( - MeasurementNrForMdt_M1 MeasurementNrForMdt = "M1" - MeasurementNrForMdt_M2 MeasurementNrForMdt = "M2" - MeasurementNrForMdt_M3 MeasurementNrForMdt = "M3" - MeasurementNrForMdt_M4_DL MeasurementNrForMdt = "M4_DL" - MeasurementNrForMdt_M4_UL MeasurementNrForMdt = "M4_UL" - MeasurementNrForMdt_M5_DL MeasurementNrForMdt = "M5_DL" - MeasurementNrForMdt_M5_UL MeasurementNrForMdt = "M5_UL" - MeasurementNrForMdt_M6_DL MeasurementNrForMdt = "M6_DL" - MeasurementNrForMdt_M6_UL MeasurementNrForMdt = "M6_UL" - MeasurementNrForMdt_M7_DL MeasurementNrForMdt = "M7_DL" - MeasurementNrForMdt_M7_UL MeasurementNrForMdt = "M7_UL" - MeasurementNrForMdt_M8 MeasurementNrForMdt = "M8" - MeasurementNrForMdt_M9 MeasurementNrForMdt = "M9" -) diff --git a/models/models/model_measurement_period_lte_mdt.go b/models/models/model_measurement_period_lte_mdt.go deleted file mode 100644 index 5a059d72..00000000 --- a/models/models/model_measurement_period_lte_mdt.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MeasurementPeriodLteMdt string - -// List of MeasurementPeriodLteMdt -const ( - MeasurementPeriodLteMdt__1024 MeasurementPeriodLteMdt = "1024" - MeasurementPeriodLteMdt__1280 MeasurementPeriodLteMdt = "1280" - MeasurementPeriodLteMdt__2048 MeasurementPeriodLteMdt = "2048" - MeasurementPeriodLteMdt__2560 MeasurementPeriodLteMdt = "2560" - MeasurementPeriodLteMdt__5120 MeasurementPeriodLteMdt = "5120" - MeasurementPeriodLteMdt__10240 MeasurementPeriodLteMdt = "10240" - MeasurementPeriodLteMdt__60000 MeasurementPeriodLteMdt = "60000" -) diff --git a/models/models/model_media_component.go b/models/models/model_media_component.go deleted file mode 100644 index 2b92057f..00000000 --- a/models/models/model_media_component.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a media component. -type MediaComponent struct { - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - AfRoutReq *AfRoutingRequirement `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` - QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` - DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` - AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` - // Contains alternative service requirements that include individual QoS parameter sets. - AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` - Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` - // string with format 'float' as defined in OpenAPI. - DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` - // string with format 'float' as defined in OpenAPI. - DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` - FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` - // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. - MedSubComps map[string]MediaSubComponent `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` - MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` - PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` - PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` - PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` - TsnQos *TsnQosContainer `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` - TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` - TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` -} diff --git a/models/models/model_media_component_resources_status.go b/models/models/model_media_component_resources_status.go deleted file mode 100644 index ccf27eb4..00000000 --- a/models/models/model_media_component_resources_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MediaComponentResourcesStatus string - -// List of MediaComponentResourcesStatus -const ( - MediaComponentResourcesStatus_ACTIVE MediaComponentResourcesStatus = "ACTIVE" - MediaComponentResourcesStatus_INACTIVE MediaComponentResourcesStatus = "INACTIVE" -) diff --git a/models/models/model_media_component_rm.go b/models/models/model_media_component_rm.go deleted file mode 100644 index 4fb9bddd..00000000 --- a/models/models/model_media_component_rm.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the MediaComponent data type, but with the OpenAPI nullable property set to true. -type MediaComponentRm struct { - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - AfRoutReq *AfRoutingRequirementRm `json:"afRoutReq,omitempty" yaml:"afRoutReq" bson:"afRoutReq,omitempty"` - QosReference string `json:"qosReference,omitempty" yaml:"qosReference" bson:"qosReference,omitempty"` - AltSerReqs []string `json:"altSerReqs,omitempty" yaml:"altSerReqs" bson:"altSerReqs,omitempty"` - // Contains removable alternative service requirements that include individual QoS parameter sets. - AltSerReqsData []AlternativeServiceRequirementsData `json:"altSerReqsData,omitempty" yaml:"altSerReqsData" bson:"altSerReqsData,omitempty"` - DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` - Codecs []string `json:"codecs,omitempty" yaml:"codecs" bson:"codecs,omitempty"` - // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. - DesMaxLatency float32 `json:"desMaxLatency,omitempty" yaml:"desMaxLatency" bson:"desMaxLatency,omitempty"` - // string with format 'float' as defined in OpenAPI with the OpenAPI defined 'nullable: true' property. - DesMaxLoss float32 `json:"desMaxLoss,omitempty" yaml:"desMaxLoss" bson:"desMaxLoss,omitempty"` - FlusId string `json:"flusId,omitempty" yaml:"flusId" bson:"flusId,omitempty"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxSuppBwDl string `json:"maxSuppBwDl,omitempty" yaml:"maxSuppBwDl" bson:"maxSuppBwDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxSuppBwUl string `json:"maxSuppBwUl,omitempty" yaml:"maxSuppBwUl" bson:"maxSuppBwUl,omitempty"` - MedCompN int32 `json:"medCompN" yaml:"medCompN" bson:"medCompN,omitempty"` - // Contains the requested bitrate and filters for the set of service data flows identified by their common flow identifier. The key of the map is the fNum attribute. - MedSubComps map[string]*MediaSubComponentRm `json:"medSubComps,omitempty" yaml:"medSubComps" bson:"medSubComps,omitempty"` - MedType MediaType `json:"medType,omitempty" yaml:"medType" bson:"medType,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MinDesBwDl string `json:"minDesBwDl,omitempty" yaml:"minDesBwDl" bson:"minDesBwDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MinDesBwUl string `json:"minDesBwUl,omitempty" yaml:"minDesBwUl" bson:"minDesBwUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MirBwDl string `json:"mirBwDl,omitempty" yaml:"mirBwDl" bson:"mirBwDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MirBwUl string `json:"mirBwUl,omitempty" yaml:"mirBwUl" bson:"mirBwUl,omitempty"` - PreemptCap PreemptionCapability `json:"preemptCap,omitempty" yaml:"preemptCap" bson:"preemptCap,omitempty"` - PreemptVuln PreemptionVulnerability `json:"preemptVuln,omitempty" yaml:"preemptVuln" bson:"preemptVuln,omitempty"` - PrioSharingInd PrioritySharingIndicator `json:"prioSharingInd,omitempty" yaml:"prioSharingInd" bson:"prioSharingInd,omitempty"` - ResPrio ReservPriority `json:"resPrio,omitempty" yaml:"resPrio" bson:"resPrio,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - RrBw string `json:"rrBw,omitempty" yaml:"rrBw" bson:"rrBw,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - RsBw string `json:"rsBw,omitempty" yaml:"rsBw" bson:"rsBw,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. - SharingKeyDl int32 `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer with the OpenAPI 'nullable: true' property. - SharingKeyUl int32 `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` - TsnQos *TsnQosContainerRm `json:"tsnQos,omitempty" yaml:"tsnQos" bson:"tsnQos,omitempty"` - TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` - TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` -} diff --git a/models/models/model_media_initiator_flag.go b/models/models/model_media_initiator_flag.go deleted file mode 100644 index 8007146b..00000000 --- a/models/models/model_media_initiator_flag.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MediaInitiatorFlag string - -// List of MediaInitiatorFlag -const ( - MediaInitiatorFlag_CALLED_PARTY MediaInitiatorFlag = "CALLED_PARTY" - MediaInitiatorFlag_CALLING_PARTY MediaInitiatorFlag = "CALLING_PARTY" - MediaInitiatorFlag_UNKNOWN MediaInitiatorFlag = "UNKNOWN" -) diff --git a/models/models/model_media_streaming_access_record.go b/models/models/model_media_streaming_access_record.go deleted file mode 100644 index 3ad0493b..00000000 --- a/models/models/model_media_streaming_access_record.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type MediaStreamingAccessRecord struct { - // string with format 'date-time' as defined in OpenAPI. - Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` - MediaStreamHandlerEndpointAddress *EndpointAddress `json:"mediaStreamHandlerEndpointAddress" yaml:"mediaStreamHandlerEndpointAddress" bson:"mediaStreamHandlerEndpointAddress,omitempty"` - ApplicationServerEndpointAddress *EndpointAddress `json:"applicationServerEndpointAddress" yaml:"applicationServerEndpointAddress" bson:"applicationServerEndpointAddress,omitempty"` - SessionIdentifier string `json:"sessionIdentifier,omitempty" yaml:"sessionIdentifier" bson:"sessionIdentifier,omitempty"` - RequestMessage map[string]interface{} `json:"requestMessage" yaml:"requestMessage" bson:"requestMessage,omitempty"` - CacheStatus CacheStatus `json:"cacheStatus,omitempty" yaml:"cacheStatus" bson:"cacheStatus,omitempty"` - ResponseMessage map[string]interface{} `json:"responseMessage" yaml:"responseMessage" bson:"responseMessage,omitempty"` - // string with format 'float' as defined in OpenAPI. - ProcessingLatency float32 `json:"processingLatency" yaml:"processingLatency" bson:"processingLatency,omitempty"` - ConnectionMetrics map[string]interface{} `json:"connectionMetrics,omitempty" yaml:"connectionMetrics" bson:"connectionMetrics,omitempty"` -} diff --git a/models/models/model_media_sub_component.go b/models/models/model_media_sub_component.go deleted file mode 100644 index b50e9542..00000000 --- a/models/models/model_media_sub_component.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a media subcomponent. -type MediaSubComponent struct { - AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` - EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` - FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` - FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // 2-octet string, where each octet is encoded in hexadecimal representation. The first octet contains the IPv4 Type-of-Service or the IPv6 Traffic-Class field and the second octet contains the ToS/Traffic Class mask field. - TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` - FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` -} diff --git a/models/models/model_media_sub_component_rm.go b/models/models/model_media_sub_component_rm.go deleted file mode 100644 index af29e34e..00000000 --- a/models/models/model_media_sub_component_rm.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the MediaSubComponent data type, but with the OpenAPI nullable property set to true. Removable attributes marBwDl and marBwUl are defined with the corresponding removable data type. -type MediaSubComponentRm struct { - AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` - EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` - FNum int32 `json:"fNum" yaml:"fNum" bson:"fNum,omitempty"` - FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` - FStatus FlowStatus `json:"fStatus,omitempty" yaml:"fStatus" bson:"fStatus,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MarBwDl string `json:"marBwDl,omitempty" yaml:"marBwDl" bson:"marBwDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MarBwUl string `json:"marBwUl,omitempty" yaml:"marBwUl" bson:"marBwUl,omitempty"` - // This data type is defined in the same way as the TosTrafficClass data type, but with the OpenAPI nullable property set to true. - TosTrCl string `json:"tosTrCl,omitempty" yaml:"tosTrCl" bson:"tosTrCl,omitempty"` - FlowUsage FlowUsage `json:"flowUsage,omitempty" yaml:"flowUsage" bson:"flowUsage,omitempty"` -} diff --git a/models/models/model_media_type.go b/models/models/model_media_type.go deleted file mode 100644 index 22b4533d..00000000 --- a/models/models/model_media_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MediaType string - -// List of MediaType -const ( - MediaType_AUDIO MediaType = "AUDIO" - MediaType_VIDEO MediaType = "VIDEO" - MediaType_DATA MediaType = "DATA" - MediaType_APPLICATION MediaType = "APPLICATION" - MediaType_CONTROL MediaType = "CONTROL" - MediaType_TEXT MediaType = "TEXT" - MediaType_MESSAGE MediaType = "MESSAGE" - MediaType_OTHER MediaType = "OTHER" -) diff --git a/models/models/model_message_body.go b/models/models/model_message_body.go deleted file mode 100644 index 03c5a05f..00000000 --- a/models/models/model_message_body.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MessageBody struct { - ContentType string `json:"contentType" yaml:"contentType" bson:"contentType,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ContentLength int32 `json:"contentLength" yaml:"contentLength" bson:"contentLength,omitempty"` - ContentDisposition string `json:"contentDisposition,omitempty" yaml:"contentDisposition" bson:"contentDisposition,omitempty"` - Originator OriginatorPartyType `json:"originator,omitempty" yaml:"originator" bson:"originator,omitempty"` -} diff --git a/models/models/model_message_class.go b/models/models/model_message_class.go deleted file mode 100644 index 69193623..00000000 --- a/models/models/model_message_class.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MessageClass struct { - ClassIdentifier ClassIdentifier `json:"classIdentifier,omitempty" yaml:"classIdentifier" bson:"classIdentifier,omitempty"` - TokenText string `json:"tokenText,omitempty" yaml:"tokenText" bson:"tokenText,omitempty"` -} diff --git a/models/models/model_message_waiting_data.go b/models/models/model_message_waiting_data.go deleted file mode 100644 index b3b0e326..00000000 --- a/models/models/model_message_waiting_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Message Waiting Data list. -type MessageWaitingData struct { - MwdList []SmscData `json:"mwdList,omitempty" yaml:"mwdList" bson:"mwdList,omitempty"` -} diff --git a/models/models/model_meta_schema.go b/models/models/model_meta_schema.go deleted file mode 100644 index b980f7ff..00000000 --- a/models/models/model_meta_schema.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Defines the Meta Schema -type MetaSchema struct { - // Represents the Identifier of a Meta schema. - SchemaId string `json:"schemaId" yaml:"schemaId" bson:"schemaId,omitempty"` - MetaTags []TagType `json:"metaTags" yaml:"metaTags" bson:"metaTags,omitempty"` -} diff --git a/models/models/model_metering_method.go b/models/models/model_metering_method.go deleted file mode 100644 index 3ceb8b77..00000000 --- a/models/models/model_metering_method.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MeteringMethod string - -// List of MeteringMethod -const ( - MeteringMethod_DURATION MeteringMethod = "DURATION" - MeteringMethod_VOLUME MeteringMethod = "VOLUME" - MeteringMethod_DURATION_VOLUME MeteringMethod = "DURATION_VOLUME" - MeteringMethod_EVENT MeteringMethod = "EVENT" -) diff --git a/models/models/model_mfaf_info.go b/models/models/model_mfaf_info.go deleted file mode 100644 index 7141153e..00000000 --- a/models/models/model_mfaf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a MFAF NF Instance -type MfafInfo struct { - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` -} diff --git a/models/models/model_mico_mode_indication.go b/models/models/model_mico_mode_indication.go deleted file mode 100644 index e3830da3..00000000 --- a/models/models/model_mico_mode_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MicoModeIndication string - -// List of MICOModeIndication -const ( - MicoModeIndication_MICO_MODE MicoModeIndication = "MICO_MODE" - MicoModeIndication_NO_MICO_MODE MicoModeIndication = "NO_MICO_MODE" -) diff --git a/models/models/model_minor_location_qo_s.go b/models/models/model_minor_location_qo_s.go deleted file mode 100644 index 9afc5688..00000000 --- a/models/models/model_minor_location_qo_s.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contain Minor Location QoS. -type MinorLocationQoS struct { - // Indicates value of accuracy. - HAccuracy float32 `json:"hAccuracy,omitempty" yaml:"hAccuracy" bson:"hAccuracy,omitempty"` - // Indicates value of accuracy. - VAccuracy float32 `json:"vAccuracy,omitempty" yaml:"vAccuracy" bson:"vAccuracy,omitempty"` -} diff --git a/models/models/model_ml_analytics_info.go b/models/models/model_ml_analytics_info.go deleted file mode 100644 index 349f9a09..00000000 --- a/models/models/model_ml_analytics_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// ML Analytics Filter information supported by the Nnwdaf_MLModelProvision service -type MlAnalyticsInfo struct { - MlAnalyticsIds []NwdafEvent `json:"mlAnalyticsIds,omitempty" yaml:"mlAnalyticsIds" bson:"mlAnalyticsIds,omitempty"` - SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` -} diff --git a/models/models/model_ml_event_notif.go b/models/models/model_ml_event_notif.go deleted file mode 100644 index bdb18d49..00000000 --- a/models/models/model_ml_event_notif.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a notification related to a single event that occurred. -type MlEventNotif struct { - Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - MLFileAddr *MlModelAddr `json:"mLFileAddr" yaml:"mLFileAddr" bson:"mLFileAddr,omitempty"` - ValidityPeriod *TimeWindow `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` - SpatialValidity *NetworkAreaInfo `json:"spatialValidity,omitempty" yaml:"spatialValidity" bson:"spatialValidity,omitempty"` -} diff --git a/models/models/model_ml_event_subscription.go b/models/models/model_ml_event_subscription.go deleted file mode 100644 index 5c2bbc63..00000000 --- a/models/models/model_ml_event_subscription.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a subscription to a single event. -type MlEventSubscription struct { - MLEvent NwdafEvent `json:"mLEvent" yaml:"mLEvent" bson:"mLEvent,omitempty"` - MLEventFilter *NwdafAnalyticsInfoEventFilter `json:"mLEventFilter" yaml:"mLEventFilter" bson:"mLEventFilter,omitempty"` - TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` - MLTargetPeriod *TimeWindow `json:"mLTargetPeriod,omitempty" yaml:"mLTargetPeriod" bson:"mLTargetPeriod,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - ExpiryTime *time.Time `json:"expiryTime,omitempty" yaml:"expiryTime" bson:"expiryTime,omitempty"` -} diff --git a/models/models/model_ml_model_addr.go b/models/models/model_ml_model_addr.go deleted file mode 100644 index d1fcfa3d..00000000 --- a/models/models/model_ml_model_addr.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Addresses of ML model files. -type MlModelAddr struct { - // String providing an URI formatted according to RFC 3986. - MLModelUrl string `json:"mLModelUrl,omitempty" yaml:"mLModelUrl" bson:"mLModelUrl,omitempty"` - // The FQDN of the ML Model file. - MlFileFqdn string `json:"mlFileFqdn,omitempty" yaml:"mlFileFqdn" bson:"mlFileFqdn,omitempty"` -} diff --git a/models/models/model_ml_model_info.go b/models/models/model_ml_model_info.go deleted file mode 100644 index 5af1341a..00000000 --- a/models/models/model_ml_model_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about an ML models. -type MlModelInfo struct { - MlFileAddrs []MlModelAddr `json:"mlFileAddrs,omitempty" yaml:"mlFileAddrs" bson:"mlFileAddrs,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ModelProvId string `json:"modelProvId,omitempty" yaml:"modelProvId" bson:"modelProvId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ModelProvSetId string `json:"modelProvSetId,omitempty" yaml:"modelProvSetId" bson:"modelProvSetId,omitempty"` -} diff --git a/models/models/model_mm_context.go b/models/models/model_mm_context.go deleted file mode 100644 index 511c73be..00000000 --- a/models/models/model_mm_context.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a Mobility Management Context in UE Context -type MmContext struct { - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` - NasSecurityMode *NasSecurityMode `json:"nasSecurityMode,omitempty" yaml:"nasSecurityMode" bson:"nasSecurityMode,omitempty"` - EpsNasSecurityMode *EpsNasSecurityMode `json:"epsNasSecurityMode,omitempty" yaml:"epsNasSecurityMode" bson:"epsNasSecurityMode,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NasDownlinkCount int32 `json:"nasDownlinkCount,omitempty" yaml:"nasDownlinkCount" bson:"nasDownlinkCount,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NasUplinkCount int32 `json:"nasUplinkCount,omitempty" yaml:"nasUplinkCount" bson:"nasUplinkCount,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UeSecurityCapability string `json:"ueSecurityCapability,omitempty" yaml:"ueSecurityCapability" bson:"ueSecurityCapability,omitempty"` - // string with format 'bytes' as defined in OpenAPI - S1UeNetworkCapability string `json:"s1UeNetworkCapability,omitempty" yaml:"s1UeNetworkCapability" bson:"s1UeNetworkCapability,omitempty"` - AllowedNssai []Snssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` - NssaiMappingList []NssaiMapping `json:"nssaiMappingList,omitempty" yaml:"nssaiMappingList" bson:"nssaiMappingList,omitempty"` - AllowedHomeNssai []Snssai `json:"allowedHomeNssai,omitempty" yaml:"allowedHomeNssai" bson:"allowedHomeNssai,omitempty"` - NsInstanceList []string `json:"nsInstanceList,omitempty" yaml:"nsInstanceList" bson:"nsInstanceList,omitempty"` - ExpectedUEbehavior *ExpectedUeBehavior `json:"expectedUEbehavior,omitempty" yaml:"expectedUEbehavior" bson:"expectedUEbehavior,omitempty"` - UeDifferentiationInfo *UeDifferentiationInfo `json:"ueDifferentiationInfo,omitempty" yaml:"ueDifferentiationInfo" bson:"ueDifferentiationInfo,omitempty"` - // string with format 'bytes' as defined in OpenAPI - PlmnAssiUeRadioCapId string `json:"plmnAssiUeRadioCapId,omitempty" yaml:"plmnAssiUeRadioCapId" bson:"plmnAssiUeRadioCapId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - ManAssiUeRadioCapId string `json:"manAssiUeRadioCapId,omitempty" yaml:"manAssiUeRadioCapId" bson:"manAssiUeRadioCapId,omitempty"` - UcmfDicEntryId string `json:"ucmfDicEntryId,omitempty" yaml:"ucmfDicEntryId" bson:"ucmfDicEntryId,omitempty"` - N3IwfId *GlobalRanNodeId `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` - WagfId *GlobalRanNodeId `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` - TngfId *GlobalRanNodeId `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` - AnN2ApId int32 `json:"anN2ApId,omitempty" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` - NssaaStatusList []NssaaStatus `json:"nssaaStatusList,omitempty" yaml:"nssaaStatusList" bson:"nssaaStatusList,omitempty"` - PendingNssaiMappingList []NssaiMapping `json:"pendingNssaiMappingList,omitempty" yaml:"pendingNssaiMappingList" bson:"pendingNssaiMappingList,omitempty"` - UuaaMmStatus UuaaMmStatus `json:"uuaaMmStatus,omitempty" yaml:"uuaaMmStatus" bson:"uuaaMmStatus,omitempty"` -} diff --git a/models/models/model_mm_tel_charging_information.go b/models/models/model_mm_tel_charging_information.go deleted file mode 100644 index 5f51c747..00000000 --- a/models/models/model_mm_tel_charging_information.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MmTelChargingInformation struct { - SupplementaryServices []SupplementaryService `json:"supplementaryServices,omitempty" yaml:"supplementaryServices" bson:"supplementaryServices,omitempty"` -} diff --git a/models/models/model_mm_transaction_location_report_item.go b/models/models/model_mm_transaction_location_report_item.go deleted file mode 100644 index 74e145cb..00000000 --- a/models/models/model_mm_transaction_location_report_item.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// UE MM Transaction Report Item per Location -type MmTransactionLocationReportItem struct { - Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` - Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` -} diff --git a/models/models/model_mm_transaction_slice_report_item.go b/models/models/model_mm_transaction_slice_report_item.go deleted file mode 100644 index befae9e9..00000000 --- a/models/models/model_mm_transaction_slice_report_item.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// UE MM Transaction Report Item per Slice -type MmTransactionSliceReportItem struct { - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` - Transactions int32 `json:"transactions" yaml:"transactions" bson:"transactions,omitempty"` -} diff --git a/models/models/model_mme_capabilities.go b/models/models/model_mme_capabilities.go deleted file mode 100644 index b70effc0..00000000 --- a/models/models/model_mme_capabilities.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MME capabilities -type MmeCapabilities struct { - NonIpSupported bool `json:"nonIpSupported,omitempty" yaml:"nonIpSupported" bson:"nonIpSupported,omitempty"` - EthernetSupported bool `json:"ethernetSupported,omitempty" yaml:"ethernetSupported" bson:"ethernetSupported,omitempty"` - UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` -} diff --git a/models/models/model_mme_location_data.go b/models/models/model_mme_location_data.go deleted file mode 100644 index dcba8aa7..00000000 --- a/models/models/model_mme_location_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location information as retrieved from the MME serving node -type MmeLocationData struct { - // Fully Qualified Domain Name - MmeAddress string `json:"mmeAddress" yaml:"mmeAddress" bson:"mmeAddress,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - MmeLocation *EutraLocation `json:"mmeLocation,omitempty" yaml:"mmeLocation" bson:"mmeLocation,omitempty"` - CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_mnpf_info.go b/models/models/model_mnpf_info.go deleted file mode 100644 index d7081393..00000000 --- a/models/models/model_mnpf_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an MNPF Instance -type MnpfInfo struct { - MsisdnRanges []IdentityRange `json:"msisdnRanges" yaml:"msisdnRanges" bson:"msisdnRanges,omitempty"` -} diff --git a/models/models/model_mo_exp_data_counter.go b/models/models/model_mo_exp_data_counter.go deleted file mode 100644 index cac11c1f..00000000 --- a/models/models/model_mo_exp_data_counter.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contain the MO Exception Data Counter. -type MoExpDataCounter struct { - // Unsigned integer identifying the MO Exception Data Counter, as specified in clause 5.31.14.3 of 3GPP TS 23.501. - Counter int32 `json:"counter" yaml:"counter" bson:"counter,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp,omitempty" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/models/model_model_info.go b/models/models/model_model_info.go deleted file mode 100644 index 03548d7d..00000000 --- a/models/models/model_model_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about an ML model. -type ModelInfo struct { - AnalyticsId NwdafEvent `json:"analyticsId" yaml:"analyticsId" bson:"analyticsId,omitempty"` - MlModelInfos []MlModelInfo `json:"mlModelInfos" yaml:"mlModelInfos" bson:"mlModelInfos,omitempty"` -} diff --git a/models/models/model_modification_notification.go b/models/models/model_modification_notification.go deleted file mode 100644 index abba4833..00000000 --- a/models/models/model_modification_notification.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ModificationNotification struct { - NotifyItems []NotifyItem `json:"notifyItems" yaml:"notifyItems" bson:"notifyItems,omitempty"` -} diff --git a/models/models/model_modify_pdu_session_request.go b/models/models/model_modify_pdu_session_request.go deleted file mode 100644 index 35bfbc33..00000000 --- a/models/models/model_modify_pdu_session_request.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ModifyPduSessionRequest struct { - JsonData *VsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` -} diff --git a/models/models/model_modify_pdu_session_response_200.go b/models/models/model_modify_pdu_session_response_200.go deleted file mode 100644 index 42b9bec2..00000000 --- a/models/models/model_modify_pdu_session_response_200.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ModifyPduSessionResponse200 struct { - JsonData *VsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` -} diff --git a/models/models/model_modify_pdu_session_response_400.go b/models/models/model_modify_pdu_session_response_400.go deleted file mode 100644 index 633b9d59..00000000 --- a/models/models/model_modify_pdu_session_response_400.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ModifyPduSessionResponse400 struct { - JsonData *VsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` -} diff --git a/models/models/model_modify_response_200.go b/models/models/model_modify_response_200.go deleted file mode 100644 index e1e873fc..00000000 --- a/models/models/model_modify_response_200.go +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ModifyResponse200 struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` - // The execution report contains an array of report items. Each report item indicates one failed modification. - Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` - UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` -} diff --git a/models/models/model_modify_shared_data_subs_response_200.go b/models/models/model_modify_shared_data_subs_response_200.go deleted file mode 100644 index cf4c6fae..00000000 --- a/models/models/model_modify_shared_data_subs_response_200.go +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ModifySharedDataSubsResponse200 struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` - // The execution report contains an array of report items. Each report item indicates one failed modification. - Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` - UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` -} diff --git a/models/models/model_modify_subscription_request.go b/models/models/model_modify_subscription_request.go deleted file mode 100644 index 9fb8bc83..00000000 --- a/models/models/model_modify_subscription_request.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.10.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ModifySubscriptionRequest struct { -} diff --git a/models/models/model_modifysubscription_data_subscription_response_200.go b/models/models/model_modifysubscription_data_subscription_response_200.go deleted file mode 100644 index 09735791..00000000 --- a/models/models/model_modifysubscription_data_subscription_response_200.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ModifysubscriptionDataSubscriptionResponse200 struct { - // The execution report contains an array of report items. Each report item indicates one failed modification. - Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` - // String represents the SUPI or GPSI - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // String providing an URI formatted according to RFC 3986. - OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` - HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_monitoring_event.go b/models/models/model_monitoring_event.go deleted file mode 100644 index d44bebbd..00000000 --- a/models/models/model_monitoring_event.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MonitoringEvent struct { - EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - RevokedCause RevokedCause `json:"revokedCause,omitempty" yaml:"revokedCause" bson:"revokedCause,omitempty"` -} diff --git a/models/models/model_motion_event_info.go b/models/models/model_motion_event_info.go deleted file mode 100644 index 2056b1f8..00000000 --- a/models/models/model_motion_event_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the information of motion based event reporting. -type MotionEventInfo struct { - // Minimum straight line distance moved by a UE to trigger a motion event report. - LinearDistance int32 `json:"linearDistance" yaml:"linearDistance" bson:"linearDistance,omitempty"` - OccurrenceInfo OccurrenceInfo `json:"occurrenceInfo,omitempty" yaml:"occurrenceInfo" bson:"occurrenceInfo,omitempty"` - // Minimum interval between event reports. - MinimumInterval int32 `json:"minimumInterval,omitempty" yaml:"minimumInterval" bson:"minimumInterval,omitempty"` - // Maximum interval between event reports. - MaximumInterval int32 `json:"maximumInterval,omitempty" yaml:"maximumInterval" bson:"maximumInterval,omitempty"` - // Maximum time interval between consecutive evaluations by a UE of a trigger event. - SamplingInterval int32 `json:"samplingInterval,omitempty" yaml:"samplingInterval" bson:"samplingInterval,omitempty"` - // Maximum duration of event reporting. - ReportingDuration int32 `json:"reportingDuration,omitempty" yaml:"reportingDuration" bson:"reportingDuration,omitempty"` - ReportingLocationReq bool `json:"reportingLocationReq,omitempty" yaml:"reportingLocationReq" bson:"reportingLocationReq,omitempty"` -} diff --git a/models/models/model_mps_action.go b/models/models/model_mps_action.go deleted file mode 100644 index e739c6c2..00000000 --- a/models/models/model_mps_action.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MpsAction string - -// List of MpsAction -const ( - MpsAction_DISABLE_MPS_FOR_DTS MpsAction = "DISABLE_MPS_FOR_DTS" - MpsAction_ENABLE_MPS_FOR_DTS MpsAction = "ENABLE_MPS_FOR_DTS" - MpsAction_AUTHORIZE_AND_ENABLE_MPS_FOR_DTS MpsAction = "AUTHORIZE_AND_ENABLE_MPS_FOR_DTS" -) diff --git a/models/models/model_ms_access_activity_collection.go b/models/models/model_ms_access_activity_collection.go deleted file mode 100644 index d61f5140..00000000 --- a/models/models/model_ms_access_activity_collection.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains Media Streaming access activity collected for an UE Application via AF. -type MsAccessActivityCollection struct { - MsAccActs []MediaStreamingAccessRecord `json:"msAccActs" yaml:"msAccActs" bson:"msAccActs,omitempty"` -} diff --git a/models/models/model_ms_consumption_collection.go b/models/models/model_ms_consumption_collection.go deleted file mode 100644 index 1c00b6f8..00000000 --- a/models/models/model_ms_consumption_collection.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Media Streaming Consumption information collected for an UE Application via AF. -type MsConsumptionCollection struct { - MsConsumps []string `json:"msConsumps" yaml:"msConsumps" bson:"msConsumps,omitempty"` -} diff --git a/models/models/model_ms_dyn_policy_invocation_collection.go b/models/models/model_ms_dyn_policy_invocation_collection.go deleted file mode 100644 index 9323b0b1..00000000 --- a/models/models/model_ms_dyn_policy_invocation_collection.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Media Streaming Dynamic Policy invocation collected for an UE Application via AF. -type MsDynPolicyInvocationCollection struct { - MsDynPlyInvocs []DynamicPolicy `json:"msDynPlyInvocs" yaml:"msDynPlyInvocs" bson:"msDynPlyInvocs,omitempty"` -} diff --git a/models/models/model_ms_net_ass_invocation_collection.go b/models/models/model_ms_net_ass_invocation_collection.go deleted file mode 100644 index 7b5ee150..00000000 --- a/models/models/model_ms_net_ass_invocation_collection.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Media Streaming Network Assistance invocation collected for an UE Application via AF. -type MsNetAssInvocationCollection struct { - MsNetAssInvocs []NetworkAssistanceSession `json:"msNetAssInvocs" yaml:"msNetAssInvocs" bson:"msNetAssInvocs,omitempty"` -} diff --git a/models/models/model_ms_qoe_metrics_collection.go b/models/models/model_ms_qoe_metrics_collection.go deleted file mode 100644 index ff84bfa7..00000000 --- a/models/models/model_ms_qoe_metrics_collection.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Media Streaming QoE metrics information collected for an UE Application via AF. -type MsQoeMetricsCollection struct { - MsQoeMetrics []string `json:"msQoeMetrics" yaml:"msQoeMetrics" bson:"msQoeMetrics,omitempty"` -} diff --git a/models/models/model_msisdn_list.go b/models/models/model_msisdn_list.go deleted file mode 100644 index 946a6344..00000000 --- a/models/models/model_msisdn_list.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of MSISDNs associated to the IMS public Identity -type MsisdnList struct { - // String containing an additional or basic MSISDN - BasicMsisdn string `json:"basicMsisdn" yaml:"basicMsisdn" bson:"basicMsisdn,omitempty"` - AdditionalMsisdns []string `json:"additionalMsisdns,omitempty" yaml:"additionalMsisdns" bson:"additionalMsisdns,omitempty"` -} diff --git a/models/models/model_mtc_provider.go b/models/models/model_mtc_provider.go deleted file mode 100644 index aadba2ce..00000000 --- a/models/models/model_mtc_provider.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MTC provider information. -type MtcProvider struct { - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/models/model_multicast_access_control.go b/models/models/model_multicast_access_control.go deleted file mode 100644 index d24985bd..00000000 --- a/models/models/model_multicast_access_control.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents multicast address access control information. -type MulticastAccessControl struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - SrcIpv4Addr string `json:"srcIpv4Addr,omitempty" yaml:"srcIpv4Addr" bson:"srcIpv4Addr,omitempty"` - SrcIpv6Addr string `json:"srcIpv6Addr,omitempty" yaml:"srcIpv6Addr" bson:"srcIpv6Addr,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - MulticastV4Addr string `json:"multicastV4Addr,omitempty" yaml:"multicastV4Addr" bson:"multicastV4Addr,omitempty"` - MulticastV6Addr string `json:"multicastV6Addr,omitempty" yaml:"multicastV6Addr" bson:"multicastV6Addr,omitempty"` - AccStatus AccessRightStatus `json:"accStatus" yaml:"accStatus" bson:"accStatus,omitempty"` -} diff --git a/models/models/model_multicast_mbs_group_memb.go b/models/models/model_multicast_mbs_group_memb.go deleted file mode 100644 index 31b66f1c..00000000 --- a/models/models/model_multicast_mbs_group_memb.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MulticastMbsGroupMemb struct { - MulticastGroupMemb []string `json:"multicastGroupMemb" yaml:"multicastGroupMemb" bson:"multicastGroupMemb,omitempty"` - AfInstanceId string `json:"afInstanceId,omitempty" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InternalGroupIdentifier string `json:"internalGroupIdentifier,omitempty" yaml:"internalGroupIdentifier" bson:"internalGroupIdentifier,omitempty"` -} diff --git a/models/models/model_multiple_unit_information.go b/models/models/model_multiple_unit_information.go deleted file mode 100644 index c5081526..00000000 --- a/models/models/model_multiple_unit_information.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MultipleUnitInformation struct { - ResultCode ChfConvergedChargingResultCode `json:"resultCode,omitempty" yaml:"resultCode" bson:"resultCode,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - GrantedUnit *GrantedUnit `json:"grantedUnit,omitempty" yaml:"grantedUnit" bson:"grantedUnit,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // indicating a time in seconds. - ValidityTime int32 `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // indicating a time in seconds. - QuotaHoldingTime int32 `json:"quotaHoldingTime,omitempty" yaml:"quotaHoldingTime" bson:"quotaHoldingTime,omitempty"` - FinalUnitIndication *FinalUnitIndication `json:"finalUnitIndication,omitempty" yaml:"finalUnitIndication" bson:"finalUnitIndication,omitempty"` - TimeQuotaThreshold int32 `json:"timeQuotaThreshold,omitempty" yaml:"timeQuotaThreshold" bson:"timeQuotaThreshold,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - VolumeQuotaThreshold int32 `json:"volumeQuotaThreshold,omitempty" yaml:"volumeQuotaThreshold" bson:"volumeQuotaThreshold,omitempty"` - UnitQuotaThreshold int32 `json:"unitQuotaThreshold,omitempty" yaml:"unitQuotaThreshold" bson:"unitQuotaThreshold,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UPFID string `json:"uPFID,omitempty" yaml:"uPFID" bson:"uPFID,omitempty"` - AnnouncementInformation *AnnouncementInformation `json:"announcementInformation,omitempty" yaml:"announcementInformation" bson:"announcementInformation,omitempty"` -} diff --git a/models/models/model_n1_message_class.go b/models/models/model_n1_message_class.go deleted file mode 100644 index 7bfe8c9c..00000000 --- a/models/models/model_n1_message_class.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N1MessageClass string - -// List of N1MessageClass -const ( - N1MessageClass__5_GMM N1MessageClass = "5GMM" - N1MessageClass_SM N1MessageClass = "SM" - N1MessageClass_LPP N1MessageClass = "LPP" - N1MessageClass_SMS N1MessageClass = "SMS" - N1MessageClass_UPDP N1MessageClass = "UPDP" - N1MessageClass_LCS N1MessageClass = "LCS" -) diff --git a/models/models/model_n1_message_container.go b/models/models/model_n1_message_container.go deleted file mode 100644 index f83222dc..00000000 --- a/models/models/model_n1_message_container.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N1 Message container -type N1MessageContainer struct { - N1MessageClass N1MessageClass `json:"n1MessageClass" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` - N1MessageContent *RefToBinaryData `json:"n1MessageContent" yaml:"n1MessageContent" bson:"n1MessageContent,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` - ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` -} diff --git a/models/models/model_n1_message_notification.go b/models/models/model_n1_message_notification.go deleted file mode 100644 index b3b57178..00000000 --- a/models/models/model_n1_message_notification.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N1 message notification request -type N1MessageNotification struct { - N1NotifySubscriptionId string `json:"n1NotifySubscriptionId,omitempty" yaml:"n1NotifySubscriptionId" bson:"n1NotifySubscriptionId,omitempty"` - N1MessageContainer *N1MessageContainer `json:"n1MessageContainer" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` - // LCS Correlation ID. - LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` - RegistrationCtxtContainer *RegistrationContextContainer `json:"registrationCtxtContainer,omitempty" yaml:"registrationCtxtContainer" bson:"registrationCtxtContainer,omitempty"` - // LMF identification. - NewLmfIdentification string `json:"newLmfIdentification,omitempty" yaml:"newLmfIdentification" bson:"newLmfIdentification,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - CIoT5GSOptimisation bool `json:"cIoT5GSOptimisation,omitempty" yaml:"cIoT5GSOptimisation" bson:"cIoT5GSOptimisation,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` -} diff --git a/models/models/model_n1_message_notify_request.go b/models/models/model_n1_message_notify_request.go deleted file mode 100644 index 22adeb40..00000000 --- a/models/models/model_n1_message_notify_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N1MessageNotifyRequest struct { - JsonData *N1MessageNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` -} diff --git a/models/models/model_n1_n2_message_transfer_cause.go b/models/models/model_n1_n2_message_transfer_cause.go deleted file mode 100644 index 41b665fa..00000000 --- a/models/models/model_n1_n2_message_transfer_cause.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N1N2MessageTransferCause string - -// List of N1N2MessageTransferCause -const ( - N1N2MessageTransferCause_ATTEMPTING_TO_REACH_UE N1N2MessageTransferCause = "ATTEMPTING_TO_REACH_UE" - N1N2MessageTransferCause_N1_N2_TRANSFER_INITIATED N1N2MessageTransferCause = "N1_N2_TRANSFER_INITIATED" - N1N2MessageTransferCause_WAITING_FOR_ASYNCHRONOUS_TRANSFER N1N2MessageTransferCause = "WAITING_FOR_ASYNCHRONOUS_TRANSFER" - N1N2MessageTransferCause_UE_NOT_RESPONDING N1N2MessageTransferCause = "UE_NOT_RESPONDING" - N1N2MessageTransferCause_N1_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N1_MSG_NOT_TRANSFERRED" - N1N2MessageTransferCause_N2_MSG_NOT_TRANSFERRED N1N2MessageTransferCause = "N2_MSG_NOT_TRANSFERRED" - N1N2MessageTransferCause_UE_NOT_REACHABLE_FOR_SESSION N1N2MessageTransferCause = "UE_NOT_REACHABLE_FOR_SESSION" - N1N2MessageTransferCause_TEMPORARY_REJECT_REGISTRATION_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_REGISTRATION_ONGOING" - N1N2MessageTransferCause_TEMPORARY_REJECT_HANDOVER_ONGOING N1N2MessageTransferCause = "TEMPORARY_REJECT_HANDOVER_ONGOING" - N1N2MessageTransferCause_REJECTION_DUE_TO_PAGING_RESTRICTION N1N2MessageTransferCause = "REJECTION_DUE_TO_PAGING_RESTRICTION" - N1N2MessageTransferCause_AN_NOT_RESPONDING N1N2MessageTransferCause = "AN_NOT_RESPONDING" - N1N2MessageTransferCause_FAILURE_CAUSE_UNSPECIFIED N1N2MessageTransferCause = "FAILURE_CAUSE_UNSPECIFIED" -) diff --git a/models/models/model_n1_n2_message_transfer_error.go b/models/models/model_n1_n2_message_transfer_error.go deleted file mode 100644 index f5e63b6f..00000000 --- a/models/models/model_n1_n2_message_transfer_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N1/N2 Message Transfer Error response -type N1N2MessageTransferError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - ErrInfo *N1N2MsgTxfrErrDetail `json:"errInfo,omitempty" yaml:"errInfo" bson:"errInfo,omitempty"` -} diff --git a/models/models/model_n1_n2_message_transfer_req_data.go b/models/models/model_n1_n2_message_transfer_req_data.go deleted file mode 100644 index f311eba5..00000000 --- a/models/models/model_n1_n2_message_transfer_req_data.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N1/N2 message transfer request -type N1N2MessageTransferReqData struct { - N1MessageContainer *N1MessageContainer `json:"n1MessageContainer,omitempty" yaml:"n1MessageContainer" bson:"n1MessageContainer,omitempty"` - N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` - MtData *RefToBinaryData `json:"mtData,omitempty" yaml:"mtData" bson:"mtData,omitempty"` - SkipInd bool `json:"skipInd,omitempty" yaml:"skipInd" bson:"skipInd,omitempty"` - LastMsgIndication bool `json:"lastMsgIndication,omitempty" yaml:"lastMsgIndication" bson:"lastMsgIndication,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // LCS Correlation ID. - LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` - // Paging Policy Indicator - Ppi int32 `json:"ppi,omitempty" yaml:"ppi" bson:"ppi,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - // String providing an URI formatted according to RFC 3986. - N1n2FailureTxfNotifURI string `json:"n1n2FailureTxfNotifURI,omitempty" yaml:"n1n2FailureTxfNotifURI" bson:"n1n2FailureTxfNotifURI,omitempty"` - SmfReallocationInd bool `json:"smfReallocationInd,omitempty" yaml:"smfReallocationInd" bson:"smfReallocationInd,omitempty"` - AreaOfValidity *AreaOfValidity `json:"areaOfValidity,omitempty" yaml:"areaOfValidity" bson:"areaOfValidity,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` - MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` - ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` - TargetAccess AccessType `json:"targetAccess,omitempty" yaml:"targetAccess" bson:"targetAccess,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` -} diff --git a/models/models/model_n1_n2_message_transfer_request.go b/models/models/model_n1_n2_message_transfer_request.go deleted file mode 100644 index e9c662bc..00000000 --- a/models/models/model_n1_n2_message_transfer_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N1N2MessageTransferRequest struct { - JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` -} diff --git a/models/models/model_n1_n2_message_transfer_rsp_data.go b/models/models/model_n1_n2_message_transfer_rsp_data.go deleted file mode 100644 index e37c83d9..00000000 --- a/models/models/model_n1_n2_message_transfer_rsp_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N1/N2 message transfer response -type N1N2MessageTransferRspData struct { - Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_n1_n2_msg_txfr_err_detail.go b/models/models/model_n1_n2_msg_txfr_err_detail.go deleted file mode 100644 index 959a603e..00000000 --- a/models/models/model_n1_n2_msg_txfr_err_detail.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N1/N2 Message Transfer Error Details -type N1N2MsgTxfrErrDetail struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RetryAfter int32 `json:"retryAfter,omitempty" yaml:"retryAfter" bson:"retryAfter,omitempty"` - HighestPrioArp *Arp `json:"highestPrioArp,omitempty" yaml:"highestPrioArp" bson:"highestPrioArp,omitempty"` - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_n1_n2_msg_txfr_failure_notification.go b/models/models/model_n1_n2_msg_txfr_failure_notification.go deleted file mode 100644 index c1c7d131..00000000 --- a/models/models/model_n1_n2_msg_txfr_failure_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N1/N2 Message Transfer Failure Notification request -type N1N2MsgTxfrFailureNotification struct { - Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` - // String providing an URI formatted according to RFC 3986. - N1n2MsgDataUri string `json:"n1n2MsgDataUri" yaml:"n1n2MsgDataUri" bson:"n1n2MsgDataUri,omitempty"` -} diff --git a/models/models/model_n2_connection_charging_information.go b/models/models/model_n2_connection_charging_information.go deleted file mode 100644 index 16f11f86..00000000 --- a/models/models/model_n2_connection_charging_information.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2ConnectionChargingInformation struct { - N2ConnectionMessageType int32 `json:"n2ConnectionMessageType" yaml:"n2ConnectionMessageType" bson:"n2ConnectionMessageType,omitempty"` - UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` - RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` - RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` - ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` - ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` - RestrictedCnList []CoreNetworkType `json:"restrictedCnList,omitempty" yaml:"restrictedCnList" bson:"restrictedCnList,omitempty"` - AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` - RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` -} diff --git a/models/models/model_n2_info_container.go b/models/models/model_n2_info_container.go deleted file mode 100644 index 084a1a17..00000000 --- a/models/models/model_n2_info_container.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N2 information container -type N2InfoContainer struct { - N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` - SmInfo *N2SmInformation `json:"smInfo,omitempty" yaml:"smInfo" bson:"smInfo,omitempty"` - RanInfo *N2RanInformation `json:"ranInfo,omitempty" yaml:"ranInfo" bson:"ranInfo,omitempty"` - NrppaInfo *NrppaInformation `json:"nrppaInfo,omitempty" yaml:"nrppaInfo" bson:"nrppaInfo,omitempty"` - PwsInfo *PwsInformation `json:"pwsInfo,omitempty" yaml:"pwsInfo" bson:"pwsInfo,omitempty"` - V2xInfo *V2xInformation `json:"v2xInfo,omitempty" yaml:"v2xInfo" bson:"v2xInfo,omitempty"` - ProseInfo *ProSeInformation `json:"proseInfo,omitempty" yaml:"proseInfo" bson:"proseInfo,omitempty"` -} diff --git a/models/models/model_n2_info_content.go b/models/models/model_n2_info_content.go deleted file mode 100644 index dd747197..00000000 --- a/models/models/model_n2_info_content.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a transparent N2 information content to be relayed by AMF -type N2InfoContent struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NgapMessageType int32 `json:"ngapMessageType,omitempty" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` - NgapIeType AmfCommunicationNgapIeType `json:"ngapIeType,omitempty" yaml:"ngapIeType" bson:"ngapIeType,omitempty"` - NgapData *RefToBinaryData `json:"ngapData" yaml:"ngapData" bson:"ngapData,omitempty"` -} diff --git a/models/models/model_n2_info_notification_rsp_data.go b/models/models/model_n2_info_notification_rsp_data.go deleted file mode 100644 index 6bd06c49..00000000 --- a/models/models/model_n2_info_notification_rsp_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N2 information notification response -type N2InfoNotificationRspData struct { - SecRatDataUsageList []N2SmInformation `json:"secRatDataUsageList,omitempty" yaml:"secRatDataUsageList" bson:"secRatDataUsageList,omitempty"` -} diff --git a/models/models/model_n2_info_notify_handover_complete_response_200.go b/models/models/model_n2_info_notify_handover_complete_response_200.go deleted file mode 100644 index ea702e87..00000000 --- a/models/models/model_n2_info_notify_handover_complete_response_200.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2InfoNotifyHandoverCompleteResponse200 struct { - JsonData *N2InfoNotificationRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` -} diff --git a/models/models/model_n2_info_notify_reason.go b/models/models/model_n2_info_notify_reason.go deleted file mode 100644 index 813aa3ce..00000000 --- a/models/models/model_n2_info_notify_reason.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2InfoNotifyReason string - -// List of N2InfoNotifyReason -const ( - N2InfoNotifyReason_HANDOVER_COMPLETED N2InfoNotifyReason = "HANDOVER_COMPLETED" -) diff --git a/models/models/model_n2_info_notify_request.go b/models/models/model_n2_info_notify_request.go deleted file mode 100644 index 35ebac87..00000000 --- a/models/models/model_n2_info_notify_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2InfoNotifyRequest struct { - JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_n2_information_class.go b/models/models/model_n2_information_class.go deleted file mode 100644 index 16fc3192..00000000 --- a/models/models/model_n2_information_class.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2InformationClass string - -// List of N2InformationClass -const ( - N2InformationClass_SM N2InformationClass = "SM" - N2InformationClass_NRP_PA N2InformationClass = "NRPPa" - N2InformationClass_PWS N2InformationClass = "PWS" - N2InformationClass_PWS_BCAL N2InformationClass = "PWS-BCAL" // #nosec G101 - N2InformationClass_PWS_RF N2InformationClass = "PWS-RF" - N2InformationClass_RAN N2InformationClass = "RAN" - N2InformationClass_V2_X N2InformationClass = "V2X" - N2InformationClass_PROSE N2InformationClass = "PROSE" -) diff --git a/models/models/model_n2_information_notification.go b/models/models/model_n2_information_notification.go deleted file mode 100644 index 3bae4e75..00000000 --- a/models/models/model_n2_information_notification.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N2 information notification request -type N2InformationNotification struct { - N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` - N2InfoContainer *N2InfoContainer `json:"n2InfoContainer,omitempty" yaml:"n2InfoContainer" bson:"n2InfoContainer,omitempty"` - ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` - // LCS Correlation ID. - LcsCorrelationId string `json:"lcsCorrelationId,omitempty" yaml:"lcsCorrelationId" bson:"lcsCorrelationId,omitempty"` - NotifyReason N2InfoNotifyReason `json:"notifyReason,omitempty" yaml:"notifyReason" bson:"notifyReason,omitempty"` - SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` - // Fully Qualified Domain Name - InitialAmfName string `json:"initialAmfName,omitempty" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` - AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - NotifySourceNgRan bool `json:"notifySourceNgRan,omitempty" yaml:"notifySourceNgRan" bson:"notifySourceNgRan,omitempty"` -} diff --git a/models/models/model_n2_information_transfer_error.go b/models/models/model_n2_information_transfer_error.go deleted file mode 100644 index 16bafd2f..00000000 --- a/models/models/model_n2_information_transfer_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a failure response for a non-UE related N2 Information Transfer -type N2InformationTransferError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - PwsErrorInfo *PwsErrorData `json:"pwsErrorInfo,omitempty" yaml:"pwsErrorInfo" bson:"pwsErrorInfo,omitempty"` -} diff --git a/models/models/model_n2_information_transfer_req_data.go b/models/models/model_n2_information_transfer_req_data.go deleted file mode 100644 index bb91440e..00000000 --- a/models/models/model_n2_information_transfer_req_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a N2 Information Transfer request containing the N2 information requested to be transferred to 5G AN -type N2InformationTransferReqData struct { - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - RatSelector RatSelector `json:"ratSelector,omitempty" yaml:"ratSelector" bson:"ratSelector,omitempty"` - GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` - N2Information *N2InfoContainer `json:"n2Information" yaml:"n2Information" bson:"n2Information,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_n2_information_transfer_result.go b/models/models/model_n2_information_transfer_result.go deleted file mode 100644 index 65e6958b..00000000 --- a/models/models/model_n2_information_transfer_result.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2InformationTransferResult string - -// List of N2InformationTransferResult -const ( - N2InformationTransferResult_N2_INFO_TRANSFER_INITIATED N2InformationTransferResult = "N2_INFO_TRANSFER_INITIATED" -) diff --git a/models/models/model_n2_information_transfer_rsp_data.go b/models/models/model_n2_information_transfer_rsp_data.go deleted file mode 100644 index e59444aa..00000000 --- a/models/models/model_n2_information_transfer_rsp_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a successful response to the N2 Information Transfer request to transfer N2 Information to the AN -type N2InformationTransferRspData struct { - Result N2InformationTransferResult `json:"result" yaml:"result" bson:"result,omitempty"` - PwsRspData *PwsResponseData `json:"pwsRspData,omitempty" yaml:"pwsRspData" bson:"pwsRspData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_n2_interface_amf_info.go b/models/models/model_n2_interface_amf_info.go deleted file mode 100644 index efd8b34e..00000000 --- a/models/models/model_n2_interface_amf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// AMF N2 interface information -type N2InterfaceAmfInfo struct { - Ipv4EndpointAddress []string `json:"ipv4EndpointAddress,omitempty" yaml:"ipv4EndpointAddress" bson:"ipv4EndpointAddress,omitempty"` - Ipv6EndpointAddress []string `json:"ipv6EndpointAddress,omitempty" yaml:"ipv6EndpointAddress" bson:"ipv6EndpointAddress,omitempty"` - // Fully Qualified Domain Name - AmfName string `json:"amfName,omitempty" yaml:"amfName" bson:"amfName,omitempty"` -} diff --git a/models/models/model_n2_message_transfer_request.go b/models/models/model_n2_message_transfer_request.go deleted file mode 100644 index 453ab6c8..00000000 --- a/models/models/model_n2_message_transfer_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_MBSCommunication - * - * AMF Communication Service for MBS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.8.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2MessageTransferRequest struct { - JsonData *MbsN2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_n2_ran_information.go b/models/models/model_n2_ran_information.go deleted file mode 100644 index 66fcd60f..00000000 --- a/models/models/model_n2_ran_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the RAN related N2 information data part -type N2RanInformation struct { - N2InfoContent *N2InfoContent `json:"n2InfoContent" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` -} diff --git a/models/models/model_n2_sm_info_type.go b/models/models/model_n2_sm_info_type.go deleted file mode 100644 index e7ee2d25..00000000 --- a/models/models/model_n2_sm_info_type.go +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N2SmInfoType string - -// List of N2SmInfoType -const ( - N2SmInfoType_PDU_RES_SETUP_REQ N2SmInfoType = "PDU_RES_SETUP_REQ" - N2SmInfoType_PDU_RES_SETUP_RSP N2SmInfoType = "PDU_RES_SETUP_RSP" - N2SmInfoType_PDU_RES_SETUP_FAIL N2SmInfoType = "PDU_RES_SETUP_FAIL" - N2SmInfoType_PDU_RES_REL_CMD N2SmInfoType = "PDU_RES_REL_CMD" - N2SmInfoType_PDU_RES_REL_RSP N2SmInfoType = "PDU_RES_REL_RSP" - N2SmInfoType_PDU_RES_MOD_REQ N2SmInfoType = "PDU_RES_MOD_REQ" - N2SmInfoType_PDU_RES_MOD_RSP N2SmInfoType = "PDU_RES_MOD_RSP" - N2SmInfoType_PDU_RES_MOD_FAIL N2SmInfoType = "PDU_RES_MOD_FAIL" - N2SmInfoType_PDU_RES_NTY N2SmInfoType = "PDU_RES_NTY" - N2SmInfoType_PDU_RES_NTY_REL N2SmInfoType = "PDU_RES_NTY_REL" - N2SmInfoType_PDU_RES_MOD_IND N2SmInfoType = "PDU_RES_MOD_IND" - N2SmInfoType_PDU_RES_MOD_CFM N2SmInfoType = "PDU_RES_MOD_CFM" - N2SmInfoType_PATH_SWITCH_REQ N2SmInfoType = "PATH_SWITCH_REQ" - N2SmInfoType_PATH_SWITCH_SETUP_FAIL N2SmInfoType = "PATH_SWITCH_SETUP_FAIL" - N2SmInfoType_PATH_SWITCH_REQ_ACK N2SmInfoType = "PATH_SWITCH_REQ_ACK" - N2SmInfoType_PATH_SWITCH_REQ_FAIL N2SmInfoType = "PATH_SWITCH_REQ_FAIL" - N2SmInfoType_HANDOVER_REQUIRED N2SmInfoType = "HANDOVER_REQUIRED" - N2SmInfoType_HANDOVER_CMD N2SmInfoType = "HANDOVER_CMD" - N2SmInfoType_HANDOVER_PREP_FAIL N2SmInfoType = "HANDOVER_PREP_FAIL" - N2SmInfoType_HANDOVER_REQ_ACK N2SmInfoType = "HANDOVER_REQ_ACK" - N2SmInfoType_HANDOVER_RES_ALLOC_FAIL N2SmInfoType = "HANDOVER_RES_ALLOC_FAIL" - N2SmInfoType_SECONDARY_RAT_USAGE N2SmInfoType = "SECONDARY_RAT_USAGE" - N2SmInfoType_PDU_RES_MOD_IND_FAIL N2SmInfoType = "PDU_RES_MOD_IND_FAIL" - N2SmInfoType_UE_CONTEXT_RESUME_REQ N2SmInfoType = "UE_CONTEXT_RESUME_REQ" - N2SmInfoType_UE_CONTEXT_RESUME_RSP N2SmInfoType = "UE_CONTEXT_RESUME_RSP" - N2SmInfoType_UE_CONTEXT_SUSPEND_REQ N2SmInfoType = "UE_CONTEXT_SUSPEND_REQ" -) diff --git a/models/models/model_n2_sm_information.go b/models/models/model_n2_sm_information.go deleted file mode 100644 index de435990..00000000 --- a/models/models/model_n2_sm_information.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the session management SMF related N2 information data part -type N2SmInformation struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - N2InfoContent *N2InfoContent `json:"n2InfoContent,omitempty" yaml:"n2InfoContent" bson:"n2InfoContent,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - HomePlmnSnssai *Snssai `json:"homePlmnSnssai,omitempty" yaml:"homePlmnSnssai" bson:"homePlmnSnssai,omitempty"` - IwkSnssai *Snssai `json:"iwkSnssai,omitempty" yaml:"iwkSnssai" bson:"iwkSnssai,omitempty"` - SubjectToHo bool `json:"subjectToHo,omitempty" yaml:"subjectToHo" bson:"subjectToHo,omitempty"` -} diff --git a/models/models/model_n3ga_location.go b/models/models/model_n3ga_location.go deleted file mode 100644 index 1c024427..00000000 --- a/models/models/model_n3ga_location.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Non-3GPP access user location. -type N3gaLocation struct { - N3gppTai *Tai `json:"n3gppTai,omitempty" yaml:"n3gppTai" bson:"n3gppTai,omitempty"` - // This IE shall contain the N3IWF identifier received over NGAP and shall be encoded as a string of hexadecimal characters. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the N3IWF ID shall appear first in the string, and the character representing the 4 least significant bit of the N3IWF ID shall appear last in the string. - N3IwfId string `json:"n3IwfId,omitempty" yaml:"n3IwfId" bson:"n3IwfId,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` - UeIpv6Addr string `json:"ueIpv6Addr,omitempty" yaml:"ueIpv6Addr" bson:"ueIpv6Addr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PortNumber int32 `json:"portNumber,omitempty" yaml:"portNumber" bson:"portNumber,omitempty"` - Protocol TransportProtocol `json:"protocol,omitempty" yaml:"protocol" bson:"protocol,omitempty"` - TnapId *TnapId `json:"tnapId,omitempty" yaml:"tnapId" bson:"tnapId,omitempty"` - TwapId *TwapId `json:"twapId,omitempty" yaml:"twapId" bson:"twapId,omitempty"` - HfcNodeId *HfcNodeId `json:"hfcNodeId,omitempty" yaml:"hfcNodeId" bson:"hfcNodeId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - Gli string `json:"gli,omitempty" yaml:"gli" bson:"gli,omitempty"` - W5gbanLineType LineType `json:"w5gbanLineType,omitempty" yaml:"w5gbanLineType" bson:"w5gbanLineType,omitempty"` - // Global Cable Identifier uniquely identifying the connection between the 5G-CRG or FN-CRG to the 5GS. See clause 28.15.4 of 3GPP TS 23.003. This shall be encoded as a string per clause 28.15.4 of 3GPP TS 23.003, and compliant with the syntax specified in clause 2.2 of IETF RFC 7542 for the username part of a NAI. The GCI value is specified in CableLabs WR-TR-5WWC-ARCH. - Gci string `json:"gci,omitempty" yaml:"gci" bson:"gci,omitempty"` -} diff --git a/models/models/model_n4_information.go b/models/models/model_n4_information.go deleted file mode 100644 index 612f67ae..00000000 --- a/models/models/model_n4_information.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// N4 Information -type N4Information struct { - N4MessageType N4MessageType `json:"n4MessageType" yaml:"n4MessageType" bson:"n4MessageType,omitempty"` - N4MessagePayload *RefToBinaryData `json:"n4MessagePayload" yaml:"n4MessagePayload" bson:"n4MessagePayload,omitempty"` - N4DnaiInfo *SmfPduSessionDnaiInformation `json:"n4DnaiInfo,omitempty" yaml:"n4DnaiInfo" bson:"n4DnaiInfo,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UlClBpId string `json:"ulClBpId,omitempty" yaml:"ulClBpId" bson:"ulClBpId,omitempty"` - N9UlPdrIdList []int32 `json:"n9UlPdrIdList,omitempty" yaml:"n9UlPdrIdList" bson:"n9UlPdrIdList,omitempty"` -} diff --git a/models/models/model_n4_message_type.go b/models/models/model_n4_message_type.go deleted file mode 100644 index bf02e69c..00000000 --- a/models/models/model_n4_message_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type N4MessageType string - -// List of N4MessageType -const ( - N4MessageType_EST_REQ N4MessageType = "PFCP_SES_EST_REQ" - N4MessageType_EST_RSP N4MessageType = "PFCP_SES_EST_RSP" - N4MessageType_MOD_REQ N4MessageType = "PFCP_SES_MOD_REQ" - N4MessageType_MOD_RSP N4MessageType = "PFCP_SES_MOD_RSP" - N4MessageType_DEL_REQ N4MessageType = "PFCP_SES_DEL_REQ" - N4MessageType_DEL_RSP N4MessageType = "PFCP_SES_DEL_RSP" - N4MessageType_REP_REQ N4MessageType = "PFCP_SES_REP_REQ" - N4MessageType_REP_RSP N4MessageType = "PFCP_SES_REP_RSP" -) diff --git a/models/models/model_nas_security_mode.go b/models/models/model_nas_security_mode.go deleted file mode 100644 index 7ad983aa..00000000 --- a/models/models/model_nas_security_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the NAS Security Mode -type NasSecurityMode struct { - IntegrityAlgorithm IntegrityAlgorithm `json:"integrityAlgorithm" yaml:"integrityAlgorithm" bson:"integrityAlgorithm,omitempty"` - CipheringAlgorithm CipheringAlgorithm `json:"cipheringAlgorithm" yaml:"cipheringAlgorithm" bson:"cipheringAlgorithm,omitempty"` -} diff --git a/models/models/model_ncgi.go b/models/models/model_ncgi.go deleted file mode 100644 index de7a0c35..00000000 --- a/models/models/model_ncgi.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the NCGI (NR Cell Global Identity), as described in 3GPP 23.003 -type Ncgi struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // 36-bit string identifying an NR Cell Id as specified in clause 9.3.1.7 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the Cell Id shall appear first in the string, and the character representing the 4 least significant bit of the Cell Id shall appear last in the string. - NrCellId string `json:"nrCellId" yaml:"nrCellId" bson:"nrCellId,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_ncgi_tai.go b/models/models/model_ncgi_tai.go deleted file mode 100644 index 0a1025a2..00000000 --- a/models/models/model_ncgi_tai.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of NR cell ids, with their pertaining TAIs -type NcgiTai struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` - // List of List of NR cell ids - CellList []Ncgi `json:"cellList" yaml:"cellList" bson:"cellList,omitempty"` -} diff --git a/models/models/model_nef_authentication_auth_container.go b/models/models/model_nef_authentication_auth_container.go deleted file mode 100644 index b7de2064..00000000 --- a/models/models/model_nef_authentication_auth_container.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Authentication/Authorization data -type NefAuthenticationAuthContainer struct { - // string with format 'bytes' as defined in OpenAPI - AuthMsgType string `json:"authMsgType,omitempty" yaml:"authMsgType" bson:"authMsgType,omitempty"` - AuthMsgPayload *RefToBinaryData `json:"authMsgPayload,omitempty" yaml:"authMsgPayload" bson:"authMsgPayload,omitempty"` - AuthResult NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` -} diff --git a/models/models/model_nef_authentication_auth_result.go b/models/models/model_nef_authentication_auth_result.go deleted file mode 100644 index 323c9464..00000000 --- a/models/models/model_nef_authentication_auth_result.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NefAuthenticationAuthResult string - -// List of NefAuthenticationAuthResult -const ( - NefAuthenticationAuthResult_SUCCESS NefAuthenticationAuthResult = "AUTH_SUCCESS" - NefAuthenticationAuthResult_FAIL NefAuthenticationAuthResult = "AUTH_FAIL" -) diff --git a/models/models/model_nef_authentication_uav_auth_info.go b/models/models/model_nef_authentication_uav_auth_info.go deleted file mode 100644 index c29da094..00000000 --- a/models/models/model_nef_authentication_uav_auth_info.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UAV auth data -type NefAuthenticationUavAuthInfo struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` - ServiceLevelId string `json:"serviceLevelId" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` - // String providing an URI formatted according to RFC 3986. - AuthNotificationURI string `json:"authNotificationURI,omitempty" yaml:"authNotificationURI" bson:"authNotificationURI,omitempty"` - IpAddr *IpAddr `json:"ipAddr,omitempty" yaml:"ipAddr" bson:"ipAddr,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - AuthServerAddress string `json:"authServerAddress,omitempty" yaml:"authServerAddress" bson:"authServerAddress,omitempty"` - AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` - AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` - UeLocInfo *UserLocation `json:"ueLocInfo,omitempty" yaml:"ueLocInfo" bson:"ueLocInfo,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SNssai *ExtSnssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` -} diff --git a/models/models/model_nef_authentication_uav_auth_response.go b/models/models/model_nef_authentication_uav_auth_response.go deleted file mode 100644 index 86d0bcf0..00000000 --- a/models/models/model_nef_authentication_uav_auth_response.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UAV auth response data -type NefAuthenticationUavAuthResponse struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` - ServiceLevelId string `json:"serviceLevelId,omitempty" yaml:"serviceLevelId" bson:"serviceLevelId,omitempty"` - AuthMsg *RefToBinaryData `json:"authMsg,omitempty" yaml:"authMsg" bson:"authMsg,omitempty"` - AuthContainer []NefAuthenticationAuthContainer `json:"authContainer,omitempty" yaml:"authContainer" bson:"authContainer,omitempty"` - AuthResult *NefAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` - NotifyCorrId string `json:"notifyCorrId,omitempty" yaml:"notifyCorrId" bson:"notifyCorrId,omitempty"` -} diff --git a/models/models/model_nef_charging_information.go b/models/models/model_nef_charging_information.go deleted file mode 100644 index c1b1261c..00000000 --- a/models/models/model_nef_charging_information.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NefChargingInformation struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - ExternalIndividualIdentifier string `json:"externalIndividualIdentifier,omitempty" yaml:"externalIndividualIdentifier" bson:"externalIndividualIdentifier,omitempty"` - ExternalIndividualIdList []string `json:"externalIndividualIdList,omitempty" yaml:"externalIndividualIdList" bson:"externalIndividualIdList,omitempty"` - // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. - ExternalGroupIdentifier string `json:"externalGroupIdentifier,omitempty" yaml:"externalGroupIdentifier" bson:"externalGroupIdentifier,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - GroupIdentifier string `json:"groupIdentifier,omitempty" yaml:"groupIdentifier" bson:"groupIdentifier,omitempty"` - APIDirection ApiDirection `json:"aPIDirection,omitempty" yaml:"aPIDirection" bson:"aPIDirection,omitempty"` - APITargetNetworkFunction *ChfConvergedChargingNfIdentification `json:"aPITargetNetworkFunction,omitempty" yaml:"aPITargetNetworkFunction" bson:"aPITargetNetworkFunction,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - APIResultCode int32 `json:"aPIResultCode,omitempty" yaml:"aPIResultCode" bson:"aPIResultCode,omitempty"` - APIName string `json:"aPIName" yaml:"aPIName" bson:"aPIName,omitempty"` - // String providing an URI formatted according to RFC 3986. - APIReference string `json:"aPIReference,omitempty" yaml:"aPIReference" bson:"aPIReference,omitempty"` - APIContent string `json:"aPIContent,omitempty" yaml:"aPIContent" bson:"aPIContent,omitempty"` -} diff --git a/models/models/model_nef_cond.go b/models/models/model_nef_cond.go deleted file mode 100644 index d04c0f07..00000000 --- a/models/models/model_nef_cond.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NF Instances (NEFs), identified by Event ID(s) provided by AF, S-NSSAI(s), AF Instance ID, Application Identifier, External Identifier, External Group Identifier, or domain name. -type NefCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` - SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` - PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` -} diff --git a/models/models/model_nef_event.go b/models/models/model_nef_event.go deleted file mode 100644 index eeb09358..00000000 --- a/models/models/model_nef_event.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NefEvent string - -// List of NefEvent -const ( - NefEvent_SVC_EXPERIENCE NefEvent = "SVC_EXPERIENCE" - NefEvent_UE_MOBILITY NefEvent = "UE_MOBILITY" - NefEvent_UE_COMM NefEvent = "UE_COMM" - NefEvent_EXCEPTIONS NefEvent = "EXCEPTIONS" - NefEvent_USER_DATA_CONGESTION NefEvent = "USER_DATA_CONGESTION" - NefEvent_PERF_DATA NefEvent = "PERF_DATA" - NefEvent_DISPERSION NefEvent = "DISPERSION" - NefEvent_COLLECTIVE_BEHAVIOUR NefEvent = "COLLECTIVE_BEHAVIOUR" - NefEvent_MS_QOE_METRICS NefEvent = "MS_QOE_METRICS" - NefEvent_MS_CONSUMPTION NefEvent = "MS_CONSUMPTION" - NefEvent_MS_NET_ASSIST_INVOCATION NefEvent = "MS_NET_ASSIST_INVOCATION" - NefEvent_MS_DYN_POLICY_INVOCATION NefEvent = "MS_DYN_POLICY_INVOCATION" - NefEvent_MS_ACCESS_ACTIVITY NefEvent = "MS_ACCESS_ACTIVITY" -) diff --git a/models/models/model_nef_event_exposure_notif.go b/models/models/model_nef_event_exposure_notif.go deleted file mode 100644 index 6fe550fe..00000000 --- a/models/models/model_nef_event_exposure_notif.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications on network exposure event(s) that occurred for an Individual Network Exposure Event Subscription resource. -type NefEventExposureNotif struct { - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []NefEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` -} diff --git a/models/models/model_nef_event_exposure_service_experience_info.go b/models/models/model_nef_event_exposure_service_experience_info.go deleted file mode 100644 index fb85da16..00000000 --- a/models/models/model_nef_event_exposure_service_experience_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains service experience information associated with an application. -type NefEventExposureServiceExperienceInfo struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` -} diff --git a/models/models/model_nef_event_exposure_subsc.go b/models/models/model_nef_event_exposure_subsc.go deleted file mode 100644 index be1c09f6..00000000 --- a/models/models/model_nef_event_exposure_subsc.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual Network Exposure Event Subscription resource. -type NefEventExposureSubsc struct { - DataAccProfId string `json:"dataAccProfId,omitempty" yaml:"dataAccProfId" bson:"dataAccProfId,omitempty"` - EventsSubs []NefEventSubs `json:"eventsSubs" yaml:"eventsSubs" bson:"eventsSubs,omitempty"` - EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []NefEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_nef_event_exposure_target_ue_identification.go b/models/models/model_nef_event_exposure_target_ue_identification.go deleted file mode 100644 index bd0a54dd..00000000 --- a/models/models/model_nef_event_exposure_target_ue_identification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the UE to which the request applies. -type NefEventExposureTargetUeIdentification struct { - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - InterGroupIds []string `json:"interGroupIds,omitempty" yaml:"interGroupIds" bson:"interGroupIds,omitempty"` - AnyUeId bool `json:"anyUeId,omitempty" yaml:"anyUeId" bson:"anyUeId,omitempty"` -} diff --git a/models/models/model_nef_event_filter.go b/models/models/model_nef_event_filter.go deleted file mode 100644 index e032dba9..00000000 --- a/models/models/model_nef_event_filter.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents event filter information for an event. -type NefEventFilter struct { - TgtUe *NefEventExposureTargetUeIdentification `json:"tgtUe" yaml:"tgtUe" bson:"tgtUe,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - LocArea *NetworkAreaInfo `json:"locArea,omitempty" yaml:"locArea" bson:"locArea,omitempty"` - CollAttrs []CollectiveBehaviourFilter `json:"collAttrs,omitempty" yaml:"collAttrs" bson:"collAttrs,omitempty"` -} diff --git a/models/models/model_nef_event_notification.go b/models/models/model_nef_event_notification.go deleted file mode 100644 index fefc2483..00000000 --- a/models/models/model_nef_event_notification.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents information related to an event to be reported. -type NefEventNotification struct { - Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - SvcExprcInfos []NefEventExposureServiceExperienceInfo `json:"svcExprcInfos,omitempty" yaml:"svcExprcInfos" bson:"svcExprcInfos,omitempty"` - UeMobilityInfos []UeMobilityInfo `json:"ueMobilityInfos,omitempty" yaml:"ueMobilityInfos" bson:"ueMobilityInfos,omitempty"` - UeCommInfos []UeCommunicationInfo `json:"ueCommInfos,omitempty" yaml:"ueCommInfos" bson:"ueCommInfos,omitempty"` - ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty" yaml:"excepInfos" bson:"excepInfos,omitempty"` - CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty" yaml:"congestionInfos" bson:"congestionInfos,omitempty"` - PerfDataInfos []PerformanceDataInfo `json:"perfDataInfos,omitempty" yaml:"perfDataInfos" bson:"perfDataInfos,omitempty"` - DispersionInfos []AfEventExposureDispersionCollection `json:"dispersionInfos,omitempty" yaml:"dispersionInfos" bson:"dispersionInfos,omitempty"` - CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty" yaml:"collBhvrInfs" bson:"collBhvrInfs,omitempty"` - MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty" yaml:"msQoeMetrInfos" bson:"msQoeMetrInfos,omitempty"` - MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty" yaml:"msConsumpInfos" bson:"msConsumpInfos,omitempty"` - MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty" yaml:"msNetAssInvInfos" bson:"msNetAssInvInfos,omitempty"` - MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty" yaml:"msDynPlyInvInfos" bson:"msDynPlyInvInfos,omitempty"` - MsAccActInfos []MsAccessActivityCollection `json:"msAccActInfos,omitempty" yaml:"msAccActInfos" bson:"msAccActInfos,omitempty"` -} diff --git a/models/models/model_nef_event_subs.go b/models/models/model_nef_event_subs.go deleted file mode 100644 index f4ea251a..00000000 --- a/models/models/model_nef_event_subs.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an event to be subscribed and the related event filter information. -type NefEventSubs struct { - Event NefEvent `json:"event" yaml:"event" bson:"event,omitempty"` - EventFilter *NefEventFilter `json:"eventFilter,omitempty" yaml:"eventFilter" bson:"eventFilter,omitempty"` -} diff --git a/models/models/model_nef_info.go b/models/models/model_nef_info.go deleted file mode 100644 index 5f2d774c..00000000 --- a/models/models/model_nef_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an NEF NF Instance -type NefInfo struct { - // Identity of the NEF - NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` - PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` - AfEeData *AfEventExposureData `json:"afEeData,omitempty" yaml:"afEeData" bson:"afEeData,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - UnTrustAfInfoList []UnTrustAfInfo `json:"unTrustAfInfoList,omitempty" yaml:"unTrustAfInfoList" bson:"unTrustAfInfoList,omitempty"` - UasNfFunctionalityInd bool `json:"uasNfFunctionalityInd,omitempty" yaml:"uasNfFunctionalityInd" bson:"uasNfFunctionalityInd,omitempty"` -} diff --git a/models/models/model_nef_sm_context_deliver_req_data.go b/models/models/model_nef_sm_context_deliver_req_data.go deleted file mode 100644 index f284b333..00000000 --- a/models/models/model_nef_sm_context_deliver_req_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The data for Deliver service request, including the Mobile Originated data to be delivered via NEF. -type NefSmContextDeliverReqData struct { - Data *RefToBinaryData `json:"data" yaml:"data" bson:"data,omitempty"` -} diff --git a/models/models/model_nef_sm_context_nidd_information.go b/models/models/model_nef_sm_context_nidd_information.go deleted file mode 100644 index 31aec26b..00000000 --- a/models/models/model_nef_sm_context_nidd_information.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Informaiton related to NIDD used for the SM Context. -type NefSmContextNiddInformation struct { - // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // When present, this IE shall contain the AF Id used for the SM Context. - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/models/model_nef_sm_context_release_cause.go b/models/models/model_nef_sm_context_release_cause.go deleted file mode 100644 index df21e3c3..00000000 --- a/models/models/model_nef_sm_context_release_cause.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NefSmContextReleaseCause string - -// List of NefSMContextReleaseCause -const ( - NefSmContextReleaseCause_PDU_SESSION_RELEASED NefSmContextReleaseCause = "PDU_SESSION_RELEASED" -) diff --git a/models/models/model_nef_sm_context_sm_context_create_data.go b/models/models/model_nef_sm_context_sm_context_create_data.go deleted file mode 100644 index 172627d4..00000000 --- a/models/models/model_nef_sm_context_sm_context_create_data.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the Individual SM context to be created. -type NefSmContextSmContextCreateData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // This IE shall contain the NEF ID of the target NEF. - NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` - // String providing an URI formatted according to RFC 3986. - DlNiddEndPoint string `json:"dlNiddEndPoint" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - NiddInfo *NefSmContextNiddInformation `json:"niddInfo,omitempty" yaml:"niddInfo" bson:"niddInfo,omitempty"` - // When present, this IE shall indicate the UE capability to support RDS. The value of this IE shall be set as following - true UE supports RDS - false (default) UE does not support RDS - RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` - SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_nef_sm_context_sm_context_created_data.go b/models/models/model_nef_sm_context_sm_context_created_data.go deleted file mode 100644 index b915a0da..00000000 --- a/models/models/model_nef_sm_context_sm_context_created_data.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of an Individual SM context successfully created. -type NefSmContextSmContextCreatedData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // This IE shall contain the NEF ID of the target NEF. - NefId string `json:"nefId" yaml:"nefId" bson:"nefId,omitempty"` - // When present, this IE shall indicate the NEF capability to support RDS. The value of this IE shall be set as following - true NEF supports RDS - false (default) NEF does not support RDS - RdsSupport bool `json:"rdsSupport,omitempty" yaml:"rdsSupport" bson:"rdsSupport,omitempty"` - // When present, this IE shall indicate whether Extended Buffering applies or not. The value of this IE shall be set as following - true Extended Buffering applies - false (default) Extended Buffering does not apply - ExtBufSupport bool `json:"extBufSupport,omitempty" yaml:"extBufSupport" bson:"extBufSupport,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MaxPacketSize int32 `json:"maxPacketSize,omitempty" yaml:"maxPacketSize" bson:"maxPacketSize,omitempty"` -} diff --git a/models/models/model_nef_sm_context_sm_context_release_data.go b/models/models/model_nef_sm_context_sm_context_release_data.go deleted file mode 100644 index 7b958a04..00000000 --- a/models/models/model_nef_sm_context_sm_context_release_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the information to release the Individual SM context. -type NefSmContextSmContextReleaseData struct { - Cause NefSmContextReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/models/model_nef_sm_context_sm_context_status_notification.go b/models/models/model_nef_sm_context_sm_context_status_notification.go deleted file mode 100644 index 17235454..00000000 --- a/models/models/model_nef_sm_context_sm_context_status_notification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the SM Context status notification. -type NefSmContextSmContextStatusNotification struct { - Status SmContextStatus `json:"status" yaml:"status" bson:"status,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmContextId string `json:"smContextId" yaml:"smContextId" bson:"smContextId,omitempty"` - Cause NefSmContextReleaseCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` -} diff --git a/models/models/model_nef_sm_context_sm_context_update_data.go b/models/models/model_nef_sm_context_sm_context_update_data.go deleted file mode 100644 index bf14aba2..00000000 --- a/models/models/model_nef_sm_context_sm_context_update_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the updates to apply to the Individual SM context. -type NefSmContextSmContextUpdateData struct { - // String providing an URI formatted according to RFC 3986. - DlNiddEndPoint string `json:"dlNiddEndPoint,omitempty" yaml:"dlNiddEndPoint" bson:"dlNiddEndPoint,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` - SmContextConfig *SmContextConfiguration `json:"smContextConfig,omitempty" yaml:"smContextConfig" bson:"smContextConfig,omitempty"` -} diff --git a/models/models/model_nef_traffic_influ_sub.go b/models/models/model_nef_traffic_influ_sub.go deleted file mode 100644 index 1df78633..00000000 --- a/models/models/model_nef_traffic_influ_sub.go +++ /dev/null @@ -1,79 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a traffic influence subscription. -type NefTrafficInfluSub struct { - // Identifies a service on behalf of which the AF is issuing the request. - AfServiceId string `json:"afServiceId,omitempty" yaml:"afServiceId" bson:"afServiceId,omitempty"` - // Identifies an application. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` - // Identifies an NEF Northbound interface transaction, generated by the AF. - AfTransId string `json:"afTransId,omitempty" yaml:"afTransId" bson:"afTransId,omitempty"` - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information. - ExternalGroupId string `json:"externalGroupId,omitempty" yaml:"externalGroupId" bson:"externalGroupId,omitempty"` - // Identifies whether the AF request applies to any UE. This attribute shall set to \"true\" if applicable for any UE, otherwise, set to \"false\". - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - // Identifies the requirement to be notified of the event(s). - SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - MacAddr string `json:"macAddr,omitempty" yaml:"macAddr" bson:"macAddr,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` - // Set to true by the SCS/AS to request the NEF to send a test notification as defined in clause 5.2.5.3. Set to false or omitted otherwise. - RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification,omitempty"` - WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self,omitempty"` - // Identifies IP packet filters. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` - // Identifies Ethernet packet filters. - EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` - // Identifies the N6 traffic routing requirement. - TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` - TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` - TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` - // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. - ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` - // Identifies geographical areas within which the AF request applies. - GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // indicating a time in seconds. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` - // Contains EAS IP replacement information. - EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` - // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". - EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` - EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` - EventReports []EventNotification `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_nef_traffic_influ_sub_patch.go b/models/models/model_nef_traffic_influ_sub_patch.go deleted file mode 100644 index 6fbda8ae..00000000 --- a/models/models/model_nef_traffic_influ_sub_patch.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents parameters to request the modification of a traffic influence subscription resource. -type NefTrafficInfluSubPatch struct { - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` - // Identifies IP packet filters. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` - // Identifies Ethernet packet filters. - EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` - // Identifies the N6 traffic routing requirement. - TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` - TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` - TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` - // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. - ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` - // Identifies geographical areas within which the AF request applies. - GeoAreas []GeographicalArea `json:"geoAreas,omitempty" yaml:"geoAreas" bson:"geoAreas,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // indicating a time in seconds. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` - // Contains EAS IP replacement information. - EasIpReplaceInfos []EasIpReplacementInfo `json:"easIpReplaceInfos,omitempty" yaml:"easIpReplaceInfos" bson:"easIpReplaceInfos,omitempty"` - // Indicates the EAS rediscovery is required for the application if it is included and set to \"true\". - EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination,omitempty"` - EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` -} diff --git a/models/models/model_net_loc_access_support.go b/models/models/model_net_loc_access_support.go deleted file mode 100644 index dc043412..00000000 --- a/models/models/model_net_loc_access_support.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NetLocAccessSupport string - -// List of NetLocAccessSupport -const ( - NetLocAccessSupport_ANR_NOT_SUPPORTED NetLocAccessSupport = "ANR_NOT_SUPPORTED" - NetLocAccessSupport_TZR_NOT_SUPPORTED NetLocAccessSupport = "TZR_NOT_SUPPORTED" - NetLocAccessSupport_LOC_NOT_SUPPORTED NetLocAccessSupport = "LOC_NOT_SUPPORTED" -) diff --git a/models/models/model_network_area_info.go b/models/models/model_network_area_info.go deleted file mode 100644 index d1aef601..00000000 --- a/models/models/model_network_area_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a network area information in which the NF service consumer requests the number of UEs. -type NetworkAreaInfo struct { - // Contains a list of E-UTRA cell identities. - Ecgis []Ecgi `json:"ecgis,omitempty" yaml:"ecgis" bson:"ecgis,omitempty"` - // Contains a list of NR cell identities. - Ncgis []Ncgi `json:"ncgis,omitempty" yaml:"ncgis" bson:"ncgis,omitempty"` - // Contains a list of NG RAN nodes. - GRanNodeIds []GlobalRanNodeId `json:"gRanNodeIds,omitempty" yaml:"gRanNodeIds" bson:"gRanNodeIds,omitempty"` - // Contains a list of tracking area identities. - Tais []Tai `json:"tais,omitempty" yaml:"tais" bson:"tais,omitempty"` -} diff --git a/models/models/model_network_assistance_session.go b/models/models/model_network_assistance_session.go deleted file mode 100644 index 4be3d572..00000000 --- a/models/models/model_network_assistance_session.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A representation of a Network Assistance Session resource. -type NetworkAssistanceSession struct { - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - NaSessionId string `json:"naSessionId" yaml:"naSessionId" bson:"naSessionId,omitempty"` - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - ProvisioningSessionId string `json:"provisioningSessionId" yaml:"provisioningSessionId" bson:"provisioningSessionId,omitempty"` - ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions" yaml:"serviceDataFlowDescriptions" bson:"serviceDataFlowDescriptions,omitempty"` - MediaType MediaType `json:"mediaType,omitempty" yaml:"mediaType" bson:"mediaType,omitempty"` - // String chosen by the 5GMS AF to serve as an identifier in a resource URI. - PolicyTemplateId string `json:"policyTemplateId,omitempty" yaml:"policyTemplateId" bson:"policyTemplateId,omitempty"` - RequestedQoS *M5QoSSpecification `json:"requestedQoS,omitempty" yaml:"requestedQoS" bson:"requestedQoS,omitempty"` - RecommendedQoS *M5QoSSpecification `json:"recommendedQoS,omitempty" yaml:"recommendedQoS" bson:"recommendedQoS,omitempty"` - // Absolute Uniform Resource Locator, conforming with the \"absolute-URI\" production specified in IETF RFC 3986, section 4.3 in which the scheme part is \"http\" or \"https\". Note that the \"query\" suffix is permitted by this production but the \"fragment\" suffix is not. - NotficationURL string `json:"notficationURL,omitempty" yaml:"notficationURL" bson:"notficationURL,omitempty"` -} diff --git a/models/models/model_network_node_diameter_address.go b/models/models/model_network_node_diameter_address.go deleted file mode 100644 index f66952cf..00000000 --- a/models/models/model_network_node_diameter_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NetworkNodeDiameterAddress struct { - // Fully Qualified Domain Name - Name string `json:"name" yaml:"name" bson:"name,omitempty"` - // Fully Qualified Domain Name - Realm string `json:"realm" yaml:"realm" bson:"realm,omitempty"` -} diff --git a/models/models/model_network_perf_info.go b/models/models/model_network_perf_info.go deleted file mode 100644 index 8bff531b..00000000 --- a/models/models/model_network_perf_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the network performance information. -type NetworkPerfInfo struct { - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - NwPerfType NetworkPerfType `json:"nwPerfType,omitempty" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_network_perf_requirement.go b/models/models/model_network_perf_requirement.go deleted file mode 100644 index e5f05b04..00000000 --- a/models/models/model_network_perf_requirement.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a network performance requirement. -type NetworkPerfRequirement struct { - NwPerfType NetworkPerfType `json:"nwPerfType" yaml:"nwPerfType" bson:"nwPerfType,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - RelativeRatio int32 `json:"relativeRatio,omitempty" yaml:"relativeRatio" bson:"relativeRatio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - AbsoluteNum int32 `json:"absoluteNum,omitempty" yaml:"absoluteNum" bson:"absoluteNum,omitempty"` -} diff --git a/models/models/model_network_perf_type.go b/models/models/model_network_perf_type.go deleted file mode 100644 index 333a5953..00000000 --- a/models/models/model_network_perf_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NetworkPerfType string - -// List of NetworkPerfType -const ( - NetworkPerfType_GNB_ACTIVE_RATIO NetworkPerfType = "GNB_ACTIVE_RATIO" - NetworkPerfType_GNB_COMPUTING_USAGE NetworkPerfType = "GNB_COMPUTING_USAGE" - NetworkPerfType_GNB_MEMORY_USAGE NetworkPerfType = "GNB_MEMORY_USAGE" - NetworkPerfType_GNB_DISK_USAGE NetworkPerfType = "GNB_DISK_USAGE" - NetworkPerfType_NUM_OF_UE NetworkPerfType = "NUM_OF_UE" - NetworkPerfType_SESS_SUCC_RATIO NetworkPerfType = "SESS_SUCC_RATIO" - NetworkPerfType_HO_SUCC_RATIO NetworkPerfType = "HO_SUCC_RATIO" -) diff --git a/models/models/model_network_slice_cond.go b/models/models/model_network_slice_cond.go deleted file mode 100644 index ebf41344..00000000 --- a/models/models/model_network_slice_cond.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs, based on the slices (S-NSSAI and NSI) they support -type NetworkSliceCond struct { - SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` -} diff --git a/models/models/model_network_slicing_info.go b/models/models/model_network_slicing_info.go deleted file mode 100644 index 7ecbb3a2..00000000 --- a/models/models/model_network_slicing_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NetworkSlicingInfo struct { - SNSSAI *Snssai `json:"sNSSAI" yaml:"sNSSAI" bson:"sNSSAI,omitempty"` -} diff --git a/models/models/model_nf_group_cond.go b/models/models/model_nf_group_cond.go deleted file mode 100644 index daa1e400..00000000 --- a/models/models/model_nf_group_cond.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their Group Id -type NfGroupCond struct { - NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - // Identifier of a group of NFs. - NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` -} diff --git a/models/models/model_nf_group_list_cond.go b/models/models/model_nf_group_list_cond.go deleted file mode 100644 index 2cc6bf33..00000000 --- a/models/models/model_nf_group_list_cond.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their Group Ids -type NfGroupListCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` -} diff --git a/models/models/model_nf_identifier.go b/models/models/model_nf_identifier.go deleted file mode 100644 index c20ed11a..00000000 --- a/models/models/model_nf_identifier.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NfIdentifier struct { - NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` -} diff --git a/models/models/model_nf_info.go b/models/models/model_nf_info.go deleted file mode 100644 index 9157a62a..00000000 --- a/models/models/model_nf_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a generic NF Instance -type NfInfo struct { - NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` -} diff --git a/models/models/model_nf_instance_id_cond.go b/models/models/model_nf_instance_id_cond.go deleted file mode 100644 index e5c0a4e8..00000000 --- a/models/models/model_nf_instance_id_cond.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a given NF Instance Id -type NfInstanceIdCond struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` -} diff --git a/models/models/model_nf_instance_id_list_cond.go b/models/models/model_nf_instance_id_list_cond.go deleted file mode 100644 index f7c2cb36..00000000 --- a/models/models/model_nf_instance_id_list_cond.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a list of NF Instances -type NfInstanceIdListCond struct { - NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` -} diff --git a/models/models/model_nf_instance_info.go b/models/models/model_nf_instance_info.go deleted file mode 100644 index ec4b467a..00000000 --- a/models/models/model_nf_instance_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information on an NF profile matching a discovery request -type NfInstanceInfo struct { - // String providing an URI formatted according to RFC 3986. - NrfDiscApiUri string `json:"nrfDiscApiUri,omitempty" yaml:"nrfDiscApiUri" bson:"nrfDiscApiUri,omitempty"` - PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` - // The key of the map is the JSON Pointer of the priority IE in the NFProfile data type that is altered by the NRF - NrfAlteredPriorities map[string]int32 `json:"nrfAlteredPriorities,omitempty" yaml:"nrfAlteredPriorities" bson:"nrfAlteredPriorities,omitempty"` -} diff --git a/models/models/model_nf_load_level_information.go b/models/models/model_nf_load_level_information.go deleted file mode 100644 index 290929c3..00000000 --- a/models/models/model_nf_load_level_information.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents load level information of a given NF instance. -type NfLoadLevelInformation struct { - NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` - NfStatus *NwdafEventsSubscriptionNfStatus `json:"nfStatus,omitempty" yaml:"nfStatus" bson:"nfStatus,omitempty"` - NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` - NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` - NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` - NfLoadLevelAverage int32 `json:"nfLoadLevelAverage,omitempty" yaml:"nfLoadLevelAverage" bson:"nfLoadLevelAverage,omitempty"` - NfLoadLevelpeak int32 `json:"nfLoadLevelpeak,omitempty" yaml:"nfLoadLevelpeak" bson:"nfLoadLevelpeak,omitempty"` - NfLoadAvgInAoi int32 `json:"nfLoadAvgInAoi,omitempty" yaml:"nfLoadAvgInAoi" bson:"nfLoadAvgInAoi,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_nf_service_instance.go b/models/models/model_nf_service_instance.go deleted file mode 100644 index f6ccfd43..00000000 --- a/models/models/model_nf_service_instance.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// NF service instance -type NfServiceInstance struct { - ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfServiceSetId string `json:"nfServiceSetId,omitempty" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` -} diff --git a/models/models/model_nf_service_set_cond.go b/models/models/model_nf_service_set_cond.go deleted file mode 100644 index 1333d86f..00000000 --- a/models/models/model_nf_service_set_cond.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their Service Set Id -type NfServiceSetCond struct { - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId,omitempty" yaml:"nfSetId" bson:"nfSetId,omitempty"` -} diff --git a/models/models/model_nf_service_status.go b/models/models/model_nf_service_status.go deleted file mode 100644 index 6c525de8..00000000 --- a/models/models/model_nf_service_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NfServiceStatus string - -// List of NFServiceStatus -const ( - NfServiceStatus_REGISTERED NfServiceStatus = "REGISTERED" - NfServiceStatus_SUSPENDED NfServiceStatus = "SUSPENDED" - NfServiceStatus_UNDISCOVERABLE NfServiceStatus = "UNDISCOVERABLE" -) diff --git a/models/models/model_nf_service_version.go b/models/models/model_nf_service_version.go deleted file mode 100644 index 9c297f00..00000000 --- a/models/models/model_nf_service_version.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the version details of an NF service -type NfServiceVersion struct { - ApiVersionInUri string `json:"apiVersionInUri" yaml:"apiVersionInUri" bson:"apiVersionInUri,omitempty"` - ApiFullVersion string `json:"apiFullVersion" yaml:"apiFullVersion" bson:"apiFullVersion,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` -} diff --git a/models/models/model_nf_set_cond.go b/models/models/model_nf_set_cond.go deleted file mode 100644 index e1fd3baa..00000000 --- a/models/models/model_nf_set_cond.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their Set Id -type NfSetCond struct { - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` -} diff --git a/models/models/model_nf_type_cond.go b/models/models/model_nf_type_cond.go deleted file mode 100644 index b464b0a1..00000000 --- a/models/models/model_nf_type_cond.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their NF Type -type NfTypeCond struct { - NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` -} diff --git a/models/models/model_ng_ap_cause.go b/models/models/model_ng_ap_cause.go deleted file mode 100644 index 615b0b4a..00000000 --- a/models/models/model_ng_ap_cause.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the NGAP cause. -type NgApCause struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Group int32 `json:"group" yaml:"group" bson:"group,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Value int32 `json:"value" yaml:"value" bson:"value,omitempty"` -} diff --git a/models/models/model_ng_ksi.go b/models/models/model_ng_ksi.go deleted file mode 100644 index 01dc9742..00000000 --- a/models/models/model_ng_ksi.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the ngKSI -type NgKsi struct { - Tsc ScType `json:"tsc" yaml:"tsc" bson:"tsc,omitempty"` - Ksi int32 `json:"ksi" yaml:"ksi" bson:"ksi,omitempty"` -} diff --git a/models/models/model_ng_ran_target_id.go b/models/models/model_ng_ran_target_id.go deleted file mode 100644 index 32f35750..00000000 --- a/models/models/model_ng_ran_target_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates a NG RAN as target of the handover -type NgRanTargetId struct { - RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` -} diff --git a/models/models/model_ngran_failure_event.go b/models/models/model_ngran_failure_event.go deleted file mode 100644 index 42dafbae..00000000 --- a/models/models/model_ngran_failure_event.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// NG-RAN failure event for a NG-RAN -type NgranFailureEvent struct { - NgranId *GlobalRanNodeId `json:"ngranId" yaml:"ngranId" bson:"ngranId,omitempty"` - NgranFailureIndication NgranFailureIndication `json:"ngranFailureIndication" yaml:"ngranFailureIndication" bson:"ngranFailureIndication,omitempty"` -} diff --git a/models/models/model_ngran_failure_indication.go b/models/models/model_ngran_failure_indication.go deleted file mode 100644 index dd2c0172..00000000 --- a/models/models/model_ngran_failure_indication.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NgranFailureIndication string - -// List of NgranFailureIndication -const ( - NgranFailureIndication_RESTART_OR_START NgranFailureIndication = "NG_RAN_RESTART_OR_START" - NgranFailureIndication_FAILURE_WITHOUT_RESTART NgranFailureIndication = "NG_RAN_FAILURE_WITHOUT_RESTART" - NgranFailureIndication_NOT_REACHABLE NgranFailureIndication = "NG_RAN_NOT_REACHABLE" - NgranFailureIndication_REQUIRED_RELEASE NgranFailureIndication = "NG_RAN_REQUIRED_RELEASE" -) diff --git a/models/models/model_nidd_auth_update_info.go b/models/models/model_nidd_auth_update_info.go deleted file mode 100644 index fb7efbbf..00000000 --- a/models/models/model_nidd_auth_update_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_NIDDAU - * - * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents NIDD authorization update information. -type NiddAuthUpdateInfo struct { - AuthorizationData *UdmNiddauAuthorizationData `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` - InvalidityInd bool `json:"invalidityInd,omitempty" yaml:"invalidityInd" bson:"invalidityInd,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - NiddCause NiddCause `json:"niddCause,omitempty" yaml:"niddCause" bson:"niddCause,omitempty"` -} diff --git a/models/models/model_nidd_auth_update_notification.go b/models/models/model_nidd_auth_update_notification.go deleted file mode 100644 index a9a2da56..00000000 --- a/models/models/model_nidd_auth_update_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudm_NIDDAU - * - * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a NIDD authorization update notification. -type NiddAuthUpdateNotification struct { - NiddAuthUpdateInfoList []NiddAuthUpdateInfo `json:"niddAuthUpdateInfoList" yaml:"niddAuthUpdateInfoList" bson:"niddAuthUpdateInfoList,omitempty"` -} diff --git a/models/models/model_nidd_authorization_info.go b/models/models/model_nidd_authorization_info.go deleted file mode 100644 index e41c3cd2..00000000 --- a/models/models/model_nidd_authorization_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information related to active NIDD Authorizations -type NiddAuthorizationInfo struct { - NiddAuthorizationList []AuthorizationInfo `json:"niddAuthorizationList" yaml:"niddAuthorizationList" bson:"niddAuthorizationList,omitempty"` -} diff --git a/models/models/model_nidd_cause.go b/models/models/model_nidd_cause.go deleted file mode 100644 index 1e386996..00000000 --- a/models/models/model_nidd_cause.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_NIDDAU - * - * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NiddCause string - -// List of NiddCause -const ( - NiddCause_SUBSCRIPTION_WITHDRAWAL NiddCause = "SUBSCRIPTION_WITHDRAWAL" - NiddCause_DNN_REMOVED NiddCause = "DNN_REMOVED" -) diff --git a/models/models/model_nni_information.go b/models/models/model_nni_information.go deleted file mode 100644 index 824370db..00000000 --- a/models/models/model_nni_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NniInformation struct { - SessionDirection NniSessionDirection `json:"sessionDirection,omitempty" yaml:"sessionDirection" bson:"sessionDirection,omitempty"` - NNIType NniType `json:"nNIType,omitempty" yaml:"nNIType" bson:"nNIType,omitempty"` - RelationshipMode NniRelationshipMode `json:"relationshipMode,omitempty" yaml:"relationshipMode" bson:"relationshipMode,omitempty"` - NeighbourNodeAddress *ImsAddress `json:"neighbourNodeAddress,omitempty" yaml:"neighbourNodeAddress" bson:"neighbourNodeAddress,omitempty"` -} diff --git a/models/models/model_nni_relationship_mode.go b/models/models/model_nni_relationship_mode.go deleted file mode 100644 index 22e5e2eb..00000000 --- a/models/models/model_nni_relationship_mode.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NniRelationshipMode string - -// List of NNIRelationshipMode -const ( - NniRelationshipMode_TRUSTED NniRelationshipMode = "TRUSTED" - NniRelationshipMode_NON_TRUSTED NniRelationshipMode = "NON_TRUSTED" -) diff --git a/models/models/model_nni_session_direction.go b/models/models/model_nni_session_direction.go deleted file mode 100644 index 2ca649d2..00000000 --- a/models/models/model_nni_session_direction.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NniSessionDirection string - -// List of NNISessionDirection -const ( - NniSessionDirection_INBOUND NniSessionDirection = "INBOUND" - NniSessionDirection_OUTBOUND NniSessionDirection = "OUTBOUND" -) diff --git a/models/models/model_nni_type.go b/models/models/model_nni_type.go deleted file mode 100644 index 783faa3d..00000000 --- a/models/models/model_nni_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NniType string - -// List of NNIType -const ( - NniType_NON_ROAMING NniType = "NON_ROAMING" - NniType_ROAMING_NO_LOOPBACK NniType = "ROAMING_NO_LOOPBACK" - NniType_ROAMING_LOOPBACK NniType = "ROAMING_LOOPBACK" -) diff --git a/models/models/model_nnwdaf_data_management_notif.go b/models/models/model_nnwdaf_data_management_notif.go deleted file mode 100644 index ad99972d..00000000 --- a/models/models/model_nnwdaf_data_management_notif.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents an Individual Notification. -type NnwdafDataManagementNotif struct { - DataNotification *DataNotification `json:"dataNotification,omitempty" yaml:"dataNotification" bson:"dataNotification,omitempty"` - // List of summary reports of processed notifications. - DataReports []NotifSummaryReport `json:"dataReports,omitempty" yaml:"dataReports" bson:"dataReports,omitempty"` - // Notification correlation identifier. - NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` - // It indicates that the termination of the data management subscription is requested by the NWDAF. - TerminationReq string `json:"terminationReq,omitempty" yaml:"terminationReq" bson:"terminationReq,omitempty"` - FetchInstruct *FetchInstruction `json:"fetchInstruct,omitempty" yaml:"fetchInstruct" bson:"fetchInstruct,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - NotifTimestamp *time.Time `json:"notifTimestamp" yaml:"notifTimestamp" bson:"notifTimestamp,omitempty"` -} diff --git a/models/models/model_nnwdaf_data_management_subsc.go b/models/models/model_nnwdaf_data_management_subsc.go deleted file mode 100644 index e9660bbd..00000000 --- a/models/models/model_nnwdaf_data_management_subsc.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual NWDAF Data Management Subscription resource. -type NnwdafDataManagementSubsc struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AdrfId string `json:"adrfId,omitempty" yaml:"adrfId" bson:"adrfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - AdrfSetId string `json:"adrfSetId,omitempty" yaml:"adrfSetId" bson:"adrfSetId,omitempty"` - AnaSub *NnwdafEventsSubscription `json:"anaSub,omitempty" yaml:"anaSub" bson:"anaSub,omitempty"` - // The purposes of data collection. This attribute may only be provided if user consent is reqiured depending on local policy and regulations and the consumer has not checked user consent. - DataCollectPurposes []DataCollectionPurpose `json:"dataCollectPurposes,omitempty" yaml:"dataCollectPurposes" bson:"dataCollectPurposes,omitempty"` - DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` - FormatInstruct *FormattingInstruction `json:"formatInstruct,omitempty" yaml:"formatInstruct" bson:"formatInstruct,omitempty"` - NotifCorrId string `json:"notifCorrId" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificURI string `json:"notificURI" yaml:"notificURI" bson:"notificURI,omitempty"` - ProcInstruct *ProcessingInstruction `json:"procInstruct,omitempty" yaml:"procInstruct" bson:"procInstruct,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - TargetNfId string `json:"targetNfId,omitempty" yaml:"targetNfId" bson:"targetNfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` - TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` -} diff --git a/models/models/model_nnwdaf_events_subscription.go b/models/models/model_nnwdaf_events_subscription.go deleted file mode 100644 index fbd777f4..00000000 --- a/models/models/model_nnwdaf_events_subscription.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual NWDAF Event Subscription resource. -type NnwdafEventsSubscription struct { - // Subscribed events - EventSubscriptions []NwdafEventsSubscriptionEventSubscription `json:"eventSubscriptions" yaml:"eventSubscriptions" bson:"eventSubscriptions,omitempty"` - EvtReq *ReportingInformation `json:"evtReq,omitempty" yaml:"evtReq" bson:"evtReq,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificationURI string `json:"notificationURI,omitempty" yaml:"notificationURI" bson:"notificationURI,omitempty"` - // Notification correlation identifier. - NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` - FailEventReports []FailureEventInfo `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` - PrevSub *PrevSubInfo `json:"prevSub,omitempty" yaml:"prevSub" bson:"prevSub,omitempty"` - ConsNfInfo *ConsumerNfInformation `json:"consNfInfo,omitempty" yaml:"consNfInfo" bson:"consNfInfo,omitempty"` -} diff --git a/models/models/model_nnwdaf_events_subscription_notification.go b/models/models/model_nnwdaf_events_subscription_notification.go deleted file mode 100644 index 31450c5d..00000000 --- a/models/models/model_nnwdaf_events_subscription_notification.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual NWDAF Event Subscription Notification resource. -type NnwdafEventsSubscriptionNotification struct { - // Notifications about Individual Events - EventNotifications []NwdafEventsSubscriptionEventNotification `json:"eventNotifications,omitempty" yaml:"eventNotifications" bson:"eventNotifications,omitempty"` - // String identifying a subscription to the Nnwdaf_EventsSubscription Service - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // Notification correlation identifier. - NotifCorrId string `json:"notifCorrId,omitempty" yaml:"notifCorrId" bson:"notifCorrId,omitempty"` - // Subscription ID which was allocated by the source NWDAF. This parameter shall be present if the notification is for informing the assignment of a new Subscription Id by the target NWDAF. - OldSubscriptionId string `json:"oldSubscriptionId,omitempty" yaml:"oldSubscriptionId" bson:"oldSubscriptionId,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` -} diff --git a/models/models/model_no_profile_match_info.go b/models/models/model_no_profile_match_info.go deleted file mode 100644 index 946f3e6f..00000000 --- a/models/models/model_no_profile_match_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides the reason for not finding NF matching the search criteria -type NoProfileMatchInfo struct { - Reason NoProfileMatchReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` - QueryParamCombinationList []QueryParamCombination `json:"queryParamCombinationList,omitempty" yaml:"queryParamCombinationList" bson:"queryParamCombinationList,omitempty"` -} diff --git a/models/models/model_no_profile_match_reason.go b/models/models/model_no_profile_match_reason.go deleted file mode 100644 index f50eb94b..00000000 --- a/models/models/model_no_profile_match_reason.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NoProfileMatchReason string - -// List of NoProfileMatchReason -const ( - NoProfileMatchReason_REQUESTER_PLMN_NOT_ALLOWED NoProfileMatchReason = "REQUESTER_PLMN_NOT_ALLOWED" - NoProfileMatchReason_TARGET_NF_SUSPENDED NoProfileMatchReason = "TARGET_NF_SUSPENDED" - NoProfileMatchReason_TARGET_NF_UNDISCOVERABLE NoProfileMatchReason = "TARGET_NF_UNDISCOVERABLE" - NoProfileMatchReason_QUERY_PARAMS_COMBINATION_NO_MATCH NoProfileMatchReason = "QUERY_PARAMS_COMBINATION_NO_MATCH" - NoProfileMatchReason_UNSPECIFIED NoProfileMatchReason = "UNSPECIFIED" -) diff --git a/models/models/model_node_type.go b/models/models/model_node_type.go deleted file mode 100644 index bb389bb0..00000000 --- a/models/models/model_node_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NodeType string - -// List of NodeType -const ( - NodeType_AUSF NodeType = "AUSF" - NodeType_VLR NodeType = "VLR" - NodeType_SGSN NodeType = "SGSN" - NodeType_S_CSCF NodeType = "S_CSCF" - NodeType_BSF NodeType = "BSF" - NodeType_GAN_AAA_SERVER NodeType = "GAN_AAA_SERVER" - NodeType_WLAN_AAA_SERVER NodeType = "WLAN_AAA_SERVER" - NodeType_MME NodeType = "MME" -) diff --git a/models/models/model_non_dynamic5_qi.go b/models/models/model_non_dynamic5_qi.go deleted file mode 100644 index b47aafd6..00000000 --- a/models/models/model_non_dynamic5_qi.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It indicates the QoS Characteristics for a standardized or pre-configured 5QI for downlink and uplink. -type NonDynamic5Qi struct { - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. - CnPacketDelayBudgetDl int32 `json:"cnPacketDelayBudgetDl,omitempty" yaml:"cnPacketDelayBudgetDl" bson:"cnPacketDelayBudgetDl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501 [8])), expressed in 0.01 milliseconds. - CnPacketDelayBudgetUl int32 `json:"cnPacketDelayBudgetUl,omitempty" yaml:"cnPacketDelayBudgetUl" bson:"cnPacketDelayBudgetUl,omitempty"` -} diff --git a/models/models/model_non_ue_n2_info_notify_request.go b/models/models/model_non_ue_n2_info_notify_request.go deleted file mode 100644 index c2308d23..00000000 --- a/models/models/model_non_ue_n2_info_notify_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NonUeN2InfoNotifyRequest struct { - JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_non_ue_n2_info_subscription_create_data.go b/models/models/model_non_ue_n2_info_subscription_create_data.go deleted file mode 100644 index 6f3ec3ca..00000000 --- a/models/models/model_non_ue_n2_info_subscription_create_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a create subscription request for non-UE specific N2 information notification -type NonUeN2InfoSubscriptionCreateData struct { - GlobalRanNodeList []GlobalRanNodeId `json:"globalRanNodeList,omitempty" yaml:"globalRanNodeList" bson:"globalRanNodeList,omitempty"` - AnTypeList []AccessType `json:"anTypeList,omitempty" yaml:"anTypeList" bson:"anTypeList,omitempty"` - N2InformationClass N2InformationClass `json:"n2InformationClass" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` - // String providing an URI formatted according to RFC 3986. - N2NotifyCallbackUri string `json:"n2NotifyCallbackUri" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_non_ue_n2_info_subscription_created_data.go b/models/models/model_non_ue_n2_info_subscription_created_data.go deleted file mode 100644 index ad310273..00000000 --- a/models/models/model_non_ue_n2_info_subscription_created_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data for the created subscription for non-UE specific N2 information notification -type NonUeN2InfoSubscriptionCreatedData struct { - N2NotifySubscriptionId string `json:"n2NotifySubscriptionId" yaml:"n2NotifySubscriptionId" bson:"n2NotifySubscriptionId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` -} diff --git a/models/models/model_non_ue_n2_message_transfer_request.go b/models/models/model_non_ue_n2_message_transfer_request.go deleted file mode 100644 index 5f27ed6e..00000000 --- a/models/models/model_non_ue_n2_message_transfer_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NonUeN2MessageTransferRequest struct { - JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` -} diff --git a/models/models/model_notif_condition.go b/models/models/model_notif_condition.go deleted file mode 100644 index 8855e62b..00000000 --- a/models/models/model_notif_condition.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Condition (list of attributes in the NF Profile) to determine whether a notification must be sent by NRF -type NotifCondition struct { - MonitoredAttributes []string `json:"monitoredAttributes,omitempty" yaml:"monitoredAttributes" bson:"monitoredAttributes,omitempty"` - UnmonitoredAttributes []string `json:"unmonitoredAttributes,omitempty" yaml:"unmonitoredAttributes" bson:"unmonitoredAttributes,omitempty"` -} diff --git a/models/models/model_notif_summary_report.go b/models/models/model_notif_summary_report.go deleted file mode 100644 index 26ff290d..00000000 --- a/models/models/model_notif_summary_report.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents summarized notifications based on processing instructions. -type NotifSummaryReport struct { - EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` - // indicating a time in seconds. - ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` - // List of event parameter reports. - EventReports []EventParamReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` -} diff --git a/models/models/model_notif_type.go b/models/models/model_notif_type.go deleted file mode 100644 index 6824339b..00000000 --- a/models/models/model_notif_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotifType string - -// List of NotifType -const ( - NotifType_REAUTH NotifType = "REAUTH" - NotifType_UPDATEAUTH NotifType = "UPDATEAUTH" - NotifType_REVOKE NotifType = "REVOKE" -) diff --git a/models/models/model_notification_cause.go b/models/models/model_notification_cause.go deleted file mode 100644 index 243fe5a1..00000000 --- a/models/models/model_notification_cause.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationCause string - -// List of NotificationCause -const ( - NotificationCause_QOS_FULFILLED NotificationCause = "QOS_FULFILLED" - NotificationCause_QOS_NOT_FULFILLED NotificationCause = "QOS_NOT_FULFILLED" - NotificationCause_UP_SEC_FULFILLED NotificationCause = "UP_SEC_FULFILLED" - NotificationCause_UP_SEC_NOT_FULFILLED NotificationCause = "UP_SEC_NOT_FULFILLED" -) diff --git a/models/models/model_notification_control.go b/models/models/model_notification_control.go deleted file mode 100644 index e95f9578..00000000 --- a/models/models/model_notification_control.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationControl string - -// List of NotificationControl -const ( - NotificationControl_REQUESTED NotificationControl = "REQUESTED" - NotificationControl_NOT_REQUESTED NotificationControl = "NOT_REQUESTED" -) diff --git a/models/models/model_notification_control_indication.go b/models/models/model_notification_control_indication.go deleted file mode 100644 index bf8d7ff9..00000000 --- a/models/models/model_notification_control_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationControlIndication string - -// List of NotificationControlIndication -const ( - NotificationControlIndication_DDN_FAILURE NotificationControlIndication = "DDN_FAILURE" - NotificationControlIndication_DDD_STATUS NotificationControlIndication = "DDD_STATUS" -) diff --git a/models/models/model_notification_description.go b/models/models/model_notification_description.go deleted file mode 100644 index d3adaee3..00000000 --- a/models/models/model_notification_description.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Description of a record notification -type NotificationDescription struct { - // String providing an URI formatted according to RFC 3986. - RecordRef string `json:"recordRef" yaml:"recordRef" bson:"recordRef,omitempty"` - OperationType RecordOperation `json:"operationType" yaml:"operationType" bson:"operationType,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` -} diff --git a/models/models/model_notification_event_type.go b/models/models/model_notification_event_type.go deleted file mode 100644 index 5cff2496..00000000 --- a/models/models/model_notification_event_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationEventType string - -// List of NotificationEventType -const ( - NotificationEventType_REGISTERED NotificationEventType = "NF_REGISTERED" - NotificationEventType_DEREGISTERED NotificationEventType = "NF_DEREGISTERED" - NotificationEventType_PROFILE_CHANGED NotificationEventType = "NF_PROFILE_CHANGED" -) diff --git a/models/models/model_notification_flag.go b/models/models/model_notification_flag.go deleted file mode 100644 index e5106b9a..00000000 --- a/models/models/model_notification_flag.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationFlag string - -// List of NotificationFlag -const ( - NotificationFlag_ACTIVATE NotificationFlag = "ACTIVATE" - NotificationFlag_DEACTIVATE NotificationFlag = "DEACTIVATE" - NotificationFlag_RETRIEVAL NotificationFlag = "RETRIEVAL" -) diff --git a/models/models/model_notification_item.go b/models/models/model_notification_item.go deleted file mode 100644 index 32ea02f4..00000000 --- a/models/models/model_notification_item.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a data change notification when the change occurs in a fragment (subset of resource data) of a given resource. -type NotificationItem struct { - // String providing an URI formatted according to RFC 3986. - ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` - NotifItems []UpdatedItem `json:"notifItems" yaml:"notifItems" bson:"notifItems,omitempty"` -} diff --git a/models/models/model_notification_push.go b/models/models/model_notification_push.go deleted file mode 100644 index 132b4d5d..00000000 --- a/models/models/model_notification_push.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the information to be used by the NF service consumer to retrieve the PFDs and/or remove the PFDs of the applicable application identifier(s). -type NotificationPush struct { - AppIds []string `json:"appIds" yaml:"appIds" bson:"appIds,omitempty"` - // indicating a time in seconds. - AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` - PfdOp PfdOperation `json:"pfdOp,omitempty" yaml:"pfdOp" bson:"pfdOp,omitempty"` -} diff --git a/models/models/model_notification_subscription.go b/models/models/model_notification_subscription.go deleted file mode 100644 index 4ee91528..00000000 --- a/models/models/model_notification_subscription.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Definition of a notification subscription -type NotificationSubscription struct { - ClientId *ClientId `json:"clientId" yaml:"clientId" bson:"clientId,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // String providing an URI formatted according to RFC 3986. - ExpiryCallbackReference string `json:"expiryCallbackReference,omitempty" yaml:"expiryCallbackReference" bson:"expiryCallbackReference,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - ExpiryNotification int32 `json:"expiryNotification,omitempty" yaml:"expiryNotification" bson:"expiryNotification,omitempty"` - SubFilter *SubscriptionFilter `json:"subFilter,omitempty" yaml:"subFilter" bson:"subFilter,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_notified_pos_info.go b/models/models/model_notified_pos_info.go deleted file mode 100644 index 3890aeb8..00000000 --- a/models/models/model_notified_pos_info.go +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within EventNotify notification -type NotifiedPosInfo struct { - LocationEvent AmfLocationLocationEvent `json:"locationEvent" yaml:"locationEvent" bson:"locationEvent,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` - LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServingNode string `json:"servingNode,omitempty" yaml:"servingNode" bson:"servingNode,omitempty"` - // Fully Qualified Domain Name - TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` - // Fully Qualified Domain Name - TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` - UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - // Specifies the measured uncompensated atmospheric pressure. - BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` - // LMF identification. - ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` - TerminationCause LmfLocationTerminationCause `json:"terminationCause,omitempty" yaml:"terminationCause" bson:"terminationCause,omitempty"` - AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` - MscServerId string `json:"mscServerId,omitempty" yaml:"mscServerId" bson:"mscServerId,omitempty"` - HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` -} diff --git a/models/models/model_notify_item.go b/models/models/model_notify_item.go deleted file mode 100644 index a621c938..00000000 --- a/models/models/model_notify_item.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates changes on a resource. -type NotifyItem struct { - // String providing an URI formatted according to RFC 3986. - ResourceId string `json:"resourceId" yaml:"resourceId" bson:"resourceId,omitempty"` - Changes []ChangeItem `json:"changes" yaml:"changes" bson:"changes,omitempty"` -} diff --git a/models/models/model_npn_access_info.go b/models/models/model_npn_access_info.go deleted file mode 100644 index c1ea0fa6..00000000 --- a/models/models/model_npn_access_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// NPN Access Information. -type NpnAccessInfo struct { - CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` -} diff --git a/models/models/model_nr_location.go b/models/models/model_nr_location.go deleted file mode 100644 index 024cc071..00000000 --- a/models/models/model_nr_location.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the NR user location. -type NrLocation struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` - Ncgi *Ncgi `json:"ncgi" yaml:"ncgi" bson:"ncgi,omitempty"` - IgnoreNcgi bool `json:"ignoreNcgi,omitempty" yaml:"ignoreNcgi" bson:"ignoreNcgi,omitempty"` - // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful NG-RAN location reporting procedure with the eNB when the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` - // Refer to geographical Information. See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` - // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) [24] clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` - GlobalGnbId *GlobalRanNodeId `json:"globalGnbId,omitempty" yaml:"globalGnbId" bson:"globalGnbId,omitempty"` -} diff --git a/models/models/model_nr_v2x_auth.go b/models/models/model_nr_v2x_auth.go deleted file mode 100644 index 10d82a4e..00000000 --- a/models/models/model_nr_v2x_auth.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains NR V2X services authorized information. -type NrV2xAuth struct { - VehicleUeAuth UeAuth `json:"vehicleUeAuth,omitempty" yaml:"vehicleUeAuth" bson:"vehicleUeAuth,omitempty"` - PedestrianUeAuth UeAuth `json:"pedestrianUeAuth,omitempty" yaml:"pedestrianUeAuth" bson:"pedestrianUeAuth,omitempty"` -} diff --git a/models/models/model_nrf_access_token_access_token_claims.go b/models/models/model_nrf_access_token_access_token_claims.go deleted file mode 100644 index 663af312..00000000 --- a/models/models/model_nrf_access_token_access_token_claims.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The claims data structure for the access token -type NrfAccessTokenAccessTokenClaims struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - Iss string `json:"iss" yaml:"iss" bson:"iss,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - Sub string `json:"sub" yaml:"sub" bson:"sub,omitempty"` - Aud interface{} `json:"aud" yaml:"aud" bson:"aud,omitempty"` - Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` - Exp int32 `json:"exp" yaml:"exp" bson:"exp,omitempty"` - ConsumerPlmnId *PlmnId `json:"consumerPlmnId,omitempty" yaml:"consumerPlmnId" bson:"consumerPlmnId,omitempty"` - ConsumerSnpnId *PlmnIdNid `json:"consumerSnpnId,omitempty" yaml:"consumerSnpnId" bson:"consumerSnpnId,omitempty"` - ProducerPlmnId *PlmnId `json:"producerPlmnId,omitempty" yaml:"producerPlmnId" bson:"producerPlmnId,omitempty"` - ProducerSnpnId *PlmnIdNid `json:"producerSnpnId,omitempty" yaml:"producerSnpnId" bson:"producerSnpnId,omitempty"` - ProducerSnssaiList []Snssai `json:"producerSnssaiList,omitempty" yaml:"producerSnssaiList" bson:"producerSnssaiList,omitempty"` - ProducerNsiList []string `json:"producerNsiList,omitempty" yaml:"producerNsiList" bson:"producerNsiList,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ProducerNfSetId string `json:"producerNfSetId,omitempty" yaml:"producerNfSetId" bson:"producerNfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ProducerNfServiceSetId string `json:"producerNfServiceSetId,omitempty" yaml:"producerNfServiceSetId" bson:"producerNfServiceSetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` -} diff --git a/models/models/model_nrf_access_token_access_token_req.go b/models/models/model_nrf_access_token_access_token_req.go deleted file mode 100644 index b5af99af..00000000 --- a/models/models/model_nrf_access_token_access_token_req.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the access token request -type NrfAccessTokenAccessTokenReq struct { - GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfType NrfNfManagementNfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` - TargetNfType NrfNfManagementNfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` - Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` - RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` - RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` - RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` - // Fully Qualified Domain Name - RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` - RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` - TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` - TargetSnpn *PlmnIdNid `json:"targetSnpn,omitempty" yaml:"targetSnpn" bson:"targetSnpn,omitempty"` - TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` - TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` - // String providing an URI formatted according to RFC 3986. - HnrfAccessTokenUri string `json:"hnrfAccessTokenUri,omitempty" yaml:"hnrfAccessTokenUri" bson:"hnrfAccessTokenUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` -} diff --git a/models/models/model_nrf_access_token_access_token_rsp.go b/models/models/model_nrf_access_token_access_token_rsp.go deleted file mode 100644 index 6adba2fe..00000000 --- a/models/models/model_nrf_access_token_access_token_rsp.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.7.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the access token response -type NrfAccessTokenAccessTokenRsp struct { - // JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) - AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token,omitempty"` - TokenType string `json:"token_type" yaml:"token_type" bson:"token_type,omitempty"` - ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in,omitempty"` - Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope,omitempty"` -} diff --git a/models/models/model_nrf_info.go b/models/models/model_nrf_info.go deleted file mode 100644 index 78d2ddab..00000000 --- a/models/models/model_nrf_info.go +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an NRF NF Instance, used in hierarchical NRF deployments -type NrfInfo struct { - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdrInfo map[string]interface{} `json:"servedUdrInfo,omitempty" yaml:"servedUdrInfo" bson:"servedUdrInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdrInfoList map[string]map[string]interface{} `json:"servedUdrInfoList,omitempty" yaml:"servedUdrInfoList" bson:"servedUdrInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdmInfo map[string]interface{} `json:"servedUdmInfo,omitempty" yaml:"servedUdmInfo" bson:"servedUdmInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdmInfoList map[string]map[string]interface{} `json:"servedUdmInfoList,omitempty" yaml:"servedUdmInfoList" bson:"servedUdmInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedAusfInfo map[string]interface{} `json:"servedAusfInfo,omitempty" yaml:"servedAusfInfo" bson:"servedAusfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedAusfInfoList map[string]map[string]interface{} `json:"servedAusfInfoList,omitempty" yaml:"servedAusfInfoList" bson:"servedAusfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedAmfInfo map[string]interface{} `json:"servedAmfInfo,omitempty" yaml:"servedAmfInfo" bson:"servedAmfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedAmfInfoList map[string]map[string]interface{} `json:"servedAmfInfoList,omitempty" yaml:"servedAmfInfoList" bson:"servedAmfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedSmfInfo map[string]interface{} `json:"servedSmfInfo,omitempty" yaml:"servedSmfInfo" bson:"servedSmfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedSmfInfoList map[string]map[string]interface{} `json:"servedSmfInfoList,omitempty" yaml:"servedSmfInfoList" bson:"servedSmfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUpfInfo map[string]interface{} `json:"servedUpfInfo,omitempty" yaml:"servedUpfInfo" bson:"servedUpfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUpfInfoList map[string]map[string]interface{} `json:"servedUpfInfoList,omitempty" yaml:"servedUpfInfoList" bson:"servedUpfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedPcfInfo map[string]interface{} `json:"servedPcfInfo,omitempty" yaml:"servedPcfInfo" bson:"servedPcfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedPcfInfoList map[string]map[string]interface{} `json:"servedPcfInfoList,omitempty" yaml:"servedPcfInfoList" bson:"servedPcfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedBsfInfo map[string]interface{} `json:"servedBsfInfo,omitempty" yaml:"servedBsfInfo" bson:"servedBsfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedBsfInfoList map[string]map[string]interface{} `json:"servedBsfInfoList,omitempty" yaml:"servedBsfInfoList" bson:"servedBsfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedChfInfo map[string]interface{} `json:"servedChfInfo,omitempty" yaml:"servedChfInfo" bson:"servedChfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedChfInfoList map[string]map[string]interface{} `json:"servedChfInfoList,omitempty" yaml:"servedChfInfoList" bson:"servedChfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedNefInfo map[string]interface{} `json:"servedNefInfo,omitempty" yaml:"servedNefInfo" bson:"servedNefInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedNwdafInfo map[string]interface{} `json:"servedNwdafInfo,omitempty" yaml:"servedNwdafInfo" bson:"servedNwdafInfo,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedNwdafInfoList map[string]map[string]NwdafInfo `json:"servedNwdafInfoList,omitempty" yaml:"servedNwdafInfoList" bson:"servedNwdafInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedPcscfInfoList map[string]map[string]interface{} `json:"servedPcscfInfoList,omitempty" yaml:"servedPcscfInfoList" bson:"servedPcscfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedGmlcInfo map[string]interface{} `json:"servedGmlcInfo,omitempty" yaml:"servedGmlcInfo" bson:"servedGmlcInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedLmfInfo map[string]interface{} `json:"servedLmfInfo,omitempty" yaml:"servedLmfInfo" bson:"servedLmfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedNfInfo map[string]NfInfo `json:"servedNfInfo,omitempty" yaml:"servedNfInfo" bson:"servedNfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedHssInfoList map[string]map[string]interface{} `json:"servedHssInfoList,omitempty" yaml:"servedHssInfoList" bson:"servedHssInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdsfInfo map[string]interface{} `json:"servedUdsfInfo,omitempty" yaml:"servedUdsfInfo" bson:"servedUdsfInfo,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedUdsfInfoList map[string]map[string]interface{} `json:"servedUdsfInfoList,omitempty" yaml:"servedUdsfInfoList" bson:"servedUdsfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedScpInfoList map[string]interface{} `json:"servedScpInfoList,omitempty" yaml:"servedScpInfoList" bson:"servedScpInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedSeppInfoList map[string]interface{} `json:"servedSeppInfoList,omitempty" yaml:"servedSeppInfoList" bson:"servedSeppInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedAanfInfoList map[string]map[string]interface{} `json:"servedAanfInfoList,omitempty" yaml:"servedAanfInfoList" bson:"servedAanfInfoList,omitempty"` - Served5gDdnmfInfo map[string]Model5GDdnmfInfo `json:"served5gDdnmfInfo,omitempty" yaml:"served5gDdnmfInfo" bson:"served5gDdnmfInfo,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedMfafInfoList map[string]MfafInfo `json:"servedMfafInfoList,omitempty" yaml:"servedMfafInfoList" bson:"servedMfafInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedEasdfInfoList map[string]map[string]EasdfInfo `json:"servedEasdfInfoList,omitempty" yaml:"servedEasdfInfoList" bson:"servedEasdfInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedDccfInfoList map[string]DccfInfo `json:"servedDccfInfoList,omitempty" yaml:"servedDccfInfoList" bson:"servedDccfInfoList,omitempty"` - // A map (list of key-value pairs) where nfInstanceId serves as key - ServedMbSmfInfoList map[string]map[string]interface{} `json:"servedMbSmfInfoList,omitempty" yaml:"servedMbSmfInfoList" bson:"servedMbSmfInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedTsctsfInfoList map[string]map[string]TsctsfInfo `json:"servedTsctsfInfoList,omitempty" yaml:"servedTsctsfInfoList" bson:"servedTsctsfInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedMbUpfInfoList map[string]map[string]MbUpfInfo `json:"servedMbUpfInfoList,omitempty" yaml:"servedMbUpfInfoList" bson:"servedMbUpfInfoList,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedTrustAfInfo map[string]TrustAfInfo `json:"servedTrustAfInfo,omitempty" yaml:"servedTrustAfInfo" bson:"servedTrustAfInfo,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - ServedNssaafInfo map[string]NssaafInfo `json:"servedNssaafInfo,omitempty" yaml:"servedNssaafInfo" bson:"servedNssaafInfo,omitempty"` -} diff --git a/models/models/model_nrf_nf_discovery_nf_profile.go b/models/models/model_nrf_nf_discovery_nf_profile.go deleted file mode 100644 index 354bdfff..00000000 --- a/models/models/model_nrf_nf_discovery_nf_profile.go +++ /dev/null @@ -1,126 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of an NF Instance discovered by the NRF -type NrfNfDiscoveryNfProfile struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` - NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` - CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` - PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo - UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo - UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo - AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` - AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo - AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo - SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo - UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo - PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` - BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo - BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo - ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` - UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo - UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` - NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo - NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` - NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo - PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo - HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` - NfServices []NrfNfDiscoveryNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` - // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService - NfServiceList map[string]NrfNfDiscoveryNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` - GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` - SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` - NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` - OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` - // A map (list of key-value pairs) where NfSetId serves as key of DateTime - NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` - // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime - ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` - ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` - ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` - SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` - // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) - VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` - // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes - SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo - AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` - MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` - // A map(list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo - EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` - DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo - NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo - MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo - TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo - MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` - TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` - NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` - HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` - IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` - MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` -} diff --git a/models/models/model_nrf_nf_discovery_nf_service.go b/models/models/model_nrf_nf_discovery_nf_service.go deleted file mode 100644 index aff80b0a..00000000 --- a/models/models/model_nrf_nf_discovery_nf_service.go +++ /dev/null @@ -1,54 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance discovered by the NRF -type NrfNfDiscoveryNfService struct { - ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` - Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` - Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` - NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` - ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) - VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` - // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes - SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` - Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` - // A map (list of key-value pairs) where NF Type serves as key - AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_amf_info.go b/models/models/model_nrf_nf_management_amf_info.go deleted file mode 100644 index d0b986f2..00000000 --- a/models/models/model_nrf_nf_management_amf_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an AMF NF Instance -type NrfNfManagementAmfInfo struct { - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). - AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId,omitempty"` - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) - AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - BackupInfoAmfFailure []Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure,omitempty"` - BackupInfoAmfRemoval []Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval,omitempty"` - N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo,omitempty"` - AmfOnboardingCapability bool `json:"amfOnboardingCapability,omitempty" yaml:"amfOnboardingCapability" bson:"amfOnboardingCapability,omitempty"` - HighLatencyCom bool `json:"highLatencyCom,omitempty" yaml:"highLatencyCom" bson:"highLatencyCom,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_bsf_info.go b/models/models/model_nrf_nf_management_bsf_info.go deleted file mode 100644 index 70fc6c81..00000000 --- a/models/models/model_nrf_nf_management_bsf_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a BSF NF Instance -type NrfNfManagementBsfInfo struct { - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList,omitempty"` - Ipv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` - Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` - // Fully Qualified Domain Name - RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` - // Fully Qualified Domain Name - RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_ipv4_address_range.go b/models/models/model_nrf_nf_management_ipv4_address_range.go deleted file mode 100644 index 1e1910e5..00000000 --- a/models/models/model_nrf_nf_management_ipv4_address_range.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of IPv4 addresses -type NrfNfManagementIpv4AddressRange struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_ipv6_prefix_range.go b/models/models/model_nrf_nf_management_ipv6_prefix_range.go deleted file mode 100644 index fcd0bceb..00000000 --- a/models/models/model_nrf_nf_management_ipv6_prefix_range.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of IPv6 prefixes -type NrfNfManagementIpv6PrefixRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_mbs_session.go b/models/models/model_nrf_nf_management_mbs_session.go deleted file mode 100644 index fe072ff5..00000000 --- a/models/models/model_nrf_nf_management_mbs_session.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MBS Session currently served by an MB-SMF -type NrfNfManagementMbsSession struct { - MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` - // A map (list of key-value pairs) where the key identifies an areaSessionId - MbsAreaSessions map[string]MbsServiceAreaInfo `json:"mbsAreaSessions,omitempty" yaml:"mbsAreaSessions" bson:"mbsAreaSessions,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_nf_profile.go b/models/models/model_nrf_nf_management_nf_profile.go deleted file mode 100644 index 4ef26e38..00000000 --- a/models/models/model_nrf_nf_management_nf_profile.go +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of an NF Instance registered in the NRF -type NrfNfManagementNfProfile struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` - NfType NrfNfManagementNfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - NfStatus NrfNfManagementNfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` - CollocatedNfInstances []CollocatedNfInstance `json:"collocatedNfInstances,omitempty" yaml:"collocatedNfInstances" bson:"collocatedNfInstances,omitempty"` - HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` - PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` - SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` - AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` - AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` - AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdrInfo - UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdmInfo - UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AusfInfo - AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` - AmfInfo *NrfNfManagementAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AmfInfo - AmfInfoList map[string]NrfNfManagementAmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of SmfInfo - SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UpfInfo - UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcfInfo - PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` - BsfInfo *NrfNfManagementBsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of BsfInfo - BsfInfoList map[string]NrfNfManagementBsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of ChfInfo - ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` - NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` - NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` - UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of UdsfInfo - UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` - NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NwdafInfo - NwdafInfoList map[string]NwdafInfo `json:"nwdafInfoList,omitempty" yaml:"nwdafInfoList" bson:"nwdafInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of PcscfInfo - PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of HssInfo - HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` - NfServices []NrfNfManagementNfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` - // A map (list of key-value pairs) where serviceInstanceId serves as key of NFService - NfServiceList map[string]NrfNfManagementNfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` - NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` - NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` - GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` - NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` - OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` - // A map (list of key-value pairs) where NfSetId serves as key of DateTime - NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` - // A map (list of key-value pairs) where NfServiceSetId serves as key of DateTime - ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` - ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` - ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` - SeppInfo *SeppInfo `json:"seppInfo,omitempty" yaml:"seppInfo" bson:"seppInfo,omitempty"` - // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) - VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` - // The key of the map is the IANA-assigned SMI Network Management Private Enterprise Codes - SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of AanfInfo - AanfInfoList map[string]AanfInfo `json:"aanfInfoList,omitempty" yaml:"aanfInfoList" bson:"aanfInfoList,omitempty"` - Var5gDdnmfInfo *Model5GDdnmfInfo `json:"5gDdnmfInfo,omitempty" yaml:"5gDdnmfInfo" bson:"5gDdnmfInfo,omitempty"` - MfafInfo *MfafInfo `json:"mfafInfo,omitempty" yaml:"mfafInfo" bson:"mfafInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of EasdfInfo - EasdfInfoList map[string]EasdfInfo `json:"easdfInfoList,omitempty" yaml:"easdfInfoList" bson:"easdfInfoList,omitempty"` - DccfInfo *DccfInfo `json:"dccfInfo,omitempty" yaml:"dccfInfo" bson:"dccfInfo,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of NsacfInfo - NsacfInfoList map[string]NsacfInfo `json:"nsacfInfoList,omitempty" yaml:"nsacfInfoList" bson:"nsacfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbSmfInfo - MbSmfInfoList map[string]MbSmfInfo `json:"mbSmfInfoList,omitempty" yaml:"mbSmfInfoList" bson:"mbSmfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of TsctsfInfo - TsctsfInfoList map[string]TsctsfInfo `json:"tsctsfInfoList,omitempty" yaml:"tsctsfInfoList" bson:"tsctsfInfoList,omitempty"` - // A map (list of key-value pairs) where a (unique) valid JSON string serves as key of MbUpfInfo - MbUpfInfoList map[string]MbUpfInfo `json:"mbUpfInfoList,omitempty" yaml:"mbUpfInfoList" bson:"mbUpfInfoList,omitempty"` - TrustAfInfo *TrustAfInfo `json:"trustAfInfo,omitempty" yaml:"trustAfInfo" bson:"trustAfInfo,omitempty"` - NssaafInfo *NssaafInfo `json:"nssaafInfo,omitempty" yaml:"nssaafInfo" bson:"nssaafInfo,omitempty"` - HniList []string `json:"hniList,omitempty" yaml:"hniList" bson:"hniList,omitempty"` - IwmscInfo *IwmscInfo `json:"iwmscInfo,omitempty" yaml:"iwmscInfo" bson:"iwmscInfo,omitempty"` - MnpfInfo *MnpfInfo `json:"mnpfInfo,omitempty" yaml:"mnpfInfo" bson:"mnpfInfo,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_nf_service.go b/models/models/model_nrf_nf_management_nf_service.go deleted file mode 100644 index d0bf0f81..00000000 --- a/models/models/model_nrf_nf_management_nf_service.go +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance -type NrfNfManagementNfService struct { - ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` - Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` - Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` - NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` - ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` - AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` - AllowedNfTypes []NrfNfManagementNfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` - AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` - // A map (list of key-value pairs) where NF Type serves as key - AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` - // A map (list of key-value pairs) where NF Instance Id serves as key - AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) - VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` - // A map (list of key-value pairs) where IANA-assigned SMI Network Management Private Enterprise Codes serves as key - SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` - Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` - PerPlmnOauth2ReqList *PlmnOauth2 `json:"perPlmnOauth2ReqList,omitempty" yaml:"perPlmnOauth2ReqList" bson:"perPlmnOauth2ReqList,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_nf_status.go b/models/models/model_nrf_nf_management_nf_status.go deleted file mode 100644 index 88adeb6c..00000000 --- a/models/models/model_nrf_nf_management_nf_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NrfNfManagementNfStatus string - -// List of NrfNFManagementNfStatus -const ( - NrfNfManagementNfStatus_REGISTERED NrfNfManagementNfStatus = "REGISTERED" - NrfNfManagementNfStatus_SUSPENDED NrfNfManagementNfStatus = "SUSPENDED" - NrfNfManagementNfStatus_UNDISCOVERABLE NrfNfManagementNfStatus = "UNDISCOVERABLE" -) diff --git a/models/models/model_nrf_nf_management_nf_type.go b/models/models/model_nrf_nf_management_nf_type.go deleted file mode 100644 index 7d24317d..00000000 --- a/models/models/model_nrf_nf_management_nf_type.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NrfNfManagementNfType string - -// List of NrfNFManagementNFType -const ( - NrfNfManagementNfType_NRF NrfNfManagementNfType = "NRF" - NrfNfManagementNfType_UDM NrfNfManagementNfType = "UDM" - NrfNfManagementNfType_AMF NrfNfManagementNfType = "AMF" - NrfNfManagementNfType_SMF NrfNfManagementNfType = "SMF" - NrfNfManagementNfType_AUSF NrfNfManagementNfType = "AUSF" - NrfNfManagementNfType_NEF NrfNfManagementNfType = "NEF" - NrfNfManagementNfType_PCF NrfNfManagementNfType = "PCF" - NrfNfManagementNfType_SMSF NrfNfManagementNfType = "SMSF" - NrfNfManagementNfType_NSSF NrfNfManagementNfType = "NSSF" - NrfNfManagementNfType_UDR NrfNfManagementNfType = "UDR" - NrfNfManagementNfType_LMF NrfNfManagementNfType = "LMF" - NrfNfManagementNfType_GMLC NrfNfManagementNfType = "GMLC" - NrfNfManagementNfType__5_G_EIR NrfNfManagementNfType = "5G_EIR" - NrfNfManagementNfType_SEPP NrfNfManagementNfType = "SEPP" - NrfNfManagementNfType_UPF NrfNfManagementNfType = "UPF" - NrfNfManagementNfType_N3_IWF NrfNfManagementNfType = "N3IWF" - NrfNfManagementNfType_AF NrfNfManagementNfType = "AF" - NrfNfManagementNfType_UDSF NrfNfManagementNfType = "UDSF" - NrfNfManagementNfType_BSF NrfNfManagementNfType = "BSF" - NrfNfManagementNfType_CHF NrfNfManagementNfType = "CHF" - NrfNfManagementNfType_NWDAF NrfNfManagementNfType = "NWDAF" - NrfNfManagementNfType_PCSCF NrfNfManagementNfType = "PCSCF" - NrfNfManagementNfType_CBCF NrfNfManagementNfType = "CBCF" - NrfNfManagementNfType_HSS NrfNfManagementNfType = "HSS" - NrfNfManagementNfType_UCMF NrfNfManagementNfType = "UCMF" - NrfNfManagementNfType_SOR_AF NrfNfManagementNfType = "SOR_AF" - NrfNfManagementNfType_SPAF NrfNfManagementNfType = "SPAF" - NrfNfManagementNfType_MME NrfNfManagementNfType = "MME" - NrfNfManagementNfType_SCSAS NrfNfManagementNfType = "SCSAS" - NrfNfManagementNfType_SCEF NrfNfManagementNfType = "SCEF" - NrfNfManagementNfType_SCP NrfNfManagementNfType = "SCP" - NrfNfManagementNfType_NSSAAF NrfNfManagementNfType = "NSSAAF" - NrfNfManagementNfType_ICSCF NrfNfManagementNfType = "ICSCF" - NrfNfManagementNfType_SCSCF NrfNfManagementNfType = "SCSCF" - NrfNfManagementNfType_DRA NrfNfManagementNfType = "DRA" - NrfNfManagementNfType_IMS_AS NrfNfManagementNfType = "IMS_AS" - NrfNfManagementNfType_AANF NrfNfManagementNfType = "AANF" - NrfNfManagementNfType__5_G_DDNMF NrfNfManagementNfType = "5G_DDNMF" - NrfNfManagementNfType_NSACF NrfNfManagementNfType = "NSACF" - NrfNfManagementNfType_MFAF NrfNfManagementNfType = "MFAF" - NrfNfManagementNfType_EASDF NrfNfManagementNfType = "EASDF" - NrfNfManagementNfType_DCCF NrfNfManagementNfType = "DCCF" - NrfNfManagementNfType_MB_SMF NrfNfManagementNfType = "MB_SMF" - NrfNfManagementNfType_TSCTSF NrfNfManagementNfType = "TSCTSF" - NrfNfManagementNfType_ADRF NrfNfManagementNfType = "ADRF" - NrfNfManagementNfType_GBA_BSF NrfNfManagementNfType = "GBA_BSF" - NrfNfManagementNfType_CEF NrfNfManagementNfType = "CEF" - NrfNfManagementNfType_MB_UPF NrfNfManagementNfType = "MB_UPF" - NrfNfManagementNfType_NSWOF NrfNfManagementNfType = "NSWOF" - NrfNfManagementNfType_PKMF NrfNfManagementNfType = "PKMF" - NrfNfManagementNfType_MNPF NrfNfManagementNfType = "MNPF" - NrfNfManagementNfType_SMS_GMSC NrfNfManagementNfType = "SMS_GMSC" - NrfNfManagementNfType_SMS_IWMSC NrfNfManagementNfType = "SMS_IWMSC" - NrfNfManagementNfType_MBSF NrfNfManagementNfType = "MBSF" - NrfNfManagementNfType_MBSTF NrfNfManagementNfType = "MBSTF" - NrfNfManagementNfType_PANF NrfNfManagementNfType = "PANF" -) diff --git a/models/models/model_nrf_nf_management_notification_data.go b/models/models/model_nrf_nf_management_notification_data.go deleted file mode 100644 index 659ca5a5..00000000 --- a/models/models/model_nrf_nf_management_notification_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data sent in notifications from NRF to subscribed NF Instances -type NrfNfManagementNotificationData struct { - Event NotificationEventType `json:"event" yaml:"event" bson:"event,omitempty"` - // String providing an URI formatted according to RFC 3986. - NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri,omitempty"` - NfProfile *NrfNfManagementNfProfile `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile,omitempty"` - ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges,omitempty"` - ConditionEvent ConditionEventType `json:"conditionEvent,omitempty" yaml:"conditionEvent" bson:"conditionEvent,omitempty"` - SubscriptionContext *SubscriptionContext `json:"subscriptionContext,omitempty" yaml:"subscriptionContext" bson:"subscriptionContext,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_notification_type.go b/models/models/model_nrf_nf_management_notification_type.go deleted file mode 100644 index 923ea1f8..00000000 --- a/models/models/model_nrf_nf_management_notification_type.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NrfNfManagementNotificationType string - -// List of NrfNFManagementNotificationType -const ( - NrfNfManagementNotificationType_N1_MESSAGES NrfNfManagementNotificationType = "N1_MESSAGES" - NrfNfManagementNotificationType_N2_INFORMATION NrfNfManagementNotificationType = "N2_INFORMATION" - NrfNfManagementNotificationType_LOCATION_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_NOTIFICATION" - NrfNfManagementNotificationType_DATA_REMOVAL_NOTIFICATION NrfNfManagementNotificationType = "DATA_REMOVAL_NOTIFICATION" - NrfNfManagementNotificationType_DATA_CHANGE_NOTIFICATION NrfNfManagementNotificationType = "DATA_CHANGE_NOTIFICATION" - NrfNfManagementNotificationType_LOCATION_UPDATE_NOTIFICATION NrfNfManagementNotificationType = "LOCATION_UPDATE_NOTIFICATION" - NrfNfManagementNotificationType_NSSAA_REAUTH_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REAUTH_NOTIFICATION" - NrfNfManagementNotificationType_NSSAA_REVOC_NOTIFICATION NrfNfManagementNotificationType = "NSSAA_REVOC_NOTIFICATION" - NrfNfManagementNotificationType_MATCH_INFO_NOTIFICATION NrfNfManagementNotificationType = "MATCH_INFO_NOTIFICATION" - NrfNfManagementNotificationType_DATA_RESTORATION_NOTIFICATION NrfNfManagementNotificationType = "DATA_RESTORATION_NOTIFICATION" - NrfNfManagementNotificationType_TSCTS_NOTIFICATION NrfNfManagementNotificationType = "TSCTS_NOTIFICATION" - NrfNfManagementNotificationType_LCS_KEY_DELIVERY_NOTIFICATION NrfNfManagementNotificationType = "LCS_KEY_DELIVERY_NOTIFICATION" - NrfNfManagementNotificationType_UUAA_MM_AUTH_NOTIFICATION NrfNfManagementNotificationType = "UUAA_MM_AUTH_NOTIFICATION" -) diff --git a/models/models/model_nrf_nf_management_pfd_data.go b/models/models/model_nrf_nf_management_pfd_data.go deleted file mode 100644 index 2181fa81..00000000 --- a/models/models/model_nrf_nf_management_pfd_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of Application IDs and/or AF IDs managed by a given NEF Instance -type NrfNfManagementPfdData struct { - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_pro_se_capability.go b/models/models/model_nrf_nf_management_pro_se_capability.go deleted file mode 100644 index 5993399d..00000000 --- a/models/models/model_nrf_nf_management_pro_se_capability.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicate the supported ProSe Capability by the PCF. -type NrfNfManagementProSeCapability struct { - ProseDirectDiscovey bool `json:"proseDirectDiscovey,omitempty" yaml:"proseDirectDiscovey" bson:"proseDirectDiscovey,omitempty"` - ProseDirectCommunication bool `json:"proseDirectCommunication,omitempty" yaml:"proseDirectCommunication" bson:"proseDirectCommunication,omitempty"` - ProseL2UetoNetworkRelay bool `json:"proseL2UetoNetworkRelay,omitempty" yaml:"proseL2UetoNetworkRelay" bson:"proseL2UetoNetworkRelay,omitempty"` - ProseL3UetoNetworkRelay bool `json:"proseL3UetoNetworkRelay,omitempty" yaml:"proseL3UetoNetworkRelay" bson:"proseL3UetoNetworkRelay,omitempty"` - ProseL2RemoteUe bool `json:"proseL2RemoteUe,omitempty" yaml:"proseL2RemoteUe" bson:"proseL2RemoteUe,omitempty"` - ProseL3RemoteUe bool `json:"proseL3RemoteUe,omitempty" yaml:"proseL3RemoteUe" bson:"proseL3RemoteUe,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_subscription_data.go b/models/models/model_nrf_nf_management_subscription_data.go deleted file mode 100644 index e37c0bd9..00000000 --- a/models/models/model_nrf_nf_management_subscription_data.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of a subscription to notifications to NRF events, included in subscription requests and responses -type NrfNfManagementSubscriptionData struct { - NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ReqNfInstanceId string `json:"reqNfInstanceId,omitempty" yaml:"reqNfInstanceId" bson:"reqNfInstanceId,omitempty"` - SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` - NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition,omitempty"` - ReqNfType NrfNfManagementNfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType,omitempty"` - // Fully Qualified Domain Name - ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn,omitempty"` - ReqSnssais []ExtSnssai `json:"reqSnssais,omitempty" yaml:"reqSnssais" bson:"reqSnssais,omitempty"` - ReqPerPlmnSnssais []PlmnSnssai `json:"reqPerPlmnSnssais,omitempty" yaml:"reqPerPlmnSnssais" bson:"reqPerPlmnSnssais,omitempty"` - ReqPlmnList []PlmnId `json:"reqPlmnList,omitempty" yaml:"reqPlmnList" bson:"reqPlmnList,omitempty"` - ReqSnpnList []PlmnIdNid `json:"reqSnpnList,omitempty" yaml:"reqSnpnList" bson:"reqSnpnList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - RequesterFeatures string `json:"requesterFeatures,omitempty" yaml:"requesterFeatures" bson:"requesterFeatures,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` - // String providing an URI formatted according to RFC 3986. - HnrfUri string `json:"hnrfUri,omitempty" yaml:"hnrfUri" bson:"hnrfUri,omitempty"` - OnboardingCapability bool `json:"onboardingCapability,omitempty" yaml:"onboardingCapability" bson:"onboardingCapability,omitempty"` - // Fully Qualified Domain Name - TargetHni string `json:"targetHni,omitempty" yaml:"targetHni" bson:"targetHni,omitempty"` - PreferredLocality string `json:"preferredLocality,omitempty" yaml:"preferredLocality" bson:"preferredLocality,omitempty"` -} diff --git a/models/models/model_nrf_nf_management_transport_protocol.go b/models/models/model_nrf_nf_management_transport_protocol.go deleted file mode 100644 index 10fb4bae..00000000 --- a/models/models/model_nrf_nf_management_transport_protocol.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NrfNfManagementTransportProtocol string - -// List of NrfNFManagementTransportProtocol -const ( - NrfNfManagementTransportProtocol_TCP NrfNfManagementTransportProtocol = "TCP" -) diff --git a/models/models/model_nrppa_information.go b/models/models/model_nrppa_information.go deleted file mode 100644 index 922da60c..00000000 --- a/models/models/model_nrppa_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a NRPPa related N2 information data part -type NrppaInformation struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` - NrppaPdu *N2InfoContent `json:"nrppaPdu" yaml:"nrppaPdu" bson:"nrppaPdu,omitempty"` - ServiceInstanceId string `json:"serviceInstanceId,omitempty" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` -} diff --git a/models/models/model_nsacf_capability.go b/models/models/model_nsacf_capability.go deleted file mode 100644 index 60b0bdf9..00000000 --- a/models/models/model_nsacf_capability.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// NSACF service capabilities (e.g. to monitor and control the number of registered UEs or established PDU sessions per network slice) -type NsacfCapability struct { - // Indicates the service capability of the NSACF to monitor and control the number of registered UEs per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported - SupportUeSAC bool `json:"supportUeSAC,omitempty" yaml:"supportUeSAC" bson:"supportUeSAC,omitempty"` - // Indicates the service capability of the NSACF to monitor and control the number of established PDU sessions per network slice for the network slice that is subject to NSAC true: Supported false (default): Not Supported - SupportPduSAC bool `json:"supportPduSAC,omitempty" yaml:"supportPduSAC" bson:"supportPduSAC,omitempty"` -} diff --git a/models/models/model_nsacf_info.go b/models/models/model_nsacf_info.go deleted file mode 100644 index 3887bac9..00000000 --- a/models/models/model_nsacf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a NSACF NF Instance -type NsacfInfo struct { - NsacfCapability *NsacfCapability `json:"nsacfCapability" yaml:"nsacfCapability" bson:"nsacfCapability,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - NsacSaiList []string `json:"nsacSaiList,omitempty" yaml:"nsacSaiList" bson:"nsacSaiList,omitempty"` -} diff --git a/models/models/model_nsag_info.go b/models/models/model_nsag_info.go deleted file mode 100644 index 66b133cf..00000000 --- a/models/models/model_nsag_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the association of NSAGs and S-NSSAI(s) along with the TA(s) within which the association is valid. -type NsagInfo struct { - NsagIds []int32 `json:"nsagIds" yaml:"nsagIds" bson:"nsagIds,omitempty"` - SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` -} diff --git a/models/models/model_nsi_id_info.go b/models/models/model_nsi_id_info.go deleted file mode 100644 index 78ec3936..00000000 --- a/models/models/model_nsi_id_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the S-NSSAI and the optionally associated Network Slice Instance(s). -type NsiIdInfo struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - NsiIds []string `json:"nsiIds,omitempty" yaml:"nsiIds" bson:"nsiIds,omitempty"` -} diff --git a/models/models/model_nsi_information.go b/models/models/model_nsi_information.go deleted file mode 100644 index 89bb78aa..00000000 --- a/models/models/model_nsi_information.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the API URIs of NRF services to be used to discover NFs/services, subscribe to NF status changes and/or request access tokens within the selected Network Slice instance and optional the Identifier of the selected Network Slice instance -type NsiInformation struct { - // String providing an URI formatted according to RFC 3986. - NrfId string `json:"nrfId" yaml:"nrfId" bson:"nrfId,omitempty"` - // Contains the Identifier of the selected Network Slice instance - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfNfMgtUri string `json:"nrfNfMgtUri,omitempty" yaml:"nrfNfMgtUri" bson:"nrfNfMgtUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` - // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" - NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` -} diff --git a/models/models/model_nsi_load_level_info.go b/models/models/model_nsi_load_level_info.go deleted file mode 100644 index 8f7bcfa9..00000000 --- a/models/models/model_nsi_load_level_info.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the network slice and optionally the associated network slice instance and the load level information. -type NsiLoadLevelInfo struct { - // Load level information of the network slice and the optionally associated network slice instance. - LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // Contains the Identifier of the selected Network Slice instance - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` - ResUsage *ResourceUsage `json:"resUsage,omitempty" yaml:"resUsage" bson:"resUsage,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NumOfExceedLoadLevelThr int32 `json:"numOfExceedLoadLevelThr,omitempty" yaml:"numOfExceedLoadLevelThr" bson:"numOfExceedLoadLevelThr,omitempty"` - ExceedLoadLevelThrInd bool `json:"exceedLoadLevelThrInd,omitempty" yaml:"exceedLoadLevelThrInd" bson:"exceedLoadLevelThrInd,omitempty"` - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - TimePeriod *TimeWindow `json:"timePeriod,omitempty" yaml:"timePeriod" bson:"timePeriod,omitempty"` - // Each element indicates the time elapsed between times each threshold is met or exceeded or crossed. The start time and end time are the exact time stamps of the resource usage threshold is reached or exceeded. May be present if the \"listOfAnaSubsets\" attribute is provided and the maximum number of instances shall not exceed the value provided in the \"numOfExceedLoadLevelThr\" attribute. - ResUsgThrCrossTimePeriod []TimeWindow `json:"resUsgThrCrossTimePeriod,omitempty" yaml:"resUsgThrCrossTimePeriod" bson:"resUsgThrCrossTimePeriod,omitempty"` - NumOfUes *NumberAverage `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` - NumOfPduSess *NumberAverage `json:"numOfPduSess,omitempty" yaml:"numOfPduSess" bson:"numOfPduSess,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_nsm_charging_information.go b/models/models/model_nsm_charging_information.go deleted file mode 100644 index 9a13af1a..00000000 --- a/models/models/model_nsm_charging_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NsmChargingInformation struct { - ManagementOperation ManagementOperation `json:"managementOperation" yaml:"managementOperation" bson:"managementOperation,omitempty"` - IdNetworkSliceInstance string `json:"idNetworkSliceInstance,omitempty" yaml:"idNetworkSliceInstance" bson:"idNetworkSliceInstance,omitempty"` - ListOfserviceProfileChargingInformation []ServiceProfileChargingInformation `json:"listOfserviceProfileChargingInformation,omitempty" yaml:"listOfserviceProfileChargingInformation" bson:"listOfserviceProfileChargingInformation,omitempty"` - ManagementOperationStatus ManagementOperationStatus `json:"managementOperationStatus,omitempty" yaml:"managementOperationStatus" bson:"managementOperationStatus,omitempty"` - ManagementOperationalState OperationalState `json:"managementOperationalState,omitempty" yaml:"managementOperationalState" bson:"managementOperationalState,omitempty"` - ManagementAdministrativeState AdministrativeState `json:"managementAdministrativeState,omitempty" yaml:"managementAdministrativeState" bson:"managementAdministrativeState,omitempty"` -} diff --git a/models/models/model_nsmf_event_exposure.go b/models/models/model_nsmf_event_exposure.go deleted file mode 100644 index 38f4d025..00000000 --- a/models/models/model_nsmf_event_exposure.go +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents an Individual SMF Notification Subscription resource. The serviveName property corresponds to the serviceName in the main body of the specification. -type NsmfEventExposure struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // Any UE indication. This IE shall be present if the event subscription is applicable to any UE. Default value \"false\" is used, if not present. - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Identifies an Individual SMF Notification Subscription. To enable that the value is used as part of a URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. In an OpenAPI schema, the format shall be designated as \"SubId\". - SubId string `json:"subId,omitempty" yaml:"subId" bson:"subId,omitempty"` - // Notification Correlation ID assigned by the NF service consumer. - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - // Alternate or backup IPv4 address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // Subscribed events - EventSubs []SmfEventExposureEventSubscription `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` - EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - ImmeRep bool `json:"ImmeRep,omitempty" yaml:"ImmeRep" bson:"ImmeRep,omitempty"` - NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // indicating a time in seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` - // Criteria for partitioning the UEs before applying the sampling ratio. - PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` - // indicating a time in seconds. - GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` - NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` -} diff --git a/models/models/model_nsmf_event_exposure_notification.go b/models/models/model_nsmf_event_exposure_notification.go deleted file mode 100644 index 424c1d8d..00000000 --- a/models/models/model_nsmf_event_exposure_notification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications on events that occurred. -type NsmfEventExposureNotification struct { - // Notification correlation ID - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - // Notifications about Individual Events - EventNotifs []SmfEventExposureEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - // String providing an URI formatted according to RFC 3986. - AckUri string `json:"ackUri,omitempty" yaml:"ackUri" bson:"ackUri,omitempty"` -} diff --git a/models/models/model_nspa_charging_information.go b/models/models/model_nspa_charging_information.go deleted file mode 100644 index ae4c0032..00000000 --- a/models/models/model_nspa_charging_information.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NspaChargingInformation struct { - SingleNSSAI *Snssai `json:"singleNSSAI" yaml:"singleNSSAI" bson:"singleNSSAI,omitempty"` -} diff --git a/models/models/model_nspa_container_information.go b/models/models/model_nspa_container_information.go deleted file mode 100644 index 2921de29..00000000 --- a/models/models/model_nspa_container_information.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NspaContainerInformation struct { - Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` - UplinkLatency int32 `json:"uplinkLatency,omitempty" yaml:"uplinkLatency" bson:"uplinkLatency,omitempty"` - DownlinkLatency int32 `json:"downlinkLatency,omitempty" yaml:"downlinkLatency" bson:"downlinkLatency,omitempty"` - Throughput *Throughput `json:"throughput,omitempty" yaml:"throughput" bson:"throughput,omitempty"` - UplinkThroughput *Throughput `json:"uplinkThroughput,omitempty" yaml:"uplinkThroughput" bson:"uplinkThroughput,omitempty"` - DownlinkThroughput *Throughput `json:"downlinkThroughput,omitempty" yaml:"downlinkThroughput" bson:"downlinkThroughput,omitempty"` - MaximumPacketLossRate string `json:"maximumPacketLossRate,omitempty" yaml:"maximumPacketLossRate" bson:"maximumPacketLossRate,omitempty"` - MaximumPacketLossRateUL int32 `json:"maximumPacketLossRateUL,omitempty" yaml:"maximumPacketLossRateUL" bson:"maximumPacketLossRateUL,omitempty"` - MaximumPacketLossRateDL int32 `json:"maximumPacketLossRateDL,omitempty" yaml:"maximumPacketLossRateDL" bson:"maximumPacketLossRateDL,omitempty"` - ServiceExperienceStatisticsData *NwdafEventsSubscriptionServiceExperienceInfo `json:"serviceExperienceStatisticsData,omitempty" yaml:"serviceExperienceStatisticsData" bson:"serviceExperienceStatisticsData,omitempty"` - TheNumberOfPDUSessions int32 `json:"theNumberOfPDUSessions,omitempty" yaml:"theNumberOfPDUSessions" bson:"theNumberOfPDUSessions,omitempty"` - TheNumberOfRegisteredSubscribers int32 `json:"theNumberOfRegisteredSubscribers,omitempty" yaml:"theNumberOfRegisteredSubscribers" bson:"theNumberOfRegisteredSubscribers,omitempty"` - LoadLevel *NsiLoadLevelInfo `json:"loadLevel,omitempty" yaml:"loadLevel" bson:"loadLevel,omitempty"` -} diff --git a/models/models/model_nssaa_status.go b/models/models/model_nssaa_status.go deleted file mode 100644 index 57a53c8f..00000000 --- a/models/models/model_nssaa_status.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// contains the Subscribed S-NSSAI subject to NSSAA procedure and the status. -type NssaaStatus struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - Status AuthStatus `json:"status" yaml:"status" bson:"status,omitempty"` -} diff --git a/models/models/model_nssaaf_info.go b/models/models/model_nssaaf_info.go deleted file mode 100644 index 7ed47259..00000000 --- a/models/models/model_nssaaf_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a NSSAAF Instance -type NssaafInfo struct { - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` -} diff --git a/models/models/model_nssai.go b/models/models/model_nssai.go deleted file mode 100644 index f55bb2aa..00000000 --- a/models/models/model_nssai.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type Nssai struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - DefaultSingleNssais []Snssai `json:"defaultSingleNssais" yaml:"defaultSingleNssais" bson:"defaultSingleNssais,omitempty"` - SingleNssais []Snssai `json:"singleNssais,omitempty" yaml:"singleNssais" bson:"singleNssais,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime,omitempty" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - // A map(list of key-value pairs) where singleNssai serves as key of AdditionalSnssaiData - AdditionalSnssaiData map[string]AdditionalSnssaiData `json:"additionalSnssaiData,omitempty" yaml:"additionalSnssaiData" bson:"additionalSnssaiData,omitempty"` - SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` -} diff --git a/models/models/model_nssai_ack_data.go b/models/models/model_nssai_ack_data.go deleted file mode 100644 index bf65aed7..00000000 --- a/models/models/model_nssai_ack_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Used to store the status of the latest NSSAI data update. -type NssaiAckData struct { - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` -} diff --git a/models/models/model_nssai_availability_info.go b/models/models/model_nssai_availability_info.go deleted file mode 100644 index 0c97a3b1..00000000 --- a/models/models/model_nssai_availability_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the Nssai availability information requested by the AMF -type NssaiAvailabilityInfo struct { - SupportedNssaiAvailabilityData []SupportedNssaiAvailabilityData `json:"supportedNssaiAvailabilityData" yaml:"supportedNssaiAvailabilityData" bson:"supportedNssaiAvailabilityData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` -} diff --git a/models/models/model_nssai_map.go b/models/models/model_nssai_map.go deleted file mode 100644 index d2da2b58..00000000 --- a/models/models/model_nssai_map.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NssaiMap struct { - ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` - HomeSnssai *Snssai `json:"homeSnssai" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` -} diff --git a/models/models/model_nssai_mapping.go b/models/models/model_nssai_mapping.go deleted file mode 100644 index 1727d872..00000000 --- a/models/models/model_nssai_mapping.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the mapping between a S-NSSAI in serving PLMN to a S-NSSAI in home PLMN -type NssaiMapping struct { - MappedSnssai *Snssai `json:"mappedSnssai" yaml:"mappedSnssai" bson:"mappedSnssai,omitempty"` - HSnssai *Snssai `json:"hSnssai" yaml:"hSnssai" bson:"hSnssai,omitempty"` -} diff --git a/models/models/model_nssf_event_notification.go b/models/models/model_nssf_event_notification.go deleted file mode 100644 index 24ec1af0..00000000 --- a/models/models/model_nssf_event_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the notification for created event subscription -type NssfEventNotification struct { - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` -} diff --git a/models/models/model_nssf_event_subscription_create_data.go b/models/models/model_nssf_event_subscription_create_data.go deleted file mode 100644 index 8b77a4b2..00000000 --- a/models/models/model_nssf_event_subscription_create_data.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// This contains the information for event subscription -type NssfEventSubscriptionCreateData struct { - // String providing an URI formatted according to RFC 3986. - NfNssaiAvailabilityUri string `json:"nfNssaiAvailabilityUri" yaml:"nfNssaiAvailabilityUri" bson:"nfNssaiAvailabilityUri,omitempty"` - TaiList []Tai `json:"taiList" yaml:"taiList" bson:"taiList,omitempty"` - Event NssfEventType `json:"event" yaml:"event" bson:"event,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_nssf_event_subscription_created_data.go b/models/models/model_nssf_event_subscription_created_data.go deleted file mode 100644 index a66c2a7f..00000000 --- a/models/models/model_nssf_event_subscription_created_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// This contains the information for created event subscription -type NssfEventSubscriptionCreatedData struct { - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - AuthorizedNssaiAvailabilityData []AuthorizedNssaiAvailabilityData `json:"authorizedNssaiAvailabilityData,omitempty" yaml:"authorizedNssaiAvailabilityData" bson:"authorizedNssaiAvailabilityData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_nssf_event_type.go b/models/models/model_nssf_event_type.go deleted file mode 100644 index 5fae5fb9..00000000 --- a/models/models/model_nssf_event_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NssfEventType string - -// List of NssfEventType -const ( - NssfEventType_SNSSAI_STATUS_CHANGE_REPORT NssfEventType = "SNSSAI_STATUS_CHANGE_REPORT" -) diff --git a/models/models/model_null_request.go b/models/models/model_null_request.go deleted file mode 100644 index 5c593af5..00000000 --- a/models/models/model_null_request.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NullRequest struct { - JsonData *ContextStatusNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` - BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` - BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` - BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` - BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` - BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` - BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` - BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` - BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` - BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` -} diff --git a/models/models/model_number_average.go b/models/models/model_number_average.go deleted file mode 100644 index 852b849f..00000000 --- a/models/models/model_number_average.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents average and variance information. -type NumberAverage struct { - // string with format 'float' as defined in OpenAPI. - Number float32 `json:"number" yaml:"number" bson:"number,omitempty"` - // string with format 'float' as defined in OpenAPI. - Variance float32 `json:"variance" yaml:"variance" bson:"variance,omitempty"` - // string with format 'float' as defined in OpenAPI. - Skewness float32 `json:"skewness,omitempty" yaml:"skewness" bson:"skewness,omitempty"` -} diff --git a/models/models/model_nwdaf_analytics_info_analytics_data.go b/models/models/model_nwdaf_analytics_info_analytics_data.go deleted file mode 100644 index b10b4932..00000000 --- a/models/models/model_nwdaf_analytics_info_analytics_data.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the description of analytics with parameters as relevant for the requesting NF service consumer. -type NwdafAnalyticsInfoAnalyticsData struct { - // string with format 'date-time' as defined in OpenAPI. - Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` - AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` - // The slices and their load level information. - SliceLoadLevelInfos []SliceLoadLevelInformation `json:"sliceLoadLevelInfos,omitempty" yaml:"sliceLoadLevelInfos" bson:"sliceLoadLevelInfos,omitempty"` - NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` - NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` - NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` - SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` - QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` - UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` - UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` - UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` - AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` - SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` - DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` - RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` - WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` - DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_nwdaf_analytics_info_event_filter.go b/models/models/model_nwdaf_analytics_info_event_filter.go deleted file mode 100644 index b1ca1da6..00000000 --- a/models/models/model_nwdaf_analytics_info_event_filter.go +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the event filters used to identify the requested analytics. -type NwdafAnalyticsInfoEventFilter struct { - // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. - AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` - // Identification(s) of network slice. - Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` - Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` - // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. - LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` - NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` - NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` - NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` - NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` - QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` - NwPerfTypes []NetworkPerfType `json:"nwPerfTypes,omitempty" yaml:"nwPerfTypes" bson:"nwPerfTypes,omitempty"` - BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` - ExcepIds []ExceptionId `json:"excepIds,omitempty" yaml:"excepIds" bson:"excepIds,omitempty"` - ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` - ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` - RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` - DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` - RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` - WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` - ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` - UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` - DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` -} diff --git a/models/models/model_nwdaf_capability.go b/models/models/model_nwdaf_capability.go deleted file mode 100644 index 6dfc151f..00000000 --- a/models/models/model_nwdaf_capability.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the capability supported by the NWDAF -type NwdafCapability struct { - AnalyticsAggregation bool `json:"analyticsAggregation,omitempty" yaml:"analyticsAggregation" bson:"analyticsAggregation,omitempty"` - AnalyticsMetadataProvisioning bool `json:"analyticsMetadataProvisioning,omitempty" yaml:"analyticsMetadataProvisioning" bson:"analyticsMetadataProvisioning,omitempty"` -} diff --git a/models/models/model_nwdaf_cond.go b/models/models/model_nwdaf_cond.go deleted file mode 100644 index efa0da8e..00000000 --- a/models/models/model_nwdaf_cond.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NF Instances (NWDAFs), identified by Analytics ID(s), S-NSSAI(s) or NWDAF Serving Area information, i.e. list of TAIs for which the NWDAF can provide analytics. -type NwdafCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` - SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` - MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` -} diff --git a/models/models/model_nwdaf_data.go b/models/models/model_nwdaf_data.go deleted file mode 100644 index 7a89d02f..00000000 --- a/models/models/model_nwdaf_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the list of Analytic ID(s) per NWDAF instance ID used for the PDU Session consumed by the SMF. -type NwdafData struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` - NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` -} diff --git a/models/models/model_nwdaf_event.go b/models/models/model_nwdaf_event.go deleted file mode 100644 index e0f22dbb..00000000 --- a/models/models/model_nwdaf_event.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafEvent string - -// List of NwdafEvent -const ( - NwdafEvent_SLICE_LOAD_LEVEL NwdafEvent = "SLICE_LOAD_LEVEL" - NwdafEvent_NETWORK_PERFORMANCE NwdafEvent = "NETWORK_PERFORMANCE" - NwdafEvent_NF_LOAD NwdafEvent = "NF_LOAD" - NwdafEvent_SERVICE_EXPERIENCE NwdafEvent = "SERVICE_EXPERIENCE" - NwdafEvent_UE_MOBILITY NwdafEvent = "UE_MOBILITY" - NwdafEvent_UE_COMMUNICATION NwdafEvent = "UE_COMMUNICATION" - NwdafEvent_QOS_SUSTAINABILITY NwdafEvent = "QOS_SUSTAINABILITY" - NwdafEvent_ABNORMAL_BEHAVIOUR NwdafEvent = "ABNORMAL_BEHAVIOUR" - NwdafEvent_USER_DATA_CONGESTION NwdafEvent = "USER_DATA_CONGESTION" - NwdafEvent_NSI_LOAD_LEVEL NwdafEvent = "NSI_LOAD_LEVEL" - NwdafEvent_DN_PERFORMANCE NwdafEvent = "DN_PERFORMANCE" - NwdafEvent_DISPERSION NwdafEvent = "DISPERSION" - NwdafEvent_RED_TRANS_EXP NwdafEvent = "RED_TRANS_EXP" - NwdafEvent_WLAN_PERFORMANCE NwdafEvent = "WLAN_PERFORMANCE" - NwdafEvent_SM_CONGESTION NwdafEvent = "SM_CONGESTION" -) diff --git a/models/models/model_nwdaf_events_subscription_accuracy.go b/models/models/model_nwdaf_events_subscription_accuracy.go deleted file mode 100644 index b9627f02..00000000 --- a/models/models/model_nwdaf_events_subscription_accuracy.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafEventsSubscriptionAccuracy string - -// List of NwdafEventsSubscriptionAccuracy -const ( - NwdafEventsSubscriptionAccuracy_LOW NwdafEventsSubscriptionAccuracy = "LOW" - NwdafEventsSubscriptionAccuracy_HIGH NwdafEventsSubscriptionAccuracy = "HIGH" -) diff --git a/models/models/model_nwdaf_events_subscription_congestion_type.go b/models/models/model_nwdaf_events_subscription_congestion_type.go deleted file mode 100644 index 2a31fdf6..00000000 --- a/models/models/model_nwdaf_events_subscription_congestion_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafEventsSubscriptionCongestionType string - -// List of NwdafEventsSubscriptionCongestionType -const ( - NwdafEventsSubscriptionCongestionType_USER_PLANE NwdafEventsSubscriptionCongestionType = "USER_PLANE" - NwdafEventsSubscriptionCongestionType_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "CONTROL_PLANE" - NwdafEventsSubscriptionCongestionType_USER_AND_CONTROL_PLANE NwdafEventsSubscriptionCongestionType = "USER_AND_CONTROL_PLANE" -) diff --git a/models/models/model_nwdaf_events_subscription_dispersion_collection.go b/models/models/model_nwdaf_events_subscription_dispersion_collection.go deleted file mode 100644 index 65e481c4..00000000 --- a/models/models/model_nwdaf_events_subscription_dispersion_collection.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Dispersion collection per UE location or per slice. -type NwdafEventsSubscriptionDispersionCollection struct { - UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` - AppVolumes []ApplicationVolume `json:"appVolumes,omitempty" yaml:"appVolumes" bson:"appVolumes,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - DisperAmount int32 `json:"disperAmount,omitempty" yaml:"disperAmount" bson:"disperAmount,omitempty"` - DisperClass *DispersionClass `json:"disperClass,omitempty" yaml:"disperClass" bson:"disperClass,omitempty"` - // Integer where the allowed values correspond to 1, 2, 3 only. - UsageRank int32 `json:"usageRank,omitempty" yaml:"usageRank" bson:"usageRank,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - PercentileRank int32 `json:"percentileRank,omitempty" yaml:"percentileRank" bson:"percentileRank,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_nwdaf_events_subscription_event_notification.go b/models/models/model_nwdaf_events_subscription_event_notification.go deleted file mode 100644 index a604bc82..00000000 --- a/models/models/model_nwdaf_events_subscription_event_notification.go +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a notification on events that occurred. -type NwdafEventsSubscriptionEventNotification struct { - Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Start *time.Time `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStampGen *time.Time `json:"timeStampGen,omitempty" yaml:"timeStampGen" bson:"timeStampGen,omitempty"` - FailNotifyCode NwdafFailureCode `json:"failNotifyCode,omitempty" yaml:"failNotifyCode" bson:"failNotifyCode,omitempty"` - // indicating a time in seconds. - RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` - AnaMetaInfo *AnalyticsMetadataInfo `json:"anaMetaInfo,omitempty" yaml:"anaMetaInfo" bson:"anaMetaInfo,omitempty"` - NfLoadLevelInfos []NfLoadLevelInformation `json:"nfLoadLevelInfos,omitempty" yaml:"nfLoadLevelInfos" bson:"nfLoadLevelInfos,omitempty"` - NsiLoadLevelInfos []NsiLoadLevelInfo `json:"nsiLoadLevelInfos,omitempty" yaml:"nsiLoadLevelInfos" bson:"nsiLoadLevelInfos,omitempty"` - SliceLoadLevelInfo *SliceLoadLevelInformation `json:"sliceLoadLevelInfo,omitempty" yaml:"sliceLoadLevelInfo" bson:"sliceLoadLevelInfo,omitempty"` - SvcExps []NwdafEventsSubscriptionServiceExperienceInfo `json:"svcExps,omitempty" yaml:"svcExps" bson:"svcExps,omitempty"` - QosSustainInfos []QosSustainabilityInfo `json:"qosSustainInfos,omitempty" yaml:"qosSustainInfos" bson:"qosSustainInfos,omitempty"` - UeComms []UeCommunication `json:"ueComms,omitempty" yaml:"ueComms" bson:"ueComms,omitempty"` - UeMobs []UeMobility `json:"ueMobs,omitempty" yaml:"ueMobs" bson:"ueMobs,omitempty"` - UserDataCongInfos []UserDataCongestionInfo `json:"userDataCongInfos,omitempty" yaml:"userDataCongInfos" bson:"userDataCongInfos,omitempty"` - AbnorBehavrs []AbnormalBehaviour `json:"abnorBehavrs,omitempty" yaml:"abnorBehavrs" bson:"abnorBehavrs,omitempty"` - NwPerfs []NetworkPerfInfo `json:"nwPerfs,omitempty" yaml:"nwPerfs" bson:"nwPerfs,omitempty"` - DnPerfInfos []DnPerfInfo `json:"dnPerfInfos,omitempty" yaml:"dnPerfInfos" bson:"dnPerfInfos,omitempty"` - DisperInfos []DispersionInfo `json:"disperInfos,omitempty" yaml:"disperInfos" bson:"disperInfos,omitempty"` - RedTransInfos []RedundantTransmissionExpInfo `json:"redTransInfos,omitempty" yaml:"redTransInfos" bson:"redTransInfos,omitempty"` - WlanInfos []WlanPerformanceInfo `json:"wlanInfos,omitempty" yaml:"wlanInfos" bson:"wlanInfos,omitempty"` - SmccExps []SmcceInfo `json:"smccExps,omitempty" yaml:"smccExps" bson:"smccExps,omitempty"` -} diff --git a/models/models/model_nwdaf_events_subscription_event_subscription.go b/models/models/model_nwdaf_events_subscription_event_subscription.go deleted file mode 100644 index 1cd7e252..00000000 --- a/models/models/model_nwdaf_events_subscription_event_subscription.go +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a subscription to a single event. -type NwdafEventsSubscriptionEventSubscription struct { - // \"false\" represents not applicable for all slices. \"true\" represents applicable for all slices. - AnySlice bool `json:"anySlice,omitempty" yaml:"anySlice" bson:"anySlice,omitempty"` - // Identification(s) of application to which the subscription applies. - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - // Identification(s) of DNN to which the subscription applies. - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` - Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais,omitempty"` - Event NwdafEvent `json:"event" yaml:"event" bson:"event,omitempty"` - ExtraReportReq *EventReportingRequirement `json:"extraReportReq,omitempty" yaml:"extraReportReq" bson:"extraReportReq,omitempty"` - // Identification(s) of LADN DNN to indicate the LADN service area as the AOI. - LadnDnns []string `json:"ladnDnns,omitempty" yaml:"ladnDnns" bson:"ladnDnns,omitempty"` - // Indicates that the NWDAF shall report the corresponding network slice load level to the NF service consumer where the load level of the network slice identified by snssais is reached. - LoadLevelThreshold int32 `json:"loadLevelThreshold,omitempty" yaml:"loadLevelThreshold" bson:"loadLevelThreshold,omitempty"` - NotificationMethod NwdafEventsSubscriptionNotificationMethod `json:"notificationMethod,omitempty" yaml:"notificationMethod" bson:"notificationMethod,omitempty"` - MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` - // Shall be supplied in order to start reporting when an average load level is reached. - NfLoadLvlThds []ThresholdLevel `json:"nfLoadLvlThds,omitempty" yaml:"nfLoadLvlThds" bson:"nfLoadLvlThds,omitempty"` - NfInstanceIds []string `json:"nfInstanceIds,omitempty" yaml:"nfInstanceIds" bson:"nfInstanceIds,omitempty"` - NfSetIds []string `json:"nfSetIds,omitempty" yaml:"nfSetIds" bson:"nfSetIds,omitempty"` - NfTypes []NrfNfManagementNfType `json:"nfTypes,omitempty" yaml:"nfTypes" bson:"nfTypes,omitempty"` - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty" yaml:"visitedAreas" bson:"visitedAreas,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxTopAppUlNbr int32 `json:"maxTopAppUlNbr,omitempty" yaml:"maxTopAppUlNbr" bson:"maxTopAppUlNbr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxTopAppDlNbr int32 `json:"maxTopAppDlNbr,omitempty" yaml:"maxTopAppDlNbr" bson:"maxTopAppDlNbr,omitempty"` - NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty" yaml:"nsiIdInfos" bson:"nsiIdInfos,omitempty"` - NsiLevelThrds []int32 `json:"nsiLevelThrds,omitempty" yaml:"nsiLevelThrds" bson:"nsiLevelThrds,omitempty"` - QosRequ *QosRequirement `json:"qosRequ,omitempty" yaml:"qosRequ" bson:"qosRequ,omitempty"` - QosFlowRetThds []RetainabilityThreshold `json:"qosFlowRetThds,omitempty" yaml:"qosFlowRetThds" bson:"qosFlowRetThds,omitempty"` - RanUeThrouThds []string `json:"ranUeThrouThds,omitempty" yaml:"ranUeThrouThds" bson:"ranUeThrouThds,omitempty"` - // indicating a time in seconds. - RepetitionPeriod int32 `json:"repetitionPeriod,omitempty" yaml:"repetitionPeriod" bson:"repetitionPeriod,omitempty"` - // Identification(s) of network slice to which the subscription applies. It corresponds to snssais in the data model definition of 3GPP TS 29.520. - Snssaia []Snssai `json:"snssaia,omitempty" yaml:"snssaia" bson:"snssaia,omitempty"` - TgtUe *TargetUeInformation `json:"tgtUe,omitempty" yaml:"tgtUe" bson:"tgtUe,omitempty"` - CongThresholds []ThresholdLevel `json:"congThresholds,omitempty" yaml:"congThresholds" bson:"congThresholds,omitempty"` - NwPerfRequs []NetworkPerfRequirement `json:"nwPerfRequs,omitempty" yaml:"nwPerfRequs" bson:"nwPerfRequs,omitempty"` - BwRequs []BwRequirement `json:"bwRequs,omitempty" yaml:"bwRequs" bson:"bwRequs,omitempty"` - ExcepRequs []Exception `json:"excepRequs,omitempty" yaml:"excepRequs" bson:"excepRequs,omitempty"` - ExptAnaType ExpectedAnalyticsType `json:"exptAnaType,omitempty" yaml:"exptAnaType" bson:"exptAnaType,omitempty"` - ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty" yaml:"exptUeBehav" bson:"exptUeBehav,omitempty"` - RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty" yaml:"ratFreqs" bson:"ratFreqs,omitempty"` - ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty" yaml:"listOfAnaSubsets" bson:"listOfAnaSubsets,omitempty"` - DisperReqs []DispersionRequirement `json:"disperReqs,omitempty" yaml:"disperReqs" bson:"disperReqs,omitempty"` - RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty" yaml:"redTransReqs" bson:"redTransReqs,omitempty"` - WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty" yaml:"wlanReqs" bson:"wlanReqs,omitempty"` - UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty" yaml:"appServerAddrs" bson:"appServerAddrs,omitempty"` - DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty" yaml:"dnPerfReqs" bson:"dnPerfReqs,omitempty"` -} diff --git a/models/models/model_nwdaf_events_subscription_location_info.go b/models/models/model_nwdaf_events_subscription_location_info.go deleted file mode 100644 index eec77418..00000000 --- a/models/models/model_nwdaf_events_subscription_location_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents UE location information. -type NwdafEventsSubscriptionLocationInfo struct { - Loc *UserLocation `json:"loc" yaml:"loc" bson:"loc,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_nwdaf_events_subscription_nf_status.go b/models/models/model_nwdaf_events_subscription_nf_status.go deleted file mode 100644 index e16e0829..00000000 --- a/models/models/model_nwdaf_events_subscription_nf_status.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the percentage of time spent on various NF states. -type NwdafEventsSubscriptionNfStatus struct { - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - StatusRegistered int32 `json:"statusRegistered,omitempty" yaml:"statusRegistered" bson:"statusRegistered,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - StatusUnregistered int32 `json:"statusUnregistered,omitempty" yaml:"statusUnregistered" bson:"statusUnregistered,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - StatusUndiscoverable int32 `json:"statusUndiscoverable,omitempty" yaml:"statusUndiscoverable" bson:"statusUndiscoverable,omitempty"` -} diff --git a/models/models/model_nwdaf_events_subscription_notification_method.go b/models/models/model_nwdaf_events_subscription_notification_method.go deleted file mode 100644 index f591e16e..00000000 --- a/models/models/model_nwdaf_events_subscription_notification_method.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafEventsSubscriptionNotificationMethod string - -// List of NwdafEventsSubscriptionNotificationMethod -const ( - NwdafEventsSubscriptionNotificationMethod_PERIODIC NwdafEventsSubscriptionNotificationMethod = "PERIODIC" - NwdafEventsSubscriptionNotificationMethod_THRESHOLD NwdafEventsSubscriptionNotificationMethod = "THRESHOLD" -) diff --git a/models/models/model_nwdaf_events_subscription_service_experience_info.go b/models/models/model_nwdaf_events_subscription_service_experience_info.go deleted file mode 100644 index 10ea6df1..00000000 --- a/models/models/model_nwdaf_events_subscription_service_experience_info.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents service experience information. -type NwdafEventsSubscriptionServiceExperienceInfo struct { - SvcExprc *SvcExperience `json:"svcExprc" yaml:"svcExprc" bson:"svcExprc,omitempty"` - // string with format 'float' as defined in OpenAPI. - SvcExprcVariance float32 `json:"svcExprcVariance,omitempty" yaml:"svcExprcVariance" bson:"svcExprcVariance,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - SrvExpcType ServiceExperienceType `json:"srvExpcType,omitempty" yaml:"srvExpcType" bson:"srvExpcType,omitempty"` - UeLocs []NwdafEventsSubscriptionLocationInfo `json:"ueLocs,omitempty" yaml:"ueLocs" bson:"ueLocs,omitempty"` - UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` - AppServerInst *AddrFqdn `json:"appServerInst,omitempty" yaml:"appServerInst" bson:"appServerInst,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - // Contains the Identifier of the selected Network Slice instance - NsiId string `json:"nsiId,omitempty" yaml:"nsiId" bson:"nsiId,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` - RatFreq *RatFreqInformation `json:"ratFreq,omitempty" yaml:"ratFreq" bson:"ratFreq,omitempty"` -} diff --git a/models/models/model_nwdaf_failure_code.go b/models/models/model_nwdaf_failure_code.go deleted file mode 100644 index b7232299..00000000 --- a/models/models/model_nwdaf_failure_code.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafFailureCode string - -// List of NwdafFailureCode -const ( - NwdafFailureCode_UNAVAILABLE_DATA NwdafFailureCode = "UNAVAILABLE_DATA" - NwdafFailureCode_BOTH_STAT_PRED_NOT_ALLOWED NwdafFailureCode = "BOTH_STAT_PRED_NOT_ALLOWED" - NwdafFailureCode_UNSATISFIED_REQUESTED_ANALYTICS_TIME NwdafFailureCode = "UNSATISFIED_REQUESTED_ANALYTICS_TIME" - NwdafFailureCode_OTHER NwdafFailureCode = "OTHER" -) diff --git a/models/models/model_nwdaf_info.go b/models/models/model_nwdaf_info.go deleted file mode 100644 index b68fc2a3..00000000 --- a/models/models/model_nwdaf_info.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a NWDAF NF Instance -type NwdafInfo struct { - EventIds []EventId `json:"eventIds,omitempty" yaml:"eventIds" bson:"eventIds,omitempty"` - NwdafEvents []NwdafEvent `json:"nwdafEvents,omitempty" yaml:"nwdafEvents" bson:"nwdafEvents,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - NwdafCapability *NwdafCapability `json:"nwdafCapability,omitempty" yaml:"nwdafCapability" bson:"nwdafCapability,omitempty"` - // indicating a time in seconds. - AnalyticsDelay int32 `json:"analyticsDelay,omitempty" yaml:"analyticsDelay" bson:"analyticsDelay,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` -} diff --git a/models/models/model_nwdaf_ml_model_prov_notif.go b/models/models/model_nwdaf_ml_model_prov_notif.go deleted file mode 100644 index 9f27fb84..00000000 --- a/models/models/model_nwdaf_ml_model_prov_notif.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications on events that occurred. -type NwdafMlModelProvNotif struct { - // Notifications about Individual Events. - EventNotifs []MlEventNotif `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - // String identifying a subscription to the Nnwdaf_MLModelProvision Service. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` -} diff --git a/models/models/model_nwdaf_ml_model_prov_subsc.go b/models/models/model_nwdaf_ml_model_prov_subsc.go deleted file mode 100644 index b3cf0a04..00000000 --- a/models/models/model_nwdaf_ml_model_prov_subsc.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents NWDAF Event Subscription resources. -type NwdafMlModelProvSubsc struct { - // Subscribed events - MLEventSubscs []MlEventSubscription `json:"mLEventSubscs" yaml:"mLEventSubscs" bson:"mLEventSubscs,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - MLEventNotifs []MlEventNotif `json:"mLEventNotifs,omitempty" yaml:"mLEventNotifs" bson:"mLEventNotifs,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeats string `json:"suppFeats,omitempty" yaml:"suppFeats" bson:"suppFeats,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - EventReq *ReportingInformation `json:"eventReq,omitempty" yaml:"eventReq" bson:"eventReq,omitempty"` - FailEventReports []FailureEventInfoForMlModel `json:"failEventReports,omitempty" yaml:"failEventReports" bson:"failEventReports,omitempty"` -} diff --git a/models/models/model_nwdaf_ml_model_provision_failure_code.go b/models/models/model_nwdaf_ml_model_provision_failure_code.go deleted file mode 100644 index 58972d23..00000000 --- a/models/models/model_nwdaf_ml_model_provision_failure_code.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NwdafMlModelProvisionFailureCode string - -// List of NwdafMLModelProvisionFailureCode -const ( - NwdafMlModelProvisionFailureCode_UNAVAILABLE_ML_MODEL NwdafMlModelProvisionFailureCode = "UNAVAILABLE_ML_MODEL" -) diff --git a/models/models/model_nwdaf_registration.go b/models/models/model_nwdaf_registration.go deleted file mode 100644 index 87695349..00000000 --- a/models/models/model_nwdaf_registration.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// The complete set of information relevant to an NWDAF serving the UE -type NwdafRegistration struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` - AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_nwdaf_registration_info.go b/models/models/model_nwdaf_registration_info.go deleted file mode 100644 index 4957c0ce..00000000 --- a/models/models/model_nwdaf_registration_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of NwdafRegistration -type NwdafRegistrationInfo struct { - NwdafRegistrationList []NwdafRegistration `json:"nwdafRegistrationList" yaml:"nwdafRegistrationList" bson:"nwdafRegistrationList,omitempty"` -} diff --git a/models/models/model_nwdaf_registration_modification.go b/models/models/model_nwdaf_registration_modification.go deleted file mode 100644 index 2059d798..00000000 --- a/models/models/model_nwdaf_registration_modification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains attributes of NwdafRegistration that can be modified using PATCH -type NwdafRegistrationModification struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` - AnalyticsIds []EventId `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_nwdaf_subscription.go b/models/models/model_nwdaf_subscription.go deleted file mode 100644 index 38ab69ea..00000000 --- a/models/models/model_nwdaf_subscription.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual NWDAF subscription identified by the subscription Id. -type NwdafSubscription struct { - // String providing an URI formatted according to RFC 3986. - NwdafEvtSubsServiceUri string `json:"nwdafEvtSubsServiceUri" yaml:"nwdafEvtSubsServiceUri" bson:"nwdafEvtSubsServiceUri,omitempty"` - NwdafEventsSubscription *NnwdafEventsSubscription `json:"nwdafEventsSubscription" yaml:"nwdafEventsSubscription" bson:"nwdafEventsSubscription,omitempty"` -} diff --git a/models/models/model_observed_redundant_trans_exp.go b/models/models/model_observed_redundant_trans_exp.go deleted file mode 100644 index efe072dd..00000000 --- a/models/models/model_observed_redundant_trans_exp.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the observed redundant transmission experience related information. -type ObservedRedundantTransExp struct { - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - AvgPktDropRateUl int32 `json:"avgPktDropRateUl,omitempty" yaml:"avgPktDropRateUl" bson:"avgPktDropRateUl,omitempty"` - // string with format 'float' as defined in OpenAPI. - VarPktDropRateUl float32 `json:"varPktDropRateUl,omitempty" yaml:"varPktDropRateUl" bson:"varPktDropRateUl,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - AvgPktDropRateDl int32 `json:"avgPktDropRateDl,omitempty" yaml:"avgPktDropRateDl" bson:"avgPktDropRateDl,omitempty"` - // string with format 'float' as defined in OpenAPI. - VarPktDropRateDl float32 `json:"varPktDropRateDl,omitempty" yaml:"varPktDropRateDl" bson:"varPktDropRateDl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AvgPktDelayUl int32 `json:"avgPktDelayUl,omitempty" yaml:"avgPktDelayUl" bson:"avgPktDelayUl,omitempty"` - // string with format 'float' as defined in OpenAPI. - VarPktDelayUl float32 `json:"varPktDelayUl,omitempty" yaml:"varPktDelayUl" bson:"varPktDelayUl,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AvgPktDelayDl int32 `json:"avgPktDelayDl,omitempty" yaml:"avgPktDelayDl" bson:"avgPktDelayDl,omitempty"` - // string with format 'float' as defined in OpenAPI. - VarPktDelayDl float32 `json:"varPktDelayDl,omitempty" yaml:"varPktDelayDl" bson:"varPktDelayDl,omitempty"` -} diff --git a/models/models/model_occurrence_info.go b/models/models/model_occurrence_info.go deleted file mode 100644 index 642c2747..00000000 --- a/models/models/model_occurrence_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OccurrenceInfo string - -// List of OccurrenceInfo -const ( - OccurrenceInfo_ONE_TIME_EVENT OccurrenceInfo = "ONE_TIME_EVENT" - OccurrenceInfo_MULTIPLE_TIME_EVENT OccurrenceInfo = "MULTIPLE_TIME_EVENT" -) diff --git a/models/models/model_odb_data.go b/models/models/model_odb_data.go deleted file mode 100644 index bc2cfafa..00000000 --- a/models/models/model_odb_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information regarding operater determined barring. -type OdbData struct { - RoamingOdb RoamingOdb `json:"roamingOdb,omitempty" yaml:"roamingOdb" bson:"roamingOdb,omitempty"` -} diff --git a/models/models/model_odb_packet_services.go b/models/models/model_odb_packet_services.go deleted file mode 100644 index 59e161c6..00000000 --- a/models/models/model_odb_packet_services.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OdbPacketServices struct { -} diff --git a/models/models/model_one_time_event_type.go b/models/models/model_one_time_event_type.go deleted file mode 100644 index 0c32d423..00000000 --- a/models/models/model_one_time_event_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OneTimeEventType string - -// List of oneTimeEventType -const ( - OneTimeEventType_IEC OneTimeEventType = "IEC" - OneTimeEventType_PEC OneTimeEventType = "PEC" -) diff --git a/models/models/model_op_event_type.go b/models/models/model_op_event_type.go deleted file mode 100644 index 66ae476b..00000000 --- a/models/models/model_op_event_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OpEventType string - -// List of OpEventType -const ( - OpEventType_AMF_CHANGE OpEventType = "AMF_CHANGE" - OpEventType_NG_RAN_EVENT OpEventType = "NG_RAN_EVENT" -) diff --git a/models/models/model_operation_event.go b/models/models/model_operation_event.go deleted file mode 100644 index 551a884d..00000000 --- a/models/models/model_operation_event.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Operation Event for a Broadcast MBS Session. -type OperationEvent struct { - OpEventType OpEventType `json:"opEventType" yaml:"opEventType" bson:"opEventType,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfId string `json:"amfId,omitempty" yaml:"amfId" bson:"amfId,omitempty"` - NgranFailureEventList []NgranFailureEvent `json:"ngranFailureEventList,omitempty" yaml:"ngranFailureEventList" bson:"ngranFailureEventList,omitempty"` -} diff --git a/models/models/model_operation_mode.go b/models/models/model_operation_mode.go deleted file mode 100644 index 73210dfb..00000000 --- a/models/models/model_operation_mode.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OperationMode string - -// List of OperationMode -const ( - OperationMode_WB_S1 OperationMode = "WB_S1" - OperationMode_NB_S1 OperationMode = "NB_S1" - OperationMode_WB_N1 OperationMode = "WB_N1" - OperationMode_NB_N1 OperationMode = "NB_N1" - OperationMode_NR_N1 OperationMode = "NR_N1" -) diff --git a/models/models/model_operation_status.go b/models/models/model_operation_status.go deleted file mode 100644 index 38042b16..00000000 --- a/models/models/model_operation_status.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_MBSBroadcast - * - * AMF MBSBroadcast Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.0.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OperationStatus string - -// List of OperationStatus -const ( - OperationStatus_START_COMPLETE OperationStatus = "MBS_SESSION_START_COMPLETE" - OperationStatus_START_INCOMPLETE OperationStatus = "MBS_SESSION_START_INCOMPLETE" - OperationStatus_UPDATE_COMPLETE OperationStatus = "MBS_SESSION_UPDATE_COMPLETE" - OperationStatus_UPDATE_INCOMPLETE OperationStatus = "MBS_SESSION_UPDATE_INCOMPLETE" -) diff --git a/models/models/model_operational_state.go b/models/models/model_operational_state.go deleted file mode 100644 index d0c6cc8c..00000000 --- a/models/models/model_operational_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OperationalState string - -// List of OperationalState -const ( - OperationalState_ENABLED OperationalState = "ENABLED" - OperationalState_DISABLED OperationalState = "DISABLED" -) diff --git a/models/models/model_operator_specific_data_container.go b/models/models/model_operator_specific_data_container.go deleted file mode 100644 index ecb8bfd1..00000000 --- a/models/models/model_operator_specific_data_container.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Container for operator specific data. -type OperatorSpecificDataContainer struct { - DataType string `json:"dataType" yaml:"dataType" bson:"dataType,omitempty"` - DataTypeDefinition string `json:"dataTypeDefinition,omitempty" yaml:"dataTypeDefinition" bson:"dataTypeDefinition,omitempty"` - Value interface{} `json:"value" yaml:"value" bson:"value,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_options_response.go b/models/models/model_options_response.go deleted file mode 100644 index 4e5f4039..00000000 --- a/models/models/model_options_response.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Communication options of the NRF sent in response payload of OPTIONS method -type OptionsResponse struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_originator_info.go b/models/models/model_originator_info.go deleted file mode 100644 index 1c1cde9a..00000000 --- a/models/models/model_originator_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OriginatorInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - OriginatorSUPI string `json:"originatorSUPI,omitempty" yaml:"originatorSUPI" bson:"originatorSUPI,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - OriginatorGPSI string `json:"originatorGPSI,omitempty" yaml:"originatorGPSI" bson:"originatorGPSI,omitempty"` - OriginatorOtherAddress *SmAddressInfo `json:"originatorOtherAddress,omitempty" yaml:"originatorOtherAddress" bson:"originatorOtherAddress,omitempty"` - OriginatorReceivedAddress *SmAddressInfo `json:"originatorReceivedAddress,omitempty" yaml:"originatorReceivedAddress" bson:"originatorReceivedAddress,omitempty"` - OriginatorSCCPAddress string `json:"originatorSCCPAddress,omitempty" yaml:"originatorSCCPAddress" bson:"originatorSCCPAddress,omitempty"` - SMOriginatorInterface *SmInterface `json:"sMOriginatorInterface,omitempty" yaml:"sMOriginatorInterface" bson:"sMOriginatorInterface,omitempty"` - SMOriginatorProtocolId string `json:"sMOriginatorProtocolId,omitempty" yaml:"sMOriginatorProtocolId" bson:"sMOriginatorProtocolId,omitempty"` -} diff --git a/models/models/model_originator_party_type.go b/models/models/model_originator_party_type.go deleted file mode 100644 index a1539266..00000000 --- a/models/models/model_originator_party_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OriginatorPartyType string - -// List of OriginatorPartyType -const ( - OriginatorPartyType_CALLING OriginatorPartyType = "CALLING" - OriginatorPartyType_CALLED OriginatorPartyType = "CALLED" -) diff --git a/models/models/model_out_of_credit_information.go b/models/models/model_out_of_credit_information.go deleted file mode 100644 index 5370a1c6..00000000 --- a/models/models/model_out_of_credit_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the SDFs without available credit and the corresponding termination action. -type OutOfCreditInformation struct { - FinUnitAct FinalUnitAction `json:"finUnitAct" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` -} diff --git a/models/models/model_output_strategy.go b/models/models/model_output_strategy.go deleted file mode 100644 index 3ae4aec5..00000000 --- a/models/models/model_output_strategy.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type OutputStrategy string - -// List of OutputStrategy -const ( - OutputStrategy_BINARY OutputStrategy = "BINARY" - OutputStrategy_GRADIENT OutputStrategy = "GRADIENT" -) diff --git a/models/models/model_packet_filter_info.go b/models/models/model_packet_filter_info.go deleted file mode 100644 index 7ed8b6bd..00000000 --- a/models/models/model_packet_filter_info.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the information from a single packet filter sent from the SMF to the PCF. -type PacketFilterInfo struct { - // An identifier of packet filter. - PackFiltId string `json:"packFiltId,omitempty" yaml:"packFiltId" bson:"packFiltId,omitempty"` - // Defines a packet filter for an IP flow. - PackFiltCont string `json:"packFiltCont,omitempty" yaml:"packFiltCont" bson:"packFiltCont,omitempty"` - // Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field. - TosTrafficClass string `json:"tosTrafficClass,omitempty" yaml:"tosTrafficClass" bson:"tosTrafficClass,omitempty"` - // The security parameter index of the IPSec packet. - Spi string `json:"spi,omitempty" yaml:"spi" bson:"spi,omitempty"` - // The Ipv6 flow label header field. - FlowLabel string `json:"flowLabel,omitempty" yaml:"flowLabel" bson:"flowLabel,omitempty"` - FlowDirection FlowDirection `json:"flowDirection,omitempty" yaml:"flowDirection" bson:"flowDirection,omitempty"` -} diff --git a/models/models/model_parameter_processing_instruction.go b/models/models/model_parameter_processing_instruction.go deleted file mode 100644 index 3cfaf410..00000000 --- a/models/models/model_parameter_processing_instruction.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains an event parameter name and the respective event parameter values and sets of attributes to be used in summarized reports. -type ParameterProcessingInstruction struct { - // A JSON pointer value that references an attribute within the notification object to which the processing instruction is applied. - Name string `json:"name" yaml:"name" bson:"name,omitempty"` - // A list of values for the attribute identified by the name attribute. - Values []map[string]interface{} `json:"values" yaml:"values" bson:"values,omitempty"` - // Attributes requested to be used in the summarized reports. - SumAttrs []SummarizationAttribute `json:"sumAttrs" yaml:"sumAttrs" bson:"sumAttrs,omitempty"` - AggrLevel AggregationLevel `json:"aggrLevel,omitempty" yaml:"aggrLevel" bson:"aggrLevel,omitempty"` - // Indicates the UEs for which processed reports are requested. - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - // Indicates the Areas of Interest for which processed reports are requested. - Areas []NetworkAreaInfo `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` -} diff --git a/models/models/model_partial_record_method.go b/models/models/model_partial_record_method.go deleted file mode 100644 index e2194e6a..00000000 --- a/models/models/model_partial_record_method.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PartialRecordMethod string - -// List of PartialRecordMethod -const ( - PartialRecordMethod_DEFAULT PartialRecordMethod = "DEFAULT" - PartialRecordMethod_INDIVIDUAL PartialRecordMethod = "INDIVIDUAL" -) diff --git a/models/models/model_partial_success_report.go b/models/models/model_partial_success_report.go deleted file mode 100644 index 325ec1f3..00000000 --- a/models/models/model_partial_success_report.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Includes the information reported by the SMF when some of the PCC rules and/or session rules are not successfully installed/activated. -type PartialSuccessReport struct { - FailureCause PcfSmPolicyControlFailureCause `json:"failureCause" yaml:"failureCause" bson:"failureCause,omitempty"` - // Information about the PCC rules provisioned by the PCF not successfully installed/activated. - RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` - // Information about the session rules provisioned by the PCF not successfully installed. - SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` - UeCampingRep *UeCampingRep `json:"ueCampingRep,omitempty" yaml:"ueCampingRep" bson:"ueCampingRep,omitempty"` - // Contains the type(s) of failed policy decision and/or condition data. - PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` - // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. - InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` -} diff --git a/models/models/model_participant_action_type.go b/models/models/model_participant_action_type.go deleted file mode 100644 index ece49d24..00000000 --- a/models/models/model_participant_action_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ParticipantActionType string - -// List of ParticipantActionType -const ( - ParticipantActionType_CREATE ParticipantActionType = "CREATE" - ParticipantActionType_JOIN ParticipantActionType = "JOIN" - ParticipantActionType_INVITE_INTO ParticipantActionType = "INVITE_INTO" - ParticipantActionType_QUIT ParticipantActionType = "QUIT" -) diff --git a/models/models/model_partitioning_criteria.go b/models/models/model_partitioning_criteria.go deleted file mode 100644 index c0dd0d11..00000000 --- a/models/models/model_partitioning_criteria.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PartitioningCriteria string - -// List of PartitioningCriteria -const ( - PartitioningCriteria_TAC PartitioningCriteria = "TAC" - PartitioningCriteria_SUBPLMN PartitioningCriteria = "SUBPLMN" - PartitioningCriteria_GEOAREA PartitioningCriteria = "GEOAREA" - PartitioningCriteria_SNSSAI PartitioningCriteria = "SNSSAI" - PartitioningCriteria_DNN PartitioningCriteria = "DNN" -) diff --git a/models/models/model_patch_bdt_policy.go b/models/models/model_patch_bdt_policy.go deleted file mode 100644 index 1985cf80..00000000 --- a/models/models/model_patch_bdt_policy.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the updates in authorization data of an Individual BDT Policy created by the PCF. -type PatchBdtPolicy struct { - BdtPolData *PcfBdtPolicyControlBdtPolicyDataPatch `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` - BdtReqData *BdtReqDataPatch `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` -} diff --git a/models/models/model_patch_item.go b/models/models/model_patch_item.go deleted file mode 100644 index 84da486a..00000000 --- a/models/models/model_patch_item.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// it contains information on data to be changed. -type PatchItem struct { - Op PatchOperation `json:"op" yaml:"op" bson:"op,omitempty"` - // contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource on which the patch operation shall be performed. - Path string `json:"path" yaml:"path" bson:"path,omitempty"` - // indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the \"path\" attribute. - From string `json:"from,omitempty" yaml:"from" bson:"from,omitempty"` - Value interface{} `json:"value,omitempty" yaml:"value" bson:"value,omitempty"` -} diff --git a/models/models/model_patch_operation.go b/models/models/model_patch_operation.go deleted file mode 100644 index 591e5813..00000000 --- a/models/models/model_patch_operation.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PatchOperation string - -// List of PatchOperation -const ( - PatchOperation_ADD PatchOperation = "add" - PatchOperation_COPY PatchOperation = "copy" - PatchOperation_MOVE PatchOperation = "move" - PatchOperation_REMOVE PatchOperation = "remove" - PatchOperation_REPLACE PatchOperation = "replace" - PatchOperation_TEST PatchOperation = "test" -) diff --git a/models/models/model_patch_result.go b/models/models/model_patch_result.go deleted file mode 100644 index 920f2dd4..00000000 --- a/models/models/model_patch_result.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The execution report result on failed modification. -type PatchResult struct { - // The execution report contains an array of report items. Each report item indicates one failed modification. - Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` -} diff --git a/models/models/model_pc5_capability.go b/models/models/model_pc5_capability.go deleted file mode 100644 index 4686f51b..00000000 --- a/models/models/model_pc5_capability.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Pc5Capability string - -// List of Pc5Capability -const ( - Pc5Capability_LTE_PC5 Pc5Capability = "LTE_PC5" - Pc5Capability_NR_PC5 Pc5Capability = "NR_PC5" - Pc5Capability_LTE_NR_PC5 Pc5Capability = "LTE_NR_PC5" -) diff --git a/models/models/model_pc5_container_information.go b/models/models/model_pc5_container_information.go deleted file mode 100644 index d7f6e200..00000000 --- a/models/models/model_pc5_container_information.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type Pc5ContainerInformation struct { - CoverageInfoList []CoverageInfo `json:"coverageInfoList,omitempty" yaml:"coverageInfoList" bson:"coverageInfoList,omitempty"` - RadioParameterSetInfoList []RadioParameterSetInfo `json:"radioParameterSetInfoList,omitempty" yaml:"radioParameterSetInfoList" bson:"radioParameterSetInfoList,omitempty"` - TransmitterInfoList []TransmitterInfo `json:"transmitterInfoList,omitempty" yaml:"transmitterInfoList" bson:"transmitterInfoList,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeOfFirstTransmission *time.Time `json:"timeOfFirst Transmission,omitempty" yaml:"timeOfFirst Transmission" bson:"timeOfFirst Transmission,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeOfFirstReception *time.Time `json:"timeOfFirst Reception,omitempty" yaml:"timeOfFirst Reception" bson:"timeOfFirst Reception,omitempty"` -} diff --git a/models/models/model_pc5_data_container.go b/models/models/model_pc5_data_container.go deleted file mode 100644 index 9f7f49a0..00000000 --- a/models/models/model_pc5_data_container.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type Pc5DataContainer struct { - LocalSequenceNumber string `json:"localSequenceNumber,omitempty" yaml:"localSequenceNumber" bson:"localSequenceNumber,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` - CoverageStatus bool `json:"coverageStatus,omitempty" yaml:"coverageStatus" bson:"coverageStatus,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DataVolume int32 `json:"dataVolume,omitempty" yaml:"dataVolume" bson:"dataVolume,omitempty"` - ChangeCondition string `json:"changeCondition,omitempty" yaml:"changeCondition" bson:"changeCondition,omitempty"` - RadioResourcesId RadioResourcesId `json:"radioResourcesId,omitempty" yaml:"radioResourcesId" bson:"radioResourcesId,omitempty"` - RadioFrequency string `json:"radioFrequency,omitempty" yaml:"radioFrequency" bson:"radioFrequency,omitempty"` - PC5RadioTechnology string `json:"pC5RadioTechnology,omitempty" yaml:"pC5RadioTechnology" bson:"pC5RadioTechnology,omitempty"` -} diff --git a/models/models/model_pc5_flow_bit_rates.go b/models/models/model_pc5_flow_bit_rates.go deleted file mode 100644 index f4134c62..00000000 --- a/models/models/model_pc5_flow_bit_rates.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// it shall represent the PC5 Flow Bit Rates -type Pc5FlowBitRates struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbr string `json:"guaFbr,omitempty" yaml:"guaFbr" bson:"guaFbr,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxFbr string `json:"maxFbr,omitempty" yaml:"maxFbr" bson:"maxFbr,omitempty"` -} diff --git a/models/models/model_pc5_qo_s_para.go b/models/models/model_pc5_qo_s_para.go deleted file mode 100644 index 4cdc0d92..00000000 --- a/models/models/model_pc5_qo_s_para.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains policy data on the PC5 QoS parameters. -type Pc5QoSPara struct { - Pc5QosFlowList []Pc5QosFlowItem `json:"pc5QosFlowList" yaml:"pc5QosFlowList" bson:"pc5QosFlowList,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - Pc5LinkAmbr string `json:"pc5LinkAmbr,omitempty" yaml:"pc5LinkAmbr" bson:"pc5LinkAmbr,omitempty"` -} diff --git a/models/models/model_pc5_qos_flow_item.go b/models/models/model_pc5_qos_flow_item.go deleted file mode 100644 index a9b20d2b..00000000 --- a/models/models/model_pc5_qos_flow_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a PC5 QOS flow. -type Pc5QosFlowItem struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Pqi int32 `json:"pqi" yaml:"pqi" bson:"pqi,omitempty"` - Pc5FlowBitRates *Pc5FlowBitRates `json:"pc5FlowBitRates,omitempty" yaml:"pc5FlowBitRates" bson:"pc5FlowBitRates,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Range int32 `json:"range,omitempty" yaml:"range" bson:"range,omitempty"` -} diff --git a/models/models/model_pc_event.go b/models/models/model_pc_event.go deleted file mode 100644 index adbc56bc..00000000 --- a/models/models/model_pc_event.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcEvent string - -// List of PcEvent -const ( - PcEvent_AC_TY_CH PcEvent = "AC_TY_CH" - PcEvent_PLMN_CH PcEvent = "PLMN_CH" - PcEvent_SAC_CH PcEvent = "SAC_CH" - PcEvent_SAT_CATEGORY_CH PcEvent = "SAT_CATEGORY_CH" - PcEvent_SUCCESS_UE_POL_DEL_SP PcEvent = "SUCCESS_UE_POL_DEL_SP" - PcEvent_UNSUCCESS_UE_POL_DEL_SP PcEvent = "UNSUCCESS_UE_POL_DEL_SP" -) diff --git a/models/models/model_pc_event_exposure_notif.go b/models/models/model_pc_event_exposure_notif.go deleted file mode 100644 index 47b155b4..00000000 --- a/models/models/model_pc_event_exposure_notif.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents notifications about Policy Control events related to an Individual Policy Events Subscription resource. -type PcEventExposureNotif struct { - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []PcEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` -} diff --git a/models/models/model_pc_event_exposure_subsc.go b/models/models/model_pc_event_exposure_subsc.go deleted file mode 100644 index 8bac63aa..00000000 --- a/models/models/model_pc_event_exposure_subsc.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an Individual Policy Events Subscription resource. -type PcEventExposureSubsc struct { - EventSubs []PcEvent `json:"eventSubs" yaml:"eventSubs" bson:"eventSubs,omitempty"` - EventsRepInfo *ReportingInformation `json:"eventsRepInfo,omitempty" yaml:"eventsRepInfo" bson:"eventsRepInfo,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - FilterDnns []string `json:"filterDnns,omitempty" yaml:"filterDnns" bson:"filterDnns,omitempty"` - FilterSnssais []Snssai `json:"filterSnssais,omitempty" yaml:"filterSnssais" bson:"filterSnssais,omitempty"` - SnssaiDnns []SnssaiDnnCombination `json:"snssaiDnns,omitempty" yaml:"snssaiDnns" bson:"snssaiDnns,omitempty"` - FilterServices []ServiceIdentification `json:"filterServices,omitempty" yaml:"filterServices" bson:"filterServices,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - EventNotifs []PcEventNotification `json:"eventNotifs,omitempty" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_pc_event_notification.go b/models/models/model_pc_event_notification.go deleted file mode 100644 index e12c826c..00000000 --- a/models/models/model_pc_event_notification.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the information reported for a Policy Control event. -type PcEventNotification struct { - Event PcEvent `json:"event" yaml:"event" bson:"event,omitempty"` - AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` - AppliedCov *ServiceAreaCoverageInfo `json:"appliedCov,omitempty" yaml:"appliedCov" bson:"appliedCov,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - PduSessionInfo *PcfEventExposurePduSessionInformation `json:"pduSessionInfo,omitempty" yaml:"pduSessionInfo" bson:"pduSessionInfo,omitempty"` - RepServices *ServiceIdentification `json:"repServices,omitempty" yaml:"repServices" bson:"repServices,omitempty"` - DelivFailure *Failure `json:"delivFailure,omitempty" yaml:"delivFailure" bson:"delivFailure,omitempty"` -} diff --git a/models/models/model_pcc_rule.go b/models/models/model_pcc_rule.go deleted file mode 100644 index 5ee7984c..00000000 --- a/models/models/model_pcc_rule.go +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a PCC rule information. -type PccRule struct { - // An array of IP flow packet filter information. - FlowInfos []FlowInformation `json:"flowInfos,omitempty" yaml:"flowInfos" bson:"flowInfos,omitempty"` - // A reference to the application detection filter configured at the UPF. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - AppDescriptor string `json:"appDescriptor,omitempty" yaml:"appDescriptor" bson:"appDescriptor,omitempty"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` - // Univocally identifies the PCC rule within a PDU session. - PccRuleId string `json:"pccRuleId" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` - AfSigProtocol AfSigProtocol `json:"afSigProtocol,omitempty" yaml:"afSigProtocol" bson:"afSigProtocol,omitempty"` - // Indication of application relocation possibility. - AppReloc bool `json:"appReloc,omitempty" yaml:"appReloc" bson:"appReloc,omitempty"` - // Indicates the EAS rediscovery is required. - EasRedisInd bool `json:"easRedisInd,omitempty" yaml:"easRedisInd" bson:"easRedisInd,omitempty"` - // A reference to the QosData policy decision type. It is the qosId described in clause 5.6.2.8. - RefQosData []string `json:"refQosData,omitempty" yaml:"refQosData" bson:"refQosData,omitempty"` - // A Reference to the QosData policy decision type for the Alternative QoS parameter sets of the service data flow. - RefAltQosParams []string `json:"refAltQosParams,omitempty" yaml:"refAltQosParams" bson:"refAltQosParams,omitempty"` - // A reference to the TrafficControlData policy decision type. It is the tcId described in clause 5.6.2.10. - RefTcData []string `json:"refTcData,omitempty" yaml:"refTcData" bson:"refTcData,omitempty"` - // A reference to the ChargingData policy decision type. It is the chgId described in clause 5.6.2.11. - RefChgData []string `json:"refChgData,omitempty" yaml:"refChgData" bson:"refChgData,omitempty"` - // A reference to the ChargingData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the chgId described in clause 5.6.2.11. - RefChgN3gData []string `json:"refChgN3gData,omitempty" yaml:"refChgN3gData" bson:"refChgN3gData,omitempty"` - // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. - RefUmData []string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` - // A reference to UsageMonitoringData policy decision type only applicable to Non-3GPP access if \"ATSSS\" feature is supported. It is the umId described in clause 5.6.2.12. - RefUmN3gData []string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` - // A reference to the condition data. It is the condId described in clause 5.6.2.9. - RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` - // A reference to the QosMonitoringData policy decision type. It is the qmId described in clause 5.6.2.40. - RefQosMon []string `json:"refQosMon,omitempty" yaml:"refQosMon" bson:"refQosMon,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` - TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` - DdNotifCtrl *DownlinkDataNotificationControl `json:"ddNotifCtrl,omitempty" yaml:"ddNotifCtrl" bson:"ddNotifCtrl,omitempty"` - DdNotifCtrl2 *DownlinkDataNotificationControlRm `json:"ddNotifCtrl2,omitempty" yaml:"ddNotifCtrl2" bson:"ddNotifCtrl2,omitempty"` - DisUeNotif bool `json:"disUeNotif,omitempty" yaml:"disUeNotif" bson:"disUeNotif,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PackFiltAllPrec int32 `json:"packFiltAllPrec,omitempty" yaml:"packFiltAllPrec" bson:"packFiltAllPrec,omitempty"` -} diff --git a/models/models/model_pcf_addressing_info.go b/models/models/model_pcf_addressing_info.go deleted file mode 100644 index 955a7010..00000000 --- a/models/models/model_pcf_addressing_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains PCF address information. -type PcfAddressingInfo struct { - // Fully Qualified Domain Name - PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` - // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. - PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` - // contains the binding indications of the PCF. - BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_as_time_distribution_param.go b/models/models/model_pcf_am_policy_control_as_time_distribution_param.go deleted file mode 100644 index 00a8fe1d..00000000 --- a/models/models/model_pcf_am_policy_control_as_time_distribution_param.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the 5G acess stratum time distribution parameters. -type PcfAmPolicyControlAsTimeDistributionParam struct { - AsTimeDistInd bool `json:"asTimeDistInd,omitempty" yaml:"asTimeDistInd" bson:"asTimeDistInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - UuErrorBudget int32 `json:"uuErrorBudget,omitempty" yaml:"uuErrorBudget" bson:"uuErrorBudget,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_policy_association.go b/models/models/model_pcf_am_policy_control_policy_association.go deleted file mode 100644 index 6d3e824f..00000000 --- a/models/models/model_pcf_am_policy_control_policy_association.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an individual AM Policy Association resource. -type PcfAmPolicyControlPolicyAssociation struct { - Request *PcfAmPolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` - // Request Triggers that the PCF subscribes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN as part of the AMF Access and Mobility Policy as determined by the PCF. - UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` - // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` - PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` - MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_policy_association_request.go b/models/models/model_pcf_am_policy_control_policy_association_request.go deleted file mode 100644 index 0b862ebc..00000000 --- a/models/models/model_pcf_am_policy_control_policy_association_request.go +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information which the NF service consumer provides when requesting the creation of a policy association. The serviveName property corresponds to the serviceName in the main body of the specification. -type PcfAmPolicyControlPolicyAssociationRequest struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // The subscribed UE Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided when available. - UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` - // array of allowed S-NSSAIs for the 3GPP access. - AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` - // array of target S-NSSAIs. - TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` - // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. - MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` - // array of allowed S-NSSAIs for the Non-3GPP access. - N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_policy_association_update_request.go b/models/models/model_pcf_am_policy_control_policy_association_update_request.go deleted file mode 100644 index 77119ded..00000000 --- a/models/models/model_pcf_am_policy_control_policy_association_update_request.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents information that the NF service consumer provides when requesting the update of a policy association. -type PcfAmPolicyControlPolicyAssociationUpdateRequest struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // Request Triggers that the NF service consumer observes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // The subscribed UE-Slice-MBR for each subscribed S-NSSAI of the home PLMN mapping to a S-NSSAI of the serving PLMN Shall be provided for the \"UE_SLICE_MBR_CH\" policy control request trigger. - UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` - // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // array of allowed S-NSSAIs for the 3GPP access. - AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` - // array of target S-NSSAIs. - TargetSnssais []Snssai `json:"targetSnssais,omitempty" yaml:"targetSnssais" bson:"targetSnssais,omitempty"` - // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. - MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` - AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` - RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` - // array of allowed S-NSSAIs for the Non-3GPP access. - N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_policy_update.go b/models/models/model_pcf_am_policy_control_policy_update.go deleted file mode 100644 index 80039f5e..00000000 --- a/models/models/model_pcf_am_policy_control_policy_update.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents updated policies that the PCF provides in a notification or in a reply to an Update Request. -type PcfAmPolicyControlPolicyUpdate struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - // Request Triggers that the PCF subscribes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - TargetRfsp int32 `json:"targetRfsp,omitempty" yaml:"targetRfsp" bson:"targetRfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // One or more UE-Slice-MBR(s) for S-NSSAI(s) of serving PLMN the allowed NSSAI as part of the AMF Access and Mobility Policy as determined by the PCF. - UeSliceMbrs []*UeSliceMbr `json:"ueSliceMbrs,omitempty" yaml:"ueSliceMbrs" bson:"ueSliceMbrs,omitempty"` - // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. - Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` - MatchPdus []PduSessionInfo `json:"matchPdus,omitempty" yaml:"matchPdus" bson:"matchPdus,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` -} diff --git a/models/models/model_pcf_am_policy_control_request_trigger.go b/models/models/model_pcf_am_policy_control_request_trigger.go deleted file mode 100644 index 10e9d3db..00000000 --- a/models/models/model_pcf_am_policy_control_request_trigger.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfAmPolicyControlRequestTrigger string - -// List of PcfAMPolicyControlRequestTrigger -const ( - PcfAmPolicyControlRequestTrigger_LOC_CH PcfAmPolicyControlRequestTrigger = "LOC_CH" - PcfAmPolicyControlRequestTrigger_PRA_CH PcfAmPolicyControlRequestTrigger = "PRA_CH" - PcfAmPolicyControlRequestTrigger_SERV_AREA_CH PcfAmPolicyControlRequestTrigger = "SERV_AREA_CH" - PcfAmPolicyControlRequestTrigger_RFSP_CH PcfAmPolicyControlRequestTrigger = "RFSP_CH" - PcfAmPolicyControlRequestTrigger_ALLOWED_NSSAI_CH PcfAmPolicyControlRequestTrigger = "ALLOWED_NSSAI_CH" - PcfAmPolicyControlRequestTrigger_UE_AMBR_CH PcfAmPolicyControlRequestTrigger = "UE_AMBR_CH" - PcfAmPolicyControlRequestTrigger_UE_SLICE_MBR_CH PcfAmPolicyControlRequestTrigger = "UE_SLICE_MBR_CH" - PcfAmPolicyControlRequestTrigger_SMF_SELECT_CH PcfAmPolicyControlRequestTrigger = "SMF_SELECT_CH" - PcfAmPolicyControlRequestTrigger_ACCESS_TYPE_CH PcfAmPolicyControlRequestTrigger = "ACCESS_TYPE_CH" - PcfAmPolicyControlRequestTrigger_NWDAF_DATA_CH PcfAmPolicyControlRequestTrigger = "NWDAF_DATA_CH" - PcfAmPolicyControlRequestTrigger_TARGET_NSSAI PcfAmPolicyControlRequestTrigger = "TARGET_NSSAI" -) diff --git a/models/models/model_pcf_am_policy_control_termination_notification.go b/models/models/model_pcf_am_policy_control_termination_notification.go deleted file mode 100644 index ae7d3a34..00000000 --- a/models/models/model_pcf_am_policy_control_termination_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a request to terminate a policy Association that the PCF provides in a notification. -type PcfAmPolicyControlTerminationNotification struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go b/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go deleted file mode 100644 index 3b22e921..00000000 --- a/models/models/model_pcf_bdt_policy_control_bdt_policy_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the authorization data of an Individual BDT policy resource. -type PcfBdtPolicyControlBdtPolicyData struct { - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // Contains transfer policies. - TransfPolicies []PcfBdtPolicyControlTransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies,omitempty"` - // Contains an identity of the selected transfer policy. - SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go b/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go deleted file mode 100644 index 60606f21..00000000 --- a/models/models/model_pcf_bdt_policy_control_bdt_policy_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. -type PcfBdtPolicyControlBdtPolicyDataPatch struct { - // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. - SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` -} diff --git a/models/models/model_pcf_bdt_policy_control_notification.go b/models/models/model_pcf_bdt_policy_control_notification.go deleted file mode 100644 index 4b19971d..00000000 --- a/models/models/model_pcf_bdt_policy_control_notification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a BDT notification. -type PcfBdtPolicyControlNotification struct { - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. - CandPolicies []PcfBdtPolicyControlTransferPolicy `json:"candPolicies,omitempty" yaml:"candPolicies" bson:"candPolicies,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` -} diff --git a/models/models/model_pcf_bdt_policy_control_transfer_policy.go b/models/models/model_pcf_bdt_policy_control_transfer_policy.go deleted file mode 100644 index 5166dca2..00000000 --- a/models/models/model_pcf_bdt_policy_control_transfer_policy.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V17.4.0; 5G System; Background Data Transfer Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a transfer policy. -type PcfBdtPolicyControlTransferPolicy struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl,omitempty"` - // Indicates a rating group for the recommended time window. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt,omitempty"` - // Contains an identity of a transfer policy. - TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId,omitempty"` -} diff --git a/models/models/model_pcf_event_exposure_pdu_session_information.go b/models/models/model_pcf_event_exposure_pdu_session_information.go deleted file mode 100644 index 13b8299f..00000000 --- a/models/models/model_pcf_event_exposure_pdu_session_information.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents PDU session identification information. -type PcfEventExposurePduSessionInformation struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` -} diff --git a/models/models/model_pcf_info.go b/models/models/model_pcf_info.go deleted file mode 100644 index 941ccb66..00000000 --- a/models/models/model_pcf_info.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a PCF NF Instance -type PcfInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - // Fully Qualified Domain Name - RxDiamHost string `json:"rxDiamHost,omitempty" yaml:"rxDiamHost" bson:"rxDiamHost,omitempty"` - // Fully Qualified Domain Name - RxDiamRealm string `json:"rxDiamRealm,omitempty" yaml:"rxDiamRealm" bson:"rxDiamRealm,omitempty"` - V2xSupportInd bool `json:"v2xSupportInd,omitempty" yaml:"v2xSupportInd" bson:"v2xSupportInd,omitempty"` - ProseSupportInd bool `json:"proseSupportInd,omitempty" yaml:"proseSupportInd" bson:"proseSupportInd,omitempty"` - ProseCapability *NrfNfManagementProSeCapability `json:"proseCapability,omitempty" yaml:"proseCapability" bson:"proseCapability,omitempty"` - V2xCapability *V2xCapability `json:"v2xCapability,omitempty" yaml:"v2xCapability" bson:"v2xCapability,omitempty"` -} diff --git a/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go b/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go deleted file mode 100644 index ef1a0425..00000000 --- a/models/models/model_pcf_mbs_policy_authorization_mbs_ext_problem_details.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the MBS related extensions to the ProblemDetails data structure. -type PcfMbsPolicyAuthorizationMbsExtProblemDetails struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - AccMbsServInfo map[string]MbsMediaComp `json:"accMbsServInfo,omitempty" yaml:"accMbsServInfo" bson:"accMbsServInfo,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AccMaxMbsBw string `json:"accMaxMbsBw,omitempty" yaml:"accMaxMbsBw" bson:"accMaxMbsBw,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_af_event.go b/models/models/model_pcf_policy_authorization_af_event.go deleted file mode 100644 index 6642a2a0..00000000 --- a/models/models/model_pcf_policy_authorization_af_event.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfPolicyAuthorizationAfEvent string - -// List of PcfPolicyAuthorizationAfEvent -const ( - PcfPolicyAuthorizationAfEvent_ACCESS_TYPE_CHANGE PcfPolicyAuthorizationAfEvent = "ACCESS_TYPE_CHANGE" - PcfPolicyAuthorizationAfEvent_ANI_REPORT PcfPolicyAuthorizationAfEvent = "ANI_REPORT" - PcfPolicyAuthorizationAfEvent_APP_DETECTION PcfPolicyAuthorizationAfEvent = "APP_DETECTION" - PcfPolicyAuthorizationAfEvent_CHARGING_CORRELATION PcfPolicyAuthorizationAfEvent = "CHARGING_CORRELATION" - PcfPolicyAuthorizationAfEvent_EPS_FALLBACK PcfPolicyAuthorizationAfEvent = "EPS_FALLBACK" - PcfPolicyAuthorizationAfEvent_FAILED_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "FAILED_QOS_UPDATE" - PcfPolicyAuthorizationAfEvent_FAILED_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "FAILED_RESOURCES_ALLOCATION" - PcfPolicyAuthorizationAfEvent_OUT_OF_CREDIT PcfPolicyAuthorizationAfEvent = "OUT_OF_CREDIT" - PcfPolicyAuthorizationAfEvent_PDU_SESSION_STATUS PcfPolicyAuthorizationAfEvent = "PDU_SESSION_STATUS" - PcfPolicyAuthorizationAfEvent_PLMN_CHG PcfPolicyAuthorizationAfEvent = "PLMN_CHG" - PcfPolicyAuthorizationAfEvent_QOS_MONITORING PcfPolicyAuthorizationAfEvent = "QOS_MONITORING" - PcfPolicyAuthorizationAfEvent_QOS_NOTIF PcfPolicyAuthorizationAfEvent = "QOS_NOTIF" - PcfPolicyAuthorizationAfEvent_RAN_NAS_CAUSE PcfPolicyAuthorizationAfEvent = "RAN_NAS_CAUSE" - PcfPolicyAuthorizationAfEvent_REALLOCATION_OF_CREDIT PcfPolicyAuthorizationAfEvent = "REALLOCATION_OF_CREDIT" - PcfPolicyAuthorizationAfEvent_SAT_CATEGORY_CHG PcfPolicyAuthorizationAfEvent = "SAT_CATEGORY_CHG" - PcfPolicyAuthorizationAfEvent_SUCCESSFUL_QOS_UPDATE PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_QOS_UPDATE" - PcfPolicyAuthorizationAfEvent_SUCCESSFUL_RESOURCES_ALLOCATION PcfPolicyAuthorizationAfEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" - PcfPolicyAuthorizationAfEvent_TSN_BRIDGE_INFO PcfPolicyAuthorizationAfEvent = "TSN_BRIDGE_INFO" - PcfPolicyAuthorizationAfEvent_UP_PATH_CHG_FAILURE PcfPolicyAuthorizationAfEvent = "UP_PATH_CHG_FAILURE" - PcfPolicyAuthorizationAfEvent_USAGE_REPORT PcfPolicyAuthorizationAfEvent = "USAGE_REPORT" -) diff --git a/models/models/model_pcf_policy_authorization_af_event_notification.go b/models/models/model_pcf_policy_authorization_af_event_notification.go deleted file mode 100644 index c50a1d6f..00000000 --- a/models/models/model_pcf_policy_authorization_af_event_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the event information delivered in the notification. -type PcfPolicyAuthorizationAfEventNotification struct { - Event PcfPolicyAuthorizationAfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_events_notification.go b/models/models/model_pcf_policy_authorization_events_notification.go deleted file mode 100644 index b0448a31..00000000 --- a/models/models/model_pcf_policy_authorization_events_notification.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Describes the notification of a matched event. -type PcfPolicyAuthorizationEventsNotification struct { - // Includes the detected application report. - AdReports []AppDetectionReport `json:"adReports,omitempty" yaml:"adReports" bson:"adReports,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` - AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` - AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` - // String providing an URI formatted according to RFC 3986. - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` - EvNotifs []PcfPolicyAuthorizationAfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` - SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` - NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` - OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - QncReports []PcfPolicyAuthorizationQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` - QosMonReports []PcfPolicyAuthorizationQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` - // Contains the RAN and/or NAS release cause. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` - UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_events_subsc_req_data.go b/models/models/model_pcf_policy_authorization_events_subsc_req_data.go deleted file mode 100644 index 6b3c3046..00000000 --- a/models/models/model_pcf_policy_authorization_events_subsc_req_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the events the application subscribes to. -type PcfPolicyAuthorizationEventsSubscReqData struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - QosMon *PcfPolicyAuthorizationQosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` - ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - AfAppIds []string `json:"afAppIds,omitempty" yaml:"afAppIds" bson:"afAppIds,omitempty"` - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go b/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go deleted file mode 100644 index 6e106808..00000000 --- a/models/models/model_pcf_policy_authorization_events_subsc_req_data_rm.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the EventsSubscReqData data type, but with the OpenAPI nullable property set to true. -type PcfPolicyAuthorizationEventsSubscReqDataRm struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - QosMon *PcfPolicyAuthorizationQosMonitoringInformationRm `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` - ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` - UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_extended_problem_details.go b/models/models/model_pcf_policy_authorization_extended_problem_details.go deleted file mode 100644 index afb359c7..00000000 --- a/models/models/model_pcf_policy_authorization_extended_problem_details.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extends ProblemDetails to also include the acceptable service info. -type PcfPolicyAuthorizationExtendedProblemDetails struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - AcceptableServInfo *AcceptableServiceInfo `json:"acceptableServInfo,omitempty" yaml:"acceptableServInfo" bson:"acceptableServInfo,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_pdu_session_status.go b/models/models/model_pcf_policy_authorization_pdu_session_status.go deleted file mode 100644 index 06abadb9..00000000 --- a/models/models/model_pcf_policy_authorization_pdu_session_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfPolicyAuthorizationPduSessionStatus string - -// List of PcfPolicyAuthorizationPduSessionStatus -const ( - PcfPolicyAuthorizationPduSessionStatus_ESTABLISHED PcfPolicyAuthorizationPduSessionStatus = "ESTABLISHED" - PcfPolicyAuthorizationPduSessionStatus_TERMINATED PcfPolicyAuthorizationPduSessionStatus = "TERMINATED" -) diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_information.go b/models/models/model_pcf_policy_authorization_qos_monitoring_information.go deleted file mode 100644 index 0cc47924..00000000 --- a/models/models/model_pcf_policy_authorization_qos_monitoring_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the QoS Monitoring information to report, i.e. UL and/or DL and or round trip delay. -type PcfPolicyAuthorizationQosMonitoringInformation struct { - RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` - RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` - RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go b/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go deleted file mode 100644 index c3b78195..00000000 --- a/models/models/model_pcf_policy_authorization_qos_monitoring_information_rm.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the QosMonitoringInformation data type, but with the OpenAPI nullable property set to true. -type PcfPolicyAuthorizationQosMonitoringInformationRm struct { - RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` - RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` - RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_qos_monitoring_report.go b/models/models/model_pcf_policy_authorization_qos_monitoring_report.go deleted file mode 100644 index a76a8bd2..00000000 --- a/models/models/model_pcf_policy_authorization_qos_monitoring_report.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// QoS Monitoring reporting information. -type PcfPolicyAuthorizationQosMonitoringReport struct { - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` - UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` - DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` - RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` - // Represents the packet delay measurement failure indicator. - Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_qos_notification_control_info.go b/models/models/model_pcf_policy_authorization_qos_notification_control_info.go deleted file mode 100644 index 82f8626e..00000000 --- a/models/models/model_pcf_policy_authorization_qos_notification_control_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates whether the QoS targets for a GRB flow are not guaranteed or guaranteed again. -type PcfPolicyAuthorizationQosNotificationControlInfo struct { - NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` - AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` -} diff --git a/models/models/model_pcf_policy_authorization_termination_cause.go b/models/models/model_pcf_policy_authorization_termination_cause.go deleted file mode 100644 index 106b8c40..00000000 --- a/models/models/model_pcf_policy_authorization_termination_cause.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfPolicyAuthorizationTerminationCause string - -// List of PcfPolicyAuthorizationTerminationCause -const ( - PcfPolicyAuthorizationTerminationCause_ALL_SDF_DEACTIVATION PcfPolicyAuthorizationTerminationCause = "ALL_SDF_DEACTIVATION" - PcfPolicyAuthorizationTerminationCause_PDU_SESSION_TERMINATION PcfPolicyAuthorizationTerminationCause = "PDU_SESSION_TERMINATION" - PcfPolicyAuthorizationTerminationCause_PS_TO_CS_HO PcfPolicyAuthorizationTerminationCause = "PS_TO_CS_HO" - PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_SERVER_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_SERVER_RESOURCES" - PcfPolicyAuthorizationTerminationCause_INSUFFICIENT_QOS_FLOW_RESOURCES PcfPolicyAuthorizationTerminationCause = "INSUFFICIENT_QOS_FLOW_RESOURCES" - PcfPolicyAuthorizationTerminationCause_SPONSORED_DATA_CONNECTIVITY_DISALLOWED PcfPolicyAuthorizationTerminationCause = "SPONSORED_DATA_CONNECTIVITY_DISALLOWED" -) diff --git a/models/models/model_pcf_selection_assistance_info.go b/models/models/model_pcf_selection_assistance_info.go deleted file mode 100644 index c72d06b5..00000000 --- a/models/models/model_pcf_selection_assistance_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSelectionAssistanceInfo struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` -} diff --git a/models/models/model_pcf_sm_policy_control_atsss_capability.go b/models/models/model_pcf_sm_policy_control_atsss_capability.go deleted file mode 100644 index 52d9d6a7..00000000 --- a/models/models/model_pcf_sm_policy_control_atsss_capability.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSmPolicyControlAtsssCapability string - -// List of PcfSMPolicyControlAtsssCapability -const ( - PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_UL" - PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_EXSDMODE_DL_ASMODE_UL" - PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL_WITH_ASMODE_DLUL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL_WITH_ASMODE_DLUL" - PcfSmPolicyControlAtsssCapability_ATSSS_LL PcfSmPolicyControlAtsssCapability = "ATSSS_LL" - PcfSmPolicyControlAtsssCapability_MPTCP_ATSSS_LL PcfSmPolicyControlAtsssCapability = "MPTCP_ATSSS_LL" -) diff --git a/models/models/model_pcf_sm_policy_control_failure_cause.go b/models/models/model_pcf_sm_policy_control_failure_cause.go deleted file mode 100644 index 3b7807a4..00000000 --- a/models/models/model_pcf_sm_policy_control_failure_cause.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSmPolicyControlFailureCause string - -// List of PcfSMPolicyControlFailureCause -const ( - PcfSmPolicyControlFailureCause_PCC_RULE_EVENT PcfSmPolicyControlFailureCause = "PCC_RULE_EVENT" - PcfSmPolicyControlFailureCause_PCC_QOS_FLOW_EVENT PcfSmPolicyControlFailureCause = "PCC_QOS_FLOW_EVENT" - PcfSmPolicyControlFailureCause_RULE_PERMANENT_ERROR PcfSmPolicyControlFailureCause = "RULE_PERMANENT_ERROR" - PcfSmPolicyControlFailureCause_RULE_TEMPORARY_ERROR PcfSmPolicyControlFailureCause = "RULE_TEMPORARY_ERROR" - PcfSmPolicyControlFailureCause_POL_DEC_ERROR PcfSmPolicyControlFailureCause = "POL_DEC_ERROR" -) diff --git a/models/models/model_pcf_sm_policy_control_failure_code.go b/models/models/model_pcf_sm_policy_control_failure_code.go deleted file mode 100644 index fd70aaf1..00000000 --- a/models/models/model_pcf_sm_policy_control_failure_code.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSmPolicyControlFailureCode string - -// List of PcfSMPolicyControlFailureCode -const ( - PcfSmPolicyControlFailureCode_UNK_RULE_ID PcfSmPolicyControlFailureCode = "UNK_RULE_ID" - PcfSmPolicyControlFailureCode_RA_GR_ERR PcfSmPolicyControlFailureCode = "RA_GR_ERR" - PcfSmPolicyControlFailureCode_SER_ID_ERR PcfSmPolicyControlFailureCode = "SER_ID_ERR" - PcfSmPolicyControlFailureCode_NF_MAL PcfSmPolicyControlFailureCode = "NF_MAL" - PcfSmPolicyControlFailureCode_RES_LIM PcfSmPolicyControlFailureCode = "RES_LIM" - PcfSmPolicyControlFailureCode_MAX_NR_QO_S_FLOW PcfSmPolicyControlFailureCode = "MAX_NR_QoS_FLOW" - PcfSmPolicyControlFailureCode_MISS_FLOW_INFO PcfSmPolicyControlFailureCode = "MISS_FLOW_INFO" - PcfSmPolicyControlFailureCode_RES_ALLO_FAIL PcfSmPolicyControlFailureCode = "RES_ALLO_FAIL" - PcfSmPolicyControlFailureCode_UNSUCC_QOS_VAL PcfSmPolicyControlFailureCode = "UNSUCC_QOS_VAL" - PcfSmPolicyControlFailureCode_INCOR_FLOW_INFO PcfSmPolicyControlFailureCode = "INCOR_FLOW_INFO" - PcfSmPolicyControlFailureCode_PS_TO_CS_HAN PcfSmPolicyControlFailureCode = "PS_TO_CS_HAN" - PcfSmPolicyControlFailureCode_APP_ID_ERR PcfSmPolicyControlFailureCode = "APP_ID_ERR" - PcfSmPolicyControlFailureCode_NO_QOS_FLOW_BOUND PcfSmPolicyControlFailureCode = "NO_QOS_FLOW_BOUND" - PcfSmPolicyControlFailureCode_FILTER_RES PcfSmPolicyControlFailureCode = "FILTER_RES" - PcfSmPolicyControlFailureCode_MISS_REDI_SER_ADDR PcfSmPolicyControlFailureCode = "MISS_REDI_SER_ADDR" - PcfSmPolicyControlFailureCode_CM_END_USER_SER_DENIED PcfSmPolicyControlFailureCode = "CM_END_USER_SER_DENIED" - PcfSmPolicyControlFailureCode_CM_CREDIT_CON_NOT_APP PcfSmPolicyControlFailureCode = "CM_CREDIT_CON_NOT_APP" // #nosec G101 - PcfSmPolicyControlFailureCode_CM_AUTH_REJ PcfSmPolicyControlFailureCode = "CM_AUTH_REJ" - PcfSmPolicyControlFailureCode_CM_USER_UNK PcfSmPolicyControlFailureCode = "CM_USER_UNK" - PcfSmPolicyControlFailureCode_CM_RAT_FAILED PcfSmPolicyControlFailureCode = "CM_RAT_FAILED" - PcfSmPolicyControlFailureCode_UE_STA_SUSP PcfSmPolicyControlFailureCode = "UE_STA_SUSP" - PcfSmPolicyControlFailureCode_UNKNOWN_REF_ID PcfSmPolicyControlFailureCode = "UNKNOWN_REF_ID" - PcfSmPolicyControlFailureCode_INCORRECT_COND_DATA PcfSmPolicyControlFailureCode = "INCORRECT_COND_DATA" - PcfSmPolicyControlFailureCode_REF_ID_COLLISION PcfSmPolicyControlFailureCode = "REF_ID_COLLISION" - PcfSmPolicyControlFailureCode_TRAFFIC_STEERING_ERROR PcfSmPolicyControlFailureCode = "TRAFFIC_STEERING_ERROR" - PcfSmPolicyControlFailureCode_DNAI_STEERING_ERROR PcfSmPolicyControlFailureCode = "DNAI_STEERING_ERROR" - PcfSmPolicyControlFailureCode_AN_GW_FAILE PcfSmPolicyControlFailureCode = "AN_GW_FAILE" - PcfSmPolicyControlFailureCode_MAX_NR_PACKET_FILTERS_EXCEEDED PcfSmPolicyControlFailureCode = "MAX_NR_PACKET_FILTERS_EXCEEDED" - PcfSmPolicyControlFailureCode_PACKET_FILTER_TFT_ALLOCATION_EXCEEDED PcfSmPolicyControlFailureCode = "PACKET_FILTER_TFT_ALLOCATION_EXCEEDED" - PcfSmPolicyControlFailureCode_MUTE_CHG_NOT_ALLOWED PcfSmPolicyControlFailureCode = "MUTE_CHG_NOT_ALLOWED" -) diff --git a/models/models/model_pcf_sm_policy_control_multicast_access_control.go b/models/models/model_pcf_sm_policy_control_multicast_access_control.go deleted file mode 100644 index 72f94e71..00000000 --- a/models/models/model_pcf_sm_policy_control_multicast_access_control.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSmPolicyControlMulticastAccessControl string - -// List of PcfSMPolicyControlMulticastAccessControl -const ( - PcfSmPolicyControlMulticastAccessControl_ALLOWED PcfSmPolicyControlMulticastAccessControl = "ALLOWED" - PcfSmPolicyControlMulticastAccessControl_NOT_ALLOWED PcfSmPolicyControlMulticastAccessControl = "NOT_ALLOWED" -) diff --git a/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go b/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go deleted file mode 100644 index 9431e213..00000000 --- a/models/models/model_pcf_sm_policy_control_qos_monitoring_report.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains reporting information on QoS monitoring. -type PcfSmPolicyControlQosMonitoringReport struct { - // An array of PCC rule id references to the PCC rules associated with the QoS monitoring report. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` - UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` - DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` - RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` - // Represents the packet delay measurement failure indicator. - Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` -} diff --git a/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go b/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go deleted file mode 100644 index aeea92d6..00000000 --- a/models/models/model_pcf_sm_policy_control_qos_notification_control_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the QoS Notification Control Information. -type PcfSmPolicyControlQosNotificationControlInfo struct { - // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` - NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` - AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` -} diff --git a/models/models/model_pcf_sm_policy_control_redirect_address_type.go b/models/models/model_pcf_sm_policy_control_redirect_address_type.go deleted file mode 100644 index 3e0c631c..00000000 --- a/models/models/model_pcf_sm_policy_control_redirect_address_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfSmPolicyControlRedirectAddressType string - -// List of PcfSMPolicyControlRedirectAddressType -const ( - PcfSmPolicyControlRedirectAddressType_IPV4_ADDR PcfSmPolicyControlRedirectAddressType = "IPV4_ADDR" - PcfSmPolicyControlRedirectAddressType_IPV6_ADDR PcfSmPolicyControlRedirectAddressType = "IPV6_ADDR" - PcfSmPolicyControlRedirectAddressType_URL PcfSmPolicyControlRedirectAddressType = "URL" - PcfSmPolicyControlRedirectAddressType_SIP_URI PcfSmPolicyControlRedirectAddressType = "SIP_URI" -) diff --git a/models/models/model_pcf_sm_policy_control_termination_notification.go b/models/models/model_pcf_sm_policy_control_termination_notification.go deleted file mode 100644 index 552b69e1..00000000 --- a/models/models/model_pcf_sm_policy_control_termination_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a Termination Notification. -type PcfSmPolicyControlTerminationNotification struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause SmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/models/model_pcf_ue_callback_info.go b/models/models/model_pcf_ue_callback_info.go deleted file mode 100644 index f918d4d0..00000000 --- a/models/models/model_pcf_ue_callback_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the PCF for the UE information necessary for the PCF for the PDU session to send SM Policy Association Establishment and Termination events. -type PcfUeCallbackInfo struct { - // String providing an URI formatted according to RFC 3986. - CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` - BindingInfo string `json:"bindingInfo,omitempty" yaml:"bindingInfo" bson:"bindingInfo,omitempty"` -} diff --git a/models/models/model_pcf_ue_policy_control_policy_association.go b/models/models/model_pcf_ue_policy_control_policy_association.go deleted file mode 100644 index 9fb646cb..00000000 --- a/models/models/model_pcf_ue_policy_control_policy_association.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the description of a policy association that is returned by the PCF when a policy Association is created, updated, or read. -type PcfUePolicyControlPolicyAssociation struct { - Request *PcfUePolicyControlPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` - N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` - N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_pcf_ue_policy_control_policy_association_request.go b/models/models/model_pcf_ue_policy_control_policy_association_request.go deleted file mode 100644 index aa6298d8..00000000 --- a/models/models/model_pcf_ue_policy_control_policy_association_request.go +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents information that the NF service consumer provides when requesting the creation of a policy association. -type PcfUePolicyControlPolicyAssociationRequest struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Pc5Capab Pc5Capability `json:"pc5Capab,omitempty" yaml:"pc5Capab" bson:"pc5Capab,omitempty"` - ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/models/model_pcf_ue_policy_control_policy_association_update_request.go b/models/models/model_pcf_ue_policy_control_policy_association_update_request.go deleted file mode 100644 index c238e058..00000000 --- a/models/models/model_pcf_ue_policy_control_policy_association_update_request.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents Information that the NF service consumer provides when requesting the update of a policy association. -type PcfUePolicyControlPolicyAssociationUpdateRequest struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // Request Triggers that the NF service consumer observes. - Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // Contains the UE presence status for tracking area for which changes of the UE presence occurred. The praId attribute within the PresenceInfo data type is the key of the map. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UePolDelResult string `json:"uePolDelResult,omitempty" yaml:"uePolDelResult" bson:"uePolDelResult,omitempty"` - UePolTransFailNotif *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty" yaml:"uePolTransFailNotif" bson:"uePolTransFailNotif,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` - ProSeCapab []PcfUePolicyControlProSeCapability `json:"proSeCapab,omitempty" yaml:"proSeCapab" bson:"proSeCapab,omitempty"` -} diff --git a/models/models/model_pcf_ue_policy_control_policy_update.go b/models/models/model_pcf_ue_policy_control_policy_update.go deleted file mode 100644 index 2176ed6c..00000000 --- a/models/models/model_pcf_ue_policy_control_policy_update.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents updated policies that the PCF provides in a notification or in the reply to an Update Request. -type PcfUePolicyControlPolicyUpdate struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` - N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` - N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []PcfUePolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // Contains the presence reporting area(s) for which reporting was requested. The praId attribute within the PresenceInfo data type is the key of the map. - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` -} diff --git a/models/models/model_pcf_ue_policy_control_pro_se_capability.go b/models/models/model_pcf_ue_policy_control_pro_se_capability.go deleted file mode 100644 index b3fec67c..00000000 --- a/models/models/model_pcf_ue_policy_control_pro_se_capability.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfUePolicyControlProSeCapability string - -// List of PcfUEPolicyControlProSeCapability -const ( - PcfUePolicyControlProSeCapability_DD PcfUePolicyControlProSeCapability = "PROSE_DD" - PcfUePolicyControlProSeCapability_DC PcfUePolicyControlProSeCapability = "PROSE_DC" - PcfUePolicyControlProSeCapability_L2_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L2_U2N_RELAY" - PcfUePolicyControlProSeCapability_L3_U2_N_RELAY PcfUePolicyControlProSeCapability = "PROSE_L3_U2N_RELAY" - PcfUePolicyControlProSeCapability_L2_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L2_REMOTE_UE" - PcfUePolicyControlProSeCapability_L3_REMOTE_UE PcfUePolicyControlProSeCapability = "PROSE_L3_REMOTE_UE" -) diff --git a/models/models/model_pcf_ue_policy_control_request_trigger.go b/models/models/model_pcf_ue_policy_control_request_trigger.go deleted file mode 100644 index 69a8b951..00000000 --- a/models/models/model_pcf_ue_policy_control_request_trigger.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcfUePolicyControlRequestTrigger string - -// List of PcfUEPolicyControlRequestTrigger -const ( - PcfUePolicyControlRequestTrigger_LOC_CH PcfUePolicyControlRequestTrigger = "LOC_CH" - PcfUePolicyControlRequestTrigger_PRA_CH PcfUePolicyControlRequestTrigger = "PRA_CH" - PcfUePolicyControlRequestTrigger_UE_POLICY PcfUePolicyControlRequestTrigger = "UE_POLICY" - PcfUePolicyControlRequestTrigger_PLMN_CH PcfUePolicyControlRequestTrigger = "PLMN_CH" - PcfUePolicyControlRequestTrigger_CON_STATE_CH PcfUePolicyControlRequestTrigger = "CON_STATE_CH" - PcfUePolicyControlRequestTrigger_GROUP_ID_LIST_CHG PcfUePolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" - PcfUePolicyControlRequestTrigger_UE_CAP_CH PcfUePolicyControlRequestTrigger = "UE_CAP_CH" -) diff --git a/models/models/model_pcf_ue_policy_control_termination_notification.go b/models/models/model_pcf_ue_policy_control_termination_notification.go deleted file mode 100644 index 9e28166b..00000000 --- a/models/models/model_pcf_ue_policy_control_termination_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a request to terminate a policy association that the PCF provides in a notification. -type PcfUePolicyControlTerminationNotification struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause PolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/models/model_pcscf_address.go b/models/models/model_pcscf_address.go deleted file mode 100644 index 0c4edddb..00000000 --- a/models/models/model_pcscf_address.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the addressing information (IP addresses and/or FQDN) of the P-CSCF -type PcscfAddress struct { - Ipv4Addrs []string `json:"ipv4Addrs,omitempty" yaml:"ipv4Addrs" bson:"ipv4Addrs,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` -} diff --git a/models/models/model_pcscf_info.go b/models/models/model_pcscf_info.go deleted file mode 100644 index f571486b..00000000 --- a/models/models/model_pcscf_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a P-CSCF NF Instance -type PcscfInfo struct { - AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - // Fully Qualified Domain Name - GmFqdn string `json:"gmFqdn,omitempty" yaml:"gmFqdn" bson:"gmFqdn,omitempty"` - GmIpv4Addresses []string `json:"gmIpv4Addresses,omitempty" yaml:"gmIpv4Addresses" bson:"gmIpv4Addresses,omitempty"` - GmIpv6Addresses []string `json:"gmIpv6Addresses,omitempty" yaml:"gmIpv6Addresses" bson:"gmIpv6Addresses,omitempty"` - // Fully Qualified Domain Name - MwFqdn string `json:"mwFqdn,omitempty" yaml:"mwFqdn" bson:"mwFqdn,omitempty"` - MwIpv4Addresses []string `json:"mwIpv4Addresses,omitempty" yaml:"mwIpv4Addresses" bson:"mwIpv4Addresses,omitempty"` - MwIpv6Addresses []string `json:"mwIpv6Addresses,omitempty" yaml:"mwIpv6Addresses" bson:"mwIpv6Addresses,omitempty"` - ServedIpv4AddressRanges []NrfNfManagementIpv4AddressRange `json:"servedIpv4AddressRanges,omitempty" yaml:"servedIpv4AddressRanges" bson:"servedIpv4AddressRanges,omitempty"` - ServedIpv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"servedIpv6PrefixRanges,omitempty" yaml:"servedIpv6PrefixRanges" bson:"servedIpv6PrefixRanges,omitempty"` -} diff --git a/models/models/model_pcscf_restoration_notification.go b/models/models/model_pcscf_restoration_notification.go deleted file mode 100644 index 4ee55d14..00000000 --- a/models/models/model_pcscf_restoration_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PcscfRestorationNotification struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` -} diff --git a/models/models/model_pcscf_restoration_request_data.go b/models/models/model_pcscf_restoration_request_data.go deleted file mode 100644 index c0804382..00000000 --- a/models/models/model_pcscf_restoration_request_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates P-CSCF restoration. -type PcscfRestorationRequestData struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - SliceInfo *Snssai `json:"sliceInfo,omitempty" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` -} diff --git a/models/models/model_pdn_connectivity_stat_report.go b/models/models/model_pdn_connectivity_stat_report.go deleted file mode 100644 index c5a188b6..00000000 --- a/models/models/model_pdn_connectivity_stat_report.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PdnConnectivityStatReport struct { - PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` - PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` -} diff --git a/models/models/model_pdn_connectivity_status.go b/models/models/model_pdn_connectivity_status.go deleted file mode 100644 index 7ddba511..00000000 --- a/models/models/model_pdn_connectivity_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PdnConnectivityStatus string - -// List of PdnConnectivityStatus -const ( - PdnConnectivityStatus_ESTABLISHED PdnConnectivityStatus = "ESTABLISHED" - PdnConnectivityStatus_RELEASED PdnConnectivityStatus = "RELEASED" -) diff --git a/models/models/model_pdu_session.go b/models/models/model_pdu_session.go deleted file mode 100644 index fafb6353..00000000 --- a/models/models/model_pdu_session.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSession struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` -} diff --git a/models/models/model_pdu_session_context.go b/models/models/model_pdu_session_context.go deleted file mode 100644 index afe12690..00000000 --- a/models/models/model_pdu_session_context.go +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a PDU Session Context in UE Context -type PduSessionContext struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmContextRef string `json:"smContextRef" yaml:"smContextRef" bson:"smContextRef,omitempty"` - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` - AdditionalAccessType AccessType `json:"additionalAccessType,omitempty" yaml:"additionalAccessType" bson:"additionalAccessType,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HsmfId string `json:"hsmfId,omitempty" yaml:"hsmfId" bson:"hsmfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - HsmfSetId string `json:"hsmfSetId,omitempty" yaml:"hsmfSetId" bson:"hsmfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - HsmfServiceSetId string `json:"hsmfServiceSetId,omitempty" yaml:"hsmfServiceSetId" bson:"hsmfServiceSetId,omitempty"` - SmfBinding SbiBindingLevel `json:"smfBinding,omitempty" yaml:"smfBinding" bson:"smfBinding,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - VsmfSetId string `json:"vsmfSetId,omitempty" yaml:"vsmfSetId" bson:"vsmfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - VsmfServiceSetId string `json:"vsmfServiceSetId,omitempty" yaml:"vsmfServiceSetId" bson:"vsmfServiceSetId,omitempty"` - VsmfBinding SbiBindingLevel `json:"vsmfBinding,omitempty" yaml:"vsmfBinding" bson:"vsmfBinding,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - IsmfSetId string `json:"ismfSetId,omitempty" yaml:"ismfSetId" bson:"ismfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - IsmfServiceSetId string `json:"ismfServiceSetId,omitempty" yaml:"ismfServiceSetId" bson:"ismfServiceSetId,omitempty"` - IsmfBinding SbiBindingLevel `json:"ismfBinding,omitempty" yaml:"ismfBinding" bson:"ismfBinding,omitempty"` - // Contains the Identifier of the selected Network Slice instance - NsInstance string `json:"nsInstance,omitempty" yaml:"nsInstance" bson:"nsInstance,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` - MaPduSession bool `json:"maPduSession,omitempty" yaml:"maPduSession" bson:"maPduSession,omitempty"` - CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` - SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` - VsmfBindingInfo string `json:"vsmfBindingInfo,omitempty" yaml:"vsmfBindingInfo" bson:"vsmfBindingInfo,omitempty"` - IsmfBindingInfo string `json:"ismfBindingInfo,omitempty" yaml:"ismfBindingInfo" bson:"ismfBindingInfo,omitempty"` - AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - AnchorSmfSupportedFeatures string `json:"anchorSmfSupportedFeatures,omitempty" yaml:"anchorSmfSupportedFeatures" bson:"anchorSmfSupportedFeatures,omitempty"` - AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` -} diff --git a/models/models/model_pdu_session_context_type.go b/models/models/model_pdu_session_context_type.go deleted file mode 100644 index 568d86ea..00000000 --- a/models/models/model_pdu_session_context_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionContextType string - -// List of PduSessionContextType -const ( - PduSessionContextType_AF_COORDINATION_INFO PduSessionContextType = "AF_COORDINATION_INFO" -) diff --git a/models/models/model_pdu_session_continuity_ind.go b/models/models/model_pdu_session_continuity_ind.go deleted file mode 100644 index d7af32df..00000000 --- a/models/models/model_pdu_session_continuity_ind.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionContinuityInd string - -// List of PduSessionContinuityInd -const ( - PduSessionContinuityInd_MAINTAIN_PDUSESSION PduSessionContinuityInd = "MAINTAIN_PDUSESSION" - PduSessionContinuityInd_RECONNECT_PDUSESSION PduSessionContinuityInd = "RECONNECT_PDUSESSION" - PduSessionContinuityInd_RELEASE_PDUSESSION PduSessionContinuityInd = "RELEASE_PDUSESSION" -) diff --git a/models/models/model_pdu_session_create_data.go b/models/models/model_pdu_session_create_data.go deleted file mode 100644 index fbfa6993..00000000 --- a/models/models/model_pdu_session_create_data.go +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within Create Request -type PduSessionCreateData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - VsmfId string `json:"vsmfId,omitempty" yaml:"vsmfId" bson:"vsmfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - IsmfId string `json:"ismfId,omitempty" yaml:"ismfId" bson:"ismfId,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` - EpsBearerId []int32 `json:"epsBearerId,omitempty" yaml:"epsBearerId" bson:"epsBearerId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - PgwS8cFteid string `json:"pgwS8cFteid,omitempty" yaml:"pgwS8cFteid" bson:"pgwS8cFteid,omitempty"` - // String providing an URI formatted according to RFC 3986. - VsmfPduSessionUri string `json:"vsmfPduSessionUri,omitempty" yaml:"vsmfPduSessionUri" bson:"vsmfPduSessionUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - IsmfPduSessionUri string `json:"ismfPduSessionUri,omitempty" yaml:"ismfPduSessionUri" bson:"ismfPduSessionUri,omitempty"` - VcnTunnelInfo *TunnelInfo `json:"vcnTunnelInfo,omitempty" yaml:"vcnTunnelInfo" bson:"vcnTunnelInfo,omitempty"` - IcnTunnelInfo *TunnelInfo `json:"icnTunnelInfo,omitempty" yaml:"icnTunnelInfo" bson:"icnTunnelInfo,omitempty"` - N9ForwardingTunnelInfo *TunnelInfo `json:"n9ForwardingTunnelInfo,omitempty" yaml:"n9ForwardingTunnelInfo" bson:"n9ForwardingTunnelInfo,omitempty"` - AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` - AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // Identifier of a group of NFs. - PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` - HoPreparationIndication bool `json:"hoPreparationIndication,omitempty" yaml:"hoPreparationIndication" bson:"hoPreparationIndication,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` - AlwaysOnRequested bool `json:"alwaysOnRequested,omitempty" yaml:"alwaysOnRequested" bson:"alwaysOnRequested,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - VSmfServiceInstanceId string `json:"vSmfServiceInstanceId,omitempty" yaml:"vSmfServiceInstanceId" bson:"vSmfServiceInstanceId,omitempty"` - ISmfServiceInstanceId string `json:"iSmfServiceInstanceId,omitempty" yaml:"iSmfServiceInstanceId" bson:"iSmfServiceInstanceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` - ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` - // EPS bearer context status - EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfNfId string `json:"amfNfId,omitempty" yaml:"amfNfId" bson:"amfNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` - CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` - InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - DlServingPlmnRateCtl int32 `json:"dlServingPlmnRateCtl,omitempty" yaml:"dlServingPlmnRateCtl" bson:"dlServingPlmnRateCtl,omitempty"` - UpSecurityInfo *UpSecurityInfo `json:"upSecurityInfo,omitempty" yaml:"upSecurityInfo" bson:"upSecurityInfo,omitempty"` - VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` - RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` - SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` - PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` - SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` - UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` -} diff --git a/models/models/model_pdu_session_create_error.go b/models/models/model_pdu_session_create_error.go deleted file mode 100644 index 5cb6498a..00000000 --- a/models/models/model_pdu_session_create_error.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Error within Create Response -type PduSessionCreateError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` - // indicating a time in seconds. - BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` -} diff --git a/models/models/model_pdu_session_created_data.go b/models/models/model_pdu_session_created_data.go deleted file mode 100644 index 2aa16669..00000000 --- a/models/models/model_pdu_session_created_data.go +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within Create Response -type PduSessionCreatedData struct { - PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` - SscMode string `json:"sscMode" yaml:"sscMode" bson:"sscMode,omitempty"` - HcnTunnelInfo *TunnelInfo `json:"hcnTunnelInfo,omitempty" yaml:"hcnTunnelInfo" bson:"hcnTunnelInfo,omitempty"` - CnTunnelInfo *TunnelInfo `json:"cnTunnelInfo,omitempty" yaml:"cnTunnelInfo" bson:"cnTunnelInfo,omitempty"` - AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,omitempty" yaml:"qosFlowsSetupList" bson:"qosFlowsSetupList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` - EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` - UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` - EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` - HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - Ipv6MultiHomingInd bool `json:"ipv6MultiHomingInd,omitempty" yaml:"ipv6MultiHomingInd" bson:"ipv6MultiHomingInd,omitempty"` - MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` - HomeProvidedChargingId string `json:"homeProvidedChargingId,omitempty" yaml:"homeProvidedChargingId" bson:"homeProvidedChargingId,omitempty"` - NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` - SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` - UeIpv6InterfaceId string `json:"ueIpv6InterfaceId,omitempty" yaml:"ueIpv6InterfaceId" bson:"ueIpv6InterfaceId,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` - DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` - RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` - NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - // String providing an URI formatted according to RFC 3986. - IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` -} diff --git a/models/models/model_pdu_session_event_notification.go b/models/models/model_pdu_session_event_notification.go deleted file mode 100644 index c747a038..00000000 --- a/models/models/model_pdu_session_event_notification.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates PDU session information for the concerned established/terminated PDU session. -type PduSessionEventNotification struct { - EvNotif *PcfPolicyAuthorizationAfEventNotification `json:"evNotif" yaml:"evNotif" bson:"evNotif,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - Status PcfPolicyAuthorizationPduSessionStatus `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - PcfInfo *PcfAddressingInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` -} diff --git a/models/models/model_pdu_session_info.go b/models/models/model_pdu_session_info.go deleted file mode 100644 index c0ea59aa..00000000 --- a/models/models/model_pdu_session_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// indicates the DNN and S-NSSAI combination of a PDU session. -type PduSessionInfo struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_pdu_session_management_data.go b/models/models/model_pdu_session_management_data.go deleted file mode 100644 index 6478b97d..00000000 --- a/models/models/model_pdu_session_management_data.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents Session management data for a UE and a PDU session. -type PduSessionManagementData struct { - PduSessionStatus PduSessionStatus `json:"pduSessionStatus,omitempty" yaml:"pduSessionStatus" bson:"pduSessionStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - PduSessionStatusTs *time.Time `json:"pduSessionStatusTs,omitempty" yaml:"pduSessionStatusTs" bson:"pduSessionStatusTs,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - DnaiTs *time.Time `json:"dnaiTs,omitempty" yaml:"dnaiTs" bson:"dnaiTs,omitempty"` - N6TrafficRoutingInfo []*RouteToLocation `json:"n6TrafficRoutingInfo,omitempty" yaml:"n6TrafficRoutingInfo" bson:"n6TrafficRoutingInfo,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - N6TrafficRoutingInfoTs *time.Time `json:"n6TrafficRoutingInfoTs,omitempty" yaml:"n6TrafficRoutingInfoTs" bson:"n6TrafficRoutingInfoTs,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - // UE IPv6 prefix. - Ipv6Prefix []string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` - PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - IpAddrTs *time.Time `json:"ipAddrTs,omitempty" yaml:"ipAddrTs" bson:"ipAddrTs,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_pdu_session_notify_item.go b/models/models/model_pdu_session_notify_item.go deleted file mode 100644 index 4f43cab3..00000000 --- a/models/models/model_pdu_session_notify_item.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Notification related to a PDU session -type PduSessionNotifyItem struct { - NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` -} diff --git a/models/models/model_pdu_session_rel_cause.go b/models/models/model_pdu_session_rel_cause.go deleted file mode 100644 index c0f25cc4..00000000 --- a/models/models/model_pdu_session_rel_cause.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionRelCause string - -// List of PduSessionRelCause -const ( - PduSessionRelCause_PS_TO_CS_HO PduSessionRelCause = "PS_TO_CS_HO" - PduSessionRelCause_RULE_ERROR PduSessionRelCause = "RULE_ERROR" -) diff --git a/models/models/model_pdu_session_status.go b/models/models/model_pdu_session_status.go deleted file mode 100644 index 26d39b4a..00000000 --- a/models/models/model_pdu_session_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionStatus string - -// List of PduSessionStatus -const ( - PduSessionStatus_ACTIVE PduSessionStatus = "ACTIVE" - PduSessionStatus_RELEASED PduSessionStatus = "RELEASED" -) diff --git a/models/models/model_pdu_session_tsn_bridge.go b/models/models/model_pdu_session_tsn_bridge.go deleted file mode 100644 index 4a07ea22..00000000 --- a/models/models/model_pdu_session_tsn_bridge.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the new TSC user plane node information and may contain the DS-TT port and/or NW-TT port management information. -type PduSessionTsnBridge struct { - TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4Addr string `json:"ueIpv4Addr,omitempty" yaml:"ueIpv4Addr" bson:"ueIpv4Addr,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // IPv4 address domain identifier. - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - UeIpv6AddrPrefix string `json:"ueIpv6AddrPrefix,omitempty" yaml:"ueIpv6AddrPrefix" bson:"ueIpv6AddrPrefix,omitempty"` -} diff --git a/models/models/model_pdu_session_type.go b/models/models/model_pdu_session_type.go deleted file mode 100644 index 240f9239..00000000 --- a/models/models/model_pdu_session_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionType string - -// List of PduSessionType -const ( - PduSessionType_IPV4 PduSessionType = "IPV4" - PduSessionType_IPV6 PduSessionType = "IPV6" - PduSessionType_IPV4_V6 PduSessionType = "IPV4V6" - PduSessionType_UNSTRUCTURED PduSessionType = "UNSTRUCTURED" - PduSessionType_ETHERNET PduSessionType = "ETHERNET" -) diff --git a/models/models/model_pdu_session_types.go b/models/models/model_pdu_session_types.go deleted file mode 100644 index d89219e0..00000000 --- a/models/models/model_pdu_session_types.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionTypes struct { - DefaultSessionType PduSessionType `json:"defaultSessionType,omitempty" yaml:"defaultSessionType" bson:"defaultSessionType,omitempty"` - AllowedSessionTypes []PduSessionType `json:"allowedSessionTypes,omitempty" yaml:"allowedSessionTypes" bson:"allowedSessionTypes,omitempty"` -} diff --git a/models/models/model_pduid_information.go b/models/models/model_pduid_information.go deleted file mode 100644 index 6096ec29..00000000 --- a/models/models/model_pduid_information.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the ProSe Discovery UE ID and its validity timer. -type PduidInformation struct { - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` - // Contains the PDUID. - Pduid string `json:"pduid" yaml:"pduid" bson:"pduid,omitempty"` -} diff --git a/models/models/model_pei_update_info.go b/models/models/model_pei_update_info.go deleted file mode 100644 index fee9454b..00000000 --- a/models/models/model_pei_update_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PeiUpdateInfo struct { - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei" yaml:"pei" bson:"pei,omitempty"` -} diff --git a/models/models/model_pending_policy_counter_status.go b/models/models/model_pending_policy_counter_status.go deleted file mode 100644 index b31d7bb1..00000000 --- a/models/models/model_pending_policy_counter_status.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the data structure presenting the pending policy counter status. -type PendingPolicyCounterStatus struct { - // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. - PolicyCounterStatus string `json:"policyCounterStatus" yaml:"policyCounterStatus" bson:"policyCounterStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ActivationTime *time.Time `json:"activationTime" yaml:"activationTime" bson:"activationTime,omitempty"` -} diff --git a/models/models/model_per_ue_attribute.go b/models/models/model_per_ue_attribute.go deleted file mode 100644 index 9fd1b2e3..00000000 --- a/models/models/model_per_ue_attribute.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// UE application data collected per UE. -type PerUeAttribute struct { - UeDest *LocationArea5G `json:"ueDest,omitempty" yaml:"ueDest" bson:"ueDest,omitempty"` - Route string `json:"route,omitempty" yaml:"route" bson:"route,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AvgSpeed string `json:"avgSpeed,omitempty" yaml:"avgSpeed" bson:"avgSpeed,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeOfArrival *time.Time `json:"timeOfArrival,omitempty" yaml:"timeOfArrival" bson:"timeOfArrival,omitempty"` -} diff --git a/models/models/model_perf_data.go b/models/models/model_perf_data.go deleted file mode 100644 index a4fe0428..00000000 --- a/models/models/model_perf_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents DN performance data. -type PerfData struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AvePacketDelay int32 `json:"avePacketDelay,omitempty" yaml:"avePacketDelay" bson:"avePacketDelay,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` -} diff --git a/models/models/model_performance_data.go b/models/models/model_performance_data.go deleted file mode 100644 index 4feb33b9..00000000 --- a/models/models/model_performance_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains Performance Data. -type PerformanceData struct { - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - Plr int32 `json:"plr,omitempty" yaml:"plr" bson:"plr,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` -} diff --git a/models/models/model_performance_data_collection.go b/models/models/model_performance_data_collection.go deleted file mode 100644 index 686878a6..00000000 --- a/models/models/model_performance_data_collection.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains Performance Data Analytics related information collection. -type PerformanceDataCollection struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - UeLoc *LocationArea5G `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` - AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` - AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` - PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/models/model_performance_data_info.go b/models/models/model_performance_data_info.go deleted file mode 100644 index a36a43e3..00000000 --- a/models/models/model_performance_data_info.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains Performance Data Analytics related information collection. -type PerformanceDataInfo struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - AppLocs []string `json:"appLocs,omitempty" yaml:"appLocs" bson:"appLocs,omitempty"` - AsAddr *AddrFqdn `json:"asAddr,omitempty" yaml:"asAddr" bson:"asAddr,omitempty"` - PerfData *PerformanceData `json:"perfData" yaml:"perfData" bson:"perfData,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/models/model_periodic_communication_indicator.go b/models/models/model_periodic_communication_indicator.go deleted file mode 100644 index 23b9ce6c..00000000 --- a/models/models/model_periodic_communication_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PeriodicCommunicationIndicator string - -// List of PeriodicCommunicationIndicator -const ( - PeriodicCommunicationIndicator_PIORIODICALLY PeriodicCommunicationIndicator = "PIORIODICALLY" - PeriodicCommunicationIndicator_ON_DEMAND PeriodicCommunicationIndicator = "ON_DEMAND" -) diff --git a/models/models/model_periodic_event_info.go b/models/models/model_periodic_event_info.go deleted file mode 100644 index c4371f93..00000000 --- a/models/models/model_periodic_event_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the information of periodic event reporting. -type PeriodicEventInfo struct { - // Number of required periodic event reports. - ReportingAmount int32 `json:"reportingAmount" yaml:"reportingAmount" bson:"reportingAmount,omitempty"` - // Event reporting periodic interval in seconds. - ReportingInterval int32 `json:"reportingInterval" yaml:"reportingInterval" bson:"reportingInterval,omitempty"` - ReportingInfiniteInd bool `json:"reportingInfiniteInd,omitempty" yaml:"reportingInfiniteInd" bson:"reportingInfiniteInd,omitempty"` - // Event reporting periodic interval in milliseconds. - ReportingIntervalMs int32 `json:"reportingIntervalMs,omitempty" yaml:"reportingIntervalMs" bson:"reportingIntervalMs,omitempty"` -} diff --git a/models/models/model_periodicity.go b/models/models/model_periodicity.go deleted file mode 100644 index 4493ef76..00000000 --- a/models/models/model_periodicity.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Periodicity string - -// List of Periodicity -const ( - Periodicity_YEARLY Periodicity = "YEARLY" - Periodicity_MONTHLY Periodicity = "MONTHLY" - Periodicity_WEEKLY Periodicity = "WEEKLY" - Periodicity_DAILY Periodicity = "DAILY" - Periodicity_HOURLY Periodicity = "HOURLY" -) diff --git a/models/models/model_pfd_change_notification.go b/models/models/model_pfd_change_notification.go deleted file mode 100644 index 0e446619..00000000 --- a/models/models/model_pfd_change_notification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents information related to a notification of PFD change. -type PfdChangeNotification struct { - // String providing an application identifier. - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` - // Indication of removal of PFDs for an existing application identifier. Set to true indicates the PFDs are removed. Set to false indicates the PFDs are not removed. Default value is false if omitted. - RemovalFlag bool `json:"removalFlag,omitempty" yaml:"removalFlag" bson:"removalFlag,omitempty"` - // Indication of partial update of PFDs for an existing application identifier if this operation is supported according to feature negotiation. Set to true indicates partial update PFDs for the included application identifier. Set to false indicates not partial update PFDs for the included application identifier. Default value is \"false\" if omitted. - PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` - Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` -} diff --git a/models/models/model_pfd_change_report.go b/models/models/model_pfd_change_report.go deleted file mode 100644 index c0da961a..00000000 --- a/models/models/model_pfd_change_report.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an error report on PFD change. -type PfdChangeReport struct { - PfdError *ProblemDetails `json:"pfdError" yaml:"pfdError" bson:"pfdError,omitempty"` - ApplicationId []string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` -} diff --git a/models/models/model_pfd_content.go b/models/models/model_pfd_content.go deleted file mode 100644 index 2b1c6c88..00000000 --- a/models/models/model_pfd_content.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the content of a PFD for an application identifier. -type PfdContent struct { - // Identifies a PDF of an application identifier. - PfdId string `json:"pfdId,omitempty" yaml:"pfdId" bson:"pfdId,omitempty"` - // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions,omitempty"` - // Indicates a URL or a regular expression which is used to match the significant parts of the URL. - Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls,omitempty"` - // Indicates an FQDN or a regular expression as a domain name matching criteria. - DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames,omitempty"` - DnProtocol DomainNameProtocol `json:"dnProtocol,omitempty" yaml:"dnProtocol" bson:"dnProtocol,omitempty"` -} diff --git a/models/models/model_pfd_data_for_app.go b/models/models/model_pfd_data_for_app.go deleted file mode 100644 index b9d53dc7..00000000 --- a/models/models/model_pfd_data_for_app.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the PFDs for an application identifier. -type PfdDataForApp struct { - // String providing an application identifier. - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` - Pfds []PfdContent `json:"pfds,omitempty" yaml:"pfds" bson:"pfds,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` - // indicating a time in seconds. - CachingTimer int32 `json:"cachingTimer,omitempty" yaml:"cachingTimer" bson:"cachingTimer,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - PfdTimestamp *time.Time `json:"pfdTimestamp,omitempty" yaml:"pfdTimestamp" bson:"pfdTimestamp,omitempty"` - // Indication of partial update of PFDs for an existing application identifier if it is included and set to true. Otherwise set to false indicates not supporting partial update of PFDs for an existing application identifier. The default value false applies if the attribute is not present. - PartialFlag bool `json:"partialFlag,omitempty" yaml:"partialFlag" bson:"partialFlag,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pfd_data_for_app_ext.go b/models/models/model_pfd_data_for_app_ext.go deleted file mode 100644 index 94520629..00000000 --- a/models/models/model_pfd_data_for_app_ext.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the PFDs and related data for the application. -type PfdDataForAppExt struct { - // String providing an application identifier. - ApplicationId string `json:"applicationId" yaml:"applicationId" bson:"applicationId,omitempty"` - Pfds []PfdContent `json:"pfds" yaml:"pfds" bson:"pfds,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - CachingTime *time.Time `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - // indicating a time in seconds. - AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay,omitempty"` -} diff --git a/models/models/model_pfd_operation.go b/models/models/model_pfd_operation.go deleted file mode 100644 index 9b5a13db..00000000 --- a/models/models/model_pfd_operation.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PfdOperation string - -// List of PfdOperation -const ( - PfdOperation_RETRIEVE PfdOperation = "RETRIEVE" - PfdOperation_FULLPULL PfdOperation = "FULLPULL" - PfdOperation_PARTIALPULL PfdOperation = "PARTIALPULL" - PfdOperation_REMOVE PfdOperation = "REMOVE" -) diff --git a/models/models/model_pfd_subscription.go b/models/models/model_pfd_subscription.go deleted file mode 100644 index 87b9dd3b..00000000 --- a/models/models/model_pfd_subscription.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_PFDmanagement Service API - * - * Packet Flow Description Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.551 v17.9.0, 5G System; Packet Flow Description Management Service - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.551/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a PFD subscription. -type PfdSubscription struct { - ApplicationIds []string `json:"applicationIds,omitempty" yaml:"applicationIds" bson:"applicationIds,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifyUri string `json:"notifyUri" yaml:"notifyUri" bson:"notifyUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pfi_container_information.go b/models/models/model_pfi_container_information.go deleted file mode 100644 index fd8e4f50..00000000 --- a/models/models/model_pfi_container_information.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PfiContainerInformation struct { - PFI string `json:"pFI,omitempty" yaml:"pFI" bson:"pFI,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ReportTime *time.Time `json:"reportTime,omitempty" yaml:"reportTime" bson:"reportTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofFirstUsage *time.Time `json:"timeofFirstUsage,omitempty" yaml:"timeofFirstUsage" bson:"timeofFirstUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimeofLastUsage *time.Time `json:"timeofLastUsage,omitempty" yaml:"timeofLastUsage" bson:"timeofLastUsage,omitempty"` - QoSInformation *QosData `json:"qoSInformation,omitempty" yaml:"qoSInformation" bson:"qoSInformation,omitempty"` - QoSCharacteristics *QosCharacteristics `json:"qoSCharacteristics,omitempty" yaml:"qoSCharacteristics" bson:"qoSCharacteristics,omitempty"` - UserLocationInformation *UserLocation `json:"userLocationInformation,omitempty" yaml:"userLocationInformation" bson:"userLocationInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - PresenceReportingAreaInformation map[string]PresenceInfo `json:"presenceReportingAreaInformation,omitempty" yaml:"presenceReportingAreaInformation" bson:"presenceReportingAreaInformation,omitempty"` -} diff --git a/models/models/model_pgw_info.go b/models/models/model_pgw_info.go deleted file mode 100644 index 05bf66d6..00000000 --- a/models/models/model_pgw_info.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PgwInfo struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` -} diff --git a/models/models/model_play_to_party.go b/models/models/model_play_to_party.go deleted file mode 100644 index f5e5a765..00000000 --- a/models/models/model_play_to_party.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PlayToParty string - -// List of PlayToParty -const ( - PlayToParty_SERVED PlayToParty = "SERVED" - PlayToParty_REMOTE PlayToParty = "REMOTE" -) diff --git a/models/models/model_plmn_ec_info.go b/models/models/model_plmn_ec_info.go deleted file mode 100644 index 3184afb4..00000000 --- a/models/models/model_plmn_ec_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PlmnEcInfo struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - EcRestrictionDataWb *UdmSdmEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` - EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` -} diff --git a/models/models/model_plmn_id.go b/models/models/model_plmn_id.go deleted file mode 100644 index 68fe5d32..00000000 --- a/models/models/model_plmn_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// When PlmnId needs to be converted to string (e.g. when used in maps as key), the string shall be composed of three digits \"mcc\" followed by \"-\" and two or three digits \"mnc\". -type PlmnId struct { - // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. - Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` - // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. - Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` -} diff --git a/models/models/model_plmn_id_nid.go b/models/models/model_plmn_id_nid.go deleted file mode 100644 index b45183d8..00000000 --- a/models/models/model_plmn_id_nid.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the serving core network operator PLMN ID and, for an SNPN, the NID that together with the PLMN ID identifies the SNPN. -type PlmnIdNid struct { - // Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. - Mcc string `json:"mcc" yaml:"mcc" bson:"mcc,omitempty"` - // Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413. - Mnc string `json:"mnc" yaml:"mnc" bson:"mnc,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_plmn_oauth2.go b/models/models/model_plmn_oauth2.go deleted file mode 100644 index b1b6408d..00000000 --- a/models/models/model_plmn_oauth2.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Oauth2.0 required indication for a given PLMN ID -type PlmnOauth2 struct { - Oauth2RequiredPlmnIdList []PlmnId `json:"oauth2RequiredPlmnIdList,omitempty" yaml:"oauth2RequiredPlmnIdList" bson:"oauth2RequiredPlmnIdList,omitempty"` - Oauth2NotRequiredPlmnIdList []PlmnId `json:"oauth2NotRequiredPlmnIdList,omitempty" yaml:"oauth2NotRequiredPlmnIdList" bson:"oauth2NotRequiredPlmnIdList,omitempty"` -} diff --git a/models/models/model_plmn_operator_class.go b/models/models/model_plmn_operator_class.go deleted file mode 100644 index a70e0786..00000000 --- a/models/models/model_plmn_operator_class.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PlmnOperatorClass struct { - LcsClientClass LcsClientClass `json:"lcsClientClass" yaml:"lcsClientClass" bson:"lcsClientClass,omitempty"` - LcsClientIds []string `json:"lcsClientIds" yaml:"lcsClientIds" bson:"lcsClientIds,omitempty"` -} diff --git a/models/models/model_plmn_range.go b/models/models/model_plmn_range.go deleted file mode 100644 index 5e19e0a6..00000000 --- a/models/models/model_plmn_range.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of PLMN IDs -type PlmnRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_plmn_restriction.go b/models/models/model_plmn_restriction.go deleted file mode 100644 index 29160321..00000000 --- a/models/models/model_plmn_restriction.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PlmnRestriction struct { - RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` - ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` - ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` - CoreNetworkTypeRestrictions []CoreNetworkType `json:"coreNetworkTypeRestrictions,omitempty" yaml:"coreNetworkTypeRestrictions" bson:"coreNetworkTypeRestrictions,omitempty"` - PrimaryRatRestrictions []RatType `json:"primaryRatRestrictions,omitempty" yaml:"primaryRatRestrictions" bson:"primaryRatRestrictions,omitempty"` - SecondaryRatRestrictions []RatType `json:"secondaryRatRestrictions,omitempty" yaml:"secondaryRatRestrictions" bson:"secondaryRatRestrictions,omitempty"` -} diff --git a/models/models/model_plmn_route_selection_descriptor.go b/models/models/model_plmn_route_selection_descriptor.go deleted file mode 100644 index da88f3d6..00000000 --- a/models/models/model_plmn_route_selection_descriptor.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the route selection descriptors (combinations of SNSSAI, DNNs, PDU session types, SSC modes and ATSSS information) allowed by subscription to the UE for a serving PLMN -type PlmnRouteSelectionDescriptor struct { - ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` - SnssaiRouteSelDescs []SnssaiRouteSelectionDescriptor `json:"snssaiRouteSelDescs,omitempty" yaml:"snssaiRouteSelDescs" bson:"snssaiRouteSelDescs,omitempty"` -} diff --git a/models/models/model_plmn_snssai.go b/models/models/model_plmn_snssai.go deleted file mode 100644 index a05036ff..00000000 --- a/models/models/model_plmn_snssai.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of network slices (S-NSSAIs) for a given PLMN ID -type PlmnSnssai struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_point.go b/models/models/model_point.go deleted file mode 100644 index 482fbb03..00000000 --- a/models/models/model_point.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid Point. -type Point struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` -} diff --git a/models/models/model_point_altitude.go b/models/models/model_point_altitude.go deleted file mode 100644 index 58688271..00000000 --- a/models/models/model_point_altitude.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid point with altitude. -type PointAltitude struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` -} diff --git a/models/models/model_point_altitude_uncertainty.go b/models/models/model_point_altitude_uncertainty.go deleted file mode 100644 index 28300fb3..00000000 --- a/models/models/model_point_altitude_uncertainty.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid point with altitude and uncertainty ellipsoid. -type PointAltitudeUncertainty struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude" yaml:"altitude" bson:"altitude,omitempty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` - // Indicates value of uncertainty. - UncertaintyAltitude float32 `json:"uncertaintyAltitude" yaml:"uncertaintyAltitude" bson:"uncertaintyAltitude,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_point_uncertainty_circle.go b/models/models/model_point_uncertainty_circle.go deleted file mode 100644 index 7ad5cb79..00000000 --- a/models/models/model_point_uncertainty_circle.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid point with uncertainty circle. -type PointUncertaintyCircle struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - // Indicates value of uncertainty. - Uncertainty float32 `json:"uncertainty" yaml:"uncertainty" bson:"uncertainty,omitempty"` -} diff --git a/models/models/model_point_uncertainty_ellipse.go b/models/models/model_point_uncertainty_ellipse.go deleted file mode 100644 index 1f7e29e9..00000000 --- a/models/models/model_point_uncertainty_ellipse.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid point with uncertainty ellipse. -type PointUncertaintyEllipse struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - Point *LmfLocationGeographicalCoordinates `json:"point" yaml:"point" bson:"point,omitempty"` - UncertaintyEllipse *UncertaintyEllipse `json:"uncertaintyEllipse" yaml:"uncertaintyEllipse" bson:"uncertaintyEllipse,omitempty"` - // Indicates value of confidence. - Confidence int32 `json:"confidence" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_policy_association_release_cause.go b/models/models/model_policy_association_release_cause.go deleted file mode 100644 index 969b8e32..00000000 --- a/models/models/model_policy_association_release_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyAssociationReleaseCause string - -// List of PolicyAssociationReleaseCause -const ( - PolicyAssociationReleaseCause_UNSPECIFIED PolicyAssociationReleaseCause = "UNSPECIFIED" - PolicyAssociationReleaseCause_UE_SUBSCRIPTION PolicyAssociationReleaseCause = "UE_SUBSCRIPTION" - PolicyAssociationReleaseCause_INSUFFICIENT_RES PolicyAssociationReleaseCause = "INSUFFICIENT_RES" -) diff --git a/models/models/model_policy_control_request_trigger.go b/models/models/model_policy_control_request_trigger.go deleted file mode 100644 index 0a4a7469..00000000 --- a/models/models/model_policy_control_request_trigger.go +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyControlRequestTrigger string - -// List of PolicyControlRequestTrigger -const ( - PolicyControlRequestTrigger_PLMN_CH PolicyControlRequestTrigger = "PLMN_CH" - PolicyControlRequestTrigger_RES_MO_RE PolicyControlRequestTrigger = "RES_MO_RE" - PolicyControlRequestTrigger_AC_TY_CH PolicyControlRequestTrigger = "AC_TY_CH" - PolicyControlRequestTrigger_UE_IP_CH PolicyControlRequestTrigger = "UE_IP_CH" - PolicyControlRequestTrigger_UE_MAC_CH PolicyControlRequestTrigger = "UE_MAC_CH" - PolicyControlRequestTrigger_AN_CH_COR PolicyControlRequestTrigger = "AN_CH_COR" - PolicyControlRequestTrigger_US_RE PolicyControlRequestTrigger = "US_RE" - PolicyControlRequestTrigger_APP_STA PolicyControlRequestTrigger = "APP_STA" - PolicyControlRequestTrigger_APP_STO PolicyControlRequestTrigger = "APP_STO" - PolicyControlRequestTrigger_AN_INFO PolicyControlRequestTrigger = "AN_INFO" - PolicyControlRequestTrigger_CM_SES_FAIL PolicyControlRequestTrigger = "CM_SES_FAIL" - PolicyControlRequestTrigger_PS_DA_OFF PolicyControlRequestTrigger = "PS_DA_OFF" - PolicyControlRequestTrigger_DEF_QOS_CH PolicyControlRequestTrigger = "DEF_QOS_CH" - PolicyControlRequestTrigger_SE_AMBR_CH PolicyControlRequestTrigger = "SE_AMBR_CH" - PolicyControlRequestTrigger_QOS_NOTIF PolicyControlRequestTrigger = "QOS_NOTIF" - PolicyControlRequestTrigger_NO_CREDIT PolicyControlRequestTrigger = "NO_CREDIT" - PolicyControlRequestTrigger_REALLO_OF_CREDIT PolicyControlRequestTrigger = "REALLO_OF_CREDIT" - PolicyControlRequestTrigger_PRA_CH PolicyControlRequestTrigger = "PRA_CH" - PolicyControlRequestTrigger_SAREA_CH PolicyControlRequestTrigger = "SAREA_CH" - PolicyControlRequestTrigger_SCNN_CH PolicyControlRequestTrigger = "SCNN_CH" - PolicyControlRequestTrigger_RE_TIMEOUT PolicyControlRequestTrigger = "RE_TIMEOUT" - PolicyControlRequestTrigger_RES_RELEASE PolicyControlRequestTrigger = "RES_RELEASE" - PolicyControlRequestTrigger_SUCC_RES_ALLO PolicyControlRequestTrigger = "SUCC_RES_ALLO" - PolicyControlRequestTrigger_RAI_CH PolicyControlRequestTrigger = "RAI_CH" - PolicyControlRequestTrigger_RAT_TY_CH PolicyControlRequestTrigger = "RAT_TY_CH" - PolicyControlRequestTrigger_REF_QOS_IND_CH PolicyControlRequestTrigger = "REF_QOS_IND_CH" - PolicyControlRequestTrigger_NUM_OF_PACKET_FILTER PolicyControlRequestTrigger = "NUM_OF_PACKET_FILTER" - PolicyControlRequestTrigger_UE_STATUS_RESUME PolicyControlRequestTrigger = "UE_STATUS_RESUME" - PolicyControlRequestTrigger_UE_TZ_CH PolicyControlRequestTrigger = "UE_TZ_CH" - PolicyControlRequestTrigger_AUTH_PROF_CH PolicyControlRequestTrigger = "AUTH_PROF_CH" - PolicyControlRequestTrigger_QOS_MONITORING PolicyControlRequestTrigger = "QOS_MONITORING" - PolicyControlRequestTrigger_SCELL_CH PolicyControlRequestTrigger = "SCELL_CH" - PolicyControlRequestTrigger_USER_LOCATION_CH PolicyControlRequestTrigger = "USER_LOCATION_CH" - PolicyControlRequestTrigger_EPS_FALLBACK PolicyControlRequestTrigger = "EPS_FALLBACK" - PolicyControlRequestTrigger_MA_PDU PolicyControlRequestTrigger = "MA_PDU" - PolicyControlRequestTrigger_TSN_BRIDGE_INFO PolicyControlRequestTrigger = "TSN_BRIDGE_INFO" - PolicyControlRequestTrigger__5_G_RG_JOIN PolicyControlRequestTrigger = "5G_RG_JOIN" - PolicyControlRequestTrigger__5_G_RG_LEAVE PolicyControlRequestTrigger = "5G_RG_LEAVE" - PolicyControlRequestTrigger_DDN_FAILURE PolicyControlRequestTrigger = "DDN_FAILURE" - PolicyControlRequestTrigger_DDN_DELIVERY_STATUS PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS" - PolicyControlRequestTrigger_GROUP_ID_LIST_CHG PolicyControlRequestTrigger = "GROUP_ID_LIST_CHG" - PolicyControlRequestTrigger_DDN_FAILURE_CANCELLATION PolicyControlRequestTrigger = "DDN_FAILURE_CANCELLATION" - PolicyControlRequestTrigger_DDN_DELIVERY_STATUS_CANCELLATION PolicyControlRequestTrigger = "DDN_DELIVERY_STATUS_CANCELLATION" - PolicyControlRequestTrigger_VPLMN_QOS_CH PolicyControlRequestTrigger = "VPLMN_QOS_CH" - PolicyControlRequestTrigger_SUCC_QOS_UPDATE PolicyControlRequestTrigger = "SUCC_QOS_UPDATE" - PolicyControlRequestTrigger_SAT_CATEGORY_CHG PolicyControlRequestTrigger = "SAT_CATEGORY_CHG" - PolicyControlRequestTrigger_PCF_UE_NOTIF_IND PolicyControlRequestTrigger = "PCF_UE_NOTIF_IND" - PolicyControlRequestTrigger_NWDAF_DATA_CHG PolicyControlRequestTrigger = "NWDAF_DATA_CHG" -) diff --git a/models/models/model_policy_counter_info.go b/models/models/model_policy_counter_info.go deleted file mode 100644 index a98b042d..00000000 --- a/models/models/model_policy_counter_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the data structure presenting the policy counter status. -type PolicyCounterInfo struct { - // Identifies a policy counter. - PolicyCounterId string `json:"policyCounterId" yaml:"policyCounterId" bson:"policyCounterId,omitempty"` - // Identifies the policy counter status applicable for a specific policy counter identified by the policyCounterId. The values (e.g. valid, invalid or any other status) are not specified. The interpretation and actions related to the defined values are out of scope of 3GPP. - CurrentStatus string `json:"currentStatus" yaml:"currentStatus" bson:"currentStatus,omitempty"` - // Provides the pending policy counter status. - PenPolCounterStatuses []PendingPolicyCounterStatus `json:"penPolCounterStatuses,omitempty" yaml:"penPolCounterStatuses" bson:"penPolCounterStatuses,omitempty"` -} diff --git a/models/models/model_policy_data_change_notification.go b/models/models/model_policy_data_change_notification.go deleted file mode 100644 index c25dfe3f..00000000 --- a/models/models/model_policy_data_change_notification.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains changed policy data for which notification was requested. -type PolicyDataChangeNotification struct { - AmPolicyData *AmPolicyData `json:"amPolicyData,omitempty" yaml:"amPolicyData" bson:"amPolicyData,omitempty"` - UePolicySet *UePolicySet `json:"uePolicySet,omitempty" yaml:"uePolicySet" bson:"uePolicySet,omitempty"` - PlmnUePolicySet *UePolicySet `json:"plmnUePolicySet,omitempty" yaml:"plmnUePolicySet" bson:"plmnUePolicySet,omitempty"` - SmPolicyData *SmPolicyData `json:"smPolicyData,omitempty" yaml:"smPolicyData" bson:"smPolicyData,omitempty"` - UsageMonData *UsageMonData `json:"usageMonData,omitempty" yaml:"usageMonData" bson:"usageMonData,omitempty"` - SponsorConnectivityData *SponsorConnectivityData `json:"SponsorConnectivityData,omitempty" yaml:"SponsorConnectivityData" bson:"SponsorConnectivityData,omitempty"` - BdtData *BdtData `json:"bdtData,omitempty" yaml:"bdtData" bson:"bdtData,omitempty"` - OpSpecData *OperatorSpecificDataContainer `json:"opSpecData,omitempty" yaml:"opSpecData" bson:"opSpecData,omitempty"` - // Operator Specific Data resource data, if changed and notification was requested. The key of the map is operator specific data element name and the value is the operator specific data of the UE. - OpSpecDataMap map[string]OperatorSpecificDataContainer `json:"opSpecDataMap,omitempty" yaml:"opSpecDataMap" bson:"opSpecDataMap,omitempty"` - // String represents the SUPI or GPSI - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` - SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId,omitempty"` - // string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - UsageMonId string `json:"usageMonId,omitempty" yaml:"usageMonId" bson:"usageMonId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - DelResources []string `json:"delResources,omitempty" yaml:"delResources" bson:"delResources,omitempty"` - NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` - ReportedFragments []NotificationItem `json:"reportedFragments,omitempty" yaml:"reportedFragments" bson:"reportedFragments,omitempty"` - SlicePolicyData *SlicePolicyData `json:"slicePolicyData,omitempty" yaml:"slicePolicyData" bson:"slicePolicyData,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` -} diff --git a/models/models/model_policy_data_for_individual_ue.go b/models/models/model_policy_data_for_individual_ue.go deleted file mode 100644 index c47643bc..00000000 --- a/models/models/model_policy_data_for_individual_ue.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains policy data for a given subscriber. -type PolicyDataForIndividualUe struct { - UePolicyDataSet *UePolicySet `json:"uePolicyDataSet,omitempty" yaml:"uePolicyDataSet" bson:"uePolicyDataSet,omitempty"` - SmPolicyDataSet *SmPolicyData `json:"smPolicyDataSet,omitempty" yaml:"smPolicyDataSet" bson:"smPolicyDataSet,omitempty"` - AmPolicyDataSet *AmPolicyData `json:"amPolicyDataSet,omitempty" yaml:"amPolicyDataSet" bson:"amPolicyDataSet,omitempty"` - // Contains UM policies. The value of the limit identifier is used as the key of the map. - UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` - // Contains Operator Specific Data resource data. The key of the map is operator specific data element name and the value is the operator specific data of the UE. - OperatorSpecificDataSet map[string]OperatorSpecificDataContainer `json:"operatorSpecificDataSet,omitempty" yaml:"operatorSpecificDataSet" bson:"operatorSpecificDataSet,omitempty"` -} diff --git a/models/models/model_policy_data_subscription.go b/models/models/model_policy_data_subscription.go deleted file mode 100644 index cf78ac81..00000000 --- a/models/models/model_policy_data_subscription.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Identifies a subscription to policy data change notification. -type PolicyDataSubscription struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - MonResItems []ResourceItem `json:"monResItems,omitempty" yaml:"monResItems" bson:"monResItems,omitempty"` - ExcludedResItems []ResourceItem `json:"excludedResItems,omitempty" yaml:"excludedResItems" bson:"excludedResItems,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_policy_data_subset.go b/models/models/model_policy_data_subset.go deleted file mode 100644 index 1780540b..00000000 --- a/models/models/model_policy_data_subset.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyDataSubset string - -// List of PolicyDataSubset -const ( - PolicyDataSubset_AM_POLICY_DATA PolicyDataSubset = "AM_POLICY_DATA" - PolicyDataSubset_SM_POLICY_DATA PolicyDataSubset = "SM_POLICY_DATA" - PolicyDataSubset_UE_POLICY_DATA PolicyDataSubset = "UE_POLICY_DATA" - PolicyDataSubset_UM_DATA PolicyDataSubset = "UM_DATA" - PolicyDataSubset_OPERATOR_SPECIFIC_DATA PolicyDataSubset = "OPERATOR_SPECIFIC_DATA" -) diff --git a/models/models/model_policy_decision_failure_code.go b/models/models/model_policy_decision_failure_code.go deleted file mode 100644 index 0228fb2c..00000000 --- a/models/models/model_policy_decision_failure_code.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyDecisionFailureCode string - -// List of PolicyDecisionFailureCode -const ( - PolicyDecisionFailureCode_TRA_CTRL_DECS_ERR PolicyDecisionFailureCode = "TRA_CTRL_DECS_ERR" - PolicyDecisionFailureCode_QOS_DECS_ERR PolicyDecisionFailureCode = "QOS_DECS_ERR" - PolicyDecisionFailureCode_CHG_DECS_ERR PolicyDecisionFailureCode = "CHG_DECS_ERR" - PolicyDecisionFailureCode_USA_MON_DECS_ERR PolicyDecisionFailureCode = "USA_MON_DECS_ERR" - PolicyDecisionFailureCode_QOS_MON_DECS_ERR PolicyDecisionFailureCode = "QOS_MON_DECS_ERR" - PolicyDecisionFailureCode_CON_DATA_ERR PolicyDecisionFailureCode = "CON_DATA_ERR" - PolicyDecisionFailureCode_POLICY_PARAM_ERR PolicyDecisionFailureCode = "POLICY_PARAM_ERR" -) diff --git a/models/models/model_policy_req_trigger.go b/models/models/model_policy_req_trigger.go deleted file mode 100644 index 4dab1229..00000000 --- a/models/models/model_policy_req_trigger.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PolicyReqTrigger string - -// List of PolicyReqTrigger -const ( - PolicyReqTrigger_LOCATION_CHANGE PolicyReqTrigger = "LOCATION_CHANGE" - PolicyReqTrigger_PRA_CHANGE PolicyReqTrigger = "PRA_CHANGE" - PolicyReqTrigger_ALLOWED_NSSAI_CHANGE PolicyReqTrigger = "ALLOWED_NSSAI_CHANGE" - PolicyReqTrigger_NWDAF_DATA_CHANGE PolicyReqTrigger = "NWDAF_DATA_CHANGE" - PolicyReqTrigger_PLMN_CHANGE PolicyReqTrigger = "PLMN_CHANGE" - PolicyReqTrigger_CON_STATE_CHANGE PolicyReqTrigger = "CON_STATE_CHANGE" - PolicyReqTrigger_SMF_SELECT_CHANGE PolicyReqTrigger = "SMF_SELECT_CHANGE" - PolicyReqTrigger_ACCESS_TYPE_CHANGE PolicyReqTrigger = "ACCESS_TYPE_CHANGE" -) diff --git a/models/models/model_polygon.go b/models/models/model_polygon.go deleted file mode 100644 index 7fc3986a..00000000 --- a/models/models/model_polygon.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Polygon. -type Polygon struct { - Shape SupportedGadShapes `json:"shape" yaml:"shape" bson:"shape,omitempty"` - // List of points. - PointList []LmfLocationGeographicalCoordinates `json:"pointList" yaml:"pointList" bson:"pointList,omitempty"` -} diff --git a/models/models/model_port_management_container.go b/models/models/model_port_management_container.go deleted file mode 100644 index cdfc84d4..00000000 --- a/models/models/model_port_management_container.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the port management information container for a port. -type PortManagementContainer struct { - // string with format 'bytes' as defined in OpenAPI - PortManCont string `json:"portManCont" yaml:"portManCont" bson:"portManCont,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PortNum int32 `json:"portNum" yaml:"portNum" bson:"portNum,omitempty"` -} diff --git a/models/models/model_positioning_method.go b/models/models/model_positioning_method.go deleted file mode 100644 index 648307da..00000000 --- a/models/models/model_positioning_method.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PositioningMethod string - -// List of PositioningMethod -const ( - PositioningMethod_CELLID PositioningMethod = "CELLID" - PositioningMethod_ECID PositioningMethod = "ECID" - PositioningMethod_OTDOA PositioningMethod = "OTDOA" - PositioningMethod_BAROMETRIC_PRESSURE PositioningMethod = "BAROMETRIC_PRESSURE" - PositioningMethod_WLAN PositioningMethod = "WLAN" - PositioningMethod_BLUETOOTH PositioningMethod = "BLUETOOTH" - PositioningMethod_MBS PositioningMethod = "MBS" - PositioningMethod_MOTION_SENSOR PositioningMethod = "MOTION_SENSOR" - PositioningMethod_DL_TDOA PositioningMethod = "DL_TDOA" - PositioningMethod_DL_AOD PositioningMethod = "DL_AOD" - PositioningMethod_MULTI_RTT PositioningMethod = "MULTI-RTT" - PositioningMethod_NR_ECID PositioningMethod = "NR_ECID" - PositioningMethod_UL_TDOA PositioningMethod = "UL_TDOA" - PositioningMethod_UL_AOA PositioningMethod = "UL_AOA" - PositioningMethod_NETWORK_SPECIFIC PositioningMethod = "NETWORK_SPECIFIC" -) diff --git a/models/models/model_positioning_method_and_usage.go b/models/models/model_positioning_method_and_usage.go deleted file mode 100644 index df11072e..00000000 --- a/models/models/model_positioning_method_and_usage.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the usage of a positioning method. -type PositioningMethodAndUsage struct { - Method PositioningMethod `json:"method" yaml:"method" bson:"method,omitempty"` - Mode PositioningMode `json:"mode" yaml:"mode" bson:"mode,omitempty"` - Usage Usage `json:"usage" yaml:"usage" bson:"usage,omitempty"` - MethodCode int32 `json:"methodCode,omitempty" yaml:"methodCode" bson:"methodCode,omitempty"` -} diff --git a/models/models/model_positioning_method_mdt.go b/models/models/model_positioning_method_mdt.go deleted file mode 100644 index b79d4ff7..00000000 --- a/models/models/model_positioning_method_mdt.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PositioningMethodMdt string - -// List of PositioningMethodMdt -const ( - PositioningMethodMdt_GNSS PositioningMethodMdt = "GNSS" - PositioningMethodMdt_E_CELL_ID PositioningMethodMdt = "E_CELL_ID" -) diff --git a/models/models/model_positioning_mode.go b/models/models/model_positioning_mode.go deleted file mode 100644 index d487d4f9..00000000 --- a/models/models/model_positioning_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PositioningMode string - -// List of PositioningMode -const ( - PositioningMode_UE_BASED PositioningMode = "UE_BASED" - PositioningMode_UE_ASSISTED PositioningMode = "UE_ASSISTED" - PositioningMode_CONVENTIONAL PositioningMode = "CONVENTIONAL" -) diff --git a/models/models/model_post_charging_data_response_400.go b/models/models/model_post_charging_data_response_400.go deleted file mode 100644 index efb1671f..00000000 --- a/models/models/model_post_charging_data_response_400.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PostChargingDataResponse400 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_post_charging_data_response_403.go b/models/models/model_post_charging_data_response_403.go deleted file mode 100644 index 78af9203..00000000 --- a/models/models/model_post_charging_data_response_403.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PostChargingDataResponse403 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_post_charging_data_response_404.go b/models/models/model_post_charging_data_response_404.go deleted file mode 100644 index e2cc1d55..00000000 --- a/models/models/model_post_charging_data_response_404.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PostChargingDataResponse404 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_post_charging_notification_response_400.go b/models/models/model_post_charging_notification_response_400.go deleted file mode 100644 index 8e08729c..00000000 --- a/models/models/model_post_charging_notification_response_400.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostChargingNotificationResponse400 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` -} diff --git a/models/models/model_post_pdu_sessions_request.go b/models/models/model_post_pdu_sessions_request.go deleted file mode 100644 index 02990c5e..00000000 --- a/models/models/model_post_pdu_sessions_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostPduSessionsRequest struct { - JsonData *PduSessionCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` -} diff --git a/models/models/model_post_pdu_sessions_response_201.go b/models/models/model_post_pdu_sessions_response_201.go deleted file mode 100644 index d3cb9c2e..00000000 --- a/models/models/model_post_pdu_sessions_response_201.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostPduSessionsResponse201 struct { - JsonData *PduSessionCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` -} diff --git a/models/models/model_post_pdu_sessions_response_400.go b/models/models/model_post_pdu_sessions_response_400.go deleted file mode 100644 index d20a69bf..00000000 --- a/models/models/model_post_pdu_sessions_response_400.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostPduSessionsResponse400 struct { - JsonData *PduSessionCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` -} diff --git a/models/models/model_post_sm_contexts_request.go b/models/models/model_post_sm_contexts_request.go deleted file mode 100644 index 5ee5d1ae..00000000 --- a/models/models/model_post_sm_contexts_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsRequest struct { - JsonData *SmfPduSessionSmContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` - BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` -} diff --git a/models/models/model_post_sm_contexts_response_201.go b/models/models/model_post_sm_contexts_response_201.go deleted file mode 100644 index 904c981a..00000000 --- a/models/models/model_post_sm_contexts_response_201.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsResponse201 struct { - JsonData *SmfPduSessionSmContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` -} diff --git a/models/models/model_post_sm_contexts_response_400.go b/models/models/model_post_sm_contexts_response_400.go deleted file mode 100644 index 8cc87d09..00000000 --- a/models/models/model_post_sm_contexts_response_400.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsResponse400 struct { - JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty"` -} diff --git a/models/models/model_pp5g_mbs_group_profile_data.go b/models/models/model_pp5g_mbs_group_profile_data.go deleted file mode 100644 index 411507f5..00000000 --- a/models/models/model_pp5g_mbs_group_profile_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Pp5gMbsGroupProfileData struct { - // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMbsInfos lists. In addition to defined external MBS group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMbsInfo that are allowed operating all the external group identifiers. - AllowedMbsInfos map[string][]AllowedMbsInfo `json:"allowedMbsInfos,omitempty" yaml:"allowedMbsInfos" bson:"allowedMbsInfos,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pp5g_vn_group_profile_data.go b/models/models/model_pp5g_vn_group_profile_data.go deleted file mode 100644 index 7193aa9b..00000000 --- a/models/models/model_pp5g_vn_group_profile_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Pp5gVnGroupProfileData struct { - // A map (list of key-value pairs where external VN group identifier serves as key) of AllowedMtcProviderInfo lists. In addition to defined external VN group identifier, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed operating all the external group identifiers. - AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pp_active_time.go b/models/models/model_pp_active_time.go deleted file mode 100644 index 43d9e8ae..00000000 --- a/models/models/model_pp_active_time.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpActiveTime struct { - // indicating a time in seconds. - ActiveTime int32 `json:"activeTime" yaml:"activeTime" bson:"activeTime,omitempty"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_pp_data.go b/models/models/model_pp_data.go deleted file mode 100644 index bfa4dc26..00000000 --- a/models/models/model_pp_data.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PpData struct { - CommunicationCharacteristics *CommunicationCharacteristics `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ExpectedUeBehaviourParameters *ExpectedUeBehaviour `json:"expectedUeBehaviourParameters,omitempty" yaml:"expectedUeBehaviourParameters" bson:"expectedUeBehaviourParameters,omitempty"` - EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` - AcsInfo *AcsInfo `json:"acsInfo,omitempty" yaml:"acsInfo" bson:"acsInfo,omitempty"` - // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003 with the OpenAPI 'nullable: true' property. - StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` - LcsPrivacy *LcsPrivacy `json:"lcsPrivacy,omitempty" yaml:"lcsPrivacy" bson:"lcsPrivacy,omitempty"` - SorInfo *UdmSdmSorInfo `json:"sorInfo,omitempty" yaml:"sorInfo" bson:"sorInfo,omitempty"` - Var5mbsAuthorizationInfo *Model5MbsAuthorizationInfo `json:"5mbsAuthorizationInfo,omitempty" yaml:"5mbsAuthorizationInfo" bson:"5mbsAuthorizationInfo,omitempty"` -} diff --git a/models/models/model_pp_data_entry.go b/models/models/model_pp_data_entry.go deleted file mode 100644 index d0864086..00000000 --- a/models/models/model_pp_data_entry.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpDataEntry struct { - CommunicationCharacteristics *CommunicationCharacteristicsAf `json:"communicationCharacteristics,omitempty" yaml:"communicationCharacteristics" bson:"communicationCharacteristics,omitempty"` - ReferenceId int32 `json:"referenceId,omitempty" yaml:"referenceId" bson:"referenceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - EcsAddrConfigInfo *EcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty" yaml:"ecsAddrConfigInfo" bson:"ecsAddrConfigInfo,omitempty"` - AdditionalEcsAddrConfigInfos []EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty" yaml:"additionalEcsAddrConfigInfos" bson:"additionalEcsAddrConfigInfos,omitempty"` - EcRestriction *EcRestriction `json:"ecRestriction,omitempty" yaml:"ecRestriction" bson:"ecRestriction,omitempty"` -} diff --git a/models/models/model_pp_data_entry_list.go b/models/models/model_pp_data_entry_list.go deleted file mode 100644 index fc1ea1a9..00000000 --- a/models/models/model_pp_data_entry_list.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a list of the Provisioned Parameters entries -type PpDataEntryList struct { - PpDataEntryList []*PpDataEntry `json:"ppDataEntryList,omitempty" yaml:"ppDataEntryList" bson:"ppDataEntryList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pp_dl_packet_count_ext.go b/models/models/model_pp_dl_packet_count_ext.go deleted file mode 100644 index 87907ac3..00000000 --- a/models/models/model_pp_dl_packet_count_ext.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpDlPacketCountExt struct { - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_pp_maximum_latency.go b/models/models/model_pp_maximum_latency.go deleted file mode 100644 index dd5a3927..00000000 --- a/models/models/model_pp_maximum_latency.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpMaximumLatency struct { - // indicating a time in seconds. - MaximumLatency int32 `json:"maximumLatency" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_pp_maximum_response_time.go b/models/models/model_pp_maximum_response_time.go deleted file mode 100644 index aef5a545..00000000 --- a/models/models/model_pp_maximum_response_time.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpMaximumResponseTime struct { - // indicating a time in seconds. - MaximumResponseTime int32 `json:"maximumResponseTime" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_pp_profile_data.go b/models/models/model_pp_profile_data.go deleted file mode 100644 index 24a9b828..00000000 --- a/models/models/model_pp_profile_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PpProfileData struct { - // A map (list of key-value pairs where PpDataType serves as key) of AllowedMtcProviderInfo lists. In addition to defined PpDataType, the key value \"ALL\" may be used to identify a map entry which contains a list of AllowedMtcProviderInfo that are allowed to provision all types of the PP data for the user using UDM ParameterProvision service. - AllowedMtcProviders map[string][]AllowedMtcProviderInfo `json:"allowedMtcProviders,omitempty" yaml:"allowedMtcProviders" bson:"allowedMtcProviders,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pp_subs_reg_timer.go b/models/models/model_pp_subs_reg_timer.go deleted file mode 100644 index d329b7c9..00000000 --- a/models/models/model_pp_subs_reg_timer.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type PpSubsRegTimer struct { - // indicating a time in seconds. - SubsRegTimer int32 `json:"subsRegTimer" yaml:"subsRegTimer" bson:"subsRegTimer,omitempty"` - AfInstanceId string `json:"afInstanceId" yaml:"afInstanceId" bson:"afInstanceId,omitempty"` - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` -} diff --git a/models/models/model_preemption_capability.go b/models/models/model_preemption_capability.go deleted file mode 100644 index c74eea74..00000000 --- a/models/models/model_preemption_capability.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionCapability string - -// List of PreemptionCapability -const ( - PreemptionCapability_NOT_PREEMPT PreemptionCapability = "NOT_PREEMPT" - PreemptionCapability_MAY_PREEMPT PreemptionCapability = "MAY_PREEMPT" -) diff --git a/models/models/model_preemption_capability_rm.go b/models/models/model_preemption_capability_rm.go deleted file mode 100644 index fb64ce74..00000000 --- a/models/models/model_preemption_capability_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionCapabilityRm struct { -} diff --git a/models/models/model_preemption_control_information.go b/models/models/model_preemption_control_information.go deleted file mode 100644 index f2b8ddf9..00000000 --- a/models/models/model_preemption_control_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionControlInformation string - -// List of PreemptionControlInformation -const ( - PreemptionControlInformation_MOST_RECENT PreemptionControlInformation = "MOST_RECENT" - PreemptionControlInformation_LEAST_RECENT PreemptionControlInformation = "LEAST_RECENT" - PreemptionControlInformation_HIGHEST_BW PreemptionControlInformation = "HIGHEST_BW" -) diff --git a/models/models/model_preemption_control_information_rm.go b/models/models/model_preemption_control_information_rm.go deleted file mode 100644 index 75132ca9..00000000 --- a/models/models/model_preemption_control_information_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionControlInformationRm struct { -} diff --git a/models/models/model_preemption_vulnerability.go b/models/models/model_preemption_vulnerability.go deleted file mode 100644 index 8065c485..00000000 --- a/models/models/model_preemption_vulnerability.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionVulnerability string - -// List of PreemptionVulnerability -const ( - PreemptionVulnerability_NOT_PREEMPTABLE PreemptionVulnerability = "NOT_PREEMPTABLE" - PreemptionVulnerability_PREEMPTABLE PreemptionVulnerability = "PREEMPTABLE" -) diff --git a/models/models/model_preemption_vulnerability_rm.go b/models/models/model_preemption_vulnerability_rm.go deleted file mode 100644 index 56cc8a1d..00000000 --- a/models/models/model_preemption_vulnerability_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PreemptionVulnerabilityRm struct { -} diff --git a/models/models/model_preferred_search.go b/models/models/model_preferred_search.go deleted file mode 100644 index 465f2ac7..00000000 --- a/models/models/model_preferred_search.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information on whether the returned NFProfiles match the preferred query parameters -type PreferredSearch struct { - PreferredTaiMatchInd bool `json:"preferredTaiMatchInd,omitempty" yaml:"preferredTaiMatchInd" bson:"preferredTaiMatchInd,omitempty"` - PreferredFullPlmnMatchInd bool `json:"preferredFullPlmnMatchInd,omitempty" yaml:"preferredFullPlmnMatchInd" bson:"preferredFullPlmnMatchInd,omitempty"` - PreferredApiVersionsMatchInd bool `json:"preferredApiVersionsMatchInd,omitempty" yaml:"preferredApiVersionsMatchInd" bson:"preferredApiVersionsMatchInd,omitempty"` - OtherApiVersionsInd bool `json:"otherApiVersionsInd,omitempty" yaml:"otherApiVersionsInd" bson:"otherApiVersionsInd,omitempty"` - PreferredLocalityMatchInd bool `json:"preferredLocalityMatchInd,omitempty" yaml:"preferredLocalityMatchInd" bson:"preferredLocalityMatchInd,omitempty"` - OtherLocalityInd bool `json:"otherLocalityInd,omitempty" yaml:"otherLocalityInd" bson:"otherLocalityInd,omitempty"` - PreferredVendorSpecificFeaturesInd bool `json:"preferredVendorSpecificFeaturesInd,omitempty" yaml:"preferredVendorSpecificFeaturesInd" bson:"preferredVendorSpecificFeaturesInd,omitempty"` - PreferredCollocatedNfTypeInd bool `json:"preferredCollocatedNfTypeInd,omitempty" yaml:"preferredCollocatedNfTypeInd" bson:"preferredCollocatedNfTypeInd,omitempty"` - PreferredPgwMatchInd bool `json:"preferredPgwMatchInd,omitempty" yaml:"preferredPgwMatchInd" bson:"preferredPgwMatchInd,omitempty"` - PreferredAnalyticsDelaysInd bool `json:"preferredAnalyticsDelaysInd,omitempty" yaml:"preferredAnalyticsDelaysInd" bson:"preferredAnalyticsDelaysInd,omitempty"` -} diff --git a/models/models/model_presence_info.go b/models/models/model_presence_info.go deleted file mode 100644 index 8bb08daf..00000000 --- a/models/models/model_presence_info.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. -type PresenceInfo struct { - // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: 0 to 8 388 607 for UE-dedicated PRA 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" - PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` - // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. - AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` - PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` - // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` - // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. - EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` - // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. - NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` - // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. - GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` - // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. - GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` -} diff --git a/models/models/model_presence_info_rm.go b/models/models/model_presence_info_rm.go deleted file mode 100644 index 16674d99..00000000 --- a/models/models/model_presence_info_rm.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the 'PresenceInfo' data type, but with the OpenAPI 'nullable: true' property. If the additionalPraId IE is present, this IE shall state the presence information of the UE for the individual PRA identified by the additionalPraId IE; If the additionalPraId IE is not present, this IE shall state the presence information of the UE for the PRA identified by the praId IE. -type PresenceInfoRm struct { - // Represents an identifier of the Presence Reporting Area (see clause 28.10 of 3GPP TS 23.003. This IE shall be present if the Area of Interest subscribed or reported is a Presence Reporting Area or a Set of Core Network predefined Presence Reporting Areas. When present, it shall be encoded as a string representing an integer in the following ranges: - 0 to 8 388 607 for UE-dedicated PRA - 8 388 608 to 16 777 215 for Core Network predefined PRA Examples: PRA ID 123 is encoded as \"123\" PRA ID 11 238 660 is encoded as \"11238660\" - PraId string `json:"praId,omitempty" yaml:"praId" bson:"praId,omitempty"` - // This IE may be present if the praId IE is present and if it contains a PRA identifier referring to a set of Core Network predefined Presence Reporting Areas. When present, this IE shall contain a PRA Identifier of an individual PRA within the Set of Core Network predefined Presence Reporting Areas indicated by the praId IE. - AdditionalPraId string `json:"additionalPraId,omitempty" yaml:"additionalPraId" bson:"additionalPraId,omitempty"` - PresenceState PresenceState `json:"presenceState,omitempty" yaml:"presenceState" bson:"presenceState,omitempty"` - // Represents the list of tracking areas that constitutes the area. This IE shall be present if the subscription or the event report is for tracking UE presence in the tracking areas. For non 3GPP access the TAI shall be the N3GPP TAI. - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` - // Represents the list of EUTRAN cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of EUTRAN cell Ids. - EcgiList []Ecgi `json:"ecgiList,omitempty" yaml:"ecgiList" bson:"ecgiList,omitempty"` - // Represents the list of NR cell Ids that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NR cell Ids. - NcgiList []Ncgi `json:"ncgiList,omitempty" yaml:"ncgiList" bson:"ncgiList,omitempty"` - // Represents the list of NG RAN node identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of NG RAN node identifiers. - GlobalRanNodeIdList []GlobalRanNodeId `json:"globalRanNodeIdList,omitempty" yaml:"globalRanNodeIdList" bson:"globalRanNodeIdList,omitempty"` - // Represents the list of eNodeB identifiers that constitutes the area. This IE shall be present if the Area of Interest subscribed is a list of eNodeB identifiers. - GlobaleNbIdList []GlobalRanNodeId `json:"globaleNbIdList,omitempty" yaml:"globaleNbIdList" bson:"globaleNbIdList,omitempty"` -} diff --git a/models/models/model_presence_state.go b/models/models/model_presence_state.go deleted file mode 100644 index 4c4b9eae..00000000 --- a/models/models/model_presence_state.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PresenceState string - -// List of PresenceState -const ( - PresenceState_IN_AREA PresenceState = "IN_AREA" - PresenceState_OUT_OF_AREA PresenceState = "OUT_OF_AREA" - PresenceState_UNKNOWN PresenceState = "UNKNOWN" - PresenceState_INACTIVE PresenceState = "INACTIVE" -) diff --git a/models/models/model_prev_sub_info.go b/models/models/model_prev_sub_info.go deleted file mode 100644 index bc1eeee8..00000000 --- a/models/models/model_prev_sub_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of the previous subscription. -type PrevSubInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` - // The identifier of a subscription. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - NfAnaEvents []NwdafEvent `json:"nfAnaEvents,omitempty" yaml:"nfAnaEvents" bson:"nfAnaEvents,omitempty"` - UeAnaEvents []UeAnalyticsContextDescriptor `json:"ueAnaEvents,omitempty" yaml:"ueAnaEvents" bson:"ueAnaEvents,omitempty"` -} diff --git a/models/models/model_priority_levels.go b/models/models/model_priority_levels.go deleted file mode 100644 index 3975983d..00000000 --- a/models/models/model_priority_levels.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Namespaces and priority levels allowed for the IMS public Identity -type PriorityLevels struct { - ServicePriorityLevelList []string `json:"servicePriorityLevelList" yaml:"servicePriorityLevelList" bson:"servicePriorityLevelList,omitempty"` - ServicePriorityLevel int32 `json:"servicePriorityLevel,omitempty" yaml:"servicePriorityLevel" bson:"servicePriorityLevel,omitempty"` -} diff --git a/models/models/model_priority_sharing_indicator.go b/models/models/model_priority_sharing_indicator.go deleted file mode 100644 index 07036e7b..00000000 --- a/models/models/model_priority_sharing_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PrioritySharingIndicator string - -// List of PrioritySharingIndicator -const ( - PrioritySharingIndicator_ENABLED PrioritySharingIndicator = "ENABLED" - PrioritySharingIndicator_DISABLED PrioritySharingIndicator = "DISABLED" -) diff --git a/models/models/model_privacy_check_related_action.go b/models/models/model_privacy_check_related_action.go deleted file mode 100644 index 86bee3f3..00000000 --- a/models/models/model_privacy_check_related_action.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PrivacyCheckRelatedAction string - -// List of PrivacyCheckRelatedAction -const ( - PrivacyCheckRelatedAction_NOT_ALLOWED PrivacyCheckRelatedAction = "LOCATION_NOT_ALLOWED" - PrivacyCheckRelatedAction_ALLOWED_WITH_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITH_NOTIFICATION" - PrivacyCheckRelatedAction_ALLOWED_WITHOUT_NOTIFICATION PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_NOTIFICATION" - PrivacyCheckRelatedAction_ALLOWED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_ALLOWED_WITHOUT_RESPONSE" - PrivacyCheckRelatedAction_RESTRICTED_WITHOUT_RESPONSE PrivacyCheckRelatedAction = "LOCATION_RESTRICTED_WITHOUT_RESPONSE" -) diff --git a/models/models/model_private_identities.go b/models/models/model_private_identities.go deleted file mode 100644 index 52e7b3ef..00000000 --- a/models/models/model_private_identities.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A list of IMS Private Identities -type PrivateIdentities struct { - PrivateIdentities []PrivateIdentity `json:"privateIdentities" yaml:"privateIdentities" bson:"privateIdentities,omitempty"` -} diff --git a/models/models/model_private_identity.go b/models/models/model_private_identity.go deleted file mode 100644 index d099ddb7..00000000 --- a/models/models/model_private_identity.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Private Identity and its identity type (IMPI or IMSI) -type PrivateIdentity struct { - // String containing a Private User Identity or a Private Service Identity - PrivateIdentity string `json:"privateIdentity" yaml:"privateIdentity" bson:"privateIdentity,omitempty"` - PrivateIdentityType PrivateIdentityType `json:"privateIdentityType" yaml:"privateIdentityType" bson:"privateIdentityType,omitempty"` -} diff --git a/models/models/model_private_identity_type.go b/models/models/model_private_identity_type.go deleted file mode 100644 index 5e07e9c0..00000000 --- a/models/models/model_private_identity_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PrivateIdentityType string - -// List of PrivateIdentityType -const ( - PrivateIdentityType_IMPI PrivateIdentityType = "IMPI" - PrivateIdentityType_IMSI PrivateIdentityType = "IMSI" -) diff --git a/models/models/model_pro_se_allowed_plmn.go b/models/models/model_pro_se_allowed_plmn.go deleted file mode 100644 index 4c4f73e1..00000000 --- a/models/models/model_pro_se_allowed_plmn.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the PLMN identities where the Prose services are authorised to use and the authorised Prose services on this given PLMNs. -type ProSeAllowedPlmn struct { - VisitedPlmn *PlmnId `json:"visitedPlmn" yaml:"visitedPlmn" bson:"visitedPlmn,omitempty"` - ProseDirectAllowed []ProseDirectAllowed `json:"proseDirectAllowed,omitempty" yaml:"proseDirectAllowed" bson:"proseDirectAllowed,omitempty"` -} diff --git a/models/models/model_pro_se_auth_data.go b/models/models/model_pro_se_auth_data.go deleted file mode 100644 index c871d992..00000000 --- a/models/models/model_pro_se_auth_data.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProSeAuthData struct { -} diff --git a/models/models/model_pro_se_authentication_ctx.go b/models/models/model_pro_se_authentication_ctx.go deleted file mode 100644 index b0370f70..00000000 --- a/models/models/model_pro_se_authentication_ctx.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the information related to the resource generated to handle the ProSe authentication. -type ProSeAuthenticationCtx struct { - AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - // A map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` - ProSeAuthData *ProSeAuthData `json:"proSeAuthData" yaml:"proSeAuthData" bson:"proSeAuthData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pro_se_authentication_info.go b/models/models/model_pro_se_authentication_info.go deleted file mode 100644 index 8fc02836..00000000 --- a/models/models/model_pro_se_authentication_info.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE id (i.e. SUCI) or CP-PRUK ID (in 5gPrukId IE), Relay Service Code and Nonce_1. -type ProSeAuthenticationInfo struct { - // String identifying a SUPI or a SUCI. - SupiOrSuci string `json:"supiOrSuci,omitempty" yaml:"supiOrSuci" bson:"supiOrSuci,omitempty"` - // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. - Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` - // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. - RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` - // contains an Nonce1 - Nonce1 string `json:"nonce1" yaml:"nonce1" bson:"nonce1,omitempty"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pro_se_authentication_info_request.go b/models/models/model_pro_se_authentication_info_request.go deleted file mode 100644 index af38826f..00000000 --- a/models/models/model_pro_se_authentication_info_request.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProSeAuthenticationInfoRequest struct { - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` - // Relay Service Code to identify a connectivity service provided by the UE-to-Network relay. - RelayServiceCode int32 `json:"relayServiceCode" yaml:"relayServiceCode" bson:"relayServiceCode,omitempty"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pro_se_authentication_info_result.go b/models/models/model_pro_se_authentication_info_result.go deleted file mode 100644 index dff87986..00000000 --- a/models/models/model_pro_se_authentication_info_result.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProSeAuthenticationInfoResult struct { - AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - ProseAuthenticationVectors *ProSeAuthenticationVectors `json:"proseAuthenticationVectors,omitempty" yaml:"proseAuthenticationVectors" bson:"proseAuthenticationVectors,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pro_se_authentication_result.go b/models/models/model_pro_se_authentication_result.go deleted file mode 100644 index ebaa398d..00000000 --- a/models/models/model_pro_se_authentication_result.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Successful authentication for CP-PRUK ID. -type ProSeAuthenticationResult struct { - // Contains the KNR_ProSe. - KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` - // contains an Nonce2 - Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_pro_se_authentication_vectors.go b/models/models/model_pro_se_authentication_vectors.go deleted file mode 100644 index 953c6e8b..00000000 --- a/models/models/model_pro_se_authentication_vectors.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProSeAuthenticationVectors struct { -} diff --git a/models/models/model_pro_se_eap_session.go b/models/models/model_pro_se_eap_session.go deleted file mode 100644 index c4dbbe5f..00000000 --- a/models/models/model_pro_se_eap_session.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the EAP session. If present the 5gPrukId IE shall carry the CP-PRUK ID. -type ProSeEapSession struct { - // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` - // Contains the KNR_ProSe. - KnrProSe string `json:"knrProSe,omitempty" yaml:"knrProSe" bson:"knrProSe,omitempty"` - // A map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` - AuthResult AusfUeAuthenticationAuthResult `json:"authResult,omitempty" yaml:"authResult" bson:"authResult,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // contains an Nonce2 - Nonce2 string `json:"nonce2,omitempty" yaml:"nonce2" bson:"nonce2,omitempty"` - // A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003. - Var5gPrukId string `json:"5gPrukId,omitempty" yaml:"5gPrukId" bson:"5gPrukId,omitempty"` -} diff --git a/models/models/model_pro_se_information.go b/models/models/model_pro_se_information.go deleted file mode 100644 index 61c12fd1..00000000 --- a/models/models/model_pro_se_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents 5G ProSe related N2 information. -type ProSeInformation struct { - N2Pc5ProSePol *N2InfoContent `json:"n2Pc5ProSePol,omitempty" yaml:"n2Pc5ProSePol" bson:"n2Pc5ProSePol,omitempty"` -} diff --git a/models/models/model_problem_details.go b/models/models/model_problem_details.go deleted file mode 100644 index 17bf75a0..00000000 --- a/models/models/model_problem_details.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides additional information in an error response. -type ProblemDetails struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` -} diff --git a/models/models/model_problem_details_add_info.go b/models/models/model_problem_details_add_info.go deleted file mode 100644 index 9f1b7623..00000000 --- a/models/models/model_problem_details_add_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Problem Details Additional Information -type ProblemDetailsAddInfo struct { - RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` -} diff --git a/models/models/model_problem_details_analytics_info_request.go b/models/models/model_problem_details_analytics_info_request.go deleted file mode 100644 index 94267454..00000000 --- a/models/models/model_problem_details_analytics_info_request.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extends ProblemDetails to indicate more details why the analytics request is rejected. -type ProblemDetailsAnalyticsInfoRequest struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // indicating a time in seconds. - RvWaitTime int32 `json:"rvWaitTime,omitempty" yaml:"rvWaitTime" bson:"rvWaitTime,omitempty"` -} diff --git a/models/models/model_problem_details_enable_ue_reachability.go b/models/models/model_problem_details_enable_ue_reachability.go deleted file mode 100644 index 41c49ac3..00000000 --- a/models/models/model_problem_details_enable_ue_reachability.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Enable UE Reachability Error Detail -type ProblemDetailsEnableUeReachability struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_processing_instruction.go b/models/models/model_processing_instruction.go deleted file mode 100644 index a2d5d107..00000000 --- a/models/models/model_processing_instruction.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains instructions related to the processing of notifications. -type ProcessingInstruction struct { - EventId *DccfEvent `json:"eventId" yaml:"eventId" bson:"eventId,omitempty"` - // indicating a time in seconds. - ProcInterval int32 `json:"procInterval" yaml:"procInterval" bson:"procInterval,omitempty"` - // List of event parameter names, and for each event parameter name, respective event parameter values and sets of the attributes to be used in the summarized reports. - ParamProcInstructs []ParameterProcessingInstruction `json:"paramProcInstructs,omitempty" yaml:"paramProcInstructs" bson:"paramProcInstructs,omitempty"` -} diff --git a/models/models/model_prose_auth_response_200.go b/models/models/model_prose_auth_response_200.go deleted file mode 100644 index 557f1fc9..00000000 --- a/models/models/model_prose_auth_response_200.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProseAuthResponse200 struct { - // contains an EAP packet - EapPayload string `json:"eapPayload" yaml:"eapPayload" bson:"eapPayload,omitempty"` - // URI : /{eapSessionUri}, a map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` -} diff --git a/models/models/model_prose_charging_information.go b/models/models/model_prose_charging_information.go deleted file mode 100644 index 7314df4f..00000000 --- a/models/models/model_prose_charging_information.go +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ProseChargingInformation struct { - AnnouncingPlmnID *PlmnId `json:"announcingPlmnID,omitempty" yaml:"announcingPlmnID" bson:"announcingPlmnID,omitempty"` - AnnouncingUeHplmnIdentifier *PlmnId `json:"announcingUeHplmnIdentifier,omitempty" yaml:"announcingUeHplmnIdentifier" bson:"announcingUeHplmnIdentifier,omitempty"` - AnnouncingUeVplmnIdentifier *PlmnId `json:"announcingUeVplmnIdentifier,omitempty" yaml:"announcingUeVplmnIdentifier" bson:"announcingUeVplmnIdentifier,omitempty"` - MonitoringUeHplmnIdentifier *PlmnId `json:"monitoringUeHplmnIdentifier,omitempty" yaml:"monitoringUeHplmnIdentifier" bson:"monitoringUeHplmnIdentifier,omitempty"` - MonitoringUeVplmnIdentifier *PlmnId `json:"monitoringUeVplmnIdentifier,omitempty" yaml:"monitoringUeVplmnIdentifier" bson:"monitoringUeVplmnIdentifier,omitempty"` - DiscovererUeHplmnIdentifier *PlmnId `json:"discovererUeHplmnIdentifier,omitempty" yaml:"discovererUeHplmnIdentifier" bson:"discovererUeHplmnIdentifier,omitempty"` - DiscovererUeVplmnIdentifier *PlmnId `json:"discovererUeVplmnIdentifier,omitempty" yaml:"discovererUeVplmnIdentifier" bson:"discovererUeVplmnIdentifier,omitempty"` - DiscovereeUeHplmnIdentifier *PlmnId `json:"discovereeUeHplmnIdentifier,omitempty" yaml:"discovereeUeHplmnIdentifier" bson:"discovereeUeHplmnIdentifier,omitempty"` - DiscovereeUeVplmnIdentifier *PlmnId `json:"discovereeUeVplmnIdentifier,omitempty" yaml:"discovereeUeVplmnIdentifier" bson:"discovereeUeVplmnIdentifier,omitempty"` - MonitoredPlmnIdentifier *PlmnId `json:"monitoredPlmnIdentifier,omitempty" yaml:"monitoredPlmnIdentifier" bson:"monitoredPlmnIdentifier,omitempty"` - ProseApplicationID string `json:"proseApplicationID,omitempty" yaml:"proseApplicationID" bson:"proseApplicationID,omitempty"` - ApplicationId string `json:"ApplicationId,omitempty" yaml:"ApplicationId" bson:"ApplicationId,omitempty"` - ApplicationSpecificDataList []string `json:"applicationSpecificDataList,omitempty" yaml:"applicationSpecificDataList" bson:"applicationSpecificDataList,omitempty"` - ProseFunctionality ProseFunctionality `json:"proseFunctionality,omitempty" yaml:"proseFunctionality" bson:"proseFunctionality,omitempty"` - ProseEventType ProseEventType `json:"proseEventType,omitempty" yaml:"proseEventType" bson:"proseEventType,omitempty"` - DirectDiscoveryModel DirectDiscoveryModel `json:"directDiscoveryModel,omitempty" yaml:"directDiscoveryModel" bson:"directDiscoveryModel,omitempty"` - ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` - RoleOfUE RoleOfUe `json:"roleOfUE,omitempty" yaml:"roleOfUE" bson:"roleOfUE,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProseRequestTimestamp *time.Time `json:"proseRequestTimestamp,omitempty" yaml:"proseRequestTimestamp" bson:"proseRequestTimestamp,omitempty"` - PC3ProtocolCause int32 `json:"pC3ProtocolCause,omitempty" yaml:"pC3ProtocolCause" bson:"pC3ProtocolCause,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - MonitoringUEIdentifier string `json:"monitoringUEIdentifier,omitempty" yaml:"monitoringUEIdentifier" bson:"monitoringUEIdentifier,omitempty"` - RequestedPLMNIdentifier *PlmnId `json:"requestedPLMNIdentifier,omitempty" yaml:"requestedPLMNIdentifier" bson:"requestedPLMNIdentifier,omitempty"` - TimeWindow int32 `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` - RangeClass RangeClass `json:"rangeClass,omitempty" yaml:"rangeClass" bson:"rangeClass,omitempty"` - ProximityAlertIndication bool `json:"proximityAlertIndication,omitempty" yaml:"proximityAlertIndication" bson:"proximityAlertIndication,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProximityAlertTimestamp *time.Time `json:"proximityAlertTimestamp,omitempty" yaml:"proximityAlertTimestamp" bson:"proximityAlertTimestamp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProximityCancellationTimestamp *time.Time `json:"proximityCancellationTimestamp,omitempty" yaml:"proximityCancellationTimestamp" bson:"proximityCancellationTimestamp,omitempty"` - RelayIPAddress *IpAddr `json:"relayIPAddress,omitempty" yaml:"relayIPAddress" bson:"relayIPAddress,omitempty"` - ProseUEToNetworkRelayUEID string `json:"proseUEToNetworkRelayUEID,omitempty" yaml:"proseUEToNetworkRelayUEID" bson:"proseUEToNetworkRelayUEID,omitempty"` - ProseDestinationLayer2ID string `json:"proseDestinationLayer2ID,omitempty" yaml:"proseDestinationLayer2ID" bson:"proseDestinationLayer2ID,omitempty"` - PFIContainerInformation []PfiContainerInformation `json:"pFIContainerInformation,omitempty" yaml:"pFIContainerInformation" bson:"pFIContainerInformation,omitempty"` - TransmissionDataContainer []Pc5DataContainer `json:"transmissionDataContainer,omitempty" yaml:"transmissionDataContainer" bson:"transmissionDataContainer,omitempty"` - ReceptionDataContainer []Pc5DataContainer `json:"receptionDataContainer,omitempty" yaml:"receptionDataContainer" bson:"receptionDataContainer,omitempty"` -} diff --git a/models/models/model_prose_context.go b/models/models/model_prose_context.go deleted file mode 100644 index da781690..00000000 --- a/models/models/model_prose_context.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the ProSe services related parameters. -type ProseContext struct { - DirectDiscovery UeAuth `json:"directDiscovery,omitempty" yaml:"directDiscovery" bson:"directDiscovery,omitempty"` - DirectComm UeAuth `json:"directComm,omitempty" yaml:"directComm" bson:"directComm,omitempty"` - L2Relay UeAuth `json:"l2Relay,omitempty" yaml:"l2Relay" bson:"l2Relay,omitempty"` - L3Relay UeAuth `json:"l3Relay,omitempty" yaml:"l3Relay" bson:"l3Relay,omitempty"` - L2Remote UeAuth `json:"l2Remote,omitempty" yaml:"l2Remote" bson:"l2Remote,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` - Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` -} diff --git a/models/models/model_prose_direct_allowed.go b/models/models/model_prose_direct_allowed.go deleted file mode 100644 index b0c0b1d7..00000000 --- a/models/models/model_prose_direct_allowed.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProseDirectAllowed string - -// List of ProseDirectAllowed -const ( - ProseDirectAllowed_ANNOUNCE ProseDirectAllowed = "ANNOUNCE" - ProseDirectAllowed_MONITOR ProseDirectAllowed = "MONITOR" - ProseDirectAllowed_RESTRICTD_ANNOUNCE ProseDirectAllowed = "RESTRICTD_ANNOUNCE" - ProseDirectAllowed_RESTRICTD_MONITOR ProseDirectAllowed = "RESTRICTD_MONITOR" - ProseDirectAllowed_DISCOVERER ProseDirectAllowed = "DISCOVERER" - ProseDirectAllowed_DISCOVEREE ProseDirectAllowed = "DISCOVEREE" - ProseDirectAllowed_BROADCAST ProseDirectAllowed = "BROADCAST" - ProseDirectAllowed_GROUPCAST ProseDirectAllowed = "GROUPCAST" - ProseDirectAllowed_UNICAST ProseDirectAllowed = "UNICAST" - ProseDirectAllowed_LAYER2_RELAY ProseDirectAllowed = "LAYER2_RELAY" - ProseDirectAllowed_LAYER3_RELAY ProseDirectAllowed = "LAYER3_RELAY" -) diff --git a/models/models/model_prose_event_type.go b/models/models/model_prose_event_type.go deleted file mode 100644 index 47a0ff77..00000000 --- a/models/models/model_prose_event_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProseEventType string - -// List of ProseEventType -const ( - ProseEventType_ANNOUNCING ProseEventType = "ANNOUNCING" - ProseEventType_MONITORING ProseEventType = "MONITORING" - ProseEventType_MATCH_REPORT ProseEventType = "MATCH_REPORT" -) diff --git a/models/models/model_prose_functionality.go b/models/models/model_prose_functionality.go deleted file mode 100644 index 1a79ed9c..00000000 --- a/models/models/model_prose_functionality.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProseFunctionality string - -// List of ProseFunctionality -const ( - ProseFunctionality_DISCOVERY ProseFunctionality = "DIRECT_DISCOVERY" - ProseFunctionality_COMMUNICATION ProseFunctionality = "DIRECT_COMMUNICATION" -) diff --git a/models/models/model_prose_service_auth.go b/models/models/model_prose_service_auth.go deleted file mode 100644 index c4d332de..00000000 --- a/models/models/model_prose_service_auth.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates whether the UE is authorized to use ProSe related services. -type ProseServiceAuth struct { - ProseDirectDiscoveryAuth UeAuth `json:"proseDirectDiscoveryAuth,omitempty" yaml:"proseDirectDiscoveryAuth" bson:"proseDirectDiscoveryAuth,omitempty"` - ProseDirectCommunicationAuth UeAuth `json:"proseDirectCommunicationAuth,omitempty" yaml:"proseDirectCommunicationAuth" bson:"proseDirectCommunicationAuth,omitempty"` - ProseL2RelayAuth UeAuth `json:"proseL2RelayAuth,omitempty" yaml:"proseL2RelayAuth" bson:"proseL2RelayAuth,omitempty"` - ProseL3RelayAuth UeAuth `json:"proseL3RelayAuth,omitempty" yaml:"proseL3RelayAuth" bson:"proseL3RelayAuth,omitempty"` - ProseL2RemoteAuth UeAuth `json:"proseL2RemoteAuth,omitempty" yaml:"proseL2RemoteAuth" bson:"proseL2RemoteAuth,omitempty"` - ProseL3RemoteAuth UeAuth `json:"proseL3RemoteAuth,omitempty" yaml:"proseL3RemoteAuth" bson:"proseL3RemoteAuth,omitempty"` -} diff --git a/models/models/model_prose_subscription_data.go b/models/models/model_prose_subscription_data.go deleted file mode 100644 index d87e423c..00000000 --- a/models/models/model_prose_subscription_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the ProSe Subscription Data. -type ProseSubscriptionData struct { - ProseServiceAuth *ProseServiceAuth `json:"proseServiceAuth,omitempty" yaml:"proseServiceAuth" bson:"proseServiceAuth,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` - ProseAllowedPlmn []ProSeAllowedPlmn `json:"proseAllowedPlmn,omitempty" yaml:"proseAllowedPlmn" bson:"proseAllowedPlmn,omitempty"` -} diff --git a/models/models/model_protection_result.go b/models/models/model_protection_result.go deleted file mode 100644 index 2ae18b6e..00000000 --- a/models/models/model_protection_result.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProtectionResult string - -// List of ProtectionResult -const ( - ProtectionResult_PERFORMED ProtectionResult = "PERFORMED" - ProtectionResult_NOT_PERFORMED ProtectionResult = "NOT_PERFORMED" -) diff --git a/models/models/model_provide_loc_info.go b/models/models/model_provide_loc_info.go deleted file mode 100644 index 02b37f8e..00000000 --- a/models/models/model_provide_loc_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Provide Location Information Response -type ProvideLocInfo struct { - CurrentLoc bool `json:"currentLoc,omitempty" yaml:"currentLoc" bson:"currentLoc,omitempty"` - Location *UserLocation `json:"location,omitempty" yaml:"location" bson:"location,omitempty"` - AdditionalLocation *UserLocation `json:"additionalLocation,omitempty" yaml:"additionalLocation" bson:"additionalLocation,omitempty"` - GeoInfo *GeographicArea `json:"geoInfo,omitempty" yaml:"geoInfo" bson:"geoInfo,omitempty"` - // Indicates value of the age of the location estimate. - LocationAge int32 `json:"locationAge,omitempty" yaml:"locationAge" bson:"locationAge,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - Timezone string `json:"timezone,omitempty" yaml:"timezone" bson:"timezone,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` -} diff --git a/models/models/model_provide_pos_info.go b/models/models/model_provide_pos_info.go deleted file mode 100644 index db72637b..00000000 --- a/models/models/model_provide_pos_info.go +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within Provide Positioning Information Response -type ProvidePosInfo struct { - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` - LocalLocationEstimate *LocalArea `json:"localLocationEstimate,omitempty" yaml:"localLocationEstimate" bson:"localLocationEstimate,omitempty"` - AccuracyFulfilmentIndicator AccuracyFulfilmentIndicator `json:"accuracyFulfilmentIndicator,omitempty" yaml:"accuracyFulfilmentIndicator" bson:"accuracyFulfilmentIndicator,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` - PositioningDataList []PositioningMethodAndUsage `json:"positioningDataList,omitempty" yaml:"positioningDataList" bson:"positioningDataList,omitempty"` - GnssPositioningDataList []GnssPositioningMethodAndUsage `json:"gnssPositioningDataList,omitempty" yaml:"gnssPositioningDataList" bson:"gnssPositioningDataList,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - TargetServingNode string `json:"targetServingNode,omitempty" yaml:"targetServingNode" bson:"targetServingNode,omitempty"` - // Fully Qualified Domain Name - TargetMmeName string `json:"targetMmeName,omitempty" yaml:"targetMmeName" bson:"targetMmeName,omitempty"` - // Fully Qualified Domain Name - TargetMmeRealm string `json:"targetMmeRealm,omitempty" yaml:"targetMmeRealm" bson:"targetMmeRealm,omitempty"` - UtranSrvccInd bool `json:"utranSrvccInd,omitempty" yaml:"utranSrvccInd" bson:"utranSrvccInd,omitempty"` - CivicAddress *CivicAddress `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - // Specifies the measured uncompensated atmospheric pressure. - BarometricPressure int32 `json:"barometricPressure,omitempty" yaml:"barometricPressure" bson:"barometricPressure,omitempty"` - // Indicates value of altitude. - Altitude float64 `json:"altitude,omitempty" yaml:"altitude" bson:"altitude,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // LMF identification. - ServingLMFIdentification string `json:"servingLMFIdentification,omitempty" yaml:"servingLMFIdentification" bson:"servingLMFIdentification,omitempty"` - LocationPrivacyVerResult LocationPrivacyVerResult `json:"locationPrivacyVerResult,omitempty" yaml:"locationPrivacyVerResult" bson:"locationPrivacyVerResult,omitempty"` - AchievedQos *MinorLocationQoS `json:"achievedQos,omitempty" yaml:"achievedQos" bson:"achievedQos,omitempty"` - AcceptedPeriodicEventInfo *PeriodicEventInfo `json:"acceptedPeriodicEventInfo,omitempty" yaml:"acceptedPeriodicEventInfo" bson:"acceptedPeriodicEventInfo,omitempty"` - HaGnssMetrics *HighAccuracyGnssMetrics `json:"haGnssMetrics,omitempty" yaml:"haGnssMetrics" bson:"haGnssMetrics,omitempty"` -} diff --git a/models/models/model_provisioned_data_sets.go b/models/models/model_provisioned_data_sets.go deleted file mode 100644 index f569e2a2..00000000 --- a/models/models/model_provisioned_data_sets.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the provisioned data sets. -type ProvisionedDataSets struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` - SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` - LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` - LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` - LcsBcaData *LcsBroadcastAssistanceTypesData `json:"lcsBcaData,omitempty" yaml:"lcsBcaData" bson:"lcsBcaData,omitempty"` - V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` - ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` - OdbData *OdbData `json:"odbData,omitempty" yaml:"odbData" bson:"odbData,omitempty"` - EeProfileData *EeProfileData `json:"eeProfileData,omitempty" yaml:"eeProfileData" bson:"eeProfileData,omitempty"` - PpProfileData *PpProfileData `json:"ppProfileData,omitempty" yaml:"ppProfileData" bson:"ppProfileData,omitempty"` - NiddAuthData *AuthorizationData `json:"niddAuthData,omitempty" yaml:"niddAuthData" bson:"niddAuthData,omitempty"` - MbsSubscriptionData *MbsSubscriptionData `json:"mbsSubscriptionData,omitempty" yaml:"mbsSubscriptionData" bson:"mbsSubscriptionData,omitempty"` -} diff --git a/models/models/model_ps_cell_information.go b/models/models/model_ps_cell_information.go deleted file mode 100644 index 2fc5f31f..00000000 --- a/models/models/model_ps_cell_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PsCellInformation struct { - Nrcgi *Ncgi `json:"nrcgi,omitempty" yaml:"nrcgi" bson:"nrcgi,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` -} diff --git a/models/models/model_ps_location.go b/models/models/model_ps_location.go deleted file mode 100644 index 98bb51d6..00000000 --- a/models/models/model_ps_location.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location data in PS domain -type PsLocation struct { - SgsnLocationData *SgsnLocationData `json:"sgsnLocationData,omitempty" yaml:"sgsnLocationData" bson:"sgsnLocationData,omitempty"` - MmeLocationData *MmeLocationData `json:"mmeLocationData,omitempty" yaml:"mmeLocationData" bson:"mmeLocationData,omitempty"` - AmfLocationData *AmfLocationData `json:"amfLocationData,omitempty" yaml:"amfLocationData" bson:"amfLocationData,omitempty"` - TwanLocationData *TwanLocationData `json:"twanLocationData,omitempty" yaml:"twanLocationData" bson:"twanLocationData,omitempty"` -} diff --git a/models/models/model_ps_user_state.go b/models/models/model_ps_user_state.go deleted file mode 100644 index 658d1a60..00000000 --- a/models/models/model_ps_user_state.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// User state in PS domain -type PsUserState struct { - SgsnUserState UserStatePs `json:"sgsnUserState,omitempty" yaml:"sgsnUserState" bson:"sgsnUserState,omitempty"` - MmeUserState UserStatePs `json:"mmeUserState,omitempty" yaml:"mmeUserState" bson:"mmeUserState,omitempty"` - AmfUserState UserStatePs `json:"amfUserState,omitempty" yaml:"amfUserState" bson:"amfUserState,omitempty"` -} diff --git a/models/models/model_psa_indication.go b/models/models/model_psa_indication.go deleted file mode 100644 index 55982c56..00000000 --- a/models/models/model_psa_indication.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PsaIndication string - -// List of PsaIndication -const ( - PsaIndication_INSERTED PsaIndication = "PSA_INSERTED" - PsaIndication_REMOVED PsaIndication = "PSA_REMOVED" - PsaIndication_INSERTED_ONLY PsaIndication = "PSA_INSERTED_ONLY" - PsaIndication_REMOVED_ONLY PsaIndication = "PSA_REMOVED_ONLY" -) diff --git a/models/models/model_psa_information.go b/models/models/model_psa_information.go deleted file mode 100644 index aa5ba727..00000000 --- a/models/models/model_psa_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// PSA Information -type PsaInformation struct { - PsaInd PsaIndication `json:"psaInd,omitempty" yaml:"psaInd" bson:"psaInd,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PsaUpfId string `json:"psaUpfId,omitempty" yaml:"psaUpfId" bson:"psaUpfId,omitempty"` -} diff --git a/models/models/model_psi_activation_state.go b/models/models/model_psi_activation_state.go deleted file mode 100644 index 57ed1a35..00000000 --- a/models/models/model_psi_activation_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Public Service Identity activation state -type PsiActivationState struct { - ActivationState ActivationState `json:"activationState" yaml:"activationState" bson:"activationState,omitempty"` -} diff --git a/models/models/model_ptw_parameters.go b/models/models/model_ptw_parameters.go deleted file mode 100644 index e31f0abb..00000000 --- a/models/models/model_ptw_parameters.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PtwParameters struct { - OperationMode OperationMode `json:"operationMode" yaml:"operationMode" bson:"operationMode,omitempty"` - PtwValue string `json:"ptwValue" yaml:"ptwValue" bson:"ptwValue,omitempty"` - ExtendedPtwValue string `json:"extendedPtwValue,omitempty" yaml:"extendedPtwValue" bson:"extendedPtwValue,omitempty"` -} diff --git a/models/models/model_public_identifier.go b/models/models/model_public_identifier.go deleted file mode 100644 index 0e2c314b..00000000 --- a/models/models/model_public_identifier.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Distinct or wildcarded public identity and its associated priority, trace and barring information -type PublicIdentifier struct { - PublicIdentity *PublicIdentity `json:"publicIdentity" yaml:"publicIdentity" bson:"publicIdentity,omitempty"` - DisplayName string `json:"displayName,omitempty" yaml:"displayName" bson:"displayName,omitempty"` - ImsServicePriority *PriorityLevels `json:"imsServicePriority,omitempty" yaml:"imsServicePriority" bson:"imsServicePriority,omitempty"` - ServiceLevelTraceInfo *ServiceLevelTraceInformation `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` - BarringIndicator bool `json:"barringIndicator,omitempty" yaml:"barringIndicator" bson:"barringIndicator,omitempty"` - WildcardedImpu string `json:"wildcardedImpu,omitempty" yaml:"wildcardedImpu" bson:"wildcardedImpu,omitempty"` -} diff --git a/models/models/model_public_identities.go b/models/models/model_public_identities.go deleted file mode 100644 index 871b7a31..00000000 --- a/models/models/model_public_identities.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Public Identities which belong to the same Implicit Registration Set (if any) as the requested IMS Public Identity -type PublicIdentities struct { - PublicIdentities []PublicIdentity `json:"publicIdentities" yaml:"publicIdentities" bson:"publicIdentities,omitempty"` -} diff --git a/models/models/model_public_identity.go b/models/models/model_public_identity.go deleted file mode 100644 index 37dfa9e7..00000000 --- a/models/models/model_public_identity.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Public Identity and related data (Alias Group Id, IRS default indication, Identity Type) -type PublicIdentity struct { - // String containing an IMS Public Identity in SIP URI format or TEL URI format - ImsPublicId string `json:"imsPublicId" yaml:"imsPublicId" bson:"imsPublicId,omitempty"` - IdentityType IdentityType `json:"identityType" yaml:"identityType" bson:"identityType,omitempty"` - IrsIsDefault bool `json:"irsIsDefault,omitempty" yaml:"irsIsDefault" bson:"irsIsDefault,omitempty"` - AliasGroupId string `json:"aliasGroupId,omitempty" yaml:"aliasGroupId" bson:"aliasGroupId,omitempty"` -} diff --git a/models/models/model_pws_error_data.go b/models/models/model_pws_error_data.go deleted file mode 100644 index 9426cb2f..00000000 --- a/models/models/model_pws_error_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data related to PWS error included in a N2 Information Transfer failure response -type PwsErrorData struct { - NamfCause int32 `json:"namfCause" yaml:"namfCause" bson:"namfCause,omitempty"` -} diff --git a/models/models/model_pws_information.go b/models/models/model_pws_information.go deleted file mode 100644 index 2aa3d3ab..00000000 --- a/models/models/model_pws_information.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a PWS related information data part -type PwsInformation struct { - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` - PwsContainer *N2InfoContent `json:"pwsContainer" yaml:"pwsContainer" bson:"pwsContainer,omitempty"` - BcEmptyAreaList []GlobalRanNodeId `json:"bcEmptyAreaList,omitempty" yaml:"bcEmptyAreaList" bson:"bcEmptyAreaList,omitempty"` - SendRanResponse bool `json:"sendRanResponse,omitempty" yaml:"sendRanResponse" bson:"sendRanResponse,omitempty"` - // Represents the OMC Identifier - OmcId string `json:"omcId,omitempty" yaml:"omcId" bson:"omcId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` -} diff --git a/models/models/model_pws_response_data.go b/models/models/model_pws_response_data.go deleted file mode 100644 index 1a563952..00000000 --- a/models/models/model_pws_response_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data related PWS included in a N2 Information Transfer response -type PwsResponseData struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NgapMessageType int32 `json:"ngapMessageType" yaml:"ngapMessageType" bson:"ngapMessageType,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 16-bit integer. - SerialNumber int32 `json:"serialNumber" yaml:"serialNumber" bson:"serialNumber,omitempty"` - MessageIdentifier int32 `json:"messageIdentifier" yaml:"messageIdentifier" bson:"messageIdentifier,omitempty"` - UnknownTaiList []Tai `json:"unknownTaiList,omitempty" yaml:"unknownTaiList" bson:"unknownTaiList,omitempty"` -} diff --git a/models/models/model_qos_characteristics.go b/models/models/model_qos_characteristics.go deleted file mode 100644 index 0053e81f..00000000 --- a/models/models/model_qos_characteristics.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains QoS characteristics for a non-standardized or a non-configured 5QI. -type QosCharacteristics struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - ResourceType QosResourceType `json:"resourceType" yaml:"resourceType" bson:"resourceType,omitempty"` - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - PacketDelayBudget int32 `json:"packetDelayBudget" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - PacketErrorRate string `json:"packetErrorRate" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` - // Unsigned integer indicating Averaging Window (see clause 5.7.3.6 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AveragingWindow int32 `json:"averagingWindow,omitempty" yaml:"averagingWindow" bson:"averagingWindow,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` -} diff --git a/models/models/model_qos_data.go b/models/models/model_qos_data.go deleted file mode 100644 index 8102b7b0..00000000 --- a/models/models/model_qos_data.go +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the QoS parameters. -type QosData struct { - // Univocally identifies the QoS control policy data within a PDU session. - QosId string `json:"qosId" yaml:"qosId" bson:"qosId,omitempty"` - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxbrUl string `json:"maxbrUl,omitempty" yaml:"maxbrUl" bson:"maxbrUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - MaxbrDl string `json:"maxbrDl,omitempty" yaml:"maxbrDl" bson:"maxbrDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - // Indicates whether notifications are requested from 3GPP NG-RAN when the GFBR can no longer (or again) be guaranteed for a QoS Flow during the lifetime of the QoS Flow. - Qnc bool `json:"qnc,omitempty" yaml:"qnc" bson:"qnc,omitempty"` - // This data type is defined in the same way as the '5QiPriorityLevel' data type, but with the OpenAPI 'nullable: true' property. - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` - // This data type is defined in the same way as the 'AverWindow' data type, but with the OpenAPI 'nullable: true' property. - AverWindow int32 `json:"averWindow,omitempty" yaml:"averWindow" bson:"averWindow,omitempty"` - // This data type is defined in the same way as the 'MaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - MaxDataBurstVol int32 `json:"maxDataBurstVol,omitempty" yaml:"maxDataBurstVol" bson:"maxDataBurstVol,omitempty"` - // Indicates whether the QoS information is reflective for the corresponding service data flow. - ReflectiveQos bool `json:"reflectiveQos,omitempty" yaml:"reflectiveQos" bson:"reflectiveQos,omitempty"` - // Indicates, by containing the same value, what PCC rules may share resource in downlink direction. - SharingKeyDl string `json:"sharingKeyDl,omitempty" yaml:"sharingKeyDl" bson:"sharingKeyDl,omitempty"` - // Indicates, by containing the same value, what PCC rules may share resource in uplink direction. - SharingKeyUl string `json:"sharingKeyUl,omitempty" yaml:"sharingKeyUl" bson:"sharingKeyUl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` - // Indicates that the dynamic PCC rule shall always have its binding with the QoS Flow associated with the default QoS rule - DefQosFlowIndication bool `json:"defQosFlowIndication,omitempty" yaml:"defQosFlowIndication" bson:"defQosFlowIndication,omitempty"` - // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - ExtMaxDataBurstVol int32 `json:"extMaxDataBurstVol,omitempty" yaml:"extMaxDataBurstVol" bson:"extMaxDataBurstVol,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - PacketDelayBudget int32 `json:"packetDelayBudget,omitempty" yaml:"packetDelayBudget" bson:"packetDelayBudget,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - PacketErrorRate string `json:"packetErrorRate,omitempty" yaml:"packetErrorRate" bson:"packetErrorRate,omitempty"` -} diff --git a/models/models/model_qos_flow_access_type.go b/models/models/model_qos_flow_access_type.go deleted file mode 100644 index c1c65928..00000000 --- a/models/models/model_qos_flow_access_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosFlowAccessType string - -// List of QosFlowAccessType -const ( - QosFlowAccessType__3_GPP QosFlowAccessType = "3GPP" - QosFlowAccessType_NON_3_GPP QosFlowAccessType = "NON_3GPP" - QosFlowAccessType__3_GPP_AND_NON_3_GPP QosFlowAccessType = "3GPP_AND_NON_3GPP" -) diff --git a/models/models/model_qos_flow_item.go b/models/models/model_qos_flow_item.go deleted file mode 100644 index 8e15a112..00000000 --- a/models/models/model_qos_flow_item.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual QoS flow -type QosFlowItem struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` - NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` -} diff --git a/models/models/model_qos_flow_notify_item.go b/models/models/model_qos_flow_notify_item.go deleted file mode 100644 index cc85620f..00000000 --- a/models/models/model_qos_flow_notify_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Notification related to a QoS flow -type QosFlowNotifyItem struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - NotificationCause NotificationCause `json:"notificationCause" yaml:"notificationCause" bson:"notificationCause,omitempty"` - CurrentQosProfileIndex int32 `json:"currentQosProfileIndex,omitempty" yaml:"currentQosProfileIndex" bson:"currentQosProfileIndex,omitempty"` - NullQoSProfileIndex bool `json:"nullQoSProfileIndex,omitempty" yaml:"nullQoSProfileIndex" bson:"nullQoSProfileIndex,omitempty"` -} diff --git a/models/models/model_qos_flow_release_request_item.go b/models/models/model_qos_flow_release_request_item.go deleted file mode 100644 index 18d7addf..00000000 --- a/models/models/model_qos_flow_release_request_item.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual QoS flow requested to be released -type QosFlowReleaseRequestItem struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` -} diff --git a/models/models/model_qos_flow_setup_item.go b/models/models/model_qos_flow_setup_item.go deleted file mode 100644 index 0a0de06d..00000000 --- a/models/models/model_qos_flow_setup_item.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual QoS flow to setup -type QosFlowSetupItem struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosRules string `json:"qosRules" yaml:"qosRules" bson:"qosRules,omitempty"` - // EPS Bearer Identifier - Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` - QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` - AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` - DefaultQosRuleInd bool `json:"defaultQosRuleInd,omitempty" yaml:"defaultQosRuleInd" bson:"defaultQosRuleInd,omitempty"` -} diff --git a/models/models/model_qos_flow_tunnel.go b/models/models/model_qos_flow_tunnel.go deleted file mode 100644 index 3479c5df..00000000 --- a/models/models/model_qos_flow_tunnel.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Tunnel Information per QoS Flow -type QosFlowTunnel struct { - QfiList []int32 `json:"qfiList" yaml:"qfiList" bson:"qfiList,omitempty"` - TunnelInfo *TunnelInfo `json:"tunnelInfo" yaml:"tunnelInfo" bson:"tunnelInfo,omitempty"` -} diff --git a/models/models/model_qos_flow_usage.go b/models/models/model_qos_flow_usage.go deleted file mode 100644 index b5984aff..00000000 --- a/models/models/model_qos_flow_usage.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosFlowUsage string - -// List of QosFlowUsage -const ( - QosFlowUsage_GENERAL QosFlowUsage = "GENERAL" - QosFlowUsage_IMS_SIG QosFlowUsage = "IMS_SIG" -) diff --git a/models/models/model_qos_flow_usage_report.go b/models/models/model_qos_flow_usage_report.go deleted file mode 100644 index 9905f800..00000000 --- a/models/models/model_qos_flow_usage_report.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains QoS flows usage data information. -type QosFlowUsageReport struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` - // string with format 'int64' as defined in OpenAPI. - DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // string with format 'int64' as defined in OpenAPI. - UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` -} diff --git a/models/models/model_qos_flows_usage_report.go b/models/models/model_qos_flows_usage_report.go deleted file mode 100644 index 64ef3b37..00000000 --- a/models/models/model_qos_flows_usage_report.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type QosFlowsUsageReport struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - QFI int32 `json:"qFI,omitempty" yaml:"qFI" bson:"qFI,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTimestamp *time.Time `json:"startTimestamp,omitempty" yaml:"startTimestamp" bson:"startTimestamp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTimestamp *time.Time `json:"endTimestamp,omitempty" yaml:"endTimestamp" bson:"endTimestamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` -} diff --git a/models/models/model_qos_monitoring_data.go b/models/models/model_qos_monitoring_data.go deleted file mode 100644 index 87518147..00000000 --- a/models/models/model_qos_monitoring_data.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains QoS monitoring related control information. -type QosMonitoringData struct { - // Univocally identifies the QoS monitoring policy data within a PDU session. - QmId string `json:"qmId" yaml:"qmId" bson:"qmId,omitempty"` - // indicates the UL packet delay, DL packet delay and/or round trip packet delay between the UE and the UPF is to be monitored when the QoS Monitoring for URLLC is enabled for the service data flow. - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` - // Indicates the period of time in units of miliiseconds for DL packet delay. - RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` - // Indicates the period of time in units of miliiseconds for UL packet delay. - RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` - // Indicates the period of time in units of miliiseconds for round trip packet delay. - RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` - // String providing an URI formatted according to RFC 3986 with the OpenAPI 'nullable: true' property. - NotifyUri string `json:"notifyUri,omitempty" yaml:"notifyUri" bson:"notifyUri,omitempty"` - NotifyCorreId string `json:"notifyCorreId,omitempty" yaml:"notifyCorreId" bson:"notifyCorreId,omitempty"` - // Indicates that the direct event notification sent by UPF to the Local NEF or AF is requested if it is included and set to true. - DirectNotifInd bool `json:"directNotifInd,omitempty" yaml:"directNotifInd" bson:"directNotifInd,omitempty"` -} diff --git a/models/models/model_qos_monitoring_info.go b/models/models/model_qos_monitoring_info.go deleted file mode 100644 index b259aad0..00000000 --- a/models/models/model_qos_monitoring_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// QoS Monitoring Information -type QosMonitoringInfo struct { - QosMonitoringInd bool `json:"qosMonitoringInd,omitempty" yaml:"qosMonitoringInd" bson:"qosMonitoringInd,omitempty"` -} diff --git a/models/models/model_qos_monitoring_information.go b/models/models/model_qos_monitoring_information.go deleted file mode 100644 index 484b4f91..00000000 --- a/models/models/model_qos_monitoring_information.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents QoS monitoring information. -type QosMonitoringInformation struct { - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - RepFreqs []ReportingFrequency `json:"repFreqs" yaml:"repFreqs" bson:"repFreqs,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` - // Unsigned integer identifying a period of time in units of seconds. - WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` - // Unsigned integer identifying a period of time in units of seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` -} diff --git a/models/models/model_qos_monitoring_information_rm.go b/models/models/model_qos_monitoring_information_rm.go deleted file mode 100644 index fddb7158..00000000 --- a/models/models/model_qos_monitoring_information_rm.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the same as the QosMonitoringInformation data type but with the nullable:true property. -type QosMonitoringInformationRm struct { - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - RepFreqs []ReportingFrequency `json:"repFreqs,omitempty" yaml:"repFreqs" bson:"repFreqs,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - RepThreshDl int32 `json:"repThreshDl,omitempty" yaml:"repThreshDl" bson:"repThreshDl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - RepThreshUl int32 `json:"repThreshUl,omitempty" yaml:"repThreshUl" bson:"repThreshUl,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - RepThreshRp int32 `json:"repThreshRp,omitempty" yaml:"repThreshRp" bson:"repThreshRp,omitempty"` - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - WaitTime int32 `json:"waitTime,omitempty" yaml:"waitTime" bson:"waitTime,omitempty"` - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` -} diff --git a/models/models/model_qos_monitoring_report.go b/models/models/model_qos_monitoring_report.go deleted file mode 100644 index 92e49022..00000000 --- a/models/models/model_qos_monitoring_report.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a QoS monitoring report. -type QosMonitoringReport struct { - UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` - DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` - RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` - // Represents the packet delay measurement failure indicator. - Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` -} diff --git a/models/models/model_qos_monitoring_req.go b/models/models/model_qos_monitoring_req.go deleted file mode 100644 index 45c483e7..00000000 --- a/models/models/model_qos_monitoring_req.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosMonitoringReq string - -// List of QosMonitoringReq -const ( - QosMonitoringReq_UL QosMonitoringReq = "UL" - QosMonitoringReq_DL QosMonitoringReq = "DL" - QosMonitoringReq_BOTH QosMonitoringReq = "BOTH" - QosMonitoringReq_NONE QosMonitoringReq = "NONE" -) diff --git a/models/models/model_qos_notif_type.go b/models/models/model_qos_notif_type.go deleted file mode 100644 index 65dcf34a..00000000 --- a/models/models/model_qos_notif_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosNotifType string - -// List of QosNotifType -const ( - QosNotifType_GUARANTEED QosNotifType = "GUARANTEED" - QosNotifType_NOT_GUARANTEED QosNotifType = "NOT_GUARANTEED" -) diff --git a/models/models/model_qos_requirement.go b/models/models/model_qos_requirement.go deleted file mode 100644 index 744654ab..00000000 --- a/models/models/model_qos_requirement.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the QoS requirements. -type QosRequirement struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GfbrUl string `json:"gfbrUl,omitempty" yaml:"gfbrUl" bson:"gfbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GfbrDl string `json:"gfbrDl,omitempty" yaml:"gfbrDl" bson:"gfbrDl,omitempty"` - ResType QosResourceType `json:"resType,omitempty" yaml:"resType" bson:"resType,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - Pdb int32 `json:"pdb,omitempty" yaml:"pdb" bson:"pdb,omitempty"` - // String representing Packet Error Rate (see clause 5.7.3.5 and 5.7.4 of 3GPP TS 23.501, expressed as a \"scalar x 10-k\" where the scalar and the exponent k are each encoded as one decimal digit. - Per string `json:"per,omitempty" yaml:"per" bson:"per,omitempty"` -} diff --git a/models/models/model_qos_resource_type.go b/models/models/model_qos_resource_type.go deleted file mode 100644 index 496278d2..00000000 --- a/models/models/model_qos_resource_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosResourceType string - -// List of QosResourceType -const ( - QosResourceType_NON_GBR QosResourceType = "NON_GBR" - QosResourceType_NON_CRITICAL_GBR QosResourceType = "NON_CRITICAL_GBR" - QosResourceType_CRITICAL_GBR QosResourceType = "CRITICAL_GBR" -) diff --git a/models/models/model_qos_sustainability_info.go b/models/models/model_qos_sustainability_info.go deleted file mode 100644 index 073031fa..00000000 --- a/models/models/model_qos_sustainability_info.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the QoS Sustainability information. -type QosSustainabilityInfo struct { - AreaInfo *NetworkAreaInfo `json:"areaInfo,omitempty" yaml:"areaInfo" bson:"areaInfo,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartTs *time.Time `json:"startTs,omitempty" yaml:"startTs" bson:"startTs,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTs *time.Time `json:"endTs,omitempty" yaml:"endTs" bson:"endTs,omitempty"` - QosFlowRetThd *RetainabilityThreshold `json:"qosFlowRetThd,omitempty" yaml:"qosFlowRetThd" bson:"qosFlowRetThd,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - RanUeThrouThd string `json:"ranUeThrouThd,omitempty" yaml:"ranUeThrouThd" bson:"ranUeThrouThd,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_query_param_combination.go b/models/models/model_query_param_combination.go deleted file mode 100644 index d74ff698..00000000 --- a/models/models/model_query_param_combination.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a list of Query Parameters -type QueryParamCombination struct { - QueryParams []QueryParameter `json:"queryParams" yaml:"queryParams" bson:"queryParams,omitempty"` -} diff --git a/models/models/model_query_parameter.go b/models/models/model_query_parameter.go deleted file mode 100644 index e160311f..00000000 --- a/models/models/model_query_parameter.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the name and value of a query parameter -type QueryParameter struct { - Name string `json:"name" yaml:"name" bson:"name,omitempty"` - Value string `json:"value" yaml:"value" bson:"value,omitempty"` -} diff --git a/models/models/model_quota_consumption_indicator.go b/models/models/model_quota_consumption_indicator.go deleted file mode 100644 index c85ee0fb..00000000 --- a/models/models/model_quota_consumption_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QuotaConsumptionIndicator string - -// List of QuotaConsumptionIndicator -const ( - QuotaConsumptionIndicator_NOT_USED QuotaConsumptionIndicator = "QUOTA_NOT_USED" - QuotaConsumptionIndicator_IS_USED QuotaConsumptionIndicator = "QUOTA_IS_USED" -) diff --git a/models/models/model_quota_management_indicator.go b/models/models/model_quota_management_indicator.go deleted file mode 100644 index 643dfc4c..00000000 --- a/models/models/model_quota_management_indicator.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QuotaManagementIndicator string - -// List of QuotaManagementIndicator -const ( - QuotaManagementIndicator_ONLINE_CHARGING QuotaManagementIndicator = "ONLINE_CHARGING" - QuotaManagementIndicator_OFFLINE_CHARGING QuotaManagementIndicator = "OFFLINE_CHARGING" - QuotaManagementIndicator_QUOTA_MANAGEMENT_SUSPENDED QuotaManagementIndicator = "QUOTA_MANAGEMENT_SUSPENDED" -) diff --git a/models/models/model_radio_parameter_set_info.go b/models/models/model_radio_parameter_set_info.go deleted file mode 100644 index 8d29172e..00000000 --- a/models/models/model_radio_parameter_set_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type RadioParameterSetInfo struct { - RadioParameterSetValues []string `json:"radioParameterSetValues,omitempty" yaml:"radioParameterSetValues" bson:"radioParameterSetValues,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTimestamp *time.Time `json:"changeTimestamp,omitempty" yaml:"changeTimestamp" bson:"changeTimestamp,omitempty"` -} diff --git a/models/models/model_radio_resources_id.go b/models/models/model_radio_resources_id.go deleted file mode 100644 index d10d0108..00000000 --- a/models/models/model_radio_resources_id.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RadioResourcesId string - -// List of RadioResourcesId -const ( - RadioResourcesId_OPERATOR_PROVIDED RadioResourcesId = "OPERATOR_PROVIDED" - RadioResourcesId_CONFIGURED RadioResourcesId = "CONFIGURED" -) diff --git a/models/models/model_ran_nas_rel_cause.go b/models/models/model_ran_nas_rel_cause.go deleted file mode 100644 index 76620c78..00000000 --- a/models/models/model_ran_nas_rel_cause.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the RAN/NAS release cause. -type RanNasRelCause struct { - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCause int32 `json:"5gMmCause,omitempty" yaml:"5gMmCause" bson:"5gMmCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gSmCause int32 `json:"5gSmCause,omitempty" yaml:"5gSmCause" bson:"5gSmCause,omitempty"` - // Defines the EPS RAN/NAS release cause. - EpsCause string `json:"epsCause,omitempty" yaml:"epsCause" bson:"epsCause,omitempty"` -} diff --git a/models/models/model_ran_secondary_rat_usage_report.go b/models/models/model_ran_secondary_rat_usage_report.go deleted file mode 100644 index 68d9bb7c..00000000 --- a/models/models/model_ran_secondary_rat_usage_report.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RanSecondaryRatUsageReport struct { - RANSecondaryRATType RatType `json:"rANSecondaryRATType,omitempty" yaml:"rANSecondaryRATType" bson:"rANSecondaryRATType,omitempty"` - QosFlowsUsageReports []QosFlowsUsageReport `json:"qosFlowsUsageReports,omitempty" yaml:"qosFlowsUsageReports" bson:"qosFlowsUsageReports,omitempty"` -} diff --git a/models/models/model_range_class.go b/models/models/model_range_class.go deleted file mode 100644 index 1a7d8100..00000000 --- a/models/models/model_range_class.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RangeClass string - -// List of RangeClass -const ( - RangeClass_RESERVED RangeClass = "RESERVED" - RangeClass__50_METER RangeClass = "50_METER" - RangeClass__100_METER RangeClass = "100_METER" - RangeClass__200_METER RangeClass = "200_METER" - RangeClass__500_METER RangeClass = "500_METER" - RangeClass__1000_METER RangeClass = "1000_METER" - RangeClass_UNUSED RangeClass = "UNUSED" -) diff --git a/models/models/model_ranking_criterion.go b/models/models/model_ranking_criterion.go deleted file mode 100644 index 9077eb41..00000000 --- a/models/models/model_ranking_criterion.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the usage ranking criterion between the high, medium and low usage UE. -type RankingCriterion struct { - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - HighBase int32 `json:"highBase" yaml:"highBase" bson:"highBase,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - LowBase int32 `json:"lowBase" yaml:"lowBase" bson:"lowBase,omitempty"` -} diff --git a/models/models/model_rat_freq_information.go b/models/models/model_rat_freq_information.go deleted file mode 100644 index 69c38de6..00000000 --- a/models/models/model_rat_freq_information.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the RAT type and/or Frequency information. -type RatFreqInformation struct { - // Set to \"true\" to indicate to handle all the frequencies the NWDAF received, otherwise set to \"false\" or omit. The \"allFreq\" attribute and the \"freq\" attribute are mutually exclusive. - AllFreq bool `json:"allFreq,omitempty" yaml:"allFreq" bson:"allFreq,omitempty"` - // Set to \"true\" to indicate to handle all the RAT Types the NWDAF received, otherwise set to \"false\" or omit. The \"allRat\" attribute and the \"ratType\" attribute are mutually exclusive. - AllRat bool `json:"allRat,omitempty" yaml:"allRat" bson:"allRat,omitempty"` - // Integer value indicating the ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR global frequency raster, as definition of \"ARFCN-ValueNR\" IE in clause 6.3.2 of 3GPP TS 38.331. - Freq int32 `json:"freq,omitempty" yaml:"freq" bson:"freq,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - SvcExpThreshold *ThresholdLevel `json:"svcExpThreshold,omitempty" yaml:"svcExpThreshold" bson:"svcExpThreshold,omitempty"` - MatchingDir MatchingDirection `json:"matchingDir,omitempty" yaml:"matchingDir" bson:"matchingDir,omitempty"` -} diff --git a/models/models/model_rat_selector.go b/models/models/model_rat_selector.go deleted file mode 100644 index aaac4395..00000000 --- a/models/models/model_rat_selector.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RatSelector string - -// List of RatSelector -const ( - RatSelector_E_UTRA RatSelector = "E-UTRA" - RatSelector_NR RatSelector = "NR" -) diff --git a/models/models/model_rat_type.go b/models/models/model_rat_type.go deleted file mode 100644 index 47dc518f..00000000 --- a/models/models/model_rat_type.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RatType string - -// List of RatType -const ( - RatType_NR RatType = "NR" - RatType_EUTRA RatType = "EUTRA" - RatType_WLAN RatType = "WLAN" - RatType_VIRTUAL RatType = "VIRTUAL" - RatType_NBIOT RatType = "NBIOT" - RatType_WIRELINE RatType = "WIRELINE" - RatType_WIRELINE_CABLE RatType = "WIRELINE_CABLE" - RatType_WIRELINE_BBF RatType = "WIRELINE_BBF" - RatType_LTE_M RatType = "LTE-M" - RatType_NR_U RatType = "NR_U" - RatType_EUTRA_U RatType = "EUTRA_U" - RatType_TRUSTED_N3_GA RatType = "TRUSTED_N3GA" - RatType_TRUSTED_WLAN RatType = "TRUSTED_WLAN" - RatType_UTRA RatType = "UTRA" - RatType_GERA RatType = "GERA" - RatType_NR_LEO RatType = "NR_LEO" - RatType_NR_MEO RatType = "NR_MEO" - RatType_NR_GEO RatType = "NR_GEO" - RatType_NR_OTHER_SAT RatType = "NR_OTHER_SAT" - RatType_NR_REDCAP RatType = "NR_REDCAP" - RatType_WB_E_UTRAN_LEO RatType = "WB_E_UTRAN_LEO" - RatType_WB_E_UTRAN_MEO RatType = "WB_E_UTRAN_MEO" - RatType_WB_E_UTRAN_GEO RatType = "WB_E_UTRAN_GEO" - RatType_WB_E_UTRAN_OTHERSAT RatType = "WB_E_UTRAN_OTHERSAT" - RatType_NB_IOT_LEO RatType = "NB_IOT_LEO" - RatType_NB_IOT_MEO RatType = "NB_IOT_MEO" - RatType_NB_IOT_GEO RatType = "NB_IOT_GEO" - RatType_NB_IOT_OTHERSAT RatType = "NB_IOT_OTHERSAT" - RatType_LTE_M_LEO RatType = "LTE_M_LEO" - RatType_LTE_M_MEO RatType = "LTE_M_MEO" - RatType_LTE_M_GEO RatType = "LTE_M_GEO" - RatType_LTE_M_OTHERSAT RatType = "LTE_M_OTHERSAT" -) diff --git a/models/models/model_reachability_filter.go b/models/models/model_reachability_filter.go deleted file mode 100644 index 99353f70..00000000 --- a/models/models/model_reachability_filter.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReachabilityFilter string - -// List of ReachabilityFilter -const ( - ReachabilityFilter_REACHABILITY_STATUS_CHANGE ReachabilityFilter = "UE_REACHABILITY_STATUS_CHANGE" - ReachabilityFilter_REACHABLE_DL_TRAFFIC ReachabilityFilter = "UE_REACHABLE_DL_TRAFFIC" -) diff --git a/models/models/model_reachability_for_data_report_config.go b/models/models/model_reachability_for_data_report_config.go deleted file mode 100644 index 1e760b56..00000000 --- a/models/models/model_reachability_for_data_report_config.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReachabilityForDataReportConfig string - -// List of ReachabilityForDataReportConfig -const ( - ReachabilityForDataReportConfig_DIRECT_REPORT ReachabilityForDataReportConfig = "DIRECT_REPORT" - ReachabilityForDataReportConfig_INDIRECT_REPORT ReachabilityForDataReportConfig = "INDIRECT_REPORT" -) diff --git a/models/models/model_reachability_for_sms_configuration.go b/models/models/model_reachability_for_sms_configuration.go deleted file mode 100644 index e70b4b93..00000000 --- a/models/models/model_reachability_for_sms_configuration.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReachabilityForSmsConfiguration string - -// List of ReachabilityForSmsConfiguration -const ( - ReachabilityForSmsConfiguration_NAS ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_NAS" - ReachabilityForSmsConfiguration_IP ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_IP" -) diff --git a/models/models/model_reachability_notification_data.go b/models/models/model_reachability_notification_data.go deleted file mode 100644 index 057c28aa..00000000 --- a/models/models/model_reachability_notification_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within the UE Reachability Info Notify -type ReachabilityNotificationData struct { - ReachableUeList []ReachableUeInfo `json:"reachableUeList,omitempty" yaml:"reachableUeList" bson:"reachableUeList,omitempty"` - UnreachableUeList []string `json:"unreachableUeList,omitempty" yaml:"unreachableUeList" bson:"unreachableUeList,omitempty"` -} diff --git a/models/models/model_reachability_report.go b/models/models/model_reachability_report.go deleted file mode 100644 index 7733b98f..00000000 --- a/models/models/model_reachability_report.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ReachabilityReport struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId,omitempty" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` - Reachability UeReachability `json:"reachability,omitempty" yaml:"reachability" bson:"reachability,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` - IdleStatusIndication *IdleStatusIndication `json:"idleStatusIndication,omitempty" yaml:"idleStatusIndication" bson:"idleStatusIndication,omitempty"` -} diff --git a/models/models/model_reachable_ue_info.go b/models/models/model_reachable_ue_info.go deleted file mode 100644 index feb96e7d..00000000 --- a/models/models/model_reachable_ue_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the reachable UE Information -type ReachableUeInfo struct { - UeList []string `json:"ueList" yaml:"ueList" bson:"ueList,omitempty"` - UserLocation *UserLocation `json:"userLocation,omitempty" yaml:"userLocation" bson:"userLocation,omitempty"` -} diff --git a/models/models/model_reauthorization_details.go b/models/models/model_reauthorization_details.go deleted file mode 100644 index f9144809..00000000 --- a/models/models/model_reauthorization_details.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReauthorizationDetails struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ServiceId int32 `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - RatingGroup int32 `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - QuotaManagementIndicator QuotaManagementIndicator `json:"quotaManagementIndicator,omitempty" yaml:"quotaManagementIndicator" bson:"quotaManagementIndicator,omitempty"` -} diff --git a/models/models/model_recipient_address.go b/models/models/model_recipient_address.go deleted file mode 100644 index 3082877e..00000000 --- a/models/models/model_recipient_address.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RecipientAddress struct { - RecipientAddressInfo *SmAddressInfo `json:"recipientAddressInfo,omitempty" yaml:"recipientAddressInfo" bson:"recipientAddressInfo,omitempty"` - SMaddresseeType SmAddresseeType `json:"sMaddresseeType,omitempty" yaml:"sMaddresseeType" bson:"sMaddresseeType,omitempty"` -} diff --git a/models/models/model_recipient_info.go b/models/models/model_recipient_info.go deleted file mode 100644 index 5f38ff2f..00000000 --- a/models/models/model_recipient_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RecipientInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - RecipientSUPI string `json:"recipientSUPI,omitempty" yaml:"recipientSUPI" bson:"recipientSUPI,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - RecipientGPSI string `json:"recipientGPSI,omitempty" yaml:"recipientGPSI" bson:"recipientGPSI,omitempty"` - RecipientOtherAddress *SmAddressInfo `json:"recipientOtherAddress,omitempty" yaml:"recipientOtherAddress" bson:"recipientOtherAddress,omitempty"` - RecipientReceivedAddress *SmAddressInfo `json:"recipientReceivedAddress,omitempty" yaml:"recipientReceivedAddress" bson:"recipientReceivedAddress,omitempty"` - RecipientSCCPAddress string `json:"recipientSCCPAddress,omitempty" yaml:"recipientSCCPAddress" bson:"recipientSCCPAddress,omitempty"` - SMDestinationInterface *SmInterface `json:"sMDestinationInterface,omitempty" yaml:"sMDestinationInterface" bson:"sMDestinationInterface,omitempty"` - SMrecipientProtocolId string `json:"sMrecipientProtocolId,omitempty" yaml:"sMrecipientProtocolId" bson:"sMrecipientProtocolId,omitempty"` -} diff --git a/models/models/model_record.go b/models/models/model_record.go deleted file mode 100644 index 04ef0c20..00000000 --- a/models/models/model_record.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Definition of a Record -type Record struct { - Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` - // list of opaque Block's in this Record - Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` -} diff --git a/models/models/model_record_id_list.go b/models/models/model_record_id_list.go deleted file mode 100644 index 938ca066..00000000 --- a/models/models/model_record_id_list.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of Record IDs -type RecordIdList struct { - RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` -} diff --git a/models/models/model_record_meta.go b/models/models/model_record_meta.go deleted file mode 100644 index 002fe1a2..00000000 --- a/models/models/model_record_meta.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Meta data of a Record -type RecordMeta struct { - // string with format 'date-time' as defined in OpenAPI. - Ttl *time.Time `json:"ttl,omitempty" yaml:"ttl" bson:"ttl,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // A dictionary of {\"tagName\": [ \"tagValue\", ...] }. A tag name can be used to retrieve a Record. The tagValue are unique. - Tags map[string][]string `json:"tags,omitempty" yaml:"tags" bson:"tags,omitempty"` -} diff --git a/models/models/model_record_notification.go b/models/models/model_record_notification.go deleted file mode 100644 index e1b119ee..00000000 --- a/models/models/model_record_notification.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Definition of a notification on a record -type RecordNotification struct { - Descriptor *NotificationDescription `json:"descriptor" yaml:"descriptor" bson:"descriptor,omitempty"` - Meta *RecordMeta `json:"meta" yaml:"meta" bson:"meta,omitempty"` - // list of opaque Block's in this Record - Blocks []map[string]interface{} `json:"blocks,omitempty" yaml:"blocks" bson:"blocks,omitempty"` -} diff --git a/models/models/model_record_operation.go b/models/models/model_record_operation.go deleted file mode 100644 index 275ccd57..00000000 --- a/models/models/model_record_operation.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RecordOperation string - -// List of RecordOperation -const ( - RecordOperation_CREATED RecordOperation = "CREATED" - RecordOperation_UPDATED RecordOperation = "UPDATED" - RecordOperation_DELETED RecordOperation = "DELETED" -) diff --git a/models/models/model_record_search_result.go b/models/models/model_record_search_result.go deleted file mode 100644 index 7858a95a..00000000 --- a/models/models/model_record_search_result.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Count and collection of Record references matching the providing filter. -type RecordSearchResult struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Count int32 `json:"count" yaml:"count" bson:"count,omitempty"` - References []string `json:"references,omitempty" yaml:"references" bson:"references,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // A map (list of key-value pairs where recordId serves as key) of Records - MatchingRecords map[string]Record `json:"matchingRecords,omitempty" yaml:"matchingRecords" bson:"matchingRecords,omitempty"` -} diff --git a/models/models/model_red_trans_exp_ordering_criterion.go b/models/models/model_red_trans_exp_ordering_criterion.go deleted file mode 100644 index 342fcda9..00000000 --- a/models/models/model_red_trans_exp_ordering_criterion.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RedTransExpOrderingCriterion string - -// List of RedTransExpOrderingCriterion -const ( - RedTransExpOrderingCriterion_TIME_SLOT_START RedTransExpOrderingCriterion = "TIME_SLOT_START" - RedTransExpOrderingCriterion_RED_TRANS_EXP RedTransExpOrderingCriterion = "RED_TRANS_EXP" -) diff --git a/models/models/model_redirect_information.go b/models/models/model_redirect_information.go deleted file mode 100644 index c8ed0eaa..00000000 --- a/models/models/model_redirect_information.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the redirect information. -type RedirectInformation struct { - // Indicates the redirect is enable. - RedirectEnabled bool `json:"redirectEnabled,omitempty" yaml:"redirectEnabled" bson:"redirectEnabled,omitempty"` - RedirectAddressType PcfSmPolicyControlRedirectAddressType `json:"redirectAddressType,omitempty" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` - // Indicates the address of the redirect server. If \"redirectAddressType\" attribute indicates the IPV4_ADDR, the encoding is the same as the Ipv4Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the IPV6_ADDR, the encoding is the same as the Ipv6Addr data type defined in 3GPP TS 29.571.If \"redirectAddressType\" attribute indicates the URL or SIP_URI, the encoding is the same as the Uri data type defined in 3GPP TS 29.571. - RedirectServerAddress string `json:"redirectServerAddress,omitempty" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` -} diff --git a/models/models/model_redirect_response.go b/models/models/model_redirect_response.go deleted file mode 100644 index faac7441..00000000 --- a/models/models/model_redirect_response.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The response shall include a Location header field containing a different URI (pointing to a different URI of an other service instance), or the same URI if a request is redirected to the same target resource via a different SCP. -type RedirectResponse struct { - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - // String providing an URI formatted according to RFC 3986. - TargetScp string `json:"targetScp,omitempty" yaml:"targetScp" bson:"targetScp,omitempty"` - // String providing an URI formatted according to RFC 3986. - TargetSepp string `json:"targetSepp,omitempty" yaml:"targetSepp" bson:"targetSepp,omitempty"` -} diff --git a/models/models/model_redirect_server.go b/models/models/model_redirect_server.go deleted file mode 100644 index 724c2445..00000000 --- a/models/models/model_redirect_server.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RedirectServer struct { - RedirectAddressType ChfConvergedChargingRedirectAddressType `json:"redirectAddressType" yaml:"redirectAddressType" bson:"redirectAddressType,omitempty"` - RedirectServerAddress string `json:"redirectServerAddress" yaml:"redirectServerAddress" bson:"redirectServerAddress,omitempty"` -} diff --git a/models/models/model_redundant_pdu_session_information.go b/models/models/model_redundant_pdu_session_information.go deleted file mode 100644 index 37bc4064..00000000 --- a/models/models/model_redundant_pdu_session_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Redundant PDU Session Information -type RedundantPduSessionInformation struct { - Rsn Rsn `json:"rsn" yaml:"rsn" bson:"rsn,omitempty"` - PduSessionPairId int32 `json:"pduSessionPairId,omitempty" yaml:"pduSessionPairId" bson:"pduSessionPairId,omitempty"` -} diff --git a/models/models/model_redundant_transmission_exp_info.go b/models/models/model_redundant_transmission_exp_info.go deleted file mode 100644 index 72ad79f6..00000000 --- a/models/models/model_redundant_transmission_exp_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The redundant transmission experience related information. When subscribed event is \"RED_TRANS_EXP\", the \"redTransInfos\" attribute shall be included. -type RedundantTransmissionExpInfo struct { - SpatialValidCon *NetworkAreaInfo `json:"spatialValidCon,omitempty" yaml:"spatialValidCon" bson:"spatialValidCon,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - RedTransExps []RedundantTransmissionExpPerTs `json:"redTransExps" yaml:"redTransExps" bson:"redTransExps,omitempty"` -} diff --git a/models/models/model_redundant_transmission_exp_per_ts.go b/models/models/model_redundant_transmission_exp_per_ts.go deleted file mode 100644 index bef0f415..00000000 --- a/models/models/model_redundant_transmission_exp_per_ts.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// The redundant transmission experience per Time Slot. -type RedundantTransmissionExpPerTs struct { - // string with format 'date-time' as defined in OpenAPI. - TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` - // indicating a time in seconds. - TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` - ObsvRedTransExp *ObservedRedundantTransExp `json:"obsvRedTransExp" yaml:"obsvRedTransExp" bson:"obsvRedTransExp,omitempty"` - // Redundant Transmission Status. Set to \"true\" if redundant transmission was activated, otherwise set to \"false\". Default value is \"false\" if omitted. - RedTransStatus bool `json:"redTransStatus,omitempty" yaml:"redTransStatus" bson:"redTransStatus,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - UeRatio int32 `json:"ueRatio,omitempty" yaml:"ueRatio" bson:"ueRatio,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_redundant_transmission_exp_req.go b/models/models/model_redundant_transmission_exp_req.go deleted file mode 100644 index 43d1cd54..00000000 --- a/models/models/model_redundant_transmission_exp_req.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents other redundant transmission experience analytics requirements. -type RedundantTransmissionExpReq struct { - RedTOrderCriter RedTransExpOrderingCriterion `json:"redTOrderCriter,omitempty" yaml:"redTOrderCriter" bson:"redTOrderCriter,omitempty"` - Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` -} diff --git a/models/models/model_redundant_transmission_type.go b/models/models/model_redundant_transmission_type.go deleted file mode 100644 index 6802c93e..00000000 --- a/models/models/model_redundant_transmission_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RedundantTransmissionType string - -// List of RedundantTransmissionType -const ( - RedundantTransmissionType_NON_TRANSMISSION RedundantTransmissionType = "NON_TRANSMISSION" - RedundantTransmissionType_END_TO_END_USER_PLANE_PATHS RedundantTransmissionType = "END_TO_END_USER_PLANE_PATHS" - RedundantTransmissionType_N3_N9 RedundantTransmissionType = "N3/N9" - RedundantTransmissionType_TRANSPORT_LAYER RedundantTransmissionType = "TRANSPORT_LAYER" -) diff --git a/models/models/model_ref_to_binary_data.go b/models/models/model_ref_to_binary_data.go deleted file mode 100644 index 7bfec762..00000000 --- a/models/models/model_ref_to_binary_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This parameter provides information about the referenced binary body data. -type RefToBinaryData struct { - // This IE shall contain the value of the Content-ID header of the referenced binary body part. - ContentId string `json:"contentId" yaml:"contentId" bson:"contentId,omitempty"` -} diff --git a/models/models/model_reference_location_information.go b/models/models/model_reference_location_information.go deleted file mode 100644 index ec31f1ee..00000000 --- a/models/models/model_reference_location_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Reference Location Information for the user in fixed access networks -type ReferenceLocationInformation struct { - AccessType string `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AccessInfo string `json:"accessInfo,omitempty" yaml:"accessInfo" bson:"accessInfo,omitempty"` - AccessValue string `json:"accessValue,omitempty" yaml:"accessValue" bson:"accessValue,omitempty"` -} diff --git a/models/models/model_reflective_qo_s_attribute.go b/models/models/model_reflective_qo_s_attribute.go deleted file mode 100644 index d58cf0f8..00000000 --- a/models/models/model_reflective_qo_s_attribute.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReflectiveQoSAttribute string - -// List of ReflectiveQoSAttribute -const ( - ReflectiveQoSAttribute_RQOS ReflectiveQoSAttribute = "RQOS" - ReflectiveQoSAttribute_NO_RQOS ReflectiveQoSAttribute = "NO_RQOS" -) diff --git a/models/models/model_registration_charging_information.go b/models/models/model_registration_charging_information.go deleted file mode 100644 index 9c972e25..00000000 --- a/models/models/model_registration_charging_information.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationChargingInformation struct { - RegistrationMessagetype RegistrationMessageType `json:"registrationMessagetype" yaml:"registrationMessagetype" bson:"registrationMessagetype,omitempty"` - UserInformation *ChfConvergedChargingUserInformation `json:"userInformation,omitempty" yaml:"userInformation" bson:"userInformation,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - PSCellInformation *PsCellInformation `json:"pSCellInformation,omitempty" yaml:"pSCellInformation" bson:"pSCellInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - // string with format 'bytes' as defined in OpenAPI - Var5GMMCapability string `json:"5GMMCapability,omitempty" yaml:"5GMMCapability" bson:"5GMMCapability,omitempty"` - MICOModeIndication MicoModeIndication `json:"mICOModeIndication,omitempty" yaml:"mICOModeIndication" bson:"mICOModeIndication,omitempty"` - SmsIndication SmsIndication `json:"smsIndication,omitempty" yaml:"smsIndication" bson:"smsIndication,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - ServiceAreaRestriction []ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` - RequestedNSSAI []Snssai `json:"requestedNSSAI,omitempty" yaml:"requestedNSSAI" bson:"requestedNSSAI,omitempty"` - AllowedNSSAI []Snssai `json:"allowedNSSAI,omitempty" yaml:"allowedNSSAI" bson:"allowedNSSAI,omitempty"` - RejectedNSSAI []Snssai `json:"rejectedNSSAI,omitempty" yaml:"rejectedNSSAI" bson:"rejectedNSSAI,omitempty"` - NSSAIMapList []NssaiMap `json:"nSSAIMapList,omitempty" yaml:"nSSAIMapList" bson:"nSSAIMapList,omitempty"` - AmfUeNgapId int32 `json:"amfUeNgapId,omitempty" yaml:"amfUeNgapId" bson:"amfUeNgapId,omitempty"` - RanUeNgapId int32 `json:"ranUeNgapId,omitempty" yaml:"ranUeNgapId" bson:"ranUeNgapId,omitempty"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId,omitempty" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` -} diff --git a/models/models/model_registration_context_container.go b/models/models/model_registration_context_container.go deleted file mode 100644 index f1d8f6ab..00000000 --- a/models/models/model_registration_context_container.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Registration Context Container used to send the UE context information, N1 message from UE, AN address etc during Registration with AMF re-allocation procedure -type RegistrationContextContainer struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - LocalTimeZone string `json:"localTimeZone,omitempty" yaml:"localTimeZone" bson:"localTimeZone,omitempty"` - AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` - AnN2ApId int32 `json:"anN2ApId" yaml:"anN2ApId" bson:"anN2ApId,omitempty"` - RanNodeId *GlobalRanNodeId `json:"ranNodeId" yaml:"ranNodeId" bson:"ranNodeId,omitempty"` - // Fully Qualified Domain Name - InitialAmfName string `json:"initialAmfName" yaml:"initialAmfName" bson:"initialAmfName,omitempty"` - UserLocation *UserLocation `json:"userLocation" yaml:"userLocation" bson:"userLocation,omitempty"` - RrcEstCause string `json:"rrcEstCause,omitempty" yaml:"rrcEstCause" bson:"rrcEstCause,omitempty"` - UeContextRequest bool `json:"ueContextRequest,omitempty" yaml:"ueContextRequest" bson:"ueContextRequest,omitempty"` - InitialAmfN2ApId int32 `json:"initialAmfN2ApId,omitempty" yaml:"initialAmfN2ApId" bson:"initialAmfN2ApId,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AnN2IPv4Addr string `json:"anN2IPv4Addr,omitempty" yaml:"anN2IPv4Addr" bson:"anN2IPv4Addr,omitempty"` - AnN2IPv6Addr string `json:"anN2IPv6Addr,omitempty" yaml:"anN2IPv6Addr" bson:"anN2IPv6Addr,omitempty"` - AllowedNssai *AllowedNssai `json:"allowedNssai,omitempty" yaml:"allowedNssai" bson:"allowedNssai,omitempty"` - ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty" yaml:"configuredNssai" bson:"configuredNssai,omitempty"` - RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty" yaml:"rejectedNssaiInPlmn" bson:"rejectedNssaiInPlmn,omitempty"` - RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty" yaml:"rejectedNssaiInTa" bson:"rejectedNssaiInTa,omitempty"` - SelectedPlmnId *PlmnId `json:"selectedPlmnId,omitempty" yaml:"selectedPlmnId" bson:"selectedPlmnId,omitempty"` - IabNodeInd bool `json:"iabNodeInd,omitempty" yaml:"iabNodeInd" bson:"iabNodeInd,omitempty"` - CeModeBInd *CeModeBInd `json:"ceModeBInd,omitempty" yaml:"ceModeBInd" bson:"ceModeBInd,omitempty"` - LteMInd *LteMInd `json:"lteMInd,omitempty" yaml:"lteMInd" bson:"lteMInd,omitempty"` - AuthenticatedInd bool `json:"authenticatedInd,omitempty" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` - NpnAccessInfo *NpnAccessInfo `json:"npnAccessInfo,omitempty" yaml:"npnAccessInfo" bson:"npnAccessInfo,omitempty"` -} diff --git a/models/models/model_registration_data_set_name.go b/models/models/model_registration_data_set_name.go deleted file mode 100644 index 0845d9eb..00000000 --- a/models/models/model_registration_data_set_name.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationDataSetName string - -// List of RegistrationDataSetName -const ( - RegistrationDataSetName_AMF_3_GPP RegistrationDataSetName = "AMF_3GPP" - RegistrationDataSetName_AMF_NON_3_GPP RegistrationDataSetName = "AMF_NON_3GPP" - RegistrationDataSetName_SMF_PDU_SESSIONS RegistrationDataSetName = "SMF_PDU_SESSIONS" - RegistrationDataSetName_SMSF_3_GPP RegistrationDataSetName = "SMSF_3GPP" - RegistrationDataSetName_SMSF_NON_3_GPP RegistrationDataSetName = "SMSF_NON_3GPP" - RegistrationDataSetName_IP_SM_GW RegistrationDataSetName = "IP_SM_GW" - RegistrationDataSetName_NWDAF RegistrationDataSetName = "NWDAF" -) diff --git a/models/models/model_registration_data_sets.go b/models/models/model_registration_data_sets.go deleted file mode 100644 index eba148e0..00000000 --- a/models/models/model_registration_data_sets.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationDataSets struct { - Amf3Gpp *Amf3GppAccessRegistration `json:"amf3Gpp,omitempty" yaml:"amf3Gpp" bson:"amf3Gpp,omitempty"` - AmfNon3Gpp *AmfNon3GppAccessRegistration `json:"amfNon3Gpp,omitempty" yaml:"amfNon3Gpp" bson:"amfNon3Gpp,omitempty"` - SmfRegistration *SmfRegistrationInfo `json:"smfRegistration,omitempty" yaml:"smfRegistration" bson:"smfRegistration,omitempty"` - Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` - SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` - IpSmGw *IpSmGwRegistration `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` - NwdafRegistration *NwdafRegistrationInfo `json:"nwdafRegistration,omitempty" yaml:"nwdafRegistration" bson:"nwdafRegistration,omitempty"` -} diff --git a/models/models/model_registration_location_info.go b/models/models/model_registration_location_info.go deleted file mode 100644 index ce8d136e..00000000 --- a/models/models/model_registration_location_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationLocationInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - VgmlcAddress *VgmlcAddress `json:"vgmlcAddress,omitempty" yaml:"vgmlcAddress" bson:"vgmlcAddress,omitempty"` - AccessTypeList []AccessType `json:"accessTypeList" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` -} diff --git a/models/models/model_registration_message_type.go b/models/models/model_registration_message_type.go deleted file mode 100644 index 6787a3fc..00000000 --- a/models/models/model_registration_message_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationMessageType string - -// List of RegistrationMessageType -const ( - RegistrationMessageType_INITIAL RegistrationMessageType = "INITIAL" - RegistrationMessageType_MOBILITY RegistrationMessageType = "MOBILITY" - RegistrationMessageType_PERIODIC RegistrationMessageType = "PERIODIC" - RegistrationMessageType_EMERGENCY RegistrationMessageType = "EMERGENCY" - RegistrationMessageType_DEREGISTRATION RegistrationMessageType = "DEREGISTRATION" -) diff --git a/models/models/model_registration_reason.go b/models/models/model_registration_reason.go deleted file mode 100644 index ae3957d7..00000000 --- a/models/models/model_registration_reason.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationReason string - -// List of RegistrationReason -const ( - RegistrationReason_SMF_CONTEXT_TRANSFERRED RegistrationReason = "SMF_CONTEXT_TRANSFERRED" -) diff --git a/models/models/model_registration_type.go b/models/models/model_registration_type.go deleted file mode 100644 index 892fb9e3..00000000 --- a/models/models/model_registration_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RegistrationType string - -// List of RegistrationType -const ( - RegistrationType_INITIAL_REGISTRATION RegistrationType = "INITIAL_REGISTRATION" - RegistrationType_RE_REGISTRATION RegistrationType = "RE_REGISTRATION" - RegistrationType_DE_REGISTRATION RegistrationType = "DE_REGISTRATION" -) diff --git a/models/models/model_relative_cartesian_location.go b/models/models/model_relative_cartesian_location.go deleted file mode 100644 index 4c137ab7..00000000 --- a/models/models/model_relative_cartesian_location.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Relative Cartesian Location -type RelativeCartesianLocation struct { - // string with format 'float' as defined in OpenAPI. - X float32 `json:"x" yaml:"x" bson:"x,omitempty"` - // string with format 'float' as defined in OpenAPI. - Y float32 `json:"y" yaml:"y" bson:"y,omitempty"` - // string with format 'float' as defined in OpenAPI. - Z float32 `json:"z,omitempty" yaml:"z" bson:"z,omitempty"` -} diff --git a/models/models/model_release_charging_data_response_404.go b/models/models/model_release_charging_data_response_404.go deleted file mode 100644 index b7876ae1..00000000 --- a/models/models/model_release_charging_data_response_404.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ReleaseChargingDataResponse404 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_release_data.go b/models/models/model_release_data.go deleted file mode 100644 index 0f778233..00000000 --- a/models/models/model_release_data.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Release Request -type ReleaseData struct { - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` - SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` -} diff --git a/models/models/model_release_pdu_session_request.go b/models/models/model_release_pdu_session_request.go deleted file mode 100644 index 226efd43..00000000 --- a/models/models/model_release_pdu_session_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReleasePduSessionRequest struct { - JsonData *ReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` -} diff --git a/models/models/model_release_pdu_session_response_200.go b/models/models/model_release_pdu_session_response_200.go deleted file mode 100644 index 29b537f7..00000000 --- a/models/models/model_release_pdu_session_response_200.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReleasePduSessionResponse200 struct { - JsonData *ReleasedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` -} diff --git a/models/models/model_release_session_info.go b/models/models/model_release_session_info.go deleted file mode 100644 index e029e6f6..00000000 --- a/models/models/model_release_session_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// PDU session Id(s) and the cause for triggering the release. -type ReleaseSessionInfo struct { - ReleaseSessionList []int32 `json:"releaseSessionList" yaml:"releaseSessionList" bson:"releaseSessionList,omitempty"` - ReleaseCause AmfCommunicationReleaseCause `json:"releaseCause" yaml:"releaseCause" bson:"releaseCause,omitempty"` -} diff --git a/models/models/model_release_sm_context_request.go b/models/models/model_release_sm_context_request.go deleted file mode 100644 index 49a57aeb..00000000 --- a/models/models/model_release_sm_context_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReleaseSmContextRequest struct { - JsonData *SmfPduSessionSmContextReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` -} diff --git a/models/models/model_released_data.go b/models/models/model_released_data.go deleted file mode 100644 index 248651e5..00000000 --- a/models/models/model_released_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Release Response -type ReleasedData struct { - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` -} diff --git a/models/models/model_relocate_ue_context_request.go b/models/models/model_relocate_ue_context_request.go deleted file mode 100644 index 8d5d8b12..00000000 --- a/models/models/model_relocate_ue_context_request.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RelocateUeContextRequest struct { - JsonData *UeContextRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataForwardRelocationRequest []byte `json:"binaryDataForwardRelocationRequest,omitempty" yaml:"binaryDataForwardRelocationRequest" bson:"binaryDataForwardRelocationRequest,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` -} diff --git a/models/models/model_reply_path_requested.go b/models/models/model_reply_path_requested.go deleted file mode 100644 index e6171381..00000000 --- a/models/models/model_reply_path_requested.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReplyPathRequested string - -// List of ReplyPathRequested -const ( - ReplyPathRequested_NO_REPLY_PATH_SET ReplyPathRequested = "NO_REPLY_PATH_SET" - ReplyPathRequested_REPLY_PATH_SET ReplyPathRequested = "REPLY_PATH_SET" -) diff --git a/models/models/model_report_amount_mdt.go b/models/models/model_report_amount_mdt.go deleted file mode 100644 index 6d88dd1e..00000000 --- a/models/models/model_report_amount_mdt.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportAmountMdt string - -// List of ReportAmountMdt -const ( - ReportAmountMdt__1 ReportAmountMdt = "1" - ReportAmountMdt__2 ReportAmountMdt = "2" - ReportAmountMdt__4 ReportAmountMdt = "4" - ReportAmountMdt__8 ReportAmountMdt = "8" - ReportAmountMdt__16 ReportAmountMdt = "16" - ReportAmountMdt__32 ReportAmountMdt = "32" - ReportAmountMdt__64 ReportAmountMdt = "64" - ReportAmountMdt_INFINITY ReportAmountMdt = "infinity" -) diff --git a/models/models/model_report_interval_mdt.go b/models/models/model_report_interval_mdt.go deleted file mode 100644 index d339c61d..00000000 --- a/models/models/model_report_interval_mdt.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportIntervalMdt string - -// List of ReportIntervalMdt -const ( - ReportIntervalMdt__120 ReportIntervalMdt = "120" - ReportIntervalMdt__240 ReportIntervalMdt = "240" - ReportIntervalMdt__480 ReportIntervalMdt = "480" - ReportIntervalMdt__640 ReportIntervalMdt = "640" - ReportIntervalMdt__1024 ReportIntervalMdt = "1024" - ReportIntervalMdt__2048 ReportIntervalMdt = "2048" - ReportIntervalMdt__5120 ReportIntervalMdt = "5120" - ReportIntervalMdt__10240 ReportIntervalMdt = "10240" - ReportIntervalMdt__60000 ReportIntervalMdt = "60000" - ReportIntervalMdt__360000 ReportIntervalMdt = "360000" - ReportIntervalMdt__720000 ReportIntervalMdt = "720000" - ReportIntervalMdt__1800000 ReportIntervalMdt = "1800000" - ReportIntervalMdt__3600000 ReportIntervalMdt = "3600000" -) diff --git a/models/models/model_report_interval_nr_mdt.go b/models/models/model_report_interval_nr_mdt.go deleted file mode 100644 index 73882b20..00000000 --- a/models/models/model_report_interval_nr_mdt.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportIntervalNrMdt string - -// List of ReportIntervalNrMdt -const ( - ReportIntervalNrMdt__120 ReportIntervalNrMdt = "120" - ReportIntervalNrMdt__240 ReportIntervalNrMdt = "240" - ReportIntervalNrMdt__480 ReportIntervalNrMdt = "480" - ReportIntervalNrMdt__640 ReportIntervalNrMdt = "640" - ReportIntervalNrMdt__1024 ReportIntervalNrMdt = "1024" - ReportIntervalNrMdt__2048 ReportIntervalNrMdt = "2048" - ReportIntervalNrMdt__5120 ReportIntervalNrMdt = "5120" - ReportIntervalNrMdt__10240 ReportIntervalNrMdt = "10240" - ReportIntervalNrMdt__20480 ReportIntervalNrMdt = "20480" - ReportIntervalNrMdt__40960 ReportIntervalNrMdt = "40960" - ReportIntervalNrMdt__60000 ReportIntervalNrMdt = "60000" - ReportIntervalNrMdt__360000 ReportIntervalNrMdt = "360000" - ReportIntervalNrMdt__720000 ReportIntervalNrMdt = "720000" - ReportIntervalNrMdt__1800000 ReportIntervalNrMdt = "1800000" - ReportIntervalNrMdt__3600000 ReportIntervalNrMdt = "3600000" -) diff --git a/models/models/model_report_item.go b/models/models/model_report_item.go deleted file mode 100644 index 56b42107..00000000 --- a/models/models/model_report_item.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// indicates performed modivications. -type ReportItem struct { - // Contains a JSON pointer value (as defined in IETF RFC 6901) that references a location of a resource to which the modification is subject. - Path string `json:"path" yaml:"path" bson:"path,omitempty"` - // A human-readable reason providing details on the reported modification failure. The reason string should identify the operation that failed using the operation's array index to assist in correlation of the invalid parameter with the failed operation, e.g. \"Replacement value invalid for attribute (failed operation index= 4)\". - Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` -} diff --git a/models/models/model_report_type_mdt.go b/models/models/model_report_type_mdt.go deleted file mode 100644 index 0fcbffa3..00000000 --- a/models/models/model_report_type_mdt.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportTypeMdt string - -// List of ReportTypeMdt -const ( - ReportTypeMdt_PERIODICAL ReportTypeMdt = "PERIODICAL" - ReportTypeMdt_EVENT_TRIGGED ReportTypeMdt = "EVENT_TRIGGED" -) diff --git a/models/models/model_reported_event_type.go b/models/models/model_reported_event_type.go deleted file mode 100644 index cf56e848..00000000 --- a/models/models/model_reported_event_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportedEventType string - -// List of ReportedEventType -const ( - ReportedEventType_PERIODIC_EVENT ReportedEventType = "PERIODIC_EVENT" - ReportedEventType_ENTERING_AREA_EVENT ReportedEventType = "ENTERING_AREA_EVENT" - ReportedEventType_LEAVING_AREA_EVENT ReportedEventType = "LEAVING_AREA_EVENT" - ReportedEventType_BEING_INSIDE_AREA_EVENT ReportedEventType = "BEING_INSIDE_AREA_EVENT" - ReportedEventType_MOTION_EVENT ReportedEventType = "MOTION_EVENT" - ReportedEventType_MAXIMUM_INTERVAL_EXPIRATION_EVENT ReportedEventType = "MAXIMUM_INTERVAL_EXPIRATION_EVENT" - ReportedEventType_LOCATION_CANCELLATION_EVENT ReportedEventType = "LOCATION_CANCELLATION_EVENT" -) diff --git a/models/models/model_reporting_access_type.go b/models/models/model_reporting_access_type.go deleted file mode 100644 index 6f318739..00000000 --- a/models/models/model_reporting_access_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportingAccessType string - -// List of ReportingAccessType -const ( - ReportingAccessType_NR ReportingAccessType = "NR" - ReportingAccessType_EUTRA_CONNECTED_TO_5_GC ReportingAccessType = "EUTRA_CONNECTED_TO_5GC" - ReportingAccessType_NON_3_GPP_CONNECTED_TO_5_GC ReportingAccessType = "NON_3GPP_CONNECTED_TO_5GC" - ReportingAccessType_NR_LEO ReportingAccessType = "NR_LEO" - ReportingAccessType_NR_MEO ReportingAccessType = "NR_MEO" - ReportingAccessType_NR_GEO ReportingAccessType = "NR_GEO" - ReportingAccessType_NR_OTHER_SAT ReportingAccessType = "NR_OTHER_SAT" -) diff --git a/models/models/model_reporting_area.go b/models/models/model_reporting_area.go deleted file mode 100644 index dc360011..00000000 --- a/models/models/model_reporting_area.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates an area for event reporting. -type ReportingArea struct { - AreaType ReportingAreaType `json:"areaType" yaml:"areaType" bson:"areaType,omitempty"` - Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` -} diff --git a/models/models/model_reporting_area_type.go b/models/models/model_reporting_area_type.go deleted file mode 100644 index dbd2a292..00000000 --- a/models/models/model_reporting_area_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportingAreaType string - -// List of ReportingAreaType -const ( - ReportingAreaType_EPS_TRACKING_AREA_IDENTITY ReportingAreaType = "EPS_TRACKING_AREA_IDENTITY" - ReportingAreaType_E_UTRAN_CELL_GLOBAL_IDENTIFICATION ReportingAreaType = "E-UTRAN_CELL_GLOBAL_IDENTIFICATION" - ReportingAreaType__5_GS_TRACKING_AREA_IDENTITY ReportingAreaType = "5GS_TRACKING_AREA_IDENTITY" - ReportingAreaType_NR_CELL_GLOBAL_IDENTITY ReportingAreaType = "NR_CELL_GLOBAL_IDENTITY" -) diff --git a/models/models/model_reporting_frequency.go b/models/models/model_reporting_frequency.go deleted file mode 100644 index a34a7d47..00000000 --- a/models/models/model_reporting_frequency.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportingFrequency string - -// List of ReportingFrequency -const ( - ReportingFrequency_EVENT_TRIGGERED ReportingFrequency = "EVENT_TRIGGERED" - ReportingFrequency_PERIODIC ReportingFrequency = "PERIODIC" -) diff --git a/models/models/model_reporting_information.go b/models/models/model_reporting_information.go deleted file mode 100644 index da263177..00000000 --- a/models/models/model_reporting_information.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the type of reporting that the subscription requires. -type ReportingInformation struct { - ImmRep bool `json:"immRep,omitempty" yaml:"immRep" bson:"immRep,omitempty"` - NotifMethod SmfEventExposureNotificationMethod `json:"notifMethod,omitempty" yaml:"notifMethod" bson:"notifMethod,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxReportNbr int32 `json:"maxReportNbr,omitempty" yaml:"maxReportNbr" bson:"maxReportNbr,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - MonDur *time.Time `json:"monDur,omitempty" yaml:"monDur" bson:"monDur,omitempty"` - // indicating a time in seconds. - RepPeriod int32 `json:"repPeriod,omitempty" yaml:"repPeriod" bson:"repPeriod,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - SampRatio int32 `json:"sampRatio,omitempty" yaml:"sampRatio" bson:"sampRatio,omitempty"` - // Criteria for partitioning the UEs before applying the sampling ratio. - PartitionCriteria []PartitioningCriteria `json:"partitionCriteria,omitempty" yaml:"partitionCriteria" bson:"partitionCriteria,omitempty"` - // indicating a time in seconds. - GrpRepTime int32 `json:"grpRepTime,omitempty" yaml:"grpRepTime" bson:"grpRepTime,omitempty"` - NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` -} diff --git a/models/models/model_reporting_level.go b/models/models/model_reporting_level.go deleted file mode 100644 index 2a6fbae6..00000000 --- a/models/models/model_reporting_level.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportingLevel string - -// List of ReportingLevel -const ( - ReportingLevel_SER_ID_LEVEL ReportingLevel = "SER_ID_LEVEL" - ReportingLevel_RAT_GR_LEVEL ReportingLevel = "RAT_GR_LEVEL" - ReportingLevel_SPON_CON_LEVEL ReportingLevel = "SPON_CON_LEVEL" -) diff --git a/models/models/model_reporting_trigger.go b/models/models/model_reporting_trigger.go deleted file mode 100644 index e1c7b691..00000000 --- a/models/models/model_reporting_trigger.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReportingTrigger string - -// List of ReportingTrigger -const ( - ReportingTrigger_PERIODICAL ReportingTrigger = "PERIODICAL" - ReportingTrigger_EVENT_A2 ReportingTrigger = "EVENT_A2" - ReportingTrigger_EVENT_A2_PERIODIC ReportingTrigger = "EVENT_A2_PERIODIC" - ReportingTrigger_ALL_RRM_EVENT_TRIGGERS ReportingTrigger = "ALL_RRM_EVENT_TRIGGERS" -) diff --git a/models/models/model_repository_data.go b/models/models/model_repository_data.go deleted file mode 100644 index 9e6edfc2..00000000 --- a/models/models/model_repository_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Repository Data for the requested Service Indication -type RepositoryData struct { - // Unsigned integer containing the sequence number associated to the current version of Repository Data - SequenceNumber int32 `json:"sequenceNumber" yaml:"sequenceNumber" bson:"sequenceNumber,omitempty"` - ServiceData string `json:"serviceData" yaml:"serviceData" bson:"serviceData,omitempty"` -} diff --git a/models/models/model_repository_data_list.go b/models/models/model_repository_data_list.go deleted file mode 100644 index e61321ef..00000000 --- a/models/models/model_repository_data_list.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of Repository Data for the requested Service Indications -type RepositoryDataList struct { - // A map (list of key-value pairs where ServiceIndication serves as key) of RepositoryData - RepositoryDataMap map[string]RepositoryData `json:"repositoryDataMap" yaml:"repositoryDataMap" bson:"repositoryDataMap,omitempty"` -} diff --git a/models/models/model_request_direction.go b/models/models/model_request_direction.go deleted file mode 100644 index 7e4595ea..00000000 --- a/models/models/model_request_direction.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestDirection string - -// List of RequestDirection -const ( - RequestDirection_ORIGINATING_REGISTERED RequestDirection = "ORIGINATING_REGISTERED" - RequestDirection_ORIGINATING_UNREGISTERED RequestDirection = "ORIGINATING_UNREGISTERED" - RequestDirection_ORIGINATING_CDIV RequestDirection = "ORIGINATING_CDIV" - RequestDirection_TERMINATING_REGISTERED RequestDirection = "TERMINATING_REGISTERED" - RequestDirection_TERMINATING_UNREGISTERED RequestDirection = "TERMINATING_UNREGISTERED" -) diff --git a/models/models/model_request_indication.go b/models/models/model_request_indication.go deleted file mode 100644 index cb7be0db..00000000 --- a/models/models/model_request_indication.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestIndication string - -// List of RequestIndication -const ( - RequestIndication_UE_REQ_PDU_SES_MOD RequestIndication = "UE_REQ_PDU_SES_MOD" - RequestIndication_UE_REQ_PDU_SES_REL RequestIndication = "UE_REQ_PDU_SES_REL" - RequestIndication_PDU_SES_MOB RequestIndication = "PDU_SES_MOB" - RequestIndication_NW_REQ_PDU_SES_AUTH RequestIndication = "NW_REQ_PDU_SES_AUTH" - RequestIndication_NW_REQ_PDU_SES_MOD RequestIndication = "NW_REQ_PDU_SES_MOD" - RequestIndication_NW_REQ_PDU_SES_REL RequestIndication = "NW_REQ_PDU_SES_REL" - RequestIndication_EBI_ASSIGNMENT_REQ RequestIndication = "EBI_ASSIGNMENT_REQ" - RequestIndication_REL_DUE_TO_5_G_AN_REQUEST RequestIndication = "REL_DUE_TO_5G_AN_REQUEST" -) diff --git a/models/models/model_request_loc_info.go b/models/models/model_request_loc_info.go deleted file mode 100644 index 38b7cf3c..00000000 --- a/models/models/model_request_loc_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Provide Location Information Request -type RequestLocInfo struct { - Req5gsLoc bool `json:"req5gsLoc,omitempty" yaml:"req5gsLoc" bson:"req5gsLoc,omitempty"` - ReqCurrentLoc bool `json:"reqCurrentLoc,omitempty" yaml:"reqCurrentLoc" bson:"reqCurrentLoc,omitempty"` - ReqRatType bool `json:"reqRatType,omitempty" yaml:"reqRatType" bson:"reqRatType,omitempty"` - ReqTimeZone bool `json:"reqTimeZone,omitempty" yaml:"reqTimeZone" bson:"reqTimeZone,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_request_pos_info.go b/models/models/model_request_pos_info.go deleted file mode 100644 index dff8e3a0..00000000 --- a/models/models/model_request_pos_info.go +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within Provide Positioning Information Request -type RequestPosInfo struct { - LcsClientType ExternalClientType `json:"lcsClientType" yaml:"lcsClientType" bson:"lcsClientType,omitempty"` - LcsLocation AmfLocationLocationType `json:"lcsLocation" yaml:"lcsLocation" bson:"lcsLocation,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - Priority LcsPriority `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - LcsQoS *LocationQoS `json:"lcsQoS,omitempty" yaml:"lcsQoS" bson:"lcsQoS,omitempty"` - VelocityRequested VelocityRequested `json:"velocityRequested,omitempty" yaml:"velocityRequested" bson:"velocityRequested,omitempty"` - LcsSupportedGADShapes SupportedGadShapes `json:"lcsSupportedGADShapes,omitempty" yaml:"lcsSupportedGADShapes" bson:"lcsSupportedGADShapes,omitempty"` - AdditionalLcsSuppGADShapes []SupportedGadShapes `json:"additionalLcsSuppGADShapes,omitempty" yaml:"additionalLcsSuppGADShapes" bson:"additionalLcsSuppGADShapes,omitempty"` - // String providing an URI formatted according to RFC 3986. - LocationNotificationUri string `json:"locationNotificationUri,omitempty" yaml:"locationNotificationUri" bson:"locationNotificationUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // LCS service type. - LcsServiceType int32 `json:"lcsServiceType,omitempty" yaml:"lcsServiceType" bson:"lcsServiceType,omitempty"` - LdrType LdrType `json:"ldrType,omitempty" yaml:"ldrType" bson:"ldrType,omitempty"` - // String providing an URI formatted according to RFC 3986. - HgmlcCallBackURI string `json:"hgmlcCallBackURI,omitempty" yaml:"hgmlcCallBackURI" bson:"hgmlcCallBackURI,omitempty"` - // LDR Reference. - LdrReference string `json:"ldrReference,omitempty" yaml:"ldrReference" bson:"ldrReference,omitempty"` - PeriodicEventInfo *PeriodicEventInfo `json:"periodicEventInfo,omitempty" yaml:"periodicEventInfo" bson:"periodicEventInfo,omitempty"` - AreaEventInfo *AreaEventInfo `json:"areaEventInfo,omitempty" yaml:"areaEventInfo" bson:"areaEventInfo,omitempty"` - MotionEventInfo *MotionEventInfo `json:"motionEventInfo,omitempty" yaml:"motionEventInfo" bson:"motionEventInfo,omitempty"` - // Contains the external client identification - ExternalClientIdentification string `json:"externalClientIdentification,omitempty" yaml:"externalClientIdentification" bson:"externalClientIdentification,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AfID string `json:"afID,omitempty" yaml:"afID" bson:"afID,omitempty"` - // Contains the codeword - CodeWord string `json:"codeWord,omitempty" yaml:"codeWord" bson:"codeWord,omitempty"` - UePrivacyRequirements *UePrivacyRequirements `json:"uePrivacyRequirements,omitempty" yaml:"uePrivacyRequirements" bson:"uePrivacyRequirements,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ScheduledLocTime *time.Time `json:"scheduledLocTime,omitempty" yaml:"scheduledLocTime" bson:"scheduledLocTime,omitempty"` - ReliableLocReq bool `json:"reliableLocReq,omitempty" yaml:"reliableLocReq" bson:"reliableLocReq,omitempty"` - IntegrityRequirements *IntegrityRequirements `json:"integrityRequirements,omitempty" yaml:"integrityRequirements" bson:"integrityRequirements,omitempty"` -} diff --git a/models/models/model_request_type.go b/models/models/model_request_type.go deleted file mode 100644 index f9f98bfd..00000000 --- a/models/models/model_request_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestType string - -// List of RequestType -const ( - RequestType_INITIAL_REQUEST RequestType = "INITIAL_REQUEST" - RequestType_EXISTING_PDU_SESSION RequestType = "EXISTING_PDU_SESSION" - RequestType_INITIAL_EMERGENCY_REQUEST RequestType = "INITIAL_EMERGENCY_REQUEST" - RequestType_EXISTING_EMERGENCY_PDU_SESSION RequestType = "EXISTING_EMERGENCY_PDU_SESSION" -) diff --git a/models/models/model_requested_context.go b/models/models/model_requested_context.go deleted file mode 100644 index 5888439a..00000000 --- a/models/models/model_requested_context.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains types of analytics context information. -type RequestedContext struct { - // List of analytics context types. - Contexts []ContextType `json:"contexts" yaml:"contexts" bson:"contexts,omitempty"` -} diff --git a/models/models/model_requested_node.go b/models/models/model_requested_node.go deleted file mode 100644 index 8f1eb5c2..00000000 --- a/models/models/model_requested_node.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestedNode string - -// List of RequestedNode -const ( - RequestedNode_SGSN RequestedNode = "SGSN" - RequestedNode_MME RequestedNode = "MME" - RequestedNode_AMF RequestedNode = "AMF" - RequestedNode__3_GPP_AAA_SERVER_TWAN RequestedNode = "3GPP_AAA_SERVER_TWAN" -) diff --git a/models/models/model_requested_qos.go b/models/models/model_requested_qos.go deleted file mode 100644 index 14964a90..00000000 --- a/models/models/model_requested_qos.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the QoS information requested by the UE. -type RequestedQos struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` -} diff --git a/models/models/model_requested_qos_monitoring_parameter.go b/models/models/model_requested_qos_monitoring_parameter.go deleted file mode 100644 index d0e4413e..00000000 --- a/models/models/model_requested_qos_monitoring_parameter.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestedQosMonitoringParameter string - -// List of RequestedQosMonitoringParameter -const ( - RequestedQosMonitoringParameter_DOWNLINK RequestedQosMonitoringParameter = "DOWNLINK" - RequestedQosMonitoringParameter_UPLINK RequestedQosMonitoringParameter = "UPLINK" - RequestedQosMonitoringParameter_ROUND_TRIP RequestedQosMonitoringParameter = "ROUND_TRIP" -) diff --git a/models/models/model_requested_rule_data.go b/models/models/model_requested_rule_data.go deleted file mode 100644 index bbe0dd9c..00000000 --- a/models/models/model_requested_rule_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains rule data requested by the PCF to receive information associated with PCC rule(s). -type RequestedRuleData struct { - // An array of PCC rule id references to the PCC rules associated with the control data. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` - // Array of requested rule data type elements indicating what type of rule data is requested for the corresponding referenced PCC rules. - ReqData []RequestedRuleDataType `json:"reqData" yaml:"reqData" bson:"reqData,omitempty"` -} diff --git a/models/models/model_requested_rule_data_type.go b/models/models/model_requested_rule_data_type.go deleted file mode 100644 index 37190108..00000000 --- a/models/models/model_requested_rule_data_type.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestedRuleDataType string - -// List of RequestedRuleDataType -const ( - RequestedRuleDataType_CH_ID RequestedRuleDataType = "CH_ID" - RequestedRuleDataType_MS_TIME_ZONE RequestedRuleDataType = "MS_TIME_ZONE" - RequestedRuleDataType_USER_LOC_INFO RequestedRuleDataType = "USER_LOC_INFO" - RequestedRuleDataType_RES_RELEASE RequestedRuleDataType = "RES_RELEASE" - RequestedRuleDataType_SUCC_RES_ALLO RequestedRuleDataType = "SUCC_RES_ALLO" - RequestedRuleDataType_EPS_FALLBACK RequestedRuleDataType = "EPS_FALLBACK" -) diff --git a/models/models/model_requested_unit.go b/models/models/model_requested_unit.go deleted file mode 100644 index 31ff8e5c..00000000 --- a/models/models/model_requested_unit.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequestedUnit struct { - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - Time int32 `json:"time,omitempty" yaml:"time" bson:"time,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - TotalVolume int32 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - UplinkVolume int32 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - DownlinkVolume int32 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - ServiceSpecificUnits int32 `json:"serviceSpecificUnits,omitempty" yaml:"serviceSpecificUnits" bson:"serviceSpecificUnits,omitempty"` -} diff --git a/models/models/model_requested_usage_data.go b/models/models/model_requested_usage_data.go deleted file mode 100644 index 84f5a924..00000000 --- a/models/models/model_requested_usage_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains usage data requested by the PCF requesting usage reports for the corresponding usage monitoring data instances. -type RequestedUsageData struct { - // An array of usage monitoring data id references to the usage monitoring data instances for which the PCF is requesting a usage report. This attribute shall only be provided when allUmIds is not set to true. - RefUmIds []string `json:"refUmIds,omitempty" yaml:"refUmIds" bson:"refUmIds,omitempty"` - // This boolean indicates whether requested usage data applies to all usage monitoring data instances. When it's not included, it means requested usage data shall only apply to the usage monitoring data instances referenced by the refUmIds attribute. - AllUmIds bool `json:"allUmIds,omitempty" yaml:"allUmIds" bson:"allUmIds,omitempty"` -} diff --git a/models/models/model_required_access_info.go b/models/models/model_required_access_info.go deleted file mode 100644 index 48e8a9ff..00000000 --- a/models/models/model_required_access_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RequiredAccessInfo string - -// List of RequiredAccessInfo -const ( - RequiredAccessInfo_USER_LOCATION RequiredAccessInfo = "USER_LOCATION" - RequiredAccessInfo_UE_TIME_ZONE RequiredAccessInfo = "UE_TIME_ZONE" -) diff --git a/models/models/model_reserv_priority.go b/models/models/model_reserv_priority.go deleted file mode 100644 index f52f0eec..00000000 --- a/models/models/model_reserv_priority.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ReservPriority string - -// List of ReservPriority -const ( - ReservPriority__1 ReservPriority = "PRIO_1" - ReservPriority__2 ReservPriority = "PRIO_2" - ReservPriority__3 ReservPriority = "PRIO_3" - ReservPriority__4 ReservPriority = "PRIO_4" - ReservPriority__5 ReservPriority = "PRIO_5" - ReservPriority__6 ReservPriority = "PRIO_6" - ReservPriority__7 ReservPriority = "PRIO_7" - ReservPriority__8 ReservPriority = "PRIO_8" - ReservPriority__9 ReservPriority = "PRIO_9" - ReservPriority__10 ReservPriority = "PRIO_10" - ReservPriority__11 ReservPriority = "PRIO_11" - ReservPriority__12 ReservPriority = "PRIO_12" - ReservPriority__13 ReservPriority = "PRIO_13" - ReservPriority__14 ReservPriority = "PRIO_14" - ReservPriority__15 ReservPriority = "PRIO_15" - ReservPriority__16 ReservPriority = "PRIO_16" -) diff --git a/models/models/model_resource_item.go b/models/models/model_resource_item.go deleted file mode 100644 index 41315a04..00000000 --- a/models/models/model_resource_item.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a subscription to policy data change notification when the change occurs in a fragment (subset of resource data) of a given resource. -type ResourceItem struct { - // String providing an URI formatted according to RFC 3986. - MonResourceUri string `json:"monResourceUri" yaml:"monResourceUri" bson:"monResourceUri,omitempty"` - Items []string `json:"items" yaml:"items" bson:"items,omitempty"` -} diff --git a/models/models/model_resource_status.go b/models/models/model_resource_status.go deleted file mode 100644 index 62672576..00000000 --- a/models/models/model_resource_status.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ResourceStatus string - -// List of ResourceStatus -const ( - ResourceStatus_RELEASED ResourceStatus = "RELEASED" - ResourceStatus_UNCHANGED ResourceStatus = "UNCHANGED" - ResourceStatus_TRANSFERRED ResourceStatus = "TRANSFERRED" - ResourceStatus_UPDATED ResourceStatus = "UPDATED" - ResourceStatus_ALT_ANCHOR_SMF ResourceStatus = "ALT_ANCHOR_SMF" -) diff --git a/models/models/model_resource_usage.go b/models/models/model_resource_usage.go deleted file mode 100644 index 6a36a646..00000000 --- a/models/models/model_resource_usage.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The current usage of the virtual resources assigned to the NF instances belonging to a particular network slice instance. -type ResourceUsage struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - CpuUsage int32 `json:"cpuUsage,omitempty" yaml:"cpuUsage" bson:"cpuUsage,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MemoryUsage int32 `json:"memoryUsage,omitempty" yaml:"memoryUsage" bson:"memoryUsage,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - StorageUsage int32 `json:"storageUsage,omitempty" yaml:"storageUsage" bson:"storageUsage,omitempty"` -} diff --git a/models/models/model_resources_allocation_info.go b/models/models/model_resources_allocation_info.go deleted file mode 100644 index 9e18dbd9..00000000 --- a/models/models/model_resources_allocation_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the status of the PCC rule(s) related to certain media components. -type ResourcesAllocationInfo struct { - McResourcStatus MediaComponentResourcesStatus `json:"mcResourcStatus,omitempty" yaml:"mcResourcStatus" bson:"mcResourcStatus,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` - AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` -} diff --git a/models/models/model_response_time.go b/models/models/model_response_time.go deleted file mode 100644 index 2a419753..00000000 --- a/models/models/model_response_time.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ResponseTime string - -// List of ResponseTime -const ( - ResponseTime_LOW_DELAY ResponseTime = "LOW_DELAY" - ResponseTime_DELAY_TOLERANT ResponseTime = "DELAY_TOLERANT" - ResponseTime_NO_DELAY ResponseTime = "NO_DELAY" -) diff --git a/models/models/model_restricted_snssai.go b/models/models/model_restricted_snssai.go deleted file mode 100644 index 0539b925..00000000 --- a/models/models/model_restricted_snssai.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the restricted SNssai information per PLMN -type RestrictedSnssai struct { - HomePlmnId *PlmnId `json:"homePlmnId" yaml:"homePlmnId" bson:"homePlmnId,omitempty"` - SNssaiList []ExtSnssai `json:"sNssaiList" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` - HomePlmnIdList []PlmnId `json:"homePlmnIdList,omitempty" yaml:"homePlmnIdList" bson:"homePlmnIdList,omitempty"` - RoamingRestriction bool `json:"roamingRestriction,omitempty" yaml:"roamingRestriction" bson:"roamingRestriction,omitempty"` -} diff --git a/models/models/model_restriction_type.go b/models/models/model_restriction_type.go deleted file mode 100644 index 29d55130..00000000 --- a/models/models/model_restriction_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RestrictionType string - -// List of RestrictionType -const ( - RestrictionType_ALLOWED_AREAS RestrictionType = "ALLOWED_AREAS" - RestrictionType_NOT_ALLOWED_AREAS RestrictionType = "NOT_ALLOWED_AREAS" -) diff --git a/models/models/model_resynchronization_info.go b/models/models/model_resynchronization_info.go deleted file mode 100644 index 56b69153..00000000 --- a/models/models/model_resynchronization_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ResynchronizationInfo struct { - Rand string `json:"rand" yaml:"rand" bson:"rand,omitempty"` - Auts string `json:"auts" yaml:"auts" bson:"auts,omitempty"` -} diff --git a/models/models/model_retainability_threshold.go b/models/models/model_retainability_threshold.go deleted file mode 100644 index 17da7fe2..00000000 --- a/models/models/model_retainability_threshold.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a QoS flow retainability threshold. -type RetainabilityThreshold struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RelFlowNum int32 `json:"relFlowNum,omitempty" yaml:"relFlowNum" bson:"relFlowNum,omitempty"` - RelTimeUnit TimeUnit `json:"relTimeUnit,omitempty" yaml:"relTimeUnit" bson:"relTimeUnit,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - RelFlowRatio int32 `json:"relFlowRatio,omitempty" yaml:"relFlowRatio" bson:"relFlowRatio,omitempty"` -} diff --git a/models/models/model_retrieve_data.go b/models/models/model_retrieve_data.go deleted file mode 100644 index ce8bd405..00000000 --- a/models/models/model_retrieve_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Retrieve Request -type RetrieveData struct { - SmallDataRateStatusReq bool `json:"smallDataRateStatusReq,omitempty" yaml:"smallDataRateStatusReq" bson:"smallDataRateStatusReq,omitempty"` - PduSessionContextType PduSessionContextType `json:"pduSessionContextType,omitempty" yaml:"pduSessionContextType" bson:"pduSessionContextType,omitempty"` -} diff --git a/models/models/model_retrieve_records.go b/models/models/model_retrieve_records.go deleted file mode 100644 index 41c3d584..00000000 --- a/models/models/model_retrieve_records.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RetrieveRecords string - -// List of RetrieveRecords -const ( - RetrieveRecords_ONLY_META RetrieveRecords = "ONLY_META" - RetrieveRecords_META_AND_BLOCKS RetrieveRecords = "META_AND_BLOCKS" -) diff --git a/models/models/model_retrieved_data.go b/models/models/model_retrieved_data.go deleted file mode 100644 index 7320b049..00000000 --- a/models/models/model_retrieved_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Retrieve Response -type RetrievedData struct { - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` -} diff --git a/models/models/model_revoked_cause.go b/models/models/model_revoked_cause.go deleted file mode 100644 index 70217f85..00000000 --- a/models/models/model_revoked_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RevokedCause string - -// List of RevokedCause -const ( - RevokedCause_NOT_ALLOWED RevokedCause = "NOT_ALLOWED" - RevokedCause_EXCLUDED_FROM_GROUP RevokedCause = "EXCLUDED_FROM_GROUP" - RevokedCause_GPSI_REMOVED RevokedCause = "GPSI_REMOVED" -) diff --git a/models/models/model_rg_authentication_info.go b/models/models/model_rg_authentication_info.go deleted file mode 100644 index 9f75a5b2..00000000 --- a/models/models/model_rg_authentication_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE id (i.e. SUCI) and the authenticated indication. -type RgAuthenticationInfo struct { - // Contains the SUCI. - Suci string `json:"suci" yaml:"suci" bson:"suci,omitempty"` - AuthenticatedInd bool `json:"authenticatedInd" yaml:"authenticatedInd" bson:"authenticatedInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_rm_info.go b/models/models/model_rm_info.go deleted file mode 100644 index 65aeefbd..00000000 --- a/models/models/model_rm_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the registration state of a UE for an access type -type RmInfo struct { - RmState RmState `json:"rmState" yaml:"rmState" bson:"rmState,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_rm_state.go b/models/models/model_rm_state.go deleted file mode 100644 index 7eb2cd32..00000000 --- a/models/models/model_rm_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RmState string - -// List of RmState -const ( - RmState_REGISTERED RmState = "REGISTERED" - RmState_DEREGISTERED RmState = "DEREGISTERED" -) diff --git a/models/models/model_roamer_in_out.go b/models/models/model_roamer_in_out.go deleted file mode 100644 index 98745a20..00000000 --- a/models/models/model_roamer_in_out.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamerInOut string - -// List of RoamerInOut -const ( - RoamerInOut_IN_BOUND RoamerInOut = "IN_BOUND" - RoamerInOut_OUT_BOUND RoamerInOut = "OUT_BOUND" -) diff --git a/models/models/model_roaming_indication.go b/models/models/model_roaming_indication.go deleted file mode 100644 index 94a13094..00000000 --- a/models/models/model_roaming_indication.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamingIndication string - -// List of RoamingIndication -const ( - RoamingIndication_NON_ROAMING RoamingIndication = "NON_ROAMING" - RoamingIndication_LOCAL_BREAKOUT RoamingIndication = "LOCAL_BREAKOUT" - RoamingIndication_HOME_ROUTED_ROAMING RoamingIndication = "HOME_ROUTED_ROAMING" -) diff --git a/models/models/model_roaming_info_update.go b/models/models/model_roaming_info_update.go deleted file mode 100644 index d31b1112..00000000 --- a/models/models/model_roaming_info_update.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Roaming Information Update -type RoamingInfoUpdate struct { - Roaming bool `json:"roaming,omitempty" yaml:"roaming" bson:"roaming,omitempty"` - ServingPlmn *PlmnId `json:"servingPlmn" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` -} diff --git a/models/models/model_roaming_odb.go b/models/models/model_roaming_odb.go deleted file mode 100644 index ed9cd5a2..00000000 --- a/models/models/model_roaming_odb.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamingOdb string - -// List of RoamingOdb -const ( - RoamingOdb_PLMN RoamingOdb = "OUTSIDE_HOME_PLMN" - RoamingOdb_PLMN_COUNTRY RoamingOdb = "OUTSIDE_HOME_PLMN_COUNTRY" -) diff --git a/models/models/model_roaming_restrictions.go b/models/models/model_roaming_restrictions.go deleted file mode 100644 index bbd2b3dd..00000000 --- a/models/models/model_roaming_restrictions.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates if access is allowed to a given serving network, e.g. a PLMN (MCC, MNC) or an SNPN (MCC, MNC, NID). -type RoamingRestrictions struct { - AccessAllowed bool `json:"accessAllowed,omitempty" yaml:"accessAllowed" bson:"accessAllowed,omitempty"` -} diff --git a/models/models/model_roaming_status_report.go b/models/models/model_roaming_status_report.go deleted file mode 100644 index 0b1a526e..00000000 --- a/models/models/model_roaming_status_report.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamingStatusReport struct { - Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` - NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_role_of_ims_node.go b/models/models/model_role_of_ims_node.go deleted file mode 100644 index 617eb34b..00000000 --- a/models/models/model_role_of_ims_node.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoleOfImsNode string - -// List of RoleOfIMSNode -const ( - RoleOfImsNode_ORIGINATING RoleOfImsNode = "ORIGINATING" - RoleOfImsNode_TERMINATING RoleOfImsNode = "TERMINATING" - RoleOfImsNode_FORWARDING RoleOfImsNode = "FORWARDING" -) diff --git a/models/models/model_role_of_ue.go b/models/models/model_role_of_ue.go deleted file mode 100644 index 5b9d875c..00000000 --- a/models/models/model_role_of_ue.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoleOfUe string - -// List of RoleOfUE -const ( - RoleOfUe_ANNOUNCING_UE RoleOfUe = "ANNOUNCING_UE" - RoleOfUe_MONITORING_UE RoleOfUe = "MONITORING_UE" - RoleOfUe_REQUESTOR_UE RoleOfUe = "REQUESTOR_UE" - RoleOfUe_REQUESTED_UE RoleOfUe = "REQUESTED_UE" -) diff --git a/models/models/model_route_information.go b/models/models/model_route_information.go deleted file mode 100644 index f155a6f4..00000000 --- a/models/models/model_route_information.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// At least one of the \"ipv4Addr\" attribute and the \"ipv6Addr\" attribute shall be included in the \"RouteInformation\" data type. -type RouteInformation struct { - // string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used. - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - PortNumber int32 `json:"portNumber" yaml:"portNumber" bson:"portNumber,omitempty"` -} diff --git a/models/models/model_route_selection_parameter_set.go b/models/models/model_route_selection_parameter_set.go deleted file mode 100644 index ba2fd8d4..00000000 --- a/models/models/model_route_selection_parameter_set.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains parameters that can be used to guide the Route Selection Descriptors of the URSP. -type RouteSelectionParameterSet struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` - // Indicates where the route selection parameters apply. It may correspond to a geographical area, for example using a geographic shape that is known to the AF and is configured by the operator to correspond to a list of or TAIs. - SpatialValidityAreas []GeographicalArea `json:"spatialValidityAreas,omitempty" yaml:"spatialValidityAreas" bson:"spatialValidityAreas,omitempty"` - // Indicates the TAIs in which the route selection parameters apply. This attribute is applicable only within the 5GC and it shall not be included in the request messages of untrusted AFs for URSP guidance. - SpatialValidityTais []Tai `json:"spatialValidityTais,omitempty" yaml:"spatialValidityTais" bson:"spatialValidityTais,omitempty"` -} diff --git a/models/models/model_route_to_location.go b/models/models/model_route_to_location.go deleted file mode 100644 index 7ee346a1..00000000 --- a/models/models/model_route_to_location.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// At least one of the \"routeInfo\" attribute and the \"routeProfId\" attribute shall be included in the \"RouteToLocation\" data type. -type RouteToLocation struct { - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` - RouteInfo *RouteInformation `json:"routeInfo,omitempty" yaml:"routeInfo" bson:"routeInfo,omitempty"` - // Identifies the routing profile Id. - RouteProfId string `json:"routeProfId,omitempty" yaml:"routeProfId" bson:"routeProfId,omitempty"` -} diff --git a/models/models/model_routing_area_id.go b/models/models/model_routing_area_id.go deleted file mode 100644 index 130f183d..00000000 --- a/models/models/model_routing_area_id.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Routing Area Identification as defined in 3GPP TS 23.003, clause 4.2. -type RoutingAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // Location Area Code - Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` - // Routing Area Code - Rac string `json:"rac" yaml:"rac" bson:"rac,omitempty"` -} diff --git a/models/models/model_routing_info_sm_request.go b/models/models/model_routing_info_sm_request.go deleted file mode 100644 index a61c7ee8..00000000 --- a/models/models/model_routing_info_sm_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Request body of the send-routing-info-sm custom operation -type RoutingInfoSmRequest struct { - IpSmGwInd bool `json:"ipSmGwInd,omitempty" yaml:"ipSmGwInd" bson:"ipSmGwInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_routing_info_sm_response.go b/models/models/model_routing_info_sm_response.go deleted file mode 100644 index f145b953..00000000 --- a/models/models/model_routing_info_sm_response.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Addressing information of available nodes for SMS delivery -type RoutingInfoSmResponse struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - Smsf3Gpp *SmsfRegistration `json:"smsf3Gpp,omitempty" yaml:"smsf3Gpp" bson:"smsf3Gpp,omitempty"` - SmsfNon3Gpp *SmsfRegistration `json:"smsfNon3Gpp,omitempty" yaml:"smsfNon3Gpp" bson:"smsfNon3Gpp,omitempty"` - IpSmGw *IpSmGwInfo `json:"ipSmGw,omitempty" yaml:"ipSmGw" bson:"ipSmGw,omitempty"` - SmsRouter *SmsRouterInfo `json:"smsRouter,omitempty" yaml:"smsRouter" bson:"smsRouter,omitempty"` -} diff --git a/models/models/model_rsn.go b/models/models/model_rsn.go deleted file mode 100644 index ceecfd80..00000000 --- a/models/models/model_rsn.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Rsn string - -// List of Rsn -const ( - Rsn_V1 Rsn = "V1" - Rsn_V2 Rsn = "V2" - Rsn_NONE Rsn = "NONE" -) diff --git a/models/models/model_rule_operation.go b/models/models/model_rule_operation.go deleted file mode 100644 index 7db32391..00000000 --- a/models/models/model_rule_operation.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RuleOperation string - -// List of RuleOperation -const ( - RuleOperation_CREATE_PCC_RULE RuleOperation = "CREATE_PCC_RULE" - RuleOperation_DELETE_PCC_RULE RuleOperation = "DELETE_PCC_RULE" - RuleOperation_MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS" - RuleOperation_MODIFY__PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_REPLACE_PACKET_FILTERS" - RuleOperation_MODIFY__PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_DELETE_PACKET_FILTERS" - RuleOperation_MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS" -) diff --git a/models/models/model_rule_report.go b/models/models/model_rule_report.go deleted file mode 100644 index 8fdfd3d3..00000000 --- a/models/models/model_rule_report.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Reports the status of PCC. -type RuleReport struct { - // Contains the identifier of the affected PCC rule(s). - PccRuleIds []string `json:"pccRuleIds" yaml:"pccRuleIds" bson:"pccRuleIds,omitempty"` - RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` - // Indicates the version of a PCC rule. - ContVers []int32 `json:"contVers,omitempty" yaml:"contVers" bson:"contVers,omitempty"` - FailureCode PcfSmPolicyControlFailureCode `json:"failureCode,omitempty" yaml:"failureCode" bson:"failureCode,omitempty"` - FinUnitAct FinalUnitAction `json:"finUnitAct,omitempty" yaml:"finUnitAct" bson:"finUnitAct,omitempty"` - // indicates the RAN or NAS release cause code information. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` - AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` -} diff --git a/models/models/model_rule_status.go b/models/models/model_rule_status.go deleted file mode 100644 index 21a66a0f..00000000 --- a/models/models/model_rule_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RuleStatus string - -// List of RuleStatus -const ( - RuleStatus_ACTIVE RuleStatus = "ACTIVE" - RuleStatus_INACTIVE RuleStatus = "INACTIVE" -) diff --git a/models/models/model_sac_event.go b/models/models/model_sac_event.go deleted file mode 100644 index 1554d620..00000000 --- a/models/models/model_sac_event.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes an event to be subscribed -type SacEvent struct { - EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - EventTrigger SacEventTrigger `json:"eventTrigger,omitempty" yaml:"eventTrigger" bson:"eventTrigger,omitempty"` - EventFilter []Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` - // indicating a time in seconds. - NotificationPeriod int32 `json:"notificationPeriod,omitempty" yaml:"notificationPeriod" bson:"notificationPeriod,omitempty"` - NotifThreshold *SacInfo `json:"notifThreshold,omitempty" yaml:"notifThreshold" bson:"notifThreshold,omitempty"` - ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` -} diff --git a/models/models/model_sac_event_report.go b/models/models/model_sac_event_report.go deleted file mode 100644 index 24a7b3eb..00000000 --- a/models/models/model_sac_event_report.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Event notification -type SacEventReport struct { - Report *SacEventReportItem `json:"report" yaml:"report" bson:"report,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` -} diff --git a/models/models/model_sac_event_report_item.go b/models/models/model_sac_event_report_item.go deleted file mode 100644 index 0675c384..00000000 --- a/models/models/model_sac_event_report_item.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a report triggered by a subscribed event type -type SacEventReportItem struct { - EventType SacEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - EventState *SacEventState `json:"eventState" yaml:"eventState" bson:"eventState,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - EventFilter *Snssai `json:"eventFilter" yaml:"eventFilter" bson:"eventFilter,omitempty"` - SliceStautsInfo *SacEventStatus `json:"sliceStautsInfo,omitempty" yaml:"sliceStautsInfo" bson:"sliceStautsInfo,omitempty"` -} diff --git a/models/models/model_sac_event_state.go b/models/models/model_sac_event_state.go deleted file mode 100644 index 17b4a6d9..00000000 --- a/models/models/model_sac_event_state.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the state of a subscribed event -type SacEventState struct { - Active bool `json:"active" yaml:"active" bson:"active,omitempty"` - RemainReports int32 `json:"remainReports,omitempty" yaml:"remainReports" bson:"remainReports,omitempty"` - // indicating a time in seconds. - RemainDuration int32 `json:"remainDuration,omitempty" yaml:"remainDuration" bson:"remainDuration,omitempty"` -} diff --git a/models/models/model_sac_event_status.go b/models/models/model_sac_event_status.go deleted file mode 100644 index e9548b71..00000000 --- a/models/models/model_sac_event_status.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the network slice status information in terms of the current number of UEs registered with a network slice, the current number of PDU Sessions established on a network slice or both. -type SacEventStatus struct { - ReachedNumUes *SacInfo `json:"reachedNumUes,omitempty" yaml:"reachedNumUes" bson:"reachedNumUes,omitempty"` - ReachedNumPduSess *SacInfo `json:"reachedNumPduSess,omitempty" yaml:"reachedNumPduSess" bson:"reachedNumPduSess,omitempty"` -} diff --git a/models/models/model_sac_event_subscription.go b/models/models/model_sac_event_subscription.go deleted file mode 100644 index d966575a..00000000 --- a/models/models/model_sac_event_subscription.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Request data to create the event subscription -type SacEventSubscription struct { - Event *SacEvent `json:"event" yaml:"event" bson:"event,omitempty"` - // String providing an URI formatted according to RFC 3986. - EventNotifyUri string `json:"eventNotifyUri" yaml:"eventNotifyUri" bson:"eventNotifyUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId" yaml:"nfId" bson:"nfId,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - MaxReports int32 `json:"maxReports,omitempty" yaml:"maxReports" bson:"maxReports,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_sac_event_trigger.go b/models/models/model_sac_event_trigger.go deleted file mode 100644 index be595ae4..00000000 --- a/models/models/model_sac_event_trigger.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SacEventTrigger string - -// List of SACEventTrigger -const ( - SacEventTrigger_THRESHOLD SacEventTrigger = "THRESHOLD" - SacEventTrigger_PERIODIC SacEventTrigger = "PERIODIC" -) diff --git a/models/models/model_sac_event_type.go b/models/models/model_sac_event_type.go deleted file mode 100644 index 80a2597b..00000000 --- a/models/models/model_sac_event_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SacEventType string - -// List of SACEventType -const ( - SacEventType_REGD_UES SacEventType = "NUM_OF_REGD_UES" - SacEventType_ESTD_PDU_SESSIONS SacEventType = "NUM_OF_ESTD_PDU_SESSIONS" -) diff --git a/models/models/model_sac_info.go b/models/models/model_sac_info.go deleted file mode 100644 index 44021744..00000000 --- a/models/models/model_sac_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents threshold(s) to control the triggering of network slice reporting notifications or the information contained in the network slice reporting notification. -type SacInfo struct { - NumericValNumUes int32 `json:"numericValNumUes,omitempty" yaml:"numericValNumUes" bson:"numericValNumUes,omitempty"` - NumericValNumPduSess int32 `json:"numericValNumPduSess,omitempty" yaml:"numericValNumPduSess" bson:"numericValNumPduSess,omitempty"` - PercValueNumUes int32 `json:"percValueNumUes,omitempty" yaml:"percValueNumUes" bson:"percValueNumUes,omitempty"` - PercValueNumPduSess int32 `json:"percValueNumPduSess,omitempty" yaml:"percValueNumPduSess" bson:"percValueNumPduSess,omitempty"` -} diff --git a/models/models/model_satellite_backhaul_category.go b/models/models/model_satellite_backhaul_category.go deleted file mode 100644 index ac25a1a5..00000000 --- a/models/models/model_satellite_backhaul_category.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SatelliteBackhaulCategory string - -// List of SatelliteBackhaulCategory -const ( - SatelliteBackhaulCategory_GEO SatelliteBackhaulCategory = "GEO" - SatelliteBackhaulCategory_MEO SatelliteBackhaulCategory = "MEO" - SatelliteBackhaulCategory_LEO SatelliteBackhaulCategory = "LEO" - SatelliteBackhaulCategory_OTHER_SAT SatelliteBackhaulCategory = "OTHER_SAT" - SatelliteBackhaulCategory_NON_SATELLITE SatelliteBackhaulCategory = "NON_SATELLITE" -) diff --git a/models/models/model_sbi_binding_level.go b/models/models/model_sbi_binding_level.go deleted file mode 100644 index e3169e90..00000000 --- a/models/models/model_sbi_binding_level.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SbiBindingLevel string - -// List of SbiBindingLevel -const ( - SbiBindingLevel_INSTANCE_BINDING SbiBindingLevel = "NF_INSTANCE_BINDING" - SbiBindingLevel_SET_BINDING SbiBindingLevel = "NF_SET_BINDING" - SbiBindingLevel_SERVICE_SET_BINDING SbiBindingLevel = "NF_SERVICE_SET_BINDING" - SbiBindingLevel_SERVICE_INSTANCE_BINDING SbiBindingLevel = "NF_SERVICE_INSTANCE_BINDING" -) diff --git a/models/models/model_sc_type.go b/models/models/model_sc_type.go deleted file mode 100644 index bc26de25..00000000 --- a/models/models/model_sc_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ScType string - -// List of ScType -const ( - ScType_NATIVE ScType = "NATIVE" - ScType_MAPPED ScType = "MAPPED" -) diff --git a/models/models/model_scheduled_communication_time.go b/models/models/model_scheduled_communication_time.go deleted file mode 100644 index 65c59d6a..00000000 --- a/models/models/model_scheduled_communication_time.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies time and day of the week when the UE is available for communication. -type ScheduledCommunicationTime struct { - // Identifies the day(s) of the week. If absent, it indicates every day of the week. - DaysOfWeek []int32 `json:"daysOfWeek,omitempty" yaml:"daysOfWeek" bson:"daysOfWeek,omitempty"` - // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). - TimeOfDayStart string `json:"timeOfDayStart,omitempty" yaml:"timeOfDayStart" bson:"timeOfDayStart,omitempty"` - // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). - TimeOfDayEnd string `json:"timeOfDayEnd,omitempty" yaml:"timeOfDayEnd" bson:"timeOfDayEnd,omitempty"` -} diff --git a/models/models/model_scheduled_communication_time_rm.go b/models/models/model_scheduled_communication_time_rm.go deleted file mode 100644 index 66251571..00000000 --- a/models/models/model_scheduled_communication_time_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ScheduledCommunicationTimeRm struct { -} diff --git a/models/models/model_scheduled_communication_type.go b/models/models/model_scheduled_communication_type.go deleted file mode 100644 index 2e671780..00000000 --- a/models/models/model_scheduled_communication_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ScheduledCommunicationType string - -// List of ScheduledCommunicationType -const ( - ScheduledCommunicationType_DOWNLINK_ONLY ScheduledCommunicationType = "DOWNLINK_ONLY" - ScheduledCommunicationType_UPLINK_ONLY ScheduledCommunicationType = "UPLINK_ONLY" - ScheduledCommunicationType_BIDIRECTIONAL ScheduledCommunicationType = "BIDIRECTIONAL" -) diff --git a/models/models/model_scheduled_communication_type_rm.go b/models/models/model_scheduled_communication_type_rm.go deleted file mode 100644 index 0e2e7117..00000000 --- a/models/models/model_scheduled_communication_type_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ScheduledCommunicationTypeRm struct { -} diff --git a/models/models/model_scp_capability.go b/models/models/model_scp_capability.go deleted file mode 100644 index 57d569d5..00000000 --- a/models/models/model_scp_capability.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ScpCapability string - -// List of ScpCapability -const ( - ScpCapability_INDIRECT_COM_WITH_DELEG_DISC ScpCapability = "INDIRECT_COM_WITH_DELEG_DISC" -) diff --git a/models/models/model_scp_domain_cond.go b/models/models/model_scp_domain_cond.go deleted file mode 100644 index 720d5d91..00000000 --- a/models/models/model_scp_domain_cond.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NF or SCP or SEPP instances belonging to certain SCP domains -type ScpDomainCond struct { - ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` - NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` -} diff --git a/models/models/model_scp_domain_connectivity.go b/models/models/model_scp_domain_connectivity.go deleted file mode 100644 index 15b02c4e..00000000 --- a/models/models/model_scp_domain_connectivity.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SCP Domain Connectivity Information -type ScpDomainConnectivity struct { - ConnectedScpDomainList []string `json:"connectedScpDomainList" yaml:"connectedScpDomainList" bson:"connectedScpDomainList,omitempty"` -} diff --git a/models/models/model_scp_domain_info.go b/models/models/model_scp_domain_info.go deleted file mode 100644 index 599210cc..00000000 --- a/models/models/model_scp_domain_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SCP Domain specific information -type ScpDomainInfo struct { - // Fully Qualified Domain Name - ScpFqdn string `json:"scpFqdn,omitempty" yaml:"scpFqdn" bson:"scpFqdn,omitempty"` - ScpIpEndPoints []IpEndPoint `json:"scpIpEndPoints,omitempty" yaml:"scpIpEndPoints" bson:"scpIpEndPoints,omitempty"` - ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` - // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". - ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` -} diff --git a/models/models/model_scp_domain_routing_info_notification.go b/models/models/model_scp_domain_routing_info_notification.go deleted file mode 100644 index 293552b7..00000000 --- a/models/models/model_scp_domain_routing_info_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SCP Domain Routing Information Notification -type ScpDomainRoutingInfoNotification struct { - RoutingInfo *ScpDomainRoutingInformation `json:"routingInfo" yaml:"routingInfo" bson:"routingInfo,omitempty"` - LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` -} diff --git a/models/models/model_scp_domain_routing_info_subscription.go b/models/models/model_scp_domain_routing_info_subscription.go deleted file mode 100644 index 8e610eca..00000000 --- a/models/models/model_scp_domain_routing_info_subscription.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// SCP Domain Routing Information Subscription -type ScpDomainRoutingInfoSubscription struct { - // String providing an URI formatted according to RFC 3986. - CallbackUri string `json:"callbackUri" yaml:"callbackUri" bson:"callbackUri,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ReqInstanceId string `json:"reqInstanceId,omitempty" yaml:"reqInstanceId" bson:"reqInstanceId,omitempty"` - LocalInd bool `json:"localInd,omitempty" yaml:"localInd" bson:"localInd,omitempty"` -} diff --git a/models/models/model_scp_domain_routing_information.go b/models/models/model_scp_domain_routing_information.go deleted file mode 100644 index b31f497b..00000000 --- a/models/models/model_scp_domain_routing_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SCP Domain Routing Information -type ScpDomainRoutingInformation struct { - // This IE shall contain a map of SCP domain interconnection information, where the key of the map is a SCP domain. The value of each entry shall be the interconnectivity information of the the SCP domain indicated by the key. An empty map indicates that there is no SCP domain currently registered in the NRF. - ScpDomainList map[string]ScpDomainConnectivity `json:"scpDomainList" yaml:"scpDomainList" bson:"scpDomainList,omitempty"` -} diff --git a/models/models/model_scp_info.go b/models/models/model_scp_info.go deleted file mode 100644 index a6cc9a5f..00000000 --- a/models/models/model_scp_info.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an SCP Instance -type ScpInfo struct { - // A map (list of key-value pairs) where the key of the map shall be the string identifying an SCP domain - ScpDomainInfoList map[string]ScpDomainInfo `json:"scpDomainInfoList,omitempty" yaml:"scpDomainInfoList" bson:"scpDomainInfoList,omitempty"` - ScpPrefix string `json:"scpPrefix,omitempty" yaml:"scpPrefix" bson:"scpPrefix,omitempty"` - // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". - ScpPorts map[string]int32 `json:"scpPorts,omitempty" yaml:"scpPorts" bson:"scpPorts,omitempty"` - AddressDomains []string `json:"addressDomains,omitempty" yaml:"addressDomains" bson:"addressDomains,omitempty"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` - Ipv4AddrRanges []NrfNfManagementIpv4AddressRange `json:"ipv4AddrRanges,omitempty" yaml:"ipv4AddrRanges" bson:"ipv4AddrRanges,omitempty"` - Ipv6PrefixRanges []NrfNfManagementIpv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` - ServedNfSetIdList []string `json:"servedNfSetIdList,omitempty" yaml:"servedNfSetIdList" bson:"servedNfSetIdList,omitempty"` - RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` - RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` - IpReachability IpReachability `json:"ipReachability,omitempty" yaml:"ipReachability" bson:"ipReachability,omitempty"` - ScpCapabilities []ScpCapability `json:"scpCapabilities,omitempty" yaml:"scpCapabilities" bson:"scpCapabilities,omitempty"` -} diff --git a/models/models/model_scscf_capability_list.go b/models/models/model_scscf_capability_list.go deleted file mode 100644 index 65c0561b..00000000 --- a/models/models/model_scscf_capability_list.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information about mandatory and optional S-CSCF capabilities -type ScscfCapabilityList struct { - // A list of capabilities of the S-CSCF - MandatoryCapabilityList []int32 `json:"mandatoryCapabilityList,omitempty" yaml:"mandatoryCapabilityList" bson:"mandatoryCapabilityList,omitempty"` - // A list of capabilities of the S-CSCF - OptionalCapabilityList []int32 `json:"optionalCapabilityList,omitempty" yaml:"optionalCapabilityList" bson:"optionalCapabilityList,omitempty"` -} diff --git a/models/models/model_scscf_registration.go b/models/models/model_scscf_registration.go deleted file mode 100644 index 6bbfc112..00000000 --- a/models/models/model_scscf_registration.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Nhss_imsUECM - * - * Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 Home Subscriber Server (HSS) Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Scscf Registration -type ScscfRegistration struct { - // IMS Private Identity of the UE - Impi string `json:"impi,omitempty" yaml:"impi" bson:"impi,omitempty"` - ImsRegistrationType ImsRegistrationType `json:"imsRegistrationType" yaml:"imsRegistrationType" bson:"imsRegistrationType,omitempty"` - CscfServerName string `json:"cscfServerName" yaml:"cscfServerName" bson:"cscfServerName,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ScscfInstanceId string `json:"scscfInstanceId,omitempty" yaml:"scscfInstanceId" bson:"scscfInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` - AssociatedImpis []string `json:"associatedImpis,omitempty" yaml:"associatedImpis" bson:"associatedImpis,omitempty"` - AssociatedRegisteredImpis []string `json:"associatedRegisteredImpis,omitempty" yaml:"associatedRegisteredImpis" bson:"associatedRegisteredImpis,omitempty"` - IrsImpus []string `json:"irsImpus,omitempty" yaml:"irsImpus" bson:"irsImpus,omitempty"` - // IMS Public Identity of the UE (sip URI or tel URI) - WildcardedPui string `json:"wildcardedPui,omitempty" yaml:"wildcardedPui" bson:"wildcardedPui,omitempty"` - LooseRouteIndicator LooseRouteIndication `json:"looseRouteIndicator,omitempty" yaml:"looseRouteIndicator" bson:"looseRouteIndicator,omitempty"` - // IMS Public Identity of the UE (sip URI or tel URI) - WildcardedPsi string `json:"wildcardedPsi,omitempty" yaml:"wildcardedPsi" bson:"wildcardedPsi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MultipleRegistrationIndicator bool `json:"multipleRegistrationIndicator,omitempty" yaml:"multipleRegistrationIndicator" bson:"multipleRegistrationIndicator,omitempty"` - PcscfRestorationIndicator bool `json:"pcscfRestorationIndicator,omitempty" yaml:"pcscfRestorationIndicator" bson:"pcscfRestorationIndicator,omitempty"` - ScscfReselectionIndicator bool `json:"scscfReselectionIndicator,omitempty" yaml:"scscfReselectionIndicator" bson:"scscfReselectionIndicator,omitempty"` -} diff --git a/models/models/model_scscf_selection_assistance_information.go b/models/models/model_scscf_selection_assistance_information.go deleted file mode 100644 index cc6967e6..00000000 --- a/models/models/model_scscf_selection_assistance_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information used by the I-CSCF to select an S-CSCF for the UE -type ScscfSelectionAssistanceInformation struct { - ScscfCapabilityList *ScscfCapabilityList `json:"scscfCapabilityList,omitempty" yaml:"scscfCapabilityList" bson:"scscfCapabilityList,omitempty"` - ScscfNames []string `json:"scscfNames,omitempty" yaml:"scscfNames" bson:"scscfNames,omitempty"` -} diff --git a/models/models/model_sd_range.go b/models/models/model_sd_range.go deleted file mode 100644 index 4a0b5e39..00000000 --- a/models/models/model_sd_range.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of SDs (Slice Differentiators) -type SdRange struct { - // First value identifying the start of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - // Last value identifying the end of an SD range. This string shall be formatted as specified for the sd attribute of the Snssai data type in clause 5.4.4.2. - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` -} diff --git a/models/models/model_sdm_subs_modification.go b/models/models/model_sdm_subs_modification.go deleted file mode 100644 index e5e76921..00000000 --- a/models/models/model_sdm_subs_modification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SdmSubsModification struct { - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` -} diff --git a/models/models/model_sdm_subscription.go b/models/models/model_sdm_subscription.go deleted file mode 100644 index 68f21ba6..00000000 --- a/models/models/model_sdm_subscription.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SdmSubscription struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - ImplicitUnsubscribe bool `json:"implicitUnsubscribe,omitempty" yaml:"implicitUnsubscribe" bson:"implicitUnsubscribe,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires,omitempty" yaml:"expires" bson:"expires,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - AmfServiceName ServiceName `json:"amfServiceName,omitempty" yaml:"amfServiceName" bson:"amfServiceName,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ImmediateReport bool `json:"immediateReport,omitempty" yaml:"immediateReport" bson:"immediateReport,omitempty"` - Report *ImmediateReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - NfChangeFilter bool `json:"nfChangeFilter,omitempty" yaml:"nfChangeFilter" bson:"nfChangeFilter,omitempty"` - UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - UeConSmfDataSubFilter *UeContextInSmfDataSubFilter `json:"ueConSmfDataSubFilter,omitempty" yaml:"ueConSmfDataSubFilter" bson:"ueConSmfDataSubFilter,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` -} diff --git a/models/models/model_sdp_description.go b/models/models/model_sdp_description.go deleted file mode 100644 index 87c98750..00000000 --- a/models/models/model_sdp_description.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a SDP line (and optionally the value in the line) within the body (if any) of a SIP request -type SdpDescription struct { - Line string `json:"line" yaml:"line" bson:"line,omitempty"` - Content string `json:"content,omitempty" yaml:"content" bson:"content,omitempty"` -} diff --git a/models/models/model_sdp_media_component.go b/models/models/model_sdp_media_component.go deleted file mode 100644 index 5c10c960..00000000 --- a/models/models/model_sdp_media_component.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SdpMediaComponent struct { - SDPMediaName string `json:"sDPMediaName,omitempty" yaml:"sDPMediaName" bson:"sDPMediaName,omitempty"` - SDPMediaDescription []string `json:"SDPMediaDescription,omitempty" yaml:"SDPMediaDescription" bson:"SDPMediaDescription,omitempty"` - LocalGWInsertedIndication bool `json:"localGWInsertedIndication,omitempty" yaml:"localGWInsertedIndication" bson:"localGWInsertedIndication,omitempty"` - IpRealmDefaultIndication bool `json:"ipRealmDefaultIndication,omitempty" yaml:"ipRealmDefaultIndication" bson:"ipRealmDefaultIndication,omitempty"` - TranscoderInsertedIndication bool `json:"transcoderInsertedIndication,omitempty" yaml:"transcoderInsertedIndication" bson:"transcoderInsertedIndication,omitempty"` - MediaInitiatorFlag MediaInitiatorFlag `json:"mediaInitiatorFlag,omitempty" yaml:"mediaInitiatorFlag" bson:"mediaInitiatorFlag,omitempty"` - MediaInitiatorParty string `json:"mediaInitiatorParty,omitempty" yaml:"mediaInitiatorParty" bson:"mediaInitiatorParty,omitempty"` - ThreeGPPChargingId string `json:"threeGPPChargingId,omitempty" yaml:"threeGPPChargingId" bson:"threeGPPChargingId,omitempty"` - AccessNetworkChargingIdentifierValue string `json:"accessNetworkChargingIdentifierValue,omitempty" yaml:"accessNetworkChargingIdentifierValue" bson:"accessNetworkChargingIdentifierValue,omitempty"` - SDPType SdpType `json:"sDPType,omitempty" yaml:"sDPType" bson:"sDPType,omitempty"` -} diff --git a/models/models/model_sdp_time_stamps.go b/models/models/model_sdp_time_stamps.go deleted file mode 100644 index f5dd8128..00000000 --- a/models/models/model_sdp_time_stamps.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SdpTimeStamps struct { - // string with format 'date-time' as defined in OpenAPI. - SDPOfferTimestamp *time.Time `json:"sDPOfferTimestamp,omitempty" yaml:"sDPOfferTimestamp" bson:"sDPOfferTimestamp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - SDPAnswerTimestamp *time.Time `json:"sDPAnswerTimestamp,omitempty" yaml:"sDPAnswerTimestamp" bson:"sDPAnswerTimestamp,omitempty"` -} diff --git a/models/models/model_sdp_type.go b/models/models/model_sdp_type.go deleted file mode 100644 index 999aa8c8..00000000 --- a/models/models/model_sdp_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SdpType string - -// List of SDPType -const ( - SdpType_OFFER SdpType = "OFFER" - SdpType_ANSWER SdpType = "ANSWER" -) diff --git a/models/models/model_seaf_data.go b/models/models/model_seaf_data.go deleted file mode 100644 index d0f25e26..00000000 --- a/models/models/model_seaf_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents SEAF data derived from data received from AUSF -type SeafData struct { - NgKsi *NgKsi `json:"ngKsi" yaml:"ngKsi" bson:"ngKsi,omitempty"` - KeyAmf *KeyAmf `json:"keyAmf" yaml:"keyAmf" bson:"keyAmf,omitempty"` - Nh string `json:"nh,omitempty" yaml:"nh" bson:"nh,omitempty"` - Ncc int32 `json:"ncc,omitempty" yaml:"ncc" bson:"ncc,omitempty"` - KeyAmfChangeInd bool `json:"keyAmfChangeInd,omitempty" yaml:"keyAmfChangeInd" bson:"keyAmfChangeInd,omitempty"` - KeyAmfHDerivationInd bool `json:"keyAmfHDerivationInd,omitempty" yaml:"keyAmfHDerivationInd" bson:"keyAmfHDerivationInd,omitempty"` -} diff --git a/models/models/model_search_comparison.go b/models/models/model_search_comparison.go deleted file mode 100644 index 357b93be..00000000 --- a/models/models/model_search_comparison.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A comparison to apply on tag/values pairs. -type SearchComparison struct { - Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` - Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` - Value string `json:"value" yaml:"value" bson:"value,omitempty"` -} diff --git a/models/models/model_search_condition.go b/models/models/model_search_condition.go deleted file mode 100644 index 03d4fc68..00000000 --- a/models/models/model_search_condition.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A logical condition -type SearchCondition struct { - Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` - Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` - // Represents the Identifier of a Meta schema. - SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` -} diff --git a/models/models/model_search_expression.go b/models/models/model_search_expression.go deleted file mode 100644 index 71884092..00000000 --- a/models/models/model_search_expression.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A logical expression element -type SearchExpression struct { - Cond ConditionOperator `json:"cond" yaml:"cond" bson:"cond,omitempty"` - Units []SearchExpression `json:"units" yaml:"units" bson:"units,omitempty"` - // Represents the Identifier of a Meta schema. - SchemaId string `json:"schemaId,omitempty" yaml:"schemaId" bson:"schemaId,omitempty"` - Op ComparisonOperator `json:"op" yaml:"op" bson:"op,omitempty"` - Tag string `json:"tag" yaml:"tag" bson:"tag,omitempty"` - Value string `json:"value" yaml:"value" bson:"value,omitempty"` - RecordIdList []string `json:"recordIdList" yaml:"recordIdList" bson:"recordIdList,omitempty"` -} diff --git a/models/models/model_search_result.go b/models/models/model_search_result.go deleted file mode 100644 index 3ed2a954..00000000 --- a/models/models/model_search_result.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the list of NF Profiles returned in a Discovery response -type SearchResult struct { - ValidityPeriod int32 `json:"validityPeriod,omitempty" yaml:"validityPeriod" bson:"validityPeriod,omitempty"` - NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` - SearchId string `json:"searchId,omitempty" yaml:"searchId" bson:"searchId,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - NumNfInstComplete int32 `json:"numNfInstComplete,omitempty" yaml:"numNfInstComplete" bson:"numNfInstComplete,omitempty"` - PreferredSearch *PreferredSearch `json:"preferredSearch,omitempty" yaml:"preferredSearch" bson:"preferredSearch,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` - // List of matching NF instances. The key of the map is the NF instance ID. - NfInstanceList map[string]NfInstanceInfo `json:"nfInstanceList,omitempty" yaml:"nfInstanceList" bson:"nfInstanceList,omitempty"` - AlteredPriorityInd bool `json:"alteredPriorityInd,omitempty" yaml:"alteredPriorityInd" bson:"alteredPriorityInd,omitempty"` - NoProfileMatchInfo *NoProfileMatchInfo `json:"noProfileMatchInfo,omitempty" yaml:"noProfileMatchInfo" bson:"noProfileMatchInfo,omitempty"` -} diff --git a/models/models/model_secondary_rat_usage_info.go b/models/models/model_secondary_rat_usage_info.go deleted file mode 100644 index f2c49160..00000000 --- a/models/models/model_secondary_rat_usage_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Secondary RAT Usage Information to report usage data for a secondary RAT for QoS flows and/or the whole PDU session. -type SecondaryRatUsageInfo struct { - SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` - QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData,omitempty" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` - PduSessionUsageData []VolumeTimedReport `json:"pduSessionUsageData,omitempty" yaml:"pduSessionUsageData" bson:"pduSessionUsageData,omitempty"` -} diff --git a/models/models/model_secondary_rat_usage_report.go b/models/models/model_secondary_rat_usage_report.go deleted file mode 100644 index ffb91c54..00000000 --- a/models/models/model_secondary_rat_usage_report.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Secondary RAT Usage Report to report usage data for a secondary RAT for QoS flows. -type SecondaryRatUsageReport struct { - SecondaryRatType RatType `json:"secondaryRatType" yaml:"secondaryRatType" bson:"secondaryRatType,omitempty"` - QosFlowsUsageData []QosFlowUsageReport `json:"qosFlowsUsageData" yaml:"qosFlowsUsageData" bson:"qosFlowsUsageData,omitempty"` -} diff --git a/models/models/model_security_result.go b/models/models/model_security_result.go deleted file mode 100644 index 480a1302..00000000 --- a/models/models/model_security_result.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Security Result -type SecurityResult struct { - IntegrityProtectionResult ProtectionResult `json:"integrityProtectionResult,omitempty" yaml:"integrityProtectionResult" bson:"integrityProtectionResult,omitempty"` - ConfidentialityProtectionResult ProtectionResult `json:"confidentialityProtectionResult,omitempty" yaml:"confidentialityProtectionResult" bson:"confidentialityProtectionResult,omitempty"` -} diff --git a/models/models/model_send_mo_data_req_data.go b/models/models/model_send_mo_data_req_data.go deleted file mode 100644 index 8fc7d6f7..00000000 --- a/models/models/model_send_mo_data_req_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Send MO Data Request -type SendMoDataReqData struct { - MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` -} diff --git a/models/models/model_send_mo_data_request.go b/models/models/model_send_mo_data_request.go deleted file mode 100644 index 556cb55f..00000000 --- a/models/models/model_send_mo_data_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SendMoDataRequest struct { - JsonData *SendMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` -} diff --git a/models/models/model_send_sms_request.go b/models/models/model_send_sms_request.go deleted file mode 100644 index 2bad8dc7..00000000 --- a/models/models/model_send_sms_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMService - * - * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SendSmsRequest struct { - JsonData *SmsData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` -} diff --git a/models/models/model_send_sms_response_200.go b/models/models/model_send_sms_response_200.go deleted file mode 100644 index 8eb528b2..00000000 --- a/models/models/model_send_sms_response_200.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMService - * - * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SendSmsResponse200 struct { - JsonData *SmsDeliveryData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryPayload []byte `json:"binaryPayload,omitempty" yaml:"binaryPayload" bson:"binaryPayload,omitempty"` -} diff --git a/models/models/model_sensor_measurement.go b/models/models/model_sensor_measurement.go deleted file mode 100644 index 8a3c75db..00000000 --- a/models/models/model_sensor_measurement.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SensorMeasurement string - -// List of SensorMeasurement -const ( - SensorMeasurement_BAROMETRIC_PRESSURE SensorMeasurement = "BAROMETRIC_PRESSURE" - SensorMeasurement_UE_SPEED SensorMeasurement = "UE_SPEED" - SensorMeasurement_UE_ORIENTATION SensorMeasurement = "UE_ORIENTATION" -) diff --git a/models/models/model_sepp_info.go b/models/models/model_sepp_info.go deleted file mode 100644 index 503d438f..00000000 --- a/models/models/model_sepp_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a SEPP Instance -type SeppInfo struct { - SeppPrefix string `json:"seppPrefix,omitempty" yaml:"seppPrefix" bson:"seppPrefix,omitempty"` - // Port numbers for HTTP and HTTPS. The key of the map shall be \"http\" or \"https\". - SeppPorts map[string]int32 `json:"seppPorts,omitempty" yaml:"seppPorts" bson:"seppPorts,omitempty"` - RemotePlmnList []PlmnId `json:"remotePlmnList,omitempty" yaml:"remotePlmnList" bson:"remotePlmnList,omitempty"` - RemoteSnpnList []PlmnIdNid `json:"remoteSnpnList,omitempty" yaml:"remoteSnpnList" bson:"remoteSnpnList,omitempty"` -} diff --git a/models/models/model_sequence_number.go b/models/models/model_sequence_number.go deleted file mode 100644 index 74c893c6..00000000 --- a/models/models/model_sequence_number.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SQN. -type SequenceNumber struct { - SqnScheme SqnScheme `json:"sqnScheme,omitempty" yaml:"sqnScheme" bson:"sqnScheme,omitempty"` - Sqn string `json:"sqn,omitempty" yaml:"sqn" bson:"sqn,omitempty"` - LastIndexes map[string]int32 `json:"lastIndexes,omitempty" yaml:"lastIndexes" bson:"lastIndexes,omitempty"` - IndLength int32 `json:"indLength,omitempty" yaml:"indLength" bson:"indLength,omitempty"` - DifSign Sign `json:"difSign,omitempty" yaml:"difSign" bson:"difSign,omitempty"` -} diff --git a/models/models/model_serv_auth_info.go b/models/models/model_serv_auth_info.go deleted file mode 100644 index 501a9ee7..00000000 --- a/models/models/model_serv_auth_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServAuthInfo string - -// List of ServAuthInfo -const ( - ServAuthInfo_TP_NOT_KNOWN ServAuthInfo = "TP_NOT_KNOWN" - ServAuthInfo_TP_EXPIRED ServAuthInfo = "TP_EXPIRED" - ServAuthInfo_TP_NOT_YET_OCURRED ServAuthInfo = "TP_NOT_YET_OCURRED" - ServAuthInfo_ROUT_REQ_NOT_AUTHORIZED ServAuthInfo = "ROUT_REQ_NOT_AUTHORIZED" -) diff --git a/models/models/model_server_addressing_info.go b/models/models/model_server_addressing_info.go deleted file mode 100644 index 7fa25b7b..00000000 --- a/models/models/model_server_addressing_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains addressing information (IP addresses and/or FQDNs) of a server. -type ServerAddressingInfo struct { - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` - FqdnList []string `json:"fqdnList,omitempty" yaml:"fqdnList" bson:"fqdnList,omitempty"` -} diff --git a/models/models/model_server_capabilities.go b/models/models/model_server_capabilities.go deleted file mode 100644 index ab7c50c8..00000000 --- a/models/models/model_server_capabilities.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServerCapabilities struct { - MandatoryCapability []int32 `json:"mandatoryCapability,omitempty" yaml:"mandatoryCapability" bson:"mandatoryCapability,omitempty"` - OptionalCapability []int32 `json:"optionalCapability,omitempty" yaml:"optionalCapability" bson:"optionalCapability,omitempty"` - ServerName []string `json:"serverName,omitempty" yaml:"serverName" bson:"serverName,omitempty"` -} diff --git a/models/models/model_service_area_coverage_info.go b/models/models/model_service_area_coverage_info.go deleted file mode 100644 index 70a39ad8..00000000 --- a/models/models/model_service_area_coverage_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_AMPolicyAuthorization Service API - * - * PCF Access and Mobility Policy Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.534 V17.3.0; 5G System; Access and Mobility Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.534/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// It represents a list of Tracking Areas within a serving network. -type ServiceAreaCoverageInfo struct { - // Indicates a list of Tracking Areas where the service is allowed. - TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` -} diff --git a/models/models/model_service_area_id.go b/models/models/model_service_area_id.go deleted file mode 100644 index 5830050e..00000000 --- a/models/models/model_service_area_id.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a Service Area Identifier as defined in 3GPP TS 23.003, clause 12.5. -type ServiceAreaId struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // Location Area Code. - Lac string `json:"lac" yaml:"lac" bson:"lac,omitempty"` - // Service Area Code. - Sac string `json:"sac" yaml:"sac" bson:"sac,omitempty"` -} diff --git a/models/models/model_service_area_restriction.go b/models/models/model_service_area_restriction.go deleted file mode 100644 index 5d5b05b7..00000000 --- a/models/models/model_service_area_restriction.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides information about allowed or not allowed areas. -type ServiceAreaRestriction struct { - RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` - Areas []Area `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxNumOfTAs int32 `json:"maxNumOfTAs,omitempty" yaml:"maxNumOfTAs" bson:"maxNumOfTAs,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxNumOfTAsForNotAllowedAreas int32 `json:"maxNumOfTAsForNotAllowedAreas,omitempty" yaml:"maxNumOfTAsForNotAllowedAreas" bson:"maxNumOfTAsForNotAllowedAreas,omitempty"` -} diff --git a/models/models/model_service_data_flow_description.go b/models/models/model_service_data_flow_description.go deleted file mode 100644 index 1bf2e79d..00000000 --- a/models/models/model_service_data_flow_description.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceDataFlowDescription struct { - FlowDescription *IpPacketFilterSet `json:"flowDescription,omitempty" yaml:"flowDescription" bson:"flowDescription,omitempty"` - DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` -} diff --git a/models/models/model_service_experience_info_per_app.go b/models/models/model_service_experience_info_per_app.go deleted file mode 100644 index ef22b1dd..00000000 --- a/models/models/model_service_experience_info_per_app.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains service experience information associated with an application. -type ServiceExperienceInfoPerApp struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - AppServerIns *AddrFqdn `json:"appServerIns,omitempty" yaml:"appServerIns" bson:"appServerIns,omitempty"` - SvcExpPerFlows []ServiceExperienceInfoPerFlow `json:"svcExpPerFlows" yaml:"svcExpPerFlows" bson:"svcExpPerFlows,omitempty"` - Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` -} diff --git a/models/models/model_service_experience_info_per_flow.go b/models/models/model_service_experience_info_per_flow.go deleted file mode 100644 index e64c4d38..00000000 --- a/models/models/model_service_experience_info_per_flow.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains service experience information associated with a service flow. -type ServiceExperienceInfoPerFlow struct { - SvcExprc *SvcExperience `json:"svcExprc,omitempty" yaml:"svcExprc" bson:"svcExprc,omitempty"` - TimeIntev *TimeWindow `json:"timeIntev,omitempty" yaml:"timeIntev" bson:"timeIntev,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai,omitempty" yaml:"dnai" bson:"dnai,omitempty"` - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - EthTrafficFilter *EthFlowDescription `json:"ethTrafficFilter,omitempty" yaml:"ethTrafficFilter" bson:"ethTrafficFilter,omitempty"` -} diff --git a/models/models/model_service_experience_type.go b/models/models/model_service_experience_type.go deleted file mode 100644 index e2e6d8e5..00000000 --- a/models/models/model_service_experience_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceExperienceType string - -// List of ServiceExperienceType -const ( - ServiceExperienceType_VOICE ServiceExperienceType = "VOICE" - ServiceExperienceType_VIDEO ServiceExperienceType = "VIDEO" - ServiceExperienceType_OTHER ServiceExperienceType = "OTHER" -) diff --git a/models/models/model_service_identification.go b/models/models/model_service_identification.go deleted file mode 100644 index 0321925c..00000000 --- a/models/models/model_service_identification.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the service to which the subscription applies. -type ServiceIdentification struct { - ServEthFlows []EthernetFlowInfo `json:"servEthFlows,omitempty" yaml:"servEthFlows" bson:"servEthFlows,omitempty"` - ServIpFlows []IpFlowInfo `json:"servIpFlows,omitempty" yaml:"servIpFlows" bson:"servIpFlows,omitempty"` - // Contains an AF application identifier. - AfAppId string `json:"afAppId,omitempty" yaml:"afAppId" bson:"afAppId,omitempty"` -} diff --git a/models/models/model_service_info_status.go b/models/models/model_service_info_status.go deleted file mode 100644 index becde742..00000000 --- a/models/models/model_service_info_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceInfoStatus string - -// List of ServiceInfoStatus -const ( - ServiceInfoStatus_FINAL ServiceInfoStatus = "FINAL" - ServiceInfoStatus_PRELIMINARY ServiceInfoStatus = "PRELIMINARY" -) diff --git a/models/models/model_service_information.go b/models/models/model_service_information.go deleted file mode 100644 index 822d600a..00000000 --- a/models/models/model_service_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceInformation string - -// List of ServiceInformation -const ( - ServiceInformation_REQUEST ServiceInformation = "INCLUDE_REGISTER_REQUEST" - ServiceInformation_RESPONSE ServiceInformation = "INCLUDE_REGISTER_RESPONSE" -) diff --git a/models/models/model_service_level_trace_information.go b/models/models/model_service_level_trace_information.go deleted file mode 100644 index 110e91cc..00000000 --- a/models/models/model_service_level_trace_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IMS Service Level Trace Information -type ServiceLevelTraceInformation struct { - ServiceLevelTraceInfo string `json:"serviceLevelTraceInfo,omitempty" yaml:"serviceLevelTraceInfo" bson:"serviceLevelTraceInfo,omitempty"` -} diff --git a/models/models/model_service_name.go b/models/models/model_service_name.go deleted file mode 100644 index 191ef4c4..00000000 --- a/models/models/model_service_name.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceName string - -// List of ServiceName -const ( - ServiceName_NNRF_NFM ServiceName = "nnrf-nfm" - ServiceName_NNRF_DISC ServiceName = "nnrf-disc" - ServiceName_NNRF_OAUTH2 ServiceName = "nnrf-oauth2" - ServiceName_NNRF_OAM ServiceName = "nnrf-oam" - ServiceName_NNRF_CMI ServiceName = "nnrf-cmi" - ServiceName_NUDM_SDM ServiceName = "nudm-sdm" - ServiceName_NUDM_UECM ServiceName = "nudm-uecm" - ServiceName_NUDM_UEAU ServiceName = "nudm-ueau" - ServiceName_NUDM_EE ServiceName = "nudm-ee" - ServiceName_NUDM_PP ServiceName = "nudm-pp" - ServiceName_NUDM_NIDDAU ServiceName = "nudm-niddau" - ServiceName_NUDM_MT ServiceName = "nudm-mt" - ServiceName_NUDM_SSAU ServiceName = "nudm-ssau" - ServiceName_NUDM_RSDS ServiceName = "nudm-rsds" - ServiceName_NUDM_UEID ServiceName = "nudm-ueid" - ServiceName_NUDM_OAM ServiceName = "nudm-oam" - ServiceName_NUDM_CMI ServiceName = "nudm-cmi" - ServiceName_NAMF_COMM ServiceName = "namf-comm" - ServiceName_NAMF_EVTS ServiceName = "namf-evts" - ServiceName_NAMF_MT ServiceName = "namf-mt" - ServiceName_NAMF_LOC ServiceName = "namf-loc" - ServiceName_NAMF_MBS_COMM ServiceName = "namf-mbs-comm" - ServiceName_NAMF_MBS_BC ServiceName = "namf-mbs-bc" - ServiceName_NAMF_OAM ServiceName = "namf-oam" - ServiceName_NAMF_CMI ServiceName = "namf-cmi" - ServiceName_NSMF_PDUSESSION ServiceName = "nsmf-pdusession" - ServiceName_NSMF_EVENT_EXPOSURE ServiceName = "nsmf-event-exposure" - ServiceName_NSMF_NIDD ServiceName = "nsmf-nidd" - ServiceName_NSMF_OAM ServiceName = "nsmf-oam" - ServiceName_NSMF_CMI ServiceName = "nsmf-cmi" - ServiceName_NAUSF_AUTH ServiceName = "nausf-auth" - ServiceName_NAUSF_SORPROTECTION ServiceName = "nausf-sorprotection" - ServiceName_NAUSF_UPUPROTECTION ServiceName = "nausf-upuprotection" - ServiceName_NAUSF_OAM ServiceName = "nausf-oam" - ServiceName_NAUSF_CMI ServiceName = "nausf-cmi" - ServiceName_NNEF_PFDMANAGEMENT ServiceName = "nnef-pfdmanagement" - ServiceName_NNEF_SMCONTEXT ServiceName = "nnef-smcontext" - ServiceName_NNEF_EVENTEXPOSURE ServiceName = "nnef-eventexposure" - ServiceName_NNEF_EAS_DEPLOYMENT_INFO ServiceName = "nnef-eas-deployment-info" - ServiceName_NNEF_OAM ServiceName = "nnef-oam" - ServiceName_NNEF_CMI ServiceName = "nnef-cmi" - ServiceName_3GPP_CP_PARAMETER_PROVISIONING ServiceName = "3gpp-cp-parameter-provisioning" - ServiceName_3GPP_DEVICE_TRIGGERING ServiceName = "3gpp-device-triggering" - ServiceName_3GPP_BDT ServiceName = "3gpp-bdt" - ServiceName_3GPP_TRAFFIC_INFLUENCE ServiceName = "3gpp-traffic-influence" - ServiceName_3GPP_CHARGEABLE_PARTY ServiceName = "3gpp-chargeable-party" - ServiceName_3GPP_AS_SESSION_WITH_QOS ServiceName = "3gpp-as-session-with-qos" - ServiceName_3GPP_PFD_MANAGEMENT ServiceName = "3gpp-pfd-management" - ServiceName_3GPP_MSISDN_LESS_MO_SMS ServiceName = "3gpp-msisdn-less-mo-sms" - ServiceName_3GPP_SERVICE_PARAMETER ServiceName = "3gpp-service-parameter" - ServiceName_3GPP_MONITORING_EVENT ServiceName = "3gpp-monitoring-event" - ServiceName_3GPP_NIDD_CONFIGURATION_TRIGGER ServiceName = "3gpp-nidd-configuration-trigger" - ServiceName_3GPP_NIDD ServiceName = "3gpp-nidd" - ServiceName_3GPP_ANALYTICSEXPOSURE ServiceName = "3gpp-analyticsexposure" - ServiceName_3GPP_RACS_PARAMETER_PROVISIONING ServiceName = "3gpp-racs-parameter-provisioning" - ServiceName_3GPP_ECR_CONTROL ServiceName = "3gpp-ecr-control" - ServiceName_3GPP_APPLYING_BDT_POLICY ServiceName = "3gpp-applying-bdt-policy" - ServiceName_3GPP_MO_LCS_NOTIFY ServiceName = "3gpp-mo-lcs-notify" - ServiceName_3GPP_TIME_SYNC ServiceName = "3gpp-time-sync" - ServiceName_3GPP_AM_INFLUENCE ServiceName = "3gpp-am-influence" - ServiceName_3GPP_AM_POLICYAUTHORIZATION ServiceName = "3gpp-am-policyauthorization" - ServiceName_3GPP_AKMA ServiceName = "3gpp-akma" - ServiceName_3GPP_EAS_DEPLOYMENT ServiceName = "3gpp-eas-deployment" - ServiceName_3GPP_IPTVCONFIGURATION ServiceName = "3gpp-iptvconfiguration" - ServiceName_3GPP_MBS_TMGI ServiceName = "3gpp-mbs-tmgi" - ServiceName_3GPP_MBS_SESSION ServiceName = "3gpp-mbs-session" - ServiceName_3GPP_AUTHENTICATION ServiceName = "3gpp-authentication" - ServiceName_3GPP_ASTI ServiceName = "3gpp-asti" - ServiceName_NPCF_AM_POLICY_CONTROL ServiceName = "npcf-am-policy-control" - ServiceName_NPCF_SMPOLICYCONTROL ServiceName = "npcf-smpolicycontrol" - ServiceName_NPCF_POLICYAUTHORIZATION ServiceName = "npcf-policyauthorization" - ServiceName_NPCF_BDTPOLICYCONTROL ServiceName = "npcf-bdtpolicycontrol" - ServiceName_NPCF_EVENTEXPOSURE ServiceName = "npcf-eventexposure" - ServiceName_NPCF_UE_POLICY_CONTROL ServiceName = "npcf-ue-policy-control" - ServiceName_NPCF_AM_POLICYAUTHORIZATION ServiceName = "npcf-am-policyauthorization" - ServiceName_NPCF_MBSPOLICYCONTROL ServiceName = "npcf-mbspolicycontrol" - ServiceName_NPCF_MBSPOLICYAUTH ServiceName = "npcf-mbspolicyauth" - ServiceName_NPCF_OAM ServiceName = "npcf-oam" - ServiceName_NPCF_CMI ServiceName = "npcf-cmi" - ServiceName_NSMSF_SMS ServiceName = "nsmsf-sms" - ServiceName_NNSSF_NSSELECTION ServiceName = "nnssf-nsselection" - ServiceName_NNSSF_NSSAIAVAILABILITY ServiceName = "nnssf-nssaiavailability" - ServiceName_NNSSF_OAM ServiceName = "nnssf-oam" - ServiceName_NNSSF_CMI ServiceName = "nnssf-cmi" - ServiceName_NUDR_DR ServiceName = "nudr-dr" - ServiceName_NUDR_GROUP_ID_MAP ServiceName = "nudr-group-id-map" - ServiceName_NUDR_OAM ServiceName = "nudr-oam" - ServiceName_NUDR_CMI ServiceName = "nudr-cmi" - ServiceName_NLMF_LOC ServiceName = "nlmf-loc" - ServiceName_N5G_EIR_EIC ServiceName = "n5g-eir-eic" - ServiceName_NBSF_MANAGEMENT ServiceName = "nbsf-management" - ServiceName_NCHF_SPENDINGLIMITCONTROL ServiceName = "nchf-spendinglimitcontrol" - ServiceName_NCHF_CONVERGEDCHARGING ServiceName = "nchf-convergedcharging" - ServiceName_NCHF_OFFLINEONLYCHARGING ServiceName = "nchf-offlineonlycharging" - ServiceName_NNWDAF_EVENTSSUBSCRIPTION ServiceName = "nnwdaf-eventssubscription" - ServiceName_NNWDAF_ANALYTICSINFO ServiceName = "nnwdaf-analyticsinfo" - ServiceName_NNWDAF_DATAMANAGEMENT ServiceName = "nnwdaf-datamanagement" - ServiceName_NNWDAF_MLMODELPROVISION ServiceName = "nnwdaf-mlmodelprovision" - ServiceName_NGMLC_LOC ServiceName = "ngmlc-loc" - ServiceName_NUCMF_PROVISIONING ServiceName = "nucmf-provisioning" - ServiceName_NUCMF_UECAPABILITYMANAGEMENT ServiceName = "nucmf-uecapabilitymanagement" - ServiceName_NHSS_SDM ServiceName = "nhss-sdm" - ServiceName_NHSS_UECM ServiceName = "nhss-uecm" - ServiceName_NHSS_UEAU ServiceName = "nhss-ueau" - ServiceName_NHSS_EE ServiceName = "nhss-ee" - ServiceName_NHSS_IMS_SDM ServiceName = "nhss-ims-sdm" - ServiceName_NHSS_IMS_UECM ServiceName = "nhss-ims-uecm" - ServiceName_NHSS_IMS_UEAU ServiceName = "nhss-ims-ueau" - ServiceName_NHSS_GBA_SDM ServiceName = "nhss-gba-sdm" - ServiceName_NHSS_GBA_UEAU ServiceName = "nhss-gba-ueau" - ServiceName_NSEPP_TELESCOPIC ServiceName = "nsepp-telescopic" - ServiceName_NSORAF_SOR ServiceName = "nsoraf-sor" - ServiceName_NSPAF_SECURED_PACKET ServiceName = "nspaf-secured-packet" - ServiceName_NUDSF_DR ServiceName = "nudsf-dr" - ServiceName_NUDSF_TIMER ServiceName = "nudsf-timer" - ServiceName_NNSSAAF_NSSAA ServiceName = "nnssaaf-nssaa" - ServiceName_NNSSAAF_AIW ServiceName = "nnssaaf-aiw" - ServiceName_NAANF_AKMA ServiceName = "naanf-akma" - ServiceName_N5GDDNMF_DISCOVERY ServiceName = "n5gddnmf-discovery" - ServiceName_NMFAF_3DADM ServiceName = "nmfaf-3dadm" - ServiceName_NMFAF_3CADM ServiceName = "nmfaf-3cadm" - ServiceName_NEASDF_DNSCONTEXT ServiceName = "neasdf-dnscontext" - ServiceName_NEASDF_BASELINEDNSPATTERN ServiceName = "neasdf-baselinednspattern" - ServiceName_NDCCF_DM ServiceName = "ndccf-dm" - ServiceName_NDCCF_CM ServiceName = "ndccf-cm" - ServiceName_NNSACF_NSAC ServiceName = "nnsacf-nsac" - ServiceName_NNSACF_SLICE_EE ServiceName = "nnsacf-slice-ee" - ServiceName_NMBSMF_TMGI ServiceName = "nmbsmf-tmgi" - ServiceName_NMBSMF_MBSSESSION ServiceName = "nmbsmf-mbssession" - ServiceName_NADRF_DM ServiceName = "nadrf-dm" - ServiceName_NBSP_GBA ServiceName = "nbsp-gba" - ServiceName_NTSCTSF_TIME_SYNC ServiceName = "ntsctsf-time-sync" - ServiceName_NTSCTSF_QOS_TSCAI ServiceName = "ntsctsf-qos-tscai" - ServiceName_NTSCTSF_ASTI ServiceName = "ntsctsf-asti" - ServiceName_NPKMF_KEYREQ ServiceName = "npkmf-keyreq" - ServiceName_NPKMF_USERID ServiceName = "npkmf-userid" - ServiceName_NPKMF_DISCOVERY ServiceName = "npkmf-discovery" - ServiceName_NMNPF_NPSTATUS ServiceName = "nmnpf-npstatus" - ServiceName_NIWMSC_SMSERVICE ServiceName = "niwmsc-smservice" - ServiceName_NMBSF_MBS_US ServiceName = "nmbsf-mbs-us" - ServiceName_NMBSF_MBS_UD_INGEST ServiceName = "nmbsf-mbs-ud-ingest" - ServiceName_NMBSTF_DISTSESSION ServiceName = "nmbstf-distsession" - ServiceName_NPANF_PROSEKEY ServiceName = "npanf-prosekey" - ServiceName_NPANF_USERID ServiceName = "npanf-userid" - ServiceName_NUPF_OAM ServiceName = "nupf-oam" - ServiceName_NUPF_CMI ServiceName = "nupf-cmi" -) diff --git a/models/models/model_service_name_cond.go b/models/models/model_service_name_cond.go deleted file mode 100644 index 7c58f731..00000000 --- a/models/models/model_service_name_cond.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their support for a given Service Name -type ServiceNameCond struct { - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` -} diff --git a/models/models/model_service_name_list_cond.go b/models/models/model_service_name_list_cond.go deleted file mode 100644 index eebc6407..00000000 --- a/models/models/model_service_name_list_cond.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NFs based on their support for a Service Name in the Servic Name list -type ServiceNameListCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` -} diff --git a/models/models/model_service_parameter_data.go b/models/models/model_service_parameter_data.go deleted file mode 100644 index d2a2c81e..00000000 --- a/models/models/model_service_parameter_data.go +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the service parameter data. -type ServiceParameterData struct { - // Identifies an application. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4 string `json:"ueIpv4,omitempty" yaml:"ueIpv4" bson:"ueIpv4,omitempty"` - UeIpv6 string `json:"ueIpv6,omitempty" yaml:"ueIpv6" bson:"ueIpv6,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - AnyUeInd bool `json:"anyUeInd,omitempty" yaml:"anyUeInd" bson:"anyUeInd,omitempty"` - // Represents configuration parameters for V2X communications over PC5 reference point. - ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` - // Represents configuration parameters for V2X communications over Uu reference point. - ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` - // Represents the service parameters for 5G ProSe direct discovery. - ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` - // Represents the service parameters for 5G ProSe direct communications. - ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` - // Represents the service parameters for 5G ProSe UE-to-network relay UE. - ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` - // Represents the service parameters for 5G ProSe Remate UE. - ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` - // Contains the service parameter used to guide the URSP. - UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` - // Contains the outcome of the UE Policy Delivery. - DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` - // Contains the Notification Correlation Id allocated by the NEF for the notification of UE Policy delivery outcome. - PolicDelivNotifCorreId string `json:"policDelivNotifCorreId,omitempty" yaml:"policDelivNotifCorreId" bson:"policDelivNotifCorreId,omitempty"` - // String providing an URI formatted according to RFC 3986. - PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` - // Contains the headers provisioned by the NEF. - Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_service_parameter_data_patch.go b/models/models/model_service_parameter_data_patch.go deleted file mode 100644 index 3639d0fd..00000000 --- a/models/models/model_service_parameter_data_patch.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the service parameter data that can be updated. -type ServiceParameterDataPatch struct { - // Represents configuration parameters for V2X communications over PC5 reference point. - ParamOverPc5 string `json:"paramOverPc5,omitempty" yaml:"paramOverPc5" bson:"paramOverPc5,omitempty"` - // Represents configuration parameters for V2X communications over Uu reference point. - ParamOverUu string `json:"paramOverUu,omitempty" yaml:"paramOverUu" bson:"paramOverUu,omitempty"` - // Represents the service parameters for 5G ProSe direct discovery. - ParamForProSeDd string `json:"paramForProSeDd,omitempty" yaml:"paramForProSeDd" bson:"paramForProSeDd,omitempty"` - // Represents the service parameters for 5G ProSe direct communications. - ParamForProSeDc string `json:"paramForProSeDc,omitempty" yaml:"paramForProSeDc" bson:"paramForProSeDc,omitempty"` - // Represents the service parameters for 5G ProSe UE-to-network relay UE. - ParamForProSeU2NRelUe string `json:"paramForProSeU2NRelUe,omitempty" yaml:"paramForProSeU2NRelUe" bson:"paramForProSeU2NRelUe,omitempty"` - // Represents the service parameters for 5G ProSe Remate UE. - ParamForProSeRemUe string `json:"paramForProSeRemUe,omitempty" yaml:"paramForProSeRemUe" bson:"paramForProSeRemUe,omitempty"` - // Contains the service parameter used to influence the URSP. This attribute is deprecated by the urspGuidance attribute. - UrspInfluence []UrspRuleRequest `json:"urspInfluence,omitempty" yaml:"urspInfluence" bson:"urspInfluence,omitempty"` - // Contains the service parameter used to influence the URSP. - UrspGuidance []UrspRuleRequest `json:"urspGuidance,omitempty" yaml:"urspGuidance" bson:"urspGuidance,omitempty"` - // Contains the outcome of the UE Policy Delivery. - DeliveryEvents []Event `json:"deliveryEvents,omitempty" yaml:"deliveryEvents" bson:"deliveryEvents,omitempty"` - // String providing an URI formatted according to RFC 3986. - PolicDelivNotifUri string `json:"policDelivNotifUri,omitempty" yaml:"policDelivNotifUri" bson:"policDelivNotifUri,omitempty"` - // Contains the headers provisioned by the NEF. - Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` -} diff --git a/models/models/model_service_profile_charging_information.go b/models/models/model_service_profile_charging_information.go deleted file mode 100644 index e8f3ac1a..00000000 --- a/models/models/model_service_profile_charging_information.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceProfileChargingInformation struct { - ServiceProfileIdentifier string `json:"serviceProfileIdentifier,omitempty" yaml:"serviceProfileIdentifier" bson:"serviceProfileIdentifier,omitempty"` - SNSSAIList []Snssai `json:"sNSSAIList,omitempty" yaml:"sNSSAIList" bson:"sNSSAIList,omitempty"` - SST int32 `json:"sST,omitempty" yaml:"sST" bson:"sST,omitempty"` - Latency int32 `json:"latency,omitempty" yaml:"latency" bson:"latency,omitempty"` - Availability float32 `json:"availability,omitempty" yaml:"availability" bson:"availability,omitempty"` - ResourceSharingLevel SharingLevel `json:"resourceSharingLevel,omitempty" yaml:"resourceSharingLevel" bson:"resourceSharingLevel,omitempty"` - Jitter int32 `json:"jitter,omitempty" yaml:"jitter" bson:"jitter,omitempty"` - Reliability string `json:"reliability,omitempty" yaml:"reliability" bson:"reliability,omitempty"` - MaxNumberofUEs int32 `json:"maxNumberofUEs,omitempty" yaml:"maxNumberofUEs" bson:"maxNumberofUEs,omitempty"` - CoverageArea string `json:"coverageArea,omitempty" yaml:"coverageArea" bson:"coverageArea,omitempty"` - DLThptPerSlice *Throughput `json:"dLThptPerSlice,omitempty" yaml:"dLThptPerSlice" bson:"dLThptPerSlice,omitempty"` - DLThptPerUE *Throughput `json:"dLThptPerUE,omitempty" yaml:"dLThptPerUE" bson:"dLThptPerUE,omitempty"` - ULThptPerSlice *Throughput `json:"uLThptPerSlice,omitempty" yaml:"uLThptPerSlice" bson:"uLThptPerSlice,omitempty"` - ULThptPerUE *Throughput `json:"uLThptPerUE,omitempty" yaml:"uLThptPerUE" bson:"uLThptPerUE,omitempty"` - MaxNumberofPDUsessions int32 `json:"maxNumberofPDUsessions,omitempty" yaml:"maxNumberofPDUsessions" bson:"maxNumberofPDUsessions,omitempty"` - KPIMonitoringList string `json:"kPIMonitoringList,omitempty" yaml:"kPIMonitoringList" bson:"kPIMonitoringList,omitempty"` - SupportedAccessTechnology int32 `json:"supportedAccessTechnology,omitempty" yaml:"supportedAccessTechnology" bson:"supportedAccessTechnology,omitempty"` - AddServiceProfileInfo string `json:"addServiceProfileInfo,omitempty" yaml:"addServiceProfileInfo" bson:"addServiceProfileInfo,omitempty"` -} diff --git a/models/models/model_service_specific_authorization_data.go b/models/models/model_service_specific_authorization_data.go deleted file mode 100644 index fdce8a16..00000000 --- a/models/models/model_service_specific_authorization_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Authorization Response for a specific service. -type ServiceSpecificAuthorizationData struct { - AuthorizationUeId *AuthorizationUeId `json:"authorizationUeId,omitempty" yaml:"authorizationUeId" bson:"authorizationUeId,omitempty"` - // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` - AuthId string `json:"authId,omitempty" yaml:"authId" bson:"authId,omitempty"` -} diff --git a/models/models/model_service_specific_authorization_info.go b/models/models/model_service_specific_authorization_info.go deleted file mode 100644 index eec2248c..00000000 --- a/models/models/model_service_specific_authorization_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information related to active Service Specific Authorizations -type ServiceSpecificAuthorizationInfo struct { - ServiceSpecificAuthorizationList []AuthorizationInfo `json:"serviceSpecificAuthorizationList" yaml:"serviceSpecificAuthorizationList" bson:"serviceSpecificAuthorizationList,omitempty"` -} diff --git a/models/models/model_service_specific_authorization_remove_data.go b/models/models/model_service_specific_authorization_remove_data.go deleted file mode 100644 index 02352846..00000000 --- a/models/models/model_service_specific_authorization_remove_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information for Authorization removal of a specific service. -type ServiceSpecificAuthorizationRemoveData struct { - AuthId string `json:"authId" yaml:"authId" bson:"authId,omitempty"` -} diff --git a/models/models/model_service_type.go b/models/models/model_service_type.go deleted file mode 100644 index 181e90d3..00000000 --- a/models/models/model_service_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceType string - -// List of ServiceType -const ( - ServiceType_AF_GUIDANCE_FOR_URSP ServiceType = "AF_GUIDANCE_FOR_URSP" -) diff --git a/models/models/model_service_type_unrelated_class.go b/models/models/model_service_type_unrelated_class.go deleted file mode 100644 index 85eaa2ae..00000000 --- a/models/models/model_service_type_unrelated_class.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServiceTypeUnrelatedClass struct { - // LCS service type. - ServiceType int32 `json:"serviceType" yaml:"serviceType" bson:"serviceType,omitempty"` - AllowedGeographicArea []GeographicArea `json:"allowedGeographicArea,omitempty" yaml:"allowedGeographicArea" bson:"allowedGeographicArea,omitempty"` - PrivacyCheckRelatedAction PrivacyCheckRelatedAction `json:"privacyCheckRelatedAction,omitempty" yaml:"privacyCheckRelatedAction" bson:"privacyCheckRelatedAction,omitempty"` - CodeWordInd CodeWordInd `json:"codeWordInd,omitempty" yaml:"codeWordInd" bson:"codeWordInd,omitempty"` - ValidTimePeriod *ValidTimePeriod `json:"validTimePeriod,omitempty" yaml:"validTimePeriod" bson:"validTimePeriod,omitempty"` - CodeWordList []string `json:"codeWordList,omitempty" yaml:"codeWordList" bson:"codeWordList,omitempty"` -} diff --git a/models/models/model_serving_location.go b/models/models/model_serving_location.go deleted file mode 100644 index 97570e53..00000000 --- a/models/models/model_serving_location.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServingLocation struct { - GeographicalLocation *GeoLoc `json:"geographicalLocation,omitempty" yaml:"geographicalLocation" bson:"geographicalLocation,omitempty"` - TopologicalLocation *TopologicalServiceArea `json:"topologicalLocation,omitempty" yaml:"topologicalLocation" bson:"topologicalLocation,omitempty"` -} diff --git a/models/models/model_serving_nf_identity.go b/models/models/model_serving_nf_identity.go deleted file mode 100644 index f5b1d657..00000000 --- a/models/models/model_serving_nf_identity.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the serving Network Function identity. -type ServingNfIdentity struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServNfInstId string `json:"servNfInstId,omitempty" yaml:"servNfInstId" bson:"servNfInstId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` - SgsnAddr *SgsnAddress `json:"sgsnAddr,omitempty" yaml:"sgsnAddr" bson:"sgsnAddr,omitempty"` -} diff --git a/models/models/model_serving_node_address.go b/models/models/model_serving_node_address.go deleted file mode 100644 index 99618f59..00000000 --- a/models/models/model_serving_node_address.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ServingNodeAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` -} diff --git a/models/models/model_sess_inact_timer_for_ue_comm.go b/models/models/model_sess_inact_timer_for_ue_comm.go deleted file mode 100644 index 13ed47e9..00000000 --- a/models/models/model_sess_inact_timer_for_ue_comm.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the N4 Session inactivity timer. -type SessInactTimerForUeComm struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - N4SessId int32 `json:"n4SessId" yaml:"n4SessId" bson:"n4SessId,omitempty"` - // indicating a time in seconds. - SessInactiveTimer int32 `json:"sessInactiveTimer" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` -} diff --git a/models/models/model_session_failover.go b/models/models/model_session_failover.go deleted file mode 100644 index ab9ad8e6..00000000 --- a/models/models/model_session_failover.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SessionFailover string - -// List of SessionFailover -const ( - SessionFailover_NOT_SUPPORTED SessionFailover = "FAILOVER_NOT_SUPPORTED" - SessionFailover_SUPPORTED SessionFailover = "FAILOVER_SUPPORTED" -) diff --git a/models/models/model_session_management_subscription_data.go b/models/models/model_session_management_subscription_data.go deleted file mode 100644 index b0f4ab17..00000000 --- a/models/models/model_session_management_subscription_data.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SessionManagementSubscriptionData struct { - SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // A map (list of key-value pairs where Dnn, or optionally the Wildcard DNN, serves as key) of DnnConfigurations - DnnConfigurations map[string]DnnConfiguration `json:"dnnConfigurations,omitempty" yaml:"dnnConfigurations" bson:"dnnConfigurations,omitempty"` - InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` - // A map(list of key-value pairs) where GroupId serves as key of SharedDataId - SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` - SharedDnnConfigurationsId string `json:"sharedDnnConfigurationsId,omitempty" yaml:"sharedDnnConfigurationsId" bson:"sharedDnnConfigurationsId,omitempty"` - OdbPacketServices *OdbPacketServices `json:"odbPacketServices,omitempty" yaml:"odbPacketServices" bson:"odbPacketServices,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - SharedTraceDataId string `json:"sharedTraceDataId,omitempty" yaml:"sharedTraceDataId" bson:"sharedTraceDataId,omitempty"` - // A map(list of key-value pairs) where Dnn serves as key of ExpectedUeBehaviourData - ExpectedUeBehavioursList map[string]ExpectedUeBehaviourData `json:"expectedUeBehavioursList,omitempty" yaml:"expectedUeBehavioursList" bson:"expectedUeBehavioursList,omitempty"` - // A map(list of key-value pairs) where Dnn serves as key of SuggestedPacketNumDl - SuggestedPacketNumDlList map[string]SuggestedPacketNumDl `json:"suggestedPacketNumDlList,omitempty" yaml:"suggestedPacketNumDlList" bson:"suggestedPacketNumDlList,omitempty"` - Var3gppChargingCharacteristics string `json:"3gppChargingCharacteristics,omitempty" yaml:"3gppChargingCharacteristics" bson:"3gppChargingCharacteristics,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_session_rule.go b/models/models/model_session_rule.go deleted file mode 100644 index b7dc67fc..00000000 --- a/models/models/model_session_rule.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains session level policy information. -type SessionRule struct { - AuthSessAmbr *Ambr `json:"authSessAmbr,omitempty" yaml:"authSessAmbr" bson:"authSessAmbr,omitempty"` - AuthDefQos *AuthorizedDefaultQos `json:"authDefQos,omitempty" yaml:"authDefQos" bson:"authDefQos,omitempty"` - // Univocally identifies the session rule within a PDU session. - SessRuleId string `json:"sessRuleId" yaml:"sessRuleId" bson:"sessRuleId,omitempty"` - // A reference to UsageMonitoringData policy decision type. It is the umId described in clause 5.6.2.12. - RefUmData string `json:"refUmData,omitempty" yaml:"refUmData" bson:"refUmData,omitempty"` - // A reference to UsageMonitoringData policy decision type to apply for Non-3GPP access. It is the umId described in clause 5.6.2.12. - RefUmN3gData string `json:"refUmN3gData,omitempty" yaml:"refUmN3gData" bson:"refUmN3gData,omitempty"` - // A reference to the condition data. It is the condId described in clause 5.6.2.9. - RefCondData string `json:"refCondData,omitempty" yaml:"refCondData" bson:"refCondData,omitempty"` -} diff --git a/models/models/model_session_rule_failure_code.go b/models/models/model_session_rule_failure_code.go deleted file mode 100644 index bf1ae53b..00000000 --- a/models/models/model_session_rule_failure_code.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SessionRuleFailureCode string - -// List of SessionRuleFailureCode -const ( - SessionRuleFailureCode_NF_MAL SessionRuleFailureCode = "NF_MAL" - SessionRuleFailureCode_RES_LIM SessionRuleFailureCode = "RES_LIM" - SessionRuleFailureCode_SESSION_RESOURCE_ALLOCATION_FAILURE SessionRuleFailureCode = "SESSION_RESOURCE_ALLOCATION_FAILURE" - SessionRuleFailureCode_UNSUCC_QOS_VAL SessionRuleFailureCode = "UNSUCC_QOS_VAL" - SessionRuleFailureCode_INCORRECT_UM SessionRuleFailureCode = "INCORRECT_UM" - SessionRuleFailureCode_UE_STA_SUSP SessionRuleFailureCode = "UE_STA_SUSP" - SessionRuleFailureCode_UNKNOWN_REF_ID SessionRuleFailureCode = "UNKNOWN_REF_ID" - SessionRuleFailureCode_INCORRECT_COND_DATA SessionRuleFailureCode = "INCORRECT_COND_DATA" - SessionRuleFailureCode_REF_ID_COLLISION SessionRuleFailureCode = "REF_ID_COLLISION" - SessionRuleFailureCode_AN_GW_FAILED SessionRuleFailureCode = "AN_GW_FAILED" -) diff --git a/models/models/model_session_rule_report.go b/models/models/model_session_rule_report.go deleted file mode 100644 index 467a0fbd..00000000 --- a/models/models/model_session_rule_report.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents reporting of the status of a session rule. -type SessionRuleReport struct { - // Contains the identifier of the affected session rule(s). - RuleIds []string `json:"ruleIds" yaml:"ruleIds" bson:"ruleIds,omitempty"` - RuleStatus RuleStatus `json:"ruleStatus" yaml:"ruleStatus" bson:"ruleStatus,omitempty"` - SessRuleFailureCode SessionRuleFailureCode `json:"sessRuleFailureCode,omitempty" yaml:"sessRuleFailureCode" bson:"sessRuleFailureCode,omitempty"` - // Contains the type(s) of failed policy decision and/or condition data. - PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` -} diff --git a/models/models/model_sgsn_address.go b/models/models/model_sgsn_address.go deleted file mode 100644 index f9038438..00000000 --- a/models/models/model_sgsn_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// describes the address of the SGSN -type SgsnAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - SgsnIpv4Addr string `json:"sgsnIpv4Addr,omitempty" yaml:"sgsnIpv4Addr" bson:"sgsnIpv4Addr,omitempty"` - SgsnIpv6Addr string `json:"sgsnIpv6Addr,omitempty" yaml:"sgsnIpv6Addr" bson:"sgsnIpv6Addr,omitempty"` -} diff --git a/models/models/model_sgsn_location_data.go b/models/models/model_sgsn_location_data.go deleted file mode 100644 index 2d6064b4..00000000 --- a/models/models/model_sgsn_location_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location information as retrieved from the SGSN serving node -type SgsnLocationData struct { - SgsnNumber string `json:"sgsnNumber" yaml:"sgsnNumber" bson:"sgsnNumber,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - SgsnLocation *UtraLocation `json:"sgsnLocation,omitempty" yaml:"sgsnLocation" bson:"sgsnLocation,omitempty"` - CsgInformation *CsgInformation `json:"csgInformation,omitempty" yaml:"csgInformation" bson:"csgInformation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_shared_data_id_range.go b/models/models/model_shared_data_id_range.go deleted file mode 100644 index d0136e3c..00000000 --- a/models/models/model_shared_data_id_range.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of SharedDataIds based on regular-expression matching -type SharedDataIdRange struct { - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_shared_data_treatment_instruction.go b/models/models/model_shared_data_treatment_instruction.go deleted file mode 100644 index 91d25973..00000000 --- a/models/models/model_shared_data_treatment_instruction.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SharedDataTreatmentInstruction string - -// List of SharedDataTreatmentInstruction -const ( - SharedDataTreatmentInstruction_USE_IF_NO_CLASH SharedDataTreatmentInstruction = "USE_IF_NO_CLASH" - SharedDataTreatmentInstruction_OVERWRITE SharedDataTreatmentInstruction = "OVERWRITE" - SharedDataTreatmentInstruction_MAX SharedDataTreatmentInstruction = "MAX" - SharedDataTreatmentInstruction_MIN SharedDataTreatmentInstruction = "MIN" -) diff --git a/models/models/model_sharing_level.go b/models/models/model_sharing_level.go deleted file mode 100644 index c9aea004..00000000 --- a/models/models/model_sharing_level.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SharingLevel string - -// List of SharingLevel -const ( - SharingLevel_SHARED SharingLevel = "SHARED" - SharingLevel_NON_SHARED SharingLevel = "NON_SHARED" -) diff --git a/models/models/model_sign.go b/models/models/model_sign.go deleted file mode 100644 index f015472e..00000000 --- a/models/models/model_sign.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Sign string - -// List of Sign -const ( - Sign_POSITIVE Sign = "POSITIVE" - Sign_NEGATIVE Sign = "NEGATIVE" -) diff --git a/models/models/model_sip_event_type.go b/models/models/model_sip_event_type.go deleted file mode 100644 index 3dc97b31..00000000 --- a/models/models/model_sip_event_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SipEventType struct { - SIPMethod string `json:"sIPMethod,omitempty" yaml:"sIPMethod" bson:"sIPMethod,omitempty"` - EventHeader string `json:"eventHeader,omitempty" yaml:"eventHeader" bson:"eventHeader,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - ExpiresHeader int32 `json:"expiresHeader,omitempty" yaml:"expiresHeader" bson:"expiresHeader,omitempty"` -} diff --git a/models/models/model_sip_forking_indication.go b/models/models/model_sip_forking_indication.go deleted file mode 100644 index 215dac96..00000000 --- a/models/models/model_sip_forking_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SipForkingIndication string - -// List of SipForkingIndication -const ( - SipForkingIndication_SINGLE_DIALOGUE SipForkingIndication = "SINGLE_DIALOGUE" - SipForkingIndication_SEVERAL_DIALOGUES SipForkingIndication = "SEVERAL_DIALOGUES" -) diff --git a/models/models/model_slice_info_for_pdu_session.go b/models/models/model_slice_info_for_pdu_session.go deleted file mode 100644 index 756f5439..00000000 --- a/models/models/model_slice_info_for_pdu_session.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the slice information requested during PDU Session establishment procedure -type SliceInfoForPduSession struct { - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - RoamingIndication RoamingIndication `json:"roamingIndication" yaml:"roamingIndication" bson:"roamingIndication,omitempty"` - HomeSnssai *Snssai `json:"homeSnssai,omitempty" yaml:"homeSnssai" bson:"homeSnssai,omitempty"` -} diff --git a/models/models/model_slice_info_for_registration.go b/models/models/model_slice_info_for_registration.go deleted file mode 100644 index c097c455..00000000 --- a/models/models/model_slice_info_for_registration.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the slice information requested during a Registration procedure -type SliceInfoForRegistration struct { - SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` - AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` - AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` - SNssaiForMapping []Snssai `json:"sNssaiForMapping,omitempty" yaml:"sNssaiForMapping" bson:"sNssaiForMapping,omitempty"` - RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` - DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` - MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` - RequestMapping bool `json:"requestMapping,omitempty" yaml:"requestMapping" bson:"requestMapping,omitempty"` - UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` - SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` - NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` -} diff --git a/models/models/model_slice_info_for_ue_configuration_update.go b/models/models/model_slice_info_for_ue_configuration_update.go deleted file mode 100644 index a413cf83..00000000 --- a/models/models/model_slice_info_for_ue_configuration_update.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the slice information requested during UE configuration update procedure -type SliceInfoForUeConfigurationUpdate struct { - SubscribedNssai []SubscribedSnssai `json:"subscribedNssai,omitempty" yaml:"subscribedNssai" bson:"subscribedNssai,omitempty"` - AllowedNssaiCurrentAccess *AllowedNssai `json:"allowedNssaiCurrentAccess,omitempty" yaml:"allowedNssaiCurrentAccess" bson:"allowedNssaiCurrentAccess,omitempty"` - AllowedNssaiOtherAccess *AllowedNssai `json:"allowedNssaiOtherAccess,omitempty" yaml:"allowedNssaiOtherAccess" bson:"allowedNssaiOtherAccess,omitempty"` - DefaultConfiguredSnssaiInd bool `json:"defaultConfiguredSnssaiInd,omitempty" yaml:"defaultConfiguredSnssaiInd" bson:"defaultConfiguredSnssaiInd,omitempty"` - RequestedNssai []Snssai `json:"requestedNssai,omitempty" yaml:"requestedNssai" bson:"requestedNssai,omitempty"` - MappingOfNssai []MappingOfSnssai `json:"mappingOfNssai,omitempty" yaml:"mappingOfNssai" bson:"mappingOfNssai,omitempty"` - UeSupNssrgInd bool `json:"ueSupNssrgInd,omitempty" yaml:"ueSupNssrgInd" bson:"ueSupNssrgInd,omitempty"` - SuppressNssrgInd bool `json:"suppressNssrgInd,omitempty" yaml:"suppressNssrgInd" bson:"suppressNssrgInd,omitempty"` - RejectedNssaiRa []Snssai `json:"rejectedNssaiRa,omitempty" yaml:"rejectedNssaiRa" bson:"rejectedNssaiRa,omitempty"` - NsagSupported bool `json:"nsagSupported,omitempty" yaml:"nsagSupported" bson:"nsagSupported,omitempty"` -} diff --git a/models/models/model_slice_load_level_information.go b/models/models/model_slice_load_level_information.go deleted file mode 100644 index c92a3092..00000000 --- a/models/models/model_slice_load_level_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains load level information applicable for one or several slices. -type SliceLoadLevelInformation struct { - // Load level information of the network slice and the optionally associated network slice instance. - LoadLevelInformation int32 `json:"loadLevelInformation" yaml:"loadLevelInformation" bson:"loadLevelInformation,omitempty"` - // Identification(s) of network slice to which the subscription applies. - Snssais []Snssai `json:"snssais" yaml:"snssais" bson:"snssais,omitempty"` -} diff --git a/models/models/model_slice_mbr.go b/models/models/model_slice_mbr.go deleted file mode 100644 index ba5c32f5..00000000 --- a/models/models/model_slice_mbr.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// MBR related to slice -type SliceMbr struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` -} diff --git a/models/models/model_slice_mbr_rm.go b/models/models/model_slice_mbr_rm.go deleted file mode 100644 index 4eda9152..00000000 --- a/models/models/model_slice_mbr_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SliceMbrRm struct { -} diff --git a/models/models/model_slice_policy_data.go b/models/models/model_slice_policy_data.go deleted file mode 100644 index ddcdbf90..00000000 --- a/models/models/model_slice_policy_data.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the network slice specific policy control information. -type SlicePolicyData struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MbrUl string `json:"mbrUl,omitempty" yaml:"mbrUl" bson:"mbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MbrDl string `json:"mbrDl,omitempty" yaml:"mbrDl" bson:"mbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - RemainMbrUl string `json:"remainMbrUl,omitempty" yaml:"remainMbrUl" bson:"remainMbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - RemainMbrDl string `json:"remainMbrDl,omitempty" yaml:"remainMbrDl" bson:"remainMbrDl,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_sm_address_domain.go b/models/models/model_sm_address_domain.go deleted file mode 100644 index 126202bb..00000000 --- a/models/models/model_sm_address_domain.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmAddressDomain struct { - DomainName string `json:"domainName,omitempty" yaml:"domainName" bson:"domainName,omitempty"` - Var3GPPIMSIMCCMNC string `json:"3GPPIMSIMCCMNC,omitempty" yaml:"3GPPIMSIMCCMNC" bson:"3GPPIMSIMCCMNC,omitempty"` -} diff --git a/models/models/model_sm_address_info.go b/models/models/model_sm_address_info.go deleted file mode 100644 index 66c397fe..00000000 --- a/models/models/model_sm_address_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmAddressInfo struct { - SMaddressType SmAddressType `json:"sMaddressType,omitempty" yaml:"sMaddressType" bson:"sMaddressType,omitempty"` - SMaddressData string `json:"sMaddressData,omitempty" yaml:"sMaddressData" bson:"sMaddressData,omitempty"` - SMaddressDomain *SmAddressDomain `json:"sMaddressDomain,omitempty" yaml:"sMaddressDomain" bson:"sMaddressDomain,omitempty"` -} diff --git a/models/models/model_sm_address_type.go b/models/models/model_sm_address_type.go deleted file mode 100644 index 7d0dcbb7..00000000 --- a/models/models/model_sm_address_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmAddressType string - -// List of SMAddressType -const ( - SmAddressType_EMAIL_ADDRESS SmAddressType = "EMAIL_ADDRESS" - SmAddressType_MSISDN SmAddressType = "MSISDN" - SmAddressType_IPV4_ADDRESS SmAddressType = "IPV4_ADDRESS" - SmAddressType_IPV6_ADDRESS SmAddressType = "IPV6_ADDRESS" - SmAddressType_NUMERIC_SHORTCODE SmAddressType = "NUMERIC_SHORTCODE" - SmAddressType_ALPHANUMERIC_SHORTCODE SmAddressType = "ALPHANUMERIC_SHORTCODE" - SmAddressType_OTHER SmAddressType = "OTHER" - SmAddressType_IMSI SmAddressType = "IMSI" -) diff --git a/models/models/model_sm_addressee_type.go b/models/models/model_sm_addressee_type.go deleted file mode 100644 index aa6627d5..00000000 --- a/models/models/model_sm_addressee_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmAddresseeType string - -// List of SMAddresseeType -const ( - SmAddresseeType_TO SmAddresseeType = "TO" - SmAddresseeType_CC SmAddresseeType = "CC" - SmAddresseeType_BCC SmAddresseeType = "BCC" -) diff --git a/models/models/model_sm_context.go b/models/models/model_sm_context.go deleted file mode 100644 index 20e2d741..00000000 --- a/models/models/model_sm_context.go +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Complete SM Context -type SmContext struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` - SNssai *Snssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` - PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String providing an URI formatted according to RFC 3986. - HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - PduSessionRef string `json:"pduSessionRef,omitempty" yaml:"pduSessionRef" bson:"pduSessionRef,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - // String providing an URI formatted according to RFC 3986. - IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // Identifier of a group of NFs. - PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - QosFlowsList []QosFlowSetupItem `json:"qosFlowsList" yaml:"qosFlowsList" bson:"qosFlowsList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HSmfInstanceId string `json:"hSmfInstanceId,omitempty" yaml:"hSmfInstanceId" bson:"hSmfInstanceId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId,omitempty" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PduSessionSmfSetId string `json:"pduSessionSmfSetId,omitempty" yaml:"pduSessionSmfSetId" bson:"pduSessionSmfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PduSessionSmfServiceSetId string `json:"pduSessionSmfServiceSetId,omitempty" yaml:"pduSessionSmfServiceSetId" bson:"pduSessionSmfServiceSetId,omitempty"` - PduSessionSmfBinding SbiBindingLevel `json:"pduSessionSmfBinding,omitempty" yaml:"pduSessionSmfBinding" bson:"pduSessionSmfBinding,omitempty"` - EnablePauseCharging bool `json:"enablePauseCharging,omitempty" yaml:"enablePauseCharging" bson:"enablePauseCharging,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - UeIpv4Address string `json:"ueIpv4Address,omitempty" yaml:"ueIpv4Address" bson:"ueIpv4Address,omitempty"` - UeIpv6Prefix string `json:"ueIpv6Prefix,omitempty" yaml:"ueIpv6Prefix" bson:"ueIpv6Prefix,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` - EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` - MaxIntegrityProtectedDataRate MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty" yaml:"maxIntegrityProtectedDataRate" bson:"maxIntegrityProtectedDataRate,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` - UpSecurity *UpSecurity `json:"upSecurity,omitempty" yaml:"upSecurity" bson:"upSecurity,omitempty"` - HSmfServiceInstanceId string `json:"hSmfServiceInstanceId,omitempty" yaml:"hSmfServiceInstanceId" bson:"hSmfServiceInstanceId,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - ForwardingInd bool `json:"forwardingInd,omitempty" yaml:"forwardingInd" bson:"forwardingInd,omitempty"` - PsaTunnelInfo *TunnelInfo `json:"psaTunnelInfo,omitempty" yaml:"psaTunnelInfo" bson:"psaTunnelInfo,omitempty"` - ChargingId string `json:"chargingId,omitempty" yaml:"chargingId" bson:"chargingId,omitempty"` - ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` - RoamingChargingProfile *ChfConvergedChargingRoamingChargingProfile `json:"roamingChargingProfile,omitempty" yaml:"roamingChargingProfile" bson:"roamingChargingProfile,omitempty"` - NefExtBufSupportInd bool `json:"nefExtBufSupportInd,omitempty" yaml:"nefExtBufSupportInd" bson:"nefExtBufSupportInd,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` - DnAaaAddress *SmfPduSessionIpAddress `json:"dnAaaAddress,omitempty" yaml:"dnAaaAddress" bson:"dnAaaAddress,omitempty"` - RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty" yaml:"redundantPduSessionInfo" bson:"redundantPduSessionInfo,omitempty"` - RanTunnelInfo *QosFlowTunnel `json:"ranTunnelInfo,omitempty" yaml:"ranTunnelInfo" bson:"ranTunnelInfo,omitempty"` - AddRanTunnelInfo []QosFlowTunnel `json:"addRanTunnelInfo,omitempty" yaml:"addRanTunnelInfo" bson:"addRanTunnelInfo,omitempty"` - RedRanTunnelInfo *QosFlowTunnel `json:"redRanTunnelInfo,omitempty" yaml:"redRanTunnelInfo" bson:"redRanTunnelInfo,omitempty"` - AddRedRanTunnelInfo []QosFlowTunnel `json:"addRedRanTunnelInfo,omitempty" yaml:"addRedRanTunnelInfo" bson:"addRedRanTunnelInfo,omitempty"` - NspuSupportInd bool `json:"nspuSupportInd,omitempty" yaml:"nspuSupportInd" bson:"nspuSupportInd,omitempty"` - SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` - SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` - SscMode string `json:"sscMode,omitempty" yaml:"sscMode" bson:"sscMode,omitempty"` - DlsetSupportInd bool `json:"dlsetSupportInd,omitempty" yaml:"dlsetSupportInd" bson:"dlsetSupportInd,omitempty"` - N9fscSupportInd bool `json:"n9fscSupportInd,omitempty" yaml:"n9fscSupportInd" bson:"n9fscSupportInd,omitempty"` - AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` -} diff --git a/models/models/model_sm_context_configuration.go b/models/models/model_sm_context_configuration.go deleted file mode 100644 index 6dfabcc6..00000000 --- a/models/models/model_sm_context_configuration.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// NIDD Configuration for the SM context. -type SmContextConfiguration struct { - SmalDataRateControl *SmallDataRateControl `json:"smalDataRateControl,omitempty" yaml:"smalDataRateControl" bson:"smalDataRateControl,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - // When present, this IE shall contain the maximum allowed number of Downlink NAS Data PDUs per deci hour of the serving PLMN, as specified in subclause 5.31.14.2 of 3GPP TS 23.501 [2]. Minimum 10 - ServPlmnDataRateCtl int32 `json:"servPlmnDataRateCtl,omitempty" yaml:"servPlmnDataRateCtl" bson:"servPlmnDataRateCtl,omitempty"` -} diff --git a/models/models/model_sm_context_create_error.go b/models/models/model_sm_context_create_error.go deleted file mode 100644 index 12aee704..00000000 --- a/models/models/model_sm_context_create_error.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Error within Create SM Context Response -type SmContextCreateError struct { - Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` -} diff --git a/models/models/model_sm_context_released_data.go b/models/models/model_sm_context_released_data.go deleted file mode 100644 index e3070951..00000000 --- a/models/models/model_sm_context_released_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Successful release of an Individual SM context with information sent to the NF service consumer. -type SmContextReleasedData struct { - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` -} diff --git a/models/models/model_sm_context_retrieve_data.go b/models/models/model_sm_context_retrieve_data.go deleted file mode 100644 index 1cbd8b8e..00000000 --- a/models/models/model_sm_context_retrieve_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Retrieve SM Context Request -type SmContextRetrieveData struct { - TargetMmeCap *MmeCapabilities `json:"targetMmeCap,omitempty" yaml:"targetMmeCap" bson:"targetMmeCap,omitempty"` - SmContextType SmContextType `json:"smContextType,omitempty" yaml:"smContextType" bson:"smContextType,omitempty"` - ServingNetwork *PlmnId `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - NotToTransferEbiList []int32 `json:"notToTransferEbiList,omitempty" yaml:"notToTransferEbiList" bson:"notToTransferEbiList,omitempty"` - RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` -} diff --git a/models/models/model_sm_context_retrieved_data.go b/models/models/model_sm_context_retrieved_data.go deleted file mode 100644 index aa951429..00000000 --- a/models/models/model_sm_context_retrieved_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Retrieve SM Context Response -type SmContextRetrievedData struct { - // UE EPS PDN Connection container from SMF to AMF - UeEpsPdnConnection string `json:"ueEpsPdnConnection" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` - SmContext *SmContext `json:"smContext,omitempty" yaml:"smContext" bson:"smContext,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` - AfCoordinationInfo *AfCoordinationInfo `json:"afCoordinationInfo,omitempty" yaml:"afCoordinationInfo" bson:"afCoordinationInfo,omitempty"` -} diff --git a/models/models/model_sm_context_status.go b/models/models/model_sm_context_status.go deleted file mode 100644 index af9f457a..00000000 --- a/models/models/model_sm_context_status.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextStatus string - -// List of SmContextStatus -const ( - SmContextStatus_RELEASED SmContextStatus = "RELEASED" -) diff --git a/models/models/model_sm_context_type.go b/models/models/model_sm_context_type.go deleted file mode 100644 index a328002e..00000000 --- a/models/models/model_sm_context_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextType string - -// List of SmContextType -const ( - SmContextType_EPS_PDN_CONNECTION SmContextType = "EPS_PDN_CONNECTION" - SmContextType_SM_CONTEXT SmContextType = "SM_CONTEXT" - SmContextType_AF_COORDINATION_INFO SmContextType = "AF_COORDINATION_INFO" -) diff --git a/models/models/model_sm_context_update_error.go b/models/models/model_sm_context_update_error.go deleted file mode 100644 index a52fab80..00000000 --- a/models/models/model_sm_context_update_error.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Error within Update SM Context Response -type SmContextUpdateError struct { - Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` -} diff --git a/models/models/model_sm_context_updated_data.go b/models/models/model_sm_context_updated_data.go deleted file mode 100644 index 90c79e63..00000000 --- a/models/models/model_sm_context_updated_data.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update SM Context Response -type SmContextUpdatedData struct { - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - ReleaseEbiList []int32 `json:"releaseEbiList,omitempty" yaml:"releaseEbiList" bson:"releaseEbiList,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` - ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` - N3DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3DlForwardingTnlList,omitempty" yaml:"n3DlForwardingTnlList" bson:"n3DlForwardingTnlList,omitempty"` - N3UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n3UlForwardingTnlList,omitempty" yaml:"n3UlForwardingTnlList" bson:"n3UlForwardingTnlList,omitempty"` - N9UlForwardingTunnel *TunnelInfo `json:"n9UlForwardingTunnel,omitempty" yaml:"n9UlForwardingTunnel" bson:"n9UlForwardingTunnel,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // string with format 'bytes' as defined in OpenAPI - ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` - ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - AnchorSmfFeatures *AnchorSmfFeatures `json:"anchorSmfFeatures,omitempty" yaml:"anchorSmfFeatures" bson:"anchorSmfFeatures,omitempty"` -} diff --git a/models/models/model_sm_delivery_status.go b/models/models/model_sm_delivery_status.go deleted file mode 100644 index 91aa525f..00000000 --- a/models/models/model_sm_delivery_status.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_ReportSMDeliveryStatus - * - * UDM Report SM Delivery Status Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents SM Delivery Status. -type SmDeliveryStatus struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi" yaml:"gpsi" bson:"gpsi,omitempty"` - SmStatusReport string `json:"smStatusReport" yaml:"smStatusReport" bson:"smStatusReport,omitempty"` -} diff --git a/models/models/model_sm_interface.go b/models/models/model_sm_interface.go deleted file mode 100644 index c225a6ca..00000000 --- a/models/models/model_sm_interface.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmInterface struct { - InterfaceId string `json:"interfaceId,omitempty" yaml:"interfaceId" bson:"interfaceId,omitempty"` - InterfaceText string `json:"interfaceText,omitempty" yaml:"interfaceText" bson:"interfaceText,omitempty"` - InterfacePort string `json:"interfacePort,omitempty" yaml:"interfacePort" bson:"interfacePort,omitempty"` - InterfaceType InterfaceType `json:"interfaceType,omitempty" yaml:"interfaceType" bson:"interfaceType,omitempty"` -} diff --git a/models/models/model_sm_message_type.go b/models/models/model_sm_message_type.go deleted file mode 100644 index f8c8468b..00000000 --- a/models/models/model_sm_message_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmMessageType string - -// List of SMMessageType -const ( - SmMessageType_SUBMISSION SmMessageType = "SUBMISSION" - SmMessageType_DELIVERY_REPORT SmMessageType = "DELIVERY_REPORT" - SmMessageType_SM_SERVICE_REQUEST SmMessageType = "SM_SERVICE_REQUEST" - SmMessageType_DELIVERY SmMessageType = "DELIVERY" -) diff --git a/models/models/model_sm_nas_from_smf.go b/models/models/model_sm_nas_from_smf.go deleted file mode 100644 index d628d1ec..00000000 --- a/models/models/model_sm_nas_from_smf.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents information on the SM congestion control applied SM NAS messages that SMF sends to UE for PDU Session. -type SmNasFromSmf struct { - SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - // indicating a time in seconds. - BackoffTimer int32 `json:"backoffTimer" yaml:"backoffTimer" bson:"backoffTimer,omitempty"` - AppliedSmccType AppliedSmccType `json:"appliedSmccType" yaml:"appliedSmccType" bson:"appliedSmccType,omitempty"` -} diff --git a/models/models/model_sm_nas_from_ue.go b/models/models/model_sm_nas_from_ue.go deleted file mode 100644 index b1b66485..00000000 --- a/models/models/model_sm_nas_from_ue.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents information on the SM NAS messages that SMF receives from UE for PDU Session. -type SmNasFromUe struct { - SmNasType string `json:"smNasType" yaml:"smNasType" bson:"smNasType,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/models/model_sm_policy_association_release_cause.go b/models/models/model_sm_policy_association_release_cause.go deleted file mode 100644 index 05ec551b..00000000 --- a/models/models/model_sm_policy_association_release_cause.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmPolicyAssociationReleaseCause string - -// List of SmPolicyAssociationReleaseCause -const ( - SmPolicyAssociationReleaseCause_UNSPECIFIED SmPolicyAssociationReleaseCause = "UNSPECIFIED" - SmPolicyAssociationReleaseCause_UE_SUBSCRIPTION SmPolicyAssociationReleaseCause = "UE_SUBSCRIPTION" - SmPolicyAssociationReleaseCause_INSUFFICIENT_RES SmPolicyAssociationReleaseCause = "INSUFFICIENT_RES" - SmPolicyAssociationReleaseCause_VALIDATION_CONDITION_NOT_MET SmPolicyAssociationReleaseCause = "VALIDATION_CONDITION_NOT_MET" - SmPolicyAssociationReleaseCause_REACTIVATION_REQUESTED SmPolicyAssociationReleaseCause = "REACTIVATION_REQUESTED" -) diff --git a/models/models/model_sm_policy_context_data.go b/models/models/model_sm_policy_context_data.go deleted file mode 100644 index d7201ba4..00000000 --- a/models/models/model_sm_policy_context_data.go +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the parameters used to create an Individual SM policy resource. -type SmPolicyContextData struct { - AccNetChId *AccNetChId `json:"accNetChId,omitempty" yaml:"accNetChId" bson:"accNetChId,omitempty"` - ChargEntityAddr *AccNetChargingAddress `json:"chargEntityAddr,omitempty" yaml:"chargEntityAddr" bson:"chargEntityAddr,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // When this attribute is included and set to true, it indicates that the supi attribute contains an invalid value.This attribute shall be present if the SUPI is not available in the SMF or the SUPI is unauthenticated. When present it shall be set to true for an invalid SUPI and false (default) for a valid SUPI. - InvalidSupi bool `json:"invalidSupi,omitempty" yaml:"invalidSupi" bson:"invalidSupi,omitempty"` - InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - PduSessionType PduSessionType `json:"pduSessionType" yaml:"pduSessionType" bson:"pduSessionType,omitempty"` - Chargingcharacteristics string `json:"chargingcharacteristics,omitempty" yaml:"chargingcharacteristics" bson:"chargingcharacteristics,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - DnnSelMode DnnSelectionMode `json:"dnnSelMode,omitempty" yaml:"dnnSelMode" bson:"dnnSelMode,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` - Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` - // Indicates the IPv4 address domain - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` - // Indicates the DN-AAA authorization profile index - AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` - SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` - VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` - // Contains the number of supported packet filter for signalled QoS rules. - NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` - // If it is included and set to true, the online charging is applied to the PDU session. - Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` - // If it is included and set to true, the offline charging is applied to the PDU session. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` - // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. - Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` - // If it is included and set to true, the reflective QoS is supported by the UE. - RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - SliceInfo *Snssai `json:"sliceInfo" yaml:"sliceInfo" bson:"sliceInfo,omitempty"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` - AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` - Ipv4FrameRouteList []string `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` - Ipv6FrameRouteList []string `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` - PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` - PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` - // If it is included and set to true, it indicates that the PDU session is used for UE Onboarding. - OnboardInd bool `json:"onboardInd,omitempty" yaml:"onboardInd" bson:"onboardInd,omitempty"` - NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` -} diff --git a/models/models/model_sm_policy_control.go b/models/models/model_sm_policy_control.go deleted file mode 100644 index e8743cb4..00000000 --- a/models/models/model_sm_policy_control.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the parameters used to request the SM policies and the SM policies authorized by the PCF. -type SmPolicyControl struct { - Context *SmPolicyContextData `json:"context" yaml:"context" bson:"context,omitempty"` - Policy *SmPolicyDecision `json:"policy" yaml:"policy" bson:"policy,omitempty"` -} diff --git a/models/models/model_sm_policy_data.go b/models/models/model_sm_policy_data.go deleted file mode 100644 index badadf78..00000000 --- a/models/models/model_sm_policy_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given subscriber. -type SmPolicyData struct { - // Contains Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. - SmPolicySnssaiData map[string]SmPolicySnssaiData `json:"smPolicySnssaiData" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` - // Contains a list of usage monitoring profiles associated with the subscriber. The limit identifier is used as the key of the map. - UmDataLimits map[string]UsageMonDataLimit `json:"umDataLimits,omitempty" yaml:"umDataLimits" bson:"umDataLimits,omitempty"` - // Contains the remaining allowed usage data associated with the subscriber. The limit identifier is used as the key of the map. - UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_sm_policy_data_patch.go b/models/models/model_sm_policy_data_patch.go deleted file mode 100644 index 447f3661..00000000 --- a/models/models/model_sm_policy_data_patch.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given subscriber. -type SmPolicyDataPatch struct { - // Contains the remaining allowed usage data associated with the subscriber. The value of the limit identifier is used as the key of the map. - UmData map[string]UsageMonData `json:"umData,omitempty" yaml:"umData" bson:"umData,omitempty"` - // Modifiable Session Management Policy data per S-NSSAI for all the SNSSAIs of the subscriber. The key of the map is the S-NSSAI. - SmPolicySnssaiData map[string]SmPolicySnssaiDataPatch `json:"smPolicySnssaiData,omitempty" yaml:"smPolicySnssaiData" bson:"smPolicySnssaiData,omitempty"` -} diff --git a/models/models/model_sm_policy_decision.go b/models/models/model_sm_policy_decision.go deleted file mode 100644 index c1c1af25..00000000 --- a/models/models/model_sm_policy_decision.go +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the SM policies authorized by the PCF. -type SmPolicyDecision struct { - // A map of Sessionrules with the content being the SessionRule as described in clause 5.6.2.7. The key used in this map for each entry is the sessRuleId attribute of the corresponding SessionRule. - SessRules map[string]*SessionRule `json:"sessRules,omitempty" yaml:"sessRules" bson:"sessRules,omitempty"` - // A map of PCC rules with the content being the PCCRule as described in clause 5.6.2.6. The key used in this map for each entry is the pccRuleId attribute of the corresponding PccRule. - PccRules map[string]*PccRule `json:"pccRules,omitempty" yaml:"pccRules" bson:"pccRules,omitempty"` - // If it is included and set to true, it indicates the P-CSCF Restoration is requested. - PcscfRestIndication bool `json:"pcscfRestIndication,omitempty" yaml:"pcscfRestIndication" bson:"pcscfRestIndication,omitempty"` - // Map of QoS data policy decisions. The key used in this map for each entry is the qosId attribute of the corresponding QosData. - QosDecs map[string]*QosData `json:"qosDecs,omitempty" yaml:"qosDecs" bson:"qosDecs,omitempty"` - // Map of Charging data policy decisions. The key used in this map for each entry is the chgId attribute of the corresponding ChargingData. - ChgDecs map[string]*ChargingData `json:"chgDecs,omitempty" yaml:"chgDecs" bson:"chgDecs,omitempty"` - ChargingInfo *ChargingInformation `json:"chargingInfo,omitempty" yaml:"chargingInfo" bson:"chargingInfo,omitempty"` - // Map of Traffic Control data policy decisions. The key used in this map for each entry is the tcId attribute of the corresponding TrafficControlData. - TraffContDecs map[string]*TrafficControlData `json:"traffContDecs,omitempty" yaml:"traffContDecs" bson:"traffContDecs,omitempty"` - // Map of Usage Monitoring data policy decisions. The key used in this map for each entry is the umId attribute of the corresponding UsageMonitoringData. - UmDecs map[string]*UsageMonitoringData `json:"umDecs,omitempty" yaml:"umDecs" bson:"umDecs,omitempty"` - // Map of QoS characteristics for non standard 5QIs. This map uses the 5QI values as keys. - QosChars map[string]QosCharacteristics `json:"qosChars,omitempty" yaml:"qosChars" bson:"qosChars,omitempty"` - // Map of QoS Monitoring data policy decisions. The key used in this map for each entry is the qmId attribute of the corresponding QosMonitoringData. - QosMonDecs map[string]*QosMonitoringData `json:"qosMonDecs,omitempty" yaml:"qosMonDecs" bson:"qosMonDecs,omitempty"` - // indicating a time in seconds. - ReflectiveQoSTimer int32 `json:"reflectiveQoSTimer,omitempty" yaml:"reflectiveQoSTimer" bson:"reflectiveQoSTimer,omitempty"` - // A map of condition data with the content being as described in clause 5.6.2.9. The key used in this map for each entry is the condId attribute of the corresponding ConditionData. - Conds map[string]*ConditionData `json:"conds,omitempty" yaml:"conds" bson:"conds,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RevalidationTime *time.Time `json:"revalidationTime,omitempty" yaml:"revalidationTime" bson:"revalidationTime,omitempty"` - // Indicates the offline charging is applicable to the PDU session when it is included and set to true. - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` - // Indicates the online charging is applicable to the PDU session when it is included and set to true. - Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` - // Indicates that the online charging method shall never be used for any PCC rule activated during the lifetime of the PDU session. - OfflineChOnly bool `json:"offlineChOnly,omitempty" yaml:"offlineChOnly" bson:"offlineChOnly,omitempty"` - // Defines the policy control request triggers subscribed by the PCF. - PolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"policyCtrlReqTriggers,omitempty" yaml:"policyCtrlReqTriggers" bson:"policyCtrlReqTriggers,omitempty"` - // Defines the last list of rule control data requested by the PCF. - LastReqRuleData []RequestedRuleData `json:"lastReqRuleData,omitempty" yaml:"lastReqRuleData" bson:"lastReqRuleData,omitempty"` - LastReqUsageData *RequestedUsageData `json:"lastReqUsageData,omitempty" yaml:"lastReqUsageData" bson:"lastReqUsageData,omitempty"` - // Map of PRA information. The praId attribute within the PresenceInfo data type is the key of the map. - PraInfos map[string]*PresenceInfoRm `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` - RelCause SmPolicyAssociationReleaseCause `json:"relCause,omitempty" yaml:"relCause" bson:"relCause,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` - // Indicates whether the PDU session is a redundant PDU session. If absent it means the PDU session is not a redundant PDU session. - RedSessIndication bool `json:"redSessIndication,omitempty" yaml:"redSessIndication" bson:"redSessIndication,omitempty"` -} diff --git a/models/models/model_sm_policy_delete_data.go b/models/models/model_sm_policy_delete_data.go deleted file mode 100644 index d26431c4..00000000 --- a/models/models/model_sm_policy_delete_data.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the parameters to be sent to the PCF when an individual SM policy is deleted. -type SmPolicyDeleteData struct { - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` - // Contains the RAN and/or NAS release cause. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` - // Contains the usage report - AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` - PduSessRelCause PduSessionRelCause `json:"pduSessRelCause,omitempty" yaml:"pduSessRelCause" bson:"pduSessRelCause,omitempty"` -} diff --git a/models/models/model_sm_policy_dnn_data.go b/models/models/model_sm_policy_dnn_data.go deleted file mode 100644 index 2866e054..00000000 --- a/models/models/model_sm_policy_dnn_data.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given DNN (and S-NSSAI). -type SmPolicyDnnData struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - AllowedServices []string `json:"allowedServices,omitempty" yaml:"allowedServices" bson:"allowedServices,omitempty"` - SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrUl string `json:"gbrUl,omitempty" yaml:"gbrUl" bson:"gbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GbrDl string `json:"gbrDl,omitempty" yaml:"gbrDl" bson:"gbrDl,omitempty"` - AdcSupport bool `json:"adcSupport,omitempty" yaml:"adcSupport" bson:"adcSupport,omitempty"` - SubscSpendingLimits bool `json:"subscSpendingLimits,omitempty" yaml:"subscSpendingLimits" bson:"subscSpendingLimits,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv4Index int32 `json:"ipv4Index,omitempty" yaml:"ipv4Index" bson:"ipv4Index,omitempty"` - // Represents information that identifies which IP pool or external server is used to allocate the IP address. - Ipv6Index int32 `json:"ipv6Index,omitempty" yaml:"ipv6Index" bson:"ipv6Index,omitempty"` - Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline,omitempty"` - Online bool `json:"online,omitempty" yaml:"online" bson:"online,omitempty"` - ChfInfo *ChargingInformation `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` - // A reference to the UsageMonDataLimit or UsageMonData instancesfor this DNN and SNSSAI that may also include the related monitoring key(s). The key of the map is the limit identifier. - RefUmDataLimitIds map[string]*LimitIdToMonitoringKey `json:"refUmDataLimitIds,omitempty" yaml:"refUmDataLimitIds" bson:"refUmDataLimitIds,omitempty"` - MpsPriority bool `json:"mpsPriority,omitempty" yaml:"mpsPriority" bson:"mpsPriority,omitempty"` - McsPriority bool `json:"mcsPriority,omitempty" yaml:"mcsPriority" bson:"mcsPriority,omitempty"` - ImsSignallingPrio bool `json:"imsSignallingPrio,omitempty" yaml:"imsSignallingPrio" bson:"imsSignallingPrio,omitempty"` - MpsPriorityLevel int32 `json:"mpsPriorityLevel,omitempty" yaml:"mpsPriorityLevel" bson:"mpsPriorityLevel,omitempty"` - McsPriorityLevel int32 `json:"mcsPriorityLevel,omitempty" yaml:"mcsPriorityLevel" bson:"mcsPriorityLevel,omitempty"` - // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. - PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` - // Identifies transfer policies of background data transfer. Any string value can be used as a key of the map. - BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` - LocRoutNotAllowed bool `json:"locRoutNotAllowed,omitempty" yaml:"locRoutNotAllowed" bson:"locRoutNotAllowed,omitempty"` -} diff --git a/models/models/model_sm_policy_dnn_data_patch.go b/models/models/model_sm_policy_dnn_data_patch.go deleted file mode 100644 index 093281d7..00000000 --- a/models/models/model_sm_policy_dnn_data_patch.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given DNN (and S-NSSAI). -type SmPolicyDnnDataPatch struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` - // Contains updated transfer policies of background data transfer. Any string value can be used as a key of the map. - BdtRefIds map[string]*string `json:"bdtRefIds,omitempty" yaml:"bdtRefIds" bson:"bdtRefIds,omitempty"` -} diff --git a/models/models/model_sm_policy_notification.go b/models/models/model_sm_policy_notification.go deleted file mode 100644 index 2d587609..00000000 --- a/models/models/model_sm_policy_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a notification on the update of the SM policies. -type SmPolicyNotification struct { - // String providing an URI formatted according to RFC 3986. - ResourceUri string `json:"resourceUri,omitempty" yaml:"resourceUri" bson:"resourceUri,omitempty"` - SmPolicyDecision *SmPolicyDecision `json:"smPolicyDecision,omitempty" yaml:"smPolicyDecision" bson:"smPolicyDecision,omitempty"` -} diff --git a/models/models/model_sm_policy_snssai_data.go b/models/models/model_sm_policy_snssai_data.go deleted file mode 100644 index 2bc6085e..00000000 --- a/models/models/model_sm_policy_snssai_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given subscriber and S-NSSAI. -type SmPolicySnssaiData struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. - SmPolicyDnnData map[string]SmPolicyDnnData `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` - UeSliceMbr *SliceMbr `json:"ueSliceMbr,omitempty" yaml:"ueSliceMbr" bson:"ueSliceMbr,omitempty"` -} diff --git a/models/models/model_sm_policy_snssai_data_patch.go b/models/models/model_sm_policy_snssai_data_patch.go deleted file mode 100644 index bb94239b..00000000 --- a/models/models/model_sm_policy_snssai_data_patch.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the SM policy data for a given subscriber and S-NSSAI. -type SmPolicySnssaiDataPatch struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - // Modifiable Session Management Policy data per DNN for all the DNNs of the indicated S-NSSAI. The key of the map is the DNN. - SmPolicyDnnData map[string]SmPolicyDnnDataPatch `json:"smPolicyDnnData,omitempty" yaml:"smPolicyDnnData" bson:"smPolicyDnnData,omitempty"` -} diff --git a/models/models/model_sm_policy_update_context_data.go b/models/models/model_sm_policy_update_context_data.go deleted file mode 100644 index 42854d0a..00000000 --- a/models/models/model_sm_policy_update_context_data.go +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the policy control request trigger(s) that were met and the corresponding new value(s) or the error report of the policy enforcement. -type SmPolicyUpdateContextData struct { - // The policy control reqeust trigges which are met. - RepPolicyCtrlReqTriggers []PolicyControlRequestTrigger `json:"repPolicyCtrlReqTriggers,omitempty" yaml:"repPolicyCtrlReqTriggers" bson:"repPolicyCtrlReqTriggers,omitempty"` - // Indicates the access network charging identifier for the PCC rule(s) or whole PDU session. - AccNetChIds []AccNetChId `json:"accNetChIds,omitempty" yaml:"accNetChIds" bson:"accNetChIds,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - RelIpv4Address string `json:"relIpv4Address,omitempty" yaml:"relIpv4Address" bson:"relIpv4Address,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Address string `json:"ipv4Address,omitempty" yaml:"ipv4Address" bson:"ipv4Address,omitempty"` - // Indicates the IPv4 address domain - IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` - Ipv6AddressPrefix string `json:"ipv6AddressPrefix,omitempty" yaml:"ipv6AddressPrefix" bson:"ipv6AddressPrefix,omitempty"` - RelIpv6AddressPrefix string `json:"relIpv6AddressPrefix,omitempty" yaml:"relIpv6AddressPrefix" bson:"relIpv6AddressPrefix,omitempty"` - AddIpv6AddrPrefixes string `json:"addIpv6AddrPrefixes,omitempty" yaml:"addIpv6AddrPrefixes" bson:"addIpv6AddrPrefixes,omitempty"` - AddRelIpv6AddrPrefixes string `json:"addRelIpv6AddrPrefixes,omitempty" yaml:"addRelIpv6AddrPrefixes" bson:"addRelIpv6AddrPrefixes,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - RelUeMac string `json:"relUeMac,omitempty" yaml:"relUeMac" bson:"relUeMac,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - SubsSessAmbr *Ambr `json:"subsSessAmbr,omitempty" yaml:"subsSessAmbr" bson:"subsSessAmbr,omitempty"` - // Indicates the DN-AAA authorization profile index - AuthProfIndex string `json:"authProfIndex,omitempty" yaml:"authProfIndex" bson:"authProfIndex,omitempty"` - SubsDefQos *SubscribedDefaultQos `json:"subsDefQos,omitempty" yaml:"subsDefQos" bson:"subsDefQos,omitempty"` - VplmnQos *VplmnQos `json:"vplmnQos,omitempty" yaml:"vplmnQos" bson:"vplmnQos,omitempty"` - // If it is included and set to true, indicates that the QoS constraints in the VPLMN are not applicable. - VplmnQosNotApp bool `json:"vplmnQosNotApp,omitempty" yaml:"vplmnQosNotApp" bson:"vplmnQosNotApp,omitempty"` - // Contains the number of supported packet filter for signalled QoS rules. - NumOfPackFilter int32 `json:"numOfPackFilter,omitempty" yaml:"numOfPackFilter" bson:"numOfPackFilter,omitempty"` - // Contains the usage report - AccuUsageReports []AccuUsageReport `json:"accuUsageReports,omitempty" yaml:"accuUsageReports" bson:"accuUsageReports,omitempty"` - // If it is included and set to true, the 3GPP PS Data Off is activated by the UE. - Var3gppPsDataOffStatus bool `json:"3gppPsDataOffStatus,omitempty" yaml:"3gppPsDataOffStatus" bson:"3gppPsDataOffStatus,omitempty"` - // Report the start/stop of the application traffic and detected SDF descriptions if applicable. - AppDetectionInfos []AppDetectionInfo `json:"appDetectionInfos,omitempty" yaml:"appDetectionInfos" bson:"appDetectionInfos,omitempty"` - // Used to report the PCC rule failure. - RuleReports []RuleReport `json:"ruleReports,omitempty" yaml:"ruleReports" bson:"ruleReports,omitempty"` - // Used to report the session rule failure. - SessRuleReports []SessionRuleReport `json:"sessRuleReports,omitempty" yaml:"sessRuleReports" bson:"sessRuleReports,omitempty"` - // QoS Notification Control information. - QncReports []PcfSmPolicyControlQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` - QosMonReports []PcfSmPolicyControlQosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UserLocationInfoTime *time.Time `json:"userLocationInfoTime,omitempty" yaml:"userLocationInfoTime" bson:"userLocationInfoTime,omitempty"` - // Reports the changes of presence reporting area. The praId attribute within the PresenceInfo data type is the key of the map. - RepPraInfos map[string]PresenceInfo `json:"repPraInfos,omitempty" yaml:"repPraInfos" bson:"repPraInfos,omitempty"` - UeInitResReq *UeInitiatedResourceRequest `json:"ueInitResReq,omitempty" yaml:"ueInitResReq" bson:"ueInitResReq,omitempty"` - // If it is included and set to true, the reflective QoS is supported by the UE. If it is included and set to false, the reflective QoS is revoked by the UE. - RefQosIndication bool `json:"refQosIndication,omitempty" yaml:"refQosIndication" bson:"refQosIndication,omitempty"` - QosFlowUsage QosFlowUsage `json:"qosFlowUsage,omitempty" yaml:"qosFlowUsage" bson:"qosFlowUsage,omitempty"` - CreditManageStatus CreditManagementStatus `json:"creditManageStatus,omitempty" yaml:"creditManageStatus" bson:"creditManageStatus,omitempty"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - MaPduInd MaPduIndication `json:"maPduInd,omitempty" yaml:"maPduInd" bson:"maPduInd,omitempty"` - AtsssCapab PcfSmPolicyControlAtsssCapability `json:"atsssCapab,omitempty" yaml:"atsssCapab" bson:"atsssCapab,omitempty"` - TsnBridgeInfo *TsnBridgeInfo `json:"tsnBridgeInfo,omitempty" yaml:"tsnBridgeInfo" bson:"tsnBridgeInfo,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` - MulAddrInfos []IpMulticastAddressInfo `json:"mulAddrInfos,omitempty" yaml:"mulAddrInfos" bson:"mulAddrInfos,omitempty"` - // Contains the type(s) of failed policy decision and/or condition data. - PolicyDecFailureReports []PolicyDecisionFailureCode `json:"policyDecFailureReports,omitempty" yaml:"policyDecFailureReports" bson:"policyDecFailureReports,omitempty"` - // Indicates the invalid parameters for the reported type(s) of the failed policy decision and/or condition data. - InvalidPolicyDecs []InvalidParam `json:"invalidPolicyDecs,omitempty" yaml:"invalidPolicyDecs" bson:"invalidPolicyDecs,omitempty"` - TrafficDescriptors []DddTrafficDescriptor `json:"trafficDescriptors,omitempty" yaml:"trafficDescriptors" bson:"trafficDescriptors,omitempty"` - // Contains the identifier of the PCC rule which is used for traffic detection of event. - PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` - TypesOfNotif []DlDataDeliveryStatus `json:"typesOfNotif,omitempty" yaml:"typesOfNotif" bson:"typesOfNotif,omitempty"` - InterGrpIds []string `json:"interGrpIds,omitempty" yaml:"interGrpIds" bson:"interGrpIds,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` - PcfUeInfo *PcfUeCallbackInfo `json:"pcfUeInfo,omitempty" yaml:"pcfUeInfo" bson:"pcfUeInfo,omitempty"` - NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` - // When it is included and set to true, it indicates that the AN-Gateway has failed and that the PCF should refrain from sending policy decisions to the SMF until it is informed that the AN-Gateway has been recovered. - AnGwStatus bool `json:"anGwStatus,omitempty" yaml:"anGwStatus" bson:"anGwStatus,omitempty"` -} diff --git a/models/models/model_sm_policy_update_notification_response_200.go b/models/models/model_sm_policy_update_notification_response_200.go deleted file mode 100644 index 6d8f8ca5..00000000 --- a/models/models/model_sm_policy_update_notification_response_200.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmPolicyUpdateNotificationResponse200 struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` -} diff --git a/models/models/model_sm_priority.go b/models/models/model_sm_priority.go deleted file mode 100644 index 1e32b7b5..00000000 --- a/models/models/model_sm_priority.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmPriority string - -// List of SMPriority -const ( - SmPriority_LOW SmPriority = "LOW" - SmPriority_NORMAL SmPriority = "NORMAL" - SmPriority_HIGH SmPriority = "HIGH" -) diff --git a/models/models/model_sm_service_type.go b/models/models/model_sm_service_type.go deleted file mode 100644 index a3670ca1..00000000 --- a/models/models/model_sm_service_type.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmServiceType string - -// List of SMServiceType -const ( - SmServiceType_CONTENT_PROCESSING SmServiceType = "VAS4SMS_SHORT_MESSAGE_CONTENT_PROCESSING" - SmServiceType_FORWARDING SmServiceType = "VAS4SMS_SHORT_MESSAGE_FORWARDING" - SmServiceType_FORWARDING_MULTIPLE_SUBSCRIPTIONS SmServiceType = "VAS4SMS_SHORT_MESSAGE_FORWARDING_MULTIPLE_SUBSCRIPTIONS" - SmServiceType_FILTERING SmServiceType = "VAS4SMS_SHORT_MESSAGE_FILTERING" - SmServiceType_RECEIPT SmServiceType = "VAS4SMS_SHORT_MESSAGE_RECEIPT" - SmServiceType_NETWORK_STORAGE SmServiceType = "VAS4SMS_SHORT_MESSAGE_NETWORK_STORAGE" - SmServiceType_TO_MULTIPLE_DESTINATIONS SmServiceType = "VAS4SMS_SHORT_MESSAGE_TO_MULTIPLE_DESTINATIONS" - SmServiceType_VIRTUAL_PRIVATE_NETWORK_VPN SmServiceType = "VAS4SMS_SHORT_MESSAGE_VIRTUAL_PRIVATE_NETWORK(VPN)" - SmServiceType_AUTO_REPLY SmServiceType = "VAS4SMS_SHORT_MESSAGE_AUTO_REPLY" - SmServiceType_PERSONAL_SIGNATURE SmServiceType = "VAS4SMS_SHORT_MESSAGE_PERSONAL_SIGNATURE" - SmServiceType_DEFERRED_DELIVERY SmServiceType = "VAS4SMS_SHORT_MESSAGE_DEFERRED_DELIVERY" -) diff --git a/models/models/model_sm_subs_data.go b/models/models/model_sm_subs_data.go deleted file mode 100644 index ba9ff8e0..00000000 --- a/models/models/model_sm_subs_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmSubsData struct { - SharedSmSubsDataIds []string `json:"sharedSmSubsDataIds" yaml:"sharedSmSubsDataIds" bson:"sharedSmSubsDataIds,omitempty"` - IndividualSmSubsData []SessionManagementSubscriptionData `json:"individualSmSubsData,omitempty" yaml:"individualSmSubsData" bson:"individualSmSubsData,omitempty"` -} diff --git a/models/models/model_small_data_rate_control.go b/models/models/model_small_data_rate_control.go deleted file mode 100644 index 4e67ee83..00000000 --- a/models/models/model_small_data_rate_control.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Configuration of Small Data Rate Control for the SM Context. -type SmallDataRateControl struct { - TimeUnit SmallDataRateControlTimeUnit `json:"timeUnit" yaml:"timeUnit" bson:"timeUnit,omitempty"` - MaxPacketRateUl int32 `json:"maxPacketRateUl,omitempty" yaml:"maxPacketRateUl" bson:"maxPacketRateUl,omitempty"` - MaxPacketRateDl int32 `json:"maxPacketRateDl,omitempty" yaml:"maxPacketRateDl" bson:"maxPacketRateDl,omitempty"` - MaxAdditionalPacketRateUl int32 `json:"maxAdditionalPacketRateUl,omitempty" yaml:"maxAdditionalPacketRateUl" bson:"maxAdditionalPacketRateUl,omitempty"` - MaxAdditionalPacketRateDl int32 `json:"maxAdditionalPacketRateDl,omitempty" yaml:"maxAdditionalPacketRateDl" bson:"maxAdditionalPacketRateDl,omitempty"` -} diff --git a/models/models/model_small_data_rate_control_time_unit.go b/models/models/model_small_data_rate_control_time_unit.go deleted file mode 100644 index a00db123..00000000 --- a/models/models/model_small_data_rate_control_time_unit.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmallDataRateControlTimeUnit string - -// List of SmallDataRateControlTimeUnit -const ( - SmallDataRateControlTimeUnit_MINUTE SmallDataRateControlTimeUnit = "MINUTE" - SmallDataRateControlTimeUnit_HOUR SmallDataRateControlTimeUnit = "HOUR" - SmallDataRateControlTimeUnit_DAY SmallDataRateControlTimeUnit = "DAY" - SmallDataRateControlTimeUnit_WEEK SmallDataRateControlTimeUnit = "WEEK" - SmallDataRateControlTimeUnit__6_MINUTES SmallDataRateControlTimeUnit = "6MINUTES" -) diff --git a/models/models/model_small_data_rate_status.go b/models/models/model_small_data_rate_status.go deleted file mode 100644 index 44b566cc..00000000 --- a/models/models/model_small_data_rate_status.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnef_SMContext - * - * Nnef SMContext Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.3.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// It indicates theSmall Data Rate Control Status -type SmallDataRateStatus struct { - // When present, it shall contain the number of packets the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. - RemainPacketsUl int32 `json:"remainPacketsUl,omitempty" yaml:"remainPacketsUl" bson:"remainPacketsUl,omitempty"` - // When present it shall contain the number of packets the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. - RemainPacketsDl int32 `json:"remainPacketsDl,omitempty" yaml:"remainPacketsDl" bson:"remainPacketsDl,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - // When present, it shall indicate number of additional exception reports the UE is allowed to send uplink in the given time unit for the given PDU session (see clause 5.31.14.3 of 3GPP TS 23.501. - RemainExReportsUl int32 `json:"remainExReportsUl,omitempty" yaml:"remainExReportsUl" bson:"remainExReportsUl,omitempty"` - // When present, it shall indicate number of additional exception reports the AF is allowed to send downlink in the given time unit for the given PDU session (see clause 5.31.14.3 in 3GPP TS 23.501 - RemainExReportsDl int32 `json:"remainExReportsDl,omitempty" yaml:"remainExReportsDl" bson:"remainExReportsDl,omitempty"` -} diff --git a/models/models/model_small_data_rate_status_info.go b/models/models/model_small_data_rate_status_info.go deleted file mode 100644 index c2b9a1e6..00000000 --- a/models/models/model_small_data_rate_status_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the small data rate status -type SmallDataRateStatusInfo struct { - Snssai *Snssai `json:"Snssai" yaml:"Snssai" bson:"Snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"Dnn" yaml:"Dnn" bson:"Dnn,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"SmallDataRateStatus" yaml:"SmallDataRateStatus" bson:"SmallDataRateStatus,omitempty"` -} diff --git a/models/models/model_smcce_info.go b/models/models/model_smcce_info.go deleted file mode 100644 index d8e4db9f..00000000 --- a/models/models/model_smcce_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the Session Management congestion control experience information. -type SmcceInfo struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - SmcceUeList *SmcceUeList `json:"smcceUeList" yaml:"smcceUeList" bson:"smcceUeList,omitempty"` -} diff --git a/models/models/model_smcce_ue_list.go b/models/models/model_smcce_ue_list.go deleted file mode 100644 index 22abe6bc..00000000 --- a/models/models/model_smcce_ue_list.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the List of UEs classified based on experience level of Session Management congestion control. -type SmcceUeList struct { - HighLevel []string `json:"highLevel,omitempty" yaml:"highLevel" bson:"highLevel,omitempty"` - MediumLevel []string `json:"mediumLevel,omitempty" yaml:"mediumLevel" bson:"mediumLevel,omitempty"` - LowLevel []string `json:"lowLevel,omitempty" yaml:"lowLevel" bson:"lowLevel,omitempty"` -} diff --git a/models/models/model_smf_change_indication.go b/models/models/model_smf_change_indication.go deleted file mode 100644 index a00f4752..00000000 --- a/models/models/model_smf_change_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfChangeIndication string - -// List of SmfChangeIndication -const ( - SmfChangeIndication_CHANGED SmfChangeIndication = "CHANGED" - SmfChangeIndication_REMOVED SmfChangeIndication = "REMOVED" -) diff --git a/models/models/model_smf_change_info.go b/models/models/model_smf_change_info.go deleted file mode 100644 index 8f3c088e..00000000 --- a/models/models/model_smf_change_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SMF change information for PDU session(s) -type SmfChangeInfo struct { - PduSessionIdList []int32 `json:"pduSessionIdList" yaml:"pduSessionIdList" bson:"pduSessionIdList,omitempty"` - SmfChangeInd SmfChangeIndication `json:"smfChangeInd" yaml:"smfChangeInd" bson:"smfChangeInd,omitempty"` -} diff --git a/models/models/model_smf_event.go b/models/models/model_smf_event.go deleted file mode 100644 index f3875fa1..00000000 --- a/models/models/model_smf_event.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfEvent string - -// List of SmfEvent -const ( - SmfEvent_AC_TY_CH SmfEvent = "AC_TY_CH" - SmfEvent_UP_PATH_CH SmfEvent = "UP_PATH_CH" - SmfEvent_PDU_SES_REL SmfEvent = "PDU_SES_REL" - SmfEvent_PLMN_CH SmfEvent = "PLMN_CH" - SmfEvent_UE_IP_CH SmfEvent = "UE_IP_CH" - SmfEvent_RAT_TY_CH SmfEvent = "RAT_TY_CH" - SmfEvent_DDDS SmfEvent = "DDDS" - SmfEvent_COMM_FAIL SmfEvent = "COMM_FAIL" - SmfEvent_PDU_SES_EST SmfEvent = "PDU_SES_EST" - SmfEvent_QFI_ALLOC SmfEvent = "QFI_ALLOC" - SmfEvent_QOS_MON SmfEvent = "QOS_MON" - SmfEvent_SMCC_EXP SmfEvent = "SMCC_EXP" - SmfEvent_DISPERSION SmfEvent = "DISPERSION" - SmfEvent_RED_TRANS_EXP SmfEvent = "RED_TRANS_EXP" - SmfEvent_WLAN_INFO SmfEvent = "WLAN_INFO" - SmfEvent_UPF_INFO SmfEvent = "UPF_INFO" - SmfEvent_UP_STATUS_INFO SmfEvent = "UP_STATUS_INFO" -) diff --git a/models/models/model_smf_event_exposure_event_notification.go b/models/models/model_smf_event_exposure_event_notification.go deleted file mode 100644 index 4409db98..00000000 --- a/models/models/model_smf_event_exposure_event_notification.go +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a notification related to a single event that occurred. -type SmfEventExposureEventNotification struct { - Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` - // Transaction Information. - TransacInfos []TransactionInfo `json:"transacInfos,omitempty" yaml:"transacInfos" bson:"transacInfos,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - SourceDnai string `json:"sourceDnai,omitempty" yaml:"sourceDnai" bson:"sourceDnai,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - SourceUeIpv4Addr string `json:"sourceUeIpv4Addr,omitempty" yaml:"sourceUeIpv4Addr" bson:"sourceUeIpv4Addr,omitempty"` - SourceUeIpv6Prefix string `json:"sourceUeIpv6Prefix,omitempty" yaml:"sourceUeIpv6Prefix" bson:"sourceUeIpv6Prefix,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - TargetUeIpv4Addr string `json:"targetUeIpv4Addr,omitempty" yaml:"targetUeIpv4Addr" bson:"targetUeIpv4Addr,omitempty"` - TargetUeIpv6Prefix string `json:"targetUeIpv6Prefix,omitempty" yaml:"targetUeIpv6Prefix" bson:"targetUeIpv6Prefix,omitempty"` - SourceTraRouting *RouteToLocation `json:"sourceTraRouting,omitempty" yaml:"sourceTraRouting" bson:"sourceTraRouting,omitempty"` - TargetTraRouting *RouteToLocation `json:"targetTraRouting,omitempty" yaml:"targetTraRouting" bson:"targetTraRouting,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - UeMac string `json:"ueMac,omitempty" yaml:"ueMac" bson:"ueMac,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - AdIpv4Addr string `json:"adIpv4Addr,omitempty" yaml:"adIpv4Addr" bson:"adIpv4Addr,omitempty"` - AdIpv6Prefix string `json:"adIpv6Prefix,omitempty" yaml:"adIpv6Prefix" bson:"adIpv6Prefix,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - ReIpv4Addr string `json:"reIpv4Addr,omitempty" yaml:"reIpv4Addr" bson:"reIpv4Addr,omitempty"` - ReIpv6Prefix string `json:"reIpv6Prefix,omitempty" yaml:"reIpv6Prefix" bson:"reIpv6Prefix,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - AccType AccessType `json:"accType,omitempty" yaml:"accType" bson:"accType,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - DddStatus DlDataDeliveryStatus `json:"dddStatus,omitempty" yaml:"dddStatus" bson:"dddStatus,omitempty"` - DddTraDescriptor *DddTrafficDescriptor `json:"dddTraDescriptor,omitempty" yaml:"dddTraDescriptor" bson:"dddTraDescriptor,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - MaxWaitTime *time.Time `json:"maxWaitTime,omitempty" yaml:"maxWaitTime" bson:"maxWaitTime,omitempty"` - CommFailure *CommunicationFailure `json:"commFailure,omitempty" yaml:"commFailure" bson:"commFailure,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` - PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi,omitempty" yaml:"qfi" bson:"qfi,omitempty"` - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - // Descriptor(s) for non-IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single Ethernet flow. - EthFlowDescs []EthFlowDescription `json:"ethFlowDescs,omitempty" yaml:"ethFlowDescs" bson:"ethFlowDescs,omitempty"` - // Contains the UL and/or DL Ethernet flows. Each entry of the array describes a single Ethernet flow. - EthfDescs []EthFlowDescription `json:"ethfDescs,omitempty" yaml:"ethfDescs" bson:"ethfDescs,omitempty"` - // Descriptor(s) for IP traffic. It allows the encoding of multiple UL and/or DL flows. Each entry of the array describes a single IP flow. - FlowDescs []string `json:"flowDescs,omitempty" yaml:"flowDescs" bson:"flowDescs,omitempty"` - // Contains the UL and/or DL IP flows. Each entry of the array describes a single IP flow. - FDescs []string `json:"fDescs,omitempty" yaml:"fDescs" bson:"fDescs,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - UlDelays []int32 `json:"ulDelays,omitempty" yaml:"ulDelays" bson:"ulDelays,omitempty"` - DlDelays []int32 `json:"dlDelays,omitempty" yaml:"dlDelays" bson:"dlDelays,omitempty"` - RtDelays []int32 `json:"rtDelays,omitempty" yaml:"rtDelays" bson:"rtDelays,omitempty"` - // Represents the packet delay measurement failure indicator. - Pdmf bool `json:"pdmf,omitempty" yaml:"pdmf" bson:"pdmf,omitempty"` - TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` - SmNasFromUe *SmNasFromUe `json:"smNasFromUe,omitempty" yaml:"smNasFromUe" bson:"smNasFromUe,omitempty"` - SmNasFromSmf *SmNasFromSmf `json:"smNasFromSmf,omitempty" yaml:"smNasFromSmf" bson:"smNasFromSmf,omitempty"` - // Indicates whether the redundant transmission is setup or terminated. Set to \"true\" if the redundant transmission is setup, otherwise set to \"false\" if the redundant transmission is terminated. Default value is set to \"false\". - UpRedTrans bool `json:"upRedTrans,omitempty" yaml:"upRedTrans" bson:"upRedTrans,omitempty"` - SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` - BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - StartWlan *time.Time `json:"startWlan,omitempty" yaml:"startWlan" bson:"startWlan,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - EndWlan *time.Time `json:"endWlan,omitempty" yaml:"endWlan" bson:"endWlan,omitempty"` - PduSessInfos []SmfEventExposurePduSessionInformation `json:"pduSessInfos,omitempty" yaml:"pduSessInfos" bson:"pduSessInfos,omitempty"` - UpfInfo *UpfInformation `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` -} diff --git a/models/models/model_smf_event_exposure_event_subscription.go b/models/models/model_smf_event_exposure_event_subscription.go deleted file mode 100644 index e64936b3..00000000 --- a/models/models/model_smf_event_exposure_event_subscription.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a subscription to a single event. -type SmfEventExposureEventSubscription struct { - Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty" yaml:"dddTraDescriptors" bson:"dddTraDescriptors,omitempty"` - DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty" yaml:"dddStati" bson:"dddStati,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - TargetPeriod *TimeWindow `json:"targetPeriod,omitempty" yaml:"targetPeriod" bson:"targetPeriod,omitempty"` - // Indicates the subscription for UE transaction dispersion collectionon, if it is included and set to \"true\". Default value is \"false\". - TransacDispInd bool `json:"transacDispInd,omitempty" yaml:"transacDispInd" bson:"transacDispInd,omitempty"` - // Indicates Session Management Transaction metrics. - TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` - UeIpAddr *IpAddr `json:"ueIpAddr,omitempty" yaml:"ueIpAddr" bson:"ueIpAddr,omitempty"` -} diff --git a/models/models/model_smf_event_exposure_notification_method.go b/models/models/model_smf_event_exposure_notification_method.go deleted file mode 100644 index f71cbf70..00000000 --- a/models/models/model_smf_event_exposure_notification_method.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfEventExposureNotificationMethod string - -// List of SmfEventExposureNotificationMethod -const ( - SmfEventExposureNotificationMethod_PERIODIC SmfEventExposureNotificationMethod = "PERIODIC" - SmfEventExposureNotificationMethod_ONE_TIME SmfEventExposureNotificationMethod = "ONE_TIME" - SmfEventExposureNotificationMethod_ON_EVENT_DETECTION SmfEventExposureNotificationMethod = "ON_EVENT_DETECTION" -) diff --git a/models/models/model_smf_event_exposure_pdu_session_info.go b/models/models/model_smf_event_exposure_pdu_session_info.go deleted file mode 100644 index 3dc431ed..00000000 --- a/models/models/model_smf_event_exposure_pdu_session_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents session information. -type SmfEventExposurePduSessionInfo struct { - // The identifier of the N4 session for the reported PDU Session. - N4SessId string `json:"n4SessId,omitempty" yaml:"n4SessId" bson:"n4SessId,omitempty"` - // indicating a time in seconds. - SessInactiveTimer int32 `json:"sessInactiveTimer,omitempty" yaml:"sessInactiveTimer" bson:"sessInactiveTimer,omitempty"` - PduSessStatus SmfEventExposurePduSessionStatus `json:"pduSessStatus,omitempty" yaml:"pduSessStatus" bson:"pduSessStatus,omitempty"` -} diff --git a/models/models/model_smf_event_exposure_pdu_session_information.go b/models/models/model_smf_event_exposure_pdu_session_information.go deleted file mode 100644 index 9583da10..00000000 --- a/models/models/model_smf_event_exposure_pdu_session_information.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the PDU session related information. -type SmfEventExposurePduSessionInformation struct { - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessId int32 `json:"pduSessId,omitempty" yaml:"pduSessId" bson:"pduSessId,omitempty"` - SessInfo *SmfEventExposurePduSessionInfo `json:"sessInfo,omitempty" yaml:"sessInfo" bson:"sessInfo,omitempty"` -} diff --git a/models/models/model_smf_event_exposure_pdu_session_status.go b/models/models/model_smf_event_exposure_pdu_session_status.go deleted file mode 100644 index ada471eb..00000000 --- a/models/models/model_smf_event_exposure_pdu_session_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfEventExposurePduSessionStatus string - -// List of SmfEventExposurePduSessionStatus -const ( - SmfEventExposurePduSessionStatus_ACTIVATED SmfEventExposurePduSessionStatus = "ACTIVATED" - SmfEventExposurePduSessionStatus_DEACTIVATED SmfEventExposurePduSessionStatus = "DEACTIVATED" -) diff --git a/models/models/model_smf_info.go b/models/models/model_smf_info.go deleted file mode 100644 index 77d82780..00000000 --- a/models/models/model_smf_info.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an SMF NF Instance -type SmfInfo struct { - SNssaiSmfInfoList []SnssaiSmfInfoItem `json:"sNssaiSmfInfoList" yaml:"sNssaiSmfInfoList" bson:"sNssaiSmfInfoList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - PgwIpAddrList []IpAddr `json:"pgwIpAddrList,omitempty" yaml:"pgwIpAddrList" bson:"pgwIpAddrList,omitempty"` - AccessType []AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - VsmfSupportInd bool `json:"vsmfSupportInd,omitempty" yaml:"vsmfSupportInd" bson:"vsmfSupportInd,omitempty"` - PgwFqdnList []string `json:"pgwFqdnList,omitempty" yaml:"pgwFqdnList" bson:"pgwFqdnList,omitempty"` - SmfOnboardingCapability bool `json:"smfOnboardingCapability,omitempty" yaml:"smfOnboardingCapability" bson:"smfOnboardingCapability,omitempty"` - IsmfSupportInd bool `json:"ismfSupportInd,omitempty" yaml:"ismfSupportInd" bson:"ismfSupportInd,omitempty"` - SmfUPRPCapability bool `json:"smfUPRPCapability,omitempty" yaml:"smfUPRPCapability" bson:"smfUPRPCapability,omitempty"` -} diff --git a/models/models/model_smf_nidd_deliver_req_data.go b/models/models/model_smf_nidd_deliver_req_data.go deleted file mode 100644 index d7f8bcc7..00000000 --- a/models/models/model_smf_nidd_deliver_req_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_NIDD - * - * SMF NIDD Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.542 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD); Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.542/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Representation of the payload of a Deliver Request. -type SmfNiddDeliverReqData struct { - MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_cause.go b/models/models/model_smf_pdu_session_cause.go deleted file mode 100644 index 4b9ca7e9..00000000 --- a/models/models/model_smf_pdu_session_cause.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfPduSessionCause string - -// List of SmfPDUSessionCause -const ( - SmfPduSessionCause_REL_DUE_TO_HO SmfPduSessionCause = "REL_DUE_TO_HO" - SmfPduSessionCause_EPS_FALLBACK SmfPduSessionCause = "EPS_FALLBACK" - SmfPduSessionCause_REL_DUE_TO_UP_SEC SmfPduSessionCause = "REL_DUE_TO_UP_SEC" - SmfPduSessionCause_DNN_CONGESTION SmfPduSessionCause = "DNN_CONGESTION" - SmfPduSessionCause_S_NSSAI_CONGESTION SmfPduSessionCause = "S_NSSAI_CONGESTION" - SmfPduSessionCause_REL_DUE_TO_REACTIVATION SmfPduSessionCause = "REL_DUE_TO_REACTIVATION" - SmfPduSessionCause__5_G_AN_NOT_RESPONDING SmfPduSessionCause = "5G_AN_NOT_RESPONDING" - SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AVAILABLE SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" - SmfPduSessionCause_REL_DUE_TO_DUPLICATE_SESSION_ID SmfPduSessionCause = "REL_DUE_TO_DUPLICATE_SESSION_ID" - SmfPduSessionCause_PDU_SESSION_STATUS_MISMATCH SmfPduSessionCause = "PDU_SESSION_STATUS_MISMATCH" - SmfPduSessionCause_HO_FAILURE SmfPduSessionCause = "HO_FAILURE" - SmfPduSessionCause_INSUFFICIENT_UP_RESOURCES SmfPduSessionCause = "INSUFFICIENT_UP_RESOURCES" - SmfPduSessionCause_PDU_SESSION_HANDED_OVER SmfPduSessionCause = "PDU_SESSION_HANDED_OVER" - SmfPduSessionCause_PDU_SESSION_RESUMED SmfPduSessionCause = "PDU_SESSION_RESUMED" - SmfPduSessionCause_CN_ASSISTED_RAN_PARAMETER_TUNING SmfPduSessionCause = "CN_ASSISTED_RAN_PARAMETER_TUNING" - SmfPduSessionCause_ISMF_CONTEXT_TRANSFER SmfPduSessionCause = "ISMF_CONTEXT_TRANSFER" - SmfPduSessionCause_SMF_CONTEXT_TRANSFER SmfPduSessionCause = "SMF_CONTEXT_TRANSFER" - SmfPduSessionCause_REL_DUE_TO_PS_TO_CS_HO SmfPduSessionCause = "REL_DUE_TO_PS_TO_CS_HO" - SmfPduSessionCause_REL_DUE_TO_SUBSCRIPTION_CHANGE SmfPduSessionCause = "REL_DUE_TO_SUBSCRIPTION_CHANGE" - SmfPduSessionCause_HO_CANCEL SmfPduSessionCause = "HO_CANCEL" - SmfPduSessionCause_REL_DUE_TO_SLICE_NOT_AUTHORIZED SmfPduSessionCause = "REL_DUE_TO_SLICE_NOT_AUTHORIZED" - SmfPduSessionCause_PDU_SESSION_HAND_OVER_FAILURE SmfPduSessionCause = "PDU_SESSION_HAND_OVER_FAILURE" - SmfPduSessionCause_DDN_FAILURE_STATUS SmfPduSessionCause = "DDN_FAILURE_STATUS" - SmfPduSessionCause_REL_DUE_TO_CP_ONLY_NOT_APPLICABLE SmfPduSessionCause = "REL_DUE_TO_CP_ONLY_NOT_APPLICABLE" - SmfPduSessionCause_NOT_SUPPORTED_WITH_ISMF SmfPduSessionCause = "NOT_SUPPORTED_WITH_ISMF" - SmfPduSessionCause_CHANGED_ANCHOR_SMF SmfPduSessionCause = "CHANGED_ANCHOR_SMF" - SmfPduSessionCause_CHANGED_INTERMEDIATE_SMF SmfPduSessionCause = "CHANGED_INTERMEDIATE_SMF" - SmfPduSessionCause_TARGET_DNAI_NOTIFICATION SmfPduSessionCause = "TARGET_DNAI_NOTIFICATION" - SmfPduSessionCause_REL_DUE_TO_VPLMN_QOS_FAILURE SmfPduSessionCause = "REL_DUE_TO_VPLMN_QOS_FAILURE" - SmfPduSessionCause_REL_DUE_TO_SMF_NOT_SUPPORT_PSETR SmfPduSessionCause = "REL_DUE_TO_SMF_NOT_SUPPORT_PSETR" - SmfPduSessionCause_REL_DUE_TO_SNPN_SNPN_MOBILITY SmfPduSessionCause = "REL_DUE_TO_SNPN_SNPN_MOBILITY" - SmfPduSessionCause_REL_DUE_TO_NO_HR_AGREEMENT SmfPduSessionCause = "REL_DUE_TO_NO_HR_AGREEMENT" - SmfPduSessionCause_REL_DUE_TO_UNSPECIFIED_REASON SmfPduSessionCause = "REL_DUE_TO_UNSPECIFIED_REASON" -) diff --git a/models/models/model_smf_pdu_session_dnai_information.go b/models/models/model_smf_pdu_session_dnai_information.go deleted file mode 100644 index 7dfca55b..00000000 --- a/models/models/model_smf_pdu_session_dnai_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// DNAI Information -type SmfPduSessionDnaiInformation struct { - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - Dnai string `json:"dnai" yaml:"dnai" bson:"dnai,omitempty"` - NoDnaiChangeInd bool `json:"noDnaiChangeInd,omitempty" yaml:"noDnaiChangeInd" bson:"noDnaiChangeInd,omitempty"` - NoLocalPsaChangeInd bool `json:"noLocalPsaChangeInd,omitempty" yaml:"noLocalPsaChangeInd" bson:"noLocalPsaChangeInd,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_ext_problem_details.go b/models/models/model_smf_pdu_session_ext_problem_details.go deleted file mode 100644 index a69ee9f5..00000000 --- a/models/models/model_smf_pdu_session_ext_problem_details.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extended Problem Details -type SmfPduSessionExtProblemDetails struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_gbr_qos_flow_information.go b/models/models/model_smf_pdu_session_gbr_qos_flow_information.go deleted file mode 100644 index bd06fcaf..00000000 --- a/models/models/model_smf_pdu_session_gbr_qos_flow_information.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// GBR QoS flow information -type SmfPduSessionGbrQosFlowInformation struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxFbrDl string `json:"maxFbrDl" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxFbrUl string `json:"maxFbrUl" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrDl string `json:"guaFbrDl" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrUl string `json:"guaFbrUl" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` - NotifControl NotificationControl `json:"notifControl,omitempty" yaml:"notifControl" bson:"notifControl,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` - AlternativeQosProfileList []AlternativeQosProfile `json:"alternativeQosProfileList,omitempty" yaml:"alternativeQosProfileList" bson:"alternativeQosProfileList,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_ip_address.go b/models/models/model_smf_pdu_session_ip_address.go deleted file mode 100644 index 366372dd..00000000 --- a/models/models/model_smf_pdu_session_ip_address.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// IP Address -type SmfPduSessionIpAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_notification_info.go b/models/models/model_smf_pdu_session_notification_info.go deleted file mode 100644 index 73246a60..00000000 --- a/models/models/model_smf_pdu_session_notification_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Notification Correlation ID and Notification URI provided by the NF service consumer -type SmfPduSessionNotificationInfo struct { - NotifId string `json:"notifId" yaml:"notifId" bson:"notifId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` - UpBufferInd bool `json:"upBufferInd,omitempty" yaml:"upBufferInd" bson:"upBufferInd,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go b/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go deleted file mode 100644 index fae773d4..00000000 --- a/models/models/model_smf_pdu_session_qos_flow_add_modify_request_item.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Individual QoS flow requested to be created or modified -type SmfPduSessionQosFlowAddModifyRequestItem struct { - // Unsigned integer identifying a QoS flow, within the range 0 to 63. - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - // EPS Bearer Identifier - Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` - // string with format 'bytes' as defined in OpenAPI - QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` - QosFlowProfile *SmfPduSessionQosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` - AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_qos_flow_profile.go b/models/models/model_smf_pdu_session_qos_flow_profile.go deleted file mode 100644 index 11cc9d3f..00000000 --- a/models/models/model_smf_pdu_session_qos_flow_profile.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// QoS flow profile -type SmfPduSessionQosFlowProfile struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty" yaml:"nonDynamic5Qi" bson:"nonDynamic5Qi,omitempty"` - Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty" yaml:"dynamic5Qi" bson:"dynamic5Qi,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - GbrQosFlowInfo *SmfPduSessionGbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty" yaml:"gbrQosFlowInfo" bson:"gbrQosFlowInfo,omitempty"` - Rqa ReflectiveQoSAttribute `json:"rqa,omitempty" yaml:"rqa" bson:"rqa,omitempty"` - AdditionalQosFlowInfo *AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty" yaml:"additionalQosFlowInfo" bson:"additionalQosFlowInfo,omitempty"` - QosMonitoringReq QosMonitoringReq `json:"qosMonitoringReq,omitempty" yaml:"qosMonitoringReq" bson:"qosMonitoringReq,omitempty"` - // indicating a time in seconds. - QosRepPeriod int32 `json:"qosRepPeriod,omitempty" yaml:"qosRepPeriod" bson:"qosRepPeriod,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_sm_context_create_data.go b/models/models/model_smf_pdu_session_sm_context_create_data.go deleted file mode 100644 index 3b532a71..00000000 --- a/models/models/model_smf_pdu_session_sm_context_create_data.go +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Create SM Context Request -type SmfPduSessionSmContextCreateData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServingNfId string `json:"servingNfId" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmContextStatusUri string `json:"smContextStatusUri" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HSmfId string `json:"hSmfId,omitempty" yaml:"hSmfId" bson:"hSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` - AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty" yaml:"additionalHsmfUri" bson:"additionalHsmfUri,omitempty"` - AdditionalHsmfId []string `json:"additionalHsmfId,omitempty" yaml:"additionalHsmfId" bson:"additionalHsmfId,omitempty"` - AdditionalSmfUri []string `json:"additionalSmfUri,omitempty" yaml:"additionalSmfUri" bson:"additionalSmfUri,omitempty"` - AdditionalSmfId []string `json:"additionalSmfId,omitempty" yaml:"additionalSmfId" bson:"additionalSmfId,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` - PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty" yaml:"pduSessionsActivateList" bson:"pduSessionsActivateList,omitempty"` - // UE EPS PDN Connection container from SMF to AMF - UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // Identifier of a group of NFs. - PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfUri string `json:"nrfUri,omitempty" yaml:"nrfUri" bson:"nrfUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty" yaml:"indirectForwardingFlag" bson:"indirectForwardingFlag,omitempty"` - DirectForwardingFlag bool `json:"directForwardingFlag,omitempty" yaml:"directForwardingFlag" bson:"directForwardingFlag,omitempty"` - TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` - // EPS bearer context status - EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` - CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` - CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` - InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` - N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmContextRef string `json:"smContextRef,omitempty" yaml:"smContextRef" bson:"smContextRef,omitempty"` - SmContextSmfPlmnId *PlmnIdNid `json:"smContextSmfPlmnId,omitempty" yaml:"smContextSmfPlmnId" bson:"smContextSmfPlmnId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmContextSmfId string `json:"smContextSmfId,omitempty" yaml:"smContextSmfId" bson:"smContextSmfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmContextSmfSetId string `json:"smContextSmfSetId,omitempty" yaml:"smContextSmfSetId" bson:"smContextSmfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmContextSmfServiceSetId string `json:"smContextSmfServiceSetId,omitempty" yaml:"smContextSmfServiceSetId" bson:"smContextSmfServiceSetId,omitempty"` - SmContextSmfBinding SbiBindingLevel `json:"smContextSmfBinding,omitempty" yaml:"smContextSmfBinding" bson:"smContextSmfBinding,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` - DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` - DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` - SmfTransferInd bool `json:"smfTransferInd,omitempty" yaml:"smfTransferInd" bson:"smfTransferInd,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` - WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` - TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` - TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` - RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` - SamePcfSelectionInd bool `json:"samePcfSelectionInd,omitempty" yaml:"samePcfSelectionInd" bson:"samePcfSelectionInd,omitempty"` - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfManagementUri string `json:"nrfManagementUri,omitempty" yaml:"nrfManagementUri" bson:"nrfManagementUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfDiscoveryUri string `json:"nrfDiscoveryUri,omitempty" yaml:"nrfDiscoveryUri" bson:"nrfDiscoveryUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - NrfAccessTokenUri string `json:"nrfAccessTokenUri,omitempty" yaml:"nrfAccessTokenUri" bson:"nrfAccessTokenUri,omitempty"` - // Map indicating whether the NRF requires Oauth2-based authorization for accessing its services. The key of the map shall be the name of an NRF service, e.g. \"nnrf-nfm\" or \"nnrf-disc\" - NrfOauth2Required map[string]bool `json:"nrfOauth2Required,omitempty" yaml:"nrfOauth2Required" bson:"nrfOauth2Required,omitempty"` - SmfBindingInfo string `json:"smfBindingInfo,omitempty" yaml:"smfBindingInfo" bson:"smfBindingInfo,omitempty"` - PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` - OnboardingInd bool `json:"onboardingInd,omitempty" yaml:"onboardingInd" bson:"onboardingInd,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` - SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` - PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` - SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` - UpipSupported bool `json:"upipSupported,omitempty" yaml:"upipSupported" bson:"upipSupported,omitempty"` - UavAuthenticated bool `json:"uavAuthenticated,omitempty" yaml:"uavAuthenticated" bson:"uavAuthenticated,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` - AnchorSmfOauth2Required bool `json:"anchorSmfOauth2Required,omitempty" yaml:"anchorSmfOauth2Required" bson:"anchorSmfOauth2Required,omitempty"` - SmContextSmfOauth2Required bool `json:"smContextSmfOauth2Required,omitempty" yaml:"smContextSmfOauth2Required" bson:"smContextSmfOauth2Required,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_sm_context_created_data.go b/models/models/model_smf_pdu_session_sm_context_created_data.go deleted file mode 100644 index 1f4b3404..00000000 --- a/models/models/model_smf_pdu_session_sm_context_created_data.go +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Data within Create SM Context Response -type SmfPduSessionSmContextCreatedData struct { - // String providing an URI formatted according to RFC 3986. - HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty" yaml:"additionalSnssai" bson:"additionalSnssai,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_sm_context_release_data.go b/models/models/model_smf_pdu_session_sm_context_release_data.go deleted file mode 100644 index bb0948ca..00000000 --- a/models/models/model_smf_pdu_session_sm_context_release_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Release SM Context Request -type SmfPduSessionSmContextReleaseData struct { - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty" yaml:"vsmfReleaseOnly" bson:"vsmfReleaseOnly,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - IsmfReleaseOnly bool `json:"ismfReleaseOnly,omitempty" yaml:"ismfReleaseOnly" bson:"ismfReleaseOnly,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_sm_context_status_notification.go b/models/models/model_smf_pdu_session_sm_context_status_notification.go deleted file mode 100644 index 2da9738d..00000000 --- a/models/models/model_smf_pdu_session_sm_context_status_notification.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Notify SM Context Status Request -type SmfPduSessionSmContextStatusNotification struct { - StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - DdnFailureStatus bool `json:"ddnFailureStatus,omitempty" yaml:"ddnFailureStatus" bson:"ddnFailureStatus,omitempty"` - NotifyCorrelationIdsForddnFailure []string `json:"notifyCorrelationIdsForddnFailure,omitempty" yaml:"notifyCorrelationIdsForddnFailure" bson:"notifyCorrelationIdsForddnFailure,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NewIntermediateSmfId string `json:"newIntermediateSmfId,omitempty" yaml:"newIntermediateSmfId" bson:"newIntermediateSmfId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NewSmfSetId string `json:"newSmfSetId,omitempty" yaml:"newSmfSetId" bson:"newSmfSetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` - // String providing an URI formatted according to RFC 3986. - AltAnchorSmfUri string `json:"altAnchorSmfUri,omitempty" yaml:"altAnchorSmfUri" bson:"altAnchorSmfUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AltAnchorSmfId string `json:"altAnchorSmfId,omitempty" yaml:"altAnchorSmfId" bson:"altAnchorSmfId,omitempty"` - TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` -} diff --git a/models/models/model_smf_pdu_session_sm_context_update_data.go b/models/models/model_smf_pdu_session_sm_context_update_data.go deleted file mode 100644 index 8848d47f..00000000 --- a/models/models/model_smf_pdu_session_sm_context_update_data.go +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update SM Context Request -type SmfPduSessionSmContextUpdateData struct { - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - AnTypeToReactivate AccessType `json:"anTypeToReactivate,omitempty" yaml:"anTypeToReactivate" bson:"anTypeToReactivate,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - ToBeSwitched bool `json:"toBeSwitched,omitempty" yaml:"toBeSwitched" bson:"toBeSwitched,omitempty"` - FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty" yaml:"failedToBeSwitched" bson:"failedToBeSwitched,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - TargetServingNfId string `json:"targetServingNfId,omitempty" yaml:"targetServingNfId" bson:"targetServingNfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SmContextStatusUri string `json:"smContextStatusUri,omitempty" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` - N9ForwardingTunnel *TunnelInfo `json:"n9ForwardingTunnel,omitempty" yaml:"n9ForwardingTunnel" bson:"n9ForwardingTunnel,omitempty"` - N9DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9DlForwardingTnlList,omitempty" yaml:"n9DlForwardingTnlList" bson:"n9DlForwardingTnlList,omitempty"` - N9UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9UlForwardingTnlList,omitempty" yaml:"n9UlForwardingTnlList" bson:"n9UlForwardingTnlList,omitempty"` - N9DlForwardingTunnel *TunnelInfo `json:"n9DlForwardingTunnel,omitempty" yaml:"n9DlForwardingTunnel" bson:"n9DlForwardingTunnel,omitempty"` - // indicating a time in seconds. - N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` - EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` - Release bool `json:"release,omitempty" yaml:"release" bson:"release,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` - N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` - N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` - MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - ExemptionInd *ExemptionInd `json:"exemptionInd,omitempty" yaml:"exemptionInd" bson:"exemptionInd,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` - // string with format 'bytes' as defined in OpenAPI - ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` - ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` - DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` - SkipN2PduSessionResRelInd bool `json:"skipN2PduSessionResRelInd,omitempty" yaml:"skipN2PduSessionResRelInd" bson:"skipN2PduSessionResRelInd,omitempty"` - SecondaryRatUsageDataReportContainer []string `json:"secondaryRatUsageDataReportContainer,omitempty" yaml:"secondaryRatUsageDataReportContainer" bson:"secondaryRatUsageDataReportContainer,omitempty"` - SmPolicyNotifyInd bool `json:"smPolicyNotifyInd,omitempty" yaml:"smPolicyNotifyInd" bson:"smPolicyNotifyInd,omitempty"` - PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` - SatelliteBackhaulCat SatelliteBackhaulCategory `json:"satelliteBackhaulCat,omitempty" yaml:"satelliteBackhaulCat" bson:"satelliteBackhaulCat,omitempty"` -} diff --git a/models/models/model_smf_registration.go b/models/models/model_smf_registration.go deleted file mode 100644 index 9b9d7ad4..00000000 --- a/models/models/model_smf_registration.go +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SmfRegistration struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - SingleNssai *Snssai `json:"singleNssai" yaml:"singleNssai" bson:"singleNssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - EmergencyServices bool `json:"emergencyServices,omitempty" yaml:"emergencyServices" bson:"emergencyServices,omitempty"` - // String providing an URI formatted according to RFC 3986. - PcscfRestorationCallbackUri string `json:"pcscfRestorationCallbackUri,omitempty" yaml:"pcscfRestorationCallbackUri" bson:"pcscfRestorationCallbackUri,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` - PgwIpAddr *UdmSdmIpAddress `json:"pgwIpAddr,omitempty" yaml:"pgwIpAddr" bson:"pgwIpAddr,omitempty"` - EpdgInd bool `json:"epdgInd,omitempty" yaml:"epdgInd" bson:"epdgInd,omitempty"` - // String providing an URI formatted according to RFC 3986. - DeregCallbackUri string `json:"deregCallbackUri,omitempty" yaml:"deregCallbackUri" bson:"deregCallbackUri,omitempty"` - RegistrationReason RegistrationReason `json:"registrationReason,omitempty" yaml:"registrationReason" bson:"registrationReason,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` -} diff --git a/models/models/model_smf_registration_info.go b/models/models/model_smf_registration_info.go deleted file mode 100644 index 11170181..00000000 --- a/models/models/model_smf_registration_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfRegistrationInfo struct { - SmfRegistrationList []SmfRegistration `json:"smfRegistrationList" yaml:"smfRegistrationList" bson:"smfRegistrationList,omitempty"` -} diff --git a/models/models/model_smf_registration_modification.go b/models/models/model_smf_registration_modification.go deleted file mode 100644 index dcbc6585..00000000 --- a/models/models/model_smf_registration_modification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains attributes of SmfRegistration that can be modified using PATCH -type SmfRegistrationModification struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmfSetId string `json:"smfSetId,omitempty" yaml:"smfSetId" bson:"smfSetId,omitempty"` - // Fully Qualified Domain Name - PgwFqdn string `json:"pgwFqdn,omitempty" yaml:"pgwFqdn" bson:"pgwFqdn,omitempty"` -} diff --git a/models/models/model_smf_selection_data.go b/models/models/model_smf_selection_data.go deleted file mode 100644 index 77751a87..00000000 --- a/models/models/model_smf_selection_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the SMF Selection information that may be replaced by the PCF. -type SmfSelectionData struct { - UnsuppDnn bool `json:"unsuppDnn,omitempty" yaml:"unsuppDnn" bson:"unsuppDnn,omitempty"` - // Contains the list of DNNs per S-NSSAI that are candidates for replacement. The snssai attribute within the CandidateForReplacement data type is the key of the map. - Candidates map[string]*CandidateForReplacement `json:"candidates,omitempty" yaml:"candidates" bson:"candidates,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - MappingSnssai *Snssai `json:"mappingSnssai,omitempty" yaml:"mappingSnssai" bson:"mappingSnssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_smf_selection_subscription_data.go b/models/models/model_smf_selection_subscription_data.go deleted file mode 100644 index f625cf6c..00000000 --- a/models/models/model_smf_selection_subscription_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfSelectionSubscriptionData struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo - SubscribedSnssaiInfos map[string]SnssaiInfo `json:"subscribedSnssaiInfos,omitempty" yaml:"subscribedSnssaiInfos" bson:"subscribedSnssaiInfos,omitempty"` - SharedSnssaiInfosId string `json:"sharedSnssaiInfosId,omitempty" yaml:"sharedSnssaiInfosId" bson:"sharedSnssaiInfosId,omitempty"` - // Identifier of a group of NFs. - HssGroupId string `json:"hssGroupId,omitempty" yaml:"hssGroupId" bson:"hssGroupId,omitempty"` -} diff --git a/models/models/model_smf_selection_type.go b/models/models/model_smf_selection_type.go deleted file mode 100644 index 8c650d80..00000000 --- a/models/models/model_smf_selection_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmfSelectionType string - -// List of SmfSelectionType -const ( - SmfSelectionType_CURRENT_PDU_SESSION SmfSelectionType = "CURRENT_PDU_SESSION" - SmfSelectionType_NEXT_PDU_SESSION SmfSelectionType = "NEXT_PDU_SESSION" -) diff --git a/models/models/model_smf_subscription_info.go b/models/models/model_smf_subscription_info.go deleted file mode 100644 index b5afcc15..00000000 --- a/models/models/model_smf_subscription_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information related to active subscriptions at the SMF(s) -type SmfSubscriptionInfo struct { - SmfSubscriptionList []SmfSubscriptionItem `json:"smfSubscriptionList" yaml:"smfSubscriptionList" bson:"smfSubscriptionList,omitempty"` -} diff --git a/models/models/model_smf_subscription_item.go b/models/models/model_smf_subscription_item.go deleted file mode 100644 index 39102ece..00000000 --- a/models/models/model_smf_subscription_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains info about a single SMF event subscription -type SmfSubscriptionItem struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmfInstanceId string `json:"smfInstanceId" yaml:"smfInstanceId" bson:"smfInstanceId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` -} diff --git a/models/models/model_sms_charging_information.go b/models/models/model_sms_charging_information.go deleted file mode 100644 index cef4cfa6..00000000 --- a/models/models/model_sms_charging_information.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SmsChargingInformation struct { - OriginatorInfo *OriginatorInfo `json:"originatorInfo,omitempty" yaml:"originatorInfo" bson:"originatorInfo,omitempty"` - RecipientInfo []RecipientInfo `json:"recipientInfo,omitempty" yaml:"recipientInfo" bson:"recipientInfo,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - UserEquipmentInfo string `json:"userEquipmentInfo,omitempty" yaml:"userEquipmentInfo" bson:"userEquipmentInfo,omitempty"` - RoamerInOut RoamerInOut `json:"roamerInOut,omitempty" yaml:"roamerInOut" bson:"roamerInOut,omitempty"` - UserLocationinfo *UserLocation `json:"userLocationinfo,omitempty" yaml:"userLocationinfo" bson:"userLocationinfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UetimeZone string `json:"uetimeZone,omitempty" yaml:"uetimeZone" bson:"uetimeZone,omitempty"` - RATType RatType `json:"rATType,omitempty" yaml:"rATType" bson:"rATType,omitempty"` - SMSCAddress string `json:"sMSCAddress,omitempty" yaml:"sMSCAddress" bson:"sMSCAddress,omitempty"` - SMDataCodingScheme int32 `json:"sMDataCodingScheme,omitempty" yaml:"sMDataCodingScheme" bson:"sMDataCodingScheme,omitempty"` - SMMessageType SmMessageType `json:"sMMessageType,omitempty" yaml:"sMMessageType" bson:"sMMessageType,omitempty"` - SMReplyPathRequested ReplyPathRequested `json:"sMReplyPathRequested,omitempty" yaml:"sMReplyPathRequested" bson:"sMReplyPathRequested,omitempty"` - SMUserDataHeader string `json:"sMUserDataHeader,omitempty" yaml:"sMUserDataHeader" bson:"sMUserDataHeader,omitempty"` - SMStatus string `json:"sMStatus,omitempty" yaml:"sMStatus" bson:"sMStatus,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - SMDischargeTime *time.Time `json:"sMDischargeTime,omitempty" yaml:"sMDischargeTime" bson:"sMDischargeTime,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - NumberofMessagesSent int32 `json:"numberofMessagesSent,omitempty" yaml:"numberofMessagesSent" bson:"numberofMessagesSent,omitempty"` - SMServiceType SmServiceType `json:"sMServiceType,omitempty" yaml:"sMServiceType" bson:"sMServiceType,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - SMSequenceNumber int32 `json:"sMSequenceNumber,omitempty" yaml:"sMSequenceNumber" bson:"sMSequenceNumber,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - SMSresult int32 `json:"sMSresult,omitempty" yaml:"sMSresult" bson:"sMSresult,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - SubmissionTime *time.Time `json:"submissionTime,omitempty" yaml:"submissionTime" bson:"submissionTime,omitempty"` - SMPriority SmPriority `json:"sMPriority,omitempty" yaml:"sMPriority" bson:"sMPriority,omitempty"` - MessageReference string `json:"messageReference,omitempty" yaml:"messageReference" bson:"messageReference,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - MessageSize int32 `json:"messageSize,omitempty" yaml:"messageSize" bson:"messageSize,omitempty"` - MessageClass *MessageClass `json:"messageClass,omitempty" yaml:"messageClass" bson:"messageClass,omitempty"` - DeliveryReportRequested DeliveryReportRequested `json:"deliveryReportRequested,omitempty" yaml:"deliveryReportRequested" bson:"deliveryReportRequested,omitempty"` -} diff --git a/models/models/model_sms_data.go b/models/models/model_sms_data.go deleted file mode 100644 index ba3fc85b..00000000 --- a/models/models/model_sms_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMService - * - * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within request message for delivering SMS. -type SmsData struct { - SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` -} diff --git a/models/models/model_sms_delivery_data.go b/models/models/model_sms_delivery_data.go deleted file mode 100644 index 8d1b1394..00000000 --- a/models/models/model_sms_delivery_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_SMService - * - * Nnef SMService Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.541 V17.4.0; 5G System; Session Management Services for Non-IP Data Delivery (NIDD). - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.541/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information within response message invoking MtForwardSm service operation, for delivering MT SMS Delivery Report. -type SmsDeliveryData struct { - SmsPayload *RefToBinaryData `json:"smsPayload" yaml:"smsPayload" bson:"smsPayload,omitempty"` -} diff --git a/models/models/model_sms_indication.go b/models/models/model_sms_indication.go deleted file mode 100644 index 1a58698a..00000000 --- a/models/models/model_sms_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmsIndication string - -// List of SmsIndication -const ( - SmsIndication_SUPPORTED SmsIndication = "SMS_SUPPORTED" - SmsIndication_NOT_SUPPORTED SmsIndication = "SMS_NOT_SUPPORTED" -) diff --git a/models/models/model_sms_management_subscription_data.go b/models/models/model_sms_management_subscription_data.go deleted file mode 100644 index ed2aea23..00000000 --- a/models/models/model_sms_management_subscription_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmsManagementSubscriptionData struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MtSmsSubscribed bool `json:"mtSmsSubscribed,omitempty" yaml:"mtSmsSubscribed" bson:"mtSmsSubscribed,omitempty"` - MtSmsBarringAll bool `json:"mtSmsBarringAll,omitempty" yaml:"mtSmsBarringAll" bson:"mtSmsBarringAll,omitempty"` - MtSmsBarringRoaming bool `json:"mtSmsBarringRoaming,omitempty" yaml:"mtSmsBarringRoaming" bson:"mtSmsBarringRoaming,omitempty"` - MoSmsSubscribed bool `json:"moSmsSubscribed,omitempty" yaml:"moSmsSubscribed" bson:"moSmsSubscribed,omitempty"` - MoSmsBarringAll bool `json:"moSmsBarringAll,omitempty" yaml:"moSmsBarringAll" bson:"moSmsBarringAll,omitempty"` - MoSmsBarringRoaming bool `json:"moSmsBarringRoaming,omitempty" yaml:"moSmsBarringRoaming" bson:"moSmsBarringRoaming,omitempty"` - SharedSmsMngDataIds []string `json:"sharedSmsMngDataIds,omitempty" yaml:"sharedSmsMngDataIds" bson:"sharedSmsMngDataIds,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` -} diff --git a/models/models/model_sms_registration_info.go b/models/models/model_sms_registration_info.go deleted file mode 100644 index 7a2c428d..00000000 --- a/models/models/model_sms_registration_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SMS Registration Information (IP-SM-GW number and SC address) -type SmsRegistrationInfo struct { - // String containing an additional or basic MSISDN - IpSmGwNumber string `json:"ipSmGwNumber" yaml:"ipSmGwNumber" bson:"ipSmGwNumber,omitempty"` - // String containing an additional or basic MSISDN - ScAddress string `json:"scAddress,omitempty" yaml:"scAddress" bson:"scAddress,omitempty"` -} diff --git a/models/models/model_sms_router_info.go b/models/models/model_sms_router_info.go deleted file mode 100644 index 2f1cb039..00000000 --- a/models/models/model_sms_router_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Addressing information of the SMS Router configured at the UDM -type SmsRouterInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId,omitempty" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - DiameterAddress *NetworkNodeDiameterAddress `json:"diameterAddress,omitempty" yaml:"diameterAddress" bson:"diameterAddress,omitempty"` - MapAddress string `json:"mapAddress,omitempty" yaml:"mapAddress" bson:"mapAddress,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - RouterIpv4 string `json:"routerIpv4,omitempty" yaml:"routerIpv4" bson:"routerIpv4,omitempty"` - RouterIpv6 string `json:"routerIpv6,omitempty" yaml:"routerIpv6" bson:"routerIpv6,omitempty"` - // Fully Qualified Domain Name - RouterFqdn string `json:"routerFqdn,omitempty" yaml:"routerFqdn" bson:"routerFqdn,omitempty"` -} diff --git a/models/models/model_sms_subscription_data.go b/models/models/model_sms_subscription_data.go deleted file mode 100644 index 8675fc48..00000000 --- a/models/models/model_sms_subscription_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmsSubscriptionData struct { - SmsSubscribed bool `json:"smsSubscribed,omitempty" yaml:"smsSubscribed" bson:"smsSubscribed,omitempty"` - SharedSmsSubsDataId string `json:"sharedSmsSubsDataId,omitempty" yaml:"sharedSmsSubsDataId" bson:"sharedSmsSubsDataId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_sms_support.go b/models/models/model_sms_support.go deleted file mode 100644 index 0054f2fb..00000000 --- a/models/models/model_sms_support.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmsSupport string - -// List of SmsSupport -const ( - SmsSupport__3_GPP SmsSupport = "3GPP" - SmsSupport_NON_3_GPP SmsSupport = "NON_3GPP" - SmsSupport_BOTH SmsSupport = "BOTH" - SmsSupport_NONE SmsSupport = "NONE" -) diff --git a/models/models/model_smsc_data.go b/models/models/model_smsc_data.go deleted file mode 100644 index bd1c4a85..00000000 --- a/models/models/model_smsc_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Addresses of SM-Service Center entities with SMS wating to be delivered to the UE. -type SmscData struct { - SmscMapAddress string `json:"smscMapAddress,omitempty" yaml:"smscMapAddress" bson:"smscMapAddress,omitempty"` - SmscDiameterAddress *NetworkNodeDiameterAddress `json:"smscDiameterAddress,omitempty" yaml:"smscDiameterAddress" bson:"smscDiameterAddress,omitempty"` -} diff --git a/models/models/model_smsf_info.go b/models/models/model_smsf_info.go deleted file mode 100644 index da36703b..00000000 --- a/models/models/model_smsf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmsfInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` -} diff --git a/models/models/model_smsf_registration.go b/models/models/model_smsf_registration.go deleted file mode 100644 index 4b2547f3..00000000 --- a/models/models/model_smsf_registration.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SmsfRegistration struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmsfInstanceId string `json:"smsfInstanceId" yaml:"smsfInstanceId" bson:"smsfInstanceId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - SmsfMAPAddress string `json:"smsfMAPAddress,omitempty" yaml:"smsfMAPAddress" bson:"smsfMAPAddress,omitempty"` - SmsfDiameterAddress *NetworkNodeDiameterAddress `json:"smsfDiameterAddress,omitempty" yaml:"smsfDiameterAddress" bson:"smsfDiameterAddress,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - SmsfSbiSupInd bool `json:"smsfSbiSupInd,omitempty" yaml:"smsfSbiSupInd" bson:"smsfSbiSupInd,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastSynchronizationTime *time.Time `json:"lastSynchronizationTime,omitempty" yaml:"lastSynchronizationTime" bson:"lastSynchronizationTime,omitempty"` - UeMemoryAvailableInd bool `json:"ueMemoryAvailableInd,omitempty" yaml:"ueMemoryAvailableInd" bson:"ueMemoryAvailableInd,omitempty"` -} diff --git a/models/models/model_snssai.go b/models/models/model_snssai.go deleted file mode 100644 index aa96351c..00000000 --- a/models/models/model_snssai.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits \"sst\" optionally followed by \"-\" and 6 hexadecimal digits \"sd\". -type Snssai struct { - // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. - Sst int32 `json:"sst" yaml:"sst" bson:"sst,omitempty"` - // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. - Sd string `json:"sd,omitempty" yaml:"sd" bson:"sd,omitempty"` -} diff --git a/models/models/model_snssai_dnn_combination.go b/models/models/model_snssai_dnn_combination.go deleted file mode 100644 index cf6d5491..00000000 --- a/models/models/model_snssai_dnn_combination.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_EventExposure - * - * PCF Event Exposure Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.523 V17.7.0; 5G System; Policy Control Event Exposure Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.523/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a combination of S-NSSAI and DNN(s). -type SnssaiDnnCombination struct { - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` -} diff --git a/models/models/model_snssai_easdf_info_item.go b/models/models/model_snssai_easdf_info_item.go deleted file mode 100644 index 7e278432..00000000 --- a/models/models/model_snssai_easdf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by EASDF for a given S-NSSAI -type SnssaiEasdfInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnEasdfInfoList []DnnEasdfInfoItem `json:"dnnEasdfInfoList" yaml:"dnnEasdfInfoList" bson:"dnnEasdfInfoList,omitempty"` -} diff --git a/models/models/model_snssai_extension.go b/models/models/model_snssai_extension.go deleted file mode 100644 index d215da48..00000000 --- a/models/models/model_snssai_extension.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extensions to the Snssai data type, sdRanges and wildcardSd shall not be present simultaneously -type SnssaiExtension struct { - // When present, it shall contain the range(s) of Slice Differentiator values supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type - SdRanges []SdRange `json:"sdRanges,omitempty" yaml:"sdRanges" bson:"sdRanges,omitempty"` - // When present, it shall be set to true, to indicate that all SD values are supported for the Slice/Service Type value indicated in the sst attribute of the Snssai data type. - WildcardSd bool `json:"wildcardSd,omitempty" yaml:"wildcardSd" bson:"wildcardSd,omitempty"` -} diff --git a/models/models/model_snssai_info.go b/models/models/model_snssai_info.go deleted file mode 100644 index 094c6728..00000000 --- a/models/models/model_snssai_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SnssaiInfo struct { - DnnInfos []DnnInfo `json:"dnnInfos" yaml:"dnnInfos" bson:"dnnInfos,omitempty"` -} diff --git a/models/models/model_snssai_info_item.go b/models/models/model_snssai_info_item.go deleted file mode 100644 index 4f96765f..00000000 --- a/models/models/model_snssai_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Parameters supported by an NF for a given S-NSSAI Set of parameters supported by NF for a given S-NSSAI -type SnssaiInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnInfoList []DnnInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` -} diff --git a/models/models/model_snssai_mb_smf_info_item.go b/models/models/model_snssai_mb_smf_info_item.go deleted file mode 100644 index 8ab3f1d9..00000000 --- a/models/models/model_snssai_mb_smf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Parameters supported by an MB-SMF for a given S-NSSAI -type SnssaiMbSmfInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnInfoList []DnnMbSmfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` -} diff --git a/models/models/model_snssai_route_selection_descriptor.go b/models/models/model_snssai_route_selection_descriptor.go deleted file mode 100644 index 4387bafa..00000000 --- a/models/models/model_snssai_route_selection_descriptor.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the route selector parameters (DNNs, PDU session types, SSC modes and ATSSS information) per SNSSAI -type SnssaiRouteSelectionDescriptor struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - DnnRouteSelDescs []DnnRouteSelectionDescriptor `json:"dnnRouteSelDescs,omitempty" yaml:"dnnRouteSelDescs" bson:"dnnRouteSelDescs,omitempty"` -} diff --git a/models/models/model_snssai_smf_info_item.go b/models/models/model_snssai_smf_info_item.go deleted file mode 100644 index 9887c94e..00000000 --- a/models/models/model_snssai_smf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by SMF for a given S-NSSAI -type SnssaiSmfInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnSmfInfoList []DnnSmfInfoItem `json:"dnnSmfInfoList" yaml:"dnnSmfInfoList" bson:"dnnSmfInfoList,omitempty"` -} diff --git a/models/models/model_snssai_tai_mapping.go b/models/models/model_snssai_tai_mapping.go deleted file mode 100644 index 52f02dd8..00000000 --- a/models/models/model_snssai_tai_mapping.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of restricted or unrestricted S-NSSAIs per TAI(s) -type SnssaiTaiMapping struct { - ReportingArea *TargetArea `json:"reportingArea" yaml:"reportingArea" bson:"reportingArea,omitempty"` - AccessTypeList []AccessType `json:"accessTypeList,omitempty" yaml:"accessTypeList" bson:"accessTypeList,omitempty"` - SupportedSnssaiList []SupportedSnssai `json:"supportedSnssaiList,omitempty" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` -} diff --git a/models/models/model_snssai_tsctsf_info_item.go b/models/models/model_snssai_tsctsf_info_item.go deleted file mode 100644 index 78aab592..00000000 --- a/models/models/model_snssai_tsctsf_info_item.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by TSCTSF for a given S-NSSAI -type SnssaiTsctsfInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnInfoList []DnnTsctsfInfoItem `json:"dnnInfoList" yaml:"dnnInfoList" bson:"dnnInfoList,omitempty"` -} diff --git a/models/models/model_snssai_upf_info_item.go b/models/models/model_snssai_upf_info_item.go deleted file mode 100644 index dd3730b1..00000000 --- a/models/models/model_snssai_upf_info_item.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Set of parameters supported by UPF for a given S-NSSAI -type SnssaiUpfInfoItem struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - DnnUpfInfoList []DnnUpfInfoItem `json:"dnnUpfInfoList" yaml:"dnnUpfInfoList" bson:"dnnUpfInfoList,omitempty"` - RedundantTransport bool `json:"redundantTransport,omitempty" yaml:"redundantTransport" bson:"redundantTransport,omitempty"` -} diff --git a/models/models/model_software_image_info.go b/models/models/model_software_image_info.go deleted file mode 100644 index af882f89..00000000 --- a/models/models/model_software_image_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SoftwareImageInfo struct { - MinimumDisk int32 `json:"minimumDisk,omitempty" yaml:"minimumDisk" bson:"minimumDisk,omitempty"` - MinimumRAM int32 `json:"minimumRAM,omitempty" yaml:"minimumRAM" bson:"minimumRAM,omitempty"` - DiscFormat string `json:"discFormat,omitempty" yaml:"discFormat" bson:"discFormat,omitempty"` - OperatingSystem string `json:"operatingSystem,omitempty" yaml:"operatingSystem" bson:"operatingSystem,omitempty"` - SwImageRef string `json:"swImageRef,omitempty" yaml:"swImageRef" bson:"swImageRef,omitempty"` -} diff --git a/models/models/model_sor_data.go b/models/models/model_sor_data.go deleted file mode 100644 index 17febf6e..00000000 --- a/models/models/model_sor_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Used to store the status of the latest SOR data update. -type SorData struct { - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorMacIue string `json:"sorMacIue,omitempty" yaml:"sorMacIue" bson:"sorMacIue,omitempty"` - MeSupportOfSorCmci bool `json:"meSupportOfSorCmci,omitempty" yaml:"meSupportOfSorCmci" bson:"meSupportOfSorCmci,omitempty"` -} diff --git a/models/models/model_sor_security_info.go b/models/models/model_sor_security_info.go deleted file mode 100644 index 4d417320..00000000 --- a/models/models/model_sor_security_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nausf_SoRProtection Service - * - * AUSF SoR Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the material generated for securing of SoR. It contains at least the SoR-MAC-IAUSF and CounterSoR. -type SorSecurityInfo struct { - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorMacIausf string `json:"sorMacIausf" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` - // CounterSoR. - CounterSor string `json:"counterSor" yaml:"counterSor" bson:"counterSor,omitempty"` - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorXmacIue string `json:"sorXmacIue,omitempty" yaml:"sorXmacIue" bson:"sorXmacIue,omitempty"` -} diff --git a/models/models/model_sor_update_indicator.go b/models/models/model_sor_update_indicator.go deleted file mode 100644 index 1bcc3418..00000000 --- a/models/models/model_sor_update_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SorUpdateIndicator string - -// List of SorUpdateIndicator -const ( - SorUpdateIndicator_INITIAL_REGISTRATION SorUpdateIndicator = "INITIAL_REGISTRATION" - SorUpdateIndicator_EMERGENCY_REGISTRATION SorUpdateIndicator = "EMERGENCY_REGISTRATION" -) diff --git a/models/models/model_sor_update_info.go b/models/models/model_sor_update_info.go deleted file mode 100644 index 7fd51114..00000000 --- a/models/models/model_sor_update_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SorUpdateInfo struct { - VplmnId *PlmnId `json:"vplmnId" yaml:"vplmnId" bson:"vplmnId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_spatial_validity.go b/models/models/model_spatial_validity.go deleted file mode 100644 index 553f7fc6..00000000 --- a/models/models/model_spatial_validity.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes explicitly the route to an Application location. -type SpatialValidity struct { - // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. - PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` -} diff --git a/models/models/model_spatial_validity_cond.go b/models/models/model_spatial_validity_cond.go deleted file mode 100644 index b8d88f7f..00000000 --- a/models/models/model_spatial_validity_cond.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the Spatial Validity Condition. -type SpatialValidityCond struct { - TrackingAreaList []Tai `json:"trackingAreaList,omitempty" yaml:"trackingAreaList" bson:"trackingAreaList,omitempty"` - Countries []string `json:"countries,omitempty" yaml:"countries" bson:"countries,omitempty"` - GeographicalServiceArea *GeoServiceArea `json:"geographicalServiceArea,omitempty" yaml:"geographicalServiceArea" bson:"geographicalServiceArea,omitempty"` -} diff --git a/models/models/model_spatial_validity_rm.go b/models/models/model_spatial_validity_rm.go deleted file mode 100644 index 8086be67..00000000 --- a/models/models/model_spatial_validity_rm.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This data type is defined in the same way as the SpatialValidity data type, but with the OpenAPI nullable property set to true. -type SpatialValidityRm struct { - // Defines the presence information provisioned by the AF. The praId attribute within the PresenceInfo data type is the key of the map. - PresenceInfoList map[string]PresenceInfo `json:"presenceInfoList" yaml:"presenceInfoList" bson:"presenceInfoList,omitempty"` -} diff --git a/models/models/model_specific_analytics_subscription.go b/models/models/model_specific_analytics_subscription.go deleted file mode 100644 index 0895afeb..00000000 --- a/models/models/model_specific_analytics_subscription.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an existing subscription for a specific type of analytics to a specific NWDAF. -type SpecificAnalyticsSubscription struct { - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` - NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub,omitempty" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` -} diff --git a/models/models/model_specific_data_subscription.go b/models/models/model_specific_data_subscription.go deleted file mode 100644 index b0fed5db..00000000 --- a/models/models/model_specific_data_subscription.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_AnalyticsInfo - * - * Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an existing subscription for data collection to a specific data source NF. -type SpecificDataSubscription struct { - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ProducerId string `json:"producerId,omitempty" yaml:"producerId" bson:"producerId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - ProducerSetId string `json:"producerSetId,omitempty" yaml:"producerSetId" bson:"producerSetId,omitempty"` - DataSub *DataSubscription `json:"dataSub,omitempty" yaml:"dataSub" bson:"dataSub,omitempty"` -} diff --git a/models/models/model_spending_limit_context.go b/models/models/model_spending_limit_context.go deleted file mode 100644 index fb501ea3..00000000 --- a/models/models/model_spending_limit_context.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the subscription data structure required for an individual CHF spending limit subscription. -type SpendingLimitContext struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // This is a list of policy counter identifier(s), which identifies policy counters maintained per subscriber within the CHF. - PolicyCounterIds []string `json:"policyCounterIds,omitempty" yaml:"policyCounterIds" bson:"policyCounterIds,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` -} diff --git a/models/models/model_spending_limit_status.go b/models/models/model_spending_limit_status.go deleted file mode 100644 index ce42804c..00000000 --- a/models/models/model_spending_limit_status.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the data structure presenting the statuses of policy counters. -type SpendingLimitStatus struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` - // Status of the requested policy counters. The key of the map is the attribute \"policyCounterId\". - StatusInfos map[string]PolicyCounterInfo `json:"statusInfos,omitempty" yaml:"statusInfos" bson:"statusInfos,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_sponsor_connectivity_data.go b/models/models/model_sponsor_connectivity_data.go deleted file mode 100644 index 31fc9944..00000000 --- a/models/models/model_sponsor_connectivity_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the sponsored data connectivity related information for a sponsor identifier. -type SponsorConnectivityData struct { - AspIds []string `json:"aspIds" yaml:"aspIds" bson:"aspIds,omitempty"` -} diff --git a/models/models/model_sponsor_information.go b/models/models/model_sponsor_information.go deleted file mode 100644 index d48db549..00000000 --- a/models/models/model_sponsor_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a sponsor information. -type SponsorInformation struct { - // It indicates Sponsor ID. - SponsorId string `json:"sponsorId" yaml:"sponsorId" bson:"sponsorId,omitempty"` - // It indicates Application Service Provider ID. - AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` -} diff --git a/models/models/model_sponsoring_status.go b/models/models/model_sponsoring_status.go deleted file mode 100644 index b7b470c5..00000000 --- a/models/models/model_sponsoring_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SponsoringStatus string - -// List of SponsoringStatus -const ( - SponsoringStatus_DISABLED SponsoringStatus = "SPONSOR_DISABLED" - SponsoringStatus_ENABLED SponsoringStatus = "SPONSOR_ENABLED" -) diff --git a/models/models/model_spt.go b/models/models/model_spt.go deleted file mode 100644 index 452fa119..00000000 --- a/models/models/model_spt.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the data of a Service Point Trigger -type Spt struct { - ConditionNegated bool `json:"conditionNegated" yaml:"conditionNegated" bson:"conditionNegated,omitempty"` - SptGroup []int32 `json:"sptGroup" yaml:"sptGroup" bson:"sptGroup,omitempty"` - RegType []RegistrationType `json:"regType,omitempty" yaml:"regType" bson:"regType,omitempty"` - RequestUri string `json:"requestUri,omitempty" yaml:"requestUri" bson:"requestUri,omitempty"` - SipMethod string `json:"sipMethod,omitempty" yaml:"sipMethod" bson:"sipMethod,omitempty"` - SipHeader *HeaderSipRequest `json:"sipHeader,omitempty" yaml:"sipHeader" bson:"sipHeader,omitempty"` - SessionCase RequestDirection `json:"sessionCase,omitempty" yaml:"sessionCase" bson:"sessionCase,omitempty"` - SessionDescription *SdpDescription `json:"sessionDescription,omitempty" yaml:"sessionDescription" bson:"sessionDescription,omitempty"` -} diff --git a/models/models/model_sqn_scheme.go b/models/models/model_sqn_scheme.go deleted file mode 100644 index fb0ae8c5..00000000 --- a/models/models/model_sqn_scheme.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SqnScheme string - -// List of SqnScheme -const ( - SqnScheme_GENERAL SqnScheme = "GENERAL" - SqnScheme_NON_TIME_BASED SqnScheme = "NON_TIME_BASED" - SqnScheme_TIME_BASED SqnScheme = "TIME_BASED" -) diff --git a/models/models/model_srvcc_capability.go b/models/models/model_srvcc_capability.go deleted file mode 100644 index 14e47864..00000000 --- a/models/models/model_srvcc_capability.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SrvccCapability string - -// List of SrvccCapability -const ( - SrvccCapability__4_G_SRVCC_CAPABLE SrvccCapability = "UE_4G_SRVCC_CAPABLE" - SrvccCapability__5_G_SRVCC_CAPABLE SrvccCapability = "UE_5G_SRVCC_CAPABLE" -) diff --git a/models/models/model_srvcc_data.go b/models/models/model_srvcc_data.go deleted file mode 100644 index 9b2bb470..00000000 --- a/models/models/model_srvcc_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE SRVCC capability (if available) and STN-SR (if subscribed) -type SrvccData struct { - // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. - StnSr string `json:"stnSr" yaml:"stnSr" bson:"stnSr,omitempty"` - UeSrvccCapabilities []SrvccCapability `json:"ueSrvccCapabilities,omitempty" yaml:"ueSrvccCapabilities" bson:"ueSrvccCapabilities,omitempty"` -} diff --git a/models/models/model_ssc_mode.go b/models/models/model_ssc_mode.go deleted file mode 100644 index fba1826a..00000000 --- a/models/models/model_ssc_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SscMode string - -// List of SscMode -const ( - SscMode__1 SscMode = "SSC_MODE_1" - SscMode__2 SscMode = "SSC_MODE_2" - SscMode__3 SscMode = "SSC_MODE_3" -) diff --git a/models/models/model_ssc_modes.go b/models/models/model_ssc_modes.go deleted file mode 100644 index 46c9634f..00000000 --- a/models/models/model_ssc_modes.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SscModes struct { - DefaultSscMode SscMode `json:"defaultSscMode" yaml:"defaultSscMode" bson:"defaultSscMode,omitempty"` - AllowedSscModes []SscMode `json:"allowedSscModes,omitempty" yaml:"allowedSscModes" bson:"allowedSscModes,omitempty"` -} diff --git a/models/models/model_ssm.go b/models/models/model_ssm.go deleted file mode 100644 index 1e05e827..00000000 --- a/models/models/model_ssm.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Source specific IP multicast address -type Ssm struct { - SourceIpAddr *IpAddr `json:"sourceIpAddr" yaml:"sourceIpAddr" bson:"sourceIpAddr,omitempty"` - DestIpAddr *IpAddr `json:"destIpAddr" yaml:"destIpAddr" bson:"destIpAddr,omitempty"` -} diff --git a/models/models/model_stationary_indication.go b/models/models/model_stationary_indication.go deleted file mode 100644 index 9b60c845..00000000 --- a/models/models/model_stationary_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type StationaryIndication string - -// List of StationaryIndication -const ( - StationaryIndication_STATIONARY StationaryIndication = "STATIONARY" - StationaryIndication_MOBILE StationaryIndication = "MOBILE" -) diff --git a/models/models/model_stationary_indication_rm.go b/models/models/model_stationary_indication_rm.go deleted file mode 100644 index ecbcc67a..00000000 --- a/models/models/model_stationary_indication_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type StationaryIndicationRm struct { -} diff --git a/models/models/model_status.go b/models/models/model_status.go deleted file mode 100644 index acf5a4ed..00000000 --- a/models/models/model_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NRF Bootstrapping - * - * NRF Bootstrapping. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.6.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Status string - -// List of Status -const ( - Status_OPERATIVE Status = "OPERATIVE" - Status_NON_OPERATIVE Status = "NON_OPERATIVE" -) diff --git a/models/models/model_status_change.go b/models/models/model_status_change.go deleted file mode 100644 index 9eb71dcc..00000000 --- a/models/models/model_status_change.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type StatusChange string - -// List of StatusChange -const ( - StatusChange_UNAVAILABLE StatusChange = "AMF_UNAVAILABLE" - StatusChange_AVAILABLE StatusChange = "AMF_AVAILABLE" -) diff --git a/models/models/model_status_info.go b/models/models/model_status_info.go deleted file mode 100644 index 290ace0e..00000000 --- a/models/models/model_status_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Status of SM context or of PDU session -type StatusInfo struct { - ResourceStatus ResourceStatus `json:"resourceStatus" yaml:"resourceStatus" bson:"resourceStatus,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty" yaml:"cnAssistedRanPara" bson:"cnAssistedRanPara,omitempty"` - AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` -} diff --git a/models/models/model_status_notification.go b/models/models/model_status_notification.go deleted file mode 100644 index 742deff7..00000000 --- a/models/models/model_status_notification.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Notify Status Request -type StatusNotification struct { - StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - TargetDnaiInfo *TargetDnaiInfo `json:"targetDnaiInfo,omitempty" yaml:"targetDnaiInfo" bson:"targetDnaiInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - OldPduSessionRef string `json:"oldPduSessionRef,omitempty" yaml:"oldPduSessionRef" bson:"oldPduSessionRef,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - InterPlmnApiRoot string `json:"interPlmnApiRoot,omitempty" yaml:"interPlmnApiRoot" bson:"interPlmnApiRoot,omitempty"` - // String providing an URI formatted according to RFC 3986. - IntraPlmnApiRoot string `json:"intraPlmnApiRoot,omitempty" yaml:"intraPlmnApiRoot" bson:"intraPlmnApiRoot,omitempty"` -} diff --git a/models/models/model_steer_mode_indicator.go b/models/models/model_steer_mode_indicator.go deleted file mode 100644 index ef6cbc9e..00000000 --- a/models/models/model_steer_mode_indicator.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SteerModeIndicator string - -// List of SteerModeIndicator -const ( - SteerModeIndicator_AUTO_LOAD_BALANCE SteerModeIndicator = "AUTO_LOAD_BALANCE" - SteerModeIndicator_UE_ASSISTANCE SteerModeIndicator = "UE_ASSISTANCE" -) diff --git a/models/models/model_steer_mode_value.go b/models/models/model_steer_mode_value.go deleted file mode 100644 index db2e8ace..00000000 --- a/models/models/model_steer_mode_value.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SteerModeValue string - -// List of SteerModeValue -const ( - SteerModeValue_ACTIVE_STANDBY SteerModeValue = "ACTIVE_STANDBY" - SteerModeValue_LOAD_BALANCING SteerModeValue = "LOAD_BALANCING" - SteerModeValue_SMALLEST_DELAY SteerModeValue = "SMALLEST_DELAY" - SteerModeValue_PRIORITY_BASED SteerModeValue = "PRIORITY_BASED" -) diff --git a/models/models/model_steering_functionality.go b/models/models/model_steering_functionality.go deleted file mode 100644 index 8562c40d..00000000 --- a/models/models/model_steering_functionality.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SteeringFunctionality string - -// List of SteeringFunctionality -const ( - SteeringFunctionality_MPTCP SteeringFunctionality = "MPTCP" - SteeringFunctionality_ATSSS_LL SteeringFunctionality = "ATSSS_LL" -) diff --git a/models/models/model_steering_mode.go b/models/models/model_steering_mode.go deleted file mode 100644 index 80439817..00000000 --- a/models/models/model_steering_mode.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the steering mode value and parameters determined by the PCF. -type SteeringMode struct { - SteerModeValue SteerModeValue `json:"steerModeValue" yaml:"steerModeValue" bson:"steerModeValue,omitempty"` - Active AccessType `json:"active,omitempty" yaml:"active" bson:"active,omitempty"` - Standby AccessType `json:"standby,omitempty" yaml:"standby" bson:"standby,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var3gLoad int32 `json:"3gLoad,omitempty" yaml:"3gLoad" bson:"3gLoad,omitempty"` - PrioAcc AccessType `json:"prioAcc,omitempty" yaml:"prioAcc" bson:"prioAcc,omitempty"` - ThresValue *ThresholdValue `json:"thresValue,omitempty" yaml:"thresValue" bson:"thresValue,omitempty"` - SteerModeInd SteerModeIndicator `json:"steerModeInd,omitempty" yaml:"steerModeInd" bson:"steerModeInd,omitempty"` -} diff --git a/models/models/model_storage_outcome.go b/models/models/model_storage_outcome.go deleted file mode 100644 index e517d9d6..00000000 --- a/models/models/model_storage_outcome.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Broadcast - * - * LMF Broadcast Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.5.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type StorageOutcome string - -// List of StorageOutcome -const ( - StorageOutcome_SUCCESSFUL StorageOutcome = "STORAGE_SUCCESSFUL" - StorageOutcome_FAILED StorageOutcome = "STORAGE_FAILED" -) diff --git a/models/models/model_stored_search_result.go b/models/models/model_stored_search_result.go deleted file mode 100644 index 73095c5c..00000000 --- a/models/models/model_stored_search_result.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * NRF NFDiscovery Service - * - * NRF NFDiscovery Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a complete search result (i.e. a number of discovered NF Instances), stored by NRF as a consequence of a prior search result -type StoredSearchResult struct { - NfInstances []NrfNfDiscoveryNfProfile `json:"nfInstances" yaml:"nfInstances" bson:"nfInstances,omitempty"` -} diff --git a/models/models/model_string_matching_condition.go b/models/models/model_string_matching_condition.go deleted file mode 100644 index 582faac4..00000000 --- a/models/models/model_string_matching_condition.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A String with Matching Operator -type StringMatchingCondition struct { - MatchingString string `json:"matchingString,omitempty" yaml:"matchingString" bson:"matchingString,omitempty"` - MatchingOperator MatchingOperator `json:"matchingOperator" yaml:"matchingOperator" bson:"matchingOperator,omitempty"` -} diff --git a/models/models/model_string_matching_rule.go b/models/models/model_string_matching_rule.go deleted file mode 100644 index b72241b5..00000000 --- a/models/models/model_string_matching_rule.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnef_EASDeployment - * - * NEF EAS Deployment service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.6.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A list of conditions for string matching -type StringMatchingRule struct { - StringMatchingConditions []StringMatchingCondition `json:"stringMatchingConditions,omitempty" yaml:"stringMatchingConditions" bson:"stringMatchingConditions,omitempty"` -} diff --git a/models/models/model_subscr_cond.go b/models/models/model_subscr_cond.go deleted file mode 100644 index 43f73d11..00000000 --- a/models/models/model_subscr_cond.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Condition to determine the set of NFs to monitor under a certain subscription in NRF -type SubscrCond struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfInstanceIdList []string `json:"nfInstanceIdList" yaml:"nfInstanceIdList" bson:"nfInstanceIdList,omitempty"` - NfType string `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - ServiceNameList []ServiceName `json:"serviceNameList" yaml:"serviceNameList" bson:"serviceNameList,omitempty"` - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits). - AmfSetId string `json:"amfSetId,omitempty" yaml:"amfSetId" bson:"amfSetId,omitempty"` - // String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded as a string of 3 hexadecimal characters where the first character is limited to values 0 to 3 (i.e. 10 bits) - AmfRegionId string `json:"amfRegionId,omitempty" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` - SnssaiList []Snssai `json:"snssaiList" yaml:"snssaiList" bson:"snssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` - // Identifier of a group of NFs. - NfGroupId string `json:"nfGroupId" yaml:"nfGroupId" bson:"nfGroupId,omitempty"` - NfGroupIdList []string `json:"nfGroupIdList" yaml:"nfGroupIdList" bson:"nfGroupIdList,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfSetId string `json:"nfSetId" yaml:"nfSetId" bson:"nfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NfServiceSetId string `json:"nfServiceSetId" yaml:"nfServiceSetId" bson:"nfServiceSetId,omitempty"` - SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - ScpDomains []string `json:"scpDomains" yaml:"scpDomains" bson:"scpDomains,omitempty"` - NfTypeList []NrfNfManagementNfType `json:"nfTypeList,omitempty" yaml:"nfTypeList" bson:"nfTypeList,omitempty"` - AnalyticsIds []string `json:"analyticsIds,omitempty" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - ServingNfTypeList []NrfNfManagementNfType `json:"servingNfTypeList,omitempty" yaml:"servingNfTypeList" bson:"servingNfTypeList,omitempty"` - ServingNfSetIdList []string `json:"servingNfSetIdList,omitempty" yaml:"servingNfSetIdList" bson:"servingNfSetIdList,omitempty"` - MlAnalyticsList []MlAnalyticsInfo `json:"mlAnalyticsList,omitempty" yaml:"mlAnalyticsList" bson:"mlAnalyticsList,omitempty"` - AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` - PfdData *NrfNfManagementPfdData `json:"pfdData,omitempty" yaml:"pfdData" bson:"pfdData,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - ServedFqdnList []string `json:"servedFqdnList,omitempty" yaml:"servedFqdnList" bson:"servedFqdnList,omitempty"` -} diff --git a/models/models/model_subscribed_default_qos.go b/models/models/model_subscribed_default_qos.go deleted file mode 100644 index f7e28b57..00000000 --- a/models/models/model_subscribed_default_qos.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Provides the subsribed 5QI and the ARP, it may contain the priority level. -type SubscribedDefaultQos struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - Arp *Arp `json:"arp" yaml:"arp" bson:"arp,omitempty"` - // Unsigned integer indicating the 5QI Priority Level (see clauses 5.7.3.3 and 5.7.4 of 3GPP TS 23.501, within the range 1 to 127.Values are ordered in decreasing order of priority, i.e. with 1 as the highest priority and 127 as the lowest priority. - PriorityLevel int32 `json:"priorityLevel,omitempty" yaml:"priorityLevel" bson:"priorityLevel,omitempty"` -} diff --git a/models/models/model_subscribed_event.go b/models/models/model_subscribed_event.go deleted file mode 100644 index 4fc85de7..00000000 --- a/models/models/model_subscribed_event.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SubscribedEvent string - -// List of SubscribedEvent -const ( - SubscribedEvent_UP_PATH_CHANGE SubscribedEvent = "UP_PATH_CHANGE" -) diff --git a/models/models/model_subscribed_snssai.go b/models/models/model_subscribed_snssai.go deleted file mode 100644 index 317f96d5..00000000 --- a/models/models/model_subscribed_snssai.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the subscribed S-NSSAI -type SubscribedSnssai struct { - SubscribedSnssai *Snssai `json:"subscribedSnssai" yaml:"subscribedSnssai" bson:"subscribedSnssai,omitempty"` - DefaultIndication bool `json:"defaultIndication,omitempty" yaml:"defaultIndication" bson:"defaultIndication,omitempty"` - SubscribedNsSrgList []string `json:"subscribedNsSrgList,omitempty" yaml:"subscribedNsSrgList" bson:"subscribedNsSrgList,omitempty"` -} diff --git a/models/models/model_subscription_context.go b/models/models/model_subscription_context.go deleted file mode 100644 index 7f394eae..00000000 --- a/models/models/model_subscription_context.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Context data related to a created subscription, to be included in notifications sent by NRF -type SubscriptionContext struct { - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - SubscrCond *SubscrCond `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` -} diff --git a/models/models/model_subscription_data_subscriptions.go b/models/models/model_subscription_data_subscriptions.go deleted file mode 100644 index 7c5c47b9..00000000 --- a/models/models/model_subscription_data_subscriptions.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// A subscription to notifications. -type SubscriptionDataSubscriptions struct { - // String represents the SUPI or GPSI - UeId string `json:"ueId,omitempty" yaml:"ueId" bson:"ueId,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // String providing an URI formatted according to RFC 3986. - OriginalCallbackReference string `json:"originalCallbackReference,omitempty" yaml:"originalCallbackReference" bson:"originalCallbackReference,omitempty"` - MonitoredResourceUris []string `json:"monitoredResourceUris" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - SdmSubscription *SdmSubscription `json:"sdmSubscription,omitempty" yaml:"sdmSubscription" bson:"sdmSubscription,omitempty"` - HssSubscriptionInfo *HssSubscriptionInfo `json:"hssSubscriptionInfo,omitempty" yaml:"hssSubscriptionInfo" bson:"hssSubscriptionInfo,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - UniqueSubscription bool `json:"uniqueSubscription,omitempty" yaml:"uniqueSubscription" bson:"uniqueSubscription,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_subscription_filter.go b/models/models/model_subscription_filter.go deleted file mode 100644 index 8d226817..00000000 --- a/models/models/model_subscription_filter.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A subscription filter -type SubscriptionFilter struct { - // list of resources applicable to the subscription - MonitoredResourceUris []string `json:"monitoredResourceUris,omitempty" yaml:"monitoredResourceUris" bson:"monitoredResourceUris,omitempty"` - // list of resources applicable to the subscription - Operations []RecordOperation `json:"operations,omitempty" yaml:"operations" bson:"operations,omitempty"` -} diff --git a/models/models/model_subscription_termination_info.go b/models/models/model_subscription_termination_info.go deleted file mode 100644 index 62040da9..00000000 --- a/models/models/model_subscription_termination_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_SpendingLimitControl - * - * Nchf Spending Limit Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.594 V17.4.0; 5G System; Spending Limit Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.594/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the data structure presenting the indication of the termination of the subscription. -type SubscriptionTerminationInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - NotifId string `json:"notifId,omitempty" yaml:"notifId" bson:"notifId,omitempty"` - TermCause ChfSpendingLimitControlTerminationCause `json:"termCause,omitempty" yaml:"termCause" bson:"termCause,omitempty"` -} diff --git a/models/models/model_subscription_transfer_info.go b/models/models/model_subscription_transfer_info.go deleted file mode 100644 index 6a83c24a..00000000 --- a/models/models/model_subscription_transfer_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about subscriptions that are requested to be transferred. -type SubscriptionTransferInfo struct { - TransReqType TransferRequestType `json:"transReqType" yaml:"transReqType" bson:"transReqType,omitempty"` - NwdafEvSub *NnwdafEventsSubscription `json:"nwdafEvSub" yaml:"nwdafEvSub" bson:"nwdafEvSub,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - ConsumerId string `json:"consumerId" yaml:"consumerId" bson:"consumerId,omitempty"` - ContextId *AnalyticsContextIdentifier `json:"contextId,omitempty" yaml:"contextId" bson:"contextId,omitempty"` - SourceNfIds []string `json:"sourceNfIds,omitempty" yaml:"sourceNfIds" bson:"sourceNfIds,omitempty"` - SourceSetIds []string `json:"sourceSetIds,omitempty" yaml:"sourceSetIds" bson:"sourceSetIds,omitempty"` - ModelInfo []ModelInfo `json:"modelInfo,omitempty" yaml:"modelInfo" bson:"modelInfo,omitempty"` -} diff --git a/models/models/model_suci_info.go b/models/models/model_suci_info.go deleted file mode 100644 index b36e73a7..00000000 --- a/models/models/model_suci_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// SUCI information containing Routing Indicator and Home Network Public Key ID -type SuciInfo struct { - RoutingInds []string `json:"routingInds,omitempty" yaml:"routingInds" bson:"routingInds,omitempty"` - HNwPubKeyIds []int32 `json:"hNwPubKeyIds,omitempty" yaml:"hNwPubKeyIds" bson:"hNwPubKeyIds,omitempty"` -} diff --git a/models/models/model_suggested_packet_num_dl.go b/models/models/model_suggested_packet_num_dl.go deleted file mode 100644 index 0d776b24..00000000 --- a/models/models/model_suggested_packet_num_dl.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SuggestedPacketNumDl struct { - SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_summarization_attribute.go b/models/models/model_summarization_attribute.go deleted file mode 100644 index 34184508..00000000 --- a/models/models/model_summarization_attribute.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SummarizationAttribute string - -// List of SummarizationAttribute -const ( - SummarizationAttribute_SPACING SummarizationAttribute = "SPACING" - SummarizationAttribute_DURATION SummarizationAttribute = "DURATION" - SummarizationAttribute_OCCURRENCES SummarizationAttribute = "OCCURRENCES" - SummarizationAttribute_AVG_VAR SummarizationAttribute = "AVG_VAR" - SummarizationAttribute_FREQ_VAL SummarizationAttribute = "FREQ_VAL" - SummarizationAttribute_MIN_MAX SummarizationAttribute = "MIN_MAX" -) diff --git a/models/models/model_supi_info.go b/models/models/model_supi_info.go deleted file mode 100644 index d120008b..00000000 --- a/models/models/model_supi_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of Supis. -type SupiInfo struct { - SupiList []string `json:"supiList" yaml:"supiList" bson:"supiList,omitempty"` -} diff --git a/models/models/model_supi_range.go b/models/models/model_supi_range.go deleted file mode 100644 index 5209b720..00000000 --- a/models/models/model_supi_range.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A range of SUPIs (subscriber identities), either based on a numeric range, or based on regular-expression matching -type SupiRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_supplementary_service.go b/models/models/model_supplementary_service.go deleted file mode 100644 index b4b13358..00000000 --- a/models/models/model_supplementary_service.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SupplementaryService struct { - SupplementaryServiceType SupplementaryServiceType `json:"supplementaryServiceType,omitempty" yaml:"supplementaryServiceType" bson:"supplementaryServiceType,omitempty"` - SupplementaryServiceMode SupplementaryServiceMode `json:"supplementaryServiceMode,omitempty" yaml:"supplementaryServiceMode" bson:"supplementaryServiceMode,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - NumberOfDiversions int32 `json:"numberOfDiversions,omitempty" yaml:"numberOfDiversions" bson:"numberOfDiversions,omitempty"` - AssociatedPartyAddress string `json:"associatedPartyAddress,omitempty" yaml:"associatedPartyAddress" bson:"associatedPartyAddress,omitempty"` - ConferenceId string `json:"conferenceId,omitempty" yaml:"conferenceId" bson:"conferenceId,omitempty"` - ParticipantActionType ParticipantActionType `json:"participantActionType,omitempty" yaml:"participantActionType" bson:"participantActionType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ChangeTime *time.Time `json:"changeTime,omitempty" yaml:"changeTime" bson:"changeTime,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - NumberOfParticipants int32 `json:"numberOfParticipants,omitempty" yaml:"numberOfParticipants" bson:"numberOfParticipants,omitempty"` - CUGInformation string `json:"cUGInformation,omitempty" yaml:"cUGInformation" bson:"cUGInformation,omitempty"` -} diff --git a/models/models/model_supplementary_service_mode.go b/models/models/model_supplementary_service_mode.go deleted file mode 100644 index 62061359..00000000 --- a/models/models/model_supplementary_service_mode.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SupplementaryServiceMode string - -// List of SupplementaryServiceMode -const ( - SupplementaryServiceMode_CFU SupplementaryServiceMode = "CFU" - SupplementaryServiceMode_CFB SupplementaryServiceMode = "CFB" - SupplementaryServiceMode_CFNR SupplementaryServiceMode = "CFNR" - SupplementaryServiceMode_CFNL SupplementaryServiceMode = "CFNL" - SupplementaryServiceMode_CD SupplementaryServiceMode = "CD" - SupplementaryServiceMode_CFNRC SupplementaryServiceMode = "CFNRC" - SupplementaryServiceMode_ICB SupplementaryServiceMode = "ICB" - SupplementaryServiceMode_OCB SupplementaryServiceMode = "OCB" - SupplementaryServiceMode_ACR SupplementaryServiceMode = "ACR" - SupplementaryServiceMode_BLIND_TRANFER SupplementaryServiceMode = "BLIND_TRANFER" - SupplementaryServiceMode_CONSULTATIVE_TRANFER SupplementaryServiceMode = "CONSULTATIVE_TRANFER" -) diff --git a/models/models/model_supplementary_service_type.go b/models/models/model_supplementary_service_type.go deleted file mode 100644 index 34bef316..00000000 --- a/models/models/model_supplementary_service_type.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SupplementaryServiceType string - -// List of SupplementaryServiceType -const ( - SupplementaryServiceType_OIP SupplementaryServiceType = "OIP" - SupplementaryServiceType_OIR SupplementaryServiceType = "OIR" - SupplementaryServiceType_TIP SupplementaryServiceType = "TIP" - SupplementaryServiceType_TIR SupplementaryServiceType = "TIR" - SupplementaryServiceType_HOLD SupplementaryServiceType = "HOLD" - SupplementaryServiceType_CB SupplementaryServiceType = "CB" - SupplementaryServiceType_CDIV SupplementaryServiceType = "CDIV" - SupplementaryServiceType_CW SupplementaryServiceType = "CW" - SupplementaryServiceType_MWI SupplementaryServiceType = "MWI" - SupplementaryServiceType_CONF SupplementaryServiceType = "CONF" - SupplementaryServiceType_FA SupplementaryServiceType = "FA" - SupplementaryServiceType_CCBS SupplementaryServiceType = "CCBS" - SupplementaryServiceType_CCNR SupplementaryServiceType = "CCNR" - SupplementaryServiceType_MCID SupplementaryServiceType = "MCID" - SupplementaryServiceType_CAT SupplementaryServiceType = "CAT" - SupplementaryServiceType_CUG SupplementaryServiceType = "CUG" - SupplementaryServiceType_PNM SupplementaryServiceType = "PNM" - SupplementaryServiceType_CRS SupplementaryServiceType = "CRS" - SupplementaryServiceType_ECT SupplementaryServiceType = "ECT" -) diff --git a/models/models/model_supported_gad_shapes.go b/models/models/model_supported_gad_shapes.go deleted file mode 100644 index ca7c8b55..00000000 --- a/models/models/model_supported_gad_shapes.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SupportedGadShapes string - -// List of SupportedGADShapes -const ( - SupportedGadShapes_POINT SupportedGadShapes = "POINT" - SupportedGadShapes_POINT_UNCERTAINTY_CIRCLE SupportedGadShapes = "POINT_UNCERTAINTY_CIRCLE" - SupportedGadShapes_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "POINT_UNCERTAINTY_ELLIPSE" - SupportedGadShapes_POLYGON SupportedGadShapes = "POLYGON" - SupportedGadShapes_POINT_ALTITUDE SupportedGadShapes = "POINT_ALTITUDE" - SupportedGadShapes_POINT_ALTITUDE_UNCERTAINTY SupportedGadShapes = "POINT_ALTITUDE_UNCERTAINTY" - SupportedGadShapes_ELLIPSOID_ARC SupportedGadShapes = "ELLIPSOID_ARC" - SupportedGadShapes_LOCAL_2_D_POINT_UNCERTAINTY_ELLIPSE SupportedGadShapes = "LOCAL_2D_POINT_UNCERTAINTY_ELLIPSE" - SupportedGadShapes_LOCAL_3_D_POINT_UNCERTAINTY_ELLIPSOID SupportedGadShapes = "LOCAL_3D_POINT_UNCERTAINTY_ELLIPSOID" -) diff --git a/models/models/model_supported_nssai_availability_data.go b/models/models/model_supported_nssai_availability_data.go deleted file mode 100644 index abaf0f92..00000000 --- a/models/models/model_supported_nssai_availability_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NSSF NSSAI Availability - * - * NSSF NSSAI Availability Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.8.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// This contains the Nssai availability data information per TA supported by the AMF -type SupportedNssaiAvailabilityData struct { - Tai *Tai `json:"tai" yaml:"tai" bson:"tai,omitempty"` - SupportedSnssaiList []ExtSnssai `json:"supportedSnssaiList" yaml:"supportedSnssaiList" bson:"supportedSnssaiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - NsagInfos []NsagInfo `json:"nsagInfos,omitempty" yaml:"nsagInfos" bson:"nsagInfos,omitempty"` -} diff --git a/models/models/model_supported_snssai.go b/models/models/model_supported_snssai.go deleted file mode 100644 index 6248bd40..00000000 --- a/models/models/model_supported_snssai.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Supported S-NSSAIs -type SupportedSnssai struct { - SNssai *ExtSnssai `json:"sNssai" yaml:"sNssai" bson:"sNssai,omitempty"` - RestrictionInd bool `json:"restrictionInd,omitempty" yaml:"restrictionInd" bson:"restrictionInd,omitempty"` -} diff --git a/models/models/model_svc_experience.go b/models/models/model_svc_experience.go deleted file mode 100644 index 0e9a5d2e..00000000 --- a/models/models/model_svc_experience.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a mean opinion score with the customized range. -type SvcExperience struct { - // string with format 'float' as defined in OpenAPI. - Mos float32 `json:"mos,omitempty" yaml:"mos" bson:"mos,omitempty"` - // string with format 'float' as defined in OpenAPI. - UpperRange float32 `json:"upperRange,omitempty" yaml:"upperRange" bson:"upperRange,omitempty"` - // string with format 'float' as defined in OpenAPI. - LowerRange float32 `json:"lowerRange,omitempty" yaml:"lowerRange" bson:"lowerRange,omitempty"` -} diff --git a/models/models/model_tac_info.go b/models/models/model_tac_info.go deleted file mode 100644 index db3c36d9..00000000 --- a/models/models/model_tac_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// contains tracking area information (tracking area codes). -type TacInfo struct { - TacList []string `json:"tacList" yaml:"tacList" bson:"tacList,omitempty"` -} diff --git a/models/models/model_tac_range.go b/models/models/model_tac_range.go deleted file mode 100644 index 33e796ab..00000000 --- a/models/models/model_tac_range.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of TACs (Tracking Area Codes) -type TacRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` - Pattern string `json:"pattern,omitempty" yaml:"pattern" bson:"pattern,omitempty"` -} diff --git a/models/models/model_tad_identifier.go b/models/models/model_tad_identifier.go deleted file mode 100644 index 9a3e7c64..00000000 --- a/models/models/model_tad_identifier.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TadIdentifier string - -// List of TADIdentifier -const ( - TadIdentifier_CS TadIdentifier = "CS" - TadIdentifier_PS TadIdentifier = "PS" -) diff --git a/models/models/model_tads_information.go b/models/models/model_tads_information.go deleted file mode 100644 index 7b28d16e..00000000 --- a/models/models/model_tads_information.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// T-ADS Information -type TadsInformation struct { - VoiceOverPsSessionSupport ImsVoiceOverPsSessionSupport `json:"voiceOverPsSessionSupport" yaml:"voiceOverPsSessionSupport" bson:"voiceOverPsSessionSupport,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastUeActivityTime *time.Time `json:"lastUeActivityTime,omitempty" yaml:"lastUeActivityTime" bson:"lastUeActivityTime,omitempty"` -} diff --git a/models/models/model_tag_type.go b/models/models/model_tag_type.go deleted file mode 100644 index cafa2a3f..00000000 --- a/models/models/model_tag_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Defines the Tag Type -type TagType struct { - TagName string `json:"tagName" yaml:"tagName" bson:"tagName,omitempty"` - KeyType KeyType `json:"keyType" yaml:"keyType" bson:"keyType,omitempty"` - Sort bool `json:"sort,omitempty" yaml:"sort" bson:"sort,omitempty"` - Presence bool `json:"presence,omitempty" yaml:"presence" bson:"presence,omitempty"` -} diff --git a/models/models/model_tai.go b/models/models/model_tai.go deleted file mode 100644 index 0db4aaa6..00000000 --- a/models/models/model_tai.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the tracking area identity as described in 3GPP 23.003 -type Tai struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // 2 or 3-octet string identifying a tracking area code as specified in clause 9.3.3.10 of 3GPP TS 38.413, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TAC shall appear first in the string, and the character representing the 4 least significant bit of the TAC shall appear last in the string. - Tac string `json:"tac" yaml:"tac" bson:"tac,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_tai_range.go b/models/models/model_tai_range.go deleted file mode 100644 index 713f0840..00000000 --- a/models/models/model_tai_range.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NSSF NS Selection - * - * NSSF Network Slice Selection Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.531 V17.7.0; 5G System; Network Slice Selection Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.531/ - * - * API version: 2.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of TAIs (Tracking Area Identities) -type TaiRange struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - TacRangeList []TacRange `json:"tacRangeList" yaml:"tacRangeList" bson:"tacRangeList,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_target_area.go b/models/models/model_target_area.go deleted file mode 100644 index c9370323..00000000 --- a/models/models/model_target_area.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// TA list or TAI range list or any TA -type TargetArea struct { - TaList []Tai `json:"taList,omitempty" yaml:"taList" bson:"taList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - AnyTa bool `json:"anyTa,omitempty" yaml:"anyTa" bson:"anyTa,omitempty"` -} diff --git a/models/models/model_target_dnai_info.go b/models/models/model_target_dnai_info.go deleted file mode 100644 index 2b8b8a1a..00000000 --- a/models/models/model_target_dnai_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Target DNAI Information -type TargetDnaiInfo struct { - // DNAI (Data network access identifier), see clause 5.6.7 of 3GPP TS 23.501. - TargetDnai string `json:"targetDnai,omitempty" yaml:"targetDnai" bson:"targetDnai,omitempty"` - SmfSelectionType SmfSelectionType `json:"smfSelectionType" yaml:"smfSelectionType" bson:"smfSelectionType,omitempty"` -} diff --git a/models/models/model_target_ue_information.go b/models/models/model_target_ue_information.go deleted file mode 100644 index 336eaaca..00000000 --- a/models/models/model_target_ue_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the target UE information. -type TargetUeInformation struct { - AnyUe bool `json:"anyUe,omitempty" yaml:"anyUe" bson:"anyUe,omitempty"` - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - Gpsis []string `json:"gpsis,omitempty" yaml:"gpsis" bson:"gpsis,omitempty"` - IntGroupIds []string `json:"intGroupIds,omitempty" yaml:"intGroupIds" bson:"intGroupIds,omitempty"` -} diff --git a/models/models/model_temporal_validity.go b/models/models/model_temporal_validity.go deleted file mode 100644 index 8f448cb1..00000000 --- a/models/models/model_temporal_validity.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Indicates the time interval(s) during which the AF request is to be applied. -type TemporalValidity struct { - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StopTime *time.Time `json:"stopTime,omitempty" yaml:"stopTime" bson:"stopTime,omitempty"` -} diff --git a/models/models/model_termination_info.go b/models/models/model_termination_info.go deleted file mode 100644 index 7a0cd06f..00000000 --- a/models/models/model_termination_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the cause for requesting the deletion of the Individual Application Session Context resource. -type TerminationInfo struct { - TermCause PcfPolicyAuthorizationTerminationCause `json:"termCause" yaml:"termCause" bson:"termCause,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` -} diff --git a/models/models/model_threshold_level.go b/models/models/model_threshold_level.go deleted file mode 100644 index 61029264..00000000 --- a/models/models/model_threshold_level.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a threshold level. -type ThresholdLevel struct { - CongLevel int32 `json:"congLevel,omitempty" yaml:"congLevel" bson:"congLevel,omitempty"` - NfLoadLevel int32 `json:"nfLoadLevel,omitempty" yaml:"nfLoadLevel" bson:"nfLoadLevel,omitempty"` - NfCpuUsage int32 `json:"nfCpuUsage,omitempty" yaml:"nfCpuUsage" bson:"nfCpuUsage,omitempty"` - NfMemoryUsage int32 `json:"nfMemoryUsage,omitempty" yaml:"nfMemoryUsage" bson:"nfMemoryUsage,omitempty"` - NfStorageUsage int32 `json:"nfStorageUsage,omitempty" yaml:"nfStorageUsage" bson:"nfStorageUsage,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - AvgTrafficRate string `json:"avgTrafficRate,omitempty" yaml:"avgTrafficRate" bson:"avgTrafficRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxTrafficRate string `json:"maxTrafficRate,omitempty" yaml:"maxTrafficRate" bson:"maxTrafficRate,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - AvgPacketDelay int32 `json:"avgPacketDelay,omitempty" yaml:"avgPacketDelay" bson:"avgPacketDelay,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - MaxPacketDelay int32 `json:"maxPacketDelay,omitempty" yaml:"maxPacketDelay" bson:"maxPacketDelay,omitempty"` - // Unsigned integer indicating Packet Loss Rate (see clauses 5.7.2.8 and 5.7.4 of 3GPP TS 23.501), expressed in tenth of percent. - AvgPacketLossRate int32 `json:"avgPacketLossRate,omitempty" yaml:"avgPacketLossRate" bson:"avgPacketLossRate,omitempty"` - // string with format 'float' as defined in OpenAPI. - SvcExpLevel float32 `json:"svcExpLevel,omitempty" yaml:"svcExpLevel" bson:"svcExpLevel,omitempty"` -} diff --git a/models/models/model_threshold_value.go b/models/models/model_threshold_value.go deleted file mode 100644 index f1eac338..00000000 --- a/models/models/model_threshold_value.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the threshold value(s) for RTT and/or Packet Loss Rate. -type ThresholdValue struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - RttThres int32 `json:"rttThres,omitempty" yaml:"rttThres" bson:"rttThres,omitempty"` - // This data type is defined in the same way as the 'PacketLossRate' data type, but with the OpenAPI 'nullable: true' property. - PlrThres int32 `json:"plrThres,omitempty" yaml:"plrThres" bson:"plrThres,omitempty"` -} diff --git a/models/models/model_throughput.go b/models/models/model_throughput.go deleted file mode 100644 index 4461dd81..00000000 --- a/models/models/model_throughput.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Throughput struct { - // string with format 'float' as defined in OpenAPI. - GuaranteedThpt float32 `json:"guaranteedThpt,omitempty" yaml:"guaranteedThpt" bson:"guaranteedThpt,omitempty"` - // string with format 'float' as defined in OpenAPI. - MaximumThpt float32 `json:"maximumThpt,omitempty" yaml:"maximumThpt" bson:"maximumThpt,omitempty"` -} diff --git a/models/models/model_time_period.go b/models/models/model_time_period.go deleted file mode 100644 index b7648f93..00000000 --- a/models/models/model_time_period.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the periodicity for the defined usage monitoring data limits. -type TimePeriod struct { - Period Periodicity `json:"period" yaml:"period" bson:"period,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxNumPeriod int32 `json:"maxNumPeriod,omitempty" yaml:"maxNumPeriod" bson:"maxNumPeriod,omitempty"` -} diff --git a/models/models/model_time_unit.go b/models/models/model_time_unit.go deleted file mode 100644 index a7430e5e..00000000 --- a/models/models/model_time_unit.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TimeUnit string - -// List of TimeUnit -const ( - TimeUnit_MINUTE TimeUnit = "MINUTE" - TimeUnit_HOUR TimeUnit = "HOUR" - TimeUnit_DAY TimeUnit = "DAY" -) diff --git a/models/models/model_time_window.go b/models/models/model_time_window.go deleted file mode 100644 index 972318ee..00000000 --- a/models/models/model_time_window.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a time window identified by a start time and a stop time. -type TimeWindow struct { - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StopTime *time.Time `json:"stopTime" yaml:"stopTime" bson:"stopTime,omitempty"` -} diff --git a/models/models/model_timer.go b/models/models/model_timer.go deleted file mode 100644 index 00425e62..00000000 --- a/models/models/model_timer.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents a timer. -type Timer struct { - // Represents the identifier of a timer. - TimerId string `json:"timerId,omitempty" yaml:"timerId" bson:"timerId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expires *time.Time `json:"expires" yaml:"expires" bson:"expires,omitempty"` - // A map (list of key-value pairs where a tagName of type string serves as key) of tagValue lists - MetaTags map[string][]string `json:"metaTags,omitempty" yaml:"metaTags" bson:"metaTags,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference,omitempty" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - DeleteAfter int32 `json:"deleteAfter,omitempty" yaml:"deleteAfter" bson:"deleteAfter,omitempty"` -} diff --git a/models/models/model_timer_id_list.go b/models/models/model_timer_id_list.go deleted file mode 100644 index 4aa5ae4e..00000000 --- a/models/models/model_timer_id_list.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudsf_Timer - * - * Nudsf Timer Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a list of timer IDs. -type TimerIdList struct { - TimerIds []string `json:"timerIds" yaml:"timerIds" bson:"timerIds,omitempty"` -} diff --git a/models/models/model_tmgi.go b/models/models/model_tmgi.go deleted file mode 100644 index e0896141..00000000 --- a/models/models/model_tmgi.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_MBSPolicyControl API - * - * MBS Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.537 V17.3.0; 5G System; Multicast/Broadcast Policy Control Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.537/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Temporary Mobile Group Identity -type Tmgi struct { - // MBS Service ID - MbsServiceId string `json:"mbsServiceId" yaml:"mbsServiceId" bson:"mbsServiceId,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` -} diff --git a/models/models/model_tmgi_range.go b/models/models/model_tmgi_range.go deleted file mode 100644 index b694bc01..00000000 --- a/models/models/model_tmgi_range.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of TMGIs -type TmgiRange struct { - MbsServiceIdStart string `json:"mbsServiceIdStart" yaml:"mbsServiceIdStart" bson:"mbsServiceIdStart,omitempty"` - MbsServiceIdEnd string `json:"mbsServiceIdEnd" yaml:"mbsServiceIdEnd" bson:"mbsServiceIdEnd,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` -} diff --git a/models/models/model_tnap_id.go b/models/models/model_tnap_id.go deleted file mode 100644 index e7e6b2e7..00000000 --- a/models/models/model_tnap_id.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contain the TNAP Identifier see clause5.6.2 of 3GPP TS 23.501. -type TnapId struct { - // This IE shall be present if the UE is accessing the 5GC via a trusted WLAN access network.When present, it shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. - SsId string `json:"ssId,omitempty" yaml:"ssId" bson:"ssId,omitempty"` - // When present, it shall contain the BSSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. - BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` -} diff --git a/models/models/model_tngf_info.go b/models/models/model_tngf_info.go deleted file mode 100644 index aaac5afa..00000000 --- a/models/models/model_tngf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Infomation of the TNGF endpoints -type TngfInfo struct { - Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` - Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` - // Fully Qualified Domain Name - EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` -} diff --git a/models/models/model_top_application.go b/models/models/model_top_application.go deleted file mode 100644 index 34b31086..00000000 --- a/models/models/model_top_application.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Top application that contributes the most to the traffic. -type TopApplication struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` -} diff --git a/models/models/model_topological_service_area.go b/models/models/model_topological_service_area.go deleted file mode 100644 index 57712f73..00000000 --- a/models/models/model_topological_service_area.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TopologicalServiceArea struct { - CellIdList []int32 `json:"cellIdList,omitempty" yaml:"cellIdList" bson:"cellIdList,omitempty"` - TrackingAreaIdList []Tai `json:"trackingAreaIdList,omitempty" yaml:"trackingAreaIdList" bson:"trackingAreaIdList,omitempty"` - ServingPLMN *PlmnId `json:"servingPLMN,omitempty" yaml:"servingPLMN" bson:"servingPLMN,omitempty"` -} diff --git a/models/models/model_trace_data.go b/models/models/model_trace_data.go deleted file mode 100644 index f2a4a72e..00000000 --- a/models/models/model_trace_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// contains Trace control and configuration parameters. -type TraceData struct { - // Trace Reference (see 3GPP TS 32.422).It shall be encoded as the concatenation of MCC, MNC and Trace ID as follows: 'MCC'\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` - // Identifies the N6 traffic routing requirement. - TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` - TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` - // Identifies the temporal validities for the N6 traffic routing requirement. - TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` - // Contains the headers provisioned by the NEF. - Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` - SubscribedEvents []SubscribedEvent `json:"subscribedEvents,omitempty" yaml:"subscribedEvents" bson:"subscribedEvents,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // indicating a time in seconds. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_traffic_influ_data_notif.go b/models/models/model_traffic_influ_data_notif.go deleted file mode 100644 index 46b85ba1..00000000 --- a/models/models/model_traffic_influ_data_notif.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents traffic influence data for notification. -type TrafficInfluDataNotif struct { - // String providing an URI formatted according to RFC 3986. - ResUri string `json:"resUri" yaml:"resUri" bson:"resUri,omitempty"` - TrafficInfluData *TrafficInfluData `json:"trafficInfluData,omitempty" yaml:"trafficInfluData" bson:"trafficInfluData,omitempty"` -} diff --git a/models/models/model_traffic_influ_data_patch.go b/models/models/model_traffic_influ_data_patch.go deleted file mode 100644 index d2cae1d3..00000000 --- a/models/models/model_traffic_influ_data_patch.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the Traffic Influence Data to be updated in the UDR. -type TrafficInfluDataPatch struct { - // Contains the Notification Correlation Id allocated by the NEF for the UP path change notification. - UpPathChgNotifCorreId string `json:"upPathChgNotifCorreId,omitempty" yaml:"upPathChgNotifCorreId" bson:"upPathChgNotifCorreId,omitempty"` - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` - // Identifies Ethernet packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - EthTrafficFilters []EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` - // Identifies IP packet filters. Either \"trafficFilters\" or \"ethTrafficFilters\" shall be included if applicable. - TrafficFilters []FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` - // Identifies the N6 traffic routing requirement. - TrafficRoutes []*RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` - TraffCorreInd bool `json:"traffCorreInd,omitempty" yaml:"traffCorreInd" bson:"traffCorreInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidStartTime *time.Time `json:"validStartTime,omitempty" yaml:"validStartTime" bson:"validStartTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidEndTime *time.Time `json:"validEndTime,omitempty" yaml:"validEndTime" bson:"validEndTime,omitempty"` - // Identifies the temporal validities for the N6 traffic routing requirement. - TempValidities []TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - // String providing an URI formatted according to RFC 3986. - UpPathChgNotifUri string `json:"upPathChgNotifUri,omitempty" yaml:"upPathChgNotifUri" bson:"upPathChgNotifUri,omitempty"` - // Contains the headers provisioned by the NEF. - Headers []string `json:"headers,omitempty" yaml:"headers" bson:"headers,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - MaxAllowedUpLat int32 `json:"maxAllowedUpLat,omitempty" yaml:"maxAllowedUpLat" bson:"maxAllowedUpLat,omitempty"` - // Indicates whether simultaneous connectivity should be temporarily maintained for the source and target PSA. - SimConnInd bool `json:"simConnInd,omitempty" yaml:"simConnInd" bson:"simConnInd,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - SimConnTerm int32 `json:"simConnTerm,omitempty" yaml:"simConnTerm" bson:"simConnTerm,omitempty"` -} diff --git a/models/models/model_traffic_influ_sub.go b/models/models/model_traffic_influ_sub.go deleted file mode 100644 index 80aaaec1..00000000 --- a/models/models/model_traffic_influ_sub.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents traffic influence subscription data. -type TrafficInfluSub struct { - // Each element identifies a DNN. - Dnns []string `json:"dnns,omitempty" yaml:"dnns" bson:"dnns,omitempty"` - // Each element identifies a slice. - Snssais []Snssai `json:"snssais,omitempty" yaml:"snssais" bson:"snssais,omitempty"` - // Each element identifies a group of users. - InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` - // Each element identifies the user. - Supis []string `json:"supis,omitempty" yaml:"supis" bson:"supis,omitempty"` - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_traffic_information.go b/models/models/model_traffic_information.go deleted file mode 100644 index c15dd647..00000000 --- a/models/models/model_traffic_information.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Traffic information including UL/DL data rate and/or Traffic volume. -type TrafficInformation struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - UplinkRate string `json:"uplinkRate,omitempty" yaml:"uplinkRate" bson:"uplinkRate,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - DownlinkRate string `json:"downlinkRate,omitempty" yaml:"downlinkRate" bson:"downlinkRate,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` -} diff --git a/models/models/model_traffic_profile.go b/models/models/model_traffic_profile.go deleted file mode 100644 index 3f3be97b..00000000 --- a/models/models/model_traffic_profile.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrafficProfile string - -// List of TrafficProfile -const ( - TrafficProfile_SINGLE_TRANS_UL TrafficProfile = "SINGLE_TRANS_UL" - TrafficProfile_SINGLE_TRANS_DL TrafficProfile = "SINGLE_TRANS_DL" - TrafficProfile_DUAL_TRANS_UL_FIRST TrafficProfile = "DUAL_TRANS_UL_FIRST" - TrafficProfile_DUAL_TRANS_DL_FIRST TrafficProfile = "DUAL_TRANS_DL_FIRST" - TrafficProfile_MULTI_TRANS TrafficProfile = "MULTI_TRANS" -) diff --git a/models/models/model_traffic_profile_rm.go b/models/models/model_traffic_profile_rm.go deleted file mode 100644 index 12735bd1..00000000 --- a/models/models/model_traffic_profile_rm.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrafficProfileRm struct { -} diff --git a/models/models/model_transaction_info.go b/models/models/model_transaction_info.go deleted file mode 100644 index 87cd9603..00000000 --- a/models/models/model_transaction_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents SMF Transaction Information. -type TransactionInfo struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Transaction int32 `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - TransacMetrics []TransactionMetric `json:"transacMetrics,omitempty" yaml:"transacMetrics" bson:"transacMetrics,omitempty"` -} diff --git a/models/models/model_transaction_metric.go b/models/models/model_transaction_metric.go deleted file mode 100644 index 788b6ddd..00000000 --- a/models/models/model_transaction_metric.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransactionMetric string - -// List of TransactionMetric -const ( - TransactionMetric_EST TransactionMetric = "PDU_SES_EST" - TransactionMetric_AUTH TransactionMetric = "PDU_SES_AUTH" - TransactionMetric_MODIF TransactionMetric = "PDU_SES_MODIF" - TransactionMetric_REL TransactionMetric = "PDU_SES_REL" -) diff --git a/models/models/model_transfer_mo_data_req_data.go b/models/models/model_transfer_mo_data_req_data.go deleted file mode 100644 index 3ec35f02..00000000 --- a/models/models/model_transfer_mo_data_req_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Transfer MO Data Request -type TransferMoDataReqData struct { - MoData *RefToBinaryData `json:"moData" yaml:"moData" bson:"moData,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` -} diff --git a/models/models/model_transfer_mo_data_request.go b/models/models/model_transfer_mo_data_request.go deleted file mode 100644 index 41a368a2..00000000 --- a/models/models/model_transfer_mo_data_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransferMoDataRequest struct { - JsonData *TransferMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` -} diff --git a/models/models/model_transfer_mt_data_add_info.go b/models/models/model_transfer_mt_data_add_info.go deleted file mode 100644 index 1ff330e3..00000000 --- a/models/models/model_transfer_mt_data_add_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Transfer MT Data Error Response Additional Information -type TransferMtDataAddInfo struct { - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_transfer_mt_data_error.go b/models/models/model_transfer_mt_data_error.go deleted file mode 100644 index dd444593..00000000 --- a/models/models/model_transfer_mt_data_error.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Transfer MT Data Error Response -type TransferMtDataError struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` - // indicating a time in seconds. - MaxWaitingTime int32 `json:"maxWaitingTime,omitempty" yaml:"maxWaitingTime" bson:"maxWaitingTime,omitempty"` -} diff --git a/models/models/model_transfer_mt_data_req_data.go b/models/models/model_transfer_mt_data_req_data.go deleted file mode 100644 index 18db6a7e..00000000 --- a/models/models/model_transfer_mt_data_req_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Transfer MT Data Request -type TransferMtDataReqData struct { - MtData *RefToBinaryData `json:"mtData" yaml:"mtData" bson:"mtData,omitempty"` -} diff --git a/models/models/model_transfer_mt_data_request.go b/models/models/model_transfer_mt_data_request.go deleted file mode 100644 index 08902278..00000000 --- a/models/models/model_transfer_mt_data_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransferMtDataRequest struct { - JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` -} diff --git a/models/models/model_transfer_mt_dataismf_request.go b/models/models/model_transfer_mt_dataismf_request.go deleted file mode 100644 index a1320211..00000000 --- a/models/models/model_transfer_mt_dataismf_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransferMtDataismfRequest struct { - JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` -} diff --git a/models/models/model_transfer_reason.go b/models/models/model_transfer_reason.go deleted file mode 100644 index 41449a20..00000000 --- a/models/models/model_transfer_reason.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransferReason string - -// List of TransferReason -const ( - TransferReason_INIT_REG TransferReason = "INIT_REG" - TransferReason_MOBI_REG TransferReason = "MOBI_REG" - TransferReason_MOBI_REG_UE_VALIDATED TransferReason = "MOBI_REG_UE_VALIDATED" -) diff --git a/models/models/model_transfer_request_type.go b/models/models/model_transfer_request_type.go deleted file mode 100644 index d9288713..00000000 --- a/models/models/model_transfer_request_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransferRequestType string - -// List of TransferRequestType -const ( - TransferRequestType_PREPARE TransferRequestType = "PREPARE" - TransferRequestType_TRANSFER TransferRequestType = "TRANSFER" -) diff --git a/models/models/model_transmitter_info.go b/models/models/model_transmitter_info.go deleted file mode 100644 index 315bfcd6..00000000 --- a/models/models/model_transmitter_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransmitterInfo struct { - ProseSourceIPAddress *IpAddr `json:"proseSourceIPAddress,omitempty" yaml:"proseSourceIPAddress" bson:"proseSourceIPAddress,omitempty"` - ProseSourceL2Id string `json:"proseSourceL2Id,omitempty" yaml:"proseSourceL2Id" bson:"proseSourceL2Id,omitempty"` -} diff --git a/models/models/model_transport_protocol.go b/models/models/model_transport_protocol.go deleted file mode 100644 index a0856859..00000000 --- a/models/models/model_transport_protocol.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TransportProtocol string - -// List of TransportProtocol -const ( - TransportProtocol_UDP TransportProtocol = "UDP" - TransportProtocol_TCP TransportProtocol = "TCP" -) diff --git a/models/models/model_trigger_category.go b/models/models/model_trigger_category.go deleted file mode 100644 index cdb0a9ec..00000000 --- a/models/models/model_trigger_category.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TriggerCategory string - -// List of TriggerCategory -const ( - TriggerCategory_IMMEDIATE_REPORT TriggerCategory = "IMMEDIATE_REPORT" - TriggerCategory_DEFERRED_REPORT TriggerCategory = "DEFERRED_REPORT" -) diff --git a/models/models/model_trigger_point.go b/models/models/model_trigger_point.go deleted file mode 100644 index 865f1a8b..00000000 --- a/models/models/model_trigger_point.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the conditions that should be checked in order to find out if an Application Server should be contacted or not -type TriggerPoint struct { - ConditionType TypeOfCondition `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - SptList []Spt `json:"sptList" yaml:"sptList" bson:"sptList,omitempty"` -} diff --git a/models/models/model_trigger_request.go b/models/models/model_trigger_request.go deleted file mode 100644 index 0befbc1c..00000000 --- a/models/models/model_trigger_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TriggerRequest struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - FailedPcscf *PcscfAddress `json:"failedPcscf,omitempty" yaml:"failedPcscf" bson:"failedPcscf,omitempty"` -} diff --git a/models/models/model_trunk_group_id.go b/models/models/model_trunk_group_id.go deleted file mode 100644 index d9102ed8..00000000 --- a/models/models/model_trunk_group_id.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrunkGroupId struct { - IncomingTrunkGroupID string `json:"incomingTrunkGroupID,omitempty" yaml:"incomingTrunkGroupID" bson:"incomingTrunkGroupID,omitempty"` - OutgoingTrunkGroupID string `json:"outgoingTrunkGroupID,omitempty" yaml:"outgoingTrunkGroupID" bson:"outgoingTrunkGroupID,omitempty"` -} diff --git a/models/models/model_trust_af_info.go b/models/models/model_trust_af_info.go deleted file mode 100644 index 6d8fc2e2..00000000 --- a/models/models/model_trust_af_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a trusted AF Instance -type TrustAfInfo struct { - SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` - AfEvents []AfEventExposureAfEvent `json:"afEvents,omitempty" yaml:"afEvents" bson:"afEvents,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - InternalGroupId []string `json:"internalGroupId,omitempty" yaml:"internalGroupId" bson:"internalGroupId,omitempty"` - MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` -} diff --git a/models/models/model_tsc_qos_requirement.go b/models/models/model_tsc_qos_requirement.go deleted file mode 100644 index 51cf6600..00000000 --- a/models/models/model_tsc_qos_requirement.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents QoS requirements for time sensitive communication. -type TscQosRequirement struct { - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` - // Represents the priority level of TSC Flows. - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` - TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` - TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` -} diff --git a/models/models/model_tsc_qos_requirement_rm.go b/models/models/model_tsc_qos_requirement_rm.go deleted file mode 100644 index 21c73d5a..00000000 --- a/models/models/model_tsc_qos_requirement_rm.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the same as the TscQosRequirement data type but with the nullable:true property. -type TscQosRequirementRm struct { - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - ReqGbrDl string `json:"reqGbrDl,omitempty" yaml:"reqGbrDl" bson:"reqGbrDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - ReqGbrUl string `json:"reqGbrUl,omitempty" yaml:"reqGbrUl" bson:"reqGbrUl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - ReqMbrDl string `json:"reqMbrDl,omitempty" yaml:"reqMbrDl" bson:"reqMbrDl,omitempty"` - // This data type is defined in the same way as the 'BitRate' data type, but with the OpenAPI 'nullable: true' property. - ReqMbrUl string `json:"reqMbrUl,omitempty" yaml:"reqMbrUl" bson:"reqMbrUl,omitempty"` - // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` - // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. - Req5Gsdelay int32 `json:"req5Gsdelay,omitempty" yaml:"req5Gsdelay" bson:"req5Gsdelay,omitempty"` - // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with the OpenAPI 'nullable: true' property. - TscaiTimeDom int32 `json:"tscaiTimeDom,omitempty" yaml:"tscaiTimeDom" bson:"tscaiTimeDom,omitempty"` - TscaiInputDl *TscaiInputContainer `json:"tscaiInputDl,omitempty" yaml:"tscaiInputDl" bson:"tscaiInputDl,omitempty"` - TscaiInputUl *TscaiInputContainer `json:"tscaiInputUl,omitempty" yaml:"tscaiInputUl" bson:"tscaiInputUl,omitempty"` -} diff --git a/models/models/model_tscai_input_container.go b/models/models/model_tscai_input_container.go deleted file mode 100644 index 25bc2d83..00000000 --- a/models/models/model_tscai_input_container.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Indicates TSC Traffic pattern. -type TscaiInputContainer struct { - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Periodicity int32 `json:"periodicity,omitempty" yaml:"periodicity" bson:"periodicity,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - BurstArrivalTime *time.Time `json:"burstArrivalTime,omitempty" yaml:"burstArrivalTime" bson:"burstArrivalTime,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - SurTimeInNumMsg int32 `json:"surTimeInNumMsg,omitempty" yaml:"surTimeInNumMsg" bson:"surTimeInNumMsg,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - SurTimeInTime int32 `json:"surTimeInTime,omitempty" yaml:"surTimeInTime" bson:"surTimeInTime,omitempty"` -} diff --git a/models/models/model_tsctsf_info.go b/models/models/model_tsctsf_info.go deleted file mode 100644 index 1eb13417..00000000 --- a/models/models/model_tsctsf_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a TSCTSF NF Instance -type TsctsfInfo struct { - // A map (list of key-value pairs) where a valid JSON string serves as key - SNssaiInfoList map[string]SnssaiTsctsfInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` -} diff --git a/models/models/model_tsn_bridge_info.go b/models/models/model_tsn_bridge_info.go deleted file mode 100644 index 2731113a..00000000 --- a/models/models/model_tsn_bridge_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains parameters that describe and identify the TSC user plane node. -type TsnBridgeInfo struct { - // Integer where the allowed values correspond to the value range of an unsigned 64-bit integer. - BridgeId int32 `json:"bridgeId,omitempty" yaml:"bridgeId" bson:"bridgeId,omitempty"` - // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. - DsttAddr string `json:"dsttAddr,omitempty" yaml:"dsttAddr" bson:"dsttAddr,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - DsttPortNum int32 `json:"dsttPortNum,omitempty" yaml:"dsttPortNum" bson:"dsttPortNum,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - DsttResidTime int32 `json:"dsttResidTime,omitempty" yaml:"dsttResidTime" bson:"dsttResidTime,omitempty"` -} diff --git a/models/models/model_tsn_qos_container.go b/models/models/model_tsn_qos_container.go deleted file mode 100644 index fd556172..00000000 --- a/models/models/model_tsn_qos_container.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates TSC Traffic QoS. -type TsnQosContainer struct { - // Unsigned integer indicating Maximum Data Burst Volume (see clauses 5.7.3.7 and 5.7.4 of 3GPP TS 23.501), expressed in Bytes. - MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` - // Unsigned integer indicating Packet Delay Budget (see clauses 5.7.3.4 and 5.7.4 of 3GPP TS 23.501), expressed in milliseconds. - TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` - // Represents the priority level of TSC Flows. - TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` -} diff --git a/models/models/model_tsn_qos_container_rm.go b/models/models/model_tsn_qos_container_rm.go deleted file mode 100644 index 70aaa259..00000000 --- a/models/models/model_tsn_qos_container_rm.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates removable TSC Traffic QoS. -type TsnQosContainerRm struct { - // This data type is defined in the same way as the 'ExtMaxDataBurstVol' data type, but with the OpenAPI 'nullable: true' property. - MaxTscBurstSize int32 `json:"maxTscBurstSize,omitempty" yaml:"maxTscBurstSize" bson:"maxTscBurstSize,omitempty"` - // This data type is defined in the same way as the 'PacketDelBudget' data type, but with the OpenAPI 'nullable: true' property. - TscPackDelay int32 `json:"tscPackDelay,omitempty" yaml:"tscPackDelay" bson:"tscPackDelay,omitempty"` - // This data type is defined in the same way as the TscPriorityLevel data type, but with the OpenAPI nullable property set to true. - TscPrioLevel int32 `json:"tscPrioLevel,omitempty" yaml:"tscPrioLevel" bson:"tscPrioLevel,omitempty"` -} diff --git a/models/models/model_tunnel_info.go b/models/models/model_tunnel_info.go deleted file mode 100644 index 3388831e..00000000 --- a/models/models/model_tunnel_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Tunnel Information -type TunnelInfo struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - // GTP Tunnel Endpoint Identifier - GtpTeid string `json:"gtpTeid" yaml:"gtpTeid" bson:"gtpTeid,omitempty"` - AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` -} diff --git a/models/models/model_twan_location_data.go b/models/models/model_twan_location_data.go deleted file mode 100644 index fa8d55fb..00000000 --- a/models/models/model_twan_location_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Location information of the 3GPP AAA Server for Trusted W-LAN Access -type TwanLocationData struct { - TwanSsid string `json:"twanSsid" yaml:"twanSsid" bson:"twanSsid,omitempty"` - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - TwanBssid string `json:"twanBssid,omitempty" yaml:"twanBssid" bson:"twanBssid,omitempty"` - CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` - TwanOperatorName string `json:"twanOperatorName,omitempty" yaml:"twanOperatorName" bson:"twanOperatorName,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - LogicalAccessId string `json:"logicalAccessId,omitempty" yaml:"logicalAccessId" bson:"logicalAccessId,omitempty"` -} diff --git a/models/models/model_twap_id.go b/models/models/model_twap_id.go deleted file mode 100644 index 9b14ce26..00000000 --- a/models/models/model_twap_id.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contain the TWAP Identifier as defined in clause 4.2.8.5.3 of 3GPP TS 23.501 or the WLAN location information as defined in clause 4.5.7.2.8 of 3GPP TS 23.402. -type TwapId struct { - // This IE shall contain the SSID of the access point to which the UE is attached, that is received over NGAP, see IEEE Std 802.11-2012. - SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` - // When present, it shall contain the BSSID of the access point to which the UE is attached, for trusted WLAN access, see IEEE Std 802.11-2012. - BssId string `json:"bssId,omitempty" yaml:"bssId" bson:"bssId,omitempty"` - // string with format 'bytes' as defined in OpenAPI - CivicAddress string `json:"civicAddress,omitempty" yaml:"civicAddress" bson:"civicAddress,omitempty"` -} diff --git a/models/models/model_twif_info.go b/models/models/model_twif_info.go deleted file mode 100644 index b10b332d..00000000 --- a/models/models/model_twif_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Addressing information (IP addresses, FQDN) of the TWIF -type TwifInfo struct { - Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` - Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` - // Fully Qualified Domain Name - EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` -} diff --git a/models/models/model_type_of_condition.go b/models/models/model_type_of_condition.go deleted file mode 100644 index 42306bbe..00000000 --- a/models/models/model_type_of_condition.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TypeOfCondition string - -// List of TypeOfCondition -const ( - TypeOfCondition_CNF TypeOfCondition = "CNF" - TypeOfCondition_DNF TypeOfCondition = "DNF" -) diff --git a/models/models/model_uav_auth_failure.go b/models/models/model_uav_auth_failure.go deleted file mode 100644 index b710994a..00000000 --- a/models/models/model_uav_auth_failure.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnef_Authentication - * - * NEF Auth Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.256 V17.3.0; 5G System;Uncrewed Aerial Systems Network Function (UAS-NF); Aerial Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.256/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UAV auth failure -type UavAuthFailure struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - UasResourceRelease bool `json:"uasResourceRelease,omitempty" yaml:"uasResourceRelease" bson:"uasResourceRelease,omitempty"` -} diff --git a/models/models/model_uc_purpose.go b/models/models/model_uc_purpose.go deleted file mode 100644 index d5665e47..00000000 --- a/models/models/model_uc_purpose.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UcPurpose string - -// List of UcPurpose -const ( - UcPurpose_ANALYTICS UcPurpose = "ANALYTICS" - UcPurpose_MODEL_TRAINING UcPurpose = "MODEL_TRAINING" - UcPurpose_NW_CAP_EXPOSURE UcPurpose = "NW_CAP_EXPOSURE" - UcPurpose_EDGEAPP_UE_LOCATION UcPurpose = "EDGEAPP_UE_LOCATION" -) diff --git a/models/models/model_uc_subscription_data.go b/models/models/model_uc_subscription_data.go deleted file mode 100644 index 0234c4a4..00000000 --- a/models/models/model_uc_subscription_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the User Consent Subscription Data. -type UcSubscriptionData struct { - // A map(list of key-value pairs) where user consent purpose serves as key of user consent - UserConsentPerPurposeList map[string]UserConsent `json:"userConsentPerPurposeList,omitempty" yaml:"userConsentPerPurposeList" bson:"userConsentPerPurposeList,omitempty"` -} diff --git a/models/models/model_udm_ee_association_type.go b/models/models/model_udm_ee_association_type.go deleted file mode 100644 index db143fff..00000000 --- a/models/models/model_udm_ee_association_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeAssociationType string - -// List of UdmEEAssociationType -const ( - UdmEeAssociationType_IMEI_CHANGE UdmEeAssociationType = "IMEI_CHANGE" - UdmEeAssociationType_IMEISV_CHANGE UdmEeAssociationType = "IMEISV_CHANGE" -) diff --git a/models/models/model_udm_ee_created_ee_subscription.go b/models/models/model_udm_ee_created_ee_subscription.go deleted file mode 100644 index 0306696b..00000000 --- a/models/models/model_udm_ee_created_ee_subscription.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeCreatedEeSubscription struct { - EeSubscription *UdmEeEeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` - EventReports []UdmEeMonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` - EpcStatusInd bool `json:"epcStatusInd,omitempty" yaml:"epcStatusInd" bson:"epcStatusInd,omitempty"` - // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration - FailedMonitoringConfigs map[string]UdmEeFailedMonitoringConfiguration `json:"failedMonitoringConfigs,omitempty" yaml:"failedMonitoringConfigs" bson:"failedMonitoringConfigs,omitempty"` - // A map (list of key-value pairs where referenceId converted from integer to string serves as key; see clause 6.4.6.3.2) of FailedMonitoringConfiguration, the key value \"ALL\" may be used to identify a map entry which contains the failed cause of the EE subscription was not successful in EPC domain. - FailedMoniConfigsEPC map[string]UdmEeFailedMonitoringConfiguration `json:"failedMoniConfigsEPC,omitempty" yaml:"failedMoniConfigsEPC" bson:"failedMoniConfigsEPC,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_udm_ee_ee_subscription.go b/models/models/model_udm_ee_ee_subscription.go deleted file mode 100644 index 232df5a3..00000000 --- a/models/models/model_udm_ee_ee_subscription.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeEeSubscription struct { - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` - // A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations - MonitoringConfigurations map[string]UdmEeMonitoringConfiguration `json:"monitoringConfigurations" yaml:"monitoringConfigurations" bson:"monitoringConfigurations,omitempty"` - ReportingOptions *UdmEeReportingOptions `json:"reportingOptions,omitempty" yaml:"reportingOptions" bson:"reportingOptions,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - SubscriptionId string `json:"subscriptionId,omitempty" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - EpcAppliedInd bool `json:"epcAppliedInd,omitempty" yaml:"epcAppliedInd" bson:"epcAppliedInd,omitempty"` - // Fully Qualified Domain Name - ScefDiamHost string `json:"scefDiamHost,omitempty" yaml:"scefDiamHost" bson:"scefDiamHost,omitempty"` - // Fully Qualified Domain Name - ScefDiamRealm string `json:"scefDiamRealm,omitempty" yaml:"scefDiamRealm" bson:"scefDiamRealm,omitempty"` - NotifyCorrelationId string `json:"notifyCorrelationId,omitempty" yaml:"notifyCorrelationId" bson:"notifyCorrelationId,omitempty"` - // String providing an URI formatted according to RFC 3986. - SecondCallbackRef string `json:"secondCallbackRef,omitempty" yaml:"secondCallbackRef" bson:"secondCallbackRef,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - ExcludeGpsiList []string `json:"excludeGpsiList,omitempty" yaml:"excludeGpsiList" bson:"excludeGpsiList,omitempty"` - IncludeGpsiList []string `json:"includeGpsiList,omitempty" yaml:"includeGpsiList" bson:"includeGpsiList,omitempty"` - // String providing an URI formatted according to RFC 3986. - DataRestorationCallbackUri string `json:"dataRestorationCallbackUri,omitempty" yaml:"dataRestorationCallbackUri" bson:"dataRestorationCallbackUri,omitempty"` - UdrRestartInd bool `json:"udrRestartInd,omitempty" yaml:"udrRestartInd" bson:"udrRestartInd,omitempty"` -} diff --git a/models/models/model_udm_ee_event_type.go b/models/models/model_udm_ee_event_type.go deleted file mode 100644 index 2a063de7..00000000 --- a/models/models/model_udm_ee_event_type.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeEventType string - -// List of UdmEEEventType -const ( - UdmEeEventType_LOSS_OF_CONNECTIVITY UdmEeEventType = "LOSS_OF_CONNECTIVITY" - UdmEeEventType_UE_REACHABILITY_FOR_DATA UdmEeEventType = "UE_REACHABILITY_FOR_DATA" - UdmEeEventType_UE_REACHABILITY_FOR_SMS UdmEeEventType = "UE_REACHABILITY_FOR_SMS" - UdmEeEventType_LOCATION_REPORTING UdmEeEventType = "LOCATION_REPORTING" - UdmEeEventType_CHANGE_OF_SUPI_PEI_ASSOCIATION UdmEeEventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION" - UdmEeEventType_ROAMING_STATUS UdmEeEventType = "ROAMING_STATUS" - UdmEeEventType_COMMUNICATION_FAILURE UdmEeEventType = "COMMUNICATION_FAILURE" - UdmEeEventType_AVAILABILITY_AFTER_DDN_FAILURE UdmEeEventType = "AVAILABILITY_AFTER_DDN_FAILURE" - UdmEeEventType_CN_TYPE_CHANGE UdmEeEventType = "CN_TYPE_CHANGE" - UdmEeEventType_DL_DATA_DELIVERY_STATUS UdmEeEventType = "DL_DATA_DELIVERY_STATUS" - UdmEeEventType_PDN_CONNECTIVITY_STATUS UdmEeEventType = "PDN_CONNECTIVITY_STATUS" - UdmEeEventType_UE_CONNECTION_MANAGEMENT_STATE UdmEeEventType = "UE_CONNECTION_MANAGEMENT_STATE" - UdmEeEventType_ACCESS_TYPE_REPORT UdmEeEventType = "ACCESS_TYPE_REPORT" - UdmEeEventType_REGISTRATION_STATE_REPORT UdmEeEventType = "REGISTRATION_STATE_REPORT" - UdmEeEventType_CONNECTIVITY_STATE_REPORT UdmEeEventType = "CONNECTIVITY_STATE_REPORT" - UdmEeEventType_TYPE_ALLOCATION_CODE_REPORT UdmEeEventType = "TYPE_ALLOCATION_CODE_REPORT" - UdmEeEventType_FREQUENT_MOBILITY_REGISTRATION_REPORT UdmEeEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT" - UdmEeEventType_PDU_SES_REL UdmEeEventType = "PDU_SES_REL" - UdmEeEventType_PDU_SES_EST UdmEeEventType = "PDU_SES_EST" - UdmEeEventType_UE_MEMORY_AVAILABLE_FOR_SMS UdmEeEventType = "UE_MEMORY_AVAILABLE_FOR_SMS" -) diff --git a/models/models/model_udm_ee_failed_cause.go b/models/models/model_udm_ee_failed_cause.go deleted file mode 100644 index e014c4b4..00000000 --- a/models/models/model_udm_ee_failed_cause.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeFailedCause string - -// List of UdmEEFailedCause -const ( - UdmEeFailedCause_AF_NOT_ALLOWED UdmEeFailedCause = "AF_NOT_ALLOWED" - UdmEeFailedCause_MTC_PROVIDER_NOT_ALLOWED UdmEeFailedCause = "MTC_PROVIDER_NOT_ALLOWED" - UdmEeFailedCause_MONITORING_NOT_ALLOWED UdmEeFailedCause = "MONITORING_NOT_ALLOWED" - UdmEeFailedCause_UNSUPPORTED_MONITORING_EVENT_TYPE UdmEeFailedCause = "UNSUPPORTED_MONITORING_EVENT_TYPE" - UdmEeFailedCause_UNSUPPORTED_MONITORING_REPORT_OPTIONS UdmEeFailedCause = "UNSUPPORTED_MONITORING_REPORT_OPTIONS" - UdmEeFailedCause_UNSPECIFIED UdmEeFailedCause = "UNSPECIFIED" -) diff --git a/models/models/model_udm_ee_failed_monitoring_configuration.go b/models/models/model_udm_ee_failed_monitoring_configuration.go deleted file mode 100644 index 6be67a49..00000000 --- a/models/models/model_udm_ee_failed_monitoring_configuration.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the event type and failed cause of the failed Monitoring Configuration in the EE subscription -type UdmEeFailedMonitoringConfiguration struct { - EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - FailedCause UdmEeFailedCause `json:"failedCause" yaml:"failedCause" bson:"failedCause,omitempty"` -} diff --git a/models/models/model_udm_ee_location_accuracy.go b/models/models/model_udm_ee_location_accuracy.go deleted file mode 100644 index f41db17a..00000000 --- a/models/models/model_udm_ee_location_accuracy.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeLocationAccuracy string - -// List of UdmEELocationAccuracy -const ( - UdmEeLocationAccuracy_CELL_LEVEL UdmEeLocationAccuracy = "CELL_LEVEL" - UdmEeLocationAccuracy_RAN_NODE_LEVEL UdmEeLocationAccuracy = "RAN_NODE_LEVEL" - UdmEeLocationAccuracy_TA_LEVEL UdmEeLocationAccuracy = "TA_LEVEL" - UdmEeLocationAccuracy_N3_IWF_LEVEL UdmEeLocationAccuracy = "N3IWF_LEVEL" - UdmEeLocationAccuracy_UE_IP UdmEeLocationAccuracy = "UE_IP" - UdmEeLocationAccuracy_UE_PORT UdmEeLocationAccuracy = "UE_PORT" -) diff --git a/models/models/model_udm_ee_location_reporting_configuration.go b/models/models/model_udm_ee_location_reporting_configuration.go deleted file mode 100644 index 5604c3c4..00000000 --- a/models/models/model_udm_ee_location_reporting_configuration.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeLocationReportingConfiguration struct { - CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation,omitempty"` - OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime,omitempty"` - Accuracy UdmEeLocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` - N3gppAccuracy UdmEeLocationAccuracy `json:"n3gppAccuracy,omitempty" yaml:"n3gppAccuracy" bson:"n3gppAccuracy,omitempty"` -} diff --git a/models/models/model_udm_ee_monitoring_configuration.go b/models/models/model_udm_ee_monitoring_configuration.go deleted file mode 100644 index 4261d475..00000000 --- a/models/models/model_udm_ee_monitoring_configuration.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeMonitoringConfiguration struct { - EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` - LocationReportingConfiguration *UdmEeLocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration,omitempty"` - AssociationType UdmEeAssociationType `json:"associationType,omitempty" yaml:"associationType" bson:"associationType,omitempty"` - DatalinkReportCfg *DatalinkReportingConfiguration `json:"datalinkReportCfg,omitempty" yaml:"datalinkReportCfg" bson:"datalinkReportCfg,omitempty"` - LossConnectivityCfg *LossConnectivityCfg `json:"lossConnectivityCfg,omitempty" yaml:"lossConnectivityCfg" bson:"lossConnectivityCfg,omitempty"` - // indicating a time in seconds. - MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` - // indicating a time in seconds. - MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` - SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl,omitempty" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - PduSessionStatusCfg *UdmEePduSessionStatusCfg `json:"pduSessionStatusCfg,omitempty" yaml:"pduSessionStatusCfg" bson:"pduSessionStatusCfg,omitempty"` - ReachabilityForSmsCfg ReachabilityForSmsConfiguration `json:"reachabilityForSmsCfg,omitempty" yaml:"reachabilityForSmsCfg" bson:"reachabilityForSmsCfg,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` - ReachabilityForDataCfg *UdmEeReachabilityForDataConfiguration `json:"reachabilityForDataCfg,omitempty" yaml:"reachabilityForDataCfg" bson:"reachabilityForDataCfg,omitempty"` - IdleStatusInd bool `json:"idleStatusInd,omitempty" yaml:"idleStatusInd" bson:"idleStatusInd,omitempty"` -} diff --git a/models/models/model_udm_ee_monitoring_report.go b/models/models/model_udm_ee_monitoring_report.go deleted file mode 100644 index ef39602d..00000000 --- a/models/models/model_udm_ee_monitoring_report.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UdmEeMonitoringReport struct { - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - EventType UdmEeEventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - Report *UdmEeReport `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` - ReachabilityForSmsReport *UdmEeReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty" yaml:"reachabilityForSmsReport" bson:"reachabilityForSmsReport,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` - ReachabilityReport *ReachabilityReport `json:"reachabilityReport,omitempty" yaml:"reachabilityReport" bson:"reachabilityReport,omitempty"` -} diff --git a/models/models/model_udm_ee_pdu_session_status_cfg.go b/models/models/model_udm_ee_pdu_session_status_cfg.go deleted file mode 100644 index 5480a5dd..00000000 --- a/models/models/model_udm_ee_pdu_session_status_cfg.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEePduSessionStatusCfg struct { - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_udm_ee_reachability_for_data_configuration.go b/models/models/model_udm_ee_reachability_for_data_configuration.go deleted file mode 100644 index 2a37de3c..00000000 --- a/models/models/model_udm_ee_reachability_for_data_configuration.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeReachabilityForDataConfiguration struct { - ReportCfg ReachabilityForDataReportConfig `json:"reportCfg" yaml:"reportCfg" bson:"reportCfg,omitempty"` - // indicating a time in seconds. - MinInterval int32 `json:"minInterval,omitempty" yaml:"minInterval" bson:"minInterval,omitempty"` -} diff --git a/models/models/model_udm_ee_reachability_for_sms_report.go b/models/models/model_udm_ee_reachability_for_sms_report.go deleted file mode 100644 index 626f856b..00000000 --- a/models/models/model_udm_ee_reachability_for_sms_report.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UdmEeReachabilityForSmsReport struct { - SmsfAccessType AccessType `json:"smsfAccessType" yaml:"smsfAccessType" bson:"smsfAccessType,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` -} diff --git a/models/models/model_udm_ee_report.go b/models/models/model_udm_ee_report.go deleted file mode 100644 index 6a845be3..00000000 --- a/models/models/model_udm_ee_report.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmEeReport struct { - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - NewPei string `json:"newPei" yaml:"newPei" bson:"newPei,omitempty"` - Roaming bool `json:"roaming" yaml:"roaming" bson:"roaming,omitempty"` - NewServingPlmn *PlmnId `json:"newServingPlmn" yaml:"newServingPlmn" bson:"newServingPlmn,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - NewCnType CnType `json:"newCnType" yaml:"newCnType" bson:"newCnType,omitempty"` - OldCnType CnType `json:"oldCnType,omitempty" yaml:"oldCnType" bson:"oldCnType,omitempty"` - OldCmInfoList []CmInfo `json:"oldCmInfoList,omitempty" yaml:"oldCmInfoList" bson:"oldCmInfoList,omitempty"` - NewCmInfoList []CmInfo `json:"newCmInfoList" yaml:"newCmInfoList" bson:"newCmInfoList,omitempty"` - LossOfConnectReason LossOfConnectivityReason `json:"lossOfConnectReason" yaml:"lossOfConnectReason" bson:"lossOfConnectReason,omitempty"` - Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` - PdnConnStat PdnConnectivityStatus `json:"pdnConnStat" yaml:"pdnConnStat" bson:"pdnConnStat,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSeId int32 `json:"pduSeId,omitempty" yaml:"pduSeId" bson:"pduSeId,omitempty"` - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` - Ipv6Addrs []string `json:"ipv6Addrs,omitempty" yaml:"ipv6Addrs" bson:"ipv6Addrs,omitempty"` - PduSessType PduSessionType `json:"pduSessType,omitempty" yaml:"pduSessType" bson:"pduSessType,omitempty"` -} diff --git a/models/models/model_udm_ee_reporting_options.go b/models/models/model_udm_ee_reporting_options.go deleted file mode 100644 index 17634d1e..00000000 --- a/models/models/model_udm_ee_reporting_options.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UdmEeReportingOptions struct { - ReportMode EventReportMode `json:"reportMode,omitempty" yaml:"reportMode" bson:"reportMode,omitempty"` - MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - SamplingRatio int32 `json:"samplingRatio,omitempty" yaml:"samplingRatio" bson:"samplingRatio,omitempty"` - // indicating a time in seconds. - GuardTime int32 `json:"guardTime,omitempty" yaml:"guardTime" bson:"guardTime,omitempty"` - // indicating a time in seconds. - ReportPeriod int32 `json:"reportPeriod,omitempty" yaml:"reportPeriod" bson:"reportPeriod,omitempty"` - NotifFlag NotificationFlag `json:"notifFlag,omitempty" yaml:"notifFlag" bson:"notifFlag,omitempty"` -} diff --git a/models/models/model_udm_info.go b/models/models/model_udm_info.go deleted file mode 100644 index 31eb877a..00000000 --- a/models/models/model_udm_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an UDM NF Instance -type UdmInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - RoutingIndicators []string `json:"routingIndicators,omitempty" yaml:"routingIndicators" bson:"routingIndicators,omitempty"` - InternalGroupIdentifiersRanges []InternalGroupIdRange `json:"internalGroupIdentifiersRanges,omitempty" yaml:"internalGroupIdentifiersRanges" bson:"internalGroupIdentifiersRanges,omitempty"` - SuciInfos []SuciInfo `json:"suciInfos,omitempty" yaml:"suciInfos" bson:"suciInfos,omitempty"` -} diff --git a/models/models/model_udm_mt_ue_info.go b/models/models/model_udm_mt_ue_info.go deleted file mode 100644 index 7782275a..00000000 --- a/models/models/model_udm_mt_ue_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_MT - * - * UDM MT Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.7.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents UE information. -type UdmMtUeInfo struct { - TadsInfo *UeContextInfo `json:"tadsInfo,omitempty" yaml:"tadsInfo" bson:"tadsInfo,omitempty"` - UserState Model5GsUserState `json:"userState,omitempty" yaml:"userState" bson:"userState,omitempty"` - Var5gSrvccInfo *Model5GSrvccInfo `json:"5gSrvccInfo,omitempty" yaml:"5gSrvccInfo" bson:"5gSrvccInfo,omitempty"` -} diff --git a/models/models/model_udm_niddau_authorization_data.go b/models/models/model_udm_niddau_authorization_data.go deleted file mode 100644 index ee1dde30..00000000 --- a/models/models/model_udm_niddau_authorization_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudm_NIDDAU - * - * Nudm NIDD Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.8.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents NIDD authorization data. -type UdmNiddauAuthorizationData struct { - AuthorizationData []UserIdentifier `json:"authorizationData" yaml:"authorizationData" bson:"authorizationData,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_udm_pp_location_area.go b/models/models/model_udm_pp_location_area.go deleted file mode 100644 index 29b6da1a..00000000 --- a/models/models/model_udm_pp_location_area.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmPpLocationArea struct { - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - UmtTime *UmtTime `json:"umtTime,omitempty" yaml:"umtTime" bson:"umtTime,omitempty"` -} diff --git a/models/models/model_udm_sdm_amf_info.go b/models/models/model_udm_sdm_amf_info.go deleted file mode 100644 index 3b1d0366..00000000 --- a/models/models/model_udm_sdm_amf_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmAmfInfo struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AmfInstanceId string `json:"amfInstanceId" yaml:"amfInstanceId" bson:"amfInstanceId,omitempty"` - Guami *Guami `json:"guami" yaml:"guami" bson:"guami,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_udm_sdm_app_descriptor.go b/models/models/model_udm_sdm_app_descriptor.go deleted file mode 100644 index 38aba9b8..00000000 --- a/models/models/model_udm_sdm_app_descriptor.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmAppDescriptor struct { - // Represents the Operating System of the served UE. - OsId string `json:"osId,omitempty" yaml:"osId" bson:"osId,omitempty"` - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` -} diff --git a/models/models/model_udm_sdm_data_set_name.go b/models/models/model_udm_sdm_data_set_name.go deleted file mode 100644 index 752d4927..00000000 --- a/models/models/model_udm_sdm_data_set_name.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmDataSetName string - -// List of UdmSDMDataSetName -const ( - UdmSdmDataSetName_AM UdmSdmDataSetName = "AM" - UdmSdmDataSetName_SMF_SEL UdmSdmDataSetName = "SMF_SEL" - UdmSdmDataSetName_UEC_SMF UdmSdmDataSetName = "UEC_SMF" - UdmSdmDataSetName_UEC_SMSF UdmSdmDataSetName = "UEC_SMSF" - UdmSdmDataSetName_SMS_SUB UdmSdmDataSetName = "SMS_SUB" - UdmSdmDataSetName_SM UdmSdmDataSetName = "SM" - UdmSdmDataSetName_TRACE UdmSdmDataSetName = "TRACE" - UdmSdmDataSetName_SMS_MNG UdmSdmDataSetName = "SMS_MNG" - UdmSdmDataSetName_LCS_PRIVACY UdmSdmDataSetName = "LCS_PRIVACY" - UdmSdmDataSetName_LCS_MO UdmSdmDataSetName = "LCS_MO" - UdmSdmDataSetName_UEC_AMF UdmSdmDataSetName = "UEC_AMF" - UdmSdmDataSetName_V2_X UdmSdmDataSetName = "V2X" - UdmSdmDataSetName_LCS_BCA UdmSdmDataSetName = "LCS_BCA" - UdmSdmDataSetName_PROSE UdmSdmDataSetName = "PROSE" - UdmSdmDataSetName_UC UdmSdmDataSetName = "UC" - UdmSdmDataSetName_MBS UdmSdmDataSetName = "MBS" -) diff --git a/models/models/model_udm_sdm_ec_restriction_data_wb.go b/models/models/model_udm_sdm_ec_restriction_data_wb.go deleted file mode 100644 index 02805cc8..00000000 --- a/models/models/model_udm_sdm_ec_restriction_data_wb.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmEcRestrictionDataWb struct { - EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` - EcModeBRestricted bool `json:"ecModeBRestricted,omitempty" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` -} diff --git a/models/models/model_udm_sdm_group_identifiers.go b/models/models/model_udm_sdm_group_identifiers.go deleted file mode 100644 index 4b118c89..00000000 --- a/models/models/model_udm_sdm_group_identifiers.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_SDM - * - * Nudm Subscriber Data Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmGroupIdentifiers struct { - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - IntGroupId string `json:"intGroupId,omitempty" yaml:"intGroupId" bson:"intGroupId,omitempty"` - UeIdList []UdmSdmUeId `json:"ueIdList,omitempty" yaml:"ueIdList" bson:"ueIdList,omitempty"` -} diff --git a/models/models/model_udm_sdm_ip_address.go b/models/models/model_udm_sdm_ip_address.go deleted file mode 100644 index 7ae765e1..00000000 --- a/models/models/model_udm_sdm_ip_address.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmIpAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` -} diff --git a/models/models/model_udm_sdm_ip_index.go b/models/models/model_udm_sdm_ip_index.go deleted file mode 100644 index 4bfad9aa..00000000 --- a/models/models/model_udm_sdm_ip_index.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the IP Index to be sent from UDM to the SMF (its value can be either an integer or a string) -type UdmSdmIpIndex struct { -} diff --git a/models/models/model_udm_sdm_nidd_information.go b/models/models/model_udm_sdm_nidd_information.go deleted file mode 100644 index 05e9e088..00000000 --- a/models/models/model_udm_sdm_nidd_information.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmNiddInformation struct { - AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String identifying External Group Identifier that identifies a group made up of one or more subscriptions associated to a group of IMSIs, as specified in clause 19.7.3 of 3GPP TS 23.003. - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` -} diff --git a/models/models/model_udm_sdm_shared_data.go b/models/models/model_udm_sdm_shared_data.go deleted file mode 100644 index 5c066696..00000000 --- a/models/models/model_udm_sdm_shared_data.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmSharedData struct { - SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` - SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData,omitempty"` - SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData,omitempty"` - SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData,omitempty"` - // A map(list of key-value pairs) where Dnn, or optionally the Wildcard DNN, serves as key of DnnConfiguration - SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations,omitempty"` - SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData,omitempty"` - // A map(list of key-value pairs) where singleNssai serves as key of SnssaiInfo - SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos,omitempty"` - // A map(list of key-value pairs) where GroupId serves as key of VnGroupData - SharedVnGroupDatas map[string]VnGroupData `json:"sharedVnGroupDatas,omitempty" yaml:"sharedVnGroupDatas" bson:"sharedVnGroupDatas,omitempty"` - // A map(list of key-value pairs) where JSON pointer pointing to an attribute within the SharedData serves as key of SharedDataTreatmentInstruction - TreatmentInstructions map[string]SharedDataTreatmentInstruction `json:"treatmentInstructions,omitempty" yaml:"treatmentInstructions" bson:"treatmentInstructions,omitempty"` - SharedSmSubsData *SessionManagementSubscriptionData `json:"sharedSmSubsData,omitempty" yaml:"sharedSmSubsData" bson:"sharedSmSubsData,omitempty"` - SharedEcsAddrConfigInfo *EcsAddrConfigInfo `json:"sharedEcsAddrConfigInfo,omitempty" yaml:"sharedEcsAddrConfigInfo" bson:"sharedEcsAddrConfigInfo,omitempty"` -} diff --git a/models/models/model_udm_sdm_sor_info.go b/models/models/model_udm_sdm_sor_info.go deleted file mode 100644 index a0d2f6c9..00000000 --- a/models/models/model_udm_sdm_sor_info.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UdmSdmSorInfo struct { - SteeringContainer *UdmSdmSteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` - // Contains indication whether the acknowledgement from UE is needed. - AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` - // MAC value for protecting SOR procedure (SoR-MAC-IAUSF and SoR-XMAC-IUE). - SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` - // CounterSoR. - Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - // string with format 'bytes' as defined in OpenAPI - SorTransparentContainer string `json:"sorTransparentContainer,omitempty" yaml:"sorTransparentContainer" bson:"sorTransparentContainer,omitempty"` - // string with format 'bytes' as defined in OpenAPI - SorCmci string `json:"sorCmci,omitempty" yaml:"sorCmci" bson:"sorCmci,omitempty"` - StoreSorCmciInMe bool `json:"storeSorCmciInMe,omitempty" yaml:"storeSorCmciInMe" bson:"storeSorCmciInMe,omitempty"` - UsimSupportOfSorCmci bool `json:"usimSupportOfSorCmci,omitempty" yaml:"usimSupportOfSorCmci" bson:"usimSupportOfSorCmci,omitempty"` -} diff --git a/models/models/model_udm_sdm_steering_container.go b/models/models/model_udm_sdm_steering_container.go deleted file mode 100644 index 05aee655..00000000 --- a/models/models/model_udm_sdm_steering_container.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmSteeringContainer struct { -} diff --git a/models/models/model_udm_sdm_subscription_data_sets.go b/models/models/model_udm_sdm_subscription_data_sets.go deleted file mode 100644 index 26d06c78..00000000 --- a/models/models/model_udm_sdm_subscription_data_sets.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmSubscriptionDataSets struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` - UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` - UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` - UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` - SmData *SmSubsData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` - LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` - LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` - V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` - LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` - ProseData *ProseSubscriptionData `json:"proseData,omitempty" yaml:"proseData" bson:"proseData,omitempty"` - MbsData *MbsSubscriptionData `json:"mbsData,omitempty" yaml:"mbsData" bson:"mbsData,omitempty"` - UcData *UcSubscriptionData `json:"ucData,omitempty" yaml:"ucData" bson:"ucData,omitempty"` -} diff --git a/models/models/model_udm_sdm_ue_id.go b/models/models/model_udm_sdm_ue_id.go deleted file mode 100644 index 018b8491..00000000 --- a/models/models/model_udm_sdm_ue_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmSdmUeId struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` -} diff --git a/models/models/model_udm_sdm_upu_info.go b/models/models/model_udm_sdm_upu_info.go deleted file mode 100644 index 9a4ba1f9..00000000 --- a/models/models/model_udm_sdm_upu_info.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UdmSdmUpuInfo struct { - UpuDataList []AusfUpuProtectionUpuData `json:"upuDataList,omitempty" yaml:"upuDataList" bson:"upuDataList,omitempty"` - UpuRegInd bool `json:"upuRegInd,omitempty" yaml:"upuRegInd" bson:"upuRegInd,omitempty"` - // Contains the indication of whether the acknowledgement from UE is needed. - UpuAckInd bool `json:"upuAckInd,omitempty" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` - // CounterUPU. - CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - // string with format 'bytes' as defined in OpenAPI - UpuTransparentContainer string `json:"upuTransparentContainer,omitempty" yaml:"upuTransparentContainer" bson:"upuTransparentContainer,omitempty"` -} diff --git a/models/models/model_udm_ssau_service_specific_authorization_info.go b/models/models/model_udm_ssau_service_specific_authorization_info.go deleted file mode 100644 index 09a315ab..00000000 --- a/models/models/model_udm_ssau_service_specific_authorization_info.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudm_SSAU - * - * Nudm Service Specific Authorization Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.9.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Authorization information for a specific service -type UdmSsauServiceSpecificAuthorizationInfo struct { - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - // String uniquely identifying MTC provider information. - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - // String providing an URI formatted according to RFC 3986. - AuthUpdateCallbackUri string `json:"authUpdateCallbackUri,omitempty" yaml:"authUpdateCallbackUri" bson:"authUpdateCallbackUri,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` - // Identity of the NEF - NefId string `json:"nefId,omitempty" yaml:"nefId" bson:"nefId,omitempty"` -} diff --git a/models/models/model_udm_ueau_auth_type.go b/models/models/model_udm_ueau_auth_type.go deleted file mode 100644 index 4665bae7..00000000 --- a/models/models/model_udm_ueau_auth_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUeauAuthType string - -// List of UdmUEAUAuthType -const ( - UdmUeauAuthType__5_G_AKA UdmUeauAuthType = "5G_AKA" - UdmUeauAuthType_EAP_AKA_PRIME UdmUeauAuthType = "EAP_AKA_PRIME" - UdmUeauAuthType_EAP_TLS UdmUeauAuthType = "EAP_TLS" - UdmUeauAuthType_NONE UdmUeauAuthType = "NONE" - UdmUeauAuthType_EAP_TTLS UdmUeauAuthType = "EAP_TTLS" -) diff --git a/models/models/model_udm_ueau_authentication_info_request.go b/models/models/model_udm_ueau_authentication_info_request.go deleted file mode 100644 index 97a84a9f..00000000 --- a/models/models/model_udm_ueau_authentication_info_request.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUeauAuthenticationInfoRequest struct { - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ServingNetworkName string `json:"servingNetworkName" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` - ResynchronizationInfo *ResynchronizationInfo `json:"resynchronizationInfo,omitempty" yaml:"resynchronizationInfo" bson:"resynchronizationInfo,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - AusfInstanceId string `json:"ausfInstanceId" yaml:"ausfInstanceId" bson:"ausfInstanceId,omitempty"` - CellCagInfo []string `json:"cellCagInfo,omitempty" yaml:"cellCagInfo" bson:"cellCagInfo,omitempty"` - N5gcInd bool `json:"n5gcInd,omitempty" yaml:"n5gcInd" bson:"n5gcInd,omitempty"` - NswoInd bool `json:"nswoInd,omitempty" yaml:"nswoInd" bson:"nswoInd,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` -} diff --git a/models/models/model_udm_ueau_authentication_info_result.go b/models/models/model_udm_ueau_authentication_info_result.go deleted file mode 100644 index 94f68857..00000000 --- a/models/models/model_udm_ueau_authentication_info_result.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUeauAuthenticationInfoResult struct { - AuthType UdmUeauAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - AkmaInd bool `json:"akmaInd,omitempty" yaml:"akmaInd" bson:"akmaInd,omitempty"` - AuthAaa bool `json:"authAaa,omitempty" yaml:"authAaa" bson:"authAaa,omitempty"` - RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` - PvsInfo []ServerAddressingInfo `json:"pvsInfo,omitempty" yaml:"pvsInfo" bson:"pvsInfo,omitempty"` -} diff --git a/models/models/model_udm_ueau_rg_auth_ctx.go b/models/models/model_udm_ueau_rg_auth_ctx.go deleted file mode 100644 index a4190e06..00000000 --- a/models/models/model_udm_ueau_rg_auth_ctx.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.10.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUeauRgAuthCtx struct { - AuthInd bool `json:"authInd" yaml:"authInd" bson:"authInd,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_udm_uecm_data_restoration_notification.go b/models/models/model_udm_uecm_data_restoration_notification.go deleted file mode 100644 index 42480078..00000000 --- a/models/models/model_udm_uecm_data_restoration_notification.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains identities representing those UEs potentially affected by a data-loss event at the UDR -type UdmUecmDataRestorationNotification struct { - // string with format 'date-time' as defined in OpenAPI. - LastReplicationTime *time.Time `json:"lastReplicationTime,omitempty" yaml:"lastReplicationTime" bson:"lastReplicationTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` -} diff --git a/models/models/model_udm_uecm_deregistration_data.go b/models/models/model_udm_uecm_deregistration_data.go deleted file mode 100644 index 92105c72..00000000 --- a/models/models/model_udm_uecm_deregistration_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUecmDeregistrationData struct { - DeregReason UdmUecmDeregistrationReason `json:"deregReason" yaml:"deregReason" bson:"deregReason,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - // Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network. - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NewSmfInstanceId string `json:"newSmfInstanceId,omitempty" yaml:"newSmfInstanceId" bson:"newSmfInstanceId,omitempty"` -} diff --git a/models/models/model_udm_uecm_deregistration_reason.go b/models/models/model_udm_uecm_deregistration_reason.go deleted file mode 100644 index 72c3c763..00000000 --- a/models/models/model_udm_uecm_deregistration_reason.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUecmDeregistrationReason string - -// List of UdmUECMDeregistrationReason -const ( - UdmUecmDeregistrationReason_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "UE_INITIAL_REGISTRATION" - UdmUecmDeregistrationReason_UE_REGISTRATION_AREA_CHANGE UdmUecmDeregistrationReason = "UE_REGISTRATION_AREA_CHANGE" - UdmUecmDeregistrationReason_SUBSCRIPTION_WITHDRAWN UdmUecmDeregistrationReason = "SUBSCRIPTION_WITHDRAWN" - UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY" - UdmUecmDeregistrationReason__5_GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION UdmUecmDeregistrationReason = "5GS_TO_EPS_MOBILITY_UE_INITIAL_REGISTRATION" - UdmUecmDeregistrationReason_REREGISTRATION_REQUIRED UdmUecmDeregistrationReason = "REREGISTRATION_REQUIRED" - UdmUecmDeregistrationReason_SMF_CONTEXT_TRANSFERRED UdmUecmDeregistrationReason = "SMF_CONTEXT_TRANSFERRED" - UdmUecmDeregistrationReason_DUPLICATE_PDU_SESSION UdmUecmDeregistrationReason = "DUPLICATE_PDU_SESSION" - UdmUecmDeregistrationReason_DISASTER_CONDITION_TERMINATED UdmUecmDeregistrationReason = "DISASTER_CONDITION_TERMINATED" -) diff --git a/models/models/model_udm_uecm_location_info.go b/models/models/model_udm_uecm_location_info.go deleted file mode 100644 index 6600d061..00000000 --- a/models/models/model_udm_uecm_location_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdmUecmLocationInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - RegistrationLocationInfoList []RegistrationLocationInfo `json:"registrationLocationInfoList" yaml:"registrationLocationInfoList" bson:"registrationLocationInfoList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_udr_dr_data_restoration_notification.go b/models/models/model_udr_dr_data_restoration_notification.go deleted file mode 100644 index 42d072a6..00000000 --- a/models/models/model_udr_dr_data_restoration_notification.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains identities representing those UEs potentially affected by a data-loss event at the UDR -type UdrDrDataRestorationNotification struct { - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - SNssaiList []Snssai `json:"sNssaiList,omitempty" yaml:"sNssaiList" bson:"sNssaiList,omitempty"` - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - // Identifier of a group of NFs. - UdrGroupId string `json:"udrGroupId,omitempty" yaml:"udrGroupId" bson:"udrGroupId,omitempty"` -} diff --git a/models/models/model_udr_info.go b/models/models/model_udr_info.go deleted file mode 100644 index 0a87c2bc..00000000 --- a/models/models/model_udr_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an UDR NF Instance -type UdrInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty" yaml:"gpsiRanges" bson:"gpsiRanges,omitempty"` - ExternalGroupIdentifiersRanges []IdentityRange `json:"externalGroupIdentifiersRanges,omitempty" yaml:"externalGroupIdentifiersRanges" bson:"externalGroupIdentifiersRanges,omitempty"` - SupportedDataSets []DataSetId `json:"supportedDataSets,omitempty" yaml:"supportedDataSets" bson:"supportedDataSets,omitempty"` - SharedDataIdRanges []SharedDataIdRange `json:"sharedDataIdRanges,omitempty" yaml:"sharedDataIdRanges" bson:"sharedDataIdRanges,omitempty"` -} diff --git a/models/models/model_udsf_data_repository_notification_info.go b/models/models/model_udsf_data_repository_notification_info.go deleted file mode 100644 index 5dd4367b..00000000 --- a/models/models/model_udsf_data_repository_notification_info.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudsf_DataRepository - * - * Nudsf Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.598 UDSF Services, V17.6.0. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.598/ - * - * API version: 1.1.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UdsfDataRepositoryNotificationInfo struct { - ExpiredSubscriptions []NotificationSubscription `json:"expiredSubscriptions" yaml:"expiredSubscriptions" bson:"expiredSubscriptions,omitempty"` -} diff --git a/models/models/model_udsf_info.go b/models/models/model_udsf_info.go deleted file mode 100644 index 961cddeb..00000000 --- a/models/models/model_udsf_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information related to UDSF -type UdsfInfo struct { - // Identifier of a group of NFs. - GroupId string `json:"groupId,omitempty" yaml:"groupId" bson:"groupId,omitempty"` - SupiRanges []SupiRange `json:"supiRanges,omitempty" yaml:"supiRanges" bson:"supiRanges,omitempty"` - // A map (list of key-value pairs) where realmId serves as key and each value in the map is an array of IdentityRanges. Each IdentityRange is a range of storageIds. - StorageIdRanges map[string][]IdentityRange `json:"storageIdRanges,omitempty" yaml:"storageIdRanges" bson:"storageIdRanges,omitempty"` -} diff --git a/models/models/model_ue_access_behavior_report_item.go b/models/models/model_ue_access_behavior_report_item.go deleted file mode 100644 index 6099c480..00000000 --- a/models/models/model_ue_access_behavior_report_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Report Item for UE Access Behavior Trends event. -type UeAccessBehaviorReportItem struct { - StateTransitionType AccessStateTransitionType `json:"stateTransitionType" yaml:"stateTransitionType" bson:"stateTransitionType,omitempty"` - // indicating a time in seconds. - Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` - // indicating a time in seconds. - Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` -} diff --git a/models/models/model_ue_analytics_context_descriptor.go b/models/models/model_ue_analytics_context_descriptor.go deleted file mode 100644 index deeec1bb..00000000 --- a/models/models/model_ue_analytics_context_descriptor.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information about available UE related analytics contexts. -type UeAnalyticsContextDescriptor struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // List of analytics types for which UE related analytics contexts can be retrieved. - AnaTypes []NwdafEvent `json:"anaTypes" yaml:"anaTypes" bson:"anaTypes,omitempty"` -} diff --git a/models/models/model_ue_area_indication.go b/models/models/model_ue_area_indication.go deleted file mode 100644 index 2cd1210d..00000000 --- a/models/models/model_ue_area_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates area (country, area in a country or international area) where UE is located -type UeAreaIndication struct { - // Indicates country or area in a country where UE is located - Country string `json:"country,omitempty" yaml:"country" bson:"country,omitempty"` - // Indicates international area indication if UE is located in international area - InternationalAreaInd bool `json:"internationalAreaInd,omitempty" yaml:"internationalAreaInd" bson:"internationalAreaInd,omitempty"` -} diff --git a/models/models/model_ue_auth.go b/models/models/model_ue_auth.go deleted file mode 100644 index 1fca11d3..00000000 --- a/models/models/model_ue_auth.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeAuth string - -// List of UeAuth -const ( - UeAuth_AUTHORIZED UeAuth = "AUTHORIZED" - UeAuth_NOT_AUTHORIZED UeAuth = "NOT_AUTHORIZED" -) diff --git a/models/models/model_ue_authentication_ctx.go b/models/models/model_ue_authentication_ctx.go deleted file mode 100644 index 2bbbed95..00000000 --- a/models/models/model_ue_authentication_ctx.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.9.0; 5G System; 3GPP TS Authentication Server services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the information related to the resource generated to handle the UE authentication. It contains at least the UE id, Serving Network, the Authentication Method and related EAP information or related 5G-AKA information. -type UeAuthenticationCtx struct { - AuthType AusfUeAuthenticationAuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - Var5gAuthData interface{} `json:"5gAuthData" yaml:"5gAuthData" bson:"5gAuthData,omitempty"` - // A map(list of key-value pairs) where member serves as key - Links map[string][]Link `json:"_links" yaml:"_links" bson:"_links,omitempty"` - ServingNetworkName string `json:"servingNetworkName,omitempty" yaml:"servingNetworkName" bson:"servingNetworkName,omitempty"` -} diff --git a/models/models/model_ue_camping_rep.go b/models/models/model_ue_camping_rep.go deleted file mode 100644 index 297c9514..00000000 --- a/models/models/model_ue_camping_rep.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the current applicable values corresponding to the policy control request triggers. -type UeCampingRep struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` - SatBackhaulCategory SatelliteBackhaulCategory `json:"satBackhaulCategory,omitempty" yaml:"satBackhaulCategory" bson:"satBackhaulCategory,omitempty"` -} diff --git a/models/models/model_ue_communication.go b/models/models/model_ue_communication.go deleted file mode 100644 index 3492ea67..00000000 --- a/models/models/model_ue_communication.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents UE communication information. -type UeCommunication struct { - // indicating a time in seconds. - CommDur int32 `json:"commDur,omitempty" yaml:"commDur" bson:"commDur,omitempty"` - // string with format 'float' as defined in OpenAPI. - CommDurVariance float32 `json:"commDurVariance,omitempty" yaml:"commDurVariance" bson:"commDurVariance,omitempty"` - // indicating a time in seconds. - PerioTime int32 `json:"perioTime,omitempty" yaml:"perioTime" bson:"perioTime,omitempty"` - // string with format 'float' as defined in OpenAPI. - PerioTimeVariance float32 `json:"perioTimeVariance,omitempty" yaml:"perioTimeVariance" bson:"perioTimeVariance,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` - // string with format 'float' as defined in OpenAPI. - TsVariance float32 `json:"tsVariance,omitempty" yaml:"tsVariance" bson:"tsVariance,omitempty"` - RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` - TrafChar *TrafficCharacterization `json:"trafChar,omitempty" yaml:"trafChar" bson:"trafChar,omitempty"` - // Unsigned integer indicating Sampling Ratio (see clauses 4.15.1 of 3GPP TS 23.502), expressed in percent. - Ratio int32 `json:"ratio,omitempty" yaml:"ratio" bson:"ratio,omitempty"` - PerioCommInd bool `json:"perioCommInd,omitempty" yaml:"perioCommInd" bson:"perioCommInd,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` - AnaOfAppList *AppListForUeComm `json:"anaOfAppList,omitempty" yaml:"anaOfAppList" bson:"anaOfAppList,omitempty"` - SessInactTimer *SessInactTimerForUeComm `json:"sessInactTimer,omitempty" yaml:"sessInactTimer" bson:"sessInactTimer,omitempty"` -} diff --git a/models/models/model_ue_communication_collection.go b/models/models/model_ue_communication_collection.go deleted file mode 100644 index ebfc144c..00000000 --- a/models/models/model_ue_communication_collection.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains UE communication information associated with an application. -type UeCommunicationCollection struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - ExterGroupId string `json:"exterGroupId,omitempty" yaml:"exterGroupId" bson:"exterGroupId,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String providing an application identifier. - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` -} diff --git a/models/models/model_ue_communication_info.go b/models/models/model_ue_communication_info.go deleted file mode 100644 index 3d15a067..00000000 --- a/models/models/model_ue_communication_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains UE communication information associated with an application. -type UeCommunicationInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a group of devices network internal globally unique ID which identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003. - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - Comms []CommunicationCollection `json:"comms" yaml:"comms" bson:"comms,omitempty"` -} diff --git a/models/models/model_ue_connectivity_state.go b/models/models/model_ue_connectivity_state.go deleted file mode 100644 index 95c7579c..00000000 --- a/models/models/model_ue_connectivity_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the connectivity state of a UE. -type UeConnectivityState struct { - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` - Connectivitystate CmState `json:"connectivitystate,omitempty" yaml:"connectivitystate" bson:"connectivitystate,omitempty"` -} diff --git a/models/models/model_ue_context.go b/models/models/model_ue_context.go deleted file mode 100644 index c7e844f6..00000000 --- a/models/models/model_ue_context.go +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents an individual ueContext resource -type UeContext struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - SupiUnauthInd bool `json:"supiUnauthInd,omitempty" yaml:"supiUnauthInd" bson:"supiUnauthInd,omitempty"` - GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // Identifier of a group of NFs. - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - // Identifier of a group of NFs. - AusfGroupId string `json:"ausfGroupId,omitempty" yaml:"ausfGroupId" bson:"ausfGroupId,omitempty"` - // Identifier of a group of NFs. - PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - HNwPubKeyId int32 `json:"hNwPubKeyId,omitempty" yaml:"hNwPubKeyId" bson:"hNwPubKeyId,omitempty"` - GroupList []string `json:"groupList,omitempty" yaml:"groupList" bson:"groupList,omitempty"` - // string with format 'bytes' as defined in OpenAPI - DrxParameter string `json:"drxParameter,omitempty" yaml:"drxParameter" bson:"drxParameter,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - SubRfsp int32 `json:"subRfsp,omitempty" yaml:"subRfsp" bson:"subRfsp,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - PcfRfsp int32 `json:"pcfRfsp,omitempty" yaml:"pcfRfsp" bson:"pcfRfsp,omitempty"` - // Unsigned integer representing the \"Subscriber Profile ID for RAT/Frequency Priority\" as specified in 3GPP TS 36.413. - UsedRfsp int32 `json:"usedRfsp,omitempty" yaml:"usedRfsp" bson:"usedRfsp,omitempty"` - SubUeAmbr *Ambr `json:"subUeAmbr,omitempty" yaml:"subUeAmbr" bson:"subUeAmbr,omitempty"` - PcfUeAmbr *Ambr `json:"pcfUeAmbr,omitempty" yaml:"pcfUeAmbr" bson:"pcfUeAmbr,omitempty"` - // A map(list of key-value pairs) where Snssai serves as key. - SubUeSliceMbrList map[string]SliceMbr `json:"subUeSliceMbrList,omitempty" yaml:"subUeSliceMbrList" bson:"subUeSliceMbrList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - SmsfId string `json:"smsfId,omitempty" yaml:"smsfId" bson:"smsfId,omitempty"` - SeafData *SeafData `json:"seafData,omitempty" yaml:"seafData" bson:"seafData,omitempty"` - // string with format 'bytes' as defined in OpenAPI - Var5gMmCapability string `json:"5gMmCapability,omitempty" yaml:"5gMmCapability" bson:"5gMmCapability,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfAmpServiceSetId string `json:"pcfAmpServiceSetId,omitempty" yaml:"pcfAmpServiceSetId" bson:"pcfAmpServiceSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - PcfUepServiceSetId string `json:"pcfUepServiceSetId,omitempty" yaml:"pcfUepServiceSetId" bson:"pcfUepServiceSetId,omitempty"` - PcfBinding SbiBindingLevel `json:"pcfBinding,omitempty" yaml:"pcfBinding" bson:"pcfBinding,omitempty"` - // String providing an URI formatted according to RFC 3986. - PcfAmPolicyUri string `json:"pcfAmPolicyUri,omitempty" yaml:"pcfAmPolicyUri" bson:"pcfAmPolicyUri,omitempty"` - AmPolicyReqTriggerList []PolicyReqTrigger `json:"amPolicyReqTriggerList,omitempty" yaml:"amPolicyReqTriggerList" bson:"amPolicyReqTriggerList,omitempty"` - // String providing an URI formatted according to RFC 3986. - PcfUePolicyUri string `json:"pcfUePolicyUri,omitempty" yaml:"pcfUePolicyUri" bson:"pcfUePolicyUri,omitempty"` - UePolicyReqTriggerList []PolicyReqTrigger `json:"uePolicyReqTriggerList,omitempty" yaml:"uePolicyReqTriggerList" bson:"uePolicyReqTriggerList,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - HpcfId string `json:"hpcfId,omitempty" yaml:"hpcfId" bson:"hpcfId,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - HpcfSetId string `json:"hpcfSetId,omitempty" yaml:"hpcfSetId" bson:"hpcfSetId,omitempty"` - RestrictedRatList []RatType `json:"restrictedRatList,omitempty" yaml:"restrictedRatList" bson:"restrictedRatList,omitempty"` - ForbiddenAreaList []Area `json:"forbiddenAreaList,omitempty" yaml:"forbiddenAreaList" bson:"forbiddenAreaList,omitempty"` - ServiceAreaRestriction *ServiceAreaRestriction `json:"serviceAreaRestriction,omitempty" yaml:"serviceAreaRestriction" bson:"serviceAreaRestriction,omitempty"` - RestrictedCoreNwTypeList []CoreNetworkType `json:"restrictedCoreNwTypeList,omitempty" yaml:"restrictedCoreNwTypeList" bson:"restrictedCoreNwTypeList,omitempty"` - EventSubscriptionList []ExtAmfEventSubscription `json:"eventSubscriptionList,omitempty" yaml:"eventSubscriptionList" bson:"eventSubscriptionList,omitempty"` - MmContextList []MmContext `json:"mmContextList,omitempty" yaml:"mmContextList" bson:"mmContextList,omitempty"` - SessionContextList []PduSessionContext `json:"sessionContextList,omitempty" yaml:"sessionContextList" bson:"sessionContextList,omitempty"` - EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ServiceGapExpiryTime *time.Time `json:"serviceGapExpiryTime,omitempty" yaml:"serviceGapExpiryTime" bson:"serviceGapExpiryTime,omitempty"` - // String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003. - StnSr string `json:"stnSr,omitempty" yaml:"stnSr" bson:"stnSr,omitempty"` - // String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003. - CMsisdn string `json:"cMsisdn,omitempty" yaml:"cMsisdn" bson:"cMsisdn,omitempty"` - // string with format 'bytes' as defined in OpenAPI - MsClassmark2 string `json:"msClassmark2,omitempty" yaml:"msClassmark2" bson:"msClassmark2,omitempty"` - SupportedCodecList []string `json:"supportedCodecList,omitempty" yaml:"supportedCodecList" bson:"supportedCodecList,omitempty"` - SmallDataRateStatusInfos []SmallDataRateStatusInfo `json:"smallDataRateStatusInfos,omitempty" yaml:"smallDataRateStatusInfos" bson:"smallDataRateStatusInfos,omitempty"` - RestrictedPrimaryRatList []RatType `json:"restrictedPrimaryRatList,omitempty" yaml:"restrictedPrimaryRatList" bson:"restrictedPrimaryRatList,omitempty"` - RestrictedSecondaryRatList []RatType `json:"restrictedSecondaryRatList,omitempty" yaml:"restrictedSecondaryRatList" bson:"restrictedSecondaryRatList,omitempty"` - V2xContext *V2xContext `json:"v2xContext,omitempty" yaml:"v2xContext" bson:"v2xContext,omitempty"` - LteCatMInd bool `json:"lteCatMInd,omitempty" yaml:"lteCatMInd" bson:"lteCatMInd,omitempty"` - RedCapInd bool `json:"redCapInd,omitempty" yaml:"redCapInd" bson:"redCapInd,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - CagData *CagData `json:"cagData,omitempty" yaml:"cagData" bson:"cagData,omitempty"` - ManagementMdtInd bool `json:"managementMdtInd,omitempty" yaml:"managementMdtInd" bson:"managementMdtInd,omitempty"` - ImmediateMdtConf *ImmediateMdtConf `json:"immediateMdtConf,omitempty" yaml:"immediateMdtConf" bson:"immediateMdtConf,omitempty"` - EcRestrictionDataWb *AmfCommunicationEcRestrictionDataWb `json:"ecRestrictionDataWb,omitempty" yaml:"ecRestrictionDataWb" bson:"ecRestrictionDataWb,omitempty"` - EcRestrictionDataNb bool `json:"ecRestrictionDataNb,omitempty" yaml:"ecRestrictionDataNb" bson:"ecRestrictionDataNb,omitempty"` - IabOperationAllowed bool `json:"iabOperationAllowed,omitempty" yaml:"iabOperationAllowed" bson:"iabOperationAllowed,omitempty"` - ProseContext *ProseContext `json:"proseContext,omitempty" yaml:"proseContext" bson:"proseContext,omitempty"` - AnalyticsSubscriptionList []AnalyticsSubscription `json:"analyticsSubscriptionList,omitempty" yaml:"analyticsSubscriptionList" bson:"analyticsSubscriptionList,omitempty"` - PcfAmpBindingInfo string `json:"pcfAmpBindingInfo,omitempty" yaml:"pcfAmpBindingInfo" bson:"pcfAmpBindingInfo,omitempty"` - PcfUepBindingInfo string `json:"pcfUepBindingInfo,omitempty" yaml:"pcfUepBindingInfo" bson:"pcfUepBindingInfo,omitempty"` - UsedServiceAreaRestriction *ServiceAreaRestriction `json:"usedServiceAreaRestriction,omitempty" yaml:"usedServiceAreaRestriction" bson:"usedServiceAreaRestriction,omitempty"` - // A map(list of key-value pairs) where praId serves as key. - PraInAmPolicy map[string]PresenceInfo `json:"praInAmPolicy,omitempty" yaml:"praInAmPolicy" bson:"praInAmPolicy,omitempty"` - // A map(list of key-value pairs) where praId serves as key. - PraInUePolicy map[string]PresenceInfo `json:"praInUePolicy,omitempty" yaml:"praInUePolicy" bson:"praInUePolicy,omitempty"` - UpdpSubscriptionData *UpdpSubscriptionData `json:"updpSubscriptionData,omitempty" yaml:"updpSubscriptionData" bson:"updpSubscriptionData,omitempty"` - SmPolicyNotifyPduList []PduSessionInfo `json:"smPolicyNotifyPduList,omitempty" yaml:"smPolicyNotifyPduList" bson:"smPolicyNotifyPduList,omitempty"` - PcfUeCallbackInfo *PcfUeCallbackInfo `json:"pcfUeCallbackInfo,omitempty" yaml:"pcfUeCallbackInfo" bson:"pcfUeCallbackInfo,omitempty"` - // Positioning capabilities supported by the UE. A string encoding the \"ProvideCapabilities-r9-IEs\" IE as specified in clause 6.3 of 3GPP TS 37.355 (start from octet 1). - UePositioningCap string `json:"uePositioningCap,omitempty" yaml:"uePositioningCap" bson:"uePositioningCap,omitempty"` - AstiDistributionIndication bool `json:"astiDistributionIndication,omitempty" yaml:"astiDistributionIndication" bson:"astiDistributionIndication,omitempty"` - TsErrorBudget int32 `json:"tsErrorBudget,omitempty" yaml:"tsErrorBudget" bson:"tsErrorBudget,omitempty"` - SnpnOnboardInd bool `json:"snpnOnboardInd,omitempty" yaml:"snpnOnboardInd" bson:"snpnOnboardInd,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - // A map(list of key-value pairs) where Snssai serves as key. - PcfUeSliceMbrList map[string]SliceMbr `json:"pcfUeSliceMbrList,omitempty" yaml:"pcfUeSliceMbrList" bson:"pcfUeSliceMbrList,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmsfSetId string `json:"smsfSetId,omitempty" yaml:"smsfSetId" bson:"smsfSetId,omitempty"` - // NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set.sn.nfi.5gc.mnc.mcc\", or \"set.sn.nfi.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as defined in clause 5.4.2 (\"Nid\" data type definition) encoded as defined in clause 5.3.2 encoded as defined in 3GPP TS 29.510 encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - SmsfServiceSetId string `json:"smsfServiceSetId,omitempty" yaml:"smsfServiceSetId" bson:"smsfServiceSetId,omitempty"` - SmsfBindingInfo string `json:"smsfBindingInfo,omitempty" yaml:"smsfBindingInfo" bson:"smsfBindingInfo,omitempty"` - DisasterRoamingInd bool `json:"disasterRoamingInd,omitempty" yaml:"disasterRoamingInd" bson:"disasterRoamingInd,omitempty"` - DisasterPlmn *PlmnId `json:"disasterPlmn,omitempty" yaml:"disasterPlmn" bson:"disasterPlmn,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - AsTimeDisParam *PcfAmPolicyControlAsTimeDistributionParam `json:"asTimeDisParam,omitempty" yaml:"asTimeDisParam" bson:"asTimeDisParam,omitempty"` -} diff --git a/models/models/model_ue_context_cancel_relocate_data.go b/models/models/model_ue_context_cancel_relocate_data.go deleted file mode 100644 index 41bccada..00000000 --- a/models/models/model_ue_context_cancel_relocate_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data structure used for cancellation of UE Context Relocation -type UeContextCancelRelocateData struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - RelocationCancelRequest *RefToBinaryData `json:"relocationCancelRequest" yaml:"relocationCancelRequest" bson:"relocationCancelRequest,omitempty"` -} diff --git a/models/models/model_ue_context_create_data.go b/models/models/model_ue_context_create_data.go deleted file mode 100644 index a85dac1f..00000000 --- a/models/models/model_ue_context_create_data.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a request to create an individual ueContext resource -type UeContextCreateData struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` - TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` - SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` - PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` - // String providing an URI formatted according to RFC 3986. - N2NotifyUri string `json:"n2NotifyUri,omitempty" yaml:"n2NotifyUri" bson:"n2NotifyUri,omitempty"` - UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` - UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` - NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` -} diff --git a/models/models/model_ue_context_create_error.go b/models/models/model_ue_context_create_error.go deleted file mode 100644 index c997ab5b..00000000 --- a/models/models/model_ue_context_create_error.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a failure response for creating a UE context -type UeContextCreateError struct { - Error *ProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` - TargetToSourceFailureData *N2InfoContent `json:"targetToSourceFailureData,omitempty" yaml:"targetToSourceFailureData" bson:"targetToSourceFailureData,omitempty"` -} diff --git a/models/models/model_ue_context_created_data.go b/models/models/model_ue_context_created_data.go deleted file mode 100644 index e3f1ee70..00000000 --- a/models/models/model_ue_context_created_data.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a successful response for creating an individual ueContext resource -type UeContextCreatedData struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` - TargetToSourceData *N2InfoContent `json:"targetToSourceData" yaml:"targetToSourceData" bson:"targetToSourceData,omitempty"` - PduSessionList []N2SmInformation `json:"pduSessionList" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` - FailedSessionList []N2SmInformation `json:"failedSessionList,omitempty" yaml:"failedSessionList" bson:"failedSessionList,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` - AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` -} diff --git a/models/models/model_ue_context_in_amf_data.go b/models/models/model_ue_context_in_amf_data.go deleted file mode 100644 index 0db129c0..00000000 --- a/models/models/model_ue_context_in_amf_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextInAmfData struct { - EpsInterworkingInfo *EpsInterworkingInfo `json:"epsInterworkingInfo,omitempty" yaml:"epsInterworkingInfo" bson:"epsInterworkingInfo,omitempty"` - // AMF information - AmfInfo []UdmSdmAmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` -} diff --git a/models/models/model_ue_context_in_smf_data.go b/models/models/model_ue_context_in_smf_data.go deleted file mode 100644 index 473e5213..00000000 --- a/models/models/model_ue_context_in_smf_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextInSmfData struct { - // A map (list of key-value pairs where PduSessionId serves as key) of PduSessions - PduSessions map[string]PduSession `json:"pduSessions,omitempty" yaml:"pduSessions" bson:"pduSessions,omitempty"` - PgwInfo []PgwInfo `json:"pgwInfo,omitempty" yaml:"pgwInfo" bson:"pgwInfo,omitempty"` - EmergencyInfo *EmergencyInfo `json:"emergencyInfo,omitempty" yaml:"emergencyInfo" bson:"emergencyInfo,omitempty"` -} diff --git a/models/models/model_ue_context_in_smf_data_sub_filter.go b/models/models/model_ue_context_in_smf_data_sub_filter.go deleted file mode 100644 index 4fc297cf..00000000 --- a/models/models/model_ue_context_in_smf_data_sub_filter.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE Context In Smf Data Subscription Filter. -type UeContextInSmfDataSubFilter struct { - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - SnssaiList []Snssai `json:"snssaiList,omitempty" yaml:"snssaiList" bson:"snssaiList,omitempty"` - EmergencyInd bool `json:"emergencyInd,omitempty" yaml:"emergencyInd" bson:"emergencyInd,omitempty"` -} diff --git a/models/models/model_ue_context_in_smsf_data.go b/models/models/model_ue_context_in_smsf_data.go deleted file mode 100644 index 0aa92885..00000000 --- a/models/models/model_ue_context_in_smsf_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextInSmsfData struct { - SmsfInfo3GppAccess *SmsfInfo `json:"smsfInfo3GppAccess,omitempty" yaml:"smsfInfo3GppAccess" bson:"smsfInfo3GppAccess,omitempty"` - SmsfInfoNon3GppAccess *SmsfInfo `json:"smsfInfoNon3GppAccess,omitempty" yaml:"smsfInfoNon3GppAccess" bson:"smsfInfoNon3GppAccess,omitempty"` -} diff --git a/models/models/model_ue_context_info.go b/models/models/model_ue_context_info.go deleted file mode 100644 index b6cdebca..00000000 --- a/models/models/model_ue_context_info.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// UE Context Information -type UeContextInfo struct { - SupportVoPS bool `json:"supportVoPS,omitempty" yaml:"supportVoPS" bson:"supportVoPS,omitempty"` - SupportVoPSn3gpp bool `json:"supportVoPSn3gpp,omitempty" yaml:"supportVoPSn3gpp" bson:"supportVoPSn3gpp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - LastActTime *time.Time `json:"lastActTime,omitempty" yaml:"lastActTime" bson:"lastActTime,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ue_context_info_class.go b/models/models/model_ue_context_info_class.go deleted file mode 100644 index 899750e4..00000000 --- a/models/models/model_ue_context_info_class.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_MT - * - * AMF Mobile Terminated Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextInfoClass string - -// List of UeContextInfoClass -const ( - UeContextInfoClass_TADS UeContextInfoClass = "TADS" -) diff --git a/models/models/model_ue_context_release.go b/models/models/model_ue_context_release.go deleted file mode 100644 index 775a5cad..00000000 --- a/models/models/model_ue_context_release.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a Release UE Context request -type UeContextRelease struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` - NgapCause *NgApCause `json:"ngapCause" yaml:"ngapCause" bson:"ngapCause,omitempty"` -} diff --git a/models/models/model_ue_context_relocate_data.go b/models/models/model_ue_context_relocate_data.go deleted file mode 100644 index e32dc8da..00000000 --- a/models/models/model_ue_context_relocate_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a Relocate UE Context request -type UeContextRelocateData struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` - TargetId *NgRanTargetId `json:"targetId" yaml:"targetId" bson:"targetId,omitempty"` - SourceToTargetData *N2InfoContent `json:"sourceToTargetData" yaml:"sourceToTargetData" bson:"sourceToTargetData,omitempty"` - ForwardRelocationRequest *RefToBinaryData `json:"forwardRelocationRequest" yaml:"forwardRelocationRequest" bson:"forwardRelocationRequest,omitempty"` - PduSessionList []N2SmInformation `json:"pduSessionList,omitempty" yaml:"pduSessionList" bson:"pduSessionList,omitempty"` - UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` - NgapCause *NgApCause `json:"ngapCause,omitempty" yaml:"ngapCause" bson:"ngapCause,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ue_context_relocated_data.go b/models/models/model_ue_context_relocated_data.go deleted file mode 100644 index bbae1304..00000000 --- a/models/models/model_ue_context_relocated_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a Relocate UE Context response -type UeContextRelocatedData struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` -} diff --git a/models/models/model_ue_context_transfer_req_data.go b/models/models/model_ue_context_transfer_req_data.go deleted file mode 100644 index fea628e4..00000000 --- a/models/models/model_ue_context_transfer_req_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a UE Context Transfer Request to start transferring of an individual ueContext resource from old AMF to new AMF -type UeContextTransferReqData struct { - Reason TransferReason `json:"reason" yaml:"reason" bson:"reason,omitempty"` - AccessType AccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - RegRequest *N1MessageContainer `json:"regRequest,omitempty" yaml:"regRequest" bson:"regRequest,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ue_context_transfer_request.go b/models/models/model_ue_context_transfer_request.go deleted file mode 100644 index 5e0159c3..00000000 --- a/models/models/model_ue_context_transfer_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextTransferRequest struct { - JsonData *UeContextTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` -} diff --git a/models/models/model_ue_context_transfer_response_200.go b/models/models/model_ue_context_transfer_response_200.go deleted file mode 100644 index 64c434eb..00000000 --- a/models/models/model_ue_context_transfer_response_200.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextTransferResponse200 struct { - JsonData *UeContextTransferRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` -} diff --git a/models/models/model_ue_context_transfer_rsp_data.go b/models/models/model_ue_context_transfer_rsp_data.go deleted file mode 100644 index 3adf6ef5..00000000 --- a/models/models/model_ue_context_transfer_rsp_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a successful response to the UE Context Transfer request -type UeContextTransferRspData struct { - UeContext *UeContext `json:"ueContext" yaml:"ueContext" bson:"ueContext,omitempty"` - UeRadioCapability *N2InfoContent `json:"ueRadioCapability,omitempty" yaml:"ueRadioCapability" bson:"ueRadioCapability,omitempty"` - UeRadioCapabilityForPaging *N2InfoContent `json:"ueRadioCapabilityForPaging,omitempty" yaml:"ueRadioCapabilityForPaging" bson:"ueRadioCapabilityForPaging,omitempty"` - UeNbiotRadioCapability *N2InfoContent `json:"ueNbiotRadioCapability,omitempty" yaml:"ueNbiotRadioCapability" bson:"ueNbiotRadioCapability,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ue_context_transfer_status.go b/models/models/model_ue_context_transfer_status.go deleted file mode 100644 index a4a76794..00000000 --- a/models/models/model_ue_context_transfer_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeContextTransferStatus string - -// List of UeContextTransferStatus -const ( - UeContextTransferStatus_TRANSFERRED UeContextTransferStatus = "TRANSFERRED" - UeContextTransferStatus_NOT_TRANSFERRED UeContextTransferStatus = "NOT_TRANSFERRED" -) diff --git a/models/models/model_ue_differentiation_info.go b/models/models/model_ue_differentiation_info.go deleted file mode 100644 index 80e0041b..00000000 --- a/models/models/model_ue_differentiation_info.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the UE Differentiation Information and its validity time -type UeDifferentiationInfo struct { - PeriodicComInd PeriodicCommunicationIndicator `json:"periodicComInd,omitempty" yaml:"periodicComInd" bson:"periodicComInd,omitempty"` - // indicating a time in seconds. - PeriodicTime int32 `json:"periodicTime,omitempty" yaml:"periodicTime" bson:"periodicTime,omitempty"` - ScheduledComTime *ScheduledCommunicationTime `json:"scheduledComTime,omitempty" yaml:"scheduledComTime" bson:"scheduledComTime,omitempty"` - StationaryInd StationaryIndication `json:"stationaryInd,omitempty" yaml:"stationaryInd" bson:"stationaryInd,omitempty"` - TrafficProfile TrafficProfile `json:"trafficProfile,omitempty" yaml:"trafficProfile" bson:"trafficProfile,omitempty"` - BatteryInd *BatteryIndication `json:"batteryInd,omitempty" yaml:"batteryInd" bson:"batteryInd,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_ue_id_ext.go b/models/models/model_ue_id_ext.go deleted file mode 100644 index 9001f206..00000000 --- a/models/models/model_ue_id_ext.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE Identity -type UeIdExt struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` -} diff --git a/models/models/model_ue_identity_info.go b/models/models/model_ue_identity_info.go deleted file mode 100644 index b76cdedb..00000000 --- a/models/models/model_ue_identity_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents 5GS-Level UE identities. -type UeIdentityInfo struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` -} diff --git a/models/models/model_ue_in_area_filter.go b/models/models/model_ue_in_area_filter.go deleted file mode 100644 index d4b8ed5c..00000000 --- a/models/models/model_ue_in_area_filter.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Additional filters for UE in Area Report event -type UeInAreaFilter struct { - UeType UeType `json:"ueType,omitempty" yaml:"ueType" bson:"ueType,omitempty"` - AerialSrvDnnInd bool `json:"aerialSrvDnnInd,omitempty" yaml:"aerialSrvDnnInd" bson:"aerialSrvDnnInd,omitempty"` -} diff --git a/models/models/model_ue_initiated_resource_request.go b/models/models/model_ue_initiated_resource_request.go deleted file mode 100644 index 24dc0299..00000000 --- a/models/models/model_ue_initiated_resource_request.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates that a UE requests specific QoS handling for the selected SDF. -type UeInitiatedResourceRequest struct { - PccRuleId string `json:"pccRuleId,omitempty" yaml:"pccRuleId" bson:"pccRuleId,omitempty"` - RuleOp RuleOperation `json:"ruleOp" yaml:"ruleOp" bson:"ruleOp,omitempty"` - Precedence int32 `json:"precedence,omitempty" yaml:"precedence" bson:"precedence,omitempty"` - PackFiltInfo []PacketFilterInfo `json:"packFiltInfo" yaml:"packFiltInfo" bson:"packFiltInfo,omitempty"` - ReqQos *RequestedQos `json:"reqQos,omitempty" yaml:"reqQos" bson:"reqQos,omitempty"` -} diff --git a/models/models/model_ue_lcs_capability.go b/models/models/model_ue_lcs_capability.go deleted file mode 100644 index 93dc2c8c..00000000 --- a/models/models/model_ue_lcs_capability.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates the LCS capability supported by the UE.. -type UeLcsCapability struct { - LppSupport bool `json:"lppSupport,omitempty" yaml:"lppSupport" bson:"lppSupport,omitempty"` - CiotOptimisation bool `json:"ciotOptimisation,omitempty" yaml:"ciotOptimisation" bson:"ciotOptimisation,omitempty"` -} diff --git a/models/models/model_ue_location_info.go b/models/models/model_ue_location_info.go deleted file mode 100644 index 9c88e38f..00000000 --- a/models/models/model_ue_location_info.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Indicates location information of a UE. -type UeLocationInfo struct { - LocationEstimate *GeographicArea `json:"locationEstimate,omitempty" yaml:"locationEstimate" bson:"locationEstimate,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfLocationEstimate int32 `json:"ageOfLocationEstimate,omitempty" yaml:"ageOfLocationEstimate" bson:"ageOfLocationEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfLocationEstimate *time.Time `json:"timestampOfLocationEstimate,omitempty" yaml:"timestampOfLocationEstimate" bson:"timestampOfLocationEstimate,omitempty"` - VelocityEstimate *VelocityEstimate `json:"velocityEstimate,omitempty" yaml:"velocityEstimate" bson:"velocityEstimate,omitempty"` - // Indicates value of the age of the location estimate. - AgeOfVelocityEstimate int32 `json:"ageOfVelocityEstimate,omitempty" yaml:"ageOfVelocityEstimate" bson:"ageOfVelocityEstimate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - TimestampOfVelocityEstimate *time.Time `json:"timestampOfVelocityEstimate,omitempty" yaml:"timestampOfVelocityEstimate" bson:"timestampOfVelocityEstimate,omitempty"` -} diff --git a/models/models/model_ue_location_service_ind.go b/models/models/model_ue_location_service_ind.go deleted file mode 100644 index abf5879c..00000000 --- a/models/models/model_ue_location_service_ind.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeLocationServiceInd string - -// List of UeLocationServiceInd -const ( - UeLocationServiceInd_ESTIMATE UeLocationServiceInd = "LOCATION_ESTIMATE" - UeLocationServiceInd_ASSISTANCE_DATA UeLocationServiceInd = "LOCATION_ASSISTANCE_DATA" -) diff --git a/models/models/model_ue_location_trends_report_item.go b/models/models/model_ue_location_trends_report_item.go deleted file mode 100644 index 8153246c..00000000 --- a/models/models/model_ue_location_trends_report_item.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Report Item for UE Location Trends event. -type UeLocationTrendsReportItem struct { - Tai *Tai `json:"tai,omitempty" yaml:"tai" bson:"tai,omitempty"` - Ncgi *Ncgi `json:"ncgi,omitempty" yaml:"ncgi" bson:"ncgi,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty" yaml:"ecgi" bson:"ecgi,omitempty"` - N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` - // indicating a time in seconds. - Spacing int32 `json:"spacing" yaml:"spacing" bson:"spacing,omitempty"` - // indicating a time in seconds. - Duration int32 `json:"duration" yaml:"duration" bson:"duration,omitempty"` - // string with format \"date-time\" as defined in OpenAPI. - Timestamp *time.Time `json:"timestamp" yaml:"timestamp" bson:"timestamp,omitempty"` -} diff --git a/models/models/model_ue_mobility.go b/models/models/model_ue_mobility.go deleted file mode 100644 index 91a6d762..00000000 --- a/models/models/model_ue_mobility.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents UE mobility information. -type UeMobility struct { - // string with format 'date-time' as defined in OpenAPI. - Ts *time.Time `json:"ts,omitempty" yaml:"ts" bson:"ts,omitempty"` - RecurringTime *ScheduledCommunicationTime `json:"recurringTime,omitempty" yaml:"recurringTime" bson:"recurringTime,omitempty"` - // indicating a time in seconds. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` - // string with format 'float' as defined in OpenAPI. - DurationVariance float32 `json:"durationVariance,omitempty" yaml:"durationVariance" bson:"durationVariance,omitempty"` - LocInfos []NwdafEventsSubscriptionLocationInfo `json:"locInfos,omitempty" yaml:"locInfos" bson:"locInfos,omitempty"` -} diff --git a/models/models/model_ue_mobility_collection.go b/models/models/model_ue_mobility_collection.go deleted file mode 100644 index ed8892c6..00000000 --- a/models/models/model_ue_mobility_collection.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains UE mobility information associated with an application. -type UeMobilityCollection struct { - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // String providing an application identifier. - AppId string `json:"appId" yaml:"appId" bson:"appId,omitempty"` - UeTrajs []UeTrajectoryCollection `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` -} diff --git a/models/models/model_ue_mobility_info.go b/models/models/model_ue_mobility_info.go deleted file mode 100644 index d4762b6a..00000000 --- a/models/models/model_ue_mobility_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains UE mobility information associated with an application. -type UeMobilityInfo struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - UeTrajs []UeTrajectoryInfo `json:"ueTrajs" yaml:"ueTrajs" bson:"ueTrajs,omitempty"` -} diff --git a/models/models/model_ue_n1_n2_info_subscription_create_data.go b/models/models/model_ue_n1_n2_info_subscription_create_data.go deleted file mode 100644 index 7771c23e..00000000 --- a/models/models/model_ue_n1_n2_info_subscription_create_data.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a create subscription request for UE specific N1 and/or N2 information notification -type UeN1N2InfoSubscriptionCreateData struct { - N2InformationClass N2InformationClass `json:"n2InformationClass,omitempty" yaml:"n2InformationClass" bson:"n2InformationClass,omitempty"` - // String providing an URI formatted according to RFC 3986. - N2NotifyCallbackUri string `json:"n2NotifyCallbackUri,omitempty" yaml:"n2NotifyCallbackUri" bson:"n2NotifyCallbackUri,omitempty"` - N1MessageClass N1MessageClass `json:"n1MessageClass,omitempty" yaml:"n1MessageClass" bson:"n1MessageClass,omitempty"` - // String providing an URI formatted according to RFC 3986. - N1NotifyCallbackUri string `json:"n1NotifyCallbackUri,omitempty" yaml:"n1NotifyCallbackUri" bson:"n1NotifyCallbackUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NfId string `json:"nfId,omitempty" yaml:"nfId" bson:"nfId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - OldGuami *Guami `json:"oldGuami,omitempty" yaml:"oldGuami" bson:"oldGuami,omitempty"` -} diff --git a/models/models/model_ue_n1_n2_info_subscription_created_data.go b/models/models/model_ue_n1_n2_info_subscription_created_data.go deleted file mode 100644 index 0926fb40..00000000 --- a/models/models/model_ue_n1_n2_info_subscription_created_data.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data for the created subscription for UE specific N1 and/or N2 information notification -type UeN1N2InfoSubscriptionCreatedData struct { - N1n2NotifySubscriptionId string `json:"n1n2NotifySubscriptionId" yaml:"n1n2NotifySubscriptionId" bson:"n1n2NotifySubscriptionId,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` -} diff --git a/models/models/model_ue_policy_section.go b/models/models/model_ue_policy_section.go deleted file mode 100644 index 33180574..00000000 --- a/models/models/model_ue_policy_section.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE policy section. -type UePolicySection struct { - // string with format 'bytes' as defined in OpenAPI - UePolicySectionInfo string `json:"uePolicySectionInfo" yaml:"uePolicySectionInfo" bson:"uePolicySectionInfo,omitempty"` - Upsi string `json:"upsi" yaml:"upsi" bson:"upsi,omitempty"` -} diff --git a/models/models/model_ue_policy_set.go b/models/models/model_ue_policy_set.go deleted file mode 100644 index 683187f0..00000000 --- a/models/models/model_ue_policy_set.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE policy data for a given subscriber. -type UePolicySet struct { - // Contains Presence reporting area information. The praId attribute within the PresenceInfo data type is the key of the map. - PraInfos map[string]PresenceInfo `json:"praInfos,omitempty" yaml:"praInfos" bson:"praInfos,omitempty"` - SubscCats []string `json:"subscCats,omitempty" yaml:"subscCats" bson:"subscCats,omitempty"` - // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. - UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` - Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` - // Contains allowed route selection descriptors per serving PLMN for a UE. The serving PLMN identifier is the key of the map. - AllowedRouteSelDescs map[string]PlmnRouteSelectionDescriptor `json:"allowedRouteSelDescs,omitempty" yaml:"allowedRouteSelDescs" bson:"allowedRouteSelDescs,omitempty"` - AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_ue_policy_set_patch.go b/models/models/model_ue_policy_set_patch.go deleted file mode 100644 index 723f966c..00000000 --- a/models/models/model_ue_policy_set_patch.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UE policy set for a given subscriber. -type UePolicySetPatch struct { - // Contains the UE Policy Sections. The UE Policy Section Identifier is used as the key of the map. - UePolicySections map[string]UePolicySection `json:"uePolicySections,omitempty" yaml:"uePolicySections" bson:"uePolicySections,omitempty"` - Upsis []string `json:"upsis,omitempty" yaml:"upsis" bson:"upsis,omitempty"` - AndspInd bool `json:"andspInd,omitempty" yaml:"andspInd" bson:"andspInd,omitempty"` - // String representing a Permanent Equipment Identifier that may contain - an IMEI or IMEISV, as specified in clause 6.2 of 3GPP TS 23.003; a MAC address for a 5G-RG or FN-RG via wireline access, with an indication that this address cannot be trusted for regulatory purpose if this address cannot be used as an Equipment Identifier of the FN-RG, as specified in clause 4.7.7 of 3GPP TS23.316. Examples are imei-012345678901234 or imeisv-0123456789012345. - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - OsIds []string `json:"osIds,omitempty" yaml:"osIds" bson:"osIds,omitempty"` -} diff --git a/models/models/model_ue_policy_transfer_failure_notification.go b/models/models/model_ue_policy_transfer_failure_notification.go deleted file mode 100644 index 488f8036..00000000 --- a/models/models/model_ue_policy_transfer_failure_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents information on the failure of a UE policy transfer to the UE because the UE is not reachable. -type UePolicyTransferFailureNotification struct { - Cause N1N2MessageTransferCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` - Ptis []int32 `json:"ptis" yaml:"ptis" bson:"ptis,omitempty"` -} diff --git a/models/models/model_ue_privacy_requirements.go b/models/models/model_ue_privacy_requirements.go deleted file mode 100644 index f6fa4eb9..00000000 --- a/models/models/model_ue_privacy_requirements.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE privacy requirements from (H)GMLC to the serving AMF or VGMLC(in the roaming case) for the target UE -type UePrivacyRequirements struct { - LcsServiceAuthInfo LcsServiceAuth `json:"lcsServiceAuthInfo,omitempty" yaml:"lcsServiceAuthInfo" bson:"lcsServiceAuthInfo,omitempty"` - CodeWordCheck bool `json:"codeWordCheck,omitempty" yaml:"codeWordCheck" bson:"codeWordCheck,omitempty"` -} diff --git a/models/models/model_ue_reachability.go b/models/models/model_ue_reachability.go deleted file mode 100644 index 178dcd77..00000000 --- a/models/models/model_ue_reachability.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeReachability string - -// List of UeReachability -const ( - UeReachability_UNREACHABLE UeReachability = "UNREACHABLE" - UeReachability_REACHABLE UeReachability = "REACHABLE" - UeReachability_REGULATORY_ONLY UeReachability = "REGULATORY_ONLY" -) diff --git a/models/models/model_ue_reachability_notification.go b/models/models/model_ue_reachability_notification.go deleted file mode 100644 index aa36933b..00000000 --- a/models/models/model_ue_reachability_notification.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the contents of a notification of UE reachability for IP sent by the HSS -type UeReachabilityNotification struct { - ReachabilityIndicator bool `json:"reachabilityIndicator" yaml:"reachabilityIndicator" bson:"reachabilityIndicator,omitempty"` - DetectingNode DetectingNode `json:"detectingNode" yaml:"detectingNode" bson:"detectingNode,omitempty"` - AccessType HssimsSdmAccessType `json:"accessType" yaml:"accessType" bson:"accessType,omitempty"` -} diff --git a/models/models/model_ue_reachability_subscription.go b/models/models/model_ue_reachability_subscription.go deleted file mode 100644 index 378124db..00000000 --- a/models/models/model_ue_reachability_subscription.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains the request parameters received by the HSS for a subscription to notifications of UE reachability for IP -type UeReachabilitySubscription struct { - // string with format 'date-time' as defined in OpenAPI. - Expiry *time.Time `json:"expiry" yaml:"expiry" bson:"expiry,omitempty"` - // String providing an URI formatted according to RFC 3986. - CallbackReference string `json:"callbackReference" yaml:"callbackReference" bson:"callbackReference,omitempty"` -} diff --git a/models/models/model_ue_reachable_ind.go b/models/models/model_ue_reachable_ind.go deleted file mode 100644 index 917c396f..00000000 --- a/models/models/model_ue_reachable_ind.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeReachableInd string - -// List of UeReachableInd -const ( - UeReachableInd_REACHABLE UeReachableInd = "REACHABLE" - UeReachableInd_NOT_REACHABLE UeReachableInd = "NOT_REACHABLE" - UeReachableInd_UNKNOWN UeReachableInd = "UNKNOWN" -) diff --git a/models/models/model_ue_reg_status_update_req_data.go b/models/models/model_ue_reg_status_update_req_data.go deleted file mode 100644 index 930e8325..00000000 --- a/models/models/model_ue_reg_status_update_req_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a UE registration status update request to indicate a completion of transferring at a target AMF -type UeRegStatusUpdateReqData struct { - TransferStatus UeContextTransferStatus `json:"transferStatus" yaml:"transferStatus" bson:"transferStatus,omitempty"` - ToReleaseSessionList []int32 `json:"toReleaseSessionList,omitempty" yaml:"toReleaseSessionList" bson:"toReleaseSessionList,omitempty"` - PcfReselectedInd bool `json:"pcfReselectedInd,omitempty" yaml:"pcfReselectedInd" bson:"pcfReselectedInd,omitempty"` - SmfChangeInfoList []SmfChangeInfo `json:"smfChangeInfoList,omitempty" yaml:"smfChangeInfoList" bson:"smfChangeInfoList,omitempty"` - AnalyticsNotUsedList []string `json:"analyticsNotUsedList,omitempty" yaml:"analyticsNotUsedList" bson:"analyticsNotUsedList,omitempty"` - ToReleaseSessionInfo []ReleaseSessionInfo `json:"toReleaseSessionInfo,omitempty" yaml:"toReleaseSessionInfo" bson:"toReleaseSessionInfo,omitempty"` -} diff --git a/models/models/model_ue_reg_status_update_rsp_data.go b/models/models/model_ue_reg_status_update_rsp_data.go deleted file mode 100644 index 686aa27b..00000000 --- a/models/models/model_ue_reg_status_update_rsp_data.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within a UE registration status update response to provide the status of UE context transfer status update at a source AMF -type UeRegStatusUpdateRspData struct { - RegStatusTransferComplete bool `json:"regStatusTransferComplete" yaml:"regStatusTransferComplete" bson:"regStatusTransferComplete,omitempty"` -} diff --git a/models/models/model_ue_requested_value_rep.go b/models/models/model_ue_requested_value_rep.go deleted file mode 100644 index bb84fa7b..00000000 --- a/models/models/model_ue_requested_value_rep.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V17.9.0; 5G System; UE Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the current applicable values corresponding to the policy control request triggers. -type UeRequestedValueRep struct { - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // Contains the UE presence statuses for tracking areas. The praId attribute within the PresenceInfo data type is the key of the map. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` -} diff --git a/models/models/model_ue_slice_mbr.go b/models/models/model_ue_slice_mbr.go deleted file mode 100644 index 91c134c8..00000000 --- a/models/models/model_ue_slice_mbr.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V17.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a UE-Slice-MBR and the related information. -type UeSliceMbr struct { - // Contains the MBR for uplink and the MBR for downlink. - SliceMbr map[string]SliceMbr `json:"sliceMbr" yaml:"sliceMbr" bson:"sliceMbr,omitempty"` - ServingSnssai *Snssai `json:"servingSnssai" yaml:"servingSnssai" bson:"servingSnssai,omitempty"` - MappedHomeSnssai *Snssai `json:"mappedHomeSnssai,omitempty" yaml:"mappedHomeSnssai" bson:"mappedHomeSnssai,omitempty"` -} diff --git a/models/models/model_ue_trajectory_collection.go b/models/models/model_ue_trajectory_collection.go deleted file mode 100644 index 1afcfee9..00000000 --- a/models/models/model_ue_trajectory_collection.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains UE trajectory information associated with an application. -type UeTrajectoryCollection struct { - // string with format \"date-time\" as defined in OpenAPI. - Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` - LocArea *LocationArea5G `json:"locArea" yaml:"locArea" bson:"locArea,omitempty"` -} diff --git a/models/models/model_ue_trajectory_info.go b/models/models/model_ue_trajectory_info.go deleted file mode 100644 index e5323dcf..00000000 --- a/models/models/model_ue_trajectory_info.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains UE trajectory information. -type UeTrajectoryInfo struct { - // string with format 'date-time' as defined in OpenAPI. - Ts *time.Time `json:"ts" yaml:"ts" bson:"ts,omitempty"` - Location *UserLocation `json:"location" yaml:"location" bson:"location,omitempty"` -} diff --git a/models/models/model_ue_transfer_type.go b/models/models/model_ue_transfer_type.go deleted file mode 100644 index 7d2101b8..00000000 --- a/models/models/model_ue_transfer_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeTransferType string - -// List of UETransferType -const ( - UeTransferType_INTRA_UE UeTransferType = "INTRA_UE" - UeTransferType_INTER_UE UeTransferType = "INTER_UE" -) diff --git a/models/models/model_ue_type.go b/models/models/model_ue_type.go deleted file mode 100644 index 465e4e6e..00000000 --- a/models/models/model_ue_type.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeType string - -// List of UeType -const ( - UeType_AERIAL_UE UeType = "AERIAL_UE" -) diff --git a/models/models/model_ue_update_status.go b/models/models/model_ue_update_status.go deleted file mode 100644 index 28849427..00000000 --- a/models/models/model_ue_update_status.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeUpdateStatus string - -// List of UeUpdateStatus -const ( - UeUpdateStatus_NOT_SENT UeUpdateStatus = "NOT_SENT" - UeUpdateStatus_SENT_NO_ACK_REQUIRED UeUpdateStatus = "SENT_NO_ACK_REQUIRED" - UeUpdateStatus_WAITING_FOR_ACK UeUpdateStatus = "WAITING_FOR_ACK" - UeUpdateStatus_ACK_RECEIVED UeUpdateStatus = "ACK_RECEIVED" - UeUpdateStatus_NEGATIVE_ACK_RECEIVED UeUpdateStatus = "NEGATIVE_ACK_RECEIVED" -) diff --git a/models/models/model_ulcl_bp_information.go b/models/models/model_ulcl_bp_information.go deleted file mode 100644 index 5e789dd8..00000000 --- a/models/models/model_ulcl_bp_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UL CL or BP Information -type UlclBpInformation struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - UlclBpUpfId string `json:"ulclBpUpfId,omitempty" yaml:"ulclBpUpfId" bson:"ulclBpUpfId,omitempty"` -} diff --git a/models/models/model_umt_time.go b/models/models/model_umt_time.go deleted file mode 100644 index 639cef3c..00000000 --- a/models/models/model_umt_time.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UmtTime struct { - // String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339. Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC). - TimeOfDay string `json:"timeOfDay" yaml:"timeOfDay" bson:"timeOfDay,omitempty"` - // integer between and including 1 and 7 denoting a weekday. 1 shall indicate Monday, and the subsequent weekdays shall be indicated with the next higher numbers. 7 shall indicate Sunday. - DayOfWeek int32 `json:"dayOfWeek" yaml:"dayOfWeek" bson:"dayOfWeek,omitempty"` -} diff --git a/models/models/model_un_trust_af_info.go b/models/models/model_un_trust_af_info.go deleted file mode 100644 index 80d6a3ad..00000000 --- a/models/models/model_un_trust_af_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a untrusted AF Instance -type UnTrustAfInfo struct { - AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` - SNssaiInfoList []SnssaiInfoItem `json:"sNssaiInfoList,omitempty" yaml:"sNssaiInfoList" bson:"sNssaiInfoList,omitempty"` - MappingInd bool `json:"mappingInd,omitempty" yaml:"mappingInd" bson:"mappingInd,omitempty"` -} diff --git a/models/models/model_unavailable_access_indication.go b/models/models/model_unavailable_access_indication.go deleted file mode 100644 index 354dac6f..00000000 --- a/models/models/model_unavailable_access_indication.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UnavailableAccessIndication string - -// List of UnavailableAccessIndication -const ( - UnavailableAccessIndication__3_GA_UNAVAILABLE UnavailableAccessIndication = "3GA_UNAVAILABLE" - UnavailableAccessIndication_N3_GA_UNAVAILABLE UnavailableAccessIndication = "N3GA_UNAVAILABLE" -) diff --git a/models/models/model_uncertainty_ellipse.go b/models/models/model_uncertainty_ellipse.go deleted file mode 100644 index 52d59c0e..00000000 --- a/models/models/model_uncertainty_ellipse.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipse with uncertainty. -type UncertaintyEllipse struct { - // Indicates value of uncertainty. - SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` - // Indicates value of uncertainty. - SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` - // Indicates value of orientation angle. - OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` -} diff --git a/models/models/model_uncertainty_ellipsoid.go b/models/models/model_uncertainty_ellipsoid.go deleted file mode 100644 index 0e6e7ea9..00000000 --- a/models/models/model_uncertainty_ellipsoid.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Ellipsoid with uncertainty -type UncertaintyEllipsoid struct { - // Indicates value of uncertainty. - SemiMajor float32 `json:"semiMajor" yaml:"semiMajor" bson:"semiMajor,omitempty"` - // Indicates value of uncertainty. - SemiMinor float32 `json:"semiMinor" yaml:"semiMinor" bson:"semiMinor,omitempty"` - // Indicates value of uncertainty. - Vertical float32 `json:"vertical" yaml:"vertical" bson:"vertical,omitempty"` - // Indicates value of orientation angle. - OrientationMajor int32 `json:"orientationMajor" yaml:"orientationMajor" bson:"orientationMajor,omitempty"` -} diff --git a/models/models/model_unrelated_class.go b/models/models/model_unrelated_class.go deleted file mode 100644 index 9442bb76..00000000 --- a/models/models/model_unrelated_class.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UnrelatedClass struct { - DefaultUnrelatedClass *DefaultUnrelatedClass `json:"defaultUnrelatedClass" yaml:"defaultUnrelatedClass" bson:"defaultUnrelatedClass,omitempty"` - ExternalUnrelatedClass *ExternalUnrelatedClass `json:"externalUnrelatedClass,omitempty" yaml:"externalUnrelatedClass" bson:"externalUnrelatedClass,omitempty"` - ServiceTypeUnrelatedClasses []ServiceTypeUnrelatedClass `json:"serviceTypeUnrelatedClasses,omitempty" yaml:"serviceTypeUnrelatedClasses" bson:"serviceTypeUnrelatedClasses,omitempty"` -} diff --git a/models/models/model_up_cnx_state.go b/models/models/model_up_cnx_state.go deleted file mode 100644 index 3b915248..00000000 --- a/models/models/model_up_cnx_state.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpCnxState string - -// List of UpCnxState -const ( - UpCnxState_ACTIVATED UpCnxState = "ACTIVATED" - UpCnxState_DEACTIVATED UpCnxState = "DEACTIVATED" - UpCnxState_ACTIVATING UpCnxState = "ACTIVATING" - UpCnxState_SUSPENDED UpCnxState = "SUSPENDED" -) diff --git a/models/models/model_up_confidentiality.go b/models/models/model_up_confidentiality.go deleted file mode 100644 index 0052b70f..00000000 --- a/models/models/model_up_confidentiality.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpConfidentiality string - -// List of UpConfidentiality -const ( - UpConfidentiality_REQUIRED UpConfidentiality = "REQUIRED" - UpConfidentiality_PREFERRED UpConfidentiality = "PREFERRED" - UpConfidentiality_NOT_NEEDED UpConfidentiality = "NOT_NEEDED" -) diff --git a/models/models/model_up_integrity.go b/models/models/model_up_integrity.go deleted file mode 100644 index c22201f0..00000000 --- a/models/models/model_up_integrity.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpIntegrity string - -// List of UpIntegrity -const ( - UpIntegrity_REQUIRED UpIntegrity = "REQUIRED" - UpIntegrity_PREFERRED UpIntegrity = "PREFERRED" - UpIntegrity_NOT_NEEDED UpIntegrity = "NOT_NEEDED" -) diff --git a/models/models/model_up_interface_type.go b/models/models/model_up_interface_type.go deleted file mode 100644 index 71460953..00000000 --- a/models/models/model_up_interface_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpInterfaceType string - -// List of UPInterfaceType -const ( - UpInterfaceType_N3 UpInterfaceType = "N3" - UpInterfaceType_N6 UpInterfaceType = "N6" - UpInterfaceType_N9 UpInterfaceType = "N9" - UpInterfaceType_DATA_FORWARDING UpInterfaceType = "DATA_FORWARDING" - UpInterfaceType_N3_MB UpInterfaceType = "N3MB" - UpInterfaceType_N6_MB UpInterfaceType = "N6MB" - UpInterfaceType_N19_MB UpInterfaceType = "N19MB" - UpInterfaceType_NMB9 UpInterfaceType = "NMB9" -) diff --git a/models/models/model_up_path_chg_event.go b/models/models/model_up_path_chg_event.go deleted file mode 100644 index ff217f33..00000000 --- a/models/models/model_up_path_chg_event.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V17.9.0; 5G System; Policy Authorization Service; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the UP path change event subscription from the AF. -type UpPathChgEvent struct { - // String providing an URI formatted according to RFC 3986. - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // It is used to set the value of Notification Correlation ID in the notification sent by the SMF. - NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` -} diff --git a/models/models/model_up_security.go b/models/models/model_up_security.go deleted file mode 100644 index fa882426..00000000 --- a/models/models/model_up_security.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains Userplain security information. -type UpSecurity struct { - UpIntegr UpIntegrity `json:"upIntegr" yaml:"upIntegr" bson:"upIntegr,omitempty"` - UpConfid UpConfidentiality `json:"upConfid" yaml:"upConfid" bson:"upConfid,omitempty"` -} diff --git a/models/models/model_up_security_info.go b/models/models/model_up_security_info.go deleted file mode 100644 index f6f0d053..00000000 --- a/models/models/model_up_security_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// User Plane Security Information -type UpSecurityInfo struct { - UpSecurity *UpSecurity `json:"upSecurity" yaml:"upSecurity" bson:"upSecurity,omitempty"` - MaxIntegrityProtectedDataRateUl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateUl,omitempty" yaml:"maxIntegrityProtectedDataRateUl" bson:"maxIntegrityProtectedDataRateUl,omitempty"` - MaxIntegrityProtectedDataRateDl MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty" yaml:"maxIntegrityProtectedDataRateDl" bson:"maxIntegrityProtectedDataRateDl,omitempty"` - SecurityResult *SecurityResult `json:"securityResult,omitempty" yaml:"securityResult" bson:"securityResult,omitempty"` -} diff --git a/models/models/model_update_charging_data_response_400.go b/models/models/model_update_charging_data_response_400.go deleted file mode 100644 index d75afd54..00000000 --- a/models/models/model_update_charging_data_response_400.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UpdateChargingDataResponse400 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_update_charging_data_response_403.go b/models/models/model_update_charging_data_response_403.go deleted file mode 100644 index 86566abd..00000000 --- a/models/models/model_update_charging_data_response_403.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UpdateChargingDataResponse403 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_update_charging_data_response_404.go b/models/models/model_update_charging_data_response_404.go deleted file mode 100644 index 596c6e44..00000000 --- a/models/models/model_update_charging_data_response_404.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UpdateChargingDataResponse404 struct { - // String providing an URI formatted according to RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // String providing an URI formatted according to RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - // Fully Qualified Domain Name - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - InvocationTimeStamp *time.Time `json:"invocationTimeStamp" yaml:"invocationTimeStamp" bson:"invocationTimeStamp,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - InvocationSequenceNumber int32 `json:"invocationSequenceNumber" yaml:"invocationSequenceNumber" bson:"invocationSequenceNumber,omitempty"` - InvocationResult *InvocationResult `json:"invocationResult,omitempty" yaml:"invocationResult" bson:"invocationResult,omitempty"` - SessionFailover SessionFailover `json:"sessionFailover,omitempty" yaml:"sessionFailover" bson:"sessionFailover,omitempty"` - MultipleUnitInformation []MultipleUnitInformation `json:"multipleUnitInformation,omitempty" yaml:"multipleUnitInformation" bson:"multipleUnitInformation,omitempty"` - Triggers []ChfConvergedChargingTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PDUSessionChargingInformation *ChfConvergedChargingPduSessionChargingInformation `json:"pDUSessionChargingInformation,omitempty" yaml:"pDUSessionChargingInformation" bson:"pDUSessionChargingInformation,omitempty"` - RoamingQBCInformation *ChfConvergedChargingRoamingQbcInformation `json:"roamingQBCInformation,omitempty" yaml:"roamingQBCInformation" bson:"roamingQBCInformation,omitempty"` - LocationReportingChargingInformation *LocationReportingChargingInformation `json:"locationReportingChargingInformation,omitempty" yaml:"locationReportingChargingInformation" bson:"locationReportingChargingInformation,omitempty"` -} diff --git a/models/models/model_update_nwdaf_registration_response_200.go b/models/models/model_update_nwdaf_registration_response_200.go deleted file mode 100644 index c6c1b8d0..00000000 --- a/models/models/model_update_nwdaf_registration_response_200.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nudm_UECM - * - * Nudm Context Management Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 17.13.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UpdateNwdafRegistrationResponse200 struct { - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NwdafInstanceId string `json:"nwdafInstanceId" yaml:"nwdafInstanceId" bson:"nwdafInstanceId,omitempty"` - AnalyticsIds []EventId `json:"analyticsIds" yaml:"analyticsIds" bson:"analyticsIds,omitempty"` - // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. - NwdafSetId string `json:"nwdafSetId,omitempty" yaml:"nwdafSetId" bson:"nwdafSetId,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RegistrationTime *time.Time `json:"registrationTime,omitempty" yaml:"registrationTime" bson:"registrationTime,omitempty"` - ContextInfo *ContextInfo `json:"contextInfo,omitempty" yaml:"contextInfo" bson:"contextInfo,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` - // The execution report contains an array of report items. Each report item indicates one failed modification. - Report []ReportItem `json:"report" yaml:"report" bson:"report,omitempty"` -} diff --git a/models/models/model_update_pdu_session_request.go b/models/models/model_update_pdu_session_request.go deleted file mode 100644 index 2f1a2c1d..00000000 --- a/models/models/model_update_pdu_session_request.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdatePduSessionRequest struct { - JsonData *HsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` -} diff --git a/models/models/model_update_pdu_session_response_200.go b/models/models/model_update_pdu_session_response_200.go deleted file mode 100644 index 9b9d70f0..00000000 --- a/models/models/model_update_pdu_session_response_200.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdatePduSessionResponse200 struct { - JsonData *HsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` -} diff --git a/models/models/model_update_pdu_session_response_400.go b/models/models/model_update_pdu_session_response_400.go deleted file mode 100644 index 26b0e72e..00000000 --- a/models/models/model_update_pdu_session_response_400.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdatePduSessionResponse400 struct { - JsonData *HsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` -} diff --git a/models/models/model_update_sm_context_request.go b/models/models/model_update_sm_context_request.go deleted file mode 100644 index 0e17b8c3..00000000 --- a/models/models/model_update_sm_context_request.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextRequest struct { - JsonData *SmfPduSessionSmContextUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` - BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` -} diff --git a/models/models/model_update_sm_context_response_200.go b/models/models/model_update_sm_context_response_200.go deleted file mode 100644 index 75602b87..00000000 --- a/models/models/model_update_sm_context_response_200.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextResponse200 struct { - JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` -} diff --git a/models/models/model_update_sm_context_response_400.go b/models/models/model_update_sm_context_response_400.go deleted file mode 100644 index d338e8a4..00000000 --- a/models/models/model_update_sm_context_response_400.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextResponse400 struct { - JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` -} diff --git a/models/models/model_updated_item.go b/models/models/model_updated_item.go deleted file mode 100644 index 430788b4..00000000 --- a/models/models/model_updated_item.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies a fragment of a resource. -type UpdatedItem struct { - // Identifies a fragment (subset of resource data) of a given resource. - Item string `json:"item" yaml:"item" bson:"item,omitempty"` - Value map[string]interface{} `json:"value" yaml:"value" bson:"value,omitempty"` -} diff --git a/models/models/model_updp_subscription_data.go b/models/models/model_updp_subscription_data.go deleted file mode 100644 index 56c255de..00000000 --- a/models/models/model_updp_subscription_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// UE policy delivery related N1 message notification subscription data. -type UpdpSubscriptionData struct { - UpdpNotifySubscriptionId string `json:"updpNotifySubscriptionId" yaml:"updpNotifySubscriptionId" bson:"updpNotifySubscriptionId,omitempty"` - // String providing an URI formatted according to RFC 3986. - UpdpNotifyCallbackUri string `json:"updpNotifyCallbackUri" yaml:"updpNotifyCallbackUri" bson:"updpNotifyCallbackUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - UpdpCallbackBinding string `json:"updpCallbackBinding,omitempty" yaml:"updpCallbackBinding" bson:"updpCallbackBinding,omitempty"` -} diff --git a/models/models/model_upf_cond.go b/models/models/model_upf_cond.go deleted file mode 100644 index bdbf04f3..00000000 --- a/models/models/model_upf_cond.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Subscription to a set of NF Instances (UPFs), able to serve a certain service area (i.e. SMF serving area or TAI list) -type UpfCond struct { - ConditionType string `json:"conditionType" yaml:"conditionType" bson:"conditionType,omitempty"` - SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` -} diff --git a/models/models/model_upf_info.go b/models/models/model_upf_info.go deleted file mode 100644 index 8cd7405d..00000000 --- a/models/models/model_upf_info.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an UPF NF Instance -type UpfInfo struct { - SNssaiUpfInfoList []SnssaiUpfInfoItem `json:"sNssaiUpfInfoList" yaml:"sNssaiUpfInfoList" bson:"sNssaiUpfInfoList,omitempty"` - SmfServingArea []string `json:"smfServingArea,omitempty" yaml:"smfServingArea" bson:"smfServingArea,omitempty"` - InterfaceUpfInfoList []InterfaceUpfInfoItem `json:"interfaceUpfInfoList,omitempty" yaml:"interfaceUpfInfoList" bson:"interfaceUpfInfoList,omitempty"` - IwkEpsInd bool `json:"iwkEpsInd,omitempty" yaml:"iwkEpsInd" bson:"iwkEpsInd,omitempty"` - PduSessionTypes []PduSessionType `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` - AtsssCapability *AtsssCapability `json:"atsssCapability,omitempty" yaml:"atsssCapability" bson:"atsssCapability,omitempty"` - UeIpAddrInd bool `json:"ueIpAddrInd,omitempty" yaml:"ueIpAddrInd" bson:"ueIpAddrInd,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` - TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` - TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - RedundantGtpu bool `json:"redundantGtpu,omitempty" yaml:"redundantGtpu" bson:"redundantGtpu,omitempty"` - Ipups bool `json:"ipups,omitempty" yaml:"ipups" bson:"ipups,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` - SupportedPfcpFeatures string `json:"supportedPfcpFeatures,omitempty" yaml:"supportedPfcpFeatures" bson:"supportedPfcpFeatures,omitempty"` -} diff --git a/models/models/model_upf_information.go b/models/models/model_upf_information.go deleted file mode 100644 index 85f3cd60..00000000 --- a/models/models/model_upf_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the ID/address/FQDN of the UPF. -type UpfInformation struct { - UpfId string `json:"upfId,omitempty" yaml:"upfId" bson:"upfId,omitempty"` - UpfAddr *AddrFqdn `json:"upfAddr,omitempty" yaml:"upfAddr" bson:"upfAddr,omitempty"` -} diff --git a/models/models/model_upu_data.go b/models/models/model_upu_data.go deleted file mode 100644 index f6ad6c55..00000000 --- a/models/models/model_upu_data.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Used to store the status of the latest UPU data update. -type UpuData struct { - // string with format 'date-time' as defined in OpenAPI. - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` - UeUpdateStatus UeUpdateStatus `json:"ueUpdateStatus" yaml:"ueUpdateStatus" bson:"ueUpdateStatus,omitempty"` - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuMacIue string `json:"upuMacIue,omitempty" yaml:"upuMacIue" bson:"upuMacIue,omitempty"` -} diff --git a/models/models/model_upu_security_info.go b/models/models/model_upu_security_info.go deleted file mode 100644 index 8ee6435a..00000000 --- a/models/models/model_upu_security_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nausf_UPUProtection Service - * - * AUSF UPU Protection Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V17.6.0; 5G System; Authentication Server Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the material generated for securing of UPU. It contains at least the UPU-MAC-IAUSF and CounterUPU. -type UpuSecurityInfo struct { - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuMacIausf string `json:"upuMacIausf" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` - // CounterUPU. - CounterUpu string `json:"counterUpu" yaml:"counterUpu" bson:"counterUpu,omitempty"` - // MAC value for protecting UPU procedure (UPU-MAC-IAUSF and UPU-MAC-IUE). - UpuXmacIue string `json:"upuXmacIue,omitempty" yaml:"upuXmacIue" bson:"upuXmacIue,omitempty"` -} diff --git a/models/models/model_uri_list.go b/models/models/model_uri_list.go deleted file mode 100644 index 31ab0edd..00000000 --- a/models/models/model_uri_list.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V17.12.0; 5G System; Network Function Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.2.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a set of URIs following the 3GPP hypermedia format (containing a \"_links\" attribute). -type UriList struct { - // List of the URI of NF instances. It has two members whose names are item and self. The item attribute contains an array of URIs. - Links map[string][]Link `json:"_links,omitempty" yaml:"_links" bson:"_links,omitempty"` - TotalItemCount int32 `json:"totalItemCount,omitempty" yaml:"totalItemCount" bson:"totalItemCount,omitempty"` -} diff --git a/models/models/model_uri_scheme.go b/models/models/model_uri_scheme.go deleted file mode 100644 index be7ceb02..00000000 --- a/models/models/model_uri_scheme.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UriScheme string - -// List of UriScheme -const ( - UriScheme_HTTP UriScheme = "http" - UriScheme_HTTPS UriScheme = "https" -) diff --git a/models/models/model_ursp_rule_request.go b/models/models/model_ursp_rule_request.go deleted file mode 100644 index 48d44524..00000000 --- a/models/models/model_ursp_rule_request.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains parameters that can be used to guide the URSP. -type UrspRuleRequest struct { - TrafficDesc *TrafficDescriptorComponents `json:"trafficDesc,omitempty" yaml:"trafficDesc" bson:"trafficDesc,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - RelatPrecedence int32 `json:"relatPrecedence,omitempty" yaml:"relatPrecedence" bson:"relatPrecedence,omitempty"` - // Sets of parameters that may be used to guide the Route Selection Descriptors of the URSP. - RouteSelParamSets []RouteSelectionParameterSet `json:"routeSelParamSets,omitempty" yaml:"routeSelParamSets" bson:"routeSelParamSets,omitempty"` -} diff --git a/models/models/model_usage.go b/models/models/model_usage.go deleted file mode 100644 index f67b6c7e..00000000 --- a/models/models/model_usage.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Usage string - -// List of Usage -const ( - Usage_UNSUCCESS Usage = "UNSUCCESS" - Usage_SUCCESS_RESULTS_NOT_USED Usage = "SUCCESS_RESULTS_NOT_USED" - Usage_SUCCESS_RESULTS_USED_TO_VERIFY_LOCATION Usage = "SUCCESS_RESULTS_USED_TO_VERIFY_LOCATION" - Usage_SUCCESS_RESULTS_USED_TO_GENERATE_LOCATION Usage = "SUCCESS_RESULTS_USED_TO_GENERATE_LOCATION" - Usage_SUCCESS_METHOD_NOT_DETERMINED Usage = "SUCCESS_METHOD_NOT_DETERMINED" -) diff --git a/models/models/model_usage_mon_data.go b/models/models/model_usage_mon_data.go deleted file mode 100644 index bdc9fb7e..00000000 --- a/models/models/model_usage_mon_data.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains remain allowed usage data for a subscriber. -type UsageMonData struct { - LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` - // Identifies the SNSSAI and DNN combinations for remain allowed usage data for a subscriber. The S-NSSAI is the key of the map. - Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` - UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` - AllowedUsage *UsageThreshold `json:"allowedUsage,omitempty" yaml:"allowedUsage" bson:"allowedUsage,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ResetTime *time.Time `json:"resetTime,omitempty" yaml:"resetTime" bson:"resetTime,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` - ResetIds []string `json:"resetIds,omitempty" yaml:"resetIds" bson:"resetIds,omitempty"` -} diff --git a/models/models/model_usage_mon_data_limit.go b/models/models/model_usage_mon_data_limit.go deleted file mode 100644 index 9d9fcaaa..00000000 --- a/models/models/model_usage_mon_data_limit.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains usage monitoring control data for a subscriber. -type UsageMonDataLimit struct { - LimitId string `json:"limitId" yaml:"limitId" bson:"limitId,omitempty"` - // Identifies the SNSSAI and DNN combinations to which the usage monitoring data limit applies. The S-NSSAI is the key of the map. - Scopes map[string]UsageMonDataScope `json:"scopes,omitempty" yaml:"scopes" bson:"scopes,omitempty"` - UmLevel UsageMonLevel `json:"umLevel,omitempty" yaml:"umLevel" bson:"umLevel,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - StartDate *time.Time `json:"startDate,omitempty" yaml:"startDate" bson:"startDate,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndDate *time.Time `json:"endDate,omitempty" yaml:"endDate" bson:"endDate,omitempty"` - UsageLimit *UsageThreshold `json:"usageLimit,omitempty" yaml:"usageLimit" bson:"usageLimit,omitempty"` - ResetPeriod *TimePeriod `json:"resetPeriod,omitempty" yaml:"resetPeriod" bson:"resetPeriod,omitempty"` -} diff --git a/models/models/model_usage_mon_data_scope.go b/models/models/model_usage_mon_data_scope.go deleted file mode 100644 index b734ea16..00000000 --- a/models/models/model_usage_mon_data_scope.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains a SNSSAI and DNN combinations to which the UsageMonData instance belongs to. -type UsageMonDataScope struct { - Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` - Dnn []string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/models/model_usage_mon_level.go b/models/models/model_usage_mon_level.go deleted file mode 100644 index e4fdf869..00000000 --- a/models/models/model_usage_mon_level.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UsageMonLevel string - -// List of UsageMonLevel -const ( - UsageMonLevel_SESSION_LEVEL UsageMonLevel = "SESSION_LEVEL" - UsageMonLevel_SERVICE_LEVEL UsageMonLevel = "SERVICE_LEVEL" -) diff --git a/models/models/model_usage_monitoring_data.go b/models/models/model_usage_monitoring_data.go deleted file mode 100644 index 9c1a19a2..00000000 --- a/models/models/model_usage_monitoring_data.go +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains usage monitoring related control information. -type UsageMonitoringData struct { - // Univocally identifies the usage monitoring policy data within a PDU session. - UmId string `json:"umId" yaml:"umId" bson:"umId,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThreshold int64 `json:"volumeThreshold,omitempty" yaml:"volumeThreshold" bson:"volumeThreshold,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThresholdUplink int64 `json:"volumeThresholdUplink,omitempty" yaml:"volumeThresholdUplink" bson:"volumeThresholdUplink,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - VolumeThresholdDownlink int64 `json:"volumeThresholdDownlink,omitempty" yaml:"volumeThresholdDownlink" bson:"volumeThresholdDownlink,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - TimeThreshold int32 `json:"timeThreshold,omitempty" yaml:"timeThreshold" bson:"timeThreshold,omitempty"` - // string with format 'date-time' as defined in OpenAPI with 'nullable:true' property. - MonitoringTime *time.Time `json:"monitoringTime,omitempty" yaml:"monitoringTime" bson:"monitoringTime,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThreshold int64 `json:"nextVolThreshold,omitempty" yaml:"nextVolThreshold" bson:"nextVolThreshold,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThresholdUplink int64 `json:"nextVolThresholdUplink,omitempty" yaml:"nextVolThresholdUplink" bson:"nextVolThresholdUplink,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - NextVolThresholdDownlink int64 `json:"nextVolThresholdDownlink,omitempty" yaml:"nextVolThresholdDownlink" bson:"nextVolThresholdDownlink,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - NextTimeThreshold int32 `json:"nextTimeThreshold,omitempty" yaml:"nextTimeThreshold" bson:"nextTimeThreshold,omitempty"` - // indicating a time in seconds with OpenAPI defined 'nullable: true' property. - InactivityTime int32 `json:"inactivityTime,omitempty" yaml:"inactivityTime" bson:"inactivityTime,omitempty"` - // Contains the PCC rule identifier(s) which corresponding service data flow(s) shall be excluded from PDU Session usage monitoring. It is only included in the UsageMonitoringData instance for session level usage monitoring. - ExUsagePccRuleIds []string `json:"exUsagePccRuleIds,omitempty" yaml:"exUsagePccRuleIds" bson:"exUsagePccRuleIds,omitempty"` -} diff --git a/models/models/model_usage_threshold.go b/models/models/model_usage_threshold.go deleted file mode 100644 index c898a354..00000000 --- a/models/models/model_usage_threshold.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents a usage threshold. -type UsageThreshold struct { - // Unsigned integer identifying a period of time in units of seconds. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` -} diff --git a/models/models/model_usage_threshold_rm.go b/models/models/model_usage_threshold_rm.go deleted file mode 100644 index 47a77493..00000000 --- a/models/models/model_usage_threshold_rm.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the same as the UsageThreshold data type but with the nullable:true property. -type UsageThresholdRm struct { - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // Unsigned integer identifying a volume in units of bytes with \"nullable=true\" property. - UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` -} diff --git a/models/models/model_user_consent.go b/models/models/model_user_consent.go deleted file mode 100644 index 2037040b..00000000 --- a/models/models/model_user_consent.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserConsent string - -// List of UserConsent -const ( - UserConsent_NOT_GIVEN UserConsent = "CONSENT_NOT_GIVEN" - UserConsent_GIVEN UserConsent = "CONSENT_GIVEN" -) diff --git a/models/models/model_user_data_congestion_collection.go b/models/models/model_user_data_congestion_collection.go deleted file mode 100644 index 27c6a943..00000000 --- a/models/models/model_user_data_congestion_collection.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nnef_EventExposure - * - * NEF Event Exposure Service. © 2022 , 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.591 V17.7.0; 5G System; Network Exposure Function Southbound Services; Stage 3. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.591/ - * - * API version: 1.2.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains User Data Congestion Analytics related information collection. -type UserDataCongestionCollection struct { - // String providing an application identifier. - AppId string `json:"appId,omitempty" yaml:"appId" bson:"appId,omitempty"` - IpTrafficFilter *FlowInfo `json:"ipTrafficFilter,omitempty" yaml:"ipTrafficFilter" bson:"ipTrafficFilter,omitempty"` - TimeInterv *TimeWindow `json:"timeInterv,omitempty" yaml:"timeInterv" bson:"timeInterv,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputUl string `json:"thrputUl,omitempty" yaml:"thrputUl" bson:"thrputUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputDl string `json:"thrputDl,omitempty" yaml:"thrputDl" bson:"thrputDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputPkUl string `json:"thrputPkUl,omitempty" yaml:"thrputPkUl" bson:"thrputPkUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - ThrputPkDl string `json:"thrputPkDl,omitempty" yaml:"thrputPkDl" bson:"thrputPkDl,omitempty"` -} diff --git a/models/models/model_user_data_congestion_info.go b/models/models/model_user_data_congestion_info.go deleted file mode 100644 index f0470abe..00000000 --- a/models/models/model_user_data_congestion_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the user data congestion information. -type UserDataCongestionInfo struct { - NetworkArea *NetworkAreaInfo `json:"networkArea" yaml:"networkArea" bson:"networkArea,omitempty"` - CongestionInfo *CongestionInfo `json:"congestionInfo" yaml:"congestionInfo" bson:"congestionInfo,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` -} diff --git a/models/models/model_user_identifier.go b/models/models/model_user_identifier.go deleted file mode 100644 index 9fc8d047..00000000 --- a/models/models/model_user_identifier.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Represents the user identifier. -type UserIdentifier struct { - // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` -} diff --git a/models/models/model_user_location.go b/models/models/model_user_location.go deleted file mode 100644 index 15208575..00000000 --- a/models/models/model_user_location.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nchf_OfflineOnlyCharging - * - * OfflineOnlyCharging Service © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.0.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// At least one of eutraLocation, nrLocation and n3gaLocation shall be present. Several of them may be present. -type UserLocation struct { - EutraLocation *EutraLocation `json:"eutraLocation,omitempty" yaml:"eutraLocation" bson:"eutraLocation,omitempty"` - NrLocation *NrLocation `json:"nrLocation,omitempty" yaml:"nrLocation" bson:"nrLocation,omitempty"` - N3gaLocation *N3gaLocation `json:"n3gaLocation,omitempty" yaml:"n3gaLocation" bson:"n3gaLocation,omitempty"` - UtraLocation *UtraLocation `json:"utraLocation,omitempty" yaml:"utraLocation" bson:"utraLocation,omitempty"` - GeraLocation *GeraLocation `json:"geraLocation,omitempty" yaml:"geraLocation" bson:"geraLocation,omitempty"` -} diff --git a/models/models/model_user_plane_event.go b/models/models/model_user_plane_event.go deleted file mode 100644 index 14ca4526..00000000 --- a/models/models/model_user_plane_event.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserPlaneEvent string - -// List of UserPlaneEvent -const ( - UserPlaneEvent_SESSION_TERMINATION UserPlaneEvent = "SESSION_TERMINATION" - UserPlaneEvent_LOSS_OF_BEARER UserPlaneEvent = "LOSS_OF_BEARER" - UserPlaneEvent_RECOVERY_OF_BEARER UserPlaneEvent = "RECOVERY_OF_BEARER" - UserPlaneEvent_RELEASE_OF_BEARER UserPlaneEvent = "RELEASE_OF_BEARER" - UserPlaneEvent_USAGE_REPORT UserPlaneEvent = "USAGE_REPORT" - UserPlaneEvent_FAILED_RESOURCES_ALLOCATION UserPlaneEvent = "FAILED_RESOURCES_ALLOCATION" - UserPlaneEvent_QOS_GUARANTEED UserPlaneEvent = "QOS_GUARANTEED" - UserPlaneEvent_QOS_NOT_GUARANTEED UserPlaneEvent = "QOS_NOT_GUARANTEED" - UserPlaneEvent_QOS_MONITORING UserPlaneEvent = "QOS_MONITORING" - UserPlaneEvent_SUCCESSFUL_RESOURCES_ALLOCATION UserPlaneEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" - UserPlaneEvent_ACCESS_TYPE_CHANGE UserPlaneEvent = "ACCESS_TYPE_CHANGE" - UserPlaneEvent_PLMN_CHG UserPlaneEvent = "PLMN_CHG" -) diff --git a/models/models/model_user_plane_event_report.go b/models/models/model_user_plane_event_report.go deleted file mode 100644 index 24ee953d..00000000 --- a/models/models/model_user_plane_event_report.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents an event report for user plane. -type UserPlaneEventReport struct { - Event UserPlaneEvent `json:"event" yaml:"event" bson:"event,omitempty"` - AccumulatedUsage *AccumulatedUsage `json:"accumulatedUsage,omitempty" yaml:"accumulatedUsage" bson:"accumulatedUsage,omitempty"` - // Identifies the affected flows that were sent during event subscription. It might be omitted when the reported event applies to all the flows sent during the subscription. - FlowIds []int32 `json:"flowIds,omitempty" yaml:"flowIds" bson:"flowIds,omitempty"` - // The currently applied QoS reference. Applicable for event QOS_NOT_GUARANTEED or SUCCESSFUL_RESOURCES_ALLOCATION. - AppliedQosRef string `json:"appliedQosRef,omitempty" yaml:"appliedQosRef" bson:"appliedQosRef,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - // Contains the QoS Monitoring Reporting information - QosMonReports []QosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` -} diff --git a/models/models/model_user_plane_notification_data.go b/models/models/model_user_plane_notification_data.go deleted file mode 100644 index af135370..00000000 --- a/models/models/model_user_plane_notification_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-as-session-with-qos - * - * API for setting us an AS session with required QoS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V17.9.0 T8 reference point for Northbound APIs - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the parameters to be conveyed in a user plane event(s) notification. -type UserPlaneNotificationData struct { - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Transaction string `json:"transaction" yaml:"transaction" bson:"transaction,omitempty"` - // Contains the reported event and applicable information - EventReports []UserPlaneEventReport `json:"eventReports" yaml:"eventReports" bson:"eventReports,omitempty"` -} diff --git a/models/models/model_user_state_cs.go b/models/models/model_user_state_cs.go deleted file mode 100644 index 4ec83210..00000000 --- a/models/models/model_user_state_cs.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserStateCs string - -// List of UserStateCs -const ( - UserStateCs_CAMEL_BUSY UserStateCs = "CAMEL_BUSY" - UserStateCs_NETWORK_DETERMINED_NOT_REACHABLE UserStateCs = "NETWORK_DETERMINED_NOT_REACHABLE" - UserStateCs_ASSUMED_IDLE UserStateCs = "ASSUMED_IDLE" - UserStateCs_NOT_PROVIDED_FROM_VLR UserStateCs = "NOT_PROVIDED_FROM_VLR" -) diff --git a/models/models/model_user_state_ps.go b/models/models/model_user_state_ps.go deleted file mode 100644 index 950dd23a..00000000 --- a/models/models/model_user_state_ps.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserStatePs string - -// List of UserStatePs -const ( - UserStatePs_DETACHED UserStatePs = "DETACHED" - UserStatePs_ATTACHED_NOT_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_NOT_REACHABLE_FOR_PAGING" - UserStatePs_ATTACHED_REACHABLE_FOR_PAGING UserStatePs = "ATTACHED_REACHABLE_FOR_PAGING" - UserStatePs_CONNECTED_NOT_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_NOT_REACHABLE_FOR_PAGING" - UserStatePs_CONNECTED_REACHABLE_FOR_PAGING UserStatePs = "CONNECTED_REACHABLE_FOR_PAGING" - UserStatePs_NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF UserStatePs = "NOT_PROVIDED_FROM_SGSN_OR_MME_OR_AMF" - UserStatePs_NETWORK_DETERMINED_NOT_REACHABLE UserStatePs = "NETWORK_DETERMINED_NOT_REACHABLE" -) diff --git a/models/models/model_utra_location.go b/models/models/model_utra_location.go deleted file mode 100644 index d9f34a4a..00000000 --- a/models/models/model_utra_location.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nhss_imsSDM - * - * Nhss Subscriber Data Management Service for IMS. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.562 HSS Services for interworking with IMS, version 17.6.0 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.562/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Exactly one of cgi, sai or lai shall be present. -type UtraLocation struct { - Cgi *CellGlobalId `json:"cgi,omitempty" yaml:"cgi" bson:"cgi,omitempty"` - Sai *ServiceAreaId `json:"sai,omitempty" yaml:"sai" bson:"sai,omitempty"` - Lai *LocationAreaId `json:"lai,omitempty" yaml:"lai" bson:"lai,omitempty"` - Rai *RoutingAreaId `json:"rai,omitempty" yaml:"rai" bson:"rai,omitempty"` - // The value represents the elapsed time in minutes since the last network contact of the mobile station. Value \"0\" indicates that the location information was obtained after a successful paging procedure for Active Location Retrieval when the UE is in idle mode or after a successful location reporting procedure the UE is in connected mode. Any other value than \"0\" indicates that the location information is the last known one. See 3GPP TS 29.002 clause 17.7.8. - AgeOfLocationInformation int32 `json:"ageOfLocationInformation,omitempty" yaml:"ageOfLocationInformation" bson:"ageOfLocationInformation,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - UeLocationTimestamp *time.Time `json:"ueLocationTimestamp,omitempty" yaml:"ueLocationTimestamp" bson:"ueLocationTimestamp,omitempty"` - // Refer to geographical Information.See 3GPP TS 23.032 clause 7.3.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeographicalInformation string `json:"geographicalInformation,omitempty" yaml:"geographicalInformation" bson:"geographicalInformation,omitempty"` - // Refers to Calling Geodetic Location. See ITU-T Recommendation Q.763 (1999) clause 3.88.2. Only the description of an ellipsoid point with uncertainty circle is allowed to be used. - GeodeticInformation string `json:"geodeticInformation,omitempty" yaml:"geodeticInformation" bson:"geodeticInformation,omitempty"` -} diff --git a/models/models/model_uuaa_mm_status.go b/models/models/model_uuaa_mm_status.go deleted file mode 100644 index 28c5aefb..00000000 --- a/models/models/model_uuaa_mm_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UuaaMmStatus string - -// List of UuaaMmStatus -const ( - UuaaMmStatus_SUCCESS UuaaMmStatus = "SUCCESS" - UuaaMmStatus_PENDING UuaaMmStatus = "PENDING" - UuaaMmStatus_FAILED UuaaMmStatus = "FAILED" -) diff --git a/models/models/model_v2x_capability.go b/models/models/model_v2x_capability.go deleted file mode 100644 index fcabb497..00000000 --- a/models/models/model_v2x_capability.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicate the supported V2X Capability by the PCF. -type V2xCapability struct { - LteV2x bool `json:"lteV2x,omitempty" yaml:"lteV2x" bson:"lteV2x,omitempty"` - NrV2x bool `json:"nrV2x,omitempty" yaml:"nrV2x" bson:"nrV2x,omitempty"` -} diff --git a/models/models/model_v2x_context.go b/models/models/model_v2x_context.go deleted file mode 100644 index 50729126..00000000 --- a/models/models/model_v2x_context.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the V2X services related parameters -type V2xContext struct { - NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` - LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - NrUeSidelinkAmbr string `json:"nrUeSidelinkAmbr,omitempty" yaml:"nrUeSidelinkAmbr" bson:"nrUeSidelinkAmbr,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - LteUeSidelinkAmbr string `json:"lteUeSidelinkAmbr,omitempty" yaml:"lteUeSidelinkAmbr" bson:"lteUeSidelinkAmbr,omitempty"` - Pc5QoSPara *Pc5QoSPara `json:"pc5QoSPara,omitempty" yaml:"pc5QoSPara" bson:"pc5QoSPara,omitempty"` -} diff --git a/models/models/model_v2x_information.go b/models/models/model_v2x_information.go deleted file mode 100644 index 52a9f0d9..00000000 --- a/models/models/model_v2x_information.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// V2X related N2 information -type V2xInformation struct { - N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` -} diff --git a/models/models/model_v2x_subscription_data.go b/models/models/model_v2x_subscription_data.go deleted file mode 100644 index a9f2fc97..00000000 --- a/models/models/model_v2x_subscription_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type V2xSubscriptionData struct { - NrV2xServicesAuth *NrV2xAuth `json:"nrV2xServicesAuth,omitempty" yaml:"nrV2xServicesAuth" bson:"nrV2xServicesAuth,omitempty"` - LteV2xServicesAuth *LteV2xAuth `json:"lteV2xServicesAuth,omitempty" yaml:"lteV2xServicesAuth" bson:"lteV2xServicesAuth,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - NrUePc5Ambr string `json:"nrUePc5Ambr,omitempty" yaml:"nrUePc5Ambr" bson:"nrUePc5Ambr,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - LtePc5Ambr string `json:"ltePc5Ambr,omitempty" yaml:"ltePc5Ambr" bson:"ltePc5Ambr,omitempty"` -} diff --git a/models/models/model_valid_time_period.go b/models/models/model_valid_time_period.go deleted file mode 100644 index 3a0d5fe2..00000000 --- a/models/models/model_valid_time_period.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ValidTimePeriod struct { - // string with format 'date-time' as defined in OpenAPI. - StartTime *time.Time `json:"startTime,omitempty" yaml:"startTime" bson:"startTime,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTime *time.Time `json:"endTime,omitempty" yaml:"endTime" bson:"endTime,omitempty"` -} diff --git a/models/models/model_var_snssai.go b/models/models/model_var_snssai.go deleted file mode 100644 index e31f5390..00000000 --- a/models/models/model_var_snssai.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VarSnssai struct { -} diff --git a/models/models/model_variable_part.go b/models/models/model_variable_part.go deleted file mode 100644 index fdd45ca7..00000000 --- a/models/models/model_variable_part.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VariablePart struct { - VariablePartType VariablePartType `json:"variablePartType" yaml:"variablePartType" bson:"variablePartType,omitempty"` - VariablePartValue []string `json:"variablePartValue" yaml:"variablePartValue" bson:"variablePartValue,omitempty"` - // Integer where the allowed values correspond to the value range of an unsigned 32-bit integer. - VariablePartOrder int32 `json:"variablePartOrder,omitempty" yaml:"variablePartOrder" bson:"variablePartOrder,omitempty"` -} diff --git a/models/models/model_variable_part_type.go b/models/models/model_variable_part_type.go deleted file mode 100644 index d80d1cc3..00000000 --- a/models/models/model_variable_part_type.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VariablePartType string - -// List of VariablePartType -const ( - VariablePartType_INTEGER VariablePartType = "INTEGER" - VariablePartType_NUMBER VariablePartType = "NUMBER" - VariablePartType_TIME VariablePartType = "TIME" - VariablePartType_DATE VariablePartType = "DATE" - VariablePartType_CURRENCY VariablePartType = "CURRENCY" -) diff --git a/models/models/model_velocity_estimate.go b/models/models/model_velocity_estimate.go deleted file mode 100644 index 2e386047..00000000 --- a/models/models/model_velocity_estimate.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Velocity estimate. -type VelocityEstimate struct { - // Indicates value of horizontal speed. - HSpeed float32 `json:"hSpeed" yaml:"hSpeed" bson:"hSpeed,omitempty"` - // Indicates value of angle. - Bearing int32 `json:"bearing" yaml:"bearing" bson:"bearing,omitempty"` - // Indicates value of vertical speed. - VSpeed float32 `json:"vSpeed" yaml:"vSpeed" bson:"vSpeed,omitempty"` - VDirection VerticalDirection `json:"vDirection" yaml:"vDirection" bson:"vDirection,omitempty"` - // Indicates value of speed uncertainty. - HUncertainty float32 `json:"hUncertainty" yaml:"hUncertainty" bson:"hUncertainty,omitempty"` - // Indicates value of speed uncertainty. - VUncertainty float32 `json:"vUncertainty" yaml:"vUncertainty" bson:"vUncertainty,omitempty"` -} diff --git a/models/models/model_velocity_requested.go b/models/models/model_velocity_requested.go deleted file mode 100644 index 72bad687..00000000 --- a/models/models/model_velocity_requested.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VelocityRequested string - -// List of VelocityRequested -const ( - VelocityRequested_NOT_REQUESTED VelocityRequested = "VELOCITY_IS_NOT_REQUESTED" - VelocityRequested_REQUESTED VelocityRequested = "VELOCITY_IS_REQUESTED" -) diff --git a/models/models/model_vendor_specific_feature.go b/models/models/model_vendor_specific_feature.go deleted file mode 100644 index 2a6bcb29..00000000 --- a/models/models/model_vendor_specific_feature.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information about a vendor-specific feature -type VendorSpecificFeature struct { - FeatureName string `json:"featureName" yaml:"featureName" bson:"featureName,omitempty"` - FeatureVersion string `json:"featureVersion" yaml:"featureVersion" bson:"featureVersion,omitempty"` -} diff --git a/models/models/model_vertical_direction.go b/models/models/model_vertical_direction.go deleted file mode 100644 index 560df095..00000000 --- a/models/models/model_vertical_direction.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * LMF Location - * - * LMF Location Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.572 V17.9.0; 5G System; Location Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.572/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VerticalDirection string - -// List of VerticalDirection -const ( - VerticalDirection_UPWARD VerticalDirection = "UPWARD" - VerticalDirection_DOWNWARD VerticalDirection = "DOWNWARD" -) diff --git a/models/models/model_vgmlc_address.go b/models/models/model_vgmlc_address.go deleted file mode 100644 index 850f1257..00000000 --- a/models/models/model_vgmlc_address.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VgmlcAddress struct { - // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. - VgmlcAddressIpv4 string `json:"vgmlcAddressIpv4,omitempty" yaml:"vgmlcAddressIpv4" bson:"vgmlcAddressIpv4,omitempty"` - VgmlcAddressIpv6 string `json:"vgmlcAddressIpv6,omitempty" yaml:"vgmlcAddressIpv6" bson:"vgmlcAddressIpv6,omitempty"` - // Fully Qualified Domain Name - VgmlcFqdn string `json:"vgmlcFqdn,omitempty" yaml:"vgmlcFqdn" bson:"vgmlcFqdn,omitempty"` -} diff --git a/models/models/model_virtual_resource.go b/models/models/model_virtual_resource.go deleted file mode 100644 index 323ece25..00000000 --- a/models/models/model_virtual_resource.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nchf_ConvergedCharging - * - * ConvergedCharging Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 32.291 V17.9.0: Telecommunication management; Charging management; 5G system, charging service; Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/32_series/32.291/ - * - * API version: 3.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VirtualResource struct { - VirtualMemory int32 `json:"virtualMemory,omitempty" yaml:"virtualMemory" bson:"virtualMemory,omitempty"` - VirtualDisk int32 `json:"virtualDisk,omitempty" yaml:"virtualDisk" bson:"virtualDisk,omitempty"` - VirutalCPU string `json:"virutalCPU,omitempty" yaml:"virutalCPU" bson:"virutalCPU,omitempty"` -} diff --git a/models/models/model_vn_group_data.go b/models/models/model_vn_group_data.go deleted file mode 100644 index e0917d50..00000000 --- a/models/models/model_vn_group_data.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V17.12.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type VnGroupData struct { - PduSessionTypes *PduSessionTypes `json:"pduSessionTypes,omitempty" yaml:"pduSessionTypes" bson:"pduSessionTypes,omitempty"` - // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SingleNssai *Snssai `json:"singleNssai,omitempty" yaml:"singleNssai" bson:"singleNssai,omitempty"` - AppDescriptors []UdmSdmAppDescriptor `json:"appDescriptors,omitempty" yaml:"appDescriptors" bson:"appDescriptors,omitempty"` -} diff --git a/models/models/model_volume_timed_report.go b/models/models/model_volume_timed_report.go deleted file mode 100644 index 84fe6d21..00000000 --- a/models/models/model_volume_timed_report.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Contains Usage data information. -type VolumeTimedReport struct { - // string with format 'date-time' as defined in OpenAPI. - StartTimeStamp *time.Time `json:"startTimeStamp" yaml:"startTimeStamp" bson:"startTimeStamp,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - EndTimeStamp *time.Time `json:"endTimeStamp" yaml:"endTimeStamp" bson:"endTimeStamp,omitempty"` - // string with format 'int64' as defined in OpenAPI. - DownlinkVolume int64 `json:"downlinkVolume" yaml:"downlinkVolume" bson:"downlinkVolume,omitempty"` - // string with format 'int64' as defined in OpenAPI. - UplinkVolume int64 `json:"uplinkVolume" yaml:"uplinkVolume" bson:"uplinkVolume,omitempty"` -} diff --git a/models/models/model_vplmn_qos.go b/models/models/model_vplmn_qos.go deleted file mode 100644 index c73314a0..00000000 --- a/models/models/model_vplmn_qos.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V17.11.0; 5G System; Session Management Policy Control Service. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// VPLMN QoS -type VplmnQos struct { - // Unsigned integer representing a 5G QoS Identifier (see clause 5.7.2.1 of 3GPP TS 23.501, within the range 0 to 255. - Var5qi int32 `json:"5qi,omitempty" yaml:"5qi" bson:"5qi,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxFbrDl string `json:"maxFbrDl,omitempty" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - MaxFbrUl string `json:"maxFbrUl,omitempty" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrDl string `json:"guaFbrDl,omitempty" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` - // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". - GuaFbrUl string `json:"guaFbrUl,omitempty" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` -} diff --git a/models/models/model_vsmf_update_data.go b/models/models/model_vsmf_update_data.go deleted file mode 100644 index fcc29f04..00000000 --- a/models/models/model_vsmf_update_data.go +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update Request towards V-SMF, or from SMF to I-SMF -type VsmfUpdateData struct { - RequestIndication RequestIndication `json:"requestIndication" yaml:"requestIndication" bson:"requestIndication,omitempty"` - SessionAmbr *Ambr `json:"sessionAmbr,omitempty" yaml:"sessionAmbr" bson:"sessionAmbr,omitempty"` - QosFlowsAddModRequestList []SmfPduSessionQosFlowAddModifyRequestItem `json:"qosFlowsAddModRequestList,omitempty" yaml:"qosFlowsAddModRequestList" bson:"qosFlowsAddModRequestList,omitempty"` - QosFlowsRelRequestList []QosFlowReleaseRequestItem `json:"qosFlowsRelRequestList,omitempty" yaml:"qosFlowsRelRequestList" bson:"qosFlowsRelRequestList,omitempty"` - EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,omitempty" yaml:"epsBearerInfo" bson:"epsBearerInfo,omitempty"` - AssignEbiList []Arp `json:"assignEbiList,omitempty" yaml:"assignEbiList" bson:"assignEbiList,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` - ModifiedEbiList []EbiArpMapping `json:"modifiedEbiList,omitempty" yaml:"modifiedEbiList" bson:"modifiedEbiList,omitempty"` - // Procedure Transaction Identifier - Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` - N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty" yaml:"n1SmInfoToUe" bson:"n1SmInfoToUe,omitempty"` - AlwaysOnGranted bool `json:"alwaysOnGranted,omitempty" yaml:"alwaysOnGranted" bson:"alwaysOnGranted,omitempty"` - // String providing an URI formatted according to RFC 3986. - HsmfPduSessionUri string `json:"hsmfPduSessionUri,omitempty" yaml:"hsmfPduSessionUri" bson:"hsmfPduSessionUri,omitempty"` - // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. - NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` - // String providing an URI formatted according to RFC 3986. - NewSmfPduSessionUri string `json:"newSmfPduSessionUri,omitempty" yaml:"newSmfPduSessionUri" bson:"newSmfPduSessionUri,omitempty"` - // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - Cause SmfPduSessionCause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` - // indicating a time in seconds. - BackOffTimer int32 `json:"backOffTimer,omitempty" yaml:"backOffTimer" bson:"backOffTimer,omitempty"` - MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` - MaAcceptedInd bool `json:"maAcceptedInd,omitempty" yaml:"maAcceptedInd" bson:"maAcceptedInd,omitempty"` - AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty" yaml:"additionalCnTunnelInfo" bson:"additionalCnTunnelInfo,omitempty"` - DnaiList []string `json:"dnaiList,omitempty" yaml:"dnaiList" bson:"dnaiList,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` - N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` - SmallDataRateControlEnabled bool `json:"smallDataRateControlEnabled,omitempty" yaml:"smallDataRateControlEnabled" bson:"smallDataRateControlEnabled,omitempty"` - QosMonitoringInfo *QosMonitoringInfo `json:"qosMonitoringInfo,omitempty" yaml:"qosMonitoringInfo" bson:"qosMonitoringInfo,omitempty"` - EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty" yaml:"epsPdnCnxInfo" bson:"epsPdnCnxInfo,omitempty"` - N9DataForwardingInd bool `json:"n9DataForwardingInd,omitempty" yaml:"n9DataForwardingInd" bson:"n9DataForwardingInd,omitempty"` - // indicating a time in seconds. - N9InactivityTimer int32 `json:"n9InactivityTimer,omitempty" yaml:"n9InactivityTimer" bson:"n9InactivityTimer,omitempty"` -} diff --git a/models/models/model_vsmf_update_error.go b/models/models/model_vsmf_update_error.go deleted file mode 100644 index 8426b261..00000000 --- a/models/models/model_vsmf_update_error.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Error within Update Response from V-SMF, or from I-SMF to SMF -type VsmfUpdateError struct { - Error *SmfPduSessionExtProblemDetails `json:"error" yaml:"error" bson:"error,omitempty"` - // Procedure Transaction Identifier - Pti int32 `json:"pti,omitempty" yaml:"pti" bson:"pti,omitempty"` - N1smCause string `json:"n1smCause,omitempty" yaml:"n1smCause" bson:"n1smCause,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` - FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - // string with format 'date-time' as defined in OpenAPI. - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` - N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` -} diff --git a/models/models/model_vsmf_updated_data.go b/models/models/model_vsmf_updated_data.go deleted file mode 100644 index 16a36f05..00000000 --- a/models/models/model_vsmf_updated_data.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V17.11.0; 5G System; Session Management Services; Stage 3 - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.2.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data within Update Response from V-SMF, or from I-SMF to SMF -type VsmfUpdatedData struct { - QosFlowsAddModList []QosFlowItem `json:"qosFlowsAddModList,omitempty" yaml:"qosFlowsAddModList" bson:"qosFlowsAddModList,omitempty"` - QosFlowsRelList []QosFlowItem `json:"qosFlowsRelList,omitempty" yaml:"qosFlowsRelList" bson:"qosFlowsRelList,omitempty"` - QosFlowsFailedtoAddModList []QosFlowItem `json:"qosFlowsFailedtoAddModList,omitempty" yaml:"qosFlowsFailedtoAddModList" bson:"qosFlowsFailedtoAddModList,omitempty"` - QosFlowsFailedtoRelList []QosFlowItem `json:"qosFlowsFailedtoRelList,omitempty" yaml:"qosFlowsFailedtoRelList" bson:"qosFlowsFailedtoRelList,omitempty"` - N1SmInfoFromUe *RefToBinaryData `json:"n1SmInfoFromUe,omitempty" yaml:"n1SmInfoFromUe" bson:"n1SmInfoFromUe,omitempty"` - UnknownN1SmInfo *RefToBinaryData `json:"unknownN1SmInfo,omitempty" yaml:"unknownN1SmInfo" bson:"unknownN1SmInfo,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - // String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time. - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - AssignedEbiList []EbiArpMapping `json:"assignedEbiList,omitempty" yaml:"assignedEbiList" bson:"assignedEbiList,omitempty"` - FailedToAssignEbiList []Arp `json:"failedToAssignEbiList,omitempty" yaml:"failedToAssignEbiList" bson:"failedToAssignEbiList,omitempty"` - ReleasedEbiList []int32 `json:"releasedEbiList,omitempty" yaml:"releasedEbiList" bson:"releasedEbiList,omitempty"` - SecondaryRatUsageReport []SecondaryRatUsageReport `json:"secondaryRatUsageReport,omitempty" yaml:"secondaryRatUsageReport" bson:"secondaryRatUsageReport,omitempty"` - SecondaryRatUsageInfo []SecondaryRatUsageInfo `json:"secondaryRatUsageInfo,omitempty" yaml:"secondaryRatUsageInfo" bson:"secondaryRatUsageInfo,omitempty"` - N4Info *N4Information `json:"n4Info,omitempty" yaml:"n4Info" bson:"n4Info,omitempty"` - N4InfoExt1 *N4Information `json:"n4InfoExt1,omitempty" yaml:"n4InfoExt1" bson:"n4InfoExt1,omitempty"` - N4InfoExt2 *N4Information `json:"n4InfoExt2,omitempty" yaml:"n4InfoExt2" bson:"n4InfoExt2,omitempty"` - N4InfoExt3 *N4Information `json:"n4InfoExt3,omitempty" yaml:"n4InfoExt3" bson:"n4InfoExt3,omitempty"` - ModifiedEbiListNotDelivered bool `json:"modifiedEbiListNotDelivered,omitempty" yaml:"modifiedEbiListNotDelivered" bson:"modifiedEbiListNotDelivered,omitempty"` -} diff --git a/models/models/model_w_agf_info.go b/models/models/model_w_agf_info.go deleted file mode 100644 index b737c6b9..00000000 --- a/models/models/model_w_agf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_DataManagement - * - * Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.9.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of the W-AGF end-points -type WAgfInfo struct { - Ipv4EndpointAddresses []string `json:"ipv4EndpointAddresses,omitempty" yaml:"ipv4EndpointAddresses" bson:"ipv4EndpointAddresses,omitempty"` - Ipv6EndpointAddresses []string `json:"ipv6EndpointAddresses,omitempty" yaml:"ipv6EndpointAddresses" bson:"ipv6EndpointAddresses,omitempty"` - // Fully Qualified Domain Name - EndpointFqdn string `json:"endpointFqdn,omitempty" yaml:"endpointFqdn" bson:"endpointFqdn,omitempty"` -} diff --git a/models/models/model_websock_notif_config.go b/models/models/model_websock_notif_config.go deleted file mode 100644 index 2e5c5240..00000000 --- a/models/models/model_websock_notif_config.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V17.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.2.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents the configuration information for the delivery of notifications over Websockets. -type WebsockNotifConfig struct { - // string formatted according to IETF RFC 3986 identifying a referenced resource. - WebsocketUri string `json:"websocketUri,omitempty" yaml:"websocketUri" bson:"websocketUri,omitempty"` - // Set by the SCS/AS to indicate that the Websocket delivery is requested. - RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty" yaml:"requestWebsocketUri" bson:"requestWebsocketUri,omitempty"` -} diff --git a/models/models/model_wireline_area.go b/models/models/model_wireline_area.go deleted file mode 100644 index b6806e54..00000000 --- a/models/models/model_wireline_area.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// One and only one of the \"globLineIds\", \"hfcNIds\", \"areaCodeB\" and \"areaCodeC\" attributes shall be included in a WirelineArea data structure -type WirelineArea struct { - GlobalLineIds []string `json:"globalLineIds,omitempty" yaml:"globalLineIds" bson:"globalLineIds,omitempty"` - HfcNIds []string `json:"hfcNIds,omitempty" yaml:"hfcNIds" bson:"hfcNIds,omitempty"` - // Values are operator specific. - AreaCodeB string `json:"areaCodeB,omitempty" yaml:"areaCodeB" bson:"areaCodeB,omitempty"` - // Values are operator specific. - AreaCodeC string `json:"areaCodeC,omitempty" yaml:"areaCodeC" bson:"areaCodeC,omitempty"` -} diff --git a/models/models/model_wireline_service_area_restriction.go b/models/models/model_wireline_service_area_restriction.go deleted file mode 100644 index 5e172f28..00000000 --- a/models/models/model_wireline_service_area_restriction.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_Communication - * - * AMF Communication Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V17.12.0; 5G System; Access and Mobility Management Services - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.2.4 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The \"restrictionType\" attribute and the \"areas\" attribute shall be either both present or absent. The empty array of areas is used when service is allowed/restricted nowhere. -type WirelineServiceAreaRestriction struct { - RestrictionType RestrictionType `json:"restrictionType,omitempty" yaml:"restrictionType" bson:"restrictionType,omitempty"` - Areas []WirelineArea `json:"areas,omitempty" yaml:"areas" bson:"areas,omitempty"` -} diff --git a/models/models/model_wlan_ordering_criterion.go b/models/models/model_wlan_ordering_criterion.go deleted file mode 100644 index 79f527d9..00000000 --- a/models/models/model_wlan_ordering_criterion.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type WlanOrderingCriterion string - -// List of WlanOrderingCriterion -const ( - WlanOrderingCriterion_TIME_SLOT_START WlanOrderingCriterion = "TIME_SLOT_START" - WlanOrderingCriterion_NUMBER_OF_UES WlanOrderingCriterion = "NUMBER_OF_UES" - WlanOrderingCriterion_RSSI WlanOrderingCriterion = "RSSI" - WlanOrderingCriterion_RTT WlanOrderingCriterion = "RTT" - WlanOrderingCriterion_TRAFFIC_INFO WlanOrderingCriterion = "TRAFFIC_INFO" -) diff --git a/models/models/model_wlan_per_ss_id_performance_info.go b/models/models/model_wlan_per_ss_id_performance_info.go deleted file mode 100644 index 3199fd20..00000000 --- a/models/models/model_wlan_per_ss_id_performance_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The WLAN performance per SSID. -type WlanPerSsIdPerformanceInfo struct { - SsId string `json:"ssId" yaml:"ssId" bson:"ssId,omitempty"` - WlanPerTsInfos []WlanPerTsPerformanceInfo `json:"wlanPerTsInfos" yaml:"wlanPerTsInfos" bson:"wlanPerTsInfos,omitempty"` -} diff --git a/models/models/model_wlan_per_ts_performance_info.go b/models/models/model_wlan_per_ts_performance_info.go deleted file mode 100644 index 7f5f7c31..00000000 --- a/models/models/model_wlan_per_ts_performance_info.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// WLAN performance information per Time Slot during the analytics target period. -type WlanPerTsPerformanceInfo struct { - // string with format 'date-time' as defined in OpenAPI. - TsStart *time.Time `json:"tsStart" yaml:"tsStart" bson:"tsStart,omitempty"` - // indicating a time in seconds. - TsDuration int32 `json:"tsDuration" yaml:"tsDuration" bson:"tsDuration,omitempty"` - Rssi int32 `json:"rssi,omitempty" yaml:"rssi" bson:"rssi,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Rtt int32 `json:"rtt,omitempty" yaml:"rtt" bson:"rtt,omitempty"` - TrafficInfo *TrafficInformation `json:"trafficInfo,omitempty" yaml:"trafficInfo" bson:"trafficInfo,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` - // Unsigned Integer, i.e. only value 0 and integers above 0 are permissible. - Confidence int32 `json:"confidence,omitempty" yaml:"confidence" bson:"confidence,omitempty"` -} diff --git a/models/models/model_wlan_performance_info.go b/models/models/model_wlan_performance_info.go deleted file mode 100644 index 9f1fa892..00000000 --- a/models/models/model_wlan_performance_info.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nnwdaf_EventsSubscription - * - * Nnwdaf_EventsSubscription Service API. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.10.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.2.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// The WLAN performance related information. -type WlanPerformanceInfo struct { - NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty" yaml:"networkArea" bson:"networkArea,omitempty"` - WlanPerSsidInfos []WlanPerSsIdPerformanceInfo `json:"wlanPerSsidInfos" yaml:"wlanPerSsidInfos" bson:"wlanPerSsidInfos,omitempty"` -} diff --git a/models/models/model_wlan_performance_req.go b/models/models/model_wlan_performance_req.go deleted file mode 100644 index 48fba4c7..00000000 --- a/models/models/model_wlan_performance_req.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nnwdaf_MLModelProvision - * - * Nnwdaf_MLModelProvision API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.520 V17.7.0; 5G System; Network Data Analytics Services. - * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.520/ - * - * API version: 1.0.0 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Represents other WLAN performance analytics requirements. -type WlanPerformanceReq struct { - SsIds []string `json:"ssIds,omitempty" yaml:"ssIds" bson:"ssIds,omitempty"` - BssIds []string `json:"bssIds,omitempty" yaml:"bssIds" bson:"bssIds,omitempty"` - WlanOrderCriter WlanOrderingCriterion `json:"wlanOrderCriter,omitempty" yaml:"wlanOrderCriter" bson:"wlanOrderCriter,omitempty"` - Order MatchingDirection `json:"order,omitempty" yaml:"order" bson:"order,omitempty"` -} From 4b63594aa14e8ca1f018b14b732dd21f706c2019 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Tue, 9 Apr 2024 05:43:46 +0000 Subject: [PATCH 05/67] fix: am_policy_request_trigger --- models/model_am_policy_association.go | 16 +++++------ ...el_am_policy_association_update_request.go | 12 ++++----- models/model_am_policy_request_trigger.go | 27 ------------------- models/model_am_policy_update.go | 12 ++++----- 4 files changed, 20 insertions(+), 47 deletions(-) delete mode 100644 models/model_am_policy_request_trigger.go diff --git a/models/model_am_policy_association.go b/models/model_am_policy_association.go index 25cdf821..f7f44383 100644 --- a/models/model_am_policy_association.go +++ b/models/model_am_policy_association.go @@ -15,12 +15,12 @@ package models type AmPolicyAssociation struct { Request *AmPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` // Request Triggers that the PCF subscribes. - Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` + SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` } diff --git a/models/model_am_policy_association_update_request.go b/models/model_am_policy_association_update_request.go index 8a1978e0..4d9ae384 100644 --- a/models/model_am_policy_association_update_request.go +++ b/models/model_am_policy_association_update_request.go @@ -21,12 +21,12 @@ type AmPolicyAssociationUpdateRequest struct { // Alternate or backup FQDN(s) where to send Notifications. AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` // Request Triggers that the NF service consumer observes. - Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` // Map of PRA status information. PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` diff --git a/models/model_am_policy_request_trigger.go b/models/model_am_policy_request_trigger.go deleted file mode 100644 index c510ef45..00000000 --- a/models/model_am_policy_request_trigger.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyRequestTrigger string - -// List of AmPolicyRequestTrigger -const ( - AmPolicyRequestTrigger_LOC_CH AmPolicyRequestTrigger = "LOC_CH" - AmPolicyRequestTrigger_PRA_CH AmPolicyRequestTrigger = "PRA_CH" - AmPolicyRequestTrigger_SERV_AREA_CH AmPolicyRequestTrigger = "SERV_AREA_CH" - AmPolicyRequestTrigger_RFSP_CH AmPolicyRequestTrigger = "RFSP_CH" - AmPolicyRequestTrigger_ALLOWED_NSSAI_CH AmPolicyRequestTrigger = "ALLOWED_NSSAI_CH" - AmPolicyRequestTrigger_UE_AMBR_CH AmPolicyRequestTrigger = "UE_AMBR_CH" - AmPolicyRequestTrigger_SMF_SELECT_CH AmPolicyRequestTrigger = "SMF_SELECT_CH" - AmPolicyRequestTrigger_ACCESS_TYPE_CH AmPolicyRequestTrigger = "ACCESS_TYPE_CH" -) diff --git a/models/model_am_policy_update.go b/models/model_am_policy_update.go index f2f2bfb2..3464c44a 100644 --- a/models/model_am_policy_update.go +++ b/models/model_am_policy_update.go @@ -15,12 +15,12 @@ package models type AmPolicyUpdate struct { ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` // Request Triggers that the PCF subscribes. - Triggers []AmPolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` + Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` + ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` + WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` + Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` + SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` + UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` // Map of PRA information. Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` } From 510ee897292fe980695885076a41f47c0ca33eb4 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Tue, 9 Apr 2024 16:08:12 +0800 Subject: [PATCH 06/67] remove duplicate file model_location_event and model_location_type --- models/model_location_event.go | 25 ------------------------- models/model_location_type.go | 23 ----------------------- 2 files changed, 48 deletions(-) delete mode 100644 models/model_location_event.go delete mode 100644 models/model_location_type.go diff --git a/models/model_location_event.go b/models/model_location_event.go deleted file mode 100644 index c6debd38..00000000 --- a/models/model_location_event.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V16.9.0; 5G System; Access and Mobility Management Services - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationEvent string - -// List of LocationEvent -const ( - LocationEvent_EMERGENCY_CALL_ORIGINATION LocationEvent = "EMERGENCY_CALL_ORIGINATION" - LocationEvent_EMERGENCY_CALL_RELEASE LocationEvent = "EMERGENCY_CALL_RELEASE" - LocationEvent_EMERGENCY_CALL_HANDOVER LocationEvent = "EMERGENCY_CALL_HANDOVER" - LocationEvent_ACTIVATION_OF_DEFERRED_LOCATION LocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION" - LocationEvent_UE_MOBILITY_FOR_DEFERRED_LOCATION LocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION" - LocationEvent_CANCELLATION_OF_DEFERRED_LOCATION LocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION" -) diff --git a/models/model_location_type.go b/models/model_location_type.go deleted file mode 100644 index a4d21cde..00000000 --- a/models/model_location_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Namf_Location - * - * AMF Location Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V16.9.0; 5G System; Access and Mobility Management Services - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationType string - -// List of LocationType -const ( - LocationType_CURRENT_LOCATION LocationType = "CURRENT_LOCATION" - LocationType_CURRENT_OR_LAST_KNOWN_LOCATION LocationType = "CURRENT_OR_LAST_KNOWN_LOCATION" - LocationType_NOTIFICATION_VERIFICATION_ONLY LocationType = "NOTIFICATION_VERIFICATION_ONLY" - LocationType_DEFERRED_LOCATION LocationType = "DEFERRED_LOCATION" -) From febbbc8609351466a66098aefb193c97f411a9bb Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Mon, 15 Apr 2024 04:29:27 +0000 Subject: [PATCH 07/67] chore: bump go version to 1.21 and CI actions --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0d6e37ed..b190c0fb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.19', '1.21' ] + go: [ '1.21' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} From 14913ab805dc566df5630226a3924ce8e3bb3ad8 Mon Sep 17 00:00:00 2001 From: tzuchiehhh Date: Tue, 23 Apr 2024 07:06:30 +0000 Subject: [PATCH 08/67] add function NewPostChargingNotificationRequest --- chf/ConvergedCharging/api_default.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chf/ConvergedCharging/api_default.go b/chf/ConvergedCharging/api_default.go index 35868495..725a99e7 100644 --- a/chf/ConvergedCharging/api_default.go +++ b/chf/ConvergedCharging/api_default.go @@ -236,6 +236,12 @@ type PostChargingNotificationRequest struct { ChargingNotifyRequest *models.ChargingNotifyRequest } +func NewPostChargingNotificationRequest() *PostChargingNotificationRequest { + req := &PostChargingNotificationRequest{} + + return req +} + func (r *PostChargingNotificationRequest) SetChargingNotifyRequest(ChargingNotifyRequest models.ChargingNotifyRequest) { r.ChargingNotifyRequest = &ChargingNotifyRequest } From 8980098f61b96f2f2160636c39f2f2de574c0cff Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 18 Jul 2024 03:14:19 +0000 Subject: [PATCH 09/67] feat: add http client getter --- client.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client.go b/client.go index 574b588f..096d19aa 100644 --- a/client.go +++ b/client.go @@ -70,6 +70,14 @@ var ( } ) +func GetHttpsClient() *http.Client { + return innerHTTP2Client +} + +func GetHttpClient() *http.Client { + return innerHTTP2CleartextClient +} + type Configuration interface { BasePath() string Host() string From 126b6d9533c81a1d4a82e03bff335d857d1c4229 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 18 Jul 2024 07:19:59 +0000 Subject: [PATCH 10/67] fix: oauth and accessToken error --- nrf/AccessToken/configuration.go | 2 +- oauth/get_token_context.go | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/nrf/AccessToken/configuration.go b/nrf/AccessToken/configuration.go index da39cc32..d0e85dab 100644 --- a/nrf/AccessToken/configuration.go +++ b/nrf/AccessToken/configuration.go @@ -29,7 +29,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ basePath: "https://example.com", - url: "{apiRoot}/", + url: "{apiRoot}", defaultHeader: make(map[string]string), userAgent: "OpenAPI-Generator/1.0.0/go", } diff --git a/oauth/get_token_context.go b/oauth/get_token_context.go index 4c84d316..eeea46ef 100644 --- a/oauth/get_token_context.go +++ b/oauth/get_token_context.go @@ -61,6 +61,7 @@ func sendAccTokenReq( req.SetNfInstanceId(nfId) req.SetNfType(nfType) req.SetTargetNfType(targetNF) + req.SetScope(scope) res, err := client.AccessTokenRequestApi.AccessTokenRequest( context.Background(), req) @@ -68,9 +69,9 @@ func sendAccTokenReq( if err == nil { tokenMap.Store(scope, res.NrfAccessTokenAccessTokenRsp) token := &oauth2.Token{ - AccessToken: tok.AccessToken, - TokenType: tok.TokenType, - Expiry: time.Unix(int64(tok.ExpiresIn), 0), + AccessToken: res.NrfAccessTokenAccessTokenRsp.AccessToken, + TokenType: res.NrfAccessTokenAccessTokenRsp.TokenType, + Expiry: time.Unix(int64(res.NrfAccessTokenAccessTokenRsp.ExpiresIn), 0), } return oauth2.StaticTokenSource(token), nil, nil } else { From 0eaac8f57abe947eaff3630666fa03f8ffb29de8 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Tue, 30 Jul 2024 08:15:22 +0000 Subject: [PATCH 11/67] fix: add missing ambrrm struct --- models/model_ambr_rm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/models/model_ambr_rm.go b/models/model_ambr_rm.go index 83259b79..cab77513 100644 --- a/models/model_ambr_rm.go +++ b/models/model_ambr_rm.go @@ -13,4 +13,8 @@ package models type AmbrRm struct { + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Uplink string `json:"uplink" yaml:"uplink" bson:"uplink,omitempty"` + // String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\". + Downlink string `json:"downlink" yaml:"downlink" bson:"downlink,omitempty"` } From 335079f012388abe0e32c8e62b4535998451f171 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Wed, 31 Jul 2024 03:49:41 +0000 Subject: [PATCH 12/67] chore: golang version bump to 1.21 --- .github/workflows/go.yml | 2 +- go.mod | 2 +- go.sum | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b190c0fb..d1fc03cb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -4,7 +4,7 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: [ main, feat/r17 ] jobs: build: diff --git a/go.mod b/go.mod index 709a244e..34251b3f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/free5gc/openapi -go 1.19 +go 1.21 require ( github.com/golang-jwt/jwt v3.2.1+incompatible diff --git a/go.sum b/go.sum index a19fc469..8108488a 100644 --- a/go.sum +++ b/go.sum @@ -95,6 +95,7 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= From f2a2a2fbf2896b9d982d2829957ffb02c9c86d5e Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Wed, 31 Jul 2024 03:54:04 +0000 Subject: [PATCH 13/67] chore: jwt version bump to v5 --- go.mod | 2 +- go.sum | 4 ++-- models/model_access_token_claims.go | 4 ++-- oauth/oauth.go | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 34251b3f..8b6b13c9 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/free5gc/openapi go 1.21 require ( - github.com/golang-jwt/jwt v3.2.1+incompatible + github.com/golang-jwt/jwt/v5 v5.2.1 github.com/mitchellh/mapstructure v1.4.2 github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.9.3 diff --git a/go.sum b/go.sum index 8108488a..62d36974 100644 --- a/go.sum +++ b/go.sum @@ -56,8 +56,8 @@ github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= -github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= +github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= +github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= diff --git a/models/model_access_token_claims.go b/models/model_access_token_claims.go index 8b8f8d4d..f7d0efcd 100644 --- a/models/model_access_token_claims.go +++ b/models/model_access_token_claims.go @@ -12,7 +12,7 @@ package models -import "github.com/golang-jwt/jwt" +import "github.com/golang-jwt/jwt/v5" // The claims data structure for the access token type AccessTokenClaims struct { @@ -26,5 +26,5 @@ type AccessTokenClaims struct { ProducerSnssaiList []Snssai `json:"producerSnssaiList,omitempty" yaml:"producerSnssaiList" bson:"producerSnssaiList,omitempty"` ProducerNsiList []string `json:"producerNsiList,omitempty" yaml:"producerNsiList" bson:"producerNsiList,omitempty"` ProducerNfSetId string `json:"producerNfSetId,omitempty" yaml:"producerNfSetId" bson:"producerNfSetId,omitempty"` - jwt.StandardClaims + jwt.RegisteredClaims } diff --git a/oauth/oauth.go b/oauth/oauth.go index 65e4eec9..66f7309d 100644 --- a/oauth/oauth.go +++ b/oauth/oauth.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "github.com/golang-jwt/jwt" + "github.com/golang-jwt/jwt/v5" "github.com/pkg/errors" "github.com/free5gc/openapi/models" @@ -23,7 +23,7 @@ import ( type CCAClaims struct { Iat int32 Exp int32 - jwt.StandardClaims + jwt.RegisteredClaims } func GenerateClientCredentialAssertion( @@ -35,9 +35,9 @@ func GenerateClientCredentialAssertion( accessTokenClaims := CCAClaims{ Iat: now, Exp: now + expiration, // access_token is authorized for use - StandardClaims: jwt.StandardClaims{ + RegisteredClaims: jwt.RegisteredClaims{ Subject: sub, - Audience: aud, + Audience: jwt.ClaimStrings{aud}, }, } From 5e1320ca03b31e291902c48a32f1806b1ce16c09 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Wed, 31 Jul 2024 04:46:38 +0000 Subject: [PATCH 14/67] chore: update gock version --- client.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client.go b/client.go index 096d19aa..62aecac0 100644 --- a/client.go +++ b/client.go @@ -30,12 +30,12 @@ import ( "strings" "time" + "github.com/h2non/gock" "github.com/pkg/errors" "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "golang.org/x/net/http2" "golang.org/x/oauth2" - "gopkg.in/h2non/gock.v1" ) const ( diff --git a/go.mod b/go.mod index 8b6b13c9..dcb58dd9 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.21 require ( github.com/golang-jwt/jwt/v5 v5.2.1 + github.com/h2non/gock v1.2.0 github.com/mitchellh/mapstructure v1.4.2 github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.9.3 @@ -13,7 +14,6 @@ require ( go.opentelemetry.io/otel v1.24.0 golang.org/x/net v0.17.0 golang.org/x/oauth2 v0.0.0-20210810183815-faf39c7919d5 - gopkg.in/h2non/gock.v1 v1.1.2 ) require ( diff --git a/go.sum b/go.sum index 62d36974..c5866ec4 100644 --- a/go.sum +++ b/go.sum @@ -108,6 +108,8 @@ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hf github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/h2non/gock v1.2.0 h1:K6ol8rfrRkUOefooBC8elXoaNGYkpp7y2qcxGG6BzUE= +github.com/h2non/gock v1.2.0/go.mod h1:tNhoxHYW2W42cYkYb1WqzdbYIieALC99kpYr7rH/BQk= github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 h1:2VTzZjLZBgl62/EtslCrtky5vbi9dd7HrQPQIx6wqiw= github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= @@ -397,8 +399,6 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/h2non/gock.v1 v1.1.2 h1:jBbHXgGBK/AoPVfJh5x4r/WxIrElvbLel8TCZkkZJoY= -gopkg.in/h2non/gock.v1 v1.1.2/go.mod h1:n7UGz/ckNChHiK05rDoiC4MYSunEC/lyaUm2WWaDva0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= From 3de2313153f2416b5ee232c3bf191b51521beffd Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Wed, 31 Jul 2024 09:05:16 +0000 Subject: [PATCH 15/67] fix: remove unused code --- client.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client.go b/client.go index 62aecac0..1d78c767 100644 --- a/client.go +++ b/client.go @@ -70,14 +70,6 @@ var ( } ) -func GetHttpsClient() *http.Client { - return innerHTTP2Client -} - -func GetHttpClient() *http.Client { - return innerHTTP2CleartextClient -} - type Configuration interface { BasePath() string Host() string From 71ed56dbd7d16bdf9f7fe9f52c01e0540084d0ce Mon Sep 17 00:00:00 2001 From: newb1er Date: Thu, 11 Jul 2024 11:49:37 +0800 Subject: [PATCH 16/67] fix: remove R16 related models --- models/model_access_token_req.go | 34 ------- models/model_access_token_req_1.go | 34 ------- models/model_access_token_rsp.go | 22 ----- models/model_af_event.go | 33 ------- models/model_af_event_notification.go | 19 ---- models/model_af_location_area.go | 28 ------ models/model_af_location_area5_g.go | 21 ----- models/model_am_policy_association.go | 26 ------ ...del_am_policy_association_release_cause.go | 22 ----- models/model_am_policy_association_request.go | 49 ---------- ...el_am_policy_association_update_request.go | 43 --------- ...odel_am_policy_termination_notification.go | 18 ---- models/model_am_policy_update.go | 26 ------ models/model_amf_info.go | 25 ----- models/model_association_type.go | 21 ----- models/model_auth_result.go | 22 ----- models/model_auth_type.go | 22 ----- models/model_bdt_policy_bdt_policy_data.go | 24 ----- .../model_bdt_policy_bdt_policy_data_patch.go | 19 ---- models/model_bdt_policy_bdt_req_data_patch.go | 19 ---- models/model_bdt_policy_patch_bdt_policy.go | 19 ---- models/model_bsf_info.go | 21 ----- models/model_cause.go | 46 --------- models/model_dr_bdt_data.go | 30 ------ models/model_dr_bdt_policy_data.go | 23 ----- models/model_dr_bdt_policy_data_patch.go | 18 ---- models/model_dr_data_set_name.go | 29 ------ models/model_ec_restriction_data_wb.go | 18 ---- models/model_event_subscription.go | 21 ----- models/model_event_type.go | 31 ------- models/model_events_notification.go | 46 --------- models/model_events_subsc_req_data.go | 24 ----- models/model_events_subsc_req_data_rm.go | 24 ----- models/model_ext_problem_details.go | 28 ------ models/model_extended_problem_details.go | 29 ------ models/model_failure_cause.go | 24 ----- models/model_failure_code.go | 40 -------- models/model_gbr_qos_flow_information.go | 24 ----- models/model_invalid_param_1.go | 20 ---- models/model_ip_address.go | 19 ---- models/model_ipv4_address_range.go | 19 ---- models/model_ipv6_prefix_range.go | 19 ---- models/model_location_accuracy.go | 24 ----- models/model_location_area.go | 21 ----- .../model_location_reporting_configuration.go | 20 ---- models/model_monitoring_configuration.go | 29 ------ .../model_nf_management_subscription_data.go | 40 -------- models/model_nf_profile.go | 90 ------------------ models/model_nf_profile_notification_data.go | 89 ------------------ models/model_nf_service.go | 53 ----------- models/model_nf_status.go | 22 ----- models/model_nf_type.go | 55 ----------- models/model_ngap_ie_type.go | 36 ------- models/model_nidd_information.go | 19 ---- models/model_notification.go | 23 ----- models/model_notification_data.go | 22 ----- models/model_notification_method.go | 22 ----- models/model_notification_type.go | 27 ------ models/model_null_response_200.go | 23 ----- models/model_pdu_session_status_cfg.go | 17 ---- models/model_pfd.go | 25 ----- models/model_pfd_data.go | 19 ---- models/model_pfd_management.go | 28 ------ models/model_pfd_pfd_data.go | 26 ------ models/model_pfd_report.go | 22 ----- ...licy_auth_qos_notification_control_info.go | 20 ---- models/model_post_sm_contexts_error.go | 19 ---- models/model_pp_data_type.go | 27 ------ models/model_problem_details_1.go | 30 ------ .../model_qos_flow_add_modify_request_item.go | 22 ----- models/model_qos_flow_profile.go | 25 ----- models/model_redirect_address_type.go | 23 ----- models/model_reporting_options.go | 26 ------ models/model_roaming_charging_profile.go | 18 ---- models/model_shared_data.go | 24 ----- models/model_sm_context_create_data.go | 93 ------------------- models/model_sm_context_created_data.go | 35 ------- models/model_sm_context_release_data.go | 26 ------ .../model_sm_context_status_notification.go | 27 ------ models/model_sm_context_update_data.go | 66 ------------- ...sm_policy_qos_notification_control_info.go | 22 ----- ...odel_sm_policy_termination_notification.go | 18 ---- models/model_sor_info.go | 25 ----- models/model_steering_container.go | 16 ---- models/model_steering_info.go | 18 ---- models/model_subscription_data_sets.go | 29 ------ models/model_termination_cause.go | 22 ----- models/model_traffic_descriptor.go | 19 ---- models/model_traffic_influ_sub_patch.go | 30 ------ models/model_transfer_policy.go | 24 ----- models/model_trigger.go | 28 ------ models/model_trigger_type.go | 59 ------------ models/model_ue_id.go | 18 ---- models/model_ue_policy_association.go | 23 ----- ...del_ue_policy_association_release_cause.go | 22 ----- models/model_ue_policy_association_request.go | 39 -------- ...el_ue_policy_association_update_request.go | 36 ------- models/model_ue_policy_request_trigger.go | 25 ----- ...odel_ue_policy_termination_notification.go | 18 ---- models/model_ue_policy_update.go | 23 ----- models/model_update_sm_context_error.go | 19 ---- models/model_upu_data_1.go | 19 ---- models/model_upu_info.go | 26 ------ models/model_user_plane_location_area.go | 20 ---- models/pfd_failure_code.go | 25 ----- 105 files changed, 2955 deletions(-) delete mode 100644 models/model_access_token_req.go delete mode 100644 models/model_access_token_req_1.go delete mode 100644 models/model_access_token_rsp.go delete mode 100644 models/model_af_event.go delete mode 100644 models/model_af_event_notification.go delete mode 100644 models/model_af_location_area.go delete mode 100644 models/model_af_location_area5_g.go delete mode 100644 models/model_am_policy_association.go delete mode 100644 models/model_am_policy_association_release_cause.go delete mode 100644 models/model_am_policy_association_request.go delete mode 100644 models/model_am_policy_association_update_request.go delete mode 100644 models/model_am_policy_termination_notification.go delete mode 100644 models/model_am_policy_update.go delete mode 100644 models/model_amf_info.go delete mode 100644 models/model_association_type.go delete mode 100644 models/model_auth_result.go delete mode 100644 models/model_auth_type.go delete mode 100644 models/model_bdt_policy_bdt_policy_data.go delete mode 100644 models/model_bdt_policy_bdt_policy_data_patch.go delete mode 100644 models/model_bdt_policy_bdt_req_data_patch.go delete mode 100644 models/model_bdt_policy_patch_bdt_policy.go delete mode 100644 models/model_bsf_info.go delete mode 100644 models/model_cause.go delete mode 100644 models/model_dr_bdt_data.go delete mode 100644 models/model_dr_bdt_policy_data.go delete mode 100644 models/model_dr_bdt_policy_data_patch.go delete mode 100644 models/model_dr_data_set_name.go delete mode 100644 models/model_ec_restriction_data_wb.go delete mode 100644 models/model_event_subscription.go delete mode 100644 models/model_event_type.go delete mode 100644 models/model_events_notification.go delete mode 100644 models/model_events_subsc_req_data.go delete mode 100644 models/model_events_subsc_req_data_rm.go delete mode 100644 models/model_ext_problem_details.go delete mode 100644 models/model_extended_problem_details.go delete mode 100644 models/model_failure_cause.go delete mode 100644 models/model_failure_code.go delete mode 100644 models/model_gbr_qos_flow_information.go delete mode 100644 models/model_invalid_param_1.go delete mode 100644 models/model_ip_address.go delete mode 100644 models/model_ipv4_address_range.go delete mode 100644 models/model_ipv6_prefix_range.go delete mode 100644 models/model_location_accuracy.go delete mode 100644 models/model_location_area.go delete mode 100644 models/model_location_reporting_configuration.go delete mode 100644 models/model_monitoring_configuration.go delete mode 100644 models/model_nf_management_subscription_data.go delete mode 100644 models/model_nf_profile.go delete mode 100644 models/model_nf_profile_notification_data.go delete mode 100644 models/model_nf_service.go delete mode 100644 models/model_nf_status.go delete mode 100644 models/model_nf_type.go delete mode 100644 models/model_ngap_ie_type.go delete mode 100644 models/model_nidd_information.go delete mode 100644 models/model_notification.go delete mode 100644 models/model_notification_data.go delete mode 100644 models/model_notification_method.go delete mode 100644 models/model_notification_type.go delete mode 100644 models/model_null_response_200.go delete mode 100644 models/model_pdu_session_status_cfg.go delete mode 100644 models/model_pfd.go delete mode 100644 models/model_pfd_data.go delete mode 100644 models/model_pfd_management.go delete mode 100644 models/model_pfd_pfd_data.go delete mode 100644 models/model_pfd_report.go delete mode 100644 models/model_policy_auth_qos_notification_control_info.go delete mode 100644 models/model_post_sm_contexts_error.go delete mode 100644 models/model_pp_data_type.go delete mode 100644 models/model_problem_details_1.go delete mode 100644 models/model_qos_flow_add_modify_request_item.go delete mode 100644 models/model_qos_flow_profile.go delete mode 100644 models/model_redirect_address_type.go delete mode 100644 models/model_reporting_options.go delete mode 100644 models/model_roaming_charging_profile.go delete mode 100644 models/model_shared_data.go delete mode 100644 models/model_sm_context_create_data.go delete mode 100644 models/model_sm_context_created_data.go delete mode 100644 models/model_sm_context_release_data.go delete mode 100644 models/model_sm_context_status_notification.go delete mode 100644 models/model_sm_context_update_data.go delete mode 100644 models/model_sm_policy_qos_notification_control_info.go delete mode 100644 models/model_sm_policy_termination_notification.go delete mode 100644 models/model_sor_info.go delete mode 100644 models/model_steering_container.go delete mode 100644 models/model_steering_info.go delete mode 100644 models/model_subscription_data_sets.go delete mode 100644 models/model_termination_cause.go delete mode 100644 models/model_traffic_descriptor.go delete mode 100644 models/model_traffic_influ_sub_patch.go delete mode 100644 models/model_transfer_policy.go delete mode 100644 models/model_trigger.go delete mode 100644 models/model_trigger_type.go delete mode 100644 models/model_ue_id.go delete mode 100644 models/model_ue_policy_association.go delete mode 100644 models/model_ue_policy_association_release_cause.go delete mode 100644 models/model_ue_policy_association_request.go delete mode 100644 models/model_ue_policy_association_update_request.go delete mode 100644 models/model_ue_policy_request_trigger.go delete mode 100644 models/model_ue_policy_termination_notification.go delete mode 100644 models/model_ue_policy_update.go delete mode 100644 models/model_update_sm_context_error.go delete mode 100644 models/model_upu_data_1.go delete mode 100644 models/model_upu_info.go delete mode 100644 models/model_user_plane_location_area.go delete mode 100644 models/pfd_failure_code.go diff --git a/models/model_access_token_req.go b/models/model_access_token_req.go deleted file mode 100644 index 352f1fcf..00000000 --- a/models/model_access_token_req.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the access token request -type AccessTokenReq struct { - GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfType NfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` - TargetNfType NfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` - Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` - TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` - RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` - RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` - RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` - // Fully Qualified Domain Name - RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` - RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` - TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` - TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` - TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` - TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` - TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` -} diff --git a/models/model_access_token_req_1.go b/models/model_access_token_req_1.go deleted file mode 100644 index 75b4a802..00000000 --- a/models/model_access_token_req_1.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.8.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the access token request -type AccessTokenReq1 struct { - GrantType string `json:"grant_type" yaml:"grant_type" bson:"grant_type,omitempty"` - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfType NfType `json:"nfType,omitempty" yaml:"nfType" bson:"nfType,omitempty"` - TargetNfType NfType `json:"targetNfType,omitempty" yaml:"targetNfType" bson:"targetNfType,omitempty"` - Scope string `json:"scope" yaml:"scope" bson:"scope,omitempty"` - TargetNfInstanceId string `json:"targetNfInstanceId,omitempty" yaml:"targetNfInstanceId" bson:"targetNfInstanceId,omitempty"` - RequesterPlmn *PlmnId `json:"requesterPlmn,omitempty" yaml:"requesterPlmn" bson:"requesterPlmn,omitempty"` - RequesterPlmnList []PlmnId `json:"requesterPlmnList,omitempty" yaml:"requesterPlmnList" bson:"requesterPlmnList,omitempty"` - RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty" yaml:"requesterSnssaiList" bson:"requesterSnssaiList,omitempty"` - // Fully Qualified Domain Name - RequesterFqdn string `json:"requesterFqdn,omitempty" yaml:"requesterFqdn" bson:"requesterFqdn,omitempty"` - RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty" yaml:"requesterSnpnList" bson:"requesterSnpnList,omitempty"` - TargetPlmn *PlmnId `json:"targetPlmn,omitempty" yaml:"targetPlmn" bson:"targetPlmn,omitempty"` - TargetSnssaiList []Snssai `json:"targetSnssaiList,omitempty" yaml:"targetSnssaiList" bson:"targetSnssaiList,omitempty"` - TargetNsiList []string `json:"targetNsiList,omitempty" yaml:"targetNsiList" bson:"targetNsiList,omitempty"` - TargetNfSetId string `json:"targetNfSetId,omitempty" yaml:"targetNfSetId" bson:"targetNfSetId,omitempty"` - TargetNfServiceSetId string `json:"targetNfServiceSetId,omitempty" yaml:"targetNfServiceSetId" bson:"targetNfServiceSetId,omitempty"` -} diff --git a/models/model_access_token_rsp.go b/models/model_access_token_rsp.go deleted file mode 100644 index 52a67d71..00000000 --- a/models/model_access_token_rsp.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF OAuth2 - * - * NRF OAuth2 Authorization. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.8.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains information related to the access token response -type AccessTokenRsp struct { - // JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims) - AccessToken string `json:"access_token" yaml:"access_token" bson:"access_token,omitempty"` - TokenType string `json:"token_type" yaml:"token_type" bson:"token_type,omitempty"` - ExpiresIn int32 `json:"expires_in,omitempty" yaml:"expires_in" bson:"expires_in,omitempty"` - Scope string `json:"scope,omitempty" yaml:"scope" bson:"scope,omitempty"` -} diff --git a/models/model_af_event.go b/models/model_af_event.go deleted file mode 100644 index bc627f6c..00000000 --- a/models/model_af_event.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AfEvent string - -// List of AfEvent -const ( - AfEvent_ACCESS_TYPE_CHANGE AfEvent = "ACCESS_TYPE_CHANGE" - AfEvent_ANI_REPORT AfEvent = "ANI_REPORT" - AfEvent_CHARGING_CORRELATION AfEvent = "CHARGING_CORRELATION" - AfEvent_EPS_FALLBACK AfEvent = "EPS_FALLBACK" - AfEvent_FAILED_RESOURCES_ALLOCATION AfEvent = "FAILED_RESOURCES_ALLOCATION" - AfEvent_OUT_OF_CREDIT AfEvent = "OUT_OF_CREDIT" - AfEvent_PLMN_CHG AfEvent = "PLMN_CHG" - AfEvent_QOS_MONITORING AfEvent = "QOS_MONITORING" - AfEvent_QOS_NOTIF AfEvent = "QOS_NOTIF" - AfEvent_RAN_NAS_CAUSE AfEvent = "RAN_NAS_CAUSE" - AfEvent_REALLOCATION_OF_CREDIT AfEvent = "REALLOCATION_OF_CREDIT" - AfEvent_SUCCESSFUL_RESOURCES_ALLOCATION AfEvent = "SUCCESSFUL_RESOURCES_ALLOCATION" - AfEvent_TSN_BRIDGE_INFO AfEvent = "TSN_BRIDGE_INFO" - AfEvent_USAGE_REPORT AfEvent = "USAGE_REPORT" -) diff --git a/models/model_af_event_notification.go b/models/model_af_event_notification.go deleted file mode 100644 index 098d2168..00000000 --- a/models/model_af_event_notification.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// describes the event information delivered in the notification -type AfEventNotification struct { - Event AfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` -} diff --git a/models/model_af_location_area.go b/models/model_af_location_area.go deleted file mode 100644 index 78022520..00000000 --- a/models/model_af_location_area.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AFLocationArea struct { - // Indicates a list of Cell Global Identities of the user which identifies the cell the UE is registered. - CellIds []string `json:"cellIds,omitempty" yaml:"cellIds" bson:"cellIds"` - // Indicates a list of eNodeB identities in which the UE is currently located. - EnodeBIds []string `json:"enodeBIds,omitempty" yaml:"enodeBIds" bson:"enodeBIds"` - // Identifies a list of Routing Area Identities of the user where the UE is located. - RoutingAreaIds []string `json:"routingAreaIds,omitempty" yaml:"routingAreaIds" bson:"routingAreaIds"` - // Identifies a list of Tracking Area Identities of the user where the UE is located. - TrackingAreaIds []string `json:"trackingAreaIds,omitempty" yaml:"trackingAreaIds" bson:"trackingAreaIds"` - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas"` - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses"` -} diff --git a/models/model_af_location_area5_g.go b/models/model_af_location_area5_g.go deleted file mode 100644 index e5129974..00000000 --- a/models/model_af_location_area5_g.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AFLocationArea5G struct { - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas"` - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo"` -} diff --git a/models/model_am_policy_association.go b/models/model_am_policy_association.go deleted file mode 100644 index f7f44383..00000000 --- a/models/model_am_policy_association.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyAssociation struct { - Request *AmPolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` - // Request Triggers that the PCF subscribes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_am_policy_association_release_cause.go b/models/model_am_policy_association_release_cause.go deleted file mode 100644 index cf439f8c..00000000 --- a/models/model_am_policy_association_release_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyAssociationReleaseCause string - -// List of AmPolicyAssociationReleaseCause -const ( - AmPolicyAssociationReleaseCause_UNSPECIFIED AmPolicyAssociationReleaseCause = "UNSPECIFIED" - AmPolicyAssociationReleaseCause_UE_SUBSCRIPTION AmPolicyAssociationReleaseCause = "UE_SUBSCRIPTION" - AmPolicyAssociationReleaseCause_INSUFFICIENT_RES AmPolicyAssociationReleaseCause = "INSUFFICIENT_RES" -) diff --git a/models/model_am_policy_association_request.go b/models/model_am_policy_association_request.go deleted file mode 100644 index f61981d4..00000000 --- a/models/model_am_policy_association_request.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information which the NF service consumer provides when requesting the creation of a policy association. The serviveName property corresponds to the serviceName in the main body of the specification. -type AmPolicyAssociationRequest struct { - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // array of allowed S-NSSAIs for the 3GPP access. - AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` - // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. - MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` - // array of allowed S-NSSAIs for the Non-3GPP access. - N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_am_policy_association_update_request.go b/models/model_am_policy_association_update_request.go deleted file mode 100644 index 4d9ae384..00000000 --- a/models/model_am_policy_association_update_request.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyAssociationUpdateRequest struct { - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // Request Triggers that the NF service consumer observes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // Map of PRA status information. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - // array of allowed S-NSSAIs for the 3GPP access. - AllowedSnssais []Snssai `json:"allowedSnssais,omitempty" yaml:"allowedSnssais" bson:"allowedSnssais,omitempty"` - // mapping of each S-NSSAI of the Allowed NSSAI to the corresponding S-NSSAI of the HPLMN. - MappingSnssais []MappingOfSnssai `json:"mappingSnssais,omitempty" yaml:"mappingSnssais" bson:"mappingSnssais,omitempty"` - AccessTypes []AccessType `json:"accessTypes,omitempty" yaml:"accessTypes" bson:"accessTypes,omitempty"` - RatTypes []RatType `json:"ratTypes,omitempty" yaml:"ratTypes" bson:"ratTypes,omitempty"` - // array of allowed S-NSSAIs for the Non-3GPP access. - N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` - TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` -} diff --git a/models/model_am_policy_termination_notification.go b/models/model_am_policy_termination_notification.go deleted file mode 100644 index e1d01030..00000000 --- a/models/model_am_policy_termination_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyTerminationNotification struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause AmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/model_am_policy_update.go b/models/model_am_policy_update.go deleted file mode 100644 index 3464c44a..00000000 --- a/models/model_am_policy_update.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Npcf_AMPolicyControl - * - * Access and Mobility Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.507 V16.9.0; 5G System; Access and Mobility Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.507/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AmPolicyUpdate struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - // Request Triggers that the PCF subscribes. - Triggers []PcfAmPolicyControlRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - ServAreaRes *ServiceAreaRestriction `json:"servAreaRes,omitempty" yaml:"servAreaRes" bson:"servAreaRes,omitempty"` - WlServAreaRes *WirelineServiceAreaRestriction `json:"wlServAreaRes,omitempty" yaml:"wlServAreaRes" bson:"wlServAreaRes,omitempty"` - Rfsp int32 `json:"rfsp,omitempty" yaml:"rfsp" bson:"rfsp,omitempty"` - SmfSelInfo *SmfSelectionData `json:"smfSelInfo,omitempty" yaml:"smfSelInfo" bson:"smfSelInfo,omitempty"` - UeAmbr *Ambr `json:"ueAmbr,omitempty" yaml:"ueAmbr" bson:"ueAmbr,omitempty"` - // Map of PRA information. - Pras map[string]*PresenceInfoRm `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` -} diff --git a/models/model_amf_info.go b/models/model_amf_info.go deleted file mode 100644 index fdbb924d..00000000 --- a/models/model_amf_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of an AMF NF Instance -type AmfInfo struct { - AmfSetId string `json:"amfSetId" yaml:"amfSetId" bson:"amfSetId,omitempty"` - AmfRegionId string `json:"amfRegionId" yaml:"amfRegionId" bson:"amfRegionId,omitempty"` - GuamiList []Guami `json:"guamiList" yaml:"guamiList" bson:"guamiList,omitempty"` - TaiList []Tai `json:"taiList,omitempty" yaml:"taiList" bson:"taiList,omitempty"` - TaiRangeList []TaiRange `json:"taiRangeList,omitempty" yaml:"taiRangeList" bson:"taiRangeList,omitempty"` - BackupInfoAmfFailure []Guami `json:"backupInfoAmfFailure,omitempty" yaml:"backupInfoAmfFailure" bson:"backupInfoAmfFailure,omitempty"` - BackupInfoAmfRemoval []Guami `json:"backupInfoAmfRemoval,omitempty" yaml:"backupInfoAmfRemoval" bson:"backupInfoAmfRemoval,omitempty"` - N2InterfaceAmfInfo *N2InterfaceAmfInfo `json:"n2InterfaceAmfInfo,omitempty" yaml:"n2InterfaceAmfInfo" bson:"n2InterfaceAmfInfo,omitempty"` -} diff --git a/models/model_association_type.go b/models/model_association_type.go deleted file mode 100644 index 2ca1502a..00000000 --- a/models/model_association_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AssociationType string - -// List of AssociationType -const ( - AssociationType_IMEI_CHANGE AssociationType = "IMEI_CHANGE" - AssociationType_IMEISV_CHANGE AssociationType = "IMEISV_CHANGE" -) diff --git a/models/model_auth_result.go b/models/model_auth_result.go deleted file mode 100644 index 16b667e7..00000000 --- a/models/model_auth_result.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * AUSF API - * - * AUSF UE Authentication Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.509 V16.7.0; 5G System; 3GPP TS Authentication Server services. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.509 - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthResult string - -// List of AuthResult -const ( - AuthResult_SUCCESS AuthResult = "AUTHENTICATION_SUCCESS" - AuthResult_FAILURE AuthResult = "AUTHENTICATION_FAILURE" - AuthResult_ONGOING AuthResult = "AUTHENTICATION_ONGOING" -) diff --git a/models/model_auth_type.go b/models/model_auth_type.go deleted file mode 100644 index 482d67c6..00000000 --- a/models/model_auth_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthType string - -// List of AuthType -const ( - AuthType__5_G_AKA AuthType = "5G_AKA" - AuthType_EAP_AKA_PRIME AuthType = "EAP_AKA_PRIME" - AuthType_EAP_TLS AuthType = "EAP_TLS" -) diff --git a/models/model_bdt_policy_bdt_policy_data.go b/models/model_bdt_policy_bdt_policy_data.go deleted file mode 100644 index c3c76b2c..00000000 --- a/models/model_bdt_policy_bdt_policy_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the authorization data of an Individual BDT policy resource. -type BdtPolicyBdtPolicyData struct { - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // Contains transfer policies. - TransfPolicies []TransferPolicy `json:"transfPolicies" yaml:"transfPolicies" bson:"transfPolicies,omitempty"` - // Contains an identity of the selected transfer policy. - SelTransPolicyId int32 `json:"selTransPolicyId,omitempty" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_bdt_policy_bdt_policy_data_patch.go b/models/model_bdt_policy_bdt_policy_data_patch.go deleted file mode 100644 index fd182c5c..00000000 --- a/models/model_bdt_policy_bdt_policy_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtPolData attribute of the BdtPolicy data structure to select a transfer policy. Adds selTransPolicyId to BdtPolicyData data structure. -type BdtPolicyBdtPolicyDataPatch struct { - // Contains an identity (i.e. transPolicyId value) of the selected transfer policy. If the BdtNotification_5G feature is supported value 0 indicates that no transfer policy is selected. - SelTransPolicyId int32 `json:"selTransPolicyId" yaml:"selTransPolicyId" bson:"selTransPolicyId,omitempty"` -} diff --git a/models/model_bdt_policy_bdt_req_data_patch.go b/models/model_bdt_policy_bdt_req_data_patch.go deleted file mode 100644 index 11550665..00000000 --- a/models/model_bdt_policy_bdt_req_data_patch.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// A JSON Merge Patch body schema containing modification instruction to be performed on the bdtReqData attribute of the BdtPolicy data structure to indicate whether the BDT warning notification is enabled or disabled. Modifies warnNotifReq from BdtReqData data structure. -type BdtPolicyBdtReqDataPatch struct { - // Indicates whether the BDT warning notification is enabled or disabled. - WarnNotifReq bool `json:"warnNotifReq,omitempty" yaml:"warnNotifReq" bson:"warnNotifReq,omitempty"` -} diff --git a/models/model_bdt_policy_patch_bdt_policy.go b/models/model_bdt_policy_patch_bdt_policy.go deleted file mode 100644 index ea40130e..00000000 --- a/models/model_bdt_policy_patch_bdt_policy.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes the updates in authorization data of an Individual BDT Policy created by the PCF. -type BdtPolicyPatchBdtPolicy struct { - BdtPolData *BdtPolicyBdtPolicyDataPatch `json:"bdtPolData,omitempty" yaml:"bdtPolData" bson:"bdtPolData,omitempty"` - BdtReqData *BdtPolicyBdtReqDataPatch `json:"bdtReqData,omitempty" yaml:"bdtReqData" bson:"bdtReqData,omitempty"` -} diff --git a/models/model_bsf_info.go b/models/model_bsf_info.go deleted file mode 100644 index ef97e2c6..00000000 --- a/models/model_bsf_info.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Information of a BSF NF Instance -type BsfInfo struct { - DnnList []string `json:"dnnList,omitempty" yaml:"dnnList" bson:"dnnList,omitempty"` - IpDomainList []string `json:"ipDomainList,omitempty" yaml:"ipDomainList" bson:"ipDomainList,omitempty"` - Ipv4AddressRanges []Ipv4AddressRange `json:"ipv4AddressRanges,omitempty" yaml:"ipv4AddressRanges" bson:"ipv4AddressRanges,omitempty"` - Ipv6PrefixRanges []Ipv6PrefixRange `json:"ipv6PrefixRanges,omitempty" yaml:"ipv6PrefixRanges" bson:"ipv6PrefixRanges,omitempty"` -} diff --git a/models/model_cause.go b/models/model_cause.go deleted file mode 100644 index d2ac5fd8..00000000 --- a/models/model_cause.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Cause string - -// List of Cause -const ( - Cause_REL_DUE_TO_HO Cause = "REL_DUE_TO_HO" - Cause_EPS_FALLBACK Cause = "EPS_FALLBACK" - Cause_REL_DUE_TO_UP_SEC Cause = "REL_DUE_TO_UP_SEC" - Cause_DNN_CONGESTION Cause = "DNN_CONGESTION" - Cause_S_NSSAI_CONGESTION Cause = "S_NSSAI_CONGESTION" - Cause_REL_DUE_TO_REACTIVATION Cause = "REL_DUE_TO_REACTIVATION" - Cause__5_G_AN_NOT_RESPONDING Cause = "5G_AN_NOT_RESPONDING" - Cause_REL_DUE_TO_SLICE_NOT_AVAILABLE Cause = "REL_DUE_TO_SLICE_NOT_AVAILABLE" - Cause_REL_DUE_TO_DUPLICATE_SESSION_ID Cause = "REL_DUE_TO_DUPLICATE_SESSION_ID" - Cause_PDU_SESSION_STATUS_MISMATCH Cause = "PDU_SESSION_STATUS_MISMATCH" - Cause_HO_FAILURE Cause = "HO_FAILURE" - Cause_INSUFFICIENT_UP_RESOURCES Cause = "INSUFFICIENT_UP_RESOURCES" - Cause_PDU_SESSION_HANDED_OVER Cause = "PDU_SESSION_HANDED_OVER" - Cause_PDU_SESSION_RESUMED Cause = "PDU_SESSION_RESUMED" - Cause_CN_ASSISTED_RAN_PARAMETER_TUNING Cause = "CN_ASSISTED_RAN_PARAMETER_TUNING" - Cause_ISMF_CONTEXT_TRANSFER Cause = "ISMF_CONTEXT_TRANSFER" - Cause_SMF_CONTEXT_TRANSFER Cause = "SMF_CONTEXT_TRANSFER" - Cause_REL_DUE_TO_PS_TO_CS_HO Cause = "REL_DUE_TO_PS_TO_CS_HO" - Cause_REL_DUE_TO_SUBSCRIPTION_CHANGE Cause = "REL_DUE_TO_SUBSCRIPTION_CHANGE" - Cause_HO_CANCEL Cause = "HO_CANCEL" - Cause_REL_DUE_TO_SLICE_NOT_AUTHORIZED Cause = "REL_DUE_TO_SLICE_NOT_AUTHORIZED" - Cause_PDU_SESSION_HAND_OVER_FAILURE Cause = "PDU_SESSION_HAND_OVER_FAILURE" - Cause_DDN_FAILURE_STATUS Cause = "DDN_FAILURE_STATUS" - Cause_REL_DUE_TO_CP_ONLY_NOT_APPLICABLE Cause = "REL_DUE_TO_CP_ONLY_NOT_APPLICABLE" - Cause_NOT_SUPPORTED_WITH_ISMF Cause = "NOT_SUPPORTED_WITH_ISMF" - Cause_CHANGED_ANCHOR_SMF Cause = "CHANGED_ANCHOR_SMF" - Cause_CHANGED_INTERMEDIATE_SMF Cause = "CHANGED_INTERMEDIATE_SMF" -) diff --git a/models/model_dr_bdt_data.go b/models/model_dr_bdt_data.go deleted file mode 100644 index 9024c642..00000000 --- a/models/model_dr_bdt_data.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Contains the background data transfer data. -type DrBdtData struct { - AspId string `json:"aspId" yaml:"aspId" bson:"aspId,omitempty"` - TransPolicy *TransferPolicy `json:"transPolicy" yaml:"transPolicy" bson:"transPolicy,omitempty"` - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId,omitempty" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - NumOfUes int32 `json:"numOfUes,omitempty" yaml:"numOfUes" bson:"numOfUes,omitempty"` - VolPerUe *UsageThreshold `json:"volPerUe,omitempty" yaml:"volPerUe" bson:"volPerUe,omitempty"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - // Identify a traffic descriptor as defined in Figure 5.2.2 of 3GPP TS 24.526, octets v+5 to w. - TrafficDes string `json:"trafficDes,omitempty" yaml:"trafficDes" bson:"trafficDes,omitempty"` - BdtpStatus BdtPolicyStatus `json:"bdtpStatus,omitempty" yaml:"bdtpStatus" bson:"bdtpStatus,omitempty"` - SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_dr_bdt_policy_data.go b/models/model_dr_bdt_policy_data.go deleted file mode 100644 index ba67ede0..00000000 --- a/models/model_dr_bdt_policy_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DrBdtPolicyData struct { - InterGroupId string `json:"interGroupId,omitempty" yaml:"interGroupId" bson:"interGroupId,omitempty"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` - ResUri string `json:"resUri,omitempty" yaml:"resUri" bson:"resUri,omitempty"` -} diff --git a/models/model_dr_bdt_policy_data_patch.go b/models/model_dr_bdt_policy_data_patch.go deleted file mode 100644 index c45df6f3..00000000 --- a/models/model_dr_bdt_policy_data_patch.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DrBdtPolicyDataPatch struct { - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` -} diff --git a/models/model_dr_data_set_name.go b/models/model_dr_data_set_name.go deleted file mode 100644 index 60e04fc2..00000000 --- a/models/model_dr_data_set_name.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type DrDataSetName string - -// List of DRDataSetName -const ( - DrDataSetName_AM DrDataSetName = "AM" - DrDataSetName_SMF_SEL DrDataSetName = "SMF_SEL" - DrDataSetName_SMS_SUB DrDataSetName = "SMS_SUB" - DrDataSetName_SM DrDataSetName = "SM" - DrDataSetName_TRACE DrDataSetName = "TRACE" - DrDataSetName_SMS_MNG DrDataSetName = "SMS_MNG" - DrDataSetName_LCS_PRIVACY DrDataSetName = "LCS_PRIVACY" - DrDataSetName_LCS_MO DrDataSetName = "LCS_MO" - DrDataSetName_LCS_BCA DrDataSetName = "LCS_BCA" - DrDataSetName_V2_X DrDataSetName = "V2X" -) diff --git a/models/model_ec_restriction_data_wb.go b/models/model_ec_restriction_data_wb.go deleted file mode 100644 index c3dc29f1..00000000 --- a/models/model_ec_restriction_data_wb.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EcRestrictionDataWb struct { - EcModeARestricted bool `json:"ecModeARestricted,omitempty" yaml:"ecModeARestricted" bson:"ecModeARestricted,omitempty"` - EcModeBRestricted bool `json:"ecModeBRestricted,omitempty" yaml:"ecModeBRestricted" bson:"ecModeBRestricted,omitempty"` -} diff --git a/models/model_event_subscription.go b/models/model_event_subscription.go deleted file mode 100644 index 77d6ed90..00000000 --- a/models/model_event_subscription.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.508 V16.8.0; 5G System; Session Management Event Exposure Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventSubscription struct { - Event SmfEvent `json:"event" yaml:"event" bson:"event,omitempty"` - DnaiChgType DnaiChangeType `json:"dnaiChgType,omitempty" yaml:"dnaiChgType" bson:"dnaiChgType,omitempty"` - DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty" yaml:"dddTraDescriptors" bson:"dddTraDescriptors,omitempty"` - DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty" yaml:"dddStati" bson:"dddStati,omitempty"` - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` -} diff --git a/models/model_event_type.go b/models/model_event_type.go deleted file mode 100644 index c18edac6..00000000 --- a/models/model_event_type.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type EventType string - -// List of EventType -const ( - EventType_LOSS_OF_CONNECTIVITY EventType = "LOSS_OF_CONNECTIVITY" - EventType_UE_REACHABILITY_FOR_DATA EventType = "UE_REACHABILITY_FOR_DATA" - EventType_UE_REACHABILITY_FOR_SMS EventType = "UE_REACHABILITY_FOR_SMS" - EventType_LOCATION_REPORTING EventType = "LOCATION_REPORTING" - EventType_CHANGE_OF_SUPI_PEI_ASSOCIATION EventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION" - EventType_ROAMING_STATUS EventType = "ROAMING_STATUS" - EventType_COMMUNICATION_FAILURE EventType = "COMMUNICATION_FAILURE" - EventType_AVAILABILITY_AFTER_DDN_FAILURE EventType = "AVAILABILITY_AFTER_DDN_FAILURE" - EventType_CN_TYPE_CHANGE EventType = "CN_TYPE_CHANGE" - EventType_DL_DATA_DELIVERY_STATUS EventType = "DL_DATA_DELIVERY_STATUS" - EventType_PDN_CONNECTIVITY_STATUS EventType = "PDN_CONNECTIVITY_STATUS" - EventType_UE_CONNECTION_MANAGEMENT_STATE EventType = "UE_CONNECTION_MANAGEMENT_STATE" -) diff --git a/models/model_events_notification.go b/models/model_events_notification.go deleted file mode 100644 index 6cec1d3e..00000000 --- a/models/model_events_notification.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// describes the notification of a matched event -type EventsNotification struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - AddAccessInfo *AdditionalAccessInfo `json:"addAccessInfo,omitempty" yaml:"addAccessInfo" bson:"addAccessInfo,omitempty"` - RelAccessInfo *AdditionalAccessInfo `json:"relAccessInfo,omitempty" yaml:"relAccessInfo" bson:"relAccessInfo,omitempty"` - AnChargAddr *AccNetChargingAddress `json:"anChargAddr,omitempty" yaml:"anChargAddr" bson:"anChargAddr,omitempty"` - AnChargIds []AccessNetChargingIdentifier `json:"anChargIds,omitempty" yaml:"anChargIds" bson:"anChargIds,omitempty"` - AnGwAddr *AnGwAddress `json:"anGwAddr,omitempty" yaml:"anGwAddr" bson:"anGwAddr,omitempty"` - EvSubsUri string `json:"evSubsUri" yaml:"evSubsUri" bson:"evSubsUri,omitempty"` - EvNotifs []AfEventNotification `json:"evNotifs" yaml:"evNotifs" bson:"evNotifs,omitempty"` - FailedResourcAllocReports []ResourcesAllocationInfo `json:"failedResourcAllocReports,omitempty" yaml:"failedResourcAllocReports" bson:"failedResourcAllocReports,omitempty"` - SuccResourcAllocReports []ResourcesAllocationInfo `json:"succResourcAllocReports,omitempty" yaml:"succResourcAllocReports" bson:"succResourcAllocReports,omitempty"` - NoNetLocSupp NetLocAccessSupport `json:"noNetLocSupp,omitempty" yaml:"noNetLocSupp" bson:"noNetLocSupp,omitempty"` - OutOfCredReports []OutOfCreditInformation `json:"outOfCredReports,omitempty" yaml:"outOfCredReports" bson:"outOfCredReports,omitempty"` - PlmnId *PlmnIdNid `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - QncReports []PolicyAuthQosNotificationControlInfo `json:"qncReports,omitempty" yaml:"qncReports" bson:"qncReports,omitempty"` - QosMonReports []QosMonitoringReport `json:"qosMonReports,omitempty" yaml:"qosMonReports" bson:"qosMonReports,omitempty"` - // Contains the RAN and/or NAS release cause. - RanNasRelCauses []RanNasRelCause `json:"ranNasRelCauses,omitempty" yaml:"ranNasRelCauses" bson:"ranNasRelCauses,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - UeLoc *UserLocation `json:"ueLoc,omitempty" yaml:"ueLoc" bson:"ueLoc,omitempty"` - UeLocTime *time.Time `json:"ueLocTime,omitempty" yaml:"ueLocTime" bson:"ueLocTime,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - UsgRep *AccumulatedUsage `json:"usgRep,omitempty" yaml:"usgRep" bson:"usgRep,omitempty"` - TsnBridgeManCont *BridgeManagementContainer `json:"tsnBridgeManCont,omitempty" yaml:"tsnBridgeManCont" bson:"tsnBridgeManCont,omitempty"` - TsnPortManContDstt *PortManagementContainer `json:"tsnPortManContDstt,omitempty" yaml:"tsnPortManContDstt" bson:"tsnPortManContDstt,omitempty"` - TsnPortManContNwtts []PortManagementContainer `json:"tsnPortManContNwtts,omitempty" yaml:"tsnPortManContNwtts" bson:"tsnPortManContNwtts,omitempty"` -} diff --git a/models/model_events_subsc_req_data.go b/models/model_events_subsc_req_data.go deleted file mode 100644 index 94bbab0f..00000000 --- a/models/model_events_subsc_req_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Identifies the events the application subscribes to. -type EventsSubscReqData struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - QosMon *QosMonitoringInformation `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` - ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` - UsgThres *UsageThreshold `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` -} diff --git a/models/model_events_subsc_req_data_rm.go b/models/model_events_subsc_req_data_rm.go deleted file mode 100644 index 11346016..00000000 --- a/models/model_events_subsc_req_data_rm.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// this data type is defined in the same way as the EventsSubscReqData data type, but with the OpenAPI nullable property set to true. -type EventsSubscReqDataRm struct { - Events []AfEventSubscription `json:"events" yaml:"events" bson:"events,omitempty"` - NotifUri string `json:"notifUri,omitempty" yaml:"notifUri" bson:"notifUri,omitempty"` - ReqQosMonParams []RequestedQosMonitoringParameter `json:"reqQosMonParams,omitempty" yaml:"reqQosMonParams" bson:"reqQosMonParams,omitempty"` - QosMon *QosMonitoringInformationRm `json:"qosMon,omitempty" yaml:"qosMon" bson:"qosMon,omitempty"` - ReqAnis []RequiredAccessInfo `json:"reqAnis,omitempty" yaml:"reqAnis" bson:"reqAnis,omitempty"` - UsgThres *UsageThresholdRm `json:"usgThres,omitempty" yaml:"usgThres" bson:"usgThres,omitempty"` - NotifCorreId string `json:"notifCorreId,omitempty" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` -} diff --git a/models/model_ext_problem_details.go b/models/model_ext_problem_details.go deleted file mode 100644 index 9a2709f7..00000000 --- a/models/model_ext_problem_details.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ExtProblemDetails struct { - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - RemoteError bool `json:"remoteError,omitempty" yaml:"remoteError" bson:"remoteError,omitempty"` -} diff --git a/models/model_extended_problem_details.go b/models/model_extended_problem_details.go deleted file mode 100644 index 883fc75f..00000000 --- a/models/model_extended_problem_details.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Extends ProblemDetails to also include the acceptable service info. -type ExtendedProblemDetails struct { - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` - AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` - NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` - AcceptableServInfo *AcceptableServiceInfo `json:"acceptableServInfo,omitempty" yaml:"acceptableServInfo" bson:"acceptableServInfo,omitempty"` -} diff --git a/models/model_failure_cause.go b/models/model_failure_cause.go deleted file mode 100644 index fd7a9aa6..00000000 --- a/models/model_failure_cause.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FailureCause string - -// List of FailureCause -const ( - FailureCause_PCC_RULE_EVENT FailureCause = "PCC_RULE_EVENT" - FailureCause_PCC_QOS_FLOW_EVENT FailureCause = "PCC_QOS_FLOW_EVENT" - FailureCause_RULE_PERMANENT_ERROR FailureCause = "RULE_PERMANENT_ERROR" - FailureCause_RULE_TEMPORARY_ERROR FailureCause = "RULE_TEMPORARY_ERROR" - FailureCause_POL_DEC_ERROR FailureCause = "POL_DEC_ERROR" -) diff --git a/models/model_failure_code.go b/models/model_failure_code.go deleted file mode 100644 index a9be9503..00000000 --- a/models/model_failure_code.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type FailureCode string - -// List of FailureCode -const ( - FailureCode_UNK_RULE_ID FailureCode = "UNK_RULE_ID" - FailureCode_RA_GR_ERR FailureCode = "RA_GR_ERR" - FailureCode_SER_ID_ERR FailureCode = "SER_ID_ERR" - FailureCode_NF_MAL FailureCode = "NF_MAL" - FailureCode_RES_LIM FailureCode = "RES_LIM" - FailureCode_MAX_NR_QO_S_FLOW FailureCode = "MAX_NR_QoS_FLOW" - FailureCode_MISS_FLOW_INFO FailureCode = "MISS_FLOW_INFO" - FailureCode_RES_ALLO_FAIL FailureCode = "RES_ALLO_FAIL" - FailureCode_UNSUCC_QOS_VAL FailureCode = "UNSUCC_QOS_VAL" - FailureCode_INCOR_FLOW_INFO FailureCode = "INCOR_FLOW_INFO" - FailureCode_PS_TO_CS_HAN FailureCode = "PS_TO_CS_HAN" - FailureCode_APP_ID_ERR FailureCode = "APP_ID_ERR" - FailureCode_NO_QOS_FLOW_BOUND FailureCode = "NO_QOS_FLOW_BOUND" - FailureCode_FILTER_RES FailureCode = "FILTER_RES" - FailureCode_MISS_REDI_SER_ADDR FailureCode = "MISS_REDI_SER_ADDR" - FailureCode_CM_END_USER_SER_DENIED FailureCode = "CM_END_USER_SER_DENIED" - FailureCode_CM_CREDIT_CON_NOT_APP FailureCode = "CM_CREDIT_CON_NOT_APP" // #nosec G101 - FailureCode_CM_AUTH_REJ FailureCode = "CM_AUTH_REJ" - FailureCode_CM_USER_UNK FailureCode = "CM_USER_UNK" - FailureCode_CM_RAT_FAILED FailureCode = "CM_RAT_FAILED" - FailureCode_UE_STA_SUSP FailureCode = "UE_STA_SUSP" -) diff --git a/models/model_gbr_qos_flow_information.go b/models/model_gbr_qos_flow_information.go deleted file mode 100644 index 820afc30..00000000 --- a/models/model_gbr_qos_flow_information.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type GbrQosFlowInformation struct { - MaxFbrDl string `json:"maxFbrDl" yaml:"maxFbrDl" bson:"maxFbrDl,omitempty"` - MaxFbrUl string `json:"maxFbrUl" yaml:"maxFbrUl" bson:"maxFbrUl,omitempty"` - GuaFbrDl string `json:"guaFbrDl" yaml:"guaFbrDl" bson:"guaFbrDl,omitempty"` - GuaFbrUl string `json:"guaFbrUl" yaml:"guaFbrUl" bson:"guaFbrUl,omitempty"` - NotifControl NotificationControl `json:"notifControl,omitempty" yaml:"notifControl" bson:"notifControl,omitempty"` - MaxPacketLossRateDl int32 `json:"maxPacketLossRateDl,omitempty" yaml:"maxPacketLossRateDl" bson:"maxPacketLossRateDl,omitempty"` - MaxPacketLossRateUl int32 `json:"maxPacketLossRateUl,omitempty" yaml:"maxPacketLossRateUl" bson:"maxPacketLossRateUl,omitempty"` - AlternativeQosProfileList []AlternativeQosProfile `json:"alternativeQosProfileList,omitempty" yaml:"alternativeQosProfileList" bson:"alternativeQosProfileList,omitempty"` -} diff --git a/models/model_invalid_param_1.go b/models/model_invalid_param_1.go deleted file mode 100644 index ea1351e8..00000000 --- a/models/model_invalid_param_1.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type InvalidParam1 struct { - // Attribute's name encoded as a JSON Pointer, or header's name. - Param string `json:"param" yaml:"param" bson:"param,omitempty"` - // A human-readable reason, e.g. \"must be a positive integer\". - Reason string `json:"reason,omitempty" yaml:"reason" bson:"reason,omitempty"` -} diff --git a/models/model_ip_address.go b/models/model_ip_address.go deleted file mode 100644 index 0d6cacff..00000000 --- a/models/model_ip_address.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type IpAddress struct { - Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` - Ipv6Addr string `json:"ipv6Addr,omitempty" yaml:"ipv6Addr" bson:"ipv6Addr,omitempty"` - Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` -} diff --git a/models/model_ipv4_address_range.go b/models/model_ipv4_address_range.go deleted file mode 100644 index 51d1c85e..00000000 --- a/models/model_ipv4_address_range.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of IPv4 addresses -type Ipv4AddressRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` -} diff --git a/models/model_ipv6_prefix_range.go b/models/model_ipv6_prefix_range.go deleted file mode 100644 index 3864faa4..00000000 --- a/models/model_ipv6_prefix_range.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Range of IPv6 prefixes -type Ipv6PrefixRange struct { - Start string `json:"start,omitempty" yaml:"start" bson:"start,omitempty"` - End string `json:"end,omitempty" yaml:"end" bson:"end,omitempty"` -} diff --git a/models/model_location_accuracy.go b/models/model_location_accuracy.go deleted file mode 100644 index df447b2e..00000000 --- a/models/model_location_accuracy.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationAccuracy string - -// List of LocationAccuracy -const ( - LocationAccuracy_CELL_LEVEL LocationAccuracy = "CELL_LEVEL" - LocationAccuracy_TA_LEVEL LocationAccuracy = "TA_LEVEL" - LocationAccuracy_N3_IWF_LEVEL LocationAccuracy = "N3IWF_LEVEL" - LocationAccuracy_UE_IP LocationAccuracy = "UE_IP" - LocationAccuracy_UE_PORT LocationAccuracy = "UE_PORT" -) diff --git a/models/model_location_area.go b/models/model_location_area.go deleted file mode 100644 index 7614eb75..00000000 --- a/models/model_location_area.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationArea struct { - // Identifies a list of geographic area of the user where the UE is located. - GeographicAreas []GeographicArea `json:"geographicAreas,omitempty" yaml:"geographicAreas" bson:"geographicAreas,omitempty"` - // Identifies a list of civic addresses of the user where the UE is located. - CivicAddresses []CivicAddress `json:"civicAddresses,omitempty" yaml:"civicAddresses" bson:"civicAddresses,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` -} diff --git a/models/model_location_reporting_configuration.go b/models/model_location_reporting_configuration.go deleted file mode 100644 index f81b91be..00000000 --- a/models/model_location_reporting_configuration.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type LocationReportingConfiguration struct { - CurrentLocation bool `json:"currentLocation" yaml:"currentLocation" bson:"currentLocation,omitempty"` - OneTime bool `json:"oneTime,omitempty" yaml:"oneTime" bson:"oneTime,omitempty"` - Accuracy LocationAccuracy `json:"accuracy,omitempty" yaml:"accuracy" bson:"accuracy,omitempty"` - N3gppAccuracy LocationAccuracy `json:"n3gppAccuracy,omitempty" yaml:"n3gppAccuracy" bson:"n3gppAccuracy,omitempty"` -} diff --git a/models/model_monitoring_configuration.go b/models/model_monitoring_configuration.go deleted file mode 100644 index 0bf2d6ff..00000000 --- a/models/model_monitoring_configuration.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type MonitoringConfiguration struct { - EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - ImmediateFlag bool `json:"immediateFlag,omitempty" yaml:"immediateFlag" bson:"immediateFlag,omitempty"` - LocationReportingConfiguration *LocationReportingConfiguration `json:"locationReportingConfiguration,omitempty" yaml:"locationReportingConfiguration" bson:"locationReportingConfiguration,omitempty"` - AssociationType AssociationType `json:"associationType,omitempty" yaml:"associationType" bson:"associationType,omitempty"` - DatalinkReportCfg *DatalinkReportingConfiguration `json:"datalinkReportCfg,omitempty" yaml:"datalinkReportCfg" bson:"datalinkReportCfg,omitempty"` - LossConnectivityCfg *LossConnectivityCfg `json:"lossConnectivityCfg,omitempty" yaml:"lossConnectivityCfg" bson:"lossConnectivityCfg,omitempty"` - MaximumLatency int32 `json:"maximumLatency,omitempty" yaml:"maximumLatency" bson:"maximumLatency,omitempty"` - MaximumResponseTime int32 `json:"maximumResponseTime,omitempty" yaml:"maximumResponseTime" bson:"maximumResponseTime,omitempty"` - SuggestedPacketNumDl int32 `json:"suggestedPacketNumDl,omitempty" yaml:"suggestedPacketNumDl" bson:"suggestedPacketNumDl,omitempty"` - PduSessionStatusCfg *PduSessionStatusCfg `json:"pduSessionStatusCfg,omitempty" yaml:"pduSessionStatusCfg" bson:"pduSessionStatusCfg,omitempty"` - ReachabilityForSmsCfg ReachabilityForSmsConfiguration `json:"reachabilityForSmsCfg,omitempty" yaml:"reachabilityForSmsCfg" bson:"reachabilityForSmsCfg,omitempty"` - MtcProviderInformation string `json:"mtcProviderInformation,omitempty" yaml:"mtcProviderInformation" bson:"mtcProviderInformation,omitempty"` - AfId string `json:"afId,omitempty" yaml:"afId" bson:"afId,omitempty"` -} diff --git a/models/model_nf_management_subscription_data.go b/models/model_nf_management_subscription_data.go deleted file mode 100644 index 5ccbec4a..00000000 --- a/models/model_nf_management_subscription_data.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of a subscription to notifications to NRF events, included in subscription requests and responses -type NfManagementSubscriptionData struct { - NfStatusNotificationUri string `json:"nfStatusNotificationUri" yaml:"nfStatusNotificationUri" bson:"nfStatusNotificationUri,omitempty"` - ReqNfInstanceId string `json:"reqNfInstanceId,omitempty" yaml:"reqNfInstanceId" bson:"reqNfInstanceId,omitempty"` - SubscrCond interface{} `json:"subscrCond,omitempty" yaml:"subscrCond" bson:"subscrCond,omitempty"` - SubscriptionId string `json:"subscriptionId" yaml:"subscriptionId" bson:"subscriptionId,omitempty"` - ValidityTime *time.Time `json:"validityTime,omitempty" yaml:"validityTime" bson:"validityTime,omitempty"` - ReqNotifEvents []NotificationEventType `json:"reqNotifEvents,omitempty" yaml:"reqNotifEvents" bson:"reqNotifEvents,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` - NotifCondition *NotifCondition `json:"notifCondition,omitempty" yaml:"notifCondition" bson:"notifCondition,omitempty"` - ReqNfType NfType `json:"reqNfType,omitempty" yaml:"reqNfType" bson:"reqNfType,omitempty"` - // Fully Qualified Domain Name - ReqNfFqdn string `json:"reqNfFqdn,omitempty" yaml:"reqNfFqdn" bson:"reqNfFqdn,omitempty"` - ReqSnssais []Snssai `json:"reqSnssais,omitempty" yaml:"reqSnssais" bson:"reqSnssais,omitempty"` - ReqPerPlmnSnssais []PlmnSnssai `json:"reqPerPlmnSnssais,omitempty" yaml:"reqPerPlmnSnssais" bson:"reqPerPlmnSnssais,omitempty"` - ReqPlmnList []PlmnId `json:"reqPlmnList,omitempty" yaml:"reqPlmnList" bson:"reqPlmnList,omitempty"` - ReqSnpnList []PlmnIdNid `json:"reqSnpnList,omitempty" yaml:"reqSnpnList" bson:"reqSnpnList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - RequesterFeatures string `json:"requesterFeatures,omitempty" yaml:"requesterFeatures" bson:"requesterFeatures,omitempty"` - NrfSupportedFeatures string `json:"nrfSupportedFeatures,omitempty" yaml:"nrfSupportedFeatures" bson:"nrfSupportedFeatures,omitempty"` -} diff --git a/models/model_nf_profile.go b/models/model_nf_profile.go deleted file mode 100644 index a061a5c9..00000000 --- a/models/model_nf_profile.go +++ /dev/null @@ -1,90 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of an NF Instance registered in the NRF -type NfProfile struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` - NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` - HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` - PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` - SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` - AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` - AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` - UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` - UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` - AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` - AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` - AmfInfoList map[string]AmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` - SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` - PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` - BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` - BsfInfoList map[string]BsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` - ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` - NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` - NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` - UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` - UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` - NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` - PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` - HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` - NfServices []NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` - NfServiceList map[string]NfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` - NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` - NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` - GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` - NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` - OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` - NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` - ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` - ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` - ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` -} diff --git a/models/model_nf_profile_notification_data.go b/models/model_nf_profile_notification_data.go deleted file mode 100644 index 9ee4bf1b..00000000 --- a/models/model_nf_profile_notification_data.go +++ /dev/null @@ -1,89 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type NfProfileNotificationData struct { - NfInstanceId string `json:"nfInstanceId" yaml:"nfInstanceId" bson:"nfInstanceId,omitempty"` - NfInstanceName string `json:"nfInstanceName,omitempty" yaml:"nfInstanceName" bson:"nfInstanceName,omitempty"` - NfType NfType `json:"nfType" yaml:"nfType" bson:"nfType,omitempty"` - NfStatus NfStatus `json:"nfStatus" yaml:"nfStatus" bson:"nfStatus,omitempty"` - HeartBeatTimer int32 `json:"heartBeatTimer,omitempty" yaml:"heartBeatTimer" bson:"heartBeatTimer,omitempty"` - PlmnList []PlmnId `json:"plmnList,omitempty" yaml:"plmnList" bson:"plmnList,omitempty"` - SnpnList []PlmnIdNid `json:"snpnList,omitempty" yaml:"snpnList" bson:"snpnList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - NsiList []string `json:"nsiList,omitempty" yaml:"nsiList" bson:"nsiList,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - Ipv4Addresses []string `json:"ipv4Addresses,omitempty" yaml:"ipv4Addresses" bson:"ipv4Addresses,omitempty"` - Ipv6Addresses []string `json:"ipv6Addresses,omitempty" yaml:"ipv6Addresses" bson:"ipv6Addresses,omitempty"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` - AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` - AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - Locality string `json:"locality,omitempty" yaml:"locality" bson:"locality,omitempty"` - UdrInfo *UdrInfo `json:"udrInfo,omitempty" yaml:"udrInfo" bson:"udrInfo,omitempty"` - UdrInfoList map[string]UdrInfo `json:"udrInfoList,omitempty" yaml:"udrInfoList" bson:"udrInfoList,omitempty"` - UdmInfo *UdmInfo `json:"udmInfo,omitempty" yaml:"udmInfo" bson:"udmInfo,omitempty"` - UdmInfoList map[string]UdmInfo `json:"udmInfoList,omitempty" yaml:"udmInfoList" bson:"udmInfoList,omitempty"` - AusfInfo *AusfInfo `json:"ausfInfo,omitempty" yaml:"ausfInfo" bson:"ausfInfo,omitempty"` - AusfInfoList map[string]AusfInfo `json:"ausfInfoList,omitempty" yaml:"ausfInfoList" bson:"ausfInfoList,omitempty"` - AmfInfo *AmfInfo `json:"amfInfo,omitempty" yaml:"amfInfo" bson:"amfInfo,omitempty"` - AmfInfoList map[string]AmfInfo `json:"amfInfoList,omitempty" yaml:"amfInfoList" bson:"amfInfoList,omitempty"` - SmfInfo *SmfInfo `json:"smfInfo,omitempty" yaml:"smfInfo" bson:"smfInfo,omitempty"` - SmfInfoList map[string]SmfInfo `json:"smfInfoList,omitempty" yaml:"smfInfoList" bson:"smfInfoList,omitempty"` - UpfInfo *UpfInfo `json:"upfInfo,omitempty" yaml:"upfInfo" bson:"upfInfo,omitempty"` - UpfInfoList map[string]UpfInfo `json:"upfInfoList,omitempty" yaml:"upfInfoList" bson:"upfInfoList,omitempty"` - PcfInfo *PcfInfo `json:"pcfInfo,omitempty" yaml:"pcfInfo" bson:"pcfInfo,omitempty"` - PcfInfoList map[string]PcfInfo `json:"pcfInfoList,omitempty" yaml:"pcfInfoList" bson:"pcfInfoList,omitempty"` - BsfInfo *BsfInfo `json:"bsfInfo,omitempty" yaml:"bsfInfo" bson:"bsfInfo,omitempty"` - BsfInfoList map[string]BsfInfo `json:"bsfInfoList,omitempty" yaml:"bsfInfoList" bson:"bsfInfoList,omitempty"` - ChfInfo *ChfInfo `json:"chfInfo,omitempty" yaml:"chfInfo" bson:"chfInfo,omitempty"` - ChfInfoList map[string]ChfInfo `json:"chfInfoList,omitempty" yaml:"chfInfoList" bson:"chfInfoList,omitempty"` - NefInfo *NefInfo `json:"nefInfo,omitempty" yaml:"nefInfo" bson:"nefInfo,omitempty"` - NrfInfo *NrfInfo `json:"nrfInfo,omitempty" yaml:"nrfInfo" bson:"nrfInfo,omitempty"` - UdsfInfo *UdsfInfo `json:"udsfInfo,omitempty" yaml:"udsfInfo" bson:"udsfInfo,omitempty"` - UdsfInfoList map[string]UdsfInfo `json:"udsfInfoList,omitempty" yaml:"udsfInfoList" bson:"udsfInfoList,omitempty"` - NwdafInfo *NwdafInfo `json:"nwdafInfo,omitempty" yaml:"nwdafInfo" bson:"nwdafInfo,omitempty"` - PcscfInfoList map[string]PcscfInfo `json:"pcscfInfoList,omitempty" yaml:"pcscfInfoList" bson:"pcscfInfoList,omitempty"` - HssInfoList map[string]HssInfo `json:"hssInfoList,omitempty" yaml:"hssInfoList" bson:"hssInfoList,omitempty"` - CustomInfo map[string]interface{} `json:"customInfo,omitempty" yaml:"customInfo" bson:"customInfo,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - NfServicePersistence bool `json:"nfServicePersistence,omitempty" yaml:"nfServicePersistence" bson:"nfServicePersistence,omitempty"` - NfServices []NfService `json:"nfServices,omitempty" yaml:"nfServices" bson:"nfServices,omitempty"` - NfServiceList map[string]NfService `json:"nfServiceList,omitempty" yaml:"nfServiceList" bson:"nfServiceList,omitempty"` - NfProfileChangesSupportInd bool `json:"nfProfileChangesSupportInd,omitempty" yaml:"nfProfileChangesSupportInd" bson:"nfProfileChangesSupportInd,omitempty"` - NfProfileChangesInd bool `json:"nfProfileChangesInd,omitempty" yaml:"nfProfileChangesInd" bson:"nfProfileChangesInd,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - LmfInfo *LmfInfo `json:"lmfInfo,omitempty" yaml:"lmfInfo" bson:"lmfInfo,omitempty"` - GmlcInfo *GmlcInfo `json:"gmlcInfo,omitempty" yaml:"gmlcInfo" bson:"gmlcInfo,omitempty"` - NfSetIdList []string `json:"nfSetIdList,omitempty" yaml:"nfSetIdList" bson:"nfSetIdList,omitempty"` - ServingScope []string `json:"servingScope,omitempty" yaml:"servingScope" bson:"servingScope,omitempty"` - LcHSupportInd bool `json:"lcHSupportInd,omitempty" yaml:"lcHSupportInd" bson:"lcHSupportInd,omitempty"` - OlcHSupportInd bool `json:"olcHSupportInd,omitempty" yaml:"olcHSupportInd" bson:"olcHSupportInd,omitempty"` - NfSetRecoveryTimeList map[string]time.Time `json:"nfSetRecoveryTimeList,omitempty" yaml:"nfSetRecoveryTimeList" bson:"nfSetRecoveryTimeList,omitempty"` - ServiceSetRecoveryTimeList map[string]time.Time `json:"serviceSetRecoveryTimeList,omitempty" yaml:"serviceSetRecoveryTimeList" bson:"serviceSetRecoveryTimeList,omitempty"` - ScpDomains []string `json:"scpDomains,omitempty" yaml:"scpDomains" bson:"scpDomains,omitempty"` - ScpInfo *ScpInfo `json:"scpInfo,omitempty" yaml:"scpInfo" bson:"scpInfo,omitempty"` -} diff --git a/models/model_nf_service.go b/models/model_nf_service.go deleted file mode 100644 index 5a27c9d3..00000000 --- a/models/model_nf_service.go +++ /dev/null @@ -1,53 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -// Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance -type NfService struct { - ServiceInstanceId string `json:"serviceInstanceId" yaml:"serviceInstanceId" bson:"serviceInstanceId,omitempty"` - ServiceName ServiceName `json:"serviceName" yaml:"serviceName" bson:"serviceName,omitempty"` - Versions []NfServiceVersion `json:"versions" yaml:"versions" bson:"versions,omitempty"` - Scheme UriScheme `json:"scheme" yaml:"scheme" bson:"scheme,omitempty"` - NfServiceStatus NfServiceStatus `json:"nfServiceStatus" yaml:"nfServiceStatus" bson:"nfServiceStatus,omitempty"` - // Fully Qualified Domain Name - Fqdn string `json:"fqdn,omitempty" yaml:"fqdn" bson:"fqdn,omitempty"` - // Fully Qualified Domain Name - InterPlmnFqdn string `json:"interPlmnFqdn,omitempty" yaml:"interPlmnFqdn" bson:"interPlmnFqdn,omitempty"` - IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty" yaml:"ipEndPoints" bson:"ipEndPoints,omitempty"` - ApiPrefix string `json:"apiPrefix,omitempty" yaml:"apiPrefix" bson:"apiPrefix,omitempty"` - DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty" yaml:"defaultNotificationSubscriptions" bson:"defaultNotificationSubscriptions,omitempty"` - AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty" yaml:"allowedPlmns" bson:"allowedPlmns,omitempty"` - AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty" yaml:"allowedSnpns" bson:"allowedSnpns,omitempty"` - AllowedNfTypes []NfType `json:"allowedNfTypes,omitempty" yaml:"allowedNfTypes" bson:"allowedNfTypes,omitempty"` - AllowedNfDomains []string `json:"allowedNfDomains,omitempty" yaml:"allowedNfDomains" bson:"allowedNfDomains,omitempty"` - AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty" yaml:"allowedNssais" bson:"allowedNssais,omitempty"` - AllowedOperationsPerNfType map[string][]string `json:"allowedOperationsPerNfType,omitempty" yaml:"allowedOperationsPerNfType" bson:"allowedOperationsPerNfType,omitempty"` - AllowedOperationsPerNfInstance map[string][]string `json:"allowedOperationsPerNfInstance,omitempty" yaml:"allowedOperationsPerNfInstance" bson:"allowedOperationsPerNfInstance,omitempty"` - Priority int32 `json:"priority,omitempty" yaml:"priority" bson:"priority,omitempty"` - Capacity int32 `json:"capacity,omitempty" yaml:"capacity" bson:"capacity,omitempty"` - Load int32 `json:"load,omitempty" yaml:"load" bson:"load,omitempty"` - LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty" yaml:"loadTimeStamp" bson:"loadTimeStamp,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty" yaml:"nfServiceSetIdList" bson:"nfServiceSetIdList,omitempty"` - SNssais []ExtSnssai `json:"sNssais,omitempty" yaml:"sNssais" bson:"sNssais,omitempty"` - PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty" yaml:"perPlmnSnssaiList" bson:"perPlmnSnssaiList,omitempty"` - // Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA) - VendorId string `json:"vendorId,omitempty" yaml:"vendorId" bson:"vendorId,omitempty"` - SupportedVendorSpecificFeatures map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty" yaml:"supportedVendorSpecificFeatures" bson:"supportedVendorSpecificFeatures,omitempty"` - Oauth2Required bool `json:"oauth2Required,omitempty" yaml:"oauth2Required" bson:"oauth2Required,omitempty"` -} diff --git a/models/model_nf_status.go b/models/model_nf_status.go deleted file mode 100644 index ecff006c..00000000 --- a/models/model_nf_status.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NfStatus string - -// List of NFStatus -const ( - NfStatus_REGISTERED NfStatus = "REGISTERED" - NfStatus_SUSPENDED NfStatus = "SUSPENDED" - NfStatus_UNDISCOVERABLE NfStatus = "UNDISCOVERABLE" -) diff --git a/models/model_nf_type.go b/models/model_nf_type.go deleted file mode 100644 index 3e7febc1..00000000 --- a/models/model_nf_type.go +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NfType string - -// List of NFType -const ( - NfType_NRF NfType = "NRF" - NfType_UDM NfType = "UDM" - NfType_AMF NfType = "AMF" - NfType_SMF NfType = "SMF" - NfType_AUSF NfType = "AUSF" - NfType_NEF NfType = "NEF" - NfType_PCF NfType = "PCF" - NfType_SMSF NfType = "SMSF" - NfType_NSSF NfType = "NSSF" - NfType_UDR NfType = "UDR" - NfType_LMF NfType = "LMF" - NfType_GMLC NfType = "GMLC" - NfType__5_G_EIR NfType = "5G_EIR" - NfType_SEPP NfType = "SEPP" - NfType_UPF NfType = "UPF" - NfType_N3_IWF NfType = "N3IWF" - NfType_AF NfType = "AF" - NfType_UDSF NfType = "UDSF" - NfType_BSF NfType = "BSF" - NfType_CHF NfType = "CHF" - NfType_NWDAF NfType = "NWDAF" - NfType_PCSCF NfType = "PCSCF" - NfType_CBCF NfType = "CBCF" - NfType_HSS NfType = "HSS" - NfType_UCMF NfType = "UCMF" - NfType_SOR_AF NfType = "SOR_AF" - NfType_SPAF NfType = "SPAF" - NfType_MME NfType = "MME" - NfType_SCSAS NfType = "SCSAS" - NfType_SCEF NfType = "SCEF" - NfType_SCP NfType = "SCP" - NfType_NSSAAF NfType = "NSSAAF" - NfType_ICSCF NfType = "ICSCF" - NfType_SCSCF NfType = "SCSCF" - NfType_DRA NfType = "DRA" - NfType_IMS_AS NfType = "IMS_AS" -) diff --git a/models/model_ngap_ie_type.go b/models/model_ngap_ie_type.go deleted file mode 100644 index 5486fbcb..00000000 --- a/models/model_ngap_ie_type.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NgapIeType string - -// List of NgapIeType -const ( - NgapIeType_PDU_RES_SETUP_REQ NgapIeType = "PDU_RES_SETUP_REQ" - NgapIeType_PDU_RES_REL_CMD NgapIeType = "PDU_RES_REL_CMD" - NgapIeType_PDU_RES_MOD_REQ NgapIeType = "PDU_RES_MOD_REQ" - NgapIeType_HANDOVER_CMD NgapIeType = "HANDOVER_CMD" - NgapIeType_HANDOVER_REQUIRED NgapIeType = "HANDOVER_REQUIRED" - NgapIeType_HANDOVER_PREP_FAIL NgapIeType = "HANDOVER_PREP_FAIL" - NgapIeType_SRC_TO_TAR_CONTAINER NgapIeType = "SRC_TO_TAR_CONTAINER" - NgapIeType_TAR_TO_SRC_CONTAINER NgapIeType = "TAR_TO_SRC_CONTAINER" - NgapIeType_TAR_TO_SRC_FAIL_CONTAINER NgapIeType = "TAR_TO_SRC_FAIL_CONTAINER" - NgapIeType_RAN_STATUS_TRANS_CONTAINER NgapIeType = "RAN_STATUS_TRANS_CONTAINER" - NgapIeType_SON_CONFIG_TRANSFER NgapIeType = "SON_CONFIG_TRANSFER" - NgapIeType_NRPPA_PDU NgapIeType = "NRPPA_PDU" - NgapIeType_UE_RADIO_CAPABILITY NgapIeType = "UE_RADIO_CAPABILITY" - NgapIeType_RIM_INFO_TRANSFER NgapIeType = "RIM_INFO_TRANSFER" - NgapIeType_SECONDARY_RAT_USAGE NgapIeType = "SECONDARY_RAT_USAGE" - NgapIeType_PC5_QOS_PARA NgapIeType = "PC5_QOS_PARA" - NgapIeType_EARLY_STATUS_TRANS_CONTAINER NgapIeType = "EARLY_STATUS_TRANS_CONTAINER" -) diff --git a/models/model_nidd_information.go b/models/model_nidd_information.go deleted file mode 100644 index 7959d5d5..00000000 --- a/models/model_nidd_information.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NiddInformation struct { - AfId string `json:"afId" yaml:"afId" bson:"afId,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - ExtGroupId string `json:"extGroupId,omitempty" yaml:"extGroupId" bson:"extGroupId,omitempty"` -} diff --git a/models/model_notification.go b/models/model_notification.go deleted file mode 100644 index c361c381..00000000 --- a/models/model_notification.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_BDTPolicyControl Service API - * - * PCF BDT Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.554 V16.7.0; 5G System; Background Data Transfer Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.554/ - * - * API version: 1.1.3 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a BDT notification. -type Notification struct { - // string identifying a BDT Reference ID as defined in subclause 5.3.3 of 3GPP TS 29.154. - BdtRefId string `json:"bdtRefId" yaml:"bdtRefId" bson:"bdtRefId,omitempty"` - // Contains a list of the candidate transfer policies from which the AF may select a new transfer policy due to a network performance is below the criteria set by the operator. - CandPolicies []TransferPolicy `json:"candPolicies,omitempty" yaml:"candPolicies" bson:"candPolicies,omitempty"` - NwAreaInfo *NetworkAreaInfo `json:"nwAreaInfo,omitempty" yaml:"nwAreaInfo" bson:"nwAreaInfo,omitempty"` - TimeWindow *TimeWindow `json:"timeWindow,omitempty" yaml:"timeWindow" bson:"timeWindow,omitempty"` -} diff --git a/models/model_notification_data.go b/models/model_notification_data.go deleted file mode 100644 index 2c4c04dd..00000000 --- a/models/model_notification_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Data sent in notifications from NRF to subscribed NF Instances -type NotificationData struct { - Event NotificationEventType `json:"event" yaml:"event" bson:"event,omitempty"` - NfInstanceUri string `json:"nfInstanceUri" yaml:"nfInstanceUri" bson:"nfInstanceUri,omitempty"` - NfProfile *NfProfileNotificationData `json:"nfProfile,omitempty" yaml:"nfProfile" bson:"nfProfile,omitempty"` - ProfileChanges []ChangeItem `json:"profileChanges,omitempty" yaml:"profileChanges" bson:"profileChanges,omitempty"` - ConditionEvent ConditionEventType `json:"conditionEvent,omitempty" yaml:"conditionEvent" bson:"conditionEvent,omitempty"` -} diff --git a/models/model_notification_method.go b/models/model_notification_method.go deleted file mode 100644 index 0b5218c1..00000000 --- a/models/model_notification_method.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_EventExposure - * - * Session Management Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.508 V16.8.0; 5G System; Session Management Event Exposure Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.508/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationMethod string - -// List of NotificationMethod -const ( - NotificationMethod_PERIODIC NotificationMethod = "PERIODIC" - NotificationMethod_ONE_TIME NotificationMethod = "ONE_TIME" - NotificationMethod_ON_EVENT_DETECTION NotificationMethod = "ON_EVENT_DETECTION" -) diff --git a/models/model_notification_type.go b/models/model_notification_type.go deleted file mode 100644 index ec8d59af..00000000 --- a/models/model_notification_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NotificationType string - -// List of NotificationType -const ( - NotificationType_N1_MESSAGES NotificationType = "N1_MESSAGES" - NotificationType_N2_INFORMATION NotificationType = "N2_INFORMATION" - NotificationType_LOCATION_NOTIFICATION NotificationType = "LOCATION_NOTIFICATION" - NotificationType_DATA_REMOVAL_NOTIFICATION NotificationType = "DATA_REMOVAL_NOTIFICATION" - NotificationType_DATA_CHANGE_NOTIFICATION NotificationType = "DATA_CHANGE_NOTIFICATION" - NotificationType_LOCATION_UPDATE_NOTIFICATION NotificationType = "LOCATION_UPDATE_NOTIFICATION" - NotificationType_NSSAA_REAUTH_NOTIFICATION NotificationType = "NSSAA_REAUTH_NOTIFICATION" - NotificationType_NSSAA_REVOC_NOTIFICATION NotificationType = "NSSAA_REVOC_NOTIFICATION" -) diff --git a/models/model_null_response_200.go b/models/model_null_response_200.go deleted file mode 100644 index 4507ecc2..00000000 --- a/models/model_null_response_200.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type NullResponse200 struct { - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - ServNfId *ServingNfIdentity `json:"servNfId,omitempty" yaml:"servNfId" bson:"servNfId,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - UserLocationInfo *UserLocation `json:"userLocationInfo,omitempty" yaml:"userLocationInfo" bson:"userLocationInfo,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - NetLocAccSupp NetLocAccessSupport `json:"netLocAccSupp,omitempty" yaml:"netLocAccSupp" bson:"netLocAccSupp,omitempty"` -} diff --git a/models/model_pdu_session_status_cfg.go b/models/model_pdu_session_status_cfg.go deleted file mode 100644 index 67cfd32f..00000000 --- a/models/model_pdu_session_status_cfg.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PduSessionStatusCfg struct { - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` -} diff --git a/models/model_pfd.go b/models/model_pfd.go deleted file mode 100644 index de93ab23..00000000 --- a/models/model_pfd.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type Pfd struct { - // Identifies a PDF of an application identifier. - PfdId string `json:"pfdId" yaml:"pfdId" bson:"pfdId"` - // Represents a 3-tuple with protocol, server ip and server port for UL/DL application traffic. The content of the string has the same encoding as the IPFilterRule AVP value as defined in IETF RFC 6733. - FlowDescriptions []string `json:"flowDescriptions,omitempty" yaml:"flowDescriptions" bson:"flowDescriptions"` - // Indicates a URL or a regular expression which is used to match the significant parts of the URL. - Urls []string `json:"urls,omitempty" yaml:"urls" bson:"urls"` - // Indicates an FQDN or a regular expression as a domain name matching criteria. - DomainNames []string `json:"domainNames,omitempty" yaml:"domainNames" bson:"domainNames"` - DnProtocol DomainNameProtocol `json:"dnProtocol,omitempty" yaml:"dnProtocol" bson:"dnProtocol"` -} diff --git a/models/model_pfd_data.go b/models/model_pfd_data.go deleted file mode 100644 index 2d67ef7e..00000000 --- a/models/model_pfd_data.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * NRF NFManagement Service - * - * NRF NFManagement Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.510 V16.9.0; 5G System; Network Function Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.510/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// List of Application IDs and/or AF IDs managed by a given NEF Instance -type PfdData struct { - AppIds []string `json:"appIds,omitempty" yaml:"appIds" bson:"appIds,omitempty"` - AfIds []string `json:"afIds,omitempty" yaml:"afIds" bson:"afIds,omitempty"` -} diff --git a/models/model_pfd_management.go b/models/model_pfd_management.go deleted file mode 100644 index a8616602..00000000 --- a/models/model_pfd_management.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PfdManagement struct { - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures"` - // Each element uniquely identifies the PFDs for an external application identifier. Each element is identified in the map via an external application identifier as key. The response shall include successfully provisioned PFD data of application(s). - PfdDatas map[string]PfdPfdData `json:"pfdDatas" yaml:"pfdDatas" bson:"pfdDatas"` - // Supplied by the SCEF and contains the external application identifiers for which PFD(s) are not added or modified successfully. The failure reason is also included. Each element provides the related information for one or more external application identifier(s) and is identified in the map via the failure identifier as key. - PfdReports map[string]PfdReport `json:"pfdReports,omitempty" yaml:"pfdReports" bson:"pfdReports"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - NotificationDestination string `json:"notificationDestination,omitempty" yaml:"notificationDestination" bson:"notificationDestination"` - // Set to true by the SCS/AS to request the SCEF to send a test notification as defined in subclause 5.2.5.3. Set to false or omitted otherwise. - RequestTestNotification bool `json:"requestTestNotification,omitempty" yaml:"requestTestNotification" bson:"requestTestNotification"` - WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty" yaml:"websockNotifConfig" bson:"websockNotifConfig"` -} diff --git a/models/model_pfd_pfd_data.go b/models/model_pfd_pfd_data.go deleted file mode 100644 index 109b2c5b..00000000 --- a/models/model_pfd_pfd_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PfdPfdData struct { - // Each element uniquely external application identifier - ExternalAppId string `json:"externalAppId" yaml:"externalAppId" bson:"externalAppId"` - // string formatted according to IETF RFC 3986 identifying a referenced resource. - Self string `json:"self,omitempty" yaml:"self" bson:"self"` - // Contains the PFDs of the external application identifier. Each PFD is identified in the map via a key containing the PFD identifier. - Pfds map[string]Pfd `json:"pfds" yaml:"pfds" bson:"pfds"` - // Unsigned integer identifying a period of time in units of seconds with \"nullable=true\" property. - AllowedDelay int32 `json:"allowedDelay,omitempty" yaml:"allowedDelay" bson:"allowedDelay"` - // Unsigned integer identifying a period of time in units of seconds with \"readOnly=true\" property. - CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime"` -} diff --git a/models/model_pfd_report.go b/models/model_pfd_report.go deleted file mode 100644 index 7d0dcf09..00000000 --- a/models/model_pfd_report.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PfdReport struct { - // Identifies the external application identifier(s) which PFD(s) are not added or modified successfully - ExternalAppIds []string `json:"externalAppIds" yaml:"externalAppIds" bson:"externalAppIds"` - FailureCode FailureCode `json:"failureCode" yaml:"failureCode" bson:"failureCode"` - // Unsigned integer identifying a period of time in units of seconds. - CachingTime int32 `json:"cachingTime,omitempty" yaml:"cachingTime" bson:"cachingTime"` - LocationArea *UserPlaneLocationArea `json:"locationArea,omitempty" yaml:"locationArea" bson:"locationArea"` -} diff --git a/models/model_policy_auth_qos_notification_control_info.go b/models/model_policy_auth_qos_notification_control_info.go deleted file mode 100644 index f4f4f338..00000000 --- a/models/model_policy_auth_qos_notification_control_info.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Indicates whether the QoS targets for a GRB flow are not guaranteed or guaranteed again -type PolicyAuthQosNotificationControlInfo struct { - NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` - Flows []Flows `json:"flows,omitempty" yaml:"flows" bson:"flows,omitempty"` - AltSerReq string `json:"altSerReq,omitempty" yaml:"altSerReq" bson:"altSerReq,omitempty"` -} diff --git a/models/model_post_sm_contexts_error.go b/models/model_post_sm_contexts_error.go deleted file mode 100644 index 4348ef1b..00000000 --- a/models/model_post_sm_contexts_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PostSmContextsError struct { - JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` - BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` -} diff --git a/models/model_pp_data_type.go b/models/model_pp_data_type.go deleted file mode 100644 index 5ae62df1..00000000 --- a/models/model_pp_data_type.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PpDataType string - -// List of PpDataType -const ( - PpDataType_COMMUNICATION_CHARACTERISTICS PpDataType = "COMMUNICATION_CHARACTERISTICS" - PpDataType_EXPECTED_UE_BEHAVIOUR PpDataType = "EXPECTED_UE_BEHAVIOUR" - PpDataType_EC_RESTRICTION PpDataType = "EC_RESTRICTION" - PpDataType_ACS_INFO PpDataType = "ACS_INFO" - PpDataType_TRACE PpDataType = "TRACE" - PpDataType_STN_SR PpDataType = "STN_SR" - PpDataType_LCS_PRIVACY PpDataType = "LCS_PRIVACY" - PpDataType_SOR_INFO PpDataType = "SOR_INFO" -) diff --git a/models/model_problem_details_1.go b/models/model_problem_details_1.go deleted file mode 100644 index 2da3c2a0..00000000 --- a/models/model_problem_details_1.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type ProblemDetails1 struct { - // string providing an URI formatted according to IETF RFC 3986. - Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` - // A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem. - Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` - // The HTTP status code for this occurrence of the problem. - Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` - // A human-readable explanation specific to this occurrence of the problem. - Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` - // string providing an URI formatted according to IETF RFC 3986. - Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` - // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. - Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - // Description of invalid parameters, for a request rejected due to invalid parameters. - InvalidParams []InvalidParam1 `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` -} diff --git a/models/model_qos_flow_add_modify_request_item.go b/models/model_qos_flow_add_modify_request_item.go deleted file mode 100644 index 115bf48d..00000000 --- a/models/model_qos_flow_add_modify_request_item.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosFlowAddModifyRequestItem struct { - Qfi int32 `json:"qfi" yaml:"qfi" bson:"qfi,omitempty"` - Ebi int32 `json:"ebi,omitempty" yaml:"ebi" bson:"ebi,omitempty"` - QosRules string `json:"qosRules,omitempty" yaml:"qosRules" bson:"qosRules,omitempty"` - QosFlowDescription string `json:"qosFlowDescription,omitempty" yaml:"qosFlowDescription" bson:"qosFlowDescription,omitempty"` - QosFlowProfile *QosFlowProfile `json:"qosFlowProfile,omitempty" yaml:"qosFlowProfile" bson:"qosFlowProfile,omitempty"` - AssociatedAnType QosFlowAccessType `json:"associatedAnType,omitempty" yaml:"associatedAnType" bson:"associatedAnType,omitempty"` -} diff --git a/models/model_qos_flow_profile.go b/models/model_qos_flow_profile.go deleted file mode 100644 index 7f628c65..00000000 --- a/models/model_qos_flow_profile.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type QosFlowProfile struct { - Var5qi int32 `json:"5qi" yaml:"5qi" bson:"5qi,omitempty"` - NonDynamic5Qi *NonDynamic5Qi `json:"nonDynamic5Qi,omitempty" yaml:"nonDynamic5Qi" bson:"nonDynamic5Qi,omitempty"` - Dynamic5Qi *Dynamic5Qi `json:"dynamic5Qi,omitempty" yaml:"dynamic5Qi" bson:"dynamic5Qi,omitempty"` - Arp *Arp `json:"arp,omitempty" yaml:"arp" bson:"arp,omitempty"` - GbrQosFlowInfo *GbrQosFlowInformation `json:"gbrQosFlowInfo,omitempty" yaml:"gbrQosFlowInfo" bson:"gbrQosFlowInfo,omitempty"` - Rqa ReflectiveQoSAttribute `json:"rqa,omitempty" yaml:"rqa" bson:"rqa,omitempty"` - AdditionalQosFlowInfo *AdditionalQosFlowInfo `json:"additionalQosFlowInfo,omitempty" yaml:"additionalQosFlowInfo" bson:"additionalQosFlowInfo,omitempty"` - QosMonitoringReq QosMonitoringReq `json:"qosMonitoringReq,omitempty" yaml:"qosMonitoringReq" bson:"qosMonitoringReq,omitempty"` - QosRepPeriod int32 `json:"qosRepPeriod,omitempty" yaml:"qosRepPeriod" bson:"qosRepPeriod,omitempty"` -} diff --git a/models/model_redirect_address_type.go b/models/model_redirect_address_type.go deleted file mode 100644 index 72643450..00000000 --- a/models/model_redirect_address_type.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RedirectAddressType string - -// List of RedirectAddressType -const ( - RedirectAddressType_IPV4_ADDR RedirectAddressType = "IPV4_ADDR" - RedirectAddressType_IPV6_ADDR RedirectAddressType = "IPV6_ADDR" - RedirectAddressType_URL RedirectAddressType = "URL" - RedirectAddressType_SIP_URI RedirectAddressType = "SIP_URI" -) diff --git a/models/model_reporting_options.go b/models/model_reporting_options.go deleted file mode 100644 index 131a02b3..00000000 --- a/models/model_reporting_options.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ReportingOptions struct { - ReportMode EventReportMode `json:"reportMode,omitempty" yaml:"reportMode" bson:"reportMode,omitempty"` - MaxNumOfReports int32 `json:"maxNumOfReports,omitempty" yaml:"maxNumOfReports" bson:"maxNumOfReports,omitempty"` - Expiry *time.Time `json:"expiry,omitempty" yaml:"expiry" bson:"expiry,omitempty"` - SamplingRatio int32 `json:"samplingRatio,omitempty" yaml:"samplingRatio" bson:"samplingRatio,omitempty"` - GuardTime int32 `json:"guardTime,omitempty" yaml:"guardTime" bson:"guardTime,omitempty"` - ReportPeriod int32 `json:"reportPeriod,omitempty" yaml:"reportPeriod" bson:"reportPeriod,omitempty"` -} diff --git a/models/model_roaming_charging_profile.go b/models/model_roaming_charging_profile.go deleted file mode 100644 index f155c75a..00000000 --- a/models/model_roaming_charging_profile.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type RoamingChargingProfile struct { - Triggers []Trigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - PartialRecordMethod PartialRecordMethod `json:"partialRecordMethod,omitempty" yaml:"partialRecordMethod" bson:"partialRecordMethod,omitempty"` -} diff --git a/models/model_shared_data.go b/models/model_shared_data.go deleted file mode 100644 index 648cac40..00000000 --- a/models/model_shared_data.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SharedData struct { - SharedDataId string `json:"sharedDataId" yaml:"sharedDataId" bson:"sharedDataId,omitempty"` - SharedAmData *AccessAndMobilitySubscriptionData `json:"sharedAmData,omitempty" yaml:"sharedAmData" bson:"sharedAmData,omitempty"` - SharedSmsSubsData *SmsSubscriptionData `json:"sharedSmsSubsData,omitempty" yaml:"sharedSmsSubsData" bson:"sharedSmsSubsData,omitempty"` - SharedSmsMngSubsData *SmsManagementSubscriptionData `json:"sharedSmsMngSubsData,omitempty" yaml:"sharedSmsMngSubsData" bson:"sharedSmsMngSubsData,omitempty"` - SharedDnnConfigurations map[string]DnnConfiguration `json:"sharedDnnConfigurations,omitempty" yaml:"sharedDnnConfigurations" bson:"sharedDnnConfigurations,omitempty"` - SharedTraceData *TraceData `json:"sharedTraceData,omitempty" yaml:"sharedTraceData" bson:"sharedTraceData,omitempty"` - SharedSnssaiInfos map[string]SnssaiInfo `json:"sharedSnssaiInfos,omitempty" yaml:"sharedSnssaiInfos" bson:"sharedSnssaiInfos,omitempty"` - SharedVnGroupDatas map[string]VnGroupData `json:"sharedVnGroupDatas,omitempty" yaml:"sharedVnGroupDatas" bson:"sharedVnGroupDatas,omitempty"` -} diff --git a/models/model_sm_context_create_data.go b/models/model_sm_context_create_data.go deleted file mode 100644 index 0980c40e..00000000 --- a/models/model_sm_context_create_data.go +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextCreateData struct { - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` - UnauthenticatedSupi bool `json:"unauthenticatedSupi,omitempty" yaml:"unauthenticatedSupi" bson:"unauthenticatedSupi,omitempty"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SelectedDnn string `json:"selectedDnn,omitempty" yaml:"selectedDnn" bson:"selectedDnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - HplmnSnssai *Snssai `json:"hplmnSnssai,omitempty" yaml:"hplmnSnssai" bson:"hplmnSnssai,omitempty"` - ServingNfId string `json:"servingNfId" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - RequestType RequestType `json:"requestType,omitempty" yaml:"requestType" bson:"requestType,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - AnType AccessType `json:"anType" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - SmContextStatusUri string `json:"smContextStatusUri" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` - HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` - HSmfId string `json:"hSmfId,omitempty" yaml:"hSmfId" bson:"hSmfId,omitempty"` - SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` - SmfId string `json:"smfId,omitempty" yaml:"smfId" bson:"smfId,omitempty"` - AdditionalHsmfUri []string `json:"additionalHsmfUri,omitempty" yaml:"additionalHsmfUri" bson:"additionalHsmfUri,omitempty"` - AdditionalHsmfId []string `json:"additionalHsmfId,omitempty" yaml:"additionalHsmfId" bson:"additionalHsmfId,omitempty"` - AdditionalSmfUri []string `json:"additionalSmfUri,omitempty" yaml:"additionalSmfUri" bson:"additionalSmfUri,omitempty"` - AdditionalSmfId []string `json:"additionalSmfId,omitempty" yaml:"additionalSmfId" bson:"additionalSmfId,omitempty"` - OldPduSessionId int32 `json:"oldPduSessionId,omitempty" yaml:"oldPduSessionId" bson:"oldPduSessionId,omitempty"` - PduSessionsActivateList []int32 `json:"pduSessionsActivateList,omitempty" yaml:"pduSessionsActivateList" bson:"pduSessionsActivateList,omitempty"` - UeEpsPdnConnection string `json:"ueEpsPdnConnection,omitempty" yaml:"ueEpsPdnConnection" bson:"ueEpsPdnConnection,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` - PcfGroupId string `json:"pcfGroupId,omitempty" yaml:"pcfGroupId" bson:"pcfGroupId,omitempty"` - PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` - NrfUri string `json:"nrfUri,omitempty" yaml:"nrfUri" bson:"nrfUri,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - SelMode DnnSelectionMode `json:"selMode,omitempty" yaml:"selMode" bson:"selMode,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - UdmGroupId string `json:"udmGroupId,omitempty" yaml:"udmGroupId" bson:"udmGroupId,omitempty"` - RoutingIndicator string `json:"routingIndicator,omitempty" yaml:"routingIndicator" bson:"routingIndicator,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - IndirectForwardingFlag bool `json:"indirectForwardingFlag,omitempty" yaml:"indirectForwardingFlag" bson:"indirectForwardingFlag,omitempty"` - DirectForwardingFlag bool `json:"directForwardingFlag,omitempty" yaml:"directForwardingFlag" bson:"directForwardingFlag,omitempty"` - TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` - EpsBearerCtxStatus string `json:"epsBearerCtxStatus,omitempty" yaml:"epsBearerCtxStatus" bson:"epsBearerCtxStatus,omitempty"` - CpCiotEnabled bool `json:"cpCiotEnabled,omitempty" yaml:"cpCiotEnabled" bson:"cpCiotEnabled,omitempty"` - CpOnlyInd bool `json:"cpOnlyInd,omitempty" yaml:"cpOnlyInd" bson:"cpOnlyInd,omitempty"` - InvokeNef bool `json:"invokeNef,omitempty" yaml:"invokeNef" bson:"invokeNef,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` - N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` - SmContextRef string `json:"smContextRef,omitempty" yaml:"smContextRef" bson:"smContextRef,omitempty"` - SmContextSmfId string `json:"smContextSmfId,omitempty" yaml:"smContextSmfId" bson:"smContextSmfId,omitempty"` - SmContextSmfSetId string `json:"smContextSmfSetId,omitempty" yaml:"smContextSmfSetId" bson:"smContextSmfSetId,omitempty"` - SmContextSmfServiceSetId string `json:"smContextSmfServiceSetId,omitempty" yaml:"smContextSmfServiceSetId" bson:"smContextSmfServiceSetId,omitempty"` - SmContextSmfBinding SbiBindingLevel `json:"smContextSmfBinding,omitempty" yaml:"smContextSmfBinding" bson:"smContextSmfBinding,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` - DlDataWaitingInd bool `json:"dlDataWaitingInd,omitempty" yaml:"dlDataWaitingInd" bson:"dlDataWaitingInd,omitempty"` - DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` - SmfTransferInd bool `json:"smfTransferInd,omitempty" yaml:"smfTransferInd" bson:"smfTransferInd,omitempty"` - OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` - OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` - WAgfInfo *WAgfInfo `json:"wAgfInfo,omitempty" yaml:"wAgfInfo" bson:"wAgfInfo,omitempty"` - TngfInfo *TngfInfo `json:"tngfInfo,omitempty" yaml:"tngfInfo" bson:"tngfInfo,omitempty"` - TwifInfo *TwifInfo `json:"twifInfo,omitempty" yaml:"twifInfo" bson:"twifInfo,omitempty"` - RanUnchangedInd bool `json:"ranUnchangedInd,omitempty" yaml:"ranUnchangedInd" bson:"ranUnchangedInd,omitempty"` -} diff --git a/models/model_sm_context_created_data.go b/models/model_sm_context_created_data.go deleted file mode 100644 index 7fbe44d0..00000000 --- a/models/model_sm_context_created_data.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SmContextCreatedData struct { - HSmfUri string `json:"hSmfUri,omitempty" yaml:"hSmfUri" bson:"hSmfUri,omitempty"` - SmfUri string `json:"smfUri,omitempty" yaml:"smfUri" bson:"smfUri,omitempty"` - PduSessionId int32 `json:"pduSessionId,omitempty" yaml:"pduSessionId" bson:"pduSessionId,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty" yaml:"allocatedEbiList" bson:"allocatedEbiList,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - SmfServiceInstanceId string `json:"smfServiceInstanceId,omitempty" yaml:"smfServiceInstanceId" bson:"smfServiceInstanceId,omitempty"` - RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - SelectedSmfId string `json:"selectedSmfId,omitempty" yaml:"selectedSmfId" bson:"selectedSmfId,omitempty"` - SelectedOldSmfId string `json:"selectedOldSmfId,omitempty" yaml:"selectedOldSmfId" bson:"selectedOldSmfId,omitempty"` -} diff --git a/models/model_sm_context_release_data.go b/models/model_sm_context_release_data.go deleted file mode 100644 index 7f496541..00000000 --- a/models/model_sm_context_release_data.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextReleaseData struct { - Cause Cause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - VsmfReleaseOnly bool `json:"vsmfReleaseOnly,omitempty" yaml:"vsmfReleaseOnly" bson:"vsmfReleaseOnly,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - IsmfReleaseOnly bool `json:"ismfReleaseOnly,omitempty" yaml:"ismfReleaseOnly" bson:"ismfReleaseOnly,omitempty"` -} diff --git a/models/model_sm_context_status_notification.go b/models/model_sm_context_status_notification.go deleted file mode 100644 index c84bc799..00000000 --- a/models/model_sm_context_status_notification.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextStatusNotification struct { - StatusInfo *StatusInfo `json:"statusInfo" yaml:"statusInfo" bson:"statusInfo,omitempty"` - SmallDataRateStatus *SmallDataRateStatus `json:"smallDataRateStatus,omitempty" yaml:"smallDataRateStatus" bson:"smallDataRateStatus,omitempty"` - ApnRateStatus *ApnRateStatus `json:"apnRateStatus,omitempty" yaml:"apnRateStatus" bson:"apnRateStatus,omitempty"` - DdnFailureStatus bool `json:"ddnFailureStatus,omitempty" yaml:"ddnFailureStatus" bson:"ddnFailureStatus,omitempty"` - NotifyCorrelationIdsForddnFailure []string `json:"notifyCorrelationIdsForddnFailure,omitempty" yaml:"notifyCorrelationIdsForddnFailure" bson:"notifyCorrelationIdsForddnFailure,omitempty"` - NewSmfId string `json:"newSmfId,omitempty" yaml:"newSmfId" bson:"newSmfId,omitempty"` - NewSmfSetId string `json:"newSmfSetId,omitempty" yaml:"newSmfSetId" bson:"newSmfSetId,omitempty"` - OldSmfId string `json:"oldSmfId,omitempty" yaml:"oldSmfId" bson:"oldSmfId,omitempty"` - OldSmContextRef string `json:"oldSmContextRef,omitempty" yaml:"oldSmContextRef" bson:"oldSmContextRef,omitempty"` - AltAnchorSmfUri string `json:"altAnchorSmfUri,omitempty" yaml:"altAnchorSmfUri" bson:"altAnchorSmfUri,omitempty"` - AltAnchorSmfId string `json:"altAnchorSmfId,omitempty" yaml:"altAnchorSmfId" bson:"altAnchorSmfId,omitempty"` -} diff --git a/models/model_sm_context_update_data.go b/models/model_sm_context_update_data.go deleted file mode 100644 index 29414e42..00000000 --- a/models/model_sm_context_update_data.go +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmContextUpdateData struct { - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServingNetwork *PlmnIdNid `json:"servingNetwork,omitempty" yaml:"servingNetwork" bson:"servingNetwork,omitempty"` - BackupAmfInfo []BackupAmfInfo `json:"backupAmfInfo,omitempty" yaml:"backupAmfInfo" bson:"backupAmfInfo,omitempty"` - AnType AccessType `json:"anType,omitempty" yaml:"anType" bson:"anType,omitempty"` - AdditionalAnType AccessType `json:"additionalAnType,omitempty" yaml:"additionalAnType" bson:"additionalAnType,omitempty"` - AnTypeToReactivate AccessType `json:"anTypeToReactivate,omitempty" yaml:"anTypeToReactivate" bson:"anTypeToReactivate,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - PresenceInLadn PresenceState `json:"presenceInLadn,omitempty" yaml:"presenceInLadn" bson:"presenceInLadn,omitempty"` - UeLocation *UserLocation `json:"ueLocation,omitempty" yaml:"ueLocation" bson:"ueLocation,omitempty"` - UeTimeZone string `json:"ueTimeZone,omitempty" yaml:"ueTimeZone" bson:"ueTimeZone,omitempty"` - AddUeLocation *UserLocation `json:"addUeLocation,omitempty" yaml:"addUeLocation" bson:"addUeLocation,omitempty"` - UpCnxState UpCnxState `json:"upCnxState,omitempty" yaml:"upCnxState" bson:"upCnxState,omitempty"` - HoState HoState `json:"hoState,omitempty" yaml:"hoState" bson:"hoState,omitempty"` - ToBeSwitched bool `json:"toBeSwitched,omitempty" yaml:"toBeSwitched" bson:"toBeSwitched,omitempty"` - FailedToBeSwitched bool `json:"failedToBeSwitched,omitempty" yaml:"failedToBeSwitched" bson:"failedToBeSwitched,omitempty"` - N1SmMsg *RefToBinaryData `json:"n1SmMsg,omitempty" yaml:"n1SmMsg" bson:"n1SmMsg,omitempty"` - N2SmInfo *RefToBinaryData `json:"n2SmInfo,omitempty" yaml:"n2SmInfo" bson:"n2SmInfo,omitempty"` - N2SmInfoType N2SmInfoType `json:"n2SmInfoType,omitempty" yaml:"n2SmInfoType" bson:"n2SmInfoType,omitempty"` - TargetId *NgRanTargetId `json:"targetId,omitempty" yaml:"targetId" bson:"targetId,omitempty"` - TargetServingNfId string `json:"targetServingNfId,omitempty" yaml:"targetServingNfId" bson:"targetServingNfId,omitempty"` - SmContextStatusUri string `json:"smContextStatusUri,omitempty" yaml:"smContextStatusUri" bson:"smContextStatusUri,omitempty"` - DataForwarding bool `json:"dataForwarding,omitempty" yaml:"dataForwarding" bson:"dataForwarding,omitempty"` - N9ForwardingTunnel *TunnelInfo `json:"n9ForwardingTunnel,omitempty" yaml:"n9ForwardingTunnel" bson:"n9ForwardingTunnel,omitempty"` - N9DlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9DlForwardingTnlList,omitempty" yaml:"n9DlForwardingTnlList" bson:"n9DlForwardingTnlList,omitempty"` - N9UlForwardingTnlList []IndirectDataForwardingTunnelInfo `json:"n9UlForwardingTnlList,omitempty" yaml:"n9UlForwardingTnlList" bson:"n9UlForwardingTnlList,omitempty"` - EpsBearerSetup []string `json:"epsBearerSetup,omitempty" yaml:"epsBearerSetup" bson:"epsBearerSetup,omitempty"` - RevokeEbiList []int32 `json:"revokeEbiList,omitempty" yaml:"revokeEbiList" bson:"revokeEbiList,omitempty"` - Release bool `json:"release,omitempty" yaml:"release" bson:"release,omitempty"` - Cause Cause `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` - NgApCause *NgApCause `json:"ngApCause,omitempty" yaml:"ngApCause" bson:"ngApCause,omitempty"` - Var5gMmCauseValue int32 `json:"5gMmCauseValue,omitempty" yaml:"5gMmCauseValue" bson:"5gMmCauseValue,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - EpsInterworkingInd EpsInterworkingIndication `json:"epsInterworkingInd,omitempty" yaml:"epsInterworkingInd" bson:"epsInterworkingInd,omitempty"` - AnTypeCanBeChanged bool `json:"anTypeCanBeChanged,omitempty" yaml:"anTypeCanBeChanged" bson:"anTypeCanBeChanged,omitempty"` - N2SmInfoExt1 *RefToBinaryData `json:"n2SmInfoExt1,omitempty" yaml:"n2SmInfoExt1" bson:"n2SmInfoExt1,omitempty"` - N2SmInfoTypeExt1 N2SmInfoType `json:"n2SmInfoTypeExt1,omitempty" yaml:"n2SmInfoTypeExt1" bson:"n2SmInfoTypeExt1,omitempty"` - MaReleaseInd MaReleaseIndication `json:"maReleaseInd,omitempty" yaml:"maReleaseInd" bson:"maReleaseInd,omitempty"` - MaNwUpgradeInd bool `json:"maNwUpgradeInd,omitempty" yaml:"maNwUpgradeInd" bson:"maNwUpgradeInd,omitempty"` - MaRequestInd bool `json:"maRequestInd,omitempty" yaml:"maRequestInd" bson:"maRequestInd,omitempty"` - ExemptionInd *ExemptionInd `json:"exemptionInd,omitempty" yaml:"exemptionInd" bson:"exemptionInd,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - MoExpDataCounter *MoExpDataCounter `json:"moExpDataCounter,omitempty" yaml:"moExpDataCounter" bson:"moExpDataCounter,omitempty"` - ExtendedNasSmTimerInd bool `json:"extendedNasSmTimerInd,omitempty" yaml:"extendedNasSmTimerInd" bson:"extendedNasSmTimerInd,omitempty"` - ForwardingFTeid string `json:"forwardingFTeid,omitempty" yaml:"forwardingFTeid" bson:"forwardingFTeid,omitempty"` - ForwardingBearerContexts []string `json:"forwardingBearerContexts,omitempty" yaml:"forwardingBearerContexts" bson:"forwardingBearerContexts,omitempty"` - DdnFailureSubs *DdnFailureSubs `json:"ddnFailureSubs,omitempty" yaml:"ddnFailureSubs" bson:"ddnFailureSubs,omitempty"` - SkipN2PduSessionResRelInd bool `json:"skipN2PduSessionResRelInd,omitempty" yaml:"skipN2PduSessionResRelInd" bson:"skipN2PduSessionResRelInd,omitempty"` -} diff --git a/models/model_sm_policy_qos_notification_control_info.go b/models/model_sm_policy_qos_notification_control_info.go deleted file mode 100644 index 81bb79bf..00000000 --- a/models/model_sm_policy_qos_notification_control_info.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmPolicyQosNotificationControlInfo struct { - // An array of PCC rule id references to the PCC rules associated with the QoS notification control info. - RefPccRuleIds []string `json:"refPccRuleIds" yaml:"refPccRuleIds" bson:"refPccRuleIds,omitempty"` - NotifType QosNotifType `json:"notifType" yaml:"notifType" bson:"notifType,omitempty"` - // Represents the content version of some content. - ContVer int32 `json:"contVer,omitempty" yaml:"contVer" bson:"contVer,omitempty"` - AltQosParamId string `json:"altQosParamId,omitempty" yaml:"altQosParamId" bson:"altQosParamId,omitempty"` -} diff --git a/models/model_sm_policy_termination_notification.go b/models/model_sm_policy_termination_notification.go deleted file mode 100644 index ab7ec618..00000000 --- a/models/model_sm_policy_termination_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_SMPolicyControl API - * - * Session Management Policy Control Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.512 V16.10.0; 5G System; Session Management Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/ - * - * API version: 1.1.6 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SmPolicyTerminationNotification struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause SmPolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/model_sor_info.go b/models/model_sor_info.go deleted file mode 100644 index 61a24a7a..00000000 --- a/models/model_sor_info.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type SorInfo struct { - SteeringContainer *SteeringContainer `json:"steeringContainer,omitempty" yaml:"steeringContainer" bson:"steeringContainer,omitempty"` - AckInd bool `json:"ackInd" yaml:"ackInd" bson:"ackInd,omitempty"` - SorMacIausf string `json:"sorMacIausf,omitempty" yaml:"sorMacIausf" bson:"sorMacIausf,omitempty"` - Countersor string `json:"countersor,omitempty" yaml:"countersor" bson:"countersor,omitempty"` - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` -} diff --git a/models/model_steering_container.go b/models/model_steering_container.go deleted file mode 100644 index d3a92c55..00000000 --- a/models/model_steering_container.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SteeringContainer struct { -} diff --git a/models/model_steering_info.go b/models/model_steering_info.go deleted file mode 100644 index 2c124498..00000000 --- a/models/model_steering_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SteeringInfo struct { - PlmnId *PlmnId `json:"plmnId" yaml:"plmnId" bson:"plmnId,omitempty"` - AccessTechList []AccessTech `json:"accessTechList,omitempty" yaml:"accessTechList" bson:"accessTechList,omitempty"` -} diff --git a/models/model_subscription_data_sets.go b/models/model_subscription_data_sets.go deleted file mode 100644 index 8da3902c..00000000 --- a/models/model_subscription_data_sets.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type SubscriptionDataSets struct { - AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty" yaml:"amData" bson:"amData,omitempty"` - SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty" yaml:"smfSelData" bson:"smfSelData,omitempty"` - UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty" yaml:"uecAmfData" bson:"uecAmfData,omitempty"` - UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty" yaml:"uecSmfData" bson:"uecSmfData,omitempty"` - UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty" yaml:"uecSmsfData" bson:"uecSmsfData,omitempty"` - SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty" yaml:"smsSubsData" bson:"smsSubsData,omitempty"` - SmData []SessionManagementSubscriptionData `json:"smData,omitempty" yaml:"smData" bson:"smData,omitempty"` - TraceData *TraceData `json:"traceData,omitempty" yaml:"traceData" bson:"traceData,omitempty"` - SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty" yaml:"smsMngData" bson:"smsMngData,omitempty"` - LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty" yaml:"lcsPrivacyData" bson:"lcsPrivacyData,omitempty"` - LcsMoData *LcsMoData `json:"lcsMoData,omitempty" yaml:"lcsMoData" bson:"lcsMoData,omitempty"` - V2xData *V2xSubscriptionData `json:"v2xData,omitempty" yaml:"v2xData" bson:"v2xData,omitempty"` - LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty" yaml:"lcsBroadcastAssistanceTypesData" bson:"lcsBroadcastAssistanceTypesData,omitempty"` -} diff --git a/models/model_termination_cause.go b/models/model_termination_cause.go deleted file mode 100644 index 2b35ad56..00000000 --- a/models/model_termination_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_PolicyAuthorization Service API - * - * PCF Policy Authorization Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.514 V16.10.0; 5G System; Policy Authorization Service;Stage 3. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.514/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TerminationCause string - -// List of TerminationCause -const ( - TerminationCause_ALL_SDF_DEACTIVATION TerminationCause = "ALL_SDF_DEACTIVATION" - TerminationCause_PDU_SESSION_TERMINATION TerminationCause = "PDU_SESSION_TERMINATION" - TerminationCause_PS_TO_CS_HO TerminationCause = "PS_TO_CS_HO" -) diff --git a/models/model_traffic_descriptor.go b/models/model_traffic_descriptor.go deleted file mode 100644 index 93f965e0..00000000 --- a/models/model_traffic_descriptor.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Namf_EventExposure - * - * AMF Event Exposure Service © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.518 V16.9.0; 5G System; Access and Mobility Management Services - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrafficDescriptor struct { - Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` - SNssai *Snssai `json:"sNssai,omitempty" yaml:"sNssai" bson:"sNssai,omitempty"` - DddTrafficDescriptorList []DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty" yaml:"dddTrafficDescriptorList" bson:"dddTrafficDescriptorList,omitempty"` -} diff --git a/models/model_traffic_influ_sub_patch.go b/models/model_traffic_influ_sub_patch.go deleted file mode 100644 index a7604b1d..00000000 --- a/models/model_traffic_influ_sub_patch.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 3gpp-traffic-influence - * - * API for AF traffic influence © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.522 V16.7.0; 5G System; Network Exposure Function Northbound APIs. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.522/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TrafficInfluSubPatch struct { - // Identifies whether an application can be relocated once a location of the application has been selected. - AppReloInd bool `json:"appReloInd,omitempty" yaml:"appReloInd" bson:"appReloInd,omitempty"` - // Identifies IP packet filters. - TrafficFilters []*FlowInfo `json:"trafficFilters,omitempty" yaml:"trafficFilters" bson:"trafficFilters,omitempty"` - // Identifies Ethernet packet filters. - EthTrafficFilters []*EthFlowDescription `json:"ethTrafficFilters,omitempty" yaml:"ethTrafficFilters" bson:"ethTrafficFilters,omitempty"` - // Identifies the N6 traffic routing requirement. - TrafficRoutes []RouteToLocation `json:"trafficRoutes,omitempty" yaml:"trafficRoutes" bson:"trafficRoutes,omitempty"` - TfcCorrInd bool `json:"tfcCorrInd,omitempty" yaml:"tfcCorrInd" bson:"tfcCorrInd,omitempty"` - TempValidities []*TemporalValidity `json:"tempValidities,omitempty" yaml:"tempValidities" bson:"tempValidities,omitempty"` - // Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone. - ValidGeoZoneIds []string `json:"validGeoZoneIds,omitempty" yaml:"validGeoZoneIds" bson:"validGeoZoneIds,omitempty"` - AfAckInd bool `json:"afAckInd,omitempty" yaml:"afAckInd" bson:"afAckInd,omitempty"` - AddrPreserInd bool `json:"addrPreserInd,omitempty" yaml:"addrPreserInd" bson:"addrPreserInd,omitempty"` -} diff --git a/models/model_transfer_policy.go b/models/model_transfer_policy.go deleted file mode 100644 index f845dbfd..00000000 --- a/models/model_transfer_policy.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -// Describes a transfer policy. -type TransferPolicy struct { - MaxBitRateDl string `json:"maxBitRateDl,omitempty" yaml:"maxBitRateDl" bson:"maxBitRateDl,omitempty"` - MaxBitRateUl string `json:"maxBitRateUl,omitempty" yaml:"maxBitRateUl" bson:"maxBitRateUl,omitempty"` - // Indicates a rating group for the recommended time window. - RatingGroup int32 `json:"ratingGroup" yaml:"ratingGroup" bson:"ratingGroup,omitempty"` - RecTimeInt *TimeWindow `json:"recTimeInt" yaml:"recTimeInt" bson:"recTimeInt,omitempty"` - // Contains an identity of a transfer policy. - TransPolicyId int32 `json:"transPolicyId" yaml:"transPolicyId" bson:"transPolicyId,omitempty"` -} diff --git a/models/model_trigger.go b/models/model_trigger.go deleted file mode 100644 index 8f38e24e..00000000 --- a/models/model_trigger.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type Trigger struct { - TriggerType TriggerType `json:"triggerType" yaml:"triggerType" bson:"triggerType,omitempty"` - TriggerCategory TriggerCategory `json:"triggerCategory" yaml:"triggerCategory" bson:"triggerCategory,omitempty"` - TimeLimit int32 `json:"timeLimit,omitempty" yaml:"timeLimit" bson:"timeLimit,omitempty"` - VolumeLimit int32 `json:"volumeLimit,omitempty" yaml:"volumeLimit" bson:"volumeLimit,omitempty"` - VolumeLimit64 int32 `json:"volumeLimit64,omitempty" yaml:"volumeLimit64" bson:"volumeLimit64,omitempty"` - EventLimit int32 `json:"eventLimit,omitempty" yaml:"eventLimit" bson:"eventLimit,omitempty"` - MaxNumberOfccc int32 `json:"maxNumberOfccc,omitempty" yaml:"maxNumberOfccc" bson:"maxNumberOfccc,omitempty"` - TariffTimeChange *time.Time `json:"tariffTimeChange,omitempty" yaml:"tariffTimeChange" bson:"tariffTimeChange,omitempty"` -} diff --git a/models/model_trigger_type.go b/models/model_trigger_type.go deleted file mode 100644 index d97e05e4..00000000 --- a/models/model_trigger_type.go +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type TriggerType string - -// List of TriggerType -const ( - TriggerType_QUOTA_THRESHOLD TriggerType = "QUOTA_THRESHOLD" - TriggerType_QHT TriggerType = "QHT" - TriggerType_FINAL TriggerType = "FINAL" - TriggerType_QUOTA_EXHAUSTED TriggerType = "QUOTA_EXHAUSTED" - TriggerType_VALIDITY_TIME TriggerType = "VALIDITY_TIME" - TriggerType_OTHER_QUOTA_TYPE TriggerType = "OTHER_QUOTA_TYPE" - TriggerType_FORCED_REAUTHORISATION TriggerType = "FORCED_REAUTHORISATION" - TriggerType_UNUSED_QUOTA_TIMER TriggerType = "UNUSED_QUOTA_TIMER" - TriggerType_UNIT_COUNT_INACTIVITY_TIMER TriggerType = "UNIT_COUNT_INACTIVITY_TIMER" - TriggerType_ABNORMAL_RELEASE TriggerType = "ABNORMAL_RELEASE" - TriggerType_QOS_CHANGE TriggerType = "QOS_CHANGE" - TriggerType_VOLUME_LIMIT TriggerType = "VOLUME_LIMIT" - TriggerType_TIME_LIMIT TriggerType = "TIME_LIMIT" - TriggerType_EVENT_LIMIT TriggerType = "EVENT_LIMIT" - TriggerType_PLMN_CHANGE TriggerType = "PLMN_CHANGE" - TriggerType_USER_LOCATION_CHANGE TriggerType = "USER_LOCATION_CHANGE" - TriggerType_RAT_CHANGE TriggerType = "RAT_CHANGE" - TriggerType_SESSION_AMBR_CHANGE TriggerType = "SESSION_AMBR_CHANGE" - TriggerType_UE_TIMEZONE_CHANGE TriggerType = "UE_TIMEZONE_CHANGE" - TriggerType_TARIFF_TIME_CHANGE TriggerType = "TARIFF_TIME_CHANGE" - TriggerType_MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS TriggerType = "MAX_NUMBER_OF_CHANGES_IN_CHARGING_CONDITIONS" - TriggerType_MANAGEMENT_INTERVENTION TriggerType = "MANAGEMENT_INTERVENTION" - TriggerType_CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA TriggerType = "CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA" - TriggerType_CHANGE_OF_3_GPP_PS_DATA_OFF_STATUS TriggerType = "CHANGE_OF_3GPP_PS_DATA_OFF_STATUS" - TriggerType_SERVING_NODE_CHANGE TriggerType = "SERVING_NODE_CHANGE" - TriggerType_REMOVAL_OF_UPF TriggerType = "REMOVAL_OF_UPF" - TriggerType_ADDITION_OF_UPF TriggerType = "ADDITION_OF_UPF" - TriggerType_INSERTION_OF_ISMF TriggerType = "INSERTION_OF_ISMF" - TriggerType_REMOVAL_OF_ISMF TriggerType = "REMOVAL_OF_ISMF" - TriggerType_CHANGE_OF_ISMF TriggerType = "CHANGE_OF_ISMF" - TriggerType_START_OF_SERVICE_DATA_FLOW TriggerType = "START_OF_SERVICE_DATA_FLOW" - TriggerType_ECGI_CHANGE TriggerType = "ECGI_CHANGE" - TriggerType_TAI_CHANGE TriggerType = "TAI_CHANGE" - TriggerType_HANDOVER_CANCEL TriggerType = "HANDOVER_CANCEL" - TriggerType_HANDOVER_START TriggerType = "HANDOVER_START" - TriggerType_HANDOVER_COMPLETE TriggerType = "HANDOVER_COMPLETE" - TriggerType_GFBR_GUARANTEED_STATUS_CHANGE TriggerType = "GFBR_GUARANTEED_STATUS_CHANGE" - TriggerType_ADDITION_OF_ACCESS TriggerType = "ADDITION_OF_ACCESS" - TriggerType_REMOVAL_OF_ACCESS TriggerType = "REMOVAL_OF_ACCESS" - TriggerType_START_OF_SDF_ADDITIONAL_ACCESS TriggerType = "START_OF_SDF_ADDITIONAL_ACCESS" -) diff --git a/models/model_ue_id.go b/models/model_ue_id.go deleted file mode 100644 index 2c4b3da1..00000000 --- a/models/model_ue_id.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UeId struct { - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - GpsiList []string `json:"gpsiList,omitempty" yaml:"gpsiList" bson:"gpsiList,omitempty"` -} diff --git a/models/model_ue_policy_association.go b/models/model_ue_policy_association.go deleted file mode 100644 index f9624eb9..00000000 --- a/models/model_ue_policy_association.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyAssociation struct { - Request *UePolicyAssociationRequest `json:"request,omitempty" yaml:"request" bson:"request,omitempty"` - UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` - N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_ue_policy_association_release_cause.go b/models/model_ue_policy_association_release_cause.go deleted file mode 100644 index a6f991c8..00000000 --- a/models/model_ue_policy_association_release_cause.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyAssociationReleaseCause string - -// List of UePolicyAssociationReleaseCause -const ( - UePolicyAssociationReleaseCause_UNSPECIFIED UePolicyAssociationReleaseCause = "UNSPECIFIED" - UePolicyAssociationReleaseCause_UE_SUBSCRIPTION UePolicyAssociationReleaseCause = "UE_SUBSCRIPTION" - UePolicyAssociationReleaseCause_INSUFFICIENT_RES UePolicyAssociationReleaseCause = "INSUFFICIENT_RES" -) diff --git a/models/model_ue_policy_association_request.go b/models/model_ue_policy_association_request.go deleted file mode 100644 index 2bdf5301..00000000 --- a/models/model_ue_policy_association_request.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyAssociationRequest struct { - NotificationUri string `json:"notificationUri" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - AccessType AccessType `json:"accessType,omitempty" yaml:"accessType" bson:"accessType,omitempty"` - Pei string `json:"pei,omitempty" yaml:"pei" bson:"pei,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - TimeZone string `json:"timeZone,omitempty" yaml:"timeZone" bson:"timeZone,omitempty"` - ServingPlmn *PlmnIdNid `json:"servingPlmn,omitempty" yaml:"servingPlmn" bson:"servingPlmn,omitempty"` - RatType RatType `json:"ratType,omitempty" yaml:"ratType" bson:"ratType,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` - HPcfId string `json:"hPcfId,omitempty" yaml:"hPcfId" bson:"hPcfId,omitempty"` - UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - Pc5Capab Pc5Capability `json:"pc5Capab,omitempty" yaml:"pc5Capab" bson:"pc5Capab,omitempty"` - SuppFeat string `json:"suppFeat" yaml:"suppFeat" bson:"suppFeat,omitempty"` -} diff --git a/models/model_ue_policy_association_update_request.go b/models/model_ue_policy_association_update_request.go deleted file mode 100644 index f2245897..00000000 --- a/models/model_ue_policy_association_update_request.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyAssociationUpdateRequest struct { - NotificationUri string `json:"notificationUri,omitempty" yaml:"notificationUri" bson:"notificationUri,omitempty"` - // Alternate or backup IPv4 Address(es) where to send Notifications. - AltNotifIpv4Addrs []string `json:"altNotifIpv4Addrs,omitempty" yaml:"altNotifIpv4Addrs" bson:"altNotifIpv4Addrs,omitempty"` - // Alternate or backup IPv6 Address(es) where to send Notifications. - AltNotifIpv6Addrs []string `json:"altNotifIpv6Addrs,omitempty" yaml:"altNotifIpv6Addrs" bson:"altNotifIpv6Addrs,omitempty"` - // Alternate or backup FQDN(s) where to send Notifications. - AltNotifFqdns []string `json:"altNotifFqdns,omitempty" yaml:"altNotifFqdns" bson:"altNotifFqdns,omitempty"` - // Request Triggers that the NF service consumer observes. - Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // Map of PRA status information. - PraStatuses map[string]PresenceInfo `json:"praStatuses,omitempty" yaml:"praStatuses" bson:"praStatuses,omitempty"` - UserLoc *UserLocation `json:"userLoc,omitempty" yaml:"userLoc" bson:"userLoc,omitempty"` - UePolDelResult string `json:"uePolDelResult,omitempty" yaml:"uePolDelResult" bson:"uePolDelResult,omitempty"` - UePolTransFailNotif *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty" yaml:"uePolTransFailNotif" bson:"uePolTransFailNotif,omitempty"` - UePolReq string `json:"uePolReq,omitempty" yaml:"uePolReq" bson:"uePolReq,omitempty"` - Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServingNfId string `json:"servingNfId,omitempty" yaml:"servingNfId" bson:"servingNfId,omitempty"` - PlmnId *PlmnId `json:"plmnId,omitempty" yaml:"plmnId" bson:"plmnId,omitempty"` - ConnectState CmState `json:"connectState,omitempty" yaml:"connectState" bson:"connectState,omitempty"` - GroupIds []string `json:"groupIds,omitempty" yaml:"groupIds" bson:"groupIds,omitempty"` -} diff --git a/models/model_ue_policy_request_trigger.go b/models/model_ue_policy_request_trigger.go deleted file mode 100644 index 15a7d795..00000000 --- a/models/model_ue_policy_request_trigger.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyRequestTrigger string - -// List of UePolicyRequestTrigger -const ( - UePolicyRequestTrigger_LOC_CH UePolicyRequestTrigger = "LOC_CH" - UePolicyRequestTrigger_PRA_CH UePolicyRequestTrigger = "PRA_CH" - UePolicyRequestTrigger_UE_POLICY UePolicyRequestTrigger = "UE_POLICY" - UePolicyRequestTrigger_PLMN_CH UePolicyRequestTrigger = "PLMN_CH" - UePolicyRequestTrigger_CON_STATE_CH UePolicyRequestTrigger = "CON_STATE_CH" - UePolicyRequestTrigger_GROUP_ID_LIST_CHG UePolicyRequestTrigger = "GROUP_ID_LIST_CHG" -) diff --git a/models/model_ue_policy_termination_notification.go b/models/model_ue_policy_termination_notification.go deleted file mode 100644 index efdae835..00000000 --- a/models/model_ue_policy_termination_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyTerminationNotification struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - Cause UePolicyAssociationReleaseCause `json:"cause" yaml:"cause" bson:"cause,omitempty"` -} diff --git a/models/model_ue_policy_update.go b/models/model_ue_policy_update.go deleted file mode 100644 index 616d6e74..00000000 --- a/models/model_ue_policy_update.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Npcf_UEPolicyControl - * - * UE Policy Control Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.525 V16.9.0; 5G System; UE Policy Control Service. - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.525/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UePolicyUpdate struct { - ResourceUri string `json:"resourceUri" yaml:"resourceUri" bson:"resourceUri,omitempty"` - UePolicy string `json:"uePolicy,omitempty" yaml:"uePolicy" bson:"uePolicy,omitempty"` - N2Pc5Pol *N2InfoContent `json:"n2Pc5Pol,omitempty" yaml:"n2Pc5Pol" bson:"n2Pc5Pol,omitempty"` - // Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted. - Triggers []UePolicyRequestTrigger `json:"triggers,omitempty" yaml:"triggers" bson:"triggers,omitempty"` - // Map of PRA information. - Pras map[string]PresenceInfo `json:"pras,omitempty" yaml:"pras" bson:"pras,omitempty"` -} diff --git a/models/model_update_sm_context_error.go b/models/model_update_sm_context_error.go deleted file mode 100644 index 1c85b5a0..00000000 --- a/models/model_update_sm_context_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nsmf_PDUSession - * - * SMF PDU Session Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.502 V16.9.0; 5G System; Session Management Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.502/ - * - * API version: 1.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpdateSmContextError struct { - JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData" multipart:"contentType:application/json,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` -} diff --git a/models/model_upu_data_1.go b/models/model_upu_data_1.go deleted file mode 100644 index 8835377b..00000000 --- a/models/model_upu_data_1.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UpuData1 struct { - SecPacket string `json:"secPacket,omitempty" yaml:"secPacket" bson:"secPacket,omitempty"` - DefaultConfNssai []Snssai `json:"defaultConfNssai,omitempty" yaml:"defaultConfNssai" bson:"defaultConfNssai,omitempty"` - RoutingId string `json:"routingId,omitempty" yaml:"routingId" bson:"routingId,omitempty"` -} diff --git a/models/model_upu_info.go b/models/model_upu_info.go deleted file mode 100644 index cc7bec2f..00000000 --- a/models/model_upu_info.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudr_DataRepository API OpenAPI file - * - * Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.504 V16.9.0; 5G System; Unified Data Repository Services; Stage 3 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.504/ - * - * API version: 2.1.5 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type UpuInfo struct { - UpuDataList []UpuData1 `json:"upuDataList" yaml:"upuDataList" bson:"upuDataList,omitempty"` - UpuRegInd bool `json:"upuRegInd" yaml:"upuRegInd" bson:"upuRegInd,omitempty"` - UpuAckInd bool `json:"upuAckInd" yaml:"upuAckInd" bson:"upuAckInd,omitempty"` - UpuMacIausf string `json:"upuMacIausf,omitempty" yaml:"upuMacIausf" bson:"upuMacIausf,omitempty"` - CounterUpu string `json:"counterUpu,omitempty" yaml:"counterUpu" bson:"counterUpu,omitempty"` - ProvisioningTime *time.Time `json:"provisioningTime" yaml:"provisioningTime" bson:"provisioningTime,omitempty"` -} diff --git a/models/model_user_plane_location_area.go b/models/model_user_plane_location_area.go deleted file mode 100644 index 68287ec9..00000000 --- a/models/model_user_plane_location_area.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type UserPlaneLocationArea struct { - LocationArea *AFLocationArea `json:"locationArea,omitempty" yaml:"locationArea" bson:"locationArea"` - LocationArea5G *AFLocationArea5G `json:"locationArea5G,omitempty" yaml:"locationArea5G" bson:"locationArea5G"` - // Identifies a list of DNAI which the user plane functions support. - Dnais []string `json:"dnais,omitempty" yaml:"dnais" bson:"dnais"` -} diff --git a/models/pfd_failure_code.go b/models/pfd_failure_code.go deleted file mode 100644 index df2d9a9e..00000000 --- a/models/pfd_failure_code.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 3gpp-pfd-management - * - * API for PFD management. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.122 V16.9.0 T8 reference point for Northbound APIs - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.122/ - * - * API version: 1.1.1 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type PFDFailureCode string - -// List of FailureCode -const ( - FailureCode_MALFUNCTION FailureCode = "MALFUNCTION" - FailureCode_RESOURCE_LIMITATION FailureCode = "RESOURCE_LIMITATION" - FailureCode_SHORT_DELAY FailureCode = "SHORT_DELAY" - FailureCode_APP_ID_DUPLICATED FailureCode = "APP_ID_DUPLICATED" - FailureCode_PARTIAL_FAILURE FailureCode = "PARTIAL_FAILURE" - FailureCode_OTHER_REASON FailureCode = "OTHER_REASON" -) From c358ff0eeb6b0af9df331815f4ea73eb556ed26d Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Tue, 16 Jul 2024 03:24:54 +0000 Subject: [PATCH 17/67] fix: remove r16 models and fix type error --- models/model_authentication_info_result.go | 20 -------------- models/model_created_ee_subscription.go | 20 -------------- models/model_monitoring_report.go | 26 ------------------- ...el_nrf_access_token_access_token_claims.go | 3 +++ models/model_reachability_for_sms_report.go | 22 ---------------- .../model_sip_authentication_info_result.go | 12 ++++----- oauth/oauth.go | 4 +-- 7 files changed, 10 insertions(+), 97 deletions(-) delete mode 100644 models/model_authentication_info_result.go delete mode 100644 models/model_created_ee_subscription.go delete mode 100644 models/model_monitoring_report.go delete mode 100644 models/model_reachability_for_sms_report.go diff --git a/models/model_authentication_info_result.go b/models/model_authentication_info_result.go deleted file mode 100644 index bbea25bc..00000000 --- a/models/model_authentication_info_result.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_UEAU - * - * UDM UE Authentication Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.6.0 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type AuthenticationInfoResult struct { - AuthType AuthType `json:"authType" yaml:"authType" bson:"authType,omitempty"` - SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` - AuthenticationVector *AuthenticationVector `json:"authenticationVector,omitempty" yaml:"authenticationVector" bson:"authenticationVector,omitempty"` - Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` -} diff --git a/models/model_created_ee_subscription.go b/models/model_created_ee_subscription.go deleted file mode 100644 index b1bbe7ca..00000000 --- a/models/model_created_ee_subscription.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -type CreatedEeSubscription struct { - EeSubscription *EeSubscription `json:"eeSubscription" yaml:"eeSubscription" bson:"eeSubscription,omitempty"` - NumberOfUes int32 `json:"numberOfUes,omitempty" yaml:"numberOfUes" bson:"numberOfUes,omitempty"` - EventReports []MonitoringReport `json:"eventReports,omitempty" yaml:"eventReports" bson:"eventReports,omitempty"` - EpcStatusInd bool `json:"epcStatusInd,omitempty" yaml:"epcStatusInd" bson:"epcStatusInd,omitempty"` -} diff --git a/models/model_monitoring_report.go b/models/model_monitoring_report.go deleted file mode 100644 index 9503ad12..00000000 --- a/models/model_monitoring_report.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type MonitoringReport struct { - ReferenceId int32 `json:"referenceId" yaml:"referenceId" bson:"referenceId,omitempty"` - EventType EventType `json:"eventType" yaml:"eventType" bson:"eventType,omitempty"` - Report *Report `json:"report,omitempty" yaml:"report" bson:"report,omitempty"` - ReachabilityForSmsReport *ReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty" yaml:"reachabilityForSmsReport" bson:"reachabilityForSmsReport,omitempty"` - Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` - TimeStamp *time.Time `json:"timeStamp" yaml:"timeStamp" bson:"timeStamp,omitempty"` -} diff --git a/models/model_nrf_access_token_access_token_claims.go b/models/model_nrf_access_token_access_token_claims.go index 663af312..76c9a3ab 100644 --- a/models/model_nrf_access_token_access_token_claims.go +++ b/models/model_nrf_access_token_access_token_claims.go @@ -12,6 +12,8 @@ package models +import "github.com/golang-jwt/jwt" + // The claims data structure for the access token type NrfAccessTokenAccessTokenClaims struct { // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. @@ -33,4 +35,5 @@ type NrfAccessTokenAccessTokenClaims struct { ProducerNfServiceSetId string `json:"producerNfServiceSetId,omitempty" yaml:"producerNfServiceSetId" bson:"producerNfServiceSetId,omitempty"` // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` + jwt.StandardClaims } diff --git a/models/model_reachability_for_sms_report.go b/models/model_reachability_for_sms_report.go deleted file mode 100644 index 7a5e3443..00000000 --- a/models/model_reachability_for_sms_report.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Nudm_EE - * - * Nudm Event Exposure Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. - * - * Source file: 3GPP TS 29.503 Unified Data Management Services, version 16.9.0 - * Url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.503/ - * - * API version: 1.1.2 - * Generated by: OpenAPI Generator (https://openapi-generator.tech) - */ - -package models - -import ( - "time" -) - -type ReachabilityForSmsReport struct { - SmsfAccessType AccessType `json:"smsfAccessType" yaml:"smsfAccessType" bson:"smsfAccessType,omitempty"` - MaxAvailabilityTime *time.Time `json:"maxAvailabilityTime,omitempty" yaml:"maxAvailabilityTime" bson:"maxAvailabilityTime,omitempty"` -} diff --git a/models/model_sip_authentication_info_result.go b/models/model_sip_authentication_info_result.go index adef34fc..9e9fd201 100644 --- a/models/model_sip_authentication_info_result.go +++ b/models/model_sip_authentication_info_result.go @@ -12,12 +12,10 @@ package models - - type SipAuthenticationInfoResult struct { - Impi string `json:"impi" yaml:"impi" bson:"impi"` - Var3gAkaAvs []*Model3GAkaAv `json:"3gAkaAvs,omitempty" yaml:"3gAkaAvs" bson:"3gAkaAvs"` - DigestAuth *DigestAuthentication `json:"digestAuth,omitempty" yaml:"digestAuth" bson:"digestAuth"` - LineIdentifierList []string `json:"lineIdentifierList,omitempty" yaml:"lineIdentifierList" bson:"lineIdentifierList"` - IpAddress *IpAddress `json:"ipAddress,omitempty" yaml:"ipAddress" bson:"ipAddress"` + Impi string `json:"impi" yaml:"impi" bson:"impi"` + Var3gAkaAvs []*Model3GAkaAv `json:"3gAkaAvs,omitempty" yaml:"3gAkaAvs" bson:"3gAkaAvs"` + DigestAuth *DigestAuthentication `json:"digestAuth,omitempty" yaml:"digestAuth" bson:"digestAuth"` + LineIdentifierList []string `json:"lineIdentifierList,omitempty" yaml:"lineIdentifierList" bson:"lineIdentifierList"` + IpAddress *IpAddr `json:"ipAddress,omitempty" yaml:"ipAddress" bson:"ipAddress"` } diff --git a/oauth/oauth.go b/oauth/oauth.go index 66f7309d..2dabc534 100644 --- a/oauth/oauth.go +++ b/oauth/oauth.go @@ -70,7 +70,7 @@ func VerifyOAuth( access_token := auth_fields[1] token, err := jwt.ParseWithClaims( access_token, - &models.AccessTokenClaims{}, + &models.NrfAccessTokenAccessTokenClaims{}, func(token *jwt.Token) (interface{}, error) { if _, ok := token.Method.(*jwt.SigningMethodRSA); !ok { return nil, errors.Wrapf(err, "Unexpected signing method") @@ -84,7 +84,7 @@ func VerifyOAuth( return errors.Wrapf(err, "verify OAuth parse") } - if !verifyScope(token.Claims.(*models.AccessTokenClaims).Scope, serviceName) { + if !verifyScope(token.Claims.(*models.NrfAccessTokenAccessTokenClaims).Scope, serviceName) { return errors.Wrapf(err, "verify OAuth scope") } return nil From f8c907cee3a417e773a4be7e1367bc203df23681 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 1 Aug 2024 03:29:59 +0000 Subject: [PATCH 18/67] fix: jwt version update --- models/model_nrf_access_token_access_token_claims.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_nrf_access_token_access_token_claims.go b/models/model_nrf_access_token_access_token_claims.go index 76c9a3ab..11069481 100644 --- a/models/model_nrf_access_token_access_token_claims.go +++ b/models/model_nrf_access_token_access_token_claims.go @@ -12,7 +12,7 @@ package models -import "github.com/golang-jwt/jwt" +import "github.com/golang-jwt/jwt/v5" // The claims data structure for the access token type NrfAccessTokenAccessTokenClaims struct { @@ -35,5 +35,5 @@ type NrfAccessTokenAccessTokenClaims struct { ProducerNfServiceSetId string `json:"producerNfServiceSetId,omitempty" yaml:"producerNfServiceSetId" bson:"producerNfServiceSetId,omitempty"` // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. SourceNfInstanceId string `json:"sourceNfInstanceId,omitempty" yaml:"sourceNfInstanceId" bson:"sourceNfInstanceId,omitempty"` - jwt.StandardClaims + jwt.RegisteredClaims } From 248f34d5b6b2c3e1e5564c7b66705262d483eaaa Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 7 Aug 2024 08:34:04 +0000 Subject: [PATCH 19/67] fix: remove redundant underscores --- models/model_rule_operation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_rule_operation.go b/models/model_rule_operation.go index 7db32391..cac68832 100644 --- a/models/model_rule_operation.go +++ b/models/model_rule_operation.go @@ -19,7 +19,7 @@ const ( RuleOperation_CREATE_PCC_RULE RuleOperation = "CREATE_PCC_RULE" RuleOperation_DELETE_PCC_RULE RuleOperation = "DELETE_PCC_RULE" RuleOperation_MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_ADD_PACKET_FILTERS" - RuleOperation_MODIFY__PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_REPLACE_PACKET_FILTERS" - RuleOperation_MODIFY__PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_ PCC_RULE_AND_DELETE_PACKET_FILTERS" + RuleOperation_MODIFY_PCC_RULE_AND_REPLACE_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_REPLACE_PACKET_FILTERS" + RuleOperation_MODIFY_PCC_RULE_AND_DELETE_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_AND_DELETE_PACKET_FILTERS" RuleOperation_MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS RuleOperation = "MODIFY_PCC_RULE_WITHOUT_MODIFY_PACKET_FILTERS" ) From 3c6f29c60769d3c9e98baa6b23da6de578b06d64 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Tue, 13 Aug 2024 07:20:08 +0000 Subject: [PATCH 20/67] fix: missing modify subscription request --- models/model_modify_subscription_request.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/model_modify_subscription_request.go b/models/model_modify_subscription_request.go index 9fb8bc83..8d64dad7 100644 --- a/models/model_modify_subscription_request.go +++ b/models/model_modify_subscription_request.go @@ -13,4 +13,6 @@ package models type ModifySubscriptionRequest struct { + SubscriptionItem []AmfUpdateEventSubscriptionItem + OptionItem []AmfUpdateEventOptionItem } From 3667072e68f9f0c8fd8d961ea9ca22ad728503b1 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Wed, 14 Aug 2024 09:53:14 +0000 Subject: [PATCH 21/67] fix: add mutipart tags in PostSmContextsError --- models/model_post_sm_contexts_response_400.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_post_sm_contexts_response_400.go b/models/model_post_sm_contexts_response_400.go index 8cc87d09..4957bbe1 100644 --- a/models/model_post_sm_contexts_response_400.go +++ b/models/model_post_sm_contexts_response_400.go @@ -12,8 +12,8 @@ package models -type PostSmContextsResponse400 struct { - JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty"` +type PostSmContextsError struct { + JsonData *SmContextCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmMessage []byte `json:"binaryDataN2SmMessage,omitempty" yaml:"binaryDataN2SmMessage" bson:"binaryDataN2SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` } From 9f8e95a5b6b3b4ba0091395bc37877b05ece97a2 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Wed, 14 Aug 2024 09:56:50 +0000 Subject: [PATCH 22/67] chore: update PostSmContextsError --- smf/PDUSession/api_sm_contexts_collection.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/smf/PDUSession/api_sm_contexts_collection.go b/smf/PDUSession/api_sm_contexts_collection.go index fc1d9a09..ff3e9aa0 100644 --- a/smf/PDUSession/api_sm_contexts_collection.go +++ b/smf/PDUSession/api_sm_contexts_collection.go @@ -54,7 +54,7 @@ type PostSmContextsResponse struct { type PostSmContextsError struct { Location string Var3gppSbiTargetNfId string - PostSmContextsResponse400 models.PostSmContextsResponse400 + PostSmContextsError models.PostSmContextsError ProblemDetails models.ProblemDetails RedirectResponse models.RedirectResponse SmfPduSessionExtProblemDetails models.SmfPduSessionExtProblemDetails @@ -147,7 +147,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 400: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } @@ -155,7 +155,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 403: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } @@ -163,7 +163,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 404: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } @@ -203,7 +203,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 500: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } @@ -211,7 +211,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 503: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } @@ -219,7 +219,7 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req return nil, apiError case 504: var v PostSmContextsError - err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } From 3320f3d0079df4024edd09d4bcc871a631ca3a5b Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 15 Aug 2024 02:58:12 +0000 Subject: [PATCH 23/67] feat: add BSF openapi --- .../api_individual_pcf_binding_document.go | 196 ++++++++ ...pcf_for_an_mbs_session_binding_document.go | 401 ++++++++++++++++ ...l_pcf_for_apdu_session_binding_document.go | 233 ++++++++++ ...individual_pcf_for_aue_binding_document.go | 399 ++++++++++++++++ .../api_individual_subscription_document.go | 401 ++++++++++++++++ bsf/Management/api_pcf_bindings_collection.go | 434 ++++++++++++++++++ ..._for_an_mbs_session_bindings_collection.go | 378 +++++++++++++++ .../api_pcf_for_aue_bindings_collection.go | 383 ++++++++++++++++ .../api_subscriptions_collection.go | 390 ++++++++++++++++ bsf/Management/client.go | 56 +++ bsf/Management/configuration.go | 82 ++++ models/model_binding_level.go | 21 + models/model_bsf_event.go | 25 + models/model_bsf_event_notification.go | 23 + ...odel_bsf_management_ext_problem_details.go | 38 ++ ..._bsf_management_mbs_ext_problem_details.go | 38 ++ models/model_bsf_notification.go | 26 ++ models/model_bsf_subscription.go | 32 ++ models/model_bsf_subscription_resp.go | 39 ++ models/model_parameter_combination.go | 22 + models/model_pcf_binding.go | 62 +++ models/model_pcf_binding_patch.go | 37 ++ models/model_pcf_for_pdu_session_info.go | 36 ++ models/model_pcf_for_ue_binding.go | 32 ++ models/model_pcf_for_ue_binding_patch.go | 23 + models/model_pcf_for_ue_info.go | 26 ++ models/model_pcf_mbs_binding.go | 34 ++ models/model_pcf_mbs_binding_patch.go | 22 + models/model_snssai_dnn_pair.go | 20 + 29 files changed, 3909 insertions(+) create mode 100644 bsf/Management/api_individual_pcf_binding_document.go create mode 100644 bsf/Management/api_individual_pcf_for_an_mbs_session_binding_document.go create mode 100644 bsf/Management/api_individual_pcf_for_apdu_session_binding_document.go create mode 100644 bsf/Management/api_individual_pcf_for_aue_binding_document.go create mode 100644 bsf/Management/api_individual_subscription_document.go create mode 100644 bsf/Management/api_pcf_bindings_collection.go create mode 100644 bsf/Management/api_pcf_for_an_mbs_session_bindings_collection.go create mode 100644 bsf/Management/api_pcf_for_aue_bindings_collection.go create mode 100644 bsf/Management/api_subscriptions_collection.go create mode 100644 bsf/Management/client.go create mode 100644 bsf/Management/configuration.go create mode 100644 models/model_binding_level.go create mode 100644 models/model_bsf_event.go create mode 100644 models/model_bsf_event_notification.go create mode 100644 models/model_bsf_management_ext_problem_details.go create mode 100644 models/model_bsf_management_mbs_ext_problem_details.go create mode 100644 models/model_bsf_notification.go create mode 100644 models/model_bsf_subscription.go create mode 100644 models/model_bsf_subscription_resp.go create mode 100644 models/model_parameter_combination.go create mode 100644 models/model_pcf_binding.go create mode 100644 models/model_pcf_binding_patch.go create mode 100644 models/model_pcf_for_pdu_session_info.go create mode 100644 models/model_pcf_for_ue_binding.go create mode 100644 models/model_pcf_for_ue_binding_patch.go create mode 100644 models/model_pcf_for_ue_info.go create mode 100644 models/model_pcf_mbs_binding.go create mode 100644 models/model_pcf_mbs_binding_patch.go create mode 100644 models/model_snssai_dnn_pair.go diff --git a/bsf/Management/api_individual_pcf_binding_document.go b/bsf/Management/api_individual_pcf_binding_document.go new file mode 100644 index 00000000..56e219fc --- /dev/null +++ b/bsf/Management/api_individual_pcf_binding_document.go @@ -0,0 +1,196 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPCFBindingDocumentApiService service + +/* +IndividualPCFBindingDocumentApiService Delete an existing Individual PCF for a PDU Session Binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the individual PCF for a PDU Session Binding. + +@return DeleteIndPCFBindingResponse +*/ + +// DeleteIndPCFBindingRequest +type DeleteIndPCFBindingRequest struct { + BindingId *string +} + +func (r *DeleteIndPCFBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} + +type DeleteIndPCFBindingResponse struct { +} + +type DeleteIndPCFBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFBindingDocumentApiService) DeleteIndPCFBinding(ctx context.Context, request *DeleteIndPCFBindingRequest) (*DeleteIndPCFBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndPCFBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcfBindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_individual_pcf_for_an_mbs_session_binding_document.go b/bsf/Management/api_individual_pcf_for_an_mbs_session_binding_document.go new file mode 100644 index 00000000..0accae1a --- /dev/null +++ b/bsf/Management/api_individual_pcf_for_an_mbs_session_binding_document.go @@ -0,0 +1,401 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPCFForAnMBSSessionBindingDocumentApiService service + +/* +IndividualPCFForAnMBSSessionBindingDocumentApiService Request the deletion of an existing Individual PCF for an MBS Session Binding. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the identifier of the Individual PCF for an MBS Session Binding resource. + +@return DeleteIndPCFMbsBindingResponse +*/ + +// DeleteIndPCFMbsBindingRequest +type DeleteIndPCFMbsBindingRequest struct { + BindingId *string +} + +func (r *DeleteIndPCFMbsBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} + +type DeleteIndPCFMbsBindingResponse struct { +} + +type DeleteIndPCFMbsBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFForAnMBSSessionBindingDocumentApiService) DeleteIndPCFMbsBinding(ctx context.Context, request *DeleteIndPCFMbsBindingRequest) (*DeleteIndPCFMbsBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndPCFMbsBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-mbs-bindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPCFForAnMBSSessionBindingDocumentApiService Request the modification of an existing Individual PCF for an MBS Session Binding resource. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the identifier of the Individual PCF for an MBS Session Binding resource. + * @param PcfMbsBindingPatch - Parameters to request the modification of the PCF for an MBS Session Binding. + +@return ModifyIndPCFMbsBindingResponse +*/ + +// ModifyIndPCFMbsBindingRequest +type ModifyIndPCFMbsBindingRequest struct { + BindingId *string + PcfMbsBindingPatch *models.PcfMbsBindingPatch +} + +func (r *ModifyIndPCFMbsBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} +func (r *ModifyIndPCFMbsBindingRequest) SetPcfMbsBindingPatch(PcfMbsBindingPatch models.PcfMbsBindingPatch) { + r.PcfMbsBindingPatch = &PcfMbsBindingPatch +} + +type ModifyIndPCFMbsBindingResponse struct { + PcfMbsBinding models.PcfMbsBinding +} + +type ModifyIndPCFMbsBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFForAnMBSSessionBindingDocumentApiService) ModifyIndPCFMbsBinding(ctx context.Context, request *ModifyIndPCFMbsBindingRequest) (*ModifyIndPCFMbsBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ModifyIndPCFMbsBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-mbs-bindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfMbsBindingPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfMbsBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ModifyIndPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_individual_pcf_for_apdu_session_binding_document.go b/bsf/Management/api_individual_pcf_for_apdu_session_binding_document.go new file mode 100644 index 00000000..98e67425 --- /dev/null +++ b/bsf/Management/api_individual_pcf_for_apdu_session_binding_document.go @@ -0,0 +1,233 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPCFForAPDUSessionBindingDocumentApiService service + +/* +IndividualPCFForAPDUSessionBindingDocumentApiService Update an existing Individual PCF for a PDU Session Binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the individual PCF for a PDU Session Binding. + * @param PcfBindingPatch - Parameters to update the existing PCF for a PDU Session binding. + +@return UpdateIndPCFBindingResponse +*/ + +// UpdateIndPCFBindingRequest +type UpdateIndPCFBindingRequest struct { + BindingId *string + PcfBindingPatch *models.PcfBindingPatch +} + +func (r *UpdateIndPCFBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} +func (r *UpdateIndPCFBindingRequest) SetPcfBindingPatch(PcfBindingPatch models.PcfBindingPatch) { + r.PcfBindingPatch = &PcfBindingPatch +} + +type UpdateIndPCFBindingResponse struct { + PcfBinding models.PcfBinding +} + +type UpdateIndPCFBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFForAPDUSessionBindingDocumentApiService) UpdateIndPCFBinding(ctx context.Context, request *UpdateIndPCFBindingRequest) (*UpdateIndPCFBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndPCFBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcfBindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfBindingPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndPCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_individual_pcf_for_aue_binding_document.go b/bsf/Management/api_individual_pcf_for_aue_binding_document.go new file mode 100644 index 00000000..1c417531 --- /dev/null +++ b/bsf/Management/api_individual_pcf_for_aue_binding_document.go @@ -0,0 +1,399 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualPCFForAUEBindingDocumentApiService service + +/* +IndividualPCFForAUEBindingDocumentApiService Delete an existing Individual PCF for a UE Binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the individual PCF for a UE Binding. + +@return DeleteIndPCFforUEBindingResponse +*/ + +// DeleteIndPCFforUEBindingRequest +type DeleteIndPCFforUEBindingRequest struct { + BindingId *string +} + +func (r *DeleteIndPCFforUEBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} + +type DeleteIndPCFforUEBindingResponse struct { +} + +type DeleteIndPCFforUEBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFForAUEBindingDocumentApiService) DeleteIndPCFforUEBinding(ctx context.Context, request *DeleteIndPCFforUEBindingRequest) (*DeleteIndPCFforUEBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndPCFforUEBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-ue-bindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualPCFForAUEBindingDocumentApiService Update an existing Individual PCF for a UE Binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BindingId - Represents the individual PCF for a UE Binding. + * @param PcfForUeBindingPatch - Parameters to update the existing PCF for a UE binding. + +@return UpdateIndPCFforUEBindingResponse +*/ + +// UpdateIndPCFforUEBindingRequest +type UpdateIndPCFforUEBindingRequest struct { + BindingId *string + PcfForUeBindingPatch *models.PcfForUeBindingPatch +} + +func (r *UpdateIndPCFforUEBindingRequest) SetBindingId(BindingId string) { + r.BindingId = &BindingId +} +func (r *UpdateIndPCFforUEBindingRequest) SetPcfForUeBindingPatch(PcfForUeBindingPatch models.PcfForUeBindingPatch) { + r.PcfForUeBindingPatch = &PcfForUeBindingPatch +} + +type UpdateIndPCFforUEBindingResponse struct { + PcfForUeBinding models.PcfForUeBinding +} + +type UpdateIndPCFforUEBindingError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualPCFForAUEBindingDocumentApiService) UpdateIndPCFforUEBinding(ctx context.Context, request *UpdateIndPCFforUEBindingRequest) (*UpdateIndPCFforUEBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Patch") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UpdateIndPCFforUEBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-ue-bindings/{bindingId}" + localVarPath = strings.Replace(localVarPath, "{"+"bindingId"+"}", openapi.StringOfValue(*request.BindingId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/merge-patch+json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfForUeBindingPatch + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfForUeBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 307: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v UpdateIndPCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_individual_subscription_document.go b/bsf/Management/api_individual_subscription_document.go new file mode 100644 index 00000000..fe3237f8 --- /dev/null +++ b/bsf/Management/api_individual_subscription_document.go @@ -0,0 +1,401 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type IndividualSubscriptionDocumentApiService service + +/* +IndividualSubscriptionDocumentApiService Delete an individual subscription for event notifications from the BSF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Subscription correlation ID + +@return DeleteIndividualSubcriptionResponse +*/ + +// DeleteIndividualSubcriptionRequest +type DeleteIndividualSubcriptionRequest struct { + SubId *string +} + +func (r *DeleteIndividualSubcriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} + +type DeleteIndividualSubcriptionResponse struct { +} + +type DeleteIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) DeleteIndividualSubcription(ctx context.Context, request *DeleteIndividualSubcriptionRequest) (*DeleteIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue DeleteIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v DeleteIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +IndividualSubscriptionDocumentApiService Replace an individual subscription for event notifications from the BSF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param SubId - Subscription correlation ID + * @param BsfSubscription - + +@return ReplaceIndividualSubcriptionResponse +*/ + +// ReplaceIndividualSubcriptionRequest +type ReplaceIndividualSubcriptionRequest struct { + SubId *string + BsfSubscription *models.BsfSubscription +} + +func (r *ReplaceIndividualSubcriptionRequest) SetSubId(SubId string) { + r.SubId = &SubId +} +func (r *ReplaceIndividualSubcriptionRequest) SetBsfSubscription(BsfSubscription models.BsfSubscription) { + r.BsfSubscription = &BsfSubscription +} + +type ReplaceIndividualSubcriptionResponse struct { + BsfSubscriptionResp models.BsfSubscriptionResp +} + +type ReplaceIndividualSubcriptionError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *IndividualSubscriptionDocumentApiService) ReplaceIndividualSubcription(ctx context.Context, request *ReplaceIndividualSubcriptionRequest) (*ReplaceIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ReplaceIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions/{subId}" + localVarPath = strings.Replace(localVarPath, "{"+"subId"+"}", openapi.StringOfValue(*request.SubId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BsfSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.BsfSubscriptionResp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 307: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v ReplaceIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_pcf_bindings_collection.go b/bsf/Management/api_pcf_bindings_collection.go new file mode 100644 index 00000000..374822cd --- /dev/null +++ b/bsf/Management/api_pcf_bindings_collection.go @@ -0,0 +1,434 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PCFBindingsCollectionApiService service + +/* +PCFBindingsCollectionApiService Create a new Individual PCF for a PDU Session binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcfBinding - + +@return CreatePCFBindingResponse +*/ + +// CreatePCFBindingRequest +type CreatePCFBindingRequest struct { + PcfBinding *models.PcfBinding +} + +func (r *CreatePCFBindingRequest) SetPcfBinding(PcfBinding models.PcfBinding) { + r.PcfBinding = &PcfBinding +} + +type CreatePCFBindingResponse struct { + Location string + PcfBinding models.PcfBinding +} + +type CreatePCFBindingError struct { + BsfManagementExtProblemDetails models.BsfManagementExtProblemDetails + ProblemDetails models.ProblemDetails +} + +func (a *PCFBindingsCollectionApiService) CreatePCFBinding(ctx context.Context, request *CreatePCFBindingRequest) (*CreatePCFBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreatePCFBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcfBindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfBinding + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcfBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.BsfManagementExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreatePCFBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +PCFBindingsCollectionApiService Read PCF for a PDU Session Bindings information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Ipv4Addr - The IPv4 Address of the served UE. + * @param Ipv6Prefix - The IPv6 Address of the served UE. The NF service consumer shall append '/128' to the IPv6 address in the attribute value. E.g. '2001:db8:85a3::8a2e:370:7334/128'. + * @param MacAddr48 - The MAC Address of the served UE. + * @param Dnn - DNN. + * @param Supi - Subscription Permanent Identifier. + * @param Gpsi - Generic Public Subscription Identifier + * @param Snssai - The identification of slice. + * @param IpDomain - The IPv4 address domain identifier. + * @param SuppFeat - To filter irrelevant responses related to unsupported features. + +@return GetPCFBindingsResponse +*/ + +// GetPCFBindingsRequest +type GetPCFBindingsRequest struct { + Ipv4Addr *string + Ipv6Prefix *string + MacAddr48 *string + Dnn *string + Supi *string + Gpsi *string + Snssai *models.Snssai + IpDomain *string + SuppFeat *string +} + +func (r *GetPCFBindingsRequest) SetIpv4Addr(Ipv4Addr string) { + r.Ipv4Addr = &Ipv4Addr +} +func (r *GetPCFBindingsRequest) SetIpv6Prefix(Ipv6Prefix string) { + r.Ipv6Prefix = &Ipv6Prefix +} +func (r *GetPCFBindingsRequest) SetMacAddr48(MacAddr48 string) { + r.MacAddr48 = &MacAddr48 +} +func (r *GetPCFBindingsRequest) SetDnn(Dnn string) { + r.Dnn = &Dnn +} +func (r *GetPCFBindingsRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetPCFBindingsRequest) SetGpsi(Gpsi string) { + r.Gpsi = &Gpsi +} +func (r *GetPCFBindingsRequest) SetSnssai(Snssai models.Snssai) { + r.Snssai = &Snssai +} +func (r *GetPCFBindingsRequest) SetIpDomain(IpDomain string) { + r.IpDomain = &IpDomain +} +func (r *GetPCFBindingsRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type GetPCFBindingsResponse struct { + PcfBinding models.PcfBinding +} + +type GetPCFBindingsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PCFBindingsCollectionApiService) GetPCFBindings(ctx context.Context, request *GetPCFBindingsRequest) (*GetPCFBindingsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetPCFBindingsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcfBindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Ipv4Addr != nil { + localVarQueryParams.Add("ipv4Addr", openapi.ParameterToString(request.Ipv4Addr, "multi")) + } + if request.Ipv6Prefix != nil { + localVarQueryParams.Add("ipv6Prefix", openapi.ParameterToString(request.Ipv6Prefix, "multi")) + } + if request.MacAddr48 != nil { + localVarQueryParams.Add("macAddr48", openapi.ParameterToString(request.MacAddr48, "multi")) + } + if request.Dnn != nil { + localVarQueryParams.Add("dnn", openapi.ParameterToString(request.Dnn, "multi")) + } + if request.Supi != nil { + localVarQueryParams.Add("supi", openapi.ParameterToString(request.Supi, "multi")) + } + if request.Gpsi != nil { + localVarQueryParams.Add("gpsi", openapi.ParameterToString(request.Gpsi, "multi")) + } + if request.Snssai != nil { + localVarQueryParams.Add("snssai", openapi.ParameterToString(request.Snssai, "application/json")) + } + if request.IpDomain != nil { + localVarQueryParams.Add("ipDomain", openapi.ParameterToString(request.IpDomain, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 204: + return &localVarReturnValue, nil + case 400: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetPCFBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_pcf_for_an_mbs_session_bindings_collection.go b/bsf/Management/api_pcf_for_an_mbs_session_bindings_collection.go new file mode 100644 index 00000000..60a415c4 --- /dev/null +++ b/bsf/Management/api_pcf_for_an_mbs_session_bindings_collection.go @@ -0,0 +1,378 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PCFForAnMBSSessionBindingsCollectionApiService service + +/* +PCFForAnMBSSessionBindingsCollectionApiService Create a new Individual PCF for an MBS Session binding. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcfMbsBinding - + +@return CreatePCFMbsBindingResponse +*/ + +// CreatePCFMbsBindingRequest +type CreatePCFMbsBindingRequest struct { + PcfMbsBinding *models.PcfMbsBinding +} + +func (r *CreatePCFMbsBindingRequest) SetPcfMbsBinding(PcfMbsBinding models.PcfMbsBinding) { + r.PcfMbsBinding = &PcfMbsBinding +} + +type CreatePCFMbsBindingResponse struct { + Location string + PcfMbsBinding models.PcfMbsBinding +} + +type CreatePCFMbsBindingError struct { + BsfManagementMbsExtProblemDetails models.BsfManagementMbsExtProblemDetails + ProblemDetails models.ProblemDetails +} + +func (a *PCFForAnMBSSessionBindingsCollectionApiService) CreatePCFMbsBinding(ctx context.Context, request *CreatePCFMbsBindingRequest) (*CreatePCFMbsBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreatePCFMbsBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-mbs-bindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfMbsBinding + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcfMbsBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.BsfManagementMbsExtProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreatePCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +PCFForAnMBSSessionBindingsCollectionApiService Retrieve an existing PCF for an MBS Session binding. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param MbsSessionId - Contains the identifier of the MBS Session to which the requested MBS Session binding is related. + * @param SuppFeat - Contains the list of features supported by the NF service consumer and used to filter irrelevant responses related to unsupported features. + +@return GetPCFMbsBindingResponse +*/ + +// GetPCFMbsBindingRequest +type GetPCFMbsBindingRequest struct { + MbsSessionId *models.MbsSessionId + SuppFeat *string +} + +func (r *GetPCFMbsBindingRequest) SetMbsSessionId(MbsSessionId models.MbsSessionId) { + r.MbsSessionId = &MbsSessionId +} +func (r *GetPCFMbsBindingRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type GetPCFMbsBindingResponse struct { + PcfMbsBinding []models.PcfMbsBinding +} + +type GetPCFMbsBindingError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PCFForAnMBSSessionBindingsCollectionApiService) GetPCFMbsBinding(ctx context.Context, request *GetPCFMbsBindingRequest) (*GetPCFMbsBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetPCFMbsBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-mbs-bindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.MbsSessionId == nil { + return nil, openapi.ReportError("MbsSessionId must be non nil") + } else { + localVarQueryParams.Add("mbs-session-id", openapi.ParameterToString(request.MbsSessionId, "application/json")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "application/json")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfMbsBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetPCFMbsBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_pcf_for_aue_bindings_collection.go b/bsf/Management/api_pcf_for_aue_bindings_collection.go new file mode 100644 index 00000000..300db79b --- /dev/null +++ b/bsf/Management/api_pcf_for_aue_bindings_collection.go @@ -0,0 +1,383 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type PCFForAUEBindingsCollectionApiService service + +/* +PCFForAUEBindingsCollectionApiService Create a new Individual PCF for a UE binding information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param PcfForUeBinding - + +@return CreatePCFforUEBindingResponse +*/ + +// CreatePCFforUEBindingRequest +type CreatePCFforUEBindingRequest struct { + PcfForUeBinding *models.PcfForUeBinding +} + +func (r *CreatePCFforUEBindingRequest) SetPcfForUeBinding(PcfForUeBinding models.PcfForUeBinding) { + r.PcfForUeBinding = &PcfForUeBinding +} + +type CreatePCFforUEBindingResponse struct { + Location string + PcfForUeBinding models.PcfForUeBinding +} + +type CreatePCFforUEBindingError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PCFForAUEBindingsCollectionApiService) CreatePCFforUEBinding(ctx context.Context, request *CreatePCFforUEBindingRequest) (*CreatePCFforUEBindingResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreatePCFforUEBindingResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-ue-bindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.PcfForUeBinding + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.PcfForUeBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreatePCFforUEBindingError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +/* +PCFForAUEBindingsCollectionApiService Read PCF for a UE Bindings information + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param Supi - Subscription Permanent Identifier. + * @param Gpsi - Generic Public Subscription Identifier + * @param SuppFeat - To filter irrelevant responses related to unsupported features. + +@return GetPCFForUeBindingsResponse +*/ + +// GetPCFForUeBindingsRequest +type GetPCFForUeBindingsRequest struct { + Supi *string + Gpsi *string + SuppFeat *string +} + +func (r *GetPCFForUeBindingsRequest) SetSupi(Supi string) { + r.Supi = &Supi +} +func (r *GetPCFForUeBindingsRequest) SetGpsi(Gpsi string) { + r.Gpsi = &Gpsi +} +func (r *GetPCFForUeBindingsRequest) SetSuppFeat(SuppFeat string) { + r.SuppFeat = &SuppFeat +} + +type GetPCFForUeBindingsResponse struct { + PcfForUeBinding []models.PcfForUeBinding +} + +type GetPCFForUeBindingsError struct { + ProblemDetails models.ProblemDetails +} + +func (a *PCFForAUEBindingsCollectionApiService) GetPCFForUeBindings(ctx context.Context, request *GetPCFForUeBindingsRequest) (*GetPCFForUeBindingsResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetPCFForUeBindingsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/pcf-ue-bindings" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if request.Supi != nil { + localVarQueryParams.Add("supi", openapi.ParameterToString(request.Supi, "multi")) + } + if request.Gpsi != nil { + localVarQueryParams.Add("gpsi", openapi.ParameterToString(request.Gpsi, "multi")) + } + if request.SuppFeat != nil { + localVarQueryParams.Add("supp-feat", openapi.ParameterToString(request.SuppFeat, "multi")) + } + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 200: + err = openapi.Deserialize(&localVarReturnValue.PcfForUeBinding, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + return &localVarReturnValue, nil + case 400: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 406: + return &localVarReturnValue, nil + case 414: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v GetPCFForUeBindingsError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} diff --git a/bsf/Management/api_subscriptions_collection.go b/bsf/Management/api_subscriptions_collection.go new file mode 100644 index 00000000..f2762671 --- /dev/null +++ b/bsf/Management/api_subscriptions_collection.go @@ -0,0 +1,390 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "github.com/free5gc/openapi" + "github.com/free5gc/openapi/models" + + "context" + "io/ioutil" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type SubscriptionsCollectionApiService service + +/* +SubscriptionsCollectionApiService Create an individual subscription for event notifications from the BSF + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param BsfSubscription - + +@return CreateIndividualSubcriptionResponse +*/ + +// CreateIndividualSubcriptionRequest +type CreateIndividualSubcriptionRequest struct { + BsfSubscription *models.BsfSubscription +} + +func (r *CreateIndividualSubcriptionRequest) SetBsfSubscription(BsfSubscription models.BsfSubscription) { + r.BsfSubscription = &BsfSubscription +} + +type CreateIndividualSubcriptionResponse struct { + Location string + BsfSubscriptionResp models.BsfSubscriptionResp +} + +type CreateIndividualSubcriptionError struct { + ProblemDetails models.ProblemDetails +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcription(ctx context.Context, request *CreateIndividualSubcriptionRequest) (*CreateIndividualSubcriptionResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath() + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BsfSubscription + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 201: + err = openapi.Deserialize(&localVarReturnValue.BsfSubscriptionResp, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") + return &localVarReturnValue, nil + case 400: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return nil, apiError + } +} + +// CreateIndividualSubcriptionMyNotificationPostRequest +type CreateIndividualSubcriptionMyNotificationPostRequest struct { + BsfNotification *models.BsfNotification +} + +func (r *CreateIndividualSubcriptionMyNotificationPostRequest) SetBsfNotification(BsfNotification models.BsfNotification) { + r.BsfNotification = &BsfNotification +} + +type CreateIndividualSubcriptionMyNotificationPostResponse struct { +} + +type CreateIndividualSubcriptionMyNotificationPostError struct { + Location string + Var3gppSbiTargetNfId string + ProblemDetails models.ProblemDetails + RedirectResponse models.RedirectResponse +} + +func (a *SubscriptionsCollectionApiService) CreateIndividualSubcriptionMyNotificationPost(ctx context.Context, uri string, request *CreateIndividualSubcriptionMyNotificationPostRequest) (*CreateIndividualSubcriptionMyNotificationPostResponse, error) { + var ( + localVarHTTPMethod = strings.ToUpper("POST") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CreateIndividualSubcriptionMyNotificationPostResponse + ) + + // create path and map variables + localVarPath := uri + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarHTTPContentTypes := []string{"application/json"} + + localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} + + // set Accept header + localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + + // body params + localVarPostBody = request.BsfNotification + + r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) + if err != nil || localVarHTTPResponse == nil { + return nil, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + if err != nil { + return nil, err + } + err = localVarHTTPResponse.Body.Close() + if err != nil { + return nil, err + } + + apiError := openapi.GenericOpenAPIError{ + RawBody: localVarBody, + ErrorStatus: localVarHTTPResponse.StatusCode, + } + + switch localVarHTTPResponse.StatusCode { + case 204: + return &localVarReturnValue, nil + case 307: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 308: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + v.Location = localVarHTTPResponse.Header.Get("Location") + v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") + apiError.ErrorModel = v + return nil, apiError + case 400: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 401: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 403: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 404: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 411: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 413: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 415: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 429: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 500: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + case 503: + var v CreateIndividualSubcriptionMyNotificationPostError + err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + return nil, err + } + apiError.ErrorModel = v + return nil, apiError + default: + return &localVarReturnValue, nil + } +} diff --git a/bsf/Management/client.go b/bsf/Management/client.go new file mode 100644 index 00000000..8e246248 --- /dev/null +++ b/bsf/Management/client.go @@ -0,0 +1,56 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +// APIClient manages communication with the Nbsf_Management API v1.3.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + IndividualPCFBindingDocumentApi *IndividualPCFBindingDocumentApiService + IndividualPCFForAPDUSessionBindingDocumentApi *IndividualPCFForAPDUSessionBindingDocumentApiService + IndividualPCFForAUEBindingDocumentApi *IndividualPCFForAUEBindingDocumentApiService + IndividualPCFForAnMBSSessionBindingDocumentApi *IndividualPCFForAnMBSSessionBindingDocumentApiService + IndividualSubscriptionDocumentApi *IndividualSubscriptionDocumentApiService + PCFBindingsCollectionApi *PCFBindingsCollectionApiService + PCFForAUEBindingsCollectionApi *PCFForAUEBindingsCollectionApiService + PCFForAnMBSSessionBindingsCollectionApi *PCFForAnMBSSessionBindingsCollectionApiService + SubscriptionsCollectionApi *SubscriptionsCollectionApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.IndividualPCFBindingDocumentApi = (*IndividualPCFBindingDocumentApiService)(&c.common) + c.IndividualPCFForAPDUSessionBindingDocumentApi = (*IndividualPCFForAPDUSessionBindingDocumentApiService)(&c.common) + c.IndividualPCFForAUEBindingDocumentApi = (*IndividualPCFForAUEBindingDocumentApiService)(&c.common) + c.IndividualPCFForAnMBSSessionBindingDocumentApi = (*IndividualPCFForAnMBSSessionBindingDocumentApiService)(&c.common) + c.IndividualSubscriptionDocumentApi = (*IndividualSubscriptionDocumentApiService)(&c.common) + c.PCFBindingsCollectionApi = (*PCFBindingsCollectionApiService)(&c.common) + c.PCFForAUEBindingsCollectionApi = (*PCFForAUEBindingsCollectionApiService)(&c.common) + c.PCFForAnMBSSessionBindingsCollectionApi = (*PCFForAnMBSSessionBindingsCollectionApiService)(&c.common) + c.SubscriptionsCollectionApi = (*SubscriptionsCollectionApiService)(&c.common) + + return c +} diff --git a/bsf/Management/configuration.go b/bsf/Management/configuration.go new file mode 100644 index 00000000..53d84af4 --- /dev/null +++ b/bsf/Management/configuration.go @@ -0,0 +1,82 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package Management + +import ( + "net/http" + "strings" +) + +type Configuration struct { + url string + basePath string + host string + defaultHeader map[string]string + userAgent string + httpClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + basePath: "https://example.com/nbsf-management/v1", + url: "{apiRoot}/nbsf-management/v1", + defaultHeader: make(map[string]string), + userAgent: "OpenAPI-Generator/1.0.0/go", + } + return cfg +} + +func (c *Configuration) SetBasePath(apiRoot string) { + url := c.url + + // Replace apiRoot + url = strings.Replace(url, "{"+"apiRoot"+"}", apiRoot, -1) + + c.basePath = url +} + +func (c *Configuration) BasePath() string { + return c.basePath +} + +func (c *Configuration) Host() string { + return c.host +} + +func (c *Configuration) SetHost(host string) { + c.host = host +} + +func (c *Configuration) UserAgent() string { + return c.userAgent +} + +func (c *Configuration) SetUserAgent(userAgent string) { + c.userAgent = userAgent +} + +func (c *Configuration) DefaultHeader() map[string]string { + return c.defaultHeader +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.defaultHeader[key] = value +} + +func (c *Configuration) HTTPClient() *http.Client { + return c.httpClient +} + +func (c *Configuration) SetHTTPClient(client *http.Client) { + c.httpClient = client +} diff --git a/models/model_binding_level.go b/models/model_binding_level.go new file mode 100644 index 00000000..04b03600 --- /dev/null +++ b/models/model_binding_level.go @@ -0,0 +1,21 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BindingLevel string + +// List of BindingLevel +const ( + BindingLevel_SET BindingLevel = "NF_SET" + BindingLevel_INSTANCE BindingLevel = "NF_INSTANCE" +) diff --git a/models/model_bsf_event.go b/models/model_bsf_event.go new file mode 100644 index 00000000..d48191a8 --- /dev/null +++ b/models/model_bsf_event.go @@ -0,0 +1,25 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +type BsfEvent string + +// List of BsfEvent +const ( + BsfEvent_PCF_PDU_SESSION_BINDING_REGISTRATION BsfEvent = "PCF_PDU_SESSION_BINDING_REGISTRATION" + BsfEvent_PCF_PDU_SESSION_BINDING_DEREGISTRATION BsfEvent = "PCF_PDU_SESSION_BINDING_DEREGISTRATION" + BsfEvent_PCF_UE_BINDING_REGISTRATION BsfEvent = "PCF_UE_BINDING_REGISTRATION" + BsfEvent_PCF_UE_BINDING_DEREGISTRATION BsfEvent = "PCF_UE_BINDING_DEREGISTRATION" + BsfEvent_SNSSAI_DNN_BINDING_REGISTRATION BsfEvent = "SNSSAI_DNN_BINDING_REGISTRATION" + BsfEvent_SNSSAI_DNN_BINDING_DEREGISTRATION BsfEvent = "SNSSAI_DNN_BINDING_DEREGISTRATION" +) diff --git a/models/model_bsf_event_notification.go b/models/model_bsf_event_notification.go new file mode 100644 index 00000000..f0ba90f6 --- /dev/null +++ b/models/model_bsf_event_notification.go @@ -0,0 +1,23 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains an event notification. +type BsfEventNotification struct { + Event BsfEvent `json:"event" yaml:"event" bson:"event,omitempty"` + PcfForUeInfo *PcfForUeInfo `json:"pcfForUeInfo,omitempty" yaml:"pcfForUeInfo" bson:"pcfForUeInfo,omitempty"` + // The information of the PCF for a PDU session. + PcfForPduSessInfos []PcfForPduSessionInfo `json:"pcfForPduSessInfos,omitempty" yaml:"pcfForPduSessInfos" bson:"pcfForPduSessInfos,omitempty"` + // Matching S-NSSAI and DNN pairs. + MatchSnssaiDnns []SnssaiDnnPair `json:"matchSnssaiDnns,omitempty" yaml:"matchSnssaiDnns" bson:"matchSnssaiDnns,omitempty"` +} diff --git a/models/model_bsf_management_ext_problem_details.go b/models/model_bsf_management_ext_problem_details.go new file mode 100644 index 00000000..57def829 --- /dev/null +++ b/models/model_bsf_management_ext_problem_details.go @@ -0,0 +1,38 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the FQDN or IP endpoints of the existing PCF and the cause value if there is an existing PCF binding information for the indicated combination. +type BsfManagementExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // Fully Qualified Domain Name + PcfSmFqdn string `json:"pcfSmFqdn,omitempty" yaml:"pcfSmFqdn" bson:"pcfSmFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_SMPolicyControl service. + PcfSmIpEndPoints []IpEndPoint `json:"pcfSmIpEndPoints,omitempty" yaml:"pcfSmIpEndPoints" bson:"pcfSmIpEndPoints,omitempty"` +} diff --git a/models/model_bsf_management_mbs_ext_problem_details.go b/models/model_bsf_management_mbs_ext_problem_details.go new file mode 100644 index 00000000..c2c8cb2e --- /dev/null +++ b/models/model_bsf_management_mbs_ext_problem_details.go @@ -0,0 +1,38 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the FQDN or IP endpoints of the existing PCF and the cause value if there is an existing PCF binding information for the MBS session. +type BsfManagementMbsExtProblemDetails struct { + // String providing an URI formatted according to RFC 3986. + Type string `json:"type,omitempty" yaml:"type" bson:"type,omitempty"` + Title string `json:"title,omitempty" yaml:"title" bson:"title,omitempty"` + Status int32 `json:"status,omitempty" yaml:"status" bson:"status,omitempty"` + // A human-readable explanation specific to this occurrence of the problem. + Detail string `json:"detail,omitempty" yaml:"detail" bson:"detail,omitempty"` + // String providing an URI formatted according to RFC 3986. + Instance string `json:"instance,omitempty" yaml:"instance" bson:"instance,omitempty"` + // A machine-readable application error cause specific to this occurrence of the problem. This IE should be present and provide application-related error information, if available. + Cause string `json:"cause,omitempty" yaml:"cause" bson:"cause,omitempty"` + InvalidParams []InvalidParam `json:"invalidParams,omitempty" yaml:"invalidParams" bson:"invalidParams,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SupportedFeatures string `json:"supportedFeatures,omitempty" yaml:"supportedFeatures" bson:"supportedFeatures,omitempty"` + AccessTokenError *AccessTokenErr `json:"accessTokenError,omitempty" yaml:"accessTokenError" bson:"accessTokenError,omitempty"` + AccessTokenRequest *NrfAccessTokenAccessTokenReq `json:"accessTokenRequest,omitempty" yaml:"accessTokenRequest" bson:"accessTokenRequest,omitempty"` + // Fully Qualified Domain Name + NrfId string `json:"nrfId,omitempty" yaml:"nrfId" bson:"nrfId,omitempty"` + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF handling the MBS Session. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` +} diff --git a/models/model_bsf_notification.go b/models/model_bsf_notification.go new file mode 100644 index 00000000..3f3e814c --- /dev/null +++ b/models/model_bsf_notification.go @@ -0,0 +1,26 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the event notifications. +type BsfNotification struct { + // Notification Correlation ID assigned by the NF service consumer. + NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` + // Notifications about Individual Events. + EventNotifs []BsfEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/model_bsf_subscription.go b/models/model_bsf_subscription.go new file mode 100644 index 00000000..a843553d --- /dev/null +++ b/models/model_bsf_subscription.go @@ -0,0 +1,32 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the event subscription data. +type BsfSubscription struct { + // Contain te subscribed events. + Events []BsfEvent `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Notification Correlation ID assigned by the NF service consumer. + NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + SnssaiDnnPairs *SnssaiDnnPair `json:"snssaiDnnPairs,omitempty" yaml:"snssaiDnnPairs" bson:"snssaiDnnPairs,omitempty"` + // Represents the additional S-NSSAI and DNN pair(s) for which the binding event report(s) shall apply. + AddSnssaiDnnPairs []SnssaiDnnPair `json:"addSnssaiDnnPairs,omitempty" yaml:"addSnssaiDnnPairs" bson:"addSnssaiDnnPairs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_bsf_subscription_resp.go b/models/model_bsf_subscription_resp.go new file mode 100644 index 00000000..f5dc5fc6 --- /dev/null +++ b/models/model_bsf_subscription_resp.go @@ -0,0 +1,39 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// It represents a response to a modification or creation request of an Individual Binding Subscription resource. It may contain the notification of the already met events. +type BsfSubscriptionResp struct { + // Contain te subscribed events. + Events []BsfEvent `json:"events" yaml:"events" bson:"events,omitempty"` + // String providing an URI formatted according to RFC 3986. + NotifUri string `json:"notifUri" yaml:"notifUri" bson:"notifUri,omitempty"` + // Notification Correlation ID assigned by the NF service consumer. + NotifCorreId string `json:"notifCorreId" yaml:"notifCorreId" bson:"notifCorreId,omitempty"` + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + SnssaiDnnPairs *SnssaiDnnPair `json:"snssaiDnnPairs,omitempty" yaml:"snssaiDnnPairs" bson:"snssaiDnnPairs,omitempty"` + // Represents the additional S-NSSAI and DNN pair(s) for which the binding event report(s) shall apply. + AddSnssaiDnnPairs []SnssaiDnnPair `json:"addSnssaiDnnPairs,omitempty" yaml:"addSnssaiDnnPairs" bson:"addSnssaiDnnPairs,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` + // Notifications about Individual Events. + EventNotifs []BsfEventNotification `json:"eventNotifs" yaml:"eventNotifs" bson:"eventNotifs,omitempty"` +} diff --git a/models/model_parameter_combination.go b/models/model_parameter_combination.go new file mode 100644 index 00000000..cabcb3c3 --- /dev/null +++ b/models/model_parameter_combination.go @@ -0,0 +1,22 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the combination used by the BSF to check whether there is an existing PCF binding information. +type ParameterCombination struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn,omitempty" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai,omitempty" yaml:"snssai" bson:"snssai,omitempty"` +} diff --git a/models/model_pcf_binding.go b/models/model_pcf_binding.go new file mode 100644 index 00000000..2e873719 --- /dev/null +++ b/models/model_pcf_binding.go @@ -0,0 +1,62 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Identifies an Individual PCF for a PDU Session binding. +type PcfBinding struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi,omitempty" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` + // The additional IPv6 Address Prefixes of the served UE. + AddIpv6Prefixes []string `json:"addIpv6Prefixes,omitempty" yaml:"addIpv6Prefixes" bson:"addIpv6Prefixes,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042. + MacAddr48 string `json:"macAddr48,omitempty" yaml:"macAddr48" bson:"macAddr48,omitempty"` + // The additional MAC Addresses of the served UE. + AddMacAddrs []string `json:"addMacAddrs,omitempty" yaml:"addMacAddrs" bson:"addMacAddrs,omitempty"` + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_PolicyAuthorization service + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // Fully Qualified Domain Name + PcfDiamHost string `json:"pcfDiamHost,omitempty" yaml:"pcfDiamHost" bson:"pcfDiamHost,omitempty"` + // Fully Qualified Domain Name + PcfDiamRealm string `json:"pcfDiamRealm,omitempty" yaml:"pcfDiamRealm" bson:"pcfDiamRealm,omitempty"` + // Fully Qualified Domain Name + PcfSmFqdn string `json:"pcfSmFqdn,omitempty" yaml:"pcfSmFqdn" bson:"pcfSmFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_SMPolicyControl service. + PcfSmIpEndPoints []IpEndPoint `json:"pcfSmIpEndPoints,omitempty" yaml:"pcfSmIpEndPoints" bson:"pcfSmIpEndPoints,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + ParaCom *ParameterCombination `json:"paraCom,omitempty" yaml:"paraCom" bson:"paraCom,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` + Ipv4FrameRouteList []string `json:"ipv4FrameRouteList,omitempty" yaml:"ipv4FrameRouteList" bson:"ipv4FrameRouteList,omitempty"` + Ipv6FrameRouteList []string `json:"ipv6FrameRouteList,omitempty" yaml:"ipv6FrameRouteList" bson:"ipv6FrameRouteList,omitempty"` +} diff --git a/models/model_pcf_binding_patch.go b/models/model_pcf_binding_patch.go new file mode 100644 index 00000000..50053a7b --- /dev/null +++ b/models/model_pcf_binding_patch.go @@ -0,0 +1,37 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an Individual PCF binding used in an HTTP Patch method. +type PcfBindingPatch struct { + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166 with the OpenAPI defined 'nullable: true' property. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + Ipv6Prefix string `json:"ipv6Prefix,omitempty" yaml:"ipv6Prefix" bson:"ipv6Prefix,omitempty"` + // The additional IPv6 Address Prefixes of the served UE. + AddIpv6Prefixes []string `json:"addIpv6Prefixes,omitempty" yaml:"addIpv6Prefixes" bson:"addIpv6Prefixes,omitempty"` + // \"String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042 with the OpenAPI 'nullable: true' property.\" + MacAddr48 string `json:"macAddr48,omitempty" yaml:"macAddr48" bson:"macAddr48,omitempty"` + // The additional MAC Addresses of the served UE. + AddMacAddrs []string `json:"addMacAddrs,omitempty" yaml:"addMacAddrs" bson:"addMacAddrs,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_PolicyAuthorization service. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // Fully Qualified Domain Name + PcfDiamHost string `json:"pcfDiamHost,omitempty" yaml:"pcfDiamHost" bson:"pcfDiamHost,omitempty"` + // Fully Qualified Domain Name + PcfDiamRealm string `json:"pcfDiamRealm,omitempty" yaml:"pcfDiamRealm" bson:"pcfDiamRealm,omitempty"` +} diff --git a/models/model_pcf_for_pdu_session_info.go b/models/model_pcf_for_pdu_session_info.go new file mode 100644 index 00000000..eb388537 --- /dev/null +++ b/models/model_pcf_for_pdu_session_info.go @@ -0,0 +1,36 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the informaiton of the PCF for a PDU session. +type PcfForPduSessionInfo struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_AmPolicyAuthorization service. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166 with the OpenAPI defined 'nullable: true' property. + Ipv4Addr string `json:"ipv4Addr,omitempty" yaml:"ipv4Addr" bson:"ipv4Addr,omitempty"` + IpDomain string `json:"ipDomain,omitempty" yaml:"ipDomain" bson:"ipDomain,omitempty"` + // The IPv6 Address Prefixes of the served UE. + Ipv6Prefixes []string `json:"ipv6Prefixes,omitempty" yaml:"ipv6Prefixes" bson:"ipv6Prefixes,omitempty"` + // The MAC Addresses of the served UE. + MacAddrs []string `json:"macAddrs,omitempty" yaml:"macAddrs" bson:"macAddrs,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` +} diff --git a/models/model_pcf_for_ue_binding.go b/models/model_pcf_for_ue_binding.go new file mode 100644 index 00000000..21649e6d --- /dev/null +++ b/models/model_pcf_for_ue_binding.go @@ -0,0 +1,32 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies an Individual PCF for a UE binding. +type PcfForUeBinding struct { + // String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause 2.2A of 3GPP TS 23.003. It shall be formatted as follows - for an IMSI \"imsi-\", where shall be formatted according to clause 2.2 of 3GPP TS 23.003 that describes an IMSI. - for a network specific identifier \"nai-, where shall be formatted according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI. - for a GCI \"gci-\", where shall be formatted according to clause 28.15.2 of 3GPP TS 23.003. - for a GLI \"gli-\", where shall be formatted according to clause 28.16.2 of 3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall only contain characters allowed according to the \"lower-with-hyphen\" naming convention defined in 3GPP TS 29.501. + Supi string `json:"supi" yaml:"supi" bson:"supi,omitempty"` + // String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier. + Gpsi string `json:"gpsi,omitempty" yaml:"gpsi" bson:"gpsi,omitempty"` + // Fully Qualified Domain Name + PcfForUeFqdn string `json:"pcfForUeFqdn,omitempty" yaml:"pcfForUeFqdn" bson:"pcfForUeFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_AmPolicyAuthorization service. + PcfForUeIpEndPoints []IpEndPoint `json:"pcfForUeIpEndPoints,omitempty" yaml:"pcfForUeIpEndPoints" bson:"pcfForUeIpEndPoints,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_for_ue_binding_patch.go b/models/model_pcf_for_ue_binding_patch.go new file mode 100644 index 00000000..c90ba102 --- /dev/null +++ b/models/model_pcf_for_ue_binding_patch.go @@ -0,0 +1,23 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Identifies the updates of an Individual PCF for a UE binding. +type PcfForUeBindingPatch struct { + // Fully Qualified Domain Name + PcfForUeFqdn string `json:"pcfForUeFqdn,omitempty" yaml:"pcfForUeFqdn" bson:"pcfForUeFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_AmPolicyAuthorization service. + PcfForUeIpEndPoints []IpEndPoint `json:"pcfForUeIpEndPoints,omitempty" yaml:"pcfForUeIpEndPoints" bson:"pcfForUeIpEndPoints,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` +} diff --git a/models/model_pcf_for_ue_info.go b/models/model_pcf_for_ue_info.go new file mode 100644 index 00000000..a1cbe1f0 --- /dev/null +++ b/models/model_pcf_for_ue_info.go @@ -0,0 +1,26 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains the information of the PCF for a UE. +type PcfForUeInfo struct { + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + // IP end points of the PCF hosting the Npcf_AmPolicyAuthorization service. + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` +} diff --git a/models/model_pcf_mbs_binding.go b/models/model_pcf_mbs_binding.go new file mode 100644 index 00000000..dfc3cfb6 --- /dev/null +++ b/models/model_pcf_mbs_binding.go @@ -0,0 +1,34 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +import ( + "time" +) + +// Represents an Individual PCF for an MBS Session binding. +type PcfMbsBinding struct { + MbsSessionId *MbsSessionId `json:"mbsSessionId" yaml:"mbsSessionId" bson:"mbsSessionId,omitempty"` + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` + // NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set.set.5gc.mnc.mcc\", or \"set.set.5gc.nid.mnc.mcc\" with encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit. + PcfSetId string `json:"pcfSetId,omitempty" yaml:"pcfSetId" bson:"pcfSetId,omitempty"` + BindLevel BindingLevel `json:"bindLevel,omitempty" yaml:"bindLevel" bson:"bindLevel,omitempty"` + // string with format 'date-time' as defined in OpenAPI. + RecoveryTime *time.Time `json:"recoveryTime,omitempty" yaml:"recoveryTime" bson:"recoveryTime,omitempty"` + // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. + SuppFeat string `json:"suppFeat,omitempty" yaml:"suppFeat" bson:"suppFeat,omitempty"` +} diff --git a/models/model_pcf_mbs_binding_patch.go b/models/model_pcf_mbs_binding_patch.go new file mode 100644 index 00000000..b4564cd9 --- /dev/null +++ b/models/model_pcf_mbs_binding_patch.go @@ -0,0 +1,22 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Represents the requested modification to an Individual PCF for an MBS Session binding. +type PcfMbsBindingPatch struct { + // Fully Qualified Domain Name + PcfFqdn string `json:"pcfFqdn,omitempty" yaml:"pcfFqdn" bson:"pcfFqdn,omitempty"` + PcfIpEndPoints []IpEndPoint `json:"pcfIpEndPoints,omitempty" yaml:"pcfIpEndPoints" bson:"pcfIpEndPoints,omitempty"` + // String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122. + PcfId string `json:"pcfId,omitempty" yaml:"pcfId" bson:"pcfId,omitempty"` +} diff --git a/models/model_snssai_dnn_pair.go b/models/model_snssai_dnn_pair.go new file mode 100644 index 00000000..f6d2c241 --- /dev/null +++ b/models/model_snssai_dnn_pair.go @@ -0,0 +1,20 @@ +/* + * Nbsf_Management + * + * Binding Support Management Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. + * + * Source file: 3GPP TS 29.521 V17.7.0; 5G System; Binding Support Management Service. + * Url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.521/ + * + * API version: 1.3.1 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package models + +// Contains a S-NSSAI and DNN combination. +type SnssaiDnnPair struct { + // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). + Dnn string `json:"dnn" yaml:"dnn" bson:"dnn,omitempty"` + Snssai *Snssai `json:"snssai" yaml:"snssai" bson:"snssai,omitempty"` +} From df7a13c7575bb7e073a689fdb0dbbbe9db41bf08 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Thu, 15 Aug 2024 12:28:34 +0000 Subject: [PATCH 24/67] fix: error type in subscirbedambr --- models/model_access_and_mobility_subscription_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/model_access_and_mobility_subscription_data.go b/models/model_access_and_mobility_subscription_data.go index c7ab0ee8..d04a3a32 100644 --- a/models/model_access_and_mobility_subscription_data.go +++ b/models/model_access_and_mobility_subscription_data.go @@ -21,7 +21,7 @@ type AccessAndMobilitySubscriptionData struct { InternalGroupIds []string `json:"internalGroupIds,omitempty" yaml:"internalGroupIds" bson:"internalGroupIds,omitempty"` // A map(list of key-value pairs) where GroupId serves as key of SharedDataId SharedVnGroupDataIds map[string]string `json:"sharedVnGroupDataIds,omitempty" yaml:"sharedVnGroupDataIds" bson:"sharedVnGroupDataIds,omitempty"` - SubscribedUeAmbr *Ambr `json:"subscribedUeAmbr,omitempty" yaml:"subscribedUeAmbr" bson:"subscribedUeAmbr,omitempty"` + SubscribedUeAmbr *AmbrRm `json:"subscribedUeAmbr,omitempty" yaml:"subscribedUeAmbr" bson:"subscribedUeAmbr,omitempty"` Nssai *Nssai `json:"nssai,omitempty" yaml:"nssai" bson:"nssai,omitempty"` RatRestrictions []RatType `json:"ratRestrictions,omitempty" yaml:"ratRestrictions" bson:"ratRestrictions,omitempty"` ForbiddenAreas []Area `json:"forbiddenAreas,omitempty" yaml:"forbiddenAreas" bson:"forbiddenAreas,omitempty"` From 41439a466841fc82874574e7575b515da3f2a5fb Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 21 Aug 2024 10:52:34 +0000 Subject: [PATCH 25/67] fix: add multipart tags in N1N2MessageTransferRequest --- models/model_n1_n2_message_transfer_request.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_n1_n2_message_transfer_request.go b/models/model_n1_n2_message_transfer_request.go index e9c662bc..75851749 100644 --- a/models/model_n1_n2_message_transfer_request.go +++ b/models/model_n1_n2_message_transfer_request.go @@ -13,8 +13,8 @@ package models type N1N2MessageTransferRequest struct { - JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` + JsonData *N1N2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1MessageContainer.N1MessageContent.ContentId,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MtData.ContentId,omitempty"` } From 2f41246a60e56cfd1bf146e7ec41347017d60006 Mon Sep 17 00:00:00 2001 From: chh Date: Mon, 30 Sep 2024 07:39:47 +0000 Subject: [PATCH 26/67] style: correct spell mistake --- .../model_pcf_am_policy_control_policy_association_request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/model_pcf_am_policy_control_policy_association_request.go b/models/model_pcf_am_policy_control_policy_association_request.go index 0b862ebc..30867e8a 100644 --- a/models/model_pcf_am_policy_control_policy_association_request.go +++ b/models/model_pcf_am_policy_control_policy_association_request.go @@ -53,7 +53,7 @@ type PcfAmPolicyControlPolicyAssociationRequest struct { // array of allowed S-NSSAIs for the Non-3GPP access. N3gAllowedSnssais []Snssai `json:"n3gAllowedSnssais,omitempty" yaml:"n3gAllowedSnssais" bson:"n3gAllowedSnssais,omitempty"` Guami *Guami `json:"guami,omitempty" yaml:"guami" bson:"guami,omitempty"` - ServiveName ServiceName `json:"serviveName,omitempty" yaml:"serviveName" bson:"serviveName,omitempty"` + ServiceName ServiceName `json:"serviceName,omitempty" yaml:"serviceName" bson:"serviceName,omitempty"` TraceReq *TraceData `json:"traceReq,omitempty" yaml:"traceReq" bson:"traceReq,omitempty"` NwdafDatas []NwdafData `json:"nwdafDatas,omitempty" yaml:"nwdafDatas" bson:"nwdafDatas,omitempty"` // A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported. From c9ff412a31a642e400a68fd2e8806d0a69afb715 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 24 Oct 2024 06:39:21 +0000 Subject: [PATCH 27/67] fix: PostSmContextsRequest multipart & ref --- models/model_post_sm_contexts_request.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_post_sm_contexts_request.go b/models/model_post_sm_contexts_request.go index 5ee5d1ae..80e5db0a 100644 --- a/models/model_post_sm_contexts_request.go +++ b/models/model_post_sm_contexts_request.go @@ -13,8 +13,8 @@ package models type PostSmContextsRequest struct { - JsonData *SmfPduSessionSmContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` - BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` + JsonData *SmfPduSessionSmContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfoExt1.ContentId"` } From 1b2846d8495d2dc54943b2a110dfddc3da603f59 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 24 Oct 2024 07:45:57 +0000 Subject: [PATCH 28/67] fix: GetSmData Responce type --- .../api_session_management_subscription_data_retrieval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go b/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go index 74687c5c..3b3569bf 100644 --- a/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go +++ b/udm/SubscriberDataManagement/api_session_management_subscription_data_retrieval.go @@ -80,7 +80,7 @@ type GetSmDataResponse struct { CacheControl string ETag string LastModified string - SmSubsData models.SmSubsData + SmSubsData []models.SessionManagementSubscriptionData } type GetSmDataError struct { From 2aa9a0340ab17b3ab17f9831db47c5f25a288321 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 06:33:17 +0000 Subject: [PATCH 29/67] fix: add multipart tags in UpdateSmContextResponse200 --- models/model_update_sm_context_response_200.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/model_update_sm_context_response_200.go b/models/model_update_sm_context_response_200.go index 75602b87..b4b9f665 100644 --- a/models/model_update_sm_context_response_200.go +++ b/models/model_update_sm_context_response_200.go @@ -13,7 +13,7 @@ package models type UpdateSmContextResponse200 struct { - JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N2SmInfo.ContentId,omitempty"` } From 061b93b6af90347f18e41f02bb3a4c0acda686bc Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 07:27:42 +0000 Subject: [PATCH 30/67] fix: add multipart tags in UpdateSmContextResponse400 --- models/model_update_sm_context_response_400.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/model_update_sm_context_response_400.go b/models/model_update_sm_context_response_400.go index d338e8a4..c8f214cf 100644 --- a/models/model_update_sm_context_response_400.go +++ b/models/model_update_sm_context_response_400.go @@ -13,7 +13,7 @@ package models type UpdateSmContextResponse400 struct { - JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + JsonData *SmContextUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N2SmInfo.ContentId,omitempty"` } From 01fdbe00edf28439bafbab9add7b4888b63a70d9 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 07:42:22 +0000 Subject: [PATCH 31/67] fix: add multipart tags in UpdatePduSessionResponse400 --- models/model_update_pdu_session_response_400.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_update_pdu_session_response_400.go b/models/model_update_pdu_session_response_400.go index 26b0e72e..d89d0d9f 100644 --- a/models/model_update_pdu_session_response_400.go +++ b/models/model_update_pdu_session_response_400.go @@ -13,6 +13,6 @@ package models type UpdatePduSessionResponse400 struct { - JsonData *HsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + JsonData *HsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId,omitempty"` } From 6f77f68aa3cb84294c49c6e217c405f17b3655d0 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 07:45:26 +0000 Subject: [PATCH 32/67] fix: add multipart tags in PostPduSessionsResponse400 --- models/model_post_pdu_sessions_response_400.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_post_pdu_sessions_response_400.go b/models/model_post_pdu_sessions_response_400.go index d20a69bf..e0261277 100644 --- a/models/model_post_pdu_sessions_response_400.go +++ b/models/model_post_pdu_sessions_response_400.go @@ -13,6 +13,6 @@ package models type PostPduSessionsResponse400 struct { - JsonData *PduSessionCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` + JsonData *PduSessionCreateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId,omitempty"` } From 5c89355c101c5e6922a7e39dbd25884ff3534e38 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 07:53:40 +0000 Subject: [PATCH 33/67] fix: add multipart tags in ModifyPduSessionResponse400 --- models/model_modify_pdu_session_response_400.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/models/model_modify_pdu_session_response_400.go b/models/model_modify_pdu_session_response_400.go index 633b9d59..c06094b6 100644 --- a/models/model_modify_pdu_session_response_400.go +++ b/models/model_modify_pdu_session_response_400.go @@ -13,11 +13,11 @@ package models type ModifyPduSessionResponse400 struct { - JsonData *VsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` + JsonData *VsmfUpdateError `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt3.N4MessagePayload.ContentId,omitempty"` } From 5b1ff2fc8c4338817a5891d4869167cb234f7fdf Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 08:10:27 +0000 Subject: [PATCH 34/67] fix: add multipart tags in ModifyPduSessionResponse200 --- models/model_modify_pdu_session_response_200.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/models/model_modify_pdu_session_response_200.go b/models/model_modify_pdu_session_response_200.go index 42b9bec2..022bb21e 100644 --- a/models/model_modify_pdu_session_response_200.go +++ b/models/model_modify_pdu_session_response_200.go @@ -13,11 +13,11 @@ package models type ModifyPduSessionResponse200 struct { - JsonData *VsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` + JsonData *VsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt3.N4MessagePayload.ContentId,omitempty"` } From 3f0495e1991685fd7f1d03909d75db640b224ea8 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 08:20:51 +0000 Subject: [PATCH 35/67] fix: add multipart tags in ReleasePduSessionResponse200 --- models/model_release_pdu_session_response_200.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_release_pdu_session_response_200.go b/models/model_release_pdu_session_response_200.go index 29b537f7..a7656f7a 100644 --- a/models/model_release_pdu_session_response_200.go +++ b/models/model_release_pdu_session_response_200.go @@ -13,8 +13,8 @@ package models type ReleasePduSessionResponse200 struct { - JsonData *ReleasedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + JsonData *ReleasedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` } From 4cdbde45beaec79b71bef7f7408f35392732fce7 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 08:32:44 +0000 Subject: [PATCH 36/67] fix: add multipart tags in UpdatePduSessionResponse200 --- models/model_update_pdu_session_response_200.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/models/model_update_pdu_session_response_200.go b/models/model_update_pdu_session_response_200.go index 9b9d70f0..7f7b8e07 100644 --- a/models/model_update_pdu_session_response_200.go +++ b/models/model_update_pdu_session_response_200.go @@ -13,9 +13,9 @@ package models type UpdatePduSessionResponse200 struct { - JsonData *HsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + JsonData *HsmfUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` } From 92eb46454ee9d2a4fd99f59ae68f0fb2029b8d85 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Mon, 28 Oct 2024 08:41:11 +0000 Subject: [PATCH 37/67] fix: modify the content type of the multipart tags in BinaryDataN2SmInformation within UpdateSmContextResponse200 --- models/model_update_sm_context_response_200.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/model_update_sm_context_response_200.go b/models/model_update_sm_context_response_200.go index b4b9f665..1b8e05fc 100644 --- a/models/model_update_sm_context_response_200.go +++ b/models/model_update_sm_context_response_200.go @@ -15,5 +15,5 @@ package models type UpdateSmContextResponse200 struct { JsonData *SmContextUpdatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N2SmInfo.ContentId,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` } From de0c3e121feee6d0f2b8cc547dd92de133f676cf Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 06:09:30 +0000 Subject: [PATCH 38/67] fix: add multipart tags in UpdateSmContextRequest --- models/model_update_sm_context_request.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_update_sm_context_request.go b/models/model_update_sm_context_request.go index 0e17b8c3..d4e9ac62 100644 --- a/models/model_update_sm_context_request.go +++ b/models/model_update_sm_context_request.go @@ -13,8 +13,8 @@ package models type UpdateSmContextRequest struct { - JsonData *SmfPduSessionSmContextUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` - BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty"` + JsonData *SmfPduSessionSmContextUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmMessage []byte `json:"binaryDataN1SmMessage,omitempty" yaml:"binaryDataN1SmMessage" bson:"binaryDataN1SmMessage,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmMsg.ContentId,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` + BinaryDataN2SmInformationExt1 []byte `json:"binaryDataN2SmInformationExt1,omitempty" yaml:"binaryDataN2SmInformationExt1" bson:"binaryDataN2SmInformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfoExt1.ContentId,omitempty"` } From 1ec8ce7aef309d8d3f0b3fa69b6926646f8446fd Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 06:26:05 +0000 Subject: [PATCH 39/67] fix: add multipart tags in DeliverRequest --- models/model_deliver_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_deliver_request.go b/models/model_deliver_request.go index e9d25b26..b3ce41bc 100644 --- a/models/model_deliver_request.go +++ b/models/model_deliver_request.go @@ -13,6 +13,6 @@ package models type DeliverRequest struct { - JsonData *SmfNiddDeliverReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` + JsonData *SmfNiddDeliverReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MtData.ContentId,omitempty"` } From 293df1d1cd8a27cf0c6d18e97b440fc1d20c9736 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 06:56:23 +0000 Subject: [PATCH 40/67] fix: add multipart tags in ModifyPduSessionRequest --- models/model_modify_pdu_session_request.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/models/model_modify_pdu_session_request.go b/models/model_modify_pdu_session_request.go index 35bfbc33..454a5555 100644 --- a/models/model_modify_pdu_session_request.go +++ b/models/model_modify_pdu_session_request.go @@ -13,10 +13,10 @@ package models type ModifyPduSessionRequest struct { - JsonData *VsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` - BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty"` + JsonData *VsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoToUe []byte `json:"binaryDataN1SmInfoToUe,omitempty" yaml:"binaryDataN1SmInfoToUe" bson:"binaryDataN1SmInfoToUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoToUe.ContentId,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt3 []byte `json:"binaryDataN4InformationExt3,omitempty" yaml:"binaryDataN4InformationExt3" bson:"binaryDataN4InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt3.N4MessagePayload.ContentId,omitempty"` } From 220da857d63e2c7b1f14eb55360376d43f7d8425 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:02:08 +0000 Subject: [PATCH 41/67] fix: add multipart tags in PostPduSessionsRequest --- models/model_post_pdu_sessions_request.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/model_post_pdu_sessions_request.go b/models/model_post_pdu_sessions_request.go index 02990c5e..64a37917 100644 --- a/models/model_post_pdu_sessions_request.go +++ b/models/model_post_pdu_sessions_request.go @@ -13,7 +13,7 @@ package models type PostPduSessionsRequest struct { - JsonData *PduSessionCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` + JsonData *PduSessionCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId,omitempty"` } From f5932378da41330efa32969214a8eb1a81408f58 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:07:38 +0000 Subject: [PATCH 42/67] fix: add multipart tags in ReleasePduSessionRequest --- models/model_release_pdu_session_request.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/model_release_pdu_session_request.go b/models/model_release_pdu_session_request.go index 226efd43..88c7bdc2 100644 --- a/models/model_release_pdu_session_request.go +++ b/models/model_release_pdu_session_request.go @@ -13,8 +13,8 @@ package models type ReleasePduSessionRequest struct { - JsonData *ReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + JsonData *ReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` } From 664feca29c2bbc10544ec66fcfc6c9afc184887c Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:11:13 +0000 Subject: [PATCH 43/67] fix: add multipart tags in ReleaseSmContextRequest --- models/model_release_sm_context_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_release_sm_context_request.go b/models/model_release_sm_context_request.go index 49a57aeb..5bc60dd0 100644 --- a/models/model_release_sm_context_request.go +++ b/models/model_release_sm_context_request.go @@ -13,6 +13,6 @@ package models type ReleaseSmContextRequest struct { - JsonData *SmfPduSessionSmContextReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty"` + JsonData *SmfPduSessionSmContextReleaseData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2SmInformation []byte `json:"binaryDataN2SmInformation,omitempty" yaml:"binaryDataN2SmInformation" bson:"binaryDataN2SmInformation,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2SmInfo.ContentId,omitempty"` } From 1860765564b7815e39ccc11e8849a9126a319644 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:13:37 +0000 Subject: [PATCH 44/67] fix: add multipart tags in SendMoDataRequest --- models/model_send_mo_data_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_send_mo_data_request.go b/models/model_send_mo_data_request.go index 556cb55f..eff1d28d 100644 --- a/models/model_send_mo_data_request.go +++ b/models/model_send_mo_data_request.go @@ -13,6 +13,6 @@ package models type SendMoDataRequest struct { - JsonData *SendMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` + JsonData *SendMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MoData.ContentId,omitempty"` } From 888f8129ed58313993975d6f3c945024b6908cb6 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:15:46 +0000 Subject: [PATCH 45/67] fix: add multipart tags in TransferMoDataRequest --- models/model_transfer_mo_data_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_transfer_mo_data_request.go b/models/model_transfer_mo_data_request.go index 41a368a2..7f580bc4 100644 --- a/models/model_transfer_mo_data_request.go +++ b/models/model_transfer_mo_data_request.go @@ -13,6 +13,6 @@ package models type TransferMoDataRequest struct { - JsonData *TransferMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty"` + JsonData *TransferMoDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryMoData []byte `json:"binaryMoData,omitempty" yaml:"binaryMoData" bson:"binaryMoData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MoData.ContentId,omitempty"` } From a188dce57a36d8dd189375b1591e7bab218752c2 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:17:09 +0000 Subject: [PATCH 46/67] fix: add multipart tags in TransferMtDataRequest --- models/model_transfer_mt_data_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_transfer_mt_data_request.go b/models/model_transfer_mt_data_request.go index 08902278..436b9740 100644 --- a/models/model_transfer_mt_data_request.go +++ b/models/model_transfer_mt_data_request.go @@ -13,6 +13,6 @@ package models type TransferMtDataRequest struct { - JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MtData.ContentId,omitempty"` } From 4bedc2eb3a16b73b53582c3abd0142c62b04d523 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:18:03 +0000 Subject: [PATCH 47/67] fix: add multipart tags in TransferMtDataismfRequest --- models/model_transfer_mt_dataismf_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_transfer_mt_dataismf_request.go b/models/model_transfer_mt_dataismf_request.go index a1320211..f74e93e6 100644 --- a/models/model_transfer_mt_dataismf_request.go +++ b/models/model_transfer_mt_dataismf_request.go @@ -13,6 +13,6 @@ package models type TransferMtDataismfRequest struct { - JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty"` + JsonData *TransferMtDataReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryMtData []byte `json:"binaryMtData,omitempty" yaml:"binaryMtData" bson:"binaryMtData,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.MtData.ContentId,omitempty"` } From a0dbc8b0116fe7b234c9aa90a618d7a57e46f804 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 07:22:58 +0000 Subject: [PATCH 48/67] fix: add multipart tags in UpdatePduSessionRequest --- models/model_update_pdu_session_request.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/models/model_update_pdu_session_request.go b/models/model_update_pdu_session_request.go index 2f1a2c1d..7f9c0ddb 100644 --- a/models/model_update_pdu_session_request.go +++ b/models/model_update_pdu_session_request.go @@ -13,10 +13,10 @@ package models type UpdatePduSessionRequest struct { - JsonData *HsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty"` - BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty"` - BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty"` - BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty"` - BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty"` + JsonData *HsmfUpdateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1SmInfoFromUe []byte `json:"binaryDataN1SmInfoFromUe,omitempty" yaml:"binaryDataN1SmInfoFromUe" bson:"binaryDataN1SmInfoFromUe,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1SmInfoFromUe.ContentId,omitempty"` + BinaryDataUnknownN1SmInfo []byte `json:"binaryDataUnknownN1SmInfo,omitempty" yaml:"binaryDataUnknownN1SmInfo" bson:"binaryDataUnknownN1SmInfo,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.UnknownN1SmInfo.ContentId,omitempty"` + BinaryDataN4Information []byte `json:"binaryDataN4Information,omitempty" yaml:"binaryDataN4Information" bson:"binaryDataN4Information,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4Info.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt1 []byte `json:"binaryDataN4InformationExt1,omitempty" yaml:"binaryDataN4InformationExt1" bson:"binaryDataN4InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt1.N4MessagePayload.ContentId,omitempty"` + BinaryDataN4InformationExt2 []byte `json:"binaryDataN4InformationExt2,omitempty" yaml:"binaryDataN4InformationExt2" bson:"binaryDataN4InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.pfcp,ref:JsonData.N4InfoExt2.N4MessagePayload.ContentId,omitempty"` } From cd04cef554a27dcc3fd7103d65c5da461699de67 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:09:43 +0000 Subject: [PATCH 49/67] fix: add multipart tags in CancelRelocateUeContextRequest --- models/model_cancel_relocate_ue_context_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_cancel_relocate_ue_context_request.go b/models/model_cancel_relocate_ue_context_request.go index 2f1d5f04..840b7947 100644 --- a/models/model_cancel_relocate_ue_context_request.go +++ b/models/model_cancel_relocate_ue_context_request.go @@ -13,6 +13,6 @@ package models type CancelRelocateUeContextRequest struct { - JsonData *UeContextCancelRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataGtpcMessage []byte `json:"binaryDataGtpcMessage,omitempty" yaml:"binaryDataGtpcMessage" bson:"binaryDataGtpcMessage,omitempty"` + JsonData *UeContextCancelRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataGtpcMessage []byte `json:"binaryDataGtpcMessage,omitempty" yaml:"binaryDataGtpcMessage" bson:"binaryDataGtpcMessage,omitempty" multipart:"contentType:application/vnd.3gpp.gtpc,ref:JsonData.RelocationCancelRequest.ContentId,omitempty"` } From db0984fcb231fd78338784a294f29328d79f4a36 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:12:16 +0000 Subject: [PATCH 50/67] fix: add multipart tags in ContextCreateRequest --- models/model_context_create_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_context_create_request.go b/models/model_context_create_request.go index 3c73c16c..b4eccb39 100644 --- a/models/model_context_create_request.go +++ b/models/model_context_create_request.go @@ -13,6 +13,6 @@ package models type ContextCreateRequest struct { - JsonData *ContextCreateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *ContextCreateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfo.NgapData.ContentId,omitempty"` } From 03a94d0f89125cf7066e5ed46b1234e019d6508f Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:13:47 +0000 Subject: [PATCH 51/67] fix: add multipart tags in ContextUpdateRequest --- models/model_context_update_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_context_update_request.go b/models/model_context_update_request.go index eeae29ca..df09d1c7 100644 --- a/models/model_context_update_request.go +++ b/models/model_context_update_request.go @@ -13,6 +13,6 @@ package models type ContextUpdateRequest struct { - JsonData *AmfMbsBroadcastContextUpdateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *AmfMbsBroadcastContextUpdateReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfo.NgapData.ContentId,omitempty"` } From 78a4d951a75d346a8b62e06e9bb01deb229e5bc8 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:19:50 +0000 Subject: [PATCH 52/67] fix: add multipart tags in CreateUeContextRequest --- models/model_create_ue_context_request.go | 38 +++++++++++------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/models/model_create_ue_context_request.go b/models/model_create_ue_context_request.go index 0dc97017..7c2a63f9 100644 --- a/models/model_create_ue_context_request.go +++ b/models/model_create_ue_context_request.go @@ -13,23 +13,23 @@ package models type CreateUeContextRequest struct { - JsonData *UeContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` - BinaryDataN2InformationExt17 []byte `json:"binaryDataN2InformationExt17,omitempty" yaml:"binaryDataN2InformationExt17" bson:"binaryDataN2InformationExt17,omitempty"` + JsonData *UeContextCreateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt17 []byte `json:"binaryDataN2InformationExt17,omitempty" yaml:"binaryDataN2InformationExt17" bson:"binaryDataN2InformationExt17,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` } From 081023c9062e86bc91a5fbd27ab0b07dd26a1c5f Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:22:42 +0000 Subject: [PATCH 53/67] fix: add multipart tags in N1MessageNotifyRequest --- models/model_n1_message_notify_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_n1_message_notify_request.go b/models/model_n1_message_notify_request.go index 22adeb40..dcf0795f 100644 --- a/models/model_n1_message_notify_request.go +++ b/models/model_n1_message_notify_request.go @@ -13,6 +13,6 @@ package models type N1MessageNotifyRequest struct { - JsonData *N1MessageNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + JsonData *N1MessageNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.N1MessageContainer.N1MessageContent.ContentId,omitempty"` } From 80e9985578ec229cf91132fd6047b70f4b64fdb5 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:41:38 +0000 Subject: [PATCH 54/67] fix: add multipart tags in NonUeN2InfoNotifyRequest --- models/model_non_ue_n2_info_notify_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_non_ue_n2_info_notify_request.go b/models/model_non_ue_n2_info_notify_request.go index c2308d23..e329f9a1 100644 --- a/models/model_non_ue_n2_info_notify_request.go +++ b/models/model_non_ue_n2_info_notify_request.go @@ -13,6 +13,6 @@ package models type NonUeN2InfoNotifyRequest struct { - JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId,omitempty"` } From ad6606e771c07b350078a5acdbe133c8ab8cb3da Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:44:25 +0000 Subject: [PATCH 55/67] fix: add multipart tags in N2InfoNotifyRequest --- models/model_n2_info_notify_request.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/model_n2_info_notify_request.go b/models/model_n2_info_notify_request.go index 35ebac87..b50b45fb 100644 --- a/models/model_n2_info_notify_request.go +++ b/models/model_n2_info_notify_request.go @@ -13,7 +13,7 @@ package models type N2InfoNotifyRequest struct { - JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *N2InformationNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:{N1Message},omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId,omitempty"` } From 0a7dff982f529042a8aec2ccebd01703712a1a86 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:47:01 +0000 Subject: [PATCH 56/67] fix: add multipart tags in N2MessageTransferRequest --- models/model_n2_message_transfer_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_n2_message_transfer_request.go b/models/model_n2_message_transfer_request.go index 453ab6c8..793909ae 100644 --- a/models/model_n2_message_transfer_request.go +++ b/models/model_n2_message_transfer_request.go @@ -13,6 +13,6 @@ package models type N2MessageTransferRequest struct { - JsonData *MbsN2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *MbsN2MessageTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:jsonData.N2MbsSmInfo.NgapData.ContentId,omitempty"` } From 5553e606c7edab13ee0efb609252cc3c980b7a2c Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:50:21 +0000 Subject: [PATCH 57/67] fix: add multipart tags in NonUeN2MessageTransferRequest --- models/model_non_ue_n2_message_transfer_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_non_ue_n2_message_transfer_request.go b/models/model_non_ue_n2_message_transfer_request.go index 5f27ed6e..0d30e3d4 100644 --- a/models/model_non_ue_n2_message_transfer_request.go +++ b/models/model_non_ue_n2_message_transfer_request.go @@ -13,6 +13,6 @@ package models type NonUeN2MessageTransferRequest struct { - JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` + JsonData *N2InformationTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,class:JsonData.N2InfoContainer.N2InformationClass,ref:(N2InfoContent).NgapData.ContentId"` } From 8076080fc6def2ff792c4e5db598be1df7babd5f Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:53:36 +0000 Subject: [PATCH 58/67] fix: add multipart tags in NullRequest --- models/model_null_request.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/models/model_null_request.go b/models/model_null_request.go index 5c593af5..8c103def 100644 --- a/models/model_null_request.go +++ b/models/model_null_request.go @@ -13,15 +13,15 @@ package models type NullRequest struct { - JsonData *ContextStatusNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty"` - BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty"` - BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty"` - BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty"` - BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty"` - BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty"` - BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty"` - BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty"` - BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty"` - BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty"` + JsonData *ContextStatusNotification `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information1 []byte `json:"binaryDataN2Information1,omitempty" yaml:"binaryDataN2Information1" bson:"binaryDataN2Information1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information2 []byte `json:"binaryDataN2Information2,omitempty" yaml:"binaryDataN2Information2" bson:"binaryDataN2Information2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information3 []byte `json:"binaryDataN2Information3,omitempty" yaml:"binaryDataN2Information3" bson:"binaryDataN2Information3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information4 []byte `json:"binaryDataN2Information4,omitempty" yaml:"binaryDataN2Information4" bson:"binaryDataN2Information4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information5 []byte `json:"binaryDataN2Information5,omitempty" yaml:"binaryDataN2Information5" bson:"binaryDataN2Information5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information6 []byte `json:"binaryDataN2Information6,omitempty" yaml:"binaryDataN2Information6" bson:"binaryDataN2Information6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information7 []byte `json:"binaryDataN2Information7,omitempty" yaml:"binaryDataN2Information7" bson:"binaryDataN2Information7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information8 []byte `json:"binaryDataN2Information8,omitempty" yaml:"binaryDataN2Information8" bson:"binaryDataN2Information8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information9 []byte `json:"binaryDataN2Information9,omitempty" yaml:"binaryDataN2Information9" bson:"binaryDataN2Information9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` + BinaryDataN2Information10 []byte `json:"binaryDataN2Information10,omitempty" yaml:"binaryDataN2Information10" bson:"binaryDataN2Information10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.N2MbsSmInfoList.NgapData.ContentId,omitempty"` } From 0161265748354422d55311b43c7bbb9ef5f7a87f Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:57:09 +0000 Subject: [PATCH 59/67] fix: add multipart tags in RelocateUeContextRequest --- models/model_relocate_ue_context_request.go | 38 ++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/models/model_relocate_ue_context_request.go b/models/model_relocate_ue_context_request.go index 8d5d8b12..6d295b6f 100644 --- a/models/model_relocate_ue_context_request.go +++ b/models/model_relocate_ue_context_request.go @@ -13,23 +13,23 @@ package models type RelocateUeContextRequest struct { - JsonData *UeContextRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataForwardRelocationRequest []byte `json:"binaryDataForwardRelocationRequest,omitempty" yaml:"binaryDataForwardRelocationRequest" bson:"binaryDataForwardRelocationRequest,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` + JsonData *UeContextRelocateData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataForwardRelocationRequest []byte `json:"binaryDataForwardRelocationRequest,omitempty" yaml:"binaryDataForwardRelocationRequest" bson:"binaryDataForwardRelocationRequest,omitempty" multipart:"contentType:application/vnd.3gpp.gtpc,ref:JsonData.ForwardRelocationRequest.ContentId,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` } From b346bac74fba4e7179e5600987edb08a5981d431 Mon Sep 17 00:00:00 2001 From: pf-lin Date: Wed, 30 Oct 2024 08:59:19 +0000 Subject: [PATCH 60/67] fix: add multipart tags in UeContextTransferRequest --- models/model_ue_context_transfer_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/model_ue_context_transfer_request.go b/models/model_ue_context_transfer_request.go index 5e0159c3..7ee543cd 100644 --- a/models/model_ue_context_transfer_request.go +++ b/models/model_ue_context_transfer_request.go @@ -13,6 +13,6 @@ package models type UeContextTransferRequest struct { - JsonData *UeContextTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty"` + JsonData *UeContextTransferReqData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN1Message []byte `json:"binaryDataN1Message,omitempty" yaml:"binaryDataN1Message" bson:"binaryDataN1Message,omitempty" multipart:"contentType:application/vnd.3gpp.5gnas,ref:JsonData.RegRequest.N1MessageContent.ContentId,omitempty"` } From 42ad217657dec9a6ccf85069f1c02cd70d0b39fc Mon Sep 17 00:00:00 2001 From: donald1218 Date: Thu, 31 Oct 2024 07:12:02 +0000 Subject: [PATCH 61/67] fix: missing multipart --- .../model_create_ue_context_response_201.go | 34 +++++++++---------- ...o_notify_handover_complete_response_200.go | 34 +++++++++---------- .../model_ue_context_transfer_response_200.go | 8 ++--- 3 files changed, 38 insertions(+), 38 deletions(-) diff --git a/models/model_create_ue_context_response_201.go b/models/model_create_ue_context_response_201.go index 36615635..2398e369 100644 --- a/models/model_create_ue_context_response_201.go +++ b/models/model_create_ue_context_response_201.go @@ -13,21 +13,21 @@ package models type CreateUeContextResponse201 struct { - JsonData *UeContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` + JsonData *UeContextCreatedData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.PduSessionList.N2InfoContent.NgapData.ContentId,omitempty"` } diff --git a/models/model_n2_info_notify_handover_complete_response_200.go b/models/model_n2_info_notify_handover_complete_response_200.go index ea702e87..5f5cf9fc 100644 --- a/models/model_n2_info_notify_handover_complete_response_200.go +++ b/models/model_n2_info_notify_handover_complete_response_200.go @@ -13,21 +13,21 @@ package models type N2InfoNotifyHandoverCompleteResponse200 struct { - JsonData *N2InfoNotificationRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` - BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty"` - BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty"` - BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty"` - BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty"` - BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty"` - BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty"` - BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty"` - BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty"` - BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty"` - BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty"` - BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty"` - BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty"` - BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty"` - BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty"` + JsonData *N2InfoNotificationRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt3 []byte `json:"binaryDataN2InformationExt3,omitempty" yaml:"binaryDataN2InformationExt3" bson:"binaryDataN2InformationExt3,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt4 []byte `json:"binaryDataN2InformationExt4,omitempty" yaml:"binaryDataN2InformationExt4" bson:"binaryDataN2InformationExt4,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt5 []byte `json:"binaryDataN2InformationExt5,omitempty" yaml:"binaryDataN2InformationExt5" bson:"binaryDataN2InformationExt5,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt6 []byte `json:"binaryDataN2InformationExt6,omitempty" yaml:"binaryDataN2InformationExt6" bson:"binaryDataN2InformationExt6,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt7 []byte `json:"binaryDataN2InformationExt7,omitempty" yaml:"binaryDataN2InformationExt7" bson:"binaryDataN2InformationExt7,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt8 []byte `json:"binaryDataN2InformationExt8,omitempty" yaml:"binaryDataN2InformationExt8" bson:"binaryDataN2InformationExt8,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt9 []byte `json:"binaryDataN2InformationExt9,omitempty" yaml:"binaryDataN2InformationExt9" bson:"binaryDataN2InformationExt9,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt10 []byte `json:"binaryDataN2InformationExt10,omitempty" yaml:"binaryDataN2InformationExt10" bson:"binaryDataN2InformationExt10,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt11 []byte `json:"binaryDataN2InformationExt11,omitempty" yaml:"binaryDataN2InformationExt11" bson:"binaryDataN2InformationExt11,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt12 []byte `json:"binaryDataN2InformationExt12,omitempty" yaml:"binaryDataN2InformationExt12" bson:"binaryDataN2InformationExt12,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt13 []byte `json:"binaryDataN2InformationExt13,omitempty" yaml:"binaryDataN2InformationExt13" bson:"binaryDataN2InformationExt13,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt14 []byte `json:"binaryDataN2InformationExt14,omitempty" yaml:"binaryDataN2InformationExt14" bson:"binaryDataN2InformationExt14,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt15 []byte `json:"binaryDataN2InformationExt15,omitempty" yaml:"binaryDataN2InformationExt15" bson:"binaryDataN2InformationExt15,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` + BinaryDataN2InformationExt16 []byte `json:"binaryDataN2InformationExt16,omitempty" yaml:"binaryDataN2InformationExt16" bson:"binaryDataN2InformationExt16,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.SecRatDataUsageList.N2InfoContent.NgapData.ContentId,omitempty"` } diff --git a/models/model_ue_context_transfer_response_200.go b/models/model_ue_context_transfer_response_200.go index 64c434eb..e26e7aff 100644 --- a/models/model_ue_context_transfer_response_200.go +++ b/models/model_ue_context_transfer_response_200.go @@ -13,8 +13,8 @@ package models type UeContextTransferResponse200 struct { - JsonData *UeContextTransferRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty"` - BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty"` - BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty"` - BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty"` + JsonData *UeContextTransferRspData `json:"jsonData,omitempty" yaml:"jsonData" bson:"jsonData,omitempty" multipart:"contentType:application/json,omitempty"` + BinaryDataN2Information []byte `json:"binaryDataN2Information,omitempty" yaml:"binaryDataN2Information" bson:"binaryDataN2Information,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.UeRadioCapability.NgapData.ContentId"` + BinaryDataN2InformationExt1 []byte `json:"binaryDataN2InformationExt1,omitempty" yaml:"binaryDataN2InformationExt1" bson:"binaryDataN2InformationExt1,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.UeRadioCapabilityForPaging.NgapData.ContentId"` + BinaryDataN2InformationExt2 []byte `json:"binaryDataN2InformationExt2,omitempty" yaml:"binaryDataN2InformationExt2" bson:"binaryDataN2InformationExt2,omitempty" multipart:"contentType:application/vnd.3gpp.ngap,ref:JsonData.UeNbiotRadioCapability.NgapData.ContentId"` } From 90de7c8cc68e15a641a4a6e3b56eb12ff62d850c Mon Sep 17 00:00:00 2001 From: donald1218 Date: Thu, 31 Oct 2024 07:27:24 +0000 Subject: [PATCH 62/67] fix: remove duplicate amf_status_change_notify and correct misspell modify --- .../api_individual_subscription_document.go | 68 +++---- ...api_subscriptions_collection_collection.go | 171 ------------------ 2 files changed, 34 insertions(+), 205 deletions(-) diff --git a/amf/Communication/api_individual_subscription_document.go b/amf/Communication/api_individual_subscription_document.go index ecfff551..eb030100 100644 --- a/amf/Communication/api_individual_subscription_document.go +++ b/amf/Communication/api_individual_subscription_document.go @@ -39,37 +39,37 @@ IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change Su */ // AMFStatusChangeSubscribeModfyRequest -type AMFStatusChangeSubscribeModfyRequest struct { +type AMFStatusChangeSubscribeModifyRequest struct { SubscriptionId *string AmfCommunicationSubscriptionData *models.AmfCommunicationSubscriptionData } -func (r *AMFStatusChangeSubscribeModfyRequest) SetSubscriptionId(SubscriptionId string) { +func (r *AMFStatusChangeSubscribeModifyRequest) SetSubscriptionId(SubscriptionId string) { r.SubscriptionId = &SubscriptionId } -func (r *AMFStatusChangeSubscribeModfyRequest) SetAmfCommunicationSubscriptionData(AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData) { +func (r *AMFStatusChangeSubscribeModifyRequest) SetAmfCommunicationSubscriptionData(AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData) { r.AmfCommunicationSubscriptionData = &AmfCommunicationSubscriptionData } -type AMFStatusChangeSubscribeModfyResponse struct { +type AMFStatusChangeSubscribeModifyResponse struct { AmfCommunicationSubscriptionData models.AmfCommunicationSubscriptionData } -type AMFStatusChangeSubscribeModfyError struct { +type AMFStatusChangeSubscribeModifyError struct { Location string Var3gppSbiTargetNfId string ProblemDetails models.ProblemDetails RedirectResponse models.RedirectResponse } -func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy(ctx context.Context, request *AMFStatusChangeSubscribeModfyRequest) (*AMFStatusChangeSubscribeModfyResponse, error) { +func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModify(ctx context.Context, request *AMFStatusChangeSubscribeModifyRequest) (*AMFStatusChangeSubscribeModifyResponse, error) { var ( localVarHTTPMethod = strings.ToUpper("Put") localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue AMFStatusChangeSubscribeModfyResponse + localVarReturnValue AMFStatusChangeSubscribeModifyResponse ) // create path and map variables @@ -130,7 +130,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy case 204: return &localVarReturnValue, nil case 307: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -140,7 +140,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 308: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -150,7 +150,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 400: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -158,7 +158,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 403: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -166,7 +166,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 411: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -174,7 +174,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 413: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -182,7 +182,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 415: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -190,7 +190,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 429: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -198,7 +198,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 500: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -206,7 +206,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy apiError.ErrorModel = v return nil, apiError case 503: - var v AMFStatusChangeSubscribeModfyError + var v AMFStatusChangeSubscribeModifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -219,32 +219,32 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModfy } // AmfStatusChangeNOtifyRequest -type AmfStatusChangeNOtifyRequest struct { +type AmfStatusChangeNotifyRequest struct { AmfStatusChangeNotification *models.AmfStatusChangeNotification } -func (r *AmfStatusChangeNOtifyRequest) SetAmfStatusChangeNotification(AmfStatusChangeNotification models.AmfStatusChangeNotification) { +func (r *AmfStatusChangeNotifyRequest) SetAmfStatusChangeNotification(AmfStatusChangeNotification models.AmfStatusChangeNotification) { r.AmfStatusChangeNotification = &AmfStatusChangeNotification } -type AmfStatusChangeNOtifyResponse struct { +type AmfStatusChangeNotifyResponse struct { } -type AmfStatusChangeNOtifyError struct { +type AmfStatusChangeNotifyError struct { Location string Var3gppSbiTargetNfId string ProblemDetails models.ProblemDetails RedirectResponse models.RedirectResponse } -func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx context.Context, uri string, request *AmfStatusChangeNOtifyRequest) (*AmfStatusChangeNOtifyResponse, error) { +func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNotify(ctx context.Context, uri string, request *AmfStatusChangeNotifyRequest) (*AmfStatusChangeNotifyResponse, error) { var ( localVarHTTPMethod = strings.ToUpper("POST") localVarPostBody interface{} localVarFormFileName string localVarFileName string localVarFileBytes []byte - localVarReturnValue AmfStatusChangeNOtifyResponse + localVarReturnValue AmfStatusChangeNotifyResponse ) // create path and map variables @@ -301,7 +301,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con case 204: return &localVarReturnValue, nil case 307: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -311,7 +311,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 308: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -321,15 +321,15 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 400: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err } apiError.ErrorModel = v return nil, apiError - case 403: - var v AmfStatusChangeNOtifyError + case 404: + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -337,7 +337,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 411: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -345,7 +345,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 413: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -353,7 +353,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 415: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -361,7 +361,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 429: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -369,7 +369,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 500: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err @@ -377,7 +377,7 @@ func (a *IndividualSubscriptionDocumentApiService) AmfStatusChangeNOtify(ctx con apiError.ErrorModel = v return nil, apiError case 503: - var v AmfStatusChangeNOtifyError + var v AmfStatusChangeNotifyError err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { return nil, err diff --git a/amf/Communication/api_subscriptions_collection_collection.go b/amf/Communication/api_subscriptions_collection_collection.go index 455382cb..fd0ef534 100644 --- a/amf/Communication/api_subscriptions_collection_collection.go +++ b/amf/Communication/api_subscriptions_collection_collection.go @@ -211,174 +211,3 @@ func (a *SubscriptionsCollectionCollectionApiService) AMFStatusChangeSubscribe(c return nil, apiError } } - -// AmfStatusChangeNotifyRequest -type AmfStatusChangeNotifyRequest struct { - AmfStatusChangeNotification *models.AmfStatusChangeNotification -} - -func (r *AmfStatusChangeNotifyRequest) SetAmfStatusChangeNotification(AmfStatusChangeNotification models.AmfStatusChangeNotification) { - r.AmfStatusChangeNotification = &AmfStatusChangeNotification -} - -type AmfStatusChangeNotifyResponse struct { -} - -type AmfStatusChangeNotifyError struct { - Location string - Var3gppSbiTargetNfId string - ProblemDetails models.ProblemDetails - RedirectResponse models.RedirectResponse -} - -func (a *SubscriptionsCollectionCollectionApiService) AmfStatusChangeNotify(ctx context.Context, uri string, request *AmfStatusChangeNotifyRequest) (*AmfStatusChangeNotifyResponse, error) { - var ( - localVarHTTPMethod = strings.ToUpper("POST") - localVarPostBody interface{} - localVarFormFileName string - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AmfStatusChangeNotifyResponse - ) - - // create path and map variables - localVarPath := uri - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarHTTPContentTypes := []string{"application/json"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json", "application/problem+json"} - - // set Accept header - localVarHTTPHeaderAccept := strings.Join(localVarHTTPHeaderAccepts, ", ") - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - - // body params - - if request.AmfStatusChangeNotification != nil { - localVarPostBody = request.AmfStatusChangeNotification - } - - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := openapi.CallAPI(a.client.cfg, r) - if err != nil || localVarHTTPResponse == nil { - return nil, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - if err != nil { - return nil, err - } - err = localVarHTTPResponse.Body.Close() - if err != nil { - return nil, err - } - - apiError := openapi.GenericOpenAPIError{ - RawBody: localVarBody, - ErrorStatus: localVarHTTPResponse.StatusCode, - } - - switch localVarHTTPResponse.StatusCode { - case 204: - return &localVarReturnValue, nil - case 307: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - v.Location = localVarHTTPResponse.Header.Get("Location") - v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") - apiError.ErrorModel = v - return nil, apiError - case 308: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.RedirectResponse, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - v.Location = localVarHTTPResponse.Header.Get("Location") - v.Var3gppSbiTargetNfId = localVarHTTPResponse.Header.Get("3gpp-Sbi-Target-Nf-Id") - apiError.ErrorModel = v - return nil, apiError - case 400: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 404: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 411: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 413: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 415: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 429: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 500: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - case 503: - var v AmfStatusChangeNotifyError - err = openapi.Deserialize(&v.ProblemDetails, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - return nil, err - } - apiError.ErrorModel = v - return nil, apiError - default: - return &localVarReturnValue, openapi.ReportError("%d is not a valid status code in AmfStatusChangeNotify", localVarHTTPResponse.StatusCode) - } -} From bb96a1d27701efea96cd51db7d6f5aca91332bb3 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Fri, 1 Nov 2024 11:07:57 +0000 Subject: [PATCH 63/67] fix: comment misspell --- amf/Communication/api_individual_subscription_document.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amf/Communication/api_individual_subscription_document.go b/amf/Communication/api_individual_subscription_document.go index eb030100..8c032b08 100644 --- a/amf/Communication/api_individual_subscription_document.go +++ b/amf/Communication/api_individual_subscription_document.go @@ -35,10 +35,10 @@ IndividualSubscriptionDocumentApiService Namf_Communication AMF Status Change Su * @param SubscriptionId - AMF Status Change Subscription Identifier * @param AmfCommunicationSubscriptionData - -@return AMFStatusChangeSubscribeModfyResponse +@return AMFStatusChangeSubscribeModifyResponse */ -// AMFStatusChangeSubscribeModfyRequest +// AMFStatusChangeSubscribeModifyRequest type AMFStatusChangeSubscribeModifyRequest struct { SubscriptionId *string AmfCommunicationSubscriptionData *models.AmfCommunicationSubscriptionData @@ -218,7 +218,7 @@ func (a *IndividualSubscriptionDocumentApiService) AMFStatusChangeSubscribeModif } } -// AmfStatusChangeNOtifyRequest +// AmfStatusChangeNotifyRequest type AmfStatusChangeNotifyRequest struct { AmfStatusChangeNotification *models.AmfStatusChangeNotification } From 771224514296ac3a9c3e5d09722c106758d58975 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 7 Nov 2024 08:23:11 +0000 Subject: [PATCH 64/67] fix: add twifId in GlobalRanNodeId --- models/model_global_ran_node_id.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/model_global_ran_node_id.go b/models/model_global_ran_node_id.go index 4d6ae95d..79bcf975 100644 --- a/models/model_global_ran_node_id.go +++ b/models/model_global_ran_node_id.go @@ -24,6 +24,7 @@ type GlobalRanNodeId struct { WagfId string `json:"wagfId,omitempty" yaml:"wagfId" bson:"wagfId,omitempty"` // This represents the identifier of the TNGF ID as specified in clause 9.3.1.161 of 3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the TNGF ID shall appear first in the string, and the character representing the 4 least significant bit of the TNGF ID shall appear last in the string. TngfId string `json:"tngfId,omitempty" yaml:"tngfId" bson:"tngfId,omitempty"` + TwifId string `json:"twifId,omitempty" yaml:"twifId" bson:"twifId,omitempty"` // This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1). Nid string `json:"nid,omitempty" yaml:"nid" bson:"nid,omitempty"` // This represents the identifier of the eNB ID as specified in clause 9.2.1.37 of 3GPP TS 36.413. The string shall be formatted with the following pattern '^('MacroeNB-[A-Fa-f0-9]{5}|LMacroeNB-[A-Fa-f0-9]{6}|SMacroeNB-[A-Fa-f0-9]{5} |HomeeNB-[A-Fa-f0-9]{7})$'. The value of the eNB ID shall be encoded in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most significant character representing the padding 0 if required together with the 4 most significant bits of the eNB ID shall appear first in the string, and the character representing the 4 least significant bit of the eNB ID (to form a nibble) shall appear last in the string. From 49bc530422882ee8166b163cf36cb46623785700 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 7 Nov 2024 15:01:30 +0000 Subject: [PATCH 65/67] fix: UEContextTransfer request with multipart tag --- .../api_individual_ue_context_document.go | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/amf/Communication/api_individual_ue_context_document.go b/amf/Communication/api_individual_ue_context_document.go index 33685b86..066a4f48 100644 --- a/amf/Communication/api_individual_ue_context_document.go +++ b/amf/Communication/api_individual_ue_context_document.go @@ -1419,9 +1419,16 @@ func (a *IndividualUeContextDocumentApiService) UEContextTransfer(ctx context.Co localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - localVarHTTPContentTypes := []string{"application/json", "multipart/related"} - - localVarHeaderParams["Content-Type"] = localVarHTTPContentTypes[0] // use the first content type specified in 'consumes' + // localVarHTTPContentTypes := []string{"application/json", "multipart/related"} + + // To determine is multipart request, and assign body params + if request.UeContextTransferRequest.BinaryDataN1Message != nil { + localVarHeaderParams["Content-Type"] = "multipart/related" + localVarPostBody = request.UeContextTransferRequest + } else { + localVarHeaderParams["Content-Type"] = "application/json" + localVarPostBody = request.UeContextTransferRequest.JsonData + } // to determine the Accept header localVarHTTPHeaderAccepts := []string{"application/json", "multipart/related", "application/problem+json"} @@ -1432,9 +1439,6 @@ func (a *IndividualUeContextDocumentApiService) UEContextTransfer(ctx context.Co localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = request.UeContextTransferRequest - r, err := openapi.PrepareRequest(ctx, a.client.cfg, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) if err != nil { return nil, err From 9432551522290a0d9f55933aade0bdc1f6742eff Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Sat, 16 Nov 2024 07:04:48 +0000 Subject: [PATCH 66/67] fix: MultipartDeserialize size from 1000 to 1400 --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 1d78c767..2281ab41 100644 --- a/client.go +++ b/client.go @@ -561,7 +561,7 @@ func MultipartDeserialize(b []byte, v interface{}, boundary string) (err error) for { var part, nextPart *multipart.Part - multipartBody := make([]byte, 1000) + multipartBody := make([]byte, 1400) // if no remian part, break this loop if nextPart, err = r.NextPart(); err == io.EOF { From 6285477c583b3659b328e8c3a3a85f48bb0fda2d Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Wed, 20 Nov 2024 08:31:40 +0000 Subject: [PATCH 67/67] fix: add missing location header in PostChargingData() --- chf/ConvergedCharging/api_default.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chf/ConvergedCharging/api_default.go b/chf/ConvergedCharging/api_default.go index 725a99e7..00144596 100644 --- a/chf/ConvergedCharging/api_default.go +++ b/chf/ConvergedCharging/api_default.go @@ -47,6 +47,7 @@ func (r *PostChargingDataRequest) SetChfConvergedChargingChargingDataRequest(Chf } type PostChargingDataResponse struct { + Location string ChfConvergedChargingChargingDataResponse models.ChfConvergedChargingChargingDataResponse } @@ -123,6 +124,7 @@ func (a *DefaultApiService) PostChargingData(ctx context.Context, request *PostC if err != nil { return nil, err } + localVarReturnValue.Location = localVarHTTPResponse.Header.Get("Location") return &localVarReturnValue, nil case 400: var v PostChargingDataError